Академический Документы
Профессиональный Документы
Культура Документы
1. College of information and electric engineering, China University of Mining and Technology
XuZhou, JiangSu 221008, China
E-mail: songxin2323@163.com.
2. Institute of Automation Chinese Academy of Science Beijing 100190, China.
E-mail: plutoli@163.com
Abstract: In this paper an algorithm of PID controller based on model predictive control is derived. With this algorithm the three
parameters of a PID controller are tuned to the process to obtain a satisfactory closed-loop process performance. Using this algorithm for
time-delay system is proposed to enhance the real-time performance and the reliability of process control. Analyzed the three parameters
tuned of a simple PID form, the effect is not ideal. A new structure is discussed which provides an effective way of to solve this problem,
which introduces feedback from actuator output to the controller. The new structure with constraint provides an effective way of
modeling and control of process. It was suitable to be applied to the real industrial process field.
Key Words: predictive control, PID controller, time-delay system, algorithm
INTRODUCTION
c
978-1-4244-5182-1/10/$26.00 2010
IEEE
1091
z d (b0 + b1 z 1 + b2 z 2 + " + bm z m )
y (k ) =
u (k )
1 + a1 z 1 + a2 z 2 + "a n z n
(1)
A( z 1 ) = (1 + a1 z 1 + a2 z 2 + "+ an z n )
1
= 1 + a1 z + a2 z +"+ an z + an+1 z
n 1
(2)
Therefore, formula (3) can be deduced according to (1) and
(2) on k+1 time.
1092
y ( k + d n)
y (k + d )
""""""
Y1
y (k + d + 1)
Y = y (k + d + 2) = "
Y
#
2
y
(
k
d
C
)
+
+
y (k + d + C + 1)
y (k + d + P)
u (k + 1 m)
#
u (k )
U1
""""""
U=
= "
u (k + 1)
U 2
u
k
(
+
2
)
u (k + C )
A=
# % % % " % % #
0 " "
b1
"
"
"
b0
b1
"
"
0
b0
"
"
" 0
" 0
% #
= [B1 B2 ]
There, A1 is a Ph(n+1) matrix, A2 is a PhP matrix, B1 is a
Phm matrix and B2 is a PhCmatrix.
According to (3), we assume j=d+1,d+2,d+Pwe can
obtain liner equations, and these can be shown as:
A2Y2 = B2U 2 + ( B1U1 A1Y1 )
(4)
Because A2 is invertible matrix, we convert (4) into:
(5)
f=A2-1(B1U1-A1Y1)
Because of matrix
and vector
Then we could get the OE prediction equation:
(6)
Y2 = GU 2 + f
Y2 and U2is the predictive output vector and input
increment predictive output respectively in this equation.
That is:
y(k + d +1)
u(k +1)
y(k + d + 2)
u(k +1)
Y2 =
,U =
#
2 #
y(k + d + P)
u(k + C)
(7)
J = qi [r (k + d + i ) y (k + d + i )] 2
i =1
+ si [u (k + j )] 2
(8)
= ( R Y2 ) Q( R Y2 ) + U 2 SU 2
, where R is the set-point vector whose dimension is P, Q is
diagonal positive definite weighting matrix with P h P
dimension used for weighting error signal, S is a positive
definite diagonal weighting matrix with ChC dimension
used for weighting input signal.
According to formula (8), the objective function J can be
converted into a standard quadratic form which only
contains input vector U2:
J =
1
U 2 HU 2 + L U 2 + M
2
(9)
H = 2(G QG + S )
L = 2( R f ) QG
M = ( R f ) Q( R f )
(10)
f Y
min
G
U
2
V
U max u(k ) I C1
V
u(k ) I c1 U min 2( P +C )1
2( P +C )C
U min U 2 U max
(11)
, where
1
1
=I
C 1
#
1 C 1
0 " 0
1 " 0
=V
# % #
1 " 1 C C
PID AND PREDICTIVE CONTROL
U ( s) = G(1 +
j =1
1
1
1
3
T s
1
+ D ) E ( s)
TI s TF s + 1
(12)
u (k ) = G (1 +
h 1
T
1 z
+ D
)e ( k ) .
T1 z 1 TF + h z TFTF+ h
u(k ) = G(1 z1 +
h 1
T 1 2z1 + z 2
)e(k) ,
z D
T1
TF + h 1 TFTF+h z 1
where =1-z-1
It can be converted into a discretization incremental form
as follows:
u (k ) = {G (1
TD
)
TF + h
+ G(
T
T h 1
2TD
)z
F I
TF + h TF + h
TI
+ G(
TF (TI h)
T
D ) z 2 }e(k )
(TF + h)TI TF + h
TF
z 1
TF + h
(13)
We can assume the pulse transfer function is formula (1). ,
We need to analyze formula (4) further in order to explore
the relationship between PID controller and predictive
control. Without considering the restrict condition, the
optimal input control variable U2opt should accord with the
below formula:
(14)
(15)
1093
(16),
r (k + d + 1)
r (k + d + 2)
R=
r (k + d + P ) P 1
y (k + d n)
y (k + d n + 1)
Y1 =
y (k + d ) ( n +1)1
u (k + 1 m)
u (k + 2 m)
U1 =
#
u (k )
m1
Where wR wY1and wU1 are row vectors with weighted
coefficient RY1 and U1 are column vectors. Also we can
get expression of Y1 is:
u(k d +1 m)
y(k n)
u(k d + 2 m)
y(k n +1)
Y1 = A0
+ B0
(m+d)1 (17),
u(k)
n+11
y(k)
where A0 is (n+1)h(n+1) matrix and B0 is (n+1)(m+d)
matrix.
Substitution formula (17) into formula (16), we can get
this function:
y(k n)
r(k + d + 1)
r(k + d + 2)
+ wY1 A0 y(k n + 1)
u(k + 1) = wR
#
#
y(k )
r(k + d + P)
u(k + 1 m)
u(k d + 1 m)
u(k + 2 m)
u(k d + 2 m)
+w
+ wY1B0
U1
#
#
u(k )
u(k )
(18)
u ( k + 1) = C R ( z 1 ) r ( k + d + P )
+ C Y ( z 1 ) y ( k ) + C U ( z 1 ) u ( k )
(19)
1094
u(k) =
z 1CR (z 1 ) + z d P1CY ( z 1 )
r(k + d + P)
1 z 1CU ( z 1 )
z 1CY ( z 1 )
e(k)
1 z 1CU ( z 1 )
(20)
We find the limitation of the PID control from formula
(20). According to (20), the current output increment of the
controller should be related on all previous deviations e,
and also relate to the output setting in an interval. But the
ordinary PID controller only has three adjusting
parameters which are much less than the parameters in the
formula (20). The transfer functions of the set value to the
process input increment are different from the error
transfer functions of the error to the process input
increment. Based on PID we could get better effects if we
introduce set value into controller output by a suitable
feedforward loop. In order to get PID parameters from
formula (12), we reduced the transfer function order to
formula (21):
0 + 1 z 1 + 2 z 2
(21)
1 + 1 z 1
So we can get the PID parameters by comparing the
coefficients of formula (21) and formula (12).
SIMULATION
G( s) =
1
e 20s
1 + 20s
(22)
Then we dispersed it by zero-order holder. Therefore we
get the Pulse Transfer Function model (sample time is 1
second):
H ( z) =
0 .04877 z 21
1 0 .9512 z 1
(23)
Respectively PID parameters tuned by Zieglers-Nichol
(ZN), Endometrial Control (IMC), andMPC in this paper
are obtained at the table 1:
Table 1. The different tuning methods of PID controller
parameters
Tuning method
T1
TD
TF
Zieglers-Nichol
1.33
31.0
7.74
IMC
0.935
30.5
6.48
of PID
MPC
0.467 18.44 0.005 0.539
In this table we use predictive length and control length of
the predictive control are P=8 and C=1.
The control effects of the 3 groups tuning method of PID
are shown in the figure1.
CONSTRAINT CONDITION
CONCLUSION
REFERENCES
[1]
1095
[2]
[3]
[4]
[5]
1096
[6]
[7]
[8]
[9]