摘要
精确时钟同步协议(IEEE1588)是关于网络测量和控制系统的时间协议,可达到较高的网络对时精度,实现高精度的时间同步。最佳主时钟算法(BMC)是IEEE1588的最主要的核心技术之一,按IEEE1588协议进行时钟同步的系统通过运行最佳主时钟算法来选择系统中的主时钟,其他时钟全以主时钟作为参考进行时钟同步。分析了精确时钟同步协议最佳主时钟算法的组成、相关概念及原理,根据算法的原理和实际要求设计了最佳主时钟算法功能模块,在Linux下用C语言编写程序,实现了最佳主时钟算法,给出了模块的设计流程图,为测试模块的功能,设计了测试验证图。通过验证,所设计的程序能实现最佳主时钟算法。
The precision clock synchronization protocol (IEEE1588) can reach high network synchronization precision. The BMC(Best Master Clock) algorithm is one of its core techniques,which is used by the clock synchronization system based on IEEE1588 to choose the system master clock and the slave clocks are synchronized according to it. The composition, related concepts and principle of BMC algorithm are researched, based on which and according to the actual requirements,the BMC functional module is designed. It is programmed with C language on Linux platform and the flowchart is given. The test method is designed to test the functions of BMC functional module. Test results show that the designed program implements BMC algorithm.
出处
《电力自动化设备》
EI
CSCD
北大核心
2009年第11期74-77,共4页
Electric Power Automation Equipment