Diagnosing the Sim-to-Real Gap in Latency-Aware Nonlinear Predictive Control: An Experimental Evaluation and Refinement Study on an Autonomous Vehicle

This paper presents the design, implementation, and Sim-to-Real evaluation of a Nonlinear Model Predictive Control (NMPC) strategy for autonomous urban shuttles and last-mile transport, focusing on bridging the reality gap. A decoupled NMPC architecture was developed for a by-wire Toyota Prius, explicitly compensating for a measured 100 ms steering actuator delay. The system was first evaluated in the CARLA simulation environment and subsequently deployed on the physical vehicle under matching operational conditions. Real-world trials confirmed consistent transfer of the core control logic, evidenced by a high correlation in steering commands (PearsonCorrelationCoefficient>0.99). However, a systematic Cross-Track Error (CTE) offset (averaging ≈0.20m) was observed. An in-depth gap diagnosis suggests that this tracking discrepancy was primarily driven by real-world yaw angle sensor bias and variability rather than fundamental flaws in the NMPC algorithm itself. Building on this diagnosis, controller refinements—including the use of a path-derived yaw input and an alternative Δu formulation providing integral action—were designed and evaluated within the simulation environment (with physical deployment remaining as future work). In CARLA, these refinements significantly improved tracking accuracy, reducing mean absolute CTE from 0.045m to 0.007m. Finally, a systematic parameter sensitivity analysis in CARLA provides practical tuning guidelines. Overall, the study highlights how high-fidelity simulation can support controller development and diagnostic root cause isolation, while emphasizing the critical interplay between control design, state estimation fidelity, and hardware characteristics in Sim-to-Real deployment.

Authors

Institutions

Publication Details

Journal
Vehicles
Published
2026-10-06
DOI
https://doi.org/10.3390/vehicles8100247
Primary Topic
Vehicle Dynamics and Control Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Diagnosing the Sim-to-Real Gap in Latency-Aware Nonlinear Predictive Control: An Experimental Evaluation and Refinement Study on an Autonomous Vehicle

Gorka Vélez, Josu Pérez, Carlos Ocampo‐Martínez, Nora Landaberea-Olazagoitia
Vehicles
Vehicle Dynamics and Control Systems
article

Diagnosing the Sim-to-Real Gap in Latency-Aware Nonlinear Predictive Control: An Experimental Evaluation and Refinement Study on an Autonomous Vehicle

Gorka Vélez, Josu Pérez, Carlos Ocampo‐Martínez, Nora Landaberea-Olazagoitia
article en

Abstract

This paper presents the design, implementation, and Sim-to-Real evaluation of a Nonlinear Model Predictive Control (NMPC) strategy for autonomous urban shuttles and last-mile transport, focusing on bridging the reality gap. A decoupled NMPC architecture was developed for a by-wire Toyota Prius, explicitly compensating for a measured 100 ms steering actuator delay. The system was first evaluated in the CARLA simulation environment and subsequently deployed on the physical vehicle under matching operational conditions. Real-world trials confirmed consistent transfer of the core control logic, evidenced by a high correlation in steering commands (PearsonCorrelationCoefficient>0.99). However, a systematic Cross-Track Error (CTE) offset (averaging ≈0.20m) was observed. An in-depth gap diagnosis suggests that this tracking discrepancy was primarily driven by real-world yaw angle sensor bias and variability rather than fundamental flaws in the NMPC algorithm itself. Building on this diagnosis, controller refinements—including the use of a path-derived yaw input and an alternative Δu formulation providing integral action—were designed and evaluated within the simulation environment (with physical deployment remaining as future work). In CARLA, these refinements significantly improved tracking accuracy, reducing mean absolute CTE from 0.045m to 0.007m. Finally, a systematic parameter sensitivity analysis in CARLA provides practical tuning guidelines. Overall, the study highlights how high-fidelity simulation can support controller development and diagnostic root cause isolation, while emphasizing the critical interplay between control design, state estimation fidelity, and hardware characteristics in Sim-to-Real deployment.

VehiclesVol. 8(10)
Vicomtech (ES), Universitat Politècnica de Catalunya (ES)
Openalex Percentile: Top 21%
Vehicle Dynamics and Control Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.