针对五轴数控加工中主轴头中心角速度超限和非线性误差的问题,提出了基于旋转轴线性插补的RTCP算法,分析了插补过程中的全局干涉现象,推导了刀杆偏差系数公式,得到了RTCP模式下的无碰干涉区域,避免了干涉现象的发生。算法减小了非线性误差,保证了插补过程中机床旋转轴的运动平稳性,当刀具长度变化时无需重新通过后置处理生成数控程序,提高了加工效率。仿真结果证实了算法的可行性。
Aiming at reducing the nonlinear errors and preventing angular velocity overrun,a RTCP algorithm based on angle interpolation was proposed herein.The problems of global interference during interpolation were analyzed,and then an interpolation error factor formula was derived.Finally,a collision-free region of RTCP algorithm was obtained.The algorithm can reduce the nonlinear errors effectively,ensure the rotation axes movement smoothly,improve the machining efficiency by ensuring that CNC codes need not to be generated by postprocessing software when tool length changes.Simulation results demonstrate the effectiveness of proposed algorithm.