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

Similar documents
WardsAuto Interiors Conference Creating the Ultimate User Experience

Architecture concepts in Body Control Modules

Turbocharging Connectivity Beyond Cellular

AMDC 2017 Liviona Multi-Core in Automotive Powertrain and Next Steps Towards Parallelization

DRYING CONTROL LOGIC DEVELOPMENT USING MODEL BASED DESIGN

Bitte decken Sie die schraffierte Fläche mit einem Bild ab. Please cover the shaded area with a picture. (24,4 x 7,6 cm)

ISO-SAE Road vehicles Cybersecurity Engineering General Overview

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

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

Mastering Unexpected Situations Safely. Chassis & Safety Vehicle Dynamics

Continuous Integration / Continuous Testing

From Design to Production

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

Volvo Car Group Jonn Lantz Agile by Models

AVL Embedded Software Model-Based Design Platform Based on MATLAB and Simulink

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

ISO Compliant Automatic Requirements-Based Testing for TargetLink

Design of a Flexible Integration Interface for PIL Tests

Testing Framework with Simulink Test

Verification, Validation, and Test with Model-Based Design

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

European Conference on Nanoelectronics and Embedded Systems for Electric Mobility. HIL platform for EV charging and microgrid emulation

Automated testing of embedded systems in medical device development

Workflow for Control System Design and Implementation

Simulator in the-loop Environment for Autocode Verification

Automated Continuous Verification & Validation for Automobile Software

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

Formal Verification and Automatic Testing for Model-based Development in compliance with ISO 26262

Real-time Ethernet Residual Bus Simulation: A Model-Based Testing Approach for the Next-Generation In-Car Network

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

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

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

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

Real-Time Testing in a Modern, Agile Development Workflow

Full Virtualization of Renault's Engine Management Software and Application to System Development

Developing AUTOSAR Compliant Embedded Software Senior Application Engineer Sang-Ho Yoon

hodology SWAMINATHAN GOPALSWAMY MBD 中部コンファレンス 2014/12/18 NEAT -Make a NEAT job 01 EMI Introduction

V&V: Model-based testing

Using Cost Effective Distributed HIL for Rapid Prototyping

Variants and Traceability as the Challenge

Simulation-based Test Management and Automation Sang-Ho Yoon Senior Application Engineer

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

Hardware-In-Loop Test Setup Automation

An Automatic Abnormal Data Elimination Method Towards A Higher Quality Finger Vein Dataset

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

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

Automating Best Practices to Improve Design Quality

Simulation-Guided Verification & Validation for Large-Scale Automotive Control Systems

Simulink 를이용한 효율적인레거시코드 검증방안

Plant Modeling for Powertrain Control Design

Ein Modell - viele Zielsysteme

Verification and Validation

Verification, Validation and Test in Model Based Design Manohar Reddy

AVS: A Test Suite for Automatically Generated Code

Module Test in System Context

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

Parametrization of Modelica Models on PC and Real time platforms

CLOSING THE DESIGN CYCLE LOOP WITH EXECUTABLE REQUIREMENTS AND OSLC

Verification and Test with Model-Based Design

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

Hardware and Software Co-Design for Motor Control Applications

Increasing Design Confidence Model and Code Verification

IMPROVING ADAS VALIDATION WITH MBT

People tell me that testing is

Verification and Validation. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 22 Slide 1

Ensuring quality for ADAS applications with a model-based approach

Production Code Generation Introduction and New Technologies

AN EFFICIENT APPROACH FOR MODEL- BASED TESTING: SIEMENS USE CASE IN THE MBAT EUROPEAN PROJECT

World Electric Vehicle Journal Vol. 5 - ISSN WEVA Page EVS26 Los Angeles, California, May 6-9, 2012

Model Interpretation for an AUTOSAR compliant Engine Control Function

VLSI System Testing. Fault Simulation

Model-Based Design for Safety-Critical and Mission-Critical Applications Bill Potter Technical Marketing April 17, 2008

Lecture 3 - Fault Simulation

APPLICATION OF THE V-CYCLE DEVELOPMENT IN THE AEROSPACE INDUSTRY

Verification and Validation of Models for Embedded Software Development Prashant Hegde MathWorks India Pvt. Ltd.

Collaborating in California Dynamic Skip Fire Development Using HIL API

Simulation based Timing Analysis of FlexRay Communication at System Level. Stefan Buschmann Till Steinbach Franz Korf Thomas C.

Advanced AC Motor Control S/W Development Sang-Ho Yoon Senior Application Engineer The MathWorks

Simulation-based development of automotive control software with Modelica

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

A TOOL-CHAIN FOR FUNCTIONAL SAFETY AND RELIABILITY IMPROVEMENT IN AUTMOTIVE SYSTEMS

Hardware and Software Co-Design for Motor Control Applications

Increasing Embedded Software Confidence Model and Code Verification. Daniel Martins Application Engineer MathWorks

Simulink to Embedded Hardware Paul Peeling MathWorks

Greats Bugs in History

On Error-Class Distribution in Automotive Model-Based Software Harald Altinger, Yanja Dajsuren, Sebastian Siegl, Jurgen J. Vinju, and Franz Wotawa

Team-Based Collaboration in Simulink Chris Fillyaw Application Engineer Detroit, MI

OPEN ALLIANCE TC8. Compliance Verification for Ethernet ECUs. Stuttgart, May 3rd Georg Janker.

Model-based Calibration of HD Engines. Benjamin Tilch, Rico Möllmann, Axel Steinmann, Dr. Reza Rezaei GT-SUITE Conference, Frankfurt, October 2014

Background Project Purpose & Goals. SW Reliability Statistical Testing Model Based Specification and Testing

Real-Time Hardware-In-Loop simulation for automated validation of diagnostic services

MACHINE LEARNING BASED METHODOLOGY FOR TESTING OBJECT ORIENTED APPLICATIONS

Team-Based Collaboration in Simulink

A3. Programming Languages for Writing Safety-Critical Software

Real time implementation on FPGA Summer School EMR 17 - Lille 19 au 21 juin dspace 7 parc Burospace Bièvres FRANCE

Chris Frey May 3, 2013 ECET - CPET 491 Senior Design Project Phase II Project Advisor and Instructor: Professor Paul I. Lin

6.096 Introduction to C++ January (IAP) 2009

Lindström Tomas Cyber security from ABB System 800xA PA-SE-XA

Architecture-driven development of Climate Control Software LMS Imagine.Lab Embedded Software Designer Siemens DF PL

Model-Based Design for effective HW/SW Co-Design Alexander Schreiber Senior Application Engineer MathWorks, Germany

Transcription:

Bitte decken Sie die schraffierte Fläche mit einem Bild ab. Please cover the shaded area with a picture. (24,4 x 11,0 cm) MIL/SIL/PIL Approach A new paradigm in Model Based Development Narayanamurthy Srinivas, Narendrakumar Panditi Stefan Schmidt, Ralf Garrelfs www.continental-corporation.com Powertrain Division

Agenda 1 Motivation - Model Based Development (MBD) 2 Model verified by Simulation (MvS) 3 Case study on MIL/SIL/PIL 4 MIL/SIL/PIL Simulation results in SDA 5 Comparison of MIL/SIL/PIL results 6 Conclusion 2

Motivation - Model Based Development (MBD) Manual Model In the Loop (MIL) Model In the Loop (MIL) Software In the Loop (SIL) Processor In the Loop (PIL) Specification Design Manual in the form of document Model design using MBD MIL: Model verification Model design using MBD MIL: Model verification Coding Manual coding Auto code generation (ACG) Auto code generation (ACG) Code Verification Manual prepared test cases to perform Unit Testing Tool generated test cases to perform unit testing Reuse MIL test cases SIL : Software verification PIL : Software verification on Target processor or equivalent instruction set simulator 3

Model Based Development: V- Cycle Validation HIL Car SYSTEM Physical Model (FLP) MvS Integration Test HIL Requirements Implementation Model (FXP) MvS TVG SIL PIL Module Test FLP : Floating point model FXP : Fixed point model MvS : Model verified by Simulation SIL : Software In the Loop PIL : Processor In the Loop HIL : Hardware In the Loop TVG : Test Vector Generation Automatic Code Generation SOFTWARE 4

Model Verified by Simulation (MvS) MIL Model In the Loop SIL Software In the Loop PIL Processor In the Loop Test cases Functional Requirements Modeling Physical model(flp) Scaling Implementation Model(FXP) ACG C-Code (s-function in model) C-Code (compiled for µc- Target) Expected Values Result Result = Result = Result 5

Definition MIL/SIL/PIL MIL Model In the Loop SIL Software In the Loop PIL Processor In the Loop Refers to the kind of testing done to verify the accuracy / acceptability of a plant model or a control system. MIL testing means that the model and its environment are simulated in the modeling framework without any physical hardware components. Refers to the kind of testing done to validate the behavior of the auto generated code used in the controller. The embedded software is tested within a simulated environment model but without any hardware. Refers to the kind of testing done to validate the referenced model by generating production code using the model reference target. The code is cross-compiled for and executed on a target processor or an equivalent instruction set simulator. MIL allows testing at early stages of the development cycle. SIL also allows to verify the code coverage. PIL level of testing can reveal faults that are caused by the target compiler or by the processor architecture. 6

Case study on Engine Temperature function 1 Test suite for calculation of load information for coolant temperature model C_CRLC_LOAD_TCO_MDL V.6.4 <MAF_KGH> C_MAF_KGH_MAX_LOAD_TCO V.6.4 V.7.2 100% V.7.3 m u R x_in x_out <LOAD_TCO_MDL> V.6.5 <LV_ES> IV = 0 V.7.1 <LOAD_TCO_MDL> 7

Model In the Loop (MIL): Floating point model STIMULI Simulation project DISPLAY MAF_KGH <MAF_KGH> <LOAD_TCO_MDL> LOAD_TCO_MDL LV_ES <LV_ES> FLP ENTE_SIGCVTCOAI X FLP Stimuli/Inputs Controller/Module Level Display/Verify 8

Model In the Loop (MIL): Fixed point model STIMULI Simulation project DISPLAY MAF_KGH <MAF_KGH> LV_ES <LV_ES> <LOAD_TCO_MDL> LOAD_TCO_MDL FXP ENTE_SIGCVTCOAI X FXP Stimuli/Inputs Controller/Module Level Display/Verify 9

MvS: SDA Simulation Manager Deviations can be detected and can be solved at early stages 10

Comparison results MIL - FLP/FXP (Error) Deviations due to wrong scaling 11

Comparison results - FLP/FXP (Corrected Case) Deviations are with in the resolution 12

Present Situation after MIL 1 Random test cases are generated to test production code. 2 Execute generated test cases in the project environment. 3 More effort is required to prepare test cases to verify production code. 4 Completely different test cases are used to verify model and generated code. 13

1 Wouldn t it be nice to reuse the MIL test cases for test of the Automatically Generated Code? 14

Software in the Loop: SIL STIMULI Simulation project DISPLAY MAF_KGH MAF_KGH LOAD_TCO_MDL LOAD_TCO_MDL LV_ES LV_ES SIL ENTE_SIGCVTCOAI SimMode:SIL SIL Stimuli/Inputs Sfunction block Display/Verify 15

Comparison results - MIL/SIL (wrong case) 16

Comparison results - MIL/SIL (correct case) No Deviation 17

Processor In the Loop: PIL STIMULI Simulation project DISPLAY MAF_KGH MAF_KGH LOAD_TCO_MDL LOAD_TCO_MDL LV_ES LV_ES PIL ENTE_SIGCVTCOAI SimMode:SIL PIL Stimuli/Inputs Sfunction block Display/Verify 18

Comparison results - SIL/PIL 19

PIL results for different target processors - Reusability No Deviations 20

Conclusion 1 Necessary test effort can be essentially minimized across simulations. 2 Tests suites are portable and reusable. 3 4 Cost-efficient consistent testing for all phases of the development: One test suite for all development phases (MIL, SIL, PIL). Early malfunction detection. 5 Eases the updating of test suites for changed requirements. 6 Shorter development process resulting in significant time-to-market advantage. 21

Thank you for your attention! 22