计算机应用 ›› 2011, Vol. 31 ›› Issue (06): 1476-1479.DOI: 10.3724/SP.J.1087.2011.01476

• 网络与通信 • 上一篇    下一篇

IEEE 1588v2基于透明时钟的误差分析与修正

张鹤鸣,杨斌   

  1. 西南交通大学 信息科学与技术学院,成都 610031
  • 收稿日期:2010-11-09 修回日期:2011-01-17 发布日期:2011-06-20 出版日期:2011-06-01
  • 通讯作者: 张鹤鸣
  • 作者简介:张鹤鸣(1984-),男,河南平顶山人,硕士研究生,主要研究方向:嵌入式系统、通信与信息系统;杨斌(1955-),男,四川安岳人,教授,主要研究方向:嵌入式系统、交通控制。

Residual analysis and correction in IEEE 1588v2 standard based on transparent clock

ZHANG Heming,YANG Bin   

  1. College of Information Science and Technology, Southwest Jiaotong University, Chengdu Sichuan 610031, China
  • Received:2010-11-09 Revised:2011-01-17 Online:2011-06-20 Published:2011-06-01
  • Contact: ZHANG Heming

摘要: 针对时间同步过程中出现积聚性错误,导致同步精度降低的问题,通过对误差来源和透明时钟工作原理的分析,结合IEEE 1588v2时间同步协议的延时请求应答机制和对等延时机制,归纳了一整套基于透明时钟的频率补偿和误差修正方法。测试结果表明,经过频率和相位的双重调节,主从时钟的同步精度可以达到亚微秒级别,完全满足高精度同步系统的要求。

关键词: 1588v2, 频率同步, 相位同步, 精确时间同步协议, 透明时钟

Abstract: In order to reduce accumulation errors in the time synchronization for higher required systems, in this paper, the source of residual in clock synchronization and the working principle of transparent clock were in-depth analyzed. Combined with the delay request-response mechanism and the peer delay mechanism of IEEE 1588v2, a precise clock synchronization protocol applied to networked measurement and control systems, a set of high precision simultaneous algorithm based on transparent clock was summarized in detail. According to the test results, synchronization accuracy and precision in the sub-microsecond range can be perfectly reached by drift adjustment and offset adjustment, which can fully comply with the required precision requirments.

Key words: 1588v2, frequency synchronization, phase synchronization, Precision Time Protocol (PTP), transparent clock