TL;DR
The authors introduce TrackJoint, a reusable Modelica component that models a 3D racetrack as a 2-degree-of-freedom joint. By unifying road geometry and vehicle dynamics into a single, high-fidelity model, it enables engineers to use the exact same model for both time-domain simulations and complex minimum lap-time optimizations.
What Problem Does This Paper Address?
In professional racing, simulation is everything. However, there is often a "wall" between two types of models: high-fidelity multibody simulations used for vehicle dynamics and simplified, hand-coded models used for trajectory optimization. This discrepancy can lead to optimized setups that don't perform as expected in the real world because the optimization model didn't "see" the same road bumps or camber as the simulation model.
The challenge lies in creating a road model that is accurate enough for simulation (capturing elevation, grade, and bank) but mathematically "smooth" and efficient enough for optimization solvers like IPOPT. Existing solutions often struggle with singularities in tight corners or require separate, inconsistent data tables for different simulation tasks.
Methods
The core innovation is the TrackJoint. It treats the entire track surface as a Monge patch—a mathematical surface defined by a reference line and a lateral offset.
Key technical features include:
- 2-DOF Parametrization: The joint's state is defined simply by distance along the track ($s$) and lateral offset ($w$).
- $C^4$ Quintic Splines: The road geometry is stored as periodic piecewise-quintic splines. This high level of continuity is essential because optimization solvers need smooth derivatives up to the fourth order to avoid numerical "chatter" at segment boundaries.
- d’Alembert Constraint Closure: Instead of using computationally expensive Lagrange multipliers to keep the car on the road, the authors use d’Alembert’s principle to project forces directly onto the track surface, closing the kinematic chain efficiently.
- FMI 3.0 Export: The model is exported as a Functional Mock-up Unit (FMU), allowing it to be used across different software tools (like Dymola for simulation and CasADi for optimization) without modification.
Datasets
The researchers validated their approach using:
- 23 Formula 1 Circuits: Based on the 2026 calendar, including challenging tracks like Monaco, Singapore, and Zandvoort.
- LiDAR Point Clouds: High-resolution ground truth data for the Singapore Grand Prix circuit was used to verify the accuracy of the spline-based reconstruction.
Key Insights and Ideas
- Avoiding the "Frenet Fold": A major "aha" moment was realizing that anchoring splines to the track's geometric centerline causes mathematical singularities (the "fold") in tight corners. By anchoring the splines to a minimum-curvature line instead, they moved these singularities outside the drivable track area, ensuring the model remains stable even in the hairpins of Monaco.
- Track-Relative Initialization: By expressing the car's position relative to the track (heave, roll, pitch, yaw) rather than in global coordinates, the optimization problem becomes trivial to initialize. You can start the car "perfectly" on the road surface at every point, which drastically improves solver convergence.
- Code Generation vs. Operation Count: The authors found that while Horner's method is traditionally preferred for numerical stability, Modelica's compiler can optimize expanded polynomials more effectively by sharing subexpressions, leading to a 26% speedup in evaluation time.
Key Results
- High Fidelity: The reconstructed surface tracked LiDAR data with extremely low error, faithfully reproducing complex grade and bank angles.
- Optimization Success: The system successfully solved a minimum lap-time problem for the Singapore circuit in just 264 iterations, starting from a simple "trivial" guess.
- Computational Efficiency: Each model evaluation takes only about 4.9 microseconds, making it fast enough for large-scale optimization problems involving hundreds of collocation points.
Limitations and Future Work
The current implementation uses a uniform break vector for splines, meaning knots are spaced equally. Future versions could use adaptive spacing to better capture sharp bumps without bloating the data size. Additionally, while the joint works perfectly for a single point (like a vehicle chassis), modeling four individual tire contact patches currently requires four separate joint instances. The authors plan to develop a specialized "contact-patch" variant to handle this more efficiently. Finally, the TrackJoint component and the specific F1 track data are proprietary.
Summary updated