Start with the linear closed-loop model
Normalise steady actuator gain and plant time constant to one, so \(\dot y=-y+u\). Take \(e=r-y\), proposed command \(v=2e+I\), ordinary integral update \(\dot I=e\) and actual actuation \(u=\min(1,\max(0,v))\). Begin at \(y=I=0\). Derive the characteristic polynomial without saturation and explain why its stable poles cannot answer the high-command experiment.
Close the loop within the valid linear region
With \(u=v\), Laplace transformation under zero initial conditions gives a PI controller \(2+1/s\) in series with plant \(1/(s+1)\). The reference-to-output transfer function is \((2s+1)/(s^2+3s+1)\). Its poles are approximately minus 0.382 and minus 2.618 per second, both stable. The integral action makes the steady error zero for a constant attainable reference. At \(r=2\), however, a steady plant output of two requires \(u=2\), which the actuator cannot deliver. The clipping creates a different dynamical regime immediately because the proportional term alone requests four units.
No linear pole of this original model describes the growth of the integral memory during the unreachable hold. Saturation also differs from a time delay: a delayed but sufficiently powerful actuator could eventually attain two, whereas the bounded plant cannot. A reference step within the range is a useful control experiment, although a rapid step may still transiently saturate due to the proportional kick.
Compute the integral state before the reference drops
Hold \(r=2\) for six seconds. Solve for plant output and integral state while the actuator is saturated. At \(t=6\) replace the reference by 0.4. Estimate how long the plain PI controller keeps the actuator at its upper limit after this switch.
Integrate the actual plant input rather than the requested command
During the high reference \(u=1\), hence \(y=1-e^{-t}\). Error is \(1+e^{-t}\), so \(I=t+1-e^{-t}\). At six seconds \(y=0.9975\) and \(I=6.9975\). Immediately after the drop, \(v=2(0.4-0.9975)+6.9975\simeq5.80\), so the actuator still clips at one even though the error is now negative. The plant remains near one while the integrator slowly unwinds.
Let \(s\) denote time after switching during this second saturated interval. Then \(y=1-e^{-6-s}\), and \(I=I(6)-0.6s+e^{-6}(1-e^{-s})\). Substituting into the command gives
Setting \(v=1\) gives approximately 8.00 further seconds at the upper limit. A first-order plant with a one-second time constant can therefore appear unresponsive much longer than its own transient. Inspecting the actual and requested commands makes the cause identifiable.
Derive a back-calculation update and test its consequences
Replace the integrator by \(\dot I=e+(u-v)/T_t\). Explain the sign of the correction and derive its approximate long-hold value for \(r=2\), \(u=y=1\) and tracking time \(T_t=0.5\) s. Does the modified controller change the small-signal dynamics when no limit is active?
Track the attainable input and preserve the unforced integral law
At upper saturation the requested command exceeds the actual one and \(u-v\) is negative. The correction cancels continued integral growth rather than adding to it. At the long-hold steady state \(0=1+(1-v)/T_t\), giving \(v=1+T_t=1.5\) and \(I=v-2e=-0.5\). When reference falls to 0.4 the raw command immediately becomes approximately minus 1.7. The lower actuator limit then becomes active; the plant can finally decay. On leaving both limits \(u=v\) and the modification disappears exactly from the linear controller.
Compare the two time traces at equal plant, gains and limits. At the default hold the unmodified controller spends about eight additional seconds pinned at the upper limit while its output exceeds 0.6. The tracking controller spends essentially none there. Reducing the tracking time does not give an unlimited physical speedup: plant dynamics and the lower input bound remain. An extremely small tracking time can also make a sampled implementation numerically stiff if its discretisation does not resolve the tracking correction.
Separate time-step error, sensor clipping and true actuator saturation
The graph uses a held actuator on short time intervals, an exact first-order plant update over each interval and an explicit integral-state update. Describe how to verify a digital implementation with a longer sample interval and how an experiment could distinguish an output sensor limit from genuine actuator saturation.
Compare independent diagnostics before changing gains
Halve the integration step at fixed switch time and compare the times at which the requested command first returns within its limits. A good trace should reproduce the analytic eight-second release time for ordinary PI. In the tracking controller a bounded integrating step must resolve both the one-second plant time and \(T_t\). If actuator dynamics, rate limiting or a downstream safety cap changes actual actuation, feed back the measured or appropriately modelled applied value. Tracking only the software clamp in front of an additional physical limit can leave substantial windup.
Log reference, raw command, applied actuator signal, integral state and an independent output measurement. An output sensor clipped at one can conceal a real plant response above one, while an actually bounded actuator will show the applied input pinned even as its request grows. Reverse the operating sequence and use several hold durations. An additional release delay growing with unreachable hold time is characteristic of integral memory; an unchanged time constant after every switch suggests a different plant or measurement limitation.
Åström and Murray · Feedback Systems, integral windup and tracking in PID control
Notebook practice · Learn a repeatable positioning move from its previous error