Reuse of Hardware Independent Test Sequences across MiL-, SiL- and HiL-Test Scenarios

Similar documents
Volvo Car Group Jonn Lantz Agile by Models

Model based testing and Hardware-in-the-Loop simulation of embedded CANopen control devices

Guido Sandmann MathWorks GmbH. Michael Seibt Mentor Graphics GmbH ABSTRACT INTRODUCTION - WORKFLOW OVERVIEW

WE IMPROVE THE WORLD THROUGH ENGINEERING!

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

Automated Continuous Verification & Validation for Automobile Software

LABCAR-OPERATOR V5.4.2 User s Guide

CANape Option Bypassing

Variants and Traceability as the Challenge

elektronik Security for Software and IT ECU ENERGY STORAGE TESTING COVER STORY Gasoline Direct Injection in-the-loop

SOLUTIONS FOR TESTING CAMERA-BASED ADVANCED DRIVER ASSISTANCE SYSTEMS SOLUTIONS FOR VIRTUAL TEST DRIVING

Development and Deployment of ECU based Control Systems through MBD. Imperative role of Model based design in System Engineering

Simulation-based development of automotive control software with Modelica

TESTONA. Next Level Classification Tree Method and Combinatorial Test Design PK

ASAM XIL. Datasheet. Generic Simulator Interface AE. Title Category Current Version Release Date Download Application Areas

FULL VIRTUALIZATION OF RENAULT'S ENGINE MANAGEMENT SOFTWARE APPLICATION TO SYSTEM DEVELOPMENT

SIMULATION ENVIRONMENT

Ready, Set, Go! Measuring, Mapping and Managing with XIL API 2.0


Why should we think about multiple tools? Requirements or how to choose the right tool?

AVS: A Test Suite for Automatically Generated Code

DEVELOPMENT OF DISTRIBUTED AUTOMOTIVE SOFTWARE The DaVinci Methodology

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

Parametrization of Modelica Models on PC and Real time platforms

AUTOSAR stands for AUTomotive Open Systems ARchitecture. Partnership of automotive Car Manufacturers and their Suppliers

Decoupling Test Cases from Real and Virtual Test Systems with ASAM HIL API

Dynamic Architectural Simulation Model of YellowCar in MATLAB/Simulink Using AUTOSAR System

Simulator in the-loop Environment for Autocode Verification

Entwicklung zuverlässiger Software-Systeme, Stuttgart 30.Juni 2011

Integrated Simulation and Hardware-test Environment for Microcontroller Development

dspace GmbH Rathenaustr Paderborn Germany

AUTOSAR Software Design with PREEvision

Model Based Systems Engineering Engine Control: from concept to validation. Jan Smolders Technical Account Manager

Automatic Code Generation Technology Adoption Lessons Learned from Commercial Vehicle Case Studies

Assystem in Germany OCTOBER 19, 2017

Tools and Methods for Validation and Verification as requested by ISO26262

CAN FD - Flexible Tools for Flexible Data Rates

Compliance Verification Process for Ethernet ECUs

Cluster Simulation with Integrated Workflow and Test Management. Chandu Puliroju dspace Inc.

From Signal to Service

Model-Based Design of Automotive RT Applications

Software Architecture. Definition of Software Architecture. The importance of software architecture. Contents of a good architectural model

Ensuring quality for ADAS applications with a model-based approach

A Hardware-in-the-Loop Testing Platform Based on a Common Off-The-Shelf Non-Real-Time Simulation PC

1. Requirements. 2. Getting started 2.1. Setting up a web account Logging in

VT System Smart HIL Testing

LABCAR-OPERATOR V5.4.2 Getting Started

MA-Project System Structure and Parameterization Current Status and Plans

Product Information CANdelaStudio

Managing HIL, SIL and MIL Simulation with SIMulation Workbench

Automotive Networks Are New Busses and Gateways the Answer or Just Another Challenge? ESWEEK Panel Oct. 3, 2007

GAIO. Solution. Corporate Profile / Product Catalog. Contact Information

Using Cost Effective Distributed HIL for Rapid Prototyping

Model Diversity and Variability

MIL/SIL/PIL Approach A new paradigm in Model Based Development

MULTIFUNCTION AIRCRAFT FLIGHT SURFACE BETTER AVIONICS VERIFICATION TOOL ELECTRONIC CONTROL UNIT TEST SYSTEM: A. Project Goals

Hardware-In-Loop Test Setup Automation

V&V: Model-based testing

From Design to Production

Tools for CAN based networking. On the street, in the air, in the orbit

Standardized Tool Components for NRMM-Diagnostics

Verification, Validation, and Test with Model-Based Design

Model Based Development of a Light Function for a Rapid Prototyping System. Prof. Dr. Dieter Nazareth

OTX Open Diagnostic Data exchange

Avnet Speedway Design Workshop

SIMPACK - A Tool for Off-Line and Real- Time Simulation

IMPROVING ADAS VALIDATION WITH MBT

Design of a Flexible Integration Interface for PIL Tests

Current status and Future of AUTOSAR. Markus Bechter 7 th AUTOSAR Open Conference Oct. 22 nd -23 rd 2014, Detroit

Modeling Requirements, Architectures, Behaviour...

Formal Specification and Systematic Model-Driven Testing of Embedded Automotive Systems

Effective Verification Strategies for Distributed Body Control Applications based on Plant Modeling and Test Case Reuse

A number of optimizations are already in use by the majority of companies in industry, notably:

Fending Off Cyber Attacks Hardening ECUs by Fuzz Testing

Safety Driven Optimization Approach for Automotive Systems. Slim DHOUIBI, PhD Student, VALEO - LARIS

ISO compliant verification of functional requirements in the model-based software development process

Cyber security mechanisms for connected vehicles

How to reduce the integration time Issues and Potential Solutions. Christophe GINESTET

ISO Compliant Automatic Requirements-Based Testing for TargetLink

Controller Calibration using a Global Dynamic Engine Model

ODX Process from the Perspective of an Automotive Supplier. Dietmar Natterer, Thomas Ströbele, Dr.-Ing. Franz Krauss ZF Friedrichshafen AG

Modelica-Association-Project System Structure and Parameterization Early Insights

An Encapsulated Communication System for Integrated Architectures

Efficient testing of ECUs despite Security

Module Test in System Context

ID 020C: Hardware-in-Loop: System Testing Without the System

Seamless Tool Chain for Testing Camera-based Advanced Driver Assistance Systems

Real and Virtual Development with SystemDesk

Anticipatory Shifting Optimization of a Transmission Control Unit for an Automatic Transmission through Advanced Driver Assistance Systems

The Software Platform Development of a New Microcontroller for Automotive Body Systems

DTS 8 Monaco. Softing Automotive Electronics GmbH. Richard-Reitzner-Allee Haar / Germany T F

We live electronics! Wir leben Elektronik! MDT. Configure your own service tool

Timing Analysis on Complex Real-Time Automotive Multicore Architectures

Synthesis and Exploration of Multi- Level, Multi-Perspective Architectures of Automotive Embedded Systems

Safety and Security for Automotive using Microkernel Technology

What s new in ASAM AE HIL API V1.0.0?

A Model-Based Reference Workflow for the Development of Safety-Related Software

Consistent Simulation Environment with FMI based Tool Chain

On Board Power Electronics Real-time Simulation, Verification and Validation. Martin Belanger American Sale Manager

APPLICATION OF THE V-CYCLE DEVELOPMENT IN THE AEROSPACE INDUSTRY

Transcription:

Reuse of Hardware Independent Test Sequences across MiL-, SiL- and HiL-Test Scenarios Testing Expo 2008 Stuttgart Berner & Mattner Systemtechnik GmbH

Contents Test methods in the automotive industry Problems / challenges Solution: signal abstraction Model Integration Hardware Integration Test integration Integration into the model based development Discussion 2

