An IEEE 1588 time synchronization algorithm based on frequency compensation
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.
Authors
- W.Y. Liu (ORCID: https://orcid.org/0000-0002-6036-2914)
- Qiang Li (ORCID: https://orcid.org/0000-0001-6468-098X)
- Yingzi Zhang
Institutions
- North University of China (CN)
Publication Details
- Published
- 2024-09-13
- DOI
- https://doi.org/10.1117/12.3032445
- Citations
- 1
- Primary Topic
- Network Time Synchronization Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.35