Next Article in Journal
iBANDA: A Blockchain-Assisted Defense System for Authentication in Drone-Based Logistics
Previous Article in Journal
Three-Dimensional Deployment Optimization of UAVs Using Symbolic Control for Coverage Enhancement via UAV-Mounted 6G Mobile Base Stations
Previous Article in Special Issue
Modeling and Simulation of Urban Laser Countermeasures Against Low-Slow-Small UAVs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dynamic Recovery and a Resilience Metric for UAV Swarms Under Attack

1
College of Automation Engineering, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China
2
State Key Laboratory of Mechanics and Control of Mechanical Structures, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China
*
Author to whom correspondence should be addressed.
Drones 2025, 9(8), 589; https://doi.org/10.3390/drones9080589
Submission received: 18 June 2025 / Revised: 14 August 2025 / Accepted: 18 August 2025 / Published: 20 August 2025
(This article belongs to the Collection Drones for Security and Defense Applications)

Abstract

Unmanned Aerial Swarms are attracting widespread interest in fields such as disaster response, environmental monitoring, and agriculture. However, there is still a lack of effective recovery strategies and comprehensive performance metrics for UAV swarms facing communication attacks, especially in capturing dynamic recovery. The aim of this study is to recover the split and disconnected UAV swarm under attacks. A dynamic recovery method is proposed under attacks by establishing the relationship between algebraic connectivity and consensus speed. The proposed recovery method enables each UAV to selectively establish communication links with responsive UAVs based on the proposed recovery method to reduce communication cost, rather than linking with all neighbours within communication range. Based on this, a set of performance indexes is introduced, considering factors such as consensus ability, communication efficiency, mission execution, and resource consumption. Furthermore, a resilience metric is proposed to quantitatively assess the efficiency of recovery and consensus transition, providing a comprehensive measure of the ability to reach consensus after attacks. Simulations utilizing the second-order consensus protocol and dynamics validate that the consensus speed of the proposed recovery method is 18.88 % faster than random recovery. The proposed resilience metric captures the change in the time from recovery to new consensus state, and the resilience of the proposed recovery method is 66.99 % higher than random recovery.

1. Introduction

Unmanned Aerial Swarms (UAVs) are attracting widespread interest in fields such as disaster response, environmental monitoring, and agriculture [1,2,3]. It is well-known that UAV swarms often work in challenging environments [4,5]. Unanticipated events, including intrusions and attacks, may lead to individual UAVs failing, losing communication, and being unable to continue the mission [6,7,8]. The critical issue for UAV swarms is maintaining function based on a communication topology after disruptions or attacks [9]. Thus, recovery of UAV swarms plays a key role in keeping communication topology [10,11,12].
The recovery process is based on the topology of the UAV swarm [13]. The goal of topology recovery is to maintain effective communication between remaining UAVs [14]. To this end, the recovery methods of UAV swarms have been the focus of extensive research. Redundancy-based approaches are traditionally incorporated into the recovery process [15,16,17]. However, these methods depend on redundant communication links and backup UAVs, which increases the cost. Recently, dynamic adaptive recovery methods have been applied to UAV swarm recovery. The swarm adjusts the communication topology based on global or local states, ensuring fast response to UAV failures or swarm splits. For example, neighbouring UAVs may extend their communication range or alter flight paths to compensate for lost connections. Early works in UAV swarm topological recovery explored distributed algorithms, allowing the swarm to repair broken communication links [18]. Although the adaptive recovery method enables UAV swarms to operate in a self-organized way, the method is not always applicable in dynamic environments [19].

1.1. Related Work

The main goal of UAV swarm recovery is to re-establish and maintain the connectivity of the swarm, ensuring that UAVs communicate and coordinate effectively. Over the years, various strategies have been proposed for UAV swarm recovery. Existing studies can be categorized into topology reconfiguration, optimization-based methods, task-aware recovery, and resilience evaluation.
Some researchers focused on restoring communication links by reconstructing the swarm topology. Zhang et al. [20] developed the recovery problem of leader–follower UAV swarms. Their study provided three recovery strategies to deal with leader disengagement, follower detachment, and new addition scenarios. But their strategies only permit one leader and lack flexibility in dynamic missions. Similarly, Li et al. [21] introduced recovery methods targeting different failure periods but primarily focused on reestablishing communication links without performance considerations. These methods operate in simplified 2D environments and do not assess swarm stability after recovery.
Optimization algorithms have been applied to improve recovery efficiency. Duan et al. [22] adopted a Hybrid Particle Swarm Optimization and Genetic Algorithm (HPSOGA) for multi-UAV formation reconfiguration. They described continuous control input by a piecewise linear strategy for swarm reformation scenarios. Yang et al. [23] applied a modified Artificial Bee Colony (ABC) algorithm to enhance efficiency and safety for the recovery of the UAV swarm. Feng et al. [24] conducted an Adaptive Learning-based Pigeon-Inspired Optimization (ALPIO) algorithm to find the target topology for the recovery of UAV swarms, and the performance of the recovered UAV swarm was superior to other global recovery optimization methods. These methods achieved faster reconnection, but often neglected the stability and convergence speed of the swarm after reconfiguration. They consider idealized communication without considering dynamic environmental interference or 3D kinematics.
More recent works integrate task execution into the recovery process. Liu et al. [25] designed a distributed matching algorithm to solve the recovery problem of a UAV swarm with multiple tasks. Chen et al. [26] utilized a joint optimization model with maintenance and task rescheduling to achieve autonomous recovery. Wei et al. [27] proposed a co-adaptation method for resilience rebound in UAV swarms conducting surveillance missions, where the framework dynamically adjusts formation and task allocation after disruptions to maintain mission continuity. These works highlight the importance of mission-awareness during recovery, but lack evaluation of how quickly and stably the swarm regains coordinated behaviour after damage.
Recent studies discuss the importance of time-based resilience metrics [28,29,30,31,32]. For instance, Cheng et al. [33] proposed a joint reconnaissance resilience framework that measures the mission capability of the UAV swarm under threat. Phadke et al. [34] reviewed UAV swarm resilience requirements and pointed out that the proposed integrated framework enhances the ability of the swarm to withstand disruptions. Feng et al. [35] proposed a recovery importance index to recover the UAV swarm, and the mission convergence area and communication status were involved. However, most existing metrics focus either on topological connectivity or coverage, without fully addressing dynamic performance, such as the time required to reach a new consensus state or the stability of the swarm during recovery.
All in all, few existing studies combine topology recovery and consensus convergence into a single time-based resilience metric. Most existing metrics evaluate either connectivity or task performance separately and do not measure the time required to reach a stable consensus after an attack. In addition, many approaches assume simple planar motion models and do not include measures for performance after recovery. Few methods consider three-dimensional dynamics with six degrees of freedom, and even fewer quantify the time to reach a new consensus state, which is an essential factor for assessing the realistic resilience of UAV swarms. Therefore, this paper aims to develop a dynamic recovery method for split UAV swarms under attack by linking algebraic connectivity to consensus speed, introducing comprehensive performance indexes and a resilience metric to evaluate recovery and consensus efficiency.

1.2. Contribution and Paper Organization

A critical problem exists in UAV swarms after being attacked—specifically, the swarms split into isolated clusters, resulting in the loss of coordinated operation. Thus, developing a recovery method for maintaining connectivity is still a significant challenge. Moreover, most performance descriptions focus only on communication capability, which is inadequate. Therefore, a comprehensive performance is needed. Furthermore, existing resilience metrics often fail to reflect changes to the recovery algorithm. Hence, this paper proposes a recovery algorithm and designs a resilience metric under attacks. The main contributions include the following:
  • A novel dynamic recovery method is proposed that considers maximizing the speed of consensus after an attack. The method involves a disconnected UAV swarm after an attack, dynamic behaviour, and consensus control of the UAV swarm.
  • The performance of the UAV swarm is evaluated from the combined perspectives of consensus, communication, mission, and resources. A comprehensive description of the UAV swarm is provided.
  • A resilience metric is further proposed, focusing on the time from stopping recovery to a new consensus state. The metric is sensitive to the change in the time from recovery to the new consensus state.
The remainder of this paper is organized as follows. Section 2 defines the problem formulation. Section 3 introduces the proposed recovery method. Section 4 details the performance indexes and resilience metric. Section 5 discusses the experimental results. Finally, Section 6 summarizes the conclusions of this work.

2. Problem Formulation

Definition 1.
(UAV Degree k): For UAV swarms, the degree k of a UAV is defined as the total number of communication links both to and from the UAV, as defined in our previous work [29].
A UAV swarm can be modelled by an undirected graph G = V , E , where V = v i | i = 0 , 1 , 2 , , N denotes the set of UAVs, and E = e i | i = 1 , 2 , , M represents the set of communication links among UAVs. E is induced by the adjacency matrix A = [ a i j ] . For the i-th UAV v i , if it is within the communication range of UAV v j , the weight a i j , which is an element of A , is equal to 1 (i.e., a i j = 1 ); otherwise, it is zero. The Laplacian matrix L = [ l i j ] of G is defined as L = D A , where D = d i a g ( k 0 , k 1 , , k N ) is the diagonal degree matrix and k i is the degree of the UAV v i in swarm G . The Laplacian L of G can also be represented by L = B B = = 1 M b b . B denotes incidence matrix of G , with -th column b . The vector b has entries + 1 and 1 in the UAVs connected by the communication link; specifically, b i = 1 , b j = 1 , and all other entries are zero. Let the eigenvalues of L be 0 = λ 1 λ 2 λ N . The second-smallest eigenvalue λ 2 is denoted as an algebraic connectivity α ( G ) . The normalized eigenvector associated with algebraic connectivity is called the Fiedler vector [36].
Assuming part of the UAVs in the UAV swarm G are under attack, the attacked UAVs are wirelessly disconnected from the swarm. This means that the corresponding communication links of the attacked UAV did not exist. The severe attacks split the swarm into several clusters. The attacked swarm with multiple clusters can be modelled using an undirected and disconnected graph G = ( V , E ) , where V = v i | i = 0 , 1 , 2 , , N represents the set of remained UAVs and E represents the set of remained communication links. L is the Laplacian of G . The number of zero eigenvalues of L represents the number of split clusters in the attacked swarm.
Definition 2.
(Isolated UAVs): The isolated UAV in the swarm G means that its degree is zero (i.e., k = 0 ). For the special case of only one UAV in the cluster, in other words, the UAV degree is 0, which refers to the isolated UAVs. The set of isolated UAVs is I = { v i V | k = 0 } .
Definition 3.
(UAV Cluster): A group of UAVs C i V is called a UAV cluster if, for any v i , v j C i , there exists a communication link between v i , v j .
Typically, all UAVs fly with a pre-defined safety distance and the same velocity, thereby forming a coordinated formation. However, when communication links among UAVs are disrupted due to an attack, the swarm is split into multiple clusters. In this case, the safety distance and velocity can only be maintained in each cluster, while inter-cluster coordination fails due to the lack of communication between clusters. This may lead to the downtime of the entire swarm system. To address this issue, this work proposes an algorithm for the rapid recovery of the communication network. Once inter-cluster communication is recovered, the swarm can re-establish coordination among clusters, enabling the entire swarm to maintain the desired inter-UAV safety distances. A summary of the main symbols is provided in Table 1.

3. Proposed Recovery Method

3.1. Swarm Dynamics and Consensus Control

A swarm of fixed-wing UAVs is considered in this study. The i-th fixed-wing UAV in the swarm has dynamics of
x ˙ i = V i c o s γ i c o s χ i y ˙ i = V i c o s γ i s i n χ i z ˙ i = V i s i n γ i V i ˙ = T i D i m i s i n γ i γ i ˙ = L i c o s ϕ i m i g c o s γ i m i V i χ i ˙ = L i s i n ϕ i m i V i c o s γ i
where x i ,   y i ,   z i are the position along three dimensions [37]. V i is the ground velocity of the i-th UAV. γ i and χ i are the pitch and yaw angles. ϕ i is the roll angle. T i and D i denote the thrust and drag force of the i-th UAV. L i is the lift. g represents the gravitational acceleration. m i is the mass of the fixed-wing UAV.
In this work, feedback linearization is applied to transform the nonlinear dynamics of the fixed-wing UAV to second-order dynamics for more straightforward swarm control designing [38,39]. The second-order dynamic of the UAV is given as
x ¨ i = u x i y ¨ i = u y i z ¨ i = u z i
where u x i ,   u y i ,   and   u z i are the virtual control inputs that adjust the acceleration of the i-th UAV. The virtual input u i through the entire mission process is proposed as follows:
u i = u x i u y i u z i u i = ( 1 κ r ) u i p r e + κ r u i r e c
where u i is composed of u x i ,   u y i ,   and   u z i . u i consists of two parts, u i p r e before recovery and u i r e c according to the proposed recovery algorithm. κ r is a binary value that represents the signal of recovery, as described in Equation (4).
κ r = 1 , if recovery has started 0 , otherwise
u i p r e is the virtual input before starting recovery. The u i p r e minimizes the differences between communication UAVs, thus achieving consensus across the swarm [40]. u i p r e is introduced in Equation (5).
u i p r e = j N i ϕ α ( x j y j z j x i y i z i 2 ) n i j j N i ρ h ( x j y j z j x i y i z i 2 / R ) ( x j ˙ y j ˙ z j ˙ x i ˙ y i ˙ z i ˙ )
where N i represents the set of neighbours of UAV i. ϕ α is a smooth pairwise potential function. n i j is the vector along the communication link e i j . ρ h ( · ) is a bump function [40]. R is the communication range of the UAVs. Particularly, u i r e c is the virtual input of the UAV swarm once the recovery has started. u i r e c is proposed and described in the following section.

