0% found this document useful (0 votes)
54 views

Tuning PID Loops For Level Control: Subscribe Manage Account

This document provides instructions for tuning PID controllers for level control loops using a modified Ziegler-Nichols tuning method. It begins by noting that while over 100 tuning rules have been developed for self-regulating processes, fewer than 10 methods have been developed for integrating processes like level control, which make up about one-fourth of industrial PID loops. The document then presents a 6-step procedure for applying the modified Ziegler-Nichols tuning rules to integrate processes like level control loops based on measurements from a step test.

Uploaded by

Minh Pham
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Tuning PID Loops For Level Control: Subscribe Manage Account

This document provides instructions for tuning PID controllers for level control loops using a modified Ziegler-Nichols tuning method. It begins by noting that while over 100 tuning rules have been developed for self-regulating processes, fewer than 10 methods have been developed for integrating processes like level control, which make up about one-fourth of industrial PID loops. The document then presents a 6-step procedure for applying the modified Ziegler-Nichols tuning rules to integrate processes like level control loops based on measurements from a step test.

Uploaded by

Minh Pham
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

12/10/2016 www.controleng.com/single­article/tuning­pid­loops­for­level­control/352f58f971e43dafccab56a786cc77b8.

html

International Editions
Research Webcasts Newsletters Magazine

Username
Subscribe Sponsored by:
Forgot password? ******* Manage Account

IIoT New Products Control Systems Process Manufacturing Discrete Manufacturing System Integration Networking & Security Info Management

Tuning PID loops for level control
One­in­four control loops are regulating level, but techniques for tuning PID controllers in these integrating processes are not
widely understood.
Lee Payne
10/30/2014
Six steps
Share integrated
vision sys
Top 5 Con
Since the first two PID controller tuning methods were published in Engineeri
1942 by J. G. Ziegler and N. B. Nichols, more than 100 additional October 3
tuning rules have been developed for self­regulating control loops velocity, V
(e.g., flow, temperature, pressure). In contrast, fewer than 10 tuning advantage
methods have been developed for integrating (e.g., level) process validation
types, though roughly one­in­four industrial PID loops controls liquid
level. Encoder s
precision
The original Ziegler­Nichols tuning methods aimed for a super­fast Direct dri
response capability, which was achieved at the expense of control
servo mo
loop stability. However, a slight modification of these tuning rules
improves loop stability while still maintaining a fast response to PLC codi
setpoint changes and disturbances. As most process experts will released
agree, stability is generally more important than speed.
Journey t
Applicable process types of the pla
returns to
This modified Ziegler­Nichols tuning method is intended for use with integrating processes, and level control loops (Figure 1) Parallel­k
are the most common example. piezo pos
stages
Unlike a self­regulating process, an integrating process will stabilize at only one controller output, which has to be at the point
of equilibrium. If the controller output is set to a different value, the process will increase or decrease indefinitely at a steady Future en
slope (Figure 2). students 
projects
Note: This tuning method provides a fast response to disturbances in level and is therefore not suitable for tuning surge tank
level control loops. Drive solu
reducing 
The modified Ziegler­Nichols tuning rules presented here are designed for use on a non­interactive controller algorithm with its increase u
integral time set in minutes. Dataforth's MAQ20 industrial data acquisition and control system uses this approach as do other EtherNet/
controllers from a variety of manufacturers.
for positio
Procedure applicatio

To apply these tuning
rules to an integrating
process, follow these
steps. The process
variable and
controller output must
be time­trended so
6.490.000 that measurements
15 nơi bán can be taken from
them, as illustrated in
Figure 3.
Máy in Fuji Xerox Work Centre WC3220
Step 1. Do a step
test

a) Make sure, as far as possible, that the uncontrolled flow in and out of the vessel is as constant as possible.

b) Put the controller in manual control mode.

c) Wait for a steady slope in the level. If the level is very volatile, wait long enough to be able to confidently draw a straight line
though the general slope of the level.

d) Make a step change in the controller output. Try to make the step change 5% to 10% in size, if the process can tolerate it.

e) Wait for the level to change its slope into a new direction. If the level is volatile, wait long enough to be able to confidently
draw a straight line though the general slope of the level.

http://www.controleng.com/single­article/tuning­pid­loops­for­level­control/352f58f971e43dafccab56a786cc77b8.html 1/4
12/10/2016 www.controleng.com/single­article/tuning­pid­loops­for­level­control/352f58f971e43dafccab56a786cc77b8.html

f) Restore the level to an acceptable operating point and place the controller back into automatic control mode.

Step 2. Determine process characteristics

Based on the example shown in Figure 3:

