The conical tank: when one tuning isn't enough

The process gain changes about 7× from bottom to top. What does that do to a PI loop, and which fix is worth it?

🔻 Conical tank levelPID falls short8 guided steps
Step 1
Step 1 of 8

The situation

A point-down cone, filled through LV-201 and drained by gravity. The level has to be held anywhere from 0.3 to 1.7 m as production changes. The mechanical view shows why this is hard: the cross-section grows about 6.7× between 0.4 m and 1.6 m, so the same valve change moves the level 6.7× slower near the top.

Step 2
Step 2 of 8

Baseline: one PI, tuned where it was commissioned

Commissioning happened at low level, so the bump test there gives k′≈5.2×10−3k' \approx 5.2\times10^{-3} %/s per %. SIMC with τc=60\tau_c = 60 s gives Kc≈3K_c \approx 3 and Ti≈245T_i \approx 245 s. Near the bottom it's a good loop. Going up the tank, the same tuning gets sluggish and then overshoots by almost 20 %, ringing for half an hour.

Running the tests…
Step 3
Step 3 of 8

Diagnose: the plant across the range

Linearize at 0.4, 1.0 and 1.6 m. The time constant runs from 4 minutes to nearly an hour, but more importantly the integrating slope k′k' falls by about 7×. For PI on an integrator, ζ=12k′KcTi\zeta = \tfrac12\sqrt{k'K_cT_i}: the damping falls with k′\sqrt{k'}, from about 1 at the bottom to about 0.4 at the top. The linear step responses at the three levels show the same thing.

The plant across the operating range

Linearized at steady state (Jacobian), first-order-plus-dead-time by the half rule
Level (m)ValveK (%/%)τθ eff.k′ = K/τPMGMMs
0.431.6 %1.26246 s3.75 s0.00515 /s85.4°33 dB1.07
0.741.8 %1.67633 s3.75 s0.00264 /s72.5°38.7 dB1.04
150 %21250 s3.75 s0.0016 /s61.1°43 dB1.05
1.357 %2.282120 s3.75 s0.00107 /s51.9°46.5 dB1.17
1.663.2 %2.533290 s3.75 s7.70e−4 /s44.7°49.4 dB1.33

Margins are for the current controller at each point. The integrating slope k′ changes 6.7× across the range: one fixed tuning sees a different process at each end.

Linear step responses at each operating point

Same controller; what changes is the plant
Setpoint step (true PV / step)
0.4 m1 m1.6 m
0500100015002000250030000.00.51.0Time (s)y / r
Load step at the valve (true PV per % load)
0.4 m1 m1.6 m
0500100015002000250030000.00.10.2Time (s)% of span per %
Step 4
Step 4 of 8

Retune for the top?

Tuning at 1.6 m gives Kc≈20K_c \approx 20. Now the top behaves, but the bottom gets about 7× more gain than it needs. The level noise reaches the valve (CV activity about 6×, travel about 5×) and the gain margin halves. One tuning can only be right in one place.

Comparing in this step:PI tuned at 0.4 mPI tuned at 1.6 m
Running the tests…
Step 5
Step 5 of 8

Gain scheduling

Tune at each of the three levels with the same rule and speed (KcK_c = 3, 9.8 and 20), and interpolate on PV. Now the damping is the same everywhere: no overshoot at the top, and no extra noise at the bottom compared with the low-tuned PI. The cost is 9 numbers instead of 2, and three bump tests to get them.

Comparing in this step:PI tuned at 0.4 mGain-scheduled PI
Running the tests…
Step 6
Step 6 of 8

Characterization: control volume

The geometry is known, so convert level to volume and control that. V˙=Qin−Qout\dot V = Q_{in} - Q_{out} has the same slope at every level, so one PI (Kc≈11.6K_c \approx 11.6, Ti≈255T_i \approx 255 s in volume units) matches the schedule's performance with two parameters and one small function.

Comparing in this step:Gain-scheduled PIPI on volume
Running the tests…
Step 7
Step 7 of 8

What if the drawings are wrong?

The tank is actually 15 % wider and the outlet partly blocked. The characterization uses the drawing's geometry, so its volumes are off. It degrades gracefully, because a 15 % gain error is well inside its margins. The schedule never knew the geometry, so it is just as unaffected. Both are robust here. A much larger error, or a strange vessel shape, would favour scheduling from real bump tests.

Comparing in this step:Gain-scheduled PIPI on volume
Running the tests…
Verdict
Step 8 of 8

Verdict

Characterize when the nonlinearity has a formula; schedule when it doesn't.

  • Volume control is the cheapest complete fix: one PI, one FC, robust to moderate geometry errors.
  • Gain scheduling gets the same result from plant data alone, at the price of more parameters to maintain.
  • One PI is a fair option if it is tuned for the top: about 10 % more error in the Compare controllers table, but Ms 1.8 near the bottom against about 1.5 everywhere. One tuned at the bottom is only acceptable over a narrow level band.

Next on the ladder. If this were a surge tank, the right answer would be the opposite of tight control: averaging level control (phase 3).

Everything in this case, through every test

Running the tests…