Test methods in the automotive industry (1) MiL (Model in the Loop) Test object: model Input signals are simulated Output signal values will be saved / logged and can be compared to the expected values Automatic test execution through: The development environment used for modeling External tools using the appropriate interface of the modeling environment (e.g.: automation interface of MATLAB/Simulink) 3

Test methods in the automotive industry (2) SiL (Software in the Loop) Test object: generated code Environment is simulated The inputs and outputs of the test object are connected to the test system The generated code is executed on a PC or on an evaluation board Automatic test execution through: The used development environment (e.g.: MATLAB/Simulink with Realtime Workshop) Interfaces to external tools 4

Test methods in the automotive industry (3) HiL (Hardware in the Loop) Test object: real ECU Environment simulation through environment models (e.g.: MATLAB/Simulink) Inputs and Outputs are connected to the HiL-Simulator Stimuli is generated by the HiL- Simulator Comparison of the ECU output values to the expected values Automatic test execution through the control software of the HiL-Simulator 5

Test methods in the automotive industry - Summary Automotive MiL ECU- Specification Functionality, ECU, Subsystems, Whole vehicle Integration Test systems HiL SiL ECU- Functionality development ECU- Test systems HiL 6

Challenges / Problems Test cases of the early development phases can not be used in later development phases (MiL test cases can not be used for SiL- or HiL- Tests) Test cases for the ECU can be created only when the ECU is available High occupancy of the HiL-Simulators for the creation of the tests Test cases have to be adapted or recreated if the HW is replaced or modified Reuse of models in the later development phases Verification of the ECU against the specification model 7

Solution: Signal abstraction The signal pool contains all signals of the system Every signal has a name a type a length a signal-id Signals are generated on the basis of a configuration All components of the system communicate via the signal pool Signal pool 8

Model Integration Models can access the signal pool via ports The mapping, port to signal can be configured Adapters can register themselves for changes on the signal pool Adapters notify the model about the changes on the signal pool Models have no information about: The used HW Other communication partners The test platform Model Adapter Signal pool 9

Linking of different model types ASCET Adapter Adapter Adapter Adapter Signal pool 10

HW Integration (e.g.: CAN) CAN signals are mapped to ports The connection, port to signal pool signal can be configured Adapter registers himself for changes on the signal pool Adapter sends the appropriate CAN message automatically on changes Adapter disassembles the incoming CAN messages and sets the signal values on the signal pool accordingly CAN-Bus CAN-acquisition Adapter Signal pool 11

Test integration Test cases communicate via the signal pool Signals WiperPoti WiperLever WiperStatus Test case can be reused through parametrization Parameters INTERVAL TIME interval_wiping() { // set wiping interval WiperPoti.sendValue(INTERVAL); // set wiperlevel WiperLever.sendValue(1); // wait for wiper to start ASSERT(WiperStatus.wait(true, 1000)); // wait for wiper to stop ASSERT(WiperStatus.wait(false, 2000)); // wait for 2nd interval ASSERT(WiperStatus.wait(true, TIME)); // wait for wiper to stop ASSERT(WiperStatus.wait(false, 2000)); // switch off wiper WiperLever.sendValue(0); } 12

Variant diversity using the classification tree method Definition of the parameters (eventually derived from the test cases) Definition of the possible parameter values Configuration of the variants Generation of the variants Definition of the expected results Used for parameterization of the test cases 13

Integration into the model based development (1) Car manufacturer creates specification models develops test cases tests models stand-alone or in combination with other models generated code ECUs provides models and test cases for its suppliers 14

Integration into the model based development (2) Supplier makes models more detailed generates code develops test cases tests code stand-alone or in combination with models other generated code ECUs builds the ECU tests the ECU stand-alone or in combination with models generated code other ECUs delivers the ECU and test cases to the car manufacturer 15

Integration into the model based development (3) Car manufacturer tests the ECU alone or in combination with generated code specification models other ECUs 16

Summary Test cases are independent of the used environment the used HW Test cases can be parameterized Test cases can be created already in the early development phases and reused in later development phases Derivation of the test cases from the models used Models can be used for the verification of the ECUs 17

? 18