Next Article in Journal
Predicting Pavement Three-Dimensional Texture from Reflectance Intensity Images Using a Conditional Generative Adversarial Network
Previous Article in Journal
Low-Cost Sensor for THz Vision with Examples
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

UAV Three-Dimensional Path Planning Based on Improved Dung Beetle Optimizer Algorithm

1
School of Flight Technology, Civil Aviation Flight School of China, Guanghan 618307, China
2
Sichuan Provincial Engineering Research Center of Domestic Civil Aircraft Flight and Operation Support, Guanghan 618307, China
3
School of Aeronautical Engineering, Civil Aviation Flight School of China, Guanghan 618307, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2026, 16(11), 5243; https://doi.org/10.3390/app16115243
Submission received: 19 April 2026 / Revised: 22 May 2026 / Accepted: 22 May 2026 / Published: 23 May 2026
(This article belongs to the Section Computing and Artificial Intelligence)

Abstract

The rapid advancement of unmanned aerial vehicles (UAVs) has greatly increased the application of various swarm intelligence algorithms in UAV path planning. To address the potential issues with the dung beetle optimizer (DBO) in UAV trajectory planning, such as low convergence accuracy, tendency to get trapped in local optima, and imbalance between global search and local exploration, a hybrid algorithm termed DBO-PSO is proposed by integrating DBO with particle swarm optimization (PSO) to solve the UAV path planning model. The Kent chaotic map is introduced to enhance population diversity and distribution uniformity, and the velocity–position update mechanism of PSO is incorporated into DBO to strengthen its global search capability. Comparative experiments are conducted on CEC2022 benchmark functions, and multiple classical swarm intelligence algorithms are selected for comparison using six evaluation metrics, along with Wilcoxon rank-sum and Friedman statistical tests. An ablation study is also performed to evaluate the contribution of each improvement component. The path planning experimental results demonstrate that compared to DBO, PSO, IDBO, and ECFDBO under the population size of 50, DBO-PSO reduces the total path cost by 44.2%, 17.3%, 8.9%, and 45.1%, respectively. The ablation study verifies that both improvement components contribute positively, which demonstrates its competitive performance and practical applicability in UAV three-dimensional path planning. The source codes to support the presented results are publicly available on GitHub.

1. Introduction

In recent years, benefiting from the rapid advancement of the social economy and technology, unmanned aerial vehicles (UAVs) have been recognized as a potential solution in many aspects due to their outstanding advantages such as their flexibility, low cost, high efficiency and versatility. They have been widely used and have demonstrated extensive successful applications in various fields such as smart logistics [1], disaster search and rescue [2], agricultural irrigation [3] and others [4,5]. The reasonable arrangement of UAVs is considered essential for the efficient execution of smart logistics tasks, in which path planning technology is regarded as a critical component. Under various constraints including flight safety, energy consumption, and obstacle avoidance, a path planning problem is always rendered as a typical complex high-dimensional, constrained optimization problem.
Path planning algorithms have undergone significant development during the past few years. Currently, they can mainly be categorized into three major classes: traditional, metaheuristic and deep reinforcement learning (DRL-based). Traditional algorithms include typical representatives such as artificial potential field (APF) [6], linear programming [7], A* [8], D* [9], rapid random tree (RRT) [10,11], etc., which are mostly limited to high-dimensional, non-convex or constraint-sensitive problems; DRL-based algorithms are very innovative and show significant advantages for large-scale dynamic environments [12] or multi-UAV collaborative path planning [13], while due to low learning efficiency, expensive training cost and sample inefficiency, DRL-based approaches struggle to tackle the common universal optimization scenarios.
By mimicking the collective behaviors of living organisms or physical processes in nature, metaheuristic algorithms can search in the solution space and enhance the quality of solutions gradually. Due to the good performance and ease of implementation, metaheuristic algorithms have been favored by researchers and stand out in path planning areas. Metaheuristic algorithms can be further divided into five categories based on their sources of inspiration [14]: evolutionary algorithms such as genetic algorithms (GAs) [15,16] and differential evolution (DE) [17,18], physics-/chemistry-based algorithms [19,20], mathematics-based algorithms such as the sine cosine algorithm (SCA) [21] and arithmetic algorithm [22], human-based algorithms such as human-inspired optimization (HIO) [23], and swarm intelligence algorithms.
Swarm intelligence algorithms can achieve complex intelligent behaviors through the collaboration and interaction of a number of simple individuals, in which strong global search capabilities and adaptability are presented. These algorithms are widely applied in the field of path planning. Representatives used widely include particle swarm optimization (PSO) [24], Sparrow Search Algorithm (SSA) [25], Ant Colony Optimization (ACO) [26], Gray Wolf Optimizer (GWO) [27], whale optimization algorithm (WOA) [28], Starfish Optimization Algorithm (SFOA) [29] and others. Among them, the dung beetle optimizer (DBO), a novel swarm intelligence algorithm proposed by Xue and Shen in 2022, draws inspiration from the behaviors of dung beetles, including rolling, dancing, breeding, foraging, and stealing. The approach exhibits strong robustness and effectively balances global exploration with local exploitation [30].
DBO has been widely studied for UAV path planning with various variants to overcome a sluggish convergence rate and being prone to fall into local optima. The innovative improvements include different cross operators [31], a dynamic attractive–repulsive force field mutation mechanism [32], adaptive t-distribution position adjustment mechanism [33], subtraction-average strategy [34], adaptive t-distribution perturbation mechanism [35], adaptive Cauchy mutation strategy [36], coupled with a deep Q-network [37], a convolutional attention network [38], etc. It is worth emphasizing that a very innovative hybrid style improvement was proposed [39], in which a piecewise linear chaotic map was used to enhance global search, an adaptive nonlinear decreasing model was adopted to balance exploration and exploitation, and the spiral search strategy of the whale optimization algorithm was introduced to improve local precision. The effectiveness of this hybrid improvement is demonstrated by incorporating an effective search strategy into the dung beetle position update, which can significantly enhance the local search capability. This also serves as the inspiration for the current algorithmic innovation. Different from the WOA spiral search in IDBO, which focuses on local refinement around the current best, the PSO mechanism in DBO-PSO leverages individual and global memory to guide exploration across distant regions of the search space.
The proposed work describes an enhanced version of DBO called DBO-PSO by the incorporation of PSO. To validate the effectiveness of the improvement, comparisons are conducted with eight other algorithms, including two DBO variants termed as ECFDBO [32] and IDBO [39]. The relevance, novelty and general contribution of DBO-PSO are evident in three aspects, as illustrated below:
(1)
Two novel improvement aspects were presented. Kent chaotic mapping is suggested to increase population diversity; the PSO “velocity–position” update mechanism is incorporated to enhance the global search capability.
(2)
The accuracy degrees of the proposed DBO-PSO algorithm were assessed against CEC2022 test suite benchmark functions, where a comprehensive comparison was conducted with various well-known algorithms.
(3)
Successful 3D path planning solutions demonstrate that the presented DBO-PSO achieves significant improvements in convergence accuracy, computational stability and optimization efficiency, which verify its effectiveness and potential for engineering applications.

2. Improved Dung Beetle Optimization Algorithm Design

2.1. Dung Beetle Optimization Algorithm (DBO)

The dung beetle optimizer (DBO) was proposed by Jiankai Xue and Bo Shen of Donghua University in 2022. The algorithm emulates five natural behaviors of dung beetles, including rolling, breeding, foraging and stealing, to explore the problem space and search for optimal solutions.
The dung beetle optimizer features a unique population structure. Based on distinct dung beetle behaviors, individuals are assigned to four different roles with a ratio of 6:6:7:11 (as illustrated in Figure 1). Each role executes specific search strategies to obtain positional information beneficial to itself. The position of each individual represents a candidate solution to the problem. When the algorithm terminates, the coordinates of the best dung beetle serve as the optimal solution.
In DBO, four different kinds of beetles are mimicked, which are named ball-rolling dung beetle, breeding dung beetle, foraging dung beetle and stealing dung beetle. They behave in quite different manners, which update their positions in different expressions. The algorithm pseudocode is shown below and the flowchart is illustrated in Figure 2, where all the mathematic symbols can refer to the literature [30].
The complete pseudocode for the DBO algorithm is shown in Algorithm 1.
Algorithm 1: Dung Beetle Optimizer (DBO)
Input: pop, M, dim, lb, ub, fobj
Output: fMin, bestX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
       Begin
             Initialize X randomly
             Evaluate F = fobj(X)
             bestX ← argmin(F), fMin ← min(F)
             for t = 1 to M do
                    R ← 1 − t/M
                    for each rolling beetle i do
                           if rand < 0.9 then
                                   α ← sign(rand − 0.5)
                                   Δx ← |X_i − X_worst|
                                   X_i ← X_i + α·k·X_i_prev + b·Δx
                           else
                                   θ ← rand × π
                                   X_i ← X_i + tanθ·|X_i − X_i_prev|
                           end if
                    end for
                    Lb* ← max(bestX·(1 − R), lb)
                    Ub* ← min(bestX·(1 + R), ub)
                    for each breeding beetle i do
                           X_i ← bestX + b1·|X_i − Lb*| + b2·|X_i − Ub*|
                    end for
                    Lb^b ← max(bestX·(1 − R), lb)
                    Ub^b ← min(bestX·(1 + R), ub)
                    for each foraging beetle i do
                           X_i ← X_i + C1·(X_i − Lb^b) + C2·(X_i − Ub^b)
                    end for
                   for each stealing beetle i do
                           X_i ← bestX + S·g·(|X_i − bestX| + |X_i − X_best|)
                    end for
                    Clip X_i to [lb, ub]
                    Evaluate F_i = fobj(X_i)
                    Update bestX, fMin
             end for
             return bestX, fMin
       End

