Beruflich Dokumente
Kultur Dokumente
A NEW VOCABULARY
Sensor
data collectors & recorders,
► without the need for a point- Data Collector
Sensor
to point parallel timing
system (out of band),
► without a separate physical
Sensor
distribution system. Switch Switch
Timing
(in-band),
Sensor
Master Clock
IEEE 1588-2008 …
► Is a protocol definition, not a product,
► is known as Precision Time Protocol (PTP)
► -2008 is also referred to as version 2 (v2)
► is intended to synchronize independent
clocks on separate nodes of a distributed
system to a high degree of precision,
► is the second version of a IEEE standard,
► defines how to transfer precise time over
networks. It does not define how to recover
frequency or high precision time of day.
► The key challenge is to convert packets to
Time & Frequency, and cost effectively.
IEEE 1588-2008 …
-2008 defined for all applications and
environments… barrier to interoperability
1588 profiles narrow choices, facilitates
interoperability
Default Profile
Defined in Annex J. of 1588 specification
LAN/Industrial Automation Application
Telecom Profile
Defined by ITU-T (G.8264.1)
Telecom WAN Applications
Future Profile(s)
Defined by application specific bodies
Protocol set for particular application
► Reduced Sync message size & higher update rates (up to 128 Hz versus
64 Hz in version one);
► Unicast for the Telecom profile (with sync rate & duration negotiation);
► Configuration mechanisms;
► Fault Tolerance
► ACCEPTABLE_MASTER_TABLE support;
* The set of required options, prohibited options, and the ranges and defaults of configurable
attributes for the Telecom Application of IEEE 1588.
Network
Layer IP V4/V6
(Layer 3)
MPLS
Carrier Ethernet
Data Link
2. Boundary Clock
2. Slave Clock Regenerates PTP message,
A timing device that selects one eliminating earlier path delays.
synchronization reference, attenuates 3. Transparent Clock
jitter and wander, distributes reference Adjusts the correction field in the sync
signals, and provides holdover. and delay_req event messages.
4. Management Node
Human/programmatic interface to PTP
management messages.
The Grandmaster (Server) sends the The Slave (Client) sends the following
following messages: messages:
► Signaling (2 types) ► Signaling (3 types)
► Follow_Up message
► Delay_Resp(onse)
RESERVATION.
40
Switch/Router Layer
Sync detector & Sync detector &
50
timestamp generator timestamp generator
60
70
Physical layer Physical layer
80
90
Server clock sends: Client clock sends:
100
2. Signaling (Announce granted) 1. Signaling (Request Announce)
110
4. Signaling (Sync granted) 3. Signaling (Request Sync)
120
6. Signaling (delay_resp granted) 5. Signaling (Request delay_resp)
130
Time
Time
140
Network 150
Switch/Router Layer
Master Clock
Slave Clock
Time
Time
Offset:
(slave clock error and one-way path delay)
OffsetSYNC = t2 – t1
t1 Leap second offset
OffsetDELAY_REQ = t4 – t3
Switch/Router Layer
t4
Notes:
1. One-way delay cannot be calculated
exactly, but there is a bounded error.
t1, t2, t3, t4
2. The protocol transfers TAI (Atomic Time).
UTC time is TAI + leap second offset from
the announce message.
Time
Time
Time
t1
Switch/Router Layer
t2
t3 Flags
t4
Grandmaster clockClass
Time
Time
Grandmaster Accuracy
t1
Switch/Router Layer
t2
t3
t4
Unicast/Multicast
1-step or 2-step
Time
Time
t1
Switch/Router Layer
t2
t3
Flags (same as announce)
t4
t1
Time
Time
t1
Switch/Router Layer
t2
t3
Flags (same as announce)
t4
Time
Time
t1
Switch/Router Layer
t2
t3
Flags (same as announce)
t4
t4
Time
Time
t1 t1
Switch/Router Layer
t1 received at Slave t1 received at Slave
Real value of
t1 received at Slave
t3 t3
t4 t4
Time
Time
Time
being inserted into the Sync message.
a Grandmaster)
► Grandmaster or slave (roles are
Ordinary Clock 3
changeable)
(announce messages). Priority 1
GPS Reference
► If after 3x announce_timeout there Grandmaster
Passive Mode
is no announce, the clock 1
becomes the Grandmaster. Ordinary Clock 1
Delay_resp
Announce
► If there is a lower priority/class
Sync
Priority 1
Grandmaster, the Clock 1 takes GPS Reference
Grandmaster
over the role of Master. Delay_resp
Sync
Network
► Otherwise the Clock monitors the Ordinary Clock 2
Announce
announce messages for a change
of state.
Consider the example where
Ordinary Clock 1 loses the GPS Ordinary Clock 3
reference (change of state):
► clockClass is reduced from 6 to 7
Offset:
(slave clock error and one-way path delay)
OffsetSYNC = t2 – t1
t1 Leap second offset
OffsetDELAY_REQ = t4 – t3
Switch/Router Layer
Time
Bulk upgrade & reboot significantly reduces the time, effort, and
configuration management complexity for high density slave deployment.
© COPYRIGHT SYMMETRICOM (2009) PAGE 37
IEEE 1588 Management Support
► IEEE 1588 includes management
capability.
► Network security is complex & varied.
► Management through the Network 1
Grandmaster reduces
Slave
security & deployment complexity.
Network 2
VLAN 1
Switch Slave
VLAN 4
Slave
Master Clock
TimePictra Management
© COPYRIGHT SYMMETRICOM (2009) PAGE 38
Overview
seconds up to 2 packets/second).
MASTER MASTER
No signaling. No lease.
Slave signaling negotiates lease
& interval. Session is created Session programmed into the
and terminated dynamically by Grandmaster for a specific slave
the Grandmaster. (static) at a fixed interval, with
non-terminating lease.
SLAVE SLAVE
MASTER MASTER
Link delay determined &
corrected in each stage
SLAVE SLAVE
clockClass Definition
0 Reserved to enable compatibility with future versions
1-5 Reserved
6 Clock synchronized to a Primary Reference time source
7 Clock previously in clockClass 6 but is in holdover within holdover specs.
8-12 Reserved
13 Clock synchronized to the application time of source. Time scale is arbitrary.
14 Clock previously in clockClass 13 but is in holdover within holdover specs
15-186 Reserved or use by alternate PTP profiles
187 Clock previously in clockClass 7 but not within holdover specs. May be slave to
another clock
188-192 Reserved
193 Clock previously in clockClass 14 but not within holdover specs. May be slave to
another clock
194-254 Reserved for alternate PTP Profiles
255 Slave only clock
IEEE Std 1588-2008, Table 5
OSI Stack
UDP
elements and traffic load. 1588
IP
► Multiple causes, including queuing
OSI Stack
UDP
delays, routing changes, Ethernet
IP
congestion, use of switches versus
routers, etc. Ethernet
Receive
► Network asymmetry queue
Symmetricom
2300 Orchard Parkway
San Jose, California, 95131
United States of America
www.symmetricom.com
Grandmaster Within a collection of 1588 clocks one clock, the grandmaster clock, will serve as the
clock primary source of time to which all others are ultimately synchronized.
http://ieee1588.nist.gov/terms.htm