28
Powertrain System Simulation Frank Uphaus, Renè Linssen | Daimler AG QTronic User Conference 2018 - Virtual ECUs and Applications October 18th, 2018, Berlin. Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 1

Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

  • Upload
    others

  • View
    18

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

:

und

:

Powertrain System SimulationFrank Uphaus, Renè Linssen | Daimler AG

QTronic User Conference 2018 - Virtual ECUs and Applications

October 18th, 2018, Berlin.

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 1

Page 2: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Powertrain System Simulation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 2

1. Vision

2. Concept

3. Implementation

• Virtual Control Modules

• Plant Models

• Use Cases & Testing

4. Conclusions on Business Model

5. Summary

Page 3: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Integration and Completeness

Vision

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 3

Aim for completeness of the virtual approach for maximum impact!

hardware software& xCU

calibration

system

subsystem

SW-module

component SW-function

module

engine

control unit

module

powertrain domain

vehicle

detail

tansmission

Page 4: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Vision

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 4

To calibrate drivability (also) using a virtual vehicle the whole powertrain

including all functional software and hardware components has to be digitalized.

ECU

CPC

TCU

Engine

Vehicle

Transmission

* CPC = Central Powertrain Controller

Page 5: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

SiL Platform for Powertrain System Simulation

Concept

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 5

Page 6: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Ingredients

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 6

Testing

Use Cases

Plant

Models

Virtual

Control Units(vXCUs)

Page 7: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Powertrain Software

Implementation

7

Central Powertrain Controller

(CPC)

Engine Control Unit (ECU)Transmission Control Unit

(TCU)

1 Bubble = 1 Function

Inhouse-Software

Supplier-SoftwareCAN BUS

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018

Completeness of powertrain software virtualization is crucial.

Page 8: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Creating Virtualized Control Units: Build Inhouse-SW for SiL (CPC, TCU)

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 8

„Linking“

(SiL-specific)

Daimler / Inhouse

Modelling /

Programming /

(C-) Code-generation

SiL-

Compiler

Preprocessed

items (object

files, SiL-specific)Virtual control unit

Daimler / Inhouse

Inhouse Software: Direct usage on standard PC by tailored build process

Page 9: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Creating Virtualized Control Units: ChipSim for Multi-source xCU

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 9

ChipSim: technology with attractive „one-size-fits-all“ attributes. Detailed at instruction set level.

Supplier

Modelling /

Programming /

(C-) Code-generation

Control-Unit

Compiler

Preprocessed

items

(xCU-specific)

Binary for target

hardware„Linking“

(specific for xCU))

Daimler / Inhouse

Modelling /

Programming /

(C-) Code-generation

Control-Unit

Compiler

Preprocessed

items

(xCU-specific)Virtual control unit

ChipSim/

Instruction Set Simulation

Page 10: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Same Difference – It Does Matter How Much of the xCU Is Included!

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 10

Application Layer

Functional SW

Real Time Environment

Base SW

IO Memory Complex Device DriversCom

Stack

MCal

AU

TO

SA

R L

ibs

Page 11: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Same Difference – It Does Matter How Much of the xCU Is Included!

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 11

Application Layer

Functional SW

Real Time Environment

Base SW

IO Memory Complex Device DriversCom

Stack

MCal

AU

TO

SA

R L

ibs

Page 12: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Powertrain Software

Implementation

12

Central Powertrain Controller

(CPC)

Engine Control Unit (ECU)Transmission Control Unit

(TCU)

1 Bubble = 1 Function

Inhouse-Software

Supplier-SoftwareCAN BUS

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018

Completeness of powertrain software virtualization is crucial.

Page 13: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Ingredients

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 13

Testing

Use Cases

Virtual

Control Units(vXCUs)

Plant

Models

Page 14: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Plant Models: Quality Levels – Example: Engine Model

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 14

Quality level Output e.g. engine Characteristics Examples

Advanced torque, rpm • Quality and accuracy comparable to

production and vehicle-to-vehicle

variation

• Excellent transient response

matching

CO2

thermal properties

Functional torque, rpm • Physical phenomenology covered

• Qualitative evaluation,

accuracy sufficient

• Limited dynamic response

(EUDC-dynamics)

• Physical, empirical or

semi-physical models

CO2

thermal properties

Basic • I/O supported, general

system-behavior

• Simple Look-up-models and

physical approach

co

st a

nd

co

mp

uta

tio

nal b

urd

en

MVM (mean value models)

Look-Up-Tables

DEM (discrete event models,

crank-angle-based models)

Functional model class (e.g. mean value models for engine) suitable for many applications

Page 15: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Ingredients

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 15

Virtual