2.2. Particle Swarm Optimization Algorithm (PSO)

Particle swarm optimization (PSO) searches for optimal solutions through collaboration and information sharing among individual particles within a swarm. Each particle updates its position by tracking its own historical best position and the global best position found by the swarm.
The iterative update process for each particle’s velocity and position in the PSO algorithm is defined as follows:
v i t + 1 = ω v i t + c 1 r 1 P i t x i t + c 2 r 2 P g t x i t
x i t + 1 = x i t + v i t + 1
In Equations (1) and (2), the velocity and position of the i -th particle at the t -th iteration are denoted by v i t and x i t . ω stands for the inertia weight. c 1 , c 2 denote the learning factors. In the experiments, the inertia weight ω is set to 0.7, which provides a suitable balance between global exploration and local exploitation; the cognitive and social learning factors c 1 and c 2 are both set to 2.0, following the canonical PSO configuration. The values r 1 , r 2 are uniformly distributed random numbers taken from the interval (0, 1). P i t denotes the best position found by the i -th particle up to the t -th iteration. P g t denotes the best position found by the entire particle swarm up to the t -th iteration.

2.3. Improved Dung Beetle Optimization Algorithm (DBO-PSO)

Although traditional DBO incorporates diverse search mechanisms, it still suffers from insufficient global exploration capability and a tendency to become trapped in local optima. To address these limitations, DBO-PSO introduces the Kent chaotic map and integrates the classic “velocity–position” update mechanism of PSO. In this way, the algorithm’s capacity for global exploration is strengthened, and a more favorable equilibrium between wide-ranging search and focused exploitation is attained.

2.3.1. Kent Chaotic Map

When addressing relatively complex problems, the initial population generated randomly by traditional DBO exhibits high randomness and lacks diversity, the algorithm being susceptible to getting stuck at suboptimal solutions as iterations proceed. Therefore, the Kent chaotic map is first introduced in this paper to enhance population diversity and distribution uniformity. The mathematical expression of the Kent chaotic map is as follows:
x n + 1 = x n a , 0 < x n a 1 x n 1 a , a < x n < 1
In Equation (3), x n denotes the chaotic variable value generated at the n -th iteration; a denotes the control parameter, with a range of (0, 1). Compared with the Tent map and the Bernoulli–Tent map used in related DBO variants, the Kent map offers two theoretical advantages: when a = 0.4 , it achieves a strictly uniform probability density function ρ ( x ) = 1 over (0, 1), whereas the Tent map has boundary discontinuities and the Bernoulli–Tent map requires an extra parameter ε ; its Lyapunov exponent is slightly higher than that of the Tent map [40], indicating marginally better ergodicity.

2.3.2. DBO-PSO Position Update Strategy

The exploration capability of traditional DBO primarily relies on the random search of stealing dung beetles and foraging dung beetles, together with the random dancing of rolling dung beetles when encountering obstacles. While this randomness contributes to exploration, it lacks clear guidance, leading to a tendency to get stuck at suboptimal solutions. By integrating the “velocity–position” update mechanism of PSO into DBO and introducing a velocity vector for each individual, the global exploration capability is significantly enhanced, thereby avoiding entrapment in local optima. The population position update formulas are as follows:
In the formulas below, c 3 and c 4 represent the proportional coefficients of DBO and PSO, respectively. In this paper, c 3 = 0.5 and c 4 = 0.5 are set. v i t is defined in Equations (1) and (2).
The population position update formula for rolling dung beetles in obstacle-free mode is
x i t + 1 = x i t + c 3 α × k × x i t 1 + b _ c o e f × x + c 4 v i t
In Equation (4), x i ( t ) denotes the position of the i -th dung beetle at the t -th iteration. α is a natural coefficient, where α = 1 indicates no deviation and α = 1 indicates deviation from the original direction. k denotes the deflection coefficient, with a range of ( 0 , 0.2 ] ; Δ x captures fluctuations in light intensity; when Δ x becomes larger, the light grows weaker, which drives the dung beetle to avoid this position. b _ c o e f represents a natural coefficient within the range (0, 1).
The population position update formula for rolling dung beetles in an obstacle encounter manner is
x i t + 1 = x i t + c 3 tan θ x i t x i t 1 + c 4 v i t
In Equation (5), x i ( t ) denotes the position of the i -th dung beetle at the t -th iteration. θ represents the deflection angle, with a range of [ 0 ,   π ] . The position of the dung beetle remains unchanged when θ = 0 , π / 2 , π .
For breeding dung beetles, the rule for population position is given as follows:
B i t + 1 = c 3 X * + b 1 v e c × B i t L b * + b 2 v e c × B i t U b * + c 4 v i t
In Equation (6), B i ( t ) denotes the position of the i -th brood ball at the t -th iteration. b 1 v e c and b 2 v e c represent two independent random vectors of size 1 × D , where D denotes the dimensionality of the optimization problem. L b * and U b * are the lower and upper bounds of the egg-laying region, respectively, and X * is the global best position in the population.
For foraging dung beetles, the rule for updating positions is as follows:
x i t + 1 = x i t + c 3 C 1 × x i t L b b + C 2 × x i t U b b + c 4 v i t
In Equation (7), C 1 represents a random number that follows a normal distribution. C 2 represents a random vector with a range of (0, 1). L b b and U b b define the lower and upper bounds of the optimal foraging region.
For stealing dung beetles, the position update rule is expressed as follows:
x i t + 1 = c 3 X b + S × g × x i t X * + x i t X b + c 4 v i t
In Equation (8), g represents a 1 × D random vector following a normal distribution. S denotes a constant. X b represents the current best position. X * denotes the global best position of the population.

2.3.3. DBO-PSO Algorithm Pseudocode and Flowchart

The complete pseudocode for the DBO-PSO algorithm is shown in Algorithm 2.
Algorithm 2: Improved Dung Beetle Optimizer (DBO-PSO)
Input: pop, M, dim, lb, ub, fobj
Output: bestX, fMin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
        Begin
               Initialize X using Kent chaotic map
               Initialize V randomly
               Evaluate F = fobj(X)
               pX ← X, pFit ← F
               bestX ← argmin(F), fMin ← min(F)
                       for t = 1 to M do
                       R ← 1 − t/M
                                       for each rolling beetle i do
                               Update V_i
                               if rand < 0.9 then
                                       Δx ← |X_i − X_worst|
                                       X_dbo ← X_i + α·k·X_i_prev + b_coef·Δx
                               else
                                       θ ← rand × π
                                       X_dbo ← X_i + tanθ·|X_i − pX_i|
                               end if
                               X_i ← X_i + c3·(X_dbo − X_i) + c4·V_i
                       end for
                       Lb* ← max(bestX·(1 − R), lb)
                       Ub* ← min(bestX·(1 + R), ub)
                       for each breeding beetle i do
                               Update V_i
                               X_dbo ← bestX + b1-vec·|X_i − Lb*| + b2-vec·|X_i − Ub*|
                               X_i ← X_i + c3·(X_dbo − X_i) + c4·V_i
                       end for
                      Lb^b ← max(bestX·(1 − R), lb)
                       Ub^b ← min(bestX·(1 + R), ub)
                       for each foraging beetle i do
                               Update V_i
                               X_dbo ← X_i + C1·(X_i − Lb^b) + C2·(X_i − Ub^b)
                               X_i ← X_i + c3·(X_dbo − X_i) + c4·V_i
                       end for
                       for each stealing beetle i do
                               Update V_i
                               X_dbo ← bestX + S·g·(|X_i − bestX| + |X_i − pX_i|)
                               X_i ← X_i + c3·(X_dbo − X_i) + c4·V_i
                       end for
                       Clip X_i to [lb, ub]
                       Evaluate F_i = fobj(X_i)
                       Update pX_i, pFit_i, bestX, fMin
                end for
               return bestX, fMin
        End
The DBO-PSO algorithm flow is shown in Figure 3.

3. CEC 2022 Benchmark Functions Verification

