Abstract

In this paper, a trajectory optimization strategy for the hypersonic morphing aircraft is proposed, and the AMPI method is used to generate the online trajectory with initial state errors. Firstly, the aerodynamic model and propulsion model of the hypersonic morphing aircraft were established considering the wingspan and the scramjet. Secondly, the optimization strategy was proposed via Gauss pseudospectral method considering the control variables including angle of attack (AOA) and wingspan. The optimized trajectory met the final constraints and path constraints with the objective to minimize the time of the ascent phase. Then, the AMPI method was used to generate online trajectory without solving OCP or NLP on the base of trajectory database calculated by the optimization strategy. The simulation results indicate high accuracy of AMPI method and the final errors corresponding to different initial errors were acceptable. The mean value of the CPU time of the method was about 0.1 second, which shows real-time capability.

1. Introduction

Inspired by birds and insects that can change their shapes in no time during the flight to adapt to the environment, aircraft designers proposed the idea of morphing aircraft [1]. A morphing aircraft can adaptively change its shape to achieve the optimal performance in different tasks and environments, which brings tantalizing prospect to overcome the obstacles that are hard to solve currently.

Morphing aircrafts have been developing rapidly since Rockwell proposed the concept of active flexible wing (AFW) in 1985 [2]. NASA finished AFW project and “Active Aeroelastic Wing” (AAW) project in 2000 [3]. The United States Air Force (USAF) in cooperation with DARPA launched the “Smart Wing” project based on NASA’s technology storage [4]. Moreover, they proposed an idea of bending the wings’ chord with shape memory alloys and performed a wind tunnel experiment with a 30% scaled X-47 UAV model to verify such idea [5]. DARPA carried out “Morphing Aircraft’s Structure” (MAS) project to realize the idea of bending the wing shape with a new structure and a new material to adapt to the environmental change [6]. In addition, New Generation and Lockheed Martin carried out low-speed flying experiments and high-speed wind tunnel experiments of morphing aircraft. Based on the rapid development of morphing aircraft, NASA forecasted that morphing aircrafts would be widely used in the field of aviation by 2030 [7].

With the rapid development of morphing aircrafts, many researches on trajectory optimization for morphing vehicle have been done. Jasa [8] proposed a trajectory optimization approach based on surrogate model. Maxwell [9] presented an optimization strategy to minimize peak heat flux and deceleration of entry vehicle. Wu [10] presented an optimal flight planning method for Z-shaped morphing UAV. Peng [11] optimized the glide phase of hypersonic morphing aircraft through multiobjective optimization method. However, these methods are not acceptable for onboard generation of hypersonic morphing aircraft because these algorithms are time-consuming.

In addition, for common trajectory optimization, Gauss pseudospectral method is a popular method to solve optimal control problems and has been widely used in trajectory optimization [1214]. But GPM also needs to solve the NLP by direct method. Significant progress of convex optimization has also been achieved in recent years [1519]. Many convexification techniques were used to convert the NLP formulation of the trajectory optimization problem into a convex form. In this way, the strategy avoids the complicated process to solve NLP, and the global convergence of the strategy was improved. On the basis of convexification technique, Chai [20, 21] proposed an effective strategy to deal with both deterministic constraints and probabilistic constraints via convex optimization. They transcribed the chance constraints into deterministic constraints, and the simulations showed the effectiveness and achieved enhanced computational performance.

However, because of the coupling of wingspan and aerodynamic coefficient, the optimal morphing strategy of morphing aircraft during the flight becomes complicated, and the generation of the optimal trajectory takes a long time, which cannot meet the requirements of online computing, especially for hypersonic vehicle.

Many parameters have a great influence on the aircraft’s performance, such as wingspan and sweepback. In this paper, we focus on the wingspan. An aircraft can significantly change its performance by changing the wingspan. For example, by increasing the wingspan, an aircraft can increase the aircraft’s lift and drag, thus varying the aircraft’s lift-drag ratio and producing great influence on the performance of the aircraft. In this way, in the ascent phase, a wide wingspan may enable the aircraft to fly higher but lead to a decrease of final speed. Conversely, reducing the wingspan will decrease the height but increase the aircraft’s final speed.

In this paper, we proposed a trajectory optimization strategy for the morphing aircraft considering the control variables including AOA and wingspan. After obtaining the optimal offline trajectory, the online trajectory was generated via AMPI [22] method, which shows real-time capability.

Because there is no need for the AMPI method to solve OCP or NLP, it shows high efficiency during generating trajectory. The calculation of AMPI just includes polynomial calculation and matrix multiplication. And both the AOA and wingspan vary continuously, which are suitable for polynomial fitting. Subsequently, AMPI is suitable for onboard trajectory generation of morphing aircraft.

