Home > mpt > extras > analysis > mpt_computePWATset.m

mpt_computePWATset

PURPOSE ^

MPT_COMPUTEPWATSET Computes a stabilizing control invariant set (+ controllers) around the origin

SYNOPSIS ^

function [Pn,Fi,Gi,dynamics,probStruct]=mpt_computePWATset(sysStruct,probStruct,originindynamics,Options)

DESCRIPTION ^

MPT_COMPUTEPWATSET Computes a stabilizing control invariant set (+ controllers) around the origin

 [Pn,Fi,Gi,dynamics,probStruct]=mpt_computePWATset(sysStruct,probStruct,originindynamics,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Function computes a stabilizing piecewise linear feedback law for the PWA system
 sysStruct, i.e., for all dynamics which contain the origin. Susequently the maximal 
 invariant subset of the resulting partition is computed. Furthermore, the probstruct is 
 updated with the cost-to-go required to obtain closed-loop stability if the set is used
 as a target set in MPC algorithms.

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 sysStruct           - System structure in the sysStruct format
 probStruct          - Problem structure in the probStruct format

 originindynamics    - Optional field: if dynamics which contain the origin are already known,
                       the user can pass this vector of integers. We recommend to leave this 
                       field empty. 

 Options.verbose     - Level of verbosity (see help mpt_init for more details)

 Note: If Options is missing or some of the fields are not defined, the default
       values from mptOptions will be used

 ---------------------------------------------------------------------------
 OUTPUT
 ---------------------------------------------------------------------------
 Pn             - polytope array which describes the control invariant set
 Fi{},Gi{}      - cell arrays containing the feedback law for each dynamic i
 dynamics       - vector which associates each region in Pn to a certain dynamic i
 probStruct     - updated probStruct; cost-to-go P was updated.

 see also MPT_INFSETPWA, MPT_GETSTABFEEDBACK

CROSS-REFERENCE INFORMATION ^

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