Numerical control cutting path optimization method and system for special-shaped parts

Through technical means such as three-dimensional simulation analysis, closed isolated contour segmentation, curvature change analysis and parallel cutting impact effect analysis, the optimal CNC cutting path is generated, which solves the problems of inefficiency and unstable quality in cutting special-shaped parts, and achieves efficient and accurate cutting effects.

CN119689975AActive Publication Date: 2025-03-25KUNSHAN GUANYEDA PRECISION IND CO LTD

Patent Information

Application Number
CN202411985360.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-03-25
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

Traditional CNC cutting path planning methods cannot generate the optimal cutting path when processing special-shaped parts, resulting in insufficiency of cutting efficiency and unstable cutting quality.

Method used

The target cutting profile is generated through three-dimensional simulation analysis, closed isolated profile recognition and segmentation, and segmentation is performed. The segmented cutting path is optimized based on curvature change analysis. The CNC cutting control platform is connected to determine whether it contains multiple cutting heads. If parallel cutting impact effect analysis is performed, and path redundancy is minimized based on the analysis results to generate the optimal target cutting path.

Benefits of technology

It realizes efficient and precise cutting of special-shaped parts, improves cutting efficiency and quality, and ensures the optimal cutting path.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119689975A_ABST
    Figure CN119689975A_ABST
Patent Text Reader

Abstract

The invention discloses a numerical control cutting path optimization method and system for a special-shaped part, and relates to the related field of numerical control cutting. The method comprises the steps that a cutting target of the special-shaped part and a to-be-cut blank are determined, three-dimensional simulation analysis is conducted on a cutting area, and a target cutting contour is generated; closed isolated contour recognition and segmentation are executed, and closed isolated contour partitions are generated; curvature change analysis is carried out, segmentation cutting path optimization is carried out based on an analysis result, and segmentation cutting paths are generated; a numerical control cutting control platform is connected to judge whether a plurality of cutting heads are included, if yes, parallel cutting influence effect analysis is carried out, and a parallel cutting analysis result is established; and path redundancy minimization connection of the same cutting head is carried out, and a target cutting path is generated. The technical problems that the cutting efficiency is low and the cutting quality is unstable due to the fact that the optimal cutting path cannot be generated in existing path optimization are solved, and the technical effect that the special-shaped part is efficiently and accurately cut by generating the optimal cutting path is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of CNC cutting, and in particular to a CNC cutting path optimization method and system for special-shaped parts. Background Art

[0002] With the rapid development of the manufacturing industry, special-shaped parts are increasingly used in mechanical design and manufacturing. These parts have special shapes and uses, such as polygonal shafts, camshafts, polygonal shafts, crankshafts, etc. In order to meet their performance requirements, higher standards are put forward for the accuracy and surface quality of the parts. As an efficient and precise processing method, CNC cutting technology plays an important role in the manufacture of special-shaped parts. However, traditional CNC cutting path planning mainly adopts path optimization methods based on simple geometric shapes (such as circles, rectangles, etc.), which have limitations in processing special-shaped parts. Due to the complex and changeable shapes of special-shaped parts, these methods often cannot generate the optimal cutting path, resulting in low cutting efficiency and unstable cutting quality.

[0003] In the current related technologies, the CNC cutting path optimization for special-shaped parts has the technical problem of being unable to generate the optimal cutting path, resulting in low cutting efficiency and unstable cutting quality. Summary of the invention

[0004] The present application provides a CNC cutting path optimization method and system for special-shaped parts, adopts clear cutting targets and blanks to be cut of special-shaped parts, performs three-dimensional simulation analysis of the cutting area, generates a target cutting contour, identifies and segments closed isolated contours of the target cutting contour, generates multiple closed isolated contour partitions, performs curvature change analysis on the multiple closed isolated contour partitions, optimizes the segmented cutting path based on the analysis results, generates multiple segmented cutting paths, connects a CNC cutting control platform, determines whether it contains multiple cutting heads, and if so, performs parallel cutting impact effect analysis on the multiple closed isolated contour partitions, establishes parallel cutting analysis results, and based on the parallel cutting analysis results and the multiple segmented cutting paths, performs path redundancy minimization connection of the same cutting head, generates the target cutting path and other technical means, thereby achieving the technical effect of generating the optimal cutting path to achieve efficient and precise cutting of special-shaped parts.

[0005] The present application provides a method for optimizing a CNC cutting path for special-shaped parts, comprising: determining a cutting target for the special-shaped parts and a blank to be cut, performing a three-dimensional simulation analysis of the cutting area, and generating a target cutting contour; performing closed isolated contour recognition and segmentation on the target cutting contour to generate a plurality of closed isolated contour partitions; performing curvature change analysis on the plurality of closed isolated contour partitions respectively, optimizing the segmented cutting path based on the curvature analysis results, and generating a plurality of segmented cutting paths; connecting a CNC cutting control platform to determine whether it includes a plurality of cutting heads, and if so, performing a parallel cutting influence effect analysis on the plurality of closed isolated contour partitions, and establishing a parallel cutting analysis result; and performing path redundancy minimization connection of the same cutting head based on the parallel cutting analysis result and the plurality of segmented cutting paths to generate a target cutting path.

[0006] In a possible implementation, the curvature change analysis is performed on the multiple closed isolated contour partitions respectively, and the segmented cutting path optimization is performed based on the curvature analysis results to generate multiple segmented cutting paths, and the following processing is performed: the first closed isolated contour partition within the multiple closed isolated contour partitions is extracted, the curvature of the first closed isolated contour partition is calculated, and a first contour curvature sequence is established; based on the first contour curvature sequence, a plurality of first cutting direction adjustment nodes are located; the node distribution density differences of the multiple first cutting direction adjustment nodes are analyzed, and the density difference distribution of the path control points is performed to generate a first segmented cutting path; the first segmented cutting path is added to the multiple segmented cutting paths.

[0007] In a possible implementation, the node distribution density differences of the multiple first cutting direction adjustment nodes are analyzed, the density difference distribution of the path control points is performed, and the first segmented cutting path is generated, and the following processing is performed: the curvature change degrees corresponding to the multiple first cutting direction adjustment nodes are identified; and smooth insertion optimization of the path control points is performed based on the curvature change degrees to generate the first segmented cutting path.

[0008] In a possible implementation, smooth insertion optimization of path control points is performed based on the curvature variation to generate the first segmented cutting path, and the following processing is performed: path control points are randomly distributed for the multiple first cutting direction adjustment nodes based on the curvature variation to generate multiple initial path control point distributions, wherein the initial path control point distribution density is proportional to the curvature variation; the multiple initial path control point distributions are evaluated for smoothness fitting of the cutting trajectory to generate multiple smoothness evaluation parameters; based on the multiple smoothness evaluation parameters, the cutting direction adjustment nodes that do not meet the preset cutting accuracy requirements are located, the path control points are updated with increased density, and an updated path control point distribution that meets the preset cutting accuracy requirements is generated; the first segmented cutting path is generated with the updated path control point distribution.

[0009] In a possible implementation, a parallel cutting effect analysis is performed on the multiple closed isolated contour partitions, and a parallel cutting analysis result is established, and the following processing is performed: determining any two closed isolated contour partitions that are adjacent in position among the multiple closed isolated contour partitions; calculating a contour point spacing set between the any two closed isolated contour partitions; inputting the contour point spacing set into a parallel cutting effect analysis model to identify the deformation probability of the non-cutting area and generate a deformation probability index; if the deformation probability index is less than a preset index, adding the any two closed isolated contour partitions into a parallel partition set; and generating the parallel cutting analysis result based on the parallel partition set.

[0010] In a possible implementation, the contour point spacing set is input into a parallel cutting effect analysis model to identify the deformation probability of the non-cutting area, generate a deformation probability index, and perform the following processing: obtain the part material information corresponding to the special-shaped part; through the CNC cutting control platform, collect historical cutting heat-affected deformation monitoring records with the part material information as a constraint, and train a deformation probability prediction network; analyze the contour point spacing set with the deformation probability prediction network to generate the deformation probability index.

[0011] In a possible implementation, the CNC cutting control platform is connected to determine whether it includes multiple cutting heads, and the following processing is also performed: if the CNC cutting control platform only includes one cutting head, the multiple segmented cutting paths are connected to minimize path redundancy to generate a connection result; and the target cutting path is generated using the connection result.

[0012] The present application also provides a CNC cutting path optimization system for special-shaped parts, including: a three-dimensional simulation analysis module, which is used to determine the cutting target of the special-shaped parts and the blank to be cut, perform three-dimensional simulation analysis of the cutting area, and generate a target cutting contour; a closed isolated contour segmentation module, which is used to perform closed isolated contour recognition and segmentation on the target cutting contour, and generate multiple closed isolated contour partitions; a segmented cutting path optimization module, which is used to perform curvature change analysis on the multiple closed isolated contour partitions respectively, optimize the segmented cutting path based on the curvature analysis results, and generate multiple segmented cutting paths; a parallel cutting influence effect analysis module, which is used to connect the CNC cutting control platform to determine whether it contains multiple cutting heads. If so, perform parallel cutting influence effect analysis on the multiple closed isolated contour partitions and establish parallel cutting analysis results; a target cutting path generation module, which is used to minimize the path redundancy of the same cutting head based on the parallel cutting analysis results and the multiple segmented cutting paths to generate a target cutting path.

[0013] The CNC cutting path optimization method and system for special-shaped parts proposed in this application first determine the cutting target of the special-shaped parts and the blank to be cut, perform three-dimensional simulation analysis of the cutting area, generate the target cutting contour, then perform closed isolated contour recognition and segmentation on the target cutting contour, generate multiple closed isolated contour partitions, and then perform curvature change analysis on the multiple closed isolated contour partitions respectively, and optimize the segmented cutting path based on the curvature analysis results to generate multiple segmented cutting paths. Then, the CNC cutting control platform is connected to determine whether it contains multiple cutting heads. If so, parallel cutting impact effect analysis is performed on the multiple closed isolated contour partitions, and parallel cutting analysis results are established. Finally, based on the parallel cutting analysis results and multiple segmented cutting paths, the path redundancy of the same cutting head is minimized and connected to generate the target cutting path, thereby achieving the technical effect of efficient and precise cutting of special-shaped parts by generating the optimal cutting path. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the accompanying drawings of the embodiment of the present invention will be briefly introduced below. A flow chart is used in the present application to illustrate the operations performed by the system according to the embodiment of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps can be processed in reverse order or simultaneously as needed. At the same time, other operations can also be added to these processes, or one or more operations can be removed from these processes.

[0015] Figure 1 A schematic flow chart of a method for optimizing a CNC cutting path for special-shaped parts provided in an embodiment of the present application.

[0016] Figure 2 A schematic diagram of the structure of a CNC cutting path optimization system for special-shaped parts provided in an embodiment of the present application.

[0017] Explanation of the reference numerals: three-dimensional simulation analysis module 10 , closed isolated contour segmentation module 20 , segmented cutting path optimization module 30 , parallel cutting influence effect analysis module 40 , target cutting path generation module 50 . DETAILED DESCRIPTION

[0018] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.

[0019] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0020] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict, and the terms "first\second" involved are merely to distinguish similar objects and do not represent a specific ordering of objects. The terms "including" and "having" and any variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products, or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of this application. The terms used herein are for the purpose of describing the embodiments of the present application only.

[0021] The present application embodiment provides a CNC cutting path optimization method for special-shaped parts, such as Figure 1 As shown, the method includes: Step S100, determining the cutting target of the special-shaped part and the blank to be cut, performing a three-dimensional simulation analysis of the cutting area, and generating a target cutting contour.

[0022] Specifically, determine the specific shape, size, material and other requirements of the special-shaped parts to be cut, and select the appropriate blank to be cut (i.e. the raw material for cutting). Subsequently, use 3D modeling and simulation software to perform a detailed simulation analysis of the cutting area, including simulating the cutting process, evaluating the impact of cutting conditions (such as cutting speed, cutting depth, cutting temperature, etc.) on the material, and predicting the shape and accuracy of the parts after cutting. Finally, generate an accurate target cutting contour based on the simulation results as the basis for subsequent cutting path planning. Among them, special-shaped parts refer to parts with irregular shapes and non-standardized shapes.

[0023] Step S200: performing closed isolated contour recognition and segmentation on the target cutting contour to generate a plurality of closed isolated contour partitions.

[0024] Specifically, the target cutting contour is analyzed through image processing or geometric analysis software to identify all closed and isolated contour areas. Closed isolated contours refer to contours that are completely closed and do not intersect with other contours. These areas are separated from each other due to the complexity of the part shape.

[0025] Step S300: performing curvature change analysis on the multiple closed isolated contour partitions respectively, optimizing the segmented cutting paths based on the curvature analysis results, and generating multiple segmented cutting paths.

[0026] Specifically, the algorithm is used to analyze the curvature change of each closed isolated contour partition, that is, to evaluate the curvature degree of the contour and its change. Based on these analysis results, the turning points and control points of the cutting path are determined, and the positions of these points are adjusted through the optimization algorithm to generate the best cutting path so that it can adapt to the curvature change of the contour and optimize the cutting efficiency and quality. Among them, the segmented cutting path refers to the path that divides the cutting path of each overall closed isolated contour partition into multiple small segments.

[0027] In a possible implementation, the curvature change analysis is performed on the multiple closed isolated contour partitions respectively, and the segmented cutting path optimization is performed based on the curvature analysis results to generate multiple segmented cutting paths. Step S300 further includes step S310, extracting the first closed isolated contour partition among the multiple closed isolated contour partitions, performing curvature calculation on the first closed isolated contour partition, and establishing a first contour curvature sequence. Specifically, the first closed isolated contour partition is one of the multiple closed isolated contours segmented from the target cutting contour, and the curvature of its boundary is calculated using a mathematical formula or a special software tool to generate a sequence representing the contour curvature change (i.e., the first contour curvature sequence). The first contour curvature sequence is a series of curvature values ​​obtained by performing curvature calculation on the first closed isolated contour partition, and is arranged in the order of points on the contour. Among them, the curvature reflects the smoothness and degree of change of the boundary of the first closed isolated contour partition.

[0028] Step S320, locating a plurality of first cutting direction adjustment nodes based on the first contour curvature sequence. Specifically, based on the first contour curvature sequence, a plurality of first cutting direction adjustment nodes are located, and these nodes are determined based on the change of the curvature value in the first contour curvature sequence, and are located at positions where the curvature change is large, and are places where the cutting path needs to adjust the direction.

