M-SET: Multi-Drone Swarm Intelligence Experimentation with Collision Avoidance Realism

Chuhao Qin School of Computing
University of Leeds
Leeds, UK
[email protected]
   Alexander Robins School of Computing
University of Leeds
Leeds, UK
[email protected]
   Callum Lillywhite-Roake School of Computing
University of Leeds
Leeds, UK
[email protected]
   Adam Pearce School of Computing
University of Leeds
Leeds, UK
[email protected]
   Hritik Mehta School of Computing
University of Leeds
Leeds, UK
[email protected]
   Scott James School of Computing
University of Leeds
Leeds, UK
[email protected]
   Tsz Ho Wong School of Computing
University of Leeds
Leeds, UK
[email protected]
   Evangelos Pournaras School of Computing
University of Leeds
Leeds, UK
[email protected]
Abstract

Distributed sensing by cooperative drone swarms is crucial for several Smart City applications, such as traffic monitoring and disaster response. Using an indoor lab with inexpensive drones, a testbed supports complex and ambitious studies on these systems while maintaining low cost, rigor, and external validity. This paper introduces the Multi-drone Sensing Experimentation Testbed (M-SET), a novel platform designed to prototype, develop, test, and evaluate distributed sensing with swarm intelligence. M-SET addresses the limitations of existing testbeds that fail to emulate collisions, thus lacking realism in outdoor environments. By integrating a collision avoidance method based on a potential field algorithm, M-SET ensures collision-free navigation and sensing, further optimized via a multi-agent collective learning algorithm. Extensive evaluation demonstrates accurate energy consumption estimation and a low risk of collisions, providing a robust proof-of-concept. New insights show that M-SET has significant potential to support ambitious research with minimal cost, simplicity, and high sensing quality.

Index Terms:
drones, testbed, distributed sensing, collision avoidance, swarm intelligence, smart city

I Introduction

Unmanned Aerial Vehicles (UAVs), or drones, can form swarms to improve collaboration and efficiency in sensor data collection for Smart Cities, such as early traffic congestion reporting and natural disaster map** [1]. Using a single high-profile drone is costly and limited by flight range. In contrast, multiple low-cost cooperative drones are versatile to cover wider areas and allow for battery recharging. To benefit from this flexibility, drones require coordinated actions with autonomy and computational intelligence, which can be solved by distributed optimization and multi-agent learning algorithms, such as swarm intelligence [2]. To prototype, develop, test and evaluate distributed sensing exhibiting swarm intelligence, earlier testbeds have been introduced [3, 4]. Using an indoor lab with cheap small drones, they emulate complex outdoor sensing environments without the need for costly equipment, regulations, or environmental uncertainties.

However, these existing indoor testbeds lack the realism of outdoor environments, particularly regarding in-flight safety issues such as obstacle-to-drone and drone-to-drone collisions. Designing and prototy** a testbed that integrates collision avoidance in swarm intelligence for distributed sensing is a complex challenge. On the one hand, swarm intelligence enables autonomous and flexible coordination for efficient sensing missions, but increases the risk of unpredictable collisions, requiring highly sophisticated algorithms for collision detection and avoidance, especially in small lab spaces. On the other hand, incorporating collision avoidance introduces new hardware testing challenges, as it alters the navigation and sensing outputs by swarm intelligence, impacting factors such as energy consumption and sensing accuracy.

To tackle these challenges, this paper introduces the Multi-drone Sensing Experimentation Testbed (M-SET), designed to improve the realism of multi-drone sensing operations. This testbed studies various distributed sensing problems in drones, including charging control, navigation, and collision avoidance. As a proof-of-concept, an artificial potential field algorithm [5] is applied to predict collision fields and determine optimal drone flight paths, effectively detecting and mitigating potential collisions. This method ensures collision-free navigation and sensing, which are further coordinated and optimized using a multi-agent collective learning approach [6, 7]. Extensive experimentation with low-cost real drones, a virtual sensing environment, and real-world traffic data from Athens [8] validates the effectiveness of M-SET in traffic vehicle monitoring, demonstrating its capacity to move complex swarm intelligence and collision avoidance algorithms for drones to real-world.

The contributions of this paper are outlined as follows: (i) A new and generic testbed model, M-SET, to enhance the realism of distributed sensing with drones exhibiting swarm intelligence by integrating collision avoidance method. (ii) A first functional prototype of this testbed with a proof-of-concept on accurate estimate of energy consumption and low risk of collisions. (iii) An environment of higher realism to test multi-agent collective learning [6] for drone navigation and sensing, as well as artificial potential field [5] for collision avoidance, using real traffic monitoring data [8]. (iv) An open-source software platform111https://github.com/TDI-Lab/M-SET and documentation222https://github.com/TDI-Lab/M-SET-Documentation as a benchmark, providing detailed, reproducible coding examples and instructions for M-SET to foster future development and collaboration within the broader community. (v) A thorough evaluation of the prototype highlights new insights into the low cost, safety and applicability of drone sensing.

Refer to caption
Figure 1: Three types of collisions and corresponding avoidance methods. Cross collision denotes two drones fly across each other; Parallel collision indicates two drones fly towards each other; Destination-occupied collision means one drone performing sensing occupies another drone’s destination.
Refer to caption
Figure 2: An overview of the prototyped M-SET architecture.

II Related Work

Distributed sensing with a swarm of autonomous and intelligent drones has been traditionally defined as an NP-hard combinatorial optimization problem [2]. Various distributed sensing solutions, such as particle swarm optimization [9], flocking [10], and wolf-pack search [11], have been applied to coordinate the actions of drones swarms and assign their sensing tasks. To validate realism and external validity of these algorithms, previous work has built testbed for real-world implementation and assessment. Khan et al. [12] tests the feasibility of mobile target tracking algorithms using clustering and cover-set coverage methods with help of Parrot AR.Drone quadcopters. The testbed in [13] demonstrates the performance of a dedicated Quality-of-Service communication system using Paparazzi drones for cooperative sensing missions. However, these testbeds fail to emulate collisions with fixed or dynamic obstacles, leading to inaccuracies in analysis of multi-drone operations in real-world scenarios.

Collision avoidance algorithms find applicability to distributed sensing with drones in order to facilitate safe and reliable airspace access [14]. Computer vision and machine learning-based techniques that utilise a combination of sensors such as LiDAR, Radar and Sonar propose onboard collision avoidance strategies [14, 15]. Artificial potential fields is another widely known collision avoidance strategy, commonly used in robotics [5]. Batinovic et al. [16] uses artificial potential field for obstacle avoidance in 3D Environments by equip** drones with LiDAR sensors, and eliminated the possibility of agents getting stuck in a local minima employing rotational components of the repulsive force. Nevertheless, they only conduct experiments in simulation, lacking the demonstration in applicability and realism. Sabikan et al. [17] addressed this issue by develo** a Time-to-Collision mathematical model using particle swarm optimization to find collision-free paths for outdoor drone data recording, but their work is limited to a platform with a single quadcopter. Schmittle et al. [18] establishes an open-source, cloud-enabled testbed to study the navigation around obstacles and drone swarm formation. However, it is limited to an exclusive software-based simulation and does not analyze how collision avoidance impacts the assignment of sensing tasks to drones, particularly regarding energy consumption and sensor data collection.

The designed testbed overcome these barriers by integrating potential field algorithm for collision avoidance with our previous testbed [4]. This enhanced testbed can adapt to various application scenarios and contexts while ensuring safety during navigation and sensing. By enhancing realism, it effectively emulate the outdoor environments. Furthermore, it examines the impact of collision avoidance on energy consumption and data collection, offering new insights into hardware testing for drones.

III Testbed Design

M-SET relies on a model, which can be implemented in different lab environments. This paper focuses on the sensing missions of traffic monitoring using camera-equipped drones for city road surveillance. The primary objective is to manage the spatio-temporal flight behaviors of a drone swarm to accurately observe vehicles and traffic flow, aiding in the detection of congestion and accidents. At an abstract level, the testbed is modeled by the elements presented in the rest of this section.

III-A Testbed components

III-A1 UAVs

They communicate to interact with each other directly, or via low-latency edge proxies, or through the cloud [19]. Each drone can run its swarm intelligence and collision avoidance software for distributed sensing within the following continuum [20]: (i) offline/online, remote, centralized computations (server deployment), (ii) offline/online, remote, distributed computations (edge-to-cloud deployment scenario) [19], and (iii) online, locally on drones, distributed computations. For long-term sensing missions, each drones can support wireless charging and be fully charged before starting the next missions [21].

III-A2 Virtual sensing environment

It is a video, displayed by a monitor or a projector, where drones sense at various resolutions based on their flying or hovering altitude and screen resolution. Each altitude corresponds to a specific size of a grid cell based on the field of view that the camera of a drone has, affecting recorded image resolution. Different areas have distinct sensing requirements that determine drone hovering time and data collection. For instance, high-traffic zones have higher sensing requirement (i.e., longer hovering time) for accurate traffic flow observation.

III-A3 Swarm intelligence

It assists multiple drones to plan the navigation and sensing in a coordinated way such that each self-select one plan influenced by the selections of others. Therefore, the total sensing by the swarm matches well the sensing requirements of all cells. This matching represents the relative approximation between the total actual sensed values per cell and sensing requirements per cell. Error and correlation metrics such as the root mean squared error, cross-correlation or residuals of summed squares can estimate this matching [7].

III-A4 Collision detection and collision avoidance

It detects all possible in-flight collisions, i.e., intersections of flight paths in multi-drone missions, and then minimizes the likelihood of collisions during the path planning. This requires an intelligent path planning algorithm, making distributed sensing cost-effective and safe within various scenarios. The algorithm detects intersections of flight paths, and augments the navigation and sensing plans selected via swarm intelligence to prevent the potential collisions, minimizing in-flight risks, i.e., the traveling distance at high risk of collisions. Fig 1 illustrates three typical types of collisions considered in this paper (cross, parallel, and destination-occupied).

III-B Architecture overview

Fig. 2 illustrates an overview of M-SET architecture. The core of M-SET lies in two software approaches. One is the decentralized multi-agent collective learning method, named Economic Planning and Optimized Selections (EPOS) [6, 7, 22]. It generates for each agent a finite number of discrete navigation and sensing options, each with an estimated power consumption: the possible plans and their cost respectively. Plan generation is performed using the drones specifications (weight, propeller and battery parameters), and grid cell information about the sensing environment. Then the agents interact iteratively in a bottom-up and top-down fashion over a tree communication structure to make a selection such that all choices together add up to maximize the sensing quality (matching). However, these selected plans have no information about the potential collisions, and thus the path planning algorithm for collision avoidance is required to augment selected plans. This testbed uses the artificial potential field algorithm [5] to generate attractive forces towards the destinations and repulsive forces between drones. These forces guide the drones to their target cells for sensing according to the selected plan, while also avoiding potential collisions. Finally, the algorithm produces the output plans containing the X/Y coordinates and sensing (hovering) duration at each cell. They are then executed by drones in hardware, which records the energy consumption, the collected sensor data and collision risk distance during the sensing mission. Therein, collision risk distance implies the specific distance at which the risk of collisions becomes significant, illustrated by the path length within the shaded area shown in Fig. 1.

IV Testbed Prototy**

This section introduces the prototy** details of M-SET architecture.

Refer to caption
(a) Crazyflie for testing positioning and wireless charging.
Refer to caption
(b) Crazyflie for navigation and camera recording.
Figure 3: Assembly of Crazyflies for two types of functions.

IV-A Hardware UAVs for sensing

M-SET uses the Crazyflie 2.1 because of its size, weight and accessibility333https://www.bitcraze.io/products/crazyflie-2-1/. The drone has 27g weight, 47mm propeller length, a battery capacity of 250mAh (LiPo battery) and it is configured to fly with an average ground speed of 0.1m/s. Based on this information, the power consumption can be estimated. Crazyflie can be programmed in Python with the support of API in Bitcraze444https://github.com/bitcraze/crazyflie-lib-python. This is further expanded by the Crazyswarm API555https://github.com/USC-ACTLab/crazyswarm, which provides additional functionality to control a swarm of Crazyflies. The drone can be mounted by multiple hardware decks to support different functions, such as positioning (with the support of lighthouse base stations), camera recording, and wireless charging. Due to maximum weight limitation of Crazyflie, two types of drones are assembled, one is for testing wireless charging, see Fig. 3(a), and the other is for collecting sensor data, see Fig. 3(b). The data-collection drone with an ultra low power 320×320 grayscale camera is equipped with a tiny mirror to take videos of the ground.

Refer to caption
(a) A 75 inch screen to display the traffic flow of vehicles.
Refer to caption
(b) Grid cells in the video and sensing requirements.
Figure 4: Indoor sensing lab using a large screen, Crazyflies, wireless chargers, and lighthouse base stations for positioning. Drones fly to grid cells and collect sensor data by recording the videos of traffic vehicles.

IV-B Setting up an indoor sensing environment

A 75 inch screen is set on the ground as an indoor environment to emulate the outdoor sensing environments. As shown in Fig. 4(a) and Fig. 4(b), the screen is divided into 2x3 square grid cells, each with an area of 55x47cm. Each cell can be sensed effectively from an altitude of 50cm (i.e., the vehicles can be clearly observed). Other accessory equipment is set, including lighthouse base stations and wireless chargers. To show the significant and broad impact of M-SET on a transportation scenario, the screen displays the video of the traffic flow of vehicles recorded from satellites or other simulators (e.g., simulations of urban mobility 666https://eclipse.dev/sumo/). In this scenario, a higher sensing requirement in a cell represents a high urgency for traffic monitoring over this area, which requires drones to hover a longer time to measure accurately. M-SET uses a real-world dataset of vehicle trajectories named pNEUMA777https://open-traffic.epfl.ch/ collected by a swarm of drones in the congested downtown area of Athens, Greece [8].

IV-C Swarm intelligence using collective learning

A number of N𝑁Nitalic_N agents, each corresponding to a drone, autonomously generate 16 plans, each comprising sequences of M𝑀Mitalic_M real values representing sensing duration at cells. These plans, serving as random samples of alternative routes with a random number of cells, respect battery constraints. They are assigned costs based on the power consumption of flying and hovering [23].

The plan selection is made in a coordinated way using EPOS888https://github.com/epournaras/epos [6] to prevent over-sensing and under-sensing999Over-sensing causes excessive data that needs further processing, waste of energy consumption, high storage and privacy cost [24], while under-sensing fails to satisfy sensing requirements.. The algorithm is selected because of its remarkable scalability (support a large number of agents), efficiency (low communication and computational cost) and resilience [6, 7, 25]. For this, agents connect into a balanced binary tree topology within which they interact with their children and parent to improve iteratively their plan selection. The goal of the agents is to minimize the residual of sum squares (RSS) between the following unit-length scaled signals: sensed values per cell summed up over all agents and the sensing requirements per cell. The agents perform 40404040 bottom-up and top-down learning iterations. More information about EPOS is out of the scope of this paper and can be found in earlier work [6, 7]. For this testbed prototype, the optimization process is performed offline and remotely, however deployments of EPOS for online optimization are already available for future extensions [20].

Refer to caption
(a) Layout of potential field grids to the target drone.
Refer to caption
(b) An example of collision avoidance with 2 drones.
Figure 5: An example of collision avoidance using artificial potential field algorithm: (a) The blue drone is the target drone attracted by the destination, whereas the red drone is the obstacle drone repelling the target drone. The vectors influenced by both attractive and repulsive forces point towards the navigation of the target drone. (b) Since drone 2 has higher priority and stronger repulsive force than drone 1, drone 1 is pushed out of the target cell and "wait" until drone 2 passes by, and makes a "turn" when traveling to the next cell.

IV-D Collision avoidance using artificial potential field

M-SET applies an artificial potential field algorithm [5] to path planning of drones, which creates force to repel drones from obstacles and attract them towards their destinations. As shown in Fig. 5, a Potential Fields Grid (PFG) in this implementation is created for each drone (named as the target drone) per timestamp. It is a 2D-grid of vectors, where each vector points in the direction that the target drone should fly at that position per timestamp [5]. There are two types of PFG: attractive PFG and repulsive PFG, which coexist to balance the drone navigation. The attractive PFG generates forces that pull the drone towards its target destination. The repulsive PFG creates forces that push the drone away from obstacles (e.g., the other drones). These repulsive forces are stronger when the target drone is closer to an obstacle. After the summation of all types of forces, the drone navigates towards its destination while avoiding obstacles. Thus, given I𝐼Iitalic_I vectors, a vector with index of i𝑖iitalic_i at timestamp t𝑡titalic_t, i1𝑖1i\geq 1italic_i ≥ 1, t1𝑡1t\geq 1italic_t ≥ 1, consists of two components: attractive component V𝖺superscript𝑉𝖺V^{\mathsf{a}}italic_V start_POSTSUPERSCRIPT sansserif_a end_POSTSUPERSCRIPT and repulsive component V𝗋superscript𝑉𝗋V^{\mathsf{r}}italic_V start_POSTSUPERSCRIPT sansserif_r end_POSTSUPERSCRIPT, formulated as follows:

Vi(t)=Vi𝖺(t)+j𝒩Vi,j𝗋(t),subscript𝑉𝑖𝑡subscriptsuperscript𝑉𝖺𝑖𝑡subscript𝑗superscript𝒩subscriptsuperscript𝑉𝗋𝑖𝑗𝑡V_{i}(t)=V^{\mathsf{a}}_{i}(t)+\sum_{j\in\mathcal{N}^{-}}V^{\mathsf{r}}_{i,j}(% t),italic_V start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_t ) = italic_V start_POSTSUPERSCRIPT sansserif_a end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_t ) + ∑ start_POSTSUBSCRIPT italic_j ∈ caligraphic_N start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_V start_POSTSUPERSCRIPT sansserif_r end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ( italic_t ) , (1)

where the attractive component is influenced by the current destination for the target drone n𝑛nitalic_n (this destination is changed once the drone reaches it); the repulsive one is effected by obstacle drone j𝑗jitalic_j, j𝒩𝑗superscript𝒩j\in\mathcal{N}^{-}italic_j ∈ caligraphic_N start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT, where 𝒩superscript𝒩\mathcal{N}^{-}caligraphic_N start_POSTSUPERSCRIPT - end_POSTSUPERSCRIPT defines the set of drones except the target drone n𝑛nitalic_n. Then, the attractive component can be formulated as:

Vi𝖺(t)=Vi𝖺(t1).subscriptsuperscript𝑉𝖺𝑖𝑡subscriptsuperscript𝑉𝖺𝑖𝑡1V^{\mathsf{a}}_{i}(t)=V^{\mathsf{a}}_{i}(t-1).italic_V start_POSTSUPERSCRIPT sansserif_a end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_t ) = italic_V start_POSTSUPERSCRIPT sansserif_a end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_t - 1 ) . (2)

However, there is a the common problem with repulsive PFG: agents stand-off in situations where they continuously repel each other without making progress, leading to a deadlock scenario [5]. To mitigate the lock, the priorities of drones are assigned randomly. Drones with higher priority exert stronger and more extensive repulsive forces, pushing lower-priority drones out of their paths. As a result, drones can reach their respective destinations in sequence without getting obstructed by other drones. The maximum radius of repulsion effect of a drone is defined as follows:

Rj=D𝗆𝗂𝗇(1+lnPj),subscript𝑅𝑗superscript𝐷𝗆𝗂𝗇1𝑙𝑛subscript𝑃𝑗R_{j}=D^{\mathsf{min}}(1+lnP_{j}),italic_R start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = italic_D start_POSTSUPERSCRIPT sansserif_min end_POSTSUPERSCRIPT ( 1 + italic_l italic_n italic_P start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) , (3)

where Pjsubscript𝑃𝑗P_{j}italic_P start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT denotes the priority index of obstacle drone j𝑗jitalic_j. The higher value of Pjsubscript𝑃𝑗P_{j}italic_P start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT is, the higher priority of a drone is. D𝗆𝗂𝗇superscript𝐷𝗆𝗂𝗇D^{\mathsf{min}}italic_D start_POSTSUPERSCRIPT sansserif_min end_POSTSUPERSCRIPT denotes the minimum distance between drones before they collide. This paper sets 25cm considering the wind force caused by the Crazyfly. Thus, we can formulate the update of a vector in repulsive PFG Vi,j𝗋subscriptsuperscript𝑉𝗋𝑖𝑗V^{\mathsf{r}}_{i,j}italic_V start_POSTSUPERSCRIPT sansserif_r end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT with index of i𝑖iitalic_i per timestamp t𝑡titalic_t as follows:

Vi,j𝗋(t)={Vi,j𝗋(t1)Sj2|Vi,j𝗋(t1)|Di,j(t),Di,j(t)Rj0,otherwise,subscriptsuperscript𝑉𝗋𝑖𝑗𝑡casessubscriptsuperscript𝑉𝗋𝑖𝑗𝑡1superscriptsubscript𝑆𝑗2subscriptsuperscript𝑉𝗋𝑖𝑗𝑡1subscript𝐷𝑖𝑗𝑡subscript𝐷𝑖𝑗𝑡subscript𝑅𝑗0𝑜𝑡𝑒𝑟𝑤𝑖𝑠𝑒\begin{split}V^{\mathsf{r}}_{i,j}(t)=\left\{\begin{array}[]{ll}\frac{V^{% \mathsf{r}}_{i,j}(t-1)\cdot S_{j}^{2}}{|V^{\mathsf{r}}_{i,j}(t-1)|\cdot D_{i,j% }(t)},&D_{i,j}(t)\leq R_{j}\\ 0,&otherwise\end{array},\right.\end{split}start_ROW start_CELL italic_V start_POSTSUPERSCRIPT sansserif_r end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ( italic_t ) = { start_ARRAY start_ROW start_CELL divide start_ARG italic_V start_POSTSUPERSCRIPT sansserif_r end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ( italic_t - 1 ) ⋅ italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG | italic_V start_POSTSUPERSCRIPT sansserif_r end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ( italic_t - 1 ) | ⋅ italic_D start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ( italic_t ) end_ARG , end_CELL start_CELL italic_D start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ( italic_t ) ≤ italic_R start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL 0 , end_CELL start_CELL italic_o italic_t italic_h italic_e italic_r italic_w italic_i italic_s italic_e end_CELL end_ROW end_ARRAY , end_CELL end_ROW (4)
Sj=δ|Vi𝖺(t1)|+lnPj,subscript𝑆𝑗𝛿subscriptsuperscript𝑉𝖺𝑖𝑡1𝑙𝑛subscript𝑃𝑗S_{j}=\delta|V^{\mathsf{a}}_{i}(t-1)|+lnP_{j},italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = italic_δ | italic_V start_POSTSUPERSCRIPT sansserif_a end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_t - 1 ) | + italic_l italic_n italic_P start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT , (5)

where Di,jsubscript𝐷𝑖𝑗D_{i,j}italic_D start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT indicates the distance between the vector i𝑖iitalic_i and an obstacle drone j𝑗jitalic_j; Sjsubscript𝑆𝑗S_{j}italic_S start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT denotes the scaling factor for the strength of repulsion, higher than the strength (or magnitude) of attractive component of the vector Vi𝖺subscriptsuperscript𝑉𝖺𝑖V^{\mathsf{a}}_{i}italic_V start_POSTSUPERSCRIPT sansserif_a end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. This ensures that the repulsive force acting on the target drone is stronger than attractive force, thus influencing the vector Visubscript𝑉𝑖V_{i}italic_V start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT according to Eq.(1). We set the scaling value δ=2.5𝛿2.5\delta=2.5italic_δ = 2.5 empirically to ensure that the lowest priority drone is strong enough to repel the other drones under the attractive forces. Therefore, the vectors in PFG prioritize maintaining a safe distance and prevent potential collisions over reaching the destinations. For normalization, we set the magnitude of both repulsive and attractive components as |Vi𝗋(1)|=|Vi𝖺(1)|=1subscriptsuperscript𝑉𝗋𝑖1subscriptsuperscript𝑉𝖺𝑖11|V^{\mathsf{r}}_{i}(1)|=|V^{\mathsf{a}}_{i}(1)|=1| italic_V start_POSTSUPERSCRIPT sansserif_r end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( 1 ) | = | italic_V start_POSTSUPERSCRIPT sansserif_a end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( 1 ) | = 1. Finally, the target drone is forced by the summation of all vectors per timestamp, formulated as i=1IVi(t)subscriptsuperscript𝐼𝑖1subscript𝑉𝑖𝑡\sum^{I}_{i=1}V_{i}(t)∑ start_POSTSUPERSCRIPT italic_I end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT italic_V start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_t ) for I𝐼Iitalic_I vectors.

V Experimental Evaluation

In this section, the baselines and performance evaluation metrics are illustrated. Evaluation are made using the testbed scenario and complex simulation scenarios.

V-A Baselines and metrics

The approach used in M-SET is the collective learning of EPOS based on potential field collision avoidance, named as EPOS-PF. To assess the collision avoidance, two baseline approaches are introduced: collective learning without collision avoidance (EPOS) and collective learning with custom collision-based scheduler (EPOS-CA). EPOS-CA considers three classical types of collisions during the in-flight missions of drones as shown in Fig. 1. These collisions are detected after sensing plans are selected and avoided by delaying drones with lower priority. Cross and destination-occupied collisions are mitigated by controlling drones to wait until the path is collision-free while parallel collision is removed by redirecting drones to a point away from its original path before it resumes back to its target cell. To compare with EPOS that minimizes RSS to improve sensing quality regardless of energy consumption, this paper introduces another baseline method that agents can make a choice that minimizes the energy consumption of their drones while preventing collisions using artificial potential field, named as Greedy-PF.

The evaluation of all approaches includes key metrics:

V-A1 Energy consumption

It is the total energy consumed by all drones, calculated by their hovering and traveling time.

V-A2 Risk of collisions

It represents the ratio of the total travel distance where drones are at risk of collision. It can be calculated by dr/dsubscript𝑑𝑟𝑑d_{r}/ditalic_d start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT / italic_d, where d𝑑ditalic_d denotes the total traveling distance of drones, drsubscript𝑑𝑟d_{r}italic_d start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT indicates the collision risk distance.

V-A3 Sensing mismatch

It denotes the RSS between the total sensing of drones (i.e., the number of observed vehicles) per cell and the sensing requirements (i.e., the number of vehicles acquired from pNEUMA [8]) per cell.

Refer to caption
(a) Actual voltage logging of Crazyflies.
Refer to caption
(b) Real vs. Estimated energy consumption of Crazyflies.
Figure 6: Comparison between estimated and real energy consumption. M-SET has highly accurate energy consumption estimation in real-world.
Refer to caption
(a) Total energy consumption of drones in different approaches.
Refer to caption
(b) Risk of collisions.
Refer to caption
(c) Count of different types of collisions.
Refer to caption
(d) Sensing mismatch.
Figure 7: Energy, sensing and collision performance comparison of drones. EPOS-PF significantly mitigates the risk of collisions and maintains low sensing mismatch, while consuming higher energy than other baseline methods with a high number of drones. The points markers denote hardware results whereas the shadow represents the errors in software results.

V-B Analysis of results

To validate the applicability and realism of M-SET, we compare the energy consumption of drones estimated in software and the actual energy consumption in hardware. Fig. 6(a) illustrates the actual voltage of Crazyflies within the logging system of Crazyswarm where 4444 Crazyflies only hover for 250250250250 seconds. The voltage is recorded per second and is used to calculate the actual energy consumption based on battery capacity (250mAh) and expected flight time (7min). Fig. 6(b) compares, for each drone, the actual energy consumption with model-based estimated the one calculated during the planning phase of M-SET, with only approximately 120.4120.4120.4120.4 joules error. This is because Crazyflies spend some additional flying time to calibrate between departure and landing.

Different methods are compared with 4 number of drones in total energy consumption. We firstly run the software with 40404040 different areas of the city centre [8], and then choose one of the results (the average of all results) for the execution in hardware. Fig. 7(a) shows that the disparity of energy consumption with and without collision avoidance rises as the number of drones increases, especially for artificial potential field. This is because each drone needs to detect and avoid several collisions within a small testbed, extending their traveling time.

Albeit a high energy consumption, EPOS-PF significantly reduces the risk of collisions compared to other baseline methods, as shown in Fig. 7(b). It can detect various types of collisions that EPOS-CA cannot (e.g., the case where three drones collide). The low risk of collisions in EPOS-PF further proves the applicability of M-SET. Besides, since the highest number of collisions belongs to destination-occupied collisions, as shown in Fig. 7(c), drones with low priority in EPOS-CA continuously wait and sense the same cell, resulting in over-sensing and under-sensing. This increases the sensing mismatch of EPOS-CA compared to EPOS as shown in Fig. 7(d). In contrast, EPOS-PF dynamically repels and attracts drones to different areas, thereby mitigating over-sensing and under-sensing, and resulting in a sensing mismatch approximately 21.93%percent21.9321.93\%21.93 % lower than EPOS-CA. Greedy-PF chooses the navigation and sensing with only one cell to minimize the energy consumption, mitigating the risk of collision, but still confronts over-sensing and under-sensing.

In summary, several new insights on experimental results are listed as follows: (i) M-SET using EPOS-PF improves sensing quality of traffic monitoring while avoiding collisions, making it energy-efficient with a limited number of drones. (ii) The accurate estimation of energy consumption and low risk of collisions validate M-SET as a proof-of-concept, proving its feasibility and safety in real-word applications. (iii) The expenditure of M-SET (each Crazyflie with necessary decks costs around $600currency-dollar600\$600$ 600) is significantly lower than outdoor experimentation with larger drones with cameras (e.g., Phantom 4 Pro at around $1600currency-dollar1600\$1600$ 1600). (iv) M-SET eliminates concerns about licensing, atmospheric conditions, and privacy violations.

VI Conclusion and Future work

In conclusion, this paper introduces a novel testbed (M-SET) to integrate collision avoidance method to distributed sensing with drones exhibiting swarm intelligence. Designed for indoor lab environments, M-SET simplifies complex outdoor sensing scenarios while enhancing the realism of experimentation. As a proof-of-concept, this paper demonstrates the applicability of a decentralized multi-agent collective learning algorithm [6] and an artificial potential field algorithm [5] to coordinate drones navigation and sensing for traffic monitoring. The results highlight the potential of M-SET and provide valuable opportunities for the broader community to enhance drone control in low-cost, safe and efficient distributed sensing scenarios for Smart Cities.

The testbed opens up several promising avenues for further improvements: (i) Using advanced hardware (e.g., ultrasonic sensor) for real-time collision avoidance. (ii) Incorporating different drones with different sensors and data collection capabilities. (iii) Implementing and integrating other swarm intelligence algorithms and reinforcement learning [26] for enhanced online testbed operations.

Acknowledgment

This research is supported by a UKRI Future Leaders Fellowship (MR-/W009560/1): Digitally Assisted Collective Governance of Smart City Commons–ARTIO, and the European Union, under the Grant Agreement GA101081953 for the project H2OforAll—Innovative Integrated Tools and Technologies to Protect and Treat Drinking Water from Disinfection Byproducts (DBPs). Views and opinions expressed are, however, those of the author(s) only and do not necessarily reflect those of the European Union. Neither the European Union nor the granting authority can be held responsible for them. Funding for the work carried out by UK beneficiaries has been provided by UKRI under the UK government’s Horizon Europe funding guarantee [grant number 10043071]. Thanks to Emmanouil Barmpounakis and Nikolas Geroliminis for their support in using the pNEUMA dataset.

References

  • [1] Eugen Valentin Butilă and Răzvan Gabriel Boboc. Urban traffic monitoring and analysis using unmanned aerial vehicles (UAVs): A systematic literature review. Remote Sensing, 14(3):620, 2022.
  • [2] Yongkun Zhou, Bin Rao, and Wei Wang. UAV swarm intelligence: Recent advances and future trends. Ieee Access, 8:183856–183878, 2020.
  • [3] Yahao Ding, Zhaohui Yang, Quoc-Viet Pham, Ye Hu, Zhaoyang Zhang, and Mohammad Shikh-Bahaei. Distributed machine learning for UAV swarms: Computing, sensing, and semantics. IEEE Internet of Things Journal, 2023.
  • [4] Chuhao Qin, Fethi Candan, Lyudmila Mihaylova, and Evangelos Pournaras. 3, 2, 1, drones go! a testbed to take off UAV swarm intelligence for distributed sensing. In UK Workshop on Computational Intelligence, pages 576–587. Springer, 2022.
  • [5] Giuseppe Fedele, Luigi D’Alfonso, Francesco Chiaravalloti, and Gaetano D’Aquila. Obstacles avoidance based on switching potential functions. Journal of Intelligent & Robotic Systems, 90:387–405, 2018.
  • [6] Evangelos Pournaras, Peter Pilgerstorfer, and Thomas Asikis. Decentralized collective learning for self-managed sharing economies. ACM Transactions on Autonomous and Adaptive Systems, 13(2):1–33, 2018.
  • [7] Evangelos Pournaras. Collective learning: A 10-year odyssey to human-centered distributed intelligence. In 2020 IEEE International Conference on Autonomic Computing and Self-Organizing Systems (ACSOS), pages 205–214. IEEE, 2020.
  • [8] Emmanouil Barmpounakis and Nikolas Geroliminis. On the new era of urban traffic monitoring with massive drone data: The pneuma large-scale field experiment. Transportation research part C: emerging technologies, 111:50–71, 2020.
  • [9] Yang Gao, Yingzhou Zhang, Shurong Zhu, and Yi Sun. Multi-UAV task allocation based on improved algorithm of multi-objective particle swarm optimization. In 2018 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC), pages 443–4437. IEEE, 2018.
  • [10] Fei Dai, Ming Chen, Xianglin Wei, and Huibin Wang. Swarm intelligence-inspired autonomous flocking control in UAV networks. IEEE Access, 7:61786–61796, 2019.
  • [11] Yongbo Chen, Di Yang, and Jianqiao Yu. Multi-UAV task assignment with parameter and time-sensitive uncertainties using modified two-part wolf pack search algorithm. IEEE Transactions on Aerospace and Electronic Systems, 54(6):2853–2872, 2018.
  • [12] Mouhyemen Khan, Karel Heurtefeux, Amr Mohamed, Khaled A Harras, and Mohammad Mehedi Hassan. Mobile target coverage and tracking on drone-be-gone UAV cyber-physical testbed. IEEE Systems Journal, 12(4):3485–3496, 2017.
  • [13] Ouns Bouachir, Moayad Aloqaily, Fabien Garcia, Nicolas Larrieu, and Thierry Gayraud. Testbed of qos ad-hoc network designed for cooperative multi-drone tasks. In Proceedings of the 17th ACM International Symposium on Mobility Management and Wireless Access, pages 89–95, 2019.
  • [14] Mohammad Reza Rezaee, Nor Asilah Wati Abdul Hamid, Masnida Hussin, and Zuriati Ahmad Zukarnain. Comprehensive review of drones collision avoidance schemes: Challenges and open issues. IEEE Transactions on Intelligent Transportation Systems, 2024.
  • [15] Alexandros Kouris and Christos-Savvas Bouganis. Learning to fly by myself: A self-supervised cnn-based approach for autonomous navigation. In 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 1–9. IEEE, 2018.
  • [16] Ana Batinovic, Jurica Goricanec, Lovro Markovic, and Stjepan Bogdan. Path planning with potential field-based obstacle avoidance in a 3D environment by an unmanned aerial vehicle. In 2022 International Conference on Unmanned Aircraft Systems (ICUAS), pages 394–401. IEEE, 2022.
  • [17] Sulaiman Bin Sabikan, Sophan Wahyudi Nawawi, and NAA Aziz. Modelling of time-to collision for unmanned aerial vehicle using particles swarm optimization. IAES International Journal of Artificial Intelligence, 9(3):488, 2020.
  • [18] Matt Schmittle, Anna Lukina, Lukas Vacek, Jnaneshwar Das, Christopher P Buskirk, Stephen Rees, Janos Sztipanovits, Radu Grosu, and Vijay Kumar. OpenUAV: A UAV testbed for the CPS and robotics community. In 2018 ACM/IEEE 9th International Conference on Cyber-Physical Systems (ICCPS), pages 130–139. IEEE, 2018.
  • [19] Zeinab Nezami, Evangelos Pournaras, Amir Borzouie, and Jie Xu. Smotec: An edge computing testbed for adaptive smart mobility experimentation. In 2023 IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C), pages 1–7. IEEE, 2023.
  • [20] Farzam Fanitabasi, Edward Gaere, and Evangelos Pournaras. A self-integration testbed for decentralized socio-technical systems. Future Generation Computer Systems, 113:541–555, 2020.
  • [21] Prithvi Krishna Chittoor, Bharatiraja Chokkalingam, and Lucian Mihet-Popa. A review on UAV wireless charging: Fundamentals, applications, charging techniques and standards. IEEE access, 9:69235–69266, 2021.
  • [22] Chuhao Qin and Evangelos Pournaras. Coordination of drones at scale: Decentralized energy-aware swarm intelligence for spatio-temporal sensing. Transportation Research Part C: Emerging Technologies, 157:104387, 2023.
  • [23] Joshuah K Stolaroff, Constantine Samaras, Emma R O’Neill, Alia Lubers, Alexandra S Mitchell, and Daniel Ceperley. Energy use and life cycle greenhouse gas emissions of drones for commercial package delivery. Nature Communications, 9(1):1–13, 2018.
  • [24] Evangelos Pournaras, Mark Christopher Ballandies, Stefano Bennati, and Chien-fei Chen. Collective privacy recovery: Data-sharing coordination via decentralized artificial intelligence. PNAS nexus, 3(2):pgae029, 2024.
  • [25] Srijoni Majumdar, Chuhao Qin, and Evangelos Pournaras. Discrete-choice multi-agent optimization: Decentralized hard constraint satisfaction for smart cities. In International Conference on Autonomous Agents and Multiagent Systems, pages 60–76. Springer, 2023.
  • [26] Yu-Hsin Hsu and Rung-Hung Gau. Reinforcement learning-based collision avoidance and optimal trajectory planning in UAV communication networks. IEEE Transactions on Mobile Computing, 21(1):306–320, 2020.