Model Predictive Control Toolbox™ Previous page   Next Page 
mpcstate
 Provide feedback about this page

Define MPC controller state

Syntax

Description

xmpc=mpcstate(MPCobj,xp,xd,xn,u) defines an mpcstate object for state estimation and optimization in an MPC control algorithm based on the MPC object MPCobj. The state of an MPC controller contains the estimates of the states x(k), xd(k), xm(k), where x(k) is the state of the plant model, xd(k) is the overall state of the input and output disturbance model, xm(k) is the state of the measurement noise model, and the value of the last vector u(k-1) of manipulated variables. The overall state is updated from the measured output ym(k) by a linear state observer (see State Observer).

xmpc=mpcstate(MPCobj) returns a default extended initial state that is compatible with the MPC controller MPCobj. Such a default state has plant state and previous input initialized at nominal values, and the states of the disturbance and noise models at zero.

Note that mpcstate objects are updated by mpcmove through the internal state observer based on the extended prediction model.

See Also

getoutdist, setoutdist, setindist, getestim, setestim, ss, mpcmove


 Provide feedback about this page 

Previous page mpcsimopt mpctool Next page

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