Research on Formation Transformation Algorithms for Multi-Rotor Drone Formations

In recent years, the rapid advancement of unmanned aerial vehicle (UAV) technology has led to widespread applications in agriculture, military operations, mapping, healthcare, and entertainment, such as drone light shows. Among these, multi-drone systems have garnered significant attention due to their potential for collaborative tasks. A critical aspect of multi-drone systems is drone formation control, which includes formation keeping, assembly, dispersal, reconfiguration, and transformation. Specifically, drone formation transformation—the process of shifting from an initial formation to a target formation—plays a pivotal role in mission success and efficiency. For instance, in military scenarios, rapid formation changes are essential for adaptive tactics; in mapping, coordinated formations enhance coverage and reduce costs; and in aerial performances, synchronized transformations create visually stunning patterns. However, the path planning problem for drone formation transformation is a high-dimensional optimization challenge, where computational complexity grows exponentially with the number of drones. This paper addresses this issue by proposing a novel algorithm based on a linearly decreasing inertia weight discrete particle swarm optimization (DPSO) approach. I first mathematically model the drone formation transformation problem, with objectives to minimize total transformation time and energy consumption. Then, I redefine the operators in DPSO to suit discrete optimization and investigate the inertia weight’s impact. Simulation results demonstrate the algorithm’s effectiveness in achieving desired formation outcomes, outperforming traditional methods.

The core problem in drone formation transformation lies in assigning each drone to a position in the target formation while optimizing performance metrics. To simplify, I assume all drones move at constant velocities, neglect turning energy and environmental disturbances, and ensure reliable communication to prevent collisions. Let the initial formation positions be denoted as \( S = [S_1, S_2, \cdots, S_n] \) and the target formation positions as \( T = [T_1, T_2, \cdots, T_n] \), where \( S_i \) and \( T_i \) are coordinate vectors in 2D or 3D space for the \( i \)-th drone, and \( n \) is the number of drones. The transformation involves finding a mapping from \( S \) to \( T \) that optimizes specific goals. Two primary objectives are considered: minimizing the total transformation time and minimizing the total energy consumption across all drones.

For time-optimal drone formation transformation, each drone moves at a constant speed \( v \). The time for the \( i \)-th drone to travel from its initial position to its assigned target position is given by:

$$ t_i = \frac{d_i}{v} $$

where \( d_i \) is the Euclidean distance between the initial position of drone \( i \) and its assigned target position. If \( \pi \) represents a permutation mapping drones to target positions, then \( d_i = \| S_i – T_{\pi(i)} \| \). The overall transformation time is determined by the maximum time among all drones, as the formation change completes only when the slowest drone arrives. Thus, the objective function to minimize is:

$$ f_{\text{time}} = \min_{\pi} \max_{i} \frac{\| S_i – T_{\pi(i)} \|}{v} $$

This can be simplified by considering \( v \) as constant, leading to:

$$ f_{\text{time}} = \min_{\pi} \max_{i} \| S_i – T_{\pi(i)} \| $$

For energy-optimal drone formation transformation, energy consumption is assumed proportional to the total distance traveled by all drones. This is reasonable for battery-powered drones where kinetic energy dominates. The objective function minimizes the sum of distances:

$$ f_{\text{energy}} = \min_{\pi} \sum_{i=1}^{n} \| S_i – T_{\pi(i)} \| $$

In practice, these objectives can be weighted or combined for multi-objective optimization, but this paper focuses on them separately to illustrate the algorithm’s flexibility. The problem reduces to finding an optimal permutation \( \pi \) that minimizes either \( f_{\text{time}} \) or \( f_{\text{energy}} \), which is inherently discrete and NP-hard for large \( n \).

