Sei sulla pagina 1di 10

Nigerian Journal of Technology (NIJOTECH)

Copyright
Vol. 31, No. 2, July, 2012, pp. 139148.
2012 Faculty of Engineering,
University of Nigeria. ISSN 1115-8443

MODEL PREDICTIVE CONTROL FUNDAMENTALS

P.E. Orukpe
a Department of Electrical/Electronic Engineering, University of Benin, Nigeria.
Email: patience.orukpe01@imperial.ac.uk

Abstract
Model Predictive Control (MPC) has developed considerably over the last two decades, both within
the research control community and in industries. MPC strategy involves the optimization of a
performance index with respect to some future control sequence, using predictions of the output
signal based on a process model, coping with constraints on inputs and outputs/states. In this
paper, we will present an introduction to the theory and application of MPC with Matlab codes
written to simulate an example of a randomly generated system. This paper can serve as tutorial
to anyone interested in this area of research.
Keywords: model predictive control, linear systems, discrete-time systems, constraints, quadratic programming

1. Introduction to the plant. The remaining optimal inputs are dis-


carded, and a new control problem is solved at time
Model Predictive Control (MPC), also known as t + 1. As new measurements are collected from the
Moving Horizon Control (MHC) or Receding Horizon plant at each time t, the receding horizon mechanism
Control (RHC), is a popular technique for the con- provides the controller with the desired feedback char-
trol of slow dynamical systems, such as those encoun- acteristics [4].
tered in chemical process control in the petrochemi- MPC has been successful, as it can handle con-
cal, pulp and paper industries, gas pipeline control, straints on the manipulated and controlled variables
waste heat boiler [1], and active vibration control of in a systematic manner, handles multivariable control
railway vehicle [2]. Using the definition of Lee and problems naturally, it is an easy to tune method, it
Marcus 1967 - MPC is one technique for obtaining a is a totally open methodology based on certain ba-
feedback controller synthesis from knowledge of open- sic principles which allow for future extensions [5], [6].
loop controllers to measure the current processes state Discussions on some of the design techniques based on
and then compute very rapidly for this open-loop con- MPC and their properties can be found in the review
trol function. The first portion of this function is then article [3]. Stability of MPC has been achieved by the
used during a short interval, after which a new value use of terminal cost function, a terminal constraint
of the function is computed for this measurement. set innite horizon, fake algebraic riccati equation and
The name MPC stems from the idea of employing a local controller [7], [8]. An overview of commer-
an explicit model of the plant to be controlled which cially available Model Predictive Control technology
is used to predict the future output behavior. This as given by vendors for both linear and non-linear
prediction capability allows solving optimal control MPC is presented in a survey [9].
problems on line, where tracking error, namely the Although MPC has been successful in industries
dierence between the predicted output and the desired with slow processes, computational issues with respect
reference, is minimized over a future horizon, possibly to fast processes are still open to further research. In
subject to constraints on the manipulated inputs, out- this paper, we will shed light on the basics of MPC
puts and states. When the model is linear, then the with or without constraint and this work was moti-
optimization problem is quadratic if the performance vated by the work in [10]. This paper is organized
index is expressed through the `1 - norm, or linear if as follows: section 2 describes what MPC involves;
expressed through the `1 /` - norm [3]. The result section 3 presents the problem formulation, section 4
of the optimization is applied according to the reced- outlines ways of solving predictive control problems,
ing horizon philosophy: At time t only the first input section 5 presents the simulation results and section 6
of the optimal command sequence is actually applied provides conclusion.

Nigerian Journal of Technology Vol. 31, No. 2, July 2012.


140 P.E. ORUKPE
2. What is in MPC? 2.4. Types of MPC
In this section, we will look at what MPC involves. There are two main classes of MPCs:

2.1. MPC Components Linear MPC


All the MPC algorithms possess common elements 1. Uses linear model: x = Ax + Bu
and different options can be chosen for each element 2. Quadratic cost function: F = xT Qx + uT Ru
giving rise to different algorithms. These elements are: 3. Linear constraints: Hx + Gu < 0
4. Quadratic program.
Predictive model (i.e. process model and distur-
bance model),
Nonlinear MPC
Objective function and 1. Nonlinear model: x = f (x, u)
2. Cost function can be nonquadratic: F = (x, u)
Obtaining the control law.
3. Nonlinear constraints: h(x, u) < 0
The basic structure of MPC is as shown in figure 1. 4. Nonlinear program
The model is the cornerstone of MPC and can be
either process model or disturbance model. Process 2.5. Variations of MPC
model is of the following form: In this section, we will state other classes of MPC.
impulse response used mostly in the industry Other classes of MPCs include:

step response Robust MPC guarantees feasibility and stabil-


ity,
transfer function midway between industry and
academic community Feedback MPC mitigate shrinkage of feasible
region,
state space used mostly in the academic re-
search community Pre-computed MPC Piecewise-linear solution
while the disturbance model commonly used is Con- stored in database or solved off-line using para-
trolled AutoRegressive and Integrated Moving Aver- metric (linear or quadratic) programming, and
age (CARIMA).
Decentralized MPC as used in autonomous air
2.2. What makes MPC successful in industry? vehicle speed up computation
Some of the features that have contributed to the
widespread and successful use of MPC in industries 2.6. Basics of MPC
are listed below: MPC consist of the following three ideas [5]:-
1. Explicit use of a model to predict the process out-
It handles multivariable control problems natu-
put along a future time horizon
rally.
2. Calculation of a control sequence to optimize a per-
It can take account of actuator limitations. formance index
3. A receding horizon strategy, so that at each instant
It allows operation closer to constraints, hence the horizon is moved towards the future, which in-
increased profit. volves the application of the first control signal of
It handles structural changes. the sequence calculated at each step.
The methodology of all the controllers belonging
It has plenty of time for on-line computations. to the MPC family is characterized by the following
It can handle non-minimal phase and unstable strategy represented in Figure 2:
processes. Step 1: The predictive future outputs yb(t +
k|t), k = 1, . . . , N , for the prediction horizon are
It is an easy to tune method. calculated at each instant t using the process model.
These depend upon the known values up to instance t
2.3. Characteristics of MPC (past inputs and outputs), including the current out-
In this section, we will state the ideas that are used put (initial condition) y(t) and on the future control
in MPC. The ideas, appearing in MPC are basically: signals u(t + k|t), k = 0, . . . , N 1, to be calculated.
1. Moving horizon implementation Step 2: The sequence of future control signals is
2. Performance oriented time domain formulation computed to optimize a performance criterion, often
3. Incorporation of constraints to minimize the error between a reference trajectory
4. Explicit system model used to predict future plant and the predicted process output. Usually the control
dynamics. effort is included in the performance criterion.

Nigerian Journal of Technology Vol. 31, No. 2, July 2012.


Model Predictive Control Fundamentals 141

Figure 1: Basic structure of MPC.

Step 3: Only the current control signal u(t|t) is coincidence points i.e. one must have a simulation
transmitted to the process. At the next sampling in- model capable of running faster than real time.
stant y(t + 1) is measured and step 1 is repeated and Model of the plant in state space is of the form
all sequences brought up to date. Thus u(t + 1|t + 1)
is then calculated using the receding horizon concept, x(k + 1) = Ax(k) + Bu(k) (1)
since the prediction horizon remains of the length as
before, but slides along by one sampling interval at y(k) = Cy x(k) (2)
each step. z(k) = Cz x(k) (3)
With the aid of increase speed in computer hard-
n l my mz
ware MPC can now be applied to fast processes in- where x R , u R , y R , z R
stead of the confinement to slow processes. MPC can x is the state vector, u is the input vector, y is the
be tuned easily apart from the fact that it handles measured outputs and z is the vector of outputs which
constraints properly. Constraints can be either on the are to be controlled, either to particular set-points, or
output of the controlled processes (control variable) to satisfy some constraints, or both.
or on the control signals that is inputs to the process The type of system model used in this paper can be
(manipulated variables). These constraints are in the of the following types:
form of saturation characteristics e.g. valves with a fi-
Linear model, nonlinear plant The plant in re-
nite range of adjustment, control surface with limited
ality behaves in some complicated nonlinear fash-
deflection angles etc. Input constraints also appear in
ion.
the form of rate constraints: valves and other actua-
tors with limited slew rates. First principles model and identification The
linearized model (1) (3) used in predictive con-
trol can be obtained by performing test on the
3. Problem Formulation
plant, which involves injecting known signals,
such as steps, multi-sines, pseudo random, at the
In this section, we describe the type of system model
plant inputs, and recording the resulting outputs.
used in this work, and give a brief formulation of the
Linearized models can then be obtained by us-
MPC problem. In this work a different method of
ing the techniques of system identification, which
formulation is used as opposed to that used in [11].
range from simple curve-fitting to sophisticated
statistically based methods. A model in which
3.1. State space model the equations are obtained from a knowledge of
MPC can be used on any model, all that is needed the underlying physical, chemical and thermody-
to know is the step response at the coincidence points namic processes is available in nonlinear model
and to be able to compute the free response at the of the plant. This is done for the purpose of

Nigerian Journal of Technology Vol. 31, No. 2, July 2012.


142 P.E. ORUKPE




Figure 2: Model predictive control strategy.

operator training or safety certification. This is where  = current error and s = set-point.
done by applying perturbations to the nonlinear
Hp
model, and estimating the Jacobian matrices nu- X
V (k) = z (k + i \ k) r(k + i \ k)||2Q(i)
||b
merically. Another very effective way is to use the
i=Hw
nonlinear model to generate simulation data for (4)
u 1
HX
particular conditions, and then to apply system
+ u(k + i \ k)||2R(i)
||b
identification techniques to this data, as if it has
i=0
been obtained from the plant itself [7].
Hp - prediction horizon, Hu - control horizon and Hw
- window parameter and is assumed to be one, Hu
3.2. A basic formulation Hp , bu(k + i \ k) = 0 for i = Hu , thus u
b(k + i \ k) =
b(k + Hu 1) for all i Hu .
u
A formulation is done on the assumption that the The form of the cost function (4) implies that the
plant model is linear, time invariant, the cost function error vector zb(k+i\k)r(k+i\k) is penalized at every
is quadratic and the constraints are in the form of lin- point in the prediction horizon, in the range Hw
ear inequalities. The cost function does not penalize i Hp . This is indeed the most common situation in
particular values of the input vector u(k), but only predictive control.
changes of the input vector u(k). The tuning parameters Hp , Hu , Hw , Q(i) and R(i)
affects the behaviour of the closed-loop combination of
the plant and predictive controller, which are adjusted
3.2.1. Cost function
to give satisfactory dynamic performance.
The cost function V penalizes deviations of the pre-
dicted control outputs zb(k + i \ k) from a (vector) ref- 3.2.2. Constraints and MPC
erence trajectory rb(k + i \ k). One of the major selling points of MPC is its abil-
The reference trajectory defines an important as- ity to do on-line constraint handling in a systematic
pect of closed-loop behaviour of a controlled plant way, hopefully retaining to some extent the stability
and it is frequently assumed that the reference trajec- margins and performance of the unconstrained law.
tory approaches the set-point exponentially from the The algorithm does this by optimizing predicted per-
current output value, with the time constant of the formance subject to constraint satisfaction. There are
exponential, which shall be denoted Tref . Sampling various types of constraints on input, output or state,
interval is denoted as Ts . namely:

rb(k + i \ k) = s(k + i) (k + i) = s(k + i) eiTs /Tref (k) Band constraints

= s(k + i) i (k) = (k) = s(k) y(k) Overshoot constraints

Nigerian Journal of Technology Vol. 31, No. 2, July 2012.


Model Predictive Control Fundamentals 143
Monotonic behaviour 3.4. Measured state, no disturbance
Assuming that the whole state is measured, so that
Nonminimal phase behaviour
b(k \ k) = x(k) = y(k), so (Cy = I), and nothing is
x
Actuator nonlinearities known about the disturbance or measurement noise.
Prediction is made by iterating the model (1), as fol-
Terminal state equality constraints and lows:
b(k + 1 \ k) = Ax(k) + Bb
x u(k \ k) (8)
Terminal set constraints.

Constraints on the input are typically hard con- b(k + 2 \ k) = Ab


x x(k + 1 \ k) + Bb
u(k + 1 \ k) (9)
2
straints, since they represent limitations on process u(k \ k) + Bb
= A x(k) + ABb u(k + 1 \ k) (10)
equipment (such as valve saturation), and as such can-
not be relaxed or softened. Constraints on the output ..
(i.e. performance goals), are mainly due to safety rea- .
sons and must be controlled in advance because out- b(k + Hp \ k) = Ab
x x(k + Hp 1 \ k) + Bb u(k + Hp 1 \ k)
put variables are affected by process dynamics, and it (11)
is usually only required to make ymax and yi,max as = AHp x(k) + AHp 1 u b(k \ k), . . . , Bb
u(k + Hp 1 \ k)
small as possible, subject to the input constraints. (12)
Constraints of the following form hold over the con- b(k \ k) was used instead of u(k \ k), because at the
u
trol and prediction horizons where vec(0) denotes a time when we need to compute the predictions we do
column vector of elements zero. not know what u(k) will be.
Assuming that the input will only change at times
E vec (bu(k \ k), . . . , bu(k + Hu 1 \ k), 1) vec (0)
k, k + 1, , k + Hp 1, and will remain constant
(5)
after that, so we have u b(k + i \ k) = u b(k + Hu 1) for
u(k \ k), . . . , u
F vec (b b(k + Hu 1 \ k), 1) vec (0) (6) Hu i Hp 1. Let the prediction be expressed in
G vec (bz (k + Hw \ k), . . . , zb(k + Hp 1 \ k), 1) vec (0) terms of b u(k + i \ k) rather than u b(k + i \ k), knowing
(7) that bu(k + i \ k) = u b(k + i \ k) + u b(k + i 1 \ k) and
E, F and G are matrices of suitable dimensions and at the time k we already know u(k 1). So we have
the constraints represent actuator slew rates, actua-
b(k \ k) = b
u u(k \ k) + u(k 1) (13)
tor ranges and controlled variable constraints respec-
tively. u
b(k +1\k) = b u(k \k)+u(k 1) (14)
u(k +1\k)+b

3.3. Predictions ..
.
To solve the MPC problem, we must have a way b(k+Hu 1\k) = b
u u(k+Hu 1\k)+. . .+b u(k\k)+u(k1)
of computing the predicted values of the control vari- (15)
ables, zb(k + i \ k) from our best estimate of the cur- Substituting (13) (15) into (8) (12) and rearrang-
rent state xb(k \ k), and the assumed future inputs, or ing, we obtain the following matrix-vector form:
equivalently, the latest input u(k1) and the assumed
B

b(k + 1 \ k) A

x
future input changes, b u(k + i \ k). The choice of .. .. ..
prediction is another tuning parameter, it has great .

. .


H 1
Ai B
P u
AHu

effect on the performance of the closed-loop system. b(k + Hu \ k)
x

i=0


=

x(k) +
Hu iB
u(k 1)
AHu +1
P
b(k + Hu 1 \ k)
x A

The prediction of any system can be done base on

i=0
.. .. .

the following:

.
..
.
PHp 1 i
b(k + Hp \ k)
x AHp AB
i=0
1. No disturbance, full state measurement. In which | {z }
past
(1) (3) are iterated
B 0
AB + B 0
2. Using an observer. In this case the state of the


.. .. ..
plant is unknown i.e. one cannot measure the full
. . .

bu(k \ k)

state vector. The use of Kalman filter come into


PHu 1 i

..
PHu A
+ B B
i=0

i
.
play when the output of the plant is subjected
i=0 A B AB + B
b
u(k + H u 1 \ k)
to white noise disturbances with known covari-
.. ..


. .
ance matrices. The gain of the observer is a tun- PHp 1 i
AB
PHp Hu i
AB
i=0 i=0
ing parameter, which affects the behaviour of the | {z }
future
predictive controller particularly its response to (16)
disturbances, its stability margins etc [7].

Nigerian Journal of Technology Vol. 31, No. 2, July 2012.


144 P.E. ORUKPE
The predictions of z are now obtained simply as: Combining (16) and (17), we get
A

zb(k + 1 \ k) Cz 0 b(k + 1 \ k)
x

.. . .. ..
.

=
.. .. .
.

. . . . b(k + 1 \ k)
z Cz 0
AHu

zb(k + Hp \ k) 0 Cz b(k + Hp \ k)
x
. = ..
.. .
x(k)
. . . A u +1
H
. . .
(17) b(k + Hp \ k)
z 0 Cz

.
.
.
AHp
Table 1: Dimensions of matrices and vectors involved in com- B
puting the optimal moves, (plant has l inputs, n states and m .
.

.

controlled outputs). Cz 0
PHu 1 i


. .. . i=0 A B
+ u(k 1)
.. . Hu i
P
. . i=0 A B

Matrix Dimensions
0 Cz .
Q m(Hp Hw + 1) m(Hp Hw + 1)
.
.


R lHu lHu PHp 1 i
A B
i=0
m(Hp Hw + 1) n
B 0

m(Hp Hw + 1) AB + B 0
m(Hp Hw + 1) lHu

. .


. .. .

m(Hp Hw + 1) 1 Cz 0
. . .


G lHu 1 . .. . Hu 1
Ai B
P


+ . . i=0 B
. . .
H
PHu i
lHu lHu


i=0 A B AB + B
0 Cz
. .
. .
. .
PHp 1 i PHp Hu i
i=0 A B i=0 A B

bu(k \ k)
.
.
.
4. Solving Predictive Control Problems

u(k + Hu 1 \ k)
b
(20)
In this section, we outline the solution of MPC prob-
lem for the unconstrained and constrained cases. Equation (20) implies that
Z(k) = x(k) + u(k 1) + U (k) (21)
4.1. Unconstrained problems defining
In this section, we will look at measured state, no (k) = T (k) x(k) u(k 1) (22)
disturbances. The cost function to be minimized is Making T the subject of the formula in (22) and
Hp subtracting it from (21) gives
X
V (k) = z (k + i \ k) r(k + i \ k)||2Q(i)
||b Z(k) T (k) = U (k) (k)
i=Hw
(18) Thus equation (19) is now in the form of
u 1
HX
+ ||b
u(k + i \ k)||2R(i) V (k) = ||U (k) (k)||2Q + ||U (k)||2R (23)
i=0 T T T T
= [U (k) (k) ]Q[U (k)(k)]+U (k) RU (k)
(24)
This is rewritten as
= (k)T Q(k)2U (k)T T Q(k)+U (k)T (T Q+R)U (k)
V (k) = ||Z(k) T (k)||2Q + ||U (k)||2R (19) (25)
Equation (25) implies
where
V (k) = constant U (k)T G + U (k)T HU (k)
zb(k + Hw \ k) rb(k + Hw \ k)

where G = 2T Q(k) and H = T Q + R which does
.. ..
Z(k) = ; T (k) = ; not depend on U (k).

. .
zb(k + Hp \ k) rb(k + Hp \ k) To get the optimal of U (k), we find the gradient
of V (k) and set it to zero, so that the optimal is
u(k \ k)

b U (k)opt = 0.5H1 G
U (k) =
..
.
If the number of plant inputs is l, then we just use
u(k + Hu 1 \ k)
b the first l rows of the vector U (k)opt which is repre-
and the weighting matrices Q and R are given as sented as
U (k)opt = [Il 0l 0l ]H1 T (k) (26)
Q(Hw ) 0 R(0) 0

Q=
.
. .. .
.

; R =

.
. .. .
.

The only part of the solution which changes from time
. . . . . .
0 Q(Hp ) 0 R(Hu 1) to time is the tracking error (k).

Nigerian Journal of Technology Vol. 31, No. 2, July 2012.


Model Predictive Control Fundamentals 145
4.2. Constrained problems Then we assemble the inequalities (30), (31), and (32)
In this section, we look at the formulation of MPC into a single inequality
as a QP problem. Now for a system subject to con-
F

straints, we recall that these constraints are in the F1 u(k 1) f
[x(k) + u(k 1)] g (33)
form:
W w
 
U (k)
E 0 (27)
1
  The constrained optimization problem to be solved
U (k) is
F 0 (28)
1 min U (k)T HU (k) GT U (k) (34)
 
Z(k) subject to the inequality (33) and this is a standard
G 0 (29)
1 optimization problem known as Quadratic Program-
where U (k) = [bu(k \ k)T , . . . , u
b(k + Hu 1 \ k)T ]T is ming.
defined analogously to U (k). We have to express all The solution of the predictive controller is the same
of these as constraints on U (k). Suppose F has the as in the unconstrained case as long as the constraints
form F = [F1 , F2 , . . . , FHu , f ] where each Fi is of are inactive. However, if the constraints become active
size q m, and f has size q 1, so that (28) can be then the controller becomes nonlinear.
written as
4.3. Solving QP problems
Hu
Quadratic Programming (QP) methods are widely
X
b(k + i 1 \ k) + f 0
Fi u
i=1
used in applications of model predictive control. Most
Pi1 applications require a linear model to represent the
b(k + i 1 \ k) = u(k 1) +
Since u j=0 u(k + j \ k),
b process of interest over a moving time horizon with
we can write (28) as a quadratic cost function to drive the controlled vari-
ables back to their setpoints. QP problems can be
Hu Hu
X X solved using either active set method or interior point
u(k \ k) +
Fj b u(k + 1 \ k) +
Fj b
method [12]. Active set method is the most common
j=1 j=2
method of solving QP problems. For details see [5].
u(k + Hu 1 \ k)
+ FHu b While the Interior point method is becoming more
Hu
X popular within MPC community, as the convergence
+ Fj u(k 1) + f 0 rates are far faster. For further details see [7], [13].
j=1

PHu 4.4. Softening the constraints


Now we define F = j=1 Fj and F =
[F1 , , FHu ]. Then (28) can be written as Feasibility is usually a term applied to optimiza-
tion problems and describes whether a solution ex-
FU (k) F1 u(k 1) f (30) ists. Sometimes, during the optimization stage, the
region defined in the decision variables by the set of
Equation (28) has been converted into a linear in- constraints is empty. In these conditions, the opti-
equality constraint on U (k). Next, we transform mization algorithm cannot find any solution and the
(29), assuming full state measurement, we can use (21) optimization problem is said to be infeasible. Also,
to write (29) as unobtainable control objectives that take the process
  away from the operating point may cause infeasibil-
x(k) + u(k 1) + U (k) ity. An optimization problem is feasible when the cost
G 0
1 function is bounded and there are points in the space
Now let G = [, g], where g is the last column of of decision variables that satisfy all constraints.
G, this is the same as A systematic way of dealing with infeasibility is to
soften the constraints. That is, rather than regard
[x(k) + u(k 1)] + U (k) + g 0 the constraints as hard boundaries which can never
be crossed, to allow them to be crossed occasionally,
or but only if really necessary.
There is an important distinction between input
U (k)] [x(k) + u(k 1)] g (31)
and output constraints. Usually, input constraints
To convert equation (27) to an inequality form, let really are hard constraints, and there is no way in
E = [W, w] which will result in which they can be softened: valves, control surfaces,
and other actuators have limited ranges of action, and
W U (k) w (32) limited slew rates. Once these have been reached there

Nigerian Journal of Technology Vol. 31, No. 2, July 2012.


146 P.E. ORUKPE

 
 
Figure 3: Cost function for unconstrained case.


 !! !! !
 

 
  
Figure 4: States for unconstrained case.


  
 !! !
 

Nigerian Journal of Technology Vol. 31, No. 2, July 2012.


Model Predictive Control Fundamentals 147

 
Figure 5: Cost function for the constrained case.


 !! #
! !
 

 
Figure 6: States for the constrained case.


  
 #
! !
 

Nigerian Journal of Technology Vol. 31, No. 2, July 2012.


148 P.E. ORUKPE
is no way of exceeding them, except for fitting more long periods of time and also its ability to handle con-
powerful actuators. Thus input constraints are usu- straints. In this work, we have presented the impor-
ally not softened. tance of MPC, components of MPC, and mentioned
A straightforward method of softening output con- some practical applications of MPC. MPC gives a con-
straints is to add new variables, slake variables that troller that stabilizes the system being controlled due
are defined in such a way that they are non-zero only if to the use of Lyapunov like function that ensures con-
the constraints are violated. Then their non-zero val- vergence.
ues are heavily penalized in the cost function, so that
the optimizer has a strong incentive to keep them at
References
zero if possible. For further details see [13].
1. Rismayasari, D., Joelianta, E. and Chaerani, D. The im-
plementation of robust - optimization based model predic-
5. Simulation Results tive control to waste heat boiler. International Conference
on Instrumentation, Control & Automation, Bandung, In-
donesia, 2009, pg 184 - 189.
To illustrate the algorithm described in previous
2. Orukpe, P. E., Zheng, X., Jaimoukha, I. M., Zolotas, A.
section, we present an example. A randomly gener- C. and Goodall, R. M. Model predictive control based on
ated system has state space model parameters: mixed control approach for active vibration control of rail-
way vehicles. Vehicle Systems Dynamics, Vol. 46, Num-
0.1267 0.3357 0.0958 0.1723 ber 1, 2008, pg 151 160.
0.4877 0.3487 0.0511 0.6393 3. Garcia, C. E., Prett, D.M. and Morari, M. Model predic-
A= ; tive control: theory and practice a survey. Automatica,
0.0367 0.3482 0.0547 0.0399
Vol. 25, Number 3, 1998, pg 335 348.
0.0842 0.0110 0.2125 0.0334
4. Bemporad, A. and Morari, M. Robust model predictive
0.9501 control: a survey. In Garulli, A., Tesi, A. and Vicino,
0.2311 A., Editors, Robustness in Identification and Control, Vol.
B= 0.6068 ; C = Cz = [1 0 0 0]
245 of Lecture notes in Control and Information Sciences,
Springer-Verlag, 1999, pg 207 226.
0.4860
5. Camacho, E. F. and Bordons, C. Model predictive control,
Second Edition, Springer, 2004.
with Hp = 5; Hu = 3; Hw = 1; Q > 0; R > 0. We use
6. Mayne, D. Q., Rawlings, J. B., Rao, C.V. and Scokaert,
the following constraints:
P. O. M. Constrained model predictive control: stability
and optimality, Automatica, Vol. 36, 2000, pg 789 814.
10 u(k) 10
7. Maciejowski, J. M. Predictive control with constraints,
u(k) 2 Prentice Hall, 2002.
3 z(k) 5 8. Rawlings, J. B. and Muske, K. R. The stability of con-
strained receding horizon control, IEEE Transactions on
Automatic Control, Vol. 38, Number. 10, 1993, pg 1152
with initial state x0 = [0.5 0.5 0.2 0.2]. The 1156.
MPC controller was implemented and simulated with
9. Qin, S. J. and Badgwell, T. A. A survey of industrial model
or without constraints using the methods outlined in predictive control technology, Control Engineering Prac-
section 3 and 4. Figures 3, 4, 5, and 6 illustrate the tice, Vol. 11, 2003, pg 733 746.
results. As can be seen from the figures, stability was 10. Orukpe, P. E. Basics of model predictive control Imperial
achieved using the principle underlying MPC. Fur- College London, Presentation, 2005.
thermore, in the presence of constraints, no violations 11. Orukpe, P. E. A note on receding horizon control for linear
occurred. Thus the existence of a feasible solution en- discrete time systems subject to constraints Journal of
sures constraint satisfaction. The cost function was Electrical and Electronic Engineering, Benin Nigeria, Vol.
10, Number 1, ISSN 1118-5058, 2006, pg 19 26.
decreasing with respect to time and is never less than
12. Bartlett, R. A., Biegler, L. T., Backstorm, J. and Gopal,
zero. The minimum performance index, that is V = 0, V. Quadratic programming algorithms for large scale
is consistent with offset free tracking, as it implies that model predictive control, Journal of Process Control, Vol.
both error is zero and control is unchanging. 12, 2002, pg 775 795.
13. Rao, C. V., Wright, S. J. and Rawlings, J. B. Application
of interior point methods to model predictive control,
6. Conclusion Journal of optimization theory and application, Vol. 99,
Number 3, 1998, pg 723 757.
The aim of this paper was to give insight into model
predictive control and run Matlab simulations to il-
lustrate some of the theory for linear systems using a
randomly generated system. MPC is popular due to
its ability to yield high performance control systems
capable of operating without expert intervention for

Nigerian Journal of Technology Vol. 31, No. 2, July 2012.

Potrebbero piacerti anche