Overcutting analysis method for machining paths

By calculating the path vector, tangent vector and sectional surface in the machining path planning device, obtaining the overcut amount of the specified node and correcting the processing program code, the problem of excessive overcut amount of the broken surface and single-node node during the machining path conversion process in the prior art is solved, and the effect of improving the quality of the finished product is achieved.

CN114721331BActive Publication Date: 2025-03-07IND TECH RES INST
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110123954.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-01-06
Filing Date
2021-01-29
Publication Date
2025-03-07
Estimated Expiration
2041-01-29

AI Technical Summary

Technical Problem

The existing computer-aided design (CAD) and computer-aided manufacturing (CAM) software have problems with excessive amounts of crushed surfaces and single-node nodes during machining path conversion, resulting in poor quality of finished products and difficult to detect.

Method used

Through a machining path overcut analysis method, the machining path planning device is used to calculate the path vector, tangent vector and sectional surface, obtain the overcut amount of the specified node, and eliminate the overcut defect by correcting the machining program code.

Benefits of technology

This method can detect and correct overcut defects on the processing path without requiring the tool machine controller to feedback the actual position information, and improve the quality of the finished product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114721331B_ABST
    Figure CN114721331B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for analyzing overcutting of a machining path, comprising the following steps. First, a machining program code is executed to generate a cutting die surface, which includes a plurality of machining path trajectories. A designated path trajectory is selected from the machining path trajectories and a designated node is set from the designated path trajectory. A section plane passing through the designated node is calculated. Multiple intersection points of the section plane and other machining path trajectories except the designated path trajectory are calculated. Two intersection points among the intersection points are set as two adjacent intersection points; and a line connecting the intersection points between the two adjacent intersection points is obtained. Finally, a vertical distance between a designated node and the line connecting the intersection points is calculated and the vertical distance is set as the overcutting amount of the designated node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for analyzing defects in a machining path, and in particular to a method for analyzing overcutting of a machining path. Background Art

[0002] Generally, when using computer-aided software (CAD) and computer-aided manufacturing software (CAM) to generate the processing path of the object to be processed, these two software have two inherent defects. The first defect is that when the design pattern drawn by CAD is poor, after the poor design pattern is imported into CAM to be converted into a processing program code, some broken surfaces are likely to appear on the cutting die surface corresponding to the processing program code, and these broken surfaces can often be found from the abnormal texture on the surface of the processed product.

[0003] The second defect is that when CAM converts the design pattern into the processing program code, it is easy for the calculation error of CAM to cause some single-node nodes on the processing trajectory path on the cutting die surface to have excessive cutting depth (i.e. single-node overcut). Single-node overcut not only affects the quality of the processed product, but the depth of the node overcut is often in the micron level, which is very difficult to observe with the naked eye. Due to the above two inherent defects in the software, technicians must constantly change the processing path of the object to be processed, which is a waste of time.

[0004] In view of this, there is a real need for an effective machining path overcut analysis method to improve the above-mentioned deficiencies. Summary of the invention

[0005] The present invention provides a method for analyzing overcutting of a machining path, which can detect overcutting defects of a machining path without the need for actual position information fed back by a machine tool controller.

[0006] An embodiment of the present invention discloses a machining path overcut analysis method, which is suitable for being executed by a machining path planning device, including: executing a machining program code to generate a cutting die surface, the cutting die surface including multiple machining path trajectories; selecting a specified path trajectory from the machining path trajectories and setting a specified node from the specified path trajectory; calculating a path vector and a tangent vector passing through the specified node based on the specified path trajectory and the specified node; calculating a section plane passing through the specified node based on the path vector, the tangent vector and the specified node, wherein the path vector is a normal vector of the section plane, and the tangent vector and the section plane are not coplanar; obtaining multiple intersection points between the section plane and other machining path trajectories except the specified path trajectory; setting two intersection points from the intersection points as a first adjacent intersection point and a second adjacent intersection point; obtaining an intersection line between the first adjacent intersection point and the second adjacent intersection point based on the first adjacent intersection point and the second adjacent intersection point; and calculating a vertical distance between the specified node and the intersection line and setting the vertical distance as the overcut amount of the specified node.

[0007] Another embodiment of the present invention discloses a machining path overcut analysis method, which is suitable for being executed by a machining path planning device, comprising: executing a machining program code to generate a cutting die surface, the cutting die surface containing a plurality of machining path trajectories; setting a plurality of designated nodes for each machining path trajectory according to a fixed distance, and setting the machining path trajectory with the plurality of designated nodes as a designated path trajectory; and calculating the overcut amount of each designated node; wherein calculating the overcut amount of each designated node comprises: calculating a path vector and a tangent vector passing through the designated node according to the designated path trajectory and the designated node; and calculating the overcut amount of each designated node according to the designated path trajectory and the designated node. The path vector, tangent vector and designated node calculate a section plane passing through the designated node, wherein the path vector is the normal vector of the section plane, and the tangent vector and the section plane are not coplanar; calculate multiple intersection points of the section plane and other processing path trajectories except the designated path trajectory; set two intersection points from the intersection points as the first adjacent intersection point and the second adjacent intersection point; obtain the intersection line between the first adjacent intersection point and the second adjacent intersection point according to the first adjacent intersection point and the second adjacent intersection point; and calculate the vertical distance between the designated node and the intersection line and set the vertical distance as the overcut amount of the designated node.

[0008] Through the machining path overcut analysis method provided by the present invention, the overcut amount of the designated node can be estimated before the machining program code is imported into the machine tool, and then the information about the designated node in the machining program code is corrected according to the estimated overcut amount, so as to eliminate the defect of overcutting the designated node. In other words, the machining path overcut analysis method provided by the present invention can detect the overcut amount of the designated node without the actual position information fed back by the machine tool controller, and directly correct the machining program code to achieve the purpose of optimizing the machining path trajectory.

[0009] The above description of the disclosed content and the following description of the embodiments are intended to demonstrate and explain the spirit and principle of the present invention, and to provide further explanation of the claims of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A flow chart of a machining path overcut analysis method provided by a first embodiment of the present invention;

[0011] Figure 2 for Figure 1 A schematic diagram of an embodiment of a cutting die surface generated by a machining path overcut analysis method;

[0012] Figure 3 for Figure 2 A schematic diagram of the machining path trajectory of the A portion of the cutting die surface;

[0013] Figure 4 for Figure 3 A schematic diagram of selecting a specified path trajectory and a specified node on the cutting die surface;

[0014] Figure 5 for Figure 4 A schematic diagram of the designated path trajectory and the designated node selection of two reference nodes;

[0015] Figure 6 for Figure 5 The schematic diagram of the path vector determined by the two reference nodes;

[0016] Figure 7 for Figure 5 A schematic diagram of a specified path trajectory and a specified node to obtain a tangent vector passing through the specified node;

[0017] Figure 8 for Figure 6 and Figure 7 Schematic diagram of the path vector, tangent vector and designated nodes determining the section plane;

[0018] Fig. 9 for Figure 8 A schematic diagram of obtaining multiple intersection points of the section plane;

[0019] Fig.10 For Fig. 9 A schematic diagram of setting a first adjacent intersection point and a second adjacent intersection point among a plurality of intersection points;

[0020] Fig.11 A schematic diagram for calculating the overcut amount of a specified node;

[0021] Fig.12 It is a flow chart of a second embodiment of the machining path overcut analysis method disclosed in the present invention;

[0022] Fig.13 for Fig.12 A flowchart of the sub-steps of calculating the overcut amount of each specified node located on the specified path trajectory.

[0023] Explanation of symbols

[0024] F1 Cutting die face

[0025] N Single node

[0026] L0 specifies the path trajectory

[0027] N0 specifies the node

[0028] N1 First reference node

[0029] N2 Second reference node

[0030] V1 Path Vector

[0031] V2 Tangent vector

[0032] F2 Cutting plane

[0033] P1~P6 intersection

[0034] D vertical distance DETAILED DESCRIPTION

[0035] The detailed features and advantages of the present invention are described in detail in the following embodiments, and the contents are sufficient to enable anyone familiar with the relevant technology to understand the technical content of the present invention and implement it accordingly, and according to the contents disclosed in this specification, claims and drawings, anyone familiar with the relevant technology can easily understand the relevant purposes and advantages of the present invention. The following examples are to further illustrate the viewpoints of the present invention in detail, but are not intended to limit the scope of the present invention in any viewpoint.

[0036] The machining path overcut analysis method of the present invention is performed by a machining path planning device, wherein the so-called machining path planning device may be a computer and has specifications and performances for connecting computer-aided software (CAD), computer-aided manufacturing software (CAM) and a machine tool controller. Through the machining path overcut analysis method of the present invention, a single node with an overcut condition on the machining path can be detected before the CAM machining program code is imported into the machine tool controller. In other words, the machining path overcut analysis method provided by the present invention can know the overcut defect of the machining path without the actual position information fed back by the machine tool controller.

[0037] Figure 1 A flow chart of an embodiment of a machining path overcut analysis method disclosed in the present invention is shown. Figure 2 Drawing basis Figure 1A schematic diagram of an embodiment of a cutting die surface generated by a machining path overcut analysis method. Figure 1 and Figure 2 The machining path overcutting analysis method includes steps S11 to S19.

[0038] In step S11, a cutting die surface F1 of the workpiece to be processed is established according to a processing program code. A processing program code is a plurality of instructions input into a machine tool to drive the machine tool to perform processing, such as a numerical control code (NC code) or other command code for controlling the operation of a machine tool.

[0039] Figure 3 Draw Figure 2 Schematic diagram of the machining path trajectory of the A part of the cutting die surface. Figure 3 As shown, the cutting die surface F1 includes a plurality of different machining path trajectories L, and each machining path trajectory is composed of a plurality of single-node nodes N. The path between two adjacent single-node nodes N is called a single node, and each single-node node N has a three-dimensional coordinate information. When the machining program code is input into the machine tool, the tool of the machine tool cuts the workpiece along the plurality of machining path trajectories on the cutting die surface F1, and then obtains the desired workpiece product.

[0040] Please also read Figure 1 and Figure 4 In step S12, a processing path trajectory is selected from the processing path trajectories as the designated path trajectory L0, and a designated node N0 is set from the designated path trajectory, wherein Figure 4 Drawing basis Figure 3 The schematic diagram of the cutting die surface selecting the specified path trajectory and the specified node. Figure 4 In the example, the coordinates of node N0 are specified as (x0, y0, z0).

[0041] Please also read Figure 1 and Figure 5 In step S13, a first reference node N1 and a second reference node N2 are set from the specified path trajectory L0, wherein Figure 5 Drawing basis Figure 4 The schematic diagram of the specified path trajectory and the specified node selection of two reference nodes. Figure 5, the coordinates of the first reference node N1 are (x1, y1, z1), and the coordinates of the second reference node are (x2, y2, z2). In this embodiment, the first reference node N1 and the second reference node N2 are respectively located on opposite sides of the designated node N0 along the first direction (e.g., the X-axis direction), and the distances between the first reference node N1 and the second reference node N2 and the designated node N0 may be the same or different. In other embodiments, the first reference node N1 and the second reference node N2 may be located on the same side of the designated node N0 along the first direction, and the distances between the first reference node N1 and the second reference node N2 and the designated node N0 are different. It is worth mentioning that the best embodiment is that the first reference node N1 and the second reference node N1 are respectively located on opposite sides of the designated node N0.

[0042] Please also read Figure 1 and Figure 6 In step S14, a path vector V1 is obtained according to the first reference node N1 and the second reference node N2, where Figure 6 Drawing basis Figure 5 Schematic diagram of the path vector determined by the two reference nodes.

[0043] Please also read Figure 1 and Figure 7 In step S15, the tangent vector V2 passing through the designated node N0 is obtained according to the designated path trajectory L0 and the designated node N0, where Figure 7 Drawing basis Figure 5 A schematic diagram of a specified path trajectory and a specified node to obtain a tangent vector passing through the specified node.

[0044] Please also read Figure 1 and Figure 8 In step S16, a section plane F2 passing through the designated node N0 is obtained according to the path vector V1, the tangent vector V2 and the designated node N0, wherein the path vector V1 is the normal vector of the section plane F2, and the tangent vector V2 is not coplanar with the section plane F2, wherein Figure 8 Drawing basis Figure 6 and Figure 7 Schematic diagram of the section plane determined by the path vector, tangent vector and specified node.