3.2. Swarm Recovery Strategy

Indeed, the recovery process is based on the swarm G with several clusters. From Equation (5), the corrupted communication link means that a i j is equal to zero. Thus, the isolated UAV or the UAV in each cluster can only compute the control input u i locally, without considering neighbouring UAVs. The proposed recovery method reconstructs a i j , leading to the connection between clusters or isolated UAVs and enhancing the UAV swarm connectivity. Then, the control input u i r e c is calculated based on the reconstructed wireless communication links, namely the recovered a i j .
The recovery of the swarm G is denoted by G r = ( V , E r ) . E r = E E s . E s is a set of m added communication links which is selected from candidate communication links E C on V , E E C = . E s is added to G for the greatest increase in algebraic connectivity of G r . Algebraic connectivity of the UAV swarm influences the speed of convergence, since higher connectivity generally leads to faster consensus. The second-smallest eigenvalue of the Laplacian matrix L r of the recovery swarm G r is the algebraic connectivity α ( G r ) . A large α ( G r ) indicates that the recovery swarm has stronger connectivity, faster consensus convergence, and higher resilience. The recovery of the UAV swarm can be described as follows:
m a x i m i z e α ( G r ) s u b j e c t t o G r = ( V , E r ) E r = E E s | E s | = m E s E C
where the optimization variable is the subset E s of recovery communication links. A communication link is added at each step. However, the recovery process is computationally intensive for UAV swarms. The problem of Equation (6) can be solved by a heuristic method other than exhaustive search. The inequality
α ( G r + H ) α ( G r ) + Tr ( H h h )
holds when α ( G r ) is simple and h is a unit-norm eigenvector associated with α ( G r ) [41]. H is any symmetric matrix. Thus, for isolated α ( λ 1 ( L ) < λ 2 ( L ) < λ 3 ( L ) ), the supergradient of α ( G r ) is
f ( α ( G r ) ) = F f ( L ) F
F is normalized Fiedler eigenvector according to α ( G r ) , F = [ f 1 , f 2 , , f N ] . Considering f ( α ( L ) ) = b b , the supergradient of α ( G r ) is
f ( α ( G r ) ) = F b b F = ( b F ) 2
= ( 0 1 1 0 f 1 f i f j f N ) 2 = ( f i f j ) 2
The zero eigenvalues of L have multiplicity s when G r is disconnected. In this case, the swarm has s UAV clusters. It is worth mentioning that following the change in α ( G r ) is complicated because of repeated eigenvalues of zero when G r is still disconnected. The added communication links can be a perturbation of G r . The fractional power p of the added communication links to eigenvalues of L is p 1 J , where J denotes the order of the Jordan submatrix. This means that even a newly added communication link can affect the eigenvalues of L . In addition, let F 1 , , F s be the vectors according to the multiple eigenvalue zero. F 1 = 1 n 1 1 n 1 1 n 1 0 0 , …, F s = 0 0 0 1 n s 1 n s . n 1 and n s are the number of UAVs in the first and last UAV cluster, respectively. ( f i f j ) 2 > 0 only when the added communication link connects two UAV clusters. Therefore, the recovery strategy should always link UAVs from different UAV clusters. In general, the increase in algebraic connectivity α ( G r ) can be approximated by Equation (10).
Accordingly, the proposed recovery method aims to solve the optimization problem with a heuristic method. The heuristic recovery method enables each UAV to selectively establish connections with responsive UAVs to reduce communication cost rather than linking with all neighbours within communication range. When communication fails, UAVs assess the reconnection criteria, prioritizing the maximization of algebraic connectivity. The heuristic method is divided into three main steps. At first, the isolated UAV is considered. It starts to find the largest connected clustered UAVs C i within the communication range. If no connected C i is found, it increases the transmit power and communication range until one is identified. It links the isolated UAV and the found C i and adds communication links until all isolated UAVs are connected. Hence, there exists a swarm without isolated UAVs.
The second key step deals with the existing UAV clusters. If the UAV swarm is still disconnected and composed of several connected clustered UAVs C i , the recovery process is continued for each UAV cluster. Next, it adds a communication link between the i-th UAV in the largest UAV cluster and the j-th UAV in the smallest UAV cluster, where both the i-th and j-th UAVs have the highest UAV degree. The process continues until all UAVs are connected.
Finally, the UAV swarm is connected, and communication links are added until the difference in algebraic connectivity between the current swarm and the updated swarm is less than a threshold ϵ . The threshold ϵ is set to 10 3 for balancing precision and practicality in the recovery process.
A small threshold helps recovery without adding too many communication links, thereby avoiding unnecessary computational costs. Overall, the improvement in algebraic connectivity is significant, and the proposed recovery process is completed. The proposed recovery method is described in detail in Algorithm 1.
Algorithm 1 Swarm recovery strategy.
1: Input: Disconnected swarm G , Adjacency matrix A of G , threshold ϵ = 10 3
2: Output: Recovered UAV swarm G r , Adjacency matrix A r of G r
3: for each isolated UAV I  do
4:    Find the largest connected connected clustered UAVs C i within communication range

5:    if  C i is not found then
6:       Increase communication range until C i is found
7:    end if
8:    Add a communication link between I and C i
9:    Update the adjacency matrix A r
10: end for
11: while the swarm G r is not connected do
12:    Identify the largest C m a x and smallest UAV cluster C m i n
13:    Add a link between UAVs with the highest degree in i C m a x and UAV j C m i n
14:    Update the adjacency matrix A r
15: end while
16: while Algebraic connectivity improvement Δ α ( G r ) > ϵ  do
17:    Add communication links according to Equation (10)
18:    Update the adjacency matrix A r
19: end while
At the same time, due to the proposed recovery strategy, new communication links are added. Hence, the adjacency matrix and Laplacian matrix are updated. The recovery consensus protocol u i r e c is designed as
u i r e c = j N i a i j r [ ϕ ( x j y j z j x i y i z i 2 d e ) n i j + ( x j ˙ y j ˙ z j ˙ x i ˙ y i ˙ z i ˙ ) ]
ϕ ( q ) = 1 2 [ ( a + b ) σ 1 ( q d e + c ) + ( a b ) ] σ 1 ( q d e + c ) = q d e + c 1 + ( q d e + c ) 2 c = | a b | 4 a b n i j = ( x j y j z j x i y i z i ) / 1 + ϵ x j y j z j x i y i z i 2
where a i j r is the element of the adjacency matrix A r after recovery. d e is the expected distance between the UAVs. ϕ ( q ) is a collective potential. Most importantly, the communication range of UAVs could be changed during the recovery process. n i j gives the gradient of distance. The constants a and b are equal to 10.
Remark 1. 
Moreover, for fixed-wing UAVs, the real control inputs are roll angle, lift, and thrust. Thus, the virtual control input u i should be transformed to the real control inputs, which are described as Equation (13) [37].
ϕ i = tan 1 u y i cos χ i u x i sin χ i ( u z i + g ) cos γ i η sin γ i L i = m i ( u z i + g ) cos γ i η sin γ i cos ϕ i T i = m i [ ( u z i + g ) sin γ i + η cos γ i ] + D i
where η = ( u x i cos χ i + u y i sin χ i ) .

