24-456
End-to-End Lyapunov-Based Eclipse-Feasible Low-Thrust Transfer Trajectories to NRHO
Abstract
Generating low-thrust transfer trajectories between Earth and the Near Rectilinear Halo Orbit (NRHO), that is selected for NASA’s Gateway, can be challenging due to the low control authority available from the propulsion system and the important operational constraint that the duration of all eclipses has to be less than a prescribed 90-minute threshold. We present a method for generating eclipse-feasible, minimum-time solutions to the aforementioned trajectory design problem using a Lyapunov control law. Coasting is enforced during solar eclipses due to both the Earth and Moon. We used particle swarm optimization to optimize the NRHO insertion date, time of flight, and control law parameters according to a cost function that prioritizes 1) convergence to the target orbit, 2) satisfaction of eclipse-duration constraints, and 3) minimization of time of flight. Trajectories can serve as initial guesses for NASA’s high-fidelity trajectory design tools such as Copernicus and GMAT.
1 Introduction
Design of low-thrust transfers to the vicinity of the Moon is of interest, with the selection of a Near-Rectilinear Halo Orbit (HALO) by NASA as a staging platform for exploration of the Moon and beyond [1]. Designing low-thrust trajectories can be quite difficult due to the combination of the very low control authority available from low-thrust propulsion systems and the highly nonlinear dynamical environment of the cislunar region. Since existing low-thrust spacecraft are powered with solar arrays, it’s essential that no solar eclipses last longer than a certain time interval. For instance, for the transfer of the Co-Manifested Vehicle (CMV) of Gateway, all eclipse durations need to be less than 90 minutes [2]. Extended operation of spacecraft within eclipses can deplete the batteries and lead to a complete loss of the vehicle.
Due to low propulsive accelerations on the order of m/s2, transfer trajectories can require times of flight on the order of a year or longer. Furthermore, low-thrust trajectories consist of different phases, where the primary gravitational influence shift from Earth to the Moon. Therefore, transfer trajectories are typically solved in multiple subphases. Ref. [2] gives an overview of NASA’s third and most recent Design Reference Mission (DRM) for the transfer of the CMV, which was designed in four subphases using Copernicus [3]. Indirect optimization methods are also used for designing low-thrust trajectories to quasi-periodic, near-rectilinear Halo orbits that leverages ephemeris-driven, “invariant manifold analogs” as long-duration asymptotic terminal coast arcs [4]. All discontinuous events (such as entry into and exit from Earth eclipses and throttle switches) are made smooth through the powerful and novel Composite Smooth Control (CSC) framework [5]. Ref. [6] solves a similar transfer problem in two subphases with an indirect method to optimize a powered Earth-spiral subphase that is then heuristically patched into a second ballistic subphase. Numerical continuation and homotopy methods are fundamental to the convergence of the Hamiltonian two-point boundary-value problems associated with indirect methods [7, 8, 9, 10, 11]. To consolidate the design approach, we solved a similar problem in one phase (i.e., an Earth-centered perturbed two-body model is used with perturbations due to the Moon, Sun, and Earth’s second zonal harmonic subject to Earth eclipses) with a multiple-shooting indirect method [12]. Both minimum-time and minimum-fuel solutions were achieved by starting with a high level of spacecraft acceleration and performing numerical continuation to gradually reduce the value of acceleration.
Another approach for designing low-thrust many-revolution trajectories is to use Lyapunov-based approaches. Lyapunov control (LC) is based on the Lyapunov stability theory, using which an LC law is obtained by finding the expression for control which makes the time derivative of a control-Lyapunov function (CLF) for the system negative [13, 14, 15]. The CLF is positive in terms of the states of the system and should become 0 at the equilibrium (corresponding to a desired “goal” or target state). The method can be likened to converting the second-order trajectory optimization problem into a first-order stabilization problem. We note that LC has been used extensively for low-thrust trajectory optimization [\cite[cite]{[\@@bibref{}{petropoulos_simple_2003}{}{}]}]. For instance, Ref. [16] applies Q-law [17] to solve Earth-Moon transfers in two subphases. The results are shown to serve as high-quality initial guesses for GPOPS-II [18] – a pseudospectral direct method solver. The authors leverage the computational efficiency of LC to perform an extensive trade study over potential epochs and departure orbits, allowing for an a posteriori analysis of the eclipses. Ref. [15] proposes a hybrid LC based methodology for designing Earth-Moon transfers in a full-ephemeris model. A study on the sensitivity of the LC law to missed-thrust events is also performed to demonstrate the robustness of the control law.
In this paper, we consider a single-phase design approach similar to what we considered in Ref. [12]; however, a Lyapunov control (LC) law is used instead of an indirect method to solve the trajectory optimization problem. Further, convergence of LC laws is asymptotic and depends on the rate at which the Lyapunov function value is decreased. Finite-time convergence to the goal can be achieved by parameterizing the CLF and optimizing these new parameters with respect to a cost function to obtain near-optimal solutions (for example, with respect to flight time or fuel consumption). In addition, convergence tolerances can be set that define when the propagated state is “close enough” to the goal/target state. LC laws are also straightforward to design and implement, and more importantly, are closed-loop in nature (i.e., they only depend on the current state) [19]. Thus, a motivation for this work is to rapidly solve low-thrust transfer problems. These solutions, in turn, can be used as initial guesses for other high-fidelity trajectory optimization tools that will provide more optimal solutions that precisely satisfy boundary conditions like, for instance, the indirect method in Ref. [12] or Copernicus.
An important operational constraint, for low-thrust trajectories to the Gateway, is that the duration of all eclipses has to be less than a prescribed 90-minute threshold. Mission design strategies for ensuring all solar eclipse durations are less than the prescribed time often entail generating a large set of reference trajectories for a range of departure epochs, as was done for Artemis I [20], to have a variety of options. However, many departure windows may not be feasible. Ref. [20] reports that 18% of all launch days were infeasible for Artemis I. The eclipse-duration constraint can pose more challenges for extremely low-thrust propulsion systems that require significantly longer times of flight. For low-thrust transfers departing from a Geostationary Transfer Orbit (GTO) to the Moon, Earth eclipse events highly depend on the departure epoch and GTO orientation. Adjustments can be made to these values to mitigate eclipse durations. However, even with an analyst’s extensive experience, this post-processing approach can take many iterations to identify feasible launch opportunities. Long intermittent Earth and Moon eclipses occurring in cislunar space, when the spacecraft’s relative velocity is much slower, are possible and not as easily preventable.
Incorporating eclipse-duration constraints within the trajectory optimization can could increase the number of feasible departure windows and improve optimality by allowing the trajectory optimization to be “aware” of such constraints within the optimization process. Eclipse-duration constraints are difficult to enforce due to the fact that 1) the number of eclipses is not known a priori and 2) the number and duration of eclipses can change within the trajectory optimization process. Ref. [20] outlines an effective strategy that treats eclipse durations as inequality constraints in Copernicus. The results, in the paper, indicate that it was possible to increase the number of feasible launch dates by about 20% for Artemis I. In this paper, however, we attempt to satisfy the eclipse maximum-duration constraint with a soft-penalization enforced while optimizing the parameters of the transfer problem. This eliminates an analyst-in-the-loop design approach and automates and facilitates the solution procedure.
The contributions of the paper are as follows. A LC law is derived and used to solve transfer trajectory optimization problems similar to those in Refs. [2, 6]. The LC law can only be used to transfer the spacecraft starting from a fully defined state into an orbit, i.e., in its standard formulation LC cannot be used for rendezvous type transfers unless modifications are applied to the problem formulation [21]. Therefore, always starting from a point on the NRHO, the control law is applied backward in time for a departure from a GTO to an insertion at NRHO and forward in time for a departure from NRHO to an insertion at GTO. We only consider transfer maneuvers from GTO to NRHO. The GTO departure time and true anomaly are free and the NRHO insertion time is fixed. However, we consider the NRHO insertion time to be a design parameter. Because the ephemeris-propagated and ephemeris-corrected NRHO provided in Ref. [1] is considered, the entire state on the NRHO can be defined by the time (i.e., epoch). While numerically integrating the spacecraft equations of motion, event detection is used to determine if the solutions converge, if the spacecraft intersects the surface of the Earth or Moon, and when eclipses due to the Earth and Moon occur. Coasting is enforced during eclipses and the duration of each eclipse is calculated. Particle swarm optimization [22] is used to optimize the NRHO insertion date, time of flight, and parameters of the CLF with respect to a hierarchical cost function. The cost function prioritizes 1) convergence to the target orbit, 2) satisfaction of the maximum-eclipse-duration constraint, and 3) minimization of the time of flight.
2 Dynamical Model
The entire transfer problem is solved in the J2000 Earth-centered inertial (ECI) frame. All accelerations are expressed with respect to this frame. The spacecraft’s motion is modeled with position, , and velocity, , vectors. The spacecraft’s state vector is and the equations of motion are defined as,
(1) |
where denotes time, is the two-body (Keplerian) acceleration due to the Earth, is the collection of third-body gravitational perturbations, and is the acceleration due to Earth’s gravitational perturbation. In the last acceleration term, , which denotes the acceleration produced by the propulsion system, is the thrust steering unit vector and is the eclipse-triggered throttle factor. Since the contribution and emphasis of the work is on satisfying the maximum-eclipse-duration constraint, a constant spacecraft acceleration is assumed with its value set to m/s2. This value is chosen to match the transfer problems in Refs. [2, 6]. Propellant-mass considerations belong to our future work. The thrust steering unit vector can freely orient in space, but is constrained to a unit vector, i.e.,
(2) |
In this work, the change in spacecraft mass is not taken into account. But, our future work will investigate implementing a LC law coasting mechanism to obtain suboptimal minimum-fuel solutions, like the one that is introduced with Q-law in Ref. [23]. Earth’s two-body acceleration can be written as,
(3) |
where and is the gravitational parameter of the Earth. Perturbing accelerations due to the gravity of the Moon, Sun, and Jupiter are considered and written as [24, 25],
(4) |
where
(5) |
with , and denotes the position of the -th body with respect to the Earth. Note that this formulation avoids any numerical error due to cancellations when terms are of significantly different values [24]. The acceleration vector due to Earth’s gravitational perturbation is written as [14, 26],
(6) |
where is the mean radius of the Earth and .
A canonical distance unit (DU) is defined by one Earth radius, , and a canonical time unit (TU) is defined such that the scaled value of Earth’s gravitational parameter is 1 DU3/TU2. These canonical distance and time units are then used to scale all states and parameters of the dynamical model. Future work could include investigating more sophisticated scaling methods and even time regularization methods such as Ref. [27] that might make numerical integration of Eq. (1) more efficient. All planetary ephemerides and constants are obtained using NASA’s SPICE toolkit [28] and the generic kernel files111https://naif.jpl.nasa.gov/pub/naif/generic_kernels/
It is computationally inefficient to call SPICE routines during numerical integration. Thus, all ephemerides obtained positions, i.e., appearing in Eq. (4) and in the eclipse model presented in the next section, are fitted by a spline function, which has proved to be more computationally efficient. The interpolation is performed to an accuracy on the order of 0.1 m.
3 Eclipse Model
In this work, eclipses due to the Earth and Moon are considered. The cylindrical eclipse model from Ref. [29] is used. The eclipse model assumes the Earth, Moon, and Sun to be perfect spheres and the spacecraft to be a point mass. Eclipse coasting is enforced during both umbra (total eclipse) and penumbra (partial eclipse). Thus, only the penumbra exits and entries are calculated, since umbra occurs inside penumbra. Figure 1 illustrates the Sun-Earth shadow geometry. Note that Figure 1 is greatly exaggerated and not drawn to scale. The same geometry is also used for modeling Moon eclipses.

Let be the distance between the Earth and the Sun and let . From the geometrical proportion of the penumbral cone, we have
(7) |
where the value can be expressed as,
(8) |
Therefore, the angle that the penumbral cone makes with respect to can be expressed as,
(9) |
The position of the spacecraft projected onto is defined as,
(10) |
where . Earth shadows only occur on the side of the Earth opposite the Sun, i.e., the spacecraft can only encounter a shadow when . Let the distance between the spacecraft and the center of the penumbral cone be defined as,
(11) |
and let the distance between the penumbral terminator and the center of the penumbral cone at the projected spacecraft location be defined as,
(12) |
Therefore, it can be stated that the spacecraft is in the Earth shadow when and and not in a shadow otherwise.
Let and denote the same definitions as Eqs. (11) and (12), respectively, but for the Moon-Sun eclipse model. Also, let be the position of the spacecraft with respect to the Moon and be the unit vector pointing towards the Sun with respect to the Moon. The following switching functions can then be defined
(13) | ||||||
(14) |
The eclipse-triggered throttle factor in Eq. (1), , can be defined as a multiplication of two factors as,
(15) |
where
(16) |
and
(17) |
During numerical integration of Eq. (1), an event-detection algorithm is used to determine the exact time of each eclipse entry, , and exit, , for all eclipses with . The duration of each eclipse, denoted as , is also calculated. Note that the total number of Earth and Moon eclipses, , is not known in advance. The eclipse constraint, that all eclipses be less than 90 minutes [2], is considered in this work and can be expressed formally as,
(18) |
Unlike the eclipse model used by the authors in Ref. [12], the domain for the eclipse model from Ref. [29] is defined interior to the occulting bodies. This was the main reason that we adopted this eclipse model. While optimizing all the parameters of the transfer problem, event detection is used to stop integration when the spacecraft intersects the Earth or Moon. This logic works most of the time, however, sometimes the dynamics become significantly nonlinear around the Moon and the event-detection algorithm misses the intersection event. When the model from Ref. [30] is used, NaN
’s are returned since the model is undefined for the domain inside the occulting body, which breaks the optimization routine. A similar problem is reported with the eclipse model used in [20] along with a strategy for overcoming it. The previously presented eclipse model circumvents this problem altogether.
4 Trajectory Optimization Problem
The transfer problem, departing from a GTO at a date and inserting into NRHO at a later date , is solved backwards in time over the time horizon
(19) |
The GTO orbital parameters are taken from Ref. [2] with apogee and perigee altitudes of 33,900 km and 350 km, respectively, and an inclination of 28.5. Because it is stated in Ref. [2] that the right ascension of the ascending node (RAAN) and argument of perigee (ARGP) of the GTO are unrestricted for the initial analysis, only the specific angular momentum, eccentricity, and inclination are considered in the boundary conditions for the GTO, leaving the RAAN and ARGP as free parameters. True anomaly is also free, however, this fact is inherent to the LC law that will be used to solve the trajectory optimization problem.
The boundary conditions on the GTO are therefore defined as
(20) |
where subscript ‘GTO’ denotes values of the GTO and the specific angular momentum, , eccentricity, , and inclination, , are defined as [31],
(21) |
where and denotes the component of the specific angular momentum vector in the J2000 ECI frame.
It is expected for the spacecraft’s osculating orbit, with respect to the Earth, to become hyperbolic close to the Moon. Thus, the angular momentum was selected as opposed to, for example, the semimajor axis. The semiparameter, defined as [31], could also be an acceptable element to target. Ultimately, the goal is to target the size, shape, and inclination of the GTO only. A variety of other boundary conditions could be formulated of which some could lead to a better CLF and, subsequently, a better control law and therefore will be investigated in our future work.
The NRHO ephemeris is obtained from the kernel file222https://naif.jpl.nasa.gov/pub/naif/misc/MORE_PROJECTS/DSG/
described in Ref. [1]. The boundary condition at is defined as
(22) |
The minimum-time constant-acceleration transfer trajectory optimization problem can be stated as,
(23a) | ||||
s.t., | (23b) |
A parameterized LC law based on the goal defined by Eq. (20) will be derived and substituted into Eq. (1). Eq. (23) can then be solved as a parameter optimization problem using a heuristic algorithm in which Eq. (1) is integrated over the time horizon given by Eq. (19) with the initial condition given by Eq. (22).
We note that Eq. (18) is quite challenging to enforce directly since the number of eclipses, , is not known a priori and can also change during the iterations of the optimization process. Instead, Eq. (18) is enforced as a soft penalty along with a penalty to further promote satisfaction of Eq. (20) since it is not guaranteed. These two penalties and the time of flight are encoded into a single cost function that the heuristic algorithm minimizes. This cost function will be explained in detail after the control law is derived.
5 Lyapunov Control Law
The control-Lyapunov function (CLF) is defined as,
(24) |
where the constraint vector, , is defined as,
(25) |
Note that no scaling is performed on Eq. (25) because the canonical scaling method ensures that has the same order of magnitude of and . Instead of using a diagonal parameter matrix , a full parameter matrix is used to consider a larger family of CLFs as it is proposed in [32]. The positive-definite matrix is defined through a novel eigendecomposition method as,
(26) |
where the column vectors of make up the eigenvectors of and is a diagonal matrix of the eigenvalues of . This parameterization is based on Ref. [32] and allows an efficient (i.e., minimal number of parameters) representation of a full matrix that is guaranteed to be positive-definite subject only to bounds on its parameters. The eigenvalue matrix, , is simple to construct, i.e.,
(27) |
where the parameters , , and are constrained to being real and positive. The matrix can be generated as a rotation matrix and Ref. [32] outlines a generalized way to generate rotation matrices in -dimensions. Because is , in this work, the method in Ref. [32] reduces to any standard Euclidean rotation matrix parameterized by 3 angle-like parameters, , , and .
A control law is derived by making the time-derivative of Eq. (24), , as negative as possible subject to Eq. (2), i.e., we have
(28) |
In Eq. (28), can be found through the chain rule as,
(29) |
Since does not explicitly depend on time, Eq. (29) reduces to
(30) |
It can be shown that Eq. (28) is pointwise satisfied with the selection of thrust steering vector as,
(31) |
Because the transfer problem is being solved backwards in time, the sign of Eq. (31) should be reversed to ensure approaches 0 at the GTO departure time . The resulting control law is
(32) |
Eq. (32) is calculated in CasADi [33], a symbolic framework that uses automatic differentiation. Note that if the transfer problem that departs at NRHO and arrives at GTO were solved, then Eq. (31) would be used.
Due to the very low control authority available from the low-thrust propulsion system (compared to the highly-perturbed dynamical model), the CLF time derivative, Eq. (30), may become positive over one (or more) finite intervals, thereby not guaranteeing the system to converge as stated by the Lyapunov stability theory. However, this doesn’t guarantee nonconvergence either. The results of Ref. [15] show that converged solutions can still be found as long as the CLF time derivative is negative almost everywhere except on a finite number of small intervals. This property is also observed to be held in our numerical results.
6 Parameter Optimization Problem
After deriving the LC law, the trajectory optimization problem in Eq. (23) can now be stated as a parameter optimization problem (POP). The parameters considered are the NRHO insertion date, , bounded by
(33) |
the time of flight, , bounded by
(34) |
and finally the 6 CLF parameters in Eq. (26), bounded by
(35) |
These parameters are optimized using MATLAB’s particle swarm optimization (PSO), a stochastic optimization algorithm that optimizes a scalar cost function subject only to bounds on the design variables. Under this parametrization, the time horizon in Eq. (19) can be expressed as,
(36) |
An important step in the resulting POP is to accurately solve for the initial value problem (IVP) given by the set of ordinary differential equation (ODEs) in Eq. (1) with the control law in Eq. (32) and boundary condition given by Eq. (22) over the time horizon in Eq. (36), i.e.,
(37) |
MATLAB’s variable-step variable-order nonstiff ODE integrator ode113
is used with an absolute and relative tolerance of . Our extensive numerical studies indicate that this integrator performed most efficiently with the prescribed tolerances against the rest of MATLAB’s ODE integrators.
The event-detection capability of ode113
is used extensively while solving Eq. (37). The method works by monitoring the sign of an number of scalar event functions, for . When the -th function changes sign, a regula falsi algorithm is used to find the precise location of the zero of , and, if all the corresponding termination conditions are met, integration stops. In our paper, there are event functions defined as follows,
(38a) | ||||
(38b) | ||||
(38c) | ||||
(38d) | ||||
(38e) | ||||
(38f) | ||||
(38g) |
Eqs. (38a) and (38b) monitor if the spacecraft has intersected 200 km above the surface of the Earth and Moon. If either of their signs change, then integration stops and the cost function is appropriately updated and returned to PSO. Eqs. (38c), (38d), and (38e) monitor if the solution has converged or not (i.e., orbit insertion has been achieved or not). If any one of their signs become negative while the other two are also negative, then integration stops and the cost function is appropriately updated and returned to PSO. The tolerance was chosen as it provides a balance between convergence speed and accuracy; however, future work should investigate using different convergence criteria.
Eqs. (38f) and (38g) are from Eqs. (13) and (14), respectively, and determine if the spacecraft is in an eclipse or not. If Eq. (13) (resp. Eq. (14)) changes sign while (resp. ) is negative, then integration is terminated. However, integration is then restarted from the same time and state. This logic is followed so that the discrete function in Eq. (15) is modeled as accurately as possible.
In formulating the cost function, let denote the final time returned by Eq. (37) under the event-detection logic, i.e., always satisfies . The first priority of the cost function is to ensure the solution converges. If a solution to Eq. (37) does not satisfy the constraint below,
(39) |
then, the value of cost, , defined as,
(40) |
is returned. Because of the highly nonlinear dynamics in the vicinity of the Moon, it was found that solutions commonly intersect the surface of the Moon. Thus, if integration was stopped due to Eq. (38b) becoming negative, then,
(41) |
is returned as the cost function to PSO as a penalization.
If Eq. (39) is satisfied for a solution, but Eq. (18) is not, then
(42) |
is returned as the cost function to PSO. Note that it appears there’s a possibility for a division by zero in Eq. (42), however, the expression in Eq. (42) is not evaluated if Eq. (18) is satisfied, which eliminates this possibility. Also, Eq. (42) is made negative to differentiate it from Eqs. (40) and (41), but inverted so that the violated eclipse durations are still minimized.
Finally, if Eqs. (39) and (18) are satisfied for a solution, then
(43) |
is returned as the cost function to PSO. This cost is also made negative to differentiate from Eqs. (40) and (41) and inverted so that time of flight is minimized. However, to ensure it is differentiated from Eq. (42), it has units of while Eq. (42) has units of so that they are on different orders of magnitude. Further, to ensure that minuscule eclipse violations aren’t interpreted as extremely low times of flights, if occurs for a converged solution, then Eq. (43) is returned instead of Eq. (42). While this allows for solutions with eclipses longer than 90 minutes to be deemed feasible, these solutions will only be infeasible by a duration on the order of a second. Note that the cost function used in this work is not continuous due to the logic involved, however, stochastic optimization algorithms, such as PSO, can deal with discontinuous cost functions.
Because LC laws are prone to extreme oscillations/chattering at the end of the maneuver, the step size of variable step integrators can become minuscule and halt progress [13]. To overcome this issue, integration of ode113
is stopped when a certain number of function evaluations is reached. A simple logic is implemented inside ode113
and, if triggered, then Eq. (40) is simply returned as the cost function to PSO. In this paper, function evaluations were arbitrarily chosen and found to provide acceptable results; however, different values may further benefit the algorithm given that the number of iterations is a problem-dependent number. The event-detection logic and cost function values are summarized in Algorithm 1.
7 Results
The results are presented for a transfer problem with a fixed NRHO insertion date and then with a variable NRHO insertion date. These two cases are considered to demonstrate the impact of the insertion date and the types of solutions that can be achieved. The fixed NRHO insertion date was arbitrarily selected as 2026 DEC 06 00:00:00 UTC. This coincides with a state that is roughly at apolune on the NRHO. When is allowed to vary, it is bounded between 2026 NOV 06 00:00:00 UTC and 2027 JAN 05 00:00:00 UTC, or, days and days. The value of 30 days was selected because it is approximately equal to 1 period of the Moon’s orbit around the Earth, giving a variety of phasing possibilities to the solution space. The time of flight for all cases was bounded by days and days. Simulations were performed on a 2023 MacBook Pro with the Apple M2 Pro chip, which allows for 10 “workers” in MATLAB to run PSO in parallel.
7.1 Fixed NRHO Insertion Date
For this transfer problem, PSO was run 5 times with a swarm size of 500 and a maximum time limit of 1 hour. The best run provided an eclipse-feasible solution, with a time of flight of 321.17 days. The trajectory for this solution, in the J2000 ECI frame, is shown in Figure 2. The trajectory is also shown in the Earth-centered Sun-Earth rotating frame in Figure 3(a) and in the Moon-centered Earth-Moon rotating frame in Figure 3(b). These frames are denoted by the unit vectors and , respectively, where the subscript ‘ECR’ denotes Earth-centered rotating and ‘MCR’ denotes Moon-centered rotating. Note that the legend in Figure 2 also applies to Figure 3(a) and Figure 3(b).