[0045] Please also read Figure 1 and Fig. 9 In step S17, a plurality of intersection points P1 to P6 between the section plane F2 and other processing path trajectories except the specified path trajectory L0 are calculated, wherein Fig. 9 Drawing basis Figure 8 A schematic diagram of obtaining multiple intersection points on a cutting plane.

[0046] Please also read Figure 1 and Fig.10In step S18, two intersection points P1 and P2 are selected from the intersection points P1 to P6 and set as the first adjacent intersection point and the second adjacent intersection point, wherein Fig.10 Drawing basis Fig. 9 A schematic diagram of setting a first adjacent intersection point and a second adjacent intersection point among a plurality of intersection points. Fig.10 , the coordinates of the first adjacent intersection are (x3, y3, z3), and the coordinates of the second adjacent intersection are (x4, y4, z4). The first adjacent intersection and the second adjacent intersection are respectively located on opposite sides of the designated node N0 along a second direction (e.g., the Y-axis direction), and the second direction (e.g., the Y-axis direction) is different from the first direction (e.g., the X-axis direction).

[0047] Please also read Figure 1 and Fig.11 In step S19, the intersection line between the first adjacent intersection point and the second adjacent intersection point is obtained and the vertical distance D between the designated node N0 and the intersection line along a third direction (e.g., the Z-axis direction) is calculated, and the vertical distance D is set as the overcut amount of the designated node N0, wherein Fig.11 Draws a diagram showing how to calculate the overcut amount of a specified node.

[0048] Finally, after obtaining the overcut amount of the designated node N0, the information about the designated node N0 in the machining program code can be corrected according to the overcut amount of the designated node N0, so as to eliminate the overcut defect of the designated node N0 on the cutting die surface F1.

[0049] Fig.12 A flow chart of a second embodiment of the machining path overcut analysis method disclosed in the present invention is shown. In step S21, a machining program code is executed to generate a cutting die surface, and the cutting die surface contains multiple machining path trajectories. In step S22, multiple designated nodes are set for each machining path trajectory according to a fixed distance, and the machining path trajectory with multiple designated nodes is set as a designated path trajectory. In step S23, the overcut amount of each designated node located on the designated path trajectory is calculated, wherein the overcut amount of each designated node located on the designated path trajectory includes steps S231 to S237.

[0050] Fig.13 Draw Fig.12 Flowchart of the sub-steps for calculating the overcut amount of each specified node on the specified path trajectory in . Fig.12 and Fig.13In step S231, a first reference node and a second reference node are set from a designated path trajectory, wherein the first reference node and the second reference node are respectively located on opposite sides of the designated node along a first direction (e.g., the X-axis direction), and the distances between the first reference node and the second reference node and the designated node may be the same or different. In other embodiments, the first reference node and the second reference node may be located on the same side of the designated node along the first direction, and the distances between the first reference node and the second reference node and the designated node are different. It is worth mentioning that the first reference node and the second reference node of this embodiment are respectively located on opposite sides of the designated node along the first direction (e.g., the X-axis direction) as the best embodiment. In step S232, a path vector is obtained according to the first reference node and the second reference node. In step S233, a tangent vector passing through the designated node is obtained according to the designated path trajectory and the designated node. In step S234, a section plane passing through the designated node is obtained according to the path vector, the tangent vector and the designated node, wherein the path vector is the normal vector of the section plane, and the tangent vector and the section plane are not coplanar. In step S235, multiple intersections of the section surface and other processing path trajectories except the designated path trajectory are calculated. In step S236, two intersections are selected from the intersections and set as the first adjacent intersection and the second adjacent intersection, and the first adjacent intersection and the second adjacent intersection are respectively located on opposite sides of the designated node along the second direction (e.g., the Y-axis direction), and the second direction (e.g., the Y-axis direction) is different from the first direction (e.g., the X-axis direction). In step S237, an intersection line between the first adjacent intersection and the second adjacent intersection is obtained and the vertical distance between the designated node and the intersection line along a third direction (e.g., the Z-axis direction) is calculated, and the vertical distance is set as the overcut amount of the designated node.

[0051] pass Fig.12 The machining path overcut analysis method can comprehensively check the single node where overcut defects occur on the cutting die surface without the need for actual position information fed back by the machine tool controller, thereby achieving the technical effect of improving the quality of the finished product.

