PILeaky:

Path: Common/Control

% Design a leaky PI controller.
  
   Design a PI controller of the form

   y =  cx + du
   x =  ax + bu

   The transfer function is

   K ( 1 +    1     ) 
           --------
           tau(s+a)

   The inputs are gain at zero, gain at infinity and 0 dB crossover frequency.
   If the gain at zero frequency is not infinity you get a "leaky" integrator.
   Leaky integrators can give you sufficient gain a DC for your application
   with giving you the stability problems of regular integrators.

   With one output, the routine will give you the conventional statespace
   form [a, b, c, d]. With one output you will get an object of the statespace
   class.

   If the gain at infinity is greater than 1, w0Db is the corner frequency.

   Type PILeaky for a demo.
--------------------------------------------------------------------------
   Form:
   [g, b, c, d] = PILeaky( k0, kInf, w0Db, tSamp, sType )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   k0                  Gain at zero (may be inf) (dB)
   k                   Gain at infinity (forward gain) (dB)
   w0Db                0 db crossover (rad/sec)
   tSamp               Sampling period (sec)
   sType               State equation type ('Delta' or 'Z')

   -------
   Outputs
   -------
   g                   Statespace data structure or
   [g, b, c, d]        Statespace

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

Children:

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: CommonData/SwooshWatermark
Common: Control/Append
Common: Control/C2DZOH
Common: Control/C2DelZOH
Common: Control/FResp
Common: Control/GND
Common: Control/GSS
Common: Control/ND2SS
Common: Control/Parallel
Common: Control/S2Damp
Common: Control/SS2ND
Common: Control/Series
Common: Control/SizeABCD
Common: Control/TrnsZero
Common: Control/WPZ
Common: Control/WReson
Common: Control/ZFresp
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/LogLimit
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/TextS
Math: Linear/ColCompR
Math: Linear/DelLZ
Math: Linear/IsZero
Math: Linear/RowCompU

Back to the Common Module page