model-based testing and test automation applied to ... · test automation for adas validation focus...
TRANSCRIPT
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Model-Based Testing and Test Automation appliedto Advanced Driver Assistance Systems Validation
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
MBT & Test Automation
17/09/2014 – UCAAT 2014, Munich
Laurent RAFFAELLI – ALL4TEC
Xavier ROUAH – INTEMPORA
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Agenda
1. What is an ADAS ?
2. Why is ADAS Validation Complex ?
3. State of the Art in ADAS Validation
4. MBT for ADAS Validation
5. Test Automation for ADAS Validation
6. Expected Benefits
7. COVADEC
2
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
What is an ADAS ?
ADAS: Advanced Driver Assistance Systems
Used in more and more vehicles to assist drivers
Trend: develop more autonomous vehicles with more ADAS
Commercial autonomous vehicles (without a human driver) could become a reality before the next decade
3
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
What is an ADAS ?
ADAS Principles
4
Sensor(s)
Situation Analysis
ADAS Decision
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Multiple kinds of outputs
Example: lane detection system (LDW – LKA)
What is an ADAS ?
5
Vibrations on drivers seat Message on screen Vibrations on steering wheel Sound signal Torque on steering wheel
One decision: unwanted trajectory leaving the current lane Multiple possible actions
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Why is ADAS Validation Complex ?
Numerous situations may occur
6
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Why is ADAS Validation Complex ?
Sensitivity to context
7
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Why is ADAS Validation Complex ?
Standards such as ISO 26262 strongly constrain validation
(from: ISO 26262-8, Table 7)
ADAS validation should address deterministic (safety concept) and non-deterministic aspects
8
ASIL Observable Incident Rate
D <10-9/h
C <10-8/h
B <10-8/h
A <10-7/h
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
State of the Art in ADAS Validation
Use of driving Tests
A lot of kilometers are required
For proven in use arguments and a confidence level of 70%, 480 000 000 kilometers are required for ASIL A
Use of video sequence libraries
9
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
MBT for ADAS Validation
Two types of tests are needed to validate ADAS dependability:
Safety oriented
Reliability oriented
Safety Oriented Test Cases:
Verify that the ADAS behavior is compliant with safety requirements
Models based on the following pattern:
10
InitInitial
conditions
ExpectedResults
Failure
End
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
MBT for ADAS Validation
Reliability Oriented Test Cases:
Verify that the ADAS bad decisions rate is lower than a threshold (reliability goal)
Models based on the following pattern:
Use of Markov chains and Monte Carlo Method
11
Random Static Environment
Random Vehicle
Behavior
Random Dynamic
EnvironmentInit End
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
MBT in Application
MBT for ADAS Validation
12
Usage
Test profile
Go through
algorithm
Start
Close
OPERATIONAL
COVERAGE
Reliability Test?
Safety Test?
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Test Automation for ADAS Validation
“Translate” test cases to sensor datasets
Extracted from real database
Generated with a simulator
“Execute”: Batch execution of ADAS against test cases
“Interpret”: Compare ADAS decisions with data from Test Oracle
13
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Test Automation for ADAS Validation
Focus on Test Oracle
Dynamically calculate the ADAS expected behavior
Integrated in the test bench as a separate block
Use of non-video data provided by the simulator
Test Bench Server compares ADAS decision with the Test Oracle decision
14
ADAS Decision
Test Oracle Decision
Test PASSED !
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Test Automation for ADAS Validation
Focus on Test Oracle
Dynamically calculate the ADAS expected behavior
Integrated in the test bench as a separate block
Use of non-video data provided by the simulator
Test Bench Server compares ADAS decision with the Test Oracle decision
15
ADAS Decision
Test Oracle Decision
Test FAILED !
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Test Automation for ADAS Validation
Test automation
16
MBT Tool
Test Server
Video Simulator
ADAS Module Simulation (MIL, SIL,
HIL)
Test Oracle
Test Cases Configuration
Initiate video sequence Initiate ADAS Algorithms
SimulatedVideo +
CAN data
Simulation Data
ADAS Decision
Test Oracle Decision
Test Results
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Expected Benefits
Generate test cases representative of more real driving situations
Reduce number of test cases by improving test strategy
Reduce needed driving kilometers and improve tests efficiency
Focus on rare situations with safety concerns
Focus on tests results, not on test execution
No other alternatives !
17
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
COVADEC
FUI (French Research Fund) Project from September 2013 to September 2016
Consortium with:
Vehicle Manufacturer: PSA
Automotive OEM: VALEO
Laboratories: ARMINES
TIMA
SME: CIVITEC
INTEMPORA
MAGILLEM
ALL4TEC
18
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
COVADEC COVADEC Tool Suite + Handbook
19
MaTeLo Web clients
Pro-SiVIC
Sensorsdatasets
RTMaps
COVADEC Handbook
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
To Conclude
MBT combination with simulation makes possible to resolve many difficulties of ADAS testing: representativeness and automation
There are still limits: Representativeness of Test Models
Acceptability of simulated validation in Standards
Nevertheless, provide a good support to generate and test at affordable prices a high number of rare situations
Medium term, could become unavoidable (test of autonomous vehicles could be dangerous in real driving conditions with real road users)
COVADEC final results and tool suite will be available in September 2016
20
© COVADEC – ALL4TEC, ARMINES, CIVITEC, INTEMPORA, MAGILLEM, PSA, TIMA, VALEO - September 2014
Thank you
Questions ?
http://www.covadec.org
21