SyncE Technology White Paper
SyncE Technology White Paper
SyncE Technology White Paper
Copyright © 2021 New H3C Technologies Co., Ltd. All rights reserved.
No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New
H3C Technologies Co., Ltd.
Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are
the property of their respective owners.
This document provides generic technical information, some of which might not be applicable to your products.
The information in this document is subject to change without notice.
Contents
Overview ······································································································· 1
Technical background ········································································································································ 1
Comparison of time synchronization solutions ··································································································· 1
Benefits ······························································································································································ 2
Implementation ······························································································ 2
Time synchronization basics ······························································································································ 2
Frequency synchronization ························································································································ 2
Phase synchronization ······························································································································· 3
Clock sources····················································································································································· 3
Clock reference selection ··································································································································· 3
About automatic clock reference selection································································································· 4
Automatic clock reference selection process ····························································································· 5
Synchronization mechanism ······························································································································ 6
System clock working mode······························································································································· 7
Avoiding timing loops ········································································································································· 7
Avoiding timing loops on a direct link ········································································································· 8
Avoiding timing loops on a ring network····································································································· 8
Application scenarios ····················································································· 9
Network frequency synchronization through SyncE ·························································································· 9
SyncE frequency synchronization + PTP phase synchronization ···································································· 10
References ·································································································· 11
i
Overview
Technical background
The correct operation of many services on the communication network requires network time
synchronization. Time synchronization includes both frequency synchronization and phase
synchronization. The network devices on a network are time synchronized only when their frequency
and phase differences are maintained within a reasonable error range.
Network services have different requirements for time synchronization accuracy. Among them, the
wireless access service has the highest requirements, requiring that the frequencies of wireless
base stations are synchronized within certain accuracy. If the wireless base stations do not reach the
synchronization accuracy, the mobile endpoints go offline easily when moving between base
stations and might fail to connect to the Internet in severe cases. Table 1 describes the requirements
of different wireless technologies for time synchronization accuracy.
Table 1 Requirements of wireless technologies for time synchronization accuracy
Frequency
Wireless technology synchronization Phase synchronization accuracy
accuracy
GSM 0.05 ppm N/A
WCDMA 0.05 ppm N/A
WiMax FDD 0.05 ppm N/A
LTE FDD 0.05 ppm N/A (except for MB-SFN<+/-1us, LBS)
TD-SCDMA 0.05 ppm +/-1.5 us
CDMA2000 0.05 ppm +/-3 us
WiMax TDD 0.05 ppm +/-1.5 us+/-1 us
LTE TDD 0.05 ppm +/-1.5 us
Synchronous Ethernet (SyncE) is a synchronization technology that transfers clock signals over the
physical layer. It provides high-precision frequency synchronization between network devices and
can meet the requirements of wireless access services for frequency synchronization. SyncE and
PTP technologies are typically used together to provide both frequency and phase synchronization
and deliver nanosecond-level synchronization accuracy. For information about PTP technology, see
PTP Technology White Paper.
1
Time sync Frequency Phase Sync
Description
solution sync sync accuracy
provides time synchronization. In recent
years, the accuracy of GPS has been
continuously improved.
Uses electromagnetic waves to carry
frequency and phase information and
provides time synchronization. The BDS
BDS Supported Supported ns level network is currently under construction and
is expected to provide more ubiquitous,
integrated, and smarter navigation,
positioning, and timing services by 2035.
Benefits
Transferring clock signals over the Ethernet physical layer, SyncE is not affected by the upper layer
protocols or network conditions such as congestion, packet loss, and delay.
Implementation
Time synchronization basics
Frequency synchronization
Frequency synchronization is also called clock synchronization. If two signals are the same in
frequency or if they keep a constant phase difference, the two signals are frequency synchronized.
As shown in Figure 1, the two watches have different time, but maintain a constant time difference (6
hours).
2
Figure 1 Frequency synchronization
Phase synchronization
Phase synchronization is also called time synchronization. If two signals are the same in frequency
and phase (keep phase difference at 0), they are phase synchronized. As shown in Figure 2, the two
watches have the same time at all times. Frequency synchronization is the prerequisite for phase
synchronization.
Figure 2 Phase synchronization
Clock sources
SyncE supports the following clock sources:
• BITS—Building integrated timing supply clock. The device has BITS ports to receive and send
BITS timing signals.
• Line clock—Timing signal extracted from the signal received on a SyncE-enabled port from a
higher-level device. Line timing signal is less precise than BITS timing signal.
• PTP—Timing signal obtained through PTP. PTP timing signal is less precise than BITS timing
signal.
• Local clock source—38.88 MHz timing signal generated by a crystal oscillator on the clock
daughter card. The local clock signal has the lowest precision.
3
• Automatic reference selection—The system selects the optimal clock automatically as its
clock reference. If the signal of the clock reference is lost, the device selects the next optimal
clock as its reference and keeps time synchronized with the new reference.
IMPORTANT:
You can configure whether to use SSM levels in automatic clock reference selection.
• If the clock sources are unreliable, you can choose to not use SSM levels in automatic reference selection,
or specify SSM levels manually for the clock sources.
• If the clock sources are reliable, use SSM levels in automatic clock reference selection as a best practice.
SSM levels play an important role in automatic selection of an optimal clock and prevention of timing
loops. The devices use Ethernet synchronization messaging channel (ESMC) messages to transmit
the SSM level of their system clocks.
• After SyncE is enabled on an interface, the device sends an ESMC information message once
a second from the interface to inform the neighbor devices of the SSM level of its clock signal.
• When the clock reference selected by the device changes, the device immediately sends an
ESMC event message carrying the SSM level of the new clock reference to notify the
downstream devices of the change in the SSM level. At the same time, it resets the ESMC
information message sending timer, and periodically sends ESMC information messages with
the new SSM level to the neighbor devices.
Clock source priority
You can assign a priority to the BITS, PTP, and line clock sources available for the device. The
priority is valid locally and will not be passed to neighboring devices.
By default, a clock source has a priority value of 255 and does not participate in clock reference
election. For a clock source to participate in clock reference election, assign a priority to it. The
4
smaller the priority value, the better the clock source. Among the clock sources supported by the
device, the local clock has the lowest priority and you are not allowed to assign a priority to it.
5
Figure 3 Automatic clock reference selection process
Select a clock
reference
No Has an external
clock source?
Yes
Yes
Higher
Compare SSM levels
Equal
Higher
Compare priorities
Equal
Equal
Clock reference
selected
Synchronization mechanism
After selecting the clock reference, the device starts tracing the reference for clock (frequency)
synchronization with it.
The Ethernet physical layer uses FE or GE technology to add an additional bit into every fifth bit
position. As a result, the data stream transmitted over the Ethernet physical layer will not contain
more than four contiguous 1s or 0s and can effectively transmit clock information. With this
information transmission mechanism, SyncE sends high-precision clock information from the
transmitting end, recovers and extracts the clock signals at the receiving end, and uses the clock
information on the receiving end to transmit data streams.
As shown in Figure 4, external clock source 1 is more reliable than external clock source 2 and is
selected as the clock reference. Device A and Device B synchronize to the frequency of external
clock source 1. The synchronization mechanism is as follows:
• On the transmitting end
a. Among the clock sources available for Device A, external clock source 1 has the highest
SSM level. Device A selects external clock source 1 as its clock reference.
b. Device A extracts the clock signal from external clock source 1 and injects the clock signal
into the PHY chip on the Ethernet interface card.
6
c. The PHY chip adds the high-precision clock information into the serial code stream on the
Ethernet link and sends it to downstream Device B.
• On the receiving end
a. The PHY chip on the Ethernet interface card on Device B extracts the clock information from
the received serial code stream, derives the frequency signal, and then sends it to the clock
daughter card.
b. The clock daughter card performs the following tasks:
i Compares the line clock signal received on the interface, the clock signal input from
external clock source 2, and the clock signal generated by the local crystal oscillator.
ii Selects the line clock signal as the clock reference based on the automatic source
selection algorithm.
iii Sends the clock signal to the PLL.
c. The PLL tracks and synchronizes the system clock with the clock reference. Then it
distributes the system clock signal to the service modules of the device and injects the
system clock signal into the PHY chip on the Ethernet interface card for distribution to
downstream devices.
Figure 4 SyncE clock synchronization mechanism
Device A Device B
Transmit Receive
High- Clock sync
Service
precision PHY PHY
clock modules
Line System
clock clock
Clock
daughter PLL
card
External clock
Ethernet
External clock External clock
source 1 source 2
Device A Device B
7
entire network. To prevent timing loops, use SSM levels in clock reference selection and plan a
reasonable clock synchronization path.
IP network
Device A Device B
To avoid timing loops, use SSM levels in clock reference selection and set the SSM level to DNU for
the ESMC messages sent from Device B to Device A.
8
• Device D receives the clock signal from Device C on P1, and also the clock signal from Device
A on P2. Because P1 has a higher priority than P2, Device D traces and synchronizes with the
clock signal from Device C.
• Because P2 on Device A is not configured with a priority, Device A will not synchronize with P2.
Finally, a counter clockwise clock synchronization path from the external clock source to Device D is
established. All devices track and synchronize with the external clock source and timing loops are
avoided.
Figure 6 Avoiding timing loops on a ring network
External clock source
Clock signal
P2 P1
Device A Device D
(Ext, Local) (P1, P2, Local)
P1 P2
P1 P2
(P1, P2, Local) (P1, P2, Local)
Device B Device C
P2 P1
Application scenarios
Network frequency synchronization through
SyncE
As shown in Figure 7, the wireless base stations use WCDMA technology and access the service
provider's network through IP devices. For wireless clients to move smoothly between base stations,
enable the neighboring base stations to be frequency synchronized with an accuracy of 0.05 ppm.
• To enhance availability and reduce cost, deploy two clock sources in redundancy at the core
layer of the service provider's network.
• Configure SyncE to enable the clock source to synchronize the time of all base stations on the
network. Use the primary clock source as the clock reference. Enable the secondary clock
source to take over the services automatically when the primary clock source fails. SyncE
provides time synchronization among devices with high precision and can meet the
requirement of WCDMA wireless access devices for high synchronization precision.
9
Figure 7 Network diagram
Base station 1
Core layer
Primary external
clock source Device A Device B Access layer
Base station 2
Device E
Base station 4
Base station 5
10
Figure 8 Network diagram
Primary external clock source Secondary external clock source PTP primary sync path
BC1 BC2
BC3 BC4
BC5 BC6
OC1 OC2
References
IEEE 1588-2008, IEEE Standard for a Precision Clock Synchronization Protocol for Networked
Measurement and Control Systems
ITU-T G.781, Synchronization layer functions
ITU-T G.811, Timing Characteristics of Primary Reference Clocks
ITU-T G.812, Timing requirements of slave clocks suitable for use as node clocks in
synchronization networks
ITU-T G.813, Timing characteristics of SDH equipment slave clocks (SEC)
ITU-T G.823, The control of jitter and wander within digital networks which are based on the 2048
kbit/s hierarchy
ITU-T G.8261, Timing and synchronization aspects in packet networks
ITU-T G.8262, Timing characteristics of a synchronous Ethernet equipment slave clock (EEC)
ITU-T G.8264/Y.1364, Distribution of timing information through packet networks
11