MPCC++: Model Predictive Contouring Control for Time-Optimal Flight with Safety Constraints

Maria Krinner, Angel Romero, Leonard Bauersfeld, Melanie N. Zeilinger, Andrea Carron, Davide Scaramuzza

Introduction

Autonomous drone racing serves as a high-stakes benchmark for agile robotics, pushing vehicles to their physical limits. Currently, the field is divided between learning-based methods, such as Reinforcement Learning (RL), and optimization-based methods like Model Predictive Contouring Control (MPCC). While RL has achieved superhuman lap times, it lacks formal safety guarantees. Conversely, standard MPCC attempts to ensure safety by penalizing track deviations in its cost function, leading to a complex multi-objective optimization that often requires tedious manual tuning and can still result in collisions when pushed to the limit.

The MPCC++ Framework

The authors propose MPCC++, a controller designed to match RL's speed while providing explicit safety guarantees. This is achieved through three primary innovations:

1. Explicit Spatial Constraints (The Tunnel)

Instead of relying on soft penalties in the cost function, MPCC++ introduces a 3D prismatic "tunnel" constraint built around a predefined centerline. This spatial corridor narrows at gates and widens in open sections, ensuring the drone remains within a safe volume at all times. This shift allows the solver to focus purely on speed without the risk of crashing.

Figure 1: MPCC++ utilizes a spatial "tunnel" constraint to ensure safety while the drone navigates a racing track at high speeds.

2. Data-Driven Aerodynamic Modeling

At speeds exceeding 80 km/h, standard first-principles physics models fail to account for complex aerodynamic effects like drag and blade flapping. MPCC++ augments these models with a residual polynomial term learned from real-world flight data, allowing the controller to more accurately predict vehicle behavior at the edge of the flight envelope.

3. Automated Tuning via TuRBO

By offloading safety to explicit constraints, the cost function is simplified, reducing the number of hyperparameters from dozens to just eight. These are automatically tuned using Trust Region Bayesian Optimization (TuRBO), which efficiently explores the parameter space to minimize lap times and solver failures.

Experimental Results

In real-world tests on a "Split-S" track, MPCC++ demonstrated exceptional performance, achieving a 100% success rate with zero gate collisions. In contrast, the baseline MPCC only managed success rates between 59% and 83%.

Figure 6: Comparison of trajectories between standard MPCC (left) and MPCC++ (right). MPCC++ trajectories are strictly contained within the safety tunnel (gray area).

Performance-wise, MPCC++ reached speeds over 80 km/h and recorded an average lap time of 5.38 seconds, nearly identical to the state-of-the-art RL policy (5.35 seconds). This confirms that explicit safety constraints do not necessarily come at the cost of speed.

Conclusion and Future Work

MPCC++ successfully bridges the gap between the speed of learning-based methods and the safety of optimization-based control. While highly effective, the system currently depends on a predefined centerline and high-accuracy gate positions. Future research will focus on incorporating gate position uncertainty and reducing the computational overhead required for real-time onboard optimization.

Summary updated

BibTeX
@inproceedings{krinner2024mpcc,
  author = {Maria Krinner and Angel Romero and Leonard Bauersfeld and Melanie N. Zeilinger and Andrea Carron and Davide Scaramuzza},
  title = {{MPCC++: Model Predictive Contouring Control for Time-Optimal Flight with Safety Constraints}},
  booktitle = {Robotics: Science and Systems},
  year = {2024},
  doi = {10.15607/rss.2024.xx.109},
}
Figure