Abstract

This paper proposed an improved particle swarm optimization (PSO) algorithm to solve the three-dimensional problem of path planning for the fixed-wing unmanned aerial vehicle (UAV) in the complex environment. The improved PSO algorithm (called DCAPSO) based dynamic divide-and-conquer (DC) strategy and modified algorithm is designed to reach higher precision for the optimal flight path. In the proposed method, the entire path is divided into multiple segments, and these segments are evolved in parallel by using DC strategy, which can convert the complex high-dimensional problem into several parallel low-dimensional problems. In addition, algorithm is adopted to generated an optimal path from the particle swarm, which can avoid premature convergence and enhance global search ability. When DCAPSO is used to solve the large-scale path planning problem, an adaptive dynamic strategy of the segment selection is further developed to complete an effective variable grouping according to the cost. To verify the optimization performance of DCAPSO algorithm, the real terrain data is utilized to test the performance for the route planning. The experiment results show that the proposed DCAPSO algorithm can effectively obtain better optimization results in solving the path planning problem of UAV, and it takes on better optimization ability and stability. In addition, DCAPSO algorithm is proved to search a feasible route in the complex environment with a large number of the waypoints by the experiment.

1. Introduction

1.1. Background and Motivation

In recent years, with the development of sensor technology and intelligent control technology, unmanned aerial vehicle (UAV) has been widely used in military and civil fields, such as reconnaissance [1, 2], surveillance [3], target prosecution [4], wireless communications [5, 6], and oilfield inspection [7]. As a basic technology for autonomous navigation of the UAV system [8], the path planner is an important component to ensure the successful completion of the complex missions. The objective of path planning is to seek an optimal or near-optimal flight route from the starting position to the destination in the mission space under the required constraint conditions [9].

The core of the path planning system is route planning algorithm, which has been actively researched for decades. Over the last few decades, a variety of approaches have been proposed to deal with path planning problem for UAV or autonomous robot. Most traditional path planning methods based on the graph are adaptive to 2-dimensional planning problems, such as Voronoi diagram algorithm [10], algorithm [11], and probabilistic roadmap algorithm. These methods are relatively easy to implement, but UAV kinematic and dynamic constraints are seldom considered by these algorithms. Meanwhile, these methods need more time and huge storage memory in a large space. Potential field-based methods, such as artificial potential field algorithm [12], can obtain a smooth path and has little calculation time. Its disadvantage lies that it is easy to trap into local minimum and even cannot find a feasible path when the distance between the target and the obstacles is near. Hence, potential field-based methods can seldom be used for the practical situations. Compared with the traditional methods, evolutionary computation (EC) algorithms have a strong ability to obtain high-quality solutions in path planning and are easier to implement [13]. The problem of trajectory planning is often treated as a nonlinear NP-hard optimal problem to be solved by evolutionary algorithms. It is well known that the ECs have made much progress and have been deeply and extensively studied in recent years [1416]. EC algorithms, including evolutionary algorithms (EAs) and swarm intelligence algorithms (SIs), such as genetic algorithm (GA) [17], differential evolution (DE) [18, 19], particle swam optimization (PSO) [2025], and ant colony optimization (ACO) [26], have been widely used in handling global optimization problems.

In the application of route planning of the three-dimensional (3D) environment, it is necessary to require a higher ability to avoid collisions with terrain and much more complicated calculation than two-dimensional path planning. Therefore, how to further enhance convergence speed and solution quality of the planner will be a main motivation in a 3D complex environment. Moreover, as the environment and the planning task become increasingly complex, intelligent optimization algorithms have difficulty in dealing with the high dimension problems.

1.2. Related Work

ECs have been applied to find global or approximate global optimum path. Yang et al. [27] discovered the drawback that the high-quality waypoints in previous search can hardly be further exploited in evolutionary algorithm-based due to all the waypoints of a path as an integrated individual. Hence, a new idea of separately evaluating and evolving waypoints is proposed for two-dimensional UAV path planning. On the basis of Ref. [14], Huang [28] proposed an improved PSO algorithm based on the competition of global best solution and applied the path planner to a three-dimensional UAV to demonstrate. Zhang et al. [29] formulated an improved fruit fly optimization (MAFOA) based on the phase angle-encoded connected with mutation adaptation mechanisms to solve the unmanned aerial vehicle (UAV) path planning problem. Du et al. [30] proposed a hybrid evolutionary algorithm included the main algorithm and a subalgorithm. The main algorithm was to evolve a population of main solutions, and the subalgorithm was used to optimize each UAV path. Yang and Yoo [31] proposed a joint genetic algorithm and ant colony optimization to find an optimal flight path in accordance with sensing, energy, time, and risk utilities.

Inspired by the foraging behavior of birds, PSO was proposed by Eberhart and Kennedy in 1995 [32]. PSO is a swarm intelligent optimization algorithm, which has many advantages, such as strong robustness, low sensitivity to population size, less adjustment parameters, and better optimization effects. In fact, the path planner is aimed at searching a group of waypoints, which is a NP optimization problem. In this case, PSO and its variants are used to solve the complex optimization problems. In the preliminary study, the PSO-based approach has been used to solve the path planning for fix-wing UAV, which showed that PSO can provide good guidance for the search of path planning owing to the globally best particle of the entire population. Therefore, this paper studies the PSO-based approach with dynamic divide-and-conquer (DC) strategy and modified algorithm for solving the path planning problem.

However, the traditional PSO algorithm has some shortcomings, such as premature convergence, slow convergence speed in the later evolution, and it is easy to fall into local extreme point. Meanwhile, with the increase of problem size or dimension, PSO may be not sufficient in large-scale optimization problem due to large search space and exponential growth of local optimization. Recently, some researches have focused on these challenges. Zhang et al. [21] proposed a cooperative coevolutionary bare-bones particle swarm optimization (CCBBPSO) with function independent decomposition (FID), where binary encoding of the original model is converted to integer encoding to reduce the dimension. Cheng and Jin [33] proposed a novel competitive swarm optimizer (CSO) to solve large-scale optimization problem. Li and Yao [34] proposed a new cooperative coevolving particle swarm optimization (CCPSO2) algorithm, where the coevolving subcomponent sizes of the variables are determined dynamically. Liang and Suganthan [35] developed a modified dynamic multiswarm particle swarm optimizer (DMS-PSO), where the swarms are dynamic. Wang et al. [24] proposed a dynamic group learning distributed particle swarm optimization (DGLDPSO) for large-scale optimization. Cheng and Jin [36] developed a social learning PSO (SL-PSO), where social learning mechanisms are introduced into particle swarm optimization (PSO).

1.3. Contribution and Organization

To deal with the challenges of the traditional PSO algorithm, a dynamic DC strategy and modified algorithm are proposed for the path planning problem of UAV. Specifically, three major novel designs and advantages that help DCAPSO find the feasible path under minimizing the cost are described as follows.

On the basis of analyses of the cost function and constraints for UAVs, a new path planner is formulated to enhance the ability of solving high-dimensional route planning problem in complex 3D environment. The complex route planning problem is decomposed into a serious of small-scale subproblems based on the DC strategy. For each subproblem, only the coordinates of a few waypoints need to be concerned.

A new subsegment evaluate function is proposed for estimating the optimal solution. The subsegment evaluate function provides a reference for judging the equality of the whole path according to some waypoints in a path.

algorithm is firstly adopted to optimize the particle composition and enhance the equality of the particles, which is embedded into the evolution process of the PSO algorithm. The PSO algorithm can provide a significant improvement in the convergence speed of the PSO algorithm and avoid the local optimum entrapment.

