Hardware in the Loop (HIL) Testing VU 2.0, 182.117, WS 2008/09



Similar documents
Model-based Testing of Automotive Systems

AUTOSAR Seminar WS2008/ Assignment: Simulation of Automotive Systems in the Context of AUTOSAR

Model Based System Engineering (MBSE) For Accelerating Software Development Cycle

Best Practices for Verification, Validation, and Test in Model- Based Design

Virtual Integration and Consistent Testing of Advanced Driver Assistance Functions

Model-based Testing of Automotive Systems

Software Production. Industrialized integration and validation of TargetLink models for series production

Electric motor emulator versus rotating test rig

EHOOKS Prototyping is Rapid Again

Model-based Testing of Automotive Systems

Performance Study based on Matlab Modeling for Hybrid Electric Vehicles

Continuous Integration Build-Test-Delivery (CI-BTD) Framework in compliance with ISO26262

Multi-domain Model-driven Development Developing Electrical Propulsion System at Volvo Cars

Testing for the Unexpected: An Automated Method of Injecting Faults for Engine Management Development

How cloud-based systems and machine-driven big data can contribute to the development of autonomous vehicles

DELLORTO. Instructions Manual. Deuss Service Tool For ECS System ECU. Dell Orto Deuss Service Tool instruction manual Page 1 of 11.

Model-Based Development of Safety-Critical Software: Safe and Effi cient

Verification by. Simulation. Verification by. Simulation. Verification by. Simulation / Model Check. Validation and Testing.

Eli Levi Eli Levi holds B.Sc.EE from the Technion.Working as field application engineer for Systematics, Specializing in HDL design with MATLAB and

Dr.-Ing. Rainer Rasche dspace GmbH Rathenaustrasse Paderborn automotive testing expo June 22, 2010

Lecture 3 - Model-based Control Engineering

Using big data in automotive engineering?

Automotive Software Engineering

Open Source Software

Wiederverwendung von Testfällen bei der modellbasierten SW-Entwicklung

NI Platform for automotive measurement and test applications

Safe-E. Safe-E Introduction. Coordination: Andreas ECKEL TTTech Computertechnik AG

Introduction to RACE FUELS Hans-Christian von der Wense Munich, Germany

ETAS. We offer regularly scheduled training seminars for both novice and advanced ETAS tool users.

VELOCITY LAB TM Embedded Development Ecosystem

Virtual Platforms Addressing challenges in telecom product development

Mild Hybrids. Virtual

Echtzeittesten mit MathWorks leicht gemacht Simulink Real-Time Tobias Kuschmider Applikationsingenieur

Advanced Techniques for Simulating ECU C-code on the PC

Automatic ASAM MCD-3 supported test. PikeTec GmbH Dr. Jens Lüdemann

DS1104 R&D Controller Board

Hardware Virtualization for Pre-Silicon Software Development in Automotive Electronics

Human & Hardware in the Loop Simulator

FPGA area allocation for parallel C applications

Software Module Test for an Electronic Steering Lock

Service Oriented Architecture for Agricultural Vehicles

Process Models and Metrics

Chapter 12. Development Tools for Microcontroller Applications

An Overview of Hardware-In-the-Loop Testing Systems at Visteon

Advanced Software Engineering FYI!

Making model-based development a reality: The development of NEC Electronics' automotive system development environment in conjunction with MATLAB

Schnell und effizient durch Automatische Codegenerierung

Quality Assurance Methods for Model-based Development: A Survey and Assessment

CycurHSM An Automotive-qualified Software Stack for Hardware Security Modules

DEDICATED TO SOLUTIONS. Automotive System and Software Development

Automotive Software Development Challenges Virtualisation and Embedded Security

Linux. Reverse Debugging. Target Communication Framework. Nexus. Intel Trace Hub GDB. PIL Simulation CONTENTS

Model Based Software Development for DDG 1000 Advanced Gun System

