Path: CubeSat/AttitudeControl
% Compute the torque from a magnetic momentum unloading system. If the magnetic field is aligned the the momentum no control is possible and you will see a spike in the response. This only works with 3 orthogonal torquers. This system works in the inertial frame. m needs to be transformed into the body frame. The dipole commands can be implemented by a linear control of the dipole current or by pulsewidth modulation. -------------------------------------------------------------------------- Form: [tMM, m, angle,tD] = MomentumUnloading( b, gain, h ) -------------------------------------------------------------------------- ------ Inputs ------ b (3,1) B-Field (T) gain (1,1) Proportional gain (N/Nms) h (3,1) Momentum (Nms) ------- Outputs ------- tMM (3,1) Total torque from the torquers (Nm) m (:,1) Dipole commands (ATm^2) angle (1,1) b dot h (rad) tD (3,1) Torque demand (Nm) --------------------------------------------------------------------------
SC: Environs/BDipole Common: General/DispWithTitle Common: Time/JD2000 Math: Linear/Cross Math: Linear/Dot Math: Linear/Skew
Back to the CubeSat Module page