HDVIO: Improving Localization and Disturbance Estimation with Hybrid Dynamics VIO

Giovanni Cioffi, Leonard Bauersfeld, Davide Scaramuzza · DOI

Abstract

Accurate localization and disturbance estimation are critical for the autonomous operation of Unmanned Aerial Vehicles (UAVs) in complex environments. Traditional Visual-Inertial Odometry (VIO) often neglects the complex aerodynamic forces acting on the vehicle, leading to estimation drift and instability. This paper presents HDVIO (Hybrid Dynamics Visual-Inertial Odometry), a novel approach that integrates a first-principles physics model with a Temporal Convolutional Network (TCN) to capture residual aerodynamic forces. By utilizing only thrust commands and angular velocities as inputs, HDVIO avoids the feedback loop instabilities common in previous dynamics-aware VIO systems. Experimental results demonstrate a 33% improvement in localization accuracy and a 40% improvement in force estimation over state-of-the-art methods, while maintaining real-time performance on embedded hardware.

Introduction

Autonomous drones typically rely on Visual-Inertial Odometry (VIO)—the fusion of camera imagery and Inertial Measurement Unit (IMU) data—to estimate their state. While standard VIO is robust, it frequently treats the drone as a simple moving sensor, ignoring the underlying dynamics of the vehicle. Incorporating a physics model into the estimation loop can theoretically improve accuracy, but existing "model-based" methods face two significant hurdles.

First, there is the issue of model mismatch. Simple point-mass models fail to account for complex aerodynamic drag and motor miscalibrations, which become significant at high speeds. Second, complex models often require the drone's linear velocity as an input. However, in a VIO system, velocity is an output of the estimator. Using the estimator's own noisy output to drive the physics model creates a feedback loop that can lead to divergence and long-term drift.

Methodology

HDVIO addresses these challenges through a hybrid dynamics approach that combines the reliability of classical physics with the flexibility of deep learning.

The Hybrid Model

The system utilizes a standard point-mass physics core to handle the fundamental relationships between thrust, gravity, and motion. To account for the "missing" physics, a Temporal Convolutional Network (TCN) is employed to predict residual forces—specifically aerodynamic drag and systematic motor offsets.

Breaking the Feedback Loop

The primary innovation of HDVIO is its input selection for the TCN. Unlike previous learning-based dynamics models that require linear velocity, the HDVIO TCN operates solely on a history of thrust commands and gyroscope measurements (angular velocity). The researchers discovered that a neural network can effectively infer aerodynamic effects from the history of these inputs without needing an explicit velocity state. This architectural choice breaks the dangerous feedback loop, significantly enhancing the stability of the estimator.

Tightly-Coupled Optimization

These hybrid dynamics are integrated into a sliding-window, tightly-coupled optimizer. By utilizing preintegration theory, the system efficiently combines high-rate IMU and physics data with lower-rate camera frames, ensuring that the dynamics model informs the state estimate at every step.

Experimental Validation

The researchers evaluated HDVIO across a diverse range of challenging datasets:

  • NeuroBEM: Indoor drone flights reaching speeds of 65 km/h, used to validate force prediction.
  • Blackbird Dataset: Evaluation of trajectory accuracy across 18 distinct flight paths.
  • VID Dataset: Real-world data involving a drone attached to a rope with a force sensor to provide ground-truth disturbance data.
  • Novel Wind Dataset: A custom benchmark featuring a quadrotor (sometimes equipped with a "dragboard") flying through 25 km/h wind fields generated by industrial fans.

Key Results and Insights

Superior Accuracy and Robustness

HDVIO demonstrated a significant performance leap, improving motion estimation by up to 33% and external force estimation by 40% compared to VIMO, the previous state-of-the-art. In high-wind scenarios (25 km/h), HDVIO accurately predicted wind gust peaks that baseline methods either missed or significantly overestimated.

Self-Supervised Learning and Generalization

A key advantage of the HDVIO framework is its capacity for self-supervised training. The model can be trained using only position and velocity data from a standard SLAM system, allowing a drone to learn its specific aerodynamic profile simply by flying. Furthermore, the model exhibits strong generalization; a TCN trained on slow flights (2 m/s) continued to outperform baselines when tested at high speeds (8 m/s), suggesting it captures general physical principles rather than specific trajectories.

Real-Time Deployment

Efficiency is paramount for onboard robotics. The neural network inference for HDVIO runs at approximately 180 Hz on an NVIDIA Jetson TX2, making it well-suited for real-time deployment on standard drone hardware.

Conclusion and Future Work

HDVIO represents a significant step forward in dynamics-aware VIO by successfully blending physics-based modeling with deep learning while avoiding the pitfalls of feedback instability. By correctly identifying aerodynamic forces rather than misattributing them to sensor bias, HDVIO achieves superior localization and disturbance rejection.

Future work may address current limitations, such as the assumption of a fixed mass. Estimating mass changes in real-time—such as when a drone picks up or drops a payload—could further refine the residual force estimation. Additionally, extending the framework from monocular to stereo or multi-camera setups could enhance robustness in environments with sparse visual features.

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