The stirred tank: when derivative earns its keep
On the flow loop derivative only added noise. On a lag-dominant vessel, does D finally pay for itself?
The situation
A 200 L jacketed vessel, agitated, with cold feed running through it. TV-401 heats the jacket, and TT-401 sits in a thermowell. Three lags in series (vessel about 14 minutes, jacket about 35 s, thermowell 15 s) and practically no dead time: the control view shows the plant. Recipe changes move the setpoint; upstream changes the feed temperature and the throughput.
On-off, like a thermostat
A thermostat works for a room. Here it overshoots recipe steps by up to 22 % and never settles, because by the time the heating switches off the jacket is already hot. On-off is fine where a few degrees of swing don't matter; for a reactor recipe they do.
A SIMC PI
The bump test gives roughly , s and s effective (the small lags lumped together by the half rule). SIMC with gives , s. The setpoint steps come in without overshoot. Feed upsets peak at about 3 °C and take around 9 minutes to recover. It's a respectable loop, robust at .
Why not just more gain?
Push the PI to and the upsets shrink, but the phase margin falls to about 37° and passes 2. The model-mismatch test (a fouled jacket) overshoots by 9 %. The small lags are eating the phase: a PI can't go faster without becoming fragile.
Add derivative
SIMC's PID rule uses the second-order model: cancels the jacket lag. At the same gain the loop is now robust (, phase margin about 58°). The worst upset drops from 3.2 °C to about 2.1 °C, and recovery is two and a half minutes faster. This is what derivative is for: its phase lead pays for the gain.
The price: filter the derivative
With the default filter ratio the derivative's high-frequency gain is 11 × . The valve moves about 12 times as much as with the PI, and on the noisy-thermocouple test much more. Raising to 0.5 keeps nearly all the benefit (the process lags are tens of seconds; the noise is per-sample) at about 4 times the PI's activity. In PID_Compact that is Retain.CtrlParams.TdFiltRatio.
Verdict
PID with a filtered derivative.
- On a lag-dominant process with several lags, derivative is worth having: smaller upsets and more margin.
- Set the filter ratio to 0.3–0.5 and DWeighting to 0.
- If the valve can't take the extra movement, the SIMC PI is a respectable second.
- Nothing further up the ladder is needed.