[0052] Through the machining path overcut analysis method provided by the present invention, the overcut amount of the designated node can be calculated before the machining program code is imported into the machine tool controller, and then the information about the designated node in the machining program code is corrected according to the calculated overcut amount, so as to eliminate the defect of overcutting the designated node. In other words, the machining path overcut analysis method provided by the present invention can detect the overcut amount of the designated node without the actual position information fed back by the machine tool controller, and directly correct the machining program code according to the calculated overcut amount, thereby achieving the purpose of optimizing the machining path trajectory of the object to be processed.

Claims

1. A machining path overcut analysis method, suitable for being executed by a machining path planning device, comprising the following steps: Executing the machining program code to generate a cutting die surface, wherein the cutting die surface includes a plurality of machining path trajectories; Selecting a designated path track from the processing path tracks and setting a designated node on the designated path track; Calculating a path vector and a tangent vector passing through the designated node according to the designated path trajectory and the designated node; Calculating a section plane passing through the designated node according to the path vector, the tangent vector and the designated node, wherein the path vector is a normal vector of the section plane, and the tangent vector and the section plane are not coplanar; Obtaining a plurality of intersection points between the section plane and other processing path trajectories except the specified path trajectory; Two intersection points among the intersection points are set as a first adjacent intersection point and a second adjacent intersection point, wherein the first adjacent intersection point and the second adjacent intersection point are respectively located on two opposite sides of the designated node along the second direction; Obtaining an intersection line connecting the first adjacent intersection point and the second adjacent intersection point; and Calculate the vertical distance between the specified node and the line connecting the intersection points and set the vertical distance as the overcut amount of the specified node. Calculating the section plane passing through the designated node according to the path vector, the tangent vector and the designated node includes: Setting a first reference node and a second reference node on the specified path trajectory; And the path vector is obtained according to the first reference node and the second reference node. 2 . The machining path overcut analysis method as claimed in claim 1 , wherein the first reference node and the second reference node are respectively located on two opposite sides of the designated node along the first direction.

3. The machining path overcut analysis method as described in claim 1, wherein the first reference node and the second reference node are located on the same side of the designated node along the first direction, and the distances between the first reference node and the second reference node and the designated node are different. The machining path overcut analysis method as claimed in claim 2 , wherein the second direction is different from the first direction.

5. A machining path overcut analysis method, suitable for being executed by a machining path planning device, comprising the following steps: Executing a machining program code to generate a cutting die surface, the cutting die surface containing a plurality of machining path trajectories; For each processing path trajectory, a plurality of designated nodes are set according to a fixed distance, and the processing path trajectory with the plurality of designated nodes set is set as the designated path trajectory; and Calculate the overcut amount of each specified node; Calculating the overcut amount of each specified node includes: Calculating a path vector and a tangent vector passing through the designated node according to the designated path trajectory and the designated node; Calculating a section plane passing through the designated node according to the path vector, the tangent vector and the designated node, wherein the path vector is a normal vector of the section plane, and the tangent vector and the section plane are not coplanar; Obtaining a plurality of intersection points between the section plane and other processing path trajectories except the specified path trajectory; Two intersection points among the intersection points are set as a first adjacent intersection point and a second adjacent intersection point, wherein the first adjacent intersection point and the second adjacent intersection point are respectively located on two opposite sides of the designated node along the second direction; Obtaining an intersection line connecting the first adjacent intersection point and the second adjacent intersection point; and Calculating a vertical distance between the designated node and the line connecting the intersection points and setting the vertical distance as an overcut amount of the designated node, wherein calculating the section plane according to the path vector, the tangent vector and the designated node includes: Setting a first reference node and a second reference node on the designated path trajectory; And the path vector is obtained according to the first reference node and the second reference node. 6 . The machining path overcut analysis method as claimed in claim 5 , wherein the first reference node and the second reference node are respectively located on two opposite sides of the designated node along the first direction.

7. The machining path overcut analysis method as described in claim 5, wherein the first reference node and the second reference node are located on the same side of the designated node along the first direction, and the distances between the first reference node and the second reference node and the designated node are different. 8 . The machining path overcut analysis method as claimed in claim 6 , wherein the second direction is different from the first direction.

Citation Information

Patent Citations

  • Generation Method and Generation Apparatus of Tool Path

    US20130211578A1