2. Model

2.1. Dynamics

The motion of the ascent phase is described as follows:where is the height; is the range; is the velocity; is the path angle; and are the drag and lift, respectively; is the gravity acceleration; is angle of attack; is the wingspan; and is the mass of the vehicle.

2.2. Aerodynamic Model

The drag and lift can be calculated as follows:where and are the lift coefficient and drag coefficient, which are effect by both angle of attack and wingspan, respectively; is the dynamic pressure defined as ; and is reference area. and can be calculated as follows:where and are the coefficients determined by the vehicle and and can be calculated as follows:where and are the coefficients determined by the vehicle.

2.3. Propulsion Model

The thrust can be calculated as follows:where is the thrust coefficient.

Since the engine is basically an air breather, is affected by both the velocity and angle of attack:where are the coefficients determined by the propulsion system.

The mass rate can be calculated as follows:where is a coefficient defined by the propulsion system and is the capture area.

3. Optimal Trajectory Generation

In this section, we formulated the optimal control problem (OCP) of the ascent phase so that we can obtain the optimal trajectory. The OCP consists of state function, control variables, cost function, and constraints. The state function was augmented to limit the AOA rate and wingspan rate, thus minimizing the ascent time. We considered many constraints, such as dynamic pressure path angle rate, final states, and constraints of control variables. In this way, we can solve the ascent trajectory problem via Gauss pseudospectral method.

3.1. State Function

In the optimal control problem of the ascent phase, we changed the dynamic function into the following form by introducing angle of attack and wingspan:

Since we introduced the angle of attack and wingspan into the state function, the dimension of the state of the optimal control problem was augmented from 5 to 7, so that the AOA rate and wingspan rate can be limited. It is worth noting that the wingspan rate was limited by the actuator, which prevents the wingspan from changing too fast especially during the hypersonic phase.

3.2. Cost Function

The objective is to minimize the time of the ascent phase:where is the final time of the ascent phase.

3.3. Constraints

The constraints of control variables are as follows:where is the maximum AOA rate and is the maximum wingspan rate.

The path constraints are as follows:where are the maximum AOA, maximum wingspan, and maximum dynamic pressure, respectively; are the minimum AOA, minimum wingspan, and minimum dynamic pressure, respectively; is the vertical load factor; is the maximum vertical load factor; and is the maximum path angle rate. The angle of attack and dynamic pressure are limited by the propulsion system. The wingspan is constrained by the minimum and maximum wingspan.

The terminal constraints are as follows:where are the final height, final velocity, and final path angle, respectively; are the maximum final height, maximum final velocity, and maximum final path angle, respectively; are the minimum final height, maximum final velocity, and maximum final path angle, respectively. The final state constraints are decided by the mission parameter.

4. Onboard Trajectory Generation via AMPI

4.1. AMPI Strategy

The adaptive multivariate pseudospectral interpolation (AMPI) method was proposed by Sagliano et al. in 2016 [22]. The method consists of two parts, namely offline database generation and online trajectory generation. The scheme of AMPI is illustrated in Figure 1.

The offline database generation includes two operations. The first operation is the discretization of the parameter, and the second operation is the generation of trajectory database. And the conversion matrix, which is used to converse the low-density trajectory to high-density trajectory onboard, is also computed offline. The online trajectory generation includes three operations, namely reference space definition, low-density multivariate interpolation, and high multivariate interpolation.

The AMPI will not meet the numerical stability problem because there is no need to solve NLP or OCP. The calculation of AMPI is just polynomial calculation and matrix multiplication.

4.2. Parameter Space Definition

We defined a 3-dimension parameter space composed of height, velocity, and path angle which are the most important states affecting the trajectory. Then, we discretized the parameter space by 3 vectors, which contain a set of parameters in each dimension. The robustness of the algorithm could be guaranteed by the parameter space. Once the initial errors are within the parameter space, the AMPI will not diverge.

In this paper, three values are considered in each dimension for the initial state. The parameter space was discretized as follows:where is the nominal initial state and are the errors of the height, the velocity, and the path angle at initial time, respectively.

5. Simulation

5.1. Trajectory Optimization

The values of the initial states and the target terminal states are described in Table 1. The values of are , respectively, and the values of are , respectively. The value of are , respectively, and are , respectively. The value of are , respectively.

Figure 2 shows the optimization trajectory of the nominal initial state. After about 90 seconds of ascending, the final height, final velocity, and final path angle are all satisfied with the terminal constraints. The final mass of the vehicle is 2800 kg, which means about 200 kg of fuel was consumed during the ascent phase.

