Home > mpt > extras > control > mpt_boolMinTime.m

mpt_boolMinTime

PURPOSE ^

MPT_BOOLMINTIME Computes minimum time controller for systems with discrete inputs

SYNOPSIS ^

function ctrlStruct = mpt_boolMinTime(sysStruct, probStruct, Options)

DESCRIPTION ^

MPT_BOOLMINTIME Computes minimum time controller for systems with discrete inputs

 ctrlStruct=mpt_boolMinTime(sysStruct,probStruct)
 ctrlStruct=mpt_boolMinTime(sysStruct,probStruct,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Computes the solution of a minimum-time problem for a given PWA system
       x(k+1) = A_i x(k) + B_i u(k) + f_i
       y(k)   = C_i x(k) + D_i u(k) + g_i
       for i such that guardX(i) x(k) + guardU(i) u(k) <= guardC(i)  
   s.t.
       (ymin, ymax, umin, umax, dumin, dumax)

 All inputs are assumed to be discrete as defined in sysStruct.Uset

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

 Options.verbose   - Level of verbosity (see help mpt_init for more details)
 Options.details   - If set to 1, solution of each iteration is stored in the
                       details fields of the resulting controller structure 
                       (0 by default)
 Options.lowmem    - defines memory saving mode
                       0 - consumes a lot of memory but runs fast (default)
                       1 - slight memory saving 
                       2 - heavy memory saving (slow computation)

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

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 ctrlStruct   - Controller structure

 see also MPT_CONTROL, MPT_OPTCONROLPWA

CROSS-REFERENCE INFORMATION ^

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