JPB Process Calcs

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.

ProcessPCSchedGain
A schedule block Sched reads the operating point from the process and sets the gain of pressure controller PC, which moves the control valve.

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:

SI units:

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

Rules of thumb that help

Control Strategies are for awareness and training. Check real control designs against the process, the instrument data and a qualified control engineer.