AbstractThis paper deals with a design of algorithms for selftuning digital control of processes with time-delay. The algorithms
are based on the some modifications of the Smith Predictor (SP). One
modification of the SP based on the digital PID controller was
applied and it was compared with two new designed modifications
based on polynomial approach (pole assignment and minimization of
the quadratic criterion). The program system MATLAB/SIMULINK
was used for simulation verification of these algorithms. Some of
designed algorithms are suitable for implementation in real time
conditions.
Gd ( s ) = G ( s ) e T s
d
(1)
342
G p ( s ) = Gm ( s ) e
w (t )
Gc(z )
Gp (z-1)
yTd
Gc
u (t )
Gp
y p ( t )
es ( t )
y ( t )
e-sTd
+
Gd (z-1)
e p
A. Structure of Digital SP
The digital SP (see [10] [14]) is shown in Fig. 2. The
function of the digital version is similar to the classical
analogue version. The block Gm z 1 represents process
( )
e p ( t )
+
Fig. 1 Block diagram of an analogue Smith Predictor
es are the control signal, the reference signal, the error and
the noise. If there are no modelling errors or disturbances, the
error between the current process output and the model output
will be null and the predictor output signal y p will be the time-
signal, the error and the noise. If there are no modeling errors
or disturbances, the error between the current process output
and the model output will be null and the predictor output
signal y p ( t ) will be the time-delay-free output of the process.
( )
( )
y (t )
y ( t + Td )
Gm
y p
(2)
PROCESS
+ es
PROCESS
-1
Gm (z-1)
Td s
e (t )
343
( )
G z 1 =
( )z
A( z )
B z 1
1
b1 z 1 + b2 z 2
z d
1 + a1 z 1 + a2 z 2
y (k ) =
(3)
+ b1 y ( k 1 d ) + b2 y ( k 2 d ) + es ( k )
T ( k ) = a1
u ( n 1)
u (n)
#
u ( N d 1) u ( N d 2 )
" y ( N n)
u (1)
u ( 2)
#
" u ( N d n )
T = a
y ( n + d + 2 ) " y ( N )
a 2 " a n
b1 b2 " b n
(10)
(11)
(12)
b2
e ( k ) = y ( k ) y ( k )
" y ( d + 1)
" y ( d + 2)
"
#
"
"
"
b1
(5)
u (n)
u ( n + 1)
#
a2
y ( k ) = a 1 y ( k 1) a 2 y ( k 2 ) +
b u ( k 1 d ) + b u ( k 2 d )
y (n + d )
y ( n + d 1)
y ( n + d + 1)
y (n + d )
F =
#
#
y ( N 2)
y ( N 1)
(9)
(4)
F y
(8)
= F F
y ( k ) = a1 y ( k 1) a2 y ( k 2 ) +
( )
( ) uk+ 1 e k
( )
( )
A( z )
A( z )
B z 1 z d
( )
(6)
( )
Ge z 1 =
(7)
1 e
1 z 1
where =
(13)
T0
344
(1 e ) A ( z ) ;
( ) 1 z B (1)
(
)
Gc z 1 =
( )
Gd z 1 =
( )
Gm z 1 =
z 1 B (1)
z 1
A
( )
( )
z B z
z 1 B (1)
d
(14)
( )
Gq z 1 =
( )
Since G ( z ) is the second order transfer function, the
main controller G ( z ) becomes a digital PID controller
z =1
= b1 + b 2 .
Y ( z 1 ) =
E ( z)
q0 + q1 z 1 + q2 z 2
1 z 1
(16)
Gq
uq
_
Gp
yp
U ( z)
B ( z 1 )
A( z 1 )
(19)
B( z 1 ) R( z 1 )
W ( z 1 )
A( z 1 ) P( z 1 ) + B( z 1 )Q( z 1 )
(21)
(22)
(23)
b2
0
0
+ es
0
b
b2
0
b
b2
q d + 1 a
1
0 1
a1 1 q1 d 2 + a1 a2
=
a2 a1 q2 d3 + a2
d4
a2 p1
1
(24)
( )
D z 1 = 1 + d1 z 1 + d 2 z 2 + d 3 z 3 + d 4 z 4
( )
G p ( z 1 ) =
S ( z 1 ) Dw z 1 + B( z 1 ) R( z 1 ) = D( z 1 )
Gr
+ ur
A( z 1 ) P ( z 1 ) + B( z 1 )Q ( z 1 ) = D( z 1 )
u ( k ) = q0 e ( k ) + q1e ( k 1) + q2 e ( k 2 ) + u ( k 1)
where
(15)
( ) = q +q z +q z
P ( z ) (1 + p z )(1 z )
Q z 1
U ( z)
(18)
( )
where B (1) = B z 1
Gc z 1 =
( )= r
P ( z ) 1+ p z
R z 1
( )
Gr z 1 =
(25)
(17)
345
D(1) 1 + d1 + d 2 + d3 + d 4
=
B(1)
b1 + b2
R = r0 =
(26)
T ( k ) = [ a1
k =0
T ( k 1) = y ( k 1)
(28)
; d2 =
m2
(29)
+ 2 4m22
2
; =
m0
m
m2 + 0 + m2 m12
2
2
(30)
m2 = a2
y ( k 2)
u ( k d 1) u ( k d 2) (33)
(32)
( )
+ m2
b2 ]
d1 =
b1
(27)
a2
1) Stable non-oscillatory G1 ( s ) =
(31)
346
2
e4 s
( s + 1)( 4s + 1)
2
e 4 s
4s + 2s + 1
5s + 1
3) With non-minimum phase G3 ( s ) =
e4 s
( s + 1)( 4s + 1)
2) Stable oscillatory G2 ( s ) =
( )
0.4728 z 1 + 0.2076 z 2 2
z
1 0.7419 z 1 + 0.0821z 2
G2 z 1 =
( )
0.6806 z 1 + 0.4834 z 2 2
z
1 0.7859 z 1 + 0.3679 z 2
( )
0.5489 z 1 + 0.8897 z 2 2
z
1 0.7419 z 1 + 0.0821z 2
G3 z 1 =
( )
( )
( )
347
w
y
w, y
4
3
2
1
0
0
50
100
150
200
time [s]
250
300
350
400
3
2
50
100
150
200
time [s]
250
300
350
400
( )
w
y
w, y
1.5
1
0.5
0
0
50
100
150
200
time [s]
250
300
350
1.4
400
1.2
0.6
0.4
0
50
100
150
200
time [s]
250
300
350
400
( )
w
y
w, y
1.5
1
0.5
0
0
50
100
150
200
time [s]
250
300
350
400
1
0.9
u
1
0.8
0.8
0.7
0.6
0.5
0
50
100
150
200
time [s]
( )
250
300
350
400
348
( )
( )
w
y
1.5
w, y
2
w, y
0.5
-1
0
0
0
50
100
150
200
time [s]
250
300
350
50
100
150
400
250
300
350
400
2.5
200
time [s]
0.8
2
1.5
0.6
0.4
0
0.5
0
50
100
150
200
time [s]
250
300
350
200
time [s]
250
300
350
( )
w
y
1.5
w, y
non-minimum phase
model) are shown in Figs. 9 and 10. The control quality (with
a priori information) is very good.
1
0.5
0
0
50
100
150
200
time [s]
250
300
350
1
2
400
( )
( ) (the
150
information)
priori information)
100
( )
50
400
w
y
400
0.8
u
w, y
1.5
0.6
0.4
0.5
0.2
0
0
50
100
150
200
time [s]
250
300
350
400
50
100
150
200
time [s]
250
300
350
400
( )
1.2
u
information)
1
0.8
u
( )
0.6
0.4
0
50
100
150
200
time [s]
250
300
350
400
( )
( )
information)
349
1.5
w, y
w, y
0
w
y
-1
w
y
1
0.5
0
50
100
150
200
time [s]
250
300
350
400
50
100
150
200
time [s]
250
300
350
400
1.5
1
0
u
-1
0.5
-2
-3
50
100
150
200
time [s]
250
300
350
400
( )
50
100
150
200
time [s]
250
300
350
400
( )
information)
w
y
2.5
2
w, y
( )
1.5
1
( )
0.5
0
0
50
100
150
200
time [s]
250
300
350
( )
1.5
w, y
1
u
0.5
0
0
1
0
0
50
100
150
200
time [s]
250
300
350
400
50
100
150
200
time [s]
250
300
350
400
( )
400
VIII. CONCLUSION
2
u
-2
0
50
100
150
200
time [s]
250
300
350
400
( )
350
REFERENCES
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19]
[20]
[21]
[22]
[23]
[24]
[25]
351