Figures 4(a), 4(b), and 4(c) show the time histories of the specific angular momentum, eccentricity, and inclination, respectively. The time histories are plotted in the “forward sense of time,” i.e., the -axis is 0 when the spacecraft is at the GTO and is when the spacecraft is at the NRHO. Figures 5(a) and 5(b) show the CLF value (Eq. (24)) and the CLF time derivative value (Eq. (30)), respectively, and are also plotted in the forward sense of time. Note that because this problem is being solved backwards in time, the sign of the control law was reversed, so, ideally, the function in Fig. 5(b) is positive definite. It can be observed though that the CLF time derivative, in fact, becomes negative over multiple intervals. However, the trajectory still converges to the target orbit.





Figures 6(a) and 6(b) show the eclipse-triggered throttle factor and eclipse switching functions for the solution. Figure 7(a) shows the duration of each eclipse. While included in the model, no eclipses due to the Moon occur in this solution. The first feasible solution from PSO in the same run was obtained in about 15 minutes and had a time of flight of 332.72 days. Figure 7(b) shows the duration of each of its eclipses. Comparing Figure 7(a) and Figure 7(b), it can be interpreted for this particular case that PSO improves the time of flight by increasing the eclipse durations as much as possible.




7.2 Variable NRHO Insertion Date
For this transfer problem, PSO was ran once with an increased swarm size of 1000 to account for the extra parameter, , being optimized. The first eclipse-feasible solution was obtained after about 1 hour and 45 minutes. The NRHO insertion date is 2026 NOV 06 00:01:35 UTC with a time of flight of 314.03 days. The best eclipse-feasible solution was obtained after about 3 hours and 30 minutes and had an NRHO insertion date of 2026 NOV 06 00:00:00 UTC and a time of flight of 303.23 days. The NRHO insertion date of many of the eclipse-feasible solutions tends towards , suggesting that shifting and may provide better solutions. Figure 8(a) shows the trajectory for the best solution in the J2000 ECI frame. Figure 8(b) shows the duration of each of the eclipses for the solution. An interesting aspect of the solution is that Moon eclipses occur in this transfer solution, with one Moon eclipse occurring very close to the NRHO insertion being the limiting eclipse duration.