The path angle decreases in the first 20 seconds, which makes the height become lower yet the velocity increases rapidly. As a consequence, the dynamic pressure becomes higher, allowing the engine to work at a better condition, which can be explained by the engine model. As height decreases, both density and velocity increase, causing the decrease of mass rate. Then, the path angle increases quickly and the craft ascends to higher height. At about 50 seconds, the path angle decreases again to meet the final height and final path angle constraints. Therefore, the mass rate becomes lower after the path angle decreases.

Figure 3 shows the time history of AOA and wingspan. The AOA increases rapidly while the path angle decreases due to the lack of lift. When the AOA comes to about 3-4 deg, the path angle and the height turn to increase. The AOA finally comes to 6 deg, which is the AOA value with maximum lift-drag ratio. The wingspan increases from the initial value 0.6 to 1, which is the upper bound of the wingspan, providing more lift to ascending of craft while the drag becomes larger at the same time. The wingspan decreases from the upper bound in order to decrease the lift and drag, as a consequence, the path angle decreases again.

Figure 4 shows the attack angle rate and wingspan rate. Both the attack angle rate and wingspan rate are satisfied with the constraints of control variables.

Figure 5 shows the time history of path constraints. In Figure 5(a), the dynamic pressure increases initially to almost the upper bound and, then, decreases quickly with the increase of height. In this way, the dynamic pressure is always within the dynamic pressure corridor controlled by the propulsion system. Figure 5(b) shows the vertical load, and Figure 5(c) shows the path angle rate. The vertical load and the path angle rate show a similar variation trend with the dynamic pressure, both of which are determined by the lift.

5.2. Onboard Trajectory Generation

We considered 3 values in each dimension of the parameter space,

These 3 vectors cover the initial states we need.

Firstly, we generated the AMPI trajectory database via the optimization strategy which contains all the situations defined by the parameter space. Figure 6 shows the offline AMPI trajectory database, including a database of both states and controls.

In Figure 6, we can see all the states of the offline database meet the terminal constraints at the final time and satisfy the path constraints all the time. The AOA increases initially to about 4 deg and then decreases gradually and, finally, increases again at the last few seconds. In contrast, the wingspan increases to the upper bound and maintains at the upper bound for few seconds and, then, decreases to almost the lower bound. All of the trajectories of the offline database are consistent with the optimization trajectory in Figure 2.

We considered the initial error as follows:

Figure 7 shows the result of the initial state with the initial error defined by equation (16). The AMPI trajectory is almost the same with the integral trajectory, indicating excellent accuracy of the AMPI method. All of the time history of the states calculated by AMPI and the integral states coincide.

To fully illustrate the accuracy of the AMPI method, experiments were conducted under different conditions with different initial errors, as shown in Table 2. The values of the final errors are all within acceptable range, while the initial errors are distributed in different grids of the parameter space defined by equation (15), showing excellent adaption of the AMPI method to different initial conditions.

The mean value of the CPU time of the AMPI method required to compute the trajectory is about 0.1 second, which can meet the online trajectory generation requirement. The number of steps of calculation for the trajectory generation is decided by the number of low-density nodes and high-density nodes. Because the numbers of nodes of different initial errors are the same, and the CPU time of each simulation is almost the same. The more number of the nodes you choose, the higher accuracy you get, costing longer CPU time.

To prove the validity of the AMPI method, Figure 8 shows the AMPI trajectory and GPM trajectory with the initial error defined by equation (16). The time history of the controls and states calculated by AMPI and GPM are almost the same, and the final mass are, respectively, 2804.8 kg and 2805.1 kg. This means that the AMPI trajectory is almost the optimal trajectory.

6. Conclusions

This paper is utilizing the AMPI method to generate online trajectory of morphing aircraft without solving OCP or NLP. The simulation results indicate the high accuracy of the method, and the CPU time of the method shows real-time capability. The comparison between AMPI trajectory and GPM trajectory proves the validity of the AMPI method.

Data Availability

The image data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interests regarding the publication of this paper.

Authors’ Contributions

Changzhu Wei is an Associate Professor of Harbin Institute of Technology; his research direction is automation control and trajectory optimization for aircrafts. Chenxin Zhang is a doctor of the National University of Defense Technology; his research direction is automation control and dynamics modeling for aircrafts. Yankun Zhang is a student of Harbin Institute of Technology; his research direction is trajectory optimization and guidance.

Acknowledgments

This research was funded by the National Nature Science Fund of China (Grant No. 61403100) and the Open National Defense Key Disciplines Laboratory of Exploration of Deep Space Landing and Return Control Technology, Harbin Institute of Technology (Grant No. HIT.KLOF.2013.079).