• 论文 •    

位模式插补与位插补速度控制算法研究

张威,赵东标,刘凯   

  1. 南京航空航天大学 机电学院,江苏南京210016
  • 出版日期:2009-04-15 发布日期:2009-04-25

Bit pattern interpolation algorithm and velocity control of bit pattern interpolation

ZHANG Wei, ZHAO Dong-biao, LIU Kai   

  1. College of Mechanical-Electrical Engineering, Nanjing University ofAeronautics and Astronautics, Nanjing 210016, China
  • Online:2009-04-15 Published:2009-04-25

摘要: 为了给下位计算机的位插补运算提供精确的插补数据,避免下位机由于计算任务繁重而影响实时性,提出了一种基于上位计算机的误差可控的位插补数据生成算法。首先,利用参数三次样条曲线拟合待加工曲线的关键型值点,获得加工曲线的刀位轨迹线;然后,根据推导出的最大允许误差与样条曲线离散段数之间的关系式,在给定的最大误差的约束下,对样条曲线进行离散化;最后,根据离散后的小线段计算生成位插补数据,传递给下位机。为了改善位插补加工效果,对位模式插补速度控制进行了研究,建立了位插补脉冲周期的数学模型。实际加工结果表明,给出的算法可行而且有效。

关键词: 位模式, 插补, 数据生成, 可控误差, 速度控制

Abstract: To provide accurate interpolation data for the bit pattern interpolation of the slave computer and ensure the real-time performance of the slave computer, an error-controllable bit pattern interpolation data generation algorithm based on the master computer was proposed. At first, the tool-path was acquired according to the key points of the machining curves. Parametric cubic spline was used to fit these key points. Then, the tool-path was dispersed into many line segments. To ensure the calculation accuracy, the equation reflecting the relationship between the maximum allowable error and the segment number was deduced. The dispersing was based on the equation. After that, the bit pattern interpolation data was generated according to these line segments and was sent to the slave computers. Furthermore, to improve the processing effect of the bit pattern interpolation, velocity control of the bit pattern interpolation was studied. The mathematical model of time period of bit pattern interpolation was constructed. The experimental results showed that the proposed algorithm was feasible and effective.

Key words: bit pattern, interpolating, data generating, controllable error, velocity control

中图分类号: