FULL VIRTUALIZATION OF RENAULT'S ENGINE MANAGEMENT SOFTWARE APPLICATION TO SYSTEM DEVELOPMENT

Similar documents
Full Virtualization of Renault's Engine Management Software and Application to System Development

Virtualizing the TCU of BMW's 8 speed transmission

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

Development and Deployment of ECU based Control Systems through MBD. Imperative role of Model based design in System Engineering

Automated Continuous Verification & Validation for Automobile Software

Real-Time Hardware-In-Loop simulation for automated validation of diagnostic services

Virtualization of Heterogeneous Electronic Control Units Testing and Validating Car2X Communication

Simulation-based development of automotive control software with Modelica

DRYING CONTROL LOGIC DEVELOPMENT USING MODEL BASED DESIGN

AVL Embedded Software Model-Based Design Platform Based on MATLAB and Simulink

CANape Option Bypassing

Verification, Validation, and Test with Model-Based Design

Model Based Systems Engineering Engine Control: from concept to validation. Jan Smolders Technical Account Manager


Guido Sandmann MathWorks GmbH. Michael Seibt Mentor Graphics GmbH ABSTRACT INTRODUCTION - WORKFLOW OVERVIEW

Consistent Simulation Environment with FMI based Tool Chain

Reuse of Hardware Independent Test Sequences across MiL-, SiL- and HiL-Test Scenarios

Real-Time Testing in a Modern, Agile Development Workflow

Techday Mobile Electronics Open, connected, scalable With BODAS into the digital future

Virtual Test Driving in the Development Process New Methods and Tools for Current Challenges

Simulator in the-loop Environment for Autocode Verification

Decoupling Test Cases from Real and Virtual Test Systems with ASAM HIL API

INTEROPERABILITY WITH FMI TOOLS AND SOFTWARE COMPONENTS. Johan Åkesson

Silver + TestWeaver Tools for Simulation-Based Design System Test and Validation

Developing AUTOSAR Compliant Embedded Software Senior Application Engineer Sang-Ho Yoon

Effective Verification Strategies for Distributed Body Control Applications based on Plant Modeling and Test Case Reuse

Experiences with AUTOSAR compliant Autocode generation using TargetLink

Simulink for AUTOSAR: Best Practices

Introducing Simulink Release 2012b for Control System Development Mark Walker MathWorks

Impact of Platform Abstractions on the Development Workflow

From Design to Production

AUTOSAR Software Design with PREEvision

Volvo Car Group Jonn Lantz Agile by Models

SIMULATION ENVIRONMENT

GAIO. Solution. Corporate Profile / Product Catalog. Contact Information

정형기법을활용한 AUTOSAR SWC 의구현확인및정적분석

Automated test of the AMG Speedshift DCT control software

AUTOSAR design flow. Yoon-Jin Kim Application Engineer. July mentor.com/automotive

Simulink as Your Enterprise Simulation Platform

Advanced AC Motor Control S/W Development Sang-Ho Yoon Senior Application Engineer The MathWorks

Automatic Code Generation Technology Adoption Lessons Learned from Commercial Vehicle Case Studies

ECE 487 LAB 1 ÇANKAYA UNIVERSITY Overview of DSP Board

rcube2: Advanced Rapid Prototyping Electronic Control Unit

Standardized Tool Components for NRMM-Diagnostics

Entwicklung zuverlässiger Software-Systeme, Stuttgart 30.Juni 2011

Controller Calibration using a Global Dynamic Engine Model

Automated test of the AMG Speedshift DCT control software

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

Extending Model-Based Design for HW/SW Design and Verification in MPSoCs Jim Tung MathWorks Fellow

How Real-Time Testing Improves the Design of a PMSM Controller

Automotive Networks Are New Busses and Gateways the Answer or Just Another Challenge? ESWEEK Panel Oct. 3, 2007

APPLICATION OF THE V-CYCLE DEVELOPMENT IN THE AEROSPACE INDUSTRY

Managing HIL, SIL, and MIL Simulation with SIMulation Worbench TM

Production Code Generation Introduction and New Technologies

Ensuring quality for ADAS applications with a model-based approach

Model based testing and Hardware-in-the-Loop simulation of embedded CANopen control devices

Powertrain Strategies for the 21st Century: Designing Global Powertrains

BCM48 Body Control Module w/ Ethernet, 4 CAN, 4LIN channels P/N: BCM

Ein Modell - viele Zielsysteme

AUTOMATED TEST OF CVT CONTROL SOFTWARE, USING FMI AND MODELICA MODELS

Simulink 를이용한 효율적인레거시코드 검증방안

Simulation-based development of automotive control software with Modelica

SPC5 MCAL overview. ZHANG Livia

Test requirements in networked systems

Model Based Development and Code Generation for Automotive Embedded Systems. April 26, 2017 Dr. Gergely Pintér, Dr. Máté Kovács thyssenkrupp Steering

Software integration challenge multi-core experience from real world projects

Connecting AUTOSAR VFB to Simulink Environment

The AUTOSAR Timing Model --- Status and Challenges. Dr. Kai Richter Symtavision GmbH, Germany

Hardware and Software Co-Design for Motor Control Applications

KPIT Cummins. Automotive Body Electronics and Chassis Presentation

Managing HIL, SIL and MIL Simulation with SIMulation Workbench

Software Architecture. Definition of Software Architecture. The importance of software architecture. Contents of a good architectural model

Page 1. Logistics. Introduction to Embedded Systems. My Records Indicate. Intel 4004 first single chip computer? Acronyms CS/ECE 6780/5780.

Final Presentation AUTOCOGEQ GMV, 2017 Property of GMV All rights reserved UNCLASSIFIED INFORMATION

Cluster Simulation with Integrated Workflow and Test Management. Chandu Puliroju dspace Inc.

Model-Based Design for effective HW/SW Co-Design Alexander Schreiber Senior Application Engineer MathWorks, Germany

SIMulation Workbench and HIL testing at Ford Motor Company

Module Test in System Context

From Signal to Service

Model-Based Design Toolbox

다중센서기반자율시스템의모델설계및개발 이제훈차장 The MathWorks, Inc. 2

Testing Framework with Simulink Test

Automotive Security An Overview of Standardization in AUTOSAR

A Model-Based Reference Workflow for the Development of Safety-Related Software

Dynamic Architectural Simulation Model of YellowCar in MATLAB/Simulink Using AUTOSAR System

Flash Bootloader. Product Information

Tools for CAN based networking. On the street, in the air, in the orbit

ECU Measurement and Calibration in a Real-Time Test Environment. Roland Magolei National Instruments Engineering GmbH Embedded Networks

Design of a Flexible Integration Interface for PIL Tests

Why should we think about multiple tools? Requirements or how to choose the right tool?

Model-based Calibration of HD Engines. Benjamin Tilch, Rico Möllmann, Axel Steinmann, Dr. Reza Rezaei GT-SUITE Conference, Frankfurt, October 2014

SYNECT

MATLAB/Simulink 기반의프로그래머블 SoC 설계및검증

CLOSING THE DESIGN CYCLE LOOP WITH EXECUTABLE REQUIREMENTS AND OSLC

Modern State Space Representation Using ADwin DAQ Systems

2015 The MathWorks, Inc. 1

Introducing the FPGA-Based Prototyping Methodology Manual (FPMM) Best Practices in Design-for-Prototyping

AUTOSAR stands for AUTomotive Open Systems ARchitecture. Partnership of automotive Car Manufacturers and their Suppliers

Simulink to Embedded Hardware Paul Peeling MathWorks

VT System Smart HIL Testing

Transcription:

FULL VIRTUALIZATION OF RENAULT'S ENGINE MANAGEMENT SOFTWARE APPLICATION TO SYSTEM DEVELOPMENT D. von Wissel, Y. Jordan,, RENAULT A. Dolha, J. Mauss QTronic

Introduction Renault has an established engine control SW development framework Field of application: Passenger Veh. & Light Duty Veh. with Diesel & Gasoline engines Framework is heavily based on Matlab / Simulink and the idea of MBD Renault EMS architecture SW is composed out of 20 functions (ex. Air System, Combustion, ) A function consists of modules which are the smallest testable SW unit A module contains runnuables triggered by the Operating System (OS) 2009-01-1082 2

SW development framework at Renault 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 4.Configuration of modules to fit to the specific needs of a software project,. Function Developers.mdl.m modul modul MiL code generation Unit testing C code modul modul SiL build for standard EMS library EMS C code library Software Project Team configuration for target CPU weeks Project C code platform integration.hex flash 5.Integration of generated configured C code on supplied target hardware, feedback for developers function 3.MiL test and feedback for software project team software integration test function HIL testing 6.Validation of all modules on system level using the real ECU 3

Assessment of SW development framework Critical assessment of the development framework There is considerable delay between delivery of a set of specs to SW project team and system-level tests based on an ECU that runs entire SW. Function Developers.mdl code generation.m 1. 2. modul modul MiL 3. Unit testing C code modul modul SiL build for standard EMS library EMS C code library Software Project Team configuration for target CPU weeks Project C code platform integration.hex flash feedback for developers function feedback for software project team HIL testing software integration test function 4

Place of vecu in SW development framework Motivation I. Virtualization System-level test and should be performed interleaved with steps 1, 2 and 3 replacing the actual MiL, SiL process by a full ECU Function Developers.mdl code generation.m 1. 2. modul modul MiL 3. Unit testing C code modul modul SiL build for standard EMS library build vecu for MiL EMS C code library Software Project Team configuration for target CPU weeks Project C code platform integration.hex flash feedback for developers function feedback for software project team HIL testing software integration test function 5

vecu Build Process Inputs Consistent set of modules Dictionary with data types of all variables Os specification. Incremental, fully automated build process. vecu.mdl.m Matlab / Simulink specification for all modules module wrapper generator Module interface data types.mdl wrapped modules Simulink Coder grt.tlc vecu config options C code Os specification build script Calibration data read at run-time Configuration files. 2009-01-1082 6

Discussion Differences between real and virtual ECU A vecu remains a model : not all tests that are relevant can be moved to the PC Zero-time execution: vecu behaves like a device with unlimited computing speed Missing basic software: basic software of the ECU platform is not part of the vecu Different production code: C code is close to but not fully equivalent to production code Many of these differences can be avoided switching to a virtual processor type vecu Runtime performance A virtual ECU for a typical Renault EMS loads & initializes in less than 5 sec. on a Windows PC Execution speed depends on the number of outputs to be recorded during simulation o o Recording170 variables / ms, execution of the vecu is 4 times faster than real time. Recoding 20.000 variables / ms, execution speed is 3 times slower than real time 2009-01-1082 7

3 options to create a vecu vecu is created from models that generate the C code vecu is created from C code compiled for PC Function Developers.mdl.m code generation C code configuration for target CPU Project C code Software Project Team Build vecu for MiL Build vecu for SiL Build vecu for PiL Build for target MCU.hex flash vecu is created from the hex file resulting from compiling C code for the target processor vecu ECU 8

Chip Simulaton Suppliers of ECU hardware and MCUs: to validate their ECU and chip designs (need of cycle accurate platform simulator) OEMs that need to integrate and calibrate supplied EMS software: to run EMS SW on PC when there is access to the hex files, but no access to the C code Function Developers.mdl.m code generation C code configuration for target CPU Project C code Software Project Team However, Hex files for the target MCU become only available weeks after a module edit. vecu Build vecu for PiL Build for target MCU.hex flash vecu is created from the hex file resulting from compiling C code for the target processor ECU 9

SiL type vecu Compared to chip simulation, vecu for SiL runs typically faster and provides better support for C level debugging, if compiled with debug option vecu is created from C code compiled for PC Function Developers.mdl.m code generation C code configuration for target CPU Project C code Software Project Team Build vecu for SiL Build for target MCU.hex However, production C code generator is a shared and limited resource here, not easily available vecu flash ECU 10

MiL type vecu In the automotive world today dominates MBD on PC with MATLAB/Simulink But this does not mean that developers are typically able to simulate their ECU on PC vecu is created from models that generate the C code Function Developers.mdl.m code generation C code configuration for target CPU Project C code Software Project Team Build vecu for MiL Build for target MCU.hex flash vecu The choice is hear to build the vecu from the module source (Simulink.mdl files) ECU 11

vecu Applications Definition of system requirements Completion of environmental model by EMS Module development in system context Bypassing / replacing implementation of module in vecu Pre calibration of the EMS ; frontload calibration related activities Virtual integration of modules before production C code is generated Move selected tests from HiL to MiL Vehicle-level simulation Completion of Digital Electronic Integration PlatForm Validate networked ECUs in vehicle context 12

Move selected tests from HiL to MiL Same plant model Engine Vehicle Gearbox Driver Model Same tests What can be moved? Applicative SoftWare tests What has to stay on HIL? Task scheduling tests of function that combine ASW and BSW runnables Task distribution between cores Advantages Frontloading of automatic tests of applicative functions 1 st Software tests can be done 6 weeks early Faster feedback to function designers More time to correct errors Cost of a vecu is significantly lower compared to cost of a HIL 13

Vehicle-level simulation : Digital Electronic Integration PlatForm DEIPF client DEIPF client DEIPF client DEIPF client (vecu+env.) RT-Lab Orchestra API DEIPF Check of flow coherency between all vehicles ECUs right after model design Intersystem Functional Validation including all vehicle ECUs Issues detection before physical Vehicle Integration Platform tests Increased time on error corrections Lower Cost 14

vecu Applications Definition of system requirements ; completion of environmental model by EMS Module dev. in system context ; bypassing / replacing implementation of module in vecu Pre calibration of the EMS ; frontload calibration related activities Virtual integration of modules before production C code is generated Move selected tests from HiL to MiL Vehicle-level simulation ; completion of a Digital Electronic Integration PlatForm (D-EIPF) to validate networked ECUs in vehicle context 15

I General Purpose I. Introduction II. Interface & Tool III. Example I In 2016, Renault created the 1 st fully functional virtual EMS Process has been repeated for about 6 releases (updates and different platforms) of the EMS software since then Renault started to use virtual ECUs to frontload test and calibration related activities First results of these activities have been encouraging so far Existing MiL-based virtual ECUs will be complemented by SiL-based virtual ECUs 16