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

计算机工程 ›› 2011, Vol. 37 ›› Issue (6): 237-238. doi: 10.3969/j.issn.1000-3428.2011.06.082

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

IEEE 1588协议在工业以太网中的实现

关松青,肖昌炎,夏晓荣   

  1. (湖南大学电气与信息工程学院,长沙 410082)
  • 出版日期:2011-03-20 发布日期:2011-03-29
  • 作者简介:关松青(1983-),男,硕士,主研方向:嵌入式系统; 肖昌炎,副教授、博士;夏晓荣,硕士研究生
  • 基金资助:

    教育部博士点新教师基金资助项目(20070532054)

Implementation of IEEE 1588 Protocol over Industrial Ethernet

GUAN Song-qing, XIAO Chang-yan, XIA Xiao-rong   

  1. (College of Electrical and Information Engineering, Hunan University, Changsha 410082, China)
  • Online:2011-03-20 Published:2011-03-29

摘要:

为满足电力等分布式测控系统对时钟同步的高精度要求,采用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

中图分类号: