Abstract

We present a two-stage method for solving the terrain following (TF)/terrain avoidance (TA) path-planning problem for unmanned combat air vehicles (UCAVs). The 1st stage of planning takes an optimization approach for generating a 2D path on a horizontal plane with no collision with the terrain. In the 2nd stage of planning, an optimal control approach is adopted to generate a 3D flyable path for the UCAV that is as close as possible to the terrain. An approximate dynamic programming (ADP) algorithm is used to solve the optimal control problem in the 2nd stage by training an action network to approximate the optimal solution and training a critical network to approximate the value function. Numerical simulations indicate that ADP can determine the optimal control variables for UCAVs; relative to the conventional optimization method, the optimal control approach with ADP shows a better performance under the same conditions.

1. Introduction

Unmanned combat air vehicles (UCAVs) constitute an experimental class of unmanned aerial vehicle. Since the U.S. Air Force and Department of Defense developed the first UCAV X245A, UCAVs have been a means for precise air strikes worldwide in modern warfare. Relative to manned fighters, UCAVs have potential strong advantages such as less risk to personnel safety, lighter weight due to the lack of need to carry equipment for a human pilot and greater payloads, range, and maneuverability [1]. However, it is necessary to plan a path for a UCAV on a battlefield with complex terrain conditions. This process has received considerable research attention because following the planned path maximizes the likelihood of mission success. The concept of terrain following (TF)/terrain avoidance (TA) path planning is presented to solve the path-planning problem over complex terrain. The fundamental purpose of TF/TA path planning is to calculate an optimal or approximately optimal route for a UCAV that enables the UCAV to penetrate the terrain without collisions and avoid enemy radar detection by taking advantage of topographic factors around the UCAV. Conventional approaches to solving this problem are divided into two categories: optimization approaches and optimal control approaches. Optimization approaches typically formulate this problem as a matter of numerical cost minimization to be solved using algorithms such as genetic algorithms (GAs) [2], particle swarm optimization [2], and search [3] and rapid-exploration random tree (RRT) [4] algorithms. and RRTs are geometric variants of the shortest path algorithm, but these approaches encounter challenges associated with path constraints. Moreover, all of the aforementioned algorithms are strongly dependent on the cost function, and during processing, their cost function should be updated and restored, which is a time-consuming operation. Due to the slow execution of optimization approaches, researchers have developed the optimal control approach by formulating the optimal path-planning problem as a two-point boundary value problem. Pure optimal control approaches can accommodate flight constraints but are problematic due to the challenges posed by complex dynamics to obtain the nonlinear adjoin equations. Moreover, the solutions are sensitive to the initial values of the adjoin variables in the corresponding iterative procedures. Therefore, some researchers have investigated alternative approaches to solve the optimal control problem. For example, Chen et al. [5] introduced a GA-based approach for 2D path planning with a chromosome of variable length, although this approach cannot be applied to 3D TF/TA missions, and Samar et al. [6] proposed integrated guidance and control for flight height, which can accommodate TF missions while considering robustness, but the solution is not optimal. In addition, some authors have used dynamic programming (DP) to solve the optimal control problem by calculating the control variables based on a path comprising discrete segments, which has provided optimal solutions with relatively strong robustness [1]; however, the large scales of intermediate data restoration and processing—the so called “curse of dimensionality”—has limited the calculation efficiency. In recent years, researchers have made improvements to the original DP, and one of the representative examples is approximate dynamic programming (ADP) [7]. ADP, as an effective intelligent control method, solves the curse of dimensionality using an approximate function to replace the actual cost function in DP and has been applied to optimal control problems in path planning [8].

According to the advantages of the optimization approach and optimal control approach, a novel two-stage planning method is proposed here that decomposes the 3D TF/TA path-planning problem into two subproblems: a 2D path optimization subproblem with the purpose of terrain (threat) avoidance and a 3D optimal control subproblem based on a pre-planned collision-free path. Therefore, the 1st stage of planning employs the DP algorithm to generate a 2D path on the horizontal plane with no collision with the terrain. In the 2nd stage of planning, ADP is adopted to generate a 3D flyable path for the UCAV as close as possible to the terrain. Numerical simulations of path planning in a real terrain environment are also presented to verify the accuracy and efficiency of the proposed method. An analysis of a comparison with the conventional method indicates the superiority of the proposed method in certain respects.

2. Problem Definition

