Hostname: page-component-586b7cd67f-r5fsc Total loading time: 0 Render date: 2024-11-24T00:03:44.830Z Has data issue: false hasContentIssue false

Trajectory design via unsupervised probabilistic learning on optimal manifolds

Published online by Cambridge University Press:  23 August 2022

Cosmin Safta*
Affiliation:
Sandia National Laboratories, Livermore, California 94551, USA
Roger G. Ghanem
Affiliation:
University of Southern California, Los Angeles, California 90089, USA
Michael J. Grant
Affiliation:
Sandia National Laboratories, Albuquerque, New Mexico 87185, USA
Michael Sparapany
Affiliation:
Sandia National Laboratories, Albuquerque, New Mexico 87185, USA
Habib N. Najm
Affiliation:
Sandia National Laboratories, Livermore, California 94551, USA
*
*Corresponding author. E-mail: [email protected]

Abstract

This article illustrates the use of unsupervised probabilistic learning techniques for the analysis of planetary reentry trajectories. A three-degree-of-freedom model was employed to generate optimal trajectories that comprise the training datasets. The algorithm first extracts the intrinsic structure in the data via a diffusion map approach. We find that data resides on manifolds of much lower dimensionality compared to the high-dimensional state space that describes each trajectory. Using the diffusion coordinates on the graph of training samples, the probabilistic framework subsequently augments the original data with samples that are statistically consistent with the original set. The augmented samples are then used to construct conditional statistics that are ultimately assembled in a path planning algorithm. In this framework, the controls are determined stage by stage during the flight to adapt to changing mission objectives in real-time.

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press

Impact Statement

This article demonstrates the use of unsupervised learning techniques to extract low-dimensional manifolds given limited data in high-dimensional configurations. This information is used to estimate conditional statistics that are subsequently employed in designing trajectories under uncertainty without the need for additional model evaluations or data collection campaigns.

1. Introduction

Real-time trajectory optimization for hypersonic vehicles is a difficult task that requires simultaneous accounting for constraints related to flight dynamics, vehicle limitations during flight, variable initial and terminal conditions, and a high-dimensional parameter set for the models employed for these systems. Existing approaches to planetary reentry trajectory optimization problems can be generalized into two categories: indirect methods and direct methods (Betts, Reference Betts1998). Indirect methods are based on Pontryagin’s minimum principle, and optimal control is determined by minimizing a Hamiltonian system with respect to the control variables. These methods can result in high-fidelity solutions through adaptive refinement techniques. Nevertheless, because of high-dimensionality and sensitivity to the initial guess, the resulting boundary-value problems are quite challenging to solve (La Mantia and Casalino, Reference La Mantia and Casalino2006). Direct methods discretize trajectories into multiple segments characterized by state and control variables. The optimal control problem (OCP) is converted into a parameter optimization problem (Fahroo and Ross, Reference Fahroo and Ross2002), which is typically solved via nonlinear programming (Betts, Reference Betts2010) or convex optimization methods (Wang and Grant, Reference Wang and Grant2017, Reference Wang and Grant2018). However, the computational expense for direct methods cannot be estimated a priori, and solution convergence cannot always be guaranteed for hypersonic problems. Despite recent improvements in the efficiency of both direct and indirect methods, their computational expense is high, and convergence challenges limit their adoption for onboard trajectory generation.

Given numerical challenges and computational cost, recent advances in flight dynamics planning algorithms have largely focused on the identification of single trajectory solutions. Nevertheless, during the design process, the envelope of solutions corresponding to a wide range of trajectory constraints is often required. While the computational cost can be afforded during off-line design and planning activities, this approach becomes infeasible when data needs to be processed in real-time, often with limited access to large computing capabilities.

Deep learning techniques have been recently successful in a wide variety of control problems across several research areas including aerospace, in particular for path planning of unmanned aerial systems (Choi and Ahn, Reference Choi and Ahn2020; Yan et al., Reference Yan, Xiang and Wang2020) and agile flight guidance (Loquercio et al., Reference Loquercio, Kaufmann, Ranftl, Dosovitskiy, Koltun and Scaramuzza2020). Deep learning has also found applications in space mission planning. Deep neural networks (DNNs) are trained on optimal state and control vectors that come from the numerical solution of an equivalent OCP. The DNN learns a map from the state vector (e.g., position and velocity) to the corresponding optimal control (e.g., the angle of attack and bank angle), by leveraging the training data provided by the OCP solver. This approach reduces the problem to a supervised learning task provided that a sufficiently large data set of optimal trajectories is available for the problem at hand. Typical applications include the approximation of optimal state-feedback control laws for interplanetary transfers (Izzo et al., Reference Izzo, Öztürk and Märtens2019) and planetary soft-landing maneuvers (Sánchez-Sánchez and Izzo, Reference Sánchez-Sánchez and Izzo2018), as well as the real-time onboard generation of a high number of optimal trajectories for either asteroid landing (Cheng et al., Reference Cheng, Wang, Jiang and Li2020) or atmospheric reentry of hypersonic vehicles (Shi and Wang, Reference Shi and Wang2020, Reference Shi and Wang2021).

Federici et al. (Reference Federici, Benedikter and Zavoli2021) explored behavioral cloning and reinforcement learning algorithms for real-time optimal spacecraft guidance in presence of both operational constraints and stochastic effects, such as an inaccurate knowledge of the initial spacecraft state and the presence of random in-flight disturbances. The performance of these models is assessed on a linear multiimpulsive rendezvous mission. Zheng and Tsiotras (Reference Zheng and Tsiotras2021) employed DNNs to learn the optimal feedback control law for online control prediction and generating near-optimal trajectories. Based on the observation that the optimal feedback control law for the finite-time control problem is nonstationary and also may be discontinuous, this work uses the time label as an additional state of the dataset and introduces a clustering approach to sort the training data. Clustering divides the offline trajectories into groups, and a separate DNN model is trained for each group. This approach generates near-optimal trajectories that steer a system from any initial state inside a specific group based on the DNN consistent with the corresponding training data. The training data generation and DNN training are done offline, thus the online computation is minimized. The algorithm has been tested on several systems including a vehicle entry model. In all studies referenced above, the DNN typically requires $ O\left({10}^4-{10}^5\right) $ or more samples to train.

Deep learning frameworks typically require a large number of training samples. This can become a burden depending on the computational complexity of the trajectory model. Instead we will focus on unsupervised learning that aim to assimilate information from a limited number of samples. These class of methods is particularly efficient in high-dimensional settings when the target data describes physical systems that encode correlations and dependencies between the system components. Specifically, we propose to use an unsupervised probabilistic learning framework based on diffusion map (Coifman and Lafon, Reference Coifman and Lafon2006; Soize and Ghanem, Reference Soize and Ghanem2020) to assimilate the solution space of flight dynamics model inputs and outputs to (a) identify underlying low-dimensional manifolds, and (b) provide a stochastic differential equation model that can efficiently generate many sample trajectories on these manifolds that are probabilistically consistent with the training data. The diffusion map (DMAP) algorithm assimilates computed samples adaptively until the basis sets describing the low-dimensional manifolds converge for a given set of trajectory constraints, thus utilizing available computational resources judiciously. Then, in this joint and low-dimensional space, the algorithm generates solution paths with limited computational requirements. We introduce a sequential path planning algorithm that relies on conditional statistics computed on the manifold to generate trajectories that adapt to changing conditions without the need for additional expensive flight dynamics simulations. These trajectories are equipped with uncertainty ranges that are consistent with the amount of data.

This article is organized as follows. Section 2 presents the modeling framework for this work, including a three-degree-of-freedom (3DOF) trajectory model and the optimal control algorithm. Section 3 presents the unsupervised probabilistic learning approach, followed by the results in Section 4. We end with conclusions in Section 5 and an appendix presenting the continuation schedule for the OCP.

2. Modeling Framework

2.1. Trajectory model

We consider a 3DOF model (Busemann et al., Reference Busemann, Vinh and Culp1976) to describe the reentry trajectory of a hypersonic vehicle assumed as a point of mass inside a planetary atmosphere. Further, we assume a spherical planet model with the distance from the planet center to the vehicle location given by $ r={r}_e+h $ , where $ {r}_e $ is the planet radius and $ h $ the altitude from the planet surface to the vehicle position. The three kinematic equations for the vehicle altitude $ h $ , longitude $ \theta $ , and latitude $ \phi $ are given by

(1) $$ \frac{d h}{d t}=v\sin \left(\gamma \right),\hskip1em \frac{d\theta}{d t}=v\frac{\cos \left(\gamma \right)\cos \left(\psi \right)}{r\cos \left(\phi \right)},\hskip1em \frac{d\phi}{d t}=v\frac{\cos \left(\gamma \right)\sin \left(\psi \right)}{r}. $$

In the results presented in this article, we will use the longitude/latitude coordinates interchangeably with downrange/crossrange coordinates by conversion from angles to spatial coordinates projected onto the planet surface. The vehicle velocity vector $ \overrightarrow{V} $ relative to the planet is expressed in terms of its magnitude $ v $ and two angles: the flight path angle $ \gamma $ between the velocity vector and the local horizontal plane and heading angle $ \psi $ between the projection of $ \overrightarrow{V} $ on the horizontal plane and the local latitude parallel. The force equations for these components are given by

(2) $$ {\displaystyle \begin{array}{l}\frac{d v}{d t}=\frac{1}{m}{F}_T-\frac{\mu \sin \left(\gamma \right)}{r^2},\hskip1em \frac{d\gamma}{d t}=\frac{F_N}{m}\frac{\cos \left(\sigma \right)}{v}-\frac{\mu }{r^2v}\cos \left(\gamma \right)+\frac{v}{r}\cos \left(\gamma \right)\\ {}\frac{d\psi}{d t}=\frac{F_N}{m}\frac{\sin \left(\sigma \right)}{v\cos \left(\gamma \right)}-\frac{v}{r}\cos \left(\gamma \right)\cos \left(\psi \right)\tan \left(\phi \right).\end{array}} $$

Here $ m $ is the mass of the vehicle, $ \mu =3.986\times {10}^{14} $ m $ {}^3 $ /s $ {}^2 $ is the gravitational parameter, and $ \left({F}_T,{F}_N\right) $ are the components of the aerodynamic and propulsive forces along and perpendicular to the velocity vector. This work pertains to nonthrusting flights resulting in $ {F}_T=-D $ and $ {F}_N=L $ , where $ D $ and $ L $ are the aerodynamic drag and lift forces, respectively. The bank angle $ \sigma $ in equation (2) accounts for the angle between the direction of the lift force $ L $ and the $ \left(\overrightarrow{r},\overrightarrow{V}\right) $ plane formed by the vector from the center of the planet to the vehicle location and the velocity vector.

For the remainder of this article, the location and velocity components are grouped into a state vector denoted by $ \boldsymbol{x}=\left\{h,\theta, \phi, v,\gamma, \psi \right\} $ . The angle of attack and the bank angle are grouped into the control vector denoted by $ \boldsymbol{u}=\left\{\alpha, \sigma \right\} $ , and the 3DOF model can be written as $ \dot{\boldsymbol{x}}=\boldsymbol{f}\left(\boldsymbol{x},\boldsymbol{u}\right) $ where $ \boldsymbol{f} $ is defined by the set of right-hand sides of equations (1) and (2).

2.2. Vehicle model

For this study the vehicle model is a blunt cone with mass $ m=350 $ kg, reference area $ {A}_{\mathrm{ref}}=\pi \times {0.305}^2 $ m $ {}^2 $ , and nose radius $ {r}_n=0.0254 $ m (Sparapany and Grant, Reference Sparapany and Grant2020). The lift and drag coefficients are given by

$$ {C}_l\left(\alpha \right)={c}_0\hskip0.1em \alpha \hskip3.00em {C}_d\left(\alpha \right)={c}_1\hskip0.1em {\alpha}^2+{c}_2 $$

respectively, where $ \alpha $ is the angle of attack (in radians). For the lift coefficient, the slope is set to $ {c}_0=1.5658 $ . For the drag coefficient, the model parameters are given by $ {c}_1=1.6537 $ and $ {c}_2=0.0612 $ .

The lift and drag forces are functions of the angle of attack, altitude, and velocity magnitude, and are computed as

$$ L=0.5\rho (h){v}^2{C}_l\left(\alpha \right){A}_{\mathrm{ref}},\hskip2em D=0.5\rho (h){v}^2{C}_d\left(\alpha \right){A}_{\mathrm{ref}} $$

where $ {A}_{\mathrm{ref}} $ , defined above, is assumed independent of the angle of attack. The atmospheric density is approximated with an exponential dependence on altitude as

$$ \rho (h)={\rho}_0\exp \left(-h/H\right) $$

where $ {\rho}_0=1.231 $ kg/m $ {}^3 $ is the atmospheric density at $ h=0 $ and $ H $ is a scale constant. For this study we have generated data using a range of values $ H\hskip0.35em \in \hskip0.35em [7000,\hskip0.35em 8000] $ m to simulate the uncertainty in the atmospheric density.

2.3. Optimal control problem

We construct a variational problem to generate trajectories based on the models presented in Sections 2.1 and 2.2. For the dependent state vector $ \boldsymbol{x} $ , the variational problem seeks a time-dependent angle-of-attack $ \alpha $ and bank angle $ \sigma $ that maximize the magnitude of the terminal velocity $ {v}_T $ at the desired endpoint given by $ \boldsymbol{G}\left(\boldsymbol{x}\left({t}_f\right),{t}_f\right):{\mathrm{\mathbb{R}}}^6\times {\mathrm{\mathbb{R}}}^{+}\mapsto \hskip0.35em {\mathrm{\mathbb{R}}}^3 $

(3) $$ \boldsymbol{G}\left(\boldsymbol{x}(t),t\right)=\left[\begin{array}{l}h(t)-{h}_f\\ {}\theta (t)-{\theta}_f\\ {}\phi (t)-{\phi}_f\end{array}\right], $$

while satisfying the 3DOF model $ \dot{\boldsymbol{x}}=\boldsymbol{f}\left(\boldsymbol{x},\boldsymbol{u},t\right) $ . Here, $ \left({h}_f,{\theta}_f,{\phi}_f\right) $ are the desired terminal values the altitude, longitude, and latitude, respectively.

The initial location of the vehicle is fixed with the initial constraint function $ \boldsymbol{F}:{\mathrm{\mathbb{R}}}^6\times {\mathrm{\mathbb{R}}}^{+}\mapsto {\mathrm{\mathbb{R}}}^6 $ . $ \boldsymbol{F} $ is similarly defined for the initial values of the state vector components $ {\boldsymbol{x}}_{\mathbf{0}}=\boldsymbol{x}\left({t}_0\right)=\left({h}_0,{\theta}_0,{\phi}_0,{v}_0,{\gamma}_0,{\psi}_0\right) $ such that $ \boldsymbol{F}\left(\boldsymbol{x}(t),t\right)-{\mathbf{x}}_0=\mathbf{0} $ . Finally, $ \boldsymbol{U}:{\mathrm{\mathbb{R}}}^6\mapsto {\mathrm{\mathbb{R}}}^l $ represents $ l $ state path-constraints. The free final-time variational problem is posed as

(4) $$ {\displaystyle \begin{array}{l}\hskip4.7em \underset{\boldsymbol{u}(t)}{\min}\;J={\int}_{t_0}^{t_f}\mathcal{L}\hskip0.1em dt-{v}_f^2\\ {}\hskip0.1em \mathrm{Subject}\ \mathrm{to}\hskip-0.35em :\dot{\boldsymbol{x}}=\boldsymbol{f}\left(\boldsymbol{x},\boldsymbol{u},t\right)\\ {}\hskip1em \boldsymbol{F}\left(\boldsymbol{x}\left({t}_0\right),{t}_0\right)=\mathbf{0}\\ {}\hskip0.66em \boldsymbol{G}\left(\boldsymbol{x}\left({t}_f\right),{t}_f\right)=\mathbf{0}\\ {}{U}_{i,\operatorname{MIN}}\le {U}_i\left(\boldsymbol{x}\right)\le {U}_{i,\operatorname{MAX}},\hskip0.35em i=1,\dots, l.\end{array}} $$

In the objective function above, we included an integrand term, $ \mathcal{L} $ , that is identically $ 0 $ to be consistent with the Lagrange multiplier integral described below. We employ the beluga framework (Sparapany and Grant, Reference Sparapany and Grant2020) to solve the variational problem posed in equation (4) using indirect methods (Longuski et al., Reference Longuski, Guzmán and Prussing2014). This process is succinctly described here for completeness and in more detail in Sparapany (Reference Sparapany2020). First, the state path-constraints, $ \boldsymbol{U} $ , are treated using trigonometrization (Mall et al., Reference Mall, Grant and Taheri2020). This involves adjoining each path-constraint to the path-cost function with small error parameters $ \boldsymbol{\delta} $ ,

(5) $$ \overset{\sim }{\mathcal{L}}=\mathcal{L}+\sum \limits_{i=1}^l{\delta}_i\left(\sec \left(\frac{\pi }{2}\frac{2{U}_i\left(\boldsymbol{x}\right)-{U}_{i_{\mathrm{MAX}}}-{U}_{i,\operatorname{MIN}}}{U_{i,\operatorname{MAX}}-{U}_{i,\operatorname{MIN}}}\right)-1\right), $$

where $ \mathcal{L} $ was chosen to be $ \mathcal{L}=0 $ from equation (4). Next, the initial, terminal, and dynamic path constraints are adjoined to the cost functional with Lagrange multipliers $ {\boldsymbol{\xi}}_0 $ , $ {\boldsymbol{\xi}}_f $ , and $ \boldsymbol{\lambda} $ ,

