Skip to content
Robotics.world

Research

High-Fidelity Multi-Body Simulator for Autonomous Racing

Track testing for autonomous racing is expensive and risky, so teams get very little real driving data, and early in a project the car may not even be available.

The paper’s first page · arXiv:2609.12795
arXiv
2609.12795 · Preprint · not peer-reviewed
Published
2026-09-11
Authors
Nicola Musiu, Francesco Iacovacci, Fausto Lupo, Matteo Pini, Giovanni Scapicchi, Francesco Moretti, Eugenio Mascaro, Pietro Musso, Ayoub Raji, Marko Bertogna, Vincenzo Maria Arricale, Angelo Lo Sapio, Alessandro Piccarelli, Garron Fish

In plain words

Track testing for autonomous racing is expensive and risky, so teams get very little real driving data, and early in a project the car may not even be available. The authors build a simulation environment that reproduces the physical behavior of a real race car closely enough to validate planning, control, and localization software before it ever goes on track.

AI summary

Overview

Research area: Autonomous racing and vehicle dynamics simulation (multi-body modeling, software-in-the-loop testing). Technical level: Advanced. Scope: The paper describes a complete workflow for building, calibrating, and validating a high-fidelity multi-body digital twin of a race car — built in Dymola with the VeSyMA and Motorsports libraries, exported as a Functional Mock-up Unit (FMU), and driven in real time inside a custom C++ software-in-the-loop simulator for autonomous racing software.

What This Paper Is About

Track testing for autonomous racing is expensive and risky, so teams get very little real driving data, and early in a project the car may not even be available. The authors build a simulation environment that reproduces the physical behavior of a real race car closely enough to validate planning, control, and localization software before it ever goes on track. The goal is a simulator that is simultaneously high-fidelity (full multi-body dynamics, thermal tire and brake effects, 3D road geometry) and fast enough to run in real time with the full autonomous stack.

Key Contributions

  1. A fully customizable and parameterizable high-fidelity, vehicle-dynamics-oriented simulator tailored to autonomous racing, built from a complete multi-body Dymola model of a real car rather than a black-box physics engine.
  2. Real-time capability with low implementation effort and reduced cost, achieved using widely available open-source and industry tools (OpenCRG, FMI/FMU, FMI4cpp, ImGui).
  3. Compliance with automotive industry standards — FMU version 2.0 in co-simulation mode and the ASAM OpenCRG road format — for flexibility and scalability.
  4. A documented end-to-end workflow including a two-stage road-surface generation process, a tire calibration procedure based on the T.R.I.C.K. model, and a validation study against experimental telemetry from the Dallara EAV-25 on the Yas Marina track (North layout).

Main Findings

  • Lap time accuracy: The reference lap time is 58.763 s and the simulated lap time is 58.829 s, within 2% of the best lap recorded by a former Formula 1 driver using the same car. The authors note lap time is an aggregate metric and should not be read as a direct indicator of perfect model matching.
  • Quantitative error metrics: Against experimental telemetry, longitudinal velocity (v_x) shows MAX 1.30 m/s and RMSE 0.46 m/s; sideslip angle (β) MAX 0.0240 rad and RMSE 0.0035 rad; lateral deviation (n) MAX 0.599 m and RMSE 0.143 m; heading error (μ) MAX 0.0348 rad and RMSE 0.0070 rad.
  • Lateral error is the hardest metric: Small discrepancies in the motion field propagate into mismatches in simulated lateral error, especially in Turn 5 and Turn 6 (s ≈ 2600 m), even though centimeter-level accuracy is what autonomous racing requires.
  • Reproduced controller behavior: Peak turn-in errors seen in simulation (Turn 1 at s ≈ 250 m, Turn 5, Turn 6) come from an overestimation of the tire combined-slip effect in the controller, and the same peak errors then appear in the real car.
  • Wheel loads captured: The model follows measured front and rear axle vertical loads over the lap, preserving low-frequency bumps in the braking zone (Lap ≈ 0.8) and the elevation change and banking in Turn 8 (Lap ≈ 0.95). High-frequency road irregularities are filtered by smoothing (Lap ≈ 0.75), which the authors say suits the single-point tire–road contact formulation.
  • Brake thermal model accuracy is split: Surface temperature is significantly overestimated during the first two braking events (Time ≈ 500–550 s), attributed to constant thermal conductance between nodes; once the system reaches its operating temperature range, the model matches the experimental data consistently. A warm-up maneuver uses constant brake inputs at Time ≈ 360 s and Time ≈ 460 s.
  • Oversteer events in Turn 1 reproduced qualitatively: The oversteer is slightly anticipated in simulation because the real engine responds more slowly (turbo-lag), and β is slightly more pronounced because the traction phase arrives earlier under higher lateral acceleration.
  • Real-time performance achieved: Average FMU turnaround time is 0.357 ms against a 1 ms real-time threshold, with only a very small number of peaks slightly exceeding it. Tests ran on Ubuntu 24 with an Intel Core i9-14900HX CPU (32 threads) and 32 GB of RAM.
  • Timestep choice matters: A fixed-step explicit Euler scheme at h = 0.001 s was required to capture fast tire dynamics; h = 0.0012 s stayed stable at high speed but produced oscillatory behavior at low speed and was discarded.

Methodology in Plain English

The team started from an existing industrial modeling tool, Dymola, and used two specialized libraries (VeSyMA and Motorsports) that already contain template race-car architectures. They populated the model with manufacturer-supplied parameters for chassis, tires, suspensions, powertrain, and aerodynamics, then extended specific parts where the standard blocks were not enough: a two-node brake thermal model (a fast-heating surface node and a slower core node, exchanging heat by conduction and losing it by convection and radiation), a tire thermal model that shifts peak grip and cornering stiffness with tread temperature, four independent brake commands, a centrifugal clutch engaging from 1400 rpm to full engagement at 1800 rpm, both a locked differential and a friction-based limited slip differential, and a slipstream lookup that uses an opponent's (x, y) position to scale drag and downforce. Steering, brake, and throttle delays were captured with ARX transfer functions identified from on-track data using the MATLAB System Identification Toolbox; the throttle delay stands in for turbo-lag.

For the road, they took a track file from standard simulation platforms, cleaned the mesh in Blender to remove trees and grandstands, exported it as STL, and converted it into a regular elevation grid referenced to the track centerline in OpenCRG format, with optional local refinement for curbs and a moving-average smoothing filter. The same road can be refined later using a 3D map reconstructed from the car's LiDAR when simulated and measured quantities diverge.

The vehicle model was then exported as an FMU, which behaves as a pre-compiled black box exposing only defined inputs and outputs: steering, throttle, four brake commands, gear selection, and opponent wake coordinates. Vehicle setup, tire .tir files, and engine/aero maps are loaded from external files, so parameters can be changed without re-exporting. A custom C++ program wraps the FMU through the FMI4cpp library in three modules — Sim-node, Fmu-manager, and Device — running a fixed 1 ms loop that pushes control commands in, steps the model, and reads state back out. The Device module turns that state into noisy, rate-limited sensor readings published in the same format as real vehicle sensors, so the autonomous stack cannot tell the difference. A GUI built on ImGui adds a wireframe 3D view, metrics, and runtime controls, while PlotJuggler displays virtual telemetry.

For tires, the authors use T.R.I.C.K. (Tire/Road Interaction Characterization & Knowledge) to turn CAN bus signals plus IMU accelerations, yaw rate, steering potentiometer angle, toothed-wheel speeds, and Kistler SF-Motion slip angle into "virtual telemetry" estimates of force and slip. An optimization algorithm then tunes the Pacejka Magic Formula 6.2 micro-parameters within a prescribed range to minimize deviation from those experimental forces. The number of experimental data points collected per tire operating condition is not reported.

Why This Matters

Research impact: The paper argues that the field has split between visually rich simulators (Unity, CARLA, Gran Turismo, Assetto Corsa) with simplified dynamics and driver-in-the-loop tools with accurate dynamics but no autonomous-racing use. It targets that gap, and unlike a prior publicly released simplified C++ multi-body model, it validates dynamic quantities against real telemetry rather than only controller-level lateral error. Releasing the full workflow also gives other teams a practical recipe.

Real-world applications:

  • Pre-competition preparation for new tracks where no prior experimental data exists, using the two-stage LiDAR-refined road pipeline.
  • Safe testing of planning and control strategies near the grip limit, such as the Turn 1 oversteer events, before risking a real car.
  • Generating reference data for maneuvers that are unsafe or impractical to drive, which the authors use to calibrate simplified single-track models for planning and control.
  • Training and evaluating AI/RL driving agents with a smaller sim-to-real gap.

Industry relevance: Dependence on FMU and OpenCRG standards, plus VeSyMA/Motorsports libraries already used in industry, means the model can be swapped or extended without rebuilding the simulator. Running on a portable computer at 0.357 ms average per step shows high-fidelity multi-body simulation is affordable without a dedicated cluster.

Future Directions

  1. A more detailed powertrain model to capture turbocharger effects, which currently appear only as a pure time delay and cause simulated oversteer to be slightly anticipated.
  2. Extending the single-point tire–road contact formulation to a multi-point model, so load is described more accurately when driving over curbs.
  3. Integrating exteroceptive sensor simulation to create a unified environment for full-stack validation, rather than only vehicle-dynamics-related modules.
  4. A game-oriented graphical interface for collecting and comparing human driving data, and further exploitation of the FMU interface for data-driven and neural-network-based planning and control.

Target Audience

Autonomous racing and motorsport engineering teams; vehicle dynamics and control researchers who need a validated plant model for software-in-the-loop work; simulators engineers evaluating FMU/OpenCRG-based architectures; and graduate students or practitioners with some background in multi-body modeling, Modelica, or tire models who want a concrete end-to-end example — the paper is dense with tooling and modeling detail, so beginners will find the workflow readable but the modeling sections demanding.

Authors’ abstract

We present a custom high-fidelity vehicle dynamics simulation environment for testing and validation of Autonomous Racing software. The digital twin of the autonomous vehicle is developed in Dymola, using racecar dynamics modeling libraries to build a complete multi-body model. A 3D road surface, including elevation profiles and curbs, is implemented using the Curved Regular Grid (CRG) standard. The model is exported from Dymola as a Functional Mock-up Unit (FMU) and…

The full abstract on arXiv
Read the original paper

Related papers