Академический Документы
Профессиональный Документы
Культура Документы
161
Brief Paper
I. INTRODUCTION
Control of time-delay systems is an area of current research interest [1-9] due to the theoretical challenge, as
well as the wide range of practical applications for such
controllers. Delays are encountered in most real-world engineering systems, such as the turbojet engine, microwave
oscillator, transmission lines, and chemical industrial processes. Depending on the severity of the time delay, this
may be a main source of oscillation and possibly instability
in the system. An added complexity can be multiple time
delays in a coupled multi-input multi-output (MIMO) system.
Recently, a number of methods for designing Proportional-Integral (PI) and Proportional-Integral-Derivative
(PID) controllers for MIMO systems have been proposed
Manuscript received March 31, 2005; revised December 6,
2006; accepted February 22, 2006.
J.M. Madsen and L.-S. Shieh are with the Department of
Electrical and Computer Engineering, University of Houston,
Houston, Texas, U.S.A. (e-mail: lshieh@uh.edu).
S.-M. Guo is with the Department of Computer Science and
Information Engineering, National Cheng Kung University,
Tainan, Taiwan.
This work was supported by the U.S. Army Research Office
(DAAD 19-02-1-0321), NASA-JSC (NNJ04HF32G), and the
National Science Council of China (NSC 94-2213-E-006-068).
[8-13]. These methods address a number of the complexities such as loop interaction, however the selection of PID
controller design parameters is still commonly accomplished through empirical rules instead of analytical development. Also, few of the methods currently under investigation address the discretization of MIMO analog PID
controllers.
Continuing developments in computer technology including high-speed microprocessors and interface hardware
have made digital controllers the norm for controlling robots, motors, spacecraft, and many other systems. These
digital components are preferred over their analog counterparts because of their reduced cost, and increased flexibility, reliability and compactness, especially for the size
and complexity of a MIMO controller. There are currently
three approaches for designing a digital controller to be
applied to an analog plant. The first method is called the
direct sampled-data approach [14,15]. This process directly
develops a digital controller for the given analog plant.
Methods for this design process are not well-established
and are still being developed. Another possibility for digital
control design is called digital redesign [16-18]. In this
method an analog controller is developed to meet the stability and performance requirements for the system. Then
the analog controller is transformed into a digital controller
through any number of digital redesign schemes.
In this paper, for control of analog systems with multiple time delays, we apply the direct digital design method
162
Y (s) = T ( s) U ( s) .
(1)
b11e L11s
s a11
b e L21s
21
T ( s ) = s a21
bp1e Lp1s
s a p1
b12 e L12 s
s a12
b22 e L22 s
s a22
#
"
b1m e L1m s
s a1m
b e L2 m s
" 2m
s a2 m ,
%
#
L s
bpm e pm
"
s a pm
"
(2)
Lij s
u j (s) ,
(3)
J.M. Madsen et al.: State-Space Digital PID Controller Design for Multivariable Analog Systems
yi ( s ) =
xij ( s) .
(4)
j =1
For an example system with two inputs and two outputs, we introduce the state-space generic form [1],
x11 (t ) a11
x12 (t ) = 0
x (t ) 0
21
x22 (t ) 0
a12
a21
0 x11 (t )
0 x12 (t )
0 x21 (t )
a22 x22 (t )
b11u1 (t L11 )
b12 u2 (t L12 )
+
,
b u (t L )
21 1
21
b22 u2 (t L22 )
a12
a21
b11e L11s
0
+
L21s
b21e
0
det P = det [ B
AB ]
b11 0
0 b
12
= det
b21 0
0 b
22
a11b11
0
a21b21
0
0
a12 b12
0
a22 b22
(5)
(11)
y (t ) = C x(t ) ,
where x(t) Rn, u(t Td) Rm, y(t) Rp, and A, B, and C
are constant matrices of appropriate dimensions.
The zero-order hold sampling of the system (11)
yields a discrete-time model of this system with a sampling
period, T:
0 x11 (t )
0 x12 (t )
0 x21 (t )
a22 x22 (t )
L12 s
b12 e
u1 (t )
.
0 u2 (t )
b22 e L22 s
k +
x(k + ) = e A x(k ) + k
(6)
(7)
x (t ) = A x(t ) + B ( L) u (t ) ,
(8)
y (t ) = C x(t )
e A( k + ) B u ( ) d ,
(12)
x11 (t )
y
(
t
)
1
1
0
0
1
x12 (t )
=
.
y2 (t ) 0 0 1 1 x21 (t )
x22 (t )
(10)
x (t ) = A x(t ) + B u (t d )
x11 (t ) a11
x12 (t ) = 0
x (t ) 0
21
x22 (t ) 0
163
x(kT + T ) = e AT x(kT ) + kT
e A( kT +T ) Bu (kT dT ) d
kT +T
P = ( B, AB, A B, " , A
m p 1
B) .
(9)
+ kT + e A( kT +T ) Bu (kT (d 1)T ) d
= Gx(kT ) + H11u (kT dT ) + H10 u (kT (d 1)T ) ,
(13)
where G = e , H11 = [G G ] A B, H10 = [G I] A1B,
and G r = eA. It is noted that the matrix-valued function,
AT
(1)
(1r)
T
i =1 i !
( XT )
i 1
164
x(kT + T ) G
u (kT ) = 0
x(kT )
y (kT ) = [C 0]
.
u (kT T )
(14)
H1e
y1 (kT )
y2 (kT ) = C
# 1e
yq (kT )
For longer time delays where d > 1. the state-space representation is given by
x (kT + T )
u (kT (d 1)T )
u (kT (d 2)T )
=
#
u (kT T )
u (kT )
G
0
0
#
0
0
H11
0
0
#
0
0
H10
I
0
#
0
0
"
"
"
%
"
"
0
0
0
#
0
0
0
0
0
#
I
0
x(kT )
u (kT dT )
u (kT (d 1)T )
u (kT 2T )
u (kT T )
0
0
0
+ u (kT ) ,
#
0
I
x(kT )
u (kT dT )
u (kT (d 1)T )
y (kT ) = [C 0 0 " 0 0]
. (15)
#
u (kT 2T )
u (kT T )
x2e (kT + T ) =
xqe (kT + T )
G2e
Gqe
x1e (kT )
x2e (kT )
#
xqe (kT )
H 2e
H qe
u1 (kT )
u2 (kT ) ,
#
uq (kT )
x1e (kT )
x2 e (kT )
.
" Cqe
#
xqe (kT )
C2e
(16)
(17)
m1
p1
(18)
Er
uc (kT)
Tc(z)
PID Controller
up(kT)
Tp(z)
Plant
yp(kT)
J.M. Madsen et al.: State-Space Digital PID Controller Design for Multivariable Analog Systems
G p + H p K 0 Dc C p
G a =
H c C p H c D p K 0 Dc C p
(20)
where
0
,
Gc
0
Ea = , Ca = C p
Hc
Hp
Ha =
,
H c Dp
0 .
+ K 0 Dc C p x p (kT ) K 0 Dc Er r (kT )
Dp
Dc
Er
uc(kT)
(26)
(21)
r(kT)
0
,
Gc
H p K0
H p K 0 Dc
H a =
, E a =
.
H c D p K 0
H c + H c D p K 0 Dc
x (kT )
xa (kT ) = p
,
xc (kT )
Gp
Ga =
H cC p
(24)
165
xc(kT+T)=Gcxc(kT)+Hcuc(kT)
x c (kT)
K2
(28)
d(kT)
Plant
- up(kT)
- -
PID Controller
K1
Fig. 2. Discrete-time closed-loop system.
x p(kT)
y p(kT)
166
where K1 = K 0 (K1 Dc C p ), K 2 = K 0 K 2 , K a = [ K1 K 2 ] ,
and E r = K 0 Dc . Finally, the augmented state equations
for the designed closed-loop system in (25) can be written
in the form
(29)
= G a H a K a
G p + H p K 0 ( Dc C p K1 )
H p K0 K2
=
.
(
)
H
C
D
K
D
C
D
K
K
G
p 0 c p
p 0 1
c + H c Dp K0 K2
c p
(30)
u p (kT ) = K a xa (kT ) ,
(31)
K a = R + H aT PH a
H aT PG a ,
(33)
P = G aT PG a + Q H aT PG a R + H aT PH a H aT PG a .
(34)
In order to ensure that at the steady-state the output
yp(kT) tracks the input r(kT) in (29), the forward gain Er for
the control law in (28) can be calculated. At the steadystate, xa(kT+T) = xa(kT), and the first equation in (29) can
be solved as
Er = D p E r + (Ca D p K a )( I ( n1 + n2 ) G a + H a K a ) 1 E a .
(36)
Dc and Dp are two additional gain matrices that may be
tuned to give the desired closed-loop transient response and
(38)
y p ( z ) = D p Dc I p1 D p Dc r ( z )
We can use the LQR method to find an optimal control law for the system in (25) as
(37)
y ( z ) = [ D + C ( zI G ) 1 H ] u ( z ) .
where
GCL
(39)
+ I p1 D p Dc d ( z ) ,
y p ( z) =
d p dc
1 d p dc
r ( z) +
1
d ( z) .
1 d p dc
(40)
d c >> 1 ,
d p >> 1 ,
(41)
H dualT Pdual Gdual Rdual + H dualT Pdual H dual H dualT Pdual Gdual ,
(42)
where the weighting matrices W and Rdual can be tuned to
achieve the desired closed-loop transient tracking and disturbance rejection. The observer gain is calculated as
J.M. Madsen et al.: State-Space Digital PID Controller Design for Multivariable Analog Systems
0.766 e s
0
+
0.606 e 7 s
(44)
18.9 e3s
21 s + 1 u1 ( s ) d1 ( s )
+
,
19.4 e3s u2 ( s ) d 2 ( s )
14.4 s + 1
(46)
where the outputs, y1(s) and y2(s), are the overhead and
bottom compositions of methanol, respectively, and the
inputs, u1(s) and u2(s), are the reflux flow rate and steam
flow rate to the boiler. Output disturbances d1(s) and d2(s)
are also included. The transfer function from u1(s) to y2(s)
has been adjusted to set up unstable dynamics for the
transfer function with the largest delay.
To track a specific ramp input and reject constant disturbances, Fliess et al. [1] developed an original generic
model as in (8) and designed a generalized PI controller as
y + (s)
y + ( s)
,
K II
s
s2
x11 (t )
y1 (t ) 1 1 0 0 x12 (t )
=
.
y2 (t ) 0 0 1 1 x21 (t )
x22 (t )
(45)
u (s) = K p x + ( s) K I
(48)
12.8 e s
y1 ( s) 16.7 s + 1
=
7 s
y2 ( s) 6.6 e
10.9 s 1
0.900 e 3s u1 (t )
u2 (t ) ,
0
1.347 e 3s
167
(47)
where Kp, KI and KII are control gain matrices, and x+(s)
and y+(s) are predicted state and output, respectively. Implementing this analog controller, with its predicted states
and outputs, may be a complex process.
Transforming the system in (46) with zero output disturbance into its state-space representation as described in
Section 2 gives the following:
0
0
0 x11 (t )
x11 (t ) 0.060
x (t ) 0
0.048
0
0 x12 (t )
12 =
0
0.092
0 x21 (t )
x21 (t ) 0
x (t ) 0
0
0
0.069 x22 (t )
22
(49)
1 1
= = 0.5 .
T 2
x11 (kT + T ) G1
=
x12 (kT + T ) 0
+
u1 (kT ) ,
0 x12 (kT ) 1
(51)
or
(52)
x21 (kT + T ) G2
x22 (kT + T ) = 0
x (kT + T ) 0
23
H 211
0
0
1 x22 (kT )
0 x23 (kT )
0
+ 0 u2 (kT ) ,
1
(54)
or
(55)
168
H1e
0
+
H 3e
0
(56)
H 311
0
0
0
0
H 310
1
0
0
0
0
0
1
0
0
0 x31 (kT )
0 x32 (kT )
0 x33 (kT )
1 x34 (kT )
0 x35 (kT )
0
0
+ 0 u1 (kT ) .
0
1
1 0 1 0 0 0 0 0 0 0 0 0 0
Cp =
,
0 0 0 0 0 1 0 0 0 0 1 0 0
(64)
(57)
and Dp is to be determined.
For a controller for our two-input two-output system,
let us assume a MIMO filtered PID controller transfer
function matrix described by
Gc ( z ) = G0 ( z ) + Dc ,
(58)
(59)
H 411
0
0
1 x42 (kT )
0 x43 (kT )
0
+ 0 u2 (kT ) ,
1
1
G0 ( z ) = diag
.
( z 1) ( z )
(67)
with
(61)
0
0
G3e
0
or
0
G2e
0
0
(66)
(60)
(65)
(63)
where
x41 (kT + T ) G4
x42 (kT + T ) = 0
x (kT + T ) 0
43
(62)
Written in compact form, we now have plant state equations of the form
x31 (kT + T ) G3
x (kT + T ) 0
32
x33 (kT + T ) = 0
x (kT + T ) 0
34
x35 (kT + T ) 0
0
H 2 e u1 (kT )
.
0 u2 (kT )
H 4 e
0 x1e (kT )
0 x2 e (kT )
0 x3e (kT )
G4e x4 e (kT )
1
0
0.5 1.5
Gc =
0
0
0
0
1
0
0
0
0
,
0
1
0.5 1.5
1 0 0
,
0
0 1 1
Cc =
1
Hc =
0
0
0
,
0
0.153
.
0.054
0.104
0.157
Dc =
(68)
Now using a modified plant input as in (23),
(69)
J.M. Madsen et al.: State-Space Digital PID Controller Design for Multivariable Analog Systems
169
(70)
K a = R + H aT PH a
H aT P G a = [ K1 K 2 ] ,
(71)
where
K1 =
0.539 0.438 0.606 0.573 1.181 3.310 1.920 3.319 2.683 2.126 0.398 0.568 1.186
,
0.410 0.262 0.440 0.333 0.632 0.267 0.253 0.515 0.552 0.543 0.365 0.272 0.424
(72)
and
(73)
Fig. 3. Closed-loop response.
(75)
with poles at
0.134 0.495i 0.044 0.201i 0.000 0.000 0.000
0.442
.
0.400
0.442 0.760 0.907
0.530 0.361i 0.631 0.289i
(76)
The corresponding digital PID controller has the form of
Gc ( z ) = Dc + K 2 ( zI 4 Gc ) H c
1
0.097 z 0.005( z 1)
0.104 z
0.049
0.065 + z 1 z 0.5
1
=
.
z
z
z
z
0.118
0.004(
1)
0.105
0.006(
1)
0.068 +
+
0.215 +
+
z 1
z 0.5
z 1
z 0.5
(77)
The gain, Er can be chosen to tune the final value of
the system response. For this example, using the final value
theorem as in (36) gives Er = I2.
Figure 3 shows a numerical simulation of the closedloop system using the designed digital controller with the
original time-delayed plant in (46). A ramp transfer from y1
= 0 at t = 10 to y1 = 2 at t = 50 is desired while keeping y2
= 0. A load perturbation of amplitude 0.5 occurs on y1 at t =
62, and a second load perturbation of the same amplitude
occurs on y2 at t = 77. The above-mentioned performance
and disturbance conditions were specified in [1].
170
22.89 e 0.2 s
y1 ( s) 4.572 s + 1
=
0.2 s
y2 ( s) 4.689 e
2.174 s + 1
11.64 e0.4 s
1.807 s + 1 u1 ( s)
5.80 e 0.4 s u2 ( s )
1.801 s + 1
4.243 e 0.4 s
3.445 s + 1
+
d (s) .
0.601 e 0.4 s
1.982 s + 1
(78)
For this system, the outputs y1(s) and y2(s) are measurements representing the reactor conditions, the inputs u1(s)
and u2(s) are the set-points of two feed-flow loops, and the
disturbance d(s) represents the purge flow rate of the reactor.
Transforming this system with zero output disturbance
into its state-space representation as described in Section 2
gives the following:
0
0
0
x11 (t ) 0.219
0
0
0.553
x12 (t ) = 0
x (t ) 0
0
0.460
0
21
0
0
0.505
x22 (t ) 0
5.007 e
+
0.2 s
2.157 e
0
0.2 s
x11 (t )
x12 (t )
x (t )
21
x22 (t )
0
6.442 e
0.4 s
0
3.220 e 0.4 s
u1 (t )
u (t ) ,
2
(79)
0
H 2 e u1 (kT )
.
0 u2 (kT )
H 4 e
(81)
with
0.947 0.969
G1e =
,
0
0
0.249 0
H1e =
,
0
1
0
0
1
, H 2e = 0 0 ,
G2e =
0
0
0 1
0
0.891 0.403
,
G3e =
0
0
0.107 0
,
H 3e =
0
1
0
0
0
H 4e
0 0
= 0 0 .
0 1
(82)
(83)
where
1 0 1 0 0 0 0 0 0 0
Cp =
,
0 0 0 0 0 1 0 1 0 0
(84)
and Dp is to be determined.
The initial PID controller for this system is designed,
using the Internal Model Principle (IMP) [10,19], as
Gc ( z ) = G0 ( z ) + Dc ,
(85)
x11 (t )
y1 (t ) 1 1 0 0 x12 (t )
.
y2 (t ) 0 0 1 1 x21 (t )
x22 (t )
(80)
x2e (kT + T ) = 0
x3e (kT + T ) 0
x4e (kT + T ) 0
H1e
0
+
H 3e
0
G2e
G3e
0
0
G4e
x1e (kT )
x2 e (kT )
x3e (kT )
x4 e (kT )
( z 1)( z )
1
G0 ( z ) =
,
1
( z 1)( z 2 )
0
(86)
(87)
J.M. Madsen et al.: State-Space Digital PID Controller Design for Multivariable Analog Systems
with
0
0
1.0 0
1
0 1.0
0
0
0
, Hc =
Gc =
0 0.930
0
0
1
0
0
0
0
0.882
0
1
,
0
1
0
0
14.286
14.286
,
Cc =
8.438
0
8.438
0
1 0
Dc =
.
0 1
(88)
K1 =
0.038 0.002 0.045 0.006 0.003 0.004 0.002 0.001 0.000 0.000
,
0.002 0.002 0.011 0.011 0.020 0.044 0.002 0.041 0.000 0.004
(90)
and
(91)
J oT =
0.651 0.000 0.701 0.000 0.000 0.260 0.000 0.350 0.000 0.000
,
1.274 0.000 1.618 0.000 0.000 0.508 0.000 0.809 0.000 0.000
(96)
.
0.843 0.065i, 0.870, 0.916, 0.918, 0.951, 0.153
(94)
The corresponding digital PID controller has the form of
Gc ( z ) = Dc + K 2 ( zI 4 Gc ) H c
1
0.500 z 2.762( z 1)
0
3.262 + z 1 z 0.930
.
=
0.500 z 1.545( z 1) (95)
0
2.045
+
z 1
z 0.882
171
[10]
[10]
172
0.031 0.062
Dc =
.
0.025 0.122
(97)
As the static decoupler for the system, this value was selected to reduce the overshot at the transient and increase
the decoupling of the system. As a result of this change, the
digital PID controller must be retuned as in (33).
It is important to note that with a sampling time of
T = 0.25, the analog controller in [10] transformed to a
digital controller via the Bilinear Tustin Transform method
[18] makes the system unstable, but the digitally designed
controller proposed in this paper still performs extremely
well. Figure 6 reduces the sample time to T = 0.15, and
compares the response of the original time-delayed system
using this papers designed digital controller applying Dp
without a state observer, the designed digital controller
with Dp = 0 and the observer described above, the analog
controller with a state observer in [10], and the controller
and observer in [10] transformed to digital via the Bilinear
Tustin Transform method.
From Figures 5 and 6, it is observed that the proposed
digital controller gives quicker tracking and much better
disturbance rejection than the analog controller developed
in [10] due to the introduced plant feedforward gain, Dp.
When the direct link from input to output of the plant is not
permissible, a multi-objective observer is constructed for
disturbance rejection. Figure 6 shows that this closed- loop
response still gives slightly quicker tracking and better
disturbance rejection than the analog controller developed
in [10] and transformed to digital via the Bilinear Tustin
Transform method.
Another notable feature of this control design is that
due to the gain Dp, the control input to the plant, up(kT), is
significantly less than the analog inputs in the analog system of [10]. This result for T = 0.25 is shown in Fig. 7.
[10]
[10]
[10]
[10]
For a stable or unstable multivariable high-order system with significant multiple time delays, a bisection
searching method is suggested to find a suitable sampling
period for digital design. In this manner, a reasonable
tradeoff between the closed-loop response and the computational complexity caused by a high-dimensional generic
state-space model can be achieved.
V. CONCLUSION
In this paper, a new methodology for discrete-time
state-space optimal design of digital PID controllers was
developed for a multivariable system represented by a
semi-proper or strictly proper transfer function matrix with
multiple time delays. The advantages of the proposed control approach compared to existing methods are as follows:
(1) an exact discrete-time state-space model of the system
can be constructed so that direct digital design of the controller may be accomplished; (2) digital implementation of
the controller reduces hardware complexity and increases
flexibility of the system; (3) the MIMO PID control parameters are systematically tuned using LQR such that the
closed-loop stability is guaranteed; (4) this method can be
applied to plants regardless of system stability, dimension
and degree of system, minimum-phase properties, length of
dead time, and system coupling properties; (5) a method to
improve transient response and accomplish disturbance
rejection is proposed. A disadvantage of the proposed approach is that the dimensions of the augmented state-space
description become significantly large when the sampling
period T is extremely small compared to the time delay Td.
As a result, computational difficulties with the proposed
method might occur for these cases. The simulation results
demonstrate that this controller design method provides
good performance with input tracking and disturbance rejection for systems with significant multiple time delays.
J.M. Madsen et al.: State-Space Digital PID Controller Design for Multivariable Analog Systems
REFERENCES
1. Fliess, M., R. Marquez, and H. Mounier, An Extension
of Predictive Control, PID Regulators and Smith Predictors to Some Linear Delay Systems, Int. J. Contr.,
Vol. 75, No. 10, pp. 728-743 (2002).
2. Astrom, K.J., and B. Wittenmark, Computer Controlled
Systems Theory and Design, Prentice-Hall, New Jersey, pp. 38-42 (1999).
3. Silva, G.J., A. Datta, and S.P. Bhattacharyya, New Results on the Synthesis of PID Controllers, IEEE Trans.
Automat. Contr., Vol. 47, No. 2, pp. 241-252 (2002).
4. Fridman, E., L. Fridman, and E. Shustin, Steady Modes
in Relay Control Systems with Time Delay and Periodic
Disturbances, ASME J. Dyn. Sys. Meas. Contr., Vol.
122, pp. 400-407 (2000).
173
16. Yackel, R.A., B.C. Kuo, and G. Singh, Digital Redesign of Continuous Systems by Matching of States at
Multiple Sampling Periods, Automatica, Vol. 10, No. 1,
pp. 105-111 (1974).
17. Shieh, L.S., B.B. Decrocq, and J.L. Zhang, Optimal
Digital Redesign of Cascaded Analogue Controllers,
Optim. Contr. Appl. Meth., Vol. 12, pp. 205-219 (1991).
18. Kuo, B.C., Digital Control Systems, Holt, Rinehart and
Winston, New York, pp. 321-338, 404-405, 601-645
(1980).
19. Goodwin, G.C., S.F. Graebe, and M.E. Salgado, Control
System Design, Prentice-Hall, N.J., pp. 162-169, 267268, 685-688 (2001).
20. Wang, Q.G., C.C. Hang, and X.P. Yang, Single- Loop
Controller Design via IMC Principles, Automatica, Vol.
37, No. 12, pp. 2041-2048 (2001).
23. Polites, M.E., Ideal State Reconstructor for Deterministic Digital Control Systems, Int. J. Contr., Vol. 49,
pp. 2001-2011 (1989).
24. Shieh, L.S., G.C. Chen, and J.S.H. Tsai, Hybrid Suboptimal Control of Multi-Rate Multi-Loop Sampled-Data
Systems, Int. J. of Sys. Sci., Vol. 23, No. 6, pp. 839-854
(1992).