A FMI-based Approach for CAN Bus Simulation and Simulink Model Integration in Vehicle Simulation Environment
- 11 October 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 279-284
Abstract
Automotive software is becoming more complex and diverse, making the development and verification process more important. However, the existing integrated simulation environment does not reflect the characteristics of CAN communication that can occur in the real vehicle environment. In this paper, we propose a Functional Mock-up Interface (FMI) 2.0-based approach to build an integrated simulation environment that includes a CAN bus. We design and implement a CAN Bus Simulation (CBS) FMU model that can simulate CAN communication among various models of vehicle systems, and an FMI CAN Function Module that can make Simulink models compatible with CAN communication. We also integrate the developed models into the MasterSim simulation environment and verify that the data exchange between the models is performed correctly. Our approach has several advantages over the existing methods. First, it supports various models and tools that comply with the FMI 2.0 standard. Second, it can simulate the actual operation of the CAN bus such as message transmission time and priority, and evaluate the impact of these factors on system performance. Lastly, it preserves the original structure and function of Simulink models and requires only minimal modifications to support CAN communication.Keywords
This publication has 5 references indexed in Scilit:
- Agile Principles in Automotive Software Development: Analysis of Potential Levers2021
- Simulation of Dynamic Systems with MATLAB and Simulink2018
- Based on the Queuing Model of CAN Bus Simulation and Application2013
- Simulation-based development of automotive control software with Modelica2011
- Development method of simulation and test system for vehicle body CAN bus based on CANoe2008