Abstract
Achieving competitive lap times in autonomous racing requires navigating the vehicle at its physical handling limits, where dynamics are highly nonlinear. This paper presents a hierarchical motion planning framework that decouples long-range foresight from high-frequency reactive control. By combining an offline Lap Time Optimization (LTO) with an online Nonlinear Model Predictive Control (NMPC) module constrained by a terminal velocity "safety net," the system achieves significant performance gains. Experimental results on a Formula Student Driverless vehicle demonstrate a 20% reduction in lap times compared to previous state-of-the-art methods, with the controller maintaining real-time feasibility.
Introduction
Autonomous racing presents a unique challenge in robotics: the "Goldilocks" problem of balancing long-range strategic planning with lightning-fast tactical reactions. To minimize lap times, a vehicle must operate at the edge of its friction circle, requiring precise management of tire slip and high-speed dynamics. Traditional approaches often struggle with this trade-off; purely online planners are computationally limited in their look-ahead horizon, while purely offline trajectory followers lack the flexibility to handle real-world perturbations and varying grip conditions.
Methodology
The proposed framework utilizes a two-level hierarchical optimization strategy to bridge the gap between strategic planning and real-time execution.
High-Level: Lap Time Optimization (LTO)
The high-level planner operates offline to compute an optimal racing line and velocity profile for a given track. Utilizing a "bicycle model" and curvilinear coordinates—which represent position relative to the track centerline ($s, n$) rather than absolute global coordinates—the LTO simplifies the optimization of progress along the track. This step provides the "perfect" reference trajectory that the vehicle should ideally follow.
Low-Level: MPC-Curv
The real-time control is handled by MPC-Curv, a Nonlinear Model Predictive Control (NMPC) module. Unlike standard NMPC, which might require a long prediction horizon to ensure safety at high speeds, MPC-Curv uses a truncated 1-second horizon.
The critical innovation is the terminal velocity constraint. At the end of the 1-second prediction window, the car is constrained to a velocity no higher than the optimal offline speed profile. This terminal constraint acts as a "proxy" for the remainder of the track, ensuring the car does not enter a complex sequence of corners at an unrecoverable speed. This allows for a shorter horizon, significantly reducing computational overhead.
Experimental Evaluation
The framework was validated using both high-fidelity simulations and physical testing on the "pilatus" race car, a custom all-wheel-drive electric vehicle from AMZ Racing. The car is equipped with a comprehensive sensor suite, including LiDAR, cameras, and optical speed sensors. Testing was conducted on a track layout following official Formula Student Germany (FSG) standards.
Results and Discussion
The hierarchical controller demonstrated superior performance across several metrics:
- Lap Time Performance: The system achieved an average lap time of 22.63s, representing a 20% improvement over the 2018 competition-winning time of 28.59s on a comparable track.
- Computational Efficiency: The NMPC solver averaged 12.81ms per update, well within the 25ms control loop requirement. The shortened horizon enabled by the terminal constraint reduced computation time by nearly 3x compared to longer-horizon alternatives.
- Dynamic Limits: The vehicle reached lateral accelerations of up to 12 m/s² (~1.2 Gs), approaching the limits typically seen in experienced amateur human racing.
Despite these successes, some limitations were observed. Real-world speeds slightly lagged behind the LTO predictions, likely due to model-plant mismatch in tire dynamics and powertrain losses. Additionally, the terminal constraint can lead to slightly conservative braking behavior compared to professional human drivers.
Conclusion
This research demonstrates that a hierarchical approach combining offline global optimization with constrained online local optimization can effectively push autonomous vehicles to their physical limits. Future work will explore the integration of machine learning techniques to adaptively compensate for model inaccuracies, further closing the gap between theoretical optimal performance and real-world execution.
Summary updated