Docsity

MPC model predictive, Appunti di Controlli Automatici

Anteprima parziale del testo

Scarica MPC model predictive e più Appunti in PDF di Controlli Automatici solo su Docsity!

Introduction toModel Predictive ControlRiccardo ScattoliniRiccardo ScattoliniDipartimento di Elettronica e Informazione

Finite horizon optimal control Consider the system At time^ k

we want to compute the sequence of future control At time

k^ we want to compute the sequence of future control variables minimizing the performance index^ where^ Riccardo Scattolini

Dip. di Elettronica e Informazione and^ N

is the so-called

prediction horizon

Infinite horizon (IH) LQ control Consider the IH performance index If the pair

(A B)

is reachable and the pair

(A C)

is observable

If the pair

(A,B)

is^ reachable and the pair

(A,C)

is^ observable,

the optimal control law is^ where P^ is the unique positive definite solution of the algebraicRiccati equationRiccati equation Riccardo Scattolini

Dip. di Elettronica e Informazione and the closed-loop system is asymptotically stable

Finite horizon (FH) optimal controlopen-loop solution - 1 Recall the Lagrange equation and define Then the future state variables are given by Riccardo Scattolini

Dip. di Elettronica e Informazione

7

Finite horizon (FH) optimal controlopen-loop solution - 3 The performance index is a quadratic function of

U(k)

It’s minimum easily turns out to be which is the sequence of future control variables computed at

k.

Riccardo Scattolini

Dip. di Elettronica e Informazione which

is the sequence of future control variables computed at

k.

Finite horizon (FH) optimal controlopen-loop solution - 4 Note that, letting^ The optimal sequence of future control moves is

p^

q

or equivalentlyor equivalently Riccardo Scattolini

Dip. di Elettronica e Informazione which is an open-loop solution for

i>

Constrained problems - 1 What happens when there are constraints on the control and/orstate variables? Consider for example classical saturations dueto actuators (row-by-row inequalities) The closed-loop solution is not available, while letting

p^

,^

g

while the open-loop one can be reformulated as a mathematicalprogramming problem^ Riccardo Scattolini

Dip. di Elettronica e Informazione p^ g^

g p

Constrained problems - 2 Performance index to be minimized with respect to

U(k)

with constraints This problem can be easily solved by means of a

QP

This problem can be easily solved by means of a

QP

method with reduced computational time (which obviouslydepends on the size) Riccardo Scattolini

Dip. di Elettronica e Informazione

Receding Horizon

past^ future

predicted state future control moves k

K+N

K+^

K+N+

Riccardo Scattolini

Dip. di Elettronica e Informazione

The RH control law The RH principle allows one to obtain the state-feedbacktime-invariant control law For constrained systems this is implicitly defined, while inFor constrained systems this is implicitly defined, while inthe unconstrained case it coincides with the first element ofthe open-loop solution and with the first element of the closed loop solutionand with the first element of the closed-loop solution obtained by iterating the Riccati equation backwards from Riccardo Scattolini

Dip. di Elettronica e Informazione

Reference signalsand disturbances - 1 Consider the system with disturbances and the cost function penalizing the tracking error withand the cost function penalizing the tracking error withrespect to the reference signal

o y

Again, define Riccardo Scattolini

Dip. di Elettronica e Informazione

Reference signalsand disturbances - 2 Then, the future outputs are and the problem is equivalent to minimize the cost functionand the problem is equivalent to minimize the cost function Riccardo Scattolini

Dip. di Elettronica e Informazione

Comments - 1 Concerning the RH control law obtained from ƒ In all the considered cases the state

x(k)^

has been

assumed to be measurable. Otherwise an observer canb^

d^ l^

t^

ti^ t

th^

di t^

b^

d(k)

be used, also to estimate the disturbance

d(k).

ƒ^ No integral action has been forced in the feedbackcontrol law so that (provided that closed loop stabilitycontrol law, so that (provided that closed-loop stabilitycan be assumed), no steady state zero error regulationcan be achieved for constant reference signal.can be achieved for constant reference signal. Riccardo Scattolini

Dip. di Elettronica e Informazione

Comments - 2 For constant reference signals

, assuming that there

exists a pair

such that p a more significant performance index is which penalizes the control deviation with respect to thedesired equilibrium point.desired equilibrium point.Note also that these performance indices do not penalize thestate, so that a observability (detectability) assumption is^ Riccardo Scattolini

Dip. di Elettronica e Informazione ,^

y^ (^

y)^

p

advisable.