摘要:
为满足电力等分布式测控系统对时钟同步的高精度要求,采用TI公司支持IEEE 1588协议的Cortex-M3核ARM芯片作为微处理器,设计并实现一种基于中断优先级的前/后台框架的精密时钟网络服务器。由于选用轻量级TCP/IP协议栈(LwIP)和简化同步协议设计底层通信软件,能减轻处理器负担,实时性能得到改善。测试实验结果表明,该设备同步精度高、稳定性好、成本低,具有较好的应用前景。
关键词:
IEEE 1588标准,
时钟同步,
网络授时,
LwIP协议
Abstract:
An IEEE 1588 server, which is based on the foreground/background system with the priorities of interrupts, is designed and implemented to meet the high precision requirement of time synchronization in distributed power systems by using an ARM?Cortex?-M3 based microcontroller, which supports IEEE 1588 protocol. The burden of microcontroller is reduced and the real-time performance is further improved as a result of adopting the lightweight TCP/IP stack and simplifying the protocol’s complexity to program the bottom communication software. It is shown in test experiments that this server characterizes high clock-synchronization accuracy, excellent stability and low cost, and it has a bright prosperity to be applied into practice.
Key words:
IEEE 1588 standard,
clock-synchronization,
network timing,
LwIP protocol
中图分类号:
关松青, 肖昌炎, 夏晓荣. IEEE 1588协议在工业以太网中的实现[J]. 计算机工程, 2011, 37(6): 237-238.
GUAN Song-Jing, XIAO Chang-Tan, JIA Xiao-Rong. Implementation of IEEE 1588 Protocol over Industrial Ethernet[J]. Computer Engineering, 2011, 37(6): 237-238.