中国机械工程

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

基于弧长参数的Akima刀位轨迹拟合算法研究

周鹏1;吴继春1;周会成2;杨世平1;刘金刚1;马秋成1   

  1. 1.湘潭大学复杂轨迹加工工艺及装备教育部工程中心,湘潭,411105
    2.华中科技大学国家数控系统工程技术研究中心,武汉,430074
  • 出版日期:2017-12-25 发布日期:2017-12-21
  • 基金资助:
    国家自然科学基金资助项目(51375419,51575466,51575210);
    湖南省自然科学联合基金资助项目(2017JJ4053);
    湖南省教育厅创新平台资助项目(17K091)
    National Natural Science Foundation of China (No. 51375419,51575466,51575210)

Study on Akima Curve-fitting Algorithm with Tool-path Based on Arc-length Parameters

ZHOU Peng1;WU Jichun1;ZHOU Huicheng2;YANG Shiping1;LIU Jingang1;MA Qiucheng1   

  1. 1.The Engineering Center of Ministry of Education of Complex Trajectory Processing Technology and Equipment,Xiangtan University,Xiangtan,Hunan,411105
    2.National NC System Engineering Research Center,Huazhong University of Science and Technology,Wuhan,430074
  • Online:2017-12-25 Published:2017-12-21
  • Supported by:
    National Natural Science Foundation of China (No. 51375419,51575466,51575210)

摘要: 在数控加工中,通常用小线段表达刀位轨迹,往往会导致刀位点庞大且轨迹不平滑。基于Akima曲线具有光顺连接且端点连接处保证G1以上连续等特点,将刀位点拟合成Akima样条曲线,提出了基于弧长参数的保凸Akima拟合刀位轨迹算法。该算法分为刀位点搜索和拟合两个阶段:首先利用拟合刀位轨迹的误差测试(双弦误差测试和弦切误差测试)约束,获得该段的首末刀位点;然后在该段内根据首末刀位点计算切线矢量,用弧长信息对刀位点参数化,生成一段Akima样条。利用UG软件生成了内含75个刀位点的鞋底模型,通过MATLAB编程和仿真实验,设置不同测试阈值,对比了弧长参数化Akima曲线与节点参数化Akima曲线、NURBS曲线之间的拟合效果,验证了算法的有效性。

关键词: 小线段, Akima算法, 弧长参数, 双弦误差测试法, 弦切误差测试法

Abstract: In NC machining, tool-path was usually expressed by micro-line shocks, which might result in the magnitude of the cutter location(CL)points whose trajectory was unsmooth. The CL points were fitted into Akima spline curve with its advantages of smooth junction and the node points for over G1-continuity,thus the Akima curve-fitting algorithm preserving convexity for tool-path was proposed based on arc-length parameters. The algorithm was divided into two stages including CL points' searching and curve fitting.  Firstly the features of CL points, the error testing constraints including bi-chord error tests and tangent error tests for fitting the tool trajectory were used to judge the adjacent CL points by the threshold of the testing constraints, if they were satisfied with the threshold continue to search the next tool location point(TLP), otherwise, CL points' searching might be suspended and the first and end points of the segment were attained, then the tangent vectors were calculated according to the first and end points in this segment to ensure the concavity and convexity of the fitted curves, and the arc-length was used to parameterize the CL points ,so that a section of Akima spline between the adjoining CL points which had paused to searching were generated. When this segment of Akima curve fitting was accomplished, then the end point of the section was regarded as the first point of the next section, as the circle to the end. The model of the shoe sole(consists of 75 CL points) were generated by ultilizing UG software. The different testing thresholds were set up to compare the Akima curves whose arc-length was parameterized with the Akima curves whose knots were parameterized and NURBS curves based on MATLAB programming and simulation experiments were used to validate effectiveness of the algorithm.

Key words: micro-line shock, Akima algorithm, arc-length parameter, bi-chord error test, tangent error test

中图分类号: