Surge Tank Level Control
A surge tank is placed between two processing units to absorb flow rate fluctuations coming from the upstream process and keep the flow rate to the downstream process more constant. To do this, the tank level has to go up and down. Consequently, the level controller should not try to hold the level as close as possible to its set point; the controller should simply keep the surge tank’s level between its upper and lower limits, and do this with the least possible amount of change to its output.
Although there are other methods of controlling surge tank level, the level-averaging method [1] is preferred by most operators and process engineers. This method minimizes control valve movement during disturbances, keeps the level between its limits, and brings the level back to setpoint in the long term (Figure 2). Another method of surge tank control does not bring the level back to setpoint but potentially provides more surge capacity [2]; I’ll write about that method another day.
Surge Tank Level Controller Tuning
To tune the controller for level-averaging control, you need to know the following three things:
1. The residence time of the vessel (tres)
The residence time is the time it would take for the surge tank to drain from 100% level to 0% level if there is no flow into the tank and the outlet valve is 100% open. You can calculate this as the volume of liquid contained in the vessel between 0% and 100% of the span of its level measurement, divided by the maximum flow rate with the outlet valve wide open: tres = V/Qmax. Use the same engineering unit for volume in V and Qmax. If you don’t know the volume and/or maximum flow rate, you can estimate the residence time as the inverse of the process integration rate, tres = 1/ri. You can determine ri through step testing. Be sure to express tres in the same time-base as your controller’s integral time (minutes versus seconds).
2. The largest expected change in flow rate (Δfmax).
This should be expressed as a percentage of maximum valve capacity. You can review historical trends of the loop and find the largest change the controller output has made (under automatic control) to control the level.
3. The maximum tolerable deviation from setpoint (ΔLmax).
This should be expressed as a percentage of the span of the level measurement.
Once you have all of these, calculate tuning settings for the controller with the equations below.
For a controller with an interactive or noninteractive algorithm:
KC = 0.74 Δfmax / ΔLmax
TI = 4 tres / KC
TD = 0
KC is controller gain.
If your controller uses proportional band, PB = 100/KC.
TI is integral time in the same units as tres.
If your interactive or noninteractive controller uses integral gain, KI = 1/TI.
TD is the derivative time.
For a controller with a parallel algorithm:
KP = 0.74 Δfmax / ΔLmax
KI = KP2 / (4 tres)
KD = 0
KP is proportional gain and KI is integral gain using the same time-base as tres.
If your parallel controller uses integral time: TI = 1 / KI
KD is the derivative time.
Faster tuning is also possible. The following equations will produce tuning settings to bring the level back towards the setpoint much quicker. The level will slightly overshoot the setpoint as a result of the faster response (Figure 3).
For a controller with an interactive or noninteractive algorithm:
KC = 0.5 Δfmax / ΔLmax
TI = 0.74 tres / KC
TD = 0
For a controller with a parallel algorithm:
KP = 0.5 Δfmax / ΔLmax
KI = KP2 / (0.74 tres)
KD = 0
The same parameter descriptions and conversions given previously, apply to the faster tuning equations too.
Figure 3. A faster response to a disturbance in inflow.
With these tuning rules, you should be able to get your surge tanks under control, and have them respond appropriately to surges in inflow. Let me know if you need help.
Stay tuned.
Jacques Smuts – author of Process Control for Practitioners.
References:
[1] H.L. Wade, Basic and Advanced Regulatory Control: System Design and Application, 2nd Edition, ISA, 2004.
[2] F.G. Shinskey, Process Control Systems: Application, Design, and Tuning, 4th Edition, McGraw-Hill, 1996.
Jacques,
I am planning in advance for tuning infeed control for surge tank which has not been commissioned yet. This surge tank is used to stabilize the infeed process and buffer the infeed from the discharge rate, which changes often with line speed. The infeed process involves mixing two components in the correct ratio and heating of one component as it travels through a heat exchanger. Infeed speed changes cause product temperature and component ratio fluctuations.
We are using Rockwell Automation products and have implemented their PIDE instruction throughout the process. The PIDE instruction uses the velocity form algorithm and is configured in parallel form. The algorithm can be found on page 2 of Rockwell Automation document “Perform Common Process Loop Control Algorithms”.
My Question: Will the velocity form respond the same as positional form if I use gains calculated from the parallel algorithm equations above?
Jacques,
In my application, vapor from a distillation column is condensed and the condensate collects in a distillate receiver. A portion of the liquid from the receiver goes back to the column as a reflux and the rest goes to a product tank. The distillate receiver level is controlled by controlling flow going to the product tank. For the purpose of calculating residence time, should I use the sum of the reflux and flow to the product tank or just use only the flow to the product tank?
Philip: Yes, under all normal closed-loop control conditions, the positional and velocity algorithms respond exactly the same. The velocity algorithm has inherent anti-reset windup when the output saturates, inherent bumpless manual-to-auto transfer, and its output does not bump when tuning parameters are changed.
Tesh: To determine residence time, use only the flow through the control valve, i.e. the flow to the product tank. Under steady-state conditions, open the control valve by X percent. The residence time is the time the level takes to decrease by X percent.
Hi Jacques
I guess this method works, without any changes, also when instead the outlet control valve there is a pump controlled by a variable speed drive. In this case Δfmax just should be maximum hystorical measured pump discharge flow?
The maximum tolerable deviation form setpoint is the tolerable band ?(for example 40% if the setpoint it´s 60% and the tolerable band it´s between 40% and 80%?)
I have enjoy this all this control notes.
Thank in advance
Jorge: Δfmax should be the maximum short-term change or surge in flowrate as a percentage of the valve or pump’s maximum flowrate.
The maximum tolerable deviation would be the smallest of (Maximum Tolerable Level – SP) and (SP – Minimum Tolerable Level) as a percentage of the PV span.