The surge tank: averaging level control
A level loop that holds its setpoint perfectly and is still doing the wrong job. What should a buffer tank's controller actually do?
The situation
T-601 sits between an upstream section that swings its throughput and a downstream section that wants a steady feed. P-601 and LV-601 set the outflow. The tank holds 12 m³, and at 1.5 m there are 6 m³ of room each way.
The mechanical view shows how long that room lasts for a given imbalance: about 24 minutes for a 15 m³/h swing.
Baseline: a level loop tuned like any other
SIMC on the integrating model gives a tight PI (, min, inverted).
The level is a picture of good control: it stays within about ±0.2 m of 1.5 m. But look at the valve. The outflow copies the inflow: it swings from 17 to 81 % (10 to 48 m³/h) and changes by up to 13 m³/h in a minute. The downstream section gets every upstream swing, just a little later. The tank's 12 m³ are not being used.
Averaging control: use the room
Decide how far the level may move: say a quarter of the span (0.75 m) for an upset of a quarter of the outlet's capacity (15 m³/h). The Lambda rule for integrating processes then gives the arrest time
and from it , min. Auto-tune does exactly this on this process.
Result. The level now wanders between 0.9 and 2.2 m. The outflow moves between 37 and 70 % and never faster than about 1.6 m³/h per minute: eight times gentler. Valve travel drops from 21 to under 3 strokes an hour.
The scorecard's IAE is several times worse. That isn't a failure, it's the point: IAE measures distance from setpoint, and for a buffer tank that is the wrong goal.
P-only, and where the limits come in
Many surge tanks run P-only: . The level settles wherever the flows balance, and that offset doesn't matter in a buffer. The outflow is smoother still, about 0.7 m³/h per minute at most.
The cost is room. P-only lets the level reach 2.4 m in the surge test, and 2.5 m (of 3) on the model mismatch test, where the tank is effectively 30 % smaller.
So on a real tank the limits get their own protection: a high-level override that opens the outlet, or a trip. That isn't a reason to tighten the loop.
A high-level override
A long surge (half an hour near full rate) is more than the averaging controller should absorb: the level climbs to 2.76 m of a 3 m tank.
Add a second, tight level controller with its setpoint at 2.4 m (, min) and high-select the two outputs, because the override wants more outflow. With tracking, it sits idle until the level reaches 2.4 m, then takes the valve. The level stops at 2.5 m: the outflow has to swing up to 100 % first, so set the limit with margin.
The other side of tracking. When the surge ends, the averaging controller takes the valve back from where the override left it, near 100 %. Being slow, it takes a while to bring the outflow down, and the level dips to 0.66 m. A low-level override would catch that too.
Verdict
A slow PI or P-only, tuned from the room the tank has.
- Choose the arrest time from the allowed level swing, not from the loop's speed.
- Judge the loop by how smooth the outflow is, and whether the level stays inside its limits.
- Protect the limits with an override or a trip. Then the PI can run looser still: about three times calmer through normal surges, with a sharp move when the override takes over on a big one.
This is PID winning: nothing up the ladder does the job better, as long as the tuning matches what the tank is for.