To verify the effectiveness of the proposed DBO-PSO algorithm, several classical and advanced swarm intelligence algorithms are selected for comparison, including the dung beetle optimizer (DBO), the improved dung beetle optimizer (IDBO), environment-aware chaotic force-field dung beetle optimizer (ECFDBO), particle swarm optimization (PSO), Sparrow Search Algorithm (SSA), whale optimization algorithm (WOA), differential evolution (DE), and genetic algorithm (GA). The parameter settings of the nine algorithms are shown in Table 1. Comparative experiments are conducted on 12 benchmark functions from the CEC2022-20D test suite, as listed in Table 2 along with their theoretical optimal values. Among them, F1 is a unimodal function, which is mainly used to evaluate the convergence speed and optimization accuracy of the algorithms. F2 to F5 are basic multimodal functions, primarily adopted to test the global exploration capability and the ability to escape local optima. F6 to F8 are hybrid functions constructed by combining multiple sub-functions, which can evaluate the algorithm’s ability to handle problems with mixed properties. F9 to F12 are composition functions that integrate different types of basic functions, comprehensively testing the solution accuracy, stability, and robustness of each algorithm for complex optimization problems.
All experiments are performed under the Windows 10 operating system, running on hardware with a quad-core eight-thread 2.40 GHz Intel(R) Core (TM) i5-10200H CPU, 16 GB of RAM, and an NVIDIA GeForce GTX 1650 (4 GB) graphics card, with MATLAB R2024b used as the programming software. For all comparative algorithms, the population size is uniformly set to 50, the maximum number of iterations is set to 1000 with a dimensionality of 20, and each test function is run independently 30 times to ensure statistical significance. Six evaluation metrics are adopted to comprehensively assess the algorithm performance, including the minimum, average, median, maximum, standard deviation, and average running time. The experimental results are presented in Table 3, Table 4 and Table 5. The average ranking of the nine algorithms is visualized in Figure 4, and their convergence curves on the benchmark functions are shown in Figure 5.
As shown in the statistical tables, DBO-PSO demonstrates competitive performance across all benchmark functions. For the unimodal function F1, which evaluates convergence speed and optimization accuracy, DBO-PSO achieves an average value at 1773.0, significantly outperforming DBO at 24,890.0, PSO at 27,440.0, and GA at 80,070.0. Only IDBO and ECFDBO yield better results, indicating that DBO-PSO possesses favorable convergence precision on unimodal problems.
For basic multimodal functions F2 to F5, which test global exploration capability and the ability to escape local optima, DBO-PSO consistently ranks among the top performers. On F2, DBO-PSO obtains a mean at 502.6, superior to DBO, PSO, WOA, and GA. On F5, DBO-PSO achieves a mean at 1054.0, again outperforming the same four algorithms. These results confirm that DBO-PSO possesses strong local search capability and robustness when handling complex multimodal problems.
For hybrid functions F6 to F8, which evaluate the ability to handle problems with mixed properties, DBO-PSO maintains stable performance. On F7 and F8, DBO-PSO outperforms DBO, PSO, WOA, and GA, demonstrating its effectiveness in balancing global exploration and local exploitation.
For composition functions F9 to F12, which test solution accuracy and stability on complex problems, DBO-PSO also shows competitive advantages. On F10, DBO-PSO achieves a mean at 2502.0 with an extremely low standard deviation at 2.38, outperforming all algorithms except DE. On F12, DBO-PSO obtains a mean at 2963.0, outperforming DBO, PSO, WOA, and GA. This demonstrates that DBO-PSO possesses accurate global search ability and superior robustness on composition functions.
To further evaluate the performance differences, the Wilcoxon rank-sum test is conducted. As shown in Table 4, DBO-PSO achieves statistically significant differences against DBO on all 12 functions and against PSO on 11 functions. According to the Friedman test in Table 5, DBO-PSO achieves an average rank at 3.33, placing it second among all compared algorithms, behind DE at 2.67 and ahead of DBO at 7.08 and PSO at 6.42. The Friedman test indicates statistically significant differences among the algorithms.
In conclusion, the integration of Kent chaotic mapping and the PSO velocity–position update mechanism effectively enhances population diversity and global search capability, making DBO-PSO a competitive optimizer for complex optimization problems.

4. Path Planning Experiments and Results Analysis

4.1. Experimental Environment Setup

4.1.1. Experimental Platform and Software

To validate the effectiveness of the DBO-PSO algorithm proposed in this paper for UAV path planning in complex three-dimensional environments, a three-dimensional experimental city is constructed to emulate a UAV path planning environment, and experiments are conducted. All experiments are performed under the Windows 10 operating system, running on hardware with a quad-core eight-thread 2.40 GHz Intel(R) Core (TM) i5-10200H CPU, 16 GB of RAM, and an NVIDIA GeForce GTX 1650 (4 GB) graphics card. MATLAB R2024b is used as the programming software.

4.1.2. 3D Simulated City Model

In the study of UAV path planning technology, a high-quality experimental environment serves as a crucial prerequisite for algorithm validation. Therefore, a three-dimensional experimental city model is constructed on MATLAB (as shown in Figure 6). In this experimental environment, a three-dimensional Cartesian coordinate system is established with a 120 × 120 × 30 grid map. The value ranges of the X, Y and Z coordinates are limited to 0–120 m, 0–120 m and 0–30 m, respectively. The model includes various types of structures to simulate real-world urban elements such as commercial buildings, industrial buildings, residential structures, and trees. Buildings are represented as cuboids, while trees are represented as cones. Both are defined using a binary obstacle mask and a height matrix.
The coordinates of the buildings are defined as [x0, y0, width, length, height], where the pair (x0, y0) denotes the starting coordinates of the upper-left corner of the building, width denotes the length along the X-axis, and length denotes the length along the Y-axis. The building height represents the vertical dimension along the Z-axis. A total of nine buildings with different dimensions are generated. The parameter settings of the building obstacles are shown in Table 6.
The positions of trees are randomly generated, ensuring the avoidance of existing buildings and road areas. Each tree occupies a grid size ranging from 1 × 1 to 3 × 3, with heights varying between 4 and 8 m. Herein, 40 trees are generated.
This experimental setup employs a total of five intermediate waypoints. The starting point is located at [10, 110, 10] in the urban fringe area, and the endpoint is located at [110, 10, 10] in the diagonal region. The planned path must avoid all obstacles while satisfying safe flight requirements. It is worth emphasizing that the current experiments are conducted on a simulated urban environment as a proof of concept, and the algorithm shows good potential for extension to real-world applications by incorporating georeferenced urban data in future studies.

4.2. Path Planning Experiment

4.2.1. UAV Path Planning Model

For cost components, they are assigned respective weight and aggregated to form the total path cost function. Its mathematical expression is formulated as follows:
F c o s t = b 1 f l + b 2 f s + b 3 f c + b 4 f h
In Equation (9), F cos t denotes the total path cost function. b 1 , b 2 , b 3 , b 4 represent the weight for the path length cost, path smoothness cost, collision threat cost, and flight altitude cost, respectively. A smaller value of F cos t indicates a higher quality of the path obtained from the algorithm. Different weight values inevitably lead to variations in the path planning results, making it challenging to achieve the theoretically optimal weight combination. Furthermore, for different practical applications, different weighting priorities can be adopted—for instance, when focusing on fuel consumption or green trajectory planning, a higher weight can be assigned to altitude. The individual cost models and weight values used in the current paper are adopted in the previously published literature from our team [25].

4.2.2. Algorithm Parameter Configuration

In this experiment, the effectiveness of DBO-PSO is verified using different population sizes, while all other parameters remain consistent. A systematic comparison between DBO-PSO and four other algorithms, namely DBO, PSO, IDBO, and ECFDBO, is conducted based on metrics such as the path length cost, smoothness cost, flight altitude cost and collision threat cost. Path diagrams of DBO-PSO and DBO are also plotted to visually demonstrate the trajectories planned by the two algorithms. The maximum iteration count is configured as 500, with five intermediate waypoints specified. A safety buffer of 2 m is adopted, and the flight altitude is limited between 5 m at the lower bound and 100 m at the upper bound. With all other parameters unchanged, comparative experiments are conducted for three different population scales—small, medium, and large—with each group of experiments repeated 30 times to eliminate random errors and enhance the credibility of the results. The small-scale population size is set to 50, the medium-scale population size is set to 100, and the large scale is set to 150.

4.2.3. Experimental Results Presentation

The results of the experiments are presented in Table 7. In Figure 7, Figure 8 and Figure 9, panels (a), (b) and (c) correspond to population sizes of 50, 100, and 150.
In the aforementioned experimental results, Table 7 presents a comparison of the total path cost, path length, smoothness cost, flight altitude cost, and average computation time among the five algorithms under different population sizes; Figure 7 shows the convergence comparison of the five algorithms under different population sizes. Figure 8 displays the three-dimensional path diagrams of the five algorithms under different population sizes. Figure 9 provides the top-view path diagrams of the five algorithms under different population sizes.

4.3. Experimental Results Analysis

