Time Synchronization Challenges in Industrial Networks

Similar documents
Quality of Service in Industrial Ethernet Networks

Multicast (Group) Addresses for Layer 2 (Ethernet) Transport of IEEE 1588 PTP Messages, with Application to AVB

Precision Time Protocol (PTP/IEEE-1588)

Choosing the correct Time Synchronization Protocol and incorporating the 1756-TIME module into your Application

Wide Area Monitoring, Control, and Protection

The Role of Precise Timing in High-Speed, Low-Latency Trading

Synchronization and precise timing in packet networks

Using Industrial Ethernet Networks for PROFInet

Using & Offering Wholesale Ethernet Network and Operational Considerations

802.1 AVB Support for Coordinated Shared Network

Joint ITU-T/IEEE Workshop on Next Generation Optical Access Systems. DBA & QoS on the PON - Commonalities with Switching & Routing

ETHERNET TIME & SYNC. In Telecoms, Finance, Power, Broadcast,... ITSF Nice, 6 Nov 2012

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Final for ECE374 05/06/13 Solution!!

Region 10 Videoconference Network (R10VN)

Welcome. People Power Partnership PROFIdag 2013 Peter Van Passen Sales & Business Development Manager HARTING Electric 1/44

ptp++: A Precision Time Protocol Simulation Model for OMNeT++ / INET

VoIP Timing and Synchronization Best Practices

AVnu Alliance Best Practices AVB Software Interfaces and Endpoint Architecture Guidelines

Exhibit n.2: The layers of a hierarchical network

Transport and Network Layer

How To Configure Voice Vlan On An Ip Phone

- Hubs vs. Switches vs. Routers -

PHASOR MEASUREMENT UNIT (PMU) AKANKSHA PACHPINDE

Precision Clock Synchronization

Packet Synchronization in Cellular Backhaul Networks By Patrick Diamond, PhD, Semtech Corporation

Telephone Company Lease Line Elimination. Dewey Day Principal Operational Technology Architect Pacific Gas & Electric

Course Duration: Course Content Course Description Course Objectives Course Requirements

Synchronization Requirements in Cellular Networks over Ethernet

WAN Data Link Protocols

Contents. Connection Guide. What is Dante? Connections Network Set Up System Examples Copyright 2015 ROLAND CORPORATION

Can PowerConnect Switches Be Used in IP Multicast Networks?

What is VLAN Routing?

Objectives. The Role of Redundancy in a Switched Network. Layer 2 Loops. Broadcast Storms. More problems with Layer 2 loops

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

Leased Line + Remote Dial-in connectivity

Technical Bulletin. Enabling Arista Advanced Monitoring. Overview

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

11/22/

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT COMPUTER NETWORKS

Latency on a Switched Ethernet Network

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

Layer 3 Network + Dedicated Internet Connectivity

From Fieldbus to toreal Time Ethernet

Computer Networks CS321

IP Office Technical Tip

Network Discovery Protocol LLDP and LLDP- MED

AVnu Alliance White Paper AVB for Professional A/V Use. Author. Contributors. Executive Summary. Rick Kreifeldt

EVALUATING INDUSTRIAL ETHERNET

Ethernet Service OAM. Standards and Functionality. Connectivity Fault Management (CFM) Fault Detection. White Paper

How To Monitor And Test An Ethernet Network On A Computer Or Network Card

Networked AV Systems Pretest

Performance Measurement of Wireless LAN Using Open Source

Precision Time Protocol on Linux ~ Introduction to linuxptp

VXLAN: Scaling Data Center Capacity. White Paper

Wave Relay System and General Project Details

Using Link Layer Discovery Protocol in Multivendor Networks

Analysis of Industrial PROFINET in the Task of Controlling a Dynamic System**

EAP N Wall Mount Access Point / WDS AP / Universal Repeater

CHAPTER 10 LAN REDUNDANCY. Scaling Networks

Software Stacks for Mixed-critical Applications: Consolidating IEEE AVB and Time-triggered Ethernet in Next-generation Automotive Electronics

Data Communication and Computer Network

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

524 Computer Networks

How To Understand and Configure Your Network for IntraVUE

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

