G-FOLD
G-FOLD (Guidance for Fuel-Optimal Large Diverts) is a real-time onboard convex optimization algorithm for precision planetary and rocket powered descent guidance, developed at NASA's Jet Propulsion Laboratory (JPL) by Behçet Açıkmeşe, Lars Blackmore, John M. Carson III, Daniel P. Scharf, Scott R. Ploen, and Jordi Casoliva.[1][2] Designed to enable pinpoint landings within meters of a target while executing large lateral diverts around surface hazards, G-FOLD uses lossless convexification to reformulate the non-convex variable-mass rocket landing problem into a second-order cone program (SOCP) that can be solved to certified global optimality onboard a flight computer in a fraction of a second.[1][3]
In 2013 and 2014, NASA JPL and Masten Space Systems demonstrated G-FOLD in closed-loop rocket flight tests at the Mojave Air and Space Port under NASA's Autonomous Descent and Ascent Powered-flight Testbed (ADAPT) project, where the algorithm autonomously computed and flew three-dimensional divert maneuvers of up to 750 metres (2,460 ft) onboard Masten's Xombie vertical-takeoff, vertical-landing (VTVL) rocket.[2][4] The mathematical framework and solver architecture of G-FOLD subsequently informed NASA's SPLICE lunar and planetary landing program as well as real-time onboard landing guidance for commercial reusable launch vehicles, including SpaceX's Falcon 9 and Falcon Heavy orbital boosters.[5][6]
Background and motivation
Planetary entry, descent, and landing (EDL) missions—particularly to Mars—accumulate large position and velocity dispersions during atmospheric entry due to atmospheric density variations, wind shears, and aerodynamic uncertainties.[7][5] Early Mars landers such as Viking 1 and Viking 2 had landing ellipses spanning hundreds of kilometers, and even with hypersonic guided entry, the 2012 Mars Science Laboratory (Curiosity) landing footprint measured roughly 20 by 7 kilometres (12.4 by 4.3 mi), requiring landing sites to be placed in broad, flat plains away from scientifically desirable but hazardous craters, cliffs, and boulder fields.[1][5]
Prior to G-FOLD, onboard powered-descent guidance relied primarily on heritage analytical laws derived from the Apollo Lunar Module explicit guidance (E-guidance) scheme, which represents the vehicle's acceleration profile as a low-order polynomial in time configured to satisfy terminal position and velocity boundary conditions.[1][2] While computationally trivial, Apollo-era polynomial guidance cannot explicitly enforce physical and operational constraints—such as minimum and maximum engine throttle bounds, vehicle attitude and thrust-pointing limits, and terrain glide-slope clearance cones—nor does it minimize propellant consumption.[1][2] To guarantee that calculated trajectories remain feasible without hitting the ground or saturating actuators, polynomial laws must restrict the spacecraft to conservative, nearly vertical paths; on Curiosity, the powered-descent guidance law could execute lateral diverts of only about 100 to 130 metres (330 to 430 ft).[4][2]
Achieving pinpoint planetary landing (touchdown accuracy within 100 metres (330 ft)) requires the spacecraft to identify its actual state via terrain-relative navigation after parachute deployment or entry and then execute a large lateral divert of hundreds of meters to several kilometers during the final powered descent phase.[7][8] Because the divert target and atmospheric dispersions are only known in flight, the fuel-optimal constrained trajectory must be synthesized from scratch onboard in real time.[1][2]
Mathematical formulation and algorithm
Optimal control problem and constraints
G-FOLD models the lander as a variable-mass three-degree-of-freedom (3-DoF) point mass subject to uniform gravity and thrust vector :[7][1]
where is the vehicle position relative to the target landing site, is the vehicle mass, and is the mass-depletion constant determined by the propulsion system's specific impulse .[7] The trajectory is subject to state and control constraints throughout the maneuver horizon :[1][9]
- Annular engine thrust bounds: Because liquid rocket engines cannot throttle down continuously to zero thrust without flameout or instability, the thrust magnitude is bounded between a positive minimum and a maximum :
:
- Thrust-pointing constraint: To prevent excessive vehicle tilt and keep navigation sensors oriented properly, the thrust vector must stay within an angle of a unit pointing direction (typically the local vertical):
:
- Glide-slope cone constraint: To prevent the trajectory from dipping too low over surrounding terrain before reaching the pad, the position vector must remain inside an upward-opening second-order cone with minimum elevation angle above the landing plane:
:
- Velocity and mass bounds: Upper limits on vehicle speed , fuel-depletion constraint , and soft-landing terminal boundary conditions .[1][2]
Lossless convexification and SOCP formulation
The lower thrust bound , the pointing constraint when , and the nonlinear mass coupling make the raw optimal control problem non-convex.[7][9] G-FOLD applies the lossless convexification transformation developed by Açıkmeşe, Ploen, Blackmore, and Carson:[7][10][9] 1. A scalar slack variable replaces via the convex second-order cone constraint and linear inequalities and . 2. A logarithmic mass change of variables , together with mass-normalized acceleration control and normalized slack variable , renders the translational and mass-depletion dynamics completely linear:
:
3. The nonlinear thrust bounds are approximated via a Taylor expansion of around a deterministic reference mass profile , yielding linear and second-order cone inequalities in .[7][1]
By Pontryagin's maximum principle, the optimal solution of the relaxed problem satisfies almost everywhere, meaning that solving the convexified problem recovers the exact global optimum of the non-convex problem.[10][9]
Minimum-landing-error and minimum-fuel modes
To ensure safe operation even when extreme entry dispersions make the nominal landing target physically unreachable within the available propellant budget, G-FOLD incorporates two complementary convex formulations:[8][1]
- Minimum-landing-error problem: First introduced by Blackmore, Açıkmeşe, and Scharf in 2010, this problem relaxes the hard terminal position constraint and instead minimizes the terminal miss distance subject to all vehicle dynamics, glide-slope, pointing, thrust, and fuel-mass constraints.[8] This determines the closest dynamically reachable touchdown point .
- Minimum-fuel problem: Given a reachable target (or requiring that the final landing distance not exceed the minimum achievable miss distance ), G-FOLD maximizes the terminal logarithmic mass —equivalently minimizing total propellant consumption —to compute the fuel-optimal divert trajectory.[8][1]
Because the problem is convex for any fixed time of flight , the optimal maneuver duration is found via a fast outer line search (such as golden-section search) or coarse grid evaluation over .[8][2]
Customized real-time onboard solvers
To execute G-FOLD onboard resource-constrained spacecraft processors with deterministic execution guarantees, the JPL team replaced desktop optimization frameworks with autocoded C solvers using Stephen Boyd and Jacob Mattingly's CVXGEN code generator[11][2] and subsequently developed a customized Block Second-Order Cone Programming (BSOCP) primal-dual interior-point method solver.[3] Developed by Daniel Dueri, Behçet Açıkmeşe, Daniel P. Scharf, and Matthew W. Harris, the customized C solver exploits the sparse block-tridiagonal structure of the discretized optimal control KKT system, uses static memory allocation without dynamic branching, and computes a complete fuel-optimal trajectory in roughly 15 to 40 milliseconds on standard processors (or fractions of a second on a radiation-hardened RAD750 flight processor).[3][2]
Flight testing and ADAPT demonstrations
Between 2012 and 2014, JPL tested G-FOLD in flight aboard Masten Space Systems's Xombie (XA-0.1B), a reusable vertical-takeoff, vertical-landing (VTVL) suborbital rocket powered by a gimbaled liquid-oxygen and isopropyl-alcohol engine at the Mojave Air and Space Port in California.[4][2] Sponsored by NASA's Flight Opportunities Program, the Mars Exploration Directorate, and the Game Changing Development Program, the flight campaigns were conducted under the Autonomous Descent and Ascent Powered-flight Testbed (ADAPT) project, with Behçet Açıkmeşe serving as initial Technical Principal Investigator and Daniel P. Scharf leading the closed-loop flight demonstrations.[12][13]
2012 fuel-optimal divert trajectory tests
In July and August 2012, Xombie flew a series of open-loop trajectory verification tests comparing G-FOLD fuel-optimal trajectories against heritage Apollo-style polynomial guidance trajectories.[12] Launching to altitudes of roughly 475 metres (1,558 ft) before initiating powered descent, Xombie executed a 500 metres (1,600 ft) horizontal divert maneuver computed by G-FOLD, validating that convex optimization maximized the vehicle's divert envelope within its hardware throttle and thrust-vector limits.[12]
2013 closed-loop real-time onboard flight tests
In August and September 2013, the ADAPT team conducted the first closed-loop flights in which G-FOLD ran in real time onboard Xombie during flight.[4][13] After Xombie launched vertically to an apogee of approximately 490 metres (1,610 ft), the flight system designated a new landing site mid-flight, triggering the onboard G-FOLD SOCP solver to compute a fuel-optimal divert trajectory in less than one second from the rocket's live state.[4][2]
- On August 27, 2013, G-FOLD computed and executed an autonomous 300 metres (980 ft) lateral divert and 425 metres (1,394 ft) descent.[13][2]
- On September 10, 2013, G-FOLD planned and flew an autonomous "dog-leg" obstacle-avoidance trajectory during a 550 metres (1,800 ft) lateral divert: when initialized with an initial velocity heading toward a simulated surface keep-out zone, the solver generated a three-dimensional curved path around the hazard before descending to the landing pad.[4][2]
- On September 20, 2013, G-FOLD executed a 750 metres (2,460 ft) lateral divert (roughly 0.8 kilometres (0.50 mi) in total three-dimensional displacement) from an altitude of 345 metres (1,132 ft)—approximately six times the maximum divert capability of the Curiosity landing guidance algorithm—touching down within 0.5 metres (1.6 ft) of the target center.[4][2]
2014 integration with Terrain-Relative Navigation
In 2014, during the Cobalt/ADAPT campaign, G-FOLD was integrated in closed loop with JPL's camera-based Lander Vision System (LVS) onboard Xombie.[2][14] During descent, LVS matched ground imagery against onboard maps to estimate the rocket's position and handed the updated navigation state to G-FOLD, which replanned a real-time divert trajectory to the target landing pad—validating the end-to-end pinpoint landing architecture prior to the deployment of LVS on the Mars 2020 Perseverance mission.[2][14] For the 2013 and 2014 Xombie flight campaigns, the ADAPT and G-FOLD teams received NASA Group Achievement Awards.[14]
Legacy and impact
G-FOLD established that convex optimization could be executed deterministically onboard aerospace vehicles in real time, shifting powered-descent guidance from analytical curve-fitting to numerical optimization.[5][6] After co-developing lossless convexification and the minimum-landing-error G-FOLD foundation at JPL, Lars Blackmore joined SpaceX in 2011 to lead Entry, Descent, and Landing for the Falcon 9 reusable booster program.[5] Using customized real-time onboard convex optimization solvers to recompute fuel-optimal, constraint-satisfying landing trajectories in flight, SpaceX achieved the first vertical landing of an orbital rocket booster on Falcon 9 flight 20 in December 2015, followed by routine autonomous droneship and launch-site landings of Falcon 9 and Falcon Heavy boosters.[5][6]
Within NASA and academia, the 3-DoF G-FOLD formulation served as the baseline for NASA's Safe and Precise Landing – Integrated Capabilities Evolution (SPLICE) program and motivated the development of successive convexification (SCvx), which extends G-FOLD's SOCP structure to six-degree-of-freedom (6-DoF) attitude-coupled dynamics, aerodynamic forces, and state-triggered constraints for lunar landers and next-generation reusable launch vehicles.[15][6]
See also
- Lossless convexification
- Successive convexification
- Behçet Açıkmeşe
- Lars Blackmore
- Masten Space Systems
- SpaceX reusable launch system development program
References
- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 Açıkmeşe, Behçet; Casoliva, Jordi; Carson, John M. III; Blackmore, Lars (June 2012). "G-FOLD: A Real-Time Implementable Fuel Optimal Large Divert Guidance Algorithm for Planetary Pinpoint Landing" (PDF). Concepts and Approaches for Mars Exploration. Lunar and Planetary Institute. LPI Contribution No. 1679, id. 4193. Retrieved November 19, 2026.
- ↑ 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 2.15 2.16 Scharf, Daniel P.; Açıkmeşe, Behçet; Dueri, Daniel; Benito, Joel; Casoliva, Jordi (February 2017). "Implementation and Experimental Demonstration of Onboard Powered-Descent Guidance". Journal of Guidance, Control, and Dynamics. 40 (2): 213–229. doi:10.2514/1.G000399.
- ↑ 3.0 3.1 3.2 Dueri, Daniel; Açıkmeşe, Behçet; Scharf, Daniel P.; Harris, Matthew W. (February 2017). "Customized Real-Time Interior-Point Methods for Onboard Powered-Descent Guidance". Journal of Guidance, Control, and Dynamics. 40 (2): 197–212. doi:10.2514/1.G001480.
- ↑ 4.0 4.1 4.2 4.3 4.4 4.5 4.6 Pekar, Nancy J. (January 22, 2014). "Masten's Xombie Tests JPL's G-FOLD Precision Landing Software". NASA. Retrieved November 19, 2026.
- ↑ 5.0 5.1 5.2 5.3 5.4 5.5 Blackmore, Lars (Winter 2016). "Autonomous Precision Landing of Space Rockets". The Bridge. National Academy of Engineering. 46 (4): 15–20. Retrieved November 19, 2026.
- ↑ 6.0 6.1 6.2 6.3 Malyuta, Danylo; Reynolds, Taylor P.; Szmuk, Michael; Lew, Thomas; Bonalli, Riccardo; Pavone, Marco; Açıkmeşe, Behçet (October 2022). "Convex Optimization for Trajectory Generation: A Tutorial on Generating Dynamically Feasible Trajectories Reliably and Efficiently". IEEE Control Systems Magazine. 42 (5): 40–113. doi:10.1109/MCS.2022.3187542.
- ↑ 7.0 7.1 7.2 7.3 7.4 7.5 7.6 Açıkmeşe, Behçet; Ploen, Scott R. (September–October 2007). "Convex Programming Approach to Powered Descent Guidance for Mars Landing". Journal of Guidance, Control, and Dynamics. 30 (5): 1353–1366. doi:10.2514/1.27553.
- ↑ 8.0 8.1 8.2 8.3 8.4 Blackmore, Lars; Açıkmeşe, Behçet; Scharf, Daniel P. (July–August 2010). "Minimum-Landing-Error Powered-Descent Guidance for Mars Landing Using Convex Optimization". Journal of Guidance, Control, and Dynamics. 33 (4): 1161–1171. doi:10.2514/1.47202.
- ↑ 9.0 9.1 9.2 9.3 Açıkmeşe, Behçet; Carson, John M. III; Blackmore, Lars (November 2013). "Lossless Convexification of Nonconvex Control Bound and Pointing Constraints of the Soft Landing Optimal Control Problem". IEEE Transactions on Control Systems Technology. 21 (6): 2104–2113. doi:10.1109/TCST.2012.2237346.
- ↑ 10.0 10.1 Açıkmeşe, Behçet; Blackmore, Lars (February 2011). "Lossless convexification of a class of optimal control problems with non-convex control constraints". Automatica. 47 (2): 341–347. doi:10.1016/j.automatica.2010.10.037.
- ↑ Mattingly, Jacob; Boyd, Stephen (March 2012). "CVXGEN: a code generator for embedded convex optimization". Optimization and Engineering. 13 (1): 1–27. doi:10.1007/s11081-011-9176-9.
- ↑ 12.0 12.1 12.2 Açıkmeşe, Behçet; Aung, MiMi; Casoliva, Jordi; Mohan, Swati; Johnson, Andrew; Scharf, Daniel; Masten, David; Scotkin, Joel; Wolf, Aron; Regehr, Martin W. (February 2013). "Flight Testing of Trajectories Computed by G-FOLD: Fuel Optimal Large Divert Guidance Algorithm for Planetary Landing". 23rd AAS/AIAA Spaceflight Mechanics Meeting. Kauai, Hawaii. Paper AAS 13-386.
- ↑ 13.0 13.1 13.2 Scharf, Daniel P.; Regehr, Martin W.; Vaughan, Geoff M.; Benito, Joel; Ansari, Homayoon; Aung, MiMi; Johnson, Andrew; Casoliva, Jordi; Mohan, Swati; Dueri, Daniel; Açıkmeşe, Behçet; Masten, David; Nietfeld, Scott (March 2014). "ADAPT demonstrations of onboard large-divert Guidance with a VTVL rocket". 2014 IEEE Aerospace Conference. pp. 1–18. doi:10.1109/AERO.2014.6836462.
- ↑ 14.0 14.1 14.2 "Behçet Açıkmeşe, Ph.D. Curriculum Vitae" (PDF). William E. Boeing Department of Aeronautics & Astronautics, University of Washington. March 2017. Retrieved November 19, 2026.
- ↑ Szmuk, Michael; Reynolds, Taylor P.; Açıkmeşe, Behçet (August 2020). "Successive Convexification for Real-Time Six-Degree-of-Freedom Powered Descent Guidance with State-Triggered Constraints". Journal of Guidance, Control, and Dynamics. 43 (8): 1399–1413. doi:10.2514/1.G004549.
This article "G-FOLD" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:G-FOLD. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.
