CNC cutting path optimization method and system for special-shaped parts
By generating the optimal cutting path through 3D simulation analysis and curvature change optimization, the problem of low efficiency in cutting special-shaped parts is solved, and efficient and precise cutting effects are achieved.
Patent Information
- Application Number
- CN202411985360.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2044-12-31
AI Technical Summary
The existing CNC cutting path optimization for special-shaped parts cannot generate the optimal path, resulting in low cutting efficiency and unstable cutting quality.
The target cutting contour is generated through 3D simulation analysis, closed isolated contour identification and segmentation are performed, curvature change analysis is performed, segmented cutting paths are generated, parallel cutting impact effect analysis is performed, path redundancy is minimized, and the optimal cutting path is generated.
It achieves efficient and precise cutting of special-shaped parts, improving cutting efficiency and quality.
Smart Images

Figure CN119689975B_ABST
Abstract
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 placed on 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 uses path optimization methods based on simple geometric shapes (such as circles, rectangles, etc.), which have limitations when 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, there is a technical problem that the CNC cutting path optimization for special-shaped parts cannot 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 the 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 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 CNC cutting path optimization method for special-shaped parts, including: determining the cutting target of the special-shaped parts and the blank to be cut, performing 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 multiple closed isolated contour partitions; performing curvature change analysis on the multiple closed isolated contour partitions respectively, and performing segmented cutting path optimization based on the curvature analysis results to generate multiple segmented cutting paths; connecting a CNC cutting control platform to determine whether it contains multiple cutting heads. If so, performing parallel cutting impact effect analysis on the multiple closed isolated contour partitions to establish a parallel cutting analysis result; based on the parallel cutting analysis result and the multiple segmented cutting paths, performing path redundancy minimization connection of the same cutting head to generate a target cutting path.
[0006] In a possible implementation, curvature change analysis is performed on the multiple closed isolated contour partitions respectively, and 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; multiple first cutting direction adjustment nodes are located based on the first contour curvature sequence; 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; and 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 a first segmented cutting path is generated. 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: random distribution of path control points of the multiple first cutting direction adjustment nodes is performed 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; smoothness fitting evaluation of the cutting trajectory is performed on the multiple initial path control point distributions 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 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.
[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 the contour point spacing set between the any two closed isolated contour partitions; inputting 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; if the deformation probability index is less than a preset index, adding the any two closed isolated contour partitions into the 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, 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, used to perform closed isolated contour identification and segmentation on the target cutting contour, and generate multiple closed isolated contour partitions; a segmented cutting path optimization module, used to 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; a parallel cutting influence effect analysis module, 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 a parallel cutting analysis result; a target cutting path generation module, used to minimize the path redundancy of the same cutting head based on the parallel cutting analysis result 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. Based on the curvature analysis results, the segmented cutting path optimization is performed to generate multiple segmented cutting paths, and then the CNC cutting control platform is connected to determine whether it contains multiple cutting heads. If so, the parallel cutting impact effect analysis is performed on the multiple closed isolated contour partitions, and the parallel cutting analysis results are established. Finally, based on the parallel cutting analysis results and the 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] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings of the embodiments of the present invention are briefly introduced below. Flowcharts are used in this application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in precise order. Instead, various steps may be processed in reverse order or simultaneously as needed. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.
[0015] Figure 1 A schematic flow chart of a method for optimizing CNC cutting paths for special-shaped parts provided in an embodiment of the present application.
[0016] Figure 2 A schematic structural diagram 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 purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this 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 describes a subset of all possible embodiments, but it will be 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 used to distinguish similar objects and do not represent a specific ordering of the 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 that are clearly listed, but may include other steps or modules that are not clearly listed or that are inherent to these processes, methods, products or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used herein are for the purpose of describing the embodiments of this application only.
[0021] The present application provides a method for optimizing the CNC cutting path of special-shaped parts. Figure 1 As shown, the method includes:
[0022] 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.
[0023] Specifically, the specific shape, size, and material requirements of the irregularly shaped parts to be cut are determined, and the appropriate blank (i.e., the raw material to be cut) is selected. Subsequently, 3D modeling and simulation software is used to perform a detailed simulation analysis of the cutting area. This includes simulating the cutting process, evaluating the impact of cutting conditions (such as cutting speed, cutting depth, and cutting temperature) on the material, and predicting the shape and accuracy of the finished part. Ultimately, the simulation results generate a precise target cutting profile, which serves as the basis for subsequent cutting path planning. Special-shaped parts are defined as irregular and non-standard parts.
[0024] Step S200 : performing closed isolated contour recognition and segmentation on the target cutting contour to generate a plurality of closed isolated contour partitions.
[0025] 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 enclosed and do not intersect with other contours. These areas are separated from each other due to the complexity of the part shape.
[0026] Step S300 : 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.
[0027] Specifically, an algorithm analyzes the curvature variation of each closed, isolated contour partition, evaluating the contour's curvature and its variations. Based on these analysis results, turning points and control points along the cutting path are determined. An optimization algorithm adjusts the positions of these points to generate an optimal cutting path that adapts to contour curvature variations while optimizing cutting efficiency and quality. A segmented cutting path is one that divides the cutting path of each closed, isolated contour partition into multiple smaller segments.
[0028] In one possible implementation, curvature change analysis is performed on each of the multiple closed isolated contour partitions, and 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 from 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 specialized 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. The curvature reflects the smoothness and degree of change of the boundary of the first closed isolated contour partition.
[0029] Step S320: Locate multiple first cutting direction adjustment nodes based on the first contour curvature sequence. Specifically, based on the first contour curvature sequence, multiple first cutting direction adjustment nodes are located. These nodes are determined based on changes in curvature values in the first contour curvature sequence and are located at locations where curvature changes significantly, indicating where the cutting path needs to be adjusted.
[0030] 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 a 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 fits the actual shape of the contour better and reduces cutting errors. Based on 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.
[0031] Step S340: Add 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 variation is one of the key factors affecting cutting quality and efficiency in cutting special-shaped parts. This implementation method accurately calculates and analyzes the curvature variation of the contour to develop a more reasonable cutting path, thereby improving cutting accuracy and efficiency.
[0032] In one 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. Step S330 further includes step S331, identifying the curvature variation 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 derivatives 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 variation refers to a measure of the degree of curvature of the contour at these nodes, that is, how quickly the tangent direction of the contour changes near these points. A high curvature variation means that the contour changes direction quickly near these points, while a low curvature variation means that the contour changes direction slowly near these points.
[0033] 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 path control points need to be increased or decreased according to 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 method generates a cutting path that is both accurate and efficient by identifying the curvature variation and performing smooth insertion optimization.
[0034] In one possible implementation, smooth insertion optimization of 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.
[0035] Step S3322: The smoothness of the cutting trajectory is evaluated by fitting the initial control point distributions to generate multiple smoothness evaluation parameters. Specifically, the continuity and smoothness of the cutting trajectory formed by the initial control point distributions generated in step S3321 are evaluated by calculating mathematical parameters such as the curvature change and derivative change of the trajectory. Based on these parameters, multiple smoothness evaluation parameters are generated for subsequent positioning and optimization.
[0036] Step S3323 locates cutting direction adjustment nodes that do not meet the preset cutting accuracy requirements based on the multiple smoothness evaluation parameters, performs a density increase update on the path control points, generates an updated path control point distribution that meets the preset cutting accuracy requirements, and uses this updated path control point distribution to generate the first segmented cutting path. Specifically, the smoothness evaluation parameters are analyzed to identify cutting direction adjustment nodes that cause the cutting trajectory to be uneven or fail to meet the preset cutting accuracy requirements (specific requirements for the smoothness and accuracy of the cutting trajectory). These nodes are locations with large curvature variations and a less dense distribution of path control points. Once these nodes are located, a density increase update is performed, i.e., 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 ensures the continuity and smoothness of the cutting trajectory by evaluating and adjusting the distribution of path control points through smoothness fitting, avoiding sudden changes or jitter during the cutting process.
[0037] Step S400: Connecting to a numerical control cutting control platform determines whether it includes multiple cutting heads. If so, performing parallel cutting impact analysis on the multiple closed isolated contour partitions to establish a parallel cutting analysis result.
[0038] Specifically, the number of cutting heads is queried through the CNC cutting control platform's interface to determine whether the platform is equipped with multiple cutting heads. If so, simulation software or experimental data is used to evaluate the potential interactions (such as thermal deformation and vibration) that may arise when cutting multiple closed, isolated contour sections simultaneously. Based on this analysis, the system determines which sections can be cut in parallel without interfering with each other.
[0039] In one possible implementation, parallel cutting impact analysis is performed on the multiple closed isolated contour partitions to generate parallel cutting analysis results. Step S400 further includes step S410 of identifying any two adjacent closed isolated contour partitions among the multiple closed isolated contour partitions. Specifically, adjacency determination methods in computer graphics, such as bounding box-based collision detection or distance-based proximity search algorithms, are used to identify any two spatially adjacent (i.e., closely spaced and likely to affect each other) partitions among all closed isolated contour partitions.
[0040] Step S420: Calculate the contour point spacing set between any two closed isolated contour partitions. Specifically, sample the boundaries of the two contour partitions to obtain a series of contour points, and then calculate the shortest distance or average distance between these points to form a set.
[0041] In step S430, the set of contour point distances is input into a parallel cutting effect analysis model to identify the deformation probability of the non-cut area and generate a deformation probability index. Specifically, the set of distances obtained in step S420 is used as input. The trained parallel cutting effect analysis model (which can be based on machine learning or physical simulation) calculates the probability of deformation in the non-cut area at a given distance, i.e., the deformation probability index.
[0042] In step S440, if the calculated deformation probability index is less than a preset index, the two closed isolated contour partitions are added to the set of parallel partitions. 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, the two contour partitions are deemed to be capable of being cut in parallel without causing significant deformation, and are therefore added to the set of parallel partitions.
[0043] Step S450 generates the parallel cutting analysis result based on the parallel partition set. Specifically, based on the parallel partition set, an analysis result is generated regarding 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 can also cause 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 should be avoided.
[0044] In one 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 and generate a deformation probability index. Step S430 further includes step S431, where material information corresponding to the irregularly shaped part is obtained. Specifically, by reading the part's design drawings or production documents, key information such as material type (e.g., steel, aluminum alloy, plastic), material thickness, width, and physical properties (e.g., density, hardness, toughness, etc.) is extracted.
[0045] In step S432, historical cutting heat-affected deformation monitoring records are collected through the CNC cutting control platform, using the part material information as a constraint, to train a deformation probability prediction network. Specifically, the CNC cutting control platform (a software system used to control CNC cutting equipment that records various parameters and monitoring data during the cutting process) is used to filter historical cutting records with the same or similar material as the part based on the part material information. These records contain cutting parameters (such as cutting speed, cutting depth, cutting head type, etc.), heat-affected data during the cutting process, and the final deformation. The collected data is cleaned and organized to ensure data accuracy and consistency. A deformation probability prediction network is trained using the preprocessed data as a training set. 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 non-cutting areas during the cutting process based on given cutting parameters and material information.
[0046] Step S433, the deformation probability prediction network is used to analyze the contour point spacing set to 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 inference 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 average value, 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.
[0047] In one possible implementation, the method further includes step S600, where, 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 of the traveling salesman problem (TSP) or a heuristic search algorithm (such as a genetic algorithm or an ant colony algorithm), is applied to sort and connect the segmented cutting paths to minimize the distance the cutting head moves and the number of repeated paths (i.e., path redundancy) during the cutting process. The optimized connection result is output as an ordered sequence of cutting paths, indicating how the cutting head should sequentially access each segmented cutting path to complete the entire cutting task.
[0048] Step S700, generating the target cutting path with the connection result. Specifically, the connection result obtained in step S600 is converted into an instruction sequence that can be understood by the CNC cutting control platform using the programming interface or instruction set provided by the CNC cutting control platform. Based on 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 regardless of whether it is a single cutting head or multiple cutting heads.
[0049] Step S500 : performing 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.
[0050] Specifically, a path optimization algorithm is used to optimize the movement path of the cutting head based on the parallel cutting analysis results and the segmented cutting path, and the segmented cutting paths are connected into a continuous cutting path, thereby reducing the idle stroke (i.e., non-cutting movement) of the cutting head and improving cutting efficiency. At the same time, the continuity and accuracy of the cutting path are ensured. The embodiment of the present application uses a method of clearly defining the cutting target of the special-shaped part and the blank to be cut, performing a three-dimensional simulation analysis of the cutting area, generating a target cutting contour, performing closed isolated contour identification and segmentation on the target cutting contour, generating multiple closed isolated contour partitions, performing curvature change analysis on the multiple closed isolated contour partitions, optimizing the segmented cutting path based on the analysis results, generating multiple segmented cutting paths, connecting a CNC cutting control platform, determining whether it contains multiple cutting heads, and if so, performing parallel cutting impact effect analysis on the multiple closed isolated contour partitions, establishing a parallel cutting analysis result, and based on the parallel cutting analysis results and the multiple segmented cutting paths, performing path redundancy minimization connection of the same cutting head to generate the target cutting path and other technical means, thereby achieving the technical effect of achieving efficient and accurate cutting of special-shaped parts by generating an optimal cutting path.
[0051] In the above, refer to Figure 1 The numerical control cutting path optimization method for special-shaped parts according to the 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.
[0052] The CNC cutting path optimization system for special-shaped parts according to an embodiment of the present invention is designed to address the technical problem of existing CNC cutting path optimization systems for special-shaped parts, which cannot generate an optimal cutting path, resulting in low cutting efficiency and unstable cutting quality. By generating an optimal cutting path, the system achieves the technical effect of efficiently and accurately cutting special-shaped parts. 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 impact effect analysis module 40, and a target cutting path generation module 50.
[0053] The three-dimensional simulation analysis module 10 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 the target cutting contour; the closed isolated contour segmentation module 20 is used to perform closed isolated contour identification and segmentation on the target cutting contour to generate multiple closed isolated contour partitions; the 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; the 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 to establish a parallel cutting analysis result; the target cutting path generation module 50 is used to minimize the path redundancy of the same cutting head based on the parallel cutting analysis result and the multiple segmented cutting paths to generate a target cutting path.
[0054] 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 for extracting a first closed isolated contour partition from the multiple closed isolated contour partitions, performing curvature calculation on the first closed isolated contour partition, and establishing a first contour curvature sequence; a cutting direction adjustment node positioning unit for positioning multiple first cutting direction adjustment nodes based on the first contour curvature sequence; a segmented cutting path generation unit for analyzing the node distribution density differences of the multiple first cutting direction adjustment nodes, performing density difference distribution of path control points, generating a first segmented cutting path, and adding the first segmented cutting path to the multiple segmented cutting paths.
[0055] 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 for identifying the curvature change degrees corresponding to the multiple first cutting direction adjustment nodes; a smooth insertion optimization subunit for performing smooth insertion optimization of the path control points based on the curvature change degrees to generate the first segmented cutting path.
[0056] Among them, based on the curvature variation, smooth insertion optimization of path control points is performed to generate the first segmented cutting path, and the smooth insertion optimization sub-unit may further include: a path control point random distribution micro-unit is used to randomly distribute path control points of the multiple first cutting direction adjustment nodes based on the curvature variation, and 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 micro-unit is used to perform smoothness fitting evaluation of the cutting trajectory on the multiple initial path control point distributions, and generate multiple smoothness evaluation parameters; a density increase update micro-unit 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 micro-unit is used to generate the first segmented cutting path with the updated path control point distribution.
[0057] 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 for determining any two adjacent closed isolated contour partitions in the multiple closed isolated contour partitions; a contour point spacing calculation unit for calculating the contour point spacing set between the arbitrary two closed isolated contour partitions; a non-cutting area deformation probability identification unit for inputting 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 for adding the arbitrary 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 for generating the parallel cutting analysis result based on the parallel partition set.
[0058] Among them, the contour point spacing set is input into the parallel cutting effect analysis model to perform deformation probability identification of the non-cutting area to generate a deformation probability index. The non-cutting area deformation probability identification unit may further include: a part material information acquisition subunit for acquiring 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.
[0059] 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 perform path redundancy minimization connection on the multiple segmented cutting paths if the CNC cutting control platform only includes one cutting head, and generate a connection result; a target cutting path generation module is used to generate the target cutting path based on the connection result.
[0060] 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.
[0061] 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.
[0062] The above specific embodiments do not constitute a limitation to the scope of protection of this 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 replacements and improvements made within the spirit and principles of this application should be included in the scope of protection of this application. In some cases, the actions or steps recorded in this application can be performed in an order different from that in the embodiments and can still achieve the desired results. In addition, the processes depicted in the accompanying drawings do 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 a CNC cutting control platform to determine whether it includes multiple cutting heads, and if so, performing parallel cutting impact analysis on the multiple closed isolated contour partitions to establish a parallel cutting analysis result; Based on the parallel cutting analysis result and the multiple segmented cutting paths, path redundancy minimization is performed on the same cutting head to generate a target cutting path; The parallel cutting effect analysis is performed on the multiple closed isolated contour partitions to establish the parallel cutting analysis results, including: Determine any two adjacent closed isolated contour partitions among the plurality of closed isolated contour partitions; Calculating a contour point distance 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 the arbitrary two closed isolated contour partitions into the parallel partition set; generating the parallel cutting analysis result based on the parallel partition set; 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 contour point spacing set is analyzed using the deformation probability prediction network to generate the deformation probability index.
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; Analyzing the node distribution density differences of the plurality of first cutting direction adjustment nodes, performing density difference distribution of path control points, and generating 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 differences of the plurality of first cutting direction adjustment nodes, performing density difference distribution of path control points, and generating a first segmented cutting path, including: Identifying 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 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: Randomly distributing path control points of the plurality of first cutting direction adjustment nodes based on the curvature variation degree to generate a plurality of initial path control point distributions, wherein the initial path control point distribution density is proportional to the curvature variation degree; 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; Locating cutting direction adjustment nodes that do not meet the preset cutting accuracy requirements based on the multiple smoothness evaluation parameters, performing density increase and update of path control points, and generating 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: Connecting to the CNC cutting control platform determines whether it contains multiple cutting heads, and also includes: If the CNC cutting control platform includes only one cutting head, connecting the multiple segmented cutting paths by minimizing path redundancy to generate a connection result; The target cutting path is generated based on the connection result.
6. CNC cutting path optimization system for special-shaped parts, characterized by: The system is used to implement the CNC cutting path optimization method for special-shaped parts according to any one of claims 1 to 5, and the system includes: 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 is used to perform 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 is used to perform curvature change analysis on the multiple closed isolated contour partitions, 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, it performs parallel cutting influence effect analysis on the multiple closed isolated contour partitions and establishes parallel cutting analysis results. The target cutting path generation module is used to connect the paths of the same cutting head with minimal redundancy based on the parallel cutting analysis result and the multiple segmented cutting paths to generate a target cutting path.
Citation Information
Patent Citations
Machining area division and machining method of multi-machining-head additive manufacturing equipment
CN111014670A
Laser cutting system for cutting complex shapes
CN119159250A