计算机工程与应用 ›› 2018, Vol. 54 ›› Issue (5): 217-222.DOI: 10.3778/j.issn.1002-8331.1609-0303

• 工程与应用 • 上一篇    下一篇

EtherCAT分布时钟机制在数控系统中的研究与应用

李备备1,2,林  浒2,3,郑飂默2,3   

  1. 1.中国科学院大学,北京 100190
    2.中国科学院 沈阳计算技术研究所,沈阳 110168
    3.沈阳高精数控技术有限公司,沈阳 110168
  • 出版日期:2018-03-01 发布日期:2018-03-13

Research and application of EtherCAT distributed clock mechanism in CNC system

LI Beibei1,2, LIN Hu2,3, ZHENG Liaomo2,3   

  1. 1.University of Chinese Academy of Sciences, Beijing 100190, China
    2.Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China
    3.Shenyang Golding NC Technology Co., Ltd., Shenyang 110168, China
  • Online:2018-03-01 Published:2018-03-13

摘要: 为了提升数控系统的同步性能,提出了将EtherCAT分布时钟机制引入到数控系统的解决方案。首先重点研究了EtherCAT分布时钟的系统时间和从站本地应用的同步机制;接着详细阐述了分布时钟机制在数控系统中的实现过程;最后搭建了EtherCAT分布时钟同步性能测试平台,经测试主站时钟、参考时钟和从时钟均达到了纳秒级的同步。

关键词: 实时以太网, 分布时钟, 时钟同步, 数控系统

Abstract: In order to improve the synchronization performance of the CNC system, a solution of applying the EtherCAT Distributed Clock(DC) mechanism to the numerical control system is presented. Firstly the synchronization mechanism of system time and slave’s local application is mainly discussed. Then the implementation process of the DC mechanism in CNC system is detailed described. Finally, the DC synchronization performance testing platform is built. The result shows that master clock, reference clock and slave clock have reached the nanosecond synchronization.

Key words: EtherCAT, Distributed Clock(DC), clock synchronization, Computer Numerical Control(CNC)