Standard CNC program management automation system

By designing a standard CNC program management automation system, using feature coding modules, virtual CAM tool magazines, main calling modules and parsing execution modules, the problems of inconsistent coding rules and chaotic management in the existing CNC program management methods are solved, efficient program management and reuse are achieved, and cost and material waste are reduced.

CN119689985APending Publication Date: 2025-03-25CHONGQING YUJIANG HIGH NEW MOLD CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing CNC program management methods lack unified coding rules, resulting in low program writing efficiency, chaotic management, poor reusability, and lack of standardization and modularity.

Method used

Design a standard CNC program management automation system, including feature encoding module, virtual CAM tool magazine, main calling module and parsing execution module. The unique feature encoding module generates the feature encoding and tool or tool paths automatically. The main calling module generates the main calling program containing standard program encoding, parsing the module to perform module analysis and download the corresponding CNC program.

Benefits of technology

It improves the programming efficiency and management standardization of CNC programs, reduces labor and time costs, reduces repeated programming workload, improves processing efficiency and quality, and reduces material waste and defective rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119689985A_ABST
    Figure CN119689985A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of mold part machining, in particular to a standard CNC program management automation system. Comprising a feature coding module used for generating a unique feature code, and the feature coding module stores the generated feature code and a corresponding CNC program in a database together; the database is used for storing the feature codes and CNC programs, and the CNC programs correspond to unique standard program codes; the virtual CAM tool magazine associates the feature codes with the corresponding tools or tool paths according to the coded data and performs programming; the main scheduling module is used for generating a main scheduling program according to the machining parameters and the tool path information set in the CAM software; and the analysis execution module is used for uploading the main calling program according to the processing task, analyzing a calling instruction in the main calling program and identifying a standard program code to be used. According to the technical scheme, the programming efficiency of die part machining can be improved, and the labor and time cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of mold parts processing, and in particular to a standard CNC program management automation system. Background Art

[0002] In the existing CNC (computer numerical control) processing field, program management and calling usually rely on manual operation and traditional program management methods. This traditional method has many shortcomings, such as low program writing efficiency, chaotic program management, and poor program reusability.

[0003] First, traditional CNC program management often lacks unified coding rules, which leads to confusion and errors in the process of program writing, storage and calling. Each programmer may write programs according to his own habits and preferences, which greatly reduces the readability and maintainability of the program.

[0004] Secondly, the existing CNC program management usually does not achieve program standardization and modularization. Programs are often written for specific processing tasks and lack versatility and reusability. When faced with similar processing tasks, programmers need to rewrite the program, which not only increases the workload, but may also cause similar errors in the program. Summary of the invention

[0005] The purpose of the present invention is to propose a standard CNC program management automation system, which can improve the programming efficiency of mold parts processing and reduce manpower and time costs.

[0006] To achieve the above objectives, the present disclosure provides a standard CNC program management automation system, including: A feature coding module, used to formulate feature coding rules according to the processing method and the processing features corresponding to the processing method, and generate a unique feature code, and the feature coding module stores the generated feature code in a database; The virtual CAM tool library uses CAM software to associate feature codes with corresponding tools or tool paths, and program them to obtain standard CNC programs. Each standard CNC program corresponds to a standard program code. A main calling module, used for selecting a corresponding feature code according to a processing task, and generating a main calling program including a calling standard program code, wherein each calling instruction in the main calling program corresponds to a specific standard program code; The parsing and execution module is used to upload the main calling program according to the processing task, parse the calling instructions in the main calling program, identify the standard program code to be used, and retrieve and download the corresponding CNC program in the database according to the standard program code.

[0007] Beneficial effects of the basic solution: Through the feature coding module, a unique feature code can be automatically generated for subsequent identification. The database stores CNC programs and unique standard program codes, making CNC program management more standardized and modular. Each CNC program corresponds to a specific processing action, which is convenient for reuse and management. Modular design helps reduce program redundancy and improve code maintainability and readability.

[0008] The virtual CAM tool library automatically associates feature codes with tools or tool paths, further simplifying the programming process and improving the level of programming automation.

[0009] The main calling module can generate a main calling program containing the calling standard program code according to the processing parameters and tool path information set in the CAM software. This enables the system to be flexibly adjusted according to specific processing requirements to meet a variety of processing tasks. This technical solution can easily add new CNC programs or update existing programs, and has good scalability.

[0010] The parsing and execution module can parse the calling instructions in the main calling program, identify the standard program code to be used, and retrieve and download the corresponding CNC program in the database according to the code. This ensures that the program call during the processing is accurate and improves the processing efficiency and quality.

