A Plug-and-Play TinyML-based Vision System for Drone Automatic Landing

Luca Santoro, Andrea Albanese, Marco Canova, Matteo Della Rossa, Daniele Fontanelli, Davide Brunelli

Autonomous landing is a critical safety feature for Unmanned Aerial Vehicles (UAVs), enabling them to return home safely during battery depletion or signal loss. However, current solutions often face a "power-performance" paradox. High-accuracy systems typically rely on heavy Single-Board Computers (SBCs) like the Nvidia Jetson Nano, which significantly drain flight batteries. Conversely, cloud-based processing introduces latency and requires constant connectivity. This paper introduces NEWTON, a "plug-and-play" TinyML vision system that moves complex computer vision tasks onto ultra-low-power microcontrollers (MCUs) without sacrificing reliability.

System Architecture and Vision Pipeline

The NEWTON system utilizes an OpenMV Cam H7 Plus as a companion computer to a standard Pixhawk flight controller. The architecture is designed to minimize power consumption while maintaining sufficient processing speed for real-time landing maneuvers.

System architecture of the NEWTON vision and control pipeline.

To overcome the memory constraints of the MCU, the vision pipeline avoids feeding full high-resolution images into a neural network. Instead, it employs a multi-step preprocessing approach:

  1. Contour Extraction: A mean operator highlights edges in the frame.
  2. Hough Transform: This classical technique identifies potential circular landing pads.
  3. Region of Interest (RoI): The system crops a 64x64 pixel area around the detected circle.
  4. Tiny-NN: A modified LeNet-5 architecture performs binary classification to confirm the landing pad.

To fit the neural network onto the MCU's limited memory, the authors employed full-integer quantization, compressing the model from 77.2 MB to just 6 MB—a 13x reduction.

Control Logic and Decision Making

Once a landing pad is identified and confirmed by the neural network, the system calculates the relative distance and angle. The MCU communicates with the Pixhawk via the MAVLink protocol, sending velocity set-points to align the drone over the center of the pad.

Flowchart illustrating the autonomous landing decision logic.

The control logic follows a structured decision tree. If a circle is detected and confirmed as a landing pad, the system checks if the drone is within a specific distance threshold ($d_{thr}$). If not, it continues motion control to align the vehicle; if the threshold is met, the landing sequence is initiated. If no target is locked, the system defaults to a search routine.

Experimental Results

The system was trained on a dataset of over 26,000 images and evaluated for both accuracy and physical performance:

  • Inference Performance: The quantized model achieved 93.5% accuracy and 94.0% precision. While slightly lower than the unquantized version (99.4%), it proved robust for real-world application.
  • Operational Speed: The system operates at 3.2 frames per second (FPS), which is sufficient for the controlled movements required during landing.
  • Energy Efficiency: The entire vision and control stack adds only a 2% overhead to the drone's energy budget, preserving maximum flight time.
  • Precision: In outdoor tests, the drone successfully aligned with landing pads with an error margin of approximately 30 cm, while simulation tests showed errors as low as 5 cm.

Limitations and Future Work

While successful, the current iteration has limitations. The final descent is currently "open-loop," making the drone susceptible to ground-level turbulence (the "wash-effect"). Additionally, complex ground textures can occasionally trigger false negatives in the initial circle detection. Future work will focus on closing the control loop during the final vertical drop and optimizing preprocessing to handle more diverse environmental textures.

Summary updated

BibTeX
@inproceedings{santoro2023plug,
  author = {Luca Santoro and Andrea Albanese and Marco Canova and Matteo Della Rossa and Daniele Fontanelli and Davide Brunelli},
  title = {{A Plug-and-Play TinyML-based Vision System for Drone Automatic Landing}},
  booktitle = {Metroind4.0\&iot},
  year = {2023},
  doi = {10.1109/metroind4.0iot57462.2023.10180179},
}
Figure