model based development and advanced verification technologies · 2015-03-05 · modeling...

31
AdVa Software Engineering GmbH Model Based Development and Advanced Verification Technologies AdVa Software Engineering - Company Presentation 01.10.2014

Upload: others

Post on 21-Apr-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

AdVa Software Engineering GmbH

Model Based Development and

Advanced Verification

Technologies

AdVa Software Engineering - Company Presentation

01.10.2014

Page 2: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

AdVa Software Engineering – independent consultancy company

and service provider that offers support in setting up model based

development processes and advance verification technologies.

10 Engineers

2 Locations

◦ Munich, Germany

◦ Timisoara, Romania

Introduction – Who we are

AdVa Software Engineering GmbH

“Using the technology of tomorrow to model today’s reality"

Page 3: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational

Statemate®, IBM Rational Rhapsody®),

Autocoding (TargetLink®, IBM Rational Statemate MicroC® , IBM

Rational Rhapsody in C®),

Advanced formal verification and test generation (BTC

EmbeddedSpecifier®, BTC EmbeddedValidator®, BTC

EmbeddedTester®, IBM Rational Rhapsody TestConductor®).

Introduction – Our focus

AdVa Software Engineering GmbH

“Constant model simulation of functional behavior results in robust software designs"

Page 4: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Providing consulting on model based development and testing

process improvements in order to comply to ISO 26262, DO178B/C,

MISRA C, AUTOSAR standards.

Supporting the organizations to roll-out the model-based

technologies and safety standards in new projects.

Managing and executing projects in the area of model based

development and advance verification methods.

Introduction – What we do

“Automatic code generation speeds the development of safety-critical embedded software"

AdVa Software Engineering GmbH

Page 5: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Model Based Development - Motivation

AdVa Software Engineering GmbH

Page 6: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Model Based Testing– Errors and Fix Efforts

Model Based Development enables testing at earlier phases

Find and fix error where they are induced and easier to fix

AdVa Software Engineering GmbH

Page 7: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Advanced Verification Technologies in the

Model-based Development Process

Requirement

Capturing

Model

Implementation

Unit Test

Integration

Test

System Test

Code

Implementation

MIL

SILSIL/PIL

PIL

SiL/PiL/HIL

Formal

Specification

Structural,

Functional and

Interface Testing

Formal

Verification

HIL

AdVa Software Engineering GmbH

Page 8: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Requirements-Based Testing

8

AdVa Software Engineering GmbH

Page 9: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

ISO 26262 - Requirements based testing

The standard highly recommends the use of test cases that are derived from requirements

Testing should be performed on all possible execution platforms MIL/SIL/PIL

AdVa Software Engineering GmbH

Page 10: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Requirements Coverage Report based on the link between the textual requirements and model (V&V toolbox or TargetLink block comments)

Requirements traceability and coverage is done automatically, regardless of the source of the tests: functional (imported) or structural (generated).

Bi-directional traceability from requirements to tests and from tests to requirements.

Requirements status (fulfilled or broken), dependant of the corresponding coverage test results (passed / failed).

Reporting: Requirements Coverage Report

AdVa Software Engineering GmbH

Page 11: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Reporting of Condition, Decision, MC/DC, Transitions and States model coverage for Simulink and Stateflow charts.

Cumulative Model Coverage for hierarchical testing methods (coverage is cumulated for runs on different model hierarchy levels).

Intuitive Graphical Colouring of Simulink and Stateflow charts, including separate colouring of Transition Decision, Conditions and MC/DC Coverage.

Reporting: Model Coverage Report

AdVa Software Engineering GmbH

Page 12: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Global Code Coverage (Coverage Statistics, Condition, Decision, C/DC,

MC/DC, Switch and Function Coverage)

Detailed Code Coverage (UID for test properties, links to the code and model

parts)

Coloured Code Coverage (Source Code with Coloured Coverage Indication)

Reporting: Code Coverage Analyse Report

AdVa Software Engineering GmbH

Page 13: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Structural Test Generation and Back-to-Back Testing

13

AdVa Software Engineering GmbH

Page 14: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

ISO 26262 – Back-to-back testing and structural test generation

Standard highly recommends the use back to back testing for ASIL C and D

Test should be performed on all possible execution platforms MIL/SIL/PIL

MC/DC coverage highly recommended for ASIL level D

AdVa Software Engineering GmbH

Page 15: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Structural Test Coverage Goal

AdVa Software Engineering GmbH

Page 16: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Equivalence Class Test and Boundary Test (Out of Bound) are recommended and highly recommended test methods in ISO 26262 standard

