Closed-loop control 2026-10-13
Feedback control selects a control input using observations of the actual controlled plant. In a tracking loop, compare the reference signal with the measured output to form the tracking error , then let the controller change . The control input changes the plant output, which is measured again: that return path closes the loop. A controller can use earlier observations as well as the latest one. [ref]
https://www.fbswiki.org/wiki/index.php/Feedback_Principles. Åström and Murray, Feedback Systems, Chapter 2: Feedback Principles
For the ideal controlled plant, proportional control initially commands . As approaches , the command shrinks. When a positive control disturbance pushes above , the tracking error becomes negative and the control input pushes back. The result is a bounded offset rather than the continuing drift of open-loop control. Integral action can remove that offset by remembering past tracking errors.
Control theory Created 2026-09-24 Updated 2026-10-13
Control theory studies how to choose control inputs for a dynamical system so that its plant output follows a reference signal, despite control disturbances and imperfect knowledge of the controlled plant. A controller turns the available information into a control signal. The design must consider both the resulting response and stability theory: a rule that corrects a small mismatch can still produce growing deviations if the interconnection is badly chosen. [ref]
https://www.fbswiki.org/wiki/index.php/Introduction. Åström and Murray, Feedback Systems, Chapter 1: Introduction
The central distinction is informational. Open-loop control executes planned commands; feedback control uses the measured output of the actual controlled plant to update those commands. A reference signal can describe a destination, while control disturbances describe influences that the controller did not command. A model can predict where the controlled plant should be; measurement tells the controller what actually happened. The authors provide a free full-book PDF through [ref]
https://www.fbswiki.org/wiki/index.php/Feedback_Systems:_An_Introduction_for_Scientists_and_Engineers. Feedback Systems, second edition: authors' book and download page
.For a concrete comparison, all examples below use the same ideal scalar controlled plant:Here is an illustrative position, the control input, a control disturbance, and the measured output. Both and are dimensionless quantities; the numbers are chosen to expose the mechanism, with no empirical interpretation. The ordinary differential equation says that the present control input and control disturbance accumulate into . The measured output equals the entire state only in this ideal example; a general plant output need not reveal the entire state.
For the constant-coefficient model with and , the zero equilibrium point is asymptotically stable if and only if . For positive , perturbations are measured by the supremum norm of the initial history of delayed feedback; in the stable regime, every continuous history produces a solution tending to zero. At equality, nondecaying sinusoids prevent asymptotic stability. For , growing oscillatory solutions exist. These statements concern this ideal linear time-invariant system, rather than an arbitrary controlled plant. The corresponding linear equation and its threshold are developed in Cain and Reynolds, section 6.4, pages 174–177.
Substitute the exponential function , allowing a complex number . The characteristic equation isFor positive feedback delay this is not a characteristic polynomial: it has infinitely many roots. A root's real part determines growth or decay of its exponential mode, and its imaginary part determines the angular frequency. To find the first boundary, set with and use Euler's formula:The smallest positive crossing is and . Thus at the complex conjugate roots are . In fact, with the matching initial history of delayed feedback,solves the delay differential equation exactly: a quarter-cycle feedback delay turns the past displacement into precisely the current derivative. Its cycle lasts . The amplitude is arbitrary; this linear model does not select a finite-amplitude oscillation.
The roots cross toward growth as feedback delay increases. Differentiating the characteristic equation at fixed givesThis calculation identifies the direction of the first destabilization. The full threshold also requires ruling out earlier unstable roots: if with and , the characteristic equation implies and , hence . A real nonnegative root is impossible because there. This supplies the geometric reason the threshold is a quarter-cycle rather than an arbitrary fitting constant.
Feedback delay separates decay, persistent oscillation, and growth
. Left: numerical solutions with the same constant initial history of delayed feedback on , plotted against for , , and . The middle trajectory includes a transient because this history is not a pure sinusoid; the dashed curve is a separate exact solution with history . Each row has its own vertical scale. Right: the exact boundary for positive feedback gain and feedback delay. Toy responses are not measured data. The generator uses the classical fourth-order Runge-Kutta method with linear interpolation of delayed values and , checked against a separately evaluated exact finite sum and two coarser steps. Details.The tradeoff is concrete. Without feedback delay, increasing shortens the exponential decay time constant . With known , the same proportional control must satisfy . For , the threshold is : is stable and is unstable. A design close to the boundary leaves little room for additional feedback delay; reducing or reducing measurement latency increases that room. The zero-delay time constant is only a comparison scale, not the decay time of the delayed response. Frank discusses the gain–delay compromise in Control Theory Tutorial, section 13.4 and figure 13.3.
Feedback delay 2026-10-14
A feedback delay means a controller reacts to an earlier plant output. An accurate measurement can still be stale: when the plant output has already crossed the reference signal, a controller using the earlier value may continue pushing it away from the target. In a pure constant-delay model, with . This isolates timing from measurement noise; it does not describe every sampling or communication mechanism. [ref]
https://stevefrank.org/control/controlBook.pdf#page=99. Steven A. Frank, Control Theory Tutorial, section 13.4: delayed feedback of an integrator
For the ideal scalar controlled plant , a zero reference signal, no control disturbance, and proportional control with constant feedback gain , the equations areWith , this is an ordinary differential equation with exponential decay . With , it is a delay differential equation, requiring an initial history of delayed feedback. The delay stability of proportional integrator control depends on the product : even this simple controlled plant loses asymptotic stability at .
Feedback gain 2026-10-14
A feedback gain sets the strength of a controller's response to its observations. For proportional control, means that a tracking error produces a control input when .
Homeostatic temperature model 2026-10-13
Here is an explicitly synthetic mathematical model of a warming disturbance and its compensatory cooling. It is a teaching analogy for thermoregulation, not a measured human heat budget. Write , where is a lumped internal temperature, is a fixed reference and is a chosen temperature scale. Let be an additional heating rate and an additional cooling rate, both scaled to the same reference rate. All three are dimensionless variables, while is a time constant in the chosen time units. The ordinary differential equation isThe term idealizes increased passive heat transfer with increased internal temperature, around the baseline. The term opposes warming through proportional control with feedback gain . This local signed model does not treat a negative as negative sweating: it would represent decreased cooling relative to baseline. Changes of the environment and multiple body compartments are omitted.
For a constant disturbance and initial condition , the exponential function solution isSubstitution checks the ordinary differential equation directly. Increasing reduces the lasting offset and, in this instantaneous model, shortens the response time constant to . It does not make zero for a nonzero disturbance and finite : a persistent cooling command requires a persistent displacement under proportional control. At the equilibrium point, the extra heating is balanced by passive loss plus active cooling . Zero change of temperature means balanced rates, rather than zero rates, consistent with conservation of energy.
The first diagram uses , , and a pulse from to , comparing with . The latter approaches during the pulse, compared with without active feedback control. After the pulse ends, each displacement decays as . These are computed curves, not physiological measurements. The curve still has passive loss; it is not a claim that an unregulated body warms without limit.
Real physiological effectors take time to respond. To isolate that issue, set and replace the instantaneous command by another ordinary differential equation:Here the disturbance remains from onward and the effector time constant is also . The equilibrium point is still , but the characteristic polynomial is . Its eigenvalues give decaying oscillations and asymptotic stability. The exact response isIn particular, , so the first maximum occurs at , with . The response exceeds its eventual displacement while remaining above its baseline. The return has the same negative sign as before; the extra state changes the timing. A finite effector time constant is distinct from the fixed time lag in the delayed negative feedback model.
Synthetic homeostasis responses: offset, lag and limited effector capacity
. Original computed plots from the homeostatic temperature model, all in arbitrary units and explicitly labelled synthetic. Upper panel: displacement under the same sustained disturbance. Lower panel: corresponding cooling command. Instantaneous proportional control, a finite effector time constant, and effector saturation give different responses despite opposing the same disturbance. No experimental data or clinical limits are shown. Details. PID controller 2026-10-14
An ideal PID controller combines proportional control, integral action, and a term proportional to the derivative of the tracking error. With , it gives proportional-integral control. The integral stores past error, while the derivative responds to its current rate of change. Practical implementations must account for measurement noise, which an ideal differentiator can amplify. [ref]
https://www.fbswiki.org/wiki/index.php/PID_Control. Åström and Murray, PID Control
. Proportional control 2026-10-14
Proportional control chooses a control input proportional to the current tracking error. For the ideal controlled plant and constant reference signal , its ordinary differential equation is . With and initial condition , the exact response isFor , and , this gives and . To verify the formula, substitute it into the ordinary differential equation and check the initial condition; its decaying exponential function explains the approach to the goal.
With a constant control disturbance, setting gives the equilibrium point and steady-state tracking error . For , doubling the feedback gain from to reduces the offset from to . This improvement is a statement about the ideal model: it neglects feedback delay and measurement noise, so it does not establish that arbitrarily large feedback gains are safe. [ref]
https://www.fbswiki.org/wiki/index.php/Introduction. Åström and Murray, Chapter 1: feedback benefits and drawbacks
In the first diagram's switched control disturbance experiment, and from give, for ,Thus and . At the equilibrium point, the controller supplies to cancel the control disturbance. Proportional control needs a nonzero tracking error to produce that persistent correction.
Proportional-integral control 2026-10-14
Proportional-integral control is the proportional and integral part of a PID controller, with the derivative term omitted. Proportional-integral control combines proportional control with integral action. For the ideal controlled plant, a constant reference signal, exact measurement and a constant control disturbance, the ordinary differential equations giveThe characteristic polynomial is . Positive and imply asymptotic stability of the equilibrium point: real roots of a polynomial have negative sum and positive product, hence are both negative; a nonreal complex conjugate pair has real part . This is a short stability check for this ideal controlled plant, rather than a rule for every dynamical system.
At the equilibrium point, , , and . For and , the stored value supplies even though the tracking error is zero. This separates the eventual accuracy from the transient response: integral action cancels the lasting offset but can make the plant output pass beyond the goal. The authors discuss practical limits on integral action in Åström and Murray, Feedback Systems, Chapter 11.
For , , and , the characteristic polynomial is . The initial conditions are and , givingThe tracking error changes sign at . Since , the largest plant output occurs at and is , about above the reference signal.
For a separate comparison, start the control disturbance at . For , write . The exact responses areThe proportional control response tends to , while the proportional-integral control response returns to . At , the values are approximately and . The added term in the proportional-integral control response eventually vanishes, exposing how memory removes a constant control disturbance's lasting effect.
Proportional control and integral action: arrival and disturbance rejection
. Left: the ideal controlled plant has reference signal and no control disturbance; proportional-integral control reaches a peak at . Right: a control disturbance begins at ; proportional control settles at , while proportional-integral control returns to . The generator uses the classical fourth-order Runge-Kutta method with step , splits the computation at , and checks both full responses and the stored memory against their exact formulas. All coordinates are dimensionless quantities. Details. Steady-state tracking error 2026-10-14
The steady-state tracking error iswhen this finite limit exists. A finite steady-state tracking error does not require the reference signal, the plant output, or the control input to become constant: all can grow while their difference settles. If the tracking error grows without bound or keeps oscillating, report that behavior rather than assigning a finite steady-state tracking error. Eventual accuracy and asymptotic stability are different questions.
For the first-order low-pass filter introduced in reference signal, assume exact measurement, constant control disturbance , and no actuator saturation or feedback delay. Under proportional control with , a constant reference signal givesThe decaying homogeneous solution has rate , so this equilibrium point is approached from any finite initial condition. A nonzero tracking error is needed to maintain the control input that balances the model's tendency to relax toward . This differs from the accumulating controlled plant , for which proportional control already tracks a constant reference signal exactly when . The presence or absence of a step offset depends on both the controlled plant and the controller.
For a ramp reference signal , the same proportional control givesIts long-time particular solution grows with slope when . Thus the controlled plant and homogeneous closed-loop response are stable, but the tracking error has no finite steady-state tracking error. A changing goal requires a different performance test from a fixed destination.
Now use proportional-integral control , , with . For the same controlled plant, differentiate the error equation on intervals where the inputs are smooth:The characteristic polynomial has both roots of a polynomial in the open left half-plane: real roots have negative sum and positive product, and a nonreal complex conjugate pair has negative real part. This proves decay of the homogeneous error for this model. It does not prove stability of an arbitrary controlled plant controlled by positive gains. At a reference jump, use the original ordinary differential equations to set the new initial conditions, rather than treating the reference as smooth at that jump.
With a constant reference signal and constant control disturbance, proportional-integral control therefore gives . At its equilibrium point, , , and . The stored integral maintains the required command while the current tracking error vanishes. For a ramp reference signal, however, the forcing above is , andThe tracking error settles even though the accumulated integral and the required control input grow. This finite offset is the error needed to keep increasing that command. For with , the forcing is and even this proportional-integral control leaves a tracking error growing with slope . Integral action is therefore a precise mechanism for selected input classes, not a promise of perfect tracking for every reference signal. [ref]
https://www.fbswiki.org/wiki/index.php/PID_Control. Åström and Murray, Feedback Systems, Chapter 11: integral action and actuator limits
Here are completely explicit synthetic examples with , , and no sensor bias. Choose , per percentage point, percentage point per degree, and percentage points per degree-second. Thus is dimensionless, and . In the following formulas, denotes the numerical time in seconds and denote numerical temperature rises in degrees. For the unit-step reference signal , proportional control and proportional-integral control respectively giveFor the ramp reference signal , the corresponding solutions areThe control inputs here are numerical heater-command percentage points. Substitution into and into the controller equations checks these solutions without invoking an unverified limiting rule. The proportional control step offset is degrees; the proportional-integral control step offset is zero. The proportional control ramp error grows; the proportional-integral control ramp offset is degrees, exactly .
Synthetic step and ramp tracking of one stable first-order low-pass filter
. Original analytical model curves, not measurements or fits to the temperature laboratory. Columns compare plant output with reference signal, signed tracking error, and control input; rows use a unit step and a ramp of degrees per second. Both designs have decaying homogeneous responses. Proportional-integral control removes the step offset but leaves the ramp offset degrees; proportional control has an increasing ramp error. Heater-command percentage points and output degrees use separate axes. Details.The conclusions have specific limits. With constant sensor bias , stable proportional-integral control for a feasible constant reference signal drives the measured tracking error to zero but leaves the physical discrepancy . Under proportional control, the measured offset instead becomes . If actuator saturation prevents the required control input, zero step offset is not achievable by these formulas. A changing control disturbance contributes to the error equation, while feedback delay can change stability; neither is covered by the constant-disturbance result. These restrictions are what make steady-state tracking error useful: it identifies the input, measurement convention, and model for which an accuracy claim is actually justified.
Tracking error 2026-10-14
The tracking error used by the controller is the signed differencebetween the reference signal and the measured output. A positive tracking error means the readout is below the desired value; a negative tracking error means it is above. With exact measurement , and give . For a positive-response controlled plant, positive feedback gain in proportional control then reduces the plant output. The sign of the controller must also account for the sign of the controlled plant's response: a positive command that reduces the plant output requires a different sign choice. Kantor uses the opposite tracking error convention, , together with a minus sign in his controller; translating both signs gives the convention here. [ref]
Distinguish the controller's tracking error from the physical plant output discrepancy . If the readout has constant sensor bias , thenAll four quantities have the same units under dimensional analysis; a sensor bias is expressed in those units too. A readout that is too high by can make when the physical temperature is below the goal. Integral action integrates the tracking error it receives; it cannot infer this missing calibration information from that tracking error alone. Thermometer calibration against an independent reference addresses a different problem from tuning a feedback gain.
A motivating apparatus/model comparison is Park, Martin, Kelly and Hedengren's temperature-control laboratory: two TIP31C heaters with attached TMP36GZ sensors and heat sinks, an Arduino, a power supply, and a USB-connected computer. The readout converts sensor voltage to temperature; software records that measured output while specifying heater commands from to . For the single-heater test, one command changes in steps and the other heater stays off. Parameters are fitted to one run, then a different command sequence tests predictions without feeding measured temperatures into the simulation. The authors observe that their richer thermal model predicts the response better than the approximation with a single time constant and a delayed control input, especially after command changes. The real sensor has its own thermal lag. They also repeat the same command profile at different ambient temperatures and find changes in the response, motivating ambient-condition reporting. This experiment measures a command-to-readout response, not independently the exact heater temperature or delivered power. [ref]
https://www.researchgate.net/publication/338614896_Benchmark_Temperature_Microcontroller_for_Process_Dynamics_and_Control. Park, Martin, Kelly and Hedengren, Benchmark Temperature Microcontroller for Process Dynamics and Control, sections 2 and 3, Figures 3, 6 and 7: author-uploaded full text
The lesson for tracking error is to record three traces during a tracking test: the reference signal, the measured output, and the applied control input. Their first difference is the tracking error; a model prediction minus a readout is instead a model discrepancy. In a proposed comparison of proportional control and proportional-integral control, keep the initial temperature, ambient conditions, heater limits, and target changes fixed; run the second heater separately as a known control disturbance. Independent thermometer calibration is needed to assess physical accuracy. These are suggested controls, not additional experiments claimed for the paper. A sensor's lag, measurement noise, actuator saturation, and changed ambient conditions can all invalidate conclusions drawn from the ideal first-order model.






