摘要
LXI(LAN-based Extensions for Instrumentation)技术的提出进一步推动了测试测量领域的发展,基于IEEE1588精确时钟同步协议的时间同步触发是LXI B类仪器的一个主要特点。本文介绍了IEEE1588精密时钟协议,详细分析了其同步原理,并介绍了一种实现IEEE1588协议的方案,从时钟通过与主时钟交换报文获取时间戳,根据时间戳计算出与主时钟的时间偏差并对自己的时钟进行修正。最后对所设计的系统进行了测试,测试结果显示系统能实现时钟同步。
LXI(LAN-based Extensions for Instrumentation) advances development of test and measure field. The main character of LXI class B devices is the time synchronization trigger based on the IEEE1588 Precision Timing Protocol. This paper mostly introduces the theory the IEEE 1588 Precision Timing Protocol, presents one design scheme of IEEE1588 which is carried out by software. The slave clock which gain time stamper by exchanging message with master clock. The slave clock which uses timestamp calculates the time deviation between the master clock and slave clock, and then modifies itself. The designed system is tested and the result shows that the system can carry out the time synchronization.
出处
《电子测量技术》
2009年第4期56-58,62,共4页
Electronic Measurement Technology