Airship_KLon:

Path: Airships/Control

% The longitudinal control laws for an airship.
--------------------------------------------------------------------------
   Form:
   d = Airship_KLon( action, data )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action        (:)   String name of action to take. Choices are:
                          * 'init'        ...  Supply statespace controllers and 
                                                             initialize matrices
                          * 'update'      ...  Supply the error inputs and compute 
                                                                      the controls
                          * 'reset'       ...  Reset controller states to zero
   data          (.)   Data structure required for action
                          if action == 'init'
                             - data.k_tu  ...  statespace controller, 
                                                     u -to- throttle
                             - data.k_mu  ...  statespace controller, 
                                                     u -to- mu (prop pitch angle)
                             - data.k_dw  ...  statespace controller, 
                                                     w -to- elevator deflection
                             - data.k_dq  ...  statespace controller, 
                                                     q -to- elevator deflection
                             - data.rate  ...  update rate [Hz]
                          if action == 'update'
                             - data.q     ...  pitch rate error       [rad/s]  
                             - data.u     ...  axial velocity error   [m/s] 
                             - data.w     ...  normal velocity error  [m/s] 

   -------
   Outputs
   -------
   d             (.)   Data structure of control outputs
                             - d.throttle ... Throttle command
                             - d.mu       ... Propeller pitch command      [rad]
                             - d.dELV_sym ... Symmetric elevator command   [rad]

--------------------------------------------------------------------------

Children:

Airships: Control/AirshipControllers
Common: Classes/@statespace/and.m
Common: Classes/@statespace/close.m
Common: Classes/@statespace/connect.m
Common: Classes/@statespace/eig.m
Common: Classes/@statespace/get.m
Common: Classes/@statespace/getabcd.m
Common: Classes/@statespace/getsub.m
Common: Classes/@statespace/isempty.m
Common: Classes/@statespace/mtimes.m
Common: Classes/@statespace/plus.m
Common: Classes/@statespace/series.m
Common: Classes/@statespace/set.m
Common: Classes/@statespace/statespace.m
Common: Control/Append
Common: Control/C2DZOH
Common: Control/Parallel
Common: Control/Series
Common: Control/SizeABCD
Common: General/CellToMat

Back to the Airships Module page