Sie sind auf Seite 1von 7

FEASIBLITY ANALYSIS OF CONSTRAINED PREDICTIVE CONTROL

S. OLARU, D. DUMUR

Supélec, Control Department, Plateau de Moulon, 3 rue Joliot-Curie


F 91 192 Gif sur Yvette Cedex, France

Abstract: Model predictive control (MPC) has the ability to explicitly handle inequality
constraints on process variables due to its time-domain formulation. However, the
controller is not available off-line, leading to a nonlinear control law. This paper
examines the stability in the MPC framework viewed as consequences of the feasibility
of the constrained predictive law. If the current results in the literature deal with on-line
feasibility conditions, this paper is providing tuning rules and performance analysis
based on off-line prediction of infeasibility.

Keywords: Constrained Predictive Control, Feasibility, Stability.

1. INTRODUCTION lead to infeasibility. As mentioned in some studies,


the compatibility of the constraints is a major area of
Model predictive control (MPC) earns industrial
interest in predictive control, related to the problem
acceptance due to its ability to provide improved
of infeasibility. The cause of this behaviour can be
control performances and the capacity to explicitly
the problem description which may be intrinsically
handle inequality constraints on process variables.
unfeasible, an unexpectedly large disturbance, ill
This comes from the main feature of the predictive
conditioning of the problem or a big difference
law, the time-domain formulation. As a matter of
between the real plant and the model.
fact, constraints on variables are nonlinearities which
have to be taken into consideration because they As a consequence, an analysis of this infeasibility
alienate the optimal control action provided in the phenomenon is of crucial interest. Current results in
unconstrained case, resulting in degraded closed-loop the literature only deal with on-line infeasibility
performances and stability problems. The controller conditions. The main contribution of this paper is to
expression in the general case is available only on- provide off-line prediction of infeasibility, depending
line leading to a nonlinear control law. of the tuning parameters and for a particular class of
setpoints. Techniques to avoid infeasibility are
Model based predictive control is based on simple
examined and the theoretical developments are
step response or transfer function models and the
validated considering predictive control of the
stability in this framework is a sensitive aspect. The
velocity of an induction motor.
processes are subject to operational constraints which
force some variables to lie within certain regions and The paper is organized as follows: Section 2
the resulting nonlinear controller expression further describes the constrained receding horizon predictive
complicates the fulfilment of the stability and control formulation. Section 3 is dedicated to
performance objectives of predictive control scheme. stability and the inherent relationship with the
Even if it can be shown that stable controllers exist feasibility. Section 4 examines the optimization
for some classes of models, a general condition may domain in order to obtain an off-line prediction of
infeasibility. Section 5 presents the tuning rules N u the control horizon, λ a control weighting
applied in the case of an induction motor. Finally, factor and w the setpoint. The advantage of this
Section 6 gives some concluding remarks. procedure is that it provides an equivalent
polynomial controller even if the stability is
2. CONSTRAINED RECEDING HORIZON reinforced by adding m terminal equality
PREDICTIVE CONTROL constraints (Clarke and Scattolini, 1991):
The starting point of this study is the CARIMA yˆ (t + N 2 + j ) = w(t + j ) for j = 1,  , m
model as an input/output description of a system:
(5)
The control law is derived through analytical
−1 −1 C ( q −1 )ξ(t ) minimization of the previous cost function and may
A( q ) y (t ) = B ( q )u (t −d ) +
∆( q −1 ) be structured under the RST form.
(1) All these nice properties have to be reanalyzed when
where u, y are the system input and output other operational constraints are to be taken into
respectively, ξ(t ) represents a centered gaussian consideration. The control law may become unstable
white noise, d the system time delay, A and B are because of the addition to the control objective of an
polynomials in q −1 (the backward shift operator) unfortunate constraint on the control update, e.g.:
and ∆(q −1 ) =1 −q −1 the difference operator.
The constrained predictive control philosophy is ∆u min ≤ ∆u (t + j − 1) ≤ ∆u max for j = 1,  , N u
summarized in Figure 1.
An unified framework for the description of
constraints is described as follows:

 −1 −1
 Aγ (q ) γ (t ) = Bγ (q ) u (t − d )

γ min ≤ γ (t + j t ) ≤ γ max , N c1 ≤ j ≤ N c 2

(6)

w
Fig. 1. Constrained predictive controller principle
Based on the model mentioned earlier and following
the ideas of GPC (Generalized Predictive Control) Controller
N c1 and N c 2 represent the constraints horizon
and can be different from the prediction horizon (
N1, N 2 ) or postulated control horizon N u . This

+
(Clarke, et al., 1994) an optimal j-step ahead predict-
tor can be constructed:
description form allows the consideration of all types
of constraints rising from operational restriction or


−1

−1 -

imposed by stability considerations, e.g. equality
yˆ (t + j ) = F j ( q ) y (t ) + H j ( q ) ∆u (t −1) + constraints on the output for m instants at the end of
the prediction horizon, inequality constraints on the
free response output, inequality constraints on the control action,
+ G j ( q −1 ) ∆u (t + j −1) inequality constraints on the control increments.
   

Model based
forced response
(2) 3. STABILITY AND FEASIBILITY

where the F j , G j , H j polynomials are solutions The constraint predictive law minimizes a cost
function in the control vector ∆u defined on a
of the Diophantine equations:
constrained
∆(q −1 ) A(q −1 ) J j (q −1 ) + q − j F j (q −1 ) = 1
domain described by a linear inequalities system. The
domain for the solution of this quadratic program can
be either a nonempty or empty convex set. The

predictive
−1 −j −1 −1 −1
G j ( q ) + q H j ( q ) = B ( q ) J j (q )
assumption of feasibility is equivalent with the fact

Predic
(3) that this domain is non empty. It was shown that a
close relationship exists between feasibility and