IT Data Communication and Networks (Optional)

Best Practices for Testing Ethernet and Network Synchronization at the Cell Site

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

Deterministic Ethernet and the Intrinsic Value of Synchronization

Wireless LAN advantages. Wireless LAN. Wireless LAN disadvantages. Wireless LAN disadvantages WLAN:

Network Discovery Protocol LLDP and LLDP- MED

John Ragan Director of Product Management. Billy Wise Communications Specialist

CCT vs. CCENT Skill Set Comparison

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

Service Definition. Internet Service. Introduction. Product Overview. Service Specification

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

WHITE PAPER. Packet Time Monitoring in Your Visibility Architecture

Overview of Computer Networks

Virtual LANs. or Raj Jain

Digital Audio Networking Demystified The OSI model helps bring order to the chaos of various digital audio network options.

Introduction Chapter 1. Uses of Computer Networks

Communication Systems Internetworking (Bridges & Co)

APPLICATION NOTE 210 PROVIDER BACKBONE BRIDGE WITH TRAFFIC ENGINEERING: A CARRIER ETHERNET TECHNOLOGY OVERVIEW

Ethernet. Ethernet. Network Devices

TCP in Wireless Networks

IEEE-1588 Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems

SynchronizationoverIP Networks

SYNCHRONIZATION IN PACKET NETWORKS: TIMING METRICS AND MONITORING

QoS Switching. Two Related Areas to Cover (1) Switched IP Forwarding (2) 802.1Q (Virtual LANs) and 802.1p (GARP/Priorities)

VoIP network planning guide

Industrial Requirements for a Converged Network

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Schedule 2e. Additional terms for Ethernet services

Review: Lecture 1 - Internet History

Transport Layer Protocols

A Link Layer Discovery Protocol Fuzzer

Operational Core Network

Lecture 1. Lecture Overview. Intro to Networking. Intro to Networking. Motivation behind Networking. Computer / Data Networks

Transcription:

György Kálmán, Gunnar Prytz, ABB Corporate Research Norway, gyorgy.kalman@no.abb.com Time Synchronization Challenges in Industrial Networks March 13, 2014 Slide 1

Outline Time synchronization background Industrial requirements Current standards Challenges Time sync development efforts Outlook Disclaimer: the following presentation does reflect my opinion which might not necessarily conincide with ABB s view or opinion in the given area. March 13, 2014 Slide 2

Time synchronization background Why is time synchronization important? Applications and precision domains Time synchronization solutions SNTP IEEE 1588v2 -> working on v3 IEEE 802.1AS March 13, 2014 Slide 3

Why is time synchronization important? Distribution of frequency and time In the Telecommunication Industry: Is a requirement also from the telco side to allow use of e.g. carrier Ethernet instead of SDH In Broadcast or other Audio/Video applications: synchronize audio and video streams In automation: Synchronous operation of devices Data logging and stamping Stock market March 13, 2014 Slide 4

Industrial applications and precision domains 1 ms is relatively easy to reach, this is usually enough for SCADA data, time stamped data from protection relays (IEDs) 100 μs for tagging zero crossings 1 μs might be required be e.g. wave fault location, synchrophasor measurements Sub μs: synchronize a multi-axis drive system, logged data time stamping, telco network synchronization There are some exceptions: e.g. circuit breaking on a bus bar will happen if the message is received even if the time stamp is out of sync Clock synchronization requirements can be more strict as the network delay for transmitting the frame March 13, 2014 Slide 5

What is challenging with time synchronization? On standard Ethernet efficiency, speed and delay were important metrics and not keeping synchronous operation (+-100 ppm clock difference) More precise clock is needed or needs to be synced often (several Hz) With the exception of the physical layer (with the previously mentioned clock precision), entities have no connection to a real world clock from the network Out of band time distribution: e.g. IRIG-B, direct GPS clock Synchronous Ethernet Distance from the physical layer has a direct impact on the achievable precision March 13, 2014 Slide 6

Time synchronization solutions SNTP: L3 message exchange, delay=half of (measured roundtrip delay minus processing at remote side). In the ms range IEEE 1588 v2 Current industry standard Sub μs with L2 stamping (optional, but often used) Also for IEEE 1588: one-way transmission delay is one half of round-trip IEEE 802.1AS Simplified and extended profile for IEEE 1588v2 First intended for AV applications March 13, 2014 Slide 7

IEEE 1588 overview The preferred technology for time synchronization IEEE 1588 ed. 2 from 2008 is rapidly emerging as the preferred time synchronization technology in most domains including automation IEEE 1588 enables nodes on a network to synchronize their clocks to a clock master IEEE 1588 packets are exchanged with timing and delay information Used by the nodes to adjust their local clocks Very accurate synchronization possible (1 µs or even better) when the infrastructure and end nodes have sufficient support IEEE 1588 Hardware timestamping of IEEE 1588 packets is needed for this level of accuracy Many CPUs, MACs, PHYs, switch chips, switches and routers now support timestamping of IEEE 1588 packets ABB Group March 13, 2014 Slide 8

Time synchronization landscape Need SDH Price Precision 5 4 3 2 1 0 Range SNTP Price Precision 5 4 3 2 1 0 Range Synchronous telecommunication networks are expensive and industry wants to use cheaper and more flexible links. Industry needs higher precision than what is offered by the generic protocols Layer Networks Layer Networks Distributed systems offer more flexibility for industry IEEE 1588v2 Price Precision 5 4 3 2 1 0 IEEE 802.1AS Precision 5 4 3 Range Price 2 1 0 Range No E.g.: precision using SNTP on the application layer is several milliseconds, not adequate for motion control protocol for high precision sync over wireless sensor networks Layer Networks Layer Networks protocol for precise sync over IP routing for time synchronization Support for asymmetric delays

IEEE 1588v2 Precision Time Protocol Current standard choice for time synchronization PTP can work over non-time aware infrastructure (then it uses filtering for variable delays) Can be deployed on existing infrastructure Current solution needs to be revised as It is a hack Transparent clocks break the IEEE bridge model by modifying frames on the fly without changing the Source Address Limited to Ethernet Image from: http://machinedesign.com/archive/industrial-networks-get-synced March 13, 2014 Slide 10

IEEE 1588 ed. 2 Profiles for IEC 61850 and PROFINET IEC 61850 profile for PTP: IEEE C37.238-2011 PROFINET profile for PTP: IEEE 802.1AS-2011 These two profiles are different what are the implications? ABB Group March 13, 2014 Slide 11

Comparing the PTP variants ABB Group March 13, 2014 Slide 12 IEEE 1588 ed. 2 IEEE C37.238 IEEE 802.1AS Date of release 2008 2011 2011 Physical media IEEE 802.3 Ethernet, some fieldbuses IEEE 802.3 Ethernet IEEE 802.3 Ethernet, IEEE 802.11 WLAN, IEEE 802.3 EPON, CSN (generic) Node types supported Boundary, ordinary, E2E transparent, Boundary, ordinary, P2P transparent Boundary, ordinary P2P transparent, management Path delay P2P and E2E P2P P2P Time processing method One-step and two-step One-step and Two-step Two-step OSI layers supported L2 and L3 L2 L2 Clock domains Many Many One PTP frames used Announce, Sync, Management, PdelayReq, PdelayResp (Follow_Up, PdelayReq_Follow_up) Announce, Sync,, Pdelay_Req, Pdelay_Resp (Follow_Up, PdelayReq_Follow_Up), No Management message defined Announce, Sync, Follow_Up, Pdelay_Req, Pdelay_Resp, Pdelay_Resp_Follow_Up,Signaling, No Management message defined VLAN tagging of PTP frames Optional Mandatory, untagged frames accepted Not allowed EtherType 0x88F7 0x88F7 0x88F7 TLV Optional. Unknown TLVs are ignored. Mandatory TLVs: Announce. Unknown TLVs are ignored Mandatory TLVs: Announce, Follow_Up. Unknown TLVs are ignored. Announce period 2-124 2 123 s 1s (no range allowed) Default: 1 s (All PTP values allowed) Sync period 2-124 2 123 s 1s (no range allowed) Default: 125 ms (All PTP values allowed) Time format 48 bit second 32 bit nanosecond 48 bit second 32 bit nanosecond 48 bit second 32 bit nanosecond Precision Implementation dependant (typically Implementation dependant (typically sub Implementation dependant (typically sub sub microseconds) microseconds) microseconds) BMCA Standard PTP BMCA Standard PTP BMCA Simplified PTP BMCA Local clock precision Not specified 50 ns jitter (TC), 0.2 µs jitter (GMC) 100 ppm Syntonization Optional Optional? Mandatory Time base TAI TAI TAI Leap seconds Indirectly handled Indirectly handled Indirectly handled Holdover time Not specified Within 2 µs for 5s Sync timeout default value: 1s Signaling Optional Not used Mandatory Management Optional Different from IEEE 1588 Mandatory? Backup master Via BMCA Via BMCA Via BMCA (simplified) MIB Optional Specified, mandatory for grandmaster Specified capable devices GrandmasterID Mandatory? Mandatory Mandatory?

