PID:

Path: Common/Control

% Design a PID controller.

   Design a PID controller of the form

   y =  cx + du
   x =  ax + bu

   Type PID for a demo.
--------------------------------------------------------------------------
   Form:
   [g, b, c, d] = PID( kF, kP, kR, kI, omegaR, tSamp, sType )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   kF                  Forward gain
   kP                  Proportional gain
   kR                  Rate gain
   kI                  Integral
   omegaR              Rate cutoff
   tSamp               Sampling period (sec)
   sType               State equation type ('Delta' or 'Z')

   -------
   Outputs
   -------
   g                   Statespace data structure or
   [a, 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