The total path cost is a primary metric for assessing the quality of path planning solutions, comprehensively reflecting multiple factors such as the path length, smoothness, and altitude constraints. As shown in Table 7, across different population sizes, the total path cost of DBO-PSO is consistently lower than that of DBO, PSO, IDBO, and ECFDBO. When the population size is 50, the total path cost of DBO-PSO is 284.91, which is 44.2%, 17.3%, 8.9%, and 45.1% lower than that of DBO at 510.41, PSO at 344.67, IDBO at 312.83, and ECFDBO at 518.78, respectively. When the population size is 100, DBO-PSO achieves 289.00, which is 39.8%, 22.3%, 5.1%, and 20.5% lower than that of DBO at 480.12, PSO at 372.16, IDBO at 304.64, and ECFDBO at 363.54, respectively. At population size 150, DBO-PSO attains 283.11, which is 6.5%, 5.5%, 1.8%, and 4.5% lower than that of DBO at 302.72, PSO at 299.71, IDBO at 288.28, and ECFDBO at 296.30, respectively. These results demonstrate that DBO-PSO possesses stronger global exploration capability and can more rapidly approach high-quality solution regions. DBO-PSO maintains a consistent advantage across all population sizes, highlighting the inherent efficiency and stability of its algorithmic structure. The performance improvement is not solely reliant on an increase in population size.
Path length cost is a primary metric for evaluating the performance of UAV path planning algorithms, as it directly determines the mission execution time, energy consumption, and overall operational efficiency. Shorter paths correspond to a higher mission response efficiency, a factor that is essential for the economic viability and practical utility of UAVs. As shown in Table 7, when the population size is 50, the path length of DBO-PSO is 182.11, which is 17.0%, 17.2%, and 16.9% lower than that of DBO at 219.48, IDBO at 220.06, and ECFDBO at 218.97, respectively. When the population size is 100, DBO-PSO achieves 183.99, which is 12.3%, 9.0%, and 17.3% lower than that of DBO at 209.74, IDBO at 202.27, and ECFDBO at 222.37, respectively. At population size 150, DBO-PSO attains 160.43, which is 10.2%, 3.1%, 11.4%, and 16.0% lower than that of DBO at 178.57, PSO at 165.60, IDBO at 181.13, and ECFDBO at 190.99, respectively. These results demonstrate that DBO-PSO exhibits strong capability in seeking global optimal solutions, particularly at larger population sizes where it achieves the shortest path among all algorithms. By incorporating PSO’s global memory and information-sharing mechanism, each individual in DBO-PSO relies on its own experience while being guided by the historically best positions discovered by the entire population. This mechanism enables superior path segments to propagate rapidly within the population, effectively concentrating search efforts on more promising solution regions. The DBO-PSO algorithm is capable of planning shorter paths, thereby validating the effectiveness of its improvement strategies and providing robust algorithmic support for improving operational efficiency and reducing operational costs in practical UAV applications.
Path smoothness cost is directly related to the safety and stability of UAV flight. A path with a higher smoothness cost typically contains numerous sharp turns and acute angles, which can force the UAV to frequently decelerate and adjust its altitude, significantly increasing the burden on the control system and prolonging mission duration. As shown in Table 7, DBO-PSO consistently achieves lower smoothness costs than DBO, PSO, and ECFDBO across all population sizes. For instance, at population size 50, the smoothness cost of DBO-PSO is 32.29, which is 47.7%, 59.0%, and 50.2% lower than that of DBO, PSO, and ECFDBO, respectively. At population size 150, DBO-PSO achieves 35.14, outperforming DBO, PSO, and ECFDBO by 12.4%, 14.7%, and 16.3%, respectively. Although IDBO achieves slightly better results in some cases, DBO-PSO remains highly competitive. The significant improvement in path smoothness indicates that the paths planned by DBO-PSO effectively reduce the control difficulty for UAVs, enabling smoother turns and altitude adjustments. As visualized in Figure 8 and Figure 9, the paths generated by DBO-PSO exhibit smooth and natural curved shapes, while those generated by DBO and PSO contain sharper turns, making DBO-PSO more suitable for application in complex three-dimensional environments.
Flight altitude cost directly reflects the algorithm’s ability to keep the UAV within a predefined safe altitude range. Excessively low altitudes increase collision risks with terrain, while excessively high altitudes may cause signal loss or unnecessary energy consumption. As shown in Table 7, DBO-PSO consistently achieves lower flight altitude costs than DBO, PSO, and ECFDBO across most population sizes. For instance, at population size 50, the altitude cost of DBO-PSO is 70.51, which is 69.2%, 24.1%, and 70.0% lower than that of DBO, PSO, and ECFDBO, respectively. At population size 100, DBO-PSO achieves 68.92, outperforming DBO, PSO, and ECFDBO by 70.7%, 40.2%, and 18.1%, respectively. These results confirm that the proposed algorithm, through Kent chaotic mapping and the PSO velocity–position update mechanism, can effectively guide the UAV to fly within the desired altitude range while balancing other objectives.
Average computation time reflects the computational efficiency of each algorithm. As shown in Table 7, the computation time of DBO-PSO increases from 0.84 s at population size 50 to 1.35 s at size 100 and 1.84 s at size 150, which is expected as more individuals require evaluation. Compared to the other algorithms, DBO-PSO consistently achieves a lower computation time than DBO, IDBO, and ECFDBO across all population sizes. Although PSO achieves slightly faster computation times, DBO-PSO remains highly competitive. The computational advantage over DBO and its variants is attributed to the incorporation of the PSO velocity–position update mechanism, which provides more efficient global search guidance and reduces unnecessary random explorations, thereby accelerating the convergence process without sacrificing solution quality.

4.4. Ablation Study

To systematically evaluate the contribution of each improvement component in the proposed DBO-PSO scheme, we conducted ablation experiments under identical environmental conditions, parameter settings, and software frameworks. Specifically, we selected the unimproved DBO strategy (DBO), the DBO strategy adopting the Kent chaotic map initialization (DBO–Kent-only), and the DBO strategy using the PSO-based velocity–position update strategy (DBO-PSO-only). A total of four schemes were compared: DBO, DBO–Kent-only, DBO-PSO-only, and the complete DBO-PSO scheme proposed in this paper. For the urban path planning scenario, thirty independent experiments were performed for each scheme, and one representative result was selected for visualization analysis. The fitness curves are shown in Figure 10, the 3D path planning comparisons of the four strategies are shown in Figure 11, and the ablation study results are summarized in Table 8 and Table 9.
The ablation study results clearly demonstrate the contribution of each improvement component. As shown in the statistical tables, the original DBO yields the highest total path cost at 463.93 and the longest path length at 246.72 m, with a smoothness cost of 37.22. Introducing only the Kent chaotic map reduces the integrated cost to 446.78, shortens the path length to 218.97 m, and lowers the smoothness cost to 34.23, indicating that a more uniformly distributed initial population effectively improves the solution quality. Using only the PSO velocity–position update mechanism also reduces the integrated cost to 422.04. The complete DBO-PSO, combining both strategies, achieves the best overall performance, with the lowest integrated cost at 353.04, the shortest path length at 216.05 m, and the smallest smoothness cost at 30.14. These results confirm that both the Kent chaotic map and the PSO velocity–position update mechanism positively contribute to the algorithm’s performance, and their integration yields complementary benefits.

4.5. DBO-PSO Algorithm Complexity Analysis

A comprehensive understanding and evaluation of an algorithm necessitates an analysis of its computational complexity, as this directly impacts algorithmic efficiency. Key parameters including population size (n), variable dimensionality (d), and maximum iteration number (T) exert a remarkable impact on computational complexity. In consideration of the above factors, the overall computational complexity of the DBO-PSO algorithm can be quantitatively analyzed.
O D B O P S O = O P r o b l e m   D e f i n i t i o n + O P o p u l a t i o n   I n i t i a l i z a t i o n + O F i t n e s s   A s s e s s m e n t + O R o l l i n g   B a l l   B e h a v i o r   U p d a t e + O R e p r o d u c t i v e   B e h a v i o r   U p d a t e + O F o r a g i n g   B e h a v i o r   U p d a t e + O T h e f t   I n c i d e n t   U p d a t e + O O p t i m a l   S o l u t i o n   U p d a t e = O n · d + O n · d + O n · f + T · O n + O n · d + f + O n = O T · n · d + f
To thoroughly analyze the computational complexity of DBO-PSO, a comparison is made with some commonly used algorithms such as PSO, HHO, and ABC. The complexities of PSO, ABC, and HHO are expressed as O ( T × n × d ) , suggesting that these algorithms typically include setting up the initial population, calculating the fitness values, and updating positions. In contrast, the complexity of DBO-PSO is expressed as O ( T × n × ( d + f ) ) . This implies that DBO-PSO possesses the characteristic of being sensitive to the fitness function, and its actual performance is significantly influenced by the complexity O ( f ) of the fitness function. This complexity analysis demonstrates that DBO-PSO retains the advantages of bio-inspired algorithms while maintaining computational efficiency comparable to that of classical optimization algorithms, making it particularly suitable for large-scale engineering optimization problems where complex sorting operations are not required.

5. Discussion

A hybrid algorithm termed DBO-PSO is proposed by integrating Kent chaotic mapping and the PSO velocity–position update mechanism into the dung beetle optimizer for UAV 3D path planning. The proposed algorithm achieves a 44.2% reduction in total path cost compared to standard DBO at a population size of 50, and ranks second among nine algorithms on the CEC2022 benchmark suite.
The observed performance improvements can be attributed to two complementary mechanisms. Firstly, the Kent chaotic map generates a more uniformly distributed initial population than the random initialization used in standard DBO. This enhances population diversity from the beginning of the search process, reducing the likelihood of premature convergence to suboptimal solutions. Secondly, the incorporation of the PSO velocity–position update introduces an individual memory and global best guidance mechanism that is largely absent in the original DBO. While DBO relies on role-specific stochastic updates, DBO-PSO enables each beetle to retain its own historical best position and share information with the entire population. This accelerates the propagation of promising path segments and improves the balance between global exploration and local exploitation, particularly in the multimodal and hybrid benchmark functions of the CEC2022 suite.
Consistent with previous studies on DBO variants, hybrid strategies generally improve algorithmic performance. However, unlike IDBO, which emphasizes local refinement through spiral search around the current best solution, DBO-PSO focuses on global exploration via the memory and information-sharing mechanism of PSO. This distinction explains why DBO-PSO achieves better performance on multimodal functions where escaping local optima is critical, while IDBO performs slightly better on certain unimodal functions. Compared to ECFDBO, which employs a dynamic force-field mutation strategy, DBO-PSO achieves a substantially lower total path cost and significantly shorter computation time in path planning experiments, indicating that the PSO-based mechanism is computationally more efficient for the tested scenario.
From a theoretical perspective, this study demonstrates that hybridizing the role-based exploration mechanism of DBO with the memory-guided convergence of PSO can effectively balance global search and local exploitation. The computational complexity analysis confirms that DBO-PSO maintains efficiency comparable to classical swarm intelligence algorithms, providing a reference for future hybrid algorithm designs. From a practical standpoint, DBO-PSO offers a viable solution for pre-flight UAV trajectory planning in static urban environments. The ability to generate shorter, smoother, and altitude-compliant paths can reduce energy consumption, improve flight safety, and lower operational costs for applications such as urban logistics, disaster assessment, and infrastructure inspection.
Nevertheless, the experimental environment remains a simplified representation of real three-dimensional scenarios. Dynamic obstacles, weather disturbances, and real-time replanning requirements were not considered. Meanwhile, the three-dimensional UAV path model retains potential for further improvement and optimization, in which different weighting priorities should be adopted to align with real-world application scenarios for different practical applications.

6. Conclusions

This paper proposed a hybrid algorithm named DBO-PSO for UAV path planning in three-dimensional urban environments. The method introduced Kent chaotic mapping for population initialization and incorporated the velocity–position update mechanism from particle swarm optimization into the dung beetle optimizer to enhance the global search capability. The quantitative results demonstrated clear advantages of the proposed algorithm. Benchmark tests on the CEC2022 suite showed that DBO-PSO had a competitive performance across all benchmark functions, and ranked second among nine algorithms in the Friedman test, indicating competitive performance in convergence accuracy and robustness.
In three-dimensional path planning experiments, compared with DBO, PSO, IDBO, and ECFDBO at population size 50, DBO-PSO reduced the total path cost by 44.2%, 17.3%, 8.9%, and 45.1%, respectively. The ablation study results clearly demonstrate the contribution of each improvement component. In conclusion, the proposed algorithm demonstrates competitive performance in balancing multiple objectives including path length, smoothness, and altitude constraints, while maintaining favorable computational efficiency.

7. Limitations

Despite the promising results achieved by the proposed DBO-PSO algorithm in UAV path planning, several limitations of the current study should be acknowledged.
The synthetic 3D urban environment is oversimplified relative to real-world scenarios. The experimental validation is conducted on a procedurally generated environment comprising idealized cuboid buildings and conical trees implemented in MATLAB. This setup does not fully capture the complexity of real urban airspace, which involves irregular obstacle geometries such as overhanging structures and curved facades, dynamic no-fly zones including airports, government facilities, and privacy-sensitive areas, meteorological disturbances like sudden wind gusts, precipitation, and turbulence, as well as variable low-altitude air traffic density from other UAVs or manned aircraft. Furthermore, the paper does not specify how a real terrain map would be obtained or processed. The binary obstacle mask and uniform height matrix employed also fail to capture the geometric complexity of real structures, such as overhanging building features, curved facades, or transparent surfaces.
Another limitation of the current investigation is that it is designed for pre-flight planning and does not support real-time trajectory replanning. Specifically, the algorithm generates a static trajectory based on known environmental information before the UAV commences its mission. It does not yet account for in-flight adjustments in response to external changes, such as newly detected dynamic obstacles including birds, other UAVs, or construction cranes, or sudden weather deterioration such as changes in wind speed or direction. Consequently, the current framework lacks the capability for online trajectory recalculation, which is essential for robust operation in dynamic urban environments.
A further limitation is that the adaptation to real UAV hardware constraints and multi-UAV cooperative scenarios has not been addressed. The paper does not specify which UAV attributes are considered, for instance, maximum turn angle, climb and descent rate, velocity limits, or sensor accuracy. The computational efficiency of DBO-PSO, while analyzed in terms of complexity, has not been validated on embedded flight control hardware with limited processing power and memory. Real-time constraints such as path generation within one second for dynamic replanning remain unexplored. Additionally, the extension to multi-UAV cooperative operations has not been investigated, despite its relevance to real scenarios where fleets of UAVs often operate simultaneously. Such an extension would introduce further constraints including inter-UAV collision avoidance, communication connectivity, task allocation, and coordination under limited airspace capacity.

Author Contributions

Conceptualization, Y.Y. and L.S.; methodology, Y.Y. and L.S.; software, H.-H.X. and L.S.; validation, Y.Y. and L.S.; formal analysis, W.-Q.F.; investigation, L.S.; resources, K.-J.X.; data curation, Y.Y.; writing—original draft preparation, Y.Y. and L.S.; writing—review and editing, Y.Y. and H.-H.X.; visualization, W.-Q.F. and L.S.; supervision, K.-J.X.; project administration, Y.Y.; funding acquisition, K.-J.X. All authors have read and agreed to the published version of the manuscript.

Funding

This study has been supported by the Open Fund Support from the Sichuan Provincial Engineering Research Centre for Flight and Operational Support of Domestic Civil Aircraft (Grant No. MJCYZY202503) and the Fundamental Research Funds for the Central Universities (Grant No. 25CAFUC04001); this work has also been supported by the Sichuan Provincial Civil Aviation Airport Smart Operation and Maintenance Engineering Research Centre Independent Research Project (Grant No. JCZX2023ZZ07 and JCZX2024ZZ25).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The code supporting the findings of this study are openly available in GitHub at https://github.com/yangyong4556/pathplanning (accessed on 21 May 2026).

Acknowledgments

