Stable Constrained Predictive Control Article
Stable Constrained Predictive Control Article
Abstract. A multi variable linear controller based upon pole placement design is devel-
oped . This apriori assures stability of the closed-loop system. The generalized controller
from the family of all stabilizing controllers satisfying given constraints on inputs and/or
outputs is then searched . In addition an objective function based on future prediction of
signals is minimized.
Keywords. Pole placement, Multivariable systems , Predictive control, Constraints ,
Quadratic programming
405
where y, u are process output and control- M is achieved and the pole placement tracking
ler output r - vector sequences respectively. problem has the solution if and only if ALF, BL
AL, BLE n",,[z-l], HyE n"dz- l ] are polynomial are r.l.p. The feedback part of the controller (6)
matrices. The argument z-l will be omitted IS gIven as a solution of the Diophantine equa-
in the text for simplicity. AL(O) is invertible , tion :
BL(O) = 0, and Hy represents the influence of
process initial conditions . AL and BL are rel-
atively left prime (r.l.p.) and describe input - (8 )
output properties of the controlled system .
The reference signal w is r - vector sequence and and the feedforward part RL as a solution of an-
is modelled by the equation other Diophantine equation:
where FEn",,[z-l], GEnrdz-l], the pair F,G where SE n",,[z-l] is a polynomial matrix.
=
is r .l.p ., F(O) is invertible , F diag(f(z-l )) .
The monic polynomial f depends on the type of There are infinity solutions of eqs. (8), (9) . Al-
the reference vector, e. g. f = 1 - Z-l for step though usually a minimum degree solution is
changes . used, it is possible to search among general solu-
tions if any additional requirements on the con-
The controller is described by the equations troller are laid . Thus, the minimum degree con-
PLu = RLW-QLy+H" (3) troller Po, Qo, Ro serves only as a basis for find-
Fu = u+Hu (4) ing the expression for the set of all stabilizing
controllers. For our case, such controllers for
PL, QL, RLE n",,[z-l], H", HuE n"dz-l] . The
specified closed-loop poles can be in left matrix
pairs PL, QL and PL, RL are r.l.p ., PL(O) is in-
fraction representation parametrized as
vertible and the terms H" and Hu represent the
initial conditions of the controller. The second h PLO + ZBL (10)
equation assures that the controller has integra- QL QLO - ZALF (11)
tion properties and gives zero tracking error for
given class of reference vectors w.
RL = RLO + FX (12)
S = Sp - BRX (13)
Let us further define right matrix fraction de- where X, ZE n",,[z-l] are polynomial matrices.
scriptions of the process and controller
This general controller will be used in the fol-
ALl BL = BRARl (5)
l lowing section where the matrices X, Z will be
PilQL QRP R (6) chosen to satisfy additional demands on control-
and assume that these descriptions are right rel- ler.
atively prime (r.r.p.)
406
where NI, N, Nu are minimum, maximum, and
subject to A [ : ] >b
control horizon respectively, Ru = diag( rui),
Re = diag(rei) are positive definite matrices used
as weights on ii and tracking error e . We assume where
that f = 1 - :-1 so that the signal ii is the se-
A (s:r;U ) szU) ) (23)
quence of the control increments. -Sr U) -Sz U)
After some manipulations on the equations (1)- b ( SminU) - soU) ) (24)
soU) - sma:r;U)
(9) the sequences ii and e can be written as
for sU) ET, j = N1 . .. N, j = 1 . .. Nu
ii M-I ARRLGL
+ M-I[F H.:;) - QR(BLH u + F Hy») (15)
e M-ISGL 3.1 User specifications
M-I[PR(F Hy + BLHu)BRH.:;) (16)
If the general controller is searched, the controller There are several variables which user must spec-
polynomial matrices must obey eqs . (10)-(13). ify in the implementation of the algorithm. func-
Moreover, the initial conditions H.:; depend on tion of some among them is similar to other
X, Z and can be written as H.:; = Ho + HJrx + approaches (GPC) . There are following tuning
HJzz where x=coef(vec(X», z=coef(vec(Z)) (see knobs: degrees nx, nz of the design polyno-
Boekhoudt, 1990 for definitions polynomial to mial matrices X,Z, horizons N , N 1 ,Nu , weight-
vector transformations), x, z are column vectors ing matrices Re, Ru, and the closed-loop poles
containing the unknown coefficients of X, Z. The M.
subscript 0 denotes free responses that do not
depend on X, Z and the subscript f forced re- Degree of matrices X, Z . These are the most im-
sponses. portant parameters for the user. The higher the
degrees, the more degrees of freedom exist and
The equations (15), (16) can also be decomposed the less value of the objective function can be
into free and forced responses (see Fikar, 1994) : obtained. However, the lower degrees of results
in fewer computations, so the values should be
deg(ii) = Nu (17) chosen carefully and depend on the speed of the
computer as well as on the time constants of the
process . The matrix X influences mainly set-
e=Eo+Erx+E.z deg(e) = N (18) point changes and the value of nx should be cho-
sen according to their magnitude. The matrix Z
applies to disturbances. As their magnitude is
The objective function (14) can be transformed
usually lower as the setpoint, the value of nz = 0
to the form
is usually satisfactorily.
The predicted signals sET = {ii, u, e, ... } are Maximum Horizon N. Unlike other predictive
of the form (cf. eq (18) ) control approaches where the value of N depends
on time constants of the process and should be
(20) chosen to the rise - time of the plant, in our
case dependency between Nand n exists. If
deat-beat controller is assumed, then the influ-
and the constraints considered ence of forced responses is finite and given as
N = nx + deg(AL) + d. This value is also recom-
Smin(t + j) ~ s(t + j) ~ smar(t + j) (21) mended if M :f. I
Thus the original constrained control problem is Control Horizon Nu . Control horizon has the im-
finally rewritten as the optimization problem-in pact on the complexity of the computations. Its
this case as Quadratic Programming task: value is usually chosen equal to N. Nevertheless
it is possible to reduce it, so only first few samples
are optimized . Unlike GPC, there cannot be in-
min c + gT [ x ] + [xT, zT)H [ x ] (22)
x ,z z z stability if even Nu = 0 with nonminimum-phase
407
system to be controlled. Thus infeasibility of the QP problem becomes an
excellent tool to diagnose the status of the pro-
Weighting Matrices. The weighting matrices de- cess. If the model of the process is guaranteed
termine the activity of the controller and have to be perfect , then if it is not possible with given
the same role as in GPC. If the norm of Ru is constraints to reach given setpoints then the set-
larger compared to the norm of Re more cautious points should be changed.
controller results. In the opposite situation, the
control error vanishes with faster rate , but the
control actions can be very excessive . 3.4 Control Algorithm
408
The system controlled was discrete system of the N..c-" •• N.O· ······ ItJ.,..- ,..0- ..
form
AL 1+ Alz- l + A2Z-2 2
EL
~~6 ) A2 = ( :~ .2 )
.3
~~--------~.~.~
.. ~
..----------~----~~
:~ ) E2
Unless otherwise stated , the closed-loop poles
= ( ~~2 ~ )
were chosen M =
I (deat-beat response) and the
horizons N = Nu = 7, Nl = 1.
T",.
I__
12.5
r.•
- ---- ~rl
~
.:
0
~
.
8.-----
y
y
~-\
-w
• r.a
12.0 ·r
• i r.• o 2 ro
" .5
I r1
=-
iL I r.O
Fig . 4: Choice of the closed-loop poles
11 .0 iD'
L .a
-"-
---.
The last two simulations deal with constrained
rO.5 0 .•
control. In the first case the tracking error for
01
2 3 • 2 3
• 5 variable Y2 was specified to be less than 10% of
the corresponding setpoint-in other words the
overshoot less than 10% was demanded . Fig. 5
Fig. 2: The influence of nx shows that this demand was fulfilled with the
corresponding deterioration of the unconstrained
The second simulation compares BC with GC output .
and also demonstrates the influence of weight-
ing matrices for nx = 3. Figure 3 shows, that In the second case, the constraints on inputs were
the deat-beat response is 5 steps for GC and 2 imposed as lul 1 and liil :s
0.6. The results :s
steps for BC , which is in agreement with theory. in Fig. 6 show slower response to the setpoint
Only one input and output are shown. It is clear change, but both constraints were satisfied .
409
~
5
0
I,f
r'
'Jtf', , ,
:
:
..................
flr' , ~'
rlr.............:::::
:'oo :
---- u:z If the parameters of the process are unknown
or time-varying and adaptive control is re-
quired, the enhancement of the algorithm is
• I ~.
straightfowward by including the appropriate
t _ _'.._:_ _ _ _ _..........---'----''--_ _ _......-...JJ
·5 L RLS method for th e identification of the process
model.
6 REFERENCES
Boekhoudt , P . (1990). Solution of polynomial
Time
equations in H 00 optimal control. Control
Theory and Advanced Technology , 6, 321 -
Fig. 5: Constrained control. e2 ~ W2
337.
'I
l
g j
Clarke, D. W., C . Mohtadi, and P . S. Tuffs
(1987). Generalized Predictive Control -
part I. The basic algorithm. A utomatica ,
~ .:1
"---1- -..i
• •-
• • •- ~ ••_• • • • • • • •
'•-
• •-
• •-~..1
•• 23, 137 - 148.
=<: ••
cesses . Parametrization of aI/ stabilizing
~~r~"~~
control/ers, PhD thesis , Dep . of Process
410