© 2003-2008 ZHAW Prof. Hans Weibel, Zurich University of Applied Sciences Synchronization over Ethernet Standard for a Precision Clock.

Slides:



Advertisements
Similar presentations
IETF TICTOC Considerations about IEEE1588 version 2 for Telecom usage.
Advertisements

1588V2 Telecom Profile Framework
01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
Introduction and Vocabulary. Introduction (1): A bit of history Ubiquitous & mobile computing are not the original concepts –Networking started with very.
Optical communications & networking - an Overview
CSC 450/550 Part 3: The Medium Access Control Sublayer More Contents on the Engineering Side of Ethernet.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
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.
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
Service Providers & Data Link & Physical layers Week 4 Lecture 1.
1 Interconnecting LAN segments Repeaters Hubs Bridges Switches.
Review on Networking Technologies Linda Wu (CMPT )
1 K. Salah Module 4.3: Repeaters, Bridges, & Switches Repeater Hub NIC Bridges Switches VLANs GbE.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
COMPUTER NETWORKS.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
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.
Ethernet AVB: The next step in broadcast infrastructures Jan Eveleens, CEO Professional Networked Media.
IP Network Basics. For Internal Use Only ▲ Internal Use Only ▲ Course Objectives Grasp the basic knowledge of network Understand network evolution history.
Chapter Five Network Architecture. Chapter Objectives  Describe the basic and hybrid LAN technologies  Describe a variety of enterprise-wide and WAN.
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
LXI Standard – Current and Future David Owen – Pickering Interfaces TC Chair LXI Consortium LXI – “It’s About Your Time”
Network Access and Transmission Methods Chapter 10.
Introduction to IT and Communications Technology Justin Champion C208 – 3292 Ethernet Fundamentals CE
Lecture 17 Ethernet r Widely deployed because: m First LAN technology m Simpler and less expensive than token LANs and ATM m Kept up with the speed race:
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.
Communication Networks Fourth Meeting. Types of Networks  What is a circuit network?  Two people are connected and allocated them their own physical.
Precision Time Protocol (aka IEEE1588)
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
 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.
TCP/IP Protocol Architecture CSE 3213 – Fall
Cisco Network Devices Chapter 6 powered by DJ 1. Chapter Objectives At the end of this Chapter you will be able to:  Identify and explain various Cisco.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
IEEE 802.X Standards The Institute of Electrical and Electronics Engineers (IEEE) has developed a series of networking standards to ensure that networking.
Sem1 - Module 7 Ethernet Technologies. This module introduces the specifics of the most important varieties of Ethernet.
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ö.
Simple LAN Topologies  Terminators stop signals after they have reached their destination  Signal bounce –Phenomenon in which signals travel endlessly.
Precision Time Protocol over MPLS draft-ronc-ptp-mpls-00.txt PWE3 WG IETF Chicago 2007 Ron Cohen
Welcome Back Cisco Semester 1 & 2 Review. Why are Networks Complex Environments?? They involve: They involve: –Interconnections to networks outside an.
VCL-SE IEEE-1588v2 PTP Protected Synchronous Packet-Optical Transport Interface Presentation.
H.Z. Peek Nikhef Amsterdam Electronics- Technology KM3NeT General Assembly Meeting Catania, 20-23, February White Rabbit Sub-Nanosecond timing over.
Network Access and Transmission Methods
Pedro Moreira CERN BE-CO-HT
Improving IEEE 1588 synchronization accuracy in 1000BASE-T systems
Redundant network topologies for dependable time transfer
Networking Devices.
PTPv1 and PTPv2 translation IN FTI Systems
G.8275.x telecom time profiles
Lec 2: Protocols.
Synchronization over Ethernet
Precision Time Protocol
Protocol layering and data
PTP SOLUTIONS: Using PTP as a backup to GPS
Optical communications & networking - an Overview
Protocol layering and data
Presentation transcript:

© ZHAW Prof. Hans Weibel, Zurich University of Applied Sciences Synchronization over Ethernet Standard for a Precision Clock Synchronization Protocol according to IEEE 1588 Synchronous Ethernet according to ITU-T G.8261

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 2 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

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 3 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

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 4 The Standard IEEE 1588

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 5 The Standard IEEE 1588 PTP Message Exchange UDP IP MAC Phy PTP UDP IP MAC Phy   Master Clock Slave Clock Delay and Jitter Protocol Stack Delay and Jitter Network Delay and Jitter Protocol Stack Network PTP MII PTPPrecision Time Protocol (Application Layer) UDPUser Datagram Protocol (Transport Layer) IPInternet Protocol (Network Layer) MACMedia Access Control PhyPhysical Layer optional

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 6 The Standard IEEE 1588 Determination of Phase Change Rate (Drift) – one step Sync(t 0 k ) t0kt0k t1kt1k Master ClockSlave Clock Sync(t 0 k+1 ) t 0 k+1 t 1 k+1 Δ0Δ0 Δ1Δ1 Δ 0 = t 0 k+1 - t 0 k Δ 1 = t 1 k+1 - t 1 k Drift = Δ 1 - Δ 0 Δ 1

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 7 The Standard IEEE 1588 Determination of Phase Change Rate (Drift) – two step Follow_up(t 0 k ) Sync() t0kt0k t1kt1k Master ClockSlave Clock Sync() t 0 k+1 Follow_up(t 0 k+1 ) t 1 k+1 Δ 0 = t 0 k+1 - t 0 k Δ 1 = t 1 k+1 - t 1 k Drift = Δ 1 - Δ 0 Δ 1 Δ0Δ0 Δ1Δ1

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 8 The Standard IEEE 1588 Determination of Delay and Offset Follow_up(t 0 ) Sync(t 0 ) t0t0 Delay_Resp(t 3 ) t 3 = t 2 -O+D apparent concurrency O = Offset = Clocks Slave – Clocks Master Delay_Req() t3t3 t2t2 B measured values t 0, t 1, t 2, t 3 A = t 1 -t 0 = D+O B = t 3 -t 2 = D-O Delay D = Offset O = A + B 2 A - B 2 t 1 = t 0 +D+O A O D = Delay Master ClockSlave Clock

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 9 The Standard IEEE 1588 Boundary Clock copes with the Network‘s Delay Fluctuations PTP UDP IP MAC Phy PTP UDP IP MAC Phy   MAC Phy MAC Phy Switch with Boundary ClockMaster ClockSlave Clock Switching Function PTP UDP IP  Slave PTP UDP IP Master

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 10 The Standard IEEE 1588 Topology and „Best Master Clock“ M M S MM M S MM S SSSS Ordinary Clock, Grandmaster: clock selected as „best Master“ (selection based on comparison of clock descriptors) Ordinary Clock Boundary Clock, e.g. Ethernet switch S: Port in Slave State M: Port in Master State

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 11 The Standard IEEE 1588 Version 2 Transparent Clock Delay_Resp(t 3, ∑corr) Time Stamping Master Clock Slave Clock t t t0t0 Sync(t 0, corr) t1t1 Delay_Req(corr + Δ r ) t3t3 t2t2 Sync(t 0, corr + Δ s ) Delay_Req(corr) ΔsΔs ΔrΔr Transparent Clock Δ Residence Time Follow_up(t 0 )

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 12 The Standard IEEE 1588 Version 2 Transparent Clock – End-to-End Delay Measurement M S S S S S Sync Stream e2e Delay Measurement TC

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 13 The Standard IEEE 1588 Version 2 Transparent Clock – Peer-to-Peer Delay Measurement M S S S S S TC Sync Stream p2p Delay Measurement

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 14 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

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 15 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

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 16 Synchronous Ethernet

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 17 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

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 18 Synchronous Ethernet Timing of a Fast Ethernet Link (100 Base-TX) RX_CLK 25 MHz ± 50 ppm TX_CLK RX_CLK PHYMACPHYMAC clk transmission line is driven by clk clk recovered from transmission line clk Symbol Cable

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 19 Synchronous Ethernet Physical Layer Timing in Legacy Ethernet E E E E E E X X X X XX X X

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 20 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.

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 21 Synchronous Ethernet 1000 Base-T uses 4 pairs simultaneously in both directions

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 22 Synchronous Ethernet 1000 Base-T Pysical Layer Signalling with Echo Compensation

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 23 Synchronous Ethernet Timing of a Gigabit Ethernet Link (1000Base-T) RX_CLK 25 MHz ± 50 ppm GTX_CLK RX_CLK PHYMACPHYMAC Master Slave 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. x5x5 CLOCK_IN Cable

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 24 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

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 25 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 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)

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 26 Synchronous Ethernet Clock Sources for a Synchronous Ethernet Switch Clock Selection / Regeneration Oscillator Ext-InExt-Out Port 1 Port 2 Port … Port n

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 27 Synchronous Ethernet Physical Layer Timing in Synchronous Ethernet E E E E E E X X X X PRC X X X X PRC tracable clock (other links and directions are free running)

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 28 Synchronous Ethernet Compared with IEEE 1588 Synchronous Ethernet 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.

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 29 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

© ZHAW / H. Weibel, CERN_Sync_Workshop.ppt / Folie 30 Many thanks for your attention! Zurich University of Applied Sciences Institute of Embedded Systems