Strategy 16 of 24 · Tuning & Dynamics · Intermediate
Gain Scheduling
The Shape Shifter
Gain scheduling changes the tuning with the operating point so the loop gain stays about the same when the process gain changes.
US and SI units Process gain doubles, halve controller gain
The setup
Many processes do not respond the same way at every operating point. A small valve move can change the flow a lot at one condition and very little at another. Tuning that works well at one point is then too aggressive or too slow at another.
Gain scheduling is the fix. A table or formula changes the controller gain, and sometimes the integral and derivative times, based on a measured variable such as flow, load or valve position. The goal is simple. Keep the loop gain roughly constant, so the loop behaves the same everywhere.
The reality
The idea is to cancel a change in process gain with an opposite change in controller gain. If the process gain doubles, halve the controller gain. If it falls to a third, triple it.
The common causes of changing process gain are well known. A control valve with an equal percentage characteristic has a gain that rises with flow. A valve with a poor installed characteristic can flatten out at high flow, as the rule on valve authority explains. A vessel with a non-vertical shape changes level per unit volume with height. A pH loop near neutral has a gain that can change by factors of hundreds across a narrow range. Heat exchangers have gain that changes with rate.
The scheduling variable must be something that reliably tracks the cause. Flow is a good choice for a valve. Measured pH is a good choice for a pH loop. A scheduled gain that is wrong is worse than a fixed tuning that is right.
Scheduling assumes the process is more sluggish or more sensitive in a known way. Being aggressive at low rate is only right where the process is slow there. Do not apply the idea in reverse without knowing the process gain.
Low flow is where many loops give trouble, as the turndown blind spot pitfall points out. A schedule built for the middle of the range may not hold at the ends.
Run the numbers
A valve with an equal percentage characteristic has a gain that is proportional to flow when the pressure drop is constant. The loop runs between 200 gpm and 800 gpm.
US units:
- At 800 gpm the process gain is 800 ÷ 200 = 4 times the gain at 200 gpm
- To keep the loop gain constant, the controller gain at 200 gpm should be 4 times the gain at 800 gpm
- If the controller gain is 0.5 at 800 gpm, it should be 2.0 at 200 gpm
- A fixed gain of 0.5 gives a sluggish loop at 200 gpm, and a fixed gain of 2.0 gives a cycling loop at 800 gpm
SI units:
- The same loop runs between 45.4 m³/h and 181.7 m³/h
- The ratio of 4 is the same
- The controller gains of 2.0 and 0.5 are the same
- The scheduling variable, flow, is read in m³/h
Where it goes wrong
A wrong scheduling variable gives the wrong gain, and the loop can become unstable.
A schedule built from a few test points may not suit points in between.
A steep change in the schedule at one point causes a jump in the output.
A change in valve trim, fluid or pump alters the process gain, and the old table no longer fits.
Scheduling hides a loop with a poor valve choice. It is often better to fix the valve.
What to check in the field
- Run a small output step at the low, middle and high ends of the range and compare the process gain
- Confirm that the scheduled gain gives about the same loop gain at each point
- Check the schedule changes smoothly and does not bump the output at breakpoints
- Review the table after any change of valve, trim or pump
Calculators that check it
- Control Valve Cv — Liquid Service: Liquid control-valve flow coefficient (Cv/Kv) per ISA 75.01, with a choked-flow check. Open in the app
- Control Valve Cv — Gas/Vapor Service: Gas/vapor control-valve flow coefficient (Cv) per ISA 75.01, with the expansion factor and a choked-flow check. Open in the app
Rules of thumb that help
Related pitfalls
Related strategies
Link to this strategy: jpbprocess.com/control-strategies/gain-scheduling
Control Strategies are for awareness and training. Check real control designs against the process, the instrument data and a qualified control engineer.