1. Introduction
1.1. Research background and significance
With the rapid development of Unmanned Aerial Vehicle (UAV) technology, its applications in military reconnaissance, agricultural plant protection, logistics distribution, and disaster rescue are becoming increasingly widespread [1-2]. Path planning, as a key technology of UAV autonomous navigation systems, directly determines the efficiency and safety of mission execution [3]. In practical application scenarios, UAVs need to generate optimal flight trajectories that are both safe and efficient under irregular terrain, dynamic obstacles, and various physical constraints [4-5]. However, due to the complexity of environmental constraints and the nonlinear distribution of obstacle heights, traditional planning methods [6-7] (such as A* algorithm, Rapidly-exploring Random Tree, etc.) often suffer from high computational complexity, susceptibility to local optima, and difficulty in handling high-dimensional problems. Zheng et al. [8] proposed a hybrid path planning method combining adaptive particle swarm optimization with Bézier curves, effectively improving path feasibility and efficiency by integrating global optimization capabilities with curve smoothing techniques. Similarly, Duan et al. [9] designed a dynamic multi-objective pigeon-inspired optimization algorithm tailored for multi-task scenarios, extending the applicability of path planning under multiple constraints. Pei et al. [10] focused on multi-UAV coordination and introduced a knowledge-guided multi-objective PSO algorithm, which significantly enhanced convergence and solution quality in cooperative planning by incorporating domain knowledge to guide the search process.
Furthermore, to address the issue of traditional PSO easily converging to local optima, Zhu et al. [11] proposed improved adaptive inertia weights and chaotic mutation strategies, strengthening the algorithm’s robustness in complex environments. Notably, Xiaokang et al. [12] recently integrated Lévy flight mechanisms into PSO, enhancing global exploration capabilities by simulating random walk behavior, offering a novel approach for path planning in dynamic settings. Chen et al. [13] further combined multiple strategies to develop an enhanced seagull optimization algorithm within a PSO framework, achieving multi-objective optimization that balances path length and safety in complex terrains [14-17].
In summary, existing research commonly employs hybrid intelligent optimization methods, improving population diversity, introducing adaptive mechanisms, or integrating multiple strategies to balance exploration and exploitation. However, most studies remain limited to static environmental assumptions. Future work should further explore real-time planning capabilities in the presence of dynamic obstacles, uncertainties, and practical physical constraints, with validation in real-world scenarios to promote practical application.
1.2. Research content and objectives
This paper addresses the efficiency optimization problem of intelligent algorithms in path planning, focusing on the Particle Swarm Optimization (PSO) algorithm and its improvement strategies. The PSO algorithm has become a research hotspot for solving complex optimization problems due to its simple principles, fewer parameters, and strong global search capability. This algorithm efficiently finds optimal solutions in multidimensional search spaces by simulating the swarm intelligence search mechanism of bird flock foraging behavior, making it particularly suitable for UAV 3D path planning characterized by high nonlinearity and multiple constraints.
This study aims to: 1) Analyze the optimization performance of various algorithms in environments of different complexities; 2) Evaluate the convergence speed and solution accuracy of the algorithms; 3) Clarify the advantageous scenarios and applicable conditions of various improvement strategies; 4) Provide a basis for algorithm selection in practical UAV path planning applications through a systematic comparison of the traditional PSO algorithm with four improved strategies (Variable social weight PSO, mutated particle PSO, hybrid strategy PSO, and neural network-assisted PSO).
2. PSO algorithm and its improvement strategies
2.1. Standard PSO algorithm principle
Particle Swarm Optimization (PSO) draws inspiration from the flocking behavior of birds. Within this algorithm, particles—representing potential solutions—traverse the search space by continuously adjusting their velocity and position, guided by both individual and collective experiences. Each particle retains memory of its personal best position (pBest) achieved thus far, as well as the global best position (gBest) discovered by the entire swarm. Through this dynamic interplay of individual learning and social interaction, the particles strive to locate the optimal position, ultimately converging toward the global optimal solution.
The velocity update formula in one-dimensional space is given by:
where:
The position update formula in one-dimensional space is given by:
where
In the context of three - dimensional path planning, the path of each particle from the starting point to the endpoint can be visualized as a sequence of three - dimensional points. As a result, the position of a particle can be expressed as:
Similarly, the velocity of a particle can be represented as:
The following sections extend the discussion from one-dimensional to three-dimensional space regarding the velocity and position update formulas.
Velocity update formula in three-dimensional space is given by:
Position update formula in three-dimensional space is given by:
The position update of the particle is governed by the fundamental law of motion, stipulating that the new position is equivalent to the current position, with the addition of the updated velocity. Specifically, the x, y, z coordinate components of each point on the path are updated independently according to this rule. In order to circumvent the occurrence of path points that deviate to an unreasonable degree from their designated positions, limits have been established on the range of values attainable for both velocity and position. This ensures that the values remain within a reasonable interval of [min, max]
2.2. Improved PSO algorithm strategies
2.2.1. Variable social weight PSO
To address the balance between global exploration and local exploitation capabilities, drawing on parameter adaptive adjustment ideas , a linear decreasing strategy is adopted:
where =2.5,
=1.5. This strategy increases global exploration ability initially and enhances local development ability later.
2.2.2. Mutated particle PSO
To enhance population diversity and prevent premature convergence of the algorithm, we draw inspiration from the mutation operation in genetic algorithms and incorporate the mutation mechanism from biological evolution. A random perturbation is applied to the particle velocity with a probability of 0.1:
where =0.1 is the mutation intensity and
represents the standard normal distribution. This operation helps particles escape local optima.
2.2.3. Hybrid strategy PSO
This strategy combines the advantages of Variable social weight and mutation operations. It focuses on global exploration in the early stages and avoids local optima through mutation in the later stages, achieving dual optimization.
2.2.4. Neural network-assisted PSO
A BP neural network predicts particle motion trends. The network structure is a three-layer feedforward network (6-20-20-3), the activation function uses Sigmoid, and the learning rate is set to 0.01. The neural network learns optimal motion patterns from historical data to provide intelligent guidance for PSO.
3. Simulation experiment design and evaluation system
3.1. Experimental environment setup
This study constructed three typical terrain environments:
Simple Terrain (N=5): Few peaks, sparse obstacles.
Medium Terrain (N=13): Moderate obstacle density, general complexity.
Complex Terrain (N=20): Dense peaks, complex environment.30 independent experiments were conducted for each terrain type, and averages were taken to eliminate randomness.
3.2. Evaluation index system
1.Convergence Iterations: The number of iterations required to reach a stable solution, reflecting convergence speed.
2.Optimal Fitness: A comprehensive indicator of path length and safety.
3.3. Statistical analysis methods
Analysis of Variance (ANOVA) and T-tests were used to compare algorithm performance differences, with a confidence level set at 95%. MATLAB was used for data processing and visualization.
4. Experimental results and in-depth analysis
4.1. Algorithm performance comparison under different terrain complexities
The following data were obtained through simulation using MATLAB software, with the average values calculated from 30 sets of data:

Algorithm Type |
N=5 (Simple) |
N=13 (Medium) |
N=20 (Complex) |
Avg. Rank |
Traditional PSO |
19.13 |
16.50 |
21.63 |
3 |
Variable social weight PSO |
18.53 |
22.23 |
14.60 |
2 |
Mutated PSO |
15.10 |
18.57 |
18.33 |
1 |
Hybrid PSO |
20.90 |
17.50 |
17.70 |
4 |
NN-Assisted PSO |
26.63 |
19.87 |
25.47 |
5 |
Analysis shows: Mutated PSO performs best in convergence speed, especially in simple terrain, being 21.1% faster than traditional PSO. NN-Assisted PSO has the slowest convergence due to additional computations.
4.2. Path quality comparison analysis
Algorithm Type |
N=5 (Simple) |
N=13 (Medium) |
N=20 (Complex) |
Improvement |
Traditional PSO |
173.31 |
180.69 |
188.37 |
-- |
Variable social weight PSO |
175.52 |
178.07 |
191.80 |
-1.3% |
Mutated PSO |
174.88 |
182.30 |
186.35 |
+1.1% |
Hybrid PSO |
173.58 |
181.52 |
186.15 |
+1.2% |
NN-Assisted PSO |
212.85 |
191.79 |
207.00 |
-11.2% |
Analysis finds: In simple terrain, traditional PSO achieves the best path quality (173.31), while NN-Assisted PSO performs poorly (212.85), indicating complex algorithms may overfit in simple environments. In complex terrain, Mutated PSO and Hybrid PSO show better path quality.
4.3. Impact of terrain complexity on algorithm performance
Traditional PSO: Performance decreases significantly as complexity increases (fitness from 173.31 to 188.37).Variable social weight PSO: Performs best in medium terrain (fitness 178.07).Mutated PSO: Shows significant advantage in complex terrain (fitness 186.35, 1.1% improvement over traditional PSO).NN-Assisted PSO: Performance fluctuates greatly, sensitive to environmental changes.
4.4. Statistical significance test
Algorithm Comparison |
Conv. Iterations |
Optimal Fitness |
Trad. vs Variable social weight |
0.043* |
0.062 |
Trad. vs Mutated |
0.012* |
0.038* |
Trad. vs NN-Assisted |
0.001** |
0.000** |
*Note: * p<0.05 (significant), ** p<0.01 (highly significant)*
Test results indicate: Improved algorithms show significant differences in convergence speed compared to traditional PSO, but differences in path quality need to be analyzed in conjunction with the specific environment.
5. Conclusion and outlook
5.1. Comprehensive algorithm performance evaluation
Based on the experimental results, an algorithm selection decision matrix is proposed:
Algorithm Type |
Simple Terr. |
Medium Terr. |
Complex Terr. |
Real-Time |
Comp. Resources |
Traditional PSO |
Recommended |
Applicable |
Not Rec. |
High |
Low |
Variable social weight PSO |
Applicable |
Recommended |
Applicable |
Medium |
Medium |
Mutated PSO |
Recommended |
Applicable |
Recommended |
Medium |
Medium |
Hybrid PSO |
Applicable |
Recommended |
Recommended |
Medium |
Medium-High |
Neural network-assisted PSO |
Not Rec. |
Applicable |
Applicable |
Low |
High |
5.2. Engineering application suggestions
Based on different task requirements, the following algorithm selection strategies are recommended:
In military reconnaissance missions, which often involve complex and ever - changing battlefield environments, there are extremely high demands on the stability of path quality and the algorithm's adaptability to the environment. The Mutated Particle Swarm Optimization (Mutated PSO) and Hybrid Particle Swarm Optimization (Hybrid PSO), relying on their unique optimization mechanisms, can still ensure that the planned paths are of high quality in situations such as complex terrain and unknown obstacles. At the same time, they show strong adaptability to various sudden environmental changes, thus becoming the preferred choices in this field.For agricultural plant protection tasks, the operating environment is mostly medium - complexity scenarios like farmland. It is necessary to ensure operational accuracy while taking into account computational efficiency to meet the needs of large - scale plant protection operations. The Variable Social Weight Particle Swarm Optimization (Variable social weight PSO) performs excellently in such scenarios. It not only can maintain stable performance in medium - complexity environments to ensure the rationality of plant protection paths but also can significantly improve computational efficiency by optimizing weight parameters, effectively adapting to the actual operation rhythm of agricultural plant protection.The core of emergency rescue missions lies in "rapid response". Especially in relatively simple environments, the ability to quickly plan a feasible path is directly related to the timeliness of the rescue. The Traditional Particle Swarm Optimization (Traditional PSO) has obvious real - time advantages in this aspect. Its algorithm structure is relatively simple, and the computing process is efficient. It can complete path planning in simple environments in a short time, striving for precious time for emergency rescue.In the field of logistics distribution, due to the large differences in the complexity of the distribution environment, which ranges from simple environments such as urban main roads to complex ones like alleyways in urban villages, it is necessary to dynamically select algorithms according to the environmental complexity. When faced with simple environments with clear road structures and few obstacles, the Traditional Particle Swarm Optimization is sufficient to efficiently complete path planning. When the environmental complexity increases, such as in the presence of a large number of intersections and restricted areas, the Hybrid Particle Swarm Optimization can better cope with the situation, thus ensuring the efficiency and accuracy of logistics distribution.Logistics Distribution: Dynamically select based on environmental complexity: Traditional PSO for simple, Hybrid PSO for complex.
5.3. Algorithm improvement directions
Based on the findings, the following improvement directions are proposed to enhance the performance and applicability of path planning algorithms in diverse scenarios.
Firstly, adaptive parameter adjustment emerges as a critical area for development. Current algorithms often rely on manually set parameters, which may not optimally align with varying environmental complexities—ranging from simple open terrains to highly intricate urban or battlefield landscapes. By designing mechanisms that automatically adjust key parameters (such as inertia weight, cognitive, and social coefficients in PSO) in real time based on environmental feedback, the algorithms can dynamically optimize their search behavior, thereby improving both efficiency and robustness across different operational contexts.
Secondly, advancing hybrid intelligent algorithms presents a promising avenue. While PSO exhibits strong local search capabilities and rapid convergence, it may suffer from premature stagnation in complex environments. Integrating PSO with complementary algorithms such as Genetic Algorithms (known for global exploration through selection, crossover, and mutation) or Simulated Annealing (effective in escaping local optima via probabilistic acceptance of worse solutions) can synergistically enhance the global search capability. This hybrid approach can balance exploration and exploitation, enabling the algorithm to navigate more effectively through large and complex solution spaces.
Thirdly, deep learning integration offers significant potential for refining environmental perception and prediction. Traditional path planning methods often struggle with processing high-dimensional terrain data, such as satellite images or LiDAR scans, which contain rich spatial features. By improving neural network architectures—specifically leveraging Convolutional Neural Networks (CNNs) to extract and process terrain image features (e.g., obstacle distributions, terrain gradients, and accessibility)—the system can more accurately interpret environmental characteristics. This enhanced feature extraction, in turn, boosts the precision of path prediction and adaptability to visually complex scenarios, such as unstructured rural areas or disaster-stricken zones.
Lastly, prioritizing multi-objective optimization is essential to address the multifaceted demands of real-world tasks. Current algorithms frequently focus on single objectives, such as minimizing path length, which may conflict with other critical metrics in practical applications. For instance, military reconnaissance requires balancing path safety with speed, while logistics distribution must optimize fuel consumption alongside delivery time. By formulating optimization frameworks that simultaneously consider multiple objectives—including path length, energy consumption, time efficiency, and risk avoidance—algorithms can generate more comprehensive and practical solutions that align with the complex trade-offs inherent in real operational requirements.
5.4. Research limitations and future outlook
This study has certain limitations: it only considered static environments, relied on a random peak model for terrain generation, and failed to take dynamic obstacles and uncertainty factors into account. To address these and advance the field, future research directions should focus on developing real - time replanning algorithms suitable for dynamic environments, exploring multi - UAV cooperative path planning, conducting multi - objective optimization that considers physical constraints such as endurance, and validating the proposed methods through actual flight tests.
References
[1]. Xiaokang, D., Jinbao, C., Chuanzhi, C., Yingxue, Z., & Zeyu, Z. (2024). UAV Path Planning with Improved PSO Algorithm Based on Levy Flight. ACM International Conference Proceeding Series, 86–91.
[2]. Chen, Y., Li, X., & Zhang, H. (2024). A multi-strategy enhanced seagull optimization algorithm integrated with PSO for robust UAV 3D path planning. Expert Systems with Applications, 238(Part C), 122045.
[3]. Wang, L., Liu, B., Sun, C., & Zhang, M. (2024). Three-dimensional dynamic path planning for unmanned ships via a novel adaptive particle swarm optimization algorithm. Ocean Engineering, 303, 117741.*
[4]. Zhang, W., Jin, Y., & Yang, S. X. (2023). A hierarchical path planning approach for UAVs based on multi-objective PSO and convex optimization. IEEE Transactions on Intelligent Transportation Systems, 24(6), 6570-6582.
[5]. Li, Z., & Duan, H. (2023). An enhanced multi-objective chaotic particle swarm optimizer for UAV 3D path planning in complex environments. ISA Transactions, 132, 436-449.*
[6]. Qu, C., Gai, W., & Zhong, M. (2023). A hybrid improved PSO and differential evolution algorithm for 3D path planning of autonomous underwater vehicles. Applied Ocean Research, 130, 103446.*
[7]. Lin, N., Tang, J., & Chen, G. (2023). UAV 3D path planning in mountain obstacle environments using an improved pigeon-inspired optimization with PSO cooperation. Aerospace Science and Technology, 133, 108107.*
[8]. Zheng, C., Li, L., Peng, H., & Xu, F. (2022). A hybrid 3D path planning method for UAVs based on adaptive particle swarm optimization and Bézier curve. Journal of Computational Science, 62, 101696.*
[9]. Duan, H., Zhao, J., Deng, Y., & Deng, C. (2022). Dynamic multi-objective pigeon-inspired optimization for UAV multi-task 3D path planning. Science China Information Sciences, 65(5), 152203.
[10]. Pei, Z., Zhang, D., & Shi, Y. (2022). A knowledge-guided multi-objective particle swarm optimization for multi-UAV cooperative 3D path planning. Swarm and Evolutionary Computation, 68, 101000.*
[11]. Zhu, Q., Zhang, Y., & Liu, B. (2022). 3D path planning for UAV based on improved particle swarm optimization with adaptive inertia weight and chaotic mutation. International Journal of Aerospace Engineering, 2022, Article ID 9520737.
[12]. Yang, P., Tang, K., & Lozano, J. A. (2024, July). A constraint-handling mechanism based PSO for 3D UAV path planning under dynamic threat environments. In Proceedings of the 2024 Genetic and Evolutionary Computation Conference (GECCO '24). ACM.
[13]. Liu, S., & Tan, G. (2023, October). 3D path planning for mobile robots using a Lévy flight-based hybrid particle swarm optimization-grey wolf optimizer. In 2023 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (pp. 9873-9879). IEEE.
[14]. Wang, X., & Chen, W. (2023, December). Multi-objective 3D path planning for UAVs based on modified multi-swarm PSO with elite learning. In 2023 IEEE International Conference on Unmanned Systems (ICUS) (pp. 1123-1129). IEEE.
[15]. Zhang, H., & Li, M. (2022, November). A 3D path planning method for autonomous underwater vehicles based on adaptive particle swarm optimization in structured environment. In 2022 IEEE International Conference on Mechatronics and Automation (ICMA) (pp. 1674-1679). IEEE.
[16]. Kumar, A., & Sharma, R. (2022, May). 3D path planning of UAV in urban environment using binary particle swarm optimization and neural networks. In 2022 International Conference on Emerging Smart Computing and Informatics (ESCI) (pp. 1-6). IEEE.
[17]. Garcia, M. A. P., & Monteiro, J. L. (2022, July). Three-dimensional path planning for drones in urban environments using a combination of PSO and splines. In 2022 International Conference on Unmanned Aircraft Systems (ICUAS) (pp. 1345-1352). IEEE.
Cite this article
Shen,S. (2025). Research on UAV Flight Trajectory Based on PSO and Improved PSO Algorithms. Applied and Computational Engineering,192,7-15.
Data availability
The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.
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 EWA Publishing and/or the editor(s). EWA Publishing 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.
About volume
Volume title: Proceedings of CONF-MCEE 2026 Symposium: Advances in Sustainable Aviation and Aerospace Vehicle Automation
© 2024 by the author(s). Licensee EWA Publishing, Oxford, UK. This article is an open access article distributed under the terms and
conditions of the Creative Commons Attribution (CC BY) license. Authors who
publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons
Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this
series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published
version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial
publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and
during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See
Open access policy for details).
References
[1]. Xiaokang, D., Jinbao, C., Chuanzhi, C., Yingxue, Z., & Zeyu, Z. (2024). UAV Path Planning with Improved PSO Algorithm Based on Levy Flight. ACM International Conference Proceeding Series, 86–91.
[2]. Chen, Y., Li, X., & Zhang, H. (2024). A multi-strategy enhanced seagull optimization algorithm integrated with PSO for robust UAV 3D path planning. Expert Systems with Applications, 238(Part C), 122045.
[3]. Wang, L., Liu, B., Sun, C., & Zhang, M. (2024). Three-dimensional dynamic path planning for unmanned ships via a novel adaptive particle swarm optimization algorithm. Ocean Engineering, 303, 117741.*
[4]. Zhang, W., Jin, Y., & Yang, S. X. (2023). A hierarchical path planning approach for UAVs based on multi-objective PSO and convex optimization. IEEE Transactions on Intelligent Transportation Systems, 24(6), 6570-6582.
[5]. Li, Z., & Duan, H. (2023). An enhanced multi-objective chaotic particle swarm optimizer for UAV 3D path planning in complex environments. ISA Transactions, 132, 436-449.*
[6]. Qu, C., Gai, W., & Zhong, M. (2023). A hybrid improved PSO and differential evolution algorithm for 3D path planning of autonomous underwater vehicles. Applied Ocean Research, 130, 103446.*
[7]. Lin, N., Tang, J., & Chen, G. (2023). UAV 3D path planning in mountain obstacle environments using an improved pigeon-inspired optimization with PSO cooperation. Aerospace Science and Technology, 133, 108107.*
[8]. Zheng, C., Li, L., Peng, H., & Xu, F. (2022). A hybrid 3D path planning method for UAVs based on adaptive particle swarm optimization and Bézier curve. Journal of Computational Science, 62, 101696.*
[9]. Duan, H., Zhao, J., Deng, Y., & Deng, C. (2022). Dynamic multi-objective pigeon-inspired optimization for UAV multi-task 3D path planning. Science China Information Sciences, 65(5), 152203.
[10]. Pei, Z., Zhang, D., & Shi, Y. (2022). A knowledge-guided multi-objective particle swarm optimization for multi-UAV cooperative 3D path planning. Swarm and Evolutionary Computation, 68, 101000.*
[11]. Zhu, Q., Zhang, Y., & Liu, B. (2022). 3D path planning for UAV based on improved particle swarm optimization with adaptive inertia weight and chaotic mutation. International Journal of Aerospace Engineering, 2022, Article ID 9520737.
[12]. Yang, P., Tang, K., & Lozano, J. A. (2024, July). A constraint-handling mechanism based PSO for 3D UAV path planning under dynamic threat environments. In Proceedings of the 2024 Genetic and Evolutionary Computation Conference (GECCO '24). ACM.
[13]. Liu, S., & Tan, G. (2023, October). 3D path planning for mobile robots using a Lévy flight-based hybrid particle swarm optimization-grey wolf optimizer. In 2023 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (pp. 9873-9879). IEEE.
[14]. Wang, X., & Chen, W. (2023, December). Multi-objective 3D path planning for UAVs based on modified multi-swarm PSO with elite learning. In 2023 IEEE International Conference on Unmanned Systems (ICUS) (pp. 1123-1129). IEEE.
[15]. Zhang, H., & Li, M. (2022, November). A 3D path planning method for autonomous underwater vehicles based on adaptive particle swarm optimization in structured environment. In 2022 IEEE International Conference on Mechatronics and Automation (ICMA) (pp. 1674-1679). IEEE.
[16]. Kumar, A., & Sharma, R. (2022, May). 3D path planning of UAV in urban environment using binary particle swarm optimization and neural networks. In 2022 International Conference on Emerging Smart Computing and Informatics (ESCI) (pp. 1-6). IEEE.
[17]. Garcia, M. A. P., & Monteiro, J. L. (2022, July). Three-dimensional path planning for drones in urban environments using a combination of PSO and splines. In 2022 International Conference on Unmanned Aircraft Systems (ICUAS) (pp. 1345-1352). IEEE.