Synchronization over Ethernet

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Advertisements

5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Service Providers & Data Link & Physical layers Week 4 Lecture 1.
1 K. Salah Module 4.3: Repeaters, Bridges, & Switches Repeater Hub NIC Bridges Switches VLANs GbE.
COMPUTER NETWORKS.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Lecturer: Tamanna Haque Nipa
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
Connecting LANs, Backbone Networks, and Virtual LANs
IEEE-1588 IEEE-1588 – Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems Defines a Precision Time Protocol.
© ZHAW Prof. Hans Weibel, Zurich University of Applied Sciences Synchronization over Ethernet Standard for a Precision Clock.
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
H.Z. Peek Nikhef Amsterdam Electronics- Technology VLVnT11 Erlangen12-14, October White Rabbit Sub-Nanosecond timing over Ethernet H.Z. Peek......
Repeaters and Hubs Repeaters: simplest type of connectivity devices that regenerate a digital signal Operate in Physical layer Cannot improve or correct.
S3C2 – LAN Switching Addressing LAN Problems. Congestion is Caused By Multitasking, Faster operating systems, More Web-based applications Client-Server.
Networking and Internet Dr. John P. Abraham Professor UT-RGV.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
 LANs – A Definition - A local area network (LAN) is a computer network covering a small physical area, like a home, office, or small group of buildings,
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
OSI Model Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Doc.: IEEE /1080r0 Submission September 2004 Todor Cooklev, SF State UniversitySlide 1 IEEE 1588 over b Afshaneh Pakdaman San Francisco.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Precise measurement of physical link delay 802.1as, IEEE 802 plenary Lu Huang
Instrument Control System Seminar, 20 th -24 th October 2014 Time Synchronisation via Ethernet An introduction to IEEE 1588 Andreas Jost.
Research Unit for Integrated Sensor Systems and Oregano Systems Cern Timing Workshop 2008 Patrick Loschmidt, Georg Gaderer, and Nikolaus Kerö.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Welcome Back Cisco Semester 1 & 2 Review. Why are Networks Complex Environments?? They involve: They involve: –Interconnections to networks outside an.
Data Link Issues Relates to Lab 2.
Data and Computer Communications Ninth Edition by William Stallings Chapter 10 – Circuit Switching and Packet Switching Data and Computer Communications,
IEEE-1588 IEEE-1588 – Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems Defines a Precision Time Protocol.
Time Sync Network Limits: Status, Challenges
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
Data Link Issues This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet, and the Point-to-Point.
Network Access and Transmission Methods
Pedro Moreira CERN BE-CO-HT
Youngstown State University Cisco Regional Academy
PTP version 3 in FTI? Øyvind Holmeide/Markus Schmitz by 01/13/2016.
Improving IEEE 1588 synchronization accuracy in 1000BASE-T systems
Redundant network topologies for dependable time transfer
Local Area Networks Honolulu Community College
Networking Devices.
PTPv1 and PTPv2 translation IN FTI Systems
G.8275.x telecom time profiles
The White Rabbit Fieldbus
CHAPTER 2 THE OSI MODEL.
Lec 2: Protocols.
ISO/OSI Model and Collision Domain
Data Link Issues This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet, and the Point-to-Point.
Instructor: Mr. Malik Zaib
Networking and Internet
Networking and Internet
Net 435: Wireless sensor network (WSN)
Dept. of Computer Science
IS3120 Network Communications Infrastructure
Subject Name: Computer Communication Networks Subject Code: 10EC71
Precision Time Protocol
Ethernet LAN 1 1.
Data Link Issues Relates to Lab 2.
NTHU CS5421 Cloud Computing
BLUETOOTH Personal Area Networking [ PAN ] over Bluetooth
Protocol layering and data
Lecture 2: Overview of TCP/IP protocol
PTP SOLUTIONS: Using PTP as a backup to GPS
Building A Network: Cost Effective Resource Sharing
Optical communications & networking - an Overview
Computer Networking A Top-Down Approach Featuring the Internet
Protocol layering and data
Lecture Protocol & Model Ashis Talukder, MIS, EWU.
Presentation transcript:

Synchronization over Ethernet Standard for a Precision Clock Synchronization Protocol according to IEEE 1588 Synchronous Ethernet according to ITU-T G.8261

Who is ZHAW – Zurich University of Applied Sciences? The School of Engineering is a department of the Zurich University of Applied Sciences (ZHAW) ZHAW‘s Institute of Embedded Systems has a strong commitment to industrial communications in general and to Ethernet in particular, e.g. Real-time Ethernet (Ethernet Powerling, ProfiNet, etc.) Synchronization (IEEE 1588) High-availability Ethernet add-ons (MRP, PRP, etc.) The related R&D activities and services include Hardware assistance and off-load (IP) Protocol stacks Support Engineering and consultancy

