# Special rules for tuning level controllers (Part-1)

## In Part I of his article on tuning level controllers, process control consultant F.G. Shinskey points out that loss of level controls can kill a process in a heartbeat, so tuning them properly should be a priority.

**Nonlinear Proportional Control**To further reduce the rate-of-change of outflow, some have used a nonlinear characterizer on the controller deviation, such as an error-squared function or a three-zone characterizer, as shown in Figure 2, both of which provide a reduced gain to small deviations. (Note: the “error-squared” function is really the product of the deviation and its absolute value.) However, the low gain around setpoint necessitates a substantially higher gain elsewhere, to satisfy the same high and low limits of level.

With a linear proportional controller, the steady-state level is linear with steady-state flow. With one of these nonlinear controllers, the steady-state level will remain in the middle of the tank over only a narrow range of flow, for the most part settling above or below the low-gain range, where the controller gain is higher than that of a linear controller at the same flow. Therefore, their use is counter-productive, and they have been removed from service in most cases where they have been tried.

Only if the flow has a very narrow probability distribution about a known operating point, with the low-gain zone of the controller centered around it, is the nonlinear proportional controller useful. However, these characterizers can be of some help to a PI level controller, as described later.

**Material-Balance Regulators**The most common use of level controllers is to regulate the material balance between interconnected stages of a process. For example, a multi-effect evaporator has a level controller manipulating flow from one effect to the next, and from the last effect to the product tank. Most distillation columns have two level controllers–one at the base of the column or in its reboiler, manipulating bottom-product flow, and one at the reflux drum, manipulating distillate or reflux flow. They are scattered through any process plant, essential to its operation, and must be in service before the plant can start.

Here again, there may be no economic penalty for deviation from setpoint, but overflow and emptying must be avoided. As in a surge tank, rapid changes in manipulated outflow are undesirable, but these vessels have shorter time constants–in the range of 20 seconds to 5 minutes. Proportional control may not be acceptable, and there may be an optimum setpoint, designed to keep reboiler tubes covered for example. The level measurement may also be very noisy due to agitation or boiling, and the noise should not be passed along to the manipulated flow.

**Proportional-Integral Control**The maximum rate-of-change of manipulated flow is still governed by Equation (4), but the addition of integral action to the controller forms a second-order system, even in the absence of additional dynamics. Its damping factor varies with both controller settings:

(5)

Where* I* is the integral time of the controller. Figure 3 shows the responses of level and outflow to a step change in inflow as a function of time normalized to the process time constant. Damping factors have been fixed at values of 0.5 and 1.0 by the integral settings of 0.5(WHAT SYMBOL?) and 2(WHAT SYMBOL?) respectively, the proportional band being 50 % for both cases. They represent reasonable limits: the value of 1.0 represents critical damping (no overshoot) and 0.5 has some overshoot. Lighter damping is not particularly desirable in a level loop.

The selection of proportional band needs to be made on the basis of maximum rate-of-change of flow, or of peak level deviation for a given load change. Figure 4 shows the effect of changing proportional band on the step load response where has been fixed at 0.5 by setting the integral time a function of the proportional band:

(6)

Observe that the proportional setting determines the peak deviation for a given damping factor. However, the amount which the manipulated outflow overshoots the inflow step is independent of proportional band. The time of occurrence of the peak level deviation is determined entirely by the integral setting, and that of the peak change in outflow is exactly double that value.

Table 1 relates some features of the load response curves to the damping factor. Peak deviation is *ep *and peak change in outflow is * )m>.*

To use Table 1, first select a desired damping factor. Then estimate the largest expected load step and the acceptable peak deviation resulting from it. Then calculate the proportional band required to satisfy this relationship:

(7)

Where* f *is the coefficient in the third column of the table. As an example, consider a desired damping factor of 0.707, with a load step of 30 % resulting in a peak deviation of 20 %: *P *= 100(20/30)/0.66 = 100%. Then *I =* 2(WHAT SYMBOL?) (100/100) = 2(WHAT SYMBOL?)

Additional dynamics in the loop have little effect, up to a limit. For example, a loop with . = 0.707 can tolerate a dead time up to 0.2* I* with no loss in damping and only a small increase in the maximum rate-of-change in outflow; the dead time must be as high as 0.5* I* to approach the limit of stability. Inserting a first-order lag of 0.4(WHAT SYMBOL?) reduces the maximum rate-of-change of manipulated outflow by the same 0.65 factor as in proportional control, but causes the peak deviation and overshoot in manipulated flow to increase by half, as well as extending the settling time. Filtering up to this point does not destabilize, but its effects should be limited to noise reduction.

*Editor’s note: Stay tuned for Part 2 of “Special Rules for Tuning Level Controllers” in our next issue.*

About the Author |

*F.G. (Greg) Shinskey, process control consultant, has more than 34 years experience as a systems engineer. He is author of several textbooks on control systems design and is based in North Sandwich, N.H. Contact him at* shinskey@msn.com.

**References**

- Wade, H.L., Basic and Advanced Regulatory Control: System Design and Application, 2nd ed., ISA, Research Triangle Park, NC, 2004, pp. 168-169.
- Shinskey, F.G., “Taming the Shrink-Swell Dragon,” Control, March 2004, pp.35-40.

Table 1. Properties of the PI Load Response

I ep/fi mp/fi Time of ep Time of mp

1.000 4(P/100) 0.75(P/100) 1.11 1.00 (WHAT SYMBOL?) 2.00 (WHAT SYMBOL?)

0.707 2(P/100) 0.66(P/100) 1.21 0.80 (WHAT SYMBOL?) 1.60 (WHAT SYMBOL?)

0.500 1(P/100) 0.56(P/100) 1.31 0.60 (WHAT SYMBOL?) 1.20 (WHAT SYMBOL?)

Figure 2: Common Characterizers for Level Control

Figure 3: A PI Level Loop is a Second-order System With Damping Factor (SYMBOL)

Figure 4: Peak Deviation and Its Time of Occurrence Increase With *P*

## What are your comments?

Join the discussion today. Login Here.

## Comments

No one has commented on this page yet.

RSS feed for comments on this page | RSS feed for all comments