a) Draw a line (Slope 1) through the initial slope, and extend it to
the right as shown in Figure 3.

b) Draw a line (Slope 2) through the final slope, and extend it to the
left to intersect Slope 1.

c) Measure the time between the beginning of the change in
controller output and the intersection between Slope 1 and Slope 2.
This is the process dead time (td), the first parameter required for
tuning the controller.

d) If td was measured in seconds, divide it by 60 to convert it to
minutes. As mentioned earlier, the calculations here are based on
the integral time in minutes, so all time measurements should be in
minutes.

e) Pick any two points (PV1 and PV2) on Slope 1, located conveniently far from each other to make accurate measurements.

f) Pick any two points (PV3 and PV4) on Slope 2, located conveniently far from each other to make accurate measurements.

g) Calculate the difference in the two slopes (DS) as follows:

DS = (PV4 ­ PV3) / T2 ­ (PV2 ­ PV1) / T1

Note: If T1 and T2 measurements were made in seconds, divide them by 60 to convert them to minutes.

h) If the PV is not ranged 0%­100%, convert DS to a percentage of the range as follows:

DS% = 100 × DS / (PV range max ­ PV range min)

i) Calculate the process integration rate (ri), which is the second parameter needed for tuning the controller:

ri = DS [in %] / dCO [in %]

Step 3. Repeat

Perform steps 1 and 2 at least three more times to obtain good average values for the process characteristics td and ri.

Step 4. Calculate tuning constants

Using the equations below, calculate your tuning constants. Both PI and PID calculations are provided since some users will
select the former based on the slow­moving nature of many level applications. 
For PI Control                       

Controller Gain, Kc =  0.45 / (ri × td)             

Integral Time, Ti =     6.67 × td                     

Derivative Time, Td = 0                                 

For PID Control

Controller Gain, Kc = 0.75 / (ri × td)

Integral Time, Ti =     5 × td 

Derivative Time, Td = 0.4 × td

Note that these tuning equations look different from the commonly published Ziegler­Nichols equations. The first reason is that
Kc has been reduced and Ti increased by a factor of two, to make the loop more stable and less oscillatory. The second reason
is that the Ziegler­Nichols equations for PID control target an interactive controller algorithm, while this approach is designed
for a non­interactive algorithm such as is used in the Dataforth MAQ20 and others. (If you are using a different controller, make
sure you find out which approach it uses.) The PID equations above have been adjusted to compensate for the difference.

Step 5. Enter the values

Key your calculated values into the controller, making sure the algorithm is set to non­interactive, and put the controller back
into automatic mode.

Step 6. Test and tune your work

Change the setpoint to test the new values and see how it responds. It might still need some additional fine­tuning to look like
Figure 4. For integrating processes, Kc and Ti need to be adjusted simultaneously and in opposite directions. For example, to
slow down the control loop, use Kc / 2 and Ti × 2.

With just a few modifications to the original Ziegler­Nichols tuning approach, these rules can be used to tune level control loops
for both stability and fast response to setpoint changes and disturbances.

Lee Payne is CEO of Dataforth.

http://www.controleng.com/single­article/tuning­pid­loops­for­level­control/352f58f971e43dafccab56a786cc77b8.html 2/4
12/10/2016 www.controleng.com/single­article/tuning­pid­loops­for­level­control/352f58f971e43dafccab56a786cc77b8.html

Additional reading: J.G. Ziegler and N.B. Nichols, Optimum settings
for automatic controllers, Transactions of the ASME, 64, pp. 759­
768, 1942.

ONLINE

To learn more about PID, look for additional application notes at
Dataforth website: www.dataforth.com 

Read more about process control strategy with the related stories
below.

Key concepts:

Modified Ziegler­Nichols tuning rules are effective for tuning
level control loops.
They are designed for use with integrating processes and on
non­interactive controller algorithms.
These rules provide loop stability as well as fast response to setpoint changes and disturbances.

Related News:
 Designing control: Smart sensors and data acquisition ­ 12.05.2015 01:46
 Overcoming process deadtime with a Smith Predictor ­ 17.02.2015 05:12
 Fundamentals of integrating vs. self­regulating processes ­ 02.12.2014 10:01
 Open­ vs. closed­loop control ­ 28.08.2014 15:09
 Fundamentals of cascade control ­ 17.08.2014 05:20
 Tuning PID control loops for fast response ­ 01.07.2014 12:09
 Fixing PID, Part 2 ­ 28.04.2014 14:20
 Fundamentals of lambda tuning ­ 16.04.2013 11:28
 Fixing PID ­ 30.11.2012 16:23
 Feedback controllers do their best  ­ 16.10.2012 10:27
 Disturbance­Rejection vs. Setpoint­Tracking Controllers ­ 26.09.2011 12:47
 Applying gain scheduling ­ 25.02.2011 11:51
 Back to Basics: Closed­loop stability ­ 17.08.2010 13:27
 Understanding Derivative in PID Control ­ 01.02.2010 07:00
 The Three Faces of PID  ­ 01.03.2007 07:00