4. Proposed Swarm Performance Indexes and Resilience Metric

4.1. Proposed Swarm Performance Indexes

The performance of UAV swarms can be described from four perspectives: consensus ability, communication ability, mission ability, and resource ability. Consensus ability denotes that each UAV of the UAV swarm achieves the same acceleration. Communication ability includes transmitting messages between UAVs. Mission ability means the completion of missions. Resource ability includes energy management, for example, of the battery. Therefore, the performance of UAV swarms can be described as a weighted sum of these four abilities.
However, it is hard to decide the weight of these four abilities. Thus, the analytic hierarchy process (AHP) is performed to calculate the weight [42]. Furthermore, the four abilities are measured by four different indexes, including variant of acceleration ( i d x 1 ), interaction between UAVs ( i d x 2 ), completion of missions ( i d x 3 ), and energy management ( i d x 4 ). The notations involved in the proposed swarm performance indexes and resilience metric are listed in Table 2. Compare the four indexes with each other to get the judgement matrix. The judgement is shown in Table 3. The weight is w = ( 0.54447 ,   0.25434 ,   0.15123 ,   0.04995 ) . The consistency index (CI) is 0.039 . The random index (RI) is 0.882 . Thus, the consistency ratio (CR) is C I / R I = 0.044 < 0.1 , and the judgement matrix can pass the consistency test.
Furthermore, the performance of UAV swarms can be set as:
y ( t ) = w [ i d x 1 , i d x 2 , i d x 3 , i d x 4 ] T = 0.54447 i d x 1 + 0.25434 i d x 2 + 0.15123 i d x 3 + 0.04995 i d x 4
i d x 1 = 1 v a r v n o r m , v a r v n o r m = ( v a r v v a r v m i n ) / ( v a r v m a x v a r v m i n ) is the variant of acceleration. i d x 2 = m s g s / m s g s 0 is calculated by the total messages between UAVs, and m s g s 0 is all the messages at t = 0 . i d x 3 is calculated by the coverage ratio of the UAV swarm to the initial coverage. This means part of the area is monitored by at least two UAVs. As shown in Figure 1, two UAVs are overlapped if the distance d between them is smaller than 3 R under the hexagonal approximation of two overlapped footprints [43].
Thus, the double convergence rate of the UAV swarm is the ratio of the number of two UAVs that are overlapped to the total number of UAVs. i d x 4 is calculated by the ratio of the remaining battery level to the initial battery level. The consumption of the battery increases as the transmission power increases. It is worth noting that all four indexes are normalized to the range of [ 0 ,   1 ] .

4.2. Proposed Resilience Metric

The resilience metric proposed in this section is directly derived from the core objectives and operational characteristics of Algorithm 1, aiming to precisely quantify its performance in terms of recovery speed and topological integrity. As shown in Figure 2, the performance of the UAV swarm is composed of five parts: normal operation, buffer, recovery, recovery to consensus, and new consensus state. y t is the performance of the UAV swarm, and y r is the new stable performance after recovery. It is worth mentioning that y b is the ζ percentage of its initial performance before attack. It is vital to measure the performance of a UAV swarm above ζ of its initial capability, as it emphasizes mission success by ensuring the swarm maintains a sufficient level of required functionality. t r is the time for complete recovery. t s is the time to the new consensus state. t f is the time to the end of the simulation.
The proposed resilience measurement is expressed as:
R s = E τ S R E = t r t α t s t r τ = t f [ 1 ( t s t r ) a ] S R = y r y b y b y r = t s t f y t t f t s y b = ζ 0 t α y t t α 0
where E is the ratio of buffer time and time to consensus after recovery. Buffer time represents the time after attack time t α but before recovery time t r . It allows the UAV swarm to absorb the impact of the attack and prepare for recovery. τ is a decreasing function that measures the increase in the time it takes to reach the new consensus state. t s t r is the transition time measured as the time interval from the end of the recovery action to the point where the states of all remaining UAVs converge within a predefined threshold. S R is the ratio of the performance of the UAV swarm after reaching the new consensus to y b .

5. Simulation

5.1. Configuration

In this study, the ground station serves as the controller, overseeing a functioning UAV swarm. The UAVs utilize distributed algorithms for local control and decision-making. However, two UAVs in the swarm communicate with the ground station to ensure that their local information is consistent with the global swarm. This communication enables the ground station to maintain global connectivity and provides real-time updates to the global Laplacian matrix. The scenario of the UAV swarm is shown in Figure 3.
The UAV swarm is supposed to be attacked and completely disrupted when performing disaster monitoring missions. Simulations are conducted based on Python and NetworkX, which model UAV dynamics, communication, and environmental interactions in 3D. The dynamics of the UAV are based on Equations (1) and (2), ensuring realistic movement. The UAV swarm performs a mission with randomly distributed UAV positions in a defined area. N UAVs in the swarm are attacked and removed based on the highest UAV degree k. Then, corresponding communication links are removed. The proposed recovery method is applied to the swarm after buffer time β [21,44].
The UAV swarm is distributed within an area of 500 m × 500 m × 100 m at an altitude between 800 m and 90 m. The communication frequency of each UAV is 100 Hz. The communication range R is 250 m. The simulations are performed using Python 3.7.2 and NetworkX 2.6.3 on Ubuntu 18.04.6, with an Intel i7-10700F processor (Intel, Santa Clara, CA, USA) and 16 GB RAM. The dynamics of the UAV swarm are simulated, including the normal operation, attacks, buffer, recovery process, and consensus, as shown in Figure 4. Figure 4a shows the UAV swarm operating normally at t = 0 s. There are ten UAVs in the swarm. Then, five UAVs in the swarm are attacked and disrupted at t = 2 s.
All the attacked UAVs and their corresponding communication links are removed from the swarm. After that, it should be noted that the UAVs may connect to others during the buffer time. Furthermore, as detailed in Figure 4c, the UAV swarm starts to recover via the proposed method after a buffer time at t = 4 s. x ,   y ,   z are the three-dimensional axes. One communication link is added to the UAV swarm after each communication instance. The recovery process is shown in Figure 4c–f. Finally, the recovery process is completed at t = 4.03 s.
The comparison of the proposed recovery method with the random recovery method is shown in Figure 5. The difference between the two methods is that the random recovery method randomly adds a communication link without considering the algebraic connectivity. Similarly, the random recovery method ends when the difference in algebraic connectivity between the current swarm and the updated swarm is less than a threshold ϵ . The value of ϵ was determined empirically. The smaller values lead to adding more communication links and costs without a significant improvement in recovery. On the other hand, larger values did not recover well. Therefore, the threshold ϵ is set as 10 3 . Thus, four communication links are added in the proposed recovery method, while two are added in the random recovery. It is apparent that the proposed recovery method has a higher α ( G r ) than the random recovery method.
After recovery, the UAV swarm continues to operate under consensus. The velocity of the UAV swarm by the proposed recovery method and random recovery can be shown in Figure 6. During t = 0 2 s, ten UAVs operate under normal conditions with different velocities. When t = 2 s, five UAVs—UAV1, UAV2, UAV4, UAV7 and UAV8—are attacked and removed. Therefore, the velocities of these UAVs are not shown in the figure after t = 2 s. Accordingly, the remained UAV clusters operate for a while during the buffer time. Then, the UAV cluster starts to recover via the proposed method, and its velocity drops in an instant. It could be inferred that the newly added communication links prevent the UAVs from becoming chaotic. After recovery, the UAV clusters are connected and able to reach consensus in the new state. The consensus is achieved at t = 66.88 s, which is much quicker than the random recovery method t = 82.45 s. It is clear that the consensus speed of the proposed method is 18.88 % faster than random recovery. Overall, the proposed recovery method is more efficient than the random recovery method for increasing the consensus speed.
Furthermore, the scalability of the proposed recovery method is evaluated by increasing the swarm size to N = 50 . A severe attack is simulated, where 25 UAVs (i.e., 50 % ) of the swarm are removed at t α = 2 s. As described in Figure 7, the proposed recovery method maintains fast convergence at t = 137.05 s, while the random recovery method takes longer, converging at t = 146.35 s. Compared to the case with N = 10 , the convergence takes more time due to the increased number of UAVs.
The performance of the UAV swarm based on the proposed performance indexes is shown in Figure 8. The total simulation time t f is 100 s. The inset of Figure 8 shows a zoom of the normal operation, attack, and buffer time. The UAV swarm is attacked at t = 2 s, and the performance of the UAV swarm degrades sharply. The buffer time is 2 s; during this period, the swarm absorbs the attack and prepares for recovery. After that, the proposed recovery method is performed until the algebraic connectivity between the current swarm and the updated swarm is less than a threshold ϵ . Furthermore, the swarm continues to perform in order to reach a new consensus state.
The resilience of the UAV swarm under attack is compared by the proposed resilience metric and two other resilience metrics in Refs. [28,45]; the results are shown in Table 4. It is apparent that the proposed recovery method has a higher resilience than the random recovery method measured by the proposed resilience metric. The proposed resilience metric is sensitive to the time from recovery to the new consensus state. Generally, the resilience should be more resilient with less time from recovery to a new consensus state. It should, however, be noted that the resilience metrics in Refs. [28,45] are both larger in the random recovery. However, they can not capture the change in time from recovery to the new consensus state. Moreover, the proposed resilience metric captures the change in the time from recovery to new consensus state, and the resilience of the proposed recovery method is 66.99 % higher than random recovery.
In addition, an intermittent attack scenario is considered as shown by the red dashed lines in Figure 9. Five UAVs are attacked and removed from each attack at t = 2 s, t = 12 s, t = 22 s, t = 32 s, t = 42 s, and t = 52 s. Hence, the proposed recovery method is re-triggered after each attack. Despite the intermittent attacks, the swarm regains connectivity and reaches consensus at t = 133.54 s. It is apparent that the proposed recovery is also efficient in recovering from intermittent attacks.
Figure 10 shows the change in the performance of UAV swarm y ( t ) during the same scenario. The performance drops sharply following each attack, then recovers over time. The stepwise drops reflect the attack times, while the rises indicate the ability to recover. The zoomed-in view of the early stage highlights the rapid initial response and the progressive improvement of the state of the UAV swarm. The resilience of the swarm measured by the proposed method is 0.7205 , which indicates a high level of resilience of the UAV swarm under intermittent attacks.

5.2. Discussion

Our results confirm that the proposed recovery method makes the UAV swarm connect faster. The proposed resilience metric specifically evaluated the recovery time until convergence. While the resilience metric effectively evaluated the proposed recovery method, more realistic factors should be involved. The communication of the UAV swarm assumes fixed range and stable links, but does not consider the communication capacity and delay of the communication links, which may introduce bias to the dynamic.
Future work should explore larger swarms with more UAVs, such as 100 or more, operating in complex environments. In addition, the influence of communication range should be examined, as it is an important factor affecting swarm connectivity and resilience. Future studies could also investigate recovery parameters from the resilience metric to further improve recovery efficiency.

6. Conclusions

In summary, a new dynamic recovery method, performance indexes, and a new resilience metric are proposed for the UAV swarm, which can increase the speed of consensus and thus improve the resilience of the UAV swarm under attack. Depending on the relationship between algebraic connectivity and consensus speed, the proposed dynamic recovery method can be more efficient than the random recovery method. For a realistic description of the UAV swarm, four aspects should be used, including the ability to reach consensus, communication, mission, and resource. To capture the change in time from recovery to a new consensus state, a resilience metric is proposed. Simulations conducted on the second-order consensus protocol and a six-degree-of-freedom (6-DOF) dynamic UAV swarm have shown the resilience of the UAV swarm under attack by the proposed method. Simulation results show that the resilience of the proposed recovery method is 66.99% higher than random recovery. The proposed recovery methods and resilience evaluation improve the real-world deployment of UAV swarms by enhancing their ability to quickly recover from attacks. This ensures more stable, autonomous operation in dynamic, uncertain environments, reducing the need for manual intervention and increasing mission reliability.

Author Contributions

Conceptualization, T.H.; methodology, T.H.; Writing—original draft, T.H.; Writing—review and editing, Y.Z., N.L. and B.J.; Funding acquisition, Y.Z., N.L. and B.J. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported by the International Cooperation and Exchange of the National Natural Science Foundation of China (Grant No. 62020106003), the National Natural Science Foundation of China (Grant No. 62273176).

Data Availability Statement

The original contributions presented in this study are included in the article; further inquiries can be directed to the corresponding author.

DURC Statement

Current research is limited to the unmanned aerial vehicle (UAV) swarm, which is beneficial for applications such as disaster response, environmental monitoring, and precision agriculture, and does not pose a threat to public health or national security. Authors acknowledge the dual-use potential of the research involving UAV swarm recovery and resilience measurement under communication attacks and confirm that all necessary precautions have been taken to prevent potential misuse. As an ethical responsibility, authors strictly adhere to relevant national and international laws about DURC. Authors advocate for responsible deployment, ethical considerations, regulatory compliance, and transparent reporting to mitigate misuse risks and foster beneficial outcomes.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Telikani, A.; Sarkar, A.; Du, B.; Santoso, F.; Shen, J.; Yan, J.; Yong, J.; Yap, E. Unmanned aerial vehicle-aided intelligent transportation systems: Vision, challenges, and opportunities. IEEE Commun. Surv. Tutor. 2025. accepted. [Google Scholar] [CrossRef]
  2. Joice, A.; Tufaique, T.; Tazeen, H.; Igathinathane, C.; Zhang, Z.; Whippo, C.; Hendrickson, J.; Archer, D. Applications of raspberry pi for precision agriculture—A systematic review. Agriculture 2025, 15, 227. [Google Scholar] [CrossRef]
  3. Alqefari, S.; Menai, M.E.B. Multi-UAV task assignment in dynamic environments: Current trends and future directions. Drones 2025, 9, 75. [Google Scholar] [CrossRef]
  4. Rezaee, M.R.; Hamid, N.A.W.A.; Hussin, M.; Zukarnain, Z.A. Comprehensive review of drones collision avoidance schemes: Challenges and open issues. IEEE Trans. Intell. Transp. Syst. 2024, 25, 6397–6426. [Google Scholar] [CrossRef]
  5. Javed, S.; Hassan, A.; Ahmad, R.; Ahmed, W.; Ahmed, R.; Saadat, A.; Guizani, M. State-of-the-art and future research challenges in UAV swarms. IEEE Internet Things J. 2024, 11, 19023–19045. [Google Scholar] [CrossRef]
  6. Cao, P.; Lei, L.; Cai, S.S.; Shen, G.; Liu, X.; Wang, X.; Zhang, L.; Zhou, L.; Guizani, M. Computational intelligence algorithms for UAV swarm networking and collaboration: A comprehensive survey and future directions. IEEE Commun. Surv. Tutor. 2024, 26, 2684–2728. [Google Scholar] [CrossRef]
  7. Wang, X.J.; Zhao, Z.H.; Yi, L.; Ning, Z.; Guo, L.; Yu, F.R.; Guo, S. A Survey on Security of UAV Swarm Networks: Attacks and Countermeasures. ACM Comput. Surv. 2024, 57, 1–37. [Google Scholar] [CrossRef]
  8. Ye, Z.Y.; Jiang, B.; Yu, Z.Q.; Cheng, Y.H. Adaptive descriptor sliding-mode observer-based dynamic event-triggered consensus of multiagent systems against actuator and sensor faults. IEEE Trans. Cybern. 2025, 55, 672–683. [Google Scholar] [CrossRef]
  9. Gong, J.Y.; Jiang, B.; Ma, Y.J.; Mao, Z. Distributed adaptive fault-tolerant formation control for heterogeneous multiagent systems with communication link faults. IEEE Trans. Aerosp. Electron. Syst. 2023, 59, 784–795. [Google Scholar] [CrossRef]
  10. Abdelkader, M.; Güler, S.; Jaleel, H. Aerial swarms: Recent applications and challenges. Curr. Robot. Rep. 2021, 2, 309–320. [Google Scholar] [CrossRef]
  11. Qian, M.S.; Jiang, B.; Liu, H.H.T. Dynamic surface active fault tolerant control design for the attitude control systems of UAV with actuator fault. Int. J. Control Autom. Syst. 2016, 14, 723–732. [Google Scholar] [CrossRef]
  12. Adam, M.S.; Abdullah, N.F.; Abu-Samah, A.; Amodu, O.A.; Nordin, R. Advanced path planning for UAV swarms in smart city disaster scenarios using hybrid metaheuristic algorithms. Drones 2025, 9, 64. [Google Scholar] [CrossRef]
  13. Gaydamaka, A.; Samuylov, A.; Moltchanov, D.; Ashraf, M.; Tan, B.; Koucheryavy, Y. Dynamic topology organization and maintenance algorithms for autonomous UAV swarms. IEEE Trans. Mob. Comput. 2024, 23, 4423–4439. [Google Scholar] [CrossRef]
  14. Manikandan, K.; Sriramulu, R. Optimized path planning strategy to enhance security under swarm of unmanned aerial vehicles. Drones 2022, 6, 336. [Google Scholar] [CrossRef]
  15. Liang, X.; Liu, L.; He, L.; Shi, Z.; Ren, B. UAV swarm formation reconfiguration based on fixed-time consensus. Syst. Eng. Electron. 2018, 40, 1506–1512. [Google Scholar] [CrossRef]
  16. Li, B.; Zhang, J.W.; Dai, L.; Teo, K.L.; Wang, S. A hybrid offline optimization method for reconfiguration of multi-UAV formations. IEEE Trans. Aerosp. Electron. Syst. 2021, 57, 506–520. [Google Scholar] [CrossRef]
  17. Zhang, Y.W.; Oğuz, S.; Wang, S.P.; Garone, E.; Wang, X.; Dorigo, M.; Heinrich, M.K. Self-reconfigurable hierarchical frameworks for formation control of robot swarms. IEEE Trans. Cybern. 2024, 54, 87–100. [Google Scholar] [CrossRef]
  18. Shang, B.D.; Shafin, R.; Liu, L. UAV swarm-enabled aerial reconfigurable intelligent surface (SARIS). IEEE Wirel. Commun. 2021, 28, 156–163. [Google Scholar] [CrossRef]
  19. Tian, J.Y.; Wei, R.X.; Jiang, L.T. Formation construction and reconfiguration control of UAV swarms: A perspective from distributed assignment and optimization. Nonlin. Dynam. 2024, 112, 21171–21191. [Google Scholar] [CrossRef]
  20. Zhang, H.; Zhang, G.; Yang, R.; Feng, Z.; He, W. Resilient Formation Reconfiguration for Leader-Follower Multi-UAVs. Appl. Sci. 2023, 13, 7385. [Google Scholar] [CrossRef]
  21. Li, H.X.; Sun, Q.; Wang, M.H.; Liu, C.; Xie, Y.; Zhang, Y. A baseline-resilience assessment method for UAV swarms under heterogeneous communication networks. IEEE Syst. J. 2022, 16, 6107–6118. [Google Scholar] [CrossRef]
  22. Duan, H.; Luo, Q.; Shi, Y.; Ma, G. Hybrid particle swarm optimization and genetic algorithm for multi-UAV formation reconfiguration. IEEE Comput. Intell. Mag. 2013, 8, 16–27. [Google Scholar] [CrossRef]
  23. Yang, Z.; Yang, F.; Mao, T.; Xiao, Z.; Han, Z.; Xia, X. Reconfiguration for UAV Formation: A Novel Method Based on Modified Artificial Bee Colony Algorithm. Drones 2023, 7, 595. [Google Scholar] [CrossRef]
  24. Feng, Q.; Hai, X.S.; Sun, B.; Ren, Y.; Wang, Z.; Yang, D.; Feng, Y.H.R. Resilience optimization for multi-UAV formation reconfiguration via enhanced pigeon-inspired optimization. Chin. J. Aeronaut. 2022, 35, 110–123. [Google Scholar] [CrossRef]
  25. Liu, D.X.; Du, Z.Y.; Liu, X.D.; Luan, H.; Xu, Y.; Xu, Y. Task-based network reconfiguration in distributed UAV swarms: A bilateral matching approach. IEEE/ACM Trans. Netw. 2022, 30, 2688–2700. [Google Scholar] [CrossRef]
  26. Chen, W.K.; Hai, X.S.; Fan, D.M.; Tan, L.; Zhang, W.; Feng, Q. Resilience-oriented real-time decision-making for autonomous recovery in multi-UAV systems. In Proceedings of the 2024 IEEE 19th Conference on Industrial Electronics and Applications, Kristiansand, Norway, 5–8 August 2024; IEEE: New York, NY, USA, 2024; pp. 1–6. [Google Scholar] [CrossRef]
  27. Wei, K.; Zhang, T.; Zhang, C. A co-adaptation method for resilience rebound in unmanned aerial vehicle swarms in surveillance missions. Drones 2024, 8, 4. [Google Scholar] [CrossRef]
  28. Bai, G.H.; Li, Y.J.; Fang, Y.N.; Zhang, Y.A.; Tao, J. Network approach for resilience evaluation of a UAV swarm by considering communication limits. Reliab. Eng. Syst. Safe 2020, 193, 106602. [Google Scholar] [CrossRef]
  29. Hu, T.Z.; Zong, Y.; Lu, N.Y.; Jiang, B. Toward the resilience of UAV swarms with percolation theory under attacks. Reliab. Eng. Syst. Safe 2025, 254, 110608. [Google Scholar] [CrossRef]
  30. Markina-Khusid, A.; B Jacobs, R.; Antul, L.; Cho, L.; T Tran, H. A complex network framework for validated assessments of systems of systems robustness. IEEE Syst. J. 2022, 16, 1092–1102. [Google Scholar] [CrossRef]
  31. Phadke, A.; Antonio Medrano, F.; Chu, T. Engineering resiliency in UAV swarms-A bibliographic analysis. J. Phys. Conf. Ser. 2022, 2330, 012007. [Google Scholar] [CrossRef]
  32. Li, H.X.; Sun, Q.; Ren, K.Z.; Xie, Y.; Liu, C.; Zhang, Y. Dynamic resilience assessment of UAV swarm for battlefield surveillance mission. In Proceedings of the 2021 IEEE International Conference on Unmanned Systems, Beijing, China, 15–17 October 2021; IEEE: New York, NY, USA, 2021; pp. 472–477. [Google Scholar] [CrossRef]
  33. Cheng, C.; Bai, G.; Zhang, Y.A.; Tao, J. Resilience evaluation for UAV swarm performing joint reconnaissance mission. Chaos 2019, 29, 053132. [Google Scholar] [CrossRef] [PubMed]
  34. Phadke, A.; Medrano, F.A.; Starek, M. U-SMART: Unified swarm management and resource tracking framework for unoccupied aerial vehicles. Drone Syst. Appl. 2024, 12, 1–26. [Google Scholar] [CrossRef]
  35. Feng, Q.; Liu, M.; Sun, B.; Dui, H.; Hai, X.; Ren, Y.; Lu, C.; Wang, Z. Resilience measure and formation reconfiguration optimization for multi-UAV systems. IEEE Internet Things J. 2024, 11, 10616–10626. [Google Scholar] [CrossRef]
  36. Fiedler, M. Algebraic connectivity of graphs. Czech Math. J. 1973, 23, 298–305. [Google Scholar] [CrossRef]
  37. Noth, A.; Bouabdallah, S.; Siegwart, R. Dynamic Modeling of Fixed-Wing UAVs; Laboratoty Report; Swiss Federal Institute of Technology: Zurich, Switzerland, 2006. [Google Scholar]
  38. Sun, D.W.; Kwon, C.; Hwang, I. Hybrid flocking control algorithm for fixed-wing aircraft. J. Guid. Control Dynam. 2019, 42, 2443–2455. [Google Scholar] [CrossRef]
  39. Jiang, B.; Shen, Q.K.; Shi, P. Neural-networked adaptive tracking control for switched nonlinear pure-feedback systems under arbitrary switching. Automatica 2015, 61, 119–125. [Google Scholar] [CrossRef]
  40. Olfati-Saber, R. Flocking for multi-agent dynamic systems: Algorithms and theory. IEEE Trans. Automat. Control 2006, 51, 401–420. [Google Scholar] [CrossRef]
  41. Ghosh, A.; Boyd, S. Growing well-connected graphs. In Proceedings of the 45th IEEE Conference on Decision and Control, San Diego, CA, USA, 13–15 December 2006; IEEE: New York, NY, USA, 2006; pp. 6605–6611. [Google Scholar] [CrossRef]
  42. Vaidya, O.S.; Kumar, S. Analytic hierarchy process: An overview of applications. Eur. J. Oper. Res. 2006, 169, 1–29. [Google Scholar] [CrossRef]
  43. Anjum, M.N.; Wang, H.; Fang, H. Coverage analysis of random UAV networks using percolation theory. In Proceedings of the 2020 International Conference on Computing, Networking and Communications, Big Island, HI, USA, 17–20 February 2020; pp. 667–673. [Google Scholar] [CrossRef]
  44. Zhang, P.T.; Wu, T.; Cao, R.H.; Li, Z.; Xu, J. UAV swarm resilience assessment considering load balancing. Front. Phys. 2022, 10, 821321. [Google Scholar] [CrossRef]
  45. Francis, R.; Bekera, B. A metric and frameworks for resilience analysis of engineered and infrastructure systems. Reliab. Eng. Syst. Safe 2014, 121, 90–103. [Google Scholar] [CrossRef]
