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

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

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

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

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

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

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

Handling Challenges of Multi-Core Technology in Automotive Software Engineering

NVMe : Redefining the Hardware/Software Architecture

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

Implementation of automotive CAN module requirements

AVB in Automotive Infotainment Networks

Simulation based Timing Analysis of FlexRay Communication at System Level

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

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

UDP1G-IP reference design manual

AUTOBEST: A United AUTOSAR-OS And ARINC 653 Kernel. Alexander Züpke, Marc Bommert, Daniel Lohmann

The Tick Programmable Low-Latency SDR System

UDP10G-IP reference design manual

ReconOS: An RTOS Supporting Hardware and Software Threads

Canova Tech. IEEE Plenary Meeting, San Diego (CA) cg draft 2.0 PLCA (Clause 148) Overview July 9 th, 2018

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

Prototyping NGC. First Light. PICNIC Array Image of ESO Messenger Front Page

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

TOE10G-IP with CPU reference design

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

CAN Send and Receive with Hardware Timestamping

Avnu Alliance Introduction

CAN send and receive with hardware timestamping

System Architecture Directions for Networked Sensors[1]

Department of Computer Science, Institute for System Architecture, Operating Systems Group. Real-Time Systems '08 / '09. Hardware.

Page 1 SPACEWIRE SEMINAR 4/5 NOVEMBER 2003 JF COLDEFY / C HONVAULT

Intellectual Property Macrocell for. SpaceWire Interface. Compliant with AMBA-APB Bus

How to implement an EtherCAT Slave Device

Micro-Research Finland Oy Välitalontie 83 C, FI Helsinki, Finland. Event Receiver (PMC-EVR) Technical Reference Contents