Path planning for a fixed-wing UCAV in an actual battle environment with complex terrain conditions requires a novel low-altitude penetration technology for achieving TF and TA. In previous research, the TF/TA path-planning problem has been commonly addressed as an optimization problem with numerous performance functions (PFs) and flight restrictions, and the strategy of the planner and the characteristics of planned path are therefore implicit in these functions and restrictions. In addition, some researchers choose the optimal control approach to solve this problem by generating a time-based flyable path. Here, we present a novel two-stage path-planning methodology to achieve TF/TA path planning in 3D space, which decomposes the optimization problem into two stages: the 1st stage focuses on the optimization problem of planning a grid-based collision-free path to avoid non-flyover terrain, and the 2nd stage takes the optimal control approach to TF flight on the basis of the roughly planned path from the 1st stage.

3. The 1st Stage of TA Path Planning

Generally, terrain information extracted from a geographic information system (GIS) is provided in the form of sample points on a gridded digital map, and values between two grid points can be obtained by interpolation. The topographic height of each sample point is defined as

Through this process, the entire topographic space for path planning is rasterized into grids with the same spacing, and the flight path is discretized as a set of path points determined by the grid lattices. The starting point and the final point are designated and , respectively. Denote this set of path points as a sequence , where , and then connect adjacent points from beginning to end. Therefore, the path can be described as

The entire flight path is divided into segments; the th segment is designated , ; and each segment should never cross terrain higher than the UCAV maximum altitude. In the actual path-planning process, the length of each segment shall never be more than twice the sampling distance of the GIS (), which is expressed as .

For each segment, the rate of climb (ROC) is given aswhere the segment length is . Each candidate point should satisfy the constraint , and , are converted by the flight characteristics of the UCAV. In the same way, the rate of deviation in the horizontal plane can be given aswhere is also determined by the flight characteristics of the UCAV.

During the process of path planning, it is expected that the UCAV will fly close to some part of the protruding terrain, which means that the UCAV will take advantage of topographic factors to escape detection. Thus, the height difference of the terrain points around the UCAV is proposed to measure that advantage such that the advantage for the path is larger than for other paths for larger height differences. Taking points (commonly ) on each side perpendicular to the velocity vector as shown in Figure 1, the height difference can be given as the following:

In actual calculation, in order to facilitate the calculation and comparison of different path, the PFs of the planned path comprise normalized flight range indicator, terrain height indicator, ROC indicator, TA (no-collision) indicator, and terrain differences indicator, which can be expressed as follows:(1)Flight range indicator is(2)Terrain height indicator is(3)ROC indicator is(4)TA indicator is(5)Terrain differences indicator is, , are preset values determined by the flight characteristics of the UCAV. To summarize, the complete PF of the planned path from the stage is written as follows: where are the weight coefficients. In this form of cost function, various coefficient combinations reflect the strategy of the planner in this stage. As and are related to the vertical and horizontal the choice of planned waypoints, the values of and determine whether the UCAV is favored to fly over or around convex topography.

The optimization problem of the 1st stage in the 3D physical space with terrain is summarized as

Finally, the optimal discrete path is interpolated into a continuous smoothed path using B-spline cubic interpolation [9]:

4. The 2nd Stage of TF Path Planning

The planned path from the 1st stage is an approximate path that consists of terrain points that are taken as the input of 2nd-stage planning to generate a flyable path. A dynamic model of the UCAV is introduced in the 2nd stage for TF path planning and is used to generate a 4D time-based flight path.

4.1. Kinematic Model of the UCAV

To solve the TF path-planning problem for a fixed-wing UCAV, it is reasonable to take 3-DOF motion into consideration rather than 6-DOF motion. The kinematic equations with airflow turbulence arewhere position variables represent the longitude, latitude, height, and speed of the UCAV in a geographic coordinate system, respectively, and represent the path angle, heading angle, attack angle, and rolling angle of the UCAV, respectively. To simplify the dynamic model of the UCAV, mass is assumed to be constant; is the thrust of the UCAV’s engine; and represent for the lift and drag, which are determined by the air density , reference area , pneumatic coefficient , and speed. is the variable of airflow turbulence, which consists of the wind speed and wind acceleration in the coordinate system of geography.

4.2. TF Performance Indicator

In this stage, the fundamental problem is to determine the optimal path for the UCAV to follow.

In order to ensure the reliability of the planned path for UCAV to fly, one of the fundamental indicator should be concerned is the total flight time, which can be expressed in an integral form:The optimal path in the 2nd stage is a path closest to the terrain that satisfies all physical and flight constraints of the UCAV. A general criterion of closeness that provides flexibility is defined in the form of simple clearance above the terrain: where is the flight altitude of the UCAV and is the preset safe height in TF flight. In addition to the criterion of closeness, in the horizontal plane, with the purpose of tracking the path planned in the 1st stage, the tracking distance variable iswhere represents the coordinate of the projection of on the horizontal plane. Thus, the performance indicator for TF path planning comprises the total flight time, the normalized closest criterion and tracking distance: where , , and are weight coefficients (with ), is the maximum flight time of the UCAV, and , , and are preset values used to calculate the normalized variables , , and , respectively.

