Control systems
Integrator windup
Also called: windup · anti-windup · integral clamping · saturation
Definition
Windup happens when the actuator is saturated but the integral term keeps growing; once the error reverses, the oversized integral causes a large overshoot while it unwinds.
Picture it
A motor at 100 % cannot go faster, but the integrator does not know that and keeps piling up 'please go faster'. Anti-windup stops integrating, or clamps the integral, while the output is saturated.
The maths
if |u| ≥ u_max: freeze integral (conditional integration) or clamp: integral ∈ [−I_max, I_max]
| Quantity | Unit | Symbol |
|---|---|---|
| time | second | s |
Worked example
An error of 2 persists for 5 s while the actuator is saturated. Ki = 0.5. How big has the integral term grown without anti-windup?
- ∫ e dt = 2 × 5 = 10
- I = 0.5 × 10 = 5 command units, all of which must unwind
AnswerThe integral term reaches 5 command units.
✓ The number in this answer is recomputed from scratch by an automated test.
tune it
PID step response
Simplified model: plant τ·dy/dt = −y + u with τ = 0.5 s and gain 1, forward-Euler steps of 0.01 s, derivative on measurement. Real plants add delay, noise and saturation.
Common misconceptions
- Misconception: Windup is not caused by a bad Ki; it is caused by saturation the controller ignores.
- Misconception: Simply resetting the integral to zero at every setpoint change throws away useful information.