org
Published in IET Control Theory and Applications
Received on 18th February 2010
Revised on 11th June 2010
doi: 10.1049/iet-cta.2010.0082
ISSN 1751-8644
Abstract: A new automatic tuning method for cascade control systems is presented. The technique consists in estimating the
parameters of the primary and secondary process simultaneously by evaluating a closed-loop set-point step response. Then,
based on the estimated model, the two proportional-integral-derivative controllers are tuned by applying an internal model
control strategy. A performance assessment strategy can also be implemented in this context. Both self-regulating and nonself-regulating processes are considered. Simulation results show the effectiveness of the methodology.
Introduction
www.ietdl.org
2
Cascade control
m eu2 s
P2 (s) = 2
t2 s + 1
G2 (s) =
and
3
P1 (s) =
u1 s
m1 e
s(t1 s + 1)
(3)
Tij s + 1
Tij s
Tdj s + 1
,
Tf j s + 1
(4)
Kpj C j (s)
,
sTij
j = 1, 2
(5)
C j (s) =
j = 1, 2
nG2 (s)
(9)
dG2 (s)
Parameters estimation
Self-regulating processes
where, obviously
m2 Kp2 C 2 (s)esu2
sTi2 (t2 s + 1) + m2 Kp2 C 2 (s)esu2
j = 1, 2
(8)
C2 (s)P2 (s)
1 + C2 (s)P2 (s)
=:
(2)
or
C2 (s)
U (s)
1 + C2 (s)P2 (s) 1
where
(1)
m1 eu1 s
t1 s + 1
(7)
U2 (s) =
=
P1 (s) =
C1 (s)
R(s)
1 + C1 (s)G2 (s)P1 (s)
(6)
Thus, by integrating e1 (t) and by applying the nal value
theorem, we have
1
lim
t+1 0
e1 (t) dt = lim s
s0
As E1 (s)
T A
= i1 s
s s
m1 Kp1
(11)
www.ietdl.org
it is possible to write
computed as
1
T A
1i1 s
m1 =
Kp1 0 e1 (t) dt
(12)
lim
t+1
v(t) dt
0
= lim s
Similarly, the gain u2 of the secondary process P2 (s) can be
obtained by integrating the variable e2 (t) = u1 (t) y2 (t). In
fact
U1 (s)
E2 (s) =
1 + C2 (s)P2 (s)
sTi2 (t2 s + 1)
=
U1 (s)
sTi2 (t2 s + 1) + m2 Kp2 C 2 (s)eu2 s
(13)
(14)
t+1 0
e2 (t) dt = lim s
s0
As /m1 E2 (s)
Ti2 As
=
s
m1 m2 Kp2
s
(15)
s0
As (t1 s + 1) G2 (s)eu1 s
s
s
= As lim
s0
(16)
1
v(t) dt
0
Ti2
m2 Kp2
(21)
so that we have
(17)
m2 C2 (s)
C2 (s)P2 (s)
U (s)
1 + C2 (s)P2 (s) 1 + C2 (s)P2 (s) 1
W (s) =
so that we have
C2 (s)
C1 (s)
(m2 P2 (s))
R(s)
1 + C2 (s)P2 (s)
1 + C1 (s)P1 (s)
(23)
1
C 2 (s)e(u1 +u2 )s
lim
1
As
(20)
t+1 0
w(t) dt = lim s
s0
As 1
(t s + 1) eu2 s 1
m2 2
s m2
s(t2 s + 1) m1
As
(t s + 1) eu2 s As
= (u2 + t2 )
lim 2
m1 s0 s(t2 s + 1)
m1
(24)
www.ietdl.org
dead time can be computed as
T02
m
= 1
As
1
w(t) dt
(25)
tj = T0j uj ,
3.2
j = 1, 2
(26)
lags and of the apparent dead time. Thus, we can consider the
model reduction technique known as the half rule, which
states that the largest neglected (denominator) time constant
is distributed evenly to the effective dead time and the
smallest retained time constant [22]. This means that the
initial (high-order) model and the reduced FOPDT model
have the same value of the sum of the lags and of the
apparent dead time. In other words, in case the process has
a high-order dynamics, the proposed method estimates the
parameters of the reduced FOPDT model [21].
PID tuning
Non-self-regulating processes
v(t) := m1
4.1
Self-regulating processes
(27)
m1 = As
T01
Ti1
Kp1
1
1
=
As
m2 =
1 t
e (n) dn dt
0 1
Kp2 =
u2 /2
,
m2 (l2 + u2 )
Tf 2 =
l2 u2
2(l2 + u2 )
Ti2 =
u2
,
2
Td2 = t2 ,
(32)
(28)
where
T
v(t) dt i2
m2 Kp2
(29)
l2 = max{0.25u2 , 0.2t2 }
T A
1 i2t s
m1 Kp2 0 0 e2 (n) dn dt
(30)
(33)
and
m
T02 = 1
As
1 t
w(n) dn dt
0
G2 (s) =
(31)
1
eu2 s
l2 s + 1
(34)
m1
e(u2 +u1 )s
(l2 s + 1)(t1 s + 1)
(35)
T01 u1
,
m1 (l1 + u)
Tf 1 =
Td1
10
Ti1 = T01 u1 ,
Td1 = l2 ,
(36)
IET Control Theory Appl., 2011, Vol. 5, Iss. 2, pp. 263 270
doi: 10.1049/iet-cta.2010.0082
www.ietdl.org
where
u = u1 + u2 ,
4.2
l1 = u
(37)
Non-self-regulating processes
1
,
2m1 l1
Td1 = T01 u1 + l2
(38)
where
l1 = u1 + u2
(39)
Performance assessment
6.1
The devised tuning strategy, being analytical, can be
exploited effectively also in a performance assessment
context [23]. Indeed, the assessment of the performance of
a control loop is generally performed by rst calculating a
performance index based on the available data and then by
evaluating the current control performance against a
selected benchmark, which represents the desired
performance. Usually, minimising the integrated absolute
error
1
IAE =
1
|e(t)| dt =
|r(t) y(t)| dt
(40)
e1 (t) dt =
0
As Ti1
= As (l1 + u) = 2As u
m1 Kp1
Example 1
1
,
(1 + 10s)(1 + 4s)(1 + s)2
P2 (s) =
1
2s + 1
(43)
Simulation results
Ti1 = 20,
Ti2 = 2,
Td1 = 0,
Td2 = 0,
Tf 1 = 0
Tf 2 = 0
(44)
(note that they are two PI controllers). The set-point unit step
response obtained with this cascade controller is shown in
Fig. 2, where a very slow step response can be observed.
The resulting integrated absolute error is IAEsp = 39.98. By
applying the identication strategy explained in Section 3,
(41)
2As u
|e1 (t)| dt
(42)
www.ietdl.org
we obtain u1 = 4.84, T01 = 16.01, u2 = 0.10, T02 = 2.00.
The performance index is J = 0.25, which suggests a new
tuning of the parameters. As a consequence of the
estimation procedure, we have l2 = 0.38 and l1 = 4.94
and the resulting PID parameters are [see (32) and (36)]
Kp1 = 1.13,
Kp2 = 0.104,
Ti1 = 11.17,
Ti2 = 0.050,
Td1 = 0.380,
Tf 1 = 0.038
Td2 = 1.90,
Tf 2 = 0.040
(45)
Example 2
es
,
(s + 1)2
P2 (s) =
e0.1s
1 + 0.1s
(46)
Ti1 = 1.44,
Td1 = 0,
Tf 1 = 0
Kp2 = 0.53,
Ti2 = 0.17,
Td2 = 0,
Tf 2 = 0
(47)
Ti1 = 1.552,
Td1 = 0.027,
Tf 1 = 0.003
Kp2 = 0.400,
Ti2 = 0.055,
Td2 = 0.089,
Tf 2 = 0.011
(48)
Solid line: PID controllers tuned with methodology proposed in this paper
Dashed line: PID controllers tuned with the methodology proposed in [7]
Dotted line: PID controllers tuned with the methodology proposed in [11]
IET Control Theory Appl., 2011, Vol. 5, Iss. 2, pp. 263 270
doi: 10.1049/iet-cta.2010.0082
www.ietdl.org
The load disturbance rejection performance can be
evaluated in Fig. 6, where the method proposed in this
paper is compared again with the those described in [11, 7].
We have IAEd = 0.51 for the method proposed in [11],
IAEd = 0.45 for the method proposed in [7] and
IAEd = 0.16 for the method proposed in this paper.
Also this example conrms the effectiveness of the
proposed automatic tuning strategy.
6.3
Example 3
e3s
,
s(1 + 10s)(1 + 2s)
P2 (s) =
e0.5s
1+s
(49)
Fig. 7 Set-point step response of example 3
Ti1 = 50,
Ti2 = 2,
Td1 = 2,
Td2 = 0,
Tf 1 = 0.02
Tf 2 = 0
Solid line: PID controllers tuned with methodology proposed in this paper
Dashed line: PID controllers with the initial tuning
(50)
m1 = 1, T01 = 15.37,
m2 = 1, T02 = 1.60,
u1 = 5.81
u2 = 0.50
(51)
Td1 = 9.79,
Tf 1 = 0.098
Kp2 = 0.467,
Ti2 = 0.252,
Td2 = 0.22,
Tf 2 = 0.504
(52)
6.4
Example 4
2e2s
,
s
P2 (s) =
4es
1+s
(53)
Ti1 = 50,
Ti2 = 1,
Td1 = 0,
Td2 = 0,
Tf 1 = 0
Tf 2 = 0
(54)
m1 = 2.00,
m2 = 4.03,
T01 = 1.99
T02 = 1.98
(55)
www.ietdl.org
simultaneously tune the two PID controllers after having
estimated the process parameters by evaluating a set-point
step response. A performance assessment index has also
been devised to evaluate if the PID controllers need to be
retuned. Simulation results have conrmed the effectiveness
of the method and that it is capable to provide a high load
disturbance rejection performance.
Acknowledgments
9
Fig. 9 Set-point step response of example 4
Solid line: PID controllers tuned with methodology proposed in this paper
Dashed line: PID controllers with the initial tuning
Td1 = 0.0,
Td2 = 0.51,
Kp2 = 0.1
Tf 2 = 0.16
(56)
which allow are to obtain IAEsp = 8.89 after the setpoint step
change, corresponding to a performance index J = 0.82, and
IAEd = 36.28 after the load disturbance occurrence. Results
are shown in Figs. 9 and 10. The improvement is evident. It
is worth noting that the results achieved are very similar to
those obtained by using the method proposed in [19], which,
in any case, employs a much more complex control scheme.
Conclusions
270
& The Institution of Engineering and Technology 2011
References
IET Control Theory Appl., 2011, Vol. 5, Iss. 2, pp. 263 270
doi: 10.1049/iet-cta.2010.0082