Astronomy and Space Exploration ES

Projects / Higher Education

Higher Education ⏱ 6 weeks · independent work of 4 to 6 h per week + 1 h of tutoring under review

Design a Mission to Mars

“How much Δv, how much time and what departure date does a probe need to go from low Earth orbit to low Mars orbit?”

From the two-body problem to a Δv budget: Earth–Mars Hohmann transfer, launch window from the phase angle, patched conics for escape and capture, and sensitivity analysis of the assumptions.

Goal

Derive and calculate the Earth–Mars Hohmann transfer with patched conics, determine the launch window from the phase angle and the synodic period, quantify the effect of the eccentricity and inclination of Mars, and present a mission budget with error analysis.

Final product

A technical report (8 to 12 pages) with derivations, a table of Δv and times, the date of the next window with its justification, graphs of the trajectory and of the sensitivity, and reproducible code (Python or TypeScript) with tests against the lesson's reference values.

Materials

  • Computer with Python (NumPy, Matplotlib) or Node/TypeScript; optionally the portal's src/lib/math library (kepler, planetas)
  • Constants: μ☉ = 1.327 124 400 18 × 10¹¹ km³/s², μ⊕ = 398 600.435 km³/s², μ♂ = 42 828.376 km³/s² (JPL), 1 au = 149 597 870.7 km
  • Approximate planetary ephemerides (JPL, Approximate Positions of the Planets) or access to JPL Horizons for the dates
  • Access to the Keplerian orbit and Lagrange points simulators

Math it uses

  • Two-body problem: specific energy and angular momentum, vis-viva equation
  • Hohmann transfer: Δv₁, Δv₂, time of flight; bi-elliptic transfer
  • Patched conics: escape and capture hyperbolas, sphere of influence, Oberth effect
  • Phase angle, synodic period and launch windows; sensitivity analysis and error propagation

Project phases

Week 1 — Two bodies and vis-viva

  1. Starting from The two-body problem, prove the vis-viva equation v2=μ(2r−1a)v^2 = \mu\left(\dfrac{2}{r} - \dfrac{1}{a}\right) and the expressions for the specific energy and angular momentum.
  2. Implement functions vCircular(mu, r), vVisViva(mu, r, a) and periodo(mu, a) with unit tests: the Earth at 1 au must give 29.785 km/s and 365.25 d (with JPL’s μ⊙\mu_\odot).
  3. Convert state ↔ orbital elements (lesson 2) and check the round trip with tolerance 10−1010^{-10}.

Week 2 — The Hohmann transfer

  1. Derive Δv1=μ/r1(2r2/(r1+r2)−1)\Delta v_1 = \sqrt{\mu/r_1}\left(\sqrt{2r_2/(r_1+r_2)} - 1\right), Δv2=μ/r2(1−2r1/(r1+r2))\Delta v_2 = \sqrt{\mu/r_2}\left(1 - \sqrt{2r_1/(r_1+r_2)}\right) and tt=πat3/μt_t = \pi\sqrt{a_t^3/\mu} with at=(r1+r2)/2a_t = (r_1 + r_2)/2.
  2. Calculate the Earth–Mars values and verify them against the table in lesson 6: Δv1=2.945\Delta v_1 = 2.945, Δv2=2.649\Delta v_2 = 2.649 km/s, tt=258.9t_t = 258.9 d. The tests must pass with a tolerance of 1 m/s and 0.1 d.
  3. Prove that Hohmann is the minimum-Δv\Delta v two-impulse transfer between coplanar circular orbits when r2/r1<11.94r_2/r_1 < 11.94, and calculate the bi-elliptic transfer for comparison.
  4. Plot the heliocentric trajectory (Earth, Mars and the transfer ellipse) with the simulator Keplerian orbit and with your code.

Week 3 — Launch window

  1. Phase angle at departure: γ=180°−n2tt\gamma = 180° - n_2 t_t, with n2=360°/686.98n_2 = 360°/686.98 d. Verify γ=44.3°\gamma = 44.3°.
  2. Synodic period: 1/S=1/T⊕−1/TMars1/S = 1/T_\oplus - 1/T_{\text{Mars}}, S=779.9S = 779.9 d. Waiting time for the return: 454 d; full mission 972 d.
  3. With JPL’s approximate ephemerides (or Horizons), calculate the heliocentric longitudes of the Earth and Mars day by day from today and find the next date on which the difference in longitudes equals γ\gamma: that is your window (with the circular coplanar model). State the uncertainty: the phase changes by 0.46°0.46°/day, so a tolerance of ±5°\pm 5° is about two weeks.
  4. Compare your date with the historical windows (every 26 months: 2020, 2022, 2024, 2026…) and discuss the difference.

Week 4 — Patched conics

  1. Escape from a 300 km LEO: v∞=Δv1v_\infty = \Delta v_1, vp=v∞2+2μ⊕/rpv_p = \sqrt{v_\infty^2 + 2\mu_\oplus/r_p}, Δvesc=vp−vc\Delta v_{\text{esc}} = v_p - v_c. Verify 3.590 km/s.
  2. Capture into a circular orbit 300 km above Mars with v∞=Δv2v_\infty = \Delta v_2: verify 2.091 km/s. Total budget LEO → LMO: 5.68 km/s.
  3. Oberth effect: show that Δv=v2+2Δε−v\Delta v = \sqrt{v^2 + 2\Delta\varepsilon} - v decreases with vv and quantify it for a burn at perigee versus apogee of a GTO.
  4. Spheres of influence: rSOI=a (m/M)2/5r_{\text{SOI}} = a\,(m/M)^{2/5}; calculate those of the Earth (≈ 0.93 million km) and Mars (≈ 0.58 million km) and discuss the error of ignoring solar gravity inside them.

Week 5 — Sensitivity and error

  1. Eccentricity of Mars: repeat Hohmann with r2r_2 between 1.381 and 1.666 au (perihelion and aphelion). Range of Δv\Delta v and ttt_t.
  2. Inclination: Δvplane=2vsin⁡(i/2)\Delta v_{\text{plane}} = 2v\sin(i/2) for i=1.85°i = 1.85° performed at the worst point (≈ 0.8 km/s) and at the node of the transfer; discuss the splitting strategy.
  3. Departure delay: the phase changes by 0.46°0.46°/day; estimate the cost in Δv\Delta v for delays of 10 and 30 days by solving the transfer with the actual phase angle (two non-tangential impulses) or, if you go further, with Lambert’s problem.
  4. Summarize in a table: assumption, ideal value, realistic range, source of the error.

Week 6 — Report and defense

  1. Report with: derivations, table of results with comparison to the lesson, launch window with date and tolerance, figures, sensitivity, conclusions and limitations.
  2. Reproducible code with tests (npm test or pytest) that fail if a value strays from the reference.
  3. A 10-minute oral defense: the panel changes an assumption (another parking orbit, another planet) and the student recalculates live.

Mathematics in the project

  • Vis-viva: v2=μ(2/r−1/a)v^2 = \mu(2/r - 1/a). Specific energy: ε=−μ/(2a)\varepsilon = -\mu/(2a).
  • Hohmann: at=(r1+r2)/2a_t = (r_1 + r_2)/2; Δv1=vt1−vc1\Delta v_1 = v_{t1} - v_{c1}, Δv2=vc2−vt2\Delta v_2 = v_{c2} - v_{t2}; tt=πat3/μt_t = \pi\sqrt{a_t^3/\mu}.
  • Escape hyperbola: ε=v∞2/2\varepsilon = v_\infty^2/2; vp=v∞2+2μ/rpv_p = \sqrt{v_\infty^2 + 2\mu/r_p}; C3=v∞2C_3 = v_\infty^2.
  • Phase angle and synodic period: γ=π−n2tt\gamma = \pi - n_2 t_t; S=T1T2/(T2−T1)S = T_1T_2/(T_2 - T_1).
  • Error propagation: for f(x1,…,xn)f(x_1,\dots,x_n), σf2=∑(∂f/∂xi)2σi2\sigma_f^2 = \sum (\partial f/\partial x_i)^2\sigma_i^2; apply it to Δv1(r2)\Delta v_1(r_2).

Assessment rubric

CriterionInsufficientSatisfactoryGoodOutstanding
DerivationsFormulas without derivationHohmann and vis-viva correctly derivedIncludes the optimality proof and the bi-elliptic transferAdds Oberth and the discussion of patched conics with their error
Calculation and verificationValues without checksValues match the reference within toleranceReproducible automated testsTests and validation with real ephemerides (Horizons)
Launch windowNot determinedDate with the circular coplanar modelDate with tolerance and historical comparisonSolves Lambert or two non-tangential impulses for nearby dates
Error analysis and reportNo analysisTable of assumptions and rangesQuantified sensitivity (ee, ii, delay)Report of publishable quality and defense with live recalculation

Variants and extensions

  • Gravity assist: mission to Jupiter via Mars or Venus; calculate the turning angle δ\delta and the free Δv\Delta v (section 6 of the lesson).
  • Lagrange points: parking at Sun–Earth L1 or L2 before departure (simulator and lesson 3).
  • Porkchop plot: solve Lambert’s problem over a grid of departure and arrival dates and plot C3C_3.
  • Propulsion: convert Δv\Delta v into propellant mass with the Tsiolkovsky equation for a given IspI_{sp}.

Inclusion

  • The project is computational: compatible with screen readers and keyboard; the figures have textual descriptions and equivalent tables.
  • It can be done in pairs with a split: derivations/tests and ephemerides/figures, exchanging reviews.
  • Reports are accepted in LaTeX, Markdown or a text document; the code in whichever language the student is fluent in.

Safety

  • A desk project, with no physical risks.
  • If complemented with observation of Mars (oppositions every 26 months), at night and with instruments never pointed at the Sun; never look at the Sun without an ISO 12312-2 certified filter.

References and data sources

  • Curtis, H. D. (2014). Orbital Mechanics for Engineering Students, 3rd ed., Butterworth-Heinemann, chs. 6 (maneuvers) and 8 (interplanetary trajectories).
  • Bate, R. R., Mueller, D. D. & White, J. E. (1971). Fundamentals of Astrodynamics, Dover, ch. 8.
  • Reference values (lesson “Hohmann transfers and gravity assists”, circular coplanar orbits with r₁ = 1 au, r₂ = 1.524 au): v_c1 = 29.785 km/s, v_c2 = 24.129 km/s, Δv₁ = 2.945 km/s (C₃ = 8.67 km²/s²), Δv₂ = 2.649 km/s, t_t = 258.9 d; escape from a 300 km LEO 3.590 km/s; capture into a circular orbit 300 km above Mars 2.091 km/s; departure phase angle 44.3°; synodic period 779.9 d (NASA: 779.94 d); stay at Mars 454 d; round trip 972 d.
  • Mars: a = 1.524 au, e = 0.0934, i = 1.85° (JPL, Approximate Positions of the Planets); equatorial radius 3 396.2 km.
  • Hohmann, W. (1925). Die Erreichbarkeit der Himmelskörper. Oldenbourg (NASA translation TT F-44, 1960).