controller
The closed loop stable behaviour is achieved by
applying the first control action of the sequence stability of closed loops with constrained predictive
which minimizes a quadratic cost function: control (The stability is related to BIBO definition;
the possibility of non damped harmonics remains and
more refined stability results may be applied). If
N2 Nu studies start with the feasibility assumption, results
J = ∑ [ w(t + j ) − yˆ (t + j )] 2 + λ [ ∆u (t + j −1)concerning
∑ ]2 stability are somehow direct when infini-
j =N1 j =1 te or pseudo-infinite constraint horizons are used.
(4) Note that stability as a consequence of feasibility
assumes the absence of disturbances. In case of
subject to ∆u (t + j ) = 0 for j ≥ N u . N1 , N 2
disturbances, they must not alienate feasibility.
are the minimum and maximum costing horizon,
Consider an open loop stable system with upper and compact sets and a pseudo-infinite upper constraint is
lower bounds on any constrained variable γ(t ) used, the infeasibility is preceding the instability.
corresponding to a minimum phase system of Eq. 6.
This argument clears the demarcation between two
For any setpoint keeping the feasibility assumption
distinct kinds of problems: feasible and stable against
alive, the quantities u , ∆u or y remain in a close
unfeasible and unstable. If the set of constraints is
set implying BIBO stability (Scokaert and Clarke,
chosen in the sense of a pseudo-infinite prediction
1994a). Some difficulties may appear when the
horizon, the frontiers of feasible and stable control
constraints are stated to a non-minimum phase
laws is strict. In counterpart even if infeasibility does
variable γ(t ) . This is because constraining this
not mean directly instability, it may be considered as
variable in its transient period leads to instability as
harmful. In this case, special strategies must be taken
the feasibility demands an “inverse” control action
in consideration in order to continue control and this
and on a long-term creates a snowball effect driving
procedure is to be avoided. So, when dealing with
the control action and the entire system unstable. The
feasibility, one has to inspect first the optimization
problem is important when the constrained variable is
domain represented by a polyhedron in the N u
disturbed, and can be overcome by modifying the
dimensional space. In the case of pseudo-infinite
constraint horizons. From the precedence point of
constraint horizons, this polyhedron is defined by the
view, when the constraint horizon is long enough, the
end-point equalities and the inequality constraints
infeasibility will precede the instability. As an
and should be non-empty to consider the quadratic
example, consider a non-minimum phase system
problem as feasible. It is however possible that some
under the constraint −0.3 ≤ y ≤1 and a step
of the constraints conflict and become incompatible.
setpoint:
The following sections will treat extensively the
(1 − q −1 + 0.25 q −2 )γ (t ) = feasibility problem. Distinguish at the beginning, as
( −0.25 − 0.25 q −1 + 0.75 q −2 )u (t ) in (Scokaert and Clarke, 1994b):
(7) – Type I infeasibility: caused by an incompa-
tibility between inequality constraints,
For a constraint prediction horizon of a single step
iteration N c1 = N c 2 = 1 , the closed loop system is – Type II infeasibility: caused by an incompa-
tibility between the end-point equality, the
feasible but unstable as shown in Figure 2.
system dynamics and inequality constraints.
More difficult is the type II infeasibility because it
arises when the end-point equalities are employed for
stability reasons and conflict with the system
dynamics and the other inequality constraints. A first
consequence is that the setpoint may interfere with
the constraints definitions. Even if this new problem
Fig. 2. Unstable behaviour for feasible control law. can not be treated off-line extensively we can
Increasing the constraint prediction horizon, however made some considerations. Notice that for a
N c 2 = 6 , infeasibility is signalled at the 6th given set of inequality constraints, a step setpoint can
iteration confirming the fact that if the horizon is always be found such that equality constraint at the
long enough infeasibility is preceding instability. If end of the prediction horizon generates infeasibility.
by off-line analysis the infeasibility is predicted, then Theorem 1: A CRHPC control law with inequality
rules for choosing the constraint horizon can be constraints for a system with a step setpoint starting
inferred to achieve feasibility. Figure 3 presents the at time t is feasible at each instant t +k if:
simulations for N c1 = 1 and N c 2 = 12 . Further, i) The problem is feasible at instant
feasibility implies the stability of the control law. □ t;
ii)
m ≥ n a = deg( A) −1; N u ≤ N 2 +1 + d
Proof: Consider the optimal control sequence at
instant t:
k u = { ∆u (t + j −1 / t )}, j = 1,  , N u , obtained
by minimization of the cost function Eq. 4 under the
Fig. 3. Feasibility and stability. constraints stated in Eq. 6. If the problem is feasible
at instant t , the optimal control sequence k u is
With unstable open loop systems, the problem is available. Consider the suboptimal control vector:
much more complicated but there are motivations to
think that if all manipulated signals are restricted to k u ∗ = { ∆u (t + j − 1 / t )} , j = 2,  , N u (8)
Without disturbances, all predictions of the constraint missing the generality and have to be avoided. The
variables satisfy: output y, even if linked to the input sequence k u ,
γ (t + j / t +1) = γ (t + j / t ) (9) will thus be present in the matrix form of the
constraint as an unknown variable. Its freedom is
This mean that all the constraints are satisfied for limited by the dynamic constraints. This means that
k u ∗ . In the same manner if the control actions the new variables vector is:
postulated at time t +1 is k u ∗ , the output
y (t + j / t +1) = y (t + j / t ) .

 ∆ u1,,∆ uNu, yN1,, 


predictions are:
These predictions have to satisfy the equality
constraints at the end of the prediction horizon. As
the sequence k u ∗ is inherited from k u , it
automatically satisfies:
y (t + N 2 + j / t +1) = w(t + N 2 ), j = 1,  m
ku =   (13)
(10)
where w represents the step setpoint magnitude. At
next instant, these terms do not represent constraints
y
 2 2 N2 + m  N , y N + 1,, y
anymore, but as the prediction horizon is moved one
step forward, Eq. 10 must be considered at next
instant. But with Eq. 1:
The dynamic constraints can be resumed by:
−1
∆A(q ) y (t + N 2 + m +1 / t +1) = i
q −d
∆B(q −1
) u (t + N 2 + m +1 / t +1) y (t + i ) = ∑g k ∆u (t + i − k ) + l (t + i )
(11) k =1
l (t + i ) = Fi ( q −1 ) y (t ) + H i (q −1 ) ∆u (t −1)
The system is proper and the degrees of the A and B
(14)
polynomials are less or equal to m . As the
constraints are satisfied for the previous m instants, The g k coefficients represent the step response
all the quantities ∆u and ∆y are zero. Thus: coefficients filling the G and G c matrices
appearing in the matrix form of the predictors,
respectively between N 1 and N 2 and N 2 +1
∆y (t + N 2 + m +1 / t +1) = 0 ⇒ and N 2 + m . l (t +i ) values are independent of
y (t + N 2 + m + 1 / t +1) = y (t + N 2 + m / t +1) the future control actions and in consequence known
= y (t + N 2 + m / t ) = w(t + N 2 + m) at each optimization step. If the analysis is performed
off-line, l (t +i ) will take values concordant with
(12)
the system history. Together with these equality
As the setpoint is assumed to be constant, all the constraints, the constraints on the control increments
conditions are fulfilled for the suboptimal sequence and on the output are natural. The constraints on the
k u ∗ as feasible solution for the control law at instant control action (or any other auxiliary constraints) can
t +1 . By induction if a feasible sequence k u be restated in an input update description and
exists at instant t +k , it can be proved in a similar included in a matrix form (Ehrlinger, et al., 1996):
way that a feasible sequence exists for the instant
t +k +1 , thus the CRHPC law being feasible at 1 0  0 ∆u1 
any instant. □
1 1 0  ∆u 
u min ≤  2 
≤ u max
4. CONSTRAINTS ANALYSIS  1  0   (15)
  
4.1. Constraints in a matrix form 1  1 1∆u Nu 
   
The constraints formalism described in the previous Q ∆u
section must be moved to a matrix form for the
Even if the setpoint equality constraints are explicitly
optimization domain analysis. The minimization of
excluded in this domain analysis, the stability
the quadratic cost function Eq. 3 is operating in the conditions that induce them can be however retained.
space
[ of future
] control actions
ku = ∆u1,  , ∆u Nu . The feasibility is in direct This means the condition Eq. 5 can be structured as:
relationship with the desired setpoint. When
analyzing the feasibility, an entire family of setpoints
is considered in order to infer upper and lower
bounds on the reference trajectory. This means that
all the constraints implying specific setpoint are
considers the constraints as a mixed system of linear

 1 − 1 0  0   (ty + N2 + 1)   0
equations and inequalities
{x Aeq x = Beq ; Ain x ≤bin }defining a
polyhedron P which can further be expressed by its
dual representation:

 0 1 − 1 0   (ty + N + 2)   0
P = conv.hull{ x1, , xv } +
+ cone{ y1, , yr } + lin.spaceP
(18)

  2 =  
where conv.hullX denotes the set of all convex
combinations of points in X, coneY denotes
nonnegative combinations of unidirectional rays and
lin.spaceP represents a linear combination of bi-
directional rays. It can be rewritten as:

     0      
v r l
P = ∑λi x i + ∑γ i y i + ∑µi z i
(16) i =1 i =1 i =1
v (19)

    
0 ≤ λi ≤ 1, ∑λi = 1 , γ i ≥ 0 , ∀µi
i =1

00 1−1  (ty +N 2+ m)  0


Type I infeasibility can be checked by passing the
system of constraints by Chernikova algorithm which
finds the dual representation of the optimization
domain (Le Verge, 1992). Consider as an example:

4q −1 + 6.743 q −2
H ( q −1 ) =
1 − 0.82 q −1 − 0.16 q −2 − 0.017 q −3

J yc −1 ≤ ∆u i ≤ 0.1 1 ≤ i ≤ N u
−1 ≤ u i ≤1 1 ≤ i ≤ N u
−5 ≤ y i ≤ 5 N1 ≤ i ≤ N 2
(20)
With these particular descriptions, a feasibility
All this requires the constrained variables set
domain for a system under all types of constraints is: θ = [∆u1  ∆u Nu y N1  y N 2 ] . With N u = 3
  G − I 0  ∆u   − l  , N 1 = 1 , N 2 = 6 , the dual representation of this
     is a six points convex hull given in Figure 4.
 G c 0 − I   y  = − l c  θ1=[32 32 -139 128 576 628 -186
  0 0 J   y c   0  -893 -1600]/320
     θ2=[32 32 -39 128 576 1028 1214
 Aeq θ Beq 1407 1600]/320

∆u   I 0 0 ∆u  (17) θ3=[-22 49 49 -88 -112 376 1109
 y   0 I 0 ∆u   y  1815 2450]/490
  ≤   y  ≤   θ4=[40 -31 40 160 436 646 1127
0 0 I    y c 
1528 2000]/400

 yc  
 
