Method and device for realizing tool path optimization processing aiming at common edge cutting, processor and computer readable storage medium thereof

By automatically identifying and increasing the deceleration point in plate cutting processing and dynamically adjusting the cutting speed and acceleration, the problem of reduction in accuracy caused by tool vibration during common edge cutting is solved, the processing effect is improved, and the accuracy deviation is significantly reduced.

CN119247886APending Publication Date: 2025-01-03SHANGHAI WEIHONG INTELLIGENT TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411343926.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In plate cutting processing, the tool produces forced vibration due to the sudden increase in the cutting volume during the common edge cutting, which reduces the processing accuracy and effect. The existing CAM system fails to effectively deal with this problem, and customers usually have to abandon the common edge cutting. Or reserve margins to avoid this problem.

Method used

By automatically identifying the inlet and outlet positions, increasing the deceleration point, and dynamically adjusting the speed and acceleration of the CNC analysis G1 instruction during the cutting process, slowly increasing the cutting amount to reduce tool vibration and optimize the tool path.

Benefits of technology

It effectively reduces tool vibration, improves machining accuracy, and reduces the accuracy deviation from above 25 to less than 15 threads. When the effect is better, it is within 10 threads, solving the problem of poor common edge cutting effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119247886A_ABST
    Figure CN119247886A_ABST
Patent Text Reader

Abstract

The invention relates to a method for realizing tool path optimization processing aiming at common-edge cutting. The method comprises the following steps: automatically identifying a tool feeding position and a tool discharging position; deceleration points are increased, and the cutting amount is slowly increased. The invention further relates to a device for implementing cutter path optimization processing for common-edge cutting, a processor and a computer readable storage medium thereof. The method, the device, the processor and the computer readable storage medium for realizing tool path optimization processing for common-edge cutting are applied to plate type cutting processing, the problem of poor common-edge cutting effect is solved through actual verification, and the processing effect is improved while customer materials are saved. The precision deviation is reduced from more than 25 to less than 15 silks generally, and the precision deviation is less than 10 silks when the effect is better.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of numerical control machining, in particular to the field of plate cutting machining, and specifically refers to a method, device, processor and computer-readable storage medium thereof for realizing tool path optimization processing for common edge cutting. Background Art

[0002] At present, in the plate cutting processing industry, in order to save raw materials, the common edge cutting method is often used for layout cutting to save materials to the greatest extent.

[0003] However, due to the toolpaths exported by CAM on the market, there are often problems with the cutting effect at the common edge position. As shown in the figure below, after cutting the first one, when cutting the second square, when cutting the common edge line segment, Figure 1 As shown in the figure, it will experience the transition from air cutting to cutting. Since there is no deceleration, the cutting is carried out at the maximum feed rate, which often leads to processing effect problems, such as Figure 2 As shown, the red color is the expected trajectory and the blue color is the actual trajectory. Generally, the CAM of the cutting machine does not handle this problem. When this processing effect occurs, the customer can only abandon the common edge cutting and reserve some margin for cutting.

[0004] The main problem is that the amount of cutting suddenly increases, causing the tool to generate forced vibration, which results in overcutting of the sheet and reduced machining accuracy. Summary of the invention

[0005] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and to provide a method, device, processor and computer-readable storage medium for optimizing tool paths for common edge cutting, which are easy to operate, have high processing precision and a wide range of applications.

[0006] In order to achieve the above-mentioned purpose, the method, device, processor and computer-readable storage medium thereof for implementing tool path optimization processing for common edge cutting of the present invention are as follows:

[0007] The method for realizing tool path optimization processing for common edge cutting is mainly characterized in that the method comprises the following steps:

[0008] (1) Automatically identify the feed position and the exit position;

[0009] (2) Increase the deceleration point and slowly increase the cutting amount.

[0010] Preferably, the step (1) specifically comprises the following steps:

[0011] (2.1) Collect the coordinates of all GI instruction points in the tool path, convert the point coordinates into processing line segments and line numbers L1-Ln, and traverse all line segments;