(6) $$ \underset{\boldsymbol{u}(t)}{\min}\;{J}^{\ast }={\int}_{t_0}^{t_f}\left(\overset{\sim }{\mathcal{L}}+{\boldsymbol{\lambda}}^T\left(\boldsymbol{f}-\dot{\boldsymbol{x}}\right)\right) dt+{\boldsymbol{\xi}}_0^T{\boldsymbol{F}}_0+{\boldsymbol{\xi}}_f^T{\boldsymbol{G}}_f-{v}_f^2, $$

where $ {\boldsymbol{F}}_0\hskip0.35em := \hskip0.35em \boldsymbol{F}\left(\boldsymbol{x}\left({t}_0\right),{t}_0\right) $ and $ {\boldsymbol{G}}_f:= \boldsymbol{G}\left(\boldsymbol{x}\left({t}_f\right),{t}_f\right) $ .

Next, we introduce the Hamiltonian, $ H\equiv \overset{\sim }{\mathcal{L}}+{\boldsymbol{\lambda}}^T\boldsymbol{f} $ , and define the Euler–Lagrange operator $ \mathfrak{E} $ as

(7) $$ \mathfrak{E}=\frac{\partial }{\partial \boldsymbol{y}}-\frac{d}{dt}\frac{\partial }{\partial \dot{\boldsymbol{y}}}, $$

where $ \boldsymbol{y}=\left(\boldsymbol{x},\boldsymbol{u},\boldsymbol{\lambda} \right) $ . Application of the Euler–Lagrange operator and integrating by parts solves the original variational problem. The result is an analytical formulation in the form of a two-point Hamiltonian boundary value problem (HBVP),

(8) $$ {\displaystyle \begin{array}{ll}& \dot{\boldsymbol{x}}=\frac{\partial H}{\partial \boldsymbol{\lambda}},\hskip2em \dot{\boldsymbol{\lambda}}=-\frac{\partial H}{\partial \boldsymbol{x}},\hskip2em 0=\frac{\partial H}{\partial \boldsymbol{u}}\\ {}& \boldsymbol{\lambda} \left({t}_0\right)=-{\boldsymbol{\xi}}_0^T\frac{\partial \boldsymbol{F}}{\partial \boldsymbol{x}},\hskip2em \boldsymbol{\lambda} \left({t}_f\right)={\boldsymbol{\xi}}_f^T\frac{\partial \boldsymbol{G}}{\partial \boldsymbol{x}}-2{v}_f\\ {}& \boldsymbol{H}\left({t}_f\right)=0,\hskip2em {\boldsymbol{F}}_0=0,\hskip2em {\boldsymbol{G}}_f=0\end{array}}. $$

The first three terms in equation (8) define the equations-of-motion in a Hamiltonian dynamical system while the latter five terms define values at the boundaries. From this, approximate solutions to equation (4) may be found indirectly by numerically solving equation (8). In beluga the right-hand sides in equation (8) are constructed using symbolic manipulation with SymPy (Meurer et al., Reference Meurer, Smith, Paprocki, Čertík, Kirpichev, Rocklin, Kumar, Ivanov, Moore, Singh, Rathnayake, Vig, Granger, Muller, Bonazzi, Gupta, Vats, Johansson, Pedregosa, Curry, Terrel, Roučka, Saboo, Fernando, Kulal, Cimrman and Scopatz2017). For more details regarding the numerical solution of this system see (Kierzenka and Shampine, Reference Kierzenka and Shampine2001; Sparapany, Reference Sparapany2020).

3. Probilistic Learning on Manifold

Probabilistic learning on manifolds (PLoM) is a recently developed unsupervised learning technique for augmenting small datasets in a principled manner (Soize and Ghanem, Reference Soize and Ghanem2016, Reference Soize and Ghanem2020). The method views a training set as a graph with vertices in feature space, and generates replicas of this graph that are consistent, both structurally and statistically with the training graph. An intrinsic structure is first extracted from the training dataset and is subsequently used to constrain statistical sample generation. This intrinsic structure takes the form of a subspace spanned by the so-called diffusion coordinates associated with the eigenvectors of the graph Laplacian of the training dataset. The sample generation is in the form of a projected Itô equation constrained to the span of these diffusion coordinates. Each additional generated sample is a statistical replica of the training data, restricted to the same dominant diffusion coordinates. In this section, we summarize this construction with the requisite technical details for a self-contained assessment of the article. A more complete presentation can be found elsewhere (Soize and Ghanem, Reference Soize and Ghanem2016).

We construe the initial, training, dataset $ {\boldsymbol{x}}^d $ , with $ N $ samples and $ n $ features, as a realization of a $ n\times N $ matrix-valued random variable $ \boldsymbol{X} $ with $ n $ rows and $ N $ columns. Here, we update our notation for $ x $ , extending its meaning from denoting one state along the trajectory to denoting the collection of states that numerically define the entire trajectory. Our objective is to generate a new dataset $ {\boldsymbol{x}}^a $ , the augmented dataset, as realizations of $ \boldsymbol{X} $ . This new dataset is probabilistically consistent with the original data, it can be used to augment it for subsequent statistical tasks, including the estimation of marginal and conditional density functions (Ghanem and Soize, Reference Ghanem and Soize2018) and for nonparametric regression. The first step is to decorrelate the features of $ \boldsymbol{X} $ , through a linear transformation $ \varTheta ={\mu}^{-1/2}{\varPhi}^T\left(\boldsymbol{X}-\overline{\boldsymbol{x}}\right) $ where $ \mu $ is a diagonal matrix with the dominant $ \nu $ eigenvalues of the $ n\times n $ covariance matrix of $ \boldsymbol{X} $ and $ \varPhi $ is a $ n\times \nu $ matrix of the associated eigenvectors. Also, $ \overline{\mathbf{x}} $ denotes the $ n\times N $ matrix with duplicate columns that are each equal to the average of the features over the $ N $ samples. This initial decorrelation step is a straightforward application of the standard PCA procedure to the dataset $ {\boldsymbol{x}}^d $ .

We will denote samples of $ \boldsymbol{X} $ by $ \boldsymbol{x} $ and samples of $ \varTheta $ by $ \boldsymbol{\eta} $ . The sample of $ \varTheta $ associated with $ {\boldsymbol{x}}^d $ will be denoted by $ {\boldsymbol{\eta}}^d $ . Next we extract and describe an intrinsic structure from $ {\boldsymbol{\eta}}^d $ . The first step is to select a diffusion kernel ( $ {k}_{\varepsilon}\left(\boldsymbol{\eta}, {\boldsymbol{\eta}}^{'};\boldsymbol{\varepsilon} \right):{\mathrm{\mathbb{R}}}^n\times {\mathrm{\mathbb{R}}}^n\mapsto \mathrm{\mathbb{R}} $ ) that will be used to define proximity on the graph in $ {\mathrm{\mathbb{R}}}^n $ with $ N $ vertices. Here, $ \varepsilon $ is a parameter of the kernel, typically characterizing its bandwidth. We next construct an $ N\times N $ diffusion matrix $ \boldsymbol{K} $ , from the training dataset, such that $ {\boldsymbol{K}}_{ij}=k\left({\boldsymbol{\eta}}_i^d,{\boldsymbol{\eta}}_j^d\right) $ , and we normalize $ \boldsymbol{K} $ so that the sum over each of its rows is equal to 1. The resulting stochastic matrix, $ \boldsymbol{P} $ , can thus serve as a transition matrix for a Markov chain on the graph. Its eigenvectors are denoted by $ {\boldsymbol{\psi}}^{\alpha },\hskip0.35em \alpha =1,\cdots, \hskip0.35em N $ . Given its construction, the largest eigenvalue of $ \boldsymbol{P} $ is equal to $ 1 $ and the associated eigenvector is a constant. The $ N\times m $ matrix consisting of the $ m $ eigenvectors associated with the next largest $ m $ eigenvalues (excluding the largest unit eigenvalue) is denoted by $ \boldsymbol{g} $ . It should be noted that while matrix $ \boldsymbol{P} $ is nonsymmetric, its eigenvalues and eigenvectors can be shown to be real, and can be evaluated from an associated symmetric matrix (Soize and Ghanem, Reference Soize and Ghanem2016). The eigenspectrum of $ \boldsymbol{P} $ typically exhibits a sharp, almost discontinuous, decrease after the first few eigenvalues. We assign the index of the eigenvalue corresponding to this drop to the numerical value of $ m $ .

With the above procedure, we have now constructed a basis set, $ \boldsymbol{g} $ , called the diffusion coordinates, that localizes $ {\boldsymbol{\eta}}^d $ to an $ m $ -dimensional subset in $ {\mathrm{\mathbb{R}}}^N $ . We emphasize that this localization is not in $ {\mathrm{\mathbb{R}}}^n $ , which is what the PCA usually accomplishes.

The next step in our procedure is to describe an initial representation of the joint probability distribution of the random matrix $ \boldsymbol{H} $ . This is accomplished in two steps. First, the $ N $ samples of the $ n $ features are used to estimate the joint PDF of these features using an $ n $ -dimensional Gaussian mixture model, and kernel density estimation (KDE). Then the joint density of the whole graph is constructed with the assumption of independence among its $ N $ vertices. The joint PDF model, in $ {\mathrm{\mathbb{R}}}^{N\times \nu } $ , for the whole graph is therefore the product of $ N $ joint pdfs, each defined in $ {\mathrm{\mathbb{R}}}^{\nu } $ and represented as a KDE centered at one of the $ N $ vertices. This final representation is in the following form of the product of sums of Gaussian kernels,

(9) $$ {q}_{\boldsymbol{H}}\left(\boldsymbol{\eta} \right)=\frac{1}{N}\prod \limits_{i=1}^N\;\sum \limits_{j=1}^N\frac{1}{h}k\left({\boldsymbol{\eta}}^{d,j},{\boldsymbol{\eta}}^i;\xi \right), $$

where $ k\left(\boldsymbol{\eta}, {\boldsymbol{\eta}}^{\prime };\xi \right) $ is a Gaussian kernel on $ {\mathrm{\mathbb{R}}}^n $ with bandwidth $ \xi $ , $ {\boldsymbol{\eta}}^{d,j} $ is the value of $ {\boldsymbol{\eta}}^d $ at the $ j\mathrm{th} $ vertex, and $ {\boldsymbol{\theta}}^i $ is the value of $ \boldsymbol{\eta} $ at the $ i\mathrm{th} $ vertex. Criteria have been developed (Soize and Ghanem, Reference Soize and Ghanem2016) for selecting the bandwidth $ \xi $ so as to propagate the normalization and orthogonality conditions inherited from the PCA step described previously.

The third and final step in the PLoM procedure is to construct a generator of samples that are constrained by the diffusion coordinates while being informed by the KDE, both of which are synthesized directly from the data. To that end, we start with a Hamiltonian form of the Itô equation whose invariant measure is defined by the above KDE with respect to the Lebesgue measure. The Hamiltonian form of this equation allows to develop an efficient symplectic integration scheme (Soize and Ghanem, Reference Soize and Ghanem2016). A reduced-order Itô stochastic differential equation (ISDE) corresponding to a change of variables involving the diffusion map eigenvectors $ \boldsymbol{g} $ is derived. The ISDE for $ \zeta \in {\mathrm{\mathbb{R}}}^{+} $ is written as

(10) $$ {\displaystyle \begin{array}{l}d\boldsymbol{Z}\left(\zeta \right)=\boldsymbol{Y}\left(\zeta \right) d\zeta \\ {}d\boldsymbol{Y}\left(\zeta \right)=L\left(\boldsymbol{Z}\left(\zeta \right)\right) d\zeta -\frac{1}{2}{f}_0\boldsymbol{Y}\left(\zeta \right) d\zeta +\sqrt{f_0}d\boldsymbol{W}\left(\zeta \right),\\ {}\hskip6.5em \boldsymbol{Z}(0)={\varTheta}_d\boldsymbol{a}\hskip2em \boldsymbol{Y}(0)=\boldsymbol{Na}\hskip2em \boldsymbol{a}=\boldsymbol{g}{\left({\boldsymbol{g}}^T\boldsymbol{g}\right)}^{-1},\end{array}} $$

where $ L\left(\boldsymbol{Z}\right)=\nabla \log q\left({\boldsymbol{Zg}}^T\right)\boldsymbol{a} $ is the projected potential, $ \boldsymbol{N} $ is a $ \nu \times N $ matrix whose $ N $ columns are independent copies of a standard Gaussian vector in $ {\mathrm{\mathbb{R}}}^{\nu } $ , and $ {f}_0 $ is a damping parameter. Further, the columns of $ \boldsymbol{W} $ are $ N $ independent copies of a normalized Wiener process projected on the matrix $ \boldsymbol{a} $ .

Similar to (Soize and Ghanem, Reference Soize and Ghanem2016), here we employ a Störmer–Verlet scheme to integrate equation (10). After a brief nonstationary period in the Itô dynamics, samples of $ \varTheta $ are reconstructed from samples of $ \boldsymbol{Z} $ as

(11) $$ {\boldsymbol{\eta}}^{\mathrm{\ell}}={\boldsymbol{Z}}^{\mathrm{\ell}}{\boldsymbol{g}}^T\hskip1em \mathrm{\ell}=1,\cdots, \hskip0.35em {n}_{\mathrm{MC}}. $$

Realizations of the original random variable $ X $ are then obtained by reversing the application of the PCA on $ {\eta}^{\mathrm{\ell}} $ . These realizations will augment the original set of samples of $ X $ and will be used for the purpose of computing statistics (means, quantiles, and PDFs) conditioned on select observations at intermediate stages along specific trajectories.

4. Results

In this section, we will characterize the set of trajectories discussed in Section 4.1 using the algorithms presented in the previous section. We will first inspect the topology of these manifolds via their corresponding basis vectors in Section 4.2. We will then verify in Section 4.3 that the augmented set of trajectories generated via manifold sampling are consistent with the 3DOF model, and then introduce in Section 4.4 a workflow for sequential path planning using the augmented dataset to generate conditional statistics for the state and control vectors.

4.1. Training data

For this study, we consider planetary reentry trajectories generated using the model presented in Section 2.1 given a number of parameters treated as random variables. Specifically, the initial height, $ {h}_0 $ , velocity magnitude $ {v}_0 $ , longitude $ {\theta}_0 $ , latitude $ {\phi}_0 $ , were sampled from uniform distributions, with ranges presented in Table 1. The constant $ H $ present in the atmospheric density model was also treated as a uniform random variable. The initial flight path and heading angles were fixed to 0, $ {\gamma}_0={\psi}_0=0 $ , that is, the trajectory start in a horizontal plane, along the local latitude parallel. The terminal location, $ {h}_f=0 $ , $ {\theta}_f={3}^{\circ } $ , $ {\phi}_f={2}^{\circ } $ , was also fixed in this study.

Table 1. Parameter ranges for the uniform random variables that control the trajectory dataset.

In addition to the parameters shown in Table 1, the computational model also includes a set of path constraints, resulting in trajectories that avoid circular regions centered around the two circles shown in the left frame of Figure 1. The intensity of these constraints is controlled by an additional parameter, $ \delta $ . When setting $ \delta =0 $ , the path constraints are not activated, resulting in a set of trajectories depicted in gray in Figure 1. The optimization framework uses a numerical continuation algorithm to increase the strength of path constraint expressions, resulting in the trajectory samples shown in blue and red, respectively. These samples correspond to the same value, $ \delta =400 $ , and are colored according their topology: the blue samples correspond to paths that go in between the two regions while the red samples avoid these regions and stay on the left side. The appendix provides additional details related to the set of continuation stages employed to generate the trajectory dataset for this study.

Figure 1. Sample trajectory data. The left frame shows the downrange/crossrange solution components and the right frame shows velocity/height components. The samples shown in gray represent the unconstrained components while the red/blue samples correspond to the maximum path constraint condition, $ \delta =400 $ .

For this study, we employed $ 1,100 $ samples drawn independently from the uniform distributions presented in Table 1. For each sample, we generated 41 trajectories corresponding to equally spaced $ \delta $ -values, from $ \delta =0 $ to $ \delta =400 $ .

For each parameter sample, the time-dependent values for the dependent variables (location and velocity components) and the control variables (angle of attack and bank angles) are interpolated on a uniform time grid, and the corresponding solution vectors are concatenated together with the time grid. The parameter values that control the simulation, that is, the ones corresponding to Table 1 are also appended to the solution vector, in addition to the value of path constraint parameter $ \delta $ . Each sample vector becomes a column in the matrix of samples that will be processed via the algorithms presented in the previous section. Since all trajectories have the same initial conditions for the flight path and heading angles and the same terminal location, the matrix is rank defficient if these values are included in the solution vector. Instead we choose a time grid that starts at 1% and ends at 99% of the total duration of each trajectory. In order to preserve the information about the total duration, the total time for each trajectory is also appended to each sample vector.

4.2. Manifold construction

In this section, we illustrate the performance of the DMAP component of PLoM while assimilating the high-dimensional space that describes the 3DOF trajectories. This approach reveals a relatively small set of eigenvectors, typically $ 45-52 $ , that are sufficient to describe the corresponding low-dimensional manifold. We also highlight the utility of this algorithm to both detect outliers that are not otherwise evident in the physical space. Upon the removal of these outliers, one can “zoom-in” and inspect relationships between samples, including proximity between samples along the diffusion manifold geodesics.

First, we inspect the impact of kernel bandwidth on the intrinsic dimensionality of the diffusion manifold and the topology of the basis vectors. For this task we select a random subset of trajectories from the dataset. This random subset includes trajectories corresponding to random choices for the initial altitude, longitude, latitude, and velocity, as well as random choices for the path constraint parameter $ \delta $ . Figure 2 displays the eigenvalue spectra for several values of the kernel bandwidth $ \varepsilon $ . The results in the left frame of this figure indicate a manifold dimension $ m=52 $ , for a graph Laplacian using a kernel bandwidth of $ \varepsilon =1,000 $ . For smaller bandwidth values, for example, for $ \varepsilon =200 $ , the eigenvalue decay is mild indicating a less-defined structure in the high-dimensional space of trajectories. The topology of the first two basis vectors is presented in Figure 3. The first row in this figure is constructed with the same dataset as for the results presented in the left frame of Figure 2. These plots show that most of the components for the first two basis vectors are concentrated on much smaller values compared to a few select trajectory samples; one of these samples is highlighted in red in these figures as it stands out even for a relatively large bandwidth, $ \varepsilon =1,000 $ . It appears these samples are significantly different compared to the rest of the training set based on the magnitude of their entries in the diffusion map vectors. These are much larger in magnitude compared to the entries corresponding to rest of the samples resulting in these sample standing out while the rest of the sample cluster together.

Figure 2. Eigenvalue spectra for several values of the kernel bandwidth $ \varepsilon $ : (left frame) results corresponding to the entire training set; (right frame) results obtained after several edge samples were removed from training.

Figure 3. Scatter plots showing the entries in the two most dominant eigenvectors for all samples in blue, with superimposed red circles for edge cases. Left to right columns correspond to diffusion map results based on $ \varepsilon =\{200,\hskip0.35em 500,\hskip0.35em 1000\} $ , respectively. Rows show results after edge cases are sequentially removed from the datasets (top to bottom).

We proceed to examine the impact of removing these edge (outlier) cases on the diffusion manifold basis vectors. The remaining rows in Figure 3 display a sequence of results obtained after edge cases are gradually removed from the training dataset. The results on the second row correspond to a training dataset for which the sample shown in red in the first row was removed, while the results on the third row correspond to a dataset with three additional samples, highlighted in red on the second row, removed from training. As more edge samples are removed from the training dataset, we are able to “zoom-in” on the manifold structure that contains the bulk of the samples. The results on the bottom row are obtained after several sets of samples are removed from the training dataset. These results correspond to the same analysis displayed in the right frame of Figure 2. The eigenvalue decay presented in this figure indicates now that a diffusion manifold can be defined by a smaller number of basis vectors, approximately $ 45 $ , and the sharp transition can be obtained with a smaller bandwidth, that is, the training dataset is more compact after removing edge cases identified through a sequence of diffusion manifold basis vectors. This exercise also suggest that the bulk of the manifold structure can be represented with a relatively reduced set of basis vectors, while edge/outliers cases add to the manifold dimensionality, as additional information is needed to replicate low probability regimes.

Figure 4 shows the dependence of the manifold dimension $ m $ on the kernel bandwidth $ \varepsilon $ . For all datasets the manifold dimension exhibit a minimum value at intermediate values for $ \varepsilon $ . The magnitudes of these minima correspond approximately with the number of outliers observed in the corresponding dataset. For results corresponding to the original dataset, there is one training sample that is sufficiently different from the remaining data. This sample dominates the manifold structure up to $ \varepsilon \hskip0.35em \approx \hskip0.35em 900 $ . Beyond this value, the kernels become sufficiently diffuse to diminish the impact of this sample, and the manifold dimension stabilizes around $ m\hskip0.35em \approx \hskip0.35em 50 $ . Once this sample is removed from the dataset, the next layer of edge cases become dominant (see results corresponding to row 2). Since these samples are now less removed from the bulk of the samples, one can “zoom-in” on the manifold structure at smaller bandwidth values, for example, $ \varepsilon \hskip0.35em \approx \hskip0.35em 250 $ , compared to the previous, much larger bandwidth values. The trend continues as subsequent edge cases are removed.

Figure 4. Manifold dimension $ m $ dependence on $ \varepsilon $ . Results labeled “row 1” through “row 3” correspond to the same sequence of datasets underlying the results shown in Figure 2, while results labeled “original” are based on the original dataset before outlier removal.

Figures 5 and 6 show the trajectories present in the training sets with gray lines and several sets of edge samples with thick colored lines. These trajectory samples, illustrated in physical coordinates, do not immediately stand out compared to the bulk of samples, shown in gray. It can be argued that samples displayed in magenta and cyan correspond to trajectories that take the longest to reach the terminal location. Nevertheless, these are the last sets of outliers identified in the sequence presented above. Earlier outlier sets, that are further removed in manifold coordinates, for example, the samples shown in red and blue are not clearly distinct from the bulk. This observation highlights the utility of examining the data in a diffusion map context, thus revealing high-dimensional samples that are structurally different compared to the bulk.

Figure 5. Trajectory data defining the samples used for learning the diffusion map representation: gray lines show a random subset of 100 samples; red/blue/green/magenta/cyan show samples removed from the learning set (in this order).

Figure 6. Same dataset and color scheme as in Figure 5, shown in longitude/latitude coordinates.

4.3. Augmented dataset consistency with the 3DOF model

The PLoM framework provides, once the diffusion manifolds coordinates are available, a generator of samples that are constrained on the low-dimensional manifold and are probabilistically consistent with the original data. In this section, we will determine whether or not the samples generated via the stochastic differential system in equation (10), are consistent with the 3DOF model used to generate optimal trajectories via the OCP, that is, the synthetic samples represent realistic planetary reentry trajectories.

We first determine the requisite size for the synthetic dataset. We find that between $ {10}^3 $ and $ 2\times {10}^3 $ replicas are necessary to construct converged marginal probability density estimates for intermediate and terminal state vectors (results not shown). All synthetic samples generated via equation (10) employed a step size $ \Delta r=0.1 $ and a damping parameter $ {f}_0=1 $ , according to Soize and Ghanem (Reference Soize and Ghanem2016).

For each synthetic trajectory in the augmented set, we numerically evaluate the time derivatives in the left-hand side of equations (1) and (2) via finite differences, then compute the discrepancy with the right-hand side

(12) $$ {r}_{i,j}=\frac{x_{i,j}-{x}_{i-1,j}}{t_i-{t}_{i-1}}-\frac{1}{2}\left({f}_j\left({x}_{i-1},{u}_{i-1}\right)+{f}_j\Big({x}_i,{u}_i\Big)\right). $$

Here, subscript $ i $ represents the time index and subscript $ j $ represents the component of the state vector $ x $ . Additionally, for the residuals corresponding to the altitude $ h $ and velocity $ v $ we scale the residual by the average magnitude over each time interval

(13) $$ {r}_{i,j}\to {r}_{i,j}\times \frac{2}{x_{i-1,j}+{x}_{i,j}}. $$

Finally, for each synthetic trajectory we evaluate the $ {L}_2 $ -norm of the residual over all time steps and state vector components. These results are collected for all trajectory samples in the augmented dataset constructed via equation (10).

Figure 7 shows histograms for several sets of trajectories conditioned on select terminal velocity values $ {v}_T $ and path constraint parameter $ \delta $ values. The samples used to construct the results in the left frame are conditioned on $ {v}_T=650 $ [m/s] and $ \delta =100 $ , $ p\left(\cdot |{v}_t=650,\delta =100\right) $ . The results in the middle and right frames correspond to trajectories conditioned on the same terminal velocity but increasingly path constrained, with $ \delta =200 $ and $ 300 $ , respectively. We selected several $ \varepsilon $ values to assess the impact the manifold-construction KDE bandwidth ultimately has on manifold-sampled trajectories. For all cases, the residual $ {L}_2 $ norms are $ O\left({10}^{-3}\right) $ and of the same order of magnitude as the numerical residuals for the training dataset, shown with black histograms in this figure.

Figure 7. Distribution of 3DOF residual norms for synthetic trajectories conditioned on the terminal velocity of 650 m/s and several values for $ \delta $ : $ 100 $ (top left frame), $ 200 $ (top right frame), and $ 300 $ (bottom frame).

We conclude that the samples in the augmented dataset are consistent with the underlying 3DOF model and thus follow the same system dynamics as the original dataset generated via the OCP solution. This allows us to employ these synthetically generated trajectories for path-planning exercises without the need for additional, computationally expensive, OCP simulations. We will illustrate such a path-planning algorithm in the next section.

4.4. Path planning via PLoM

We now introduce a workflow that adjusts the vehicle trajectory sequentially using the observed state vector at intermediate locations, including the option to change flight path objectives mid-flight.

We start the workflow, presented below in Algorithm 1, by defining an objective for the vehicle trajectory, $ {\mathrm{obj}}_t $ . This objective consists of an ensemble of constraints, either deterministic or probabilistic. In this section, we will display several examples, using either the same set of constraints throughout the flight or a set of constraints that adjusts during the flight. It should be noted that these objectives should not be confused with the cost function defined in Section 2.3. Rather, we would like to select from the manifold of optimal solutions, constructed as described in Section 2.3, the set of samples that satisfy additional constraints without having to recompute the OCP. These constraints restrict the range of admissible solutions to a subset on the manifold previously computed. For the examples presented below, $ {\mathrm{obj}}_t $ corresponds to reduced ranges for the path constraint parameter $ \delta $ and limits on the terminal velocity $ {v}_T $ . Once the initial objective $ {\mathrm{obj}}_{t=0} $ is defined, we estimate the trajectory that satisfies this objective as a conditional expectation solution constrained on the manifold of optimal trajectories. This yields the set of state vectors $ {x}^{(e)} $ and controls $ {u}^{(e)} $ required to realize this trajectory. We then enter a control loop corresponding to rows 3–8, during which the control $ u $ is adjusted over a series of stages to correct for errors in the vehicle path, as well as to adjust the controls in case the set of constraints imposed on the workflow changes during the flight. In the workflow below, the time step $ \Delta t $ is represented as a fraction of the trajectory duration. Inside the control loop, we first proceed with estimating the trajectory over a specific stage $ \left[t,t+\Delta t\right] $ (row 4). It is possible that, due to model errors or incomplete knowledge of the environmental conditions, the expected state vector at $ t+\Delta t $ , $ {x}_{t+{\Delta}_t}^{(e)} $ , will not match the actual (measured) solution, $ {x}_{t+{\Delta}_t}^{(m)} $ . If this discrepancy is larger than a lower bound threshold $ {\varepsilon}_{\Delta_t} $ , or if the overall objective has to be adjusted, that is, $ {\mathrm{obj}}_{t+\Delta t}\ne {\mathrm{obj}}_t $ , we proceed to update the set of controls for the next flight segment on line 7.

Figure 8 displays the conditional marginal PDFs for the vehicle location, $ p\left({\left(\theta, \phi \right)}_{t+\Delta t}|{x}_t^{(m)}\right) $ (left frame), $ p\left({\left(h,\theta \right)}_{t+\Delta t}|{x}_t^{(m)}\right) $ (middle frame), and $ p\left({\left(h,\phi \right)}_{t+\Delta t}|{x}_t^{(m)}\right) $ (right frame). The sequence of stages in this figure are constructed using Algorithm 1. These results are based on the same initial condition for the vehicle height, velocity ( $ 2,000 $ m/s), and longitude, and density model constant. The initial latitude values for these simulations were set as indicated in the figure.

Figure 8. 2D PDFs for vehicle location at intermediate locations for trajectories that originate at $ {h}_0=40\hskip0.1em $ km, $ {\theta}_0=0\hskip0.1em $ rad, and $ {\phi}_0=\left\{0\left(\mathrm{black}\right),0.001\left(\mathrm{red}\right),0.002\left(\mathrm{green}\right),0.003\left(\mathrm{blue}\right)\right\}\hskip0.1em $ rad. The initial latitude values correspond to $ \{0,6,12,18\} $ [km] in the crossrange coordinates. The “x” symbols mark the start and end points and the large circles mark the location of the exclusion regions.

At each intermediate stage $ t $ , we compute the statistics for the set of trajectories at $ t+\Delta t $ by conditioning on the current state vector $ {x}_t^{(m)} $ at time $ t $ . For this example we adopt, and condition on, a time varying model for the density model constant $ H=H(t) $ to demonstrate our approach for cases where the atmospheric conditions change during the flight. For the results displayed in this figure, we assume that $ H(t)=\left(7,700-300\hskip0.1em t\right)\hskip0.1em $ m, where time $ t $ was normalized by the trajectory duration, that is, $ t\hskip0.35em \in \hskip0.35em \left[0,1\right] $ . The range of uncertainties that arise from one stage to the next are due to the range of training data used for this demonstration. Here, we consider results corresponding to $ {\mathrm{obj}}_t\equiv \left\{50<\delta \le 400\right\} $ . The range of path constraint values results in the statistics shown in the figure below.

These results illustrate conditional statistics constrained on a manifold corresponding to a multimodal behavior. The multimodality here is induced by set of trajectories that avoid the two regions shown by circles in Figure 8. These exclusion regions partition the training data into two subsets, with one set of trajectories passing in between the two regions and the other avoiding the two regions on the left. Depending on the start of each trajectory assembled via Algorithm 1, the conditional densities for the vehicle location evolve on either of these paths. For the run shown in black, the sequence of intermediate locations point to an ensemble of paths going in between the two circles. For the simulation shown in red, the location at the 10% mark (the first set of contours near the start points, details also shown in the inset frames) displays a bimodal behavior. At this time stamp the trajectory finds itself in the mode that is near the set of results for the simulations shown in blue and green. These sets of results evolve together and as trajectories funnel toward the terminal location. The second inset in all frames focuses on the marginal densities at the 90% mark.

We will further illustrate this workflow with several numerical examples that employ the manifold statistics constructed with trajectory datasets presented in previous sections. Table 2 lists choices for several algorithm knobs chosen for these runs. All runs employ conditioning with $ {v}_T>{v}_{T,\min }=650 $ m/s. Runs 1 and 2 employ the same objective throughout the entire trajectory, with $ \delta >50 $ . For Runs 3 and 4, the flight path constraint $ \delta $ is adjusted after $ 30 $ and $ 60\% $ of the entire trajectory duration, respectively. All runs share the same initial condition as the simulation shown in black in Figure 8. For each set of runs, we introduce random noise into the height measured at the end of each stage $ t+\Delta t $ to simulate the effect of noise in the atmospheric density model. We explore the impact of positive bias, in Runs 1 and 3—shown in red in figures below, and negative biases, in Runs 2 and 4—shown in blue. We also explored unbiased noise (results not shown) and observed trends that are in-between the positive and negative biased noise results. For all runs, the noise level is about $ 10\% $ for the entire span of the trajectory. Finally, we compared two sets of runs, given two choices for the time step $ \Delta t $ , $ 5 $ and $ 10\% $ respectively. These tests (results not shown) revealed a negligible impact for the stage duration on the trajectories generated via Algorithm 1. All results below correspond to $ \Delta t=10\% $ .

Table 2. Numerical settings for the set of runs chosen to illustrate the workflow in Algorithm 1.

Note. For all runs $ {v}_{T,\min }=650 $ m/s.

Figure 9 displays results for Runs 1 and 3 in a manner similar to Figure 8. Results remain similar at the end of the first two stages, $ t=10 $ and $ 20\% $ (near the lower end of the vertical axis in the left frame and near the top in the other two frames). The increase in the lower bound for $ \delta $ for Run 3 results in a shift of 2D marginal densities further away from the region depicted by the lower left circle in the left frame. These results are highlighted in the figure by the insets shown in the lower left corner of each frame, corresponding to $ t=30\% $ . The upper insets mark the $ 60\% $ time stamp with corresponds to the second increase of $ {\delta}_{\mathrm{min}} $ for Run 3.

Figure 9. Marginal PDFs for vehicle location at intermediate locations for Runs 1 (red) and 3 (blue) conditional on the location at previous stages. The “x” symbols mark the start and end points and the large circles mark the location of the exclusion regions.

Further, Figures 10– 12 compare conditional statistics results for the terminal velocity, flight path, and heading angles with corresponding results computed directly from beluga simulations. The range of uncertainties in these figures are the result of the range of options for the path constraint parameter $ \delta $ . The resulting ensemble of trajectories and the associated low-dimensional manifold lead to a range of choices for possible paths also illustrated by the joint densities on the intermediate locations in Figure 9. This in turn results in a range of terminal conditions, shown in Figures 10– 12. The filled symbols represent conditional expectations $ \unicode{x1D53C}\left[\cdot |{x}_{t-\Delta t}\right] $ . The conditional PDFs are available through PLoM, however, we choose to show error bars only since the PDFs are nearly normal. The beluga-generated terminal conditions, shown with open symbols, are based on trajectories that start from the same intermediate locations and employ the same set of constraints as the conditional statistics using PLoM. The beluga results are based on the lower bound of $ {\delta}_{\mathrm{min}} $ given a specific objective and thus do not exhibit any uncertainty. In these figures, and for the remainder of this section, red corresponds to Runs 1 and 3, while blue corresponds to Runs 2 and 4.

Figure 10. Means (with filled symbols) and error bars ( $ \pm $ 2 standard deviations) for the terminal velocity $ {v}_T $ conditioned on intermediate conditions along the trajectory: Runs 1 and 2 (left frame) and Runs 3 and 4 (right frame). Beluga results are shown with open symbols.

Figure 11. Mean and standard deviations for the terminal flight path angle $ {\gamma}_T $ conditioned on intermediate conditions along the trajectory. The frames setup is the same as for Figure 10.

Figure 12. Mean and standard deviations for the terminal heading angle $ {\psi}_T $ conditioned on intermediate conditions along the trajectory. The frames setup is the same as for Figure 10.

Figure 10 shows result terminal velocity at intermediate stages along the trajectory planned via PLoM. As the vehicle approaches the target, the uncertainty for $ {v}_T $ shrinks as all trajectories funnel toward one point according to the training data. For Runs 3 and 4, shown in the right frame, the range of path constraint values shrinks from $ \left[50-400\right] $ to $ \left[200-400\right] $ as the vehicle approaches the first exclusion region, and further reduces to $ \left[300-400\right] $ for $ t>60\% $ . This adjustment changes the expected terminal velocity for Runs 3 and 4 compared to Runs 1 and 2 and reduces the uncertainty in these estimates. Each run was conducted three times with a different random number generator (RNG) seed. Both the RNG seed and the choice of bias, positive versus negative, have a limited impact on the results. Most of the variability here is due to the choice of $ \delta $ . We also compared results using $ \Delta t=5\% $ and $ 10\% $ , respectively. Similar to the previous observation, the stage length does not have a sizeable impact on the terminal conditions (results not shown).

Figures 11 and 12 show results for the terminal flight path angle $ {\gamma}_T $ and terminal heading angle $ {\psi}_T $ using the same settings as the results shown in Figure 10. These results indicate that the biggest driver for the range of terminal values predicted at various stages remains the range of paths taken to avoid the two exclusion regions. Similarly to the previous observations, the bias added to altitude measurements, as well as the time step size, have only a limited impact on the results. While the beluga results for $ {\psi}_T $ generally fall inside the manifold-based statistics, some discrepancy is observed for $ {\gamma}_T $ , in Figure 11. We attribute this discrepancy to the rapid change in the flight path angle as the vehicle approaches the terminal location, as seen Figure 5. Since these results represent conditional statistics constructed based on globally optimal data, we suspect these discrepancies are generated by the difference between a dataset of globally optimal trajectories and subsequent solutions that are optimal starting at intermediate points along the flight path. The magnitude of $ \gamma $ changes from a range of about $ -0.2\dots 0.2 $ radians during the bulk of the flight to around $ -0.9 $ over the last $ 5\% $ fraction of the trajectory duration. In contrast, the variation velocity and terminal heading angle changes over the last fraction of the trajectory are less nonlinear. We leave the exploration of this observation for subsequent work.

We conclude this section with a discussion on the impact of intermediate flight path and heading angles on the conditional statistics for the terminal conditions. The results presented in Figure 13 are computed as follows. In the left frame the terminal velocity statistics are conditioned on the intermediate vehicle position and velocity magnitude, $ p\left({v}_T|{h}_t^{\ast },{\theta}_t,{\phi}_t,{v}_t\right) $ , while the middle frame statistics correspond to $ p\left({v}_T|{h}_t^{\ast },{\theta}_t,{\phi}_t,{v}_t,{\gamma}_t,{\psi}_t\right) $ , and the right frame to $ p\left({v}_T|{h}_t^{\ast },{\theta}_t,{\phi}_t,{v}_t,{\gamma}_t^{\ast },{\psi}_t^{\ast}\right) $ . The “*” superscript indicates that the corresponding variable was perturbed at time $ t $ to mimic either sensor inaccuracies or the impact of unaccounted external factors that lead to discrepancies between the predicted and realized vehicle trajectory over the stage $ \left[t-\Delta t,t\right] $ . These results indicate that constraining on all state vector components narrows the range on uncertainties at an early stage during the flight, $ t=10 $ and $ 20\% $ . Terminal velocities predicted at later stages are similar across the cases presented, signaling that uncertainties are now driven largely by the choice of path constraint parameter $ \delta $ .

Figure 13. Mean and standard deviations for the terminal velocity $ {v}_T $ corresponding to Runs 1 and 2 conditioned on intermediate vehicle locations: first column—marginal over the intermediate flight path and heading angles; second column—conditioned over intermediate flight path and heading angles; and third column—conditioned over perturbed intermediate flight path and heading angles.

The path-planning workflow presented in this section employs conditional sampling on low-dimensional manifolds to generate controls that adapt sequentially to current measured state vector values along the trajectory. The PLoM framework generates solutions that probabilistically consistent with the training data for the velocity and heading angles, which the results for the flight path angles are off by 10–20%.

The computational cost of the overall approach can be split into two stages, the offline stage and the online stage. In the offline stage, trajectories are generated with beluga to assemble a training dataset. This is then processed using the PLoM framework described in Section 3. The resulting augmented set of trajectories and the associated diffusion vectors serve as inputs to the online path-planning algorithm presented in this section. In the online stage, this algorithm is approximately two to three orders of magnitude less expensive compared to the computational cost of beluga simulations employed to adjust the trajectory parameters. We expect the computational cost differential to become wider with increased trajectory model complexity.

5. Conclusion

We have introduced an unsupervised probabilistic learning technique for the analysis of planetary reentry trajectories. The algorithm first extracts the intrinsic structure in the data via a diffusion map approach. Using the diffusion coordinates on the graph of training samples, the probabilistic framework then augments the original data with samples that are statistically consistent with the original set. The augmented samples are used to construct conditional statistics that are ultimately assembled in a path-planning algorithm. The algorithm is designed to adjust the controls mid-flight to adapt the trajectory to changing mission objectives in real-time.

We employ a 3DOF model to generate optimal trajectories that satisfy path-constraints and maximize impact velocities. The diffusion map workflow reveals the presence of low-dimensional structures in the high-dimensional datasets. Typical manifold dimensions vary between 40 and 50 depending on the formulation employed for the control parameters.

The diffusion map algorithm revealed the presence of outliers (or edge cases). The outlier samples display diffusion coordinates that place these samples outside the “cloud” where the bulk of the samples reside. Based on this observation, we sequentially label and, if desired, remove outliers from the set of trajectories used for training.

We proposed a novel path-planning workflow that splits the planetary reentry trajectories into a set of stages. The probabilistic learning framework then utilizes conditional statistics to generate a set of controls for a specific flight stage conditioned on the information available at the beginning of each stage. The algorithm adjusts the controls during subsequent stages to account for errors due to external factors and/or due to evolving mission objectives. The bulk of the computational cost for the probabilistic control estimates corresponds to offline computations, that is, the generation of the augmented dataset based on the original training data. The online computational costs are about two to three orders of magnitude less than the cost of the OCP.

Acknowledgments

Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia, LLC., a wholly owned subsidiary of Honeywell International, Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA-0003525. This article describes objective technical results and analysis. Any subjective views or opinions that might be expressed in the article do not necessarily represent the views of the U.S. Department of Energy or the United States Government.

Competing Interests

The authors declare no competing interests exist.

Data Availability Statement

Code available upon request.

Author Contributions

All authors contributed equally to this manuscript and have approved the final submitted draft.

Funding Statement

This work was funded by the Laboratory Directed Research & Development (LDRD) program at Sandia National Laboratories.

A. Appendix: Setup of Continuation Schedule for the Optimal Control Solution

Table A1 displays the continuation stages setup for the solution of the OCP for the dataset described in Section 4.1. All simulations start with a trajectory state defined by

$$ {x}_0=\left\{{h}_{IC},{\theta}_0={0}^{\circ },{\phi}_0={0}^{\circ },{v}_{IC},{\gamma}_0=-{90}^{\circ },{\psi}_0={0}^{\circ}\right\}, $$

and constraints $ {\theta}_f={\phi}_f={0}^{\circ } $ . This essentially leads to the initial trajectory pointing straight down from the initial altitude. Trajectories are then gradually adjusted to satisfy the desired initial, intermediate, and final constraints through a set of continuation stages. During Stage 1 the final height is pulled to $ {h}_f=0 $ and the final downrange location to $ {\theta}_f={0.05}^{\circ } $ . The final downrage location is pushed further out during Stage 2. During Stage 3 the initial flight path angle is adjusted from the initial straight down direction to horizontal direction and the final downrange location is adjusted to the value setup for this set of simulated trajectories, $ {\theta}_f={3}^{\circ } $ . The final crossrange location is pushed to the desired target, $ {\phi}_f={2}^{\circ } $ , during Stage 4, followed by Stage 5, during which the longitude and latitude for the start point are adjusted to the set of initial conditions $ {\theta}_{\mathrm{IC}} $ and $ {\phi}_{\mathrm{IC}} $ , respectively. Finally, Stage 6 adjusts the path-constraint parameter $ \delta $ from $ 0 $ (no constraint) to the maximum value desired for a particular set of runs, $ {\delta}_{\mathrm{max}} $ .

Table A1. Continuation stages for the optimal control problem.

References

Betts, JT (1998) Survey of numerical methods for trajectory optimization. Journal of Guidance, Control, and Dynamics 21(2), 193207.CrossRefGoogle Scholar
Betts, JT (2010) Practical Methods for Optimal Control and Estimation Using Nonlinear Programming, 2nd Edn. Philadelphia, PA: Society for Industrial and Applied Mathematics.CrossRefGoogle Scholar
Busemann, A, Vinh, NX and Culp, RD (1976) Hypersonic Flight Mechanics. Technical Report NASA-CR-149170, NASA.Google Scholar
Cheng, L, Wang, Z, Jiang, F and Li, J (2020) Fast generation of optimal asteroid landing trajectories using deep neural networks. IEEE Transactions on Aerospace and Electronic Systems 56(4), 26422655.CrossRefGoogle Scholar
Choi, U and Ahn, J (2020) Imitation learning-based unmanned aerial vehicle planning for multitarget reconnaissance under uncertainty. Journal of Aerospace Information Systems 17(1), 3650.CrossRefGoogle Scholar
Coifman, RR and Lafon, S (2006) Diffusion maps. Applied and Computational Harmonic Analysis 21(1), 530.CrossRefGoogle Scholar
Fahroo, F and Ross, IM (2002) Direct trajectory optimization by a Chebyshev pseudospectral method. Journal of Guidance, Control, and Dynamics 25(1), 160166.CrossRefGoogle Scholar
Federici, L, Benedikter, B and Zavoli, A (2021) Deep learning techniques for autonomous spacecraft guidance during proximity operations. Journal of Spacecraft and Rockets 58(6), 112.CrossRefGoogle Scholar
Ghanem, R and Soize, C (2018) Probabilistic nonconvex constrained optimization with fixed number of function evaluations. International Journal for Numerical Methods in Engineering 113, 719741.CrossRefGoogle Scholar
Izzo, D, Öztürk, E and Märtens, M (2019) Interplanetary transfers via deep representations of the optimal policy and/or of the value function. In Proceedings of the Genetic and Evolutionary Computation Conference Companion. New York: Association for Computing Machinery, pp. 19711979.CrossRefGoogle Scholar
Kierzenka, J and Shampine, LF (2001) A BVP solver based on residual control and the Matlab PSE. ACM Transactions on Mathematical Software (TOMS) 27(3), 299316.CrossRefGoogle Scholar
La Mantia, M and Casalino, L (2006) Indirect optimization of low-thrust capture trajectories. Journal of Guidance, Control, and Dynamics 29(4), 10111014.CrossRefGoogle Scholar
Longuski, JM, Guzmán, JJ and Prussing, JE (2014) Optimal Control with Aerospace Applications. New York: Springer.CrossRefGoogle Scholar
Loquercio, A, Kaufmann, E, Ranftl, R, Dosovitskiy, A, Koltun, V and Scaramuzza, D (2020) Deep drone racing: From simulation to reality with domain randomization. IEEE Transactions on Robotics 36(1), 114.CrossRefGoogle Scholar
Mall, K, Grant, MJ and Taheri, E (2020) Uniform trigonometrization method for optimal control problems with control and state constraints. Journal of Spacecraft and Rockets 57(5), 9951007.CrossRefGoogle Scholar
Meurer, A, Smith, CP, Paprocki, M, Čertík, O, Kirpichev, SB, Rocklin, M, Kumar, A, Ivanov, S, Moore, JK, Singh, S, Rathnayake, T, Vig, S, Granger, BE, Muller, RP, Bonazzi, F, Gupta, H, Vats, S, Johansson, F, Pedregosa, F, Curry, MJ, Terrel, AR, Roučka, Š, Saboo, A, Fernando, I, Kulal, S, Cimrman, R and Scopatz, A (2017) Sympy: Symbolic computing in python. PeerJ Computer Science 3, e103.CrossRefGoogle Scholar
Sánchez-Sánchez, C and Izzo, D (2018) Real-time optimal control via deep neural networks: Study on landing problems. Journal of Guidance, Control, and Dynamics 41(5), 11221135.CrossRefGoogle Scholar
Shi, Y and Wang, Z (2020) A deep learning-based approach to real-time trajectory optimization for hypersonic vehicles. In AIAA Scitech 2020 Forum. Orlando, FL: AIAA.Google Scholar
Shi, Y and Wang, Z (2021) Onboard generation of optimal trajectories for hypersonic vehicles using deep learning. Journal of Spacecraft and Rockets 58(2), 400414.CrossRefGoogle Scholar
Soize, C and Ghanem, R (2016) Data-driven probability concentration and sampling on manifold. Journal of Computational Physics 321, 242258.CrossRefGoogle Scholar
Soize, C and Ghanem, R (2020) Probabilistic learning on manifolds. Foundations of Data Science 2(3), 279307.Google Scholar
Sparapany, MJ (2020) Aerospace Mission Design on Quotient Manifolds. PhD Thesis, Purdue University Graduate School.Google Scholar
Sparapany, M and Grant, MJ (2020) beluga. Available at https://github.com/Rapid-Design-of-Systems-Laboratory/beluga (accessed September 4, 2020).Google Scholar
Wang, Z and Grant, MJ (2017) Constrained trajectory optimization for planetary entry via sequential convex programming. Journal of Guidance, Control, and Dynamics 40(10), 26032615.CrossRefGoogle Scholar
Wang, Z and Grant, MJ (2018) Autonomous entry guidance for hypersonic vehicles by convex optimization. Journal of Spacecraft and Rockets 55(4), 9931006.CrossRefGoogle Scholar
Yan, C, Xiang, X and Wang, C (2020) Towards real-time path planning through deep reinforcement learning for a UAV in dynamic environments. Journal of Intelligent & Robotic Systems 98(2), 297309.CrossRefGoogle Scholar
Zheng, D and Tsiotras, P (2021) Near-optimal finite-time feedback controller synthesis using supervised and unsupervised learning. In AIAA Scitech 2021 Forum. Orlando, FL: AIAA.Google Scholar
Figure 0

Table 1. Parameter ranges for the uniform random variables that control the trajectory dataset.

Figure 1

Figure 1. Sample trajectory data. The left frame shows the downrange/crossrange solution components and the right frame shows velocity/height components. The samples shown in gray represent the unconstrained components while the red/blue samples correspond to the maximum path constraint condition, $ \delta =400 $.

Figure 2

Figure 2. Eigenvalue spectra for several values of the kernel bandwidth $ \varepsilon $: (left frame) results corresponding to the entire training set; (right frame) results obtained after several edge samples were removed from training.

Figure 3

Figure 3. Scatter plots showing the entries in the two most dominant eigenvectors for all samples in blue, with superimposed red circles for edge cases. Left to right columns correspond to diffusion map results based on $ \varepsilon =\{200,\hskip0.35em 500,\hskip0.35em 1000\} $, respectively. Rows show results after edge cases are sequentially removed from the datasets (top to bottom).

Figure 4

Figure 4. Manifold dimension $ m $ dependence on $ \varepsilon $. Results labeled “row 1” through “row 3” correspond to the same sequence of datasets underlying the results shown in Figure 2, while results labeled “original” are based on the original dataset before outlier removal.

Figure 5

Figure 5. Trajectory data defining the samples used for learning the diffusion map representation: gray lines show a random subset of 100 samples; red/blue/green/magenta/cyan show samples removed from the learning set (in this order).

Figure 6

Figure 6. Same dataset and color scheme as in Figure 5, shown in longitude/latitude coordinates.

Figure 7

Figure 7. Distribution of 3DOF residual norms for synthetic trajectories conditioned on the terminal velocity of 650 m/s and several values for $ \delta $: $ 100 $ (top left frame), $ 200 $ (top right frame), and $ 300 $ (bottom frame).

Figure 8

Figure 8. 2D PDFs for vehicle location at intermediate locations for trajectories that originate at $ {h}_0=40\hskip0.1em $ km, $ {\theta}_0=0\hskip0.1em $ rad, and $ {\phi}_0=\left\{0\left(\mathrm{black}\right),0.001\left(\mathrm{red}\right),0.002\left(\mathrm{green}\right),0.003\left(\mathrm{blue}\right)\right\}\hskip0.1em $rad. The initial latitude values correspond to $ \{0,6,12,18\} $ [km] in the crossrange coordinates. The “x” symbols mark the start and end points and the large circles mark the location of the exclusion regions.

Figure 9

Table 2. Numerical settings for the set of runs chosen to illustrate the workflow in Algorithm 1.

Figure 10

Figure 9. Marginal PDFs for vehicle location at intermediate locations for Runs 1 (red) and 3 (blue) conditional on the location at previous stages. The “x” symbols mark the start and end points and the large circles mark the location of the exclusion regions.

Figure 11

Figure 10. Means (with filled symbols) and error bars ($ \pm $2 standard deviations) for the terminal velocity $ {v}_T $ conditioned on intermediate conditions along the trajectory: Runs 1 and 2 (left frame) and Runs 3 and 4 (right frame). Beluga results are shown with open symbols.

Figure 12

Figure 11. Mean and standard deviations for the terminal flight path angle $ {\gamma}_T $ conditioned on intermediate conditions along the trajectory. The frames setup is the same as for Figure 10.

Figure 13

Figure 12. Mean and standard deviations for the terminal heading angle $ {\psi}_T $ conditioned on intermediate conditions along the trajectory. The frames setup is the same as for Figure 10.

Figure 14

Figure 13. Mean and standard deviations for the terminal velocity $ {v}_T $ corresponding to Runs 1 and 2 conditioned on intermediate vehicle locations: first column—marginal over the intermediate flight path and heading angles; second column—conditioned over intermediate flight path and heading angles; and third column—conditioned over perturbed intermediate flight path and heading angles.

Figure 15

Table A1. Continuation stages for the optimal control problem.

Submit a response

Comments

No Comments have been published for this article.