Abstract
Gas source localization (GSL) is critical for industrial safety and search-and-rescue, yet remains challenging for autonomous robots in cluttered, GPS-denied environments. This paper introduces "Sniffy Bug," the first fully autonomous swarm of nano-quadcopters capable of GSL without relying on heavy sensors or pre-existing maps. We propose a dual-layered approach combining a mapless "bug" navigation algorithm with Particle Swarm Optimization (PSO). To optimize the system, we developed "AutoGDM," an automated simulation pipeline for evolving robust flight behaviors. Our results show that the evolved swarm successfully locates gas sources in complex real-world environments with an 11/12 success rate, demonstrating the viability of resource-constrained swarms for hazardous tasks.
Introduction
Gas source localization is a high-stakes task, but it is notoriously difficult for robots. Traditional solutions often rely on large drones equipped with power-hungry LiDAR and heavy processors to run Simultaneous Localization and Mapping (SLAM). However, in tight, cluttered indoor spaces, agile nano-quadcopters are preferred due to their safety and low cost.
Nano-drones like the Bitcraze Crazyflie face a "resource poverty" problem: they lack the memory and compute power to maintain complex probability maps of gas distribution. Furthermore, gas does not move in simple gradients; in cluttered rooms, airflow creates complex plumes and local maxima that can easily mislead a single robot. Sniffy Bug addresses these challenges by using a swarm of drones that communicate to find the source collectively.
Hardware Platform and Constraints
To operate in GPS-denied, cluttered environments, the researchers utilized a 37.5g nano-quadcopter platform. The hardware was specifically tailored to provide necessary sensing while remaining within strict weight and power limits.
The platform includes a custom-designed Metal-Oxide (MOX) gas sensor PCB, four simple laser rangers for obstacle detection, and an Ultra-Wideband (UWB) module for inter-drone ranging and communication. This setup allows the drones to detect gas and avoid collisions without the need for heavy LiDAR or cameras.
The Sniffy Bug Navigation Algorithm
The core of the system is a dual-layered navigation strategy designed to fit on a single-core 168MHz processor. The first layer is a mapless "bug" algorithm that manages obstacle avoidance and exploration through three distinct states:
- Line Following: Drones move toward a designated waypoint while maintaining a safe distance from obstacles.
- Wall Following: When an obstacle blocks the direct path to a waypoint, the drone uses its laser rangers to "skirt" around the perimeter until the path is clear.
- Attraction-Repulsion Swarming: Using UWB, drones maintain a minimum distance from each other to prevent collisions while ensuring the swarm spreads out to maximize the search area.
The second layer utilizes Particle Swarm Optimization (PSO). Once a drone detects gas, the swarm shifts from random exploration to a collaborative search. Drones communicate their local gas intensity and positions, collectively shifting their waypoints toward the highest detected concentration.
Simulation and Evolutionary Optimization
To tune the 13 parameters of the navigation logic, the team developed AutoGDM, an automated pipeline that generates random 3D environments and simulates airflow using Computational Fluid Dynamics (CFD). This allowed for the modeling of realistic gas dispersion patterns.
The researchers used a genetic algorithm to evolve the drones' behavior. A key innovation was the use of "doping"—a technique that prioritizes training on "hard" or highly cluttered environments. This approach increased the simulation success rate from 89% to 92% and significantly improved the speed at which the swarm located the gas source.
Key Results and Insights
- Sim-to-Real Resilience: Despite the noise of real-world gas sensors and the turbulence created by propeller downwash, the PSO strategy proved robust. Because PSO relies on the relative best-seen positions of the swarm rather than absolute gradients, it effectively handled chaotic real-world plumes.
- Superiority over Baselines: In simulation, Sniffy Bug outperformed traditional bio-inspired strategies like chemotaxis (following concentration gradients) and anemotaxis (moving upwind) in both speed and success rate.
- Real-World Success: In physical flight tests involving four distinct room configurations, the evolved swarm successfully located an isopropyl alcohol source in 11 out of 12 runs. The evolved controller achieved gas readings nearly 40% higher than manually tuned versions, indicating it stayed much closer to the actual source.
Conclusion
Sniffy Bug demonstrates that sophisticated, mapless navigation is possible even on resource-constrained hardware. By combining simple "bug" logic with collaborative swarming and evolutionary optimization, nano-drones can solve complex tasks in environments where traditional SLAM-based robots might fail. Future work will focus on extending the algorithm to 3D navigation and scaling the swarm for larger, multi-room buildings.
Summary updated