Skip to content
You Start with one site
Amounts in Start with one site
Control Systems · Concept

Integral windup

One idea Advanced 5 min read
Found this useful?

A lorry climbs a steep hill with the pedal pressed fully down, and it still slows. Suppose the driver counted every second of wanting more power, and held the pedal down for that long after the top of the hill. The lorry would race down the other side. Integral windup is the growth of the integral term while the output is already at its limit and can do no more.

The gain is too high?Small changes of setpoint settle well. Only the large ones overshoot.Not the tuning
The sensor is slow?The same sensor works on every other day.Not the sensor
The heater was at 100%?The integral term kept adding while nothing more could be given.This is windup

See it

Predict first

A tank of water at 25 °C is switched on with a setpoint of 55 °C. The controller asks for more heat than the heater has, so the heater runs at 100% for several minutes. What does the controller do at the moment the water reaches 55 °C?

See it: a start from cold, with the heater at its limit

Overshoot
Integral term, highest
Time above 55.5 °C

The upper graph is the water temperature. The lower graph shows two things in percent: the heater output, which cannot pass 100%, and the integral term inside the controller, which has no such limit. The dashed line at 60% is the output that holds 55 °C.

The idea

A PI or PID controller has an integral term. It adds the error for as long as the error lasts.

I = (Kc ÷ Ti) × area under the error

I is the integral term in percent of output, Kc is the controller gain, Ti is the integral time, and the area is the error multiplied by the time it lasts

Every real output has a limit: a heater gives at most 100%, and a valve opens fully. At its limit the output is saturated. The heater gives the same power whether the controller asks for 100% or for 300%. But the error is still large, so the integral term keeps growing.

When the measured value reaches the setpoint at last, the integral term holds far more than the process needs. The excess can leave only through error of the opposite sign: time spent beyond the setpoint. That is the overshoot, and it is long.

The cure is called anti-windup. The simplest kind is a clamp: while the output is saturated and the error still pushes the same way, the integral term stops adding. A clamp removes the overshoot, but the finish can be slow.

One worked number

The question

A controller has Kc = 5.0 percent per °C and Ti = 300 s. During a start from cold the heater is at 100%, and the area under the error grows to 4,702 °C·s by the time the water reaches the setpoint. The tank needs 60% to hold the setpoint. How large is the integral term, and what must happen to remove the excess?

Show the worked solution, 3 steps
  1. The integral term at the setpoint

    I = (5.0 ÷ 300) × 4,702 = 78.4%. The figure shows 78.5%.

  2. The excess

    The tank needs 60%. The excess is 78.4 − 60 = 18.4%.

  3. The area that removes it

    Rearrange the formula: area = 18.4 × 300 ÷ 5.0 = 1,100 °C·s above the setpoint. That is 1 °C too hot for more than 18 minutes.

The mistake to avoid

Windup overshoot is not a tuning problem. A lower gain can hide it, because the output then never reaches its limit, but the loop becomes slow for every disturbance. First look at the trend of the output. If it was at a limit before the overshoot, the loop needs anti-windup, not new tuning.

The lesson on what breaks real loops compares the clamp with a method that finishes in less than half the time.

Check yourself

Question 1

A controller has Kc = 2 percent per °C and Ti = 100 s. Its output is saturated, and the error stays at 10 °C for 200 s. With no protection, by how much does the integral term grow?

Question 2

A temperature loop settles well after small changes of setpoint. After a start from cold it overshoots by several degrees and takes 15 minutes to come back. What should be checked first?

Question 3

A pressure controller holds its valve fully open for an hour, because the supply pressure is too low to reach the setpoint. It has no anti-windup. The supply then returns to normal. What happens?

Where you meet it

  • A heater or an oven started from coldThe output is at 100% for minutes, and the first approach to the setpoint overshoots.
  • A pump on a variable speed driveWhen demand is more than the pump can give, it runs at full speed and the pressure controller winds up.
  • A cold room after a long door openingThe cooling runs at its limit, then pulls the room colder than the setpoint.
Key points
  • At its limit an output can do no more, but the integral term keeps adding.
  • The excess leaves only through time spent beyond the setpoint: a long overshoot.
  • The cure is anti-windup, not a lower gain.
Found this useful?

Discussion

    Comments show your name. Be kind, stay on the topic.