Post a comment

Log in or create an account to submit your comment for this article.

K. , Non­US/Not Applicable, India, 11/06/14 11:57 AM:

There's always a mountain of a difference between theory and practice. Though there are numerous methods and thumb rules
in tuning, the fine tuning we do in the end for precise control makes the final values deviate much more from the theoretical
values obtained and it finally ends up to trial and error method.

MICHAEL , LA, United States, 11/19/14 04:26 PM:

Since a level is known as an integrating entity, use a controller which tries to control with gain only (as far as possible); use very
long integral times. We use a controller which uses CL to try to keep the PV within adjustable deadbands, and only then adds
itergral  action  when  it  is  absolutely  needed.  The  integral  action  is  also  different  for  each  deadband.  This  type  of  control  is
especially  useful  when  you  have  a  process  with  levels  in  series  (such  as  a  high  press  separator  feeding  a  medium  press
separator which then feeds a low press separator, etc). I have also found that using this type of approach yields a great amount
of stability to our (VERY) highly heat integrated xylene unit complex.

Anonymous , 12/12/14 11:10 AM:

It is a long time since I worked in process control, but I used to avoid using deriveative time in level control. Any feedback?

Anonymous , 12/12/14 12:11 PM:

I  tuned  level  loops  for  years.  If  the  primary  purpose  of  the  vessel  is  just  surge,  then  using  a  proportional  only  control  works
great. I typically set up a level control so that at 20% level the output to the valve would be 0% or 100% depending on if it was
an inlet or outlet and at 80% it would be 100% or 0%. Any integral time at all could introduce oscillations in the process. With
these settings the vessel would never fill up or go empty unless there was an upset the exceeded the capacity of the valve. It is
important to note that in most processes, the level is the least important variable that needs to be controlled.

ROBERT , MI, United States, 12/14/14 01:04 PM:

Procedure needs help with motor drive with variable WR2

http://www.controleng.com/single­article/tuning­pid­loops­for­level­control/352f58f971e43dafccab56a786cc77b8.html 3/4
12/10/2016 www.controleng.com/single­article/tuning­pid­loops­for­level­control/352f58f971e43dafccab56a786cc77b8.html

Events & Awards eGuides Magazine Archives Digital Reports Global SI Database

Oil & Gas Engineering

Engineers' Choice Awards System Integrator Giants Engineering Leaders Under 40


The Engineers' Choice Awards highlight some of the The System Integrator Giants program lists the top The Engineering Leaders Under 40 program
best new control, instrumentation and automation 100 system integrators among companies listed in identifies and gives recognition to young engineers
products as chosen by... CFE Media's Global System Integrator Database. who...

» More » More » More

Articles New Products Topics Training, Tools Events and Awards News, Views, Blogs Newsletters Advertising About Us


Magazine New Products Magazine Apps for Engineers Engineers' Choice Ask Control Engineering Subscribe Case Study Database Terms of Use
Information Control Product Research Cyber Security Online Training Center Awards How to Contribute Machine Control Listing Applied Automa
International Editions Sustainable Engineering Case Studies Engineering Leaders Machine Safety Newsletter Advertise­­Media Kit About CFE Me
Machine Control Manufacturing IT New Products Under 40 Real World Engineering Process and Advanced Contact Us Consulting­Spe
Magazine Archives Mobility Videos System Integrator Giants RSS Feeds Control Newsletter HART Communication Engineer
Process Control Robotics White Papers System Integrator Hall of Social Media Process Instrumentation Protocol Content Stream
System Integrators Machine Safety Product Research Fame Industrial Wireless and Sensors Newsletter Innovations from the Magazine
Education and Training Tips and Tricks Tutorials Safety & Cyber Security Industry How to Contrib
Marketing to Engineers System Integration and Newsletter White Papers International Ed
Global Automation & Process Control Energy Automation Internet Profiles Magazine Arch
Manufacturing Summit Newsletter Plant Engineeri
CE China Best Product System Integration Oil & Gas Engi
Award Newsletter Subscribe
Information Control Site Map
Newsletter Privacy Policy
Product & Media
Showcase
White Paper Connection
eNewsletter Archive

http://www.controleng.com/single­article/tuning­pid­loops­for­level­control/352f58f971e43dafccab56a786cc77b8.html 4/4

You might also like