TY - JOUR
T1 - A Coordination Layer for Time Synchronization in Level-4 Multi-vECU Simulation
AU - Kim, Hyeongrae
AU - Lee, Harim
AU - Cho, Jeonghun
N1 - Publisher Copyright:
© 2025 by the authors.
PY - 2025/4
Y1 - 2025/4
N2 - In automotive software development, testing and validation workloads are often concentrated at the end of the development cycle, leading to delays and late-stage issue discovery. To address this, virtual Electronic Control Units (vECUs) have gained attention for enabling earlier-stage verification. In our previous work, we developed a Level-4 vECU using a hardware-level emulator. However, when simulating multiple vECUs with independent clocks across distributed emulators, we observed poor timing reproducibility due to the lack of explicit synchronization. To solve this, we implemented an integration layer compliant with the functional mock-up interface (FMI), a widely used standard for simulation tool interoperability. The layer enables synchronized simulation between a centralized simulation master and independently running vECUs. We also developed a virtual CAN bus model to simulate message arbitration and validate inter-vECU communication behavior. Simulation results show that our framework correctly reproduces CAN arbitration logic and significantly improves timing reproducibility compared to conventional Linux-based interfaces. To improve simulation performance, the FMI master algorithm was parallelized, resulting in up to 85.2% reduction in simulation time with eight vECUs. These contributions offer a practical solution for synchronizing distributed Level-4 vECUs and lay the groundwork for future cloud-native simulation of automotive systems.
AB - In automotive software development, testing and validation workloads are often concentrated at the end of the development cycle, leading to delays and late-stage issue discovery. To address this, virtual Electronic Control Units (vECUs) have gained attention for enabling earlier-stage verification. In our previous work, we developed a Level-4 vECU using a hardware-level emulator. However, when simulating multiple vECUs with independent clocks across distributed emulators, we observed poor timing reproducibility due to the lack of explicit synchronization. To solve this, we implemented an integration layer compliant with the functional mock-up interface (FMI), a widely used standard for simulation tool interoperability. The layer enables synchronized simulation between a centralized simulation master and independently running vECUs. We also developed a virtual CAN bus model to simulate message arbitration and validate inter-vECU communication behavior. Simulation results show that our framework correctly reproduces CAN arbitration logic and significantly improves timing reproducibility compared to conventional Linux-based interfaces. To improve simulation performance, the FMI master algorithm was parallelized, resulting in up to 85.2% reduction in simulation time with eight vECUs. These contributions offer a practical solution for synchronizing distributed Level-4 vECUs and lay the groundwork for future cloud-native simulation of automotive systems.
KW - AUTOSAR
KW - Renode
KW - functional mock-up interface (FMI)
KW - virtual electronic control unit (vECU)
UR - https://www.scopus.com/pages/publications/105003635760
U2 - 10.3390/electronics14081690
DO - 10.3390/electronics14081690
M3 - Article
AN - SCOPUS:105003635760
SN - 2079-9292
VL - 14
JO - Electronics (Switzerland)
JF - Electronics (Switzerland)
IS - 8
M1 - 1690
ER -