This repository contains the solution for Assessed Exercise 3 of the Programming and Mathematics for Astrodynamics and Trajectory Design (2024-2025) module.
The project involves a grid search for asteroid sample return opportunities for commercial nanosatellite demonstrators. The mission targets Near-Earth Asteroid (NEA) mining, specifically identifying Asteroid 2014 WX202 as the optimal candidate. Transfer trajectories between early 2033 and the end of 2037 were analyzed to meet strict hyperbolic excess velocity and rendezvous maneuver constraints.
- Launch Window: Jan 1, 2033 – Dec 31, 2037.
-
Mission Profile: Earth
$\to$ Asteroid (Stay 2-6 months)$\to$ Earth. -
Constraints:
- Departure/Arrival
$v_{\infty} < 1.5$ km/s. - Rendezvous maneuvers
$\Delta v < 500$ m/s.
- Departure/Arrival
The analysis identified Asteroid 2014 WX202 as the prime candidate for the sample return mission. The optimal mission profile requires a Total
| Mission Event | Date (MJD2000) | Date (Gregorian) | Time (days) |
|
|---|---|---|---|---|
| Earth Departure | 12363.5 | 05 Nov 2033 | 0 | 1.391 |
| Asteroid Arrival | 12673.5 | 11 Sep 2034 | 310 | 0.299 |
| Scientific Operations | — | — | 60 | 0.000 |
| Asteroid Departure | 12733.5 | 10 Nov 2034 | — | 0.541 |
| Earth Return | 12923.5 | 19 May 2035 | 190 | 3.247 |
Below are the porkchop plots generated for the four distinct burns of the mission.
Due to the dataset size (~20,000 asteroids), a brute-force Lambert search was infeasible. A multi-step pruning process was implemented to filter candidates down to a manageable number before performing high-fidelity analysis.
The selection strategy involved an initial pruning using the Shoemaker-Helin approximation, followed by a custom Figure of Merit (FoM) filter, and finally a rigorous Lambert arc scan.
.
├── main.m # Main script for pruning and delta-v calculations
├── Leg1ConditionsPar.m # Parallel computation for Leg 1 (Earth -> Asteroid)
├── Leg2ConditionsPar.m # Parallel computation for Leg 2 (Asteroid -> Earth)
├── ShoemakerHelin.m # Initial asteroid pruning based on delta-v approximation
├── results.mat # Saved final calculation results
│
├── lambert/ # Directory for Lambert's problem solvers
│
├── plot/ # Folder with final plots and plotting functions
│
├── class_excercises/ # Foundational exercises from class
│
├── ex1/ # Solution for a previous assignment (Earth-Mars transfer)
│
└── README.md # This file
To efficiently select the top 100 candidates, a custom Figure of Merit (FoM) was derived. This metric approximates the
The change in velocity required is the difference between the periapsis velocity (
Using the vis-viva equation where
The periapsis velocity at
Using a 1st order Taylor approximation for
Substituting this back yields:
With no change of velocity magnitude (preserving semi-major axis
Since the two maneuvers are applied perpendicularly (
Normalizing by




