SpacecraftWithDamping:

Path: CubeSat/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.


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

Children:

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

Back to the CubeSat Module page