PID Controller Tuning For Integrating and Unstable Processes With Time Delay
PID Controller Tuning For Integrating and Unstable Processes With Time Delay
PID Controller Tuning For Integrating and Unstable Processes With Time Delay
(s), (7)
where P
+
(s) contains the invertible portion of the model
and P
,
2
, up
I
,
q should have zeros at up
,
2
, up
I
.
2. If the process model G
"
has unstable poles
dup
,
2
, dup
K
, (1!GIq) should have zeros at
dup
,
2
, dup
K
.
If these two conditions are satis"ed, the closed-loop res-
ponses for both a setpoint change and a load change
become stable.
The IMC controller is set as q"P
+
(s) f. Here, q has
zeros at up
,
2
, up
I
because P
+
(s) is the inverse of the
model portion with the unstable poles. Thus, the "rst
condition is satis"ed. Then, through the "lter design,
the second condition should be satis"ed. The "lter
for the IMC controller can be designed by two parts; f
Q
is
the portion to make the controller proper, and f
B
is the
portion to cancel the unstable poles or stable poles near
zero of G
"
.
f"f
Q
f
B
, (8)
f
Q
"
1
(zs#1)L
, (9a)
f
B
"
K
G
:
G
sG#1
(zs#1)K
, (9b)
Ces=3201=KCT=VVC=BG
3482 Y. Lee et al. / Chemical Engineering Science 55 (2000) 3481}3493
where n is chosen to make the controller realizable, :
G
are
determined to cancel the unstable poles of G
"
and m is
the number of unstable poles. Eq. (8) functions as a "lter
with adjustable time constant z.
1!GIq
QBSNG
2
BSNK
"0 (10)
where dup
G
O0.
Thus, the IMC controller is
q"
P
+
(s)
(zs#1)L
;
(K
G
:
G
sG#1)
(zs#1)K
. (11)
Then, we get
C
R
"Gq"
P
(s)
(zs#1)L
;
(K
G
:
G
sG#1)
(zs#1)K
, (12)
C
d
"(1!Gq)G
"
"
1!
P
(s)
(zs#1)L
(K
G
:
G
sG#1)
(zs#1)K
G
"
.
(13)
The lead term (K
G
:
G
sG#1) in Eq. (12) causes an
overshoot in the closed-loop response to a setpoint
change. This problemcan be resolved if we add a setpoint
"lter
f
0
"
1
K
G
:
G
sG#1
. (14)
So far, we have designed an IMC controller to obtain
stable closed-loop responses. Using the IMC controller,
we can get the closed-loop responses by Eqs. (12) and
(13). Next, the classical feedback controller we need is
obtained as
G
!
"
q
1!Gq
(15)
Thus, the controller G
!
is
G
!
"
P
+
(s)
(zs#1)L
;
(K
G
:
G
sG#1)
(zs#1)K
1!
P
(s)
(zs#1)L
(K
G
:
G
sG#1)
(zs#1)K
. (16)
The order n is chosen so that the controller G
!
is realiz-
able. Then, we convert the controller in Eq. (16) to the
standard PID form. Recently, Lee et al. (1998) developed
this conversion procedure for general process models as
follows. The controller G
!
can be approximated to a PID
controller by "rst noting that it can be expressed as
G
!
,f (s)/s. (17)
Expanding G
!
(s) in a Maclaurin series in s gives
G
!
(s)"
1
s
f (0)#f ' (0)s#
f " (0)
2!
s`#2
. (18)
The "rst three terms of the above expansion can be
interpreted as the standard PID controller given by
G
!
(s)"K
!
1#
1
t
'
s
#t
"
s
, (19)
where
K
!
"f ' (0) (20a)
t
'
"f ' (0)/f (0), (20b)
t
"
"f " (0)/2f ' (0), (20c)
t
'
*0; t
"
*0. (20d)
In this way, using Eqs. (20a)}(20d) we can convert the
ideal controller given by Eq. (16) to a standard PID
controller. When the process model has one or more
dominant lead time constants, the derivative and/or inte-
gral time constants computed from Eqs. (20b) and (20c)
can be negative independent of the choice of "lter time
constant. In this case, a PID controller cascaded with
a "rst or second-order lag of the form 1/([s#1) or
1/([
`
s`#[
s!1)(t
`
s!1)
(33)
and from Eqs. (9a) and (9b) f
Q
"1/(zs#1)`, f
B
"
(:
`
s`#:
s!1)(t
`
s!1)(:
`
s`#:
s#1)/K(zs#1)`. Then,
we get
G
!
"
(t
s!1)(t
`
s!1)(:
`
s`#:
s#1)
K[(zs#1)"!eFQ(:
`
s`#:
s#1)]
. (34)
Expanding G
!
(s) in a Maclaurin series in s gives
K
A
"
t
'
K(4z#0!:
)
, (35a)
t
'
"!t
!t
`
#:
!
6z`!:
`
#:
0!0`/2
4z#0!:
, (35b)
Ces=3201=KCT=VVC=BG
3484 Y. Lee et al. / Chemical Engineering Science 55 (2000) 3481}3493
t
"
"
:
`
#t
t
`
!(t
#t
`
):
!(4z`#0:
`
#0`/6!:
0`/2)/(4z#0!:
)
t
'
!
6z`!:
`
#:
0!0`/2
4z#0!:
, (35c)
where :
`
, :
s#1)e'FQ'
(zs#1)"
QO O`
"0. (35d)
With this controller, the transfer function of the setpoint
change is given by
C
R
"
(:
`
s`#:
s#1)eFQ
(zs#1)"
. (36)
Therefore, if only a PID controller is used, the closed-
loop response is at best (36), and the lead term
(:
`
s`#:
"t
'
(1!
1
KK
!
)!
0
2
'0 (38d)
a
"
"1 (38e)
and a necessary and su$cient condition for stability is as
follows:
a
"
'0, a
`
'0, b
"a
`
!
a
"
a
a
`
'0,
c
"a
!
a
`
a
"
b
'0. (38f)
There exist ranges of model parameters of unstable pro-
cesses that can be controlled using a standard PID con-
troller. An extensive simulation study indicates that there
exist sets of PID parameters that satisfy the stability
criteria, Eqs. (38a)}(38d) and (38f) when the following is
satis"ed:
0)
0
t
(2. (39)
None of the sets of PID parameters satisfy the stability
criteria when 0/t*2.
When a time delay 0 is zero, a necessary and su$cient
condition for stability is as follows:
KK
!
'1; t
'
*0; t
"
*0. (40)
3. Examples
Six examples are used to show the advantage of the
proposed method.
All simulations were performed using MATLAB 4.0
(control system design and simulation software) (Shahian
& Hassul, 1993).
Example 1. First order delayed unstable process (FOD-
UP). Consider an unstable process with process and
disturbance models as follows (Huang & Chen, 1997)
G(s)"G
"
(s)"
e""Q
s!1
. (41)
The closed-loop time constant was chosen as z"0.5.
The PID tuning values used in the simulation are
presented in Table 2. The tuning values of existing
methods in the Table 2 of this paper were obtained from
the Table 2 of the work by Huang and Chen (1997).
Figs. 2a and b show the closed-loop responses of the
unstable process given by Eq. (41) to a unit step change in
Ces=3201=KCT=VVC=BG
Y. Lee et al. / Chemical Engineering Science 55 (2000) 3481}3493 3485
T
a
b
l
e
1
P
I
D
t
u
n
i
n
g
r
u
l
e
s
f
o
r
F
O
D
U
P
a
n
d
S
O
D
U
P
p
r
o
c
e
s
s
e
s
P
r
o
c
e
s
s
K
A
t
'
t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i
n
F
O
D
U
P
a
n
d
S
O
D
U
P
(
a
)
,
:
`
,
:
v
a
l
u
e
s
a
r
e
c
a
l
c
u
l
a
t
e
d
b
y
s
o
l
v
i
n
g
1
!
(
:
`
s
`
#
:
s
#
1
)
e
'
F
Q
'
/
(
z
s
#
1
)
"
O
`
"
0
,
d
e
s
i
r
e
d
c
l
o
s
e
d
-
l
o
o
p
r
e
s
p
o
n
s
e
:
C
/
R
"
e
F
Q
/
(
z
s
#
1
)
"
i
n
S
O
D
U
P
(
b
)
.
Table 2
Tuning values by the proposed and existing methods for Example 1
Method K
!
t
'
t
"
Setpoint "lter
De Paor and O Malley 1.459 2.667 0.250
Rotstein and Lewin 2.250 5.760 0.2
Huang and Chen 2.636 5.673 0.118
Proposed 2.634 2.52 0.154
Proposed
(with setpoint "lter)
2.634 2.52 0.154 1/(2.36s#1)
setpoint and load. Figs. 2c and d show controller outputs
for the responses in Figs. 2a and b. The process responses
to a unit step change in the load by the proposed method
with/without the setpoint "lter are the same. The results
shown in the "gures illustrate the superior performance
of the proposed method. Figs. 3a}c show closed-loop
responses when there exist plant-model mismatches. The
model values of parameters, K, t, 0 are di!erent from the
true values by 20%. In model-plant mismatch, robust
responses are shown in the "gures.
Example 2. Second order delayed unstable process
(SODUP). Consider an unstable process as (Huang
& Chen, 1997)
G(s)"G
"
(s)"
e"`Q
(5s!1)(2s#1)(0.5s#1)
. (42)
Huang and Chen (1997) approximated the model with
the "rst-order lag following SODUP model:
G(s)"
e""`"Q
(5s!1)(2.07s#1)
. (43)
The "lter time constant z was chosen as 1.2 to give the
desired closed-loop response. In Table 3, the PID tuning
values used in simulation are presented. The tuning
values of existing method in the Table 3 of this paper
were obtained from the Example 3 of work by Huang
and Chen (1997). Figs. 4a and b show the closed-loop
responses of the unstable process given by Eq. (43) to
a unit step change in setpoint and load. Figs. 5a}c show
closed-loop responses when there exist plant-model mis-
matches. The values of model parameters, K, t, 0 are
di!erent from the true values by 20%. The "gures show
the controllers tuned by the proposed tuning give robust
responses when there exist model-plant mismatches.
Example 3. Consider an unstable process with two un-
stable poles as follows:
G(s)"G
"
(s)"
2e"`Q
(3s!1)(s!1)
. (44)
The "lter time constant z was chosen as z"0.45.
Ces=3201=KCT=VVC=BG
3486 Y. Lee et al. / Chemical Engineering Science 55 (2000) 3481}3493
Fig. 2. Closed-loop responses by the proposed method with z"0.5 and existing methods when G(s)"G
"
(s)"e""Q/(s!1). (a) Process response to
a setpoint change, (b) process response to a load change, (c) response of controller output to a setpoint change, (d) response of controller output to
a load change.
The tuning parameters are K
!
"2.3153, t
'
"1.7843,
t
"
"1.8859.
Setpoint "lter is f
0
"1/(3.252s`#1.7147s#1). Figs.
6a and b show the closed-loop responses of the unstable
process given by Eq. (44) to a unit step change in setpoint
and load. Figs. 6c and d show controller outputs for the
responses in Figs. 6a and b.
Example 4. Consider an unstable process with a strong
lead time constant and two unstable poles as follows:
G(s)"G
"
(s)"
2(5s#1)e"`Q
(3s!1)(s!1)
. (45)
Using Eq. (16), an ideal controller G
!
is obtained to
give a desired closed-loop responses. The "lter time con-
stant z was chosen as z"0.45. But, the strong lead term
(5s#1) in Eq. (45) causes tuning parameters, t
'
, t
"
, to be
negative values. In such cases, a PID controller cascaded
with a "rst- or second-order lag of the form 1/([s#1) or
1/([
`
s`#[
1#
1
1.7733s
#1.9172s
1
4.989s#1
. (49)
The set point "lter is
f
0
"1/(3.252s`#1.7147s#1).
Figs. 7a and b show the closed-loop responses of the
unstable process given by Eq. (45) to a unit step change in
setpoint and load.
Ces=3201=KCT=VVC=BG
3488 Y. Lee et al. / Chemical Engineering Science 55 (2000) 3481}3493
Fig. 4. Closed-loop responses by the proposed method with z"1.2 and existing methods when G(s)"G
"
(s)"e"`Q/(5s!1)(2s#1)(0.5s#1). (a)
Process response to a setpoint change, (b) process response to a load change.
Table 3
Tuning values by the proposed and existing methods for Example 2
Method K
!
t
'
t
"
Setpoint "lter
Huang and Chen (1997) 6.186 7.170 1.472
Huang and Lin (1995) 3.954 4.958 2.074
Poulin and Pomerleau
(1996)
3.050 7.557 2.070
Proposed 7.144 6.684 1.655
Proposed
(with setpoint "lter)
7.144 6.684 1.655 1/(4.276s#1)
Example 5. Consider an integrating and unstable pro-
cess as follows:
G(s)"G
"
(s)"
e"`Q
s(s!1)
. (50)
To use the proposed method, the model is changed as:
G(s)"G
"
(s)"
e"`Q
(s!0.01)(s!1)
. (51)
The closed-loop time constant was chosen as z"0.8.
The tuning parameters are K
!
"0.8412, t
'
"3.3066,
t
"
"2.8113. The setpoint "lter is f
0
"1/(8.4593s`#
3.3607s#1). Figs. 8a and b show the closed-loop re-
sponses of the unstable process given by Eq. (50) to a unit
step change in setpoint and load.
Example 6. Let us consider a real industrial batch chem-
ical reactor. For a reactor with exothermic reactions, the
process is often modeled with unstable process models.
An experimental study on a batch polymerization reactor
was done by Lee, Lee & Park (1999) The process model is
a FODUP model and the controllers in the application
were tuned by the proposed method. The tuning based
on the proposed method eliminated considerable
overshoots caused by original empirical settings in the
application.
4. Conclusions
A new method for PID controller tuning for unstable
processes was proposed. The tuning rule is based on the
process model and the desired closed-loop response. The
ideal controller is found that can give the desired closed-
loop response. The PID approximation of the ideal
controller is obtained by taking "rst three terms from
Maclaurin series expansion of the ideal controller.
Closed-loop responses of unstable processes tuned by the
proposed method are compared with those of existing.
The results show that the proposed tuning method is
superior to the existing methods. Simulation results show
that the proposed method is robust to model-plant mis-
match.
Ces=3201=KCT=VVC=BG
Y. Lee et al. / Chemical Engineering Science 55 (2000) 3481}3493 3489
Fig. 5. Closed-loop responses to a setpoint change when there exist model-plant mismatches for example 2. (a) Parameter mismatch in K, (b)
parameter mismatch in t, (c) parameter mismatch in 0.
Notation
C controlled variable
dup
I
number of unstable poles of disturbance model
f
B
portion of a controller "lter to cancel the
unstable poles and stable poles near zero
f
Q
portion of a controller "lter to make the con-
troller proper
f
0
setpoint "lter
G process
GI process model
K process gain
K
A
gain, proportional tuning parameter
M manipulated variable
P
+
(s) portion of a process model inverted by the
controller. It must be minimum phase
P