SpacecraftWithDamping:

Path: CubeSat/Damping

% A spacecraft with rate or magnetic hysteresis damping.
 You can try different kinds of damping. The first 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.

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

 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.

 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, BDipole, InertiaCubeSat
  ----------------------------------------------------------------------
%
--------------------------------------------------------------------------
   Copyright (c) 2014 Princeton Satellite Systems, Inc.
   All Rights Reserved
--------------------------------------------------------------------------
   Since version 2014.1
--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/QLVLH
CubeSat: Modeling/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