计算机集成制造系统 ›› 2015, Vol. 21 ›› Issue (第7期): 1797-1803.DOI: 10.13196/j.cims.2015.07.015

• 产品创新开发技术 • 上一篇    下一篇

基于数据逆向分析的总线式数控系统轨迹控制精度测试方法

孙好春1,2,胡天亮1,2+,张承瑞1,2,侯明江1,2,王文莉1,2   

  1. 1.山东大学机械工程学院
    2.山东大学高效与洁净机械制造教育部重点实验室
  • 出版日期:2015-07-31 发布日期:2015-07-31
  • 基金资助:
    国家科技重大专项资助项目(2012ZX04010-021-002-005)。

Trajectory control precision testing method for bus based CNC system based on reverse data analysis

  • Online:2015-07-31 Published:2015-07-31
  • Supported by:
    Project supported by the National Science and Technology Major Project,China(No.2012ZX04010-021-002-005).

摘要: 为了真实反映数控系统控制器的加工精度,通过分析基于工业以太网的数控系统结构,提出一种基于总线数据逆向分析的数控加工功能测试方法。用该方法设计的测试系统由基于FPGA开发的数据侦听器和监听计算机组成。数据侦听器捕捉总线中的数据帧并增加时间戳后发送到监听计算机,通过设计的数据侦听机制避免了对总线正常传输的延时影响。监听计算机上的数控加工功能分析软件对接收的以太网数据帧进行应用层解析,提取出运动控制数据,然后在线逆向建模分析以测试数控系统的加工功能。以圆弧插补精度的测试为例,论述了数据分析的方法,并利用KRTS实时扩展为数据接收和分析过程提供实时运行环境。通过对一款基于EtherCAT的数控系统插补精度测试表明,该方法可以简洁高效地测试数控系统的加工功能。

关键词: 数控系统, 实时以太网, 逆向分析, 测试

Abstract: To reflect the machining precision of Computer Numerical Control (CNC) system controller,a CNC machining performance testing method based on reverse data analysis was proposed by analyzing CNC system structure based on industrial Ethernet,.With this method,the designed testing system consisted of a data listener and a monitoring PC based on FPGA.Data frames from industrial Ethernet were captured by data listener and was sent to PC with its arriving timestamp.With the designed listening method,no time delay was imported to the normal data transfer.The designed CNC machining performance analysis software running on PC extracted motion control data from the data frame in the application layer,and online reverse data analysis was then used to evaluate CNC machining performance.Data analysis method was illustrated by taking precision evaluation of circular interpolation as an example,and real-time extension KRTS was used to provide real-time environment for the procedure of data receiving and analyzing.The interpolation precision of a CNC system based on EtherCAT was tested with this method,and the result showed that CNC machining performance evaluation could be done easily and effectively with this method.

Key words: computer numerical control system, real-time ethernet, reverse data analysis, tests

中图分类号: