Method for clock synchronization between two devices connected by an ethernet wire connection
AssigneeThales
InventorsJean-Yves Philippe, Olivier Pierrelee
Life of this patent
Estimating the term…
Abstract
A method and system is provided for clock synchronization between two devices comprising a clock. The method comprises the following steps: a step of determining a duration necessary for transmission of a data packet between the two devices, a step of sending by one of the devices a data packet containing a sending time of this packet, and a step of determining the time by the other device by adding the transmission duration to the sending time of the packet.
Claims12
A method for clock synchronization between two devices connected by an Ethernet wire connection and comprising a clock, comprising the following steps:
- a step of determining a duration TL necessary for transmission of a data packet between the two devices via the Ethernet wire connection, comprising:
- a step of sending a first data packet by one of the devices, requesting the other device to send a second data packet in return, and of saving a sending time tsend, by one of the devices,
- a step of reception of said first data packet by the other device,
- a step of sending a second data packet by the other device, which contains an indication of a duration of a processing operation TLDPG separating the reception of the first data packet and the sending of the second data packet,
- a step of reception of the second data packet and of saving a reception time trecep of the second data packet by the device,
- a step of determining the transmission duration on a basis of the sending time, the reception time and the processing duration using the following equation:
- TL=(trecep−tsend−TLDPG)/2
- a step of sending by one of the devices a third data packet containing a sending time of this third data packet, and
- a step of determining a reception time of the third data packet, by the other device by adding the transmission duration to the sending time of the third data packet, and synchronizing the clock of the other device over the reception time of the third data packet,
- said steps of determining a duration, sending by one of the devices a data packet and determining the time by the other device are implemented utilizing a circuit that transmits and receives Ethernet MAC frame packets.
A method for clock synchronization between two devices connected by an Ethernet wire connection and comprising a clock, comprising the following steps:
- a step of determining a duration TL necessary for transmission of a data packet between the two devices via the Ethernet wire connection, comprising:
- a step of sending a first data packet by one of the devices, requesting the other device to send a second data packet in return, and of saving a sending time tsend, by one of the devices,
- a step of reception of said first data packet by the other device,
- a step of sending a second data packet by the other device, which contains an indication of a duration of a processing operation TLDPG separating the reception of the first data packet and the sending of the second data packet,
- a step of reception of the second data packet and of saving a reception time trecep of the second data packet by the device,
- a step of determining the transmission duration on a basis of the sending time, the reception time and the processing duration using the following equation:
- TL=(trecep−tsend−TLDPG)/2
- a step of sending by one of the devices a third data packet containing a sending time of this third data packet,
- a step of determining a reception time of the third data packet, by the other device by adding the transmission duration to the sending time of the third data packet, and
- synchronizing the clock of the other device over the reception time of the third data packet,
- wherein said steps of determining a duration, sending by one of the devices a data packet, and determining the time by the other device are implemented using Ethernet MAC frame packets.
Dependencies are inferred from the claim text.