摘要
为提高数控系统实时插补的准确性、加工速度和加工精度,采用在每个插补周期中保持进给速度不变的三次B样条曲线参变量非均匀变化实时插补算法。利用数字信号处理器(DSP)进行三次B样条曲线实时插补,可缩短插补计算时间;通过设定DSP的定时器中断来实现各轴控制脉冲的发送,可实现最大限度地减少折线状的插补轨迹的目的。结果表明,该算法能使所有的插补点都在理论曲线上,可以保证运动控制系统的高速高精度要求。
In order to improve the real - time interpolating accuracy, the processing speed and machining precision of the CNC system, it uses a real - time interpolation algorithm of cubic B- spline curves with constant feed- rate and non- uniform changing parameter in each cycle. Using digital signal processor(DSP) can reduce the calculating time. Since the control pulses, of axes are synchronistical during timer interrupt periods, the interpolating trajectory are significantly improved. The results show that the algorithm makes all of the interpolating points in the theoretical curve and assures the high speed and precision requirements of the motion control system.
关键词
三次B样条曲线
实时插补
DSP
脉冲控制
Cubic B - spline Curves
Real - time Interpolation
DSP
Pulse Control