Abstract
Autonomous navigation for nano-scale Unmanned Aerial Vehicles (UAVs) is constrained by severe power and computational limits. This paper presents a fully onboard deep learning navigation pipeline for a 27-gram nano-UAV. By integrating a custom ultra-low-power hardware shield (PULP-Shield) with an optimized residual convolutional neural network (PULP-DroNet), the system achieves real-time obstacle avoidance and autonomous indoor flight at speeds up to 1.5 m/s without relying on external computation or remote base stations.
Introduction
Nano-UAVs, such as the palm-sized Crazyflie 2.0, are ideal for indoor applications like search-and-rescue or warehouse monitoring due to their safety and agility. However, achieving true autonomy—where sensing, reasoning, and control occur entirely onboard—is challenging. Traditional navigation stacks are too computationally heavy for the sub-10W power budget and milligram-scale payload capacity of these drones. Most existing "autonomous" nano-drones rely on off-board processing via radio links or external positioning systems. This work introduces a vertically integrated solution that enables fully autonomous, untethered flight.
System Architecture
The researchers achieved autonomy through a co-design of hardware and software, focusing on extreme efficiency.
Hardware: The PULP-Shield
The system utilizes a custom 5-gram pluggable PCB designed for the Crazyflie 2.0. At its core is the GAP8 SoC, based on the open-source Parallel Ultra-Low-Power (PULP) architecture. The GAP8 features a RISC-V "Fabric Controller" for system management and an 8-core cluster optimized for parallelizing intensive AI workloads.
Software: PULP-DroNet
The navigation engine is based on DroNet, a residual CNN originally developed for larger drones. To deploy it on a resource-constrained SoC lacking a floating-point unit and with limited L2 memory (512 KB), several optimizations were implemented:
- Quantization: The network was converted from 32-bit floating-point to 16-bit fixed-point arithmetic.
- Batch-Norm Folding: Batch normalization layers were mathematically merged into preceding convolutional layers during inference to reduce computational overhead.
- Memory Management: A double-buffering scheme ensures efficient data movement between the camera, L2 memory, and the L1 scratchpad, preventing processor stalls.
Training and Datasets
The model was trained using a multi-source approach to ensure robust generalization:
- Udacity Self-Driving Car Dataset: Provided data for corridor following and steering.
- Zurich Bicycle Dataset: Used for training collision probability detection.
- Custom Extension: 1,122 images were collected using the drone’s onboard HiMax camera to fine-tune the model to the specific visual characteristics and noise of the low-resolution sensor.
Results and Discussion
The integrated system demonstrates high efficiency and performance:
- Throughput and Power: The CNN runs at up to 18 frames per second (fps). Power consumption ranges from 64 mW at 6 fps to 272 mW at 18 fps, significantly lower than typical mobile processors.
- Flight Performance: The drone successfully navigated a 113-meter path in an unseen environment, avoiding obstacles at speeds up to 1.5 m/s.
- Weight Trade-off: The 5-gram hardware addition resulted in a 22% reduction in flight time. This highlights that for nano-UAVs, the physical weight of the electronics is a more significant constraint than their electrical power consumption.
Conclusion
This work represents a milestone in nano-UAV autonomy, proving that sophisticated deep learning models can run entirely onboard within extreme power and weight constraints. By open-sourcing the hardware designs, datasets, and code, the authors provide a foundation for future research in decentralized, intelligent swarms of nano-drones. Future work will focus on reducing weight through flexible PCBs and integrating global localization (SLAM) capabilities.
Summary updated