Control Units(vXCUs)

Plant

Models

Testing

Use Cases

Page 16: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Use Case Matrix

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 16

Page 17: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Example: Operating Strategy

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 17

Page 18: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Example: Engine Speed Governor

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 18

Page 19: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Ingredients

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 19

Virtual

Control Units(vXCUs)

Plant

Models

Testing

Use Cases

Page 20: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Testing – Test Types

Implementation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 20

Drivablility Events

Objective Criteria

Test Cycles

Cumulative Evaluation

Explorative Tests

Coverage

Rerun Street Tests

e.g. durability profil or

reference route

Robustness & Statistics

Test Case

z.B. Albdauerlauf oder RDE

Combinatorial Analysis

In addition to unrestricted driving, various test types can be implemented

which - when used repeatedly - can be triggerd automatically.

Automation

Unrestricted Driving

Page 21: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Test Automation

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 21

ok?

yes

no

New

Dataset

Test Analyze Release

New

Software

(virtualized)

Automated Tests, e.g.:

• Drivability

• Air path

• WLTC

• Durability

Trigger

dataset

management

SiL

Page 22: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Why Automated Testing…

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 22

new

Specfixes

BugfixesxCU

#chan

ge r

eq

uest

s

SW Time line

V-model

classic

retro

Bugfix Bugfix

Änd

eru

ngsu

mfa

ng

xCUAgile

Sprint - Release

xCU

continuous

daily build

xCU

6 month

Test automation enables permantent evaluation of the development progress and

supports continuous improvement of software and calibaration.

Page 23: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Aspects for Assessing a Software-in-the-Loop Environment

Implementation

Completeness

Open ModelsStandard tools

User-friendly

Access Rights

“To-go”-Flexibility

Focus on Physics

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 23

Modularity and

Extendability

Pure Software –

always available &

highly scalable

Rights

Management

(DRM) – Content

defines value

Completeness is

more important

than specific level

of detail

Physical

phenomena more

important than

accuracy

One task one

tool for measure-

ment, calibration

and diagnosis

Royalty-free

models

Open models vs.

blackbox

A simple user

interface increases

acceptance

No limitations, no

pitfalls, interactive

operation

Intuitive interfaces,

standardized

exchange formats

Flexible Licensing

Unrestricted Driving

Page 24: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Conclusions on Business Model

Conclusion

• The vXCU is part of the delivery and part of the business model OEM - supplier

• Technology for XCUs with software from multiple sources available

• The virtual XCU must be available before the real one or the software

If it has software, it has a virtual control module

• Supply of plant models which are required for the completeness of the SiL

(e.g. battery, starter/alternator) or the required parameters

• The plant model must be available before the real component

The plant model is the first development ressource

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 24

Control Modules

Plant Models

Page 25: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Conclusions on Business Model

• Plant models and vXCUs should not be restricted to a tool-specific format

• Exchange between multiple model owners required

• Enabler for completeness of SiL

Independence from target platforms by means of exchange formats

• Strong alignment to standards, both "external" (e. g. FMU) and "internal"

(e. g. for open and standardized software architecture AutoSAR)

„Comply on standards, compete on implementation“

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 25

Exchange Format

Standards

Page 26: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Conclusions on Business Model

• Development on virtual vehicles becomes an integral part of every development

discipline

• Simulation provides the modeling skills but not (all) the simulation results

• Skill set part of the training-on-the-job for professionals or the academic education

Additional skills for virtual development

• Tools to analyze and post process test results to be activated

by generic test automation and reporting

Compatible with both, real and virtual test

environment and process

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 26

Skills

Engineering Tools

Page 27: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Summary

• The goal is to use a virtual vehicle for development where it is suitable.

• For powertrain development, e.g. for drivability calibration, this requires that all control units and powertrain

subsystems are virtualized. Completeness of the system is crucial - hence, powertrain system simulation.

• The key technology is the Software-in-the-Loop approach for digitalizing control systems.

• The virtualized control modules are integrated with powertrain plant models using a co-simulation tool.

• The SiL-platform provides engineers with the complete application software for the ECUs and all relevant

powertrain models. It is used for software development, calibration and simulation tasks.

• The virtual platform catalyzes automated testing.

• The option of integrating powertrain system simulation into development project

has an impact on the cooperation of OEMs, suppliers and engineering companies.

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 27

Page 28: Powertrain System Simulation · 2019-11-23 · engine control unit module powertrain domain vehicle detail tansmission. Vision ... (C-) Code-generation SiL-Compiler Preprocessed items

Thank You for Your Attention!

Powertrain System Simulation | QTronic User Conference 2018 | Uphaus, Linssen | 18.10.2018 28