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

State Estimation

As the states x(k), xd(k) are not directly measurable, predictions are obtained from a state estimator. In order to provide more flexibility, the estimator is based on the model depicted in Figure 2-2.

Figure 2-2: Model Used for State Estimation

Measurement Noise Model

We assume that the measured output vector ym(k) is corrupted by a measurement noise m(k). The measurement noise m(t) is the output of the linear time-invariant system

The system described by these equations is driven by the random Gaussian noise nm(k), having zero mean and unit covariance matrix.

Output Disturbance Model

In order to guarantee asymptotic rejection of output disturbances, the overall model is augmented by an output disturbance model. By default, in order to reject constant disturbances due for instance to gain nonlinearities, the output disturbance model is a collection of integrators driven by white noise on measured outputs. Output integrators are added according to the following rule:

  1. Measured outputs are ordered by decreasing output weight (in case of time-varying weights, the sum of the absolute values over time is considered for each output channel, and in case of equal output weight the order within the output vector is followed).
  2. By following such order, an output integrator is added per measured outputs, unless there is a violation of observability or the user forces it (through the OutputVariables.Integrators property described in OutputVariables).

An arbitrary output disturbance model can be specified through the function setoutdist. See also setoutdist for ways to remove the default output integrators.

State Observer

The state observer is designed to provide estimates of 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. The estimates are computed from the measured output ym(k) by the linear state observer

where m denotes the rows of C,D corresponding to measured outputs.

To prevent numerical difficulties in the absence of unmeasured disturbances, the gain M is designed using Kalman filtering techniques (see kalman in the Control System Toolbox™ documentation) on the extended model

     (2-6)  

where nu(k) and nv(k) are additional unmeasured white noise disturbances having unit covariance matrix and zero mean, that are added on the vector of manipulated variables and the vector of measured disturbances, respectively, to ease the solvability of the Kalman filter design.

See also getestim and setestim for details on the methods that you can use to access and modify properties of the state estimator.


 Provide feedback about this page 

Previous page Optimization Problem QP Matrices Next page

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