y c    θ5=[-122 49 49 -488 -1512 -1924 -2091
   -2185 -2450]/490
u Q 0
     θ0 
u 
θ6=[40 -131 40 160 36 -754 -1173

 bi Ai bs -1672 -2000]/400

[ ]'
with y = y N1 ,  , y N 2 , x and x the upper
Fig. 4. Convex hull computed by POLYLIB
and lower bounds of the respective variables. When The same system under some unfortunate constraints
the domain is totally determined a specific setpoint like 2 ≤ y i ≤ 5 N1 ≤ i ≤ N 2 will return an empty
will be compared with the reference trajectory domain which means infeasibility of the constraint
bounds in order to check its feasibility. predictive problem whatever the setpoint is.
4.2.Type I infeasibility 4.3.Type II infeasibility for step input response
Type I infeasibility is easy to check by inspection of Section 4.2 has proposed a technique to determine a
the inequalities or system dynamics. A possible way type I feasible domain (a polyhedron equivalent to
the set of constraints). This convex set is providing a presented in section 4.2 provides the results of Figure
starting point for type II infeasibility analysis. It tries 5, displaying the setpoint magnitude as a function of
to find an upper (resp. lower) bound for feasible step m, N u and N 2 .
setpoints. Section 3 has shown that all feasible steps
at initial instant preserve this property for all further
time instants. Thus the bounds of the feasible step
setpoints are determined as a linear program in the
type I feasible domain. As noticed in (Le Verge,
1992), the algorithm finding the dual representation
of a polyhedron is used to find the set of all solutions
Fig. 5. Feasible step setpoints.
to a linear programming problem, in our case:
The evolution of the upper bounds for the feasible
  step setpoints is presenting important differences in
 
max [0 0 1] θ Aeq θ =B eq ; bi ≤ Ai θ ≤b s  the case m = 1 and m = 2 compared with
  

 c 
 m > 2 . A closer look will reveal that whatever the
(21) choice of parameters N u and N 2 is, the
monotonicity of the feasible steps with respect to
Three cases may arise: 1) if the associated poly-
N 2 is lost as long as m < n a ( n a = 3 in the
hedron is empty, the problem is infeasible; 2) if there
example). This is an impor-tant aspect because in
exists a bi-directional ray z such that c z ≠ 0 or a
real-time applications, N u is kept as low as
unidirectional ray y such that c y > 0 , then the
possible and the real tuning parameter is N 2 .
maximum is unbounded; 3) if all bi-directional rays z
Adding to this the fact that, as shown in Theorem 1,
are such that c z =0 and all unidirectional rays y
for step setpoints the feasibility proper-ties are
are such that c y ≤ 0 , then the maximum is defined
inherited for all future instances if m ≥ n a , gives a
by max {c x x vertex of P} , and the set of
first result for the best control parameters.
solutions is:

{ } { }
G c is a ( m × N u ) matrix with rank strictly
P = conv .hull x11,  , x1v + cone y11,  , y1r + lin .related
spaceP with n a . which means that equality
1 constraints at the end of the prediction horizon are
where x1 are the vertices attaining this maximum
effective only for:
and y1 are such that cy 11 = 0 . This result is used
1

in the dedicated libraries but in case of fear m ≤ min( na + 1, N u ) (23)


prediction horizon Matlab active-set routines can be
used with an initial point inside the polyhedron Eq. This new information leads to m ∈{n a , n a + 1}
18. and N u ≥ m . The second rule is intrinsic because
m represents the number of equality constraints and
It can be noticed that step setpoints starting from a N u the number of degrees of freedom.
non-zero steady level can induce feasibility boun-
daries similar to the zero-level ones. This level will All further considerations have to be made in
interfere only in the free response. All the control relationship with the desired step amplitude. Figure
increments are initially zero and only the first term 6a represents the upper and lower bounds of the step
occurs. If the starting level is zero then l = l c = 0 . setpoints when the constraint for performances
y ≤0.01 w (1% for poor overflow) is added and
5. APPLICATION TO AN INDUCTION MOTOR with the control parameters m=4,
N u = 8,  ,19 , N 2 = 7,  ,19 while
As an illustration of the possible applications of the N 2 ≥ N u −1 . In order to benefit of the
feasibility analysis, consider the identified induction consequences of theorem 1 the combinations with
motor ( Te = 4 ms ) described by the polynomials: N u > N 2 + 1 are ignored.

