[1]刘豪志1,刘 凯1,王 欢1,等.基于嵌入式 Linux平台 EtherCAT 主站设计[J].机械与电子,2020,(03):44-47.
 ,,et al.Design of the EtherCAT Master Based on Embedded Linux Platform [J].Machinery & Electronics,2020,(03):44-47.
点击复制

基于嵌入式 Linux平台 EtherCAT 主站设计()
分享到:

机械与电子[ISSN:1001-2257/CN:52-1052/TH]

卷:
期数:
2020年03期
页码:
44-47
栏目:
自动控制与检测
出版日期:
2020-03-24

文章信息/Info

Title:
Design of the EtherCAT Master Based on Embedded Linux Platform
文章编号:
1001- 2257(2020)03- 0044- 04
作者:
刘豪志刘 凯王 欢孙 磊朱天明
1.南京航空航天大学机电学院,江苏 南京 210016;
2.上海航天控制技术研究所,上海 201109
Author(s):
1.CollegeofMechanicalandElectronicEngineering,NanjingUniversityofAeronauticsandAstronautics,
Nanjing210016,China;
2.ShanghaiAerospaceControlTechnologyInstitute,Shanghai201109,China
关键词:
EtherCAT 主站Linux实时系统网卡驱动同步时钟
Keywords:
EtherCAT masterLinuxRTOSnetworkdriversynchronousclock
分类号:
TP273
文献标志码:
A
摘要:
针对多轴同步控制中存在实时性和同步性较差的问题,提出一种基于嵌入式 Linux平台的EtherCAT 主站方案。在以 AM3358处理器为核心的 BeagleBone的嵌入式平台上,构建基于 Xenomai的Linux硬实时操作系统,通过改写基于 ARM 的网络芯片驱动,提高主站的通讯速率和响应能力,同时采用分布时钟机制动态补偿各从站时钟,实现从站间的同步性。最后搭建一主二从伺服控制平台进行试验验证,结果表明:主站在1ms周期任务下最大调度延时为36.397μs(3.640%),最小调度延时为1.952μs
(0.195%),实时性较高,多轴同步误差精度在ns级水平,具有相当高的同步性能。
Abstract:
An EtherCAT master scheme based on embedded Linux platform was proposed here in view to the poor controlling problems of real-time and synchronous multi-axis control. An operating system with Xenomai-based hard real-time Linux was developed on the BeagleBone embedded platform with AM3358 as its core processor. The ARM’s network chip driver was rewritten to improve the master’s communication speed and response capability. The clock mechanism was proposed to compensate the slave clocks dynamically so as to achieve synchronization between the slaves. Finally, the verification of a platform with one master and two servo slaves was conducted. The maximum scheduling delay of the master is 36.397μs(3.640%), and the minimum is 1.952μs(0.195%) under the 1ms periodic task, and the accuracy of multi-axis synchronization error is at the ns level, which obtains high synchronous capabilities.

参考文献/References:

[1] 李耿轶,王宇融.数控机床多轴同步控制方法[J].制造技术与机床,2000(5):23- 25.

[2] 严亮,舒志兵.基于 ARM+FPGA的机器人多轴运动控制 器的设计与研究[J].机床与液压,2019,47(11):12- 18.
[3] 陈龙,冯雷,黄道敏,等.新型行车多轴控制系统设计与实现[J].机械与电子,2018,36(3):36- 39.
[4] KAWAGISHIK,UMETANIS,TANAKA K,etal.Developmentoffour axis3Dprinterwithfuseddepositionmodelingtechnology[J].InternationalJournalof AutomationTechnology,2017,11(2):278- 286.
[5] 熊晶洲,万敏,孟宝.基于多轴同步控制的微尺度双向加载实验系统[J].北 京 航 空 航 天 大 学 学 报,2019,45
(1):174- 182.
[6] JEONGSK,YOU SS.Precisepositionsynchronous controlofmulti axisservosystem[J].Mechatronics,2008,18(3):129- 140.
[7] 孙瑞芳,张晓龙,谢晓全.工业机器人非线性PID偏差耦合同步控制策略[J].轻工机械,2019,37(3):55- 59.
[8] SATO R,IDEY,TSUTSUMIM.Controllerdesignmethodoffeeddrivesystemsforimprovingmulti axissynchronousaccuracy[J].TransactionsoftheJapanSocietyofMechanicalEngineers:PartC,2007,73(3):693- 700.
[9] 张恺钰,李国利,陈健,等.多轴步进电机 CAN 总线控制系统设计[J].机械与电子,2015(8):38- 40.
[10] 张高维,薛凌云,陈庆光,等.嵌入式实时以太网运动控制 器 设 计 与 性 能 测 评 [J].计 算 机 工 程 与 设 计,
2019,40(2):352- 357,393.
[11] PARKS M,KIM H,KIM H W,etal.SynchronizationimprovementofdistributedclocksinEtherCAT networks[J].IEEECommunicationsLetters,2017,21(6):1227- 1280
[12] 王欢,茅俊杰,王丹,等.Linux设备驱动重用研究[J].计算机科学,2017,44(4):39- 42.
[13] CEREIA M,BERTOLOTTIIC,SCANZIO S.Performanceofareal time EtherCAT masterunder Linux[J].IEEETransactionsonIndustrialInformat
ics,2011,7(4):679- 687.

备注/Memo

备注/Memo:
收稿日期:2019- 11- 06
基金项目:国家自然科学基金资助项目(51405229);江苏省自然科学基金资助项目(BK20151470,BK20171416)
作者简介:刘豪志 (1995-),男,湖北荆门人,硕士研究生,研究方向为多轴同步控制;刘 凯 (1981-),男,江苏淮安人,博士,副教授,研究方向为仿生机器人、数控技术等,通信作者。
更新日期/Last Update: 2020-04-21