Improved particle swarm optimization algorithm: multi-target trajectory optimization for swarm drones

Minze Li, Wei Zhao, Ran Chen, Mingqiang WeiarXiv 2025 · DOI

Abstract

This paper introduces PE-PSO (Persistent Exploration Particle Swarm Optimization), a revamped algorithm designed for real-time trajectory planning for drone swarms. By combining a "reset" mechanism for underperforming particles with entropy-based parameter tuning, the researchers reduced planning times from seconds to milliseconds while ensuring drones navigate complex, dynamic environments without colliding.

Introduction

Planning a path for a single drone is relatively straightforward, but doing it for a swarm in a fast-changing environment—such as a forest or a busy urban canyon—is a computational nightmare. Traditional Particle Swarm Optimization (PSO), an algorithm inspired by bird flocking, is a popular choice for these problems because it is simple and parallelizable. However, it has two fatal flaws for real-time use: premature convergence, where the swarm gets stuck in local optima, and high latency, which prevents rapid re-calculation in dynamic scenarios.

Methodology

The authors propose a multi-agent framework that integrates three core innovations to address these challenges:

The proposed multi-agent framework integrates Genetic Algorithms for task allocation with the PE-PSO loop for trajectory generation.
  • PE-PSO (Persistent Exploration): Unlike standard PSO, which lets all particles converge toward a single solution, PE-PSO identifies the worst-performing percentage of the population in every iteration and reinitializes them. This "persistent exploration" prevents the algorithm from getting stuck and allows it to adapt instantly if an obstacle suddenly appears.
  • Entropy-Based Parameter Tuning: The algorithm uses information entropy to measure the diversity of the swarm. If the swarm becomes too uniform (low entropy), it dynamically adjusts the inertia and learning weights ($w, c_1, c_2$) to push the particles back into exploration mode.
  • B-Spline Trajectory Modeling: Instead of treating a path as a long list of discrete waypoints, trajectories are modeled using B-spline curves. This reduces the number of variables the optimizer needs to handle and guarantees smooth, physically feasible flight paths.
  • Hybrid Task Allocation: A Genetic Algorithm (GA) handles high-level task assignment, while the distributed PE-PSO handles low-level trajectory generation.

Experimental Evaluation

The researchers evaluated their approach using the CEC2017 Benchmark Functions to test global search capabilities and custom MATLAB Simulations to benchmark trajectory quality against algorithms like Grey Wolf Optimizer (GWO) and Artificial Bee Colony (ABC). Finally, the XTDrone Platform (ROS/Gazebo) was used to verify the feasibility of the paths in a high-fidelity physics engine.

Key Results

  • Speedup: PE-PSO achieved a mean planning time of 0.326 seconds, compared to 2.69s for DNSPSO and 1.39s for GWO. This order-of-magnitude improvement is essential for online flight.
  • Optimization Quality: On the CEC2017 benchmarks, PE-PSO outperformed other improved PSO variants by an average of 9.54% to 12.72%.
  • Safety: In simulations with multiple obstacles, PE-PSO maintained an ideal safety margin (1 meter), whereas other algorithms either cut corners too close to obstacles or took excessively long, inefficient detours.
Simulation results showing three drones successfully navigating around circular obstacles to reach their targets using the PE-PSO framework.

Discussion and Future Work

The paper highlights a strategic trade-off: while PE-PSO might not always find the absolute shortest path, it consistently finds the safest and most energy-efficient path that can be calculated in real-time.

However, limitations remain. The stochastic nature of the "reset" mechanism means convergence times can vary, which may be a hurdle for safety-critical certifications. Future work will address "communication-aware" models for environments with weak signals and extend the framework to heterogeneous swarms involving different types of UAVs.

Summary updated

BibTeX
@misc{li2025improved,
  author = {Minze Li and Wei Zhao and Ran Chen and Mingqiang Wei},
  title = {{Improved particle swarm optimization algorithm: multi-target trajectory optimization for swarm drones}},
  year = {2025},
  eprint = {2507.13647},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.13647},
}
Figure