[0029] Step S330, analyze the node distribution density differences of the multiple first cutting direction adjustment nodes, perform density difference distribution of the path control points, and generate the first segmented cutting path. Specifically, analyze the distribution density differences of these cutting direction adjustment nodes, that is, calculate indicators such as the average distance or coefficient of variation between them to evaluate the severity of the change in contour curvature. Then, based on this analysis result, perform density difference distribution of the control points on the cutting path, so that they are denser in areas with larger curvature changes and sparser in areas with smaller curvature changes, so that the cutting path is more in line with the actual shape of the contour and the cutting error is reduced. According to the path control points generated in the above steps, a first segmented cutting path is constructed. This path closely fits the boundary of the first closed isolated contour partition, while minimizing unnecessary cutting paths and redundancy. Among them, the path control points are key points used to define the cutting path, and a cutting trajectory can be generated by connecting these points.

[0030] Step S340, adding the first segmented cutting path to the multiple segmented cutting paths. Specifically, each segmented cutting path corresponds to a closed isolated contour partition, and multiple closed isolated contour partitions correspond to multiple segmented cutting paths. Curvature change is one of the key factors affecting cutting quality and efficiency in cutting special-shaped parts. This implementation method can formulate a more reasonable cutting path by accurately calculating and analyzing the curvature change of the contour, thereby improving cutting accuracy and efficiency.

[0031] In a possible implementation, the node distribution density difference of the multiple first cutting direction adjustment nodes is analyzed, the density difference distribution of the path control points is performed, and the first segmented cutting path is generated. Step S330 further includes step S331, identifying the curvature change degree corresponding to the multiple first cutting direction adjustment nodes. Specifically, a detailed curvature analysis is performed on all the first cutting direction adjustment nodes located in step S320, and a mathematical algorithm is used to calculate the curvature value at each node, such as calculating the derivative of the contour (for example, the first-order derivative and the second-order derivative), and then calculating the curvature based on these derivative values. The curvature change degree refers to a measure of the degree of curvature of the contour at these nodes, that is, how fast the tangent direction of the contour changes near these points. A high curvature change degree means that the contour changes direction quickly near these points, while a low curvature change degree means that the contour changes direction slowly near these points.

[0032] Step S332, based on the curvature variation, smooth insertion optimization of the path control points is performed to generate the first segmented cutting path. Specifically, after identifying the curvature variation of each adjustment node, the positions where path control points need to be increased or decreased are determined based on these curvature values ​​to optimize the cutting path. In areas where the curvature variation is large, the system will increase the number of path control points to ensure that the cutting path can closely follow the curvature of the contour, reduce errors in the cutting process, and improve cutting accuracy. In areas where the curvature variation is small, the system will reduce the number of path control points to simplify the cutting path and improve efficiency. Through smooth insertion optimization, a cutting path that is both accurate and efficient is finally generated, namely the first segmented cutting path. This implementation generates a cutting path that is both accurate and efficient by identifying the curvature variation and performing smooth insertion optimization.

[0033] In one possible implementation, the smooth insertion optimization of the path control points is performed based on the curvature variation to generate the first segmented cutting path, and step S332 further includes step S3321, randomly distributing the path control points of the multiple first cutting direction adjustment nodes based on the curvature variation to generate multiple initial path control point distributions, wherein the initial path control point distribution density is proportional to the curvature variation. Specifically, according to the curvature variation of each first cutting direction adjustment node, a certain number of path control points are randomly distributed on the contour. The distribution density of these control points is proportional to the curvature variation, that is, where the curvature variation is large, the control points are distributed more densely; where the curvature variation is small, the control points are distributed more sparsely. Through random distribution, an initial path control point distribution scheme is obtained, which will serve as the basis for subsequent smoothness fitting evaluation.

[0034] Step S3322, the smoothness fitting evaluation of the cutting trajectory is performed on the multiple initial path control point distributions to generate multiple smoothness evaluation parameters. Specifically, by calculating mathematical parameters such as the curvature change and derivative change of the trajectory, the continuity and smoothness of the cutting trajectory formed by the initial path control point distribution generated in step S3321 are evaluated. Based on these parameters, multiple smoothness evaluation parameters are generated for subsequent positioning and optimization.

[0035] Step S3323, based on the multiple smoothness evaluation parameters, the cutting direction adjustment nodes that do not meet the preset cutting accuracy requirements are located, the density of the path control points is increased and updated, and the updated path control point distribution that meets the preset cutting accuracy requirements is generated, and the first segmented cutting path is generated with the updated path control point distribution. Specifically, the smoothness evaluation parameters are analyzed to find out the cutting direction adjustment nodes that cause the cutting trajectory to be unsmooth or do not meet the preset cutting accuracy requirements (specific requirements for the smoothness and accuracy of the cutting trajectory). These nodes are places where the curvature variation is large and the distribution of path control points is not dense enough. Once these nodes are located, the density is increased and updated, that is, more control points are added around these nodes to make the cutting trajectory smoother and more accurate. The updated path control point distribution will meet the preset cutting accuracy requirements and is used to generate the final first segmented cutting path. This implementation method ensures the continuity and smoothness of the cutting trajectory through smoothness fitting evaluation and adjustment of the distribution of path control points, and avoids sudden changes or jitters during the cutting process.

