Home > mpt > extras > auxiliary > mpt_prepareDU.m

mpt_prepareDU

PURPOSE ^

MPT_PREPAREDU Extends system and problem matrices to deal with deltaU constraints

SYNOPSIS ^

function [sysStruct, probStruct] = mpt_prepareDU(sysStruct, probStruct)

DESCRIPTION ^

MPT_PREPAREDU Extends system and problem matrices to deal with deltaU constraints

 [sysStruct, probStruct] = mpt_prepareDU(sysStruct, probStruct)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Extends system and problem matrices to deal with deltaU constraints in
 closed-loop

 Introduce new state vector z(k) = [x(k) u(k-1)]
 The new input is now delta u, i.e., du(k)=u(k)-u(k-1).
 Therefore the state update equation can now be written as:

         [A B]         [B] 
 z(k+1)= [0 I] z(k) +  [I] du(k)

 internal function

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 sysStruct   - system definition
 probStruct  - problem definition

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 sysStruct   - system definition with tracking
 probStruct  - problem definition with tracking
      .Rdu   - additional field in probStruct; weight on the delta u; 
               by default, this is identical to the weight on u;

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003