It is hypothesized that it took longer to reach convergence because of the sensitivity introduced by making a decision variable. Small changes in can potentially cause large changes in the initial conditions, , depending on how close is to perilune. This means that changes to itself would require changes to the other parameters for the solution to converge. However, in the current formulation, all parameters are being optimized at the same level. It is hard to fully characterize this hypothesis without performing many runs of PSO, since PSO is a stochastic optimization algorithm. One future work is to investigate optimizing using a bi-level optimization algorithm. Nonetheless, considering as a design variable shows that it is possible to obtain solutions with a better time of flight within a new departure window. A potential use of our proposed formulation is to make the bounds and large to find a departure window over a wide range of time, or the bounds can be made small to improve optimality once an initial solution is obtained.
8 Conclusion
We presented a methodology for efficiently finding low-thrust spacecraft transfer trajectories under constant acceleration from a geostationary transfer orbit (GTO) to the near-rectilinear halo orbit (NRHO) earmarked for NASA’s Gateway. The method is based on a closed-loop control law derived from a novel parameterization of quadratic control-Lyapunov functions. This control law is applied in a backward-in-time sense to generate solutions departing from the GTO and inserting into the NRHO. Solutions may also be obtained that depart from the NRHO and insert into the GTO.
To solve the resulting trajectory optimization problems, the parameters of the control law, time of flight, and NRHO insertion date are all optimized simultaneously with a stochastic optimization algorithm – particle swarm optimization (PSO). The cost function is designed to prioritize 1) convergence to the target orbit, 2) satisfaction of the constraint that all eclipse durations be less than 90 minutes, and 3) minimization of the time of flight. Results indicate that eclipse-feasible solutions can be obtained on the order of 10 minutes with the processing power of a personal laptop computer. Solutions obtained can serve as high-quality initial guesses to NASA’s high-fidelity trajectory optimization tools such as Copernicus and GMAT.
9 Acknowledgment
We would like to acknowledge Saeid Tafazzol for his useful suggestions and discussions on efficiently parameterizing -dimensional positive-definite matrices.
References
- [1] David E Lee, “White Paper: Gateway Destination Orbit Model: A Continuous 15 Year NRHO Reference Trajectory,” White Paper JSC-E-DAA-TN72594, NASA Johnson Space Center, Houston, TX, Aug. 2019.
- [2] M. L. McGuire, S. L. McCarty, S. N. Karn, K. S. Ponnapalli, K. J. Hack, D. J. Grebow, T. A. Pavlak, and D. C. Davis, “Overview of the Lunar Transfer Trajectory of the Co-Manifested First Elements of NASA’s Gateway,” 2021 AAS/AIAA Astrodynamics Specialist Conference, AAS 21-697, Big Sky, MT, Aug. 2021.
- [3] C. Ocampo, “An Architecture for a Generalized Spacecraft Trajectory Design and Optimization System,” Libration Point Orbits and Applications, Aiguablava, Spain, WORLD SCIENTIFIC, May 2003, pp. 529–571, 10.1142/9789812704849_0023.
- [4] S. Singh, J. Junkins, B. Anderson, and E. Taheri, “Eclipse-conscious transfer to lunar gateway using ephemeris-driven terminal coast arcs,” Journal of Guidance, Control, and Dynamics, Vol. 44, No. 11, 2021, pp. 1972–1988.
- [5] E. Taheri, J. L. Junkins, I. Kolmanovsky, and A. Girard, “A novel approach for optimal trajectory design with multiple operation modes of propulsion system, part 1,” Acta Astronautica, Vol. 172, 2020, pp. 151–165.
- [6] B. Patrick, A. Pascarella, and R. Woollands, “Hybrid Optimization of High-Fidelity Low-Thrust Transfers to the Lunar Gateway,” The Journal of the Astronautical Sciences, Vol. 70, Aug. 2023, p. 27, 10.1007/s40295-023-00387-7.
- [7] E. Taheri and J. L. Junkins, “Generic smoothing for optimal bang-off-bang spacecraft maneuvers,” Journal of Guidance, Control, and Dynamics, Vol. 41, No. 11, 2018, pp. 2470–2475.
- [8] P. J. Ayyanathan and E. Taheri, “Mapped adjoint control transformation method for low-thrust trajectory design,” Acta Astronautica, Vol. 193, 2022, pp. 418–431.
- [9] Y. Kovryzhenko and E. Taheri, “Vectorized Trigonometric Regularization for Singular Control Problems with Multiple State Path Constraints,” The Journal of the Astronautical Sciences, Vol. 71, No. 1, 2023, p. 1.
- [10] E. Taheri and N. Li, “L2 norm-based control regularization for solving optimal control problems,” IEEE Access, Vol. 11, 2023, pp. 125959–125971.
- [11] K. Saloglu and E. Taheri, “Acceleration-Based Switching Surfaces for Impulsive Trajectory Design Between Cislunar Libration Point Orbits,” The Journal of the Astronautical Sciences, Vol. 71, No. 2, 2024, p. 13.
- [12] N. P. Nurre and E. Taheri, “End-to-End Operationally-Constrained Low-Thrust Transfers to Gateway’s Near-Rectilinear Halo Orbit,” AIAA SCITECH 2024 Forum, Orlando, FL, American Institute of Aeronautics and Astronautics, Jan. 2024, 10.2514/6.2024-0838.
- [13] Noble Ariel Hatten, A Critical Evaluation of Modern Low-Thrust, Feedback-Driven Spacecraft Control Laws. PhD thesis, The University of Texas at Austin, Austin, Texas, Dec. 2012.
- [14] H. Schaub and J. L. Junkins, Analytical mechanics of space systems. AIAA education series, Reston, VA: American Institute of Aeronautics and Astronautics, Inc(AIAA), fourth edition ed., 2018.
- [15] R. Epenoy and D. Pérez-Palau, “Lyapunov-based low-energy low-thrust transfers to the Moon,” Acta Astronautica, Vol. 162, Sept. 2019, pp. 87–97, 10.1016/j.actaastro.2019.05.058.
- [16] J. Shannon, M. Ozimek, J. Atchison, and C. Hartzell, “Rapid Design and Exploration of High-Fidelity Low-Thrust Transfers to the Moon,” 2020 IEEE Aerospace Conference, Big Sky, MT, USA, IEEE, Mar. 2020, pp. 1–12, 10.1109/AERO47225.2020.9172483.
- [17] A. E. Petropoulos, “Simple Control Laws for Low-Thrust Orbit Transfers,” 2003 AAS/AIAA Astrodynamics Specialist Conference, AAS 03-630, Vol. 116, Big Sky, Montana, Univelt, Aug. 2003, pp. 2031–2047.
- [18] M. A. Patterson and A. V. Rao, “GPOPS-II: A MATLAB Software for Solving Multiple-Phase Optimal Control Problems Using hp-Adaptive Gaussian Quadrature Collocation Methods and Sparse Nonlinear Programming,” ACM Transactions on Mathematical Software, Vol. 41, Oct. 2014, pp. 1–37, 10.1145/2558904.
- [19] M. Ozimek, J. Shannon, R. Power, D. Edell, D. Ellison, R. Mitch, and A. Diaz-Calderon, “Onboard Development of Autonomous Low-Thrust Guidance,” 2023 IEEE Aerospace Conference, IEEE, 2023, pp. 1–10.
- [20] J. Williams, S. L. Smallwood, D. E. Lee, and M. V. Widner, “A New Eclipse Algorithm for use in Spacecraft Trajectory Optimization,” 2023 AAS/AIAA Astrodynamics Specialist Conference, AAS 23-243, Big Sky, MT, Aug. 2023.
- [21] S. Narayanaswamy and C. J. Damaren, “Equinoctial Lyapunov control law for low-thrust rendezvous,” Journal of Guidance, Control, and Dynamics, Vol. 46, No. 4, 2023, pp. 781–795.
- [22] J. Kennedy and R. Eberhart, “Particle swarm optimization,” Proceedings of ICNN’95-international conference on neural networks, Vol. 4, ieee, 1995, pp. 1942–1948.
- [23] A. Petropoulos, “Low-Thrust Orbit Transfers Using Candidate Lyapunov Functions with a Mechanism for Coasting,” AIAA/AAS Astrodynamics Specialist Conference and Exhibit, Providence, Rhode Island, American Institute of Aeronautics and Astronautics, Aug. 2004, 10.2514/6.2004-5089.
- [24] R. H. Battin, An introduction to the mathematics and methods of astrodynamics. AIAA education series, Reston, VA: American Institute of Aeronautics and Astronautics, rev. ed. ed., 1999.
- [25] J. T. Betts and S. O. Erb, “Optimal Low Thrust Trajectories to the Moon,” SIAM Journal on Applied Dynamical Systems, Vol. 2, Jan. 2003, pp. 144–170, 10.1137/S1111111102409080.
- [26] S. Sowell and E. Taheri, “Eclipse-Conscious Low-Thrust Trajectory Optimization Using Pseudospectral Methods and Control Smoothing Techniques,” Journal of Spacecraft and Rockets, Vol. 61, No. 3, 2024, pp. 900–907.
- [27] J. Leith and R. P. Russell, “A Time Regularization Scheme for Spacecraft Trajectories Subject to Multi-Body Gravity,” The Journal of the Astronautical Sciences, Vol. 70, Mar. 2023, p. 7, 10.1007/s40295-023-00364-0.
- [28] C. H. Acton, “Ancillary data services of NASA’s Navigation and Ancillary Information Facility,” Planetary and Space Science, Vol. 44, Jan. 1996, pp. 65–70, 10.1016/0032-0633(95)00107-7.
- [29] J. T. Betts, “Optimal low‒thrust orbit transfers with eclipsing,” Optimal Control Applications and Methods, Vol. 36, Mar. 2015, pp. 218–240, 10.1002/oca.2111.
- [30] J. D. Aziz, J. S. Parker, D. J. Scheeres, and J. A. Englander, “Low-Thrust Many-Revolution Trajectory Optimization via Differential Dynamic Programming and a Sundman Transformation,” The Journal of the Astronautical Sciences, Vol. 65, June 2018, pp. 205–228, 10.1007/s40295-017-0122-8.
- [31] D. A. Vallado, Fundamentals of astrodynamics and applications. No. 21 in Space technology library, Torrance, CA: Microcosm Press, fifth edition, first printing ed., 2022.
- [32] N. P. Nurre, S. Tafazzol, and E. Taheri, “Expanding the Class of Quadratic Control-Lyapunov Functions for Low-Thrust Trajectory Optimization,” arXiv preprint arXiv:2408.14412, 2024.
- [33] J. A. E. Andersson, J. Gillis, G. Horn, J. B. Rawlings, and M. Diehl, “CasADi: a software framework for nonlinear optimization and optimal control,” Mathematical Programming Computation, Vol. 11, Mar. 2019, pp. 1–36, 10.1007/s12532-018-0139-4.