华南理工大学学报(自然科学版) ›› 2017, Vol. 45 ›› Issue (10): 121-128.doi: 10.3969/j.issn.1000-565X.2017.10.017

• 机械工程 • 上一篇    下一篇

基于 Runge-Kutta 的 NURBS 曲线实时前瞻插补算法

吴玉香 王鹏   

  1. 华南理工大学 自动化科学与工程学院,广东 广州 510640
  • 收稿日期:2016-12-27 修回日期:2017-05-21 出版日期:2017-10-25 发布日期:2017-09-01
  • 通信作者: 吴玉香(1968-),女,博士,教授,主要从事机器人控制、智能控制研究. E-mail:xyuwu@scut.edu.cn
  • 作者简介:吴玉香(1968-),女,博士,教授,主要从事机器人控制、智能控制研究.
  • 基金资助:
     广东省科技计划项目(2013B090600025,2015B010133002)

A Real-time Look-ahead Interpolation Algorithm for NURBS Curves Based on Runge-Kutta

WU Yu-xiang WANG Peng   

  1. School of Automation Science and Engineering,South China University of Technology,Guangzhou 510640,Guangdong,China
  • Received:2016-12-27 Revised:2017-05-21 Online:2017-10-25 Published:2017-09-01
  • Contact: 吴玉香(1968-),女,博士,教授,主要从事机器人控制、智能控制研究. E-mail:xyuwu@scut.edu.cn
  • About author:吴玉香(1968-),女,博士,教授,主要从事机器人控制、智能控制研究.
  • Supported by:
    Supported by the Science and Technology Planning Project of Guangdong Province (2013B090600025, 2015B010133002)

摘要:  针对传统的 NURBS 曲线加工过程中插补算法插补参数计算精度低、实时性不高以及加速度过大对机床造成的冲击大的问题,提出了基于 Runge-Kutta 的 NURBS 曲线实时前瞻插补算法. 该算法采用经典 Runge-Kutta 方法计算插补参数,基于弓高误差和法向加速度约束条件自动调整进给速度,根据进给步长预期值与实际值的偏差进行参数校正.由粗插补得到的离线数据寻找进给速度极值点,并对曲线进行前瞻分段,找到各前瞻插补区间上的首末速度敏感点. 根据敏感速度与插补距离之间的关系重新进行加减速控制,避免速度急剧变化,从而满足机床的加减速性能要求. 最后,通过 Matlab 仿真验证了算法的有效性.

关键词: 数控系统, NURBS曲线, Runge-Kutta, 前瞻插补算法

Abstract: During the traditional NURBS machining,the calculation precision of the interpolation parameters of the interpolation algorithm is low,the real-time performance is poor,and too high acceleration causes a dramatic im- pact on machine tools.In order to solve these problems,a real-time look-ahead interpolation algorithm for NURBS curves based on Runge-Kutta is proposed.In the algorithm,first,the interpolation parameters are calculated by using the four-order Runge-Kutta method,and the feedrate is adjusted automatically according to the constraints of the chord error and the normal acceleration.Next,the parameters are revised according to the deviation between the theoretical feed step and the actual one.Then,based on the offline data from a rough interpolation,the extreme points of the feedrate are calculated and the parametric curves are divided into several look-ahead sections,thus finding the first and last sensitive feedrate points in each look-ahead section.Finally,the feedrate is re-planned ac- cording to the relationship between the sensitive feedrate and the interpolation distance,so as to avoid the dramatic variation of the feedrate.Thus,the demand of the machine tool in the acceleration and deceleration performance is satisfied.The proposed algorithm is proved to be effective by a Matlab simulation.

Key words: numerical control system, NURBS curves, Runge-Kutta, look-ahead interpolation algorithm

中图分类号: