10
EKOSync 1588 User Manual rev 3.10
become slaves (e.g. a IEDs) and synchronize their clocks with the master. IEEE 1588 defines one-step
and two-step clock operations. One-step clock updates accurate timestamp in synch message but two-
step clock sends accurate timestamp in a follow up message. One step clock is recommended to use
because this eliminates the need to read the transmit timestamp over MDIO and also eliminates the
need to send a follow up message. Figure 1 shows an one step clock synchronization. The
synchronization of the clocks is achieved using a series of message packets between master and slaves.
There are three message types - Sync, Delay Request and Delay Response.
One-step clock synchronization
The master stamps the time (t1) on the Sync message that leaves the master. The message arrives
at slave clock at t2 and sends a Delay-Req message at time (t3) to the master, which is received
by the master clock at a later time, t4. The master then sends a packet containing t4 to the slave.
The slave has all the information needed to calculate the slave offset. In this way the slave use
this equations [t2 = t1 + delay + slaveoffset (1) and t4 = t3 + delay + slaveoffset (2)] to obtain
following equation:
Slaveoffset = [(t4-t3) – (t2-t1)] / 2 (3)
Now, using this equation the slave arranges its time clock. This equation (3) can be only used if
the delays are equal to each other between t1 to t2 delay and t3 to t4 delay.
This measurement is repeated every second between the master clock and the slave clock and the
synchronization accuracy can be reduced to approximately 100 ns.
IEEE 1588 synchronization network