Path: Missions/LunarMission
% Generate transfer orbit elements for a lunar mission. Uses the JPL Ephemerides for the Earth and moon. The target is the perilune altitude of the hyperbolic passage of the moon. The function propagates the resulting trajectory using ode113. It propagates to the target point. You can specify radius of perilune and orbit inclination. This function uses Lambert to target a point on the Earth/Moon interface. The point is where the hyperbolic passage of the moon starts. This justifies the single body Lambert solution. The spacecraft starts in any Earth orbit. Requires fmincon in the optimization toolbox. See fmincon for the definition of the argument opts. Type LunarTargeting for a demo. -------------------------------------------------------------------------- Form: [x0,eL,v,jD0] = LunarTargeting( date, a0, rP, inc, fIf, opts ) -------------------------------------------------------------------------- ------ Inputs ------ date (1,:) Date [yy mm dd hh mm ss] or Julian date of lunar encounter. "Encounter": When spacecraft reaches earth/moon interface. el0 (1,5) Initial keplerian orbital elements [a,i,W,w,e] in km and radians rP (1,1) Desired perilune distance (km) inc (1,1) Desired Lunar orbit inclination (rad) fIf (1,1) The Earth/Moon gravitational interface point from the moon simJDP (1,1) Logical. If false, jDP is computed from Keplerian lunar elements. If true, jDP is computed more accurately via simulation. Default: False opts (.) Optimization tolerance data structure ------- Outputs ------- x0 (1,6) Initial state [r,v] in km and km/s elL (6,1) Final lunar keplerian orbital elements [a,i,W,w,e,M] in km and radians v (3,2) Initial and interface velocity in km/s jD0 (1,1) Start Julian date jDP (1,1) Julian date of perilune --------------------------------------------------------------------------
Orbit: OrbitCoord/RPRA2AE Orbit: OrbitMechanics/APlanet Orbit: OrbitMechanics/LambertTOF Orbit: Visualization/EarthMoon 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/Period SC: BasicOrbit/RV2El SC: BasicOrbit/RVFromKepler SC: Ephem/CEcl2Eq SC: Ephem/InterpolateState SC: Ephem/MoonEl SC: Ephem/MoonV1 SC: Ephem/PlanetPosJPL SC: SCData/bin2000 SC: SCMat/EarthMR SC: SCMat/Moon Common: CommonData/SwooshWatermark Common: General/CellToMat Common: General/DeBlankLT Common: General/DispWithTitle Common: General/HasOptimizationToolbox Common: General/MatToCell Common: General/Watermark Common: Graphics/Axis3D Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/Plot3D Common: Graphics/PltStyle Common: Graphics/TimeLabl Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Time/DTSToDTA Common: Time/Date2JD Common: Time/JD2000 Common: Time/JD2T Math: Linear/Cross Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit Math: Trigonometry/CosD Math: Trigonometry/SinD
Back to the Missions Module page