Got it

Description of the IEEE 1588v2

Latest reply: Oct 13, 2021 07:38:08 933 7 3 0 1

Hello, everyone!


Today, I'd like to share with you some information about IEEE 1588v2.


Concepts of IEEE 1588v2

The Precision Time Protocol (PTP), also called 1588, is a standard defined by the Institute of Electrical and Electronics Engineers (IEEE) for the Precision Clock Synchronization Protocol for Networked Measurement and Control Systems.

IEEE 1588v2 is a time synchronization protocol. IEEE 1588v2 ensures high-precision time synchronization between devices and is also used in clock synchronization between devices.

A physical network can be logically divided into multiple clock domains. In each clock domain, there is synchronized time, with which all devices in the domain are synchronized. The synchronized time of one clock domain is independent of that of another clock domain.


IEEE 1588v2 Clock Synchronization Mechanism

In an IEEE 1588v2 system, all clocks are organized based on the master/slave synchronization hierarchy, with the grandmaster clock at the top of the hierarchy. Clock synchronization is implemented by exchanging IEEE 1588v2 packets. The slave clock calculates its offset and delay compared with the master clock based on the timestamp information carried in the IEEE 1588v2 packet and then synchronizes its local clock with the master clock.

The following shows the IEEE 1588v2 synchronization principle:


IEEE 1588v2


T1: Indicates the time when the master clock sends a synchronization packet.

T2: Indicates the time when the slave clock receives the synchronization packet.

T3: Indicates the time when the slave clock sends a request packet.

T4: Indicates the time when the master clock receives a request packet.


After receiving request packets, the master clock returns a response that carries T4. In this manner, the slave clock obtains T1, T2, T3, and T4 from which the offset and delay between the master and slave clocks can be derived using the following formulas:

T2-T1=Delay-Offset

T4-T3=Delay+Offset

Offset=[(T4-T3)-(T2-T1)]/2

Delay=[(T4-T3)+(T2-T1)]/2

The slave clock synchronizes its local clock with the master clock based on the delay derived.


That's all I want to analyze.

Welcome you to discuss and leave a message, thank you!

Very important protocol, special thanks @liqiang185 Description of the IEEE 1588v2-3205686-1
View more
  • x
  • convention:

Nice share
View more
  • x
  • convention:

yesssssssssss
View more
  • x
  • convention:

Tranks
View more
  • x
  • convention:

VERY GOOD IEEE 1588v2
View more
  • x
  • convention:

Vlada85
MVE Author Created Apr 13, 2021 17:10:09

Thanks
View more
  • x
  • convention:

Sara_Obaid
Moderator Created Oct 13, 2021 07:38:08

Interesting. Thank you for sharing!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.