This paper is organized as follows. Section 2 introduces the environment and trajectory representation of route planning for UAV. The optimization model of the path planning problem for fixed-wing UAV is established in Section 3. In Section 4, an improved PSO algorithm based on dynamic DC strategy and improved algorithm is proposed. The improved PSO algorithm is used to solve the path planning problem in Section 5. In Section 6, the data simulation and analysis are introduced in detail. Finally, the conclusion is offered, and the future research direction is discussed in Section 7.

2. Environment and Trajectory Representation

2.1. Environment Representation

The representation of the environment space, e.g., the terrain and the danger zones, directly affects the efficiency of the planning algorithm and the quality of planning result. The terrain map of the mission space is described by a 2D matrix. The rows and columns of this matrix represent the -coordinate and -coordinate in a 3D space, respectively. The elevation data of the map is represented by the corresponding element of the matrix as follows: where is the altitude of the environment terrain.

If the coordinate of a waypoint is defined as , hence, the flying space for UAV can be given as where represent the boundaries of the 3D coordinate, respectively.

When a UAV flies into the high-risk threat of the radar, the defense scope of the radar may be considered as omnidirectional. The mathematical model of the threat source is denoted as a geometric sphere, as seen from Figure 1, which is described by the following matrix: where is the center of the -th radar threat, and is the radius of the -th threat source.

2.2. Trajectory Representation

There are two common representations to describe the trajectory: the first one is a continuous smooth trajectory, which is based on the description of UAV kinematic and dynamic characteristics. The smoothness of the trajectory may be omitted by this representation method. The other is represented by the waypoints, which are connected by straight line segments between the adjacent waypoints. The advantage of the second trajectory representation is that the desired accuracy can be achieved by adjusting the number of waypoints. Subsequently, the path planning problem can be taken as the optimization of the waypoint coordinate.

Define as a trajectory in the flying space, where is the starting point, is the target point, and are the waypoints between the start point and the target point. The segment composed by two adjacent waypoints is divided into parts equally, as shown in Figure 2. Suppose the set of the dividing points is .

The coordinates of dividing points are calculated as: where is the coordinate of the -th division point corresponding to the -th waypoint. and are the -th waypoint and the -th waypoint, respectively.

3. Cost Function of Path Planning for Fixed-Wing

For the UAV path planning problem, the cost function is a series of optimization criteria and constraints to evaluate the quality of the flight path. The smaller the cost function fitness value is, the better the quality of the flight path is. To determine the cost function, it is necessary to consider that all the factors can affect the route performance, such as path length, flight safety altitude, threat probability, UAV dynamic constraint, and environment constraints. In general, the cost function mainly includes two parts: the objective function and the constraint function. The cost function of path planning for fixed-wing UAV is the sum of the objective function and the constraint function, which is given as where is the sum of objective function, is the sum of the constraint function.

3.1. Objective Function

The objective function enables the UAV to obtain the maximum profit under the premise of satisfying the constraints. Taking the route length, the radar threat, and flight height into account, the objective cost is calculated as follows where , , and represent the costs of path length, the threat, and the height, respectively. (1)Route length cost

In general, shorter routes can save more fuel consumption. To describe the length cost more accurately, path length ratio (PLR) is utilized to measure the route length cost , which is given as follows where is the length of the straight line connecting the starting point and the destination . is the length of the actual route. denotes the Euclidean distance of a vector. When the actual route length is approximately closer to the length of the straight line, a shorter route will be obtained. The range of is given as follows

The length of the path with good performance is considered within the scope of 1.5 times the distance between start and destination according to [15]. Hence, the value of 1.5 is the preference of feasible PLR. (2)Flight height cost

A lower-height path can reduce the risk of being detected by radar and strengthen the threat to the enemy on the ground for flying missions. The term is calculated as follows where represents the average flight altitude of -th route segment, and are the lower and higher bounds of the flight height in mission space, respectively.

Therefore, (3)Threat cost