[0012] (2.2) According to the cutting order, compare the current cutting line segment Li with the previously cut line segment L1-Li-1 one by one to determine whether they overlap. If so, proceed to step (2.5); otherwise, proceed to step (2.3);

[0013] (2.3) Determine whether the current row is the last row. If so, output the row number information of all deceleration point coordinates and continue with step (2.4); otherwise, find the next row of line segments and continue with step (2.2);

[0014] (2.4) During the processing, according to the output deceleration point information, the CNC parses the G1 command speed and acceleration, jerk, and end step in real time;

[0015] (2.5) Find the line segments that overlap with the current line segment and all the overlapping line segments, and find the M point sets whose starting and ending points of all the overlapping line segments are within the current line segment Li;

[0016] (2.6) Delete the points with duplicate coordinates in the M point set;

[0017] (2.7) Sort the M points and the starting and ending points of Li according to the direction of the Li line segment;

[0018] (2.8) Split Li into M+1 line segments according to M points;

[0019] (2.9) Determine the relationship between the M+1 line segment and the L1-Li-1 line segment. If they coincide, record as true; if they do not coincide, record as false.

[0020] (2.10) Traverse M+1 line segments and compare the relationship between adjacent line segments. If the line segment marks change from overlapping to non-overlapping or from non-overlapping to overlapping, the intersection of the two line segments is the deceleration point;

[0021] (2.11) Among the M+1 points on the Li segment, select K deceleration points and the corresponding deceleration coordinates.

[0022] Preferably, the step (2) of slowly increasing the cutting amount specifically comprises the following steps:

[0023] (2.1) According to the identification data, the line number of the deceleration point and the workpiece coordinates of the deceleration point are transmitted to the CNC analysis module;

[0024] (2.2) Intelligent deceleration is dynamically performed during the processing. A speed is set at a certain distance before and after the calculation point. When this position is reached, the speed is decelerated to the specified speed, while reducing the acceleration and jerk.

[0025] The main feature of the device for realizing tool path optimization processing for common edge cutting is that the device comprises:

[0026] a processor configured to execute computer executable instructions;

[0027] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the above-mentioned method for optimizing tool paths for common edge cutting are implemented.

[0028] The processor for implementing tool path optimization processing for common edge cutting has the main feature that the processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the method for implementing tool path optimization processing for common edge cutting described above are implemented.

[0029] The main feature of the computer-readable storage medium is that a computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for optimizing tool paths for common edge cutting.

[0030] The method, device, processor and computer-readable storage medium for optimizing tool paths for common edge cutting of the present invention are applied to plate-type cutting processing. It has been verified that the problem of poor common edge cutting effect has been solved, which saves customer materials and improves the processing effect. The precision deviation is reduced from more than 25 to within 15 wires, and within 10 wires when the effect is good. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of cutting common edge line segments in the prior art.

[0032] Figure 2 It is a schematic diagram of cutting at the maximum feed speed in the prior art.

[0033] Figure 3 The present invention is a flow chart of a method for implementing tool path optimization processing for common edge cutting. DETAILED DESCRIPTION

[0034] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.

[0035] The method for realizing tool path optimization processing for common edge cutting of the present invention comprises the following steps:

[0036] (1) Automatically identify the feed position and the exit position;

[0037] (2) Increase the deceleration point and slowly increase the cutting amount.

[0038] As a preferred embodiment of the present invention, the step (1) specifically comprises the following steps:

[0039] (2.1) Collect the coordinates of all GI instruction points in the tool path, convert the point coordinates into processing line segments and line numbers L1-Ln, and traverse all line segments;

[0040] (2.2) According to the cutting order, compare the current cutting line segment Li with the previously cut line segment L1-Li-1 one by one to determine whether they overlap. If so, proceed to step (2.5); otherwise, proceed to step (2.3);

[0041] (2.3) Determine whether the current row is the last row. If so, output the row number information of all deceleration point coordinates and continue with step (2.4); otherwise, find the next row of line segments and continue with step (2.2);

[0042] (2.4) During the processing, the CNC analyzes the G1 command speed and acceleration in real time according to the output deceleration point information.

[0043] jerk, end step;

[0044] (2.5) Find the line segments that overlap with the current line segment and all the overlapping line segments, and find the M point sets whose starting and ending points of all the overlapping line segments are within the current line segment Li;

[0045] (2.6) Delete the points with duplicate coordinates in the M point set;

[0046] (2.7) Sort the M points and the starting and ending points of Li according to the direction of the Li line segment;

[0047] (2.8) Split Li into M+1 line segments according to M points;

[0048] (2.9) Determine the relationship between the M+1 line segment and the L1-Li-1 line segment. If they coincide, record as true; if they do not coincide, record as false.

[0049] (2.10) Traverse M+1 line segments and compare the relationship between adjacent line segments. If the line segment marks change from overlapping to non-overlapping or from non-overlapping to overlapping, the intersection of the two line segments is the deceleration point;

[0050] (2.11) Among the M+1 points on the Li segment, select K deceleration points and the corresponding deceleration coordinates.

[0051] As a preferred embodiment of the present invention, the step (2) of slowly increasing the cutting amount specifically comprises the following steps:

[0052] (2.1) According to the identification data, the line number of the deceleration point and the workpiece coordinates of the deceleration point are transmitted to the CNC analysis module;

[0053] (2.2) Intelligent deceleration is dynamically performed during the processing. A speed is set at a certain distance before and after the calculation point. When this position is reached, the speed is decelerated to the specified speed, while reducing the acceleration and jerk.

[0054] The device for implementing tool path optimization processing for common edge cutting of the present invention, wherein the device comprises:

[0055] a processor configured to execute computer executable instructions;

[0056] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the above-mentioned method for optimizing tool paths for common edge cutting are implemented.

[0057] The processor of the present invention is used to implement tool path optimization processing for common edge cutting, wherein the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the various steps of the method for implementing tool path optimization processing for common edge cutting described above are implemented.

[0058] The computer-readable storage medium of the present invention stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for optimizing tool paths for common edge cutting.

[0059] In a specific embodiment of the present invention, a common edge tool path optimization algorithm is provided to solve the processing effect problem of the prior art, wherein how to scientifically identify the places where the cutting amount increases sharply and how to slowly increase the cutting amount are the key to the solution.

[0060] The steps of the implementation scheme of the present invention for identifying the part where the cutting amount increases sharply are as follows:

[0061] 1. When CNC imports tool paths, it automatically identifies the positions where the cutting amount suddenly increases (feeding in) and decreases (exiting).

[0062] 2. By increasing the deceleration points and slowly increasing the cutting volume, the vibration amplitude of the tool can be suppressed within the tolerance range.

[0063] The specific steps of the algorithm for identifying the infeed and outfeed positions of the present invention are as follows:

[0064] (1) Analyze the tool path G1 command and convert it into line segment data L1-Ln;

[0065] (2) Traverse all line segments and compare the current cutting line segment Li with the previously cut line segment L1-Li-1 one by one in the cutting order to see if they overlap;

[0066] (3) If they coincide, record the points whose starting and ending points of the line segment L1-Li-1 are within the range of Li. Assume there are M points in total;

[0067] (4) Delete the points with duplicate coordinates among the M points;

[0068] (5) Sort the starting and ending points of the M points plus Li according to the direction of the Li line segment;

[0069] (6) Split Li into M+1 line segments according to M points;

[0070] (7) Determine the relationship between the M+1 line segment and the L1-Li-1 line segment. If they coincide, record it as true; if they do not coincide, record it as false.

[0071] (8) According to the relationship of the records, when true changes to false, it is cutting in, and when false changes to true, it is cutting out;

[0072] (9) On the Li line segment, select K deceleration points from the M+1 points and their corresponding deceleration coordinates.

[0073] The solution of the present invention on how to slowly increase the cutting amount:

[0074] According to the identification data, the line number of the deceleration point and the workpiece coordinates of the deceleration point are transmitted to the CNC analysis module. Intelligent deceleration is implemented dynamically during the machining process. A speed is set at a distance before and after the calculation point. When this position is reached, the system will decelerate the speed to the specified speed, while reducing the acceleration and jerk, and reducing the increase in tool feed, so as to alleviate the forced vibration amplitude of the tool when the tool is fed in and out.

