Path: LunarMissions/Reentry
% Torque distribution algorithm using flaps and thrusters (fmincon) This uses both flaps and thrusters. This is pitch only. Type ReentryTorqueDistribution for a demo -------------------------------------------------------------------------- Forms: ReentryTorqueDistribution; % demo [flapAngle,thrust] = ReentryTorqueDistribution(x,torque,d) -------------------------------------------------------------------------- ------ Inputs ------ x (6,1) [x;v;theta;omega] torque (3,1) Control torque d (.) Data structure .rE (1,1) Radius of the Earth (km) .cFlap (1,1) Cost for using the flap .cThruster (1,1) Cost for using a thruster .flapAngle (2,1) Flap angle (rad) .flapArea (2,1) Flap area (m^2) .flapR (3,2) Flap vectors (m) .cM (3,1) Center of mass (m) .uThruster (3,2) Thruster unit vectors .rThruster (3,2) Thruster vectors (m) ------- Outputs ------- flapAngle (1,2) Flap angle (rad) thrust (1,2) Thrust (N) --------------------------------------------------------------------------
AerospaceUtils: AtmosphericCalculations/AtmDens2 LunarMissions: Reentry/RHSReentryWithAttitude Orbit: OrbitCoord/El2RV Common: Graphics/Plot2D Math: Linear/Cross Math: Linear/Mag Math: Linear/Unit
Back to the LunarMissions Module page