Professional Documents
Culture Documents
TRANSACTIONS*
ELSEVIER
*'a,
" Applied Control Engineering, P.O. Box 520, Hockessin, DE 19707, USA
Department of Chemical Engineering, Chang Gung College of Medicine and Technology, Kwetshan, Taoyuan, Taiwan, ROC
c DuPont Engineering, 140 Cypress Station Drit:e, Houston, TX 77090, USA
Abstract
We have significantly simplified the IMC-PID tuning rules. These new rules cover the vast majority of control
loops encountered in the chemical industry. This work is the result of a great deal of experience in successfully
applying IMC-PID tuning rules and an effort to prepare a training course on controller tuning. The simplified rules
are very similar in form to the classic open loop Ziegler-Nichols rules and use the process reaction curve method for
process testing. The two differences are that these rules are based on a less aggressive performance criteria and that
we adapt the rules for some commonly encountered special cases. This paper presents the relationship between the
simplified IMC-PID rules, the general IMC-PID rules, the Ziegler-Nichols rules and the Cohen-Coon rules. We
show that the simplified rules are less sensitive to parameter mis-estimation than other more aggressive tuning rules.
We also proposed rules for a fourth action; filtering. Filtering is available in digital controllers and smart field
transmitters. We report that filtering and derivative action cancel each other and therefore should not be used
together. We briefly outline the contents of the tuning course and finish the paper with an industrial example where
the simplified rules have been successfully applied.
1. Introduction
P I D c o n t r o l l e r s a r e still, by far, t h e most comm o n l y u s e d c o n t r o l l e r s in the c h e m i c a l industry.
P r o b a b l y t h e single b i g g e s t r e a s o n for this is that
a w e l l - d e s i g n e d a n d a d e q u a t e l y - t u n e d P I D cont r o l l e r m e e t s o r e x c e e d s most c o n t r o l objectives.
W e d e s i g n c o n t r o l s t r a t e g i e s for n e w plants,
m a k e c o n t r o l i m p r o v e m e n t s at existing p l a n t s a n d
troubleshoot control problems. These experiences
have shown us t h a t t h e r e is very l i m i t e d knowl-
* Corresponding author.
e d g e a b o u t c o n t r o l l e r t u n i n g at m a n y p l a n t sites.
W e have i n v e s t i g a t e d c o n t r o l p r o b l e m s for p r o cesses t h a t r e c e n t l y u n d e r w e n t c o n v e r s i o n s to
D i s t r i b u t e d C o n t r o l Systems ( D C S ) a n d f o u n d
t h a t a m a j o r i t y o f t h e c o n t r o l Mops w e r e b e i n g
run in m a n u a l simply b e c a u s e the loops w e r e
poorly tuned.
L a t e in 1992 we w e r e a s k e d to d e v e l o p a
c o n t r o l l e r t u n i n g c o u r s e to h e l p a d d r e s s this
p r o b l e m . T h e t a r g e t a u d i e n c e for t h e c o u r s e is
i n s t r u m e n t technicians, o p e r a t o r s a n d e n g i n e e r s .
O v e r the p a s t five y e a r s we have e m p l o y e d I n t e r nal M o d e l C o n t r o l - P r o p o r t i o n a l I n t e g r a l
D e r i v a t i v e ( I M C - P I D ) c o n t r o l l e r t u n i n g rules with
44
- ~
SloDe, R - -
/
f/
Definition
PI tuning rules
The first and most commonly used rules are
""
/
Controlled Verlable
/f
45
Kc
(1)
2RL '
(2)
~'i = 5L,
I
I:
I
: ]
I
2"
,
,,,
Time
Fig. 1. The open loop step response of a typical process.
where
Kc is the controller proportional gain (dimensionless),
~i is the controller reset time (minutes/repeat),
R
is the change per minute in the process
variable, (expressed as a % of the transmitter span), divided by the step change magnitude (expressed as a % of the controller
output span) (1/minutes),
L
is the apparent dead time (minutes)
These rules are derived from the IMC-PID
rules for a dead time integrating process. However, as shown in [5], these rules apply to both
dead time integrating and dead time first order
processes.
There are two types of less commonly observed responses which require modifications to
the above rules. The first is when the process is
dead time first order and the time constant is
short relative to the apparent dead time. Fig. 2
illustrates this type of response.
We have found, by performing many simulations, that the following rules give better closedloop response when the time constant divided by
Slope, R -,~,/
Final Response
_Z_~
It: :I
L, Apparent DeadTime
I
Time
Fig. 2. Open loop step response of a self regulating process.
46
(3)
Ti =
(4)
'T,
Kc = ~,
(5)
r i = 4.
(6)
Notice that K c does not have L in the denominator and thus is smaller and '/'i is larger compared to Eqs. (1) and (2). The controller settings
"g
-->3
L
1
Kc
ri
2RL
5L
--<3
L
1
2RL
r
L<0.5
1
R
4
Before we discuss the filter and derivative tuning rules it will be helpful to discuss filter action,
derivative action and the relationship between
the two.
Filter action
We use signal filtering in some loops to improve performance. One common example is in
level loops where the measurement is often noisy.
Without filter action the noise is passed by the
proportional action of the controller directly to
the control valve causing it to move unnecessarily.
Reducing this movement by decreasing the controller gain is undesirable because of the destabilizing effect this has on the level control
loop. Filter action is a superior solution. We are
not aware of any rules on how to set filter time
constant. We believe that filtering is now used
more often because it is available in many digital
controllers and smart field instruments. It has
become a fourth controller action.
The task of setting the filter time is one of
using as much as you dare without degrading the
performance of the loop. The goal is to specify a
47
Derivative action can improve the performance of a control loop by shortening the closed
loop natural period. The performance improve-
1.2
Tf
.T
2*L
e
a
s
u
r
e
d
4*L
ffi
0.8
0.6
0.5*L
= 0.2*L
0.4
0.2
10
20
30
40
50
60
70
80
90
100
~me
Fig. 3. S e t p o i n t r e s p o n s e s ~ r d i f f e r e n t v a l u e s o f f i l t e r t i m e c o n s t a n t .
48
3. Robustness
YS
~_*
Fig. 4. Feedback control structure used for simulations illustrated in Figs. 5-10.
10e-2S
Gp=G/= 5 0 0 s + l "
From the step response, R, L and T are
calculated to be R = 0 . 0 2 , L = 2 and T = 5 0 0 .
The resulting PI controller settings are
Kc
ri
Simplified
IMC-PID
Ziegler-Nichols
Cohen-Coon
12.5
10
22.5
6.7
22.5
6.6
Fig. 5 shows the disturbance closed-loop response for the simplified IMC-PID, ZieglerNichols and C o h e n - C o o n rules.
In the simulation, d is changed from 0 to 1 at
time equal to zero. Notice that the proposed
tuning rules give very smooth closed loop re-
0.08
49
2s+l"
IMC-PID
0.06
0.04,
/
/
0.02
Both Z-N
and C-C
\\\ , ~"
0
-0.02
10
30
20
Time
4,0
50
(minutes)
I
.I
""0":]
_.. IMC-PID
\
'X
",
-is
/f
"
//
/
-20
"-
Bolh Z-N
"
"
i0
"
"
"
"
20
Time
30
(minutes)
"
40
5O
50
IMC-PID
o--1 /
Both Z-N
and C-C
',,
/ ',
",,l
-0.05
-0.I
ii
'
"
'
"
IMC-PID,..,
/"
/*%,
/
/
',\
"
"
\
"
\
\
\
\
'
/
1
I
II
'
"
"
4,0
50
(minutes)
Both Z-N
and C-C.
// %
/,~,
I
0 =
-10
"
30
Time
i0--
'
20
10
/
/
/7
~'
-20"
-30
'\\/
\\ /I'
I
\\
10
20
T1hae
\\
"
\
"
30
"
40
I
50
(minutes)
K,
~'i
Simplified
IMC-PID
Ziegler-Nichols
Cohen-Coon
0.25
2
0.45
13.3
0.45
2.9
Fig. 7 shows the disturbance rejection closedloop responses using the three tuning methods.
Notice again that the proposed tuning rules
give very smooth closed loop response for both
controlled variable and controller output, while
Ziegler-Nichols settings give very sluggish response. C o h e n - C o o n settings provides improvement over Ziegler-Nichols settings in this situation but are still a little oscillatory. Fig. 8 shows
the closed loop responses for a + 5 0 % model
mismatch in dead time. The simplified tuning
rules still provide smooth closed-loop response
while Ziegler-Nichols settings are still very slug-
15s + 1
K,,
ri
Simplified
IMC-PID
Ziegler-Nichols
Cohen-Coon
1.5
4
8.43
0.53
8.44
0.52
51
IMC-PID ~ Z-N
0.5"
::1
.
"
"
"
10
'
'
30
20
Time
"
50
40
(minutes)
O r
-0.5
-1
-1.5
-2
10
"
"
"
20
Time
30
(minutes)
Fig. 7. L o a d r e s p o n s e for E x a m p l e 2.
"
4o
50
52
at 0.4 and both the Ziegler-Nichols and C o h e n Coon rule curves at 1.25.
If the true process slope is 1, the graph tells us
that if we mis-estimate the process slope to be
less than 0.4 the I M C - P I D rules will result in
unstable tuning, whereas the other rules will only
allow a mis-estimation of less than 1.25 before
unstable tuning results. For the Ziegler-Nichols
and C o h e n - C o o n rules if we estimate the process
slope to be exactly what it is we will calculate
tuning settings that produce unstable response!
We conclude that the I M C - P I D rules are more
robust because they allow for a larger mis-estimation of the slope than the other rules. More
generally, the farther the stability boundary line
is from the point (1, 1) (i.e., the point which
corresponds to exact estimates of dead time and
slope) the more robust the tuning rules are.
Fig. 12 is the robustness plot for the Example
-_
IM@PID
'
'
"
"
"
10
'
20
Time
0 ~
-0.5
r.
"
. "
"
"
30
{ m i n u t e
"
'
'
40
"
50
B }
Z-N
.1
-1.5
"
10
"
"
20
T i m e
"
30
( m i n u t
e B )
Fig. 8. Load response for Example 2 with a + 50% dead time mismatch.
40
"
"
5O
f
0.05
0.03
"
53
IMC-PID
0.01
-0.01
10
20
Time
30
(minutes)
O~
-0.5"
j[~V
B o t h Z-N
and
C-C
-1-
-1.5
-,2
! IMC_PID?
I
"
"
"
10
20
Time
(minut
era)
"
"
30
54
Kc Q '
IMC-PID
5. Industrial
example
Bolh Z-N
and C-C
0.07
i
I
I
0.05
It
0.03
t
t
0.01
-0.01
I
10
20
Time
1--
IMC-PID
I1
It
t
I
lt Jl
F /[
t|
30
(minutes)
,,f
Bo'lh Z-N
m'KI C4
II
I I I
I I I I
-1-
-2
I
I
[{
II
I ] I
I I I
t I
f I
I
lO
20
Time
(m Inut
ee )
Fig. 10. L o a d response for E x a m p | e 3 for + 5 0 % dead time mismatch.
30
55
Example #1
Tp = 500 min, La = 2 min, Kp = 1
1.8
1.6
1.4
1,2
\\\x \
0.8
0.6
0.4
0.2
1.4
1.6
1.8
I
0.2
0.4
0.6
0.8
1.2
Lo/La
IMC Rules
-- Z-N Rules
Cohen-Coon I
56
T p = 2 m i n , La = 4 m i n , Kp = 1
1.8
1.6
1.4
1.2
0.8
\
0.6
N
\~
0.4
0.2
0.2
0.4
0.6
0.8
1.2
1.4
1.6
Lo/La
- - IMC Rules
- - Z-N Rules
Cohen-Coon I
1.8
57
LOOP T U N I N G
ADO PU, SP
fiND OP TRgCES
OELETE RLL
TRACES
Ip
ROD
fiRggETER.P~
I SELECT
TINEDASE]
1247TC
DELETE |
GREEN TRgCE/
I SELECT '
ADD
[DATA SOURCE] I C X A N G E
ZONE]
RT RT RT
MIN
lOg.OR
PU 175.n t
OP l g g . $ $
PU 68.5Z
J
ggagigl
171.34
OEG C
PU 145.$g
OP
$.gg$
SP 158.77
OP 4g.ggg
L247TC
g.g TO 255.g OEG C
CZ ZONE 2 SECT C TERP
g .gga
INTEGRRL iIOERIUgTIOE
lilllillil
T3 ' g i l l '
]1
KPP l i i l i l
TS e g g l g l
KNL l i i g i l
TO Igggll
6.$$
PU
OP
Q.85
liillill
171.3 ; m i n i m
4O.O , .~=i i
~ g
, ,
Conclusions
We have greatly simplified the IMC-PID tuning rules. These rules cover most loops encountered in the chemical industry. The tuning rules
are
For general loops:
"g
-->3
L
Acknowledgments
Kc
ri
,rf
2RL
2RL
5L
=
--<3
L
L<0.5
1
4
58
= 0.5 to 0.7,
From numerous simulations and industrial application, we find setting rcj = 2 L provides very
good closed-loop performance, the resulting Kc
and
T i are
ri = 0.3 to 0.2.
ALR
4 V
,
Ti
5
9RL ' which we elected
K~
K c Q "
1
to simplify to K~ - 2RL
(A.3)
(A.4)
and r i = 5 L .
Tuning rule when r / L < 3
When self regulating process behavior is observed and the dead time is relatively large compared to the process time constant, the above
tuning rules will be too conservative. A better set
of tuning rules is to tune the control loop based
on first order plus dead time response. From [5],
the PI tuning rules for process model of first
order plus dead time are
Kp
(rs +
Ls
1) '
(A.5)
K c -
Kv(rcl + L)
'
(A.6)
Ti :T.
From our experience, a large portion of Chemical Plant control loops are time constant dominant processes, thus the initial portion of the
dynamic step response can be approximated as a
system with integrator. The importance of the
initial response for controller tuning purposes has
been pointed out by Chien and Fruehauf [5], thus
controller tuning based on a system with integrator can provide excellent closed loop performance. The original tuning rules for a system
with integrator and dead time are
Re -
Ls
Kc
2rcl + L
R(.rcl + L)2 ,
r i = 2r d +L.
(A.1)
(A.2).
1
2RL
Kc
r i = r.
and by
(A.7)
(A.8)
For a process with negligible dead time, typically when L < 0.5 minute, by choosing rc~ = 2
and L = 0 in Eqs. (A.1) and (A.2), we enhance
the closed-loop stability. The resulting K c and rg
are
1
K c = ~,
"J'i =
4.
(A.9)
(A.10)
References
[1] J.G. Ziegler and N.B. Nichols, "Optimum settings for
automatic controllers", ASME Trans. 64 (1942) 759.
[2] G.H. Cohen and G.A. Coon, "Theoretical consideration
of retarded control", ASME Trans. 75 (1953) 827.
[3] D.E. Rivera, M. Morari and S. Skogestad, "Internal model
control, 4. PID Controller Design", Ind. Eng. Chem. Proc.
Des. Dev. 25 (1986) 252.
59