[0036] Step S400, connecting to the CNC cutting control platform to determine whether it includes multiple cutting heads, and if so, performing parallel cutting influence effect analysis on the multiple closed isolated contour partitions to establish parallel cutting analysis results.

[0037] Specifically, the number of cutting heads is queried through the interface of the CNC cutting control platform to check whether the CNC cutting control platform is equipped with multiple cutting heads. If so, simulation software or experimental data is used to evaluate the mutual influence (such as thermal deformation, vibration, etc.) that may occur when cutting multiple closed isolated contour partitions at the same time. Based on these analyses, determine which partitions can be cut in parallel without affecting each other.

[0038] In a possible implementation, parallel cutting effect analysis is performed on the multiple closed isolated contour partitions to establish parallel cutting analysis results, and step S400 further includes step S410, determining any two adjacent closed isolated contour partitions in the multiple closed isolated contour partitions. Specifically, using an adjacency relationship judgment method in computer graphics, such as a collision detection based on a bounding box or a proximity search algorithm based on a distance, any two adjacent partitions in spatial position (i.e., close in distance, which may have a mutual cutting effect) in all closed isolated contour partitions are identified.

[0039] Step S420, calculating the contour point spacing set between any two closed isolated contour partitions. Specifically, sampling the boundaries of the two contour partitions to obtain a series of contour points, and then calculating the shortest distance or average distance between these points to form a set.

[0040] Step S430, input the contour point spacing set into the parallel cutting effect analysis model to identify the deformation probability of the non-cutting area and generate a deformation probability index. Specifically, the distance set obtained in step S420 is used as input, and the probability of deformation of the non-cutting area at a given distance is calculated through the trained parallel cutting effect analysis model (which can be a model based on machine learning or physical simulation), that is, the deformation probability index.

[0041] Step S440, if the deformation probability index is less than the preset index, the two closed isolated contour partitions are added to the parallel partition set. Specifically, a deformation probability threshold (preset index) is set to determine whether two contour partitions can be cut simultaneously. If the calculated deformation probability index is less than the preset deformation probability threshold, it is considered that the two contour partitions can be cut in parallel without causing significant deformation, so they are added to the parallel partition set.

[0042] Step S450, generating the parallel cutting analysis result based on the parallel partition set. Specifically, based on the parallel partition set, an analysis result is generated about which contour partitions can be cut in parallel. In a CNC cutting system with multiple cutting heads, parallel cutting can significantly improve cutting efficiency. However, parallel cutting may also bring some problems, such as deformation of non-cutting areas. This implementation method maximizes cutting efficiency while ensuring cutting quality by accurately identifying which contour partitions can be safely cut in parallel and which need to avoid parallel cutting.

[0043] In a possible implementation, the contour point spacing set is input into the parallel cutting effect analysis model to identify the deformation probability of the non-cutting area, and a deformation probability index is generated. Step S430 further includes step S431, obtaining part material information corresponding to the special-shaped part. Specifically, by reading the design drawings or production files of the parts, key information such as material type (such as steel, aluminum alloy, plastic, etc.), material thickness, width, and physical properties of the material (such as density, hardness, toughness, etc.) are extracted.

[0044] Step S432, through the CNC cutting control platform, the historical cutting heat-affected deformation monitoring records are collected with the part material information as a constraint, and the deformation probability prediction network is trained. Specifically, the CNC cutting control platform (a software system for controlling CNC cutting equipment that can record various parameters and monitoring data during the cutting process) is used to screen out historical cutting records that are the same or similar to the part material according to the material information of the part. These records contain cutting parameters (such as cutting speed, cutting depth, cutting head type, etc.), heat-affected data during cutting, and the final deformation. The collected data is cleaned and sorted to ensure the accuracy and consistency of the data. Use the preprocessed data as a training set to train a deformation probability prediction network. This network can be any type of neural network, such as a convolutional neural network (CNN), a recurrent neural network (RNN), or a deep neural network (DNN). The trained deformation probability prediction network can predict the deformation probability of the non-cutting area during the cutting process based on given cutting parameters and material information.

[0045] Step S433, using the deformation probability prediction network to analyze the contour point spacing set and generate the deformation probability index. Specifically, the contour point spacing set calculated in step S420 is used as input data, and the material information of the part is provided as an auxiliary input. The input data is sent to the deformation probability prediction network for reasoning to obtain the deformation probability corresponding to each contour point spacing. According to the deformation probability output by the network, a deformation probability index is generated, which can be a statistical quantity such as the mean, maximum value, standard deviation, etc., which is used to evaluate the feasibility of parallel cutting. This implementation method can accurately predict the deformation probability during the cutting process by training the deformation probability prediction network, thereby avoiding or reducing the deformation of the non-cutting area caused by parallel cutting.

[0046] In a possible implementation, the CNC cutting control platform is connected to determine whether it includes multiple cutting heads. The method further includes step S600. If the CNC cutting control platform includes only one cutting head, the multiple segmented cutting paths are connected to minimize path redundancy and generate a connection result. Specifically, the multiple segmented cutting paths generated in step S300 are used as input data, and a path optimization algorithm, such as a variant algorithm of the traveling salesman problem (TSP) or a heuristic search algorithm (such as a genetic algorithm, an ant colony algorithm, etc.) is applied to sort and connect the segmented cutting paths to minimize the moving distance and repeated paths (i.e., path redundancy) of the cutting head during the cutting process. The connection result after path optimization is output, and the result is an ordered cutting path sequence, which indicates how the cutting head should access each segmented cutting path in turn to complete the entire cutting task.

