Model Predictive Control (MPC)
MPC
Linear MPC requires solving a Quadratic Program (QP)
s.t.
where
These define a polyhedron where the solution should lie.
QP solver
fast gradient method for dual QP
apply fast gradient method to dual QP
s.t.
Example:
Model:
Where
, , and ,Termination criterion:
primal feasibility
primal oprimality
and
solve MPC:
Step 1: get a linear discrete-time model
system linearization
Step 2: design the MPC controller
LPV
LinearParameter-Varying(LPV) model
depends on
the quadratic perfirmance index can also be LPV, and the resulting optimization problem is still a QP:
The QP matrices must be constructed online, contrarily to the LTI case.
An LPV model can obtained by linearizing nonlinear model
where
Linearize:
$$\dot{x}c(t) \simeq \underbrace{ \frac{\partial f}{\partial x}|{\bar{x}_c,\bar{u}_c,\bar{p}c}}{A_c} (x_c(t)-\bar{x}c) + \underbrace{ \frac{\partial f}{\partial u}|{\bar{x}_c,\bar{u}_c,\bar{p}c}}{B_c} (u_c(t)-\bar{u}c)+ \underbrace{ \left[ \frac{\partial f}{\partial p}|{\bar{x}_c,\bar{u}_c,\bar{p}_c} f(\bar{x}_c,\bar{u}c,\bar{p}c) \right]}{B{vc}}
- convert
to discrete-time and get prediction model - same thing for the output equation, to get matrices
and
LTV
Linear time-varying (LTV) model
at each time the model can also change over the prediction horizon
the optimization problem is still a QP
As for LPV-MPC, the QP matrices must be constructed online.
- LTV/LPV model can be obtained by linearing nonlinear models
- nominal trajectories:
=shifted previous optimal sequence, or reference trajectories.
- no preview:
- no preview: