Computer Integrated Manufacturing System ›› 2025, Vol. 31 ›› Issue (11): 4055-4070.DOI: 10.13196/j.cims.2023.0449

Previous Articles     Next Articles

G3 continuous tool path smoothing algorithm for CNC machining

SUN Shujie1+,ZHANG Tao1,ZHAO Peng1,LI Beibei2   

  1. 1.Electromechanical and Automotive Engineering,Yantai University
    2.Shenyang CASNC Technology Co.,Ltd.
  • Online:2025-11-30 Published:2025-12-04
  • Supported by:
    Project supported by the National Natural Science Foundation,China(No.62002308),the High-end CNC Machine Tools and Basic Manufacturing Equipment,National Science and Technology Major Projects,China(No.2019ZX04014-001),the Fundamental Research Projects of Science & Technology Innovation and Development Plan in Yantai City,China(No.2022JCYJ036),and  the Innovation Capability Improvement Project of Small and Medium-Sized Scientific and Technological Enterprises in Shandong Province,China(No.2023TSGC0853).

G3连续的数控加工刀具路径平滑算法

孙树杰1+,章涛1,赵鹏1,李备备2   

  1. 1.烟台大学机电汽车工程学院
    2.沈阳中科数控技术股份有限公司
  • 作者简介:
    +孙树杰(1987-),男,山东烟台人,副教授,博士,研究方向:高精数控技术、CAD/CAM,通讯作者,E-mail:sunshujie@ytu.edu.cn;

    章涛(1997-),男,安徽池州人,硕士研究生,研究方向:刀具路径规划,E-mail:qhmzt123@s.ytu.edu.cn;

    赵鹏(1998-),男,山东青岛人,硕士研究生,研究方向:数控加工速度规划,E-mail:zhaopeng@s.ytu.edu.cn;

    李备备(1989-),男,河南焦作人,副研究员,博士,研究方向:高精数控技术,E-mail:LiBeibei@sict.ac.cn。
  • 基金资助:
    国家自然科学基金资助项目(62002308);“高档数控机床与基础制造装备”国家科技重大专项资助项目(2019ZX04014-001);烟台市科技创新发展计划(重点项目)(2022JCYJ036);2023年度山东省科技型中小企业创新能力提升工程资助项目(2023TSGC0853)。

Abstract: The corners on the toolpath lead to discontinuous tool motion of the machine tools during high-precision Computer Numerical Control(CNC)machining,especially in the finish machining process,resulting in varying cutting load which leaves tool deflection marks on the workpiece surface,hence reducing machining quality.To solve this problem,a G3 continuous tool path smoothing algorithm was proposed.The linear tool path was first divided into different non-fitting or fitting regions.Then,a corner transition model with optimized curvature was constructed based on B-spline for the non-fitting region to generate G3 continuous toolpath.For the toolpath in the fitting regions,the toolpath was fitted by B-spline and the G3 continuity of tool path at the connection points of consecutive non-fitting and the fitting regions was regarded as the fitting constraint.The proposed algorithm was demonstrated with simulations and experiments in following a tool path on a CNC machine tool.It was shown that the proposed G3 continuous tool path generation algorithm gave G3 continuous tool path,and reduced the tracking errors and contour errors,leading to better machining quality.

Key words: G3 continuous, B-spline, curvature, transition, fitting

摘要: 在高精度数控加工尤其是高精度数控精加工过程中,小线段描述的数控加工刀具路径上存在的拐角,导致加工过程中机床的运动不连续,产生的不均匀刀具负载会引起刀具抖动,进而在工件表面留下刀痕,降低加工质量。为了提高加工质量,提出了一种G3连续的数控加工刀具路径平滑算法。算法首先将刀具路径划分为拟合区域与非拟合区域,然后基于B样条曲线建立曲率优化的拐角平滑过渡模型,并对非拟合区域中的刀具路径进行平滑处理。对于拟合区域中的刀具路径,算法以拟合区域、非拟合区域连接点处保持G3连续为约束条件,对刀具路径进行拟合处理。仿真和实验表明本文提出的算法能够产生G3连续的平滑刀具路径,减少追踪误差、轮廓误差,提高加工质量。

关键词: G3连续, B样条, 曲率, 过渡, 拟合

CLC Number: