Chip Simulation of Automotive Ecus
Chip Simulation of Automotive Ecus
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 - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin
Motivation
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin
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)
für automobile
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe
Antriebe 20-21.09.2012
20-21.09.2012 -- Berlin
Berlin
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
für automobile
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe
Antriebe 20-21.09.2012
20-21.09.2012 -- Berlin
Berlin
Motivation
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
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin
Example - TCU Control Software in Silver
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin
Setting up a TriCore simulation
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin
Setting up a TriCore simulation
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin
generated SFunction in MATLAB/Simulink
spec.txt
tcbuild
.mexw32 MATLAB/Simulink
S-function
40 MIPS
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin
generated virtual ECU in Silver
4GB
tcbuild virtual memory INCA on-line calibration:
TCP/IP measure and tune
CANape running simulation
.mexw32 MATLAB/Simulink
S-function A2L
XCP
40 MIPS conversion
vehicle simulation
or measurements
tsim.dll
Silver
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin
Virtual ECU running in Silver: MED17
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin
Performance and Limitations
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
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin
Summary
Chip simulation of automotive ECUs - Steuerungssysteme für automobile Antriebe 20-21.09.2012 - Berlin