Address usage by PTP profiles Several inconsistencies Frame type IEEE 1588 ed. 2 Destination address Sync frames Follow_Up Pdelay_Req 01-1B-19-00-00-00 IEEE 802.1AS Destination address C37.238 Destination address 01-1B-19-00-00-00 01-1B-19-00-00-00 Pdelay_Resp 01-80-C2-00-00-0E 01-80-C2-00-00-0E 01-80-C2-00-00-0E Pdelay_Resp_Follow_Up Announce frames Signaling frames 01-1B-19-00-00-00 01-1B-19-00-00-00 Not used 01-80-C2-00-00-0E is also used by LLDP Needs to be handled properly in nodes with support for both PTP and LLDP not enough to discriminate by MAC address in driver layer (use EtherType) ABB Group March 13, 2014 Slide 13

IEEE 802.1AS Originally from Audio Video Bridging now Time Sensitive Networking (TSN) WG Requires time-aware infrastructure Is a well-defined restricted profile for IEEE 1588v2 Implements proper separation of protocol elements: abstraction of the physical network It also extends network support March 13, 2014 Slide 14

Challenges - Asymmetric delay Measurement and averaging in both IEEE 802.1 AS and IEEE 1588 is based on the assumption of symmetric delays Typically no problem on LANs, problem on WAN Per hop forwarding decision How to provide end-to-end quarantees Figure from Cisco March 13, 2014 Slide 15

Challenges Support for heterogenous networks Inclusion the time sync into quality of service parameters Bandwidth reservation e.g. using RSVP Synchronization in wireless sensor networks Using Transparent Clocks is an elegant solution but breaks the bridge model by modifying frames on the fly without updating source field March 13, 2014 Slide 16

IEEE 1588 vs. IEEE 802.1Q Compliance with the Ethernet switching standad ABB Group March 13, 2014 Slide 17 IEEE 1588 (ed. 2) is not 100% compliant with IEEE 802.1Q 1-step transparent clocks: Sync frames are updated on the fly by a compliant node The source address of the packet is not updated Thus: a node generates a packet with the source MAC address of some other node 2-step transparent clocks: Sync frames and Follow_Up frames are updated by a compliant node The source address of the packet is not updated Thus: a node generates two packets with the source MAC address of some other node This issue is currently being discussed by a IEEE 802.1 working group IEEE 1588 behavior most likely allowed but could create problems Note: transparent clock has to be implemented as a higher layer entity not just as a MAC relay entity (switch) The issue is not solved by updating the source address, as then the recipient will have no knowledge on the sender

Protocol develompent 802.1ASbt Explicit support for one-step processing Backwards compatible to two-step Hot standby for backup grand master clocks Multiple paths for clock propagation Clock path quality metric 1588v3 Have a proper protocol split WAN sync: provide end-to-end quality information Find a solution for the TC layer violation March 13, 2014 Slide 18

Outlook Importance grows Coverage for heterogenous networks, including wireless sensors Wide range of possible usage areas, including smart grid, distributed SCADA environments or in general, for services using a packet switched bearer network Find a solution on the use of transparent clocks March 13, 2014 Slide 19

March 13, 2014 Slide 20