Home > mpt > extras > control > mpt_simplexContr.m

mpt_simplexContr

PURPOSE ^

MPT_SIMPLEXCONTR Computes a piecewise affine feedback law defined over simplices

SYNOPSIS ^

function [ctrlStruct,vol]=mpt_simplexContr(sysStruct,probStruct,Options)

DESCRIPTION ^

MPT_SIMPLEXCONTR Computes a piecewise affine feedback law defined over simplices

 function [ctrlStruct,vol]=mpt_simplexContr(sysStruct,probStruct,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Partitions the feasible set into simplical cells and subsequently computes 
 the input sequence for each vertex of each simplex. By linear interpolation, 
 we obtain a piecewise affine feedback law defined for each simplex.

               This function is not based on multi-parametric programming !

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------

 sysStruct       - System structure in the sysStruct format (see Manual)
 probStruct      - Problem structure in the probStruct format (see Manual)
 Options.verbose - Level of verbosity
 Options.maxCtr  - Maximum number of iterations (default is 1000)

 ---------------------------------------------------------------------------
 OUTPUT
 ---------------------------------------------------------------------------

 ctrlStruct    - controller structure with the following fields:
   Pn,Fi,Gi    - for region Pn(i).H*x <= Pn.K(i) computed input is U=Fi{i}*x+Gi{i}   
   Ai,Bi,Ci    - open-loop cost associated to each region (x'Aix + x'Bi + Ci)
   Pfinal      - Defines the feasible state space partition (i.e. union of
                 all regions) as Phard.H*x<=Phard.K
   dynamics    - dynamics active in region Pn(i)
   details     - contains additional information:
                 +Volume: volume of polySet

  vol          - the volume of the controller partition

CROSS-REFERENCE INFORMATION ^

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