TPDRes:

Path: SC/Demos/Attitude

% Study pulse resolution. 
 Demonstrates using a multirate system and dither to reduce the effect of
 minimum pulsewidths. This script shows the effect of (1) ideal response;
 (2) minimum pulsewidth, with no other compensation; (3) using a variable
 pulse period; and (4) the use of dither. The controller is a PD control
 with no other compensation. The minimum pulsewidth gives a large
 overshoot since no control is applied until the minimum pulsewidth is
 exceeded. The dither amplitude needs to be adjusted to get the best
 response if you change the minimum pulsewidth.

 Things to try:

 * Change the number of pulses
 * Change the magnitude and width of the dither

 Since version 2.
 -------------------------------------------------------------------------
  See also C2DZOH, CButter, PDDesign, Series, Plot2D, TimeGUI, 
  TriangleWave
 -------------------------------------------------------------------------
%
--------------------------------------------------------------------------
   Copyright (c) 1996, 2008, 2015 Princeton Satellite Systems, Inc.
   All rights reserved.
--------------------------------------------------------------------------

Children:

Common: Control/C2DZOH
Common: Control/CButter
Common: Control/PDDesign
Common: Control/Series
Common: Graphics/Plot2D
Common: Graphics/TimeGUI
Math: MathUtils/TriangleWave

Back to the SC Module page