PWM:

Path: Common/Control

% Create a model of a pulsewidth modulator using Padé approximants.

   The pulsewidth is assumed fixed at tau. The function includes the
   sampler gain of 1/tSamp;

--------------------------------------------------------------------------
   Form:
   [a, b, c, d] = PWM( tau, tSamp, n )
   [num, den]   = PWM( tau, tSamp, n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   tau           (1,1) Nominal pulsewidth
   tSamp         (1,1) Sampling period
   n             (1,1) Number of terms (optional)

   -------
   Outputs
   -------
   a or num            Numerator polynomial or plant matrix
   b or den            Denominator polynomial or input matrix
   c                   Measurement matrix
   d                   Feedthrough matrix

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

Children:

Common: Control/Delay
Common: Control/FResp
Common: Control/ND2SS
Common: Control/ZOH

Back to the Common Module page