SpacecraftWithRWADemo:

Path: SCPro/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:

AerospaceUtils: Coord/QIToBDot
SC: BasicOrbit/RVFromKepler
SCPro: DynamicalModels/RHSSpacecraftWithRWA
SCPro: ProActuators/ReactionWheelFriction
SCPro: ProControl/PID3Axis
Common: CommonData/SwooshWatermark
Common: Control/C2DZOH
Common: Control/C2DelZOH
Common: Control/FResp
Common: Control/GND
Common: Control/GSS
Common: Control/ND2SS
Common: Control/PIDMIMO
Common: Control/S2Damp
Common: Control/SS2ND
Common: Control/SizeABCD
Common: Control/TrnsZero
Common: Control/WPZ
Common: Control/WReson
Common: Control/ZFresp
Common: GUIs/Figui
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/LogLimit
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/Plot3D
Common: Graphics/PltStyle
Common: Graphics/SortFigs
Common: Graphics/TextS
Common: Graphics/TimeLabl
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Help/HelpSystem
Common: Quaternion/AU2Q
Common: Quaternion/Q2AU
Common: Quaternion/QMult
Common: Quaternion/QPose
Common: Quaternion/QTForm
Common: Quaternion/QUnit
Common: Quaternion/U2Q
Math: Geometry/Perpendicular
Math: Integration/RK4
Math: Linear/ColCompR
Math: Linear/Cross
Math: Linear/DelLZ
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/IsZero
Math: Linear/Mag
Math: Linear/RowCompU
Math: Linear/SkewSymm
Math: Linear/Unit

Back to the SCPro Module page