Model Predictive Control Toolbox    
mpcaugss

Differences the states of a system and augments them with the output variables. Mainly used as a utility function for setting up model predictive controllers.

Syntax

Description

Consider the process shown in the above block diagram. A state-space representation is:

where x is a vector of n state variables, u is a vector of nu manipulated variables, d is a vector of nd measured disturbances, w is a vector of nw unmeasured disturbances, y is a vector of ny plant outputs, z is measurement noise, and , u, d, w, etc., are constant matrices of appropriate size. The variable = Cx(k) represents the plant output before the addition of the direct contribution of the inputs [Duu(k) + Ddv(k) + Dww(k)] and the measurement noise [z(k)]. (The variable is the output before addition of the measurement noise). Define:

etc. Then equations 4.28 and 4.29 can be converted to the form

xa(k+1) = axa(k) + ua u(k) + da (k) + wa w(k)

y(k) = Caxa(k) + Duu(k) + Ddd(k) + Dww(k) + z(k)

where, by definition,

The mpcaugss function takes the matrices , (= [u d w]), C as input, and creates the augmented matrices a, a, Ca and Da in the form shown above. The D input matrix is optional. If you include it, mpcaugss assumes it has the form D = [Du Dd Dw]. If you omit it, the default is zero. Note that all MPC design routines require Du = Dd = 0.

The last output variable, na, is the order of the augmented system, i.e.,
na = n + ny. It is optional.

Example
The following system has 2 states, 3 inputs, and 2 outputs.

Here is the augmentation command, followed by the calculated results:



mod2step, step format mpccl