[0047] Step S700, generating the target cutting path with the connection result. Specifically, using the programming interface or instruction set provided by the CNC cutting control platform, the connection result obtained in step S600 is converted into an instruction sequence that can be understood by the CNC cutting control platform. According to the converted instruction sequence, the final target cutting path is generated. This target cutting path is the specific cutting path to be executed by the CNC cutting control platform, which contains all the movement instructions and cutting instructions of the cutting head during the cutting process. This implementation method can flexibly adapt to different configurations of the CNC cutting control platform, and can generate the optimal cutting path whether it is a single cutting head or multiple cutting heads.

[0048] Step S500: Based on the parallel cutting analysis result and the multiple segmented cutting paths, path redundancy minimization connection of the same cutting head is performed to generate a target cutting path.

[0049] Specifically, the path optimization algorithm is used to optimize the moving path of the cutting head according to the parallel cutting analysis results and the segmented cutting path, and the segmented cutting paths are connected into a continuous cutting path to reduce the empty stroke of the cutting head (i.e., non-cutting movement) and improve the cutting efficiency. At the same time, the continuity and accuracy of the cutting path are ensured. The embodiment of the present application adopts the cutting target of the special-shaped parts and the blank to be cut to perform a three-dimensional simulation analysis of the cutting area, generate the target cutting contour, identify and segment the closed isolated contour of the target cutting contour, generate multiple closed isolated contour partitions, perform curvature change analysis on multiple closed isolated contour partitions, optimize the segmented cutting path based on the analysis results, generate multiple segmented cutting paths, connect the CNC cutting control platform, and determine whether it contains multiple cutting heads. If so, perform parallel cutting influence effect analysis on multiple closed isolated contour partitions, establish parallel cutting analysis results, and based on the parallel cutting analysis results and multiple segmented cutting paths, minimize the path redundancy of the same cutting head and connect, generate the target cutting path and other technical means, so as to achieve the technical effect of efficient and accurate cutting of special-shaped parts by generating the optimal cutting path.

[0050] In the above, refer to Figure 1 The numerical control cutting path optimization method for special-shaped parts according to an embodiment of the present invention is described in detail. Figure 2 A numerical control cutting path optimization system for special-shaped parts according to an embodiment of the present invention is described.

[0051] The CNC cutting path optimization system for special-shaped parts according to the embodiment of the present invention is used to solve the technical problem that the existing CNC cutting path optimization for special-shaped parts cannot generate the optimal cutting path, resulting in low cutting efficiency and unstable cutting quality, so as to achieve the technical effect of efficient and accurate cutting of special-shaped parts by generating the optimal cutting path. The CNC cutting path optimization system for special-shaped parts includes: a three-dimensional simulation analysis module 10, a closed isolated contour segmentation module 20, a segmented cutting path optimization module 30, a parallel cutting influence effect analysis module 40, and a target cutting path generation module 50.

[0052] A three-dimensional simulation analysis module 10 is used to determine the cutting target of special-shaped parts and the blank to be cut, perform three-dimensional simulation analysis of the cutting area, and generate a target cutting contour; a closed isolated contour segmentation module 20 is used to perform closed isolated contour recognition and segmentation on the target cutting contour to generate multiple closed isolated contour partitions; a segmented cutting path optimization module 30 is used to perform curvature change analysis on the multiple closed isolated contour partitions respectively, optimize the segmented cutting path based on the curvature analysis results, and generate multiple segmented cutting paths; a parallel cutting influence effect analysis module 40 is used to connect the CNC cutting control platform to determine whether it contains multiple cutting heads. If so, perform parallel cutting influence effect analysis on the multiple closed isolated contour partitions and establish parallel cutting analysis results; a target cutting path generation module 50 is used to minimize the path redundancy of the same cutting head based on the parallel cutting analysis results and the multiple segmented cutting paths to generate a target cutting path.

[0053] The specific configuration of the segmented cutting path optimization module 30 will be described in detail below. As described above, the curvature change analysis is performed on the multiple closed isolated contour partitions respectively, and the segmented cutting path optimization is performed based on the curvature analysis results to generate multiple segmented cutting paths. The segmented cutting path optimization module 30 may further include: a curvature calculation unit is used to extract the first closed isolated contour partition within the multiple closed isolated contour partitions, perform curvature calculation on the first closed isolated contour partition, and establish a first contour curvature sequence; a cutting direction adjustment node positioning unit is used to locate multiple first cutting direction adjustment nodes based on the first contour curvature sequence; a segmented cutting path generation unit is used to analyze the node distribution density differences of the multiple first cutting direction adjustment nodes, perform density difference distribution of path control points, generate a first segmented cutting path, and add the first segmented cutting path to the multiple segmented cutting paths.

