In this paper, I address the optimization problem of formation configuration and communication topology for fixed-wing drones considering attack-defense confrontation and minimum information flow requirements. The fixed-wing drone swarm operates in a highly dynamic environment where both spatial formation and network connectivity must be jointly optimized to enhance combat effectiveness while reducing communication costs. I establish a comprehensive index system for formation configuration, propose a hierarchical formation design model for large-scale swarms, and introduce a situation field model to quantify the overall battlefield advantage. For communication topology, I develop a communication cost model and a Q‑learning based network connectivity control algorithm to balance signal strength, link cost, power consumption, and detection probability. Simulation results demonstrate the effectiveness of the proposed methods in achieving a near‑optimal formation with significantly reduced computational time compared to global optimization, and the Q‑learning approach outperforms random and nearest‑neighbor routing strategies in communication efficiency.
The remainder of this paper is organized as follows. Section 2 describes the modeling of formation configuration and communication topology. Section 3 details the optimization algorithms, including particle swarm optimization for formation parameters and Q‑learning for topology routing. Section 4 presents simulation experiments and analysis. Section 5 concludes the paper.
1. Formation Configuration Modeling
I consider a fixed-wing drone swarm consisting of N agents connected through a communication topology G. The formation is time‑varying and collaborates to accomplish a mission. To quantitatively evaluate the formation effectiveness, I establish a formation configuration index system that integrates detection capability, attack capability, survivability, and communication capability. The overall situation field of the drone is defined as:
$$ S_i = S_d \left( \omega_1 S_a + \omega_2 S_l + \omega_3 S_c \right) $$
where \(S_d\) is the detection capability, \(S_a\) is the attack capability, \(S_l\) is the survivability, \(S_c\) is the communication capability, and \(\omega_1, \omega_2, \omega_3\) are weights determined by triangular fuzzy numbers.
The detection capability model is given by:
$$ S_d = \ln(1 + Q_d) $$
with
$$ Q_d = \begin{cases} \frac{R_d^2}{4} \cdot \frac{\vartheta_R}{2\pi} \cdot P_d \cdot K_d \cdot m_d^{0.05} / r, & 0 \le r \le R_d \\ 0, & r > R_d \end{cases} $$
where \(R_d\) is the maximum detection range, \(\vartheta_R\) the maximum search azimuth, \(P_d\) the target acquisition probability, \(K_d\) the guidance system coefficient, \(m_d\) the number of simultaneously tracked targets, and \(r\) the distance to the target.
The attack capability is expressed as:
$$ S_a = \ln(1 + Q_a) $$
with
$$ Q_a = \begin{cases} 0, & r < r_{\min} \\ K_D \cdot \frac{r_{\max} P_h \xi_m}{2\pi} \cdot \frac{n_{\max}}{35} \cdot \frac{\omega_{\max}}{20} / r, & r_{\min} \le r \le r_{\max} \\ 0, & r > r_{\max} \end{cases} $$
where \(K_D\) is the guidance correction coefficient, \(P_h\) the single‑hit probability, \(\xi_m\) the attack angle range, \(n_{\max}\) the maximum overload, \(\omega_{\max}\) the maximum tracking angular rate, \(r_{\max}\) the maximum range, and \(r_{\min}\) the minimum attack distance.
Survivability is modeled as:
$$ S_l = \ln(1 + Q_l) $$
with
$$ Q_l = \frac{10}{W} \cdot \frac{15}{L} \cdot \frac{5}{A_{RCS}} \cdot (1 – m_{des}) \cdot \left( \sum_{i=1}^{N} \frac{r_i}{R_{bat}} \right)^{0.5} $$
where \(W\) is the wingspan, \(L\) the length, \(A_{RCS}\) the radar cross‑section area, \(m_{des}\) the vulnerability coefficient, \(r_i\) the distance to the i‑th drone, and \(R_{bat}\) the battlefield environment control radius.
Communication capability is given by:
$$ S_c = \begin{cases} \ln\left(1 + \eta_{dl} \sum_{i=1}^{N} \frac{R_{dl}}{r_i}\right)^{0.5}, & 0 \le r \le R_{dl} \\ 0, & r > R_{dl} \end{cases} $$
where \(\eta_{dl}\) is the data link reliability and \(R_{dl}\) the maximum communication range.
The overall situation field of the fixed-wing drone swarm is the sum of individual situation fields:
$$ S^+ = \sum_{i=1}^{N} S_i $$
To account for the swarm size effect, I introduce the exchange ratio \(k_s\):
$$ k_s = \frac{1}{\sum_{i=1}^{N} P_{cost}(i)} $$
where \(P_{cost}(i)\) is the operational cost of drone \(i\). The average situation field becomes \(\bar{S}^+ = k_s S^+\).
For the enemy interception force with \(X\) nodes, the situation field is \(S^- = \sum_{j=1}^{X} S_j\). The fitness function for formation optimization is defined as the ratio of area where own situation exceeds enemy situation to the total battlefield area:
$$ J = \frac{ \text{Area}\{ S^+ – S^- > 0 \} }{ \text{Area}(Bat) } $$
where \(Bat\) denotes the battlefield environment.
I design a hierarchical formation structure to efficiently handle large‑scale fixed-wing drone swarms. The formation is decomposed into several layers. At the first layer, eight basic formation types are defined with binary coding (Table 1). Each basic formation can represent a small unit of 2 or 3 drones. The overall formation is encoded by recursively applying the basic formations at each layer.
| Swarm size | Formation type | Code |
|---|---|---|
| 2 | line | 000 |
| staggered | 001 | |
| echelon left | 010 | |
| echelon right | 011 | |
| 3 | V‑shape | 100 |
| inverted V | 101 | |
| diamond | 110 | |
| triangle | 111 |
The expected position of the k‑th follower in a basic formation relative to the virtual leader is given by:
$$ \mathbf{pos}_{i}^{k} = [x_r^*,\; y_r^*,\; z_r^*]^\mathsf{T} $$
where \(x_r^*, y_r^*, z_r^*\) are the desired separations in the axial, lateral, and vertical directions.
2. Communication Topology Modeling
For the fixed-wing drone swarm, I assume that the minimum communication topology must contain a directed spanning tree rooted at the virtual leader to support cooperative control. The communication cost between drones \(i\) and \(j\) is defined as:
$$ \text{Com}_{ij} = \frac{ \omega_{2,c} \text{Com}2_{ij} + \omega_{3,c} \text{Com}3_{ij} + \omega_{4,c} \text{Com}4_{ij} }{ \omega_{1,c} \text{Com}1_{ij} } $$
where \(\text{Com}1_{ij}\) is the communication strength, \(\text{Com}2_{ij}\) the link cost, \(\text{Com}3_{ij}\) the power consumption, \(\text{Com}4_{ij}\) the detection probability, and \(\omega_{1,c},\dots,\omega_{4,c}\) are weights.
The individual components are modeled as:
- Communication strength: \(\text{Com}1_{ij} = 1 – \frac{r_{ij}}{R_{dl}}\)
- Link cost: \(\text{Com}2_{ij} = \exp\left( \frac{r_{ij} – \bar{R}_{dl}}{R_{dl}} \right)^2\) where \(\bar{R}_{dl}\) is the nominal range
- Power consumption: \(\text{Com}3_{ij} = \ln(1 + W_t)\) with \(W_t = \frac{B r_{ij}}{B^* \bar{R}_{dl}} W^*\)
- Detection probability: \(\text{Com}4_{ij} = f_r \cdot \frac{W_t}{W_m} \cdot \left(1 – \frac{r_{ij}}{R_{dl}}\right)\)
Here \(B\) is the communication bandwidth, \(B^*\) the nominal bandwidth, \(W^*\) the nominal power, \(W_m\) the maximum power, and \(f_r\) the frequency‑dependent coefficient.
3. Optimization Algorithms
3.1 Particle Swarm Optimization for Formation Configuration
I employ a particle swarm optimization (PSO) algorithm to determine the optimal formation parameters for each layer. The algorithm proceeds as follows:
- For the first layer, evaluate the fitness \(J\) for all eight basic formations, and use PSO to optimize the formation scale parameter. The formation achieving the highest fitness is selected.
- Treat the optimal positions from the first layer as centers for the next layer. Repeat the PSO optimization for each node until the total number of drones reaches \(N\).
- Combine the results from all layers to obtain the global formation configuration.
The PSO update rules are standard:
$$ v_i^{(t+1)} = w v_i^{(t)} + c_1 r_1 (p_{best,i} – x_i^{(t)}) + c_2 r_2 (g_{best} – x_i^{(t)}) $$
$$ x_i^{(t+1)} = x_i^{(t)} + v_i^{(t+1)} $$
where \(w\) is the inertia weight, \(c_1, c_2\) are acceleration coefficients, and \(r_1, r_2\) are random numbers.
3.2 Q‑Learning for Communication Topology
I formulate the communication topology optimization as a reinforcement learning problem. The state space is the set of all fixed-wing drones (including the virtual leader). The action space for each drone is the set of neighbors within communication range. The reward function is defined as:
$$ f_R(s, a) = \begin{cases} F_{\max}, & \text{if } (v_0, v_j) \text{ direct link from leader} \\ \frac{F_{\max}}{\text{Com}_{ij}}, & \text{for } (v_i, v_j) \text{ with } i \neq 0 \end{cases} $$
The Q‑value update rule is:
$$ Q(s_{t+1}, a_{t+1}) = (1 – \alpha) Q(s_t, a_t) + \alpha \left[ f_R(s_t, a_t) + \gamma \max_{a’} Q'(s_{t+1}, a’) \right] $$
where \(\alpha\) is the learning rate and \(\gamma\) the discount factor. I use an \(\epsilon\)-greedy policy to balance exploration and exploitation. The algorithm proceeds as follows:
- Initialize the Q‑matrix with zero for reachable links and −1 for unreachable ones based on distance \(r_{ij} \le R_{dl}\).
- For each drone, select the action with the highest Q‑value, receive the reward, and update Q.
- Repeat until Q converges. Then, starting from the farthest drone, trace the optimal path to the leader, forming the main communication backbone.
- If some drones are not yet connected, add the shortest path to the backbone.
4. Simulation Experiments and Analysis
I consider a fixed-wing drone swarm of size \(N = 8\) (hunter‑killer type) operating in a \(30\ \text{km} \times 30\ \text{km}\) battlefield. The enemy interception force has \(X = 5\) nodes with a probabilistic distribution area of \(3\ \text{km} \times 2\ \text{km}\). The virtual leader starts at position \((-1200\ \text{m}, 12250\ \text{m}, -500\ \text{m})\) with initial speed \(250\ \text{m/s}\), heading toward a dynamic assembly point moving at \((50,0,50)\ \text{m/s}\). The desired terminal angles are \(0^\circ\) in yaw and \(45^\circ\) in pitch. The performance parameters of each fixed-wing drone are listed in Table 2.
| Parameter | Value | Parameter | Value |
|---|---|---|---|
| \(K_D\) | 2 | \(P_h\) | 0.85 |
| \(\xi_m\) | 60° | \(n_{\max}\) | 6 |
| \(\omega_{\max}\) | 35 °/s | \(R_d\) | 19 km |
| \(\vartheta_R\) | 65° | \(P_d\) | 0.95 |
| \(K_d\) | 1.6 | \(m_d\) | 3 |
| \(W\) | 0.8 m² | \(L\) | 5 m |
| \(A_{RCS}\) | 0.3 m² | \(m_{des}\) | 3 |
| \(R_{bat}\) | 30 km | \(\eta_{dl}\) | 0.98 |
| \(R_{dl}\) | 7 km | — | — |
The virtual leader trajectory is obtained using a robust adaptive guidance law. At \(t = 5.35\ \text{s}\), the leader arrives at the origin. I then perform the hierarchical formation optimization. For the first layer, I evaluate all eight basic formations with PSO (20 particles, 30 iterations). Table 3 summarizes the optimal fitness values.
| Code | Optimal parameter | Maximum fitness | Iterations to converge |
|---|---|---|---|
| 000 | 2.9 | 0.651 | 20 |
| 001 | 2.1 | 0.623 | 14 |
| 010 | 2.1 | 0.714 | 14 |
| 011 | 2.1 | 0.684 | 17 |
| 100 | 2.5 | 0.796 | 13 |
| 101 | 3.4 | 0.718 | 20 |
| 110 | 2.1 | 0.705 | 13 |
| 111 | 2.1 | 0.707 | 14 |
The V‑shape formation (code 100) with a size parameter of 2.5 achieves the highest fitness of 0.796. I then proceed to the second and third layers, obtaining the final hierarchical formation configuration as shown in Table 4. The optimized formation spreads the fixed-wing drones to maximize the area where own situation field dominates the enemy’s.
| Layer 1 | Parameter | Layer 2 | Parameter | Layer 3 | Parameter |
|---|---|---|---|---|---|
| 100 | 2.5 | 000 | 10 | 001 | 1.7 |
| — | — | 011 | 17 | 000 | 1.1 |
| — | — | 010 | 12 | — | — |
To verify the computational efficiency, I compare the hierarchical approach with a global PSO optimization that optimizes all 8 drones simultaneously. Both methods yield a similar optimal configuration (V‑shape), but the hierarchical method requires only 1.935 s of computation, while the global method takes 6.325 s. This confirms that the hierarchical strategy significantly accelerates the optimization without sacrificing solution quality.
For communication topology optimization, I set the maximum communication range \(R_{dl} = 7\ \text{km}\). The Q‑learning parameters are: \(\alpha = 0.1\), \(\gamma = 0.9\), \(\epsilon = 0.1\), and \(F_{\max} = 1\). After 200 training episodes, the Q‑network converges. Taking drone No. 4 as an example, its Q‑values for connecting to neighbors 3, 6, and 8 stabilize at 0.67, 0.58, and 0.32 respectively, indicating that the link to drone 3 (with the highest Q‑value) is chosen. The final communication topology includes a directed spanning tree rooted at the virtual leader (node 9). Drones 2 and 3 connect to the leader via 6 and 3 hops respectively, forming the main backbone. All other drones are attached via shortest paths.
I compare the Q‑learning based routing with two baseline strategies: random routing and nearest‑neighbor routing. The experiments are repeated for swarm sizes of 5, 8, 12, and 16. For each size, I vary the number of available routing branches. Figure 1 (embedded below) illustrates the average communication performance (inverse of the cost function). The Q‑learning strategy consistently outperforms both baselines, especially when the number of routing branches is large. The nearest‑neighbor strategy performs moderately, while random routing yields the worst results.

The superiority of Q‑learning stems from its ability to balance multiple conflicting objectives (signal strength, link cost, power, detection probability) through the reward function. It automatically learns to avoid high‑cost links and establishes the most efficient routing paths.
5. Conclusion
I have presented a comprehensive optimization framework for fixed-wing drone formation configuration and communication topology. The hierarchical formation design, combined with particle swarm optimization, enables fast and near‑optimal spatial deployment that maximizes battlefield situational advantage. The Q‑learning based connectivity control algorithm effectively generates a minimum‑information‑flow communication topology that satisfies the requirements of cooperative control while minimizing communication costs. Simulation results demonstrate that the proposed methods offer significant improvements in computational efficiency and communication performance. Future work will extend the approach to heterogeneous fixed-wing drone swarms and dynamic reconfiguration under link failures.
