16
A Highly Automated Test and Validation Tool Chain for Advanced Driver Assistance Systems – Using CarMaker with ECU-TEST 12th September 2018

A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

  • Upload
    hakhanh

  • View
    224

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

A Highly Automated Test and Validation

Tool Chain for Advanced Driver Assistance

Systems – Using CarMaker with ECU-TEST

12th September 2018

Page 2: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

A Highly Automated Test and Validation Tool

Chain for Advanced Driver Assistance

Systems – Using CarMaker with ECU-TEST

Michael Gebauer

Karlsruhe, den 12.09.2018

12th September 2018

Page 3: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

TraceTronic – What do we do?3

12th September 2018

Page 4: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

Outline4

▪ Automated Driving – Brief overview with a focus on testing

▪ Test automation with IPG products

▪ Example tool chain

▪ Parameter variation

▪ Results visualization

▪ Big Picture

▪ Screencast

12th September 2018

Page 5: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

Levels of automation (SAE J3016)5

12th September 2018

Page 6: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

6 Challenge Big Testing

▪ Test-space coverage

▪ Large, high-dimensional

parameter spaces

▪ Goals: finding all critical spots,

minimial test effort

▪ Test execution and evaluation

▪ Test automation

▪ Parallelized test execution

▪ Optimization

▪ Test management

▪ State-of-the-art visualization

▪ Statistical methods, e. g.

sensitivity analysis

12th September 2018

Page 7: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

Overview of supported tools7

12th September 2018

HiL real-time

▪ dSPACE

ControlDesk

▪ ETAS LABCAR

▪ NI VeriStand

▪ MicroNova

NovaSim

▪ AVL PUMA

▪ OPAL-RT

▪ D2T Morphee

▪ KS TORNADO

MiL/SiL

▪ Mathworks MATLAB/

Simulink

▪ IPG CarMaker

▪ IPG TruckMaker

▪ IPG MotorcycleMaker

▪ ADTF 2

▪ ETAS INCA

▪ ATI Vision

▪ Vector CANape

▪ Softing DTS

▪ Softing EDIABAS

▪ RA Consulting

DiagRA

▪ Raw diagnostics

▪ ETAS INCA

▪ Vector CANoe/

CANalyzer

▪ BUS-HW: Vector,

PEAK, IXXAT,

ETAS, X2E,

SOFTING,

GOEPEL

▪ IXXAT-RBS

▪ ASAM XIL-API

▪ VISA

▪ Ethernet SOME/IP

▪ NI LabView

▪ Lauterbach

TRACE32

▪ PLS UDE

▪ dSPACE FIU FSS

▪ hard&soft FIU

▪ Quancom relais

▪ Beckhoff TwinCAT

ECU-TEST

User PC

Tool server

Plant model/

implementation model

Diagnostics/

measurement and calibrationBus communication Electrical error sim.,

relays, etc.

Simulation platform ECU BUS Misc.

Tool serverTool serverTool server

Page 8: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

Overview TEST-GUIDE

Project team Test execution

Test results:

▪ Reports

▪ Logs

▪ Recordings

▪ Hex-Files

Store and analyzetest results

centrally

8

12th September 2018

Page 9: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

Test automation with IPG products

IPG CarMaker

▪ Support for MiL, SiL and HiL workflows

▪ Simulation control

▪ Configuration and parameterization

▪ Model access (varying features)

▪ Recording and analysis of traces

9

IPG TruckMaker IPG MotorcycleMaker

12th September 2018

[Source: IPG, Mathworks]

Page 10: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

10 Example Toolchain

Parameter sets

e.g. distances, times,

speeds

Simulation

e.g. CarMaker,

TruckMaker,

MotorcycleMaker

Evaluation

e.g. TTC, THW,

max.

acceleration

Return of results, optimization and search

12th September 2018

Page 11: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

11 Parameter variation

Extensive options of parameter variations

▪ Preview of the number of generated parameter

sets

▪ Support of n-wise method

▪ Selecting a random subset of generated

parameter sets

12th September 2018

Page 12: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

12 Example: Particle Swarm Optimization

12th September 2018

▪ Metaheuristic moving

candidate solutions in the

search-space (particles)

▪ In each iteration speed and

direction of every particle

is calculated

▪ Speed and direction

depends on own and

global best position[Source: Wikipedia]

Page 13: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

Results visualization

2D heatmap showing criticality

of concrete scenarios with

respect to multiple parameters

Signal plots showing the metrics

time-to-collision and time-

headway for a concrete scenario.

13

Parallel coordinates shows

graphically the dependencies

of the parameters in the entire

parameter space

12th September 2018

Page 14: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

Big Picture

Test-case

implementation

Test

execution

MiL/SiL/HiL

Visualization

Test results &

Measured data

AnalysisValidation

vehicle

Test-result

evaluationTest control &

Parameter variation

14

12th September 2018

Page 15: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

15 Screencast

7th August 2018

Let’s have a look at the tooling

Screencast and explanations

Page 16: A Highly Automated Test and Validation Systems Using ... · 5 Levels of automation (SAE J3016) ... KS TORNADO MiL/SiL Mathworks MATLAB/ Simulink ... ASAM XIL-API VISA Ethernet SOME/IP

12th September 2018