Preliminary remark only Ethernet solutions are taken into account in this presentation (according to workshop planning) this requires some compromises to be accepted the big advantage to be exploited is that the same infrastructure can be used for both data transmission and synchronization

The Standard IEEE 1588

The Standard IEEE 1588 PTP Message Exchange  Master Clock  Slave Clock PTP PTP Delay and Jitter Protocol Stack Delay and Jitter Protocol Stack UDP UDP optional IP IP MAC MAC MII MII Phy Phy Network PTP Precision Time Protocol (Application Layer) UDP User Datagram Protocol (Transport Layer) IP Internet Protocol (Network Layer) MAC Media Access Control Phy Physical Layer Delay and Jitter Network

The Standard IEEE 1588 Determination of Phase Change Rate (Drift) – one step Master Clock Slave Clock 40 42 44 46 48 50 52 54 56 58 60 62 64 40 42 44 46 48 50 52 54 56 58 60 62 38 Sync(t0k) t0k t1k Δ0 Δ0 = t0k+1 - t0 k Δ1 = t1k+1 - t1 k Drift = Δ 1 - Δ 0 Δ 1 Δ1 t0k+1 Sync(t0k+1) t1k+1

The Standard IEEE 1588 Determination of Phase Change Rate (Drift) – two step Master Clock Slave Clock 40 42 44 46 48 50 52 54 56 58 60 62 64 40 42 44 46 48 50 52 54 56 58 60 62 38 Sync() t0k Follow_up(t0k) t1k Δ0 Δ0 = t0k+1 - t0 k Δ1 = t1k+1 - t1 k Drift = Δ 1 - Δ 0 Δ 1 Δ1 t0k+1 Sync() Follow_up(t0k+1) t1k+1

The Standard IEEE 1588 Determination of Delay and Offset Master Clock Slave Clock 40 42 44 46 48 50 52 54 56 58 60 62 64 38 apparent concurrency O = Offset = ClocksSlave – ClocksMaster t1 = t0+D+O A O D = Delay Sync(t0) t0 measured values t0, t1, t2, t3 A = t1-t0 = D+O B = t3-t2 = D-O Delay D = Offset O = A + B 2 A - B Follow_up(t0) Delay_Req() t3 t2 B Delay_Resp(t3) t3 = t2-O+D

Switch with Boundary Clock The Standard IEEE 1588 Boundary Clock copes with the Network‘s Delay Fluctuations Master Clock Switch with Boundary Clock Slave Clock  PTP UDP IP  Slave  PTP UDP IP Master PTP PTP UDP UDP IP IP MAC MAC MAC MAC Phy Phy Phy Phy Switching Function

The Standard IEEE 1588 Topology and „Best Master Clock“ Ordinary Clock, Grandmaster: clock selected as „best Master“ (selection based on comparison of clock descriptors) M S Boundary Clock, e.g. Ethernet switch M M M S: Port in Slave State M: Port in Master State S S S S S M M M S Ordinary Clock

The Standard IEEE 1588 Version 2 Transparent Clock Master Clock Slave Clock Transparent Clock t0 Sync(t0 , corr) Δs Sync(t0 , corr + Δs) t1 Follow_up(t0) t2 Delay_Req(corr) Delay_Req(corr + Δr) Δr t3 Delay_Resp(t3 , ∑corr) Time Stamping Δ Residence Time t t

The Standard IEEE 1588 Version 2 Transparent Clock – End-to-End Delay Measurement Sync Stream e2e Delay Measurement

The Standard IEEE 1588 Version 2 Transparent Clock – Peer-to-Peer Delay Measurement Sync Stream p2p Delay Measurement

The Standard IEEE 1588 Limits Timestamp quantization effects Accuracy of Start-of-Frame Detection Unknown portion of data path asymmetries in cables and transceivers Jitter in the data path (PHY chips, network elements) Environmental conditions Oscillator instabilities Implementation specific effects (e.g. phase between different asynchronous clock domains of all involved functional building blocks) Note: Uncertainty due to limited observation capabilities (e.g. the PPS output is subject of quantization effects as well) Stochastic effects can be filtered out with statistical methods Systematic errors remain

The Standard IEEE 1588 Industry Relevance PTP is or will be applied in application areas such as Test and Measurement (LXI: LAN eXtensions for Instrumentation) Automation and control systems (various flavors of real-time Ethernets) Audio/Video Bridge (AVB according to IEEE 802.1as) Telecommunications Silicon vendors and IP providers offer Protocol software Hardware assistance IPs PHYs with hardware assistance logic IEEE-1588 enabled microcontrollers Switching cores with IEEE-1588 support

Synchronous Ethernet

Synchronous Ethernet Physical Layer Timing in Legacy Ethernet Ethernet works perfectly well with relatively inaccurate clocks Each Ethernet link may use its own clock nominal clock rate is the same, but deviations of ± 50 ppm are allowed (dimensioning such that physical layer buffers do not underflow or overflow) Details differ according to transmission technology where the two directions of a link use different media (i.e. separate wire pairs or separate fibers), both directions may have independent clocks GBE over twisted pair uses all wire pairs simultaneously in both directions  signal processing (echo compensation technique) requires same clock on both directions of a link  one PHY acts as the master, the other as slave

Synchronous Ethernet Timing of a Fast Ethernet Link (100 Base-TX) 25 MHz ± 50 ppm MAC PHY PHY MAC TX_CLK RX_CLK Cable RX_CLK TX_CLK Symbol 25 MHz ± 50 ppm clk clk transmission line is driven by clk clk recovered from transmission line

Synchronous Ethernet Physical Layer Timing in Legacy Ethernet X X E E X X X X X E X E E

Synchronous Ethernet Timing of a Gigabit Ethernet Link (1000 Base-T) 1000 Base-T transmission is split on 4 wire pairs operation simultaneously in both directions transmitter and receiver are coupled via a hybrid echo compensation is applied both directions require the same clock A 1000 Base-T PHY can operate as a master or slave. Master/slave role selection is part of the auto-negotiation procedure. A prioritization scheme determines which device will be the master and which will be slave. The supplement to Std 802.3ab, 1999 Edition defines a resolution function to handle any conflicts: multiport devices have higher priority to become master than single port devices. if both devices are multiport devices, the one with higher seed bits becomes the master.

Synchronous Ethernet 1000 Base-T uses 4 pairs simultaneously in both directions

Synchronous Ethernet 1000 Base-T Pysical Layer Signalling with Echo Compensation

Synchronous Ethernet Timing of a Gigabit Ethernet Link (1000Base-T) 25 MHz ± 50 ppm MAC PHY CLOCK_IN PHY MAC GTX_CLK Master Slave RX_CLK x5 Cable RX_CLK GTX_CLK 25 MHz ± 50 ppm The Master PHY uses the internal 125 MHz clock generated from CLOCK_IN to transmit data on the 4 wire pairs. The Slave PHY uses the clock recovered from the opposite PHY as the transmit clock.

Synchronous Ethernet Concept - 1 Concept has been proposed, elaborated, and standardized by the Telco community in ITU-T by transferring the traditional SDH clock distribution concept to Ethernet networks The Primary Reference Clock (PRC) frequency is distributed on the physical layer a receiver can lock to the transmitter‘s frequency a switch selects the best available clock this results in a hierarchical clock distribution tree OAM messages (Synchronization Status Messages) are used to signal clock quality and sync failure conditions of the upstream switch to allow selection of the best available timing source (stratum of upstream source) to avoid timing loops

Synchronous Ethernet Concept - 2 Active layer 2 data forwarding topology (as established by spanning tree protocol) and clock distribution tree are independent (i.e. a blocked port can deliver the clock to its neighboring switch) Design rules (topology restrictions, priorities for source selection) guarantee clock quality Clocking of Ethernet devices is changed in a way that is fully conforming with IEEE 802.3 standards Standard PHY chips can be used as long as a few conditions are met, e.g. PHY provides the recovered receive clock to the external world GBE PHY allows master/slave role to be set by software (no automatic selection)

Synchronous Ethernet Clock Sources for a Synchronous Ethernet Switch Ext-In Ext-Out Oscillator Clock Selection / Regeneration Port 1 Port 2 Port … Port n Taktauswahl durch eine „Wenn-Dann-Tabelle“

Synchronous Ethernet Physical Layer Timing in Synchronous Ethernet PRC X X E E X X X X E X X E E PRC tracable clock (other links and directions are free running)

Synchronous Ethernet Compared with IEEE 1588 Clock distribution based on Ethernet‘s physical layer Provides frequency only Performance is independent of data traffic IEEE 1588 Application layer protocol with hardware assistance Provides frequency and time of day May be susceptible to specific data traffic patterns Complementary technologies, can be used in combination: Syncronous Ethernet delivers accurate and stable frequency to all nodes while IEEE 1588 can deliver time of day, where required.

Synchronous Ethernet Industry Relevance Telco equipment manufacturers rely on both technologies Synchronous Ethernet operation will certainly be an important feature in future carrier grade products Synchronous Ethernet’s role in corporate and industrial communication application is not yet forseeable Silicon vendors and IP providers offer Synchronous Ethernet compatible PHYs ICs for clock monitoring, selection, and processing

Many thanks for your attention. hans. weibel@zhaw Many thanks for your attention! hans.weibel@zhaw.ch Zurich University of Applied Sciences Institute of Embedded Systems http://ines.zhaw.ch/ieee1588