MPC controller state
The mpcstate
object represents the state of an implicit or
explicit MPC controller. Use an mpcstate
object to initialize the
controller object before simulation.
The controller state includes the:
States of the plant, disturbance, and noise models of the controller.
Manipulated variables used in the previous control interval.
State covariance matrix for the controller.
mpcstate
objects are updated during simulation using the internal
state observer based on the extended prediction model. The overall state is updated from the
measured output ym(k) by a linear
state observer. For mode information, see Controller State Estimation.
creates a controller state object for the implicit or explicit MPC controller
x
= mpcstate(mpcobj
)mpcobj
, setting the state object properties to their default
values.
sets the properties of the
state object to specified nondefault values. To use default values for a given property,
set the corresponding input argument to x
= mpcstate(mpcobj
,plant
,disturbance
,noise
,lastMove
,covariance
)[]
.
mpcmove | Compute optimal control action |
mpcmoveAdaptive | Compute optimal control with prediction model updating |
mpcmoveMultiple | Compute gain-scheduling MPC control action at a single time instant |
mpcmoveExplicit | Compute optimal control using explicit MPC |
getEstimator
| getindist
| getoutdist
| mpcmove
| setEstimator
| setindist
| setoutdist