Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium...

15
V1.00.00 | 2017-04-27 3. Vector Automotive Ethernet Symposium – May 3 rd 2017 Time-Sensitive Networking (TSN) – How the additional value will meet your requirements

Transcript of Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium...

Page 1: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

V1.00.00 | 2017-04-27

3. Vector Automotive Ethernet Symposium – May 3rd 2017

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

Page 2: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

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

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

Scalability

Timing Guaranties

Reliability

Ethernet

2

Page 3: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

It began with the IEEE standardization out of the Audio/Video Bridging Task Group, specifying the basis for low latency transmission on Ethernet

> IEEE 802.1BA "Audio Video Bridging (AVB) Systems" > IEEE 802.1AS "Timing and Synchronization for Time-Sensitive Applications (gPTP)" > IEEE 802.1Qav "Forwarding and Queuing for Time-Sensitive Streams (FQTSS)" > IEEE 802.1Qat "Stream Reservation Protocol (SRP)"

and standards for time sensitive applications > IEEE 1722 "Layer 2 Transport Protocol (AVTP)" > IEEE 1733 "Layer 3 Transport Protocol (RTP)"

What is TSN – It began with AVB … Time-Sensitive Networking (TSN)

T3 T2 T1

Time Sensitive Data

Presentation Time

Best Effort Data Idle Slope

Send Slope

T2 T1 T3

Credit Based Shaper

T3 T2 T1

TG

T1 TG < ?

TG Tx Rx

- + 3

Page 4: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

The IEEE Time-Sensitive Networking Task Group as the successor of the AVB Task Group specifies the basis for deterministic transmission on Ethernet

> IEEE 802.1Qbv "Enhancements for Scheduled Traffic"

and standards for latency reduction > IEEE 802.1Qbu "Frame Preemption" > IEEE 802.3br "Specification and Management Parameters for Interspersing Express Traffic"

and standards for Safety and Security > IEEE 802.1CB "Frame Replication and Elimination for Reliability" > IEEE 802.1Qci "Per-Stream Filtering and Policing"

What is TSN – … and has been extended to TSN Time-Sensitive Networking (TSN)

Deterministic Data

Non Deterministic Data S2 S1 S3

Time Aware Shaper

Time Slot

Tx Rx

TG

TG

Gate Gate Control List

4

Page 5: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

Bricks of TSN Time-Sensitive Networking (TSN)

Time synchronization

Latency

Priority

Bandwidth management

Redundancy & Policing

5

Page 6: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

The Grand Master distributes the Global Time to all nodes within a time aware system. Sync and Follow_Up message

Time Slave Ports measure the path delay and add it to the received Global Time. Pdelay_Req, Pdelay_Resp and

Pdelay_Resp_Follow_Up message

Endpoints and Switches are time synchronized to the Grand Master with a jitter ≤ 1µs.

Time synchronization Bricks of TSN

Time Slave Port Time Master Port

Sync

Pdelay_Req

Pdelay_Resp

Pdelay_Resp_Follow_Up

Follow_Up

6

Page 7: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

Best Effort traffic class Latency definition on protocol level

Worst case based latency traffic classes AVB traffic class A – 2ms end to end latency AVB traffic class B – 50ms end to end latency

Deterministic traffic Latency = f(CycleTime, MaxTxPacketLengthPerPort, GuardBand) GuardBand =

> Without Preemption: MaxFrameLengthPerLink + 20 Byte (for Preamble, SOF, Interpacket Gap) > With Preemption: 64 Byte + Max[FrameLengthPerLink mod 64] + 20 Byte (for Preamble, SOF, Interpacket Gap) > An Ethernet frame could be preempted by a higher prior frame and resumed afterwards at the preempted position, whereat each

fragment must have at least 64 Byte.

Categorization of traffic classes depending on their latency Bricks of TSN

Ethernet Fragment

Ethernet Frame Byte

Time[µs] @ 100MBit

8 + 1522 + 12 8 + 64

0,64 + 121,76 + 0,96 0,64 + 5,12 + 0,96

Frame Length

Earliest Preemption Point (Frame with 128 Byte)

7

Page 8: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

Low Priority Medium Priority High Priority

Background Best Effort Excellent Effort Critical Applications

Video <100ms latency

Audio <10ms latency

Internetwork Control

Network Control

1 0 2 3 4 5 6 7

As defined in IEEE 802.1Q "Bridges and Bridged Networks":

Priority-Queue assignment in hardware (depending on availability) Shaped queues having a higher priority than unshaped queues

Categorization of messages depending on their priority Bricks of TSN

8

Page 9: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

The Stream Reservation Protocol ensures bandwidth guaranties Registration of streams by Talker/Listeners De-Registration of streams by Talker/Listeners Maintaining stream reservation information by Bridges

Unregistered streams will not pass the Bridge.

Bandwidth management Bricks of TSN

allow or

deny

Talker Listener Bridge

register register

attach attach

9

Page 10: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

Redundancy Packet replication for redundant transmission

> Ethernet frame extension by a Redundancy Tag (R-TAG = 0xF1C1) > Shortest path transmission

Detection and elimination of duplicated packets

Redundancy and Policing Bricks of TSN

Frame

Relay

Relay

End System End System

Frame'

Frame

10

Page 11: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

Filtering and Policing Avoids, that queues in Bridges could be captured by unexpected traffic

> Ingress, frame and egress filtering > Flow classification and metering for dedicated Gates (priorities) and streams > Implementation of an Ingress Policing Function

Redundancy and Policing Bricks of TSN

Gate

Filtering Database

static dynamic

Ingress

Filtering Information

Egress

0 0 2 3 Meter

0 1 2 3 Ingress

Bandwidth Profile

11

Page 12: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

The IEEE Time-Sensitive Networking Task Group focuses actually on 16 projects.

Approx. 50% of them are automotive relevant. Already published are:

> IEEE 802.1Qbv "Enhancements for Scheduled Traffic" > IEEE 802.1Qbu "Frame Preemption"

Work group stable are: > IEEE 802.1CB "Frame Replication and Elimination for Reliability" > IEEE 802.1Qci "Per-Stream Filtering and Policing"

TSN extensions require mostly HW extensions as well. HW support for IEEE 802.1Qbv is already available. HW support for IEEE 802.1Qbu is rarely available.

How mature is TSN? Time-Sensitive Networking (TSN)

12

Page 13: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

TSN is a set of IEEE specifications specifying mechanisms and protocols to scale and control an Ethernet network regarding latency and reliability.

Using these additional values, Ethernet networks will be designed to meet your requirements.

TSN provides a solution for a smooth coexistence of all Ethernet traffic classes.

Summary Time-Sensitive Networking (TSN)

Scalability

Timing Guaranties

Reliability

Ethernet

13

Page 14: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

I wish you an exiting day!

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

14

Page 15: Time-Sensitive Networking (TSN) · V1.00.00 | 2017- 04-27 3. Vector Automotive Ethernet Symposium – May 3rd 2017 . Time-Sensitive Networking (TSN) – How the additional value will

© 2017. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2017-04-27

For more information about Vector and our products please visit www.vector.com

Author: Jesse, Bernd Vector Germany