4.3. TF Flight Path Generation

Instead of the curvature function, the kinematic equations and physical constraints of the UCAV are directly used in the 2nd stage to generate an optimal and flyable path. Accordingly, the path-planning problem is converted to a 4D time-based optimal control problem that can be formulated as

5. ADP Algorithm

The DP algorithm has long been considered a feasible approach for solving the path-planning problem. However, the curse of dimensionality has restricted its maximum computational speed, which has motivated the development of several approximate techniques for composing the PF. Neural networks and kernel functions are considered effective approaches to achieve this idea in ADP. ADP reduces the dependence on the model through interaction with the system and can continuously improve the accuracy of the estimation and achieve the approximation of the optimal strategy.

The path-planning problem can be abstracted as a nonlinear continuous state model, and the model can be discretized into a nonlinear system with subplanning steps:

The discrete PF of the planned path is posed aswhere is the discount coefficient and is the efficacy function of a single planning step determined by the related physical variables of the UCAV.

5.1. Modeling an ADP System

An approach called adaptive critic designs (ACDs) for ADP was first introduced by Werbos in 1977 and has recently received increasing attention [10]. After continuous improvements, a typical form of ACDs used in the modeling of ADP consists of three modules—the action network, model network and critic network—as shown in Figure 2. In the present work, each module is considered to be a backpropagation neural network (BPNN). The motivations to adopt BPNN to the construction of ADP are mainly on its great potential for solving nonlinear problems and uncertain system control, which can be specifically explained as the following aspects: its ability to fully approximate complex nonlinear mapping; its superiority to learn and adapt to the dynamic characteristics of uncertain systems compared than other approaches; BPNN is highly robust and fault tolerant; distributed running processing is adopted in BPNN to make fast operations possible.

Thus, for the presented nonlinear dynamic model of UCAV, in the critic network, evaluation value is calculated from the input of flight states by continuous training and threshold updating of BPNN; and in the action network, BPNN are continuously trained with the objective to approximate the optimal (or suboptimal) control variables based on the input of flight states, as shown in Figure 2.

5.2. Training and Threshold Update of the Critic Network

The structural scheme of the critic network is shown as Figure 3. There are 7 input layers and more than 13 hidden layers in the structure. and are the weight matrices of the neural network.

The flight state of the UCAV at time τ is taken as the input of the neural network. The critic network calculates and outputs the value , which estimates the PF in (23) by finding the minimal following error measures over time:When for all , thenwhich is exactly the same as the PF in (22). Therefore, the training of the critic network is achieved by minimizing the following error defined by (23). The output of the critical network is calculated aswhere is the th row and jth column of the weight matrix from the input layer to the hidden layer, is the jth row of the threshold vector , is the jth column of the weight matrix from the hidden layer to the output layer, and is the threshold of the output layer. and are the input and output of the hidden layer, respectively. The update law of the weight matrix and threshold with the learning rate of the critical network is given by the following equations:

5.3. Training and Threshold Updating of the Action Network

After training the critic network, the action network is trained with the objective of approximating the optimal control variable of the UCAV. Developed in the same way as the critic network, the structural scheme of the critic network is shown in Figure 4. In the scheme of the ADP model, the action network employs a BPNN to calculate the control variable of the UCAV on the basis of the motion state .

The output calculation is defined aswhere are the input variables of the action network and is the th row and jth column of the weight matrix from the input layer to the hidden layer. is the jth row of the threshold vector , is the jth column of the weight matrix from the hidden layer to the output layer, and is the jth column of the threshold of the output layer. and are the input and output of the hidden layer, respectively. The update law of the weight matrix and threshold with the learning rate of the critical network is given by the following equations:

5.4. Calculation Steps for ADP in 2nd-Stage Planning

System initialization: load the smoothed collision-free from the 1st-stage, initialize the weight coefficients of the action network and critic network, set the initial values of the learning rates and , and define the iteration error and the discount coefficient .

Load the initial flight state of the UCAV, input this state into the action network, and calculate the control variables of the UCAV.

Take the control variables and flight state as the input of the model network and generate the state at the next time using the kinematic equations of the UCAV.

Input the control variables and flight state into the critic network, and calculate the PF.