[0075] When using the cutting machine, users do not need to modify their CAM software. The tool path is imported into the CNC, and the CNC automatically analyzes it. During processing, the tool path optimization results are automatically applied.

[0076] The present invention has been applied to the cutting system processing of Weihong plate cutting machine, and the specific implementation process is as follows:

[0077] (1) Import the software to analyze the G1 trajectory of the NC tool path;

[0078] (2) Determine the deceleration point positions of the analyzed trajectory and store them;

[0079] (3) During the NC tool path processing, the CNC motion analysis engine modifies the G1 command data corresponding to the line number of the deceleration point in real time to achieve the purpose of dynamically optimizing the tool path.

[0080] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.

[0081] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0082] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0083] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0084] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0085] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.

[0086] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0087] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0088] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0089] The method, device, processor and computer-readable storage medium for optimizing tool paths for common edge cutting of the present invention are applied to plate-type cutting processing. It has been verified that the problem of poor common edge cutting effect has been solved, which saves customer materials and improves the processing effect. The precision deviation is reduced from more than 25 to within 15 wires, and within 10 wires when the effect is good.

[0090] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.

Claims

1. A method for optimizing tool paths for common edge cutting, characterized in that: The method comprises the following steps: (1) Automatically identify the feed position and the exit position; (2) Increase the deceleration point and slowly increase the cutting amount.

2. The method for optimizing tool paths for common edge cutting according to claim 1, characterized in that: The step (1) specifically comprises the following steps: (2.1) Collect the coordinates of all GI instruction points in the tool path, convert the point coordinates into processing line segments and line numbers L1-Ln, and traverse all line segments; (2.2) According to the cutting order, compare the current cutting line segment Li with the previously cut line segment L1-Li-1 one by one to determine whether they overlap. If so, proceed to step (2.5); otherwise, proceed to step (2.3); (2.3) Determine whether the current row is the last row. If so, output the row number information of all deceleration point coordinates and continue with step (2.4); otherwise, find the next row of line segments and continue with step (2.2); (2.4) During the processing, according to the output deceleration point information, the CNC parses the G1 command speed and acceleration, jerk, and end step in real time; (2.5) Find the line segments that overlap with the current line segment and all the overlapping line segments, and find the M point sets whose starting and ending points of all the overlapping line segments are within the current line segment Li; (2.6) Delete the points with duplicate coordinates in the M point set; (2.7) Sort the M points and the starting and ending points of Li according to the direction of the Li line segment; (2.8) Split Li into M+1 line segments according to M points; (2.9) Determine the relationship between the M+1 line segment and the L1-Li-1 line segment. If they coincide, record as true; if they do not coincide, record as false. (2.10) Traverse M+1 line segments and compare the relationship between adjacent line segments. If the line segment marks change from overlapping to non-overlapping or from non-overlapping to overlapping, the intersection of the two line segments is the deceleration point; (2.11) Among the M+1 points on the Li segment, select K deceleration points and the corresponding deceleration coordinates.

3. The method for optimizing tool paths for common edge cutting according to claim 1, characterized in that: In step (2), the amount of cutting is slowly increased, which specifically includes the following steps: (2.1) According to the identification data, the line number of the deceleration point and the workpiece coordinates of the deceleration point are transmitted to the CNC analysis module; (2.2) Intelligent deceleration is dynamically performed during the processing. A speed is set at a certain distance before and after the calculation point. When this position is reached, the speed is decelerated to the specified speed, while reducing the acceleration and jerk.

4. A device for realizing tool path optimization processing for common edge cutting, characterized in that: The device comprises: a processor configured to execute computer executable instructions; A memory storing one or more computer executable instructions, wherein when the computer executable instructions are executed by the processor, each step of the method for optimizing tool paths for common edge cutting described in any one of claims 1 to 3 is implemented.

5. A processor for implementing tool path optimization processing for common edge cutting, characterized in that: The processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the method for optimizing tool paths for common edge cutting described in any one of claims 1 to 3 are implemented.

6. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the method for optimizing tool paths for common edge cutting as described in any one of claims 1 to 3.