To solve this, I adopt a discrete particle swarm optimization (DPSO) algorithm, which is effective for combinatorial optimization. Standard PSO operates in continuous spaces, but drone formation transformation requires discrete solutions—specifically, permutations of target assignments. In DPSO, each particle represents a candidate mapping \( \pi \), encoded as an \( n \times 2 \) matrix where the first column lists drone indices and the second column lists assigned target indices. The velocity of a particle is defined as a sequence of transformation operators that modify this mapping. The DPSO update equations are:

$$ V_{i}^{t+1} = w \otimes V_{i}^{t} \oplus c_3 \otimes (P_{i}^{t} \ominus X_{i}^{t}) \oplus c_4 \otimes (G^{t} \ominus X_{i}^{t}) $$

$$ X_{i}^{t+1} = X_{i}^{t} + V_{i}^{t+1} $$

Here, \( V_{i}^{t} \) is the velocity of particle \( i \) at iteration \( t \), \( X_{i}^{t} \) is its position (the current mapping), \( P_{i}^{t} \) is the personal best mapping, \( G^{t} \) is the global best mapping, \( w \) is the inertia weight, and \( c_3 \) and \( c_4 \) are learning factors. The operators \( \otimes \), \( \oplus \), \( \ominus \), and \( + \) are redefined for discrete spaces, as detailed below.

First, I define a transformation factor as a swap operation on the mapping matrix. Let \( (L_a, L_b) \) denote swapping elements in rows \( a \) and \( b \) of column \( L \), where \( L \in \{1, 2\} \). For example, if the mapping matrix is \( X \), applying \( (2_3, 2_4) \) swaps the target assignments for drones 3 and 4. A transformation sequence \( T \) is an ordered list of such factors:

$$ T = [(L_{a_1}, L_{b_1}), (L_{a_2}, L_{b_2}), \cdots, (L_{a_k}, L_{b_k})] $$

The length \( |T| \) represents the velocity magnitude. Based on this, the operators are redefined:

Operator Definition Description
\( \ominus \) \( A \ominus B \) yields a transformation sequence from \( B \) to \( A \) Computes the sequence of swaps to convert mapping \( B \) into mapping \( A \)
\( \otimes \) \( c \otimes T \) truncates \( T \) to length \( \lfloor c \cdot |T| \rfloor \) Scales the transformation sequence by constant \( c \), where \( c \) is \( w \), \( c_3 \), or \( c_4 \)
\( \oplus \) \( T_1 \oplus T_2 \) concatenates sequences \( T_1 \) and \( T_2 \) Combines multiple transformation sequences into one
\( + \) \( X + T \) applies sequence \( T \) to mapping \( X \) Updates the mapping by performing swaps in order

These definitions enable DPSO to efficiently explore the discrete search space of drone formation transformations. For instance, \( P_{i}^{t} \ominus X_{i}^{t} \) computes how to change the current mapping to match the personal best, and \( w \otimes V_{i}^{t} \) retains a fraction of previous velocity. The learning factors \( c_3 \) and \( c_4 \) control the influence of personal and global bests, typically set such that \( c_3 + c_4 \leq 1 \). In this work, I use \( c_3 = c_4 = 0.5 \) for balanced exploration.

A key parameter in DPSO is the inertia weight \( w \), which balances global exploration and local exploitation. Traditionally, \( w \) is set to 1 in discrete versions, but this can lead to slow convergence. I propose a linearly decreasing inertia weight strategy to enhance performance. The value of \( w \) at iteration \( t \) is given by:

$$ w(t) = w_{\text{start}} – \frac{w_{\text{start}} – w_{\text{end}}}{\text{MaxIter}} \cdot t $$

where \( w_{\text{start}} \) and \( w_{\text{end}} \) are initial and final values, and MaxIter is the maximum iterations. Through empirical testing, I found that \( w_{\text{start}} = 0.9 \) and \( w_{\text{end}} = 0.4 \) yield optimal convergence for drone formation problems. As \( w \) decreases, the algorithm transitions from broad search to fine-tuning, reducing oscillation and accelerating convergence. Compared to a fixed \( w = 1 \), this approach shows superior performance, as illustrated in simulation results.

To validate the proposed linearly decreasing inertia weight DPSO (LDW-DPSO) for drone formation transformation, I conduct simulations in MATLAB R2016a. The setup involves \( n = 5 \) drones, with initial and target formations randomly generated in 3D space to ensure generality. The algorithms compared include: (1) LDW-DPSO with \( w_{\text{start}} = 0.9 \) and \( w_{\text{end}} = 0.4 \), (2) DPSO with fixed \( w = 1 \), and (3) a genetic algorithm (GA) with standard crossover and mutation. Parameters are set as: population size = 35, MaxIter = 2000, \( c_3 = c_4 = 0.5 \), and each algorithm runs 50 times for statistical significance. The objective is to minimize \( f_{\text{time}} \) and \( f_{\text{energy}} \) separately; here, I present results for \( f_{\text{time}} \) as it is more critical in time-sensitive applications like drone shows.

The convergence behavior is analyzed by plotting the best objective value over iterations. LDW-DPSO demonstrates faster convergence, reaching near-optimal solutions within 500 iterations, while fixed-weight DPSO and GA require over 1000 iterations. This aligns with the inertia weight’s role in controlling search dynamics. Quantitative results are summarized in the table below, showing average final objective values and standard deviations over 50 runs.

Algorithm Average \( f_{\text{time}} \) (units) Standard Deviation Convergence Iteration (avg)
LDW-DPSO 12.34 0.56 480
DPSO (\( w=1 \)) 13.89 0.78 1200
Genetic Algorithm 14.21 0.92 1500

LDW-DPSO achieves a lower average \( f_{\text{time}} \), indicating better optimization of drone formation transformation. The standard deviation is also smaller, suggesting robustness. For energy minimization, similar trends are observed, with LDW-DPSO reducing total distance by approximately 15% compared to GA. These results confirm that the linear decrease in \( w \) enhances DPSO’s efficiency for discrete optimization in multi-drone systems.

Furthermore, I test scalability by increasing \( n \) to 10 and 20 drones. Although computation time rises, LDW-DPSO maintains superior performance, with objective values consistently lower than alternatives. This scalability is crucial for real-world applications where large drone formations are used, such as in massive aerial displays or swarm robotics. The algorithm’s ability to handle 3D transformations also extends its applicability beyond planar scenarios, addressing limitations in prior work.

In addition to numerical results, the visual aspect of drone formation transformation is important, especially for entertainment. The image above illustrates a drone light show, where precise formation changes create intricate patterns. Algorithms like LDW-DPSO enable such performances by ensuring minimal time for transitions, allowing seamless visual effects. This highlights the practical relevance of optimizing drone formation paths.

Despite the promising outcomes, there are areas for improvement. The current model assumes constant velocity and neglects collision avoidance beyond communication guarantees. In reality, drones may have dynamic constraints and require explicit collision-free paths. Future work could integrate kinematic models and obstacle avoidance into the DPSO framework. Moreover, the learning factors \( c_3 \) and \( c_4 \) could be adaptively tuned based on swarm diversity to further boost convergence. Another direction is multi-objective optimization, simultaneously minimizing time and energy using Pareto-based methods.

In conclusion, this paper presents a novel approach to drone formation transformation using a linearly decreasing inertia weight discrete particle swarm optimization algorithm. By mathematically modeling the problem with time and energy objectives, and redefining DPSO operators for discrete spaces, I enable efficient path planning for multi-drone systems. The linear decrease in inertia weight accelerates convergence, as validated through simulations comparing LDW-DPSO to fixed-weight DPSO and genetic algorithms. The algorithm effectively handles both 2D and 3D transformations, making it suitable for diverse applications like military missions, mapping, and aerial shows. While assumptions simplify the problem, the core methodology provides a foundation for more complex scenarios. Continued research on parameter adaptation and collision avoidance will further enhance the practicality of drone formation control algorithms, paving the way for advanced autonomous swarms.

Scroll to Top