Two-Point Boundary Value Problem (TPBVP)
Author: Tianjiang Shuo
Website: https://cislunarspace.cn
Definition
A two-point boundary value problem (TPBVP) seeks to solve an ordinary differential equation over the interval where boundary conditions are imposed separately at the start and the endpoint:
In the context of spacecraft trajectory optimization, the TPBVP is the core mathematical structure of the indirect method: the optimal trajectory derived from Pontryagin's Maximum Principle (PMP) must simultaneously satisfy initial state constraints (initial position, velocity, and mass are known) and terminal state constraints (target position, velocity), forming a characteristic two-point boundary value structure.
Unlike an initial-value problem where all states are specified at , a TPBVP specifies only a portion of the state at each end. The remaining degrees of freedom are constrained by the dynamics: the unknown free variables bridging the two ends must be adjusted simultaneously. Numerically, the free variable is the initial co-state vector (along with the terminal time ): co-states lack physical intuition, are unbound in magnitude, and are extremely sensitive to the initial guess. This is the fundamental difficulty of TPBVP solution.
Mathematical Description
Hamilton's Canonical Equations
For a fuel-optimal transfer, Hamilton's canonical equations produce a 14-dimensional coupled system:
Known initial conditions: , , , 7 scalars;
Known terminal conditions: , , 6 scalar constraints;
Unknowns: initial co-state + terminal time = 8 unknowns. The transversality condition on supplies the 7th terminal constraint, yielding a determined system.
The Shooting Function
Define the shooting function:
Starting from a guess of , integrate forward, and use Newton-Raphson iteration to drive . Each iteration requires the state transition matrix, here the STM extends to the co-state dimension (), doubling the integration budget.
Numerical Difficulties and Countermeasures
Co-State Non-Intuitiveness
Co-state variables represent the shadow price of state constraints: the position co-state captures the cost pressure that the terminal position constraint exerts on the entire trajectory; the velocity co-state is the shadow price of terminal velocity. But their magnitudes and directions follow no simple heuristic, making reasonable initial guesses elusive. Under the CR3BP's nonlinear flow, small perturbations in are amplified by long-duration integration, producing multi-peak, multi-valley structure in (parallel to the initial-guess sensitivity of differential correction).
Co-state normalization is a critical mitigation: normalize onto the 7-dimensional unit sphere, reducing the search space from an infinite domain to a compact set: the initial guess need only point in the right direction (Jiang et al. 2012).
Homotopy
Homotopy methods embed the difficult original problem into a one-parameter family of auxiliary problems, tracing the solution continuously from an easy starting point to the original:
Energy homotopy: From a high Jacobi constant (near the libration points in CR3BP, easy convergence) to the target energy (the actual transfer energy);
Thrust homotopy: From large thrust (clear bang-bang structure, easy) to the actual thrust level;
Continuous low-thrust homotopy: From the two-body solution to the three-body solution.
Relationship to Lambert's Problem
Lambert's problem is a special case of the TPBVP under two-body dynamics, given two positions and the time of flight, find the velocity at the start of the connecting Keplerian arc. It is the fundamental building block for both orbit transfers and initial orbit determination. The three-body Lambert problem (where the terminal state is specified in the rotating synodic frame as a relative position) must be solved with differential correction rather than a closed-form or finite-iteration scheme. The TPBVP can be viewed as a generalization of the three-body Lambert problem that additionally incorporates co-states and the optimality condition of a performance index.
Applications in Cislunar Space
Low-energy transfers: Fuel-optimal transfer from LEO to lunar libration-point orbits. PMP reduces the problem to a TPBVP with Hamilton's canonical equations. Co-state normalization combined with homotopy dramatically improves solvability.
NRHO insertion: The optimal insertion burn for the Gateway mission: insertion point () is free, and the insertion is minimized.
Multi-spacecraft rendezvous: Phase matching and relative-motion constraints introduce more complex terminal conditions into .
Flight-time vs. fuel trade-off for continuous low thrust: Thrust levels differing by orders of magnitude produce structurally different TPBVP solutions (low thrust → long-arc maneuvers; high thrust → impulse approximation), requiring distinct initial-guess strategies.
Two-body → three-body refinement pipeline: Solve a Lambert problem in the two-body framework to obtain an initial velocity guess; then refine it in the CR3BP or ephemeris model using differential correction / multiple shooting, a natural workflow coupling of the two problem types.
Related Concepts
References
Bryson A E, Ho Y C. Applied Optimal Control[M]. Taylor & Francis, 1975. (Classic exposition of the TPBVP in optimal control)
Jiang F, Baoyin H, Li J. Practical techniques for low-thrust trajectory optimization with homotopic approach[J]. Journal of Guidance, Control, and Dynamics, 2012. (Co-state normalization + homotopy for TPBVP convergence: key technical details)
Vallado D A. Fundamentals of Astrodynamics and Applications[M]. 5th ed. Microcosm Press, 2022. §6-8, §10.4. (TPBVP and shooting in two-body optimal control)
