Strategy 13 of 24 · Tuning & Dynamics · Basic
Integral Windup
The Amnesiac
When the output hits a limit and the error stays, the integral term keeps growing, and the valve stays pinned long after the cause is gone.
US and SI units Integral keeps adding while the valve sits at 100%
The setup
A PID controller adds up the error over time in its integral term. That is how it removes the last bit of offset. As long as the valve can move, this works well. The integral term pushes the output until the measurement reaches the setpoint.
Trouble starts when the output cannot do what the controller wants. The valve is at 100% or 0%, the error stays, and the integral term keeps adding. The controller has no memory that the valve is already at its stop. This is integral windup, and it is why people call the integral term the amnesiac.
The reality
Windup is not only a closed block valve. It happens at any saturation with a lasting error. A startup with a cold process does it. A loop sitting under an override does it. A valve stuck against a stop does it.
The damage shows up when the cause goes away. The measurement reaches the setpoint and then passes it. The error changes sign, but the stored integral is far above what the valve needs. The output stays at 100% until the integral unwinds, so the measurement overshoots badly. The longer the saturation lasted, the worse the overshoot.
Modern controllers include anti-reset windup. It stops the integral from growing while the output sits at a limit, or it ties the integral to the real valve position through external reset feedback. Make sure that option is switched on and that the feedback signal is the real valve demand, not just the controller output.
Run the numbers
A feed flow controller has a span of 0 to 200 gpm. It has a gain of 2 and an integral time of 5 minutes. The integral term changes at a rate of gain × error ÷ integral time. A block valve downstream is closed for 10 minutes, so flow is zero and the error is 10% of span.
US units:
- Error is 10% of span, or 20 gpm below setpoint
- The integral term grows at 2 × 10 ÷ 5 = 4% of span per minute
- After 10 minutes it has grown by 40% of span beyond what the 100% valve could use
- The block valve opens and flow overshoots to 5% of span, or 10 gpm, above setpoint
- Now the integral unwinds at 2 × 5 ÷ 5 = 2% per minute, so the 40% takes 20 minutes, and flow stays high that whole time
SI units:
- The span is 0 to 45.4 m³/h, so the error is 4.5 m³/h below setpoint
- The integral grows at 4% of span per minute and reaches 40% after 10 minutes
- After the block valve opens, flow overshoots by 2.3 m³/h, and the integral unwinds at 2% per minute, which takes the same 20 minutes
The proportional part helps a little, so real controllers recover somewhat faster. The point holds: recovery takes much longer than the upset did.
Where it goes wrong
Anti-reset windup is switched off or tuned so loosely that it never acts.
The external reset feedback is wired to the controller output instead of the real valve position, so the controller never learns that the valve cannot follow.
An operator leaves a loop in automatic during a known shutdown or a long manual valve operation.
A secondary loop in a cascade sits in manual and the primary loop is not set to track it.
A controller without windup protection sits on a loop that routinely saturates at startup.
What to check in the field
- Look at trends for long flat stretches at 100% or 0% output followed by overshoot
- Confirm anti-reset windup is enabled and the integral limits are sensible
- Check what the external reset feedback signal really is
- Test a controller by holding the measurement away from setpoint with the valve at a stop, then release and watch the recovery
- When a loop is in manual during a known upset, confirm it returns to automatic without a jump
Related pitfalls
Related strategies
Link to this strategy: jpbprocess.com/control-strategies/integral-windup
Control Strategies are for awareness and training. Check real control designs against the process, the instrument data and a qualified control engineer.