Machining simulation verification method and device, computer equipment and storage medium

Through the machining simulation verification method, the first and second simulation programs are used for feedback adjustments, and the target machining program codes that meet preset conditions are generated, which solves the problems of low machining efficiency and quality in the manufacturing industry and significantly improves the product pass rate.

CN119717690APending Publication Date: 2025-03-28CRRC TANGSHAN CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411700111.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The utilization rate of machining equipment in the manufacturing industry is low, resulting in low processing efficiency. The direct product programming is prone to quality problems such as overcut and collision, and the lack of unified process knowledge and experience accumulation, which affects process design and equipment management.

Method used

A machining simulation verification method is provided, by calling the first simulation program to generate initial machining program code, and perform machining simulation simulation in the second simulation program, feedback adjustment until the preset conditions are met, and the target machining program code is determined.

Benefits of technology

It improves the pass rate of machined products, obtains the most reliable and accurate processing program code through simulation verification, and reduces errors and waste in actual processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119717690A_ABST
    Figure CN119717690A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent machining, in particular to a machining simulation verification method and device, computer equipment and a storage medium. The machining simulation verification method comprises the steps of generating an initial machining program code of a to-be-machined object based on machining equipment and a machining path; calling a second simulation program, determining a target machine tool model matched with the machining equipment in the second simulation program, and performing machining simulation on the to-be-machined object based on the initial machining program code and the target machine tool model to obtain a machining simulation result; adjusting the machining equipment and the machining path based on the machining simulation result; and performing machining simulation on the to-be-machined object based on the new machining program code and the target machine tool model until an obtained new machining simulation result meets a preset condition, and determining the current machining program code as a target machining program code of the to-be-machined object. A method for manufacturing industry machined product yield is provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent machining technology, and in particular, to a machining simulation verification method, device, computer equipment and storage medium. Background Art

[0002] In the manufacturing industry, the commonly used processing method is to program the processing on the processing equipment according to the actual product, which takes up the equipment operating time, has low equipment utilization, and leads to low processing efficiency; programming is directly targeted at the product, and the first piece is prone to quality problems such as overcutting and collision; at the same time, no unified and engineering process knowledge has been formed, and the long-term accumulated processing experience has not been retained and applied. Inexperienced process personnel are unfamiliar with the product itself and product technology, which affects the determination of the process design plan and the slow growth of personnel's business capabilities; in addition, the processing procedures are not managed in a unified manner, resulting in multiple versions on site, and no timely control may lead to unqualified product production.

[0003] Therefore, the current product processing in the manufacturing industry urgently needs a method that can improve the qualification rate of machined products. Summary of the invention

[0004] The embodiments of the present application provide a machining simulation verification method, apparatus, computer equipment and storage medium.

[0005] A first aspect of an embodiment of the present application provides a machining simulation verification method, comprising:

[0006] Calling a first simulation program, and determining a processing device and a processing path of the object to be processed based on object parameters of the object to be processed and preset machining parameters in the first simulation program; wherein the first simulation program refers to a program for generating a machining program code;

[0007] Calling a first simulation program to generate an initial processing program code for the object to be processed based on the processing equipment and the processing path;

[0008] Calling a second simulation program, determining a target machine tool model matching the machining equipment in the second simulation program, and performing machining simulation on the object to be machined based on the initial machining program code and the target machine tool model to obtain a machining simulation result; wherein the second simulation program refers to a program for machining simulation;

[0009] In the first simulation program, adjusting the machining equipment and machining path based on the machining simulation result, and generating new machining program code;

[0010] In the second simulation program, machining simulation is performed on the object to be processed based on the new machining program code and the target machine tool model until the new machining simulation result obtained meets the preset conditions, and the current machining program code is determined as the target machining program code of the object to be processed.

[0011] In an optional embodiment of the present application, the preset machining parameters include: at least one of: tool type, tool parameters, machine tool parameters, machining nodes, and node order; and / or,

[0012] The first simulation program includes a post-processing module, and the initial processing program code of the object to be processed is generated based on the processing equipment and the processing path, including:

[0013] Based on the post-processing module, an initial processing program code of the object to be processed is generated according to the processing equipment and the processing path.

[0014] In an optional embodiment of the present application, determining the target machine tool model matching the processing equipment in the second simulation program includes:

[0015] In the second simulation program, a machine tool model matching the dynamic components and the rotating axes of the processing equipment is selected as the target machine tool model.

[0016] In an optional embodiment of the present application, before performing machining simulation on the object to be machined based on the initial machining program code and the target machine tool model to obtain the machining simulation result, the method further includes:

[0017] The simulated machining parameters of the target machine tool model are verified and adjusted according to the preset machining parameters until the dynamic components and the rotation axis of the target machine tool model match the preset machining parameters.

[0018] In an optional embodiment of the present application, the machining simulation verification method further includes:

[0019] When performing machining simulation on the object to be processed, highlighting the action position and action path of the processing equipment on the object to be processed;

[0020] In an optional embodiment of the present application, the machining simulation result includes: at least one of an over-material detection result, an under-material detection result, and a collision detection result.

[0021] In an optional embodiment of the present application, the first simulation program is: PTC; and / or the second simulation program is VERICUT.

[0022] In an optional embodiment of the present application, before calling the first simulation program and determining the processing equipment and processing path of the object to be processed based on the object parameters of the object to be processed and the preset machining parameters in the first simulation program, the method further includes:

[0023] Create a machining programming database; wherein the machining programming database includes: at least one of a machining center machine tool library, a machining machine tool environment library, a machine tool accessory head database, a machining machine tool tool library, a fixture model library, a post-processor file library, a machining knowledge base, and a process method database.

[0024] A second aspect of the embodiment of the present application provides a machining simulation verification device, comprising:

[0025] A determination module, used for calling a first simulation program, and determining a processing device and a processing path of the object to be processed based on object parameters and preset machining parameters of the object to be processed in the first simulation program; wherein the first simulation program refers to a program for generating a machining program code;

[0026] A generating module, used for calling a first simulation program to generate an initial processing program code for the object to be processed based on the processing equipment and the processing path;

[0027] A first simulation module is used to call a second simulation program, determine a target machine tool model matching the processing equipment in the second simulation program, and perform machining simulation on the object to be processed based on the initial processing program code and the target machine tool model to obtain a machining simulation result; wherein the second simulation program refers to a program for machining simulation;

[0028] An adjustment module, used for adjusting the machining equipment and machining path in the first simulation program based on the machining simulation result, and generating a new machining program code;

[0029] The second simulation module is used to perform machining simulation on the object to be processed based on the new machining program code and the target machine tool model in the second simulation program until the new machining simulation result obtained meets the preset conditions, and then determine the current machining program code as the target machining program code of the object to be processed.

[0030] According to a third aspect of an embodiment of the present application, a computer device is provided, comprising: a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0031] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0032] The machining simulation verification method provided in the embodiment of the present application generates an initial machining program code based on a first simulation program, then performs machining simulation in a second simulation program based on the initial machining program code, and performs feedback adjustment on the initial machining program code during the machining simulation process until the new machining simulation result obtained meets the preset conditions, and then determines the current machining program code as the target machining program code of the object to be machined. Machining simulation can be performed in actual machining to obtain the most reliable and accurate target machining program code, thereby greatly improving the product qualification rate in actual machining. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0034] Figure 1 A flowchart of a machining simulation verification method provided by one embodiment of the present application;

[0035] Figure 2 This is an exemplary schematic diagram of machining simulation of the present application;

[0036] Figure 3 A schematic diagram of a machining programming database provided for one embodiment of the present application;

[0037] Figure 4 This is a schematic diagram of an exemplary fixture modeling of the present application;

[0038] Figure 5 This is an exemplary tree structure diagram of processing feature data classification in this application;

[0039] Figure 6 A schematic diagram of the structure of a machining simulation verification device provided by one embodiment of the present application;

[0040] Figure 7 A schematic diagram of the computer device structure provided for one embodiment of the present application. DETAILED DESCRIPTION

[0041] In the process of realizing the present application, the inventor discovered that the current product processing in the manufacturing industry urgently needs a method for improving the qualification rate of machined products.

[0042] In response to the above problems, the embodiments of the present application provide a machining simulation verification method, apparatus, computer equipment and storage medium.

[0043] The solutions in the embodiments of the present application can be implemented using various computer languages, for example, the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0044] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0045] The machining simulation verification method provided in the embodiment of the present application is applied to a machining full-process management system, which is used to automatically manage and execute the entire machining process. The machining full-process management system includes at least: a machining programming and simulation module, which includes at least: a machining programming navigation system, a machining program post-processing system and a program simulation and verification post-processing system, and the machining programming and simulation module is used to build an offline programming environment; a machining programming database module, which includes at least: multiple pre-configured resource libraries, and the machining programming database module is used to accumulate process knowledge based on the offline programming environment; a machining programming data management module, which is used to coordinate and control programming files during the programming process; an equipment and data transmission module, which is used to realize the remote transmission of each program file between the production equipment and the machining programming and simulation module, the machining programming database module and the machining programming data management module.

[0046] The construction of the offline programming environment at least includes: generating a target program according to the process model pre-configured in the machining programming navigation system. Generating a target program according to the process model pre-configured in the machining programming navigation system includes: generating a machining path for navigation based on the annotation parameters in the pre-configured process model; generating a CNC program recognizable by the machine tool based on the machining path. The pre-configured process model at least includes: a three-dimensional model and a rhythmic model for characterizing the machining of the equipment. Before generating the target program according to the process model pre-configured in the machining programming navigation system, the machining programming and simulation module is also used to perform a three-dimensional feature recognition analysis on the entire machining process and each machining equipment to obtain an analysis result; based on the analysis result, the corresponding process model is called to simulate each machining equipment and the corresponding sub-process of each machining equipment. The analysis result includes: at least one of a tool path and a machine tool machining process. The process knowledge accumulation based on the offline programming environment at least includes: calling each resource library in real time according to the target program and generating knowledge push and process reasoning; wherein the knowledge push refers to the content in the resource library currently called, and the process reasoning refers to the process content of the next moment predicted based on the called resource library and the current process state. The resource library includes: at least one of a machining center machine library, a machining machine tool library, a fixture model library, a work step template file library, a process specification template library, and a post-processor file library. In the programming process, the programming files are coordinated and controlled, including: storing, approving, changing and issuing the program files in the programming files according to the pre-configured process control model. The remote transmission of each program file between the production equipment and the processing programming and simulation module, the processing programming database module and the processing programming data management module includes: pushing process data, feedback transmission of the target program, viewing of equipment operation data, and establishing a connection with the production equipment. The pushing of process data, feedback of target program, checking of equipment operation data, and establishment of connection with production equipment at least include: issuing and feedback of process data, creating and managing the standardized data creation and management of the resource library and knowledge base configured in advance, and sending the process data to the equipment and data transmission module. The equipment and data transmission module is also used to set up communication for each communication object and to establish a communication connection with the management system; wherein the communication objects include: at least one of each of the production equipment, the machining programming and simulation module, the machining programming database module, and the machining programming data management module; and / or, pushing the target program to the target production equipment for production execution; and / or, feeding back and fine-tuning the code to the code management system. The machining programming and simulation module is also used to verify the target program and conduct feedback optimization and collaborative processing.

[0047] Among them, the machining full process management system is also equipped with a machining programming navigation system, which at least includes: a model information extraction module for extracting the basic information of the parts to be processed; a part analysis module for determining the processing feature information of the parts to be processed according to the basic information of the parts; a process planning module for determining the process information of the parts to be processed according to the processing feature information; a three-dimensional process model generation module for generating a blank and a process model according to the process information; a navigation module for determining the simulation information NC program of the model to be processed according to the blank and the process model, and generating a machining programming navigation file according to the simulation NC program. The navigation module at least includes: a NC programming module for generating the simulation information and the NC program of the parts to be processed according to the blank and the process model; a process output module for generating the machining programming navigation file according to the simulation information and the NC program. The basic information of the parts at least includes: at least one of the model feature data, boundary representation data, and annotation information of the parts to be processed. The processing feature information at least includes: at least one of the processing features, dimensions, and feature attributes of the parts to be processed. The process information at least includes: at least one of feature processing step information, part processing step information, and part processing process arrangement information. The machining programming navigation system includes: a support layer for providing process knowledge services, and an operation layer for providing process design platform services and interactive services; wherein the model information extraction module, the part analysis module, the process planning module, the three-dimensional process model generation module and the navigation module are configured in the operation layer; the support layer is pre-configured with a variety of process knowledge bases. The support layer includes at least: at least one of a part processability knowledge base, a processing method library, a processing resource library, a typical part processing technology library, a process route library, and a feature processing method library.

[0048] See also Figure 1 The machining simulation verification method provided in the embodiment of the present application includes the following steps 101 to 105:

[0049] Step 101, calling a first simulation program, and determining a processing device and a processing path of the object to be processed based on object parameters of the object to be processed and preset machining parameters in the first simulation program;

[0050] Among them, the first simulation program refers to a program for generating machining program code; the first simulation program can be, for example, any type of machining programming software such as PTC (a machining software), which is not specifically limited in the embodiments of the present application and can be flexibly adjusted according to actual conditions. Object parameters may include, but are not limited to: the geometric shape, dimensional parameters, materials, etc. of the object to be processed; the preset machining parameters include, but are not limited to: at least one of the tool type, tool parameters, fixture type and parameters, machine tool category and machine tool parameters, machining nodes, and node order required for the object to be processed during processing. The object to be processed can be any kind of mechanical parts or mechanical products, which are not exhaustive here. The processing equipment includes, but is not limited to, various machine tools and fixtures, such as machining centers, turning and milling centers, cutting equipment, thread cutting machines, etc., which are not exhaustive here. The processing path refers to the node process of processing, for example, in sequence: cutting with cutting equipment, graining with thread cutting machines, milling with turning and milling centers, cleaning with cleaning equipment, etc., which are not exhaustive here.

[0051] Step 102, calling a first simulation program to generate an initial processing program code for the object to be processed based on the processing equipment and the processing path;

[0052] Based on the processing equipment and processing path used in the processing of the object to be processed, a corresponding initial processing program code can be generated in the first simulation program. The initial processing program code refers to an NC (Numerical Control) program.

[0053] Step 103, calling a second simulation program, determining a target machine tool model matching the processing equipment in the second simulation program, and performing machining simulation on the object to be processed based on the initial processing program code and the target machine tool model to obtain a machining simulation result;

[0054] Among them, the second simulation program refers to a program used for machining simulation; for example, it can be VERICUT (a CNC machining simulation system). The second simulation program can be configured with multiple modules, such as: NC program verification module, machine tool motion simulation module, optimization path module, multi-axis module, advanced machine tool feature module, entity comparison module and CAD / interface, etc. The second simulation program can simulate the CNC machining process of various machining equipment such as CNC lathes, milling machines, machining centers, wire cutting machines and multi-axis machine tools, optimize NC programs, shorten machining time, extend tool life, improve surface quality, check overcutting and undercutting, prevent machine tool collision, overtravel and other errors, and at the same time, the second simulation program has a real three-dimensional entity display effect, can measure the size of the cutting model, and can save the cutting model for inspection and subsequent cutting processing; the second simulation program has a CAD / interface, which can realize nested operation with software such as UG.CATIA and Master.

[0055] Step 104: In the first simulation program, adjusting the processing equipment and processing path based on the machining simulation result, and generating a new processing program code;

[0056] For example, if over-material or under-material occurs, the parameters of the processing equipment and the processing path can be adjusted by adjusting the processing parameters of the tool, increasing or decreasing the feed, etc. This is only an example and does not constitute a specific limitation on the adjustment method and content of the processing equipment and processing path, and can be flexibly adjusted according to actual conditions.

[0057] Step 105: In the second simulation program, the machining simulation of the object to be processed is performed based on the new machining program code and the target machine tool model until the new machining simulation result obtained meets the preset conditions, and the current machining program code is determined as the target machining program code of the object to be processed.

[0058] The preset conditions can be flexibly configured according to actual conditions, for example, the tolerance of the geometric dimension is less than the preset tolerance, the machining time is less than the preset time, etc. The current machining program code is the latest new machining program code. The obtained target machining program code can be directly used for actual machining.

[0059] The embodiment of the present application generates an initial machining program code based on a first simulation program, then performs machining simulation in a second simulation program based on the initial machining program code, and performs feedback adjustment on the initial machining program code during the machining simulation process until the new machining simulation result obtained meets the preset conditions, and then determines the current machining program code as the target machining program code of the object to be machined. Machining simulation can be performed in actual machining to obtain the most reliable and accurate target machining program code, thereby greatly improving the product qualification rate in actual machining.

[0060] In an optional embodiment of the present application, the preset machining parameters include: at least one of: tool type, tool parameters, machine tool parameters, machining nodes, and node order;

[0061] As described in the above embodiments, by setting the tool type, tool parameters, machine tool parameters, processing nodes, node order, etc., the machining process can be simulated more comprehensively and accurately, so that the obtained target machining program code is more reliable and accurate.

[0062] The first simulation program includes a post-processing module. Step 102, generating the initial processing program code of the object to be processed based on the processing equipment and the processing path, includes:

[0063] Based on the post-processing module, an initial processing program code of the object to be processed is generated according to the processing equipment and the processing path.

[0064] For example, the post-processing function module of the first simulation program PTC is used to convert the tool path into the NC code of the specific machine tool (ie, the initial machining program code), and then the NC code exported from PTC is imported into the second simulation program VERICUT.

[0065] In an optional embodiment of the present application, step 103, determining a target machine tool model matching the processing equipment in the second simulation program, includes:

[0066] In the second simulation program, a machine tool model matching the dynamic components and the rotating axes of the processing equipment is selected as the target machine tool model.

[0067] In an optional embodiment of the present application, before step 103, performing machining simulation on the object to be machined based on the initial machining program code and the target machine tool model to obtain a machining simulation result, the method further includes:

[0068] The simulated machining parameters of the target machine tool model are verified and adjusted according to the preset machining parameters until the dynamic components and the rotation axis of the target machine tool model match the preset machining parameters.

[0069] For example, open the second simulation program VERICUT software and create a new simulation session. In VERICUT, select the same machine tool model as in the first simulation program PTC, and make sure that all dynamic components, rotary axes, etc. match the actual machine tool.

[0070] In an optional embodiment of the present application, the machining simulation verification method further includes the following steps:

[0071] When performing machining simulation on the object to be processed, highlighting the action position and action path of the processing equipment on the object to be processed;

[0072] Define or import the same tools and fixtures used in the first simulation program PTC in the second simulation program VERICUT, and ensure that the geometry, size and parameters of each processing equipment and the preset machining parameters are consistent with those defined in the first simulation program PTC. In the second simulation program VERICUT, start the machining simulation. The second simulation program VERICUT will simulate the entire machining process and highlight the position and path of the tool during its movement on the object to be machined. For example, the second simulation program VERICUT will automatically detect and highlight any potential collisions between the tool and the part, fixture or machine tool. Figure 2A schematic diagram of an exemplary machining simulation.

[0073] In an optional embodiment of the present application, the machining simulation result includes: at least one of an over-material detection result, an under-material detection result, and a collision detection result.

[0074] The second simulation program VERICUT will check the machining results of the parts to ensure that no excess material is left or any parts are missed. Based on the machining simulation results, the second simulation program VERICUT can provide suggestions on how to optimize tool paths and parameters to reduce machining time or improve surface quality. If any problems are found in the second simulation program VERICUT, return to the first simulation program PTC, adjust the machining equipment and machining paths such as the tool path, and then re-export the machining program code and re-simulate in the second simulation program VERICUT. Repeat this process until a satisfactory simulation result is obtained. The second simulation program VERICUT generates a detailed simulation report, including other information such as collisions, over-material, under-material, etc., which can be used for documentation or further analysis. This process ensures that the machining program is correct and valid before it is run on a real machine tool, greatly reducing possible errors and waste, and further improving the reliability of the machining simulation verification method provided in the embodiment of the present application.

[0075] In an optional embodiment of the present application, the first simulation program is: PTC; and / or the second simulation program is VERICUT.

[0076] In an optional embodiment of the present application, in step 101, before calling the first simulation program and determining the processing equipment and processing path of the object to be processed based on the object parameters of the object to be processed and the preset machining parameters in the first simulation program, the machining simulation verification method further includes:

[0077] Create as Figure 3 The machining programming database shown ( Figure 3 Only part of the programming database is shown as an example); wherein the processing programming database includes: at least one of a processing center machine tool library, a processing machine tool environment library, a machine tool accessory head database, a processing machine tool tool library, a fixture model library, a post-processor file library, a processing knowledge base, and a process method database.

[0078] In the Winchill system (an integrated application software), a process repository is established as a resource storage carrier. After the creation of each resource library, the resources are uniformly placed in the system for standardized and unified management, supporting the matching and calling of programming business flows, realizing processing programming navigation and program simulation and verification, and can be called and simulated as needed. Based on the first simulation program PTC, three-dimensional models of tools, fixtures and machine tools are created, and after creation, they are checked into the windchill system for unified management. In the windchill system, each resource model is managed separately according to the model type.

[0079] The following is a brief introduction to each processing programming database:

[0080] 1) Machining center machine tool library

[0081] The machining center machine tool library stores the detailed information and specifications of all available machine tools, including the machine model, performance parameters, working range, capacity, etc. The machining center machine tool library ensures that the most suitable machine tool can be selected for processing during production planning and programming, thereby improving production efficiency and accuracy. In addition, the machine tool library can also help maintain and manage the use and maintenance records of machine tools.

[0082] After the parameters of each machine tool are correctly set, the data is saved as a machine tool file. In the "Offline Processing Resource Library" on the Windchill side, a machine tool library function is established, and the PTC machine tool files generated above are checked into the "Machine Tool Library" in Windchill.

[0083] When in use, download the PTC machine tool file to the local directory of the PTC end through Windchill (only need to download once, if the machine tool setting data changes, need to download again), the PTC CNC programming module can use the downloaded machine tool to compile the processing program.

[0084] The construction of a processing machine tool library requires the creation of two types of files. The first type uses the first simulation program PTC module process management to create a machine tool template file. This machine tool template file is used for the machine tool file that must be set when creating the processing tool path. The created machine tool file is saved as a template and stored in the machine tool library for management and call.

[0085] 2) Machine tool accessory head database

[0086] Since the machine tool is equipped with a variety of accessory heads, different accessory heads need to be loaded according to the machine tool processing type. The definition of the accessory head is as follows. Table 1 below describes the data structure of the machine tool accessory head.

[0087] Table 1 Data structure of machine tool accessory header table

[0088]

[0089]

[0090] Set the following initial data in database table 2.

[0091] Table 2 Initial data of machine tool accessory head table

[0092] auxHeadName auxAngleA auxAngleC isVariable X-direction fixed vertical and horizontal head 90 90 N Y positive fixed vertical and horizontal head 90 180 N X negative fixed vertical and horizontal head 90 270 N Y negative fixed vertical and horizontal head 90 0 N Vertical AC universal head 0 0 Y

[0093] Create machine tool accessory heads according to machine tool models. The currently counted accessory heads are shown in the following database. Call the corresponding accessory heads by selecting machine tools and processing requirements.

[0094] 3) Processing machine tool library

[0095] The tool library contains information about all available tools, such as tool type, size, material, cutting parameters, etc. Correct tool selection is the key to achieving efficient and high-quality processing. The tool library can help engineers and operators determine the best tool combination to meet the needs of specific processing tasks. The tool database involves the classification of tool types, tool materials, processed materials, and tool parameters, so as to establish a detailed tool database for maintenance and expansion.

[0096] Table 1 Cutting tool type table data

[0097]

[0098] Tool Type Table 4 sets the following initial data.

[0099] Table 4 Cutting tool type table initial data

[0100]

[0101]

[0102] 3.1) Cutting tool material data

[0103] Table 5 below describes the data structure of cutting tool materials (the self-incrementing ID field can be set as the table primary key).

[0104] Table 2 Cutting tool material table data structure

[0105] Field Name Field Type Field Description Remark id Auto-increment id, primary key. machtoolMaterial String Tool material Maximum length 40 characters. Not empty, not repeated

[0106] Tool Type Table 6 sets the following initial data.

[0107] Table 3 Cutting tool type table initial data

[0108] id machtoolType 1 High Speed ​​Steel 2 Cemented Carbide 3 Cubic Boron Nitride Coating 4 Aluminum oxide coating 5 Diamond coating

[0109] The user can further improve and modify the above table data according to the specific type of cutting tool material. 3.2) Data on the cut material applicable to the cutting tool

[0110] Table 7 below describes the data structure of the cut material applicable to the cutting tool

[0111] Table 4 Data structure of the table of cut materials applicable to cutting tools

[0112]

[0113] As shown in Table 8 below, the table of cut materials suitable for the cutting tool sets the following initial data.

[0114] Table 5 Initial data of the cut materials suitable for cutting tools

[0115] id partMaterial 1 Aluminum Alloy 2 Mild Steel 3 High Carbon Steel 4 A3 Steel 5 45# Steel 6 TC4 Titanium Alloy

[0116] Users can further improve and modify the above table data according to the specific type of cutting tool material.

[0117] 3.3) Milling tool data

[0118] Table 9 below is used to describe the data structure of the milling tool (the self-incrementing ID field can be set as the table primary key).

[0119] Table 6 Milling tool table data structure

[0120]

[0121] 3.4) Hole machining tool data

[0122] Table 10 below describes the data structure of the hole machining tool (the self-incrementing ID field can be set as the table primary key).

[0123] Table 7 Data structure of hole machining tool table

[0124]

[0125]

[0126] The Windchill tool library is divided into major categories of tools, including "milling tool library" and "hole machining tool database".

[0127] Determine the tool numbers and tool calling methods used by the current processing machine tools and tool magazines, and use the standard tools of the first simulation program PTC module to create a tool library. Then save the created tools as templates to the tool library. This method of creating tools is quick and convenient. The generated tool files are checked into the "Tool Library" in the "Offline Processing Resource Library" module on the Windchill side through PTC.

[0128] 4) Fixture model library

[0129] Fixtures play a vital role in the production process. They ensure the stability and accurate positioning of the workpiece during processing. The fixture model library contains 3D models and related parameters of all available fixtures. This allows the actual size and shape of the fixture to be taken into account during the design and programming phase to avoid possible collisions and conflicts. Fixtures are created using 3D modeling. Similarly, for serialized fixtures, family tables can also be used to create fixture 3D models. For example Figure 4 This is a schematic diagram of an exemplary tooling fixture modeling. For fixtures with variable strokes like vises, in order to facilitate the simulation of the formality of clamping, the fixture model is modeled in an assembly manner, and the position with stroke is set flexibly to control the clamping distance. In Windchill, establish a "CNC Machining Configuration" product library and set the "PTC Fixture Library" sub-item. Check the fixture model generated above into the "Tooling Library" in the "Offline Machining Resource Library" module on the Windchill side. When in use, introduce the fixture in the "Tooling Library" in Windchill into the workspace, and the fixture can be assembled to the machining model.

[0130] 5) Post-processor file library

[0131] The post-processing developed by PTC post-processing development software G-Post Option File Generator for each machine tool will generate three files. In the "Machine Tool Library" in the "Offline Processing Resource Library Module" on the Windchill side, post-processing files can be managed according to machine tool dimensions. The three G-Post files generated for each machine tool are checked into the "Machine Tool Library" in Windchill. When in use, the three G-Post files are downloaded to the local directory of the PTC side through Windchill (only one download is required, and if the post-processing changes, it is necessary to download it again), and the PTC CNC programming module can use the downloaded files for post-processing of the machining program. This database includes not only the back-end resource libraries such as the machining center machine library, tool library, fixture model library, and post-processor file library, but also the front-end resource libraries such as the machining method library, machining template and knowledge base. These resource libraries will provide rich data support for programming, so that it can complete programming work quickly and accurately.

[0132] 6) Processing knowledge base

[0133] The machining knowledge base is a database that contains the experience, skills, best practices and solutions in the manufacturing process. This knowledge is based on past successful experiences and lessons learned. By using the knowledge base, engineers and operators can avoid repeating previous mistakes and improve the quality and efficiency of production. In addition, by studying the content in the knowledge base, you can master manufacturing methods and skills more quickly. For example, in past production, a certain process step often has problems, and these problems and their solutions can be recorded in the knowledge base. When the same problem occurs again, the staff can quickly find and apply the previous solution to avoid causing greater losses. The machining programming database creates 6 frame machining drawings for standard EMUs with a speed of 250 kilometers per hour (engine and trailer frame machining), 160 kilometers per hour power concentrated EMUs (engine and trailer frame machining), and B-type subway frames (a certain Line 11 engine and trailer frame machining) to compile machining method modules and establish a knowledge database for method modules. The method module is classified into the first level according to hole type, groove type, and surface type. The second level classification is threaded holes and light holes. The third level is the specific parameter tolerance zone of the hole type, and the groove and surface machining are similar.

[0134] Taking the trailer frame parts as an example, the optimal machining tool path is saved in the process manager as a machining method template. The method template contains details such as model parameter feature machining process, tool sequence, cutting parameters, etc. After the machining method template is created, a component classification structure is created in the Winchill system to associate and manage all machining methods with component classifications.

[0135] 6.1) Process feature basic geometric element type data

[0136] Table 11 below is used to describe the data structure of the basic geometric element type of process features.

[0137] Table 11 Data structure of process feature basic geometric element type table

[0138] Field Name Field Type Field Description Remark geomType String Geometry element type Maximum length is 20 characters. Not empty, not repeated. Primary key

[0139] Table 12 below sets the following initial data for the basic geometric element type of process features.

[0140] Table 12 Initial data of basic geometric element types of process characteristics

[0141] Serial number geomType 1 Plane 2 Cylinder 3 RevolvedSurface 4 Axis 5 Line 6 Arc 7 Circle 8 CompositeCurve

[0142] 6.2) Manufacturing geometric element type data

[0143] Table 13 below shows the data structure of manufacturing geometric element types.

[0144] Table 13 Data structure of manufacturing geometric element type table

[0145] Field Name Field Type Field Description Remark machgeomType String Geometry element type Maximum length is 20 characters. Not empty, not repeated. Primary key

[0146] Table 14 below sets the following initial data for the manufacturing geometry element type.

[0147] Table 14 Initial data of manufacturing geometric element types

[0148] Serial number machgeomType 1 NotRequired 2 MillVolume 3 MillWindow 4 MillSurface 5 HoleSets

[0149] 6.3) Process Characteristic Data

[0150] By combing through the 6 types of frame processing drawings, the processing method module is compiled and the knowledge database of the method module is established. The method library module is classified into the first level according to hole type, groove type, and surface type. The second level classification is threaded hole and light hole. The third level is the specific parameter tolerance zone of the hole type. The groove and surface processing are similar. The classification of its processing technology feature database is not given as an example here, and it can be flexibly configured according to the actual situation.

[0151] The process characteristic data of the embodiment of the present application is managed in a hierarchical tree structure, such as Figure 5 An exemplary processing feature data classification tree structure diagram provided in the embodiment of the present application is designed to store the process feature tree data in a database table structure. The "first level classification" and "second level classification" should contain the classification name, and the name should not be repeated at the same level of the tree structure and should not be empty. "Process Features (Level 3)" should include the data structure shown in Table 14 below

[0152] Table 14 Process characteristic data structure

[0153]

[0154] Each process feature includes one or more process methods. The database table structure can be flexibly designed according to actual conditions to manage the relationship between process features and process methods.

[0155] 7) Process method database

[0156] Each process feature will include one or more process methods. Please design the database table structure to manage the relationship between process features and process methods. The following table 15 describes the data that the process method should contain.

[0157] Table 15 Process data

[0158]

[0159]

[0160] The process step should contain the data shown in Table 16. The database table structure can be flexibly designed according to the actual situation to manage the relationship between the process method and the process step list.

[0161] Table 16 Process step data

[0162]

[0163] In the "offline processing database" of Windchill, the structured data of the "process classification tree", "process feature library", "processing method library" and "process step library" are managed, and the corresponding processing template xml files generated by PTC need to be managed. In the process method library, each processing step corresponds to a processing template xml file.

[0164] The machining programming navigation system developed based on PTC is seamlessly integrated with the Windchill system. In the feature recognition-based process stage and the machining programming stage, the corresponding resources can be directly called from the process repository.

[0165] In an optional embodiment of the present application, in order to improve the efficiency and flexibility of machining simulation verification, the embodiment of the present application provides a manual programming method for forming the above-mentioned machining program code, and the manual programming method is applied to a manual programming auxiliary system, and the manual programming auxiliary system at least includes: an interactive module, a support module and a database module, and the interactive module provides a graphical user interface of an editing and manipulation component containing each database; the manual programming method includes: in response to a user's module library editing operation on the editing and manipulation component, generating a manual programming file based on the module library editing operation; sending the manual programming file to the bill of materials structure of the terminal for storage; the simulation program obtains the manual programming file from the bill of materials structure, and performs machining simulation based on the manual programming file; if the machining simulation result passes the verification, the CNC code file corresponding to the manual programming file is published to the manual programming auxiliary system.

[0166] In an optional embodiment of the present application, the simulation program obtains the manual programming file from the bill of materials structure and performs machining simulation based on the manual programming file, including: calling a first simulation program to obtain the manual programming file from the bill of materials structure and programming the manual programming file into a CNC code file; calling a second simulation program to perform machining simulation on the object to be processed based on the CNC code file to obtain the machining simulation result.

[0167] In an optional embodiment of the present application, the manual programming file and the numerical control code file are both structured and stored in the bill of materials structure.

[0168] In an optional embodiment of the present application, after calling the second simulation program to perform machining simulation on the object to be machined based on the numerical control code file and obtaining the machining simulation result, the method further includes:

[0169] Verifying and debugging the machining simulation results based on distributed numerical control equipment;

[0170] If the verification and debugging are passed, the numerical control code file corresponding to the machining simulation result is published to the manual programming auxiliary system.

[0171] In an optional embodiment of the present application, the database module includes multiple databases, and the multiple databases include: at least one of a loop instruction library, a macro program library, a program segment library and a CNC machining code library.

[0172] In an optional embodiment of the present application, the module library editing operation includes at least one of: adding, modifying, deleting, querying and instruction looping.

[0173] In an optional embodiment of the present application, if the database in the database module includes: a CNC machining code library, correspondingly, the module library editing operations include: CNC machining code entry, setting line numbers, search functions, referencing subroutines, adding macro programs, adding common program segments, adding program segments, adding loop instructions, copying programs, temporary storage operations, submitting operations and publishing operations.

[0174] It should be understood that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0175] See also Figure 6 An embodiment of the present application provides a machining simulation verification device 600, comprising:

[0176] The determination module 610 is used to call a first simulation program, and determine the processing equipment and processing path of the object to be processed based on the object parameters and preset machining parameters of the object to be processed in the first simulation program; wherein the first simulation program refers to a program for generating a machining program code;

[0177] A generating module 620, configured to call a first simulation program to generate an initial processing program code for the object to be processed based on the processing equipment and the processing path;

[0178] The first simulation module 630 is used to call a second simulation program, determine a target machine tool model matching the processing equipment in the second simulation program, and perform machining simulation on the object to be processed based on the initial processing program code and the target machine tool model to obtain a machining simulation result; wherein the second simulation program refers to a program for machining simulation;

[0179] An adjustment module 640, configured to adjust the machining equipment and machining path in the first simulation program based on the machining simulation result, and generate a new machining program code;

[0180] The second simulation module 650 is used to perform machining simulation on the object to be processed based on the new machining program code and the target machine tool model in the second simulation program until the new machining simulation result meets the preset conditions, and then determine the current machining program code as the target machining program code of the object to be processed.

[0181] For the specific definition of the machining simulation verification device 600, please refer to the definition of the machining simulation verification method above, which will not be repeated here. Each module in the machining simulation verification device 600 can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0182] In one embodiment, a computer device is provided, the internal structure diagram of which can be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a machining simulation verification method as described above is implemented. It includes: a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, any step in the machining simulation verification method as described above is implemented.

[0183] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above machining simulation verification method can be implemented.

[0184] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0185] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0186] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0187] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0188] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0189] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A machining simulation verification method, characterized in that: include: Calling a first simulation program, and determining a processing device and a processing path of the object to be processed based on object parameters of the object to be processed and preset machining parameters in the first simulation program; wherein the first simulation program refers to a program for generating a machining program code; Calling a first simulation program to generate an initial processing program code for the object to be processed based on the processing equipment and the processing path; Calling a second simulation program, determining a target machine tool model matching the machining equipment in the second simulation program, and performing machining simulation on the object to be machined based on the initial machining program code and the target machine tool model to obtain a machining simulation result; wherein the second simulation program refers to a program for machining simulation; In the first simulation program, adjusting the machining equipment and machining path based on the machining simulation result, and generating new machining program code; In the second simulation program, machining simulation is performed on the object to be processed based on the new machining program code and the target machine tool model until the new machining simulation result obtained meets the preset conditions, and the current machining program code is determined as the target machining program code of the object to be processed.

2. The machining simulation verification method according to claim 1, characterized in that: The preset machining parameters include: at least one of: tool type, tool parameters, machine tool parameters, machining nodes, and node order; and / or, The first simulation program includes a post-processing module, and the initial processing program code of the object to be processed is generated based on the processing equipment and the processing path, including: Based on the post-processing module, an initial processing program code of the object to be processed is generated according to the processing equipment and the processing path.

3. The machining simulation verification method according to claim 1, characterized in that: Determining the target machine tool model matching the processing equipment in the second simulation program includes: In the second simulation program, a machine tool model matching the dynamic components and the rotating axes of the processing equipment is selected as the target machine tool model.

4. The machining simulation verification method according to claim 1, characterized in that: Before performing machining simulation on the object to be machined based on the initial machining program code and the target machine tool model to obtain a machining simulation result, the method further includes: The simulated machining parameters of the target machine tool model are verified and adjusted according to the preset machining parameters until the dynamic components and the rotation axis of the target machine tool model match the preset machining parameters.

5. The machining simulation verification method according to claim 1, characterized in that: The method further comprises: When the machining simulation is performed on the object to be processed, the action position and action path of the processing equipment on the object to be processed are highlighted.

6. The machining simulation verification method according to claim 1, characterized in that: The machining simulation result includes: at least one of an over-material detection result, an under-material detection result, and a collision detection result.

7. The machining simulation verification method according to claim 1, characterized in that: The first simulation program is: PTC; and / or the second simulation program is VERICUT.

8. The machining simulation verification method according to claim 1, characterized in that: Before calling the first simulation program and determining the processing equipment and processing path of the object to be processed based on the object parameters and preset machining parameters of the object to be processed in the first simulation program, the method further includes: Create a machining programming database; wherein the machining programming database includes: at least one of a machining center machine tool library, a machining machine tool environment library, a machine tool accessory head database, a machining machine tool tool library, a fixture model library, a post-processor file library, a machining knowledge base, and a process method database.

9. A machining simulation verification device, characterized in that: include: A determination module, used for calling a first simulation program, and determining a processing device and a processing path of the object to be processed based on object parameters and preset machining parameters of the object to be processed in the first simulation program; wherein the first simulation program refers to a program for generating a machining program code; A generating module, used for calling a first simulation program to generate an initial processing program code for the object to be processed based on the processing equipment and the processing path; A first simulation module is used to call a second simulation program, determine a target machine tool model matching the processing equipment in the second simulation program, and perform machining simulation on the object to be processed based on the initial processing program code and the target machine tool model to obtain a machining simulation result; wherein the second simulation program refers to a program for machining simulation; An adjustment module, used for adjusting the machining equipment and machining path in the first simulation program based on the machining simulation result, and generating a new machining program code; The second simulation module is used to perform machining simulation on the object to be processed based on the new machining program code and the target machine tool model in the second simulation program until the new machining simulation result obtained meets the preset conditions, and then determine the current machining program code as the target machining program code of the object to be processed.

10. A computer device comprising: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 8 when executing the computer program.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Simulation virtual processing system based on machine vision

    CN120447471A

  • A machine vision-based simulation virtual processing system

    CN120447471B

  • Simulation control method and equipment for die-free turning and storage medium

    CN120491558A