A Fitting Algorithm Based on Least Square Method and Spiral for Discrete Points

  • YOU Zhongtong ,
  • WANG Taiyong ,
  • LIU Qingjian ,
  • XIN Quanqi
Expand
  • 1. School of Mechanical Engineering, Tianjin University, Tianjin, 300350;
    2. School of Mechanical Engineering and Automation, Tianjin Vocational Institute, Tianjin, 300410

Received date: 2017-07-10

  Online published: 2018-10-25

Abstract

In order to solve the problems of large amount of small line segments tool path data in NC machining processes, a fitting algorithm was proposed based on Archimedes spiral for small line segments or discrete points.The relationship between parameters of Archimedes spiral and angles between tangent vector and radius vector were analyzed, and a calculation method of fitting errors was given.Based on the principles of least square, through forward and backward searching the discrete points to fit them with small numbers of Archimedes spirals under the premise of meeting the precision requirements.Simulation results show the advantages of Archimedes spiral fitting discrete points whose data amount is small while fitting precision is high.

Cite this article

YOU Zhongtong , WANG Taiyong , LIU Qingjian , XIN Quanqi . A Fitting Algorithm Based on Least Square Method and Spiral for Discrete Points[J]. China Mechanical Engineering, 2018 , 29(20) : 2502 -2506,2514 . DOI: 10.3969/j.issn.1004-132X.2018.20.017

References

[1] 张晓辉, 于东, 洪海涛, 等. 数控加工中的平滑压缩插补算法研究[J]. 机械工程学报, 2011, 47(5):156-162. ZHANG Xiaohui,YU Dong,HONG Haitao,et al. Research on Smooth Compression Interpolation Al-gorithm in CNC Machining[J]. Journal of Mechani-cal Engineering, 2011, 47(5):156-162.
[2] 乐英, 韩庆瑶, 王璋奇.数控加工中非圆曲线的最小二乘圆弧逼近[J]. 华北电力大学学报, 2006, 33(6):102-104. YUE Ying,HAN Qinyao,WANG Zhangqi. Least Squares Approximation for Non-circular Curve in NC Machining[J]. Journal of North China Electric Power University, 2006, 33(6):102-104.
[3] 史旭光, 胥布工.双圆弧数值算法在NURBS曲线插补中的应用[J].中国机械工程, 2010, 21(12):1387-1391. SHI Xuguang, XU Bugong. Implementation of NURBS Interpolation Based on Biarc Numerical Al-gorithm[J]. China Mechanical Engineering, 2010, 21(12):1387-1391.
[4] 王可, 付玉升, 陈欣, 等. 一种新型数控逼近曲线的理论与应用研究[J]. 中国机械工程, 2003, 14(14):1230-1232. WANG Ke,FU Yusheng,CHEN Xin,et al. Re-search on the Theory and Application of Helix Inter-polation in CNC Machining[J]. China Mechanical Engineering, 2003, 14(14):1230-1232.
[5] 张彦博.用阿基米德螺旋线逼近椭圆之节点划分方法[J].机床与液压, 2006(3):73-74. ZHANG Yanbo. A Method of Node Dividing When Using Archimedes Spiral to Approach Ellipse[J]. Machine Tool & Hydraulics, 2006(3):73-74.
[6] 李泽蓉, 文广, 李碧茹. 用阿基米德螺旋线代替大直径圆弧的加工方法[J]. 四川兵工学报, 2009, 30(3):73-74. LI Zerong,WEN Guang,LI Biru. A Machining Method for Replace Large-diameter Arc by Using Archimedes Spiral[J]. Journal of Ordnance Equip-ment Engineering, 2009, 30(3):73-74.
[7] 李占利, 张卫国, 厍向阳. 最优化理论与方法[M]. 徐州:中国矿业大学出版社, 2012. LI Zhanli, ZHANG Weiguo, SHE Xiangyang.Theo-ry and Methods of Optimization[M].Xuzhou:China University of Mining and Technology Press, 2012.
[8] 孙喜庆. 小线段轨迹的圆弧拟合和NURBS曲线的离散算法研究[D].哈尔滨:哈尔滨工业大学, 2014. SUN Xiqing. The Research of the Continue Line Segments Fitting by Arc and the Separation of NURBS Curve[D]. Harbin:Harbin Institute of Technology, 2014.
[9] QIU Hua, AKIO K, LI Ziye, et al.Optimal Archime-des' Spiral Interpolation for Cutter Path Generation in NC Machining of Noncircular Contours[J].Inter-national Journal of Advanced Manufacturing Tech-nology, 2008, 36:69-82.
[10] CHEN Hao, ZHAO Wansheng, XI Xuechen, et al. Non-circular Parametric Curve and Curved Surface Interpolation and Tool Compensation for WEDM Based on Unit Arc Length Increment Method[J]. International Journal of Advanced Manufacturing Technology, 2017, 88:1257-1266.
Outlines

/

〈 〉