摘要
在分布式系统中,常常需要一个全局时间,用来确定系统中各种事件发生的先后、协调各种消息的传输等,以控制和监视系统的状态。这就需要进行时钟同步使系统中各个部件的局部时间统一。主要分析了IEEE 1588精确时钟同步协议的基本工作原理和过程,给出了时钟同步的基本工作流程,通过嵌入式Linux操作系统平台完成PTP(precision time protocol)程序的调试,并实现了两台设备之间的时间同步,其同步精度可达几十微秒。
In a distributed system, it is used to need a global time to determine the order of events happened in system, coordinate the various information transmissions in order to control and monitor the operation state, so that the clock synchronization is required to synchronize the every slave subsystem. First, the working principle and process of the IEEE 1588 precision clock synchronization protocol are described, the basic program flow is introduced. Second, the clock synchronization with PTP ( precision time protocol) between two devices commu- nication is implemented on the platform of embedded Linux operating system. Finally, the test result shows that the accuracy of synchronization can reach less than tens of microseconds.
出处
《测控技术》
CSCD
北大核心
2012年第11期15-19,共5页
Measurement & Control Technology