[go: up one dir, main page]

CN102778859B - Numerical control machining cutter path generation method based on double helix space filling curves - Google Patents

Numerical control machining cutter path generation method based on double helix space filling curves Download PDF

Info

Publication number
CN102778859B
CN102778859B CN201210256434.9A CN201210256434A CN102778859B CN 102778859 B CN102778859 B CN 102778859B CN 201210256434 A CN201210256434 A CN 201210256434A CN 102778859 B CN102778859 B CN 102778859B
Authority
CN
China
Prior art keywords
filling curve
space filling
double helix
tool
curve
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210256434.9A
Other languages
Chinese (zh)
Other versions
CN102778859A (en
Inventor
罗磊
龚江波
胡俊
徐合兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiaotong University Chi Bang Technology Co Ltd
Original Assignee
Shanghai Jiao Tong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jiao Tong University filed Critical Shanghai Jiao Tong University
Priority to CN201210256434.9A priority Critical patent/CN102778859B/en
Publication of CN102778859A publication Critical patent/CN102778859A/en
Application granted granted Critical
Publication of CN102778859B publication Critical patent/CN102778859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Numerical Control (AREA)

Abstract

本发明公开了一种基于双螺旋空间填充曲线的数控加工刀具轨迹生成方法,包括:步骤1,根据残留高度和曲面形状确定填充曲线的阶数,在二维平面上生成符合要求阶数的双螺旋填充曲线;步骤2,对刀具轨迹的拐角部分进行改进,优化刀具轨迹;步骤3,根据映射原理将二维的填充曲线映射到空间曲面上从而得到符合要求的数控加工中的刀具轨迹。本发明在原有的空间填充曲线的基础上进行基元的改进,使得整条刀具轨迹长度变短,而且整条刀具轨迹中的变向更少;而且在拐角处进行了圆弧过渡,使得整条轨迹圆滑,避免了由于90度的直角连接而导致加工过程中速度的频繁启停和进给方向的频繁变化,减小对机床、刀具和被加工表面带来冲击,从而提高加工表面质量。

The invention discloses a method for generating a CNC machining tool trajectory based on a double-helix space-filling curve, which includes: step 1, determining the order of the filling curve according to the residual height and the shape of the curved surface, and generating a double-helix that meets the required order on a two-dimensional plane. Spiral filling curve; step 2, improve the corner part of the tool path to optimize the tool path; step 3, map the two-dimensional filling curve to the space surface according to the mapping principle to obtain the tool path in NC machining that meets the requirements. The present invention improves the primitive on the basis of the original space-filling curve, so that the length of the entire tool track is shortened, and the direction changes in the entire tool track are less; The track is smooth, which avoids the frequent start and stop of the speed and the frequent change of the feed direction during the machining process due to the 90-degree right-angle connection, and reduces the impact on the machine tool, the tool and the machined surface, thereby improving the quality of the machined surface.

Description

基于双螺旋空间填充曲线的数控加工刀具轨迹生成方法A method for generating tool paths in NC machining based on double-helix space-filling curves

技术领域 technical field

本发明涉及机床技术领域的刀具轨迹规划方法,具体地说,是一种基于双螺旋空间填充曲线的数控加工刀具轨迹生成方法。  The invention relates to a tool trajectory planning method in the technical field of machine tools, in particular to a method for generating a numerically controlled tool trajectory based on a double helix space filling curve. the

背景技术 Background technique

自由曲面广泛的应用于产品的设计中,刀具轨迹生成是自由曲面零件数控加工中最重要的内容。刀具轨迹的优劣直接影响其加工精度和加工效率。目前刀具轨迹的生成方法中传统的方法有等残留高度法、参数线法等,常用的有曲率匹配法、等梯度法,但是这些方法都有各自的缺点,而且很难将加工效率和加工质量同时兼顾。为此,我们提出了一种新的刀具轨迹生成方法,即双螺旋填充曲线,同时对其拐角部分进行了圆角处理,可以有效的满足减小冲击载荷和提高加工效率的要求。  Freeform surfaces are widely used in product design, and tool path generation is the most important content in NC machining of freeform surface parts. The quality of the tool path directly affects its machining accuracy and machining efficiency. At present, the traditional methods of tool trajectory generation methods include equal residual height method, parameter line method, etc. The commonly used methods are curvature matching method and equal gradient method. At the same time. To this end, we propose a new tool path generation method, that is, a double helix filling curve, and at the same time fillet the corners, which can effectively meet the requirements of reducing impact load and improving processing efficiency. the

经对现有技术的文献检索发现,Ali Lasemi等发表的《Recent development in CNC machining of freeform surfaces:a state-of-the-art review》(刊物《Computer-Aided Design》2010.42,p641-654),总结了目前的刀具轨迹规划方法,通过概述讲述了该方法的发展过程及其优劣,但是并未对刀具轨迹进行深入的研究。检索中还发现,李德信等发表的《Hilbert填充曲线用于刀具路径生成的算法及改进研究》(刊物《中国机械工程》2011.11.22(22),p2739-2743),详细的描述了Hilbert曲线的生成原理,并提出了用倒角的办法进行过渡来替代原来的直角过渡的方法生成加工刀具轨迹。从而减少刀具轨迹中存在的转向过于频繁对机床、刀具和工件的冲击。而且其生成的Hilbert填充曲线变向较多,且仅提出了这个思路,却并未详细的对圆弧的大小进行研究。  After searching the literature of the prior art, it was found that "Recent development in CNC machining of freeform surfaces: a state-of-the-art review" (published "Computer-Aided Design" 2010.42, p641-654) published by Ali Lasemi et al. The current tool path planning method is summarized, and the development process of the method and its advantages and disadvantages are described through an overview, but the tool path planning method is not deeply studied. In the search, it was also found that "Algorithm and Improvement of Hilbert Filling Curve for Tool Path Generation" published by Li Dexin et al. (Publication "China Mechanical Engineering" 2011.11.22 (22), p2739-2743), described in detail the Hilbert curve Generating principle, and put forward the way of chamfering to replace the original right-angle transition to generate machining tool path. Thereby reducing the impact of too frequent steering in the tool path on the machine tool, tool and workpiece. Moreover, the Hilbert filling curve generated by it changes many directions, and only this idea is proposed, but the size of the arc is not studied in detail. the

发明内容 Contents of the invention

本发明针对现有技术中存在的上述不足,提供了一种基于双螺旋空间填充曲线 的数控加工刀具轨迹生成方法,对原有的Hilbert曲线进行基元的改进,提出了双螺旋填充曲线,并通过采用圆弧来圆滑处理拐角处的过渡,可以减小在拐角处发生对机床的冲击,有效的提高刀具的寿命,获得更高的加工效率和表面质量。  The present invention aims at the above-mentioned deficiencies existing in the prior art, provides a kind of numerical control machining tool track generation method based on the double-helix space-filling curve, improves the primitive of the original Hilbert curve, proposes the double-helix filling curve, and By using arcs to smooth the transition at the corners, the impact on the machine tool at the corners can be reduced, the life of the tool can be effectively improved, and higher processing efficiency and surface quality can be obtained. the

本发明是通过以下技术方案实现的。  The present invention is achieved through the following technical solutions. the

一种基于双螺旋空间填充曲线的数控加工刀具轨迹生成方法,包括以下步骤:  A NC machining tool trajectory generation method based on a double-helix space-filling curve, comprising the following steps:

步骤1,根据残留高度和曲面形状确定填充曲线的阶数,在二维平面上生成符合要求阶数的双螺旋填充曲线;  Step 1, determine the order of the filling curve according to the residual height and surface shape, and generate a double helix filling curve that meets the required order on the two-dimensional plane;

步骤2,对刀具轨迹的拐角部分进行改进,优化刀具轨迹;  Step 2, improve the corner part of the tool path to optimize the tool path;

步骤3,根据映射原理将二维的填充曲线映射到空间曲面上从而得到符合要求的数控加工中的刀具轨迹。  Step 3, according to the mapping principle, the two-dimensional filling curve is mapped to the space surface to obtain the tool trajectory in NC machining that meets the requirements. the

所述双螺旋填充曲线采用矩阵生成方法,包括以下步骤:  The double helix filling curve adopts a matrix generation method, comprising the following steps:

第一步,首先得到基元;  The first step is to get primitives first;

第二步,将各个小正方形再细分为四个不同的小正方形,并按照生成规则连接各个区域的基元;  The second step is to subdivide each small square into four different small squares, and connect the primitives of each area according to the generation rules;

第三步,重复第二步不断细分下去,得到不同阶数的双螺旋填充曲线。  In the third step, repeat the second step and subdivide continuously to obtain double helix filling curves of different orders. the

所述生成规则为:FK+1表示当前阶数K+1阶的填充曲线,FK表示上一阶K阶的填充曲线,将FK所形成的正方体细分为四个同等大小的小正方体,当K为奇数的时候,将FK缩小放置在左下角的小正方体中,右上角的小正方体中的填充曲线为将其顺时针旋转90°所得,剩余两个小正方体中的填充曲线则是上下对称得到;当K时偶数的时候,将FK缩小放置在左上角的小正方体中,右上角的小正方体中的填充曲线跟其一致,左下角的的小正方体中的填充曲线为将其顺时针旋转90°所得,右下角的小正方体中的填充曲线为将其逆时针旋转90°所得,得到四个小正方体中的填充曲线后,用直线水平或垂直连接各个小正方体中的填充曲线即可以得到FK+1的填充曲线。  The generation rule is: F K+1 represents the filling curve of the current order K+1 order, F K represents the filling curve of the previous order K order, and the cube formed by F K is subdivided into four equal-sized small Cube, when K is an odd number, reduce F K and place it in the small cube in the lower left corner, the filling curve in the small cube in the upper right corner is obtained by rotating it clockwise by 90°, and the filling curves in the remaining two small cubes It is obtained symmetrically from top to bottom; when K is an even number, reduce F K and place it in the small cube in the upper left corner, the filling curve in the small cube in the upper right corner is consistent with it, and the filling curve in the small cube in the lower left corner is Rotate it clockwise by 90°, and the filling curve in the small cube in the lower right corner is obtained by rotating it counterclockwise by 90°. After obtaining the filling curves in the four small cubes, use a straight line to connect each small cube horizontally or vertically. Filling the curve can get the filling curve of F K+1 .

所述刀具轨迹为从头到尾是一笔画成,并采用双螺旋线形式的基元,通过变换公式生成不同阶数的刀具轨迹,对刀具轨迹中拐角部分进行圆弧处理,再使用映射原理从而得到曲面上的刀具轨迹。  The tool trajectory is drawn in one stroke from the beginning to the end, and adopts the primitive in the form of a double helix. The tool trajectory of different orders is generated by transforming the formula, and the corner part of the tool trajectory is treated as an arc, and then the mapping principle is used to achieve Get the tool path on the surface. the

所述圆弧处理为,当两条刀具轨迹不在同一条直线上时,将形成一拐点,使用 一个半径为r的圆弧来连接两条刀轨对其进行圆滑处理,根据残留高度h和刀具有效切削半径R来计算得知满足曲面加工精度要求的行距L,根据L计算得知r。  The arc processing is that when the two tool tracks are not on the same straight line, a turning point will be formed, and an arc with a radius of r is used to connect the two tool tracks for smooth processing. According to the residual height h and the tool The effective cutting radius R is used to calculate the line spacing L that meets the requirements of surface machining accuracy, and r is calculated based on L. the

所述过渡圆弧的半径大小约为r,其中,适用的最小半径公式为:                                                   所述L为刀具轨迹的行距。  The radius of the transition arc is about r, where the applicable minimum radius formula is: The L is the line spacing of the tool path.

本发明在原有的空间填充曲线的基础上进行了基元的改进,使得整条刀具轨迹长度变短,而且整条刀具轨迹中的变向更少;而且在拐角处进行了圆弧过渡,使得整条轨迹圆滑,避免了由于90度的直角连接而导致加工过程中速度的频繁启停和进给方向的频繁变化,减小了对机床、刀具和被加工表面带来冲击,从而提高加工表面质量。  The present invention improves the primitive on the basis of the original space-filling curve, so that the length of the entire tool path is shortened, and there are fewer direction changes in the entire tool path; moreover, arc transition is performed at the corner, so that The whole trajectory is smooth, which avoids the frequent start and stop of the speed and the frequent change of the feed direction during the machining process due to the 90-degree right-angle connection, and reduces the impact on the machine tool, the tool and the machined surface, thereby improving the machined surface. quality. the

现有技术采用的刀具轨迹生成方法中,都是专注于加工效率和质量中的一个方面,而且刀轨是多条线段连接起来。并且有的方法中拐角过多,对机床、刀具和工件都造成了冲击。  The tool path generation methods adopted in the prior art all focus on one aspect of machining efficiency and quality, and the tool paths are connected by multiple line segments. And there are too many corners in some methods, which have caused impacts on machine tools, cutting tools and workpieces. the

本发明与现有技术相比,本发明采用了双螺旋填充曲线,不仅整个刀具轨迹长度变短,而且其转向的次数减少为以前的七成左右,而且加工质量优于大部分方法,尤其体现在曲面的曲率变化比较明显的区域。同时,本发明在拐角过渡时,采用了圆弧来进行圆滑处理,所得到的刀具轨迹连续,拐角处的速度平滑过渡且不会降为零,而且进给方向不会发生突变,保证了加工中进给速度不会频繁启停和进给方向不会突变。同时过渡圆弧与预先设定的曲面精度有关,可以保证加工曲面的精度,并实现数控加工中拐点的圆滑过渡。  Compared with the prior art, the present invention adopts the double helix filling curve, not only shortens the length of the entire tool track, but also reduces the number of turns to about 70% of the previous ones, and the processing quality is better than most methods, especially In areas where the curvature of the surface changes significantly. At the same time, the present invention adopts circular arcs for smooth processing when corners are transitioned, the obtained tool trajectory is continuous, the speed at the corners transitions smoothly and will not drop to zero, and the feed direction will not change abruptly, ensuring the machining The medium feed speed will not start and stop frequently and the feed direction will not change suddenly. At the same time, the transition arc is related to the preset surface accuracy, which can ensure the accuracy of the processed surface and realize the smooth transition of the inflection point in NC machining. the

附图说明 Description of drawings

图1(a)为本发明中双螺旋填充曲线的基元,(b)为K为奇数时填充曲线的生成规则,(c)为K为偶数时填充曲线的生成规则;  Fig. 1 (a) is the basic unit of the double helix filling curve in the present invention, (b) is the generation rule of the filling curve when K is an odd number, (c) is the generation rule of the filling curve when K is an even number;

图2为本发明中优化后的二维双螺旋填充曲线;  Fig. 2 is the two-dimensional double helix filling curve optimized in the present invention;

图3为本发明中双螺旋填充曲线的映射原理;  Fig. 3 is the mapping principle of double helix filling curve among the present invention;

图4为各种刀具轨迹规划方法生成的刀具轨迹;  Figure 4 shows the tool paths generated by various tool path planning methods;

其中,(a)为Hilbert填充曲线,(b)为双螺旋填充曲线,(c)为改进的双螺 旋填充曲线;  Among them, (a) is the Hilbert filling curve, (b) is the double helix filling curve, (c) is the improved double helix filling curve;

图5为本发明多段刀具轨迹及其之间的过渡曲线;  Fig. 5 is multi-segment tool path of the present invention and transition curve therebetween;

图6为本发明中平面加工行距计算示意图;  Fig. 6 is a schematic diagram of calculating line spacing in plane processing in the present invention;

图7为本发明中凹面加工行距计算示意图;  Fig. 7 is a schematic diagram of calculating line spacing of concave surface processing in the present invention;

图8为本发明中凸面加工行距计算示意图。  Fig. 8 is a schematic diagram of calculation of line distance in convex surface processing in the present invention. the

具体实施方式 Detailed ways

下面对本发明的实施例作详细说明:本实施例在以本发明技术方案为前提下进行实施,给出了详细的实施方式和具体的操作过程,但本发明的保护范围不限于下述的实施例。  The embodiments of the present invention are described in detail below: the present embodiment is implemented under the premise of the technical solution of the present invention, and detailed implementation and specific operation process are provided, but the protection scope of the present invention is not limited to the following implementation example. the

本实施例提供了一种基于双螺旋空间填充曲线的数控加工刀具轨迹生成方法,包括以下步骤:  The present embodiment provides a method for generating a CNC machining tool path based on a double-helix space-filling curve, comprising the following steps:

步骤1,根据残留高度和曲面形状确定填充曲线的阶数,在二维平面上生成符合要求阶数的双螺旋填充曲线;  Step 1, determine the order of the filling curve according to the residual height and surface shape, and generate a double helix filling curve that meets the required order on the two-dimensional plane;

步骤2,对刀具轨迹的拐角部分进行改进,优化刀具轨迹;  Step 2, improve the corner part of the tool path to optimize the tool path;

步骤3,根据映射原理将二维的填充曲线映射到空间曲面上从而得到符合要求的数控加工中的刀具轨迹。  Step 3, according to the mapping principle, the two-dimensional filling curve is mapped to the space surface to obtain the tool trajectory in NC machining that meets the requirements. the

本实施例中采用矩阵生成双螺旋填充曲线法方法,包括以下步骤:  In the present embodiment, the method of matrix generation double helix filling curve method is adopted, comprising the following steps:

第一步,首先得到基元;  The first step is to get primitives first;

第二步,将各个小正方形再细分为四个不同的小正方形,并按照生成规则连接各个区域的基元;  The second step is to subdivide each small square into four different small squares, and connect the primitives of each area according to the generation rules;

第三步,重复第二步不断细分下去,得到不同阶数的双螺旋填充曲线。  In the third step, repeat the second step and subdivide continuously to obtain double helix filling curves of different orders. the

具体生成规则为:如图1(b)和(c)所示,FK+1表示当前阶数K+1阶的填充曲线,FK表示上一阶K阶的填充曲线,将FK所形成的正方体细分为四个同等大小的小正方体,当K为奇数的时候,将FK缩小放置在左下角的小正方体中,右上角的小正方体中的填充曲线为将其顺时针旋转90°所得,剩余两个小正方体中的填充曲线则是上下对称得到;当K时偶数的时候,将FK缩小放置在左上角的小正方体中,右上角的小正方体中的填充曲线跟其一致,左下角的的小正方体中的填充曲线为将其顺 时针旋转90°所得,右下角的小正方体中的填充曲线为将其逆时针旋转90°所得,得到四个小正方体中的填充曲线后,用直线水平或垂直连接各个小正方体中的填充曲线即可以得到FK+1的填充曲线。  The specific generation rules are as follows: as shown in Figure 1(b) and (c), F K+1 represents the filling curve of the current order K+1, and F K represents the filling curve of the previous order K. The formed cube is subdivided into four small cubes of the same size. When K is an odd number, reduce F K and place it in the small cube in the lower left corner. The filling curve in the small cube in the upper right corner is to rotate it clockwise by 90 ° obtained, the filling curves in the remaining two small cubes are symmetrical up and down; when K is an even number, reduce F K and place it in the small cube in the upper left corner, and the filling curve in the small cube in the upper right corner is consistent with it , the fill curve in the small cube in the lower left corner is obtained by rotating it 90° clockwise, and the fill curve in the small cube in the lower right corner is obtained by rotating it counterclockwise by 90°, after obtaining the fill curves in the four small cubes , use a straight line to horizontally or vertically connect the filling curves in each small cube to get the filling curve of F K+1 .

其具体原理如下:  The specific principle is as follows:

记2n阶双螺旋填充曲线扫描矩阵为H2 n,且    H 2 = 1 2 3 4 14 13 12 5 15 10 11 6 16 9 8 7 , 则构造双螺旋填充曲线扫描矩阵的递推算法如下:  Denote the scanning matrix of the 2 n -order double helix filling curve as H 2 n , and h 2 = 1 2 3 4 14 13 12 5 15 10 11 6 16 9 8 7 , Then the recursive algorithm for constructing the double helix filling curve scanning matrix is as follows:

Hh 22 kk ++ 11 == Hh 22 kk 44 kk EE. 22 kk ++ Hh TT 22 kk (( 44 kk ++ 11 ++ 11 )) EE. 22 kk -- Hh ^^ 22 kk (( 33 ** 44 kk ++ 11 )) EE. 22 kk -- (( Hh ~~ 22 kk )) TT Hh 22 kk (( 44 kk ++ 11 ++ 11 )) EE. 22 kk -- Hh ~~ 22 kk 44 kk EE. 22 kk ++ Hh TT 22 kk (( 33 ** 44 kk ++ 11 )) EE. 22 kk -- (( Hh ~~ TT 22 kk ))

式中:E为相应阶数的单位矩阵;若k为偶数则采用上式,若k为奇数采用下式。  In the formula: E is the identity matrix of the corresponding order; if k is an even number, the above formula is used, and if k is an odd number, the following formula is used. the

刀具轨迹为从头到尾是一笔画成,并采用双螺旋线形式的基元,通过变换公式生成不同阶数的刀具轨迹,对刀具轨迹中拐角部分进行圆弧处理,再使用映射原理从而得到曲面上的刀具轨迹;圆弧处理为,当两条刀具轨迹不在同一条直线上时,将形成一拐点,使用一个半径为r的圆弧来连接两条刀轨对其进行圆滑处理,根据残留高度h和刀具有效切削半径R来计算得知满足曲面加工精度要求的行距L,根据L计算得知r;过渡圆弧的半径大小约为r,其中,适用的最小半径公式为:    L为刀具轨迹的行距。具体为,两段刀具轨迹如图5所示,由于两刀具轨迹不在同一条直线上所以形成了一拐点。图中相邻轨迹间的行距为L,若要圆滑的连接两条刀具轨迹则需合理给定过渡圆弧的半径。根据刀具轨迹行距和残留高度知,若圆弧两端点间距离D小于行距L时,该过渡圆弧直接被跳过,没有起到圆滑连接刀具轨迹的作用;当圆弧半径大于行距时,相邻刀具轨迹间将发生过切现象,因而圆弧的半径大致可以定于该范围内。如图2中所示,    则我们可以选择的圆弧半径在[0.707L,L]之间。  The tool path is drawn in one stroke from the beginning to the end, and the primitive in the form of a double helix is used to generate tool paths of different orders through the transformation formula, and the corner part of the tool path is processed by arcs, and then the mapping principle is used to obtain the curved surface The tool path above; the arc processing is that when the two tool paths are not on the same straight line, an inflection point will be formed, and an arc with a radius of r is used to connect the two tool paths for smooth processing. According to the residual height H and the effective cutting radius R of the tool are used to calculate the line spacing L that meets the requirements of surface machining accuracy, and r is calculated according to L; the radius of the transition arc is about r, and the applicable minimum radius formula is: L is the line spacing of the tool path. Specifically, as shown in Figure 5, the two tool trajectories form an inflection point because the two tool trajectories are not on the same straight line. The line spacing between adjacent paths in the figure is L, and if two tool paths are to be connected smoothly, the radius of the transition arc must be given reasonably. According to the line spacing and residual height of the tool track, if the distance D between the two ends of the arc is less than the line spacing L, the transition arc will be skipped directly, which does not play a role in smoothly connecting the tool track; when the radius of the arc is greater than the line spacing, the corresponding Overcutting will occur between adjacent tool paths, so the radius of the arc can be roughly set within this range. As shown in Figure 2, Then the arc radius we can choose is between [0.707L, L].

行距根据不同的曲面、残留高度和刀具有效切削半径得知:如图6,平面加工行距为:    如图7,凹面加工行距为:    如图8,图面加工行距为:    其中L表示刀具轨迹间的行距,R表示刀具有效切削半径,h表示残留高度,Rn表示沿行距方向法曲率半径。  The line spacing is known according to different curved surfaces, residual heights and effective cutting radius of the tool: as shown in Figure 6, the line spacing of plane processing is: As shown in Figure 7, the line spacing of concave surface processing is: As shown in Figure 8, the line spacing of drawing processing is: Among them, L represents the line spacing between tool paths, R represents the effective cutting radius of the tool, h represents the residual height, and R n represents the normal radius of curvature along the line distance direction.

双螺旋填充曲线是在二维平面上生成的,而待加工零件表面使复杂的空间自由曲面,需要使用图3中的映射原理将生成的填充曲线投影到曲面上。从而得到我们需要的自由曲面上的双螺旋空间填充曲线的刀具轨迹。如图2所示。  The double-helix filling curve is generated on a two-dimensional plane, and the surface of the part to be processed is a complex free-form surface in space. It is necessary to use the mapping principle in Figure 3 to project the generated filling curve onto the surface. Thus, the tool path of the double-helix space-filling curve on the free-form surface is obtained. as shown in picture 2. the

以一个具体的Bezier自由曲面的数控加工刀具轨迹的生成为力,生成双螺旋线刀具轨迹。该曲面如单峰曲面,既有曲率变化比较剧烈的表面,又有曲率变化不大剧烈的顶部表面,可以较全面的评判数控加工质量。其控制定点坐标如下:  Taking the generation of a specific Bezier freeform surface NC machining tool path as the force, a double helix tool path is generated. This curved surface is like a unimodal surface, which has both a surface with a sharp change in curvature and a top surface with a small curvature change, which can comprehensively judge the quality of CNC machining. Its control fixed-point coordinates are as follows:

Px=[100,140,140,100;180,190,190,180;230,220,230,220;310,270,270,310];  Px=[100,140,140,100;180,190,190,180;230,220,230,220;310,270,270,310];

Py=[100,170,220,290;100,170,220,290;100,170,220,290;100,170,220,290];  Py=[100,170,220,290;100,170,220,290;100,170,220,290;100,170,220,290];

Pz=[100,150,150,100;180,210,210,180;180,210,210,180;100,150,150,100];  Pz=[100,150,150,100;180,210,210,180;180,210,210,180;100,150,150,100];

使用MATLAB编程,得到的Hilbert刀具轨迹、双螺旋填充曲线轨迹及改进的双螺旋填充轨迹。如图4。  Using MATLAB programming, the obtained Hilbert tool trajectory, double helix filling curve trajectory and improved double helix filling trajectory. Figure 4. the

  曲线类型 Curve Type   刀轨长度(单位长) Tool path length (unit length)   拐角 corner   圆角 Fillet   Hilbert填充曲线 Hilbert fill curve   1.5905*103 1.5905*10 3   50 50   0 0   双螺旋填充曲线 double helix filling curve   1.5868*103 1.5868*10 3   28 28   0 0   改进的双螺旋填充曲线 Improved double helix filling curve   1.1536*103 1.1536*10 3   0 0   28 28

表1中可以明显的看出新提出的方法在变向上减少了大约一半左右。经过改进后的Hilbert曲线和双螺线填充曲线相比之前,加工过程中对刀具的冲击明显减小,有利于改善表面加工质量,同时刀具路径长度明显减少。 It can be clearly seen in Table 1 that the newly proposed method reduces the variation by about half. Compared with the improved Hilbert curve and double helix filling curve, the impact on the tool during processing is significantly reduced, which is conducive to improving the surface processing quality, and at the same time the length of the tool path is significantly reduced.

以上对本发明的具体实施例进行了描述。需要理解的是,本发明并不局限于上述特定实施方式,本领域技术人员可以在权利要求的范围内做出各种变形或修改,这并不影响本发明的实质内容。  Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art may make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. the

Claims (5)

1. the method for numerical control (NC) machining tool path generation based on double helix space filling curve, is characterized in that, comprises the following steps:
Step 1, determines the exponent number of space filling curve according to residual height and curve form, generate the double helix space filling curve of the exponent number that meets the requirements on two dimensional surface;
Step 2, improves the corner part of cutter path, optimizes cutter path;
Step 3, thus according to mapping principle, two-dimentional space filling curve is mapped to and on space curved surface, obtains the cutter path in satisfactory digital control processing;
Described cutter path is for being from the beginning to the end unicursal one-tenth, and adopt the primitive of bifilar helix form, by transformation for mula, generate the cutter path of different rank, corner part in cutter path is carried out to circular arc processing, thereby re-use mapping principle, obtain the cutter path on curved surface.
2. the method for numerical control (NC) machining tool path generation based on double helix space filling curve according to claim 1, is characterized in that, described double helix space filling curve adopts matrix generating method, comprises the following steps:
The first step, first obtains primitive;
Second step, is subdivided into four different little squares again by each little square, and according to create-rule, connects the primitive of regional;
The 3rd step, repeats second step and constantly segments, and obtains the double helix space filling curve of different rank.
3. the method for numerical control (NC) machining tool path generation based on double helix space filling curve according to claim 2, is characterized in that, described create-rule is: F k+1the space filling curve that represents current exponent number K+1 rank, F kthe space filling curve on single order K rank in expression, by F kformed square is subdivided into the little square of four equal sizes, when K is odd number, by F kdwindle in the little square that is placed on the lower left corner, the space filling curve in the little square in the upper right corner is for being turned clockwise 90 ° of gained, and the space filling curve remaining in two little squares is that upper and lower symmetry obtains; When K when even number, by F kdwindle in the little square that is placed on the upper left corner, space filling curve in the little square in the upper right corner is consistent with it, the lower left corner little square in space filling curve be the 90 ° of gained that turned clockwise, space filling curve in the little square in the lower right corner is for being rotated counterclockwise 90 ° of gained, obtain after four space filling curves in little square, with straight line level or the space filling curve that vertically connects in each little square, can obtain F k+1space filling curve.
4. the method for numerical control (NC) machining tool path generation based on double helix space filling curve according to claim 1, it is characterized in that, described circular arc is treated to, when two cutter paths are not on same straight line, to form a flex point, with the circular arc that a radius is r, connect two cutter rails it is carried out to round and smooth processing, according to residual height h and the effective radius of clean-up R of cutter, calculate and learn the line-spacing L that meets surface machining accuracy requirement, according to L, calculate and learn r.
5. the method for numerical control (NC) machining tool path generation based on double helix space filling curve according to claim 4, is characterized in that, the radius size of described transition arc is about r, and wherein, applicable least radius formula is: described L is the line-spacing of cutter path.
CN201210256434.9A 2012-07-24 2012-07-24 Numerical control machining cutter path generation method based on double helix space filling curves Active CN102778859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210256434.9A CN102778859B (en) 2012-07-24 2012-07-24 Numerical control machining cutter path generation method based on double helix space filling curves

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210256434.9A CN102778859B (en) 2012-07-24 2012-07-24 Numerical control machining cutter path generation method based on double helix space filling curves

Publications (2)

Publication Number Publication Date
CN102778859A CN102778859A (en) 2012-11-14
CN102778859B true CN102778859B (en) 2014-12-10

Family

ID=47123793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210256434.9A Active CN102778859B (en) 2012-07-24 2012-07-24 Numerical control machining cutter path generation method based on double helix space filling curves

Country Status (1)

Country Link
CN (1) CN102778859B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183333A (en) * 2014-06-12 2015-12-23 福建福昕软件开发股份有限公司北京分公司 Method for displaying strokes on painting canvas
CN105022343B (en) * 2015-07-13 2017-12-15 上海交通大学 Method of numerical control (NC) machining tool path generation based on space filling curve
CN106019983A (en) * 2016-05-26 2016-10-12 哈尔滨理工大学 Numerical control rough milling simulation system based on curved surface deformation
CN105955197A (en) * 2016-06-16 2016-09-21 哈尔滨理工大学 Space-filling-method-based numerically-controlled finish-milling simulation system
CN112873851B (en) * 2020-12-24 2021-09-24 南京衍构科技有限公司 3D printing path of rotating member and additive manufacturing method thereof
CN115401913B (en) * 2022-09-06 2024-07-16 西安交通大学 Continuous conductive fiber electromagnetic superstructure and 3D printing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2410643A (en) * 2001-01-24 2005-08-03 Snell & Wilcox Ltd Motion vector labelling in frequency of occurrence and run length encoding of labels
CN101403908A (en) * 2008-11-12 2009-04-08 山东理工大学 High-precision numerical control machining tool track fast generation method for triangular gridding curved surface model

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2410643A (en) * 2001-01-24 2005-08-03 Snell & Wilcox Ltd Motion vector labelling in frequency of occurrence and run length encoding of labels
CN101403908A (en) * 2008-11-12 2009-04-08 山东理工大学 High-precision numerical control machining tool track fast generation method for triangular gridding curved surface model

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
Hilbert填充曲线用于刀具路径生成的算法及改进研究;李德信等;《中国机械工程》;20111130;第22卷(第22期);2739-2743 *
J.G.Griffiths.Toolpath based on Hilbert"s curve.《Computer-Aided Design》.1994,第26卷(第11期),839-844. *
Toolpath based on Hilbert"s curve;J.G.Griffiths;《Computer-Aided Design》;19941130;第26卷(第11期);839-844 *
基于Hilbert填充曲线的自由曲面刀具路径规划研究;谈卜绸等;《机械涉及与制造》;20090731(第7期);233-235 *
基于等残留高度的NURBS曲面数控加工路径自动生成技术研究;宋丽;《中国优秀硕士学位论文全文数据库 工程科技I辑》;20111015(第10期);21-22 *
宋丽.基于等残留高度的NURBS曲面数控加工路径自动生成技术研究.《中国优秀硕士学位论文全文数据库 工程科技I辑》.2011,(第10期),21-22. *
李德信等.Hilbert填充曲线用于刀具路径生成的算法及改进研究.《中国机械工程》.2011,第22卷(第22期),2739-2743. *
谈卜绸等.基于Hilbert填充曲线的自由曲面刀具路径规划研究.《机械涉及与制造》.2009,(第7期),233-235. *

Also Published As

Publication number Publication date
CN102778859A (en) 2012-11-14

Similar Documents

Publication Publication Date Title
CN102778859B (en) Numerical control machining cutter path generation method based on double helix space filling curves
CN107856309B (en) Rapid path planning method for additive manufacturing and remanufacturing
CN104331023B (en) A method for generating and optimizing the tool contact trajectory with equal residual height for five-axis NC machining
CN105739432B (en) Grid free form surface annular cutter method for planning track based on improved B utterfly subdivisions
CN102357666B (en) Three-coordinate end milling method for blade with freeform surface by using flat-bottomed cutter
CN102129232A (en) Five-axis side milling machining process parameter design method
CN102298358A (en) NURBS tool path speed planning method for five-axis numerical control machining
CN102722137A (en) Five-axis plunge milling machining method for ruled surface impeller
CN105549535B (en) The 3 d geometric modeling method of the five not deformed chips of axle cradle-type Digit Control Machine Tool
CN109597354B (en) A multi-constraint NC machining trajectory generation method for triangular mesh model
CN102023616B (en) Triangle Bezier curved surface numerical-control finishing tool-path quick generation method
CN104090528A (en) Method suitable for cycloid high-speed milling machining path
CN112613150B (en) Image expression method of cutting geometry
CN101537585A (en) Digital control processing real-time cutting simulation method of products
CN106735464B (en) A kind of slotting milling method of workpiece
CN101452284A (en) Mould cavity numerical control machining spiral curve track planning method
CN110399681A (en) A Parametric Modeling Method of Edge Curve of Arc End Mill
CN104063746A (en) Method for generating curved surface finishing tool path based on traveling salesman problem solver
CN109910180B (en) Sawing method for rough machining of three-dimensional special-shaped stone by using circular saw
CN103559554A (en) Two-dimensional rectangular part interactive layout optimization method based on grouping technology
CN104181865A (en) Annular feed path planning method of integral impeller rough machining
CN105022343B (en) Method of numerical control (NC) machining tool path generation based on space filling curve
CN110153477B (en) A tool position correction method for five-axis side milling of non-expandable ruled surfaces
CN112883505A (en) Ultra-precise end face turning surface modeling method considering relative vibration of cutter workpiece
CN106054814A (en) Image grayscale-based computer aided machining method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170831

Address after: 200030 Huashan Road, Shanghai, No. 1954, No.

Co-patentee after: Ling Weiguo

Patentee after: Jin Sun

Co-patentee after: Chen Ming

Co-patentee after: Chen Zhixiang

Co-patentee after: Luo Lei

Co-patentee after: Shi Lun

Address before: 200240 Dongchuan Road, Shanghai, No. 800, No.

Patentee before: Shanghai Jiao Tong University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180208

Address after: The new town of Pudong New Area Nanhui lake west two road 201306 Shanghai City No. 888 building C

Patentee after: Shanghai Zhi Bangyuan Intelligent Technology Co Ltd

Address before: 200030 Huashan Road, Shanghai, No. 1954, No.

Co-patentee before: Ling Weiguo

Patentee before: Jin Sun

Co-patentee before: Chen Ming

Co-patentee before: Chen Zhixiang

Co-patentee before: Luo Lei

Co-patentee before: Shi Lun

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200110

Address after: 201306 Building 1, No.66, Feidu Road, Nanhui new town, Pudong New Area, Shanghai

Patentee after: Shanghai Jiaotong University Chi bang technology Co., Ltd.

Address before: The new town of Pudong New Area Nanhui lake west two road 201306 Shanghai City No. 888 building C

Patentee before: Shanghai Zhi Bangyuan Intelligent Technology Co Ltd