1. Introduction
In today’s logistics system, the “last mile” has become a distribution problem. As the volume of parcels continues to increase globally, so do the expectations of consumers, who want their packages delivered faster and at a lower cost. To meet this demand, logistics companies need to optimize their distribution routes and ensure that each link is executed accurately and efficiently [
1]. On the one hand, during the recent coronavirus epidemic, in order to reduce the risk of virus transmission, some catering companies tried to use drones for food delivery, and this non-contact delivery mode was welcomed and recognized by the majority of consumers [
2]. In addition, in the aftermath of earthquakes, floods, typhoons, and other disasters [
3], the logistics system needs to have the ability to make a rapid response to ensure that emergency supplies are accurately delivered to the affected area in the shortest possible time. In this case, it is especially critical to efficiently plan a distribution path that is both safe and shortest. On the other hand, traditional logistics and distribution are still based on truck transportation, which is not only slow but also requires high labor costs. Meanwhile, with the improvement in social and economic level, the number of vehicles has increased dramatically, and modern cities are facing problems such as traffic congestion, air pollution, and noise [
4]. Drones are an important tool for complex transportation problems due to their small size and flexibility [
5]. Many logistics majors such as Google, DHL, and Amazon have long launched pilot programs in order to exploit the potential of drones in logistics applications [
6].
Drones not only need to avoid obstacles such as urban buildings and mountainous terrain during flight, but must also consider factors such as airborne exclusion zones, maximum turning angles, and air resistance [
7]. The need to improve the efficiency of drones due to their lower load capacity compared to ground vehicles [
8]. The core of drone path planning is to provide a flight path that is as short and safe as possible, while at the same time needing to reduce the cost of flight, such as battery energy consumption and airframe wear and tear [
9]. In general, path planning problems for UAVs can be categorized into three types: start-goal problems, target-coverage problems, and hybrid problems. The start-goal problem is concerned with planning a shortest path between a starting point and an end point; the goal-coverage problem aims to find an optimal path that completely covers a specified area; and the hybrid problem is a combination of both [
10]. This paper explores the planning of a shortest flight path for drones that satisfies multiple constraints under the condition that the starting point and the target point are known. The path needs to meet the constraints of maximum yaw angle, maximum pitch angle, and maximum flight speed based on obstacle avoidance to achieve the feasibility and safety of the path.
For the UAV path-planning problem, researchers have proposed a variety of algorithms. The classic algorithms include the Artificial Potential Field (APF) method [
11], Dijkstra’s algorithm [
12], A* algorithm [
13], and Random-Number Rapid Search (RRT) algorithm [
14]. However, the quality of paths planned by these methods tends to be poor when faced with complex environments. Therefore, some scholars have optimized these algorithms. Hao et al. [
15] proposed an improved Artificial Potential Field method, which effectively improves the feasibility and smoothness of the path by introducing risk assessment and virtual subgoal mechanism. Chen et al. [
16] used Mixed-Integer Linear Programming (MILP) to improve the A* algorithm, expanding the search range and improving the search success rate of UAVs. Yang et al. [
17] combined the environmental potential field and RRT to optimize the sampling and expansion strategy, which guided the tree to expand in the direction away from obstacles and close to the target, improving the efficiency of UAV path planning. He et al. [
18] proposed a two-layer optimization of A* and DWA, which optimizes the node-expansion model and the DWA evaluation function, extracts the critical path nodes, and achieves the effective tracking of local paths to global paths. Additionally, meta-heuristic algorithms are getting more and more attention from scholars. Traditional representative algorithms include Genetic Algorithm (GA) [
19], Particle Swarm Optimization (PSO) [
20], Ant Colony Optimization (ACO) [
21], Artificial Bee Colony (ABC) [
22], etc. New intelligent optimization algorithms emerging in recent years include the Grey Wolf Optimizer Algorithm (GWO) [
23], Whale Optimization Algorithm (WOA) [
24], Sparrow Search Algorithm (SSA) [
25], etc. Although these algorithms have been widely used in UAV path-planning problems, they still suffer from insufficient robustness and tend to fall into local optimization in complex environments.
The African Vulture Optimization Algorithm (AVOA) was proposed in 2021 and is an intelligent optimization algorithm inspired by the foraging and social behavior of African vultures. The algorithm has a relatively simple structure, strong adaptability and search ability, and can show good results in solving a variety of complex optimization problems [
26,
27]. Abed et al. [
28] applied AVOA to robot path planning in static and dynamic environments, and the simulation results showed that AVOA outperforms Adaptive Particle Swarm Optimization (APSO) and Hybrid Fuzzy Wind-Driven Optimization (WDO) algorithms in both environments. Alsirhani et al. [
29] utilized AVOA for feature selection in a dataset in a network security intrusion-detection problem, demonstrating the potential of this algorithm for application in smart-grid network security. In the literature [
30], Gürses et al. performed cost minimization and created a parametric design of a shell-and-tube heat exchanger (SHTHE) using AVOA and found the optimal solution with all constraints. Kumar et al. [
31] proposed an energy-efficient clustering scheme (AVOACS) based on AVOA, which achieves a dynamic balance of node energy consumption by simulating the foraging behavior of vultures, thus enhancing the stability and lifetime of the network. Although AVOA has been used in several fields, the algorithm still has some shortcomings. First, in the early exploration stage, although AVOA added certain exploitation mechanisms to accelerate the convergence speed, this approach weakened the algorithm’s global search ability, which easily led it to fall into a local optimum at a later stage. Secondly, the choice of exploration and exploitation is dependent on the level of starvation and lacks a clear regulatory mechanism, which affects the balance between exploration and exploitation [
32].
To solve the above problems, this paper proposes a Sparrow-Enhanced African Vulture Optimization Algorithm (SAVOA) and applies it to UAV path planning in both mountainous and urban environments. First, in the initialization stage of the population, the Sobol sequence is used instead of the traditional random approach to ensure the initial population is more evenly distributed in space, thus effectively improving the quality and diversity of the initial individuals. Second, the discoverer mechanism of SSA is substituted for the exploration phase of AVOA, thus realizing the balance between exploration and exploitation, while the vigilante mechanism is introduced to enhance the ability to jump out of the local optimum. Finally, in the first exploitation stage of the algorithm, multi-guided difference and dynamic rotation transformation strategies are introduced to increase the perturbation of random individuals based on the optimal and suboptimal individuals. Cosine and sinusoidal offsets are utilized to generate jump paths with spiral perturbations to enhance the diversity of local development. In the second exploitation phase, a dynamic balance between elite guidance and population diversity is achieved by combining adaptive weighting coefficients with enhanced Lévy flight, thereby ensuring both individual stability and effective information transfer within the population. SAVOA is applied to the three-dimensional path-planning problem of UAVs, simulation experiments are conducted in two simulated environments, a mountainous area and urban area, and compared with various algorithms including the standard AVOA, and the results show that SAVOA exhibits better optimization performance.
The rest of the paper is structured as follows:
Section 2 presents the problem description of UAV path planning, including curve fitting, environment modeling, fitness function, and constraints;
Section 3 describes the original AVOA;
Section 4 illustrates the improvements to the AVOA;
Section 5 shows the results of the experiments in different environments and a specific analysis of these results; and
Section 6 briefly describes the improvements in future research directions.
2. Research on UAV Path-Planning Problem
2.1. Problem Assumptions and Description
Within a certain region, it is assumed that the logistics demand point is known, and a rechargeable drone needs to be used to accomplish the parcel delivery task from the distribution point. Due to the performance limitations of drones and the fact that their flight paths are fixed after takeoff and do not accept midway assignments, path planning must be completed prior to flight to ensure a safe and efficient delivery process.
2.2. Polynomial Interpolation Fitting Curves
During the planning process, a relatively smooth flight trajectory can be generated by adding control points including the start point and the end point , with the intermediate point , and the total number of control points is .
Assign the parameters by equally spacing the control points on
:
Obtain the corresponding control points:
Then
interpolating polynomials are constructed independently for each coordinate component:
where the coefficients
can be determined by solving the Vandermonde system of equations:
The coefficients of the
and
components can be derived identically. Then,
points are sampled uniformly in the range
:
points to generate continuous paths:
The set of path nodes
for the final curve is:
In this paper, the number of intermediate points
, control points
, and the number of polynomials is 4. Retaining the display of 5 control points, a smooth curve using polynomial interpolation can be obtained, as shown in
Figure 1.
2.3. Environmental Modeling
2.3.1. Mountain Environment Model
Mountainous environments have a lot of undulating terrain and are more complex, which puts higher demands on the UAV’s path planning. This paper uses the method of Gaussian peak function superposition to construct three-dimensional mountain terrain simulation maps [
33]; the mathematical model is:
where
is the total number of peaks;
are the center coordinates of peaks in the
plane;
indicate the height of the peak;
are terrain parameters, used to control the height of the peaks;
and
denote the attenuation coefficients in the
x-axis and
y-axis directions, respectively, which are used to adjust the range of the peaks in different directions.
2.3.2. Urban Environment Model
In urban terrain, the shape of buildings is usually highly irregular. To simplify the modeling process and highlight the obstacle avoidance feature in path planning, this paper adopts a rectangular body to abstractly simulate buildings in the city:
In the expression, corresponds to the area range of the rectangular building; and represent the coordinates of the lower left corner and of the building, respectively; , , and denote the extension (length, width, and height) of the building’s lower-left coordinates in the , , and directions, respectively; is the number of buildings and is the set of all buildings.
2.3.3. Exclusion Zone Model
In actual flights, drones are often subject to restrictions from special areas such as the military and government. Here, these restrictions are set as spherical no-fly zones. The sphere can be expressed by the following equation:
In the above two formulas, is the range of the region of the sphere, are the center coordinates (sphere centers) of the sphere, and represents the radius of the sphere; denotes the total number of spheres, and denotes the set formed by all the spheres.
2.3.4. Wind-Field Model
Wind speed and direction can have an impact on UAV energy consumption, flight stability, and path accuracy. Therefore, the effects of wind need to be taken into account when performing UAV path planning, which may change speed, altitude, or direction of the UAV [
34]. This paper adds a wind-field model to the three-dimensional map, and the wind vector
is [
35,
36]:
The relative airspeed and ground speed of the drone were [
37]:
where
denote the components of the wind field in the
directions;
and
are the wind speed at the center of the updraft
and the initial speed of the UAV, respectively;
is the radius of influence of the airflow center;
is the angle between the point
and the line connecting the center of the airflow
relative to the north direction;
and
are the relative airspeed and ground-speed vectors of the UAV, respectively;
and
are the yaw and pitch angles.
Figure 2 shows the mountain model and the city model with wind field, respectively. The number of peaks or buildings in this paper is chosen to be 20 and 25 (i.e., the number of peaks is taken to be 20 and 25, and the number of buildings in the city is taken to be 20 and 25, for a total of four terrains), and this number is determined in the initialization phase. The heights of the peaks or buildings are randomly generated, and the terrain parameters are recorded after generation to repeat the experiment. Only mountainous and urban terrain with a peak or building count of 25 is shown in
Figure 2.
2.4. Fitness Function
In UAV path planning, the fitness function is used to comprehensively measure the degree of merit of a flight path. In this paper, the UAV’s flight distance, flight-altitude standard deviation, flight time, and stability (including yaw angle and pitch angle) are used as comprehensive evaluation indexes to construct the fitness function, and the lower the fitness indicates the higher quality of the flight path.
2.4.1. Flight-Distance Cost
The battery consumption of the drone is closely related to the flight distance; the shorter the path, the less power is used, and the more effectively the drone can complete logistics and distribution tasks per unit of power, which to a certain extent can reduce operating costs. In this paper, the flight path of the drone consists of
nodes. By calculating the Euclidean distance between two adjacent nodes and accumulating them, the flight-distance cost function
is obtained:
In this function, represents the total number of path nodes including the start and end points; and represent the coordinates of the and node, respectively.
2.4.2. High Standard Deviation Cost
Altitude fluctuations of UAVs can have an impact on flight stability and energy consumption, and if there are large altitude ups and downs in the path, it will not only increase the regulation burden of the flight-control system but also may cause energy waste and reduce flight efficiency. This paper introduces the altitude standard deviation as an evaluation index; the smaller the altitude standard deviation is, the smoother the altitude change during flight is represented, and its model
is:
In the equation, is the number of height values (total number of path nodes); is the height value of the node; is the average height of all the nodes; and is the standard deviation of the final obtained path height.
2.4.3. Flight-Time Cost
Flight time is an important metric in drone logistics and distribution missions. The variation in wind speed and direction affects the actual flight speed of the UAV, and the flight speed vector has been given in Equation (16), which is
. The time cost function
is:
where
denotes the total number of path nodes;
are the components of
in the
directions, respectively;
is the modulus of the
node’s ground speed in Equation (16), which is the magnitude of the UAV’s speed under the influence of wind;
is the average flight speed over the full path;
is the time required to fly the path.
2.4.4. Stability Cost
The stability of the UAV’s flight path is very important, as large fluctuations during flight can easily cause an unstable attitude and increase the wear and tear of the equipment, thus shortening the life of the UAV. The smoothness of a path largely reflects its stability, which can be measured by yaw and pitch angles; the smaller the angle, the more stable the path.
Figure 3 shows the flight path from the path node
to the path node
in a 3D coordinate system, and
are the projection points of
in the
plane, respectively. The angle
formed by the intersection of the extended line of line segment
and line segment
is the yaw angle, which is calculated as follows:
The path point
is the projection of onto the plane where the line segment
is located. The angle
formed by line segment
and line segment
is the pitch angle, which is calculated as follows:
The smoothness of the paths in this paper is measured by computing the second-order difference in the angular change (the acceleration of the angular change):
is the total number of path nodes,
and
and are the smoothing of yaw and pitch angles, respectively. The total smoothness is:
To summarize, the expression for the fitness function
for each path is:
is the weight coefficient and satisfies
; in this paper, we take
.
2.5. Restrictive Condition
UAVs are subject to multiple constraints in actual flight, and two types of constraints are considered in this paper when performing path planning. On the one hand, there is the impact of environmental factors on flight trajectories, including mountainous terrain, urban buildings and flight exclusion zones, which UAVs need to avoid when flying. On the other hand, the limitations of the UAV’s own performance must be considered, including maximum flight speed, maximum yaw angle, and pitch angle.
2.5.1. Constraints of Environmental Factors
To avoid collisions when flying a UAV in a complex environment, the flight altitude should be higher than the height of the obstacles, which is modeled as:
where
denotes the flight height of the UAV at position
,
is the height of the obstacle at the corresponding position, and
is the set minimum safety gap for ensuring a certain safety distance.
2.5.2. Self-Performance Constraints
The UAV itself has certain limitations in its structural and dynamic performance, and the maximum velocity
, maximum yaw angle
, and maximum pitch angle
that it can withstand also need to be taken into account and need to satisfy the following inequalities:
are the velocity, yaw angle, and pitch-angle magnitude of the
path node, respectively. The fitness function
is penalized when a collision of the path with an obstacle is detected or when the flight parameters exceed the UAV limits:
3. Standard African Vulture Optimization Algorithm
The AVOA balances the algorithm’s global search performance and local exploitation performance through the feeding behavior of vultures at different levels of hunger, which can be divided into four steps.
Step one: Divide each generation of vultures into three groups. After the population initialization is complete, enter the iterative loop. In the loop, the fitness of all individuals in each generation is evaluated. The individual with the best fitness value is divided into the first group, the individual with the second-best fitness value is divided into the second group, and the remaining individuals become the third group. The individuals in the third group will move toward the positions of these two groups of vultures according to Formula (28) in order to complete the positional updating.
In Equation (28), the probability of an individual moving closer to the optimal vulture in each group is regulated by two control parameters, and , both of which take values in the range and satisfy . and were determined by a roulette-wheel mechanism, and in Equation (29), represents the fitness of the first and second groups of vultures; denotes the total number of vultures in these two groups.
Step two: Starvation rate of vultures. When vultures have sufficient energy, they can fly longer distances in search of food and enter a global exploration phase; when they are low on energy, they reduce their range and rely on stronger individuals in the vicinity, thus entering an exploitation phase. This behavior can be mathematically modeled using the following equation:
where
is a tuning parameter used to prevent falling into a local optimal solution; the range of the random variable
is −2 to 2; the parameter
is an initially set fixed constant used to regulate the switching of the algorithm between the exploration and development phases;
and
are the current and maximum number of iterations;
represents the vulture’s starvation rate;
is a random number between 0 and 1; and
is a random number between −1 and 1 that is dynamically updated with the number of iterations. When
, vultures tend to look for food in a wider search space, at which point the AVOA enters the exploration phase; when
, the vultures are unable to fly long distances due to physical limitations, at which time they prefer to search locally in the vicinity and the algorithm enters the exploitation phase.
Step three: Exploration phase. Vultures usually need to spend long periods of time scrutinizing a wide area and flying long distances in search of food. In AVOA, this behavior can be simulated by two exploration strategies that enable a global search of different areas. The choice of strategy can be adjusted by a control parameter
, which is fixed and ranges from 0 to 1. In this paper, it is set to 0.6. The equations are as follows:
where
represents the vulture position in the next iteration; Equations (33) and (34) describe the first exploration strategy, where
is used to enhance the randomness of an individual’s movement and changes dynamically in each iteration in the range
, which can be obtained by the equation
; both
and
are random numbers between 0 and 1. Equation (35) shows the location-update formula for the second exploration strategy,
and
represent the upper and lower boundaries of the map, respectively;
and
are both random numbers between 0 and 1.
Step four: Exploitation phase. The exploitation phase of AVOA also consists of two sub-phases, each corresponding to a different search strategy. The AVOA enters the first exploitation phase when
is satisfied. In this stage, the behavior of vultures is modeled by two strategies: food competition and rotational flight, and the choice of strategy is controlled by the initial parameter
, which ranges from
and is set to 0.4 in this paper;
is a random number between
; the position-update equations are:
When
is satisfied, the AVOA enters the second exploitation phase, which simulates the behavior of vultures gathering around food or fighting fiercely for it. The initial phase of the algorithm generates the decision parameter
, and when
, the algorithm goes to the vulture rallying food-source strategy; otherwise, it uses the intense siege-fighting strategy, where
.
is a random number between
;
; control parameter
;
denotes Lévy flight.
5. Results
5.1. Experimental Environment
In order to verify the performance of SAVOA in UAV path planning, this paper carries out comparative simulation experiments of six algorithms, namely SAVOA, AVOA, SSA, ABC, WOA, and GA, in mountainous environments and urban environments, respectively, with two scenarios for each environment. Also, to avoid the serendipity of the algorithm and to verify the stability of the algorithm, 12 repetitions of the experiment are performed in each scenario. All experiments were performed in MatlabR2024a with Windows 10, an Intel(R) Core (TM) i5-10300H processor, and an NVIDIA GeForce GTX 1650 Ti (4 GB) graphics card. The parameters in this paper are specified as follows:
Table 1 records the map parameters, the UAV’s own performance parameters, and the wind-field parameters.
The mountain model and the city model have two scenarios each, with 20 and 25 mountains or buildings, respectively. The specific terrain parameters are shown in
Table 2.
The number of exclusion zones is 10 for all four scenarios; see
Table 3 for specific parameters.
5.2. Comparison of Different Algorithms for Path Planning
This paper uniformly set the population size
to 40 for the six algorithms; the maximum number of iterations
is set to 200; the number of intermediate points m is 3; the safe distance
is 2; the weight coefficients of the fitness function are
for
, respectively.
Table 4 lists the parameter settings for each algorithm.
Based on the parameters of
Table 4, these six algorithms are simulated for UAV path planning in mountainous environments and urban environments.
In GA, the selection probability refers to the selection pressure applied during the parental selection stage, which affects the likelihood of individuals with higher fitness being selected for reproduction. In this study, we used a roulette-wheel selection method, which selects individuals probabilistically based on their relative fitness values. The higher the fitness, the greater the probability of being selected. In addition, the crossover operation uses a one-point crossover method, which selects a single crossover point on the chromosomes of the parent individuals and then generates offspring by exchanging the sub-sequences after that point.
5.2.1. Path Planning in Mountainous Environments
Figure 6 and
Figure 7 show representative results from 1 of 12 experiments comparing the UAV flight-path performance of the six algorithms in mountainous environments, while
Figure 8 gives graphs of the fitness of the six algorithms in two different mountainous environments as a function of the number of iterations.
5.2.2. Path Planning in the Urban Environment
Figure 9 and
Figure 10 show the results of 1 representative experiment selected from 12 experiments comparing the performance of the six algorithms for UAV flight paths in urban environments.
Figure 11 gives the graphs of the fitness of the six algorithms in two different urban environments with the number of iterations.
All the above images are representative results from 1 of the 12 experiments. The results show that the SAVOA outperforms AVOA, SSA, WOA, GA, and ABC algorithms in both mountainous and urban environments and is able to plan paths that are close to the shortest distance between the start and end points. Meanwhile, according to the iteration graph, the optimal fitness of SAVOA is also at the lowest level and has the best convergence performance. Since the fitness values in this paper are based on weighted results, there is no fixed theoretical optimum, but the shortest path is fixed and can have a reference value: .
5.3. Results of Multiple Repeat Experiments
5.3.1. Validation of the Validity of Algorithms
In order to verify the performance of SAVOA more comprehensively, four performance metrics are introduced in this paper: the best fitness value, the average fitness value, the flight time of the UAV, and smoothness. These four indicators are the average results of 12 replicated experiments, and according to
Figure 12 and
Figure 13 it can be seen that SAVOA exhibits the lowest values in all indicators.
From
Table 5, it can be seen that SAVOA has the best average fitness regardless of the environment, and it has the second lowest standard deviation after GA (which has a smaller standard deviation due to the fact that GA often falls into a local optimum very quickly).
5.3.2. Stability Verification of Algorithms
Figure 14 and
Figure 15 show the changes in the optimal fitness of the six algorithms in four environments over 12 repetitions, and it is easy to see that the optimal fitness of SAVOA is not only the lowest, but also has the smallest fluctuation in change.
5.4. Comparative Experimental Analysis of Path Planning
5.4.1. Experimental Analysis in Mountainous Environments
Figure 6 and
Figure 7 are schematic illustrations of the results from 1 of the 12 replicate trials in the two mountain scenarios. In the mountainous region 1 scenario, the paths planned by SSA and WOA make substantial turns during flight, which not only greatly increases the flight distance, but also poses a serious threat to the flight safety of the UAV; the GA path flies at a higher altitude, avoiding obstacles but at the same time increasing energy consumption; although the paths generated by AVOA and ABC are relatively smooth, the flight paths are still not optimal; SAVOA is able to find a path that is both smooth and relatively short. For the variation in fitness, according to
Figure 8a, SSA starts to converge at generation 32, but it has the highest fitness value of 603.063; WOA falls into local optimality at generation 69 with an fitness value of 585.779; the GA underwent three convergences, at generations 2, 26, and 168, with a final fitness value of 534.291; ABC falls into a local optimum at generation 33 with a fitness of 486.8; AVOA converges multiple times and is the least adapted algorithm besides SAVOA at 481.708; SAVOA gradually converged at the 31st generation, with slight changes afterwards, and the final fitness was 464.328, with the best convergence performance and optimization ability.
In the mountainous region 2 scenario, the SSA, WOA, and GA turn angles are extremely large, which can lead to very unstable UAV flight; the AVOA has a medium turn angle, but flies a long distance; in contrast, SAVOA plans flight paths that are close to the shortest distance with the lowest fitness. From
Figure 8b, it can be seen that SSA has the highest fitness of 775.521; this is followed by GA, which falls into the first local optimum at generation 6 and the second local optimum at generation 73, with a fitness of 568.374; WOA reached convergence at the 17th generation, but its fitness was relatively high, at 524.655; AVOA nears convergence at generation 67, with slight changes afterward and a final fitness of 506.123. ABC’s fitness decreases sharply at generation 9 and then falls to a local optimum at generation 48 with a fitness of 488.051; SAVOA finds the near-optimal path in generation 34, followed by fine-tuning, and the final fitness is 460.661, which is significantly better than the other five algorithms.
5.4.2. Experimental Analysis in Urban Environments
Figure 9 and
Figure 10 illustrate sample results from two urban scenarios, while
Figure 11 presents the fitness evolution curve under the urban environment. In the city 1 scenario, the paths generated by SSA, ABC, and WOA all show large turns and are not suitable for UAV flight; GA path smoothness is not high, but the higher flight path reduces economy; although AVOA outperforms the first four algorithms in overall performance, it still fails to find the optimal path. In terms of fitness change, SSA has a rapid decrease in fitness in the 25th generation, reaching the first convergence state, followed by a second convergence in the 149th generation, with a final fitness of 588.687; GA falls into local optimality three times, in generations 2, 153, and 190, with a fitness of 545.625; ABC fell into local optimality several times, the last time in generation 124, with a fitness of 516.886; WOA converged several times, the last time in generation 158, with a final fitness of 501.689; although AVOA converged relatively early at the 39th generation, its fitness did not reach the optimum, ending at 482.18. SAVOA reaches convergence at generation 43 and is gradually fine-tuned later, with a final fitness of 461.04.
In the city 2 scenario, the paths generated by AVOA, SSA, ABC, and WOA all have sharp turns with high fluctuation ups and downs; although the GA path is relatively smooth, its higher flight altitude causes the drone to take a longer detour. According to the fitness variation graph, WOA has the highest fitness value, converging at the 56th generation with a final value of 609.014. SSA’s fitness decreases sharply in the 27th generation and then converges in the 85th generation, but its fitness is as high as 543.75; AVOA converged at generation 46, but experienced significant fluctuations starting at generation 94 and continued to vary thereafter, with a fitness value of 501.002. SAVOA began converging at generation 64; although slight variations occurred afterward, they were minimal, resulting in a final fitness value of 457.691.
5.5. Effectiveness Analysis of SAVOA Path Planning
5.5.1. Effectiveness Analysis of Mountainous Terrain
Figure 12 shows the average of the four-performance metrics for GA, WOA, ABC, SSA, AVOA, and SAVOA in the mountainous environments. In mountainous 1 scenario, for optimal fitness, SAVOA is 15.48%, 9.86%, 4.73%, 17.19%, and 4.68% less than GA, WOA, ABC, SSA, and AVOA, respectively; on average fitness was reduced by 15.30%, 11.35%, 5.40%, 17.68%, and 6.16%, respectively; for flight time, SAVOA decreased by 23.89%, 22.36%, 19.70%, 31.55%, and 19.56%, respectively; in terms of smoothness, SAVOA is 86.98%, 92.39%, 72.71%, 94.23%, and 68.01% lower than the other five algorithms.
In the mountainous 2 scenario, the optimal fitness of SAVOA was reduced by 16.87%, 19.67%, 5.79%, 20.88%, and 6.39% compared to GA, WOA, ABC, SSA, and AVOA; the average fitness was reduced by 16.67%, 20.33%, 6.66%, 21.74%, and 8.36%; in terms of flight time, SAVOA was reduced by 32.41%, 39.27%, 19.15%, 38.33%, and 23.20%, respectively, while smoothness was reduced by 92.42%, 96.34%, 90.72%, 97.76%, and 89.07%.
5.5.2. Effectiveness Analysis of Urban Terrain
Figure 13 shows the average values of the four-performance metrics for GA, WOA, ABC, SSA, AVOA, and SAVOA in the urban environments. In the city 1 scenario, SAVOA’s four performance metrics remained at their lowest values, where the optimal fitness decreased by 13.04%, 10.19%, 6.94%, 20.11%, and 6.34% over GA, WOA, ABC, SSA, and AVOA, respectively; for average fitness, SAVOA was reduced by 12.60%, 10.46%, 7.34%, 20.77%, and 8.31%, respectively; above the flight time, the reduction was 25.92%, 27.01%, 22.93%, 34.39%, and 24.21%, respectively; and the smoothness was 93.73%, 94.75%, 91.24%, 98.84%, and 94.34%.
For the city 2 scenario, the optimal fitness of SAVOA decreased by 16.97%, 17.22%, 8.17%, 18.40%, and 9.57%; the average fitness decreased by 15.95%, 17.48%, 8.30%, 19.55%, and 11.86%; the flight time decreased by 33.73%, 34.12%, 32.47%, 37.10%, and 26.73%; in terms of smoothness, SAVOA was reduced by 93.33%, 99.00%, 97.07%, 99.04%, and 98.19%, respectively.
According to the above analysis, SAVOA outperforms the other five algorithms in all four metrics. In the four scenarios, its average fitness is only 1.37%, 1.64%, 1.28%, and 2.10%, higher than the optimal fitness, respectively, which is a small difference, which shows that SAVOA converges faster while achieving the lowest fitness. In addition, it having the least flight time and the best smoothing also indicates the efficiency and safety of the algorithm for UAV path planning.
5.6. Stability Analysis of SAVOA Path Planning
According to
Figure 14 and
Figure 15, in 12 repeated experiments, the highest values of the optimal fitness of SAVOA, AVOA, SSA, ABC, WOA, and GA in the mountainous region 1 scenario were 463.799, 496.220, 739.612, 501.345, 592.912, and 633.083, respectively; the minimum values of optimal fitness were 460.729, 474.182, 486.660, 473.403, 473.589, and 479.604; the standard deviations of optimal fitness were 0.852, 5.871, 73.349, 7.249, 39.825, and 49.885.
In the mountainous region 2 scenario, the highest values of optimal fitness for the six algorithms are 462.106, 511.813, 775.521, 503.359, 751.339, and 587.792, respectively; the minimum values of optimal fitness were 459.800, 474.635, 512.939, 474.443, 473.261, and 523.344; the standard deviations were 0.674, 13.792, 82.232, 10.203, 86.826, and 20.586.
The highest values of optimal fitness for SAVOA, AVOA, SSA, ABC, WOA, and GA were 461.579, 560.919, 654.730, 531.821, 549.571, and 580.526, respectively, for the city 1 scenario; the lowest values were 460.392, 472.498, 506.979, 471.515, 475.985, and 491.416; the standard deviations were 0.385, 25.300, 39.284, 18.873, 19.500, and 27.187.
The highest values of optimal fitness in the city 2 scenario were 458.763, 589.909, 737.192, 542.138, 675.592, and 620.824, respectively; the lowest values were 457.216, 478.428, 481.252, 475.628, 495.523, and 489.958; and the standard deviations were 0.509, 28.505, 68.256, 21.159, 50.948, and 36.761, respectively.
In summary, the optimal fitness of SAVOA in all four environments fluctuates slightly above and below 460, the standard deviation is not only the smallest but also is much better than other algorithms, and the fitness value is the most stable, which is an experimental result that fully demonstrates the excellent stability of SAVOA in the global path-planning task.