[0054] Among them, the node distribution density differences of the multiple first cutting direction adjustment nodes are analyzed, the density difference distribution of the path control points is performed, and the first segmented cutting path is generated. The segmented cutting path generation unit may further include: a curvature change degree identification subunit is used to identify the curvature change degrees corresponding to the multiple first cutting direction adjustment nodes; a smooth insertion optimization subunit is used to perform smooth insertion optimization of the path control points based on the curvature change degrees to generate the first segmented cutting path.

[0055] Among them, based on the curvature variation, the path control points are smoothly inserted and optimized to generate the first segmented cutting path. The smooth insertion optimization subunit may further include: a path control point random distribution microunit is used to randomly distribute the path control points of the multiple first cutting direction adjustment nodes based on the curvature variation to generate multiple initial path control point distributions, wherein the initial path control point distribution density is proportional to the curvature variation; a smoothness fitting evaluation microunit is used to perform smoothness fitting evaluation of the cutting trajectory on the multiple initial path control point distributions to generate multiple smoothness evaluation parameters; a density increase update microunit is used to locate the cutting direction adjustment nodes that do not meet the preset cutting accuracy requirements based on the multiple smoothness evaluation parameters, perform density increase update of the path control points, and generate an updated path control point distribution that meets the preset cutting accuracy requirements; a first segmented cutting path generation microunit is used to generate the first segmented cutting path with the updated path control point distribution.

[0056] The specific configuration of the parallel cutting influence effect analysis module 40 will be described in detail below. As described above, the parallel cutting influence effect analysis is performed on the multiple closed isolated contour partitions to establish a parallel cutting analysis result. The parallel cutting influence effect analysis module 40 may further include: an arbitrary two adjacent partition determination unit is used to determine any two closed isolated contour partitions that are adjacent in position among the multiple closed isolated contour partitions; a contour point spacing calculation unit is used to calculate the contour point spacing set between the any two closed isolated contour partitions; a non-cutting area deformation probability identification unit is used to input the contour point spacing set into the parallel cutting effect analysis model to identify the deformation probability of the non-cutting area and generate a deformation probability index; a parallel conflict partition set generation unit is used to add the any two closed isolated contour partitions into the parallel partition set if the deformation probability index is less than a preset index; and a parallel cutting analysis result generation unit is used to generate the parallel cutting analysis result based on the parallel partition set.

[0057] Among them, the contour point spacing set is input into the parallel cutting effect analysis model to identify the deformation probability of the non-cutting area and generate a deformation probability index. The non-cutting area deformation probability identification unit may further include: a part material information acquisition subunit for acquiring the part material information corresponding to the special-shaped part; a deformation probability prediction network training subunit for collecting historical cutting heat affected deformation monitoring records through the CNC cutting control platform with the part material information as a constraint, and training the deformation probability prediction network; a deformation probability index generation subunit for analyzing the contour point spacing set with the deformation probability prediction network to generate the deformation probability index.

[0058] Among them, the CNC cutting control platform is connected to determine whether it includes multiple cutting heads. The system can further include: a path redundancy minimization connection module is used to connect the multiple segmented cutting paths to minimize path redundancy and generate a connection result if the CNC cutting control platform only includes one cutting head; a target cutting path generation module is used to generate the target cutting path based on the connection result.

[0059] The CNC cutting path optimization system for special-shaped parts provided by the embodiment of the present invention can execute the CNC cutting path optimization method for special-shaped parts provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0060] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules may be used and run on the user terminal and / or server, and the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0061] The above specific implementation manner does not constitute a limitation to the protection scope of the present application. It should be understood by those skilled in the art that various modifications, combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application. In some cases, the actions or steps recorded in the present application can be performed in an order different from that in the embodiment and can still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

Claims

1. A CNC cutting path optimization method for special-shaped parts, characterized in that: include: Determine the cutting target of special-shaped parts and the blank to be cut, perform 3D simulation analysis of the cutting area, and generate the target cutting contour; Performing closed isolated contour recognition and segmentation on the target cutting contour to generate a plurality of closed isolated contour partitions; Performing curvature change analysis on the multiple closed isolated contour partitions respectively, optimizing the segmented cutting path based on the curvature analysis results, and generating multiple segmented cutting paths; Connecting to the CNC cutting control platform to determine whether it includes multiple cutting heads, and if so, performing parallel cutting influence effect analysis on the multiple closed isolated contour partitions, and establishing parallel cutting analysis results; Based on the parallel cutting analysis result and the multiple segmented cutting paths, path redundancy minimization of the same cutting head is performed to connect and generate a target cutting path.

2. The CNC cutting path optimization method for special-shaped parts according to claim 1, characterized in that: Performing curvature change analysis on the multiple closed isolated contour partitions respectively, optimizing the segmented cutting path based on the curvature analysis results, and generating multiple segmented cutting paths, including: Extracting a first closed isolated contour partition from the plurality of closed isolated contour partitions, performing curvature calculation on the first closed isolated contour partition, and establishing a first contour curvature sequence; Positioning a plurality of first cutting direction adjustment nodes based on the first contour curvature sequence; Analyze the node distribution density difference of the plurality of first cutting direction adjustment nodes, perform density difference distribution of path control points, and generate a first segmented cutting path; The first segmented cutting path is added to the plurality of segmented cutting paths.

