A method and system for optimizing tool path of large vertical lathe
Through the large vertical lathe turning tool path optimization method, three-dimensional models and discrete point data are used to optimize the turning tool path, which solves the problems of processing efficiency, quality and chip waste safety, realizes intelligent path design and real-time adjustment, and improves the efficiency of the turning tool path. Processing efficiency and quality.
Patent Information
- Application Number
- CN202410377337.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-03-29
AI Technical Summary
Large vertical lathes face the problem of balancing processing efficiency and quality when processing complex workpieces. They also need to handle chip waste safely and real-time path adjustment. It is difficult for existing technology to effectively solve these problems.
The large vertical lathe turning tool path optimization method is used to construct a three-dimensional model by obtaining the geometric target characteristics of the workpiece, convert it into discrete point data, extract the turning tool path feature information, generate roughing and finishing preset paths, and perform tool compensation. Dynamically adjust tool paths to optimize paths.
It effectively solves the safety problem of chip waste falling, takes into account processing efficiency and quality, and realizes intelligent path design and real-time adjustment.
Smart Images

Figure CN118276507B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent lathes, and in particular to a method and system for optimizing tool paths of large vertical lathes. Background Art
[0002] Large vertical lathes are indispensable key equipment in modern manufacturing, especially in heavy machinery processing, shipbuilding, automobile manufacturing and other industries. Tool path optimization is one of the key technologies to improve the processing efficiency and quality of large vertical lathes.
[0003] With the development of CNC technology, when facing the processing of complex workpiece shapes, it is necessary to ensure a balance between processing efficiency and processing quality. Large vertical lathes generally face the problem of large volume and weight of chip waste from processing workpieces. During processing, it is also necessary to consider the safety issues caused by the falling of chip waste, and it is necessary to solve the problem of adaptively adjusting the turning tool route design according to the real-time processing situation to adapt to different working conditions and changes.
[0004] The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present disclosure, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art known to those skilled in the art. Summary of the invention
[0005] The present invention provides a large vertical lathe tool path optimization method and system, which can effectively solve the problems in the background technology.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] A method for optimizing a tool path of a large vertical lathe, the method comprising:
[0008] Acquire geometric target features of a workpiece to be processed, and construct a three-dimensional model corresponding to the workpiece to be processed according to the geometric target features to generate a target model of the workpiece to be processed;
[0009] Identify and analyze the workpiece target model, and convert the workpiece target model into discrete point data required for a processing path;
[0010] Converting the discrete point data into a turning tool continuous path, and performing feature extraction on the turning tool continuous path to obtain turning tool path feature information;
[0011] The workpiece target model is divided into a rough machining area and a fine machining area according to the tool path feature information, and a rough machining preset path and a fine machining preset path are generated according to the rough machining area and the fine machining area;
[0012] Tool compensation is performed on the roughing preset path and the finishing preset path respectively, and a turning tool execution path is obtained.
[0013] Further, the workpiece target model is identified and analyzed, and the workpiece target model is converted into discrete point data required for the processing path, including:
[0014] Converting the workpiece target model into polygonal mesh data, and performing filtering on the polygonal mesh data;
[0015] Performing surface fitting on the processed polygonal mesh data to generate a smooth surface model;
[0016] The surface model is divided into a plurality of regions, and discrete point data is generated in each of the regions.
[0017] Furthermore, the discrete point data is converted into a continuous path of a turning tool, and feature extraction is performed on the continuous path of the turning tool to obtain feature information of the turning tool path, including:
[0018] Performing path interpolation and connection on the discrete point data, and interpolating the discrete point data into a continuous path of a turning tool;
[0019] Select a fitting algorithm to smooth the continuous path of the turning tool, and convert the smoothed continuous path of the turning tool into a turning tool path format that can be recognized by a numerical control system;
[0020] The curve feature recognition, cutting depth feature recognition and tool contact area recognition are performed on the turning tool continuous path to obtain the turning tool path feature information.
[0021] Furthermore, the fitting algorithm includes:
[0022] Select a set of discrete point data nodes, construct basis functions, and define function sequences recursively;
[0023] Selecting control points evenly distributed among the selected discrete point data nodes according to the positions of the discrete point data nodes;
[0024] Calculate a weight matrix according to the discrete point data nodes and the basis functions, wherein the weight matrix represents the influence degree of each control point on the curve;
[0025] Minimize the distance between the discrete data node and the preset smooth curve to obtain the optimal control point position;
[0026] Generate a smooth curve based on the calculated control points and basis functions.
[0027] Furthermore, generating a preset roughing path and a preset finishing path according to the roughing area and the finishing area, including:
[0028] Establishing a rough machining tool path memory library corresponding to the rough machining area, wherein the rough machining tool path memory library collects basic tool paths and allocates the basic tool paths to generate the rough machining preset path;
[0029] A finishing learning path adaptation model is established corresponding to the finishing area. The finishing learning path adaptation model performs deep learning on a number of non-standard turning tool paths, and generates the finishing preset path according to the turning tool path feature information of the finishing area.
[0030] Furthermore, a rough machining tool path memory library is established corresponding to the rough machining area, including:
[0031] Collecting historical basic turning tool path information and preprocessing the historical basic turning tool path information;
[0032] The processed historical basic turning tool path information is classified into multiple categories according to the difference of the processed workpieces and the similarity of the paths;
[0033] The multiple classification results are set as indexes of the machining tool path memory library, and the machining tool path memory library is traversed according to the multiple indexes to match and generate the machining preset path.
[0034] Furthermore, a finishing learning path adaptation model is established corresponding to the finishing area, including:
[0035] Collecting historical non-standard turning tool path information, and preprocessing the historical non-standard turning tool path information;
[0036] Selecting a deep learning method to perform deep learning on the processed historical non-standard turning tool path information, and constructing the finishing learning adaptation model;
[0037] Among them, deep learning generates the finishing preset path by using a turning tool path that matches the turning tool path feature information of the finishing area.
[0038] Furthermore, tool compensation is performed on the preset rough machining path and the preset fine machining path respectively, and a turning tool execution path is obtained, including:
[0039] Establishing a tool compensation deviation table, wherein the tool compensation deviation table includes radius deviation and tool tip deviation;
[0040] Numbering the tool types and tools in the tool compensation deviation table, and setting tool compensation deviation values for the corresponding tool types and tools;
[0041] When the CNC system receives a tool compensation instruction, it automatically adjusts the tool trajectory according to the deviation value set in the tool compensation deviation table;
[0042] During the machining process, the tool compensation function is enabled by using the corresponding tool compensation instructions, and the tool trajectory is dynamically adjusted according to the real-time tool position and machining conditions.
[0043] A large vertical lathe tool path optimization system, the system comprising:
[0044] A geometric model generation module is used to obtain geometric target features of a workpiece to be processed, and to construct a three-dimensional model corresponding to the workpiece to be processed according to the geometric target features, so as to generate a target model of the workpiece to be processed;
[0045] A discrete point data conversion module is used to identify and analyze the workpiece target model and convert the workpiece target model into discrete point data required for a processing path;
[0046] A path feature extraction module converts the discrete point data into a continuous path of a turning tool, and performs feature extraction on the continuous path of the turning tool to obtain feature information of the turning tool path;
[0047] A preset path generation module, which divides the workpiece target model into a rough machining area and a fine machining area according to the tool path feature information, and generates a rough machining preset path and a fine machining preset path according to the rough machining area and the fine machining area;
[0048] The turning tool path adjustment module performs tool compensation on the rough machining preset path and the fine machining preset path respectively, and obtains the turning tool execution path.
[0049] Furthermore, the discrete point data conversion module includes:
[0050] A mesh data conversion unit converts the workpiece target model into polygonal mesh data and performs filtering on the polygonal mesh data;
[0051] A surface fitting unit performs surface fitting on the processed polygonal mesh data to generate a smooth surface model;
[0052] The discrete point data generating unit divides the surface model into a plurality of regions and generates discrete point data in each of the regions.
[0053] The technical solution of the present invention can achieve the following technical effects:
[0054] It effectively solves the safety problem caused by the falling of chips and waste from large vertical lathes, and takes into account both processing efficiency and processing quality. It uses an intelligent method to individually design the processing path and make real-time dynamic adjustments.
[0055] 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. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0057] Figure 1 It is a flow chart of the tool path optimization method for large vertical lathe;
[0058] Figure 2 A schematic diagram of the process of converting the target model of the workpiece into discrete point data;
[0059] Figure 3 A flowchart for obtaining the execution path of the turning tool;
[0060] Figure 4 A schematic diagram for generating a roughing preset path and a finishing preset path;
[0061] Figure 5 This is a structural schematic diagram of the tool path optimization system for a large vertical lathe. DETAILED DESCRIPTION
[0062] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0063] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0064] Embodiment 1
[0065] like Figure 1 and 5 As shown, the present application provides a method for optimizing the tool path of a large vertical lathe, the method comprising:
[0066] S10: Acquire geometric target features of the workpiece to be processed, and construct a three-dimensional model corresponding to the workpiece to be processed according to the geometric target features to generate a target model of the workpiece to be processed;
[0067] S20: identifying and analyzing the target model of the workpiece to be processed, and converting the target model of the workpiece to discrete point data required for the processing path;
[0068] S30: converting the discrete point data into a continuous path of the turning tool, and performing feature extraction on the continuous path of the turning tool to obtain feature information of the turning tool path;
[0069] S40: dividing the workpiece target model into a rough machining area and a fine machining area according to the tool path feature information, and generating a rough machining preset path and a fine machining preset path according to the rough machining area and the fine machining area;
[0070] S50: performing tool compensation on the roughing preset path and the finishing preset path respectively, and obtaining a turning tool execution path.
[0071] Specifically, first, with the help of the CNC system, the three-dimensional model is converted into discrete point data required for the machining path. This process is called tool path planning, which converts the geometric target features of the workpiece into the path points that the tool should traverse during the machining process. It should be noted here that the geometric target features are different from the continuous path of the turning tool. The geometric target features refer to the desired geometric state when the workpiece is completed, while the continuous path of the turning tool refers to the path that the turning tool traverses during the machining process. For large vertical lathes, chips or chip waste are large in both volume and weight. Regardless of the efficiency or safety of the turning, the chip waste needs to be processed. The corresponding measure is to divide the target model of the workpiece into a rough machining area and a fine machining area. Rough machining aims to use the fastest and shortest machining method to convert the geometric target features into fine machining areas. The path locks the waste area with a regular and maximized area, and then completes the cutting of the workpiece in this area through the preset path for rough machining. The weight and volume of the chip waste dropped in this area are minimized as much as possible through the design of the preset path for rough machining, which ensures the efficiency and quality of cutting while improving safety. The turning tool execution path includes the rough machining area execution path and the fine machining area execution path. After the preset path is compensated by the tool, the rough machining area execution path and the fine machining area execution path are generated respectively. During the machining process, the actual cutting position of the tool may deviate from the expected position due to installation deviation, tool wear and other reasons, so the tool compensation can adjust the tool trajectory according to the actual situation to make the cutting contour closer to the expected contour and ensure the machining accuracy.
[0072] The technical solution of the present invention effectively solves the safety problem caused by the falling of chips and waste materials on large vertical lathes, takes into account both processing efficiency and processing quality, and adopts an intelligent method to individually design the processing path and perform real-time dynamic adjustments.
[0073] Further, if Figure 2 As shown, the target model of the workpiece to be processed is identified and analyzed, and the target model of the workpiece to be processed is converted into discrete point data required for the processing path, including:
[0074] S21: converting the workpiece target model into polygonal mesh data, and performing filtering processing on the polygonal mesh data;
[0075] S22: performing surface fitting on the processed polygonal mesh data to generate a smooth surface model;
[0076] S23: Divide the surface model into a number of regions, and generate discrete point data in each region.
[0077] As a preferred embodiment of the above, the workpiece target model is converted into triangular mesh data or other polygonal mesh data structure, which can be achieved through formats such as STL files. This step is intended to convert the continuous surface or solid model into a discrete polygonal mesh for subsequent processing, and then the polygonal mesh data is filtered to remove possible noise or unnecessary details. Common filtering methods include smoothing filtering, Gaussian filtering, etc., to ensure that the generated discrete data is smoother and meets the actual processing requirements. Filtering helps to eliminate discontinuities and spikes in the model, improve the accuracy and effect of subsequent surface fitting, and generate a smooth surface model using surface fitting. Algorithms, such as the least squares method, aim to recover a continuous surface from discrete data points, so that the model is more in line with actual processing requirements and design intent, and the fitted surface model is segmented according to geometric features into several regions, which can be convex parts, concave parts or regions of different shapes according to the processing technology requirements. In order to better carry out subsequent processing path planning and processing optimization for each local area, in each segmented area, according to the required processing accuracy and density, discrete points are selected on the surface evenly or as needed. These discrete points will serve as the basis for processing path planning, and cutting paths, such as cutting lines or cutting trajectories, can be defined at these points.
[0078] Furthermore, the discrete point data is converted into a continuous path of the turning tool, and the features of the continuous path of the turning tool are extracted to obtain the feature information of the turning tool path, including:
[0079] Perform path interpolation and connection on discrete point data, and interpolate the discrete point data into a continuous path for the turning tool;
[0080] Select a fitting algorithm to smooth the continuous path of the turning tool, and convert the smoothed continuous path of the turning tool into a turning tool path format that can be recognized by the numerical control system;
[0081] The curve feature recognition, cutting depth feature recognition and tool contact area recognition are performed on the continuous path of the turning tool to obtain the turning tool path feature information.
[0082] On the basis of the above embodiments, interpolation algorithms, such as linear interpolation, spline interpolation, etc., are used to interpolate discrete point data to generate a smooth continuous path. In this process, the interpolated continuous path is connected to ensure the continuity and integrity of the entire processing path. In addition, considering the smoothness of the processing path and the minimum cutting transition, the continuous path is smoothed using a smoothing algorithm to eliminate peaks and fluctuations in the path, improve the processing quality and stability, and convert the smoothed continuous path into a format that can be recognized by the numerical control system, such as the commonly used G-code format. According to the requirements of the numerical control system and the control system of the processing machine tool, the corresponding G-code instructions are generated, including parameters such as cutting speed, feed speed, and cutting depth, and the curve features of the smoothed turning tool continuous path are recognized, such as corners, curvature changes, etc. This helps the system understand the complexity and changes of the processing path and provides a basis for optimizing the processing strategy. Among them, the curve features may include the curvature, tangent, normal, inflection point, and convex and concave points of a certain point on the curve. When selecting a certain point on the curve, the data information of discrete data points can be given priority. The cutting depth analyzes the load brought by cutting according to the continuous path of the turning tool, and the surface area of contact between the tool and the workpiece during the processing is evaluated through the shape of the tool and the continuous path of the turning tool.
[0083] More specifically, the fitting algorithm includes:
[0084] Select a set of discrete point data nodes, construct basis functions, and define function sequences recursively;
[0085] Selecting control points evenly among the selected discrete point data nodes according to the position distribution of the discrete point data nodes;
[0086] The weight matrix is calculated based on the discrete point data nodes and basis functions. The weight matrix represents the influence of each control point on the curve.
[0087] Minimize the distance from discrete data nodes to the preset smooth curve to obtain the optimal control point position;
[0088] Generate a smooth curve based on the calculated control points and basis functions.
[0089] As a preferred embodiment of the above embodiment, according to actual needs, a group of discrete data points are selected. These data points can be data obtained from experimental measurements or data from other sources. The selection of data points should cover the range to be fitted and reflect the characteristics of the curve as much as possible. According to the type and requirements of the fitted curve, a suitable basis function is selected. The basis function can include polynomial basis function, Gaussian basis function, B-spline basis function, etc. In the selected discrete point data, control points are evenly selected according to the position distribution. The selection of control points should cover the entire curve as much as possible to ensure the fitting effect and stability of the curve, and according to the discrete point data and the selected basis function; a weight matrix is calculated to represent the influence of each control point on the curve. The calculation of the weight matrix generally involves linear algebra and numerical calculation. For example, it can be solved by methods such as least squares method. By minimizing the distance from the discrete data point to the preset smooth curve, the optimal control point position is solved. According to the calculated control points and basis functions, a smooth curve is generated. Through the combination of control points and basis functions, a smooth curve that meets the fitting requirements can be obtained, and the selection of basis functions and the position of control points can be adjusted according to specific circumstances to adapt to different types of curve fitting requirements.
[0090] Further, if Figure 4 As shown, the roughing preset path and the finishing preset path are generated according to the roughing area and the finishing area, including:
[0091] A rough machining tool path memory library is established corresponding to the rough machining area. The rough machining tool path memory library collects basic tool paths and allocates the basic tool paths to generate a rough machining preset path;
[0092] A finishing learning path adaptation model is established corresponding to the finishing area. The finishing learning path adaptation model performs deep learning on several non-standard turning tool paths, and generates a finishing preset path according to the turning tool path feature information of the finishing area.
[0093] In this embodiment, for typical workpieces in the rough machining area, basic turning tool paths are collected and stored. These paths can be standard paths obtained through experience accumulation, defined in process specifications, or designed according to machining features. The basic turning tool paths should cover typical workpieces of different shapes, sizes, and materials to ensure that various conventional machining situations are covered. A path suitable for the current rough machining area is selected from the basic turning tool path library, wherein rules or intelligent algorithms can be used to automatically adjust the basic turning tool paths to adapt to the characteristics and machining requirements of the current workpiece, and the adjusted basic turning tool paths are combined into a rough machining preset path; for special workpiece shapes or machining requirements in the fine machining area, non-standard turning tool path data are collected, and deep learning methods, such as neural networks, are used to perform deep learning and training on these non-standard turning tool paths to establish a fine machining learning path adaptation model, and based on the turning tool path feature information of the fine machining area, the established fine machining learning path adaptation model is used to generate a fine machining preset path, and the fine machining preset path should consider the local features of the workpiece more finely on the basis of rough machining to improve machining accuracy and surface quality.
[0094] Furthermore, a rough machining tool path memory library is established corresponding to the rough machining area, including:
[0095] Collect historical basic turning tool path information and pre-process the historical basic turning tool path information;
[0096] The processed historical basic turning tool path information is classified into multiple categories according to the differences in the processed workpieces and the similarity of the paths;
[0097] The multiple classification results are set as indexes of a machining tool path memory library, and the machining tool path memory library is traversed according to the multiple indexes to match and generate a machining preset path.
[0098] As a preferred embodiment of the above, historical basic turning tool path information is obtained from historical processing records, process procedures or experimental data. The turning tool path information may include tool trajectory, cutting parameters, workpiece material, etc., and the collected data is preprocessed, including data format conversion, standardization, etc., for subsequent classification and matching. The historical basic turning tool path information is classified according to the difference of the processed workpieces, and the path similarity calculation is performed on the historical basic turning tool path information of the same type of workpieces. A similarity algorithm can be used to calculate the similarity between turning tool paths, and then multiple classification results are used as indexes of a processing turning tool path memory library. The index includes a workpiece difference category and a path similarity category. According to the characteristics of the current processing workpiece, the workpiece difference category is first matched. Under the workpiece difference category, matching is performed according to the path similarity category, and the processing turning tool path memory library is traversed to find the historical basic turning tool path information that matches the current workpiece characteristics. According to the matched historical basic turning tool path information, a processing preset path is generated. The processing preset path should take into account factors such as the geometric shape, material, and processing volume of the workpiece to generate a suitable processing path. The entire process can be automated, reducing manual intervention and improving production efficiency and consistency.
[0099] Furthermore, a finishing learning path adaptation model is established corresponding to the finishing area, including:
[0100] Collect historical non-standard turning tool path information and pre-process the historical non-standard turning tool path information;
[0101] Select the deep learning method to conduct deep learning on the processed historical non-standard turning tool path information and build a finishing learning adaptation model;
[0102] Among them, deep learning is used to match the tool path feature information of the finishing area to generate a finishing preset path.
[0103] As a preferred embodiment of the above, historical non-standard turning tool path information is obtained from historical processing records, process procedures or experimental data. Non-standard turning tool path information refers to turning tool paths suitable for special shapes, sizes or materials. A deep learning model suitable for processing turning tool paths is selected, such as convolutional neural networks, recurrent neural networks, etc. The deep learning model can learn the characteristics of non-standard turning tool paths, and can match the geometric target features in the finishing area according to these characteristics to generate a preset finishing path. After the model is established, the processed historical non-standard turning tool path information is used as training data and input into the deep learning model for training. During the training process, the model will learn the characteristic table of non-standard turning tool paths. The deep learning model can be used to learn the complex mapping relationship between non-standard turning tool paths and path features, thereby improving the accuracy and generalization of path matching. The deep learning model can intelligently learn path feature information to match the path requirements of the finishing area, thereby improving the intelligence level of path generation. It should be noted that the degree of finishing can be based on actual needs. If the matching degree within the model is low, the area with high regional overlap can be used to generate the matching preset path, while the remaining areas require additional design of paths that are consistent with the target features of the current workpiece being processed.
[0104] Further, if Figure 3 As shown, tool compensation is performed on the roughing preset path and the finishing preset path respectively, and the turning tool execution path is obtained, including:
[0105] S51: Establishing a tool compensation deviation table, which includes radius deviation and tool tip deviation;
[0106] S52: numbering the tool types and tools in the tool compensation deviation table, and setting tool compensation deviation values for the corresponding tool types and tools;
[0107] S53: When the CNC system receives the tool compensation command, it automatically adjusts the tool trajectory according to the deviation value set in the tool compensation deviation table;
[0108] S54: Enable tool compensation function by using corresponding tool compensation instructions during the machining process, and dynamically adjust the tool trajectory according to the real-time tool position and machining conditions.
[0109] In this embodiment, a tool compensation deviation table including radius deviation and tool tip deviation is created in the numerical control system. Each row in the table corresponds to a tool type or a specific tool, and different tool types or specific tools are numbered. In the deviation table, corresponding radius deviation and tool tip deviation values are set for each tool number. When the numerical control system receives a tool compensation instruction, the system searches the deviation table for the corresponding radius deviation and tool tip deviation values according to the tool number currently used for processing. During the processing, the numerical control system enables the tool compensation function by using the corresponding tool compensation instruction, and according to the real-time tool position and processing conditions, the system dynamically adjusts the tool trajectory to meet the set deviation value.
[0110] Embodiment 2
[0111] Based on the same inventive concept as the method for optimizing the tool path of a large vertical lathe in the aforementioned embodiment, Figure 5 As shown, the present invention also provides a large vertical lathe tool path optimization system, the system comprising:
[0112] A geometric model generation module obtains the geometric target features of the workpiece to be processed, and constructs a three-dimensional model corresponding to the workpiece to be processed according to the geometric target features to generate a target model of the workpiece to be processed;
[0113] The discrete point data conversion module identifies and analyzes the target model of the workpiece to be processed, and converts the target model of the workpiece to the discrete point data required for the processing path;
[0114] The path feature extraction module converts the discrete point data into a continuous path of the turning tool, and extracts the features of the continuous path of the turning tool to obtain the feature information of the turning tool path;
[0115] A preset path generation module divides the workpiece target model into a rough machining area and a fine machining area according to the tool path feature information, and generates a rough machining preset path and a fine machining preset path according to the rough machining area and the fine machining area;
[0116] The turning tool path adjustment module performs tool compensation on the rough machining preset path and the fine machining preset path respectively, and obtains the turning tool execution path.
[0117] The above-mentioned adjustment system in the present invention can effectively implement the tool path optimization method of a large vertical lathe, and the technical effects that can be achieved are as described in the above-mentioned embodiments, which will not be repeated here.
[0118] Specifically, the discrete point data conversion module includes:
[0119] A mesh data conversion unit converts the target model of the workpiece to polygonal mesh data and performs filtering on the polygonal mesh data;
[0120] The surface fitting unit performs surface fitting on the processed polygonal mesh data to generate a smooth surface model;
[0121] The discrete point data generating unit divides the surface model into a number of regions and generates discrete point data in each region.
[0122] Similarly, the above-mentioned optimization schemes for the system can also respectively achieve the optimization effects corresponding to the method in Example 1, which will not be repeated here.
[0123] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present application as defined therein, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application is intended to include these modifications and variations.
Claims
1. A method for optimizing the tool path of a large vertical lathe, characterized in that: The method comprises: Acquire geometric target features of a workpiece to be processed, and construct a three-dimensional model corresponding to the workpiece to be processed according to the geometric target features to generate a target model of the workpiece to be processed; Identify and analyze the workpiece target model, and convert the workpiece target model into discrete point data required for a processing path; Converting the discrete point data into a turning tool continuous path, and performing feature extraction on the turning tool continuous path to obtain turning tool path feature information; The workpiece target model is divided into a rough machining area and a fine machining area according to the tool path feature information, and a rough machining preset path and a fine machining preset path are generated according to the rough machining area and the fine machining area; Performing tool compensation on the roughing preset path and the finishing preset path respectively, and obtaining a turning tool execution path; Generating a roughing preset path and a finishing preset path according to the roughing area and the finishing area, including: Establishing a rough machining tool path memory library corresponding to the rough machining area, wherein the rough machining tool path memory library collects basic tool paths and allocates the basic tool paths to generate the rough machining preset path; A finishing learning path adaptation model is established corresponding to the finishing area. The finishing learning path adaptation model performs deep learning on a number of non-standard turning tool paths, and generates the finishing preset path according to the turning tool path feature information of the finishing area.
2. The large vertical lathe tool path optimization method according to claim 1, characterized in that: Identifying and analyzing the workpiece target model, and converting the workpiece target model into discrete point data required for a processing path, including: Converting the workpiece target model into polygonal mesh data, and performing filtering on the polygonal mesh data; Performing surface fitting on the processed polygonal mesh data to generate a smooth surface model; The surface model is divided into a plurality of regions, and discrete point data is generated in each of the regions.
3. The large vertical lathe tool path optimization method according to claim 1 or 2, characterized in that: The discrete point data is converted into a continuous path of a turning tool, and features are extracted from the continuous path of the turning tool to obtain feature information of the turning tool path, including: Performing path interpolation and connection on the discrete point data, and interpolating the discrete point data into a continuous path of a turning tool; Select a fitting algorithm to smooth the continuous path of the turning tool, and convert the smoothed continuous path of the turning tool into a turning tool path format that can be recognized by a numerical control system; The curve feature recognition, cutting depth feature recognition and tool contact area recognition are performed on the turning tool continuous path to obtain the turning tool path feature information.
4. The large vertical lathe tool path optimization method according to claim 3, characterized in that: The fitting algorithm includes: Select a set of discrete point data nodes, construct basis functions, and define function sequences recursively; Selecting control points evenly distributed among the selected discrete point data nodes according to the positions of the discrete point data nodes; Calculate a weight matrix according to the discrete point data nodes and the basis functions, wherein the weight matrix represents the influence degree of each control point on the curve; Minimize the distance between the discrete point data node and the preset smooth curve to obtain the optimal control point position; Generate a smooth curve based on the calculated control points and basis functions.
5. The large vertical lathe tool path optimization method according to claim 1, characterized in that: A rough machining tool path memory library is established corresponding to the rough machining area, including: Collecting historical basic turning tool path information and preprocessing the historical basic turning tool path information; The processed historical basic turning tool path information is classified into multiple categories according to the difference of the processed workpieces and the similarity of the paths; The multiple classification results are set as indexes of the machining tool path memory library, and the machining tool path memory library is traversed according to the multiple indexes to match and generate the machining preset path.
6. The large vertical lathe tool path optimization method according to claim 1, characterized in that: A finishing learning path adaptation model is established corresponding to the finishing area, including: Collecting historical non-standard turning tool path information, and preprocessing the historical non-standard turning tool path information; Selecting a deep learning method to perform deep learning on the processed historical non-standard turning tool path information, and constructing the finishing learning adaptation model; Among them, deep learning generates the finishing preset path by using a turning tool path that matches the turning tool path feature information of the finishing area.
7. The large vertical lathe tool path optimization method according to claim 1, characterized in that: Performing tool compensation on the roughing preset path and the finishing preset path respectively, and obtaining a turning tool execution path, including: Establishing a tool compensation deviation table, wherein the tool compensation deviation table includes radius deviation and tool tip deviation; Numbering the tool types and tools in the tool compensation deviation table, and setting tool compensation deviation values for the corresponding tool types and tools; When the CNC system receives a tool compensation instruction, it automatically adjusts the tool trajectory according to the deviation value set in the tool compensation deviation table; During the machining process, the tool compensation function is enabled by using the corresponding tool compensation instructions, and the tool trajectory is dynamically adjusted according to the real-time tool position and machining conditions.
8. Large vertical lathe tool path optimization system, characterized by: Using the optimization method as claimed in claim 1, the system comprises: A geometric model generation module is used to obtain geometric target features of a workpiece to be processed, and to construct a three-dimensional model corresponding to the workpiece to be processed according to the geometric target features, so as to generate a target model of the workpiece to be processed; A discrete point data conversion module is used to identify and analyze the workpiece target model and convert the workpiece target model into discrete point data required for a processing path; A path feature extraction module converts the discrete point data into a continuous path of a turning tool, and performs feature extraction on the continuous path of the turning tool to obtain feature information of the turning tool path; A preset path generation module, which divides the workpiece target model into a rough machining area and a fine machining area according to the tool path feature information, and generates a rough machining preset path and a fine machining preset path according to the rough machining area and the fine machining area; The turning tool path adjustment module performs tool compensation on the rough machining preset path and the fine machining preset path respectively, and obtains the turning tool execution path.
9. The large vertical lathe tool path optimization system according to claim 8, characterized in that: The discrete point data conversion module includes: A mesh data conversion unit converts the workpiece target model into polygonal mesh data and performs filtering on the polygonal mesh data; A surface fitting unit performs surface fitting on the processed polygonal mesh data to generate a smooth surface model; The discrete point data generating unit divides the surface model into a plurality of regions and generates discrete point data in each of the regions.
