SpacecraftWithRWADemo:

Path: SCPro/Demos/ProControl

% An attitude and orbit simulation with reaction wheels.
 This simulation includes reaction wheels with Coulomb friction and
 damping. It is easy to specify the damping terms for each wheel. The demo
 also includes the PID3Axis controller. The core dynamics is for a
 gyrostat orbiting around a point mass.

 The base demo is the step response around y. This is a constant external
 torque that will cause the momentum to grow. The controller drives the
 transient error to zero. Note that the Coulomb friction causes limit
 cycling around zero wheel speed, an artifact of the model.

 Things to do:

 # Try varying the friction in the reaction wheels.
 # Try different control modes.
 # Try different disturbances.
 # Give the controller a different target quaternion.
 # Give the spacecraft nonzero initial body rates.

  ------------------------------------------------------------------------
  See also RHSSpacecraftWithRWA, PID3Axis, Plot2D, RK4
  ------------------------------------------------------------------------
%
--------------------------------------------------------------------------
   Copyright (c) 2015 Princeton Satellite Systems, Inc. 
   All rights reserved.
--------------------------------------------------------------------------

Children:

Common: Control/PIDMIMO
Common: Graphics/Figui
Common: Graphics/Plot2D
Common: Graphics/Plot3D
Common: Graphics/TimeLabl
Common: Quaternion/QUnit
Math: Integration/RK4
SCPro: DynamicalModels/RHSSpacecraftWithRWA
SCPro: ProControl/PID3Axis

Back to the SCPro Module page