北京航空航天大学学报 ›› 2009, Vol. 35 ›› Issue (9): 1052-1056.

• 论文 • 上一篇    下一篇

PH曲线拟合在数控前瞻中的应用

王琦魁1, 李 伟1, 陈友东2, 王田苗3   

  1. 1. 中国农业大学 工学院, 北京 100083;
    2. 北京航空航天大学 工程系统工程系, 北京 100191;
    3. 北京航空航天大学 机械工程及自动化学院, 北京 100191
  • 收稿日期:2009-09-08 出版日期:2009-09-30 发布日期:2010-09-14
  • 作者简介:王琦魁(1982-),男,辽宁沈阳人,博士生,qkwang@126.com.
  • 基金资助:

    国家自然科学基金资助项目(60404019)

Application of PH curve in CNC look-ahead function

Wang Qikui1, Li Wei1, Chen Youdong2, Wang Tianmiao3   

  1. 1. College of Engineering, China Agricultural University, Beijing 100083, China;
    2. Dept. of System Engineering of Engineering Technology, Beijing University of Aeronautics and Astronautics, Beijing 100191, China;
    3. School of Mechanical Engineering and Automation, Beijing University of Aeronautics and Astronautics, Beijing 100191, China
  • Received:2009-09-08 Online:2009-09-30 Published:2010-09-14

摘要: 为解决数控系统进行微小直线段平稳加工的问题,提出了一种拟合方法.综合了误差限制下的微小直线段长度、拐角、直线段相交点单调性等判定条件,将连续的微小直线段分割成若干区域.使用非线性最小二乘法将每一个区域内的点拟合成PH曲线,并通过模拟退火方法调整切矢量来控制拟合误差.根据区域的连接情况,将切矢量分为单向和双向两种调节方法.在模拟退火算法中,将微小直线段的斜率作为切矢量的初始值,利用细分直线的方法逐点计算弓高误差,并将此误差作为目标函数来快速进行切矢量的调整.结果表明,对微小直线段进行区域划分可以提高拟合效率.在控制弓高误差的情况下,此方法可以形成具有良好精度的光滑曲线,可以获得平稳的速度轨迹.

Abstract: A new method was developed to smooth the micro-line while machining in computer numerical control systems. Four rules including angle between transfer vectors with speed limitation, length and angle between the micro-lines with accuracy limitation and the monotonicity of the point were proposed to divide segments into some areas. Nonlinear least squares method was introduced to fit the lines into PH curves. Simulated annealing algorithm was used to adjust the tangent vector for getting better accuracy. The model of adjustment included both unidirectional and bidirectional adjustments by the situation of the point between the areas. Straight slope was considered as the initial value of the tangent vector in the simulated annealing algorithm. Chord error was computed by segmenting the micro-line, the error was the objective function to determine the adjustment of the vector. The results illustrate the dividing rules improve the fitting efficiency. Smooth curves with high accuracy were obtained to get better velocity profile.

中图分类号: 


版权所有 © 《北京航空航天大学学报》编辑部
通讯地址:北京市海淀区学院路37号 北京航空航天大学学报编辑部 邮编:100191 E-mail:jbuaa@buaa.edu.cn
本系统由北京玛格泰克科技发展有限公司设计开发