Numerical control lathe machining auxiliary system based on machine vision
Through the CNC lathe processing assistance system based on machine vision, deep learning and optimization algorithms are used to automatically generate tool paths and cutting parameters, solving the problem of difficult formulation of processing strategies for workpieces with complex shapes, improving processing efficiency and quality, and reducing errors and tool wear. .
Patent Information
- Application Number
- CN202411040601.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the process of 3D positioning and 3D image construction, for workpieces with complex shapes, the process of selecting appropriate tools, determining tool paths, and setting cutting parameters is tedious and error-prone, resulting in extended processing time, accelerated tool wear, and increased energy consumption.
A CNC lathe processing assistance system based on machine vision is used to analyze the three-dimensional model through deep learning and optimization algorithms, automatically generate the optimal tool path, and automatically adjust the cutting speed and feed rate parameters according to the workpiece material and tool characteristics, reducing manual intervention and error.
It realizes automatic identification and analysis of the three-dimensional model of the workpiece, generates optimal tool paths and cutting parameters, improves processing efficiency and quality, and reduces processing errors and tool wear.
Smart Images

Figure CN118788992A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of CNC lathe processing, and in particular to a CNC lathe processing auxiliary system based on machine vision. Background Art
[0002] With the rapid development of computer vision, artificial intelligence, big data, cloud computing, Internet of Things (IoT) and other technologies, the manufacturing industry has the ability to integrate these advanced technologies to achieve intelligent and automated upgrades in the production process. Machine vision technology, as an important part of perception and cognitive technology, provides a foundation for intelligent assistance of CNC machine tools.
[0003] Traditional manual inspection and processing methods are difficult to meet the increasingly stringent precision requirements and are easily restricted by factors such as the skills and fatigue of human operators. Machine vision-assisted systems can achieve high-precision, high-stability inspection and processing, reduce errors and improve production efficiency.
[0004] After searching, the invention patent with Chinese patent number CN110825026B discloses a CNC lathe with three-dimensional image positioning and a three-dimensional image construction and output method. Compared with the prior art, the invention patent with Chinese patent number CN110825026B can realize the automation of mapping, save human resources and mapping costs, and realize the batch production of a certain item with basically no difference between individuals.
[0005] However, in the process of three-dimensional positioning and three-dimensional image construction, for workpieces with complex shapes, it is necessary to select suitable tools, determine tool paths, set reasonable cutting parameters (such as feed rate, speed), and determine the entry and exit points of the tool. The implementation of these processes is cumbersome and prone to errors. In addition, unreasonable tool paths will lead to prolonged processing time, accelerated tool wear, and increased energy consumption. Therefore, a CNC lathe processing assistance system based on machine vision is proposed herein. Summary of the invention
[0006] The purpose of the present invention is to solve the disadvantage of the difficulty in formulating processing strategies in the prior art, and to propose a CNC lathe processing auxiliary system based on machine vision.
[0007] In order to achieve the above object, the present invention adopts the following technical solutions:
[0008] A CNC lathe machining auxiliary system based on machine vision, including a deep learning introduction unit, the lathe machining auxiliary system includes:
[0009] Machine vision inspection module: uses high-resolution cameras and other sensors to capture three-dimensional images of workpieces, and extracts geometric features, size, and position information of workpieces through image processing technology;
[0010] 3D model reconstruction module: converts the acquired image data into an accurate 3D model and analyzes the geometric characteristics of the workpiece;
[0011] Intelligent path planning module: uses deep learning and optimization algorithms to analyze 3D models and automatically generate the optimal tool path;
[0012] Cutting parameter optimization module: automatically adjust cutting speed and feed rate parameters according to workpiece material, tool characteristics and processing requirements;
[0013] Post-processing and G-code generation module: converts the optimized tool path and cutting parameters into G-code instructions executable by CNC machine tools;
[0014] The intelligent path planning module includes a simulated annealing algorithm submodule and an annealing algorithm submodule.
[0015] The machine vision inspection module uses a camera to capture images of the object to be inspected;
[0016] Preprocess the detection data and perform feature extraction;
[0017] Based on the deep learning introduction unit, a deep learning algorithm model is introduced to identify key features;
[0018] Use deep learning algorithms to classify or locate features based on the total loss function:
[0019] L total =L class +L box
[0020] Optimize the deep learning model training process, where L class Responsible classification loss to ensure that the model can correctly distinguish between artifacts and background;
[0021] L box Responsible for the bounding box regression loss to ensure that the model can accurately frame the workpiece position;
[0022] Determine whether the recognition result is qualified, output the data, and activate the 3D model reconstruction module.
[0023] The 3D model reconstruction module collects point cloud data on the surface of objects through laser scanning, structured light, and photogrammetry technology;
[0024] Perform point cloud processing, denoising, filtering, and registration on point cloud data, and generate a 3D mesh model from the point cloud;
[0025] In the 3D reconstruction and alignment process, based on Used for point cloud registration, it realizes the alignment of workpiece point cloud data and model reconstruction by minimizing the sum of square distances between point sets brought by the rotation matrix R and the translation vector T;
[0026] Among them, the point set p i After transformation, it is as close as possible to another point set q i , N is the number of points;
[0027] Detect flaws in the model by comparing it to an ideal design or using morphological operations.
[0028] In the 3D model reconstruction module, the original point cloud is divided into two groups, one of which is used as the reference point cloud p i , and the other set is used as the target point cloud q i ,based on Point cloud registration results, calculate each point p i After rotation and translation, it is aligned with the target point cloud q i The sum of the squares of the Euclidean distances between corresponding points in the . The smaller the sum, the better the rotation and translation effect.
[0029] After the registration is completed, the best rotation matrix R and translation vector T are used to transform the reference point cloud so that it is aligned with the target point cloud to achieve accurate reconstruction of the 3D model.
[0030] The intelligent path planning module downsamples and filters the registered point cloud data to remove noise, reduce the amount of calculation, and maintain key geometric features;
[0031] Based on geometric features, the point cloud data is converted into a format acceptable to the deep learning model, and the point cloud is converted into one or more tensors, where each point is represented as a vector containing three-dimensional coordinates (x, y, z) and other features;
[0032] Arrange each point feature of the point cloud according to the input format required by the model, in the order of the points or by distance, and then send the features to the first layer of the model to start the feature encoding process, and then gradually extract higher-level abstract features to understand the global structure and local details of the point cloud, and activate the simulated annealing algorithm sub-module.
[0033] The simulated annealing algorithm submodule defines the state space, where each possible machining path is considered as a state, where the path consists of a series of consecutive tool positions;
[0034] A comprehensive cost function is established to quantify the quality of the machining path, including non-cutting time, tool wear cost, and material removal rate. The objective function is expressed as:
[0035] C = w1×non-cutting time+w2×tool wear cost-w3×material removal amount+...
[0036] w1, w2, w3 are the weights of each factor;
[0037] Start with a preliminary machining path as the initial state of the simulated annealing algorithm;
[0038] Set the initial temperature T0 and the cooling coefficient α to determine the ratio of temperature reduction after each iteration;
[0039] At the current temperature, a neighbor state is randomly selected to represent a possible exploration direction;
[0040] Calculate the objective function value C of the new state new The objective function value C of the current state current The difference ΔC=C new -C current ;
[0041] ΔC<0, that is, the new state is better than the current state, then the new state is accepted unconditionally.
[0042] ΔC ≥ 0, with probability Accept the new state, T is the current temperature;
[0043] Based on the cooling schedule, the temperature is lowered, T←T×α, which gradually reduces the randomness of the exploration and tends to a stable solution.
[0044] The cutting parameter optimization module records historical machining data, including cutting speed, feed rate, cutting depth, tool type, workpiece material characteristics, coolant usage and tool wear;
[0045] Select variables that have a significant impact on tool wear as model input features;
[0046] Construct response surface models and polynomial regression models;
[0047] Y=β0+β1X1+β2X2+...+β 12 X1X2+...+ε
[0048] Using the constructed response surface model, we conduct optimization analysis to find the best cutting parameter combination that minimizes tool wear and maximizes machining efficiency.
[0049] Construct response surface models to express the relationship between cutting parameters and tool wear, machining efficiency or quality indicators;
[0050] Iteratively optimize cutting parameters to maximize tool life or minimize costs while ensuring machining quality.
[0051] Post-processing is done on the motion path planned by the G-code generation module for interpolation and fitting;
[0052] Convert path data into G-code instruction sets executable by CNC machine tools or 3D printers;
[0053] The duration of each movement is calculated based on the tool path and speed to ensure precise control;
[0054] During the G-code generation phase, control points and parametric curves maintain the continuity of tool motion trajectory based on:
[0055]
[0056] Where B(t) is the cumulative probability, is the number of combinations, indicating the number of combinations that select i successes from n trials, t is the probability of success in a single trial, P i refers to other probability factors associated with the i-th success;
[0057] Perform a final check before generating G-code to avoid collisions between the tool and the workpiece or other components;
[0058] The generated G code is tested by simulation operation to ensure that it is correct before being sent to the device for execution.
[0059] The present invention has the following beneficial effects:
[0060] 1. In the present invention, based on the deep learning model, the system can automatically identify and analyze the three-dimensional model of the workpiece, without the need for manual intervention for tedious dimensional measurement and drawing interpretation. This not only improves the efficiency of the preparation stage, but also reduces the processing errors caused by human errors.
[0061] 2. In the present invention, the optimal tool path is automatically generated by using an algorithm by analyzing the geometric features of the workpiece. This includes selecting the best entry and exit points, tool direction and feed speed to minimize processing time while ensuring processing quality. Intelligent path planning can also avoid unnecessary collisions between the tool and the workpiece, improving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 This is a system block diagram of a CNC lathe machining auxiliary system based on machine vision proposed by the present invention. DETAILED DESCRIPTION
[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] Embodiment 1
[0065] like Figure 1 As shown, a CNC lathe machining auxiliary system based on machine vision proposed by the present invention includes a deep learning introduction unit, and the lathe machining auxiliary system includes:
[0066] Machine vision inspection module: uses high-resolution cameras and other sensors to capture three-dimensional images of workpieces, and extracts geometric features, size, and position information of workpieces through image processing technology;
[0067] 3D model reconstruction module: converts the acquired image data into an accurate 3D model and analyzes the geometric characteristics of the workpiece;
[0068] Intelligent path planning module: uses deep learning and optimization algorithms to analyze 3D models and automatically generate the optimal tool path;
[0069] Cutting parameter optimization module: automatically adjust cutting speed and feed rate parameters according to workpiece material, tool characteristics and processing requirements;
[0070] Post-processing and G-code generation module: converts the optimized tool path and cutting parameters into G-code instructions executable by CNC machine tools;
[0071] The intelligent path planning module includes a simulated annealing algorithm submodule and an annealing algorithm submodule.
[0072] The machine vision inspection module uses a camera to capture images of the object to be inspected;
[0073] Preprocess the detection data and perform feature extraction;
[0074] Based on the deep learning introduction unit, a deep learning algorithm model is introduced to identify key features;
[0075] Use deep learning algorithms to classify or locate features based on the total loss function:
[0076] L total =L class +L box
[0077] Optimize the deep learning model training process, where L class Responsible classification loss to ensure that the model can correctly distinguish between artifacts and background;
[0078] L box Responsible for the bounding box regression loss to ensure that the model can accurately frame the workpiece position;
[0079] Determine whether the recognition result is qualified, output the data, and activate the 3D model reconstruction module.
[0080] The 3D model reconstruction module collects point cloud data on the surface of objects through laser scanning, structured light, and photogrammetry technology;
[0081] Perform point cloud processing, denoising, filtering, and registration on point cloud data, and generate a 3D mesh model from the point cloud;
[0082] In the 3D reconstruction and alignment process, based on Used for point cloud registration, it realizes the alignment of workpiece point cloud data and model reconstruction by minimizing the sum of square distances between point sets brought by the rotation matrix R and the translation vector T;
[0083] Among them, the point set p i After transformation, it is as close as possible to another point set q i , N is the number of points;
[0084] Detect flaws in the model by comparing it to an ideal design or using morphological operations.
[0085] In the 3D model reconstruction module, the original point cloud is divided into two groups, one of which is used as the reference point cloud p i , and the other set is used as the target point cloud q i ,based on Point cloud registration results, calculate each point p i After rotation and translation, it is aligned with the target point cloud q i The sum of the squares of the Euclidean distances between corresponding points in the . The smaller the sum, the better the rotation and translation effect.
[0086] After the registration is completed, the best rotation matrix R and translation vector T are used to transform the reference point cloud so that it is aligned with the target point cloud to achieve accurate reconstruction of the 3D model.
[0087] In this embodiment, during the three-dimensional reconstruction and alignment process, based on It expresses a minimization problem to find the rotation matrix R and translation vector T such that a set of three-dimensional points p i After rotation and translation transformation, it is as close as possible to another set of three-dimensional points q i ;
[0088] Before CNC lathe processing, it is necessary to accurately determine the position and posture of the workpiece on the machine tool, that is, rotation and translation, so as to accurately perform cutting, drilling and other operations according to the designed processing path:
[0089] First, the workpiece image is captured by a machine vision system, and the image processing algorithm is used to extract the significant feature points on the workpiece surface. i , these feature points can be pre-defined marking points, edge points or key points on the workpiece contour; s
[0090] It is known that in an ideal state, these feature points should be located at positions q i ,These positions are usually provided by the CAD model and represent the theoretical coordinates of the feature points if the workpieces are perfectly aligned;
[0091] Using the above formula, the optimal rotation matrix R and translation vector T are calculated by minimizing the sum of the squares of the distances between all corresponding feature points;
[0092] Once and are obtained, they can be applied to the coordinate system of the actual workpiece to accurately determine its position and posture in the machine tool coordinate system. The CNC system adjusts the initial position and processing path of the machining head based on this information to ensure the accuracy of subsequent processing.
[0093] Embodiment 2
[0094] like Figure 1 As shown, based on the first embodiment, the intelligent path planning module downsamples and filters the registered point cloud data to remove noise, reduce the amount of calculation, and maintain key geometric features;
[0095] Based on geometric features, the point cloud data is converted into a format acceptable to the deep learning model, and the point cloud is converted into one or more tensors, where each point is represented as a vector containing three-dimensional coordinates (x, y, z) and other features;
[0096] Arrange each point feature of the point cloud according to the input format required by the model, in the order of the points or by distance, and then send the features to the first layer of the model to start the feature encoding process, and then gradually extract higher-level abstract features to understand the global structure and local details of the point cloud, and activate the simulated annealing algorithm sub-module.
[0097] The simulated annealing algorithm submodule defines the state space, where each possible machining path is considered as a state, where the path consists of a series of consecutive tool positions;
[0098] A comprehensive cost function is established to quantify the quality of the machining path, including non-cutting time, tool wear cost, and material removal rate. The objective function is expressed as:
[0099] C = w1×non-cutting time+w2×tool wear cost-w3×material removal amount+...
[0100] w1, w2, w3 are the weights of each factor;
[0101] Start with a preliminary machining path as the initial state of the simulated annealing algorithm;
[0102] Set the initial temperature T0 and the cooling coefficient α to determine the ratio of temperature reduction after each iteration;
[0103] At the current temperature, a neighbor state is randomly selected to represent a possible exploration direction;
[0104] Calculate the objective function value C of the new state new The objective function value C of the current state current The difference ΔC=C new -C current ;
[0105] ΔC<0, that is, the new state is better than the current state, then the new state is accepted unconditionally.
[0106] ΔC ≥ 0, with probability Accept the new state, T is the current temperature;
[0107] Based on the cooling schedule, the temperature is lowered, T←T×α, which gradually reduces the randomness of the exploration and tends to a stable solution.
[0108] The cutting parameter optimization module records historical machining data, including cutting speed, feed rate, cutting depth, tool type, workpiece material characteristics, coolant usage and tool wear;
[0109] Select variables that have a significant impact on tool wear as model input features;
[0110] Construct response surface models and polynomial regression models;
[0111] Y=β0+β1X1+β2X2+...+β 12 X1X2+...+ε
[0112] Using the constructed response surface model, we conduct optimization analysis to find the best cutting parameter combination that minimizes tool wear and maximizes machining efficiency.
[0113] Construct response surface models to express the relationship between cutting parameters and tool wear, machining efficiency or quality indicators;
[0114] Iteratively optimize cutting parameters to maximize tool life or minimize costs while ensuring machining quality.
[0115] Post-processing is done on the motion path planned by the G-code generation module for interpolation and fitting;
[0116] Convert path data into G-code instruction sets executable by CNC machine tools or 3D printers;
[0117] The duration of each movement is calculated based on the tool path and speed to ensure precise control;
[0118] During the G-code generation phase, control points and parametric curves maintain the continuity of tool motion trajectory based on:
[0119]
[0120] Where B(t) is the cumulative probability, is the number of combinations, indicating the number of combinations that select i successes from n trials, t is the probability of success in a single trial, P i refers to other probability factors associated with the i-th success;
[0121] Perform a final check before generating G-code to avoid collisions between the tool and the workpiece or other components;
[0122] The generated G code is tested by simulation operation to ensure that it is correct before being sent to the device for execution.
[0123] In this embodiment, in the CNC lathe processing auxiliary system based on machine vision:
[0124] Y=β0+β1X1+β2X2+...+β 12 X1X2+...+ε is a prediction or evaluation model used to analyze and optimize the impact of different factors in the machining process on the final machining results, machining quality, efficiency, tool wear, and cost:
[0125] Y represents a key performance indicator of the machining process, such as tool wear, machining time, surface roughness, or overall machining cost. This is the target variable that the model attempts to predict or optimize;
[0126] β0 is the intercept term of the model, which can be understood as the baseline prediction value of processing performance without any influence of processing parameters;
[0127] β1β2 represents the linear coefficients of the independent machining parameters, such as cutting speed, feed rate, and cutting depth, that affect machining performance. In the machine vision-assisted system, they are adjusted in real time through visual feedback to optimize the machining process.
[0128] β 12 The coefficient representing the interaction term between parameters means the influence of two or more machining parameters acting together on machining performance, such as the interaction between cutting speed and feed rate has a significant effect on tool wear;
[0129] ε represents the uncontrollable error term, including measurement error, system noise, or other factors not considered by the model;
[0130] In the CNC lathe processing assistance system, data collected by machine vision technology, such as images and video streams during the processing, can be used to monitor the processing status in real time, and then the influence of processing parameters on the processing results can be analyzed through the above model. The visual system can detect the degree of tool wear, combine historical data and current processing parameters, and predict future tool life or optimize parameters to reduce wear through the above model.
[0131] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A CNC lathe machining auxiliary system based on machine vision, including a deep learning introduction unit, characterized in that: Lathe machining auxiliary system includes: Machine vision inspection module: uses high-resolution cameras and other sensors to capture three-dimensional images of workpieces, and extracts geometric features, size, and position information of workpieces through image processing technology; 3D model reconstruction module: converts the acquired image data into an accurate 3D model and analyzes the geometric characteristics of the workpiece; Intelligent path planning module: uses deep learning and optimization algorithms to analyze 3D models and automatically generate the optimal tool path; Cutting parameter optimization module: automatically adjust cutting speed and feed rate parameters according to workpiece material, tool characteristics and processing requirements; Post-processing and G-code generation module: converts the optimized tool path and cutting parameters into G-code instructions executable by CNC machine tools; The intelligent path planning module includes a simulated annealing algorithm submodule and an annealing algorithm submodule.
2. The CNC lathe processing auxiliary system based on machine vision according to claim 1 is characterized in that: The machine vision inspection module uses a camera to capture images of the object to be inspected; Preprocess the detection data and perform feature extraction; Based on the deep learning introduction unit, a deep learning algorithm model is introduced to identify key features; Use deep learning algorithms to classify or locate features based on the total loss function: L total =L class +L box Optimize the deep learning model training process, where L class Responsible classification loss to ensure that the model can correctly distinguish between artifacts and background; L box Responsible for the bounding box regression loss to ensure that the model can accurately frame the workpiece position; Determine whether the recognition result is qualified, output the data, and activate the 3D model reconstruction module.
3. The CNC lathe processing auxiliary system based on machine vision according to claim 1 is characterized in that: The 3D model reconstruction module collects point cloud data on the surface of objects through laser scanning, structured light, and photogrammetry technology; Perform point cloud processing, denoising, filtering, and registration on point cloud data, and generate a 3D mesh model from the point cloud; In the 3D reconstruction and alignment process, based on Used for point cloud registration, it realizes the alignment of workpiece point cloud data and model reconstruction by minimizing the sum of square distances between point sets brought by the rotation matrix R and the translation vector T; Among them, the point set p i After transformation, it is as close as possible to another point set q i , N is the number of points; Detect flaws in the model by comparing it to an ideal design or using morphological operations.
4. The CNC lathe processing auxiliary system based on machine vision according to claim 1 is characterized in that: In the 3D model reconstruction module, the original point cloud is divided into two groups, one of which is used as the reference point cloud p i , and the other set as the target point cloud q i ,based on Point cloud registration results, calculate each point p i After rotation and translation, it is aligned with the target point cloud q i The sum of the squares of the Euclidean distances between corresponding points in the . The smaller the sum, the better the rotation and translation effect. After the registration is completed, the best rotation matrix R and translation vector T are used to transform the reference point cloud so that it is aligned with the target point cloud to achieve accurate reconstruction of the 3D model.
5. The CNC lathe processing auxiliary system based on machine vision according to claim 1 is characterized in that: The intelligent path planning module downsamples and filters the registered point cloud data to remove noise, reduce the amount of calculation, and maintain key geometric features; Based on geometric features, the point cloud data is converted into a format acceptable to the deep learning model, and the point cloud is converted into one or more tensors, where each point is represented as a vector containing three-dimensional coordinates (x, y, z) and other features; Arrange each point feature of the point cloud according to the input format required by the model, in the order of the points or by distance, and then send the features to the first layer of the model to start the feature encoding process, and then gradually extract higher-level abstract features to understand the global structure and local details of the point cloud, and activate the simulated annealing algorithm sub-module.
6. The CNC lathe processing auxiliary system based on machine vision according to claim 1 is characterized in that: The simulated annealing algorithm submodule defines the state space, where each possible machining path is considered as a state, where the path consists of a series of consecutive tool positions; A comprehensive cost function is established to quantify the quality of the machining path, including non-cutting time, tool wear cost, and material removal rate. The objective function is expressed as: C = w1×non-cutting time+w2×tool wear cost-w3×material removal amount+... w1, w2, w3 are the weights of each factor; Start with a preliminary machining path as the initial state of the simulated annealing algorithm; Set the initial temperature T0 and the cooling coefficient α to determine the ratio of temperature reduction after each iteration; At the current temperature, a neighbor state is randomly selected to represent a possible exploration direction; Calculate the objective function value C of the new state new The objective function value C of the current state current The difference ΔC=C new -C current ; ΔC<0, that is, the new state is better than the current state, then the new state is accepted unconditionally; ΔC ≥ 0, with probability Accept the new state, T is the current temperature; Based on the cooling schedule, the temperature is lowered, T←T×α, which gradually reduces the randomness of the exploration and tends to a stable solution.
7. The CNC lathe machining auxiliary system based on machine vision according to claim 1 is characterized in that: The cutting parameter optimization module records historical machining data, including cutting speed, feed rate, cutting depth, tool type, workpiece material characteristics, coolant usage and tool wear; Select variables that have a significant impact on tool wear as model input features; Construct response surface models and polynomial regression models; Y=β0+β1X1+β2X2+...+β 12 X1X2+...+e Using the constructed response surface model, we conduct optimization analysis to find the best cutting parameter combination that minimizes tool wear and maximizes machining efficiency. Construct response surface models to express the relationship between cutting parameters and tool wear, machining efficiency or quality indicators; Iteratively optimize cutting parameters to maximize tool life or minimize costs while ensuring machining quality.
8. The CNC lathe machining auxiliary system based on machine vision according to claim 1, characterized in that: Post-processing is done on the motion path planned by the G-code generation module for interpolation and fitting; Convert path data into G-code instruction sets executable by CNC machine tools or 3D printers; The duration of each movement is calculated based on the tool path and speed to ensure precise control; During the G-code generation phase, control points and parametric curves maintain the continuity of tool motion trajectory based on: Where B(t) is the cumulative probability, is the number of combinations, indicating the number of combinations that select i successes from n trials, t is the probability of success in a single trial, P i refers to other probability factors associated with the i-th success; Perform a final check before generating G-code to avoid collisions between the tool and the workpiece or other components; The generated G code is tested by simulation operation to ensure that it is correct before being sent to the device for execution.
Citation Information
Patent Citations
A CNC lathe for 3D image positioning and a method for 3D image construction and output.
CN110825026B
Cited By
Intelligent monitoring method for cutter cutting force data of numerical control boring and milling
CN119282820A
Automatic positioning method for hub wire drawing machine machining
CN119387623A
Wheel hub wire drawing machine processing automatic positioning method
CN119387623B
Multi-head milling machine feeding control system based on workpiece characteristics
CN119609755A
Numerical control machine tool machining path optimization method and system
CN119644907A