[0011] This technical solution realizes the automatic management and reuse of CNC programs, reduces the workload of repeated programming, and thus reduces labor costs and time costs. By optimizing the processing process and reducing the error rate, it can also reduce material waste and defective rate, further reducing costs.

[0012] As an implementable preferred solution, the processing methods include hole processing, groove processing, and surface processing, and the processing features include geometric shape, size, and material.

[0013] As an implementable preferred solution, the main calling program generated by the main calling module is in a program format that can be recognized by the CNC machine tool; the main calling module is also used to perform format verification and syntax checking on the generated program.

[0014] As an implementable preferred solution, the parsing execution module is also used to rename the CNC program and modify the calling program name of the main program to match the renamed CNC program name.

[0015] As an implementable preferred solution, the analysis and execution module also includes an error detection submodule and a recording submodule. The error detection submodule is used to detect program call errors, program missing and alarm prompts, and the recording submodule is used to record the execution status of each processing task.

[0016] As an implementable preferred solution, it also includes a cloud storage module for storing and synchronizing CNC programs, feature codes, processing parameters and historical records.

[0017] As an implementable preferred solution, it also includes a query module for displaying a list or tree structure of all CNC programs and their feature codes; when the query module receives a drag query request, it will parse the target object in the drag operation and retrieve corresponding information from the database based on the target object.

[0018] As an implementable preferred solution, the query module displays the query results in a list, chart or other form in the user interface; the query module also includes a filtering submodule, which sets query conditions according to actual needs, filters and sorts the query results, and is also used to highlight and group the query results.

[0019] As an implementable preferred solution, it also includes an intelligent recommendation module, which is used to collect historical processing data, processing feature codes and tool usage, and use machine learning algorithms to establish a correlation model between tool selection, processing parameter settings and processing results. Through iteration and optimization, it can predict which tool and processing parameter combination can produce the best processing effect for a given processing task.

[0020] As an implementable preferred solution, the intelligent recommendation module is also used to optimize and recommend the tool processing sequence. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A schematic diagram of the architecture of a standard CNC program management automation system. DETAILED DESCRIPTION

[0022] In order to make the technical solution and advantages of the present application clearer, the technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings. It will be understood that the specific embodiments described herein are only partial embodiments of the present invention, which are only used to explain the present application, rather than to limit the present application. It should be noted that the technical features or combinations of technical features described in the following embodiments should not be considered isolated, and they can be combined with each other to achieve better technical effects. The same reference numerals appearing in the drawings of the following embodiments represent the same features or components, which can be applied to different embodiments.

[0023] In addition, unless otherwise defined, the technical terms or scientific terms used in the description of the present invention should have the common meanings understood by those skilled in the art in the art to which the present invention belongs.

[0024] The present invention is further described in detail below in conjunction with the accompanying drawings: Embodiment 1 Reference Figure 1 , a standard CNC program management automation system, includes a feature encoding module, a database, a virtual CAM tool library, a main calling module, and a parsing execution module.

[0025] The feature coding module is used to generate unique feature codes and store these codes in the database. Specifically, the feature coding module formulates feature coding rules based on the processing method and the processing features corresponding to the processing method. The processing methods include hole processing, groove processing, and surface processing. The processing methods include geometric shape, size, material, processing method, etc. For example, the feature coding of hole processing includes information such as hole diameter size, hole depth, and hole position; the feature coding of groove processing can include information such as groove width, groove depth, and groove direction. The unique feature code generated by the feature coding module is in the form of numbers, letters, or a combination of numbers and letters.

[0026] The virtual CAM tool library is used to associate the stored feature code with the corresponding tool or tool path, and program it to obtain a CNC program. The CNC program is used to perform standard processing actions. Each CNC program corresponds to a unique standard program code. The virtual CAM tool library uses CAM software to create it based on the encoded data.

[0027] The main call module is used to select the corresponding feature code according to the processing task, generate the main call program containing the calling standard program code, and each calling instruction in the main call program corresponds to a specific standard program code. During processing, the feature code is selected, and the system automatically selects the corresponding tool or tool path for programming. For example, when the programmer selects the feature code for hole processing, the system automatically selects the tool and processing parameters suitable for the hole size and material to program the calling instruction.

[0028] The main calling module is also used to perform format verification and syntax checking on the generated program to ensure the correctness and compatibility of the main calling program.

[0029] The parsing and execution module is used to upload the main calling program according to the processing task, parse the calling instructions in the main calling program, identify the standard program code to be used, and retrieve the corresponding CNC program in the database according to the standard program code.

[0030] The parsing execution module downloads all CNC programs to be used in the main calling program and renames the CNC programs (such as adding task numbers, dates, etc.). Since the names are unique, the problem of repeated entry can be avoided, and it can also ensure that the programs between different tasks will not interfere with each other. Modify the calling program name of the main program to match the renamed CNC program name to ensure that the main program can correctly call the subroutine.