A(q −1 ) =1 −1.062 q −1 +0.2046 q −2 −0.1426 q −3


B (q −1 ) = 4.1393 q −1 +5.2901 q −2
(22)
under the constraints ∆u ≤1; u ≤5 .
The type I feasibility is not rising problems, the
optimization domain being always non-empty as long Fig. 6. Feasible increasing (left a) step setpoints or
as N u > m . If the type I feasibility is assured, it can decreasing (right b) step setpoints.
be focused on the specific setpoint, tuning the
predictive control in order to satisfy the constraints For example a 200 rad/s step setpoint is feasible
specifications. Following the theoretical aspects for combinations of N u = 11,  ,19 and
N 2 = 12 ,  ,19 . Trying to avoid at maximum the 6. CONCLUSIONS
computational time a good choice seems to be
This paper analyses the feasibility problems in the
N u = N 2 = 12 . If the soft constraint is ignored, the
case of constrained receding horizon predictive
upper bound for step references would be control in the presence of inequality constraints on
w = 228 .0668 . This value can represent a process variables provided by operational restriction
measure of the feasibility robustness. Similar or by requested performance. The stability of the
procedure can be adopted for decreasing step control law is seen as a consequence of the feasibility
setpoint, leading to Figure 6b. of the quadratic program to be solved. The analysis is
performed through a polyhedral domains approach
and exploits the duality of such representations. The
class of step references is studied inferring upper and
lower bounds for the feasible setpoints. The main
result of such an analysis is the possibility of an off-
line tuning of the predictive control parameters in
such a way that the system response can inherit
Fig. 7. Step response of the induction motor. stability and robustness properties from the
feasibility assumptions.
Finally, the closed loop step response with the above
GPC tuning parameters and λ = trace (G ′G ) , and REFERENCES
satisfying constraints is given in Figure 7.
Clarke, D.W., C. Mohtadi and P.S. Tuffs, (1987),
The predictive controller can be tuned also for a Generalised Predictive Control: Part I The Basic
pulse setpoint. Lower bounds for feasible steps have Algorithm, Part II : Extensions and Interpretation,
Automatica, Volume No 23-2, pp. 137-160.
thus to be computed starting from a steady-level
corresponding to the upper front of the pulse ( Clarke D. W., R. Scattolini (1991). Constrained
200 rad/s for the example). With the considered receding-horizon predictive control. IEE Procee-
soft constraint y ≤202 , a decreasing step starting dings-D, Volume No 138-4, July.
at 200 rad/s with amplitude −400 rad/s Ehrlinger A., P. Boucher, D. Dumur, Unified
requires the tuning N u = N 2 = 16 (Figure 6b). All Approach of Equality and Inequality Constraints in
computation presented earlier have been computed G.P.C. 5th IEEE Conference on Control Applications,
off-line and even if the control sequence is computed pp. 893-899, Dearborn, September 1996.
on-line the feasibility is assured together with the Le Verge H. (1992). A note on Chernikova's Algo-
performances derived by the soft constraints. The rithm, Technical Report 635, IRISA-Rennes, France.
stability is also derived from the feasibility as long as Scokaert, P., D. Clarke (1994a). Stability and
all the manipulated signals are inside compact sets. feasibility in constrained predictive control. In:
The simulation proves the off-line predictions, Figure Advances in model-based predictive control, pp. 217-
8. 230. Oxford University Press.
The feasibility robustness can be confirmed in the Scokaert P., D. Clarke (1994b). Stabilising
simulations presented in Figure 9 for the same properties of constrained predictive control. IEE
controlled system with disturbances. Proceedings Control Theory Applications, Vol. 141,
Volume No 5, pp. 295-304, September.

Fig. 8. Pulse response of the controlled induction


motor – Parameters coming from feasibility analysis.

Fig. 9. Pulse response in case of disturbances.

Das könnte Ihnen auch gefallen