Numerical control machine tool machining process digital main line construction method and system
Through real-time bus synchronously collecting and processing G-code line numbers, internal electronic control and external sensor data of CNC machine tools, the problem of data acquisition is solved, efficient data management and analysis is realized, and the optimization capability of CNC machine tools is improved.
Patent Information
- Application Number
- CN202510491532.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-08-01
AI Technical Summary
In the prior art, data acquisition is difficult in the processing process of CNC machine tools, traditional manual data acquisition is time-consuming and labor-intensive, data management is difficult, data value is low, it is difficult to achieve full collection and storage throughout the entire period, and data analysis is difficult.
G-code line number data, internal electronic control data and external sensor data are synchronized through the real-time bus of the data perception module, and then aligned and processed by the data processing module to upload it to the digital main line database, supporting sample extraction configuration based on G-code line number to realize automated data collection and upload.
The instruction domain alignment of the sampled data is realized, the amount of invalid data is reduced, the data value density is increased, and the machine tool processing process optimization and the training data accumulation of artificial intelligence algorithms is supported.
Smart Images

Figure CN120406294A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical fields of industrial big data and intelligent manufacturing, and particularly relates to a method and system for constructing a digital main line in the machining process of a numerically controlled machine tool. Background Art
[0002] At present, industrial big data and intelligent manufacturing are in a period of rapid development. The technologies for collecting and storing big data in the machining process of numerically controlled machine tools are key technical links for big data technology and artificial intelligence technology to empower numerically controlled machine tools.
[0003] Based on the technologies for collecting and storing big data in the machining process, constructing a digital main line in the machining process of a numerically controlled machine tool to provide data required for training and optimizing algorithms and models for optimizing the machining efficiency, machining accuracy, and extending the service life of tools and equipment of the numerically controlled machine tool is the only way to improve the performance of numerically controlled machine tools through big data and artificial intelligence technologies.
[0004] However, the parts machined by numerically controlled machine tools are diverse, the process parameters are numerous, the sampling rates of various sensors are high, the data volume is extremely large, and the data correlation relationships are complex. Traditional manual data collection and marking are time-consuming, laborious, costly, with a small amount of data collected, difficult to accurately capture effective data, and difficult in data management; full-time and full-volume collection results in an extremely large amount of data, and the transmission and storage of data are difficult to achieve due to cost or technology, and the data value is low and the analysis is difficult. Summary of the Invention
[0005] The present invention provides a method and system for constructing a digital main line in the machining process of a numerically controlled machine tool to solve the defects in the prior art.
[0006] In a first aspect, the present invention provides a system for constructing a digital main line in the machining process of a numerically controlled machine tool, including: a data perception module, a data processing module, and a digital main line database; wherein, the data perception module is communicatively connected to the numerically controlled machine tool bus through a real-time bus, and the data processing module is communicatively connected to the digital main line database and the data perception module;
[0007] The data perception module is configured to synchronously collect G-code line number data, internal electric control data, and external sensor data in the machining process of the numerically controlled machine tool through the real-time bus;
[0008] The data processing module is configured to align and process the internal electric control data and the external sensor data based on the G-code line number data, and upload the processed data to the digital main line database;
[0009] The digital main line database is configured to receive and store the data uploaded by the data processing module.
[0010] According to the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention, the data perception module includes an internal electric control data perception unit and an external sensor data perception unit; wherein, the internal electric control data perception unit is used to synchronously collect the G-code line number data and internal electric control data of the machining process of the numerically controlled machine tool through a real-time bus; the external sensor data perception unit is used to obtain the G-code line number data and external sensor data of the machining process of the numerically controlled machine tool.
[0011] According to the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention, the data processing module includes a data acquisition unit; the data acquisition unit is connected to the external electric control data perception unit through a network or a real-time bus to obtain external sensor data; the data acquisition unit also aligns the internal electric control data and external sensor data through the G-code line number data.
[0012] According to the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention, the data processing module includes a data acquisition unit; the data acquisition unit is connected to the internal electric control data perception unit through a network or a real-time bus to obtain internal electric control data; the data acquisition unit aligns the internal electric control data and external sensor data through the G-code line number data.
[0013] According to the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention, the data processing module further includes: a sample extraction unit; the sample extraction unit is used to obtain the sampled data aligned according to the G-code line number data from the data acquisition unit; and automatically extract the target data segment from the sampled data during the machining process of the machine tool according to the preset sample extraction configuration as the sample sampled data; wherein, the sample extraction configuration includes at least one extraction interval configuration for determining the starting point and the ending point of the target data segment.
[0014] According to the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention, the data processing module further includes a data upload unit; the data upload unit is used to upload the sample sampled data and the machining process data corresponding to the sample sampled data to the digital main line database.
[0015] According to the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention, the digital main line database includes: a data receiving layer, a data storage layer and a data access layer; wherein, the data receiving layer receives the data uploaded by the data processing module and stores it using the data storage layer; the data access layer provides a network interface for accessing the data stored in the data storage layer.
[0016] According to the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention, the access layer supports retrieving and downloading sample data based on the sample generation time and the machining process technology data corresponding to the sample; the sample data includes sample sampling data and machining process data.
[0017] According to the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention, the internal electronic control data sensing unit includes a servo driver, a numerical control system, a machine tool IO, and machine tool self - sensors connected to the machine tool IO; the external sensor data sensing unit includes a sensor access module and sensors; among them, the sensor access module includes a data acquisition card and a sensor data acquisition program; the sensors are connected to the data acquisition card of the sensor access module; the sensor data acquisition program runs in real - time, acquires real - time sensor data through the data acquisition card, and aligns the real - time acquired sensor data with the G - code line number data acquired in real - time through the bus.
[0018] In a second aspect, the present invention provides a method for constructing a digital main line for the machining process of a numerically controlled machine tool, which applies the digital main line construction system described in any one of the above, and includes:
[0019] The control data sensing module synchronously acquires the G - code line number data, internal electronic control data, and external sensor data of the machining process of the numerically controlled machine tool through a real - time bus;
[0020] Control the data processing module to align and process the internal electronic control data and external sensor data based on the G - code line number data, and upload the processed data to the digital main line database;
[0021] Control the digital main line database to receive and store the data uploaded by the data processing module.
[0022] The method and system for constructing a digital main line for the machining process of a numerically controlled machine tool provided by the present invention have the following beneficial effects compared with the prior art:
[0023] (1) The method and system for constructing a digital main line for the machining process of a numerically controlled machine tool provided by the present invention support using the G - code instruction line sampling sequence as a unified reference for the internal electronic control data and external sensor data of the numerically controlled machine tool, realizing the alignment of the instruction domains of the sampling data, and at the same time combining the sampling data with the machining process technology data, so as to realize the association of various sampling data with the machining conditions of the machine tool.
[0024] (2) The digital main line construction method and system for the machining process of a numerically controlled machine tool provided by the present invention support sample extraction configuration based on G-code line numbers, support automated sample extraction and upload, avoid the problems of laboriousness, time consumption, data accumulation and management difficulties in manual collection, greatly reduce the amount of invalid data, greatly improve the value density of data, and play an important role in the accumulation, analysis and use of big data in the machine tool machining process, especially in the accumulation of training data for artificial intelligence algorithms such as machine tool machining process optimization and monitoring. Brief Description of the Drawings
[0025] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0026] Figure 1 is one of the structural schematic diagrams of the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention;
[0027] Figure 2 is another structural schematic diagram of the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention;
[0028] Figure 3 is the third structural schematic diagram of the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention;
[0029] Figure 4 is the fourth structural schematic diagram of the digital main line construction system for the machining process of a numerically controlled machine tool provided by the present invention;
[0030] Figure 5 is the structural schematic diagram of the digital main line database provided by the present invention;
[0031] Figure 6 is the flow schematic diagram of the digital main line construction method for the machining process of a numerically controlled machine tool provided by the present invention. Detailed Embodiments
[0032] To make the objectives, technical solutions and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention in conjunction with the drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments in the present invention belong to the scope of protection of the present invention.
[0033] It should be noted that in the description of the embodiments of the present invention, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or device. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0034] The terms "first", "second", etc. in this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such use Term can be interchanged under appropriate circumstances, so that the embodiments of this application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are usually of the same type, and do not limit the number of objects. For example, the first object can be one or multiple.
[0035] Figure 1 is one of the structural schematic diagrams of the digital main line construction system for the CNC machine tool processing process provided by the present invention. Figure 2 is the second structural schematic diagram of the digital main line construction system for the CNC machine tool processing process provided by the present invention. As Figure 1 and Figure 2 shown, the present invention provides a digital main line construction system for the CNC machine tool processing process, including: a data perception module, a data processing module, and a digital main line database; wherein, the data perception module is communicatively connected to the CNC machine tool bus through a real-time bus, and the data processing module is communicatively connected to the digital main line database and the data perception module. Specifically, the data processing module can be communicatively connected to the data perception module through a network or a real-time bus.
[0036] The real-time bus in the present invention mainly refers to real-time buses such as NCUC and EtherCAT for real-time motion control of numerical control systems.
[0037] The present invention also includes data transmission hardware facilities, which are mainly used to implement network connections (such as network connections between the data processing module and the digital main line database), mainly including Ethernet, WiFi, 2G, 3G, 4G, 5G; the data transmission protocol mainly refers to network transmission protocols, mainly including NC-Link, HTTP, HTTPS.
[0038] The data perception module is used to synchronously collect G-code line number data, internal electric control data, and external sensor data during the CNC machine tool processing process through the real-time bus.
[0039] The data processing module is used to align and process the internal electronic control data and the external sensor data based on the G-code line number data, and upload the processed data to the digital main line database;
[0040] The digital mainline database is used to receive and store data uploaded by the data processing module.
[0041] Figure 3 This is the third structural diagram of the digital main line construction system for the CNC machine tool processing process provided by the present invention. Figure 4 This is the fourth structural diagram of the digital main line construction system of the CNC machine tool processing process provided by the present invention, such as Figure 3 and Figure 4 As shown, the data sensing module includes an internal electronic control data sensing unit and an external sensor data sensing unit; the data processing module includes: a data acquisition unit, a sample extraction unit, and a data upload unit. Figure 3 and Figure 4 The technical solution of the present invention is further described.
[0042] Based on the contents of the above embodiments, as an optional embodiment, the present invention provides a digital main line construction system for a CNC machine tool machining process, wherein the data sensing module includes an internal electronic control data sensing unit and an external sensor data sensing unit.
[0043] The internal electronic control data sensing unit is used to synchronously collect G-code line number data and internal electronic control data during the CNC machine tool processing process via a real-time bus. Specifically, the internal electronic control data sensing unit can include a servo drive, a CNC system, a machine tool I / O, and sensors connected to the machine tool I / O. Internal electronic control data includes servo drive current, voltage, power, spindle speed, feed rate, axis command position, command speed, etc.
[0044] The external sensor data sensing unit is used to obtain G-code line number data and external sensor data during the CNC machine tool processing process. Specifically, the external sensor data sensing unit includes a sensor access module and a sensor.
[0045] The types of sensors include, but are not limited to, temperature, vibration, sound, image, current, voltage, and power. The sensor access module includes an acquisition card and a sensor data acquisition program. The sensor is connected to the acquisition card of the sensor access module. The sensor data acquisition program runs in real time, collects real-time sensor data via the acquisition card, and aligns the real-time sensor data with G-code line number data collected in real time via the bus.
[0046] Optionally, the data processing module provided by the present invention includes a data acquisition unit, which is connected to an external electronically controlled data sensing unit through a network or a real-time bus to obtain external sensor data; and aligns the internal electronically controlled data and the external sensor data through the G-code line number data.
[0047] Optionally, the data processing module provided by the present invention includes a data acquisition unit, which is connected to an internal electronically controlled data sensing unit through a network or a real-time bus to obtain internal electronically controlled data; and aligns the internal electronically controlled data and the external sensor data through the G-code line number data.
[0048] The following refers to Figure 3 and Figure 4 to specifically introduce two optional communication methods:
[0049] As Figure 3 shown, in the digital main line construction system for the machining process of the numerically controlled machine tool provided by the present invention, the internal electronically controlled data sensing unit and the external sensor data sensing unit of the data sensing module are connected to the numerically controlled machine tool bus through a real-time bus; the data acquisition unit is connected to the numerically controlled machine tool bus through a real-time bus to collect internal electronically controlled data and external sensor data in real time.
[0050] As Figure 4 shown, in the digital main line construction system for the machining process of the numerically controlled machine tool provided by the present invention, the internal electronically controlled data sensing unit and the external sensor data sensing unit of the data sensing module are connected to the numerically controlled machine tool bus through a real-time bus; the data acquisition unit is respectively connected to the internal electronically controlled data sensing unit and the external sensor data sensing unit through a network to collect internal electronically controlled data and external sensor data.
[0051] It can be understood that the communication methods of the present invention are not limited to the above two methods, and the data acquisition unit can simultaneously have the capabilities of network communication and bus communication, and can be selected according to needs when communicating with other objects.
[0052] As an optional embodiment, the digital main line construction system for the machining process of the numerically controlled machine tool provided by the present invention, the data processing module further includes: a sample extraction unit; the sample extraction unit is used to obtain the sampled data aligned by the G-code line number data from the data acquisition unit; and automatically extract the target data segment from the sampled data during the machining process of the machine tool according to the preset sample extraction configuration as the sample sampled data; wherein the sample extraction configuration includes at least one extraction interval configuration for determining the start point and the end point of the target data segment.
[0053] Optionally, the extraction interval includes an interval start point and an interval end point, representing the start sampling point position and the end sampling point position of the extraction interval; the interval start point or end point uses the G-code line number as the first index and the clock count relative to the start running time of the G-code line as the second index.
[0054] As an optional embodiment, in the digital main line construction system for the numerical control machine tool processing process provided by the present invention, the data processing module further includes a data uploading unit; the data uploading unit is used to upload the sample sampling data and the processing process data corresponding to the sample sampling data to the digital main line database.
[0055] Among them, the processing process data mainly includes part models, blank information, tools, materials, feed rates, spindle speeds, processing G-codes, tool parameters, machine tool models, machine tool numbers, etc.
[0056] As an optional embodiment, Figure 5 is a schematic structural diagram of the digital main line database provided by the present invention, as Figure 5 shown, the digital main line database includes a data receiving layer, a data storage layer, and a data access layer.
[0057] Among them, the data receiving layer receives the data uploaded by the data processing module and stores it using the data storage layer; the data access layer provides a network interface for accessing the data stored in the data storage layer.
[0058] Furthermore, the access layer supports retrieving and downloading sample data based on the sample generation time and the processing process data corresponding to the sample; the sample data includes sample sampling data and processing process data.
[0059] Figure 6 is a schematic flow diagram of the digital main line construction method for the numerical control machine tool processing process provided by the present invention, as Figure 6 described, the method applies any of the digital main line construction systems described above, and includes the following steps:
[0060] Step 601: Control the data perception module to synchronously collect the G-code line number data, internal electric control data, and external sensor data of the numerical control machine tool processing process through the real-time bus;
[0061] Step 602: Control the data processing module to align and process the internal electric control data and the external sensor data based on the G-code line number data, and upload the processed data to the digital main line database;
[0062] Step 603: Control the digital main line database to receive and store the data uploaded by the data processing module.
[0063] It should be noted that the method for constructing a digital main line in the machining process of a numerically controlled machine tool provided by the embodiments of the present invention can use the modules described in any of the above embodiments to construct the digital main line, and this embodiment will not be elaborated herein.
[0064] In summary, the method and system for constructing a digital main line in the machining process of a numerically controlled machine tool provided by the present invention have the following advantages compared with the prior art:
[0065] (1) The method and system for constructing a digital main line in the machining process of a numerically controlled machine tool provided by the present invention support using the internal electric control data and external sensor data of the numerically controlled machine tool as a unified reference with the G-code instruction line sampling sequence, realizing the alignment of the instruction domains of the sampled data, and at the same time combining the sampled data with the process data in the machining process, so as to realize the association of various sampled data with the machining conditions of the machine tool.
[0066] (2) The method and system for constructing a digital main line in the machining process of a numerically controlled machine tool provided by the present invention support the configuration of sample extraction based on G-code line numbers, support automated sample extraction and upload, avoid the laborious, time-consuming, data accumulation and management difficulties of manual collection, greatly reduce the amount of invalid data, greatly improve the value density of data, and can play an important role in the accumulation, analysis and use of big data in the machining process of the machine tool, especially in the accumulation of training data for artificial intelligence algorithms such as machining process optimization and monitoring of the machine tool.
[0067] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the method for constructing a digital main line in the machining process of a numerically controlled machine tool provided by each of the above embodiments. The method includes: controlling the data perception module to synchronously collect the G-code line number data, internal electric control data and external sensor data in the machining process of the numerically controlled machine tool through a real-time bus; controlling the data processing module to align and process the internal electric control data and external sensor data based on the G-code line number data, and upload the processed data to the digital main line database; controlling the digital main line database to receive and store the data uploaded by the data processing module.
[0068] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is configured to execute the digital main line construction method for the numerical control machine tool processing process provided in the above-mentioned various embodiments. The method includes: controlling the data perception module to synchronously collect the G-code line number data, internal electronic control data, and external sensor data of the numerical control machine tool processing process through a real-time bus; controlling the data processing module to align and process the internal electronic control data and external sensor data based on the G-code line number data, and upload the processed data to the digital main line database; controlling the digital main line database to receive and store the data uploaded by the data processing module.
[0069] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0070] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A digital main line construction system for the machining process of a numerical control machine tool, characterized in that, Including: A data perception module, a data processing module, and a digital twin database; wherein, the data perception module is communicatively connected to the CNC machine tool bus through a real-time bus, and the data processing module is communicatively connected to the digital twin database and the data perception module; The data perception module is configured to synchronously collect G-code line number data, internal electric control data, and external sensor data during the machining process of the CNC machine tool through the real-time bus; The data processing module is configured to align and process the internal electric control data and the external sensor data based on the G-code line number data, and upload the processed data to the digital twin database; The digital twin database is configured to receive and store the data uploaded by the data processing module.
2. The digital mainline construction system for the numerical control machine tool machining process according to claim 1, wherein The data perception module includes an internal electric control data perception unit and an external sensor data perception unit; Wherein, the internal electric control data perception unit is configured to synchronously collect G-code line number data and internal electric control data during the machining process of the CNC machine tool through the real-time bus; The external sensor data perception unit is configured to obtain G-code line number data and external sensor data during the machining process of the CNC machine tool.
3. The digital main line construction system for the CNC machine tool machining process according to claim 1, characterized in that, The data processing module includes a data acquisition unit; The data acquisition unit is connected to the external electric control data perception unit through a network or a real-time bus to obtain external sensor data; The data acquisition unit also aligns the internal electric control data and the external sensor data based on the G-code line number data.
4. The digital main line construction system for the numerical control machine tool processing process according to claim 1, characterized in that The data processing module includes a data acquisition unit; The data acquisition unit is connected to the internal electric control data perception unit through a network or a real-time bus to obtain internal electric control data; The data acquisition unit aligns the internal electric control data and the external sensor data through the G-code line number data.
5. The digital main line construction system for the numerical control machine tool machining process according to claim 1 or 4, characterized in that, The data processing module further includes: a sample extraction unit; The sample extraction unit is configured to obtain the sampled data aligned according to the G-code line number data from the data acquisition unit; and, Automatically extract target data segments from the sampled data during the machining process of the machine tool according to a preset sample extraction configuration as sample sampled data; Wherein, the sample extraction configuration includes at least one extraction interval configuration for determining the start point and the end point of the target data segment.
6. The digital main line construction system for the CNC machine tool processing process according to claim 5, characterized in that, The data processing module further includes a data upload unit; The data upload unit is configured to upload the sample sampled data and the machining process data corresponding to the sample sampled data to the digital twin database.
7. The digital mainline construction system for the NC machine tool machining process according to claim 6, characterized in that, The digital twin database includes: a data receiving layer, a data storage layer, and a data access layer; Wherein, the data receiving layer receives the data uploaded by the data processing module and stores it using the data storage layer; the data access layer provides a network interface for accessing the data stored in the data storage layer.
8. The digital main line construction system for the numerical control machine tool machining process according to claim 7, wherein The access layer supports retrieving and downloading sample data based on the sample generation time and the machining process data corresponding to the sample; the sample data includes sample sampled data and machining process data.
9. The digital main line construction system for the numerical control machine tool processing process according to claim 2, characterized in that, The internal electric control data perception unit includes a servo driver, a numerical control system, a machine tool IO, and machine tool built-in sensors connected to the machine tool IO; The external sensor data perception unit includes a sensor access module and sensors; wherein, the sensor access module includes an acquisition card and a sensor data acquisition program; The sensor is connected to the acquisition card of the sensor access module; the sensor data acquisition program runs in real time, acquires real-time sensor data through the acquisition card, and aligns the real-time acquired sensor data with the G-code line number data acquired in real time through the bus.
10. A digital main line construction method for the machining process of a numerically controlled machine tool, which applies the digital main line construction system described in any one of claims 1 to 9, characterized in that, It includes: The control data perception module synchronously acquires the G-code line number data, internal electronic control data, and external sensor data during the machining process of the CNC machine tool through the real-time bus; Control the data processing module to align and process the internal electronic control data and external sensor data based on the G-code line number data, and upload the processed data to the digital main line database; Control the digital main line database to receive and store the data uploaded by the data processing module.