摘要
EtherCAT是工业以太网总线的代表应用,现已在嵌入式、FPGA等多个平台下开发应用,但在X86架构上的实时应用较少。基于X86的硬件平台,使用实时补丁与EtherCAT协议框架,设计性能稳定的EtherCAT主站。提出内核模块的设计方法,以及隔离CPU,设置CPU频率的运行方式,进行实时性能的优化。在200μs的高速通信周期下,最大抖动从ms级优化到50μs以内,抖动均值从80μs优化到1μs以内。满足高性能实时运动控制与高速数据采集的要求。
EtherCAT is a representative application of industrial Ethernet bus,which has been developed for embedded,FPGA and other platforms,but lacks real-time application on X86 architecture.Based on the X86 hardware platform,the EtherCAT master with stable performance was designed using real-time patches and EtherCAT protocol framework.The design method of the kernel module was proposed,as well as the isolation of the CPU,the operation mode of the CPU frequency was set,and the real-time performance was optimized.At a high-speed communication cycle of 200μs,the maximum jitter was optimized from millisecond to less than 50μs,and the jitter mean was optimized from 80μs to less than 1μs,which meet the requirements of high-performance real-time motion control and high-speed data acquisition.
作者
陈韦达
张冈
陈冰
崔自赏
CHEN Wei-da;ZHANG Gang;CHEN Bing;CUI Zi-shang(School of Mechanical Science&Engineering,Huazhong University of Science and Technology,Wuhan 430000,China)
出处
《仪表技术与传感器》
CSCD
北大核心
2022年第5期37-41,共5页
Instrument Technique and Sensor
基金
湖北省重点研发计划(2021BAA041)。