Integrated electronics for enhanced performance, energy efficiency and reduced emissions

ELEC 5260/6260/6266 Embedded Computing Systems

Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions

ISO Introduction

VDI 2206 Prof. Dr. Magdy M. Abdelhameed

Hardware-in-the-Loop Simulation

Converting Models from Floating Point to Fixed Point for Production Code Generation

EB TechPaper. Test drive with the tablet. automotive.elektrobit.com

Integrated Model-based Software Development and Testing with CSD and MTest

CrossChasm Embedded Control Systems Whitepaper For Powertrain Design Teams

Fastboot Techniques for x86 Architectures. Marcus Bortel Field Application Engineer QNX Software Systems

Effective Application of Software Safety Techniques for Automotive Embedded Control Systems SAE TECHNICAL PAPER SERIES

Safety and security related features in AUTOSAR

Real Time Simulation for Off-Road Vehicle Analysis. Dr. Pasi Korkealaakso Mevea Ltd., May 2015

Copyright 1

Application of Software Watchdog as a Dependability Software Service for Automotive Safety Relevant Systems

Plug. & Play. Various ECUs tested by automated sequences. dspace Magazine 3/2009 dspace GmbH, Paderborn, Germany info@dspace.com

In-Vehicle Networking

Dal software all automazione attraverso uno sviluppo integrato multidisciplinare Decisioni Intelligenti, Macchine dedicate, Prodotti Migliori

Codesign: The World Of Practice

CHANCES AND RISKS FOR SECURITY IN MULTICORE PROCESSORS

SOFTWARE PERFORMANCE TESTING SERVICE

Development of AUTOSAR Software Components within Model-Based Design

The Problem: Automotive safety recalls, Control Systems Diagnostics, Stability Control, Traction Control, Anti-lock Braking, Adaptive Cruise Control

How To Develop An Iterio Data Acquisition System For A Frustreo (Farc) (Iterio) (Fcfc) (For Aterio (Fpc) (Orterio).Org) (Ater

Automotive Black Box Data Recovery Systems

IBM Rational Rhapsody

IEC Functional Safety Assessment. Project: K-TEK Corporation AT100, AT100S, AT200 Magnetostrictive Level Transmitter.

Entwicklung und Testen von Robotischen Anwendungen mit MATLAB und Simulink Maximilian Apfelbeck, MathWorks

Embedding Trust into Cars Secure Software Delivery and Installation

Safety Issues in Automotive Software

VTOL UAV. Design of the On-Board Flight Control Electronics of an Unmanned Aerial Vehicle. Árvai László, ZMNE. Tavaszi Szél 2012 ÁRVAI LÁSZLÓ, ZMNE

In networking ECUs in heavy-duty vehicles, it is the J1939 protocol that. plays a key role. J1939 networks are based on the CAN bus (high-speed

Electronic Power Control

The Internet of Things (IoT)

Vehicle Electronics. Services and Solutions to Manage the Complexity

Software Development for Multiple OEMs Using Tool Configured Middleware for CAN Communication

Embedded Systems Lecture 9: Reliability & Fault Tolerance. Björn Franke University of Edinburgh

Power inverters: Efficient energy transformation through efficient TargetLink code

How to Upgrade SPICE-Compliant Processes for Functional Safety

REAL-TIME STREAMING ANALYTICS DATA IN, ACTION OUT

Validating Diagnostics in Early Development Stages

Model-based Development of Hybrid-specific ECU Software for a Hybrid Vehicle with Compressed-Natural-Gas Engine

How To Use Rittal'S Rizone

Value Paper Author: Edgar C. Ramirez. Diverse redundancy used in SIS technology to achieve higher safety integrity

Transcription:

Testen von Embedded Systems Hardware in the Loop (HIL) Testing VU 2.0, 182.117, WS 2008/09 Raimund dkirner

Testing Embedded Software Testing the whole system including the physical environment is not possible during the early development stage of embedded systems. Thus, testing phases at intermediate stages of system development can help: Model-in-the-Loop (MIL) Software-in-the-Loop the (SIL) Processor-in-the-Loop (HIL) Hardware-in-the-Loop (HIL) Final System Test Testen von Embedded Systems 2

Testing within the V-Model (1) The V-model for testing activities to development activities: Customer s Requirements Validation Test Requirements Document Specification System Design System Test SW Design Integration Test Module Design Unit Test Implementation Testen von Embedded Systems 3

Testing within the V-Model (2) The standard V-model already acknowledges the specific testing phases required for system verification. However, the standard V-model doesn t address the real-life requirements of early-stage product verifications. Early-stage product verification is about testing against the system requirements without having the system actually built! In reality, system components like SW and HW are developed in parallel To safe cost, early-stage testing at system level is needed to detect incompatible SW behavior before integration with final HW. Techniques are needed d to get short-circuit it verification paths within the V-model. Testen von Embedded Systems 4

Testing within the V-Model (3) Early-stage testing activities within the V-model: Customer s Requirements HIL Validation Test Requirements Document Specification MIL System Design PIL SIL System Test SW Design Integration Test Module Design Unit Test Implementation Testen von Embedded Systems 5

Model-in-the-Loop p( (MIL) Testing Model-in-the-Loop p( (MIL) MIL testing is system simulation by using a model of the system. Pro: early verification of the requirements and the algorithms of the intended solution Con: at this early stage it is difficult to reason about required processing resources. 6

Software-in-the-Loop p( (SIL) Testing Software-in-the-Loop p( (SIL) SIL testing is done by executing the software typically on a standard PC hardware. Pro: most errors in the functional domain may be already detected at this level. Con: the COTS components (compiler and processor of PC) may have different behavior than the intended target platform. 7

Processor-in-the-Loop p( (PIL) Testing Processor-in-the-Loop p( (PIL) PIL testing is done by executing the software typically on a prototypical hardware board equipped with the (planned) target processor. Pro: it is already possible to assess the concrete resource requirements of the software (timing domain, memory consumption, etc.) Con: real testing scenarios may be missed 8

Hardware-in-the-Loop p( (HIL) Testing HIL testing is done by executing the software on the embedded platform, where the environment between the actuator and the sensor is modeled by the HIL simulator. HIL testing can be done already before the complete prototype hardware of the system is build. The HIL simulator includes actuators, sensors, and the interaction chain between them. 9

HIL Testing g( (2) HIL testing vs. Final System Test Software: SW SW ECU: Environment: Prototype Execution Platform HIL Simulator Execution Platform Physical Environment 10

HIL Simulator (1) HIL Simulators are typically packed into 19 racks, being customized by HIL simulation modules: 11

HIL Simulator (2) Examples of expansion modules of a HIL simulator: HIL Simu ulator simulation modules (traction, lambda probe, etc.) programmable power supplies signal conditioning CAN gateway interface to diagnostic hardware 12

Economical aspects of HIL Testing HIL testing equipment is quite expensive compared to MIL or SIL: special hardware components are needed HIL simulator typically has to configured for each product to be tested However, HIL testing still provides cost reduction: allows to find subtle errors caused by the environment, even before the complete prototype hardware of the system is build it is significantly cheaper to find errors in the early stage of development (e.g., during HIL testing instead of testing the real prototype system) Example: with HIL testing one can test the motor control box already before the motor of the car is available (by simulating the physical characteristics of the motor). 13

Challenges of HIL Testing Testing a real system like an automotive vehicle isn t trivial: several thousands of signals may have to be connected to set-up a HIL test reconfiguration of a HIL simulator has to be fast to improve its utilization accurate models are needed to test the software under realistic operation scenarios 14

Outlook Mi, 03.12.2008 2008 Fault Injection + Example 3 15