Input the state for the next time into the action network, and calculate the control variables for the next time; then, input the new state and control variables into the critic network to calculate the PF for the next time.

Calculate the error of the action network, train the action network according to the steps described in Section 5.3, and update the weight coefficient.

Calculate the error of the critic network, train the critic network according to the steps described in Section 5.2, and update the weight coefficient.

Loop over steps to until the maximum number of iterations is reached or the iteration error for stopping is satisfied.

6. Simulation Results and Analysis

To verify the performance of the discussed path-planning method, numerical simulation results and analysis are presented in this section. The planning system and UCAV object were built using Visual C++ (ver. 10.0), and the results figures were created using MATLAB. The entire simulation was performed on a workstation consisting of a 3.5 GHz Intel Core-i7 CPU and 16 GB of physical RAM running 64-bit Microsoft Windows 10. Some of the flight characteristic parameters of the UCAV are taken from that of the MQ-9 “Reaper”, and the simulation parameters and initial conditions are listed in Table 1.

The air density can be calculated using

The digital map used in this study was built on GIS data from the National Geomatics Center of China (NGCC), covered an area of 33 33 km2 and had a sample distance of 0.03 km. Suppose that the space higher than 2000 m is covered by enemy radar detection and that the UCAV can never fly higher than that altitude. In the 1st stage of planning for TA, the conventional DP algorithm was used to solve the optimization problem, and the maximum permission number of iterations was 500. The other coefficients were

The results from the 1st stage of planning are shown in Figure 5; the attached color bar represents the terrain height of the selected area, red represents the higher terrain, and blue is used for the lower terrain. Because the weight coefficients were set to prioritize bypassing the terrain rather than flying over it, the optimal planned path avoided the UCAV-prohibited area as much as possible. In addition, because the collision punishment coefficient was far larger than the other indicators, the paths with existing or potential collisions were eliminated earlier in the DP operation process.

After obtaining the approximate path from the 1st stage, the 2nd stage of planning for TF generated the optimal flyable path shown in Figure 6. In Figure 6, the blue dots represent the profile of the terrain, and the red line represents the optimal 3D path.

To further verify the feasibility of flight for the planned path, the flight states and control variables are shown in Figure 7. The presented variables satisfy the flight constraints and characteristics mentioned in Table 2. In addition, the iteration errors for the ADP algorithm in the 2nd stage are shown in Figure 8; the maximum permissible number of iterations was the same as for the 1st stage, and the convergence error was set to 10−5. After 468 iterations, the error reached the convergence requirement, indicating that the result was optimal under these conditions. Therefore, we conclude that the planned path is an optimal flyable path for the proposed UCAV.

At the end, to verify the superiority of the proposed method used in the 2nd stage, an optimization approach with a GA with the same maximum permitted iteration number and convergence error is implemented for comparison. Figure 9 shows the heights of the planned trajectories using the 2 methods and the terrain profile beneath the trajectories; the distances between the flight trajectories and terrain are presented in Figure 10. Method 1 refers to the method proposed here, and Method 2 represents the GA optimization method. The computational efficiencies of the two methods are also listed in Table 2.

By cross-comparing the two graphs, we found that the trajectory generated by Method 1 was smoother than that for Method 2 (in which the height changes slowly) due to the consideration of flyability. Thus, regarding the same terrain height, the distance of Method 1 changed more severely than that of Method 2. In practical engineering, the inclination would be to let the UCAV track a smoother trajectory, but, in the optimization approach, a smoother trajectory could degrade the performance index. Regarding computational efficiency, the two methods were comparable, although Method 1 was slightly faster. Therefore, the optimal control approach using the ADP algorithm enjoys a certain degree of superiority over the optimization approach in path-planning problems.

7. Conclusion

We have introduced a novel two-stage path-planning methodology for TF/TA path planning in 3D space that decomposes the original planning problem into two phases: a 3D optimization problem and an optimal control problem. This proposed method is based on the ADP algorithm and can obtain optimal or approximately optimal solutions through iterative optimization. The simulation results indicate that this two-stage method can solve TF/TA path-planning problems better than the conventional optimization method in some respects. The superiority of the proposed method is that it accounts for the flyability of the planned path and the optimal performance indicators.

Therefore, more reasonable critical indicators should be taken into account to evaluate the characteristics of planned paths in future research. The next step will consist of modifying the modeling aspects and algorithms for online planning.

Data Availability

The values of some of the simulation parameters are available online, and other data is original from the authors of this paper.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by funding of Jiangsu Innovation Program for Graduate Education, KYLX15 0319, “the Fundamental Research Funds for the Central Universities.”