Paper
13 September 2024 An IEEE 1588 time synchronization algorithm based on frequency compensation
Author Affiliations +
Proceedings Volume 13178, Eleventh International Symposium on Precision Mechanical Measurements; 131780K (2024) https://doi.org/10.1117/12.3032445
Event: Eleventh International Symposium on Precision Mechanical Measurements, 2023, Guangzhou, China
Abstract
This paper proposes a time synchronization compensation algorithm based on the IEEE 1588 protocol, aiming to improve the accuracy of time synchronization in online automatic measurement and control. Since the slave clock will continue to accumulate errors during the time synchronization message sending interval, we propose a frequency compensation algorithm based on the existing IEEE 1588 protocol to reduce the impact of errors by continuously compens ating the frequency of the slave clock, thereby improving time synchronization accuracy. The simulation results show that when the frequency of the crystal oscillator is 20MHz, in the symmetric link, the time synchronization accuracy of the algorithm proposed in this paper is improved by about 200ns compared with the original PTP algorithm. In asymmetric links, compared with the original PTP algorithm, the algorithm proposed in this paper reduces the maximum time offset between master and slave by at least 300ns.Compared with the original IEEE 1588 algorithm, the algorithm proposed in this paper improves the time synchronization accuracy by at least 4 clock cycles, and its time offset is concentrated around 1 to 2 clock cycles. Effectively reduces the impact of asymmetric links and crystal oscillator drift on time synchronization accuracy.
(2024) Published by SPIE. Downloading of the abstract is permitted for personal use only.
Qiang Li, Yingzi Zhang, and Wenyi Liu "An IEEE 1588 time synchronization algorithm based on frequency compensation", Proc. SPIE 13178, Eleventh International Symposium on Precision Mechanical Measurements, 131780K (13 September 2024); https://doi.org/10.1117/12.3032445
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Clocks

Computer simulations

Oscillators

Data transmission

Measurement devices

Back to Top