Imitation Learning-Based Online Time-Optimal Control with Multiple-Waypoint Constraints for Quadrotors

Jin Zhou, Jiahao Mei, Fangguo Zhao, Jiming Chen, Shuo LiarXiv 2024 · DOI

Abstract

Achieving time-optimal flight for quadrotors is a significant computational challenge, particularly when navigating multiple waypoints in dynamic environments. Traditional optimization-based solvers, while accurate, are often too slow for real-time applications. This paper presents WN&CNets (Waypoint-constrained Navigation and Control Networks), a framework that leverages imitation learning to bridge the gap between optimality and real-time performance. By training on a massive dataset of trajectories generated by a state-of-the-art solver and implementing a novel transition strategy, the proposed method achieves near-optimal flight speeds with millisecond-level processing times.

Introduction: The Need for Speed

In high-stakes scenarios such as autonomous drone racing or search-and-rescue operations, the ability to fly at the physical limits of a vehicle is paramount. "Time-optimal" control aims to minimize the time taken to traverse a set of waypoints. However, the underlying mathematics involves complex non-linear optimization.

Experimental demonstration of a quadrotor performing time-optimal flight through a sequence of gates.

Current state-of-the-art algorithms, such as Complementary Progress Constraints (CPC), produce highly efficient paths but suffer from high computational latency. A single trajectory can take several minutes to compute, rendering it useless for real-time adjustments to environmental changes or moving targets. While imitation learning (IL) has been proposed as a solution, previous models often struggled with multi-waypoint constraints or exhibited "stop-and-go" behavior at intermediate targets.

Methodology: WN&CNets and Strategic Transitions

The researchers developed a two-part solution to overcome these limitations: the WN&CNets architecture and a MINCO-based transition strategy.

WN&CNets Architecture

Instead of solving an optimization problem online, the system uses a deep neural network to approximate the control law of the CPC solver. The network receives the quadrotor's current state—including position, velocity, and attitude—along with the relative coordinates of the next two waypoints. It then outputs direct control commands: angular rate and thrust.

The training pipeline for WN&CNets, mapping CPC-generated trajectories and state-control pairs (with delay compensation) to a deep neural network.

To ensure real-world viability, the training process explicitly accounts for hardware latency. By shifting state-control pairs by approximately 30ms during training, the network learns to predict commands appropriate for the drone's future state, compensating for the inherent delay in sensors and actuators.

Overcoming the "Stop-and-Go" Problem

A common pitfall in IL for drones is that training data often consists of segments starting and ending at a hover. Consequently, a naive network might attempt to stop at every waypoint. To maintain momentum, the authors introduced a MINCO (Minimum Control Effort) transition strategy. This acts as a high-speed "bridge" between waypoints, allowing the drone to bypass the deceleration phase and maintain aggressive speeds throughout the course.

Results and Key Insights

The performance gains of WN&CNets are substantial, particularly regarding computational efficiency:

  • Computational Speed: The CPC "teacher" algorithm requires approximately 9 minutes (540s) to calculate a complex trajectory. In contrast, the WN&CNet "student" generates control commands in less than 10 milliseconds ($T_p \le 0.01s$).
  • Flight Optimality: In a 7-waypoint test course, the system achieved an arrival time of 7.09 seconds, remarkably close to the CPC’s theoretical limit of 6.66 seconds.
  • Dynamic Agility: Because the network operates at 100Hz, it can adapt to moving waypoints in real-time—a task impossible for traditional offline solvers.
  • Real-World Performance: In indoor testing, the quadrotor reached speeds of up to 5.6 m/s while navigating complex, "flower-like" patterns with up to 22 waypoints.

Conclusion and Future Directions

WN&CNets demonstrate that imitation learning can effectively "distill" complex optimization logic into a fast, deployable neural network. While the current model achieves near-optimal performance, future work could further refine the system by incorporating individual rotor speed constraints and improving sensor noise estimation. By reducing the gap between simulation and reality, this framework paves the way for more agile and responsive autonomous aerial vehicles.

Summary updated

BibTeX
@misc{zhou2024imitation,
  author = {Jin Zhou and Jiahao Mei and Fangguo Zhao and Jiming Chen and Shuo Li},
  title = {{Imitation Learning-Based Online Time-Optimal Control with Multiple-Waypoint Constraints for Quadrotors}},
  year = {2024},
  eprint = {2402.11570},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.11570},
}
Figure