PermanentMagnetSim:

Path: SC/MagneticControl

% Simulate the attitude of a rigid spacecraft with permanent magnet in LEO
 Demonstrates how the magnet dipole aligns with the Earth magnetic field
 over time. Depending on the orbit inclination and altitude, the field
 strength and direction undergoes a periodic change throughout the
 orbit. The magnetic field varies at twice orbit rate as shown in the
 plot.
   
 The resulting motion is an undamped oscillation. The natural frequency
 of the oscillation changes with the square root of the inertia. The
 simulation includes gravity gradient torque as well.

 See also QLVLH, InertiaCubeSat, PermanentMagnetRHS, El2RV, OrbRate, Period,
 PltOrbit, RVFromKepler, BDipole, Constant, AnimateCube, Plot2D, Mat2Q, Q2Mat,
 Date2JD, Mat2Eul, Dot, Unit

Children:

AC: ACData/ACTConstants
AerospaceUtils: Coord/ECIToEF
AerospaceUtils: Coord/QIToBDot
AerospaceUtils: Coord/QLVLH
CubeSat: AttitudeControl/InertiaCubeSat
Orbit: OrbitCoord/SLR
Orbit: OrbitMechanics/RVOrbGen
SC: Attitude/PermanentMagnetRHS
SC: BasicOrbit/CP2I
SC: BasicOrbit/E2M
SC: BasicOrbit/E2Nu
SC: BasicOrbit/El2RV
SC: BasicOrbit/M2E
SC: BasicOrbit/M2EApp
SC: BasicOrbit/M2EEl
SC: BasicOrbit/M2EHy
SC: BasicOrbit/M2Nu
SC: BasicOrbit/M2NuPb
SC: BasicOrbit/Nu2E
SC: BasicOrbit/Nu2M
SC: BasicOrbit/OrbRate
SC: BasicOrbit/Period
SC: BasicOrbit/RVFromKepler
SC: Disturbances/GravityGradientFromR
SC: Environs/BDipole
SC: Ephem/CEcl2Eq
SC: Ephem/EarthRte
SC: Ephem/MSidDay
SC: Ephem/Moons
SC: Ephem/Planets
SC: Ephem/SolarSys
SC: Ephem/SunV1
SC: Ephem/SunVectorECI
SC: SCData/sCTConstants
SC: SCMat/EarthMR
SC: Visualization/PlotPlanet
SC: Visualization/PltOrbit
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Control/C2DZOH
Common: Database/Constant
Common: General/CellToMat
Common: General/CloseFigure
Common: General/DeBlankLT
Common: General/DeleteCell
Common: General/DispWithTitle
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/AddView
Common: Graphics/AnimateCube
Common: Graphics/AxesCart
Common: Graphics/Axis3D
Common: Graphics/Mesh2
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/Plot3D
Common: Graphics/PltStyle
Common: Graphics/TextS
Common: Graphics/TimeLabl
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: MassProperties/IC623X3
Common: MassProperties/Inertias
Common: Quaternion/Mat2Q
Common: Quaternion/Q2Mat
Common: Quaternion/QForm
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2000
Common: Time/JD2T
Common: Time/T2JD
Common: Transform/Mat2Eul
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Skew
Math: Linear/SkewSymm
Math: Linear/Unit
Math: MathUtils/R2P5
Math: Trigonometry/CosD
Math: Trigonometry/SinD

Back to the SC Module page