automated test of the amg speedshift dct control software · the function development and...

18
Automated test of the AMG Speedshift DCT control software M. Tatar QTronic GmbH, Berlin R. Schaich, T. Breitinger Mercedes-AMG GmbH, Affalterbach 9 th International CTI Symposium Berlin, 2010

Upload: others

Post on 10-May-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

Automated test of the AMG Speedshift DCT control software

M. TatarQTronic GmbH, Berlin

R. Schaich, T. BreitingerMercedes-AMG GmbH, Affalterbach

9th International CTI SymposiumBerlin, 2010

Page 2: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

MotivationPrinciple of the scenario generator Test of AMG Speedshift DCTcontrol software- the AMG Speedshift DCT- the software test setupResults and conclusion

Outline

Page 3: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Motivation

source: presentation by Hans Adlkofer, Infineon, 2009

Ever growing complexity of automotive controllers

How to validate and test?- do more road tests ?- write more test scripts ?

This does not scale wellCode size grows fasterNew processes needed

Idea- increase degree of automation- generate and evaluate useful test scenarios automatically

Page 4: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Idea • intelligent generation of 1000s of differing test scenarios • active attempt to: - maximize state coverage - drive the system in “difficult” situations

Benefit • high coverage • low efforts for test specification

Test Weaver – scenario generator

Testing = playing against (simulated) system

Page 5: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Strategy for Test Generation

controlinput

fault

Test WeaverTest Weaver

state

alarm

software-in-the loop

vehicle model

ECUC code

inputs u outputs y

reachedstate

alarmstate

discretized state space

testreport

stateDB

y

u

GOALSfind bugs: Change sub-optimal scenarios to generate worst-cases

coverage:Drive the system in states that have not been reached before

Page 6: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

TestWeaver - Test Generation Strategy

root

input a

ok

input b

alarm !fault 1

fault 2

input a

input b

input

a

input b

input c

time

t0

Page 7: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Virtual Integration – Software in the Loop

SilverSilver

vehicle model

DCT control SW

Interactive drive of the virtual vehicle

developer

module.mdl

.obj

object.obj

A2LPARDCM

Modelica / DymolaSimulink / TargetLink

Page 8: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

SiL and debugging environment

Page 9: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

DCT with mechanical locking differential

Page 10: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Hydraulic unit of the DCT

Source: Hart et.al., The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen 2010, pp. 599-615

Page 11: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Drivetrain of the Mercedes-Benz SLS AMG

Page 12: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Drivetrain physical simulation model

Page 13: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Drivetrain simulation model – gear actuators

Page 14: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

SiL and debugging environment

Page 15: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Setup of the software test

SilverSilver

vehicle model

DCT control SW

TestWeaverinstruments TestWeaver TestWeaver

drive the virtual vehiclegenerate worst-case scenarios

developer testreport

module.mdl

.obj

object.obj

A2LPARDCM

Modelica / DymolaSimulink / TargetLink

24 hours

Page 16: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

TestWeaver Alarms: correctness / quality

● Runtime exceptions: division by zero, stack overflow...

● A2L range monitoring: thousands of TCU signals...

● Shift durations: average and maximal durations

● Clutch overheating, overspeeds: engine overspeed or stalled...

● DCT condition monitoring: > 200 signals, fault codes

● Oscillations and unexpected control sequences: repeated up/down shifts, bad fault diagnosis, bad fault reaction

● Code coverage and system state coverage

every problem reported by TestWeaver comes with one or more reproducible examples!

Page 17: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Example: Problem found and corrected

oscillation of target gear- found by TestWeaver- replay in Silver

improved control software- run regression test- problem solved

Page 18: Automated test of the AMG Speedshift DCT control software · The function development and application of the DCT in the Mercedes-Benz SLS AMG. VDI-Berichte 2081: Getriebe in Fahrzeugen

01.12.2010 9th CTI Symposium on Innovative Automotive Transmissions and Hybrid and Electric Drives

Test Results and Conclusion

Test of DCT control software generated and analysed over

3000 different driving scenarios, each 45 sec.for every software release

systematic test and validation with many usual and many unusual driving conditions

Conclusion The presented approach seems

extremely well suited for the validationof automotive transmission controllers

Necessary complement to other QA measures, test benches, prototype driving

Main benefit: - much higher test coverage - feasible work effort