Abstract
KEYWORDS – Model-based design, Code generation, AUTOSAR, MATLAB/Simulink, Racecar
ABSTRACT
MATLAB/Simulink is one of the broadly used model-driven methods for developing vehicle control systems of commercial vehicles as well as racecars. To enable software reuse and hardware independence, the AUTOSAR standard has been adapted by the automotive companies and supported by tool vendors such as The MathWorks. Generation of AUTOSAR compliant Application and Runtime Environment software from Simulink models is supported, however, configuration and generation of the hardware dependent AUTOSAR basic software is still lacking. Therefore, in this paper, we present a novel method that enables the automatic generation of vehicle software including all the layers of the AUTOSAR architecture from Simulink models. The proposed method and tool is evaluated in a case study by generating AUTOSAR-based deployable code for the Electronic Control Units of the InMotion racecar from the Electrical/Electronic architectural models in Simulink.