3. The CNC cutting path optimization method for special-shaped parts according to claim 2, characterized in that: Analyzing the node distribution density difference of the plurality of first cutting direction adjustment nodes, performing density difference distribution of the path control points, and generating a first segmented cutting path, including: Identifying the curvature variation degrees corresponding to the plurality of first cutting direction adjustment nodes; Smooth insertion optimization of path control points is performed based on the curvature variation degree to generate the first segmented cutting path.

4. The CNC cutting path optimization method for special-shaped parts according to claim 3, characterized in that: Performing smooth insertion optimization of path control points based on the curvature variation to generate the first segmented cutting path includes: Based on the curvature variation, a plurality of first cutting direction adjustment nodes are randomly distributed with respect to path control points to generate a plurality of initial path control point distributions, wherein the initial path control point distribution density is proportional to the curvature variation; Performing a smoothness fitting evaluation of the cutting trajectory on the distribution of the multiple initial path control points to generate multiple smoothness evaluation parameters; Based on the multiple smoothness evaluation parameters, the cutting direction adjustment nodes that do not meet the preset cutting accuracy requirements are located, and the density of the path control points is increased and updated to generate an updated path control point distribution that meets the preset cutting accuracy requirements; The first segmented cutting path is generated using the updated path control point distribution.

5. The CNC cutting path optimization method for special-shaped parts according to claim 1, characterized in that: Performing parallel cutting effect analysis on the multiple closed isolated contour partitions and establishing parallel cutting analysis results includes: Determine any two closed isolated contour partitions that are adjacent in position among the multiple closed isolated contour partitions; Calculate the contour point spacing set between any two closed isolated contour partitions; Inputting the contour point spacing set into a parallel cutting effect analysis model to identify the deformation probability of the non-cutting area and generate a deformation probability index; If the deformation probability index is less than a preset index, adding any two closed isolated contour partitions into the parallel partition set; The parallel cutting analysis result is generated based on the parallel partition set.

6. The CNC cutting path optimization method for special-shaped parts according to claim 5, characterized in that: The contour point spacing set is input into the parallel cutting effect analysis model to identify the deformation probability of the non-cutting area and generate a deformation probability index, including: Obtain part material information corresponding to special-shaped parts; Through the CNC cutting control platform, historical cutting heat-affected deformation monitoring records are collected with the part material information as a constraint, and a deformation probability prediction network is trained; The deformation probability prediction network is used to analyze the contour point spacing set to generate the deformation probability index.

7. The CNC cutting path optimization method for special-shaped parts according to claim 1, characterized in that: Connect the CNC cutting control platform to determine whether it contains multiple cutting heads, and also include: If the numerical control cutting control platform includes only one cutting head, the plurality of segmented cutting paths are connected by minimizing path redundancy to generate a connection result; The target cutting path is generated based on the connection result.

8. A CNC cutting path optimization system for special-shaped parts, characterized in that: The system is used to implement the CNC cutting path optimization method for special-shaped parts according to any one of claims 1 to 7, and the system comprises: The 3D simulation analysis module is used to determine the cutting target of special-shaped parts and the blank to be cut, perform 3D simulation analysis of the cutting area, and generate the target cutting contour; A closed isolated contour segmentation module, used for performing closed isolated contour recognition and segmentation on the target cutting contour to generate a plurality of closed isolated contour partitions; A segmented cutting path optimization module, used to perform curvature change analysis on the multiple closed isolated contour partitions respectively, optimize the segmented cutting path based on the curvature analysis results, and generate multiple segmented cutting paths; A parallel cutting influence effect analysis module is used to connect to the CNC cutting control platform to determine whether it contains multiple cutting heads. If so, parallel cutting influence effect analysis is performed on the multiple closed isolated contour partitions to establish parallel cutting analysis results. The target cutting path generation module is used to perform path redundancy minimization connection of the same cutting head based on the parallel cutting analysis result and the multiple segmented cutting paths to generate a target cutting path.

Citation Information

Patent Citations

  • Optimal selection method of quenched steel milling cutter, vehicle door milling method and convex curved surface test piece

    CN104942349A

  • Machining area division and machining method of multi-machining-head additive manufacturing equipment

    CN111014670A

  • Intersection feature automatic identification method and system based on machinability analysis

    CN116736795A

  • Production control method, device and equipment of intelligent mold and storage medium

    CN118884899A

  • Path generation method, device and equipment for multi-axis linkage machining and storage medium

    CN119126670A

Cited By

  • Cutting head control system and method of ultra-precise high-power laser cutting equipment

    CN120551590A

  • Automobile part cutting robot operation path planning method

    CN120791803A

  • Visual positioning double-end asynchronous shortest path planning method for underwear cutting machine

    CN121639741A