During the process of UAV flying, it is essential to avoid into the detection range of the radar, where it may encounter the risk of being discovered or being attacked. The threat cost is computed according to the route length which goes into the threat sphere, which is calculated by where is the length of -th segment that goes inside the threat circle, indicates the diameter of -th threat, and is the number of threat sources. It is noted that is limited to .

3.2. Constraint Function

The constraint function to evaluate the candidate route should take the environment constraint and UAV dynamic constraints into account. The environment constraint focuses on the terrain of the flight altitude constraint. UAV dynamic constraints mainly refer to the turning-angle constraint and the climb/dive angle constraint. The constraint function is descripted as where is introduced to penalize the candidate routes colliding with the terrain, is introduced to penalize the route with a turning angle beyond the maximum, and is introduced to penalize the route with the climbing/diving angle beyond the constraint. The constraint function can be depicted as follows in detail. (1)Terrain constraint

If the flight height is lower than the terrain, then, UAV will collide with the terrain. So the term associated with the terrain collision is described as follows where is the length of the -th segment in a route which located below the altitude of the terrain, is the length of the -th actual route segment. Considering the above objective optimization value, the penalty constant is selected to 3.5. (2)Turning angle constraint

In view of the physical characteristics of UAV, the turning angle for UAV is required to be less than or equal to the maximum turning angle. The turning angle constraint function can be expressed by where is the maximum turning angle, is the corresponding turning angle of the -th waypoint. The turning angle is calculated according to (3)Slope angle constraint

The slope angle for UAV at each waypoint is limited into the range between the maximum slope angle and the minimum slope angle. The slope angle constraint referring to the vertical direction is calculated as where and are, respectively, the minimum and maximum slope angle, is the corresponding slope angle of the -th waypoint, which can be calculated as

4. Improved PSO Algorithm

4.1. PSO Algorithm

PSO is a typical search algorithm based on group cooperation, which comes from the basic concept of the study on simulating the foraging behavior of birds. In the particle swarm optimization algorithm, each bird in the swarm is regarded as a particle. The basic idea of PSO is to find the optimal solution through cooperation and information sharing among the individuals in the group. The process is simplified as follows. First, a group of random particles are generated at the initialization stage, and then to search the optimal solution through iteration. Each particle updates its position and velocity by tracking two extreme values (pbest and gbest) at one iteration. In -dimensional search space, a population of particles is , the position of the -th particle is , and its velocity is . The individual best solution of the population is , and the global best solution is . The velocity and position of each particle is updated according to the following formula where is the population size, is the current iteration, and are random numbers in [0,1]. and are, respectively, the personal influence parameter and the social influence parameter, and is the inertia coefficient.

4.2. Improved PSO Algorithm Based on Dynamic DC Strategy

When the number of obstacles, the threat sources increase, or the environment becomes complex, the number of waypoints should increase accordingly. However, the larger the dimension of the particle, and the worse the search ability of the intelligent algorithms becomes. Therefore, a large amount of waypoints will result in failure of planning. The planners based on intelligent optimization algorithms may be difficult to explore a feasible route in a mission space. An efficient way to solve this problem is to simplify the original problem into lower dimensions, where existing intelligent optimization algorithms can well suit. In consideration of computational accuracy and efficiency, dynamic DC strategy is introduced in PSO to find an optimal route when the number of the waypoints increases. According to this idea, the grouping strategy based on dynamic dimension is adopted to divide multiple waypoints into different groups. The number of the group in DC strategy is adjusted according to the cost function value.

A new subcost function is established to evaluate the quality of subpath. The group cost function is defined as where is the number of the waypoints in each group, is the objective function, and is the constrain function. and can be denoted as

The individual best solution of each group is selected by comparing the group cost function of previous parent and offspring. The global best solution based on dynamic DC strategy is generated by choosing the best group of all the groups according to value. In order to explain the strategy, the flow chart of PSO with DC strategy is given in Figure 3. At the starting phase, the positions and speeds of particles are initialized, and then each particle is divided into groups based on DC strategy, so each group contains dimensions. dimensions of each particle form a group, which can be evaluated by the group cost function . According to the result of the group cost function value, the groups with minimum group function fitness will be found and compose the global best particle. The parallel search based on DC strategy is developed to find the whole particle swarm and complete an iteration of search. During the iteration of path search, the group number is adjusted dynamically by where is the normal distribution with mean and standard deviation . represents an integer chosen within the range of .

Thus, the individual best solution of each particle is selected to participate in the next iteration operation.

4.3. An Improved PSO Algorithm Based on Algorithm

In order to improve the convergence accuracy and convergence speed, algorithm is introduced into PSO. The route obtained by search is regarded as a particle to optimize the performance of the DCPSO algorithm.

algorithm is an effective and direct search algorithm in static environment, which determines search direction from the starting point to the surrounding through the heuristic function. In algorithm, the open list and close list are used to realize the node expansion and the best choice in the process of path planning. The function of open list is to save the extended nodes which needed to be checked in the search process. The node with the smallest value is selected as the current node and put into close list, then all the neighboring nodes of the current node is added to the open list according to the neighbor node rule. The process is repeated until a path is found from the start point to the end point. During the search process, because each node on the path has the minimum cost, the cost of the path is the least.

The heuristic function of algorithm is aimed at evaluating the equality of the expandable nodes. The heuristic function is defined as follows where is the node to be expanded; is the actual cost from the initial node to the node in the space; is the cost from node to the target node.

For fix-wing UAV path planning problem, the heuristic function is denoted as where is cost function of node , is the constraints of node .

The cost function of node is given by where , , and are the objective functions of the length, the altitude, and the risk of radar detection for node , respectively. (1)Length cost of node

For node , can be given as where is the goal.

Therefore, (2)Flight altitude cost of node

For node , is described as where is the average flight of the segment between node and node .

Therefore, (3)Threat cost of node

For node n, can be calculated as where is the length of the segment between node and node that go through the threat zones. Therefore,

The Constraint Expression of node (1)Terrain constraint for node

For node , can be given as where is the -th division point coordinate of the node , is the terrain altitude of the corresponding coordinate on the map. (1)Turning angle constraint for node

For node , is calculated by where the constant is used to penalize the segment with the turning angle more than the maximum turning angle. (2)Slope constraint

For node , can be given by

4.4. Improved PSO Algorithm Based on Algorithm

The process of improved PSO algorithm based on algorithm is described in Figure 4.

From the starting point , put S into the open list. The first waypoints of particles are considered as the adjacent nodes of the starting point . The adjacent nodes with are checked to join the open list. Set the starting point as parent node and remove from the open list to the close list. The first waypoint of particles with minimum fitness will be searched and add it into the close list. Then, this waypoint in close list is seen as the parent of the next node, and the adjacent nodes with the first waypoint are the second waypoints of particles. These nodes are put into the open list, repeat the selection process based on the heuristic function value. Until the last waypoint, a whole route is generated by algorithm at one iteration in PSO. The waypoints in the close list generate -th particle. The path found by algorithm is seen as a particle in the particle swarm. The particles in PSO will be updated according to the evolution equation. The algorithm of the new generated particles will be continued. The new route obtained by algorithm from all the particles can optimize the equality of the particles, enrich the diversity of particle swarm, and enhance the convergence speed.

4.5. The Steps of DCAPSO Algorithm

The steps of the DCAPSO algorithm based on DC strategy and A algorithm are described as follows.

Step 1. Set the parameters and initialize each particle.

Set population size , the maximum number of iterations, particle dimension, the upper and lower bounds of velocity and position, and learning factor and . Randomly generate the initial position and the initial velocity of each particle.

Step 2. Evaluate the particle based on group cost function.

