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

Similar documents
Tomorrow s In-Car Interconnect? A Competitive Evaluation of IEEE AVB and Time-Triggered Ethernet (AS6802) NET

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

NET. A Hardware/Software Co-Design Approach for Ethernet Controllers to Support Time-triggered Trac in the Upcoming IEEE TSN Standards

Till Steinbach 1 Franz Korf 1 René Röllig 2 Thomas Eymann 2.

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures

Deterministic Ethernet & Unified Networking

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

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

Distributed IMA with TTEthernet

Developing deterministic networking technology for railway applications using TTEthernet software-based end systems

CAN FD - Flexible Tools for Flexible Data Rates

Simulation based Timing Analysis of FlexRay Communication at System Level

SW-Update. Thomas Fleischmann June 5 th 2015

CAN FD with Dynamic Multi-PDU-to-Frame Mapping

Handling Challenges of Multi-Core Technology in Automotive Software Engineering

AVB in Automotive Infotainment Networks

In-Vehicle Global Synchronization

Schedule Integration for Time-Triggered Systems

In Vehicle Networking : a Survey and Look Forward

ETHERNET AS AN EMERGING TREND IN VEHICLE NETWORK TECHNOLOGY PART II

MIGRATING TO CAN FD. Tony Adamson. Marketing Director CAN / LIN / FlexRay

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

An Encapsulated Communication System for Integrated Architectures

The CAN Bus From its Early Days to CAN FD By Friedhelm Pickhard (ETAS/P)

Evaluation of numerical bus systems used in rocket engine test facilities

IMPROVING ADAS VALIDATION WITH MBT

Performance Testing BroadR-Reach Automotive Ethernet

This document is a preview generated by EVS

Communication (III) Kai Huang

Migration from SERCOS III to TSN - Simulation Based Comparison of TDMA and CBS Transportation

10 th AUTOSAR Open Conference

Enhanced Ethernet Switching Technology. Time Applications. Rui Santos 17 / 04 / 2009

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

Model Based Development and Code Generation for Automotive Embedded Systems. April 26, 2017 Dr. Gergely Pintér, Dr. Máté Kovács thyssenkrupp Steering

VT System Smart HIL Testing

DEVELOPMENT OF DISTRIBUTED AUTOMOTIVE SOFTWARE The DaVinci Methodology

Task- and Network-level Schedule Co-Synthesis of Ethernet-based Time-triggered Systems

Release Presentation. ASAM Common MDF Version Measurement Data Format. Release Date: 2014 / 06 / 11

ASAM-MCD-2 NET (FIBEX)

Design and Realization of TTE Network based on EDA

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

Autonomous Driving From Fail-Safe to Fail-Operational Systems

ISO INTERNATIONAL STANDARD. Road vehicles FlexRay communications system Part 1: General information and use case definition

Automotive and industrial use cases for CAN FD

The Power to Log. Powerful Solution for Vehicle Testing and Validation of Automobile Networks

V&V: Model-based testing

Time-Triggered Ethernet

Turn Indicator Model Overview

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

Multi-protocol monitoring using oscilloscopes

Certified Automotive Software Tester Sample Exam Paper Syllabus Version 2.0

Beware of the Hidden! How Cross-traffic Affects Quality Assurances of Competing Real-time Ethernet Standards for In-Car Communication

Cooperation with other standards. Nicolas François, PSA Peugeot Citroën 7 th AUTOSAR Open Conference October 22 nd, Detroit

Performance Analysis of Time-Triggered Ether-Networks Using Off-The-Shelf-Components

Test requirements in networked systems

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

Introduction of CAN FD into the next generation of vehicle E/E architectures

ISO Compliant Automatic Requirements-Based Testing for TargetLink

AVB Gen 2: the Next Step. Michael Johas Teener Plumbing Architect and Sr. Technical Director, Broadcom Corp,

Residual Bus Simulation in Test Bed Use

Theory, Concepts and Applications

Field buses (part 2): time triggered protocols

Semantics-Based Integration of Embedded Systems Models

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded

DTU IMM. MSc Thesis. Analysis and Optimization of TTEthernet-based Safety Critical Embedded Systems. Radoslav Hristov Todorov s080990

FlexRay and Automotive Networking Future

CANoe.MOST. - more efficiency in developing and testing MOST systems -

Application guide ESD protection Automotive

MATLAB Expo Simulation Based Automotive Communication Design using MATLAB- SimEvent. Sudhakaran M Anand H General Motors

Introduction of CAN FD into the next generation of vehicle E/ E architectures. Vector CAN FD Symposium 2017, Marc Schreiner, Daimler AG

Architectures of Automotive Electrical. Nicolas Navet. Can be freely used for teaching Complexity Mastered. Outline

Mentor Automotive. Vehicle Network Design to meet the needs of ADAS and Autonomous Driving

DRAFT. Dual Time Scale in Factory & Energy Automation. White Paper about Industrial Time Synchronization. (IEEE 802.

What is needed on top of TLM-2 for bigger Systems?

LabVIEW FPGA in Hardware-in-the-Loop Simulation Applications

The CANoe.Ethernet Solution

The Influence of Real-time Constraints on the Design of FlexRay-based Systems

Welcome Note. Dr. Thomas Scharnhorst, AUTOSAR Spokesperson 10 th AUTOSAR Open Conference 8 th Nov 2017, Mountain View, California

Autorama, Connecting Your Car to

ISO INTERNATIONAL STANDARD. Road vehicles FlexRay communications system Part 2: Data link layer specification

Taking the Right Turn with Safe and Modular Solutions for the Automotive Industry

Extending OMNeT++ Towards a Platform for the Design of Future In-Vehicle Network Architectures

How Microcontrollers help GPUs in Autonomous Drive

Architecture concepts in Body Control Modules

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

Choosing IP-XACT IEEE 1685 standard as a unified description for timing and power performance estimations in virtual platforms platforms

AUTOSAR proofs to be THE automotive software platform for intelligent mobility

ETHERNET JOURNEY AT JAGUAR LAND ROVER CHALLENGES IN THE DEVELOPMENT OF AN ETHERNET BACKBONE

Virtual Test Driving in the Development Process New Methods and Tools for Current Challenges

Dependable Computer Systems

dspace GmbH Rathenaustr Paderborn Germany

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

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

CORBA in Control Systems

Evaluating Requirements of High Precision Time Synchronisation Protocols using Simulation

Simulation-Based Fault Injection as a Verification Oracle for the Engineering of Time-Triggered Ethernet networks

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

Technology for Adaptive Hard. Rui Santos, UA

Timing Analysis on Complex Real-Time Automotive Multicore Architectures

Current and Prospective High-speed Measurement Systems

Transcription:

Real-time Ethernet Residual : A Model-Based Testing Approach for the Next-Generation In-Car Network Florian Bartols Till Steinbach Franz Korf Bettina Buth Thomas C. Schmidt florian.bartols@haw-hamburg.de October 10th, 2014 22nd International Conference on Real-Time Networks and Systems NET

Software and functions in modern cars Functions are implemented mostly in software today Utilization of software directly influences the development costs Testing in early development stages reduces these costs Distributed development makes early testing difficult 2 / 23

Complex In-Car Interconnections Front Chassis... Rear Chassis Engine Gearbox... Breakes Chassis Bus (FlexRay) Dashboard Engine Bus (High-Speed-CAN) Body Bus (Low-Speed-CAN) Central Gateway Radio/ Navi... CD/DVD Multimedia Bus (MOST) Door AC... Headlights On-Board Systems Doors (LIN) Lights (LIN) Off-Board Systems Diagnostics Bus (CAN / Ethernet) Service The complexity of current in-car interconnections is hardly manageable 3 / 23

Complex In-Car Interconnections Gearbox Engine Front Chassis Rear Chassis Rear Breakes Front Breakes Headlights Dashboard On-Board Systems RTEthernet Switch AC Radio/ Navi RTEthernet Backbone RTEthernet Switch Internet GPS Doors CD/DVD Off-Board Systems Service RT Ethernet for in-car interconnection reduces the complexity 3 / 23

Contribution Testing systems and applications in early development stages is important New applications will rely on RT Ethernet as communication technology Suitable methodology is needed to validate distributed applications RT Ethernet Residual enables early testing Combination of model-based testing principles to validate non-functional requirements 4 / 23

Agenda 1 2 3 Real-time Ethernet Residual 4 5 5 / 23

Model-based Testing Approach The automotive development process is model driven Models are utilized as specifications for Representing implementation details Modeling system requirements Test cases are systematically inherited from models Execution of cases on different test platforms MiL, SiL, PiL, HiL and Residual 6 / 23

Residual The remaining network is simulated from the viewpoint of the SUT SUT and simulator are coupled via the communication interface Behavior and network specific characteristics are realistically emulated The simulator pretends to be a physical system 7 / 23

RT Ethernet as In-Car Network Attributes of TTEthernet TTEthernet provides three different message classes Chassis TT 0 Cycle TT t TTE- Switch TTE- Switch RC 0 Headlight t TT 0 RC TT BE BE BE Cycle t Multimedia TT RC Time-Triggered Message Rate-Constrained Message 0 BE BE BE t BE Best-Effort Message Static designed routing for deterministic behavior Synchronized time base for time-triggered communication 8 / 23

Agenda 1 2 3 Real-time Ethernet Residual 4 5 9 / 23

Model-based Methodology Overview Models Require ments Test Case Generation T U Y T U Y 1s u1 = HL_OFF 1s y1 T = HL_OFF u1 = HL_OFF 1s U y1 = HL_OFF u1 = HL_OFF Y y1 = HL_OFF Test Cases Downl oad Test Case Execution Test Data Stimuli Reaction SUT Data SUT Requirements are modeled within suitable diagrams Test cases are inherited from the diagrams Test cases are executed on a suitable residual bus simulation platform 10 / 23

Modeling System Requirements UML-MARTE Classic UML is not sufficient for embedded Real-time Systems Utilization of UML-Profile Modeling and Analysis of Real-time Embedded Systems (MARTE) sd MessageProcessing <<TimedConstrained>> on = [MARTE_Library::TimedLibrary::idealClock] <<timedconstrained>> {(messagereceived - replysent) = (500,µs)} {(jitter(messagereceived - replysent)) (100,µs)} Dashboard-System @messagereceived setnewlightstatus(status) Headlight-Controller sendcurrentlightstatus(status) @replysent 11 / 23

Abstract Test Cases Definition Base Model u(t) System y(t) Extending the Model u(t) t1 Latency System t2 t3 Rate y(t) ATC FR = (T, U, Y ) Modeling specific values of inputs and outputs at specific points in time ATC NFR = (T, U, Y, L, R, L, R ) Extending with reply time (latency) & transmission rate (rate) 12 / 23

Abstract Test Cases Utilization Abstract representation of to be generated test data Modeling functional requirements with expected output Modeling non-functional requirements with expected timing constraints Utilization as simulation model to drive the simulator 13 / 23

Implementation of our Approach Requirements and Architecture Requirements TTEthernet compliant message transmission Support of timing analyzes Execution of the abstract test case model Abstract Test Case XML- Doc Ethernet Frames DPM UML-MARTE Models Configurator Residual Bus Simulator SUT 14 / 23

Agenda 1 2 3 Real-time Ethernet Residual 4 5 15 / 23

Overview of the physical system Headlight L Headlight R SuT Drive-bywire (W) Switch Switch Drive-bywire (SW) Camera Multimedia Display Multimedia Dashboard Lightcontrol Dashboard to be simulated by the residual bus simulator Light control dashboard transmits new light states Headlights reply each received light state and Periodically provide their current light state Light control dashboard presents the light state to the user 16 / 23

Validating the Headlight Controller Requirement Modelling with UML-MARTE sd MessageProcessing Dashboard-System <<TimedConstrained>> on = [MARTE_Library::TimedLibrary::idealClock] <<timedconstrained>> {(messagereceived - replysent) = (500,µs)} {(jitter(messagereceived - replysent)) (100,µs)} @messagereceived setnewlightstatus(status) sendcurrentlightstatus(status) Headlight-Controller @replysent Timing requirements of the reply message Latency: 500 µs Jitter: ± 50 µs 17 / 23

Validating the Headlight Controller Requirement Modelling with UML-MARTE sd TimedStateTransmission Headlight-Controller Repeat [ timedevent (5,ms)] <<TimedProcessing>> on = [MARTE_Library::TimedLibrary::idealClock] <<TimedConstrained>> on = [MARTE_Library::TimedLibrary::idealClock] <<timedconstrained>> {(sendstatus i - sendstatus i-1 ) = (5000,µs)} {(jitter(sendstatus i - sendstatus i-1 )) (10,µs)} updatecurrentlightstatus(status) Dashboard-System @ sentstatus i Timing requirements of the message transmission Rate: 5000 µs Jitter: ± 5 µs 18 / 23

Validating the Headlight Controller T 1 s 2 s 5 s 7 s 9 s 11 s U u 1 = HL_OFF u 1 = LED_0 u 1 = LED_100 u 1 = LED_50 u 1 = LED_101 u 1 = LED_75 Y y 1 = HL_OFF y 1 = LED_0 y 1 = LED_100 y 1 = LED_50 y 1 = LED_50 y 1 = LED_75 Y act y 1 = HL_OFF y 1 = HL_OFF y 1 = HL_OFF y 1 = HL_OFF y 1 = HL_OFF y 1 = HL_OFF L l 1(u 1, y 1) = 500 µs L j L1(l 1) 100 µs L act l 1(u 1, y 1) = 518 µs to 518 µs, MED = 518 µs, AVG = 518 µs R r 1(y 1) = 5000 µs R j R1(r 1) 10 µs R act r 1(y 1) = 4998 µs to 5002 µs, MED = 5000 µs, AVG = 5000 µs Functional requirements cannot be fulfilled Expected values are not located at the output Non-functional timing requirement are fulfilled Latency of the acknowledgement lay within the allowed range 19 / 23

Agenda 1 2 3 Real-time Ethernet Residual 4 5 20 / 23

Conclusion Residual bus simulator is directly connected with the SUT Message classes and a synchronization procedure are supported Non-functional timing requirements are modeled within UML-MARTE Abstract test case model models functional and non-functional test data Utilization of abstract test cases as simulation model Successful utilization for the validation of an RT Ethernet application 21 / 23

Outlook Investigate how AUTOSAR and EAST-ADL could co-exist with our approach Implement a RBS with a more suitable architecture without dual-port memory Analyze the real-time and performance aspects of the new architecture 22 / 23

Thank you for your attention Visit us at: https://core.informatik.haw-hamburg.de 23 / 23