Skip to main content
QUICK REVIEW

[Paper Review] The Twin-in-the-Loop approach for vehicle dynamics control

Federico Dettù, Simone Formentin|arXiv (Cornell University)|Sep 6, 2022
Real-time simulation and control systemsEngineering5 citations
TL;DR

This paper proposes the Twin-in-the-Loop (TiL) control architecture, where a high-fidelity vehicle dynamics simulator runs in real time on the ECU to compute nominal control actions, reducing End-of-Line tuning to a simple compensator for model-vehicle mismatch. The approach achieves superior tracking accuracy and robustness in active braking control compared to state-of-the-art methods, with real-time feasibility on off-the-shelf hardware.

ABSTRACT

In vehicle dynamics control, engineering a suitable regulator is a long and costly process. The starting point is usually the design of a nominal controller based on a simple control-oriented model and its testing on a full-fledged simulator. Then, many driving hours are required during the End-of-Line (EoL) tuning phase to calibrate the controller for the physical vehicle. Given the recent technological advances, in this paper we consider the pioneering perspective where the simulator can be run on-board in the electronic control unit, so as to calculate the nominal control action in real-time. In this way, it can be shown that, in the EoL phase, we only need to tune a simple compensator of the mismatch between the expected and the measured outputs. The resulting approach not only exploits the already available simulator and nominal controller and significantly simplifies the design process, but also outperforms the state-of-the-art in terms of tracking accuracy and robustness within a challenging active braking control case study.

Motivation & Objective

  • To address the lengthy and costly End-of-Line (EoL) tuning phase in vehicle dynamics control, which traditionally requires extensive manual calibration of complex controllers.
  • To leverage recent advances in on-board computing to embed a high-fidelity vehicle simulator directly into the ECU for real-time nominal control computation.
  • To simplify the EoL calibration process by reducing it to tuning a minimal compensator for the mismatch between the simulator and physical vehicle dynamics.
  • To validate the feasibility and performance of the TiL architecture in a challenging, safety-critical active braking control scenario.
  • To demonstrate real-time implementability of the full TiL-C framework on standard, off-the-shelf automotive hardware.

Proposed method

  • The TiL architecture embeds a full-fidelity vehicle dynamics simulator (CarRealTime) in the ECU, running at 1 ms sampling time, to compute the nominal control action in real time.
  • The nominal controller is implemented as a Model Predictive Control (MPC) law with a 5 ms sampling time, designed using the approach from [10] for high-performance vehicles.
  • A simple linear compensator $C_{\delta}$ is introduced to correct the mismatch between the simulator’s predicted output and the actual vehicle’s measured output.
  • The control loop is implemented on an AutoHawk real-time computer with a 5 ms cycle for controller tasks and 1 ms for the Digital Twin, using UDP for inter-machine communication.
  • The system is validated in a Hardware-in-the-Loop (HiL) setup using a sport car model, with a starting speed of 208 km/h and maximum initial braking torque to challenge the controller.
  • Performance is evaluated via time-domain comparisons of braking torque, speed, and deceleration, along with runtime analysis of controller and simulator execution.

Experimental results

Research questions

  • RQ1Can a full-fidelity vehicle dynamics simulator be efficiently and reliably executed in real time on an ECU to serve as a nominal controller?
  • RQ2Does the TiL architecture significantly reduce the complexity of the EoL tuning process compared to traditional controller calibration?
  • RQ3How does the TiL approach perform in terms of tracking accuracy and robustness under high-dynamic, safety-critical conditions such as active braking?
  • RQ4Is the TiL-C framework real-time feasible on standard, off-the-shelf automotive hardware?
  • RQ5Can the mismatch between the simulator and physical vehicle be effectively compensated by a simple linear compensator without requiring complex re-tuning of the nominal controller?

Key findings

  • The TiL-C framework achieved near-identical braking torque profiles between the simulator and physical vehicle, with only minor deviations due to different solvers, indicating high fidelity in control tracking.
  • Speed and deceleration profiles in the HiL test showed excellent agreement between the simulated and real vehicle responses, confirming accurate dynamic replication.
  • Controller execution (MPC and $C_{\delta}$) consumed less than 10% of the 5 ms cycle time, leaving significant headroom for more complex control logic.
  • The Digital Twin execution accounted for approximately 40% of the 1 ms cycle time on average, with a maximum of 65%, demonstrating high computational feasibility.
  • The entire TiL-C system operated without overrun, proving real-time feasibility on off-the-shelf hardware (AutoHawk with Intel Xeon 6146 and 16 GB RAM).
  • The TiL approach outperformed the state-of-the-art in tracking accuracy and robustness, particularly under measurement noise and unmodeled dynamics in the active braking case study.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.