Nonlinear Error Compensation Method in Five-axis Linear Interpolation
-
摘要: 以A-C双摆头五轴数控机床为研究对象,通过对机床的运动学求解,分析了五轴数控机床在加工过程中非线性误差产生机理并建立了非线性误差的数学模型。通过齐次坐标变换的方法,推导出计算加工过程中刀尖点实际位置的数学表达式以及其反计算公式。针对五轴数控机床的旋转轴运动所产生的非线性误差,提出了一种反求插补点的补偿方法。从五轴数控加工旋转中心位置插补算法角度考虑降低非线性误差的方法,通过理论刀尖点位置来反求旋转中心的插补的位置,使实际刀尖点更多地落在理论插补路径上。利用MATLAB进行实际数据的仿真验证,结果表明所提出方法能将非线性误差有效控制在加工允差内,可显著提高五轴数控系统的轨迹控制精度,可见本文所提出方法具有较好的可行性和实际应用价值。Abstract: The producing mechanism of nonlinear error during the machining process of 5-axis Computer Numerical Control (CNC) machine tool is analyzed through solving the kinematics of the machine tool in this article. The mathematical model of the nonlinear error is also established taking the A-C cutter-tilting type of five-axis CNC machine tool as the object of study. The homogeneous coordinate transformation method is used to deduce the forward and reverse mathematical calculation formulas of the actual tool-tip point position in the machining process. A reverse compensation method of interpolation points is proposed for the nonlinear error caused by rotation of the axes of the five-axis CNC machine tool. The method of reducing nonlinear error is considered from the perspective of position interpolation algorithm for rotation center of five-axis CNC machining and the method's objective is to control the more actual tool-tip points being located on the theoretical interpolation tool path. The MATLAB software is used as simulation verification platform of the actual data. The simulation results show that the proposed method can effectively control the nonlinear error within the allowable range, and significantly improve the trajectory controlling accuracy of the five-axis CNC system. Consequently, the proposed method in this article has better feasible and the value of practical application.
-
Key words:
- Five-axis CNC machining /
- linear interpolation /
- center of rotary axis /
- nonlinear error /
- compensation /
- mathematical model /
- simulation /
- MATLAB
-
表 1 后处理数据
G代码 X/mm Y/mm Z/mm A/(°) C/(°) G01 -25.356 -36.546 137.859 -50.241 192.677 G01 -23.514 -28.555 139.778 -47.4 193.912 G01 -27.054 -30.33 138.524 -48.015 192.421 G01 -26.71 -28.438 138.906 -47.142 192.518 G01 -33.417 -34.896 135.518 -49.464 188.17 表 2 NC数据
行号 X/mm Y/mm Z/mm A/(°) C/(°) N0270 -25.356 -36.546 137.859 -50.241 192.677 N0280 -23.514 -28.555 139.778 -47.4 193.912 -
[1] 张利波, 刘晓云, 张曰敏.五轴NC加工中的非线性误差分析及补偿[J].华中理工大学学报, 1995, 23(2):67-70 http://www.cnki.com.cn/article/cjfd1995-hzlg502.015.htmZhang L B, Liu X Y, Zhang Y M. A non-linear error analysis and compensation in five-axis NC machining[J]. Journal of Huazhong University of Science and Technology, 1995, 23(2):67-70(in Chinese) http://www.cnki.com.cn/article/cjfd1995-hzlg502.015.htm [2] 刘宏.复杂曲面多轴数控加工非线性误差理论分析及控制[J].组合机床与自动化加工技术, 2003(12):66-68 doi: 10.3969/j.issn.1001-2265.2003.12.026Liu H. Theory analysis and control about non-linear error of complex surfaces in multi-axis NC machining[J]. Modular Machine Tool & Automatic Manufacturing Technique, 2003(12):66-68(in Chinese) doi: 10.3969/j.issn.1001-2265.2003.12.026 [3] Takeuchi Y, Idemura T, Sata T. 5-axis control machining and grinding based on solid model[J]. CIRP Annals, 1991, 40(1):455-458 doi: 10.1016/S0007-8506(07)62028-9 [4] 任秉银, 唐余勇.数控加工中的几何建模理论及其应用[M].哈尔滨:哈尔滨工业大学出版社, 2000:93-97Ren B Y, Tang Y Y. Geometric modeling theory and its application in numerical control machining[M]. Harbin: Harbin Institute of Technology Press, 2000:93-97(in Chinese) [5] 程德蓉.五轴数控加工非线性误差建模与控制[J].科技资讯, 2016, 14(19):126, 128 http://www.wanfangdata.com.cn/details/detail.do?_type=perio&id=kjzx201619075Cheng D R. Nonlinear error modeling and control of five-axis CNC machining[J]. Science and Technology Information, 2016, 14(19):126, 128(in Chinese) http://www.wanfangdata.com.cn/details/detail.do?_type=perio&id=kjzx201619075 [6] 唐清春, 范超, 张健, 等.叶片五轴加工中非线性误差控制的研究[J].机床与液压, 2014, 42(2):22-24 doi: 10.3969/j.issn.1001-3881.2014.02.008Tang Q C, Fan C, Zhang J, et al. Study on no-linear error controlling of Blade Five-axis Machining[J]. Machine Tool & Hydraulics, 2014, 42(2):22-24(in Chinese) doi: 10.3969/j.issn.1001-3881.2014.02.008 [7] 姬俊锋, 周来水, 安鲁陵, 等.考虑非线性误差补偿的五坐标数控加工走刀步长改进算法[J].重庆大学学报, 2010, 33(4):37-42 http://d.old.wanfangdata.com.cn/Periodical/cqdxxb201004007Ji J F, Zhou L S, An L L, et al. A new determination method of tool step for 5-axis NC machining[J]. Journal of Chongqing University, 2010, 33(4):37-42(in Chinese) http://d.old.wanfangdata.com.cn/Periodical/cqdxxb201004007 [8] Liang H, Hong H, Svoboda J. A combined 3D linear and circular interpolation technique for multi-Axis CNC machining[J]. Journal of Manufacturing Science and Engineering, 2002, 124(2):305-312 doi: 10.1115/1.1445154 [9] Liang H, Hong H, Svoboda J. A cutter orientation modification method for the reduction of non-linearity errors in five-axis CNC machining[J]. Machining Science and Technology, 2003, 7(1):1-18 http://www.wanfangdata.com.cn/details/detail.do?_type=perio&id=0a355c13ea0aa7002c42ba1fb68a92af [10] 杨旭静, 周元生, 陈泽忠, 等.五轴数控加工中旋转轴运动引起的非线性误差分析及控制[J].机械工程学报, 2012, 48(3):140-146 http://d.old.wanfangdata.com.cn/Periodical/jxgcxb201203021Yang X J, Zhou Y S, Chen Z Z, et al. Analysis and control of tool path interpolation error in rotary axes motions of five-axis CNC milling[J]. Journal of Mechanical Engineering, 2012, 48(3):140-146(in Chinese) http://d.old.wanfangdata.com.cn/Periodical/jxgcxb201203021 [11] 王妮娜, 张广鹏, 宋开文, 等.精密五轴联动机床非线性误差分析与后置处理[J].西安理工大学学报, 2018, 34(1):104-109, 115 http://d.old.wanfangdata.com.cn/Periodical/xalgdxxb201801017Wang N N, Zhang G P, Song K W, et al. Nonlinear error analysis and post processing of precision five axis machine tool[J]. Journal of Xi'an University of Technology, 2018, 34(1):104-109, 115(in Chinese) http://d.old.wanfangdata.com.cn/Periodical/xalgdxxb201801017 [12] 覃智广, 陈洪容, 代艳霞.双转台五轴机床运动学分析及非线性误差研究[J].机械设计与制造, 2018(10):229-232 doi: 10.3969/j.issn.1001-3997.2018.10.060Qin Z G, Chen H R, Dai Y X. Study on kinematics analysis and non-linear error of a TATC five-axis machine tool[J]. Machinery Design & Manufacture, 2018(10):229-232(in Chinese) doi: 10.3969/j.issn.1001-3997.2018.10.060 [13] Zhang K, Zhang L Q, Yan Y C. Single spherical angle linear interpolation for the control of non-linearity errors in five-axis flank milling[J]. International Journal of Advanced Manufacturing Technology, 2016, 87(9-12):3289-3299 doi: 10.1007/s00170-016-8720-3 [14] 蔡安江, 赵丹, 叶向东, 等.五轴加工奇异问题机理分析及其避免策略[J].机械科学与技术, 2017, 36(8):1237-1243 doi: 10.13433/j.cnki.1003-8728.2017.0815Cai A J, Zhao D, Ye X D, et al. Mechanism analysis and avoiding strategy of singular problem in five-axis machining[J]. Mechanical Science and Technology for Aerospace Engineering, 2017, 36(8):1237-1243(in Chinese) doi: 10.13433/j.cnki.1003-8728.2017.0815 [15] Zhou Y S, Chen Z Z, Fang Z X. Nonlinearity error analysis with the application of the envelope surface in five-axis CNC machining[J]. IFAC-PapersOnLine, 2015, 48(3):675-679 doi: 10.1016/j.ifacol.2015.06.160