1. Introduction
Morphing gliding reentry vehicles have several advantages, including high maneuverability, flexible trajectories, and robust anti-interception capabilities [
1,
2]. These vehicles have been extensively researched by major global aerospace powers because of their wide velocity profiles and extended operational altitudes [
3,
4]. Among the related technologies, trajectory planning is crucial for analyzing the performance of aircraft, such as range, maneuverability, and ballistic characteristics. This allows morphing gliding reentry vehicles to achieve optimal flight performance by altering wing shapes according to different mission scenarios (e.g., take-off, cruise, reconnaissance, attack, and landing).
Trajectory planning typically requires solving nonlinear optimal control problems under various constraints, including boundary conditions, shape parameter constraints, no-fly-zone (NFZ) constraints, and path constraints [
5]. Previous research primarily categorizes proposed trajectory planning algorithms into indirect and direct methods [
6,
7]. The indirect method derived from Pontryagin’s maximum principle transforms the trajectory optimization problem into a Hamiltonian boundary value problem, which is typically solved using gradient-based algorithms, and offers high solution accuracy and strong optimality. The direct method primarily adopts parameterization to convert the optimal control problem into a parameter optimization problem that is solved using nonlinear programming methods such as the sequential quadratic programming algorithm. This method has been widely investigated because of its intuitive formulation [
8,
9,
10]; however, its unpredictable solution times and unstable convergence restrict its application to online scenarios [
11].
Within the direct method, convex optimization frameworks meet the requirements for rapid computational solutions, which increase their utility in spacecraft trajectory optimization [
12,
13,
14,
15]. These frameworks excel in solving low-complexity problems and deliver results quickly using interior-point methods. However, most aerospace-related problems are constrained by nonlinear, nonconvex dynamics, and path constraints, which cannot be directly solved within the convex optimization framework. Therefore, a convexification method that effectively minimizes approximation errors is necessary. The mainstream convexification methods include lossless and sequential convexification [
16].
To address the Mars landing trajectory planning problem, Ackimese et al. utilized a lossless convexification method. This approach efficiently replaces nonconvex constraints with relaxed convex constraints without compromising the solution accuracy [
17,
18]. For reentry trajectory optimization, the sequential convex programming (SCP) methodology proposed by Liu et al. differentiates energy-related dynamic equations and integrates linearization and relaxation operations within iterations [
13,
19,
20,
21]. The feasibility of this methodology was substantiated by the minimum time and minimum heat flow reentry trajectories. Furthermore, Wang and Zhang improved the conventional SCP algorithm with two enhanced strategies, line-search SCP and trust-region SCP, which significantly enhanced its convergence performance [
22]. Zhou et al. proposed an improved SCP method using an adaptive mesh refinement [
23], which balanced computational efficiency and solution accuracy by dynamically adjusting the node distribution according to the linearization error after each iteration.
However, the SCP methodology requires further improvements in terms of discretization, convergence, and penalty parameter selection. The classic trapezoidal discretization approach has been used to convert continuous optimization problems into a discrete form [
22,
24]. Nevertheless, it often introduces considerable discrepancies between the approximation and actual models during computation. To improve the solution accuracy, the density of the equidistant discretization nodes must be increased. This inevitably increases the number of optimization variables and significantly extends the solution time. In contrast, the pseudospectral discretization method achieves higher precision without increasing the number of nodes and has been widely applied to solve optimal control problems [
14,
25]. Nevertheless, most studies have investigated trajectory optimization for conventional aircraft with fixed configurations, while rarely addressing morphing strategies during flight. For a fixed-configuration aircraft, trajectory optimization aims to obtain the optimal trajectory described by time-varying variables, including the angle of attack, velocity, altitude, and flight-path angle.
Morphing gliding reentry vehicles require the generation of optimal trajectories and the determination of the optimal wing morphing strategy under dynamic mission conditions. The complexity and uncertainty associated with actual flight missions have increased considerably. For instance, no-fly zones in combat regions can be altered at any time. In these scenarios, a vehicle must generate a feasible and safe trajectory, which circumvents restricted zones, ensures flight safety, and satisfies mission constraints by adjusting its wing configuration and other external parameters accordingly. Accordingly, establishing an efficient online trajectory optimization framework that satisfies the practical demands of complex morphing–gliding reentry missions is critical.
However, the application of convex optimization to online trajectory optimization is limited by the real-time requirements and convergence performance. Next-generation artificial intelligence has advanced significantly in numerous fields, and its applications in aerospace guidance, control, and dynamics have been increasingly explored [
26,
27,
28], resulting in several promising achievements. Sanchez-Sanchez and Izzo investigated a deep neural network (DNN) for optimal state-feedback control of nonlinear systems and developed a real-time optimal control architecture [
29] capable of handling numerous distinct initial conditions and maintaining optimal feedback responses. Li et al. exploited the strong approximation capabilities and high computational efficiencies of DNNs and used these networks to rapidly generate real-time control commands [
30]. Even under deviations from nominal conditions, the framework generates high-precision control commands and exhibits favorable generalization performance. However, research on real-time optimal trajectory generation for morphing gliding reentry vehicles operating in time-varying NFZ environments is insufficient. To address this limitation, this study investigates trajectory optimization and morphing strategies for such vehicles. An online trajectory optimization framework is proposed, which integrates an improved sequential convexification method and a DNN to improve the trajectory planning performance for morphing vehicles.
The remainder of this paper is organized as follows:
Section 2 presents an online trajectory optimization scheme that combines deep neural networks and Radau pseudospectral sequential convex optimization.
Section 3 presents numerical simulations to verify the effectiveness of the proposed method. Finally,
Section 4 concludes the paper.
3. Results
3.1. Generation Scheme of Optimal Trajectory Cluster
Variable reentry glide vehicles often encounter dynamic NFZs that may shift or expand over time. Therefore, the DNN used as a trajectory generator is designed to adapt to a wide range of NFZ conditions. The simulation environment includes mobile NFZs with variable ranges to validate performance. When the NFZ expands, the vehicle switches from Trajectory 1 (orange) to Trajectory 2 (green), as shown in
Figure 5a. The spatial translation of the NFZ changes from Trajectory 2 (green) to Trajectory 3 (purple), as illustrated in
Figure 5b.
To ensure that the dataset covers the broadest possible range of spatial configurations, 2500 NFZs with different positions and sizes were set up in the experiment. The central positions and radius ranges of each NFZ are listed in
Table 2.
Figure 6 presents the optimal trajectory clusters for variable gliding reentry vehicles under different NFZ configurations. These clusters cover all scenarios where the NFZ shifts among the four NFZ centers and its range varies from 11.1 km to 33.3 km.
3.2. Parameter Settings of Radau Pseudospectral Convex Optimization
In this study, the Radau pseudospectral convex optimization method was employed to generate an optimal trajectory library. The number of Gaussian collocation points per trajectory is a key influencing factor in numerical trajectory computation. Insufficient collocation points degrade the quality of trajectory optimization, whereas an excessive number substantially increases the time cost for both trajectory generation and subsequent network training. For the specific scenario investigated in this study, a 2 s interval between collocation points ensures sufficient trajectory accuracy. The reentry flight duration is about 700 s. After balancing the generation time and optimization quality, each trajectory contains approximately 250 discrete optimal state-action sets on average. This setup generates reliable trajectories within acceptable time limits. Although using more Gaussian collocation points is feasible, the time cost increases considerably. The currently selected discretization points guarantee trajectory reliability, and the 2500 samples are divided into 2000 training, 300 validation, and 200 test trajectories.
As shown in
Table 3, the DNN model is evaluated on 200 independent test trajectories. Three error metrics are adopted to assess the prediction performance. RMSE reflects the overall prediction error and is sensitive to large local deviations. MAE denotes the average prediction bias. Mean ± std and 95% confidence intervals (CI) are calculated from all valid trajectories to quantify error dispersion and statistical reliability. The model yields stable predictions for angle of attack, bank angle, and sweep angle. The corresponding RMSE values are 0.239, 0.107, and 0.462, with 95% CIs of [0.215, 0.264], [0.098, 0.117], and [0.385, 0.539], respectively. The relatively higher error of sweep angle is mainly caused by a small number of extreme trajectories. For most test cases, the prediction accuracy remains acceptable.
In the simulation, the initial downrange, initial reentry altitude, and initial velocity of the reentry mission are 796.6 km, 55 km, and 2150 m/s, respectively. The bank angle rate is limited to 10°/s.
Table 4 lists the bank angle bounds and path constraint limits.
For the two examples investigated in this section, the parameter settings of the trust region size and convergence criterion are given by Equations (30) and (31), respectively, as follows:
To verify the rationality and robustness of the parameter configuration in the proposed SCP algorithm, single-factor sensitivity analysis is performed on parameters , , and . The default values are set as , , and . In each test, only one parameter is modified, while the rest remain at default settings. Several key indicators are adopted for quantitative evaluation, including solution success rate, average iteration number, average computation time, and maximum path constraint violation. Test results show that all parameter groups achieve a 100% success rate in solving convex subproblems. The parameter primarily governs algorithm convergence. A small value increases the reliance on virtual controls, while an excessively large value raises the difficulty of numerical computation. mainly determines terminal position accuracy, and has limited impacts within the test range. The default parameters adopted in this work effectively balance terminal accuracy, path constraint satisfaction, virtual control suppression, and computational efficiency.
For the sequential convex programming (SCP) method,
is the most sensitive parameter for convergence performance. A smaller
relaxes dynamic consistency constraints, whereas a larger
complicates numerical solving. The default
lies in a reasonable range, which well balances virtual control suppression, terminal precision and computational cost.
barely affects solution feasibility but significantly influences terminal position accuracy. A larger
can reduce terminal errors, accompanied by a slight increase in computational burden. Within the test scope,
exerts negligible influences on SCP solution stability, which verifies the good parameter robustness of the proposed algorithm, as shown in
Table 5.
To further explore the convergence characteristics and anti-disturbance capability of the SCP algorithm, this paper investigates its robustness against perturbed initial reference trajectories. Four trajectory levels with different perturbation magnitudes are established, including nominal, small, moderate, and large perturbation trajectories. All perturbations are imposed only on the reference trajectory for SCP linearization, while the practical boundary conditions and path constraints are fixed during all tests.
The test results shown in
Table 6 verify that the SCP algorithm converges stably when the reference trajectory is close to the feasible domain. All test cases converge successfully under nominal trajectories, achieving a 100% core state convergence rate. For small perturbation scenarios, the solution success rate decreases to 65%. Most convergent cases reach the maximum iteration number, but their terminal errors and path constraints still meet the requirements. Only 5% of test cases converge under moderate perturbations, with a sharp rise in virtual control norm. No effective solutions can be obtained when large perturbations are applied. These results confirm the local convergence feature of the SCP algorithm. A reference trajectory close to the feasible domain guarantees stable optimization performance. In contrast, trajectories far from the feasible domain cause severe convexification errors. These errors reduce solution accuracy and success rate, raise iteration costs and virtual control amplitude. In extreme perturbation scenarios, the convex subproblems fail to generate feasible solutions.
3.3. Generation Results of Training and Testing Data
Figure 7a shows 2500 optimal trajectories under random NFZs. The constraints of the heat flux, dynamic pressure, and overload are shown in
Figure 8, with the maximum heat flux appearing at the start of gliding. To satisfy the heat-flux constraint, the vehicle adjusts the wing sweep angle to generate lift for trajectory pull-up, thereby reducing energy loss and severe aerothermal environments from high-angle-of-attack flights.
Figure 7c illustrates the variation in the bank angle. For a safe flight and large-scale lateral maneuvering, the bank angle is adjusted several times during the mission.
Figure 9 shows the variation in the wing sweep angle. The deformation results show that the sweep angle coordinates with the attitude angle during large-scale lateral maneuvers. The angle of attack remains within a narrow range throughout the flight, which benefits gliding range extension and thermal protection design.
3.4. Neural Network Prediction Results
To further verify the performance of the proposed DNN, the trained model uses the current flight state vector to generate predictions and provides control inputs (angle of attack α, bank angle σ, and sweep angle Λ) at the corresponding time.
Figure 10 compares a trajectory randomly selected from the network validation dataset with that predicted by the neural network. The results demonstrate that the proposed neural network accurately predicts trajectories based on the current flight state.
Figure 11 shows the absolute error distribution of the optimal actions predicted by the neural network. Analysis reveals that the angle of attack α has an average relative error of 2.25% and an absolute error of 0.912°; the bank angle σ has a relative error of 0.61% and an absolute error of 0.02°; the wing sweep angle Λ has a relative error of 2.25% and an absolute error of 0.912°. The designed DNN model demonstrates high accuracy in predicting optimal actions, thereby facilitating precise real-time guidance (only 0.4 ms is required to predict three groups of control variables).
To verify the effectiveness of the proposed algorithm, 200 trajectory cases are tested via Monte Carlo experiments, as presented in
Figure 12. Diverse initial flight states are employed to produce validation trajectories, whose key parameters are summarized in
Table 7. The average terminal position error, altitude error, and velocity error are measured as 12.85 km, 1.02 km, and 70.87 m/s correspondingly. It is shown that the DNN method delivers satisfactory terminal tracking accuracy and satisfies the requirements imposed by strong path constraints.
4. Discussion
This study proposes an online trajectory co-optimization framework for morphing gliding reentry vehicles, which integrates deep neural networks (DNNs) with sequential Radau pseudospectral convex optimization methods. The established framework transforms the strongly non-convex trajectory planning problem with complex flight constraints into a series of tractable convex subproblems. Specifically, DNNs are employed to construct the nonlinear mapping between flight state parameters and optimal control variables, forming a hybrid optimization paradigm that combines high-precision numerical optimization and rapid intelligent inference. This strategy enables the real-time generation of optimal flight trajectories and synchronous wing morphing strategies throughout the full flight envelope, and exhibits excellent adaptability to complex flight missions involving dynamic no-fly zone constraints and time-varying range limitations.
Despite the promising performance of the developed framework in nominal flight scenarios, several inherent limitations restrict its practical engineering application. First, the training dataset of the DNN model is limited to conventional flight envelopes and common disturbance conditions, lacking coverage of extreme working scenarios. Abrupt variations in no-fly zone boundaries and intense external disturbances will degrade the model inference accuracy, and may further lead to the failure of trajectory optimization. Perturbation simulation experiments verify the local convergence characteristic of the adopted SCP algorithm. The algorithm can achieve complete convergence when the initial reference trajectory is close to the feasible solution domain. Nevertheless, small trajectory perturbations reduce the solution success rate to 65%, even though the convergent solutions still meet the basic accuracy and constraint requirements. Severe trajectory perturbations will completely invalidate the optimization results and fail to generate feasible flight trajectories. Second, the SCP algorithm relies on linearization and convex relaxation operations to approximate the original non-convex flight constraints. Such numerical approximation operations will inevitably introduce minor systematic errors, especially under extreme boundary constraint conditions. For flight missions with extremely narrow safety margins, these approximation errors make it difficult for the framework to guarantee the strict global optimality of the optimized trajectory and morphing strategies.
Future research will focus on addressing the aforementioned limitations to further improve the generalization performance and engineering practicability of the proposed framework. First, extended datasets containing diverse extreme flight scenarios and drastic constraint variation cases will be supplemented to expand the adaptive boundary of the DNN model, so as to enhance the robustness of intelligent inference against severe disturbances and abrupt mission changes. Second, adaptive convex relaxation strategies and dynamic error correction algorithms will be developed to compensate the linearization errors of SCP, thereby improving the optimization accuracy under boundary-limited flight conditions. Third, high-fidelity flight perturbation factors including aerodynamic uncertainty, sensor measurement noise and actuator execution deviation will be incorporated to construct a simulation platform that is highly consistent with real flight environments. Furthermore, online parameter updating and incremental learning mechanisms will be explored to realize adaptive adjustment of the framework for unknown and complex mission scenarios. This work provides a solid theoretical and technical foundation for the engineering implementation of online intelligent co-optimization of trajectories and morphing strategies for morphing reentry vehicles.