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

Similar documents
Simulation based Timing Analysis of FlexRay Communication at System Level

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

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

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

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

FlexRay International Workshop. Protocol Overview

Evaluating Requirements of High Precision Time Synchronisation Protocols using Simulation

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

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

FlexRay - FlexRay Synchronization with CANoe as Gateway

This document is a preview generated by EVS

AVB in Automotive Infotainment Networks

An Introduction to FlexRay as an Industrial Network

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

FlexRay Requirements Specification

Lecture 2. Basics of networking in automotive systems: Network. topologies, communication principles and standardised protocols

Lab Part. Bernhard Frömel /34. Institut für Technische Informatik Technische Universität Wien Deterministic Networking VU SS14

APPLICATIONS FLEXRAY AND ITS WILEY REAL TIME MULTIPLEXED NETWORK. Dominique Paret. dp-consulting, Paris, France. Claygate, Esher, UK

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

Model-Based Design of Automotive RT Applications

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

Field buses (part 2): time triggered protocols

Introduction to Ethernet and IP in automotive vehicles

The CANoe.Ethernet Solution

CAN FD System Design. International CAN Conference 2015, Vienna. Dr. Ing. Marc Schreiner Daimler AG

Flexray Communication Controller for Intra-Vehicular Communication and Its Realization in FPGA

802.1Qbv: Performance / Complexity Tradeoffs

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

CAN-FD Flexible Data Rate CAN

Atacama: An Open Experimental Platform for Mixed-Criticality Networking on Top of Ethernet

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

CAN FD - Flexible Tools for Flexible Data Rates

Presentation HETES 8/06/2015, Ghent (Belgium)

Additional Slides (informative)

Industrial Ethernet Comparison for Motion Control Applications

Communication (III) Kai Huang

ISO INTERNATIONAL STANDARD. Road vehicles FlexRay communications system Part 4: Electrical physical layer specification

VN5610/VN5610A Ethernet/CAN Interface Manual. Version 2.2 English

I/O Systems (3): Clocks and Timers. CSE 2431: Introduction to Operating Systems

DISTRIBUTED REAL-TIME SYSTEMS

FlexRay and Automotive Networking Future

FlexRay. Requirements Specification. Version 2.1

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

2. REAL-TIME CONTROL SYSTEM AND REAL-TIME NETWORKS

Use of Synchronized AUTOSAR for Adaptive Real Time Scheduling of Distributed Systems. Master of Science thesis in Computer Science and Engineering

DEFINITION AND IMPLEMENTATION OF AN ARCHITECTURAL CONCEPT FOR CONFIGURING A CAN NETWORK

Redundancy for fault-tolerance and AVB Overview of the simultaneous multi-path proposal

ASAM-MCD-2 NET (FIBEX)

Accurate Synchronization of EtherCAT Systems Using Distributed Clocks


High Precision Drive Synchronisation with CANopen

Theory, Concepts and Applications

IEEE Frame Replication and Elimination for Reliability. Franz-Josef Goetz, Member of IEEE TSN TG, Siemens AG

In Vehicle Networking : a Survey and Look Forward

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

High-Speed Reprogramming and Calibration with CAN FD: A Case Study

Comparison of In-Vehicle Communication Protocols for Critical Applications

FlexRay and MOST Automotive Protocols

VT System Smart HIL Testing

CANoe.Ethernet. Product Information

Various Emerging Time- Triggered Protocols for Driveby-Wire

Automotive Requirements for a Flexible Control Traffic Class Markus Jochim (General Motors)

Time Triggered CAN, Implementations, Development and Testing Tools

Industrial Data Communications Protocol Training Information and Schedule

Integration of INTERBUS Into Profinet IO The Ideal Combination

In March 2007, over 200 developers met in Stuttgart for the. control algorithms that have become increasingly faster are

REALISATION OF AN INTELLIGENT AND CONTINUOUS PROCESS CONNECTION IN SUBSTATIONS

Distributed IMA with TTEthernet

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

Organic Self-organizing Bus-based Communication Systems

ETHERNET AS AN EMERGING TREND IN VEHICLE NETWORK TECHNOLOGY PART II

Fieldbus based isochronous automation application

Product type designation. General information. CiR - Configuration in RUN. Supply voltage. Input current. Power loss. Memory

Peripheral Sensor Interface for Automotive Applications

CAN bus and NMEA2000 1

Benefits derived from the FF specification FF-831

The Operation and Uses of the SpaceWire Time-Code International SpaceWire Seminar 2003

ELECTRIC ACTUATORS with PROFINET interface

Design For High Performance Flexray Protocol For Fpga Based System

16 Time Triggered Protocol

HARTING econ 3000 Introduction and features

IEEE 802 Plenary Session July 14-19, 2012 Geneva, Switzerland

Development of a CAN Slave Module with SystemC. Igor Sachs Shang Qihua

Time Synchronization for AV applications across Wired and Wireless 802 LANs [for residential applications]

The WaveDAQ system: Picosecond measurements with channels

Sharif University of Technology, Tehran, Iran

Fault tolerant TTCAN networks

Model Checking the FlexRay Physical Layer Protocol

Make CIP Safety Your Safety Protocol

PREEvision Technical Article

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

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

CCM 4300 Lecture 6 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Flexray Protocol in Automotive Network Communications

FlexRay The Hardware View

Data Link Layer Technologies

Communication Networks for the Next-Generation Vehicles

VH6501 CAN Disturbance Interface Manual. Version 1.0 English

ISIS PCR. Path Control and Reservation Path Control for Reservation Path Control for Reliability

Automotive Ethernet. Control complexity. Multimodal Test & Measurement Solutions. Want to know more about TSN Systems?

Transcription:

Simulation based Timing Analysis of FlexRay Communication at System Level Stefan Buschmann Till Steinbach Franz Korf Thomas C. Schmidt stefan.buschmann@haw-hamburg.de {till.steinbach, korf, schmidt}@informatik.haw-hamburg.de 6th International Workshop on March 5th, 2013 NET

Agenda 1 2 3 4 5 2 / 21

Motivation Why simulate FlexRay on system level? State-of-the-art automotive fieldbus Simulation of complex networks Important in automotive development 3 / 21

Goals Configurable FlexRay simulation Compliant to FlexRay specification Compatible with other simulation models CAN, Real-time Ethernet, Ethernet-AVB 4 / 21

Agenda 1 2 3 4 5 4 / 21

FlexRay Technical features Layer 1 and 2 in the OSI model Communication over two channels Redundant transmission Different data per channel 10 MBit/s per channel Synchronised time base Event- and time-triggered communication 5 / 21

FlexRay Communication cycle dynamic segment dynamic segment Segment Slot 1 2 3 4 5 6 7 8 1 2 3 4 5 6 8 9 10 cycle 0 cycle 1 Node 1 Node 2 Node 3 Node 4 static segment network idle time symbol window static segment Time-triggered communication Event-triggered communication 6 / 21

FlexRay Synchronisation Time measurement with synchronisation messages in the static segment Combination of two synchronisation methods Offset correction deviation node 1 t node 2 Rate correction deviation node 1 t node 2 7 / 21

For the FlexRay model Layer 2 in the OSI model FlexRay functions Communication Synchronisation Implementation of a model of an oscillator Configuration of the network structure and the parameters System level error detection 8 / 21

Agenda 1 2 3 4 5 8 / 21

Architecture FlexRay nodes as modules Bus topology as module 9 / 21

Node Several submodules Connection to the bus module Independent configuration 10 / 21

Topology only provides point to point communication Bus topology Realised as module Provides a maximum of two connections for each node Distribution of incoming messages unit1 unit2 bus unit3 unit4 unit5 channel A channel B 11 / 21

Model of the oscillator Very accurate model would simulate every tick Huge amount of events Our approach for the clock drift Only one drift value per cycle Reducing the number of events Cycle Cycle Cycle Event Event Constant Ticklength Event variable Driftfactor t 12 / 21

Agenda 1 2 3 4 5 12 / 21

Protocol conformance & error detection Protocol conformance: are fulfilled Typical error detection: Configuration problems Too many sync nodes Frames in the same slot Timing errors Frames in wrong slot 13 / 21

Latency Analysis for the dyn. segment Simulation parameter 4 nodes 10 minislots Transmission points distributed over dynamic segment Dynamic frames require 1 to 3 minislots minislot ID dynamic segment 1 2 3 4 11 12 13 14 15 16 17 18 19 20 14 / 21

Latency Analysis for the dyn. segment Latency of frames with different IDs 3,3 ID 1 1 T im e fo r B u s A c c e s s [m s ] 3,2 3,3 3,2 1 0 8 6 4 2 0 6 0 5 0 4 0 3 0 2 0 1 0 ID 1 5 ID 1 7 ID 1 9 0 0,0 0,3 1 2 3 4 5 S im u la tio n T im e [s ] 15 / 21

Latency Analysis for the dyn. segment Latency distribution R e la tiv e N u m b e r o f P a c k e ts [% ] 1 0 0 9 5 9 8 7 6 5 4 3 2 1 0 ID 1 1 ID 1 5 ID 1 7 ID 1 9 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 T im e fo r B u s A c c e s s [m s ] 16 / 21

Performance test Several networks of various size Only messages in the static segment Further parameters identical number of nodes channels t_sim/t_real [s] 10 single 0.96 20 single 0.58 30 single 0.45 10 dual 0.62 20 dual 0.32 Nearly worst case scenario Timing parameter and configuration have a large influence 17 / 21

Evaluation against CANoe Comparison of latency results CANoe Commercial network simulator Variety of automobile communication protocols Two equal networks Three nodes Same parameters Same behaviour in both networks Amount and timing of messages Repressed dynamic frames Difference of approximatly 100 ns 18 / 21

Agenda 1 2 3 4 5 18 / 21

Conclusion System level simulation Support of different applications Evaluation against CANoe Can be used for simulation of complete communication-matrices 19 / 21

Outlook Extension of the simulation Active star topology Startup procedure and node integration during operation Gateway between FlexRay and other communication models Simulation of complex real communication-matrices 20 / 21

Thank you! Thank you for your attention! Website of Co research group: http://www.haw-hamburg.de/core 21 / 21