Skip to content
Tactiverge

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]
SI units used in this entry
QuantityUnitSymbol
timeseconds

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?

  1. ∫ e dt = 2 × 5 = 10
  2. 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

Dashed line: setpoint 1. Solid line: output y over 8 s.
Overshoot 0 % · 2 % settling time 5.17 s · final value 0.994

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.