Figure 1. The disaster monitoring area of the UAV swarm.
Figure 1. The disaster monitoring area of the UAV swarm.
Drones 09 00589 g001
Figure 2. The relationship between time and UAV swarm performance.
Figure 2. The relationship between time and UAV swarm performance.
Drones 09 00589 g002
Figure 3. Description of the mission scenario of the UAV swarm.
Figure 3. Description of the mission scenario of the UAV swarm.
Drones 09 00589 g003
Figure 4. Behaviour of a UAV swarm during normal operation, under attack, and at recovery. The blue lines represent the communication links added during the recovery process. (a) Initial state at t = 0 s. (b) Being attacked at t = 2 s. (c) Starting to recover and add a communication link after a buffer time at t = 4 s. (d) Recovering and adding a communication link at t = 4.01 s. (e) Recovering and adding a communication link at t = 4.02 s. (f) Recovering and adding a communication link at t = 4.03 s.
Figure 4. Behaviour of a UAV swarm during normal operation, under attack, and at recovery. The blue lines represent the communication links added during the recovery process. (a) Initial state at t = 0 s. (b) Being attacked at t = 2 s. (c) Starting to recover and add a communication link after a buffer time at t = 4 s. (d) Recovering and adding a communication link at t = 4.01 s. (e) Recovering and adding a communication link at t = 4.02 s. (f) Recovering and adding a communication link at t = 4.03 s.
Drones 09 00589 g004
Figure 5. α ( G r ) of the UAV swarm after an attack under different recovery methods.
Figure 5. α ( G r ) of the UAV swarm after an attack under different recovery methods.
Drones 09 00589 g005
Figure 6. Velocity of UAVs in the swarm with N = 10 by different methods.
Figure 6. Velocity of UAVs in the swarm with N = 10 by different methods.
Drones 09 00589 g006
Figure 7. Velocity of UAVs in the swarm with N = 50 by different methods.
Figure 7. Velocity of UAVs in the swarm with N = 50 by different methods.
Drones 09 00589 g007
Figure 8. The performance change in the UAV swarm with N = 10 , being attacked at t = 2 s.
Figure 8. The performance change in the UAV swarm with N = 10 , being attacked at t = 2 s.
Drones 09 00589 g008
Figure 9. Velocity of UAVs in the swarm with N = 50 under intermittent attack.
Figure 9. Velocity of UAVs in the swarm with N = 50 under intermittent attack.
Drones 09 00589 g009
Figure 10. The performance change in the UAV swarm with N = 50 under intermittent attack.
Figure 10. The performance change in the UAV swarm with N = 50 under intermittent attack.
Drones 09 00589 g010
Table 1. Summary of notations.
Table 1. Summary of notations.
SymbolDescription
G , G , G r Swarm before attack, after attack, and at recovery start with added links
E , E s , E r , E C Communication links in G , links added to G at recovery start, links in G r , and all possible links in a complete graph of G excluding existing links
N, N Number of UAVs in the swarm before and after attack
α ( G ) Algebraic connectivity of swarm G
A, a i j Adjacency matrix of swarm with element a i j indicating edge between i and j
B, b l Incidence matrix of UAV swarm with l-th edge vector column b l
kUAV degree
C i UAV cluster
I Set of isolated UAVs, special case of UAV cluster C i
x i , y i , z i Position of UAV i in 3D space
V i Velocity of UAV i
γ i , χ i , ϕ i Pitch, yaw and roll angles of UAV i
T i , D i , L i The thrust, drag force and lift of UAV i
u i , u i p r e , u i r e c   Virtual input of UAV i: current, before recovery, and when recovery start
κ r A binary value represents the signal of recovery
tTime variable
N i The number of neighbours of UAV i
ϕ α A smooth pairwise potential function
n i j The vector along the communication link e i j
ρ h ( · ) A bump function.
RCommunication range of the UAVs
F, f i Normalized Fiedler eigenvector according to α ( G r ) , f i is the ith element of F
n i The number of UAVs in the UAV cluster C i
Table 2. Summary of notations of proposed performance metric and resilience metric.
Table 2. Summary of notations of proposed performance metric and resilience metric.
SymbolDescription
i d x 1 , i d x 2 , i d x 3 , i d x 4 Variant of acceleration, interaction between UAVs, completion of missions, energy management
y ( t ) The performance of UAV swarms
y r The new stable performance after recovery
y b The ζ percentage of its initial performance before attack. It emphasizes mission success by ensuring the swarm maintains a sufficient level of required functionality
t α Attack time
t r The time complete recovery
t s The time to the new consensus state
t f The time to the end of the simulation
R s The proposed resilience metric
EThe ratio of buffer time and time to consensus after recovery
τ A decreasing function that measures the increase in the time it takes to reach the new consensus state
S R The ratio of the performance of the UAV swarm after reaching the new consensus to y b
t r t α Buffer time: the time after attack time t α but before recovery time t r . It allows the UAV swarm to absorb the impact of the attack and prepare for recovery.
t s t r The transition time measured as the time interval from the end of the recovery action to the point where the states of all remaining UAVs converge within a predifined threshold
Table 3. Importance of the indexes.
Table 3. Importance of the indexes.
Indexes idx 1 idx 2 idx 3 idx 4
i d x 1 1347
i d x 2 0.333126
i d x 3 0.250.514
i d x 4 0.1430.1670.251
Table 4. Resilience of the UAV swarm under attack.
Table 4. Resilience of the UAV swarm under attack.
MethodResilience in Ref. [28]Resilience in Ref. [45]Proposed Resilience
Proposed Recovery1.09570.14160.7750
Random Recovery1.65930.19680.4641
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

Hu, T.; Zong, Y.; Lu, N.; Jiang, B. Dynamic Recovery and a Resilience Metric for UAV Swarms Under Attack. Drones 2025, 9, 589. https://doi.org/10.3390/drones9080589

AMA Style

Hu T, Zong Y, Lu N, Jiang B. Dynamic Recovery and a Resilience Metric for UAV Swarms Under Attack. Drones. 2025; 9(8):589. https://doi.org/10.3390/drones9080589

Chicago/Turabian Style

Hu, Tianzhen, Yan Zong, Ningyun Lu, and Bin Jiang. 2025. "Dynamic Recovery and a Resilience Metric for UAV Swarms Under Attack" Drones 9, no. 8: 589. https://doi.org/10.3390/drones9080589

APA Style

Hu, T., Zong, Y., Lu, N., & Jiang, B. (2025). Dynamic Recovery and a Resilience Metric for UAV Swarms Under Attack. Drones, 9(8), 589. https://doi.org/10.3390/drones9080589

Article Metrics

Back to TopTop