View
222
Download
6
Category
Preview:
Citation preview
Intro To Timing Synchroniza1on Fundamentals Steve McQuarry / Equinix smcquarry@equinix.com DraB-‐V3
Network Synchroniza1on
Wireless Base Station
SSU/TimeHub
TDM
Access (CES/PWE)
TimeProvider
TDM TDM
TDM
TDM
Telecom Synchroniza1on
• Synchroniza+on in telecommunica+ons networks is the process of aligning the *me scales of digital transmission and switching equipment so equipment opera*ons occur at the correct *me and in the correct order
• Synchroniza+on is especially cri+cal for real +me services, such as voice and video
• The impacts of poor synchroniza+on are: Call setup, takedown, and management problems
Degraded speech quality and audible clicks Degraded data traffic throughput
Freeze-‐frames and audio pops on video transmissions
Call disconnects during mobile call hand-‐off
Par+al or complete traffic stoppage
Synchroniza1on Requirements
TA=1/fA
TB=1/fB
fA=fB
Frequency Synchronization
A
B t
t
TA=1/fA
TB=1/fB
fA=fB
Phase Synchronization
A
B
01:00:00 TA=1/fA
TB=1/fB
fA=fB
Time Synchronization 01:00:10
01:00:00 01:00:10
A
B
t
t
t
t
Stratum Levels
• Performance levels, or stratum, are specified by ANSI and Telcordia • Telecom networks should always be traceable to Stratum 1 – the office’s Primary Reference Source • Holdover is the ability of a system to maintain frequency accuracy if its Stratum 1 reference timing has been lost • A slip, a measure of a synchronization error, it is a frame (193 bits) shift in the time difference between two signals
Stratum Clock Type Accuracy 1st HO Slip Pull-In
1 Cesium/GPS 1 x 10-11
2 Rubidium 1.6 x 10-8 ~ 14 days 1.6 x 10-8
3E Precision Quartz 1 x 10-6 ~ 48 hours 1 x 10-6
3 Transport 1 x 10-6 minutes 1 x 10-6
4 CPE 3.2 x 10-6 N/A 3.2 x 10-6
Warm up – ini1aliza1on/1me/no output
Acquire – valid reference
Locked – normal state/1me/takes on the quality of input reference
Holdover – output/driB
Free run – 1me will return to nominal rate of oscillator
Primary Reference Source Clocks
Equipment that provides a timing signal whose long-term accuracy is maintained at 1 x 10-11 (stratum 1) or better with verification to coordinated universal time (UTC) and whose timing signal may be used as the basis of reference for the control of other clocks.
- ANSI T1.101
Primary Reference Source
TSG
PRS
Cesium
GPS
PacketPRS
Loran-C
CDMA
Primary Reference Source
TSG/SSU Architecture
TOTA-M Output Card
Input Card
Input Card
Clock Card
A
Clock Card
B
Output Cards
Alarm and comm. Card
...
1…x
1…x
1…x
Timing distribution inside the office Holdover Redundancy - No single-point of failure Filtering (FLL vs. PLL)
Timing Signal Generator
Building Integrated Timing Supply, BITS The Heartbeat of the Network
Virtually every NE connects to and is dependent on the sync infrastructure
Synchronization integrity impaired…
Synchronous –
• T1 tributary mapped in has the clock of the SONET network
• Frequency offset results in slips if SONET network and T1 network are not plesiochronous.
• Slip buffers used to compensate for frequency offset
• Loss or corrup1on of data
Asynchronous –
• T1 tributary mapped maintains the source clock of the T1 network
• frequency offset between T1 network and SONET network generates VT1.5 pointer movements but to slips
• Frequency offset jus1fied by bit-‐stuffing
• VT1.5 pointers = ji_er
SONET Mapping
Other Specific Modes
• Loop Timing for SONET Terminals • Through Timing for Uni-Path
Switched Rings/IXC/Regeneration applications
• Internal Timing for Point-To- Point applications
NE
Line Timing
OC-N OC-N
OC-N
ADM
NE
PRS&TSG External Timing
OC-N OC-N
PRS
Working
Protected
OC-N
ADM
TSG
Primary Timing Secondary Timing Input connection point
NE
TSG
TSG External Timing
OC-N OC-N
Derived DS1/E1
OC-N
ADM
SONET
Frequency-lock loop control of direct digital synthesizer in SSU provides mechanism to filter short-term instability on cascaded timing signals.
Most effective with long time constant made possible by Rubidium oscillator because of its exceptional stability.
SSU
PRS
ADM ADM
SSU
ADM ADM
Line timing
TSG functions Intra-office timing distribution Holdover Redundancy Filtering
EXT Timing Mode
EXT Timing Mode
Timing Degrada1on
Synchronization integrity impaired…
TDM Timing Issues –
• Short-‐term instability – JiHer Wander Phase Transients MTIE & TDEV
• Long-‐term accuracy – Frequency Offset Phase & Frequency
• What you see – Bit-‐errors Slips Pointer ac+vity Holdover & Clock Alarms
Packet Timing Issues –
• Packet JiHer (PDV) • Asymmetry
+me/phase for +me transfer • Latency or Delay • Packet Loss
MinTDEV MRTIE
Poor synchronization is the most common, non-obvious, cause of service degradation
Synchroniza1on Integrity Impaired
Network Time Protocol (NTP)
• Internet protocol for synchronizing system clocks, via +me stamps, over a packet network
• Uses Universal Coordinated Time (UTC) as reference from GPS constella+on
• IP Client/Server architecture Time stamps delivered via LAN/WAN
• Developed in 1985 at U of Delaware Air traffic control was one of first applica+ons
Widely employed in informa+on technology domain, e.g. every PC
• Telecom NEs with NTP clients include so:switches, routers, IP transport, and mobile switching centers
Network Time Protocol (NTP)
Carrier Class NTP
Enterprise NTP
Carrier Class NTP • High Performance, High Accuracy • UTC Traceable • Five Nines Availability and Reliability • Security and Authen+ca+on • Management and Monitoring • Suitable for mission-‐cri+cal
applica+ons
Telecom NTP
* Set Top Box or Residential Gateway
Enterprise/Data Center NTP • Best Effort Delivery • Accuracy -‐-‐-‐ 10s of seconds (WAN) • Enterprise Implementa+on • Traceability is Not Assured • Not secure or authen+cated – spoofing • Not designed for mission cri+cal applica+ons
Carrier-‐Class Timing Architecture
EDGE ROUTER
Switch Complex
SSU-2000 w/PackeTime NTP SERVER BLADES
Data Servers
IP Microwave
MSPP
IP Transport
Other NTP Client
BACKUP
PRIMARY
Changing Landscape of Telecommunica1ons
Networks are Transi1oning to IP
Wireless Base Station
SSU/TimeHub
TDM
Access (CES/PWE)
TimeProvider
TDM TDM
TDM
TDM
Network Sync Must Transi1on Too
Wireless Base Station Ethernet
SSU-2000
Access (CES/PWE)
TimeProvider
Ethernet
Ethernet Ethernet
Ethernet
Frequency Delivery Strategies
Synchronization Strategies
E1/T1 Circuit(s) Strategy based on use of legacy PDH systems. This method is only applicable to TDM networks.
Adaptive Clock Recovery A vendor specific book-end solution used to support TDMoIP services. ACR methods are not industry standard compliant.
GPS Radio Good performance, supporting wide range of applications. Cost, vulnerability and maintenance issues limit wide scale use.
Synchronous Ethernet An end-to-end solution that mirrors, and is a substitute for, the physical layer frequency distribution schemes of SONET/SDH.
IEEE 1588-2008 (PTP) Layer 2/3 time transfer technology that can deliver frequency and time. Alternative to SyncE for frequency distribution.
E1/T1
Packet
ACR
Packet
SyncE
Packet
1588-v2
Packet
Time/Phase Delivery Strategies
Synchronization Strategies
IEEE 1588-2008 (PTP) Layer 2/3 time transfer technology that can deliver frequency and time. Alternative to SyncE for frequency distribution.
GPS Radio Good performance, supporting wide range of applications. Cost, vulnerability and maintenance issues limit wide scale use. Packet
1588-v2
Packet
IEEE 1588-‐2008 Profiles IEEE 1588-‐2008 …
• -‐2008 defined for all applica+ons … barrier to interoperability
• profiles define applica+on related features from the full specifica+on, enabling interoperability
Default Profile Defined in Annex J. of 1588 specification LAN/Industrial Automation Application (v1)
Power Profile Defined by IEEE PSRC (C37.238) Substation LAN Applications
Telecom Profile Defined by ITU-T (G.8265.1) Telecom WAN Applications
What is IEEE 1588?
• IEEE 1588 is a protocol that enables precise distribu+on of +me and frequency over packet-‐based networks.
► IEEE 1588 was originally for a building/factory, and version-‐2008 contains enhancements for Telecommunica+on networks (Telecomm Profile).
► The “Server” clock sends a series of messages to slaves to ini+ate the synchroniza+on process. Clients synchronize themselves to their Server.
► Network equipment manufacturers are building slaves (clients) into their latest equipment, e.g. IP DSLAM, OLT, and eNodeB (LTE base sta*ons).
Grandmaster (Server)
Slave (Client)
IP Network
Slave (Client)
Slave (Client)
IP Sync & Timing with IEEE-‐1588
• Any service where synchroniza+on over Ethernet is needed, such as: Wireless Ethernet backhaul (base sta+on synchroniza+on), below
Packet PRS -‐ primary reference over IP (IP equivalent of derived OC-‐N)
Enterprise applica+ons requiring synchroniza+on
Extra slides that may be of use
How Is Precision Possible?
• Message Exchange Technique Frequent “Sync” messages broadcast between master & slaves, and delay measurement between slaves and master
• Hardware-‐Assisted Time Stamping Time stamp leading edge of IEEE 1588 message as it passes between the PHY and the MAC
Removes O/S and stack processing delays
• Best Master Clock (BMC) Algorithm
IEEE 1588-‐2008 Traffic Impact
Message Packet Sizes • Signaling (request) 96 bytes (54) • Signaling (ACK/NACK) 98 bytes (56) • Announce message 106 bytes (64) • Sync message 86 bytes (44)
• Follow_Up message 86 bytes (44) • Delay_Resp(onse) 96 bytes (54) • Delay_Req(uest) 86 bytes (44)
In-‐band Traffic Rate Using the following typical values:
• Announce interval 1 per second • Sync interval 64 per second
• Lease dura+on 300 seconds • Delay_Req(uest) 64 per second • Delay_Resp(onse) 64 per second
Peak traffic transmiHed in one second:
(96x3)+(98*3)+106+64x(86+96+86)
= 17840 bytes
= 0.017% of Fast Ethernet (100mbps)
= 0.00166% of GigE
() 1588 only message size in bytes
Introducing IEEE 1588 Elements
• Ordinary Clocks Grandmaster & Slave (client)
• Boundary Clock Regenerates PTP message, elimina+ng earlier path delays (Switch with a built-‐in clock)
• Transparent Clock Adjusts the correc*on field in the sync and delay_req event messages (Switch with ability to measure packet residence +me)
• Management Node Human/programma+c interface to PTP management messages
On-‐Path Support
• Transparent Clock , Switch not a Clock
Measures 1588 packet delay inside the switch (residence +me)
Modifies (adds) residence +me to the correc*on field in the 1588 message
Limited to non-‐encrypted networks
Correc*on field must be accurate
• Boundary Clock, Switch with built-‐in clock
Internal clock synchronized via 1588 to the upstream master
Regenerates 1588 messages
Slave on 1 port, master on other ports
Interrupts the Sync flow The burden of holdover, reliability and traceability is on the boundary clock
Transparent Clock
Residence Time = Egress Time –Arrival Time
Arrival Time
Egress Time
PTP Packet
PTP Packet
Boundary Clock
Slave
GMC
IEEE 1588-‐2008 Message Overview
The Grandmaster (Server) sends the following messages:
• Signaling (2 types) – Acknowledge TLV (ACK) – Nega+ve Acknowledge TLV (NACK)
• Announce message
• Sync message
• Follow_Up message
• Delay_Resp(onse)
The Slave (Client) sends the following messages:
• Signaling (3 types) – Request announce – Request sync – Request delay_resp(onse)
• Delay_Req(uest)
Message Headers entering the PHY are the “on-time” marker
IEEE 1588 Rou1ng Op1ons
Mul+cast • Grandmaster broadcasts PTP packets to a Mul+cast IP address
• Switches/Routers… – With IGMP snooping, forwards mul+cast packets to subscribers
– Else traffic broadcast to all ports
• Mul+cast Sync Interval; Default Profile:
– 0.5 Hz, 1Hz & 2 Hz (1 packet/ 2 seconds up to 2 packets/second)
Unicast • Grandmaster sends PTP packets directly to PTP slaves
• Switches/Routers forward PTP packets directly to slaves
• Unicast Sync Interval; Telecom Profile:
– User defined Sync interval up to 128Hz
– Many subscribers supported
Mul+cast (1:group) Unicast (1:1)
SLA for PTP Flow
Bandwidth Capacity
Maximum Loading
Intermi_ent Conges1on
QoS Hop Count
Switch A_ributes
Minimum 1GigE (Core)
80% Average
100% load for less than 100s
Highest Priority
Frequency (10 hops)
Time (5 hops)
Hardware Forwarding
QoS
Ji_er (Highest Priority Traffic QoS)
250 us to 10 ms PTP client algorithms use only a frac+on of total packets, the ones with the best quality (low PDV). Packets with high PDV are not used. So high jiHer can be tolerated if the distribu+on of the jiHer includes sufficient high quality packets.
SyncE Overview
What is Synchronous Ethernet? Schema that transports frequency at the Ethernet physical layer
Implemented in the IP transport element hardware, i.e. SyncE enabled
End to End scheme similar to SONET, synch traceable to office PRS
All switches must be SyncE enabled to transport synchroniza+on
ITU-‐T G.8261, G.8262 and G.8264 define Synchronous Ethernet
Frequency Transported by SYNC-‐E PHY
SyncE Switch
Ethernet Frames
T1/E1 Service
CENTRAL OFFICE
SSU SyncE Switch
SyncE Switch
SyncE Switch
SyncE Overview
How is SyncE different from normal Ethernet?
Standard Ethernet PHY (Physical Layer)
Rx uses the incoming line +me. Tx uses the built-‐in 100ppm clock
No rela*onship between the Rx & Tx
SyncE PHY (Physical Layer)
Rx disciplines the internal oscillator (4.6ppm)
Tx uses the traceable clock reference, crea+ng end-‐end scheme
As with SONET the PRS provides the reference
SyncE and standard Ethernet switches cannot be mixed
100 ppm
TX TX
RX RX
4.6 ppm
TX TX
RX RX
TX
RX
TX TX
RX RX
Ext.Sync
Inaccurate
100 ppm
4.6 ppm
TX
RX
Accurate
SyncE Switch Ethernet Switch
• Extra slides that may be of use.
Commonly Used Terms
Meanings of common terms used in IEEE 1588 Boundary clock A boundary clock is a clock with more than a single PTP port, with each PTP port providing
access to a separate PTP communica+on path. Boundary clocks are used to eliminate fluctua+ons produced by routers and similar network elements.
Clock A device providing a measurement of the passage of +me since a defined epoch. There are two types of clocks in 1588: boundary clocks and ordinary clocks.
Clock +mestamp point
1588 requires the genera+on of a +mestamp on transmission or receipt of all 1588 Sync and Delay_Req messages. The point in the outbound and inbound protocol stacks where this +mestamp is generated is called the clock +mestamp point.
Direct communica+on
The communica+on of PTP informa+on between two PTP clocks with no intervening boundary clock is termed a direct communica+on.
External synchroniza+on
It is owen desirable to synchronize a single clock to an external source of +me, for example to a GPS system to establish a UTC +me base. This synchroniza+on is accomplished by means other than those specified by 1588 and is referred to as external synchroniza+on
Epoch The reference +me defining the origin of a +me scale is termed the epoch.
Grandmaster clock Within a collec+on of 1588 clocks one clock, the grandmaster clock, will serve as the primary source of +me to which all others are ul+mately synchronized.
hHp://ieee1588.nist.gov/terms.htm
Commonly Used Terms
Meanings of common terms used in IEEE 1588 Master clock A system of 1588 clocks may be segmented into regions separated by boundary clocks. Within
each region there will be a single clock, the master clock, serving as the primary source of +me. These master clocks will in turn synchronize to other master clocks and ul+mately to the grandmaster clock.
Message +mestamp point
1588 Sync and Delay_Req messages contain a dis+nguished feature, the message +mestamp point, serving as a reference point in these messages. When the message +mestamp point passes the clock +mestamp point, a +mestamp is generated that is used by 1588 to compute the necessary correc+ons to the local clock
Ordinary clock A clock that has a single Precision Time Protocol (PTP) port in a domain and maintains the +mescale used in the domain. It may serve as a source of +me, i.e., be a master clock, or may synchronize to another clock, i.e., be a slave clock.
Preferred master clock set
1588 allows the defini+on a set of clocks that will be favored over those not so designated in the selec+on of the grandmaster clock.
PTP PTP is an acronym for Precision Time Protocol, the name used in the standard for the protocol.
PTP domain A PTP domain is a collec+on of one or more PTP sub domains. A sub domain is a logical grouping of 1588 clocks that synchronize to each other using the PTP protocol, but that are not necessarily synchronized to PTP clocks in another PTP sub domain. Sub domains provide a way of implemen+ng disjoint sets of clocks, sharing a common network, but maintaining independent synchroniza+on within each set.
hHp://ieee1588.nist.gov/terms.htm
Commonly Used Terms
Meanings of common terms used in IEEE 1588 PTP message There are five designated messages types defined by 1588: Sync, Delay_Req, Follow-‐up,
Delay_Resp, and Management
Mul+cast communica+on
1588 requires that PTP messages be communicated via a mul+cast. In this style of communica+on any node may post a message and all nodes in the same segment of a sub domain will receive this message. Boundary clocks define the segments within a sub domain.
PTP port A PTP port is the logical access point for 1588 communica+ons to the clock containing the port.
Synchronized clocks Two clocks are synchronized to a specified uncertainty if they have the same epoch and measurements of any +me interval by both clocks differ by no more than the specified uncertainty. The +mestamps generated by two synchronized clocks for the same event will differ by no more than the specified uncertainty.
hHp://ieee1588.nist.gov/terms.htm
Synchroniza1on Impact
Applica1on Frequency Phase Need for
Compliance Impact of
Non-‐compliance
16 ppb
16 ppb
16 ppb
16 ppb
N/A
± 1.5 µs Time difference
± 32 µs inter-‐cell Time difference
± 0.5 µs inter-‐cell Time difference
Hand-‐off
Time slot alignment
Coherent video signal from mul1ple eNodeB
Coordina1on of signals from mul1ple eNodeB
Dropped calls
Interference, Bandwidth efficiency
Video service degrada1on
Slower throughput and Poor signal quality at edge of cells, Accuracy of LBS
LTE (FDD)
LTE (TDD)
LTE MBSFN
LTE-‐A MIMO/CoMP
LTE Synchroniza1on
Applica1on Frequency (Air Interface)
Time /Phase Why You Need to Comply
Impact of Non-‐compliance
50 ppb
50 ppb
50 ppb
50 ppb
2 ppm absolute, ~50 ppb between base sta+ons
N/A
+/-‐ 1.5 µs Time difference
+/-‐ 32 µs inter-‐cell Time difference
+/-‐ 500 ns (0.5 µs) inter-‐cell Time difference
Typically 1 -‐8 µs
Call Ini+a+on
Time slot alignment
Proper +me alignment of video signal decoding from mul+ple BTSs
Coordina+on of signals to/from mul+ple base sta+ons
Time slot alignment
Call Interference Dropped calls
Packet loss/collisions Bandwidth efficiency
Video broadcast interrup+on
Poor signal quality at edge of cells
Packet loss/collisions Bandwidth efficiency
LTE (FDD)
LTE (TDD)
LTE MBSFN
LTE-‐A MIMO/COMP
WiMAX (TDD) includes Femtocell
Frequency and Time Specifica+ons
Applica1on Frequency: Transport / Air Interface
Phase
LTE (FDD)
LTE (TDD)
LTE MBSFN
LTE-‐A CoMP (Network MIMO)
WiMAX (TDD)
CDMA2000
TD-‐SCDMA
GSM / UMTS / W-CDMA
UMTS/ W-‐CDMA Femtocells
GSM, UMTS, LTE Network Interface
N/A
+/-‐ 1.5 µs small cell, +/-‐ 5µs large cell
+/-‐ 1-‐32 µs, implementa1on dependent
+/-‐ 500 ns (0.5 µs), pre-‐standard
+/-‐1 -‐ 8 µs, implementa1on dependent
16 ppb / 50 ppb
16 ppb / 50 ppb
16 ppb / 50 ppb
16 ppb / 50 ppb
16 ppb / 50 ppb
16 ppb / 50 ppb
n/a / 200 -‐ 250 ppb
16 ppb / 50 ppb
N/A
16 ppb / 50 ppb
16 ppb / 50 ppb
+/-‐3 – 10 µs
+/-‐ 1.5 µs
Recommended