TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port...

17
V1.0 | 2019-07-09 Overview of AVB and TSN TSN - Time Sensitive Networking

Transcript of TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port...

Page 1: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

V1.0 | 2019-07-09

Overview of AVB and TSN

TSN - Time Sensitive Networking

Page 2: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

� AVB/TSN IntroductionPrecision Time Protocol (gPTP)Stream Reservation Protocol (SRP)Transport Protocol (AVTP)Example

Agenda

2/18

Page 3: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

� Scalability� Choose the right traffic class for you application

� Timing Guaranties� Attach to each traffic class the expected latency and priority

� Reliability� Give for each traffic class a bandwidth guaranty� Consider redundancy if needed� Ensure stable traffic by policing

TSN BenefitsAVB/TSN Introduction

Scalability

Timing Guaranties

Reliability

Ethernet

3/18

Page 4: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

AVB-Domain, Endpoints, Talker, Listener And BridgesAVB/TSN Introduction

ListenerEndpointTalkerEndpoint

Bridge/Switch

Ethernet LAN

AVB-Domain

4/18

Page 5: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

� Multicast by means of Ethernet � Destination MAC Address: x1:xx:xx:xx:xx:xxAVB-Talker And Listener With BridgingAVB/TSN Introduction

Streamsource

AVB Talker + Bridge

EthernetPHY

Ethernet MAC+VLAN

Streamdestination

AVB Listener

EthernetPHY

Ethernet MAC+VLAN

Streamdestination

AVB Listener

EthernetPHY

Ethernet MAC+VLAN

EthernetPHY

xxxxxxx1

5/18

Page 6: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

Standalone AVB-Bridge / AVB-SwitchAVB/TSN Introduction

Streamsource

AVB Talker

EthernetPHY

Ethernet MAC+VLAN

StreamDestination

AVB Listener

EthernetPHY

Ethernet MAC+VLAN

EthernetPHY

EthernetPHY

Ethernet MAC+VLAN

EthernetPHY

AVB Bridge / AVB Switch

Streamdestination

AVB Listener

EthernetPHY

Ethernet MAC+VLAN

6/18

Page 7: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

� Loss of Data and packet transmission in order� AVTP-Frames offer sequence numbers to identify loss and out of order transmission

� Throughput� Reservation of bandwidth for every stream in Bridges and AVB-Talker

� Delay and Jitter� Control of data streams by means of queueing/shaping

Quality of ServiceAVB/TSN Introduction

Precondition for QoS is a common time base

7/18

Page 8: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

� Clock synchronization throughout the AVB/TSN-Domain by means of gPTP� Master-, Slave- and Transparent Clocks� One reference clock (Grandmaster-Clock) per AVB/TSN-Domain

> Static with defined clock hierarchy> Dynamic with negotiated hierarchy by means of gPTP (BMCA)

Time Aware SystemsAVB/TSN Introduction

Streamsource

AVB Talker

EthernetPHY

Ethernet MAC+VLAN

StreamDestination

AVB Listener

EthernetPHY

Ethernet MAC+VLAN

EthernetPHY

EthernetPHY

Ethernet MAC+VLAN

EthernetPHY

AVB Bridge / AVB Switch

Streamdestination

AVB Listener

EthernetPHY

Ethernet MAC+VLAN

8/18

Page 9: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

� Quality of Service (QoS) � Bandwidth reservavtion by measn of SRP� Priorisation and control of bandwidth by means of FQTSS

Advanced FunctionalityAVB/TSN Introduction

Streamsource

AVB Talker

EthernetPHY

Ethernet MAC+VLAN

StreamDestination

AVB Listener

EthernetPHY

Ethernet MAC+VLAN

EthernetPHY

EthernetPHY

Ethernet MAC+VLAN

EthernetPHY

AVB Bridge / AVB Switch

Streamdestination

AVB Listener

EthernetPHY

Ethernet MAC+VLAN

9/18

Page 10: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

� Define hierarchy of the AVB/TSN domain� Static by means of configuration� Dynamic by means of Best Master Clock Algorithm (BMCA)� Every Ethernet link has a master and slave port

� Slave synchronizes to the master� Master of thon the highest level is the Grand Master Clock

Definition of the Hierarchy of the Clocks and SynchronizationPrecision Time Protocol (gPTP)

Master-Port

Slave-PortEthernet Link

10/18

Page 11: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

� Measurement of the delay on every Ethernet link

� Measure and balance time differences between Master and Slave

� Measure and balance clock speed between clocks

Achieve and Maintain a Common Time BasePrecision Time Protocol (gPTP)

Clock synchronized

Delay

12/18

Page 12: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

AVB/TSN IntroductionPrecision Time Protocol (gPTP)

� Stream Reservation Protocol (SRP)Transport Protocol (AVTP)Example

Agenda

13/18

Page 13: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

� Talker announces data streams within a AVB-domain� Listener signals when it would like to receive the data stream� Bridges provide the requested bandwidth

Tasks of SRPStream Reservation Protocol (SRP)

14/18

Page 14: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

AVB/TSN IntroductionPrecision Time Protocol (gPTP)Stream Reservation Protocol (SRP)

� Transport Protocol (AVTP)Example

Agenda

15/18

Page 15: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

AVTP Protocol DetailsTransport Protocol (AVTP)

ConnectionManagementACMP

EthernetEthernet

AVTPData Streams

Audio/VideoApplication

Entity ModelAEM

Enumeration& ControlAECP

DiscoveryADP

MAC AddressAcquisitionMAAP

AVDEC

AVTP Control Protocols

AVTPAudio/VideoStreaming

Daten

16/18

Page 16: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

AVB/TSN: Audio Streaming : AVBBasicAudioStreaming.cfg

TSN exampleExample

Talker :The node contains a sine tone generator with adjustable frequency. The tone is transmitted from the AVTP Talker end point as an AVB stream.

Listener : The node contains an AVTP Listener end point that receives the stream generated by the Talker and outputs it via the sound card.

17/18

Page 17: TSN -Time Sensitive Networking · 2019-07-26 · Precision Time Protocol (gPTP) Master-Port Slave-Port Ethernet Link 10/18. Measurement of the delay on every Ethernet link Measure

© 2018. Vector Informatik India Private Limited. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-07-09

Author:Laygude ,PrashantVector India

For more information about Vectorand our products please visitwww.vector.com