The authors thank the editor and reviewers for their valuable suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Du, P.F.; Shi, Y.Q.; Cao, H.T.; Garg, S.; Alrashoud, M.; Shukla, P.K. AI-enabled trajectory optimization of logistics UAVs with wind imparts in smart cities. IEEE Trans. Consum. Electron. 2024, 70, 3885–3897. [Google Scholar] [CrossRef]
  2. Zhao, X.; Wang, X.; Dai, Y.; Qiu, Q. Joint optimization of loading, mission abort and rescue site selection policies for UAV. Reliab. Eng. Syst. Saf. 2024, 244, 109955. [Google Scholar] [CrossRef]
  3. Pádua, L.; Marques, P.; Dinis, L.-T.; Moutinho-Pereira, J.; Sousa, J.J.; Morais, R.; Peres, E. Detection of leak aeras in vineyard irrigation systems using UAV-based data. Drones 2024, 8, 187. [Google Scholar] [CrossRef]
  4. Liu, X.; Zhong, W.; Wang, X.; Duan, H.; Fan, Z.; Jin, H.; Huang, Y.; Lin, Z. Deep reinforcement learning-based 3D trajectory planning for cellular connected UAV. Drones 2024, 8, 199. [Google Scholar] [CrossRef]
  5. Peña-Delgado, A.F.; Peraza-Vázquez, H.; Almazán-Covarrubias, J.H.; Cruz, N.T.; García-Vite, P.M.; Morales-Cepeda, A.B.; Ramirez-Arredondo, J.M. A Novel Bio-Inspired Algorithm Applied to Selective Harmonic Elimination in a Three-Phase Eleven-Level Inverter. Math. Probl. Eng. 2020, 8856040. [Google Scholar] [CrossRef]
  6. Sun, J.; Tang, J.; Lao, S. Collison avoidance for cooperative UAVs with optimized artificial potential field algorithm. IEEE Access 2017, 5, 18382–18390. [Google Scholar] [CrossRef]
  7. Mishmast Nehi, H.; Ashayerinasab, H.A.; Allahdadi, M. Solving methods for interval linear programming problem: A review and an improved method. Oper. Res. 2018, 20, 1205–1229. [Google Scholar] [CrossRef]
  8. Shang, E.; Dai, B.; Nie, Y.M.; Zhu, Q.; Xiao, L.; Zhao, D. An improved A-star based path planning algorithm for autonomous land vehicles. Int. J. Adv. Robot. Syst. 2020, 17, 591–617. [Google Scholar] [CrossRef]
  9. Li, X.M.; Lu, Y.; Zhao, X.Y.; Deng, X.; Xie, Z. Path planning for intelligent vehicles based on improved D* lite. J. Supercomput. 2024, 80, 1294–1330. [Google Scholar] [CrossRef]
  10. Langari, S.M.; Vahdatikhaki, F.; Hammad, A. Improving the performance of RRT path planning of excavators by embedding heuristic rules. Adv. Eng. Inform. 2024, 62, 102724. [Google Scholar] [CrossRef]
  11. Li, Y.J.; Wei, W.; Gao, Y.; Wang, D.; Fan, Z. PQ-RRT*: An improved path planning algorithm for mobile robots. Expert Syst. Appl. 2020, 152, 113425. [Google Scholar] [CrossRef]
  12. Xie, R.L.; Meng, Z.J.; Want, L.F.; Li, H.; Wang, K.; Wu, Z. Unmanned Aerial Vehicle Path Planning Algorithm Based on Deep Reinforcement Learning in Large-Scale and Dynamic Environments. IEEE Access 2021, 9, 24884–24900. [Google Scholar] [CrossRef]
  13. Huang, X.; Zhang, Z.J.; Sun, P.; Tang, Y.D.; Liu, Y.P. A survey of path planning algorithms based on deep reinforcement learning. Robot 2026, 48, 196–216. (In Chinese) [Google Scholar]
  14. Zhang, M.T.; Zhang, J.; He, C.F. Review of metaheuristic algorithms research. Comput. Eng. Appl. 2026, 62, 40–53. (In Chinese) [Google Scholar]
  15. Goldberg, D.E. Genetic Algorithms in Search, Optimization, and Machine Learning; Addison-Wesley Publishing Company, Inc.: Boston, MA, USA, 1989. [Google Scholar]
  16. Harada, T.; Alba, E. Parallel genetic algorithms: A useful survey. ACM Comput. Surv. 2021, 53, 1–39. [Google Scholar] [CrossRef]
  17. Opara, K.R.; Arabas, J. Differential evolution: A survey of theoretical analyses. Swarm Evol. Comput. 2019, 44, 546–558. [Google Scholar] [CrossRef]
  18. Abbasi, B.; Majidnezhad, V.; Mirjalili, S. ADE: Advanced differential evolution. Neural Comput. Appl. 2024, 36, 15407–15438. [Google Scholar] [CrossRef]
  19. Kirkpatrick, S.; Gelatt, C.; Vecchi, M. Optimization by simulated annealing. Science 1983, 220, 671–680. [Google Scholar] [CrossRef]
  20. Chauhan, D.; Yadav, A. A comprehensive survey on artificial electric field algorithm: Theories and applications. Arch. Comput. Methods Eng. 2024, 31, 2663–2715. [Google Scholar] [CrossRef]
  21. Mirjalili, S. SCA: A sine cosine algorithm for solving optimization problems. Knowl.-Based Syst. 2016, 96, 120–133. [Google Scholar] [CrossRef]
  22. Abualigah, L.; Diabat, A.; Mirjalili, S.; Elaziz, M.A.; Gandomi, A.H. The arithmetic optimization algorithm. Comput. Methods Appl. Mech. Eng. 2021, 376, 113609. [Google Scholar] [CrossRef]
  23. Rai, R.; Das, A.; Ray, S.; Dhal, K.G. Human-inspired optimization algorithms: Theoretical foundations, algorithms, open research issues and application for multi-level thresholding. Arch. Comput. Methods Eng. 2022, 28, 2513–5352. [Google Scholar] [CrossRef]
  24. Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the IEEE International Conference on Neural Networks, Perth, Australia, 27 November–1 December 1995; IEEE: New York, NY, USA, 1995; pp. 1942–1948. [Google Scholar]
  25. Yang, Y.; Sun, L.; Fu, Y.; Feng, W.; Xu, K. Three-dimensional UAV trajectory planning based on improved sparrow search algorithm. Symmetry 2025, 17, 2071. [Google Scholar] [CrossRef]
  26. Blum, C. Ant colony optimization: A bibliometric review. Phys. Life Rev. 2024, 51, 87–95. [Google Scholar] [CrossRef] [PubMed]
  27. Yang, J.; Yan, F.; Zhang, J.; Peng, C. Hybrid chaos game and grey wolf optimization algorithms for UAV path planning. Appl. Math. Model. 2025, 142, 115979. [Google Scholar] [CrossRef]
  28. Yang, Y.; Fu, Y.J.; Lu, D.Y.; Xiang, H.; Xu, K. Three-dimensional unmanned aerial vehicle trajectory planning based on the improved whale optimization algorithm. Symmetry 2024, 16, 1561. [Google Scholar] [CrossRef]
  29. Yang, Y.; Fu, Y.J.; Li, D.L.; Xu, K.J. Multi-UAVs Trajectory Planning Based on Starfish Optimization Algorithm. Sci. Technol. Eng. 2026, 26, 387–394. [Google Scholar]
  30. Xue, J.K.; Shen, B. Dung Beetle Optimizer: A New Meta-Heuristic Algorithm for Global Optimization. J. Supercomput. 2022, 79, 7305–7336. [Google Scholar] [CrossRef]
  31. Shen, Q.W.; Zhang, D.M.; Xie, M.S.; He, Q. Multi-strategy enhanced dung beetle optimizer and its application in three-dimensional UAV path panning. Symmetry 2023, 15, 1432. [Google Scholar] [CrossRef]
  32. Zheng, X.; Liu, R.; Li, S. A Novel Improved Dung Beetle Optimization Algorithm for Collaborative 3D Path Planning of UAVs. Biomimetics 2025, 10, 420. [Google Scholar] [CrossRef]
  33. Li, X.L.; Jiang, H.; Yang, F. Improved dung beetle optimizer algorithm with multi-strategy for global optimization and UAV 3D path planning. IEEE Access 2024, 12, 69240–69257. [Google Scholar] [CrossRef]
  34. Zhang, R.; Chen, X.; Li, M. Multi-UAV Cooperative Task Assignment Based on Multi-Strategy Improved DBO. Clust. Comput. 2025, 28, 195. [Google Scholar] [CrossRef]
  35. Liu, K.; Dai, Y.; Liu, H. Improvement of Dung Beetle Optimization Algorithm Application to Robot Path Planning. Appl. Sci. 2025, 15, 396. [Google Scholar] [CrossRef]
  36. Chen, Q.; Wang, Y.J.; Sun, Y.F. An improved dung beetle optimizer for UAV 3D path planning. J. Supercomput. 2024, 80, 26357–26567. [Google Scholar] [CrossRef]
  37. Li, B.G.; Zhang, H.B.; Shi, X.P. A novel path planning for AUV based on Dung Beetle Optimisation Algorithm with deep Q-network. Int. J. Robot. Autom. 2025, 40, 65–73. [Google Scholar] [CrossRef]
  38. Li, Z.H.; Luo, X.; Peng, Q.J.; Yang, Y. Cross-domain fault diagnosis using convolutional attention network with an improved dung beetle optimization algorithm. Meas. Sci. Technol. 2024, 36, 0161a5. [Google Scholar] [CrossRef]
  39. Wang, H.Q.; Song, G.; Ge, C. 3D Path Planning of UAVs Based on Improved Dung Beetle Algorithm. Electron. Opt. Control 2024, 31, 55–61+82. (In Chinese) [Google Scholar]
  40. Liu, J.J.; Shi, D.Y.; Wu, G.N. Hybrid chaotic optimization algorithm based on Kent map. Comput. Eng. Des. 2015, 36, 1498–1503. (In Chinese) [Google Scholar]
