Research Article | Open Access

Volume 2018 |Article ID 1092092 | https://doi.org/10.1155/2018/1092092

Hao-xiang Chen, Ying Nan, Yi Yang, "A Two-Stage Method for UCAV TF/TA Path Planning Based on Approximate Dynamic Programming", Mathematical Problems in Engineering, vol. 2018, Article ID 1092092, 11 pages, 2018. https://doi.org/10.1155/2018/1092092

# A Two-Stage Method for UCAV TF/TA Path Planning Based on Approximate Dynamic Programming

Revised16 Aug 2018
Accepted27 Aug 2018
Published05 Sep 2018

#### 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

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 :

#### 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

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 . 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.

 Mass/kg Reference area/m2 Max flt. height/m Avg. trust/N 1030 19.4 2000 2.1×104 /m·s−1 /deg /deg·s−1 /deg /deg· s−1 / m·s−1 / m·s−2 Avg. /km /km /m Max overload 60 5 g

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.

 Method 1 2 Calculation time 0.291 s 0.310 s Iteration number 459 419 Max CPU/RAM used 55%/41% 58%/47%

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.”

1. C. Goerzen, Z. Kong, and B. Mettler, “A survey of motion planning algorithms from the perspective of autonomous UAV guidance,” Journal of Intelligent & Robotic Systems, vol. 57, no. 1-4, pp. 65–100, 2010. View at: Google Scholar
2. V. Roberge, M. Tarbouchi, and G. Labonte, “Comparison of parallel genetic algorithm and particle swarm optimization for real-time UAV path planning,” IEEE Transactions on Industrial Informatics, vol. 9, no. 1, pp. 132–141, 2013. View at: Publisher Site | Google Scholar
3. H. Wang, Q. Li, and N. Cheng, “Real-time path planning for low altitude flight based on A* algorithm and TF/TA algorithm,” in Proceedings of the 2012 IEEE International Conference on Automation Science and Engineering: Green Automation Toward a Sustainable Society, CASE 2012, pp. 837–842, Republic of Korea, August 2012. View at: Google Scholar
4. D. Americo and J. Caves, Human-automation collaborative RRT for UAV mission path planning, Institute of Technology, 2010.
5. G. X. Guang, X. W. Fu, and D. Q. Chen, “A genetic-algorithm-based approach to UAV path planning problem,” in Proceedings of the Wseas International Conference on Simulation, Modelling and Optimization World Scientific and Engineering Academy and Society (WSEAS), pp. 523–527, 2005. View at: Google Scholar
6. R. Samar and A. Rehman, “Autonomous terrain-following for unmanned air vehicles,” Mechatronics, vol. 21, no. 5, pp. 844–860, 2011. View at: Publisher Site | Google Scholar
7. X. Xu, C. Lian, L. Zuo, and H. He, “Kernel-based approximate dynamic programming for real-time online learning control: an experimental study,” IEEE Transactions on Control Systems Technology, vol. 22, no. 1, pp. 146–156, 2014. View at: Publisher Site | Google Scholar
8. C. Novoa and R. Storer, “An approximate dynamic programming approach for the vehicle routing problem with stochastic demands,” European Journal of Operational Research, vol. 196, no. 2, pp. 509–515, 2009. View at: Publisher Site | Google Scholar
9. T. Maekawa, T. Noda, S. Tamura, T. Ozaki, and K. Machida, “Curvature continuous path generation for autonomous vehicle using B-spline curves,” Computer-Aided Design, vol. 42, no. 4, pp. 350–359, 2010. View at: Publisher Site | Google Scholar
10. B. Hérissé, T. Hamel, R. Mahony, and F.-X. Russotto, “A terrain-following control approach for a VTOL Unmanned Aerial Vehicle using average optical flow,” Autonomous Robots, vol. 29, no. 3-4, pp. 381–399, 2010. View at: Publisher Site | Google Scholar

#### More related articles

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.