雷诺发动机管理软件的全虚拟化及其在系统开发中的应用
Full Virtualization of Renault's Engine Management Software and Application to System Development
摘要:
虚拟化允许在Windows PC上使用车辆仿真模型在闭环中执行汽车ECU的仿真。这种方法可以将某些开发任务从道路或测试台架和HiL(硬件在环)转移到PC上,在那里它们通常可以更快,更便宜地执行。雷诺最近建立了这样一个基于Simulink模型的动力总成控制软件的虚拟化过程。如果可运行件的数量超过阈值(大约1500),则虚拟ECU的执行不再是直接的,并且需要特定的技术。本文介绍了基于Simulink模型的过程背后的动机,虚拟化过程和应用程序的虚拟ECU。领域:关键运输系统主题:过程,方法和工具,特别是:虚拟工程和仿真1.自2010年以来,雷诺建立了一个框架,为柴油和汽油发动机开发发动机控制软件[6]。该框架在很大程度上基于MATLAB/Simulink和基于模型的开发思想,这有利于软件项目之间的应用软件的结转和结转。在雷诺EMS架构中,软件由大约20个功能组成,如空气系统,燃烧等。模块是最小的可测试软件单元,包含由ECU的操作系统(OS)调度和执行的可运行项。雷诺EMS开发流程基本包括以下步骤[5]。1.使用MATLAB/Simulink为每个ECU指定约200个通用可配置模块。2.使用MATLAB/Simulink嵌入式编码器根据所有模块规格生成C代码(EMS应用软件)。3. MiL(Model in the Loop)测试和验证在模拟系统环境中的模块级产生的可执行规范,仅考虑与其他模块和系统环境的基本交互。这本质上是一个背靠背测试,以确保模块的Simulink模型和相应的产品C代码显示出等效的预期行为。为了确保软件质量,基于MATLAB/Simulink的仿真功能,该步骤与步骤1和2重复执行。4.模块的配置以适应软件项目的特定需求,例如某些组件的存在或缺失。5.在提供的目标硬件上集成生成的配置C代码和手工编码的平台软件(基础软件),通过CAN和其他总线与其他控制器通信的真实ECU。6.使用真实ECU在系统级验证和测试所有模块。与步骤3相反,所有模块的交互以及与系统环境的交互都是可见的,并接受测试。例如,操作系统运行所有计划的可运行项,而不仅仅是那些被认为是被测模块的“基本”模块。上述过程的关键评估表明,在向软件项目团队交付一组规范(步骤3结束时)和基于运行整个软件的ECU进行系统级测试(步骤6)之间存在相当大的延迟。典型的延迟是几周或几个月。
英文摘要:
Virtualization allows the simulation of automotive ECUs on a Windows PC executing in closed-loop with a vehicle simulation model. This approach enables to move certain development tasks from road or test rigs and HiL (Hardware in the loop) to PCs, where they can often be performed faster and cheaper. Renault has recently established such a virtualization process for powertrain control software based on Simulink models. If the number of runnables exceeds a threshold (about 1500) the execution of the virtual ECU is no longer straight forward and specific techniques are required. This paper describes the motivation behind a Simulink model based process, the virtualization process and applications of the resulting virtual ECUs. Domain: Critical Transportation Systems Topic: Processes, methods and tools, in particular: virtual engineering and simulation 1. Motivation Since 2010, Renault has established a framework to develop engine control software for Diesel and Gasoline engines [6]. The framework is heavily based on MATLAB/Simulink and the idea of model-based development, which facilitates the carry-over and carry-across of application software between software projects. In the Renault EMS architecture software is composed in to about 20 functions, such as Air System, Combustion etc. A function consists of modules. A module is the smallest testable software unit and contains runnables to be scheduled and executed by the Operating System (Os) of the ECU. The Renault EMS development process includes basically the following steps [5]. 1. Specification of about 200 generic configurable modules per ECU using MATLAB/Simulink. 2. Generation of C code (EMS application software) from all module specifications using MATLAB/Simulink Embedded Coder. 3. MiL (Model in the Loop) test and validation of the resulting executable specifications at module level in a simulated system environment, considering only essential interactions with other modules and system environment. This is essentially a back-to-back test to make sure that the Simulink model of a module and the corresponding production C code show equivalent and intended behaviour. To insure software quality, this step is repeatedly performed with steps 1 and 2, based on the simulation capabilities of MATLAB/Simulink. 4. Configuration of modules to fit to the specific needs of a software project, such as absence or presence of certain components. 5. Integration of generated configured C code and hand-coded platform software (basic software) on supplied target hardware, a real ECU that communicates with other controllers via CAN and other busses. 6. Validation and test of all modules on system level using the real ECU. In contrast to step 3, the interactions of all modules and interactions with the system environment are visible then and subject to testing. For example, the Os runs all scheduled runnables then, not just those of the modules considered to be 'essential' for a module under test. Critical assessment of the above process shows that there is a considerable delay between delivery of a set of specifications to the software project team (at the end of step 3) and system-level tests based on an ECU that runs entire software (step 6). Typical delays are weeks or months.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。