Chip simulation of automotive ECUs



Similar documents
Virtual Integration for hybrid powertrain development, using FMI and Modelica models

Standardized software components will help in mastering the. software should be developed for FlexRay were presented at

Automatic ASAM MCD-3 supported test. PikeTec GmbH Dr. Jens Lüdemann

EHOOKS Prototyping is Rapid Again

Product Information CANape Option Simulink XCP Server

Software Production. Industrialized integration and validation of TargetLink models for series production

Model-based Testing of Automotive Systems

Development of AUTOSAR Software Components within Model-Based Design

Hardware Virtualization for Pre-Silicon Software Development in Automotive Electronics

Echtzeittesten mit MathWorks leicht gemacht Simulink Real-Time Tobias Kuschmider Applikationsingenieur

Best Practices for Verification, Validation, and Test in Model- Based Design

Unit A451: Computer systems and programming. Section 2: Computing Hardware 1/5: Central Processing Unit

Deeply Embedded Real-Time Hypervisors for the Automotive Domain Dr. Gary Morgan, ETAS/ESC

Advanced Techniques for Simulating ECU C-code on the PC

Dr.-Ing. Rainer Rasche dspace GmbH Rathenaustrasse Paderborn automotive testing expo June 22, 2010

idas Data Application and Documentation

Advanced Electronic Platform Technologies Supporting Development of Complicated Vehicle Control Software

AutomationDesk. Remote control of calibration, measurement, and diagnostic tools such as CalDesk. Open COM API to remote-control test execution

Performance Study based on Matlab Modeling for Hybrid Electric Vehicles

Plug. & Play. Various ECUs tested by automated sequences. dspace Magazine 3/2009 dspace GmbH, Paderborn, Germany info@dspace.com

A Master-Slave DSP Board for Digital Control

Dr. Ulrich Lauff, Dr. Kai Pinnow, and Dipl.-Ing. Florian Schmid. New Tools and Methods for Validation and Calibration

ETAS. We offer regularly scheduled training seminars for both novice and advanced ETAS tool users.

TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... TriCore... TriCore Monitor... 1

CrossChasm Embedded Control Systems Whitepaper For Powertrain Design Teams

User-friendly Configuration of AUTOSAR ECUs with Specialized Software Tools

CycurHSM An Automotive-qualified Software Stack for Hardware Security Modules

Debugging A MotoHawk Application using the Application Monitor

Automotive Software Development Challenges Virtualisation and Embedded Security

TESSY Automated dynamic module/unit and. CTE Classification Tree Editor. integration testing of embedded applications. for test case specifications

Virtualization for Hard Real-Time Applications Partition where you can Virtualize where you have to

Embedded Software development Process and Tools:

Virtual Integration and Consistent Testing of Advanced Driver Assistance Functions

EE289 Lab Fall LAB 4. Ambient Noise Reduction. 1 Introduction. 2 Simulation in Matlab Simulink

Software Development for Multiple OEMs Using Tool Configured Middleware for CAN Communication

SimWebLink.NET Remote Control and Monitoring in the Simulink

Sitecore Health. Christopher Wojciech. netzkern AG. Sitecore User Group Conference 2015

Model Based System Engineering (MBSE) For Accelerating Software Development Cycle

AUTOSAR Seminar WS2008/ Assignment: Simulation of Automotive Systems in the Context of AUTOSAR

Embedded Software development Process and Tools: Lesson-1

DRV8312-C2-KIT How to Run Guide

Analysis of Large Scale Data Volumes

MathWorks Automotive Conference 2015 Simon Fürst, 2015/09/24. MODEL-BASED SOFTWARE DEVELOPMENT: AN OEM S PERSPECTIVE.

Product Development Flow Including Model- Based Design and System-Level Functional Verification

PEMS Conference. Acquiring Data from In-Vehicle Networks. Rick Walter, P.E. HEM Data Corporation

IBM RATIONAL PERFORMANCE TESTER

Notes and terms of conditions. Vendor shall note the following terms and conditions/ information before they submit their quote.

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB

OPC COMMUNICATION IN REAL TIME

Product Information CANape

Embedded Software Development

ASAM ODS, Peak ODS Server and openmdm as a company-wide information hub for test and simulation data. Peak Solution GmbH, Nuremberg

Continental Automotive Romania - Research & Development Career Perspectives for Students & Fresh Graduates

Experiment 2 Introduction to TI C2000 Microcontroller, Code Composer Studio (CCS) and Matlab Graphic User Interface (GUI)

Driveability Simulation in the continuous development process. Dr. Josef Zehetner, DI Matthias Dank, Dr. Peter Schöggl, AVL List GmbH, Graz

A Case Study of Application Development and Production Code Generation for a Telematics ECU with Full Unified Diagnostics Services

How to Run the MQX RTOS on Various RAM Memories for i.mx 6SoloX

Setting up a Local Interconnect Network (LIN) using dspace MicroAutoBox 1401/1501 Simulink Blocks

Netezza and Business Analytics Synergy

ERIKA Enterprise pre-built Virtual Machine

Chapter 12. Development Tools for Microcontroller Applications

SPYTEC 3000 The system for GSM communication monitoring

Report Paper: MatLab/Database Connectivity

Making model-based development a reality: The development of NEC Electronics' automotive system development environment in conjunction with MATLAB

Technical Data Sheet SCADE Suite R16. Software Prototyping and Design. Technical Data Sheet SCADE Suite R16 1

Model-based Testing of Automotive Systems

I can make just such ones if I had tools, and I could make tools if I had tools. -Eli Whitney

Multi-domain Model-driven Development Developing Electrical Propulsion System at Volvo Cars

Model-based Testing of Automotive Systems

BY STEVE BROWN, CADENCE DESIGN SYSTEMS AND MICHEL GENARD, VIRTUTECH

Application Notes "EPCF 1%' 1SJOU &OHJOF "11&

Efficient and Faster PLC Software Development Process for Automotive industry. Demetrio Cortese IVECO Embedded Software Design

Migrating Application Code from ARM Cortex-M4 to Cortex-M7 Processors

Ride7 for ARM. RAISONANCE Tools for the STRx and STM32 families. Overview and Getting Started

Technical Data Sheet SCADE R17 Solutions for ARINC 661 Compliant Systems Design Environment for Aircraft Manufacturers, CDS and UA Suppliers

Virtualization and Other Tricks.

Model-Based Development of ECUs

Whitepaper Performance Testing and Monitoring of Mobile Applications

SysPatrol - Server Security Monitor

NCC Blade Network Communication Controller

Validating Diagnostics in Early Development Stages

EBERSPÄCHER ELECTRONICS automotive bus systems. solutions for network analysis

Copyright 1

Web Application s Performance Testing

Model Based Software Development for DDG 1000 Advanced Gun System

TRACE PERFORMANCE TESTING APPROACH. Overview. Approach. Flow. Attributes

Special FEATURE. By Heinrich Munz

Better Test Quality by Automation

In networking ECUs in heavy-duty vehicles, it is the J1939 protocol that. plays a key role. J1939 networks are based on the CAN bus (high-speed

ASCET in ECU Development Tool Chains

P300 Spelling Device with g.usbamp and Simulink V Copyright 2012 g.tec medical engineering GmbH

MANUAL FOR RX700 LR and NR

Ryan F. Schkoda, Ph.D. Postdoctoral Fellow Wind Turbine Drivetrain Testing Facility Charleston, SC

Continuous Integration Build-Test-Delivery (CI-BTD) Framework in compliance with ISO26262

Company presentation. ESS - 'Exterior Sound System' for Electric and Hybrid Vehicles

Electric motor emulator versus rotating test rig

XMVAE Gigabit Ethernet Modules

Developing software for Autonomous Vehicle Applications; a Look Into the Software Development Process

Transcription:

Chip simulation of automotive ECUs Jakob Mauss, QTronic GmbH Matthias Simons, Daimler AG 9. Symposium Steuerungssysteme für automobile Antriebe Berlin-Tempelhof, 20.-21.09.2012

Outline of the talk Chip simulation of automotive ECUS 1. Motivation 2. Setting up a simulation 3. Performance 4. Limitations 5. Conclusion

Motivation ECU: more than 30.000 software parameter Example: 16 x 10 map ECU memory dump

Motivation Engine calibration - tune more than 30.000 ECU parameter - done by the OEM, not by the supplier of the ECU Process today - automated optimization of stationary states - real-time test rig or vehicle: based on the real ECU - PC based: engine and ECU both simulated, e.g. in Simulink Problems - real-time test rig: - limited reproducibility - expensive (invest, operation) - slow (real time) - PC: reverse engineering of ECU is - time consuming - complex - error prone

Motivation Idea move engine calibration (and other development tasks) from test rig to PC Benefit - simulation runs much faster than real time - enables use of mathematical optimization

Motivation Simulation of ECUs on PC: Problem: How to simulate ECU if no C source or model is available?? Ideas: - Simulate the CPU based on the hex file - Integrate this feature into MATLAB and QTronic Silver

Example - TCU Control Software in Silver

Setting up a TriCore simulation 1. write spec.txt to specify what functions to run 2. step and debug the simulation in Silver debug mode 3. generate fast running SFunction or Silver module: runs without a2l and hex

Setting up a TriCore simulation 1. write spec.txt to specify what functions to run 2. step and debug the simulation in Silver debug mode 3. generate fast running SFunction or Silver module: runs without a2l and hex 01 # specification of sfunction or Silver module 02 hex_file(m12345.hex, TriCore_1.3.1) 03 a2l_file(m12345.a2l) 04 map_file(m12345.map) # a TASKING or GNU map file 05 frame_file(frame.s) # assembler code to emulate RTOS 06 frame_set(step_size, 10) # Silver step size in ms 07 frame_set(text_start, 0xa0000000) # location of frame code 08 09 # functions to be simulated, in order of execution 10 task_initial(abcde_ini) 11 task_initial(abcde_inisyn) 12 task_triggered(abcde_syn, trigger_abcde_syn) 13 task_periodic(abcde_20ms, 20, 0) 14 task_periodic(abcde_200ms, 200, 0) 15 16 # interface of the generated sfunction or Silver module 17 a2l_function_inputs(abcde) 18 a2l_function_outputs(abcde) 19 a2l_function_parameters_defined(abcde)

generated SFunction in MATLAB/Simulink spec.txt.hex.a2l.map frame.s tcbuild characteristics turned into MATLAB workspace variables - read by S-function - may be modified by script.mexw32 MATLAB/Simulink S-function 40 MIPS.mask.txt default values for characteristics from HEX file as m script, mask for S-function block and similar Simulink snippets

generated virtual ECU in Silver spec.txt.hex.map.a2l frame.s QTronic tcbuild code generator virtual ECU ECU functions RTOS emulation TriCore emulation 40 MIPS.mexw32 tcbuild MATLAB/Simulink S-function 40 MIPS 4GB virtual memory A2L conversion XCP TCP/IP INCA CANape vehicle simulation or measurements on-line calibration: measure and tune running simulation tsim.dll S i l v e r TriCore debug mode 0.4 MIPS

Virtual ECU running in Silver: MED17

Performance and Limitations Run complex function for a measured scenario, 3.5 minutes target execution time MIPS Silver in debug mode 919.15 sec 0.41 generated Silver module or 9.30 sec 40.80 MATLAB/Simulink SFunction MED17 with TC1797, 180 Mhz 210.00 sec 270 Limitations: - instruction accurate, but not cycle accurate - based on TriCore specification: 'silicon bugs' are not simulated - PCP, CAN controllers and other on chip devices not modeled

Summary ECU simulation on Windows PC - without expensive reverse engineering - without access to ECU source files - based on HEX, MAP and A2L file - low work effort for modeling - high accuracy of model - application example: automated calibration - works for TriCore processors: TC1796, TC1797, TC1798,... - performance: 40 MIPS