Figure 1. Schematic diagram of dung beetle population distribution.
Figure 1. Schematic diagram of dung beetle population distribution.
Applsci 16 05243 g001
Figure 2. DBO algorithm flowchart.
Figure 2. DBO algorithm flowchart.
Applsci 16 05243 g002
Figure 3. DBO-PSO algorithm flowchart.
Figure 3. DBO-PSO algorithm flowchart.
Applsci 16 05243 g003
Figure 4. Average ranking chart of nine algorithms.
Figure 4. Average ranking chart of nine algorithms.
Applsci 16 05243 g004
Figure 5. Convergence curves comparison.
Figure 5. Convergence curves comparison.
Applsci 16 05243 g005
Figure 6. Three-dimensional experimental city model.
Figure 6. Three-dimensional experimental city model.
Applsci 16 05243 g006
Figure 7. Comparison of convergence between five algorithms at different population sizes.
Figure 7. Comparison of convergence between five algorithms at different population sizes.
Applsci 16 05243 g007
Figure 8. Comparison of paths between five algorithms at different population sizes.
Figure 8. Comparison of paths between five algorithms at different population sizes.
Applsci 16 05243 g008
Figure 9. Top-down comparison of paths between five algorithms at different population sizes.
Figure 9. Top-down comparison of paths between five algorithms at different population sizes.
Applsci 16 05243 g009
Figure 10. Convergence curves comparison of four strategies.
Figure 10. Convergence curves comparison of four strategies.
Applsci 16 05243 g010
Figure 11. 3D path planning comparison of four strategies.
Figure 11. 3D path planning comparison of four strategies.
Applsci 16 05243 g011
Table 1. Compare the relevant parameters of algorithms.
Table 1. Compare the relevant parameters of algorithms.
AlgorithmsParameters
DBO-PSO w = 0.7 , c 1 = 2 , c 2 = 2 , c 3 = 0.5 , c 4 = 0.5 , a = 0.4
IDBO k = 0.5 , b = 0.3 , S = 0.3
ECFDBO p = 0.2 , w = 0.5 , p m = 0.07
DBO k ( 0 , 0.2 ] , b _ c o e f ( 0 , 1 ) , θ [ 0 , π ]
PSO w = 0.7 , c 1 = 2 , c 2 = 2
DE F = 0.5 , C R = 0.5
SSA p percent = 0.2 , r percent = 0.1 , S T = 0.8
WOA a = 2 0 , b = 1 , l [ 1 , 1 ]
GA p c = 0.6 , p m = 0.3
Table 2. CEC2022-20D test set.
Table 2. CEC2022-20D test set.
No.FunctionsFi
Unimodal Function1Shifted and full Rotated Zakharov Function (Modified f2, CEC 2017)300
Basic Functions2Shifted and full Rotated Rosenbrock’s Function (Modified f3, CEC 2017)400
3Shifted and full Rotated Expanded Schaffer’s f6 Function (Modified f5, CEC 2017)600
4Shifted and full Rotated Non-Continuous Rastrigin’s Function (Modified f7, CEC 2017)800
5Shifted and full Rotated Levy Function (Modified f8, CEC 2017)900
Hybrid Functions6Hybrid Function 1 (N = 3) (f18, CEC 2014 )1800
7Hybrid Function 2 (N = 6) (f19, CEC 2017)2000
8Hybrid Function 3 (N = 5) (f22, CEC 2014)2200
Composition Functions9Composition Function 1 (N = 5) (f23, CEC 2014)2300
10Composition Function 2 (N = 4) (f24, CEC 2014)2400
11Composition Function 3 (N = 5) (f25, CEC 2017)2600
12Composition Function 4 (N = 6) (f26, CEC 2017)2700
Table 3. Test results.
Table 3. Test results.
FunIndexDBO-PSOIDBOECFDBODBOPSODESSAWOAGA
F1min4.039 × 1026.048 × 1023.133 × 1021.187 × 1048.772 × 1032.389 × 1043.412 × 1028.644 × 1033.281 × 104
std7.312 × 1022.454 × 1032.838 × 1025.676 × 1039.808 × 1034.511 × 1031.211 × 1034.696 × 1032.135 × 104
avg1.773 × 1033.047 × 1035.936 × 1022.489 × 1042.744 × 1043.291 × 1041.950 × 1031.539 × 1048.007 × 104
median1.494 × 1032.240 × 1034.863 × 1022.578 × 1042.600 × 1043.317 × 1041.651 × 1031.461 × 1048.051 × 104
worse3.726 × 1039.490 × 1031.345 × 1033.457 × 1045.593 × 1044.114 × 1045.118 × 1032.782 × 1041.145 × 105
avg_time2.113 × 10−11.574 × 10−17.128 × 10−13.944 × 10−12.460 × 10−16.989 × 10−13.979 × 10−12.061 × 10−12.436 × 10−1
F2min4.348 × 1024.098 × 1024.067 × 1026.626 × 1025.853 × 1024.451 × 1024.015 × 1024.541 × 1024.889 × 102
std5.615 × 1013.459 × 1012.798 × 1011.255 × 1021.102 × 1021.261 × 1001.896 × 1015.280 × 1013.718 × 101
avg5.026 × 1024.599 × 1024.630 × 1028.356 × 1027.542 × 1024.488 × 1024.503 × 1025.462 × 1025.342 × 102
median4.858 × 1024.492 × 1024.503 × 1028.292 × 1027.507 × 1024.491 × 1024.491 × 1025.463 × 1025.208 × 102
worse6.885 × 1025.785 × 1025.616 × 1021.201 × 1039.673 × 1024.518 × 1024.747 × 1026.391 × 1026.369 × 102
Avg_time3.267 × 10−12.776 × 10−11.488 × 1004.470 × 10−12.269 × 10−19.324 × 10−14.623 × 10−11.937 × 10−12.766 × 10−1
F3min6.022 × 1026.021 × 1026.207 × 1026.363 × 1026.261 × 1026.000 × 1026.141 × 1026.432 × 1026.602 × 102
std5.749 × 1001.323 × 1011.343 × 1016.898 × 1001.063 × 1011.311 × 10−51.183 × 1011.246 × 1011.456 × 101
avg6.112 × 1026.223 × 1026.452 × 1026.512 × 1026.432 × 1026.000 × 1026.357 × 1026.619 × 1026.936 × 102
median6.107 × 1026.215 × 1026.459 × 1026.515 × 1026.410 × 1026.000 × 1026.349 × 1026.582 × 1026.944 × 102
worse6.288 × 1026.517 × 1026.717 × 1026.696 × 1026.663 × 1026.000 × 1026.553 × 1026.891 × 1027.216 × 102
avg_time5.344 × 10−14.736 × 10−13.583 × 1006.041 × 10−14.126 × 10−11.182 × 1007.817 × 10−13.905 × 10−14.877 × 10−1
F4min8.198 × 1028.557 × 1028.603 × 1029.020 × 1028.395 × 1028.944 × 1028.534 × 1028.671 × 1029.565 × 102
std1.840 × 1012.293 × 1012.876 × 1011.292 × 1011.553 × 1018.496 × 1002.001 × 1012.725 × 1011.595 × 101
avg8.539 × 1028.973 × 1028.983 × 1029.229 × 1028.662 × 1029.134 × 1028.923 × 1029.056 × 1029.978 × 102
median8.535 × 1028.964 × 1028.967 × 1029.233 × 1028.635 × 1029.121 × 1028.915 × 1029.020 × 1029.992 × 102
worse8.995 × 1029.488 × 1029.900 × 1029.504 × 1029.090 × 1029.342 × 1029.502 × 1029.824 × 1021.036 × 103
avg_time3.699 × 10−13.410 × 10−11.706 × 1005.048 × 10−13.105 × 10−18.849 × 10−16.277 × 10−12.645 × 10−13.323 × 10−1
F5min9.042 × 1021.558 × 1031.546 × 1031.888 × 1031.349 × 1039.276 × 1021.823 × 1032.136 × 1039.281 × 102
std1.891 × 1024.123 × 1026.751 × 1023.008 × 1024.265 × 1023.574 × 1012.005 × 1021.563 × 1037.179 × 102
avg1.054 × 1032.478 × 1032.552 × 1032.401 × 1032.010 × 1039.764 × 1022.412 × 1034.153 × 1031.294 × 103
median9.954 × 1022.463 × 1032.406 × 1032.429 × 1031.924 × 1039.675 × 1022.419 × 1033.969 × 1039.947 × 102
worse1.688 × 1033.230 × 1034.560 × 1033.066 × 1032.936 × 1031.061 × 1032.823 × 1037.777 × 1033.863 × 103
avg_time3.861 × 10−13.185 × 10−11.316 × 1005.071 × 10−13.158 × 10−19.486 × 10−15.131 × 10−11.518 × 10−11.954 × 10−1
F6min1.274 × 1042.133 × 1032.119 × 1032.158 × 1061.946 × 1036.183 × 1051.853 × 1037.168 × 1032.652 × 103
std7.393 × 1069.095 × 1032.753 × 1041.985 × 1074.525 × 1051.088 × 1065.854 × 1032.066 × 1051.254 × 104
avg2.233 × 1061.126 × 1041.955 × 1043.149 × 1071.022 × 1052.219 × 1066.933 × 1031.273 × 1051.189 × 104
median8.734 × 1047.263 × 1039.857 × 1032.641 × 1075.191 × 1031.844 × 1064.604 × 1035.621 × 1046.930 × 103
worse2.938 × 1072.630 × 1041.221 × 1057.028 × 1072.483 × 1065.343 × 1062.009 × 1041.035 × 1066.721 × 104
avg_time1.862 × 10−11.574 × 10−11.114 × 1002.473 × 10−11.456 × 10−14.929 × 10−12.838 × 10−11.176 × 10−11.604 × 10−1
F7min2.033 × 1032.034 × 1032.055 × 1032.114 × 1032.066 × 1032.034 × 1032.031 × 1032.111 × 1032.142 × 103
std2.698 × 1014.821 × 1014.906 × 1011.785 × 1015.897 × 1017.231 × 1008.704 × 1015.240 × 1014.450 × 101
avg2.070 × 1032.108 × 1032.130 × 1032.143 × 1032.157 × 1032.046 × 1032.134 × 1032.199 × 1032.219 × 103
median2.061 × 1032.100 × 1032.125 × 1032.143 × 1032.149 × 1032.046 × 1032.125 × 1032.186 × 1032.225 × 103
worse2.142 × 1032.210 × 1032.250 × 1032.180 × 1032.280 × 1032.060 × 1032.485 × 1032.315 × 1032.303 × 103
avg_time3.457 × 10−13.146 × 10−14.061 × 1006.818 × 10−14.798 × 10−11.128 × 1008.189 × 10−14.325 × 10−13.653 × 10−1
F8min2.230 × 1032.224 × 1032.227 × 1032.231 × 1032.226 × 1032.227 × 1032.222 × 1032.233 × 1032.235 × 103
std3.904 × 1012.966 × 1015.716 × 1019.528 × 1019.285 × 1016.729 × 10−16.230 × 1015.913 × 1015.198 × 101
avg2.259 × 1032.240 × 1032.282 × 1032.318 × 1032.302 × 1032.228 × 1032.286 × 1032.293 × 1032.283 × 103
median2.247 × 1032.228 × 1032.249 × 1032.266 × 1032.239 × 1032.228 × 1032.255 × 1032.259 × 1032.255 × 103
worse2.368 × 1032.343 × 1032.369 × 1032.526 × 1032.571 × 1032.230 × 1032.461 × 1032.408 × 1032.383 × 103
avg_time3.902 × 10−13.606 × 10−13.443 × 1004.768 × 10−13.528 × 10−17.489 × 10−15.763 × 10−13.276 × 10−14.293 × 10−1
F9min2.481 × 1032.481 × 1032.481 × 1032.514 × 1032.571 × 1032.481 × 1032.481 × 1032.483 × 1032.560 × 103
std3.908 × 1011.445 × 10−12.954 × 1013.383 × 1018.115 × 1014.458 × 10−52.411 × 10−25.115 × 1012.760 × 101
avg2.502 × 1032.481 × 1032.492 × 1032.591 × 1032.697 × 1032.481 × 1032.481 × 1032.547 × 1032.612 × 103
median2.481 × 1032.481 × 1032.481 × 1032.594 × 1032.686 × 1032.481 × 1032.481 × 1032.529 × 1032.618 × 103
worse2.654 × 1032.481 × 1032.622 × 1032.657 × 1032.926 × 1032.481 × 1032.481 × 1032.675 × 1032.662 × 103
avg_time4.255 × 10−13.766 × 10−14.799 × 1008.240 × 10−15.243 × 10−11.258 × 1009.993 × 10−14.335 × 10−16.012 × 10−1
F10min2.501 × 1032.501 × 1032.501 × 1032.522 × 1032.512 × 1032.501 × 1032.501 × 1032.501 × 1032.542 × 103
std2.381 × 1004.170 × 1029.467 × 1021.989 × 1011.031 × 1031.031 × 1017.582 × 1021.191 × 1031.367 × 103
avg2.502 × 1032.814 × 1033.347 × 1032.547 × 1033.718 × 1032.513 × 1033.780 × 1034.671 × 1034.810 × 103
median2.501 × 1032.501 × 1033.029 × 1032.541 × 1034.030 × 1032.512 × 1033.834 × 1034.933 × 1035.367 × 103
worse2.509 × 1033.752 × 1035.828 × 1032.625 × 1035.410 × 1032.548 × 1035.007 × 1036.259 × 1036.246 × 103
avg_time5.596 × 10−14.724 × 10−14.704 × 1006.223 × 10−14.190 × 10−11.152 × 1007.726 × 10−14.682 × 10−14.754 × 10−1
F11min2.949 × 1032.608 × 1032.600 × 1034.672 × 1034.150 × 1032.900 × 1032.900 × 1032.770 × 1033.552 × 103
std3.664 × 1021.829 × 1024.019 × 1024.239 × 1025.003 × 1022.203 × 1014.498 × 1011.877 × 1022.992 × 102
avg3.277 × 1033.046 × 1033.004 × 1035.612 × 1034.944 × 1032.906 × 1032.927 × 1033.201 × 1034.062 × 103
median3.123 × 1032.971 × 1032.900 × 1035.667 × 1034.970 × 1032.900 × 1032.900 × 1033.161 × 1034.075 × 103
worse4.093 × 1033.303 × 1034.970 × 1036.491 × 1035.704 × 1033.019 × 1033.000 × 1033.646 × 1034.670 × 103
avg_time7.305 × 10−17.432 × 10−14.846 × 1008.816 × 10−16.576 × 10−11.343 × 1001.076 × 1006.423 × 10−17.725 × 10−1
F12min2.941 × 1032.939 × 1032.957 × 1032.988 × 1033.189 × 1032.937 × 1032.943 × 1032.971 × 1033.143 × 103
std1.766 × 1011.747 × 1014.783 × 1017.839 × 1011.523 × 1022.022 × 1005.834 × 1016.465 × 1011.374 × 102
avg2.963 × 1032.961 × 1033.006 × 1033.151 × 1033.369 × 1032.942 × 1033.004 × 1033.048 × 1033.395 × 103
median2.958 × 1032.957 × 1032.989 × 1033.148 × 1033.321 × 1032.942 × 1032.987 × 1033.034 × 1033.370 × 103
worse3.029 × 1033.028 × 1033.171 × 1033.315 × 1033.893 × 1032.945 × 1033.186 × 1033.237 × 1033.695 × 103
avg_time7.896 × 10−18.327 × 10−19.349 × 1005.572 × 10−14.229 × 10−18.092 × 10−16.700 × 10−14.009 × 10−14.435 × 10−1
Table 4. Wilcoxon rank-sum test.
Table 4. Wilcoxon rank-sum test.
FunIDBOECFDBODBOPSODESSAWOAGA
F12.510 × 10−23.020 × 10−113.020 × 10−113.020 × 10−113.020 × 10−111.953 × 10−33.338 × 10−113.020 × 10−11
F21.221 × 10−23.020 × 10−113.690 × 10−111.094 × 10−101.108 × 10−68.120 × 10−44.084 × 10−58.883 × 10−6
F32.959 × 10−53.018 × 10−113.020 × 10−113.020 × 10−113.020 × 10−112.922 × 10−93.020 × 10−113.020 × 10−11
F41.635 × 10−53.018 × 10−113.020 × 10−115.012 × 10−27.389 × 10−112.598 × 10−82.602 × 10−83.020 × 10−11
F53.159 × 10−103.020 × 10−111.206 × 10−103.820 × 10−103.478 × 10−13.159 × 10−104.077 × 10−115.997 × 10−1
F61.329 × 10−103.012 × 10−111.287 × 10−91.202 × 10−83.256 × 10−73.338 × 10−116.843 × 10−15.573 × 10−10
F76.145 × 10−23.020 × 10−112.922 × 10−91.695 × 10−92.377 × 10−75.828 × 10−31.957 × 10−101.094 × 10−10
F81.861 × 10−63.018 × 10−115.746 × 10−27.172 × 10−13.020 × 10−115.895 × 10−15.395 × 10−11.273 × 10−2
F91.070 × 10−93.020 × 10−111.695 × 10−93.690 × 10−113.020 × 10−113.330 × 10−116.203 × 10−47.389 × 10−11
F105.874 × 10−43.018 × 10−113.020 × 10−114.504 × 10−112.254 × 10−41.957 × 10−102.610 × 10−103.020 × 10−11
F113.632 × 10−13.020 × 10−113.020 × 10−113.020 × 10−113.020 × 10−113.564 × 10−42.959 × 10−53.020 × 10−11
F121.580 × 10−13.012 × 10−111.613 × 10−103.338 × 10−118.153 × 10−111.518 × 10−34.311 × 10−83.020 × 10−11
Table 5. Friedman statistical results.
Table 5. Friedman statistical results.
FunDBO-PSOIDBOECFDBODBOPSODESSAWOAGA
Mean Rank3.333.424.427.086.422.673.756.757.17
Table 6. Parameters of architectural obstacles.
Table 6. Parameters of architectural obstacles.
X-Axis OriginY-Axis OriginBuilding Width (m)Building Length (m)Building Height (m)
3025121418
804018912
4580102022
907015159
1550111128
6030161214
10045101320
2090141630
70100131025
Table 7. Comparative experimental data of five algorithms.
Table 7. Comparative experimental data of five algorithms.
Population SizeAlgorithmTotal Path CostPath Length CostSmoothness CostFlight Altitude CostAverage Computation Time
50DBO-PSO284.91182.1132.2970.510.84
DBO510.41219.4861.71229.221.01
PSO344.67172.9378.8292.930.63
IDBO312.83220.0631.7761.011.06
ECFDBO518.78218.9764.82235.0013.16
100DBO-PSO289.00183.9936.0968.921.35
DBO480.12209.7435.38235.001.92
PSO372.16180.476.44115.281.06
IDBO304.64202.2740.7861.591.81
ECFDBO363.54222.3757.0184.1716.73
150DBO-PSO283.11160.4335.1487.541.84
DBO302.72178.5740.1164.172.24
PSO299.71165.6041.2092.911.43
IDBO288.28181.1333.6373.521.89
ECFDBO296.30190.9941.9663.3521.00
Table 8. Ablation study statistical results.
Table 8. Ablation study statistical results.
AlgorithmMinMaxMeanVarianceAvg DistanceAvg Smoothness
DBO275.5231675.9274446.146116,635.0910233.1736.06
DBO–Kent-only265.0455446.7831368.13752325.1700223.2927.18
DBO-PSO-only214.9891522.0387349.76005824.4536214.6425.69
DBO-PSO201.0758399.5370341.61211048.3579209.4130.14
Table 9. Last experiment detailed results comparison.
Table 9. Last experiment detailed results comparison.
AlgorithmCombined CostPath LengthSmoothness Cost
DBO463.9275246.7237.22
DBO–Kent-only446.7831218.9734.23
DBO-PSO-only422.0387219.0235.17
DBO-PSO353.0370216.0530.14
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yang, Y.; Sun, L.; Xu, K.-J.; Xiang, H.-H.; Feng, W.-Q. UAV Three-Dimensional Path Planning Based on Improved Dung Beetle Optimizer Algorithm. Appl. Sci. 2026, 16, 5243. https://doi.org/10.3390/app16115243

AMA Style

Yang Y, Sun L, Xu K-J, Xiang H-H, Feng W-Q. UAV Three-Dimensional Path Planning Based on Improved Dung Beetle Optimizer Algorithm. Applied Sciences. 2026; 16(11):5243. https://doi.org/10.3390/app16115243

Chicago/Turabian Style

Yang, Yong, Li Sun, Kai-Jun Xu, Hong-Hui Xiang, and Wei-Qi Feng. 2026. "UAV Three-Dimensional Path Planning Based on Improved Dung Beetle Optimizer Algorithm" Applied Sciences 16, no. 11: 5243. https://doi.org/10.3390/app16115243

APA Style

Yang, Y., Sun, L., Xu, K.-J., Xiang, H.-H., & Feng, W.-Q. (2026). UAV Three-Dimensional Path Planning Based on Improved Dung Beetle Optimizer Algorithm. Applied Sciences, 16(11), 5243. https://doi.org/10.3390/app16115243

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop