HDVIO: Improving Localization and Disturbance Estimation with Hybrid Dynamics VIO

Giovanni Cioffi, Leonard Bauersfeld, Davide Scaramuzza

Abstract

Accurate state estimation is critical for autonomous drone flight, particularly in challenging environments with high speeds and external disturbances. Traditional Visual-Inertial Odometry (VIO) often struggles with complex aerodynamics and wind. We present HDVIO (Hybrid Dynamics VIO), a system that combines first-principles physics with deep learning to improve motion tracking and external force estimation. By utilizing a Temporal Convolutional Network (TCN) to predict residual forces from thrust and rotation history, HDVIO avoids the stability issues of velocity-dependent drag models. Experimental results show a 33% improvement in position accuracy and a 40% improvement in force estimation over state-of-the-art methods.

Introduction

Autonomous drones typically rely on Visual-Inertial Odometry (VIO), which fuses camera images with IMU data. While effective, standard VIO often fails during aggressive maneuvers or in the presence of strong winds because it treats the drone as a simple kinematic point. Incorporating dynamics models—equations describing how motor thrust translates to motion—can improve accuracy. However, high-fidelity models that include aerodynamic drag often create a problematic feedback loop: errors in estimated velocity lead to incorrect drag calculations, which further degrade velocity estimates.

Methods

HDVIO introduces a Hybrid Dynamics Model that decouples the physics-based thrust model from complex aerodynamic effects. The system consists of two main components:

  1. Physics-Based Base: A point-mass model relating thrust to acceleration.
  2. Learned Residual Model: A Temporal Convolutional Network (TCN) that predicts "residual forces" ($f_{res}$) representing aerodynamic drag, motor miscalibration, and other unmodeled effects.

Crucially, the TCN does not use estimated velocity as an input. Instead, it processes a 100ms window of thrust commands and gyroscope data. This "velocity-free" approach allows the network to implicitly sense aerodynamic forces through temporal patterns of rotation and thrust, breaking the feedback loop inherent in traditional drag modeling.

The HDVIO factor graph integrates vision, inertial, and hybrid dynamics factors into a unified optimization framework.

The hybrid model is integrated into an optimization-based VIO backend using preintegration theory. This allows the high-rate dynamics data to serve as constraints within the factor graph, refining the drone's trajectory and state estimates in real-time.

Experimental Setup and Datasets

The researchers evaluated HDVIO on several benchmarks:

  • NeuroBEM & Blackbird: High-speed indoor flight datasets (up to 65 km/h).
  • VID: A dataset with ground-truth external force measurements.
  • Real-World Wind Field: A custom setup using three industrial fans to generate 25 km/h winds. A quadcopter equipped with a "dragboard" to increase aerodynamic sensitivity was flown in circular and figure-eight patterns through the wind field.
Experimental setup showing the quadcopter with a dragboard, the fan array, and the resulting wind field estimation compared to ground truth.

Results

HDVIO demonstrates significant performance gains across all benchmarks:

  • Localization Accuracy: Achieved a 33% reduction in Absolute Trajectory Error (ATE) compared to VIMO, the previous state-of-the-art.
  • Force Estimation: Improved external force estimation by 40%. On the NeuroBEM dataset, force predictions were three times more accurate than standard Blade Element Momentum (BEM) models.
  • Real-Time Efficiency: The TCN inference runs at approximately 180 Hz on an NVIDIA Jetson TX2, making it suitable for onboard deployment during agile flight.
  • Wind Sensing: In the fan experiments, HDVIO accurately tracked wind gusts as the drone traversed the wind field, successfully distinguishing external wind forces from internal sensor biases.

Conclusion

HDVIO represents a significant advancement in drone state estimation by successfully merging deep learning with classical physics. By predicting residual aerodynamic forces without relying on velocity estimates, the system achieves superior accuracy and stability. Future work will explore adapting the model to dynamic changes in the drone's physical properties, such as mass changes or hardware damage, to further enhance its robustness in real-world scenarios.

Paper Citation: Giovanni Cioffi, Leonard Bauersfeld, and Davide Scaramuzza, "HDVIO: Improving Localization and Disturbance Estimation with Hybrid Dynamics VIO," Robotics: Science and Systems (RSS), 2023.

Summary updated

BibTeX
@inproceedings{cioffi2023hdvio,
  author = {Giovanni Cioffi and Leonard Bauersfeld and Davide Scaramuzza},
  title = {{HDVIO: Improving Localization and Disturbance Estimation with Hybrid Dynamics VIO}},
  booktitle = {Robotics: Science and Systems},
  year = {2023},
  doi = {10.15607/rss.2023.xix.071},
}
Figure