Generate the group number of DC strategy according to (22). It means that the dimensions are divided into groups. Calculate the group cost function value of each group. If the value is better than that of the current value, this value is regarded as the new best value of the individual. The global best solution based on dynamic DC strategy is obtained by combining the groups with the best group cost function value.

Step 3. Find the global best solution.

A path is searched by SO algorithm. Calculate the fitness of this path and compare with that of the global best solution based on DC strategy. Select the path with the less fitness value as the global best path.

Step 4. Update speed and position.

Update the velocity and position in each group according to (18).

Step 5. Determine the end condition.

Determine whether the end conditions are met. If the end condition is met, the global optimum value and position of the particle are saved. Otherwise, turn to Step 2.

5. Optimization Model of Path Planning

The proposed DCAPSO algorithm, which has stronger optimization performance, is used to solve the optimization model of path planning for UAV. The detailed process is shown in Figure 5. The steps are described as follows:

Step 1. Establish the environment model.

The environment information is established, mainly including the planning space, the obstacle information, the center, and the size of the threat sources.

Step 2. Initialize the parameters.

Initialize the parameters of the DCAPSO algorithm. The parameters include the population size, the maximum number of iteration, the number of waypoints, the maximum number of iterations , the upper and lower bounds of the velocity of the position, and the learning factor and inertial coefficient.

Step 3. Initialize the route.

For the first particle, coordinates of the waypoints are initialized as

From the second particle to -th particle, coordinates of the waypoints are given by evenly distributed on -axis of the coordinate from the starting point to the goal for particles, and coordinates of the waypoints are selected randomly within the bounds for particles. Due to the altitude of the terrain information is known before the planning, take full advantage of the altitude of the terrain to optimize the initial routes. So -coordinate of -th waypoint is given as follows where represents the corresponding terrain altitude of the coordinate , and denotes a safety reference. The -th path is obtained by using PSO algorithm according to the cost function of algorithm.

Step 4. Evaluate the particle.

Calculate the group fitness value of each group. If the new fitness value is better than that of the current value, this value is regarded as the new best fitness value of individual. The path based on DC strategy is found by combining the group with the best group fitness value in all groups. Calculate the fitness value of the path based on PSO algorithm. Compare and , then, the route with a smaller fitness value is set as the current global best value . This route with global best fitness is taken in regard as the global best route.

Step 5. Update the velocity and position.

Update the velocity and the position of particles by (18) from the first group to -th based on DC strategy. PSO algorithm is adopted to obtain -th optimal path.

Step 6. Determine the end condition.

Determine whether the termination condition is met, then output the global optimum value and the corresponding route. Otherwise, turn to Step 4.

6. The Data Simulation and Analysis

In order to demonstrate the performances of the DCAPSO algorithm for the path planning problem, a series of experiments with the realistic environment maps [37] were implemented on a PC with Intel Core (TM) i7-9700 CPU @3.00GHz running Windows10. Each group of experiments was conducted 30 times independently, and the main data of the results were recorded in table for the further analysis.

6.1. The Analysis of Different Waypoint Number

The number of the waypoints is an important parameter that affects the performance of the algorithm, which has a very close relationship with accuracy of the route and algorithm computational efficiency. With the number increase of waypoints, the search difficulty of the algorithm will increase rapidly. The following experiments were implemented for testing the performance of DCAPSO algorithm when the number of the waypoints changes. The parameters of DCAPSO are set as follows: population size , the maximum iteration , the personal influence , and the social influence parameter . The number of the dividing point is . Three cases are utilized to test: case I is a simple environment with nine threat sources, case II is a complicated model with 24 threat sources, and case III is a larger map environment with 32 threat sources. The statistical results of the three cases are listed in Table 1, which include the best cost, mean cost, standard deviation of the fitness value, , , and FR during 30 independent runs. Among these, and denote the iteration number when the algorithm finds the feasible flight route, which reflects the convergence speed and the efficiency of the algorithm. The is the smallest iteration number in 30 runs, and is the mean iteration number in 30 runs. FR means the percentage of the feasible routes in 30 runs, which is the ratio of the runs satisfying the constraints in the total runs. The best results are marked with boldface for clarity. It is only the feasible routes can be used for the statistics of column 6-7. The typical 3D displays and contour routes with different numbers of the waypoints in case I, case II, and case III during 30 runs are plotted in Figures 6, 7, and 8, respectively. It is noted that the mean cost value is represented as the reciprocal of the mean cost value in Figures 6(a), 7(a), and 8(a). According to Ref. [18], is determined as where is the route length, is the minimal diameter of all the missiles and radars in space, and is the number of the waypoints (not including start point and endpoint). In general, . The minimum value of is determined by (38).

From Table 1, it is easy to know that the best mean fitness value and standard deviation are obtained when in case I. The smallest value of the best cost is obtained when , and the best FR is obtained when , , , and . When and , the indicator is superior to when , , and . The convergence speed is faster than that of the larger number of path points. Overall, in case I, is the most appropriate value. The FR and the mean fitness value are superior to the other . In case II, as the number of the threat resources increases, the standard deviation and the mean fitness value get worse than those of case I. The best mean fitness cost is obtained when , and the standard deviation is obtained when . The best FR is obtained when and .

In case III, the best results are obtained when . The preference of , , and is better than that of , , and . When the number of the waypoints gets larger, the search of the path becomes more difficult and the FR will get low. On the other hand, when the number of the waypoint is too small, the dangerous zone has no way to be avoided efficiently. It is more obvious for the environment where a large number of threat sources exist. If the number of the waypoint is too small or too large, the standard deviation and the FR will get worse. Meanwhile, due to the number of threat sources increases, the security area will get narrow. The planned paths with different numbers of path points will be clustered in a narrow region. The greater the number of waypoints is, the slower convergence speed is, and more complicate the problem becomes. Figure 7 shows the experimental results in case II.

6.2. The Performance Comparison of Different Algorithms

In this section, to evaluate the performance of DCAPSO, some population-based optimization algorithms, such as DE [38], PSO [17], QPSO [39], AIWPSO [40], and PSOPC [41], are utilized to make several comparisons based on different indicators. Three cases are designed to test the performance of six algorithms.

In case IV and case V, the population size and maximum number of iterations for six algorithms are the same, which are equal to 100 and 200, respectively. The number of the waypoints is set to 7 and 10 for cases IV and V, respectively. The specified parameters for the different algorithms are shown in Table 2. The simulation results for six different algorithms are given in Figure 9, Figure 10, and Table 3.

Figure 9(a) shows the convergence curves of the average fitness value during the process of 200 generations in case IV, which is a crucial indicator of algorithm performance. As can be seen from Figure 9(a), because the convergence curve of the DCAPSO algorithm is always above that of the other five algorithms, it is concluded that the convergence speed of the DCAPSO algorithm is faster than the DE, PSO, QPSO, AIWPSO, and PSOPC. The indicator in Table 3 also reflects that the convergence speed of DCAPSO is superior to other algorithms. Moreover, the global search ability of the DCAPSO algorithm is better than the other five algorithms. From Table 3, it is easy to see that the DCAPSO algorithm has the minimum standard deviation, which indicates that the DCAPSO algorithm has stronger robustness. The FR, the average cost value, and standard deviation of DE and QPSO are better than PSO, AIWPSO, and PSOPC.

The typical 3D stereo displays and contour profiles corresponding to six route planners are shown in Figures 9(b) and 9(c) in case V. It can be seen that the flight route generated by DCAPSO is shorter and smoother than those based on the DE, PSO, QPSO, AIWPSO, and PSOPC. Among these, the routes by the AIWPSO, PSO, PSOPC, and AIWPSO can avoid threat safely in case V. Due to the routes by DE and QPSO go through the threat, the two algorithms fail to search for a safe path. Threat-avoidance route can increase the effectiveness of performing mission for UAV and enhance the success rate of the mission.

The experimental results of case V are shown in Figure 10. The average convergence curves express that DCAPSO still is superior to DE, PSO, QPSO, AIWPSO, and PSOPC algorithms in Figure 10(a). From the statistical data in Table 3, it is not hard to find that the average fitness cost value, the standard deviation, , and the successful rate FR of DCAPSO are better than those of the other five algorithms. So DCAPSO can obtain more excellent performance of the search ability, robustness, and convergence speed in two cases. In case V, the performance of DE and QPSO is worse than case IV. The mean fitness cost of DE and QPSO is larger than AIWPSO and PSOPC algorithms. Figures 10(b) and 10(c) show the 3D stereo displays and contour profiles in case V, and only DE and DCAPSO can find the safe route to avoid the detection from the radars.

Intelligent method is sensitive to the number of waypoint for the UAV route planning application. As the number of the waypoints increases, a feasible flight route obtained by the algorithm will become more and more difficult in high-dimensional search space. The large realistic terrain environment is utilized to test the performance of DCAPSO when solving the high-dimensional planning problem.

In order to further demonstrate the optimization performance of the proposed DCAPSO algorithm, SLPSO [33], CCPSO2 [34], DMSPSO [35], and CSO [36] are selected to solve the constructed multi-objective optimization model of route planning. The parameters of these algorithms are set in Table 4.

The comparison results are shown in Table 5. It is noted that the performance of CSO, CCPSO2, DMSPSO, and SLPSO in case III cannot find the feasible route in 30 runs. As can be seen from Table 5, the minimum cost, mean cost, and FR of DCAPSO is best among the five algorithms. But the standard deviation is not the minimum one in five algorithms. Because there were three turns in all 30 turns experiments cannot find a feasible solution for the DCAPSO algorithm, the standard deviation is increased by the penalty constant.

The path planners based on CSO, CCPSO2, DMSPSO, and SLPSO failed to generate a flight route in case III. The convergence curves are shown in Figure 11.

By comparing the convergence curves shown in Figure 11, it is easy to see that as the increase of waypoint number, the initial fitness cost of the DCAPSO algorithm is far better than four improved PSO algorithm. The DCAPSO still can obtain a more satisfactory performance than the other four PSO-based algorithms and eventually find a flight optimal path with less cost when the number of path points is large. In general, the DCAPSO algorithm can effectively improve the performance of route planning in a 3D complex environment. The proposed DCAPSO algorithm takes on the ability to escape the local minimum value and improve the global search ability of algorithm.

7. Conclusion

In this paper, considering the minimum route length, the minimum flight height, the minimum risk of being detected, the dynamic constraints of fix-wing UAV (e.g., the turning angle and slope angle), and the terrain constraint, a multiobjective optimization model of path planning problem for fix-wing UAV is constructed. A novel improved PSO called DCAPSO is proposed to solve the UAV route planning problem. DCAPSO is presented by introducing the improved algorithm and DC strategy. The improved algorithm can quickly find a high-quality solution from the particles of PSO, which speeds up the optimization of the algorithm. Meantime, the DC strategy enhances the search efficiency by optimizing the structure of particles when the number of path points increases. The experiment results in three typical cases show that DCAPSO is better than other methods in terms of convergence speed, robustness, and premature avoidance. The proposed method can effectively provide a valuable reference for route planning in complex 3D terrain. In future work, the cooperative route planning of multiple UAVs will be researched and extended. In future work, more parallel large-scale PSO algorithms and complex terrain environments should be adopted to enhance the performance of the path planner.

Data Availability

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

Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

Acknowledgments

This work was funded by the China Postdoctoral Science Foundation, grant number 2020M680991 and Doctor Research Startup Foundation of SAU, grant number 18YB36.