arXiv:2610.36430cs.ROOct 2026

Manuscript Offprint

arXiv:2610.36430

A Singularity Avoiding Track Model for Race Car Optimization

Adwait Verulkar, Behzad Danaei, Srikanth Sivaramakrishnan, Ryan Trinter

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A track fitting pipeline is presented that converts a measured racetrack point cloud into a closed, C4C^{4} differentiable, three-dimensional surface model suitable for high-fidelity Modelica race-car optimization. The surface is a Monge patch, parametrised by a curvilinear arc-length coordinate measured along the minimum-curvature line (MCL) and a signed lateral offset, with a height polynomial of user-selectable degree capturing the cross-sectional elevation profile. The choice of MCL as the reference line is deliberate since anchoring the same surface on the geometric centre-line can cause adjacent normals to cross inside the drivable region on tight corners. The resulting non-injective parametrisation assigns multiple curvilinear addresses to the same three-dimensional point and returns invalid road geometry. The MCL is obtained from a quadratic program that minimises integrated curvature subject to track-boundary, periodicity, and jerk-regularisation constraints. By reducing total curvature while remaining within the track bounds, the MCL moves the region of parametrisation breakdown outside the drivable strip on all circuits studied, keeps the normal map injective across the full track width, and yields a more linear time-to-arc-length transformation for minimum lap-time problems. The fitted surface and the associated track widths are exported as periodic piecewise-quintic C4C^{4} B-splines, solved as a nonlinear program. The exported splines are consumed directly by TrackJoint, a Modelica MultiBody component that enforces the two degree-of-freedom kinematic road constraint via d'Alembert's principle. We also describe the parts of that Modelica implementation that set the export format: how the splines are stored on a shared knot vector as tunable parameters, how a segment is found in constant time and evaluated in Horner form, why index reduction forces C4C^{4} continuity, how the chassis is stacked relative to the track frame, and how the FMI 3.0 export is used by the CasADi/IPOPT toolchain. A companion paper (Sivaramakrishnan et al. 2026) derives the joint in full.

Keywords: Modelica, Functional Mock-up Interface (FMI), race car simulation, track modelling, Monge patch, minimum curvature line, optimal control

1 Introduction

The track model is a crucial component of minimum lap-time simulations of high-performance vehicles. The contact-patch normal load, the gravitational projections in the body-fixed frame and the kinematic constraints that keep all four wheels on the road are all expressed in terms of the road surface and its first two derivatives (Limebeer and van de Merwe 2025; Limebeer, Bastin, et al. 2023). Inaccuracies in the track model therefore propagate directly into the predicted lap time, tyre forces, suspension loads and aerodynamic behaviour, degrading the fidelity of the entire simulation.

The community has converged on a curvilinear (s,n)(s,n) description for roads since the work of Cossalter et al. (1999); the recent survey by Limebeer and van de Merwe (2025) summarises the line of development. Three-dimensional refinements followed: the Frenet–Serret ribbon of Perantoni and Limebeer (2015) parametrises the road by an arc-length spine plus an orthonormal moving frame and works well on typical racing layouts but assumes lateral flatness; Lovato et al. (2021) and Limebeer, Bastin, et al. (2023) remove that assumption by superimposing a Monge-patch elevation correction on top of a Frenet ribbon; and most recently Limebeer and van de Merwe (2025) dispense with the ribbon altogether and obtain the surface as a free Monge-patch parametrisation rb(s,w)=sesg+wewg+z(s,w)ezg\boldsymbol{r}_{b}(s,w)=s\boldsymbol{e}_{s}^{g}+w\boldsymbol{e}_{w}^{g}+z(s,w)\boldsymbol{e}_{z}^{g} identified through an optimal control problem on the lateral polynomial coefficients. The Monge patch removes the need for Euler angles and yields the first and second fundamental forms in closed form from the partials of z(s,w)z(s,w), but it leaves open the choice of the reference line that anchors the (s,w)(s,w) frame.