Tuning surge tank level control loops

This type of PID loop has a different objective than most, which calls for a different strategy.


A typical surge tank configuration with its level control loop. Courtesy: DataforthWhile almost all PID loop tuning rules that have been developed aim for fast response, even the IMC and Lambda rules fall short of providing good tuning settings for a surge tank control loop, so we need to consider a different strategy for this application.

As shown in Figure 1, a surge tank is placed between two processing units to absorb flow rate fluctuations coming from the upstream process, so that the flow rate to the downstream process changes less rapidly. To do this, the tank level has to go up and down; therefore, the level controller must allow this movement and not try to hold the level close to its setpoint. 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.

The level-averaging method for controlling the surge tank level is preferred by most operators and engineers. This method minimizes control valve movement during disturbances, keeps the level between its limits, and brings the level back to setpoint over the long term.

The tuning rule describes how to tune surge tank level controls using the level-averaging method and is designed for use on a non-interactive controller algorithm with its integral time set in minutes, such as the algorithm in the Dataforth MAQ20 system.

Tuning procedure

To tune the controller for level-averaging control, the residence time of the surge tank, the greatest expected change in flow rate, and the maximum allowable deviation from setpoint must be known.

Residence time (tres): Residence time is the time it will take the tank to drain from 100% to 0% level if there is no incoming flow and the outlet valve is 100% open. It can be calculated by dividing the volume of the vessel between 0% and 100% of its level measurement span (V) by the maximum flow rate with the outlet valve wide open (Qmax):

tres = V / Qmax

The same unit of measure must be used for volume in V and Qmax, and Qmax must be expressed in volume per minute.

Change in flow rate (Δfmax): The greatest expected change in flow rate should be expressed as a percentage of maximum valve capacity. If available, historical trends of the level control valve’s position can be used to find the largest change the controller output has made over a relatively short period of time.

Maximum deviation from setpoint (ΔLmax): The maximum allowable deviation of level from its setpoint should be specified as a percentage of the full span of the level measurement.

Tuning equations

A surge tank control loop responding to disturbance using the level-averaging method on a non-interactive controller algorithm with its integral time set in minutes, such as a Dataforth MAQ20 system. Courtesy: DataforthOnce the three quantities described above are available, tuning settings can be calculated for the controller:

KC = 0.74 Δfmax / ΔLmax
TI = 4 tres / KC
TD = 0

Where KC is controller gain; TI is integral time in minutes; and TD is derivative time. The typical response of a surge tank tuned with this level-averaging tuning rule is shown in Figure 2.

Although Ziegler-Nichols and most other tuning methods for level controllers are not suitable for use on surge tanks, the level-averaging tuning rule will keep the tank’s level between its upper and lower limits with the least possible amount of change to the controller’s output.

Lee Payne is CEO at Dataforth.


For more information, visit:


Subscribe to Process & Advanced Control eNewsletter at www.controleng.com/newsletters

No comments
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
Each year, a panel of Control Engineering editors and industry expert judges select the System Integrator of the Year Award winners.
Control Engineering Leaders Under 40 identifies and gives recognition to young engineers who...
Learn more about methods used to ensure that the integration between the safety system and the process control...
Adding industrial toughness and reliability to Ethernet eGuide
Technological advances like multiple-in-multiple-out (MIMO) transmitting and receiving
Virtualization advice: 4 ways splitting servers can help manufacturing; Efficient motion controls; Fill the brain drain; Learn from the HART Plant of the Year
Two sides to process safety: Combining human and technical factors in your program; Preparing HMI graphics for migrations; Mechatronics and safety; Engineers' Choice Awards
Detecting security breaches: Forensic invenstigations depend on knowing your networks inside and out; Wireless workers; Opening robotic control; Product exclusive: Robust encoders
The Ask Control Engineering blog covers all aspects of automation, including motors, drives, sensors, motion control, machine control, and embedded systems.
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
News and comments from Control Engineering process industries editor, Peter Welander.
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
This is a blog from the trenches – written by engineers who are implementing and upgrading control systems every day across every industry.
Anthony Baker is a fictitious aggregation of experts from Callisto Integration, providing manufacturing consulting and systems integration.
Integrator Guide

Integrator Guide

Search the online Automation Integrator Guide

Create New Listing

Visit the System Integrators page to view past winners of Control Engineering's System Integrator of the Year Award and learn how to enter the competition. You will also find more information on system integrators and Control System Integrators Association.

Case Study Database

Case Study Database

Get more exposure for your case study by uploading it to the Control Engineering case study database, where end-users can identify relevant solutions and explore what the experts are doing to effectively implement a variety of technology and productivity related projects.

These case studies provide examples of how knowledgeable solution providers have used technology, processes and people to create effective and successful implementations in real-world situations. Case studies can be completed by filling out a simple online form where you can outline the project title, abstract, and full story in 1500 words or less; upload photos, videos and a logo.

Click here to visit the Case Study Database and upload your case study.