SpacecraftWithDamping:

Path: CubeSat/Demos/Simulation

% A spacecraft with rate or hysteresis damping.
 You can try different kinds of damping. One is 3-axis damping
 that applies a damping constant to each axis rate. You should 
 find a constant that approximates whatever damper you have.
 If everything is working properly the spacecraft will align its
 torque rod with the Earth's magnetic field.

 This simulation does not have any disturbances. Run for a small number of
 orbits to clearly see the hysteresis loops. They are minor loops since
 the Earth's field is not strong enough to take the rod to saturation. Run
 for several days to damp the rates close to zero.

 The second type is magnetic hysteresis damping. Read the headers for
 RHSHysteresisDamper.m, TorqueHysteresis.m, and MagneticHysteresis.m
 MagneticHysteresis.m for more information.

 Things to try:

       1. Try both types of damping.
       2. Determine a damping constant that produces the same results as
          hysteresis damping.
       3. Try different orbits.
       4. Try different dipoles.
       5. With no damping determine the oscillation frequency of the
          spacecraft.
       6. See what happens with a rotation rate about the dipole axis.
       7. Remove the dipole and initialize with nonzero rates instead.

   Since version 2014.1

  ----------------------------------------------------------------------
  See also BFromHHysteresis, RHSHysteresisDamper, RHSRigidBodyWithDamping,
  HysteresisOutput
  ----------------------------------------------------------------------
%
--------------------------------------------------------------------------
   Copyright (c) 2014 Princeton Satellite Systems, Inc.
   All Rights Reserved
--------------------------------------------------------------------------

Children:

AeroUtils: Coord/QLVLH
Common: Database/Constant
Common: Graphics/Figui
Common: Graphics/Plot2D
Common: Graphics/TimeLabl
Common: Quaternion/QTForm
Common: Time/JD2000
CubeSat: AttitudeControl/InertiaCubeSat
Math: Linear/Dot
Math: Linear/Mag
Math: Linear/Unit
OrbitMiniToolbox: Support/El2RV
SC: BasicOrbit/Period
SC: DemoFuns/HysteresisOutput
SC: Dynamics/RHSRigidBodyWithDamping
SC: Environs/BDipole
SC: MagneticControl/BFromHHysteresis
SC: MagneticControl/RHSHysteresisDamper

Back to the CubeSat Module page