UDP1G-IP Introduction (Xilinx( Agenda

RiceNIC. Prototyping Network Interfaces. Jeffrey Shafer Scott Rixner

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

CAN FD - Flexible Tools for Flexible Data Rates

The Benefits of FPGA-Enabled Instruments in RF and Communications Test. Johan Olsson National Instruments Sweden AB

ORION Gateway Design for Feedback Controls Connectivity

A comparative analysis of Precision Time Protocol in native, virtual machines and container-based environments for consolidating automotive workloads

High Speed Networks per applicazioni mobili, protocolli e funzionalità

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

Distributed IMA with TTEthernet

FPGA for Software Engineers

AUTOBEST: A microkernel-based system (not only) for automotive applications. Marc Bommert, Alexander Züpke, Robert Kaiser.

System Design Guide for Slave

Technology for Adaptive Hard. Rui Santos, UA

Time-Sensitive Networking (TSN) How the additional value will meet your requirements

Programmable Logic Design Grzegorz Budzyń Lecture. 15: Advanced hardware in FPGA structures

Evaluating Requirements of High Precision Time Synchronisation Protocols using Simulation

27 March 2018 Mikael Arguedas and Morgan Quigley

Architecture concepts in Body Control Modules

Performance Verification for ESL Design Methodology from AADL Models

High Performance Embedded Applications. Raja Pillai Applications Engineering Specialist

Achieving UFS Host Throughput For System Performance

10 th AUTOSAR Open Conference

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

CAN protocol enhancement

Multi-protocol controller for Industry 4.0

In Vehicle Networking : a Survey and Look Forward

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

Operating System Approaches for Dynamically Reconfigurable Hardware

Product Information Embedded Operating Systems

An Encapsulated Communication System for Integrated Architectures

PHY-Less Ethernet Implementation Using Freescale Power Architecture Based Microprocessors

New Software-Designed Instruments

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

Field Program mable Gate Arrays

Using Time Division Multiplexing to support Real-time Networking on Ethernet

FlexRay and Automotive Networking Future

NS9360. Errata _F. Release date: March 2008

PowerPC on NetFPGA CSE 237B. Erik Rubow

A HT3 Platform for Rapid Prototyping and High Performance Reconfigurable Computing

Multi-Axis Position Control by EtherCAT Real-time Networking

Virtex-5 FPGA Embedded Tri-Mode Ethernet MAC Wrapper v1.7

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

802.1 TIME-SENSITIVE NETWORKING (TSN) ON 802.3CG MULTIDROP NETWORKS

in Berlin (Germany) Sponsored by Motorola Semiconductor NEC Electronics (Europe) Siemens Semiconductors Organized by

INT-1010 TCP Offload Engine

Virtex-6 FPGA Embedded Tri-Mode Ethernet MAC Wrapper v1.4

ETH. Ethernet MAC with Timestamp Extension. TCD30xx User Guide. Revision July 17, 2015

Theory of Operations for TSN-Based Industrial Systems and Applications. Paul Didier Cisco Systems

HEAD HardwarE Accelerated Deduplication

SVOM mission: ATF280F/AT697F data processing for real-time GRB detection and localization & ATF280E SpaceWire CEA IP recent developments

How to add Industrial Ethernet to Computer Numeric Control (CNC) Router Machine

100 Gbps/40 Gbps PCS/PMA + MAC IP Core

Introduction to Ethernet and IP in automotive vehicles

ARINC-429/575 Interface to VME - Sy429VME-RT32

Software Defined Modem A commercial platform for wireless handsets

Automotive and industrial use cases for CAN FD

Implement IEEE 1588v2 on QorIQ Communications Platforms

FPGA design with National Instuments

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

How to get realistic C-states latency and residency? Vincent Guittot

SpaceWire PC Card Development. Patria New Technologies Oy ESA / ESTEC

Summer 2003 Lecture 21 07/15/03

Design of Flexray Protocol with high speed and area optimized for Automobile with modified FSM controller

Field buses (part 2): time triggered protocols

FlexRay The Hardware View

Transcription:

NET A Hardware/Software Co-Design Approach for Ethernet Controllers to Support Time-triggered Trac in the Upcoming IEEE TSN Standards Friedrich Groÿ Till Steinbach Franz Korf Thomas C. Schmidt Bernd Schwarz {friedrich.gross, till.steinbach, korf, schmidt, schwarz}@informatik.haw-hamburg.de 4th IEEE International Conference on Consumer Electronics - Berlin September 8th, 2014

Agenda 1 2 3 2 / 21

Why is Time-Triggered Ethernet needed? Modern cars: > 70 ECUs; about 2500 message types Bandwidth and timing requirements increase Now used communication systems came to their limits due they are not scalable Next generation backbones will most likely base on real-time Ethernet 3 / 21

Introduction How TDMA in Time-Triggered Ethernet works ECU1 cycle ECU2 Switch ECU4 cycle cycle ECU3 cycle 4 / 21

Introduction Properties of Time-Triggered Ethernet Real-time extension for standard Ethernet Deterministic behavior, low latency and jitter Clock synchronisation and special switches are needed Ethernet, Pronet IRT, upcoming IEEE 802.1Qbv,... This work focuses Ethernet AS6802 5 / 21

Why Hardware/Software Co-Design? Reduce computational power On a high network load up to 90% of a CPU is used (ARM9 @ 200Mhz) 1 One reception buer for all trac-classes Every received frame must be handled immediately for garbage collection Reduce timing requirements for OS CAN-Bus and FlexRay achieved good results with HW/SW Co-Design 1 K. Müller A Real-time Ethernet Prototype Platform for Automotive Applications, in 2011 ICCE-Berlin 6 / 21

Contribution Scalable HW/SW Co-Design Ethernet Controller Include clock synchronisation Results of a prototype implementation on a FPGA 7 / 21

Agenda 1 2 3 7 / 21

Concept Typical Ethernet Design CPU CPU-Bus FIFO 1-to-1 MAC External RAM Memory controller PHY 8 / 21

Concept Main Idea CPU CPU-Bus Time- Triggered Ethernet Coprocessor 1-to-1 MAC PHY 9 / 21

Concept Architecture CPU FPGA RX-Buffers Switch CPU-Bus Timestamp Injector RX Sync Fixed point timer MAC TX-Buffers Guard TX PHY_DV GMII/MII PHY 10 / 21

Concept Architecture - Timestamp Injector CPU RX-Buffers TX-Buffers Switch Sync Guard CPU-Bus Timestamp Injector Fixed point timer FPGA RX MAC TX Timestamps needed for Synchronisation and validation of Frames SW-Implementation has low accuracy Record Timestamps with PHY_DV (10 ns jitter) Validate with rx interrupt FIFO for TS Works on the y Delay of 2 clock cycles PHY_DV GMII/MII PHY 109 LUTs ( = 5%); 72 Flip Flops ( = 3.8%) of all (+ HW FIFO) 11 / 21

Concept Architecture - Switch CPU RX-Buffers TX-Buffers Switch Sync Guard CPU-Bus Timestamp Injector Fixed point timer FPGA RX MAC TX Need to separate Trac to dierent Buers SW-Implementation needs the most CPU-Resources Switches based on Dest-MAC, Ether-Type, Timestamp Independent interrupts Application specic buer size Works on the y Delay of 6 clock cycles PHY_DV GMII/MII PHY 307 LUTs ( = 14.1%); 529 Flip Flops ( = 11.7%) of all 12 / 21

Concept Architecture - Synchronisation CPU RX-Buffers TX-Buffers Switch Sync Guard CPU-Bus Timestamp Injector Fixed point timer FPGA RX MAC TX Synchronize internal clock to network clock SW-Implementation need more energy On full HW-Implementation OS modication is very low Full AS6802 client implementation Rate-correction PHY_DV GMII/MII PHY 1100 LUTs ( = 50.3%); 736 Flip Flops ( = 21%) of all 13 / 21

Concept Architecture - Fixed point timer CPU RX-Buffers TX-Buffers Switch Sync Guard CPU-Bus Timestamp Injector Fixed point timer FPGA RX MAC TX Addon for Synchronisation Keeps clock synchronized during the whole cycle Smaller reservation window -> more bandwidth SW-Implementation impossible Rate-correctable timer implemented as Fixed-Point timer PHY_DV GMII/MII PHY 55 LUTs ( = 2.5%); 55 Flip Flops ( = 1.2%) of all 14 / 21

Concept Architecture - TX-Buers and Guard CPU RX-Buffers TX-Buffers Switch Sync Guard CPU-Bus Timestamp Injector Fixed point timer PHY_DV FPGA RX MAC TX Sends on schedule and messages between messages CPU can put async messages to Buers OS don't need Time-Triggered schedule functions SW-Implementation has high Jitter 1µs to 10µs HW-Implementation has 80ns Jitter Application specic buer size GMII/MII PHY 614 LUTs ( = 28.1%); 475 Flip Flops ( = 5.4%) of all 15 / 21

Concept Possible Partitioning CPU RX-Buffers Sync Switch Sync CPU-Bus Timestamp Injector Fixed point timer FPGA RX MAC CPU-Res.: few percent HW-Res.: safe 21% FF's and 50.3% LUT's Accuracy: no eect Energy: much higher TX-Buffers Guard TX PHY_DV GMII/MII PHY 16 / 21

Concept Possible Partitioning CPU RX-Buffers TX- TX- Switch Sync CPU-Bus Timestamp Injector Fixed point timer FPGA RX MAC CPU-Res.: few percent HW-Res.: safes 1% FIFO's and 18.6% LUT's Accuracy: Jitter rises up to 10µs Energy: still is no statement possible TX-Buffers Guard TX-FIFO TX PHY_DV GMII/MII PHY 17 / 21

Concept HW/SW Co-Design CPU RX-Buffers RX- RX- SYNC RX-FIFO Switch Sync CPU-Bus Timestamp Injector Fixed point timer RX MAC FPGA CPU-Res.: up to 90% HW-Res.: safes 31% FIFO's and 55% LUT's Accuracy: no eect Energy: much higher TX-Buffers Guard TX PHY_DV PHY GMII/MII 18 / 21

Agenda 1 2 3 18 / 21

Conclusion Full Hardware implementation of a Ethernet Controller Approach how to scale it Result: HW/SW Co-Design is a good way to deduce CPU consumption of a Time-Triggered Ethernet protocol stack. 19 / 21

Outlook AUTOSAR is a automotive system architecture without time-triggered scheduling mechanisms Develop driver for AUTOSAR Run dierent partitions of HW/SW Co-Desing 20 / 21

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