Products & Services Solutions Academia Support User Community Company

Model Predictive Control Computation

This section describes how the model predictive control optimization problem is solved at each time step k (in mpcmove, mpc_sfun.mex, and mpcloop_engine.mex) by using the matrices built at initialization described in QP Matrices.

Unconstrained MPC

The optimal solution is computed analytically

and the model predictive controller sets capital deltau(k)=z*0, u(k)=u(k-1)+capital deltau(k).

Constrained Model Predictive Control

The optimal solution z*, epsilon* is computed by solving the quadratic program described in Equation 2-9 and Equation 2-11, using the QP solver coded in the qpsolver.mex function (see qpdantz for more details).


 Provide feedback about this page 

Previous page QP Matrices Using Identified Models Next page

Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS