作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (10): 247-249. doi: 10.3969/j.issn.1000-3428.2008.10.089

• 工程应用技术与实现 • 上一篇    下一篇

面向测量与控制的精确时间同步实现方法

谢昊飞,王 平,张 健,王 浩   

  1. (重庆邮电大学重庆市网络控制技术与智能仪器仪表重点实验室,重庆 400065)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-05-20 发布日期:2008-05-20

Implementing Method of Precise Time Synchronization for Measurement and Control

XIE Hao-fei, WANG Ping, ZHANG Jian, WANG Hao   

  1. (Chongqing Key Lab of Network Control Technology& Intelligent Instrument,Chongqing University of Posts and Telecommunications, Chongqing 400065)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-05-20 Published:2008-05-20

摘要: IEEE1588协议的不同实现方法对时间同步精度具有重要影响。该文分析了PTP引擎模块体系结构,实现PTP协议状态机、最佳主时钟算法、时钟变量算法、本地时钟同步算法,优化PTP报文发送与接收的控制过程。测试表明,该精确时间同步实现方法可使同步精度达到10微秒级,能有效满足测量与控制领域对时间同步的高精确度要求。

关键词: 精确时钟同步协议, 协议引擎, 最佳主时钟算法

Abstract: The different implements of the IEEE1588 are very important to the precise time synchronization. This paper expounds the structure of the PTP engine module, realizes the state machine of the PTP, the best master clock algorithm and the local time synchronization algorithm, and optimizes the process of receiving and sending the message. The experiment shows that the synchronization accuracy is in the range of 10 microsecond by using the implementing method in the paper and satisfies the need of the measurement and control field.

Key words: Precise Time Protocol(PTP), protocol engine, the best master clock algorithm

中图分类号: