Fully Onboard Low-Power Localization with Semantic Sensor Fusion on a Nano-UAV using Floor Plans

Nicky Zimmerman, Hanna Müller, Michele Magno, Luca Benini

This paper presents a significant leap for autonomous nano-drones: a system that allows a palm-sized UAV to figure out exactly where it is in a building using nothing but a simple floor plan and its own onboard sensors. By fusing low-power Time-of-Flight (ToF) range data with real-time semantic object detection, the researchers achieved robust global localization on a platform with extremely tight power and computational budgets.

TL;DR

Researchers have developed a method for nano-UAVs to self-localize globally using only onboard hardware and pre-existing floor plans. By fusing miniaturized Time-of-Flight sensors with a YOLO-based object detector running on a sub-100mW RISC-V processor, they achieved a 90% localization success rate in real-world office environments.

What Problem Does This Paper Address?

Nano-sized Unmanned Aerial Vehicles (UAVs), like the Crazyflie, are ideal for indoor tasks because they are safe around humans and can navigate tight spaces. However, making them autonomous is incredibly difficult. They cannot use GPS indoors, and high-end sensors like 3D LiDAR are too heavy and power-hungry.

While researchers have tried using miniaturized ToF sensors for localization, these sensors have a very short range (about 3 meters). In large, open, or structurally symmetric indoor spaces (like long hallways), these sensors alone aren't enough to tell one room from another. Most existing solutions rely on external infrastructure like motion-capture cameras or UWB beacons, which limits where the drone can actually fly. This paper aims to cut that cord, enabling "fully onboard" autonomy using readily available floor plans.

Methods

The authors propose Nano-SMCL (Semantic Monte Carlo Localization), which runs entirely on a modified Crazyflie 2.1.

Hardware Stack

The drone is equipped with:

  • Multi-zone ToF sensors: Providing sparse geometric data.
  • GAP9 Processor: A novel, ultra-low-power multi-core RISC-V SoC designed for edge AI.
  • Monocular Camera: A tiny RGB sensor for semantic cues.
System overview showing the stacked hardware components and communication paths.

The Localization Pipeline

  1. Object Detection: They deployed a pruned and quantized version of YOLOv5 (dubbed YOLOv5p) on the GAP9 processor. This model identifies objects like sinks, doors, and cabinets.
  2. Semantic Map: Instead of a complex 3D map, they use a memory-efficient 16-bit map derived from a standard floor plan. It stores occupancy data and the locations of semantic objects.
  3. Sensor Fusion: The core of the approach is a novel observation model for a Particle Filter (MCL). When the drone "sees" an object (e.g., a fridge), it re-weights its internal hypotheses (particles). If a particle's predicted location doesn't have a fridge in the map, that particle is penalized. This is fused with geometric range data from the ToF sensors.

Datasets

  • Object Detection: The YOLOv5p model was pre-trained on the COCO dataset and then fine-tuned on a custom dataset of office-related semantic classes (sink, door, fridge, board, table, plant, drawers, sofa, cabinet, extinguisher).
  • Evaluation: The system was tested on 10 real-world drone flights in an office environment. Ground truth was established using a high-density 3D point cloud from a terrestrial laser scanner and AprilTags for precise pose tracking.
Top view of the dense pointcloud used for ground truth and the semantically-enriched floor plan.

Key Insights and Ideas

  • Semantics Break Symmetry: Geometric sensors often fail in repetitive environments (e.g., two identical offices). By recognizing that "Office A has a plant and Office B has a printer," the drone can resolve global ambiguity that would baffle a range-only sensor.
  • Efficiency is King: The authors proved that a state-of-the-art object detector can run at 20fps while consuming only 2.5mJ per frame. This fits within the strict 10% power budget (approx. 1.5W) typically allocated for sensing and computing on nano-UAVs.
  • Sparse Maps are Sufficient: By using semantic cues, the drone doesn't need a high-resolution 3D map. A simple, hand-annotated floor plan is enough for successful global localization.

Key Results

  • Localization Success: The Nano-SMCL approach achieved a 90% success rate in global localization, compared to only 10% for a range-only baseline.
  • Accuracy: The average Absolute Trajectory Error (ATE) was just 0.32 meters.
  • Real-time Performance: The system operates in real-time, processing ToF data at 15Hz and camera data at 5Hz.
  • Power Consumption: The GAP9 processor consumes only ~65mW during inference, a massive improvement over standard onboard computers like the Intel NUC, which can draw 120W.

Limitations and Future Work

Despite the high success rate, the system can still struggle with semantic ambiguity. If two rooms have nearly identical layouts of furniture (e.g., a sofa and cabinet in the same relative positions), the particle filter may maintain two competing hypotheses for a long time.

A failed localization scenario where particles are split between two rooms with similar semantic layouts.

The authors also noted that the current bottleneck is the camera's image acquisition speed (50ms), not the processing power of the GAP9. Future work could involve integrating these localization results into a full autonomous navigation and obstacle avoidance stack, truly enabling independent nano-drone missions.

Summary updated

BibTeX
@inproceedings{zimmerman2024fully,
  author = {Nicky Zimmerman and Hanna Müller and Michele Magno and Luca Benini},
  title = {{Fully Onboard Low-Power Localization with Semantic Sensor Fusion on a Nano-UAV using Floor Plans}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra57147.2024.10610851},
}
Figure