Products & Services Industries Academia Support User Community Company


setestim

Purpose

Modify MPC object's linear state estimator

Syntax

Description

The setestim function modifies the linear estimator gain of an MPC object. The state estimator is based on the linear model (see State Estimation)

where v(k) are the measured disturbances, u(k) are the manipulated plant inputs, ym(k) are the measured plant outputs, and x(k) is the overall state vector collecting states of plant, unmeasured disturbance, and measurement noise models. The order of the states in x is the following: plant states; disturbance models states; noise model states.

setestim(MPCobj,M), where MPCobj is an MPC object, changes the default Kalman estimator gain stored in MPCobj to that specified by matrix M.

setestim(MPCobj,'default') restores the default Kalman gain.

The estimator used in Model Predictive Control Toolbox™ software is described in State Estimation. The estimator's equations are as follows.

Predicted Output Computation:

Measurement Update:

Time Update:

By combining these three equations, the overall state observer is

where L=AM.

Matrices A, Bu, Bv, Cm, Dvm can be retrieved using getestim as follows:

As an alternative, they can be retrieved from the internal structure MPCobj.MPCData.MPCstruct under the fields A,Bu,Bv,Cm,Dvm (see getmpcdata).

Examples

To design an estimator by pole placement, you can use the commands assuming that the linear system AM=L is solvable.

See Also

getestim, mpc, mpcstate


 Provide feedback about this page 

Previous page set setindist 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