[0031] Generally, when the same main calling program calls the same CNC program, only one copy needs to be downloaded, which can save storage space while maintaining code consistency. This application downloads multiple copies at the same time and renames each copy to ensure the uniqueness of the name, which is different from normal operations.

[0032] The advantage of the method used in this embodiment is that when the processing is complicated and the processing time is too long, if a CNC program in the database changes and the corresponding program is being executed, the program will not be able to be synchronized in time, making it impossible for other tasks to update the new version code. If the program is modified after waiting for the processing to be completed, it will affect the efficiency. The technical solution of this embodiment can solve the above problem and ensure the accuracy of the call by renaming.

[0033] The parsing and execution module also includes an error detection submodule and a recording submodule. The error detection submodule is used to automatically alarm and prompt the operator to handle when problems such as program call errors and program missing are detected; the recording submodule is used to record the execution status of each processing task for subsequent analysis and optimization.

[0034] Embodiment 2 The technical feature that distinguishes this embodiment from the above-mentioned embodiment is that it also includes a cloud storage module for storing and synchronizing CNC programs, feature codes, processing parameters, historical records, etc. This ensures safe data backup and prevents data loss due to local device failure, so that data can be synchronized instantly across different physical locations.

[0035] On the one hand, the cloud storage module facilitates different production lines to access the database simultaneously to achieve automated management of standard CNC programs.

[0036] On the other hand, the cloud storage module also makes it easier for programmers, managers and engineers to participate in projects anytime and anywhere, thereby improving collaborative work efficiency.

[0037] Programmers can access the CNC program remotely through a browser or dedicated client software and write, simulate, optimize and upload it without having to visit the machine tool in person. The cloud programming platform has built-in features such as feature code recognition, virtual CAM tool library configuration, and master call program generation, which are the same as the local system, ensuring the consistency and efficiency of the programming experience.

[0038] Managers and engineers can use the cloud monitoring platform to view the processing progress, equipment status (such as spindle speed, feed speed, coolant status, etc.) and alarm information in real time. By keeping abreast of the production process, problems can be discovered and solved as soon as possible, effectively reducing downtime and production costs.

[0039] Embodiment 3 The technical feature that distinguishes this embodiment from the above-mentioned embodiment is that it also includes a query module for displaying a list or tree structure of all CNC programs and their feature codes, so that the user can clearly see the hierarchical relationship and association between each program and its feature code. Each item in the list or tree structure contains basic information of the program or feature code, such as name, code, etc., which is convenient for users to quickly identify. The user triggers a query request by dragging the selected CNC program or feature code on the user interface to the query area or input box through an input device such as a mouse or touch screen.

[0040] When receiving a drag query request, the query module will parse the target object (i.e., CNC program or feature code) in the drag operation and retrieve the corresponding information in the database according to the target object.

[0041] The query results are displayed in the user interface in the form of a list, chart or other form. The query results can include detailed information of the CNC program (such as program name, code, processing features, etc.) and related processing parameters and tool path information.

[0042] At the same time, the query module also includes a screening submodule. Users can set query conditions (such as program type, processing characteristics, material type, etc.) according to actual needs to filter and sort the query results. In addition, the query module also supports operations such as highlighting and grouping the query results, so that users can obtain the required information more intuitively.

[0043] The query module has a wide range of application scenarios in the CNC program management automation system. For example, in the programming stage, programmers can use the query module to quickly find the required CNC program and feature code to avoid repeated writing and incorrect use; in the processing stage, operators can use the query module to understand the tools and processing parameters required for the current processing task to ensure the smooth progress of the processing; in the maintenance stage, technicians can use the query module to quickly locate and solve program or equipment failures and improve maintenance efficiency.

[0044] Embodiment 4 The technical feature that distinguishes this embodiment from the above-mentioned embodiments is that it also includes an intelligent recommendation module, which is used to collect historical processing data, processing feature codes, tool usage and other information, and use machine learning algorithms to establish a correlation model between tool selection, processing parameter settings and processing results. Through iteration and optimization, it is predicted which tool and processing parameter combination can produce the best processing effect for a given processing task, thereby reducing trial and error and improving processing efficiency and accuracy.

[0045] The intelligent recommendation module is also used to optimize the tool processing sequence, including the following: The tool processing sequence is encoded as an individual in the genetic algorithm. In this embodiment, an integer encoding method is used to represent the processing sequence of each tool as an integer sequence, and then the integer sequences of all tools are connected to form a complete individual.

[0046] An initial population is randomly generated, where each individual represents a potential tool processing sequence.

[0047] Setting the objective function , the formula is as follows:

[0048] in, Indicates the number of tools; Indicates the idling time. represents the time when the i-th tool is completed, Indicates the time when the i+1th tool starts processing, Indicates the power of the machine tool when it is waiting; represents the processing time of the i-th tool; represents the power of the machine tool during the i-th tool teaching; It is the energy consumption of the machine tool in no-load state.

[0049] Iterate, calculate the fitness value of each individual according to the objective function, and select individuals with higher fitness for reproduction to generate a new population. The selection operation is performed by roulette, and the crossover operation is performed by single-point or multi-point crossover. The positions of two tools are randomly exchanged and mutation operations are performed to increase the diversity of the population.

[0050] Iterate continuously until the termination condition is reached and output the optimal tool processing sequence.

[0051] After the tool processing sequence is optimized, the idle time and energy consumption of the machine tool can be significantly reduced, thereby improving production efficiency and reducing production costs. At the same time, the optimized tool processing sequence can also reduce the switching time between tools and the waiting time of the machine tool, further improving the utilization rate and production efficiency of the machine tool.

[0052] The above contents are only embodiments of the present invention. The common sense such as the known specific structures and characteristics in the scheme is not described in detail here. The ordinary technicians in the relevant field know all the common technical knowledge in the technical field to which the invention belongs before the application date or the priority date, can obtain all the existing technologies in the field, and have the ability to apply the conventional experimental means before that date. The ordinary technicians in the relevant field can improve and implement this scheme in combination with their own abilities under the enlightenment given by this application. Some typical known structures or known methods should not become obstacles for the ordinary technicians in the relevant field to implement this application. It should be pointed out that for the technicians in this field, without departing from the structure of the present invention, several deformations and improvements can be made, which should also be regarded as the protection scope of the present invention, which will not affect the effect of the implementation of the present invention and the practicality of the patent. The protection scope required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to explain the content of the claims.

Claims

1. A standard CNC program management automation system, characterized by: include: A feature coding module, used to formulate feature coding rules according to the processing method and the processing features corresponding to the processing method, and generate a unique feature code, and the feature coding module stores the generated feature code in a database; The virtual CAM tool library uses CAM software to associate feature codes with corresponding tools or tool paths, and program them to obtain standard CNC programs. Each standard CNC program corresponds to a standard program code. A main calling module, used for selecting a corresponding feature code according to a processing task, and generating a main calling program including a calling standard program code, wherein each calling instruction in the main calling program corresponds to a specific standard program code; The parsing and execution module is used to upload the main calling program according to the processing task, parse the calling instructions in the main calling program, identify the standard program code to be used, and retrieve and download the corresponding CNC program in the database according to the standard program code.

2. A standard CNC program management automation system according to claim 1, characterized in that: The processing methods include hole processing, groove processing, and surface processing, and the processing features include geometric shape, size, and material.

3. A standard CNC program management automation system according to claim 1, characterized in that: The main calling program generated by the main calling module is in a program format that can be recognized by the CNC machine tool; the main calling module is also used to perform format verification and syntax checking on the generated program.

4. A standard CNC program management automation system according to claim 1, characterized in that: The parsing execution module is also used to rename the CNC program and modify the calling program name of the main program to match the renamed CNC program name.

5. A standard CNC program management automation system according to claim 1, characterized in that: The analysis and execution module also includes an error detection submodule and a recording submodule. The error detection submodule is used to detect program call errors and program missing and issue an alarm. The recording submodule is used to record the execution status of each processing task.

6. A standard CNC program management automation system according to claim 1, characterized in that: It also includes a cloud storage module for storing and synchronizing CNC programs, feature codes, machining parameters and history.

7. A standard CNC program management automation system according to claim 1, characterized in that: It also includes a query module for displaying a list or tree structure of all CNC programs and their feature codes; when receiving a drag query request, the query module will parse the target object in the drag operation and retrieve corresponding information from the database according to the target object.

8. A standard CNC program management automation system according to claim 7, characterized in that: The query module displays the query results in a list, chart or other form in the user interface; the query module also includes a screening submodule, which sets query conditions according to actual needs, screens and sorts the query results, and is also used to highlight and group the query results.

9. A standard CNC program management automation system according to claim 1, characterized in that: It also includes an intelligent recommendation module, which is used to collect historical processing data, processing feature codes and tool usage, and use machine learning algorithms to establish a correlation model between tool selection, processing parameter settings and processing results. Through iteration and optimization, it predicts which tool and processing parameter combination can produce the best processing effect for a given processing task.

10. A standard CNC program management automation system according to claim 9, characterized in that: The intelligent recommendation module is also used to optimize and recommend the tool processing sequence.

Citation Information

Cited By

  • Intelligent programming method and system of CNC system

    CN121325751A