Both at software unit test level and integration test level

ISO 26262 – Interface test with Equivalence Class

and Boundary Test

AdVa Software Engineering GmbH

Page 17: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Equivalence Class Test Extension

Generates a C-Observer based on user selected signals type and a range interval (specified in percent)

Measurement of the observer coverage indicates how good the signal range is covered with test cases

Additional test cases for maximum equivalence class coverage can be generated

Generate Equivalence Class Test Observer

AdVa Software Engineering GmbH

Page 18: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Range Violation (Out of Bound) Test Extension

Generates a C-Observer based on user selected signals

Observer indicates if the signal is in the defined Min/Max range

Can be used to generate additional test cases / formal verify if the signal can

be brought out of bound (range violation)

Generate Range Violation Test Observer

AdVa Software Engineering GmbH

Page 19: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Formal Specifications, Formal Verification and

Requirements Test Generation with C-Observers

19

AdVa Software Engineering GmbH

Page 20: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Formal Specification

AdVa Software Engineering GmbH

Page 21: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Formal Verification

AdVa Software Engineering GmbH

Page 22: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Benefits of Model Based Testing

Functional testing finds about 20-40% of the problems.

30-40% of the software problems can be directly found by using the structural

testing and back-to-back comparison.

Formal verification is relevant for testing of high level safety-critical software.

22

* Metrics Source: German Automotive OEM – Model Based Project.

Combination of test methods is recommended to achieve the high quality

ISO 26262 provided guidelines on the test methods to be used for each ASIL

AdVa Software Engineering GmbH

Page 23: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Model Based Unit and Integration Testing

Rhapsody TestConductor enables Unit and integration Testing of a software

model

Page 24: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Model Based Automatic Test Generation

Rhapsody ATG generates test

cases with high model and

requirements coverage

AdVa Software Engineering GmbH

Page 25: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Customer: German/Japanese Automotive Supplier

Context: Electronic Steering Column Lock (ASIL D)

Task: Model based development and unit testing of the main and

safety microcontrollers software

Standards: AUTOSAR, ISO26262

Tools: Doors, Matlab, Simulink, Stateflow, TargetLink,

EmbeddedTester, QAC.

Duration: 19 months ++

Team Size: up to 6 software engineers

Projects Experience

AdVa Software Engineering GmbH

Page 26: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Customer: German Automotive Supplier

Context: Keyless Go and Remote-Key (ASIL B)

Task: Unit and Integration Test of Rhapsody models and generated

code

Standards: AUTOSAR, ISO26262 Tools: Rhapsody, Rhapsody

TestConductor.

Duration: 10 months.

Team Size: up to 2 software engineers

Projects Experience

AdVa Software Engineering GmbH

Page 27: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Customer: German Automotive Supplier

Context: Electric Power Steering (ASIL D)

Task: Advance formal verification of main and monitor safety code

Standards: AUTOSAR, ISO26262

Tools: Matlab, Simulink, EmbeddedTester.

Duration: 10 months ++

Team Size: up to 4 software engineers

Projects Experience

AdVa Software Engineering GmbH

Page 28: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Customer: German Automotive OEM

Context: Battery Management Systems (ASIL B)

Task: Back to back testing

Standards: AUTOSAR, ISO26262

Tools: Matlab, Simulink, Stateflow, EmbeddedTester.

Duration: 2 months ++

Team Size: 1 software engineer

Projects Experience

AdVa Software Engineering GmbH

Page 29: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Customer: German Automotive OEM

Context: Transmission Systems (ASIL B)

Task: Automatic Test Case Generation for TargetLink and ASCET

code

Standards: ISO26262

Tools: EmbeddedTester.

Duration: 2 months ++

Team Size: 1 software engineer

Projects Experience

AdVa Software Engineering GmbH

Page 30: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

We give our customers efficient and high qualitative work results in

line with the model based and safety development and verification

standards.

With AdVa Software Engineering as your reliable partner, any

endeavor in the world of embedded software development can

become a success.

Our commitment

AdVa Software Engineering GmbH

"Model based software engineering - The future ... today"

Page 31: Model Based Development and Advanced Verification Technologies · 2015-03-05 · Modeling (MATLAB®, Simulink®, Stateflow®, IBM Rational Statemate®, IBM Rational Rhapsody®), Autocoding

Thanks for your attention!

Address: AdVa Software Engineering GmbH

Agnes-Pockels-Bogen 1

80992 München

Germany

Phone: +49 1577 597 2626

Email: [email protected]

Web: www.adva-software.com

AdVa Software Engineering GmbH

AdVa Software Engineering GmbH