Next Article in Journal
Mapping Blockchain Applications in FinTech: A Systematic Review of Eleven Key Domains
Previous Article in Journal
Leveraging Explainable AI for LLM Text Attribution: Differentiating Human-Written and Multiple LLM-Generated Text
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Secure Communication and Dynamic Formation Control of Intelligent Drone Swarms Using Blockchain Technology

1
Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao 266580, China
2
Shandong Key Laboratory of Intelligent Oil & Gas Industrial Software, Qingdao 266580, China
3
School of Cultural Heritage and Information Management, Shanghai University, Shanghai 200444, China
4
Library of Shanghai Lixin University of Accounting and Finance, Shanghai 201209, China
*
Author to whom correspondence should be addressed.
Information 2025, 16(9), 768; https://doi.org/10.3390/info16090768
Submission received: 6 July 2025 / Revised: 6 August 2025 / Accepted: 1 September 2025 / Published: 4 September 2025

Abstract

With the increasing deployment of unmanned aerial vehicle (UAV) swarms in scenarios such as disaster response, environmental monitoring, and military reconnaissance, the need for secure and scalable formation control has become critical. Traditional centralized architectures face challenges such as limited scalability, communication bottlenecks, and single points of failure in large-scale swarm coordination. To address these issues, this paper proposes a blockchain-based decentralized formation control framework that integrates smart contracts to manage UAV registration, identity authentication, formation assignment, and positional coordination. The system follows a leader–follower structure, where the leader broadcasts formation tasks via on-chain events, while followers respond in real-time through event-driven mechanisms. A parameterized control model based on dynamic angle and distance adjustments is employed to support various formations, including V-shape, line, and circular configurations. The transformation from relative to geographic positions is achieved using Haversine and Euclidean methods. Experimental validation in a simulated environment demonstrates that the proposed method achieves lower communication latency and better responsiveness compared to polling-based schemes, while offering enhanced scalability and robustness. This work provides a feasible and secure decentralized control solution for future UAV swarm systems.

1. Introduction

In recent years, the rapid development of drone technology and the continuous advancement of intelligent algorithms have greatly promoted the application of drone swarms in military reconnaissance, environmental monitoring, emergency rescue, logistics and distribution, and other fields. Inspired by the natural swarming behaviors of bird flocks, fish schools, and insects, researchers are working to ensure that drone swarms have the ability to make autonomous decisions and coordinate operations [1]. With the help of advanced sensors, communication technologies, and intelligent algorithms, drone swarms can achieve efficient and autonomous task planning and execution without human intervention, thereby showing a higher efficiency and adaptability in complex and dynamic environments. In practical applications, drone swarms usually adopt a variety of formation modes, such as straight formation, V formation, diamond formation, and grid formation [2]. These formations not only optimize flight trajectories and reduce energy consumption but also improve the accuracy and stability of task completion. The core of drone formation control technology lies in the real-time adjustment and precise coordination of the relative positions between members. Through advanced guidance algorithms, each drone can flexibly respond to external interference and environmental changes while maintaining the predetermined geometric structure.
However, to achieve efficient coordination, these swarms must rely on internal communication for real-time data exchange and decision-making. Factors such as natural obstacles, insufficient network coverage, and cyber attacks can all interfere with communication links, thereby introducing security risks. Furthermore, as the number of drones increases, both the control complexity and communication overhead grow significantly, resulting in poor adaptability to dynamic environments within large-scale drone formations.
Blockchain technology provides innovative solutions to the above problems. Its core advantages are reflected in the following three aspects:
  • Distributed Architecture: The decentralized communication framework inherently adapts to large-scale distributed networks, where nodes propagate block updates via P2P broadcasting, eliminating frequent requests to a central controller [3].
  • Data Integrity Assurance: When drones perform tasks, they need to collect and transmit a large amount of data. The hash chain storage structure of the blockchain ensures the integrity of the data during transmission and storage, preventing malicious tampering and forgery [4].
  • Smart Contract Autonomy: Smart contracts are automated execution protocols on the blockchain that can automatically trigger corresponding operations when preset conditions are met. In drone clusters, the introduction of smart contracts can achieve autonomous collaboration and task allocation, reduce human intervention, and improve task execution efficiency.
The main motivation of this paper is to combine blockchain technology with the dynamic formation control and secure communication of drone swarms. The purpose of this combination is to develop a more secure and smooth information exchange scheme. This scheme aims to protect the drone swarm from common malicious attacks such as node tampering and deception when transmitting data, ensuring the stability and robustness of drones when they are in dynamic formation. Our contributions are summarized as follows.
(1)
We proposed a blockchain event-driven distributed UAV formation control architecture, which utilizes smart contracts to achieve autonomous UAV registration, task distribution, and formation management. By leveraging the event broadcasting mechanisms, follower UAVs can monitor and respond to formation commands in real-time, effectively addressing the large-scale communication bottleneck issues inherent in traditional control architectures.
(2)
We designed a parametric dynamic formation control algorithm with a conflict resolution mechanism, introducing a mathematical model based on angle–distance dual parameter sets that supports adaptive switching among different formations. The algorithm incorporates Haversine spherical coordinate transformation for large-scale precise positioning and implements a blockchain-based position conflict resolution mechanism, ensuring collision-free formation reconfiguration through Euclidean distance calculation and on-chain position locking.
(3)
We established the first integrated blockchain–flight control simulation verification platform and completed scalability validation. The platform combines Ganache blockchain, PX4 flight control, and Gazebo physics engine to achieve full-process simulation from command issuance to physical execution.
The rest of this paper is organized as follows. Section 2 discusses related work and Section 3 introduces our proposed framework. Section 4 is dedicated to our implementation. In Section 5, we present simulation results for drone swarm formations and performance analysis. Section 6 summarizes our findings and provides suggestions for future research.

2. Related Work

2.1. Formation Control

The current research on drone formation control mainly focuses on coordination, safety, and adaptability. Formation control algorithms for multiple UAVs can be broadly categorized into centralized and distributed architectures. Centralized methods rely on a central processing unit for global optimization but suffer from single-point failure risks. Distributed approaches enable localized decision-making, enhancing scalability and robustness. As summarized in Table 1, six dominant methodologies have emerged.
Centralized methods, exemplified by the leader–follower approach, achieve global optimization through a central unit but suffer from significant communication overhead and poor scalability [5,6,7,8,9]. Among distributed methods, the virtual structure technique [10,11,12] maintains rigid formations at the cost of environmental adaptability. Behavior-based methods [13,14] enhance dynamic response through multi-behavior fusion but require empirical parameter tuning. While artificial potential field approaches [15,16,17] offer real-time obstacle avoidance that is suitable for dynamic scenarios, they frequently encounter local minima problems. Consensus algorithms [18,19,20] demonstrate strong theoretical foundations but demand high communication quality. Recent advances in intelligent control [21,22,23] incorporating machine learning techniques provide novel solutions for model uncertainty scenarios.
The leader–follower paradigm establishes explicit hierarchical relationships—where leaders generate global trajectories and followers achieve coordination through relative position/attitude tracking—demonstrating notable advantages in engineering practice [24]. Characterized by implementation simplicity, computational efficiency, and strong scalability, it has become the preferred choice for resource-constrained UAV swarms.

2.2. Blockchain

Research on the combination of drones and blockchain mainly focuses on using the decentralized, tamper-proof, and smart contract characteristics of blockchain to solve the trust management, data security and collaborative decision-making problems of drone clusters. Aujla et al. [25] proposed a blockchain-based security framework for drone-to-everything (D2X) communications to enhance the security of remote drone deployments. The authors of [26] studied the principles of blockchain and smart contracts and discussed the possibility of combining blockchain with the Internet of Things. In [27], a lightweight blockchain and a mechanism for message routing between drone nodes were proposed to improve the security of routing in 5G NR cellular networks. In [28], the authors developed a blockchain-based drone with a trusted self-organizing network mechanism (BC-UTSON) to achieve trustworthiness assessments. Zhang et al. [29] used blockchain to evaluate the trustworthiness of roadside units (RSUs) and to detect malicious RSUs in the Internet of Vehicles. In [30], the authors proposed a blockchain-based health information management framework that can access electronic medical data securely and efficiently. The author of [31] proposed the combination of blockchain and drone formation control; however, most of the research remains in the theoretical framework and fails to build a visual simulation environment. In comparison, this study achieved three-dimensional visual verification by building a high-fidelity simulation system.
Although blockchain technology has been widely used in many fields, its application research in drone formation control is still in its infancy. It is particularly noteworthy that most existing studies lack the combination of actual testing and simulation to verify the effectiveness of the model. To address this research gap, this paper proposes an innovative lightweight smart contract solution based on the distributed architecture of Ethereum that is compatible with private chains, which is easy to deploy. To verify the feasibility of the solution, this study combines blockchain technology with real drone programming tools and conducts systematic simulation experiments. The experimental results show that the solution exhibits good performance and provides an important technical foundation for the development of advanced drone systems with higher security and intelligent decision-making capabilities.

3. Model Architecture

3.1. Smart Contract

Blockchain technology uses cryptography and consensus mechanisms to enable all nodes to jointly maintain transaction records without a central authority. Each block is divided into two parts—header and body. The header contains the block version, the encrypted hash value of the previous block, Difficulty Target, Nonce, and Merkle root. The body contains the Transaction List. Each block forms an unalterable chain structure (Figure 1) through the encrypted hash value of the previous block to ensure data security.
As an extension of the blockchain, smart contracts store and automatically execute operations under preset conditions in the form of code. Based on the distributed architecture and consensus algorithm of blockchain, smart contracts allow users who do not trust each other to complete transactions without any third-party trusted intermediary or authority [32]. The operation mechanism of the smart contract is shown in Figure 2. Its core attributes include value and state, and the triggering scenarios and response rules of the contract terms are preset in the code. After the smart contract is agreed upon and signed by all parties, it is submitted to the blockchain network along with the transaction initiated by the user. After P2P propagation and miner verification, it is stored in a specific block. After the user obtains the contract address and interface information, they can enable the contract to function through transactions. Driven by the system incentive mechanism, miners contribute computing power to verify transactions and deploy or execute contract codes in the local sandbox execution environment (such as the Ethereum virtual machine) [33]. During the execution of the contract, it automatically determines whether the trigger conditions are met based on the external data source and the world state, strictly executes the preset rules, and updates the system state at the same time. The new block verified by the transaction is packaged and authenticated by the consensus algorithm, before being linked to the main chain, making all updates formally effective [34].
In this system, smart contracts serve as the core link for communication and collaboration between drone swarms. First, each drone in the swarm must be registered and verified through smart contracts, so as to effectively exclude illegal or suspicious nodes and ensure the security of the overall network. The leader submits the formation parameters or task instructions to the smart contract. The smart contract automatically executes operations and distributes key information when the preset conditions are met so that the follower can obtain the latest formation information or task instructions in real time, thereby achieving rapid formation switching and dynamic coordination on a global scale.

3.2. Leader–Follower Architecture

The leader–follower method has shown significant advantages in engineering practice by defining a clear hierarchical relationship, whereby the leader generates the global trajectory, and the follower achieves collaboration through relative position or attitude tracking [24]. With its simple implementation, high computational efficiency, and strong scalability (supporting the dynamic addition and subtraction of nodes), it has become an ideal choice for resource-constrained drone clusters.
The formation control in this paper adopts an improved pilot–follower architecture. The pilot node serves as the cluster admission controller, and the identity registration and permission management of the follower drone nodes are achieved through the blockchain. Unauthenticated nodes will be denied access to the blockchain network and cannot enable any smart contract functions. As shown in Figure 3, the pilot registers the drone to the blockchain through the smart contract interface. Authorized drones can access the blockchain and obtain target data. When unauthorized illegal drone nodes access the blockchain, they will be denied access, which effectively prevents network attacks by malicious nodes.
Figure 4 describes the process of issuing instructions. After registration, the pilot can write the formation control parameters (including the pilot coordinates and the formation task type) into the blockchain. The follower obtains the formation parameters by reading the on-chain data and selects the appropriate position according to different formation types. The specific selection process is described in Section 4.2.

4. Methods

4.1. Smart Contract

As a core component in the blockchain system, smart contracts are used to ensure the secure communication and dynamic formation control of drone swarms. In our system, smart contracts are written in the Solidity programming language and are deployed on a blockchain network compatible with the Ethereum Virtual Machine (EVM).
Solidity is a high-level language designed specifically for smart contracts that supports object-oriented development and is suitable for building highly reliable and automatically executed contract logic [35]. Contracts can accurately control the registration process of drones, the creation and management of tasks, the dynamic location allocation of each node in the formation, and the data chaining and verification operations during task execution. In addition, Solidity’s powerful event mechanism and mapping structure make data storage and state management more efficient and transparent. Combining the advantages of blockchain, such as decentralization, immutability, and full traceability, the smart contract we designed achieves a secure and reliable scheduling and communication mechanism for drone swarms when performing multi-task and multi-role collaboration.
First, the contract defines the enumeration type formation, which is used to describe the task type and the corresponding formation form (such as Line, V, and Circle). This design makes the drone group highly flexible in task scheduling and formation control, and can adjust the cooperation mode of the drone group according to different scenarios. For example, when the formation type is linear, it is suitable for tasks such as crossing narrow terrain or channels, uniform coverage, and efficient scanning. The name of the task can be pesticide spraying; when the formation type is circular, it can achieve 360° all-round encirclement of the target object, and the name of the task can be defensive encirclement. When the formation type is V-shaped, it can achieve long-distance cruising missions by reducing the energy consumption of the rear drone, and the name of the task can be border patrol. In addition, the contract achieves the management of drone registration, location allocation, and task information through mapping.
To ensure the orderly management and coordinated flight of drone clusters, smart contracts provide a mechanism for registering/deleting identities. The leader in the cluster has the sole authority to add or remove drones (RegisterDrone and RemoveDrone functions). Smart contracts support the creation and modification of missions by the leader and the real-time acquisition of missions by the follower (CreatMission, UpdateMission, and GetMission functions), ensuring that missions can be dynamically adjusted according to the scenario. To achieve trusted data sharing, smart contracts allow each registered drone to upload its collected environmental data, coordinate location, and other information to the blockchain for other drones to query and analyze missions (SubmitData and GetData functions).
Driven by the incentive mechanism, miners verify the transaction through the P2P network and consensus algorithm, and the contract status will be updated and written into the new block to ensure that all operations are tamper-proof, open, and transparent [36]. The design and implementation of the entire smart contract enables efficient collaboration and secure communication among drone groups in highly dynamic environments through automated execution and state management.

4.2. Dynamic Formation Control

In Ethereum, a “node” usually refers to an instance that runs an Ethereum client and maintains the state of the blockchain, while an “account” refers to a subject that has a unique address and private key on the blockchain [37]. In the Ganache simulation environment, we can regard each account as a “drone” with an independent identity, and use their addresses to distinguish different individuals, thereby meeting the need for “multiple entity interactions” in the simulation scenario.
The core mechanism of the leader includes the following two levels: At the member management level, the leader achieves the dynamic registration and deregistration of the follower through the registerDrone and removeDrone interface functions provided by the smart contract. All drone address information is stored through the mapping structure mapping (address => bool) DroneRegistry, where the Boolean value indicates the registration status. At the parameter management level, the leader submits the formation control parameters (mission type and location coordinates) to the specific data structure of the blockchain through the CreateMission and SubmitData interface functions; at the same time, the leader can change the formation type at any time and re-upload new data to achieve dynamic formation control. The core mechanism of following the randomness is reflected in the data verification level. The built-in verification logic of the smart contract ensures that all operations must be authenticated by digital signatures, and the data cannot be tampered with through the consensus mechanism. Followers can now check the mission and declared formation by reading the data and mission submitted by their leader. Knowing the position of the leader, they can choose the formation position that is closest to them.The operation flow chart of the leader drone and the follower drone is shown in Figure 5.
To enable flexible support for multiple formation configurations, we proposes a formation control method based on dynamic adjustment of angle and distance parameters. The method introduces two key set variables—formation_distances (representing the set of predefined distances between the leader and follower UAVs, denoted as f d ) and formation_angles (representing the set of predefined relative angles of followers with respect to the leader, denoted as f a ). The relative angle θ and base distance d can be customized by users according to the actual application scenarios.
When executing formation control logic, each follower first obtains the current number of followers n in the formation from the blockchain. Based on the command type issued by the leader, the total number of nodes n, as well as parameters θ and d, the system dynamically adjusts the values of sets f d and f a . Subsequently, each follower completes coordinate calculation, relying on these sets to achieve flexible position distribution control, thereby granting the UAV formation excellent scalability. The following sections will introduce specific control logic implementations by examining three typical formation configurations.
In the V formation, the angle set is defined as f a = { θ , θ } , and the distance set is defined as f d = { d , 2 d , , k d } (where k = n / 2 ). Followers are symmetrically distributed behind the leader at different distances ( d , 2 d , , k d ) with angles θ and θ . The parameters θ and the base distance d can be predefined by the user. As shown in Figure 6, the V-formation configurations are illustrated for θ = 30 , n = 4 and θ = 45 , n = 6 .
In line formation, the angle set is defined as f a = { 90 , 90 } , and the distance set is defined as f d = { d , 2 d , , k d } (where k = n / 2 ). Followers are distributed symmetrically on both sides of the leader at different distances, perpendicular to the leader’s heading (at 90 and 90 ). As shown in Figure 7, the line formation configurations are illustrated for n = 4 and n = 6 .
In circle formation, the equal division angle β is first calculated based on the total number of followers: β = 360 / n . The angle set is defined as f a = { k β k = 1 , 2 , , n } , and the distance set is defined as f d = { d } . Followers are uniformly distributed around the leader at the same distance d with angular spacing β , forming a closed circle. As shown in Figure 8, the circle formation configurations are illustrated for n = 4 and n = 6 .
To determine the follower’s geographic coordinates from the relative bearing angle θ and distance d to the leader, a polar-to-Cartesian coordinate transformation is required. For large-scale formations where Earth’s curvature cannot be neglected, the Haversine formula provides a spherical geometry-based solution. If the coordinates of two points are ( ϕ 1 , λ 1 ) and ( ϕ 2 , λ 2 ) (latitude and longitude), the distance between the two points can be determined using the following equation:
cos δ = sin ϕ 1 · sin ϕ 2 + cos ϕ 1 · cos ϕ 2 · cos ( λ 2 λ 1 )
distance = r · δ
where Δ ϕ = ϕ 2 ϕ 1 , Δ λ = λ 2 λ 1 , and r is the radius of the sphere (e.g., the average radius of the Earth is approximately 6371 km). δ is the central angle between two points. Then, when the central angle δ and the distance are known, the target position ( ϕ 2 , λ 2 ) can be inferred by the following formula:
ϕ 2 = arcsin sin ϕ 1 · cos d r + cos ϕ 1 · sin d r · cos δ
λ 2 = λ 1 + arctan 2 sin α · sin d r · cos ϕ 1 , cos d r sin ϕ 1 · sin ϕ 2
To generate all possible candidate positions of followers for a specific formation type, we employ a candidate position generation algorithm that iterates through the angle set f a and distance set f d . For each ( d , α ) combination, spherical coordinate transformation is performed using Equations (3) and (4) to compute the corresponding follower coordinates. This process ultimately produces a leader-referenced candidate position set, which serves as the foundation for subsequent position screening and selection. The complete procedure is shown in Algorithm 1.
Algorithm 1 Generate candidate positions
Require: 
Leader position ( ϕ 1 , λ 1 ) , distance set f d , angle set f a
Ensure: 
Set of candidate positions C
  1:
C
  2:
for all  d f d  do
  3:
    for all  α f a  do
  4:
         ( ϕ 2 , λ 2 ) CALCULATE _ FOLLOWER _ COORDINATES ( ϕ 1 , λ 1 , d , α )     ▹ Use Formulas (3) and (4) to perform spherical coordinate transformation
  5:
         C C { ( ϕ 2 , λ 2 ) }
  6:
    end for
  7:
end for
  8:
return C
After obtaining all the target positions, the following Euclidean distance formula can be used:
r i = ( λ d λ i ) 2 + ( ϕ d ϕ i ) 2
Then, the distance between all target positions and itself can be calculated in order to select the closest target position.
Taking Figure 9 as an example, in a V-shaped formation, the leader is fixed at position 0 as the formation reference point, and the follower is initially at a random position. The follower will calculate positions 1, 2, 3, and 4 based on the leader’s position and Formulas (1) and (2), obtaining their Euclidean distances r from themselves. It will then select the closest position—position 1 in this example. However, the follower will not fly to the position immediately, but will first confirm whether position 1 is free through the blockchain; if it is free, it will fly directly to the position. If the position is occupied by other drones, it will select the next closest position (such as position 3). Once the specific position is determined, the follower will record the selection in the blockchain and mark the position as “occupied”, thereby effectively avoiding the risk of spatial position conflicts among multiple drones and achieving a reliable reconstruction of the formation system.

4.3. Simulation Environment

Our simulation experiment is built on a virtual machine environment based on the Ubuntu 20.04 LTS operating system (64-bit, X64 architecture). The virtual machine is deployed on the physical host through the VMware virtualization platform, and a 4-core CPU and 8 GB memory are allocated to support multi-task parallel computing requirements. The hardware configuration of the physical host is an AMD Ryzen 7 4800H processor and 16 GB DDR4 memory.
The core components of the simulation environment include the following modules:
Blockchain network simulation: Ganache v2.13.2 was used to build a private blockchain test network. Ten initial test accounts were configured—the network ID was 5777 and the RPC port number was 8545, which was used to simulate node communication and smart contract deployment in a distributed ledger environment.
Drone dynamics simulation: The drone model is built based on PX4 Autopilot v1.13.0 firmware, and the Gazebo 11.0 simulation engine is integrated to simulate the dynamic characteristics and sensor data (such as IMU and GPS) of multi-rotor drones. The experimental scene is achieved through Gazebo’s 3D physics engine, which supports dynamic obstacles and multi-machine collaborative flight testing.
Communication and control framework: The communication between the drone and the ground control station (GCS) is achieved through the MAVSDK-Python v1.4.4 library, and a real-time data link is established using UDP port 14540. At the same time, the Web3.py v6.0.0 library is integrated to encrypt the drone status data (such as position, speed, and mission log) and store it in the blockchain network to ensure data immutability and traceability.
Multi-node collaborative testing: NAT network mode is configured in the virtual machine to ensure low-latency communication between Gazebo, PX4, and Ganache nodes. Blockchain transaction verification and the synchronization of drone control instructions are implemented through custom Python scripts. The test scripts are developed based on Python 3.8 and rely on ROS Noetic to optimize task scheduling.

5. Results

We built a drone swarm consisting of one leader drone and four follower drones, and evaluated the model’s functionality by implementing accurate simulations in real flight scenarios based on the Gazebo high-fidelity physical simulation environment and the MAVSDK framework of the MAVLink communication protocol.
Figure 10 and Figure 11 illustrate the multi-UAV formation control process with four followers and eight followers, respectively. During the system initialization phase, both the leader and follower drones remain in standby mode. When the leader writes the formation task information into the blockchain network via the smart contract, each follower node can monitor the instructions in real time through the on-chain event-triggered mechanism and can execute corresponding cooperative control operations accordingly. The experiment validated three typical formation types—V-shaped formation, line formation, and circular formation. The results demonstrate that the UAV swarm can smoothly switch between different formation types according to mission requirements, exhibiting excellent scalability in relation to the number of UAVs.
In conventional leader–follower architectures, follower UAVs rely entirely on centralized command control from the leader aircraft. As formation size increases, this architecture faces challenges of exponentially growing control complexity and communication overhead. Our study introduces an innovative blockchain-based event-driven mechanism, whereby follower UAVs autonomously acquire mission parameters and complete formation adjustments by monitoring on-chain events, achieving decentralized cooperative control. To evaluate real-time system performance, as shown in Table 2, we recorded the response latency of the last UAV in 10 formation-switching scenarios. By comparing latency data between 4-UAV and 8-UAV configurations, we can clearly analyze performance trends during system scaling. The Ganache framework we employ utilizes an instant mining mechanism that guarantees block generation within milliseconds, effectively eliminating the stochastic delays inherent in Proof-of-Work (PoW) consensus. Consequently, our analysis focuses exclusively on the system’s response latency.
The experimental results show that under the blockchain event-driven mechanism, when the number of follower drones increases from 4 to 8, the maximum response delay only increases from 1.72 s to 1.80 s—an increase of less than 5%—exhibiting a slight upward trend. This increase is primarily attributed to the higher complexity of formation position computation and the increased system load. However, due to the parallel nature of event broadcasting, the overall control latency remains low. In contrast, related studies have shown that the delay in centralized control systems typically increases by more than 20% under similar conditions. These results demonstrate that the blockchain event-driven control mechanism offers superior scalability and robustness in large-scale swarm formation scenarios.
In the Ganache-provided local Ethereum simulation environment, we map each account to a UAV node and implement task allocation and position management through deployed smart contracts. As shown in Figure 12, each block in Ganache stores transaction hashes along with detailed transaction values, ensuring the integrity of all data. Furthermore, the chained structure of blocks provides cryptographic guarantees of data immutability.

6. Conclusions

Our research addresses the challenges in dynamic formation control and secure communication for multi-UAV swarms by proposing a novel blockchain-based distributed control architecture. Leveraging the decentralized nature, tamper-proof characteristics, and automated execution capabilities of blockchain smart contracts, this architecture achieves secure UAV identity authentication, task scheduling, and real-time data sharing, effectively overcoming the limitations of traditional centralized approaches in terms of security, robustness, and response speed.
Through the implementation of a local blockchain simulation environment using Ganache and a high-fidelity UAV dynamics simulation platform based on Gazebo, we experimentally validated the system’s capability for dynamic switching among V-shaped, linear, and circular formations. The results demonstrate that under the blockchain event-triggered mechanism, the UAV swarm maintains low-latency response and position adjustment even as follower nodes increase, ensuring efficient coordination while significantly reducing risks caused by communication delays and scheduling errors. Furthermore, the blockchain-based transaction recording guarantees the transparency and immutability of mission data, providing robust security assurance for UAV swarm operations in complex environments.
However, this study has certain limitations and areas for improvement. First, the current validation relies primarily on simulation environments without real-flight testing, thus requiring further investigation of practical factors like communication latency, channel interference, and environmental noise. Second, while we implemented three typical formation types, dynamic switching between multiple formation patterns could be enhanced through algorithmic extensions. Additionally, our Ganache-based private Ethereum chain employs instant mining, neglecting PoW-induced delays; in practical applications, lightweight consensus algorithms could be adopted to minimize mining latency and improve real-time control performance.
In conclusion, this research represents meaningful exploration and innovation in blockchain-driven dynamic formation control for multi-UAV systems, offering new technical perspectives for secure and intelligent swarm coordination. Future work will focus on optimizing system modules to enhance operational adaptability and scalability, ultimately delivering more reliable and efficient solutions for military reconnaissance, emergency response, logistics delivery, and related fields.

Author Contributions

Conceptualization, H.L. and P.Z.; Methodology, P.L. and H.L.; Software, P.L.; Validation, P.L. and J.L.; Formal analysis, P.L.; Investigation, H.L. and P.L.; Resources, P.Z. and J.L.; Data curation, P.L.; Writing—original draft preparation, P.L.; Writing—review and editing, H.L., J.L. and P.Z.; Supervision, P.Z. and J.L.; Project administration, P.Z.; Funding acquisition, J.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the National Natural Science Foundation of China under Grant 62471493, as well as being partially supported by the Natural Science Foundation of Shandong Province under Grant ZR2023LZH017, ZR2024MF066.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors would like to thank all coordinators and supervisors involved, as well as the anonymous reviewers for their detailed comments that helped to improve the quality of this article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Reynolds, C.W. Flocks, herds and schools: A distributed behavioral model. In Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques, Anaheim, CA, USA, 27–31 July 1987; pp. 25–34. [Google Scholar]
  2. Do, H.T.; Hua, H.T.; Nguyen, M.T.; Nguyen, C.V.; Nguyen, H.T.; Nguyen, H.T.; Nguyen, N.T. Formation Control Algorithms for Multiple-UAVs: A Comprehensive Survey. EAI Endorsed Trans. Ind. Networks Intell. Syst. 2021, 8, e3. [Google Scholar] [CrossRef]
  3. Jensen, I.J.; Selvaraj, D.F.; Ranganathan, P. Blockchain technology for networked swarms of unmanned aerial vehicles (UAVs). In Proceedings of the 2019 IEEE 20th International Symposium on“ A World of Wireless, Mobile and Multimedia Networks” (WoWMoM), Washington, DC, USA, 10–12 June 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 1–7. [Google Scholar]
  4. Lei, K.; Zhang, Q.; Lou, J.; Bai, B.; Xu, K. Securing ICN-based UAV ad hoc networks with blockchain. IEEE Commun. Mag. 2019, 57, 26–32. [Google Scholar] [CrossRef]
  5. Roldão, V.; Cunha, R.; Cabecinhas, D.; Silvestre, C.; Oliveira, P. A leader-following trajectory generator with application to quadrotor formation flight. Robot. Auton. Syst. 2014, 62, 1597–1609. [Google Scholar] [CrossRef]
  6. Zhang, J.; Yan, J.; Zhang, P. Multi-UAV formation control based on a novel back-stepping approach. IEEE Trans. Veh. Technol. 2020, 69, 2437–2448. [Google Scholar] [CrossRef]
  7. Ghamry, K.A.; Zhang, Y. Formation control of multiple quadrotors based on leader-follower method. In Proceedings of the 2015 International Conference on Unmanned Aircraft Systems (ICUAS), Denver, CO, USA, 9–12 June 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 1037–1042. [Google Scholar]
  8. Yang, K.; Dong, W.; Tong, Y.; He, L. Leader-follower formation consensus of quadrotor UAVs based on prescribed performance adaptive constrained backstepping control. Int. J. Control. Autom. Syst. 2022, 20, 3138–3154. [Google Scholar] [CrossRef]
  9. Ali, Z.A.; Zhangang, H. Multi-unmanned aerial vehicle swarm formation control using hybrid strategy. Trans. Inst. Meas. Control 2021, 43, 2689–2701. [Google Scholar] [CrossRef]
  10. Sadowska, A.; den Broek, T.v.; Huijberts, H.; van de Wouw, N.; Kostić, D.; Nijmeijer, H. A virtual structure approach to formation control of unicycle mobile robots using mutual coupling. Int. J. Control 2011, 84, 1886–1902. [Google Scholar] [CrossRef]
  11. Hao, C.; Xiangke, W.; Lincheng, S.; Yirui, C. Formation flight of fixed-wing UAV swarms: A group-based hierarchical approach. Chin. J. Aeronaut. 2021, 34, 504–515. [Google Scholar]
  12. Saska, M.; Baca, T.; Thomas, J.; Chudoba, J.; Preucil, L.; Krajnik, T.; Faigl, J.; Loianno, G.; Kumar, V. System for deployment of groups of unmanned micro aerial vehicles in GPS-denied environments using onboard visual relative localization. Auton. Robot. 2017, 41, 919–944. [Google Scholar] [CrossRef]
  13. Mehrjerdi, H.; Ghommam, J.; Saad, M. Nonlinear coordination control for a group of mobile robots using a virtual structure. Mechatronics 2011, 21, 1147–1155. [Google Scholar] [CrossRef]
  14. Chen, Q.; Wang, Y.; Lu, Y. Formation control for UAVs based on the virtual structure idea and nonlinear guidance logic. In Proceedings of the 2021 6th International Conference on Automation, Control and Robotics Engineering (CACRE), Dalian, China, 5–17 July 2021; IEEE: Piscataway, NJ, USA, 2021; pp. 135–139. [Google Scholar]
  15. Zhou, D.; Wang, Z.; Schwager, M. Agile coordination and assistive collision avoidance for quadrotor swarms using virtual structures. IEEE Trans. Robot. 2018, 34, 916–923. [Google Scholar] [CrossRef]
  16. Ren, W.; Beard, R.W. Decentralized scheme for spacecraft formation flying via the virtual structure approach. J. Guid. Control. Dyn. 2004, 27, 73–82. [Google Scholar] [CrossRef]
  17. Hacene, N.; Mendil, B. Behavior-based autonomous navigation and formation control of mobile robots in unknown cluttered dynamic environments with dynamic target tracking. Int. J. Autom. Comput. 2021, 18, 766–786. [Google Scholar] [CrossRef]
  18. Lawton, J.R.; Beard, R.W.; Young, B.J. A decentralized approach to formation maneuvers. IEEE Trans. Robot. Autom. 2004, 19, 933–941. [Google Scholar] [CrossRef]
  19. Kim, S.; Kim, Y. Three dimensional optimum controller for multiple UAV formation flight using behavior-based decentralized approach. In Proceedings of the 2007 International Conference on Control, Automation and Systems, Seoul, Republic of Korea, 17–20 October 2007; IEEE: Piscataway, NJ, USA, 2007; pp. 1387–1392. [Google Scholar]
  20. Antonelli, G.; Arrichiello, F.; Chiaverini, S. Experiments of formation control with multirobot systems using the null-space-based behavioral control. IEEE Trans. Control Syst. Technol. 2009, 17, 1173–1182. [Google Scholar] [CrossRef]
  21. Lee, G.; Chwa, D. Decentralized behavior-based formation control of multiple robots considering obstacle avoidance. Intell. Serv. Robot. 2018, 11, 127–138. [Google Scholar] [CrossRef]
  22. Suo, W.; Wang, M.; Zhang, D.; Qu, Z.; Yu, L. Formation control technology of fixed-wing UAV swarm based on distributed ad hoc network. Appl. Sci. 2022, 12, 535. [Google Scholar] [CrossRef]
  23. Seo, J.; Kim, Y.; Kim, S.; Tsourdos, A. Consensus-based reconfigurable controller design for unmanned aerial vehicle formation flight. Proc. Inst. Mech. Eng. Part G J. Aerosp. Eng. 2012, 226, 817–829. [Google Scholar] [CrossRef]
  24. Wang, J.; Gu, W.; Dou, L. Leader-Follower Formation Control for Multiple UAVs with Trajectory Tracking Design. Acta Aeronaut. Astronaut. Sin. 2020, 41, 723758. [Google Scholar]
  25. Aujla, G.S.; Vashisht, S.; Garg, S.; Kumar, N.; Kaddoum, G. Leveraging blockchain for secure drone-to-everything communications. IEEE Commun. Stand. Mag. 2022, 5, 80–87. [Google Scholar] [CrossRef]
  26. Christidis, K.; Devetsikiotis, M. Blockchains and smart contracts for the internet of things. IEEE Access 2016, 4, 2292–2303. [Google Scholar] [CrossRef]
  27. Wang, J.; Liu, Y.; Niu, S.; Song, H. Lightweight blockchain assisted secure routing of swarm UAS networking. Comput. Commun. 2021, 165, 131–140. [Google Scholar] [CrossRef]
  28. Yang, J.; Liu, X.; Jiang, X.; Zhang, Y.; Chen, S.; He, H. Toward trusted unmanned aerial vehicle swarm networks: A blockchain-based approach. IEEE Veh. Technol. Mag. 2023, 18, 98–108. [Google Scholar] [CrossRef]
  29. Zhang, H.; Liu, J.; Zhao, H.; Wang, P.; Kato, N. Blockchain-based trust management for internet of vehicles. IEEE Trans. Emerg. Top. Comput. 2020, 9, 1397–1409. [Google Scholar] [CrossRef]
  30. Ray, P.P.; Dash, D.; Salah, K.; Kumar, N. Blockchain for IoT-based healthcare: Background, consensus, platforms, and use cases. IEEE Syst. J. 2020, 15, 85–94. [Google Scholar] [CrossRef]
  31. Koulianos, A.; Litke, A. Blockchain technology for secure communication and formation control in smart drone swarms. Future Internet 2023, 15, 344. [Google Scholar] [CrossRef]
  32. Buterin, V. A next-generation smart contract and decentralized application platform. White Pap. 2014, 3, 2-1. [Google Scholar]
  33. Wood, G. Ethereum: A secure decentralised generalised transaction ledger. Ethereum Proj. Yellow Pap. 2014, 151, 1–32. [Google Scholar]
  34. Crosby, M.; Pattanayak, P.; Verma, S.; Kalyanaraman, V. Blockchain technology: Beyond bitcoin. Appl. Innov. 2016, 2, 71. [Google Scholar]
  35. Mavridou, A.; Laszka, A.; Stachtiari, E.; Dubey, A. VeriSolid: Correct-by-design smart contracts for Ethereum. In Financial Cryptography and Data Security: Proceedings of the 23rd International Conference, FC 2019, Frigate Bay, St. Kitts and Nevis, Caribbean, 18–22 February 2019, Revised Selected Papers 23; Springer: Cham, Switzerland, 2019; pp. 446–465. [Google Scholar]
  36. Xiao, Y.; Zhang, N.; Lou, W.; Hou, Y.T. A survey of distributed consensus protocols for blockchain networks. IEEE Commun. Surv. Tutor. 2020, 22, 1432–1465. [Google Scholar] [CrossRef]
  37. Vujičić, D.; Jagodić, D.; Ranđić, S. Blockchain technology, bitcoin, and Ethereum: A brief overview. In Proceedings of the 2018 17th International Symposium Infoteh-Jahorina (Infoteh), East Sarajevo, Bosnia and Herzegovina, 21–23 March 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1–6. [Google Scholar]
Figure 1. Blockchain data structure.
Figure 1. Blockchain data structure.
Information 16 00768 g001
Figure 2. Smart contract work mechanism.
Figure 2. Smart contract work mechanism.
Information 16 00768 g002
Figure 3. Register process.
Figure 3. Register process.
Information 16 00768 g003
Figure 4. Formation change process.
Figure 4. Formation change process.
Information 16 00768 g004
Figure 5. Operation flowchart, the dotted arrows represent the connection with the blockchain, and the solid arrows represent the interaction between modules.
Figure 5. Operation flowchart, the dotted arrows represent the connection with the blockchain, and the solid arrows represent the interaction between modules.
Information 16 00768 g005
Figure 6. Schematic diagram of V-formation.
Figure 6. Schematic diagram of V-formation.
Information 16 00768 g006
Figure 7. Schematic diagram of Line-formation.
Figure 7. Schematic diagram of Line-formation.
Information 16 00768 g007
Figure 8. Schematic diagram of Circle-formation.
Figure 8. Schematic diagram of Circle-formation.
Information 16 00768 g008
Figure 9. Location Selection Process of Follower.
Figure 9. Location Selection Process of Follower.
Information 16 00768 g009
Figure 10. Gazebo simulation with four followers.
Figure 10. Gazebo simulation with four followers.
Information 16 00768 g010
Figure 11. Gazebo simulation with eight followers.
Figure 11. Gazebo simulation with eight followers.
Information 16 00768 g011
Figure 12. Ganache instance.
Figure 12. Ganache instance.
Information 16 00768 g012
Table 1. Comparison of formation control methods for multi-UAV systems.
Table 1. Comparison of formation control methods for multi-UAV systems.
Control ArchitectureSpecific MethodAdvantagesDisadvantages
CentralizedLeader–Follower
  • Simple implementation
  • Good formation tracking
  • High communication overhead
  • Poor scalability
DistributedVirtual Structure
  • High formation stability
  • Accurate geometric control
  • Poor obstacle avoidance
  • Low flexibility
Behavior-Based
  • Multi-objective coordination
  • Dynamic environment adaptation
  • Difficult stability analysis
  • Empirical parameter tuning
Artificial Potential Field
  • Real-time obstacle avoidance
  • Smooth trajectory generation
  • Local minima problems
  • Performance degradation in complex environments
Consensus-Based
  • Dynamic topology adaptation
  • Theoretical guarantees
  • Ignores agent dynamics
  • Delay-sensitive
Intelligent Control
  • Model-free operation
  • Uncertainty tolerance
  • High computational load
  • Implementation complexity
Table 2. Response latency under different fleet sizes.
Table 2. Response latency under different fleet sizes.
Formation Change4-UAV Latency (s)8-UAV Latency (s)
11.681.74
21.701.76
31.721.79
41.721.79
51.701.76
61.711.77
71.701.79
81.721.80
91.651.70
101.701.80
Max Latency1.721.80
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

Li, H.; Li, P.; Liu, J.; Zhang, P. Secure Communication and Dynamic Formation Control of Intelligent Drone Swarms Using Blockchain Technology. Information 2025, 16, 768. https://doi.org/10.3390/info16090768

AMA Style

Li H, Li P, Liu J, Zhang P. Secure Communication and Dynamic Formation Control of Intelligent Drone Swarms Using Blockchain Technology. Information. 2025; 16(9):768. https://doi.org/10.3390/info16090768

Chicago/Turabian Style

Li, Huayu, Peiyan Li, Jing Liu, and Peiying Zhang. 2025. "Secure Communication and Dynamic Formation Control of Intelligent Drone Swarms Using Blockchain Technology" Information 16, no. 9: 768. https://doi.org/10.3390/info16090768

APA Style

Li, H., Li, P., Liu, J., & Zhang, P. (2025). Secure Communication and Dynamic Formation Control of Intelligent Drone Swarms Using Blockchain Technology. Information, 16(9), 768. https://doi.org/10.3390/info16090768

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop