Real-time monitoring method, device, equipment, storage medium and product for CNC machine tools
By constructing digital twin models and equipment monitoring models of CNC machine tools, real-time fault prediction and life prediction of CNC machine tools are realized, which solves the problems of CNC machine tool monitoring accuracy and maintenance costs in the existing technology, and avoids production interruption and expensive maintenance. cost.
Patent Information
- Application Number
- CN202410841314.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Existing technology cannot accurately monitor CNC machine tools in real time while reducing equipment maintenance costs, making it difficult to guarantee the accuracy of fault prediction, and it is easy to cause production interruptions and high emergency repair costs due to sudden failures.
By building a digital twin model of CNC machine tools and fine-tuning it based on the pre-trained knowledge base and equipment monitoring model, real-time fault prediction and life prediction of CNC machine tools can be realized, early warnings can be automatically triggered and maintenance recommendations can be generated.
It can accurately reflect the real-time status of CNC machine tools, identify potential faults in advance, avoid production interruptions and emergency repair costs, and reduce maintenance costs.
Smart Images

Figure CN118393987B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of equipment fault monitoring, and in particular to a real-time monitoring method, device, equipment, storage medium and product for a CNC machine tool. Background Art
[0002] In actual working scenarios, CNC machine tools often fail due to the increasing wear of components, which reduces the service life of CNC machine tools. Therefore, how to monitor CNC machine tools in real time to avoid failures has become an important research direction in related industries.
[0003] There are usually two ways to monitor CNC machine tools. One way is for technicians to monitor the equipment data of CNC machine tools based on their own experience. This method is highly subjective, so the accuracy of monitoring is difficult to guarantee. Another way is to arrange a schedule for inspection and replacement of parts based on the time the equipment is used or the amount of production. Although this method can avoid sudden equipment failures to a certain extent, it often leads to excessive maintenance and increases unnecessary costs (i.e., replacing the parts when they are still working properly). Therefore, the industry is in urgent need of a method that can accurately monitor CNC machine tools in real time while reducing equipment maintenance costs.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of this application is to provide a real-time monitoring method, device, equipment, storage medium and product for CNC machine tools, aiming to solve the technical problem that the existing technology cannot accurately monitor CNC machine tools in real time while reducing equipment maintenance costs.
[0006] To achieve the above object, the present application provides a real-time monitoring method for a CNC machine tool, the method comprising the following steps:
[0007] Building a digital twin model of the target CNC machine tool according to the real-time data of the target CNC machine tool;
[0008] Building a first preset model based on a pre-trained knowledge base, wherein the pre-trained knowledge base contains normal label data and abnormal label data of the CNC machine tool;
[0009] Fine-tune the second preset model by using the first preset model to obtain a device monitoring model;
[0010] The digital twin model is monitored in real time based on the equipment monitoring model to obtain the fault prediction results and life prediction results of the target CNC machine tool.
[0011] In one embodiment, the step of constructing a digital twin model of the target CNC machine tool according to the real-time data of the target CNC machine tool includes:
[0012] Acquiring real-time data of the target CNC machine tool through sensors deployed in the target CNC machine tool, wherein the real-time data includes temperature data, vibration frequency data, vibration amplitude data, load force data and rotation speed data;
[0013] The real-time data is preprocessed, and a digital twin model of the target CNC machine tool is constructed based on the preprocessed real-time data.
[0014] In one embodiment, before the step of fine-tuning the second preset model by using the first preset model to obtain the device monitoring model, the step further includes:
[0015] Inputting time series data into the first preset model to extract high-dimensional features of the time series data, wherein the time series data is sample data arranged in time sequence in the sample CNC machine tool;
[0016] Initial parameters are generated in the first preset model based on the high-dimensional features, and the second preset model is initialized according to the initial parameters.
[0017] In one embodiment, the step of fine-tuning the second preset model by using the first preset model to obtain the equipment monitoring model includes:
[0018] Generate a parameter adjustment amount through the first preset model, and optimize the second preset model according to the parameter adjustment amount to obtain a third preset model;
[0019] The third preset model is dynamically fine-tuned based on the loss change in the process of optimizing the second preset model to the third preset model to obtain an equipment monitoring model.
[0020] In one embodiment, the step of generating the parameter adjustment amount by using the first preset model includes:
[0021] Extracting high-dimensional features of model input data through the first preset model, and obtaining the hidden state of the current time step in the second preset model;
[0022] In the first preset model, a parameter adjustment amount is generated according to the high-dimensional features of the model input data and the hidden state of the current time step.
[0023] In one embodiment, after the step of monitoring the digital twin model in real time based on the equipment monitoring model to obtain the fault prediction result and life prediction result of the target CNC machine tool, the step further includes:
[0024] If it is determined that there is a device failure in the target CNC machine tool according to the failure prediction result and the life prediction result, an early warning is automatically triggered and a push message is generated;
[0025] The push information is sent to a user interaction interface, wherein the push information includes the current status of the CNC machine tool, warning information, and maintenance suggestions.
[0026] In addition, to achieve the above purpose, the present application also proposes a real-time monitoring device for a CNC machine tool, the real-time monitoring device for a CNC machine tool comprising:
[0027] A first construction module is used to construct a digital twin model of the target CNC machine tool according to the real-time data of the target CNC machine tool;
[0028] A second construction module is used to construct a first preset model based on a pre-trained knowledge base, wherein the pre-trained knowledge base contains normal label data and abnormal label data of the CNC machine tool;
[0029] A model fine-tuning module, used to fine-tune the second preset model through the first preset model to obtain a device monitoring model;
[0030] A real-time monitoring module is used to monitor the digital twin model in real time based on the equipment monitoring model to obtain fault prediction results and life prediction results of the target CNC machine tool.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a real-time monitoring device for a CNC machine tool, the device comprising: a memory, a processor, and a real-time monitoring program for the CNC machine tool stored in the memory and executable on the processor, the real-time monitoring program for the CNC machine tool being configured to implement the steps of the real-time monitoring method for the CNC machine tool as described above.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and stores a real-time monitoring program for a CNC machine tool. When the real-time monitoring program for a CNC machine tool is executed by a processor, the steps of the real-time monitoring method for a CNC machine tool as described above are implemented.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer program product, which includes a real-time monitoring program for a CNC machine tool. When the real-time monitoring program for a CNC machine tool is executed by a processor, the steps of the real-time monitoring method for a CNC machine tool as described above are implemented.
[0034] The present application constructs a digital twin model of the target CNC machine tool according to the real-time data of the target CNC machine tool; constructs a first preset model based on a pre-trained knowledge base, the pre-trained knowledge base contains normal label data and abnormal label data of the CNC machine tool; fine-tunes the second preset model through the first preset model to obtain an equipment monitoring model; and monitors the digital twin model in real time based on the equipment monitoring model to obtain the fault prediction results and life prediction results of the target CNC machine tool. Compared with the traditional real-time monitoring method of CNC machine tools, the above method of the present application constructs a digital twin model of the target CNC machine tool, and realizes real-time monitoring of the digital twin model through the equipment monitoring model obtained based on the first preset model and the second preset model, so as to accurately reflect the real-time status of the target CNC machine tool to identify potential faults in the target CNC machine tool in advance, thereby avoiding production interruptions and high emergency repair costs caused by sudden failures. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of the structure of a real-time monitoring device for a CNC machine tool in a hardware operating environment according to an embodiment of the present application;
[0036] Figure 2 This is a flow chart of a first embodiment of a real-time monitoring method for a CNC machine tool of the present application;
[0037] Figure 3 This is a flow chart of a second embodiment of the real-time monitoring method for a CNC machine tool of the present application;
[0038] Figure 4 This is a flow chart of a third embodiment of the real-time monitoring method for a CNC machine tool of the present application;
[0039] Figure 5 This is a structural block diagram of the first embodiment of the real-time monitoring device for a CNC machine tool of the present application.
[0040] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0041] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a real-time monitoring device for a CNC machine tool in the hardware operating environment involved in the embodiment of the present application.
[0043] like Figure 1As shown, the real-time monitoring device of the CNC machine tool may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0044] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the real-time monitoring device for a numerically controlled machine tool, and may include more or less components than those shown in the figure, or a combination of certain components, or a different arrangement of components.
[0045] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a real-time monitoring program for a CNC machine tool.
[0046] exist Figure 1 In the real-time monitoring device of the CNC machine tool shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the real-time monitoring device of the CNC machine tool of the present application can be set in the real-time monitoring device of the CNC machine tool, and the real-time monitoring device of the CNC machine tool calls the real-time monitoring program of the CNC machine tool stored in the memory 1005 through the processor 1001, and executes the real-time monitoring method of the CNC machine tool provided in the embodiment of the present application.
[0047] The present application embodiment provides a real-time monitoring method for a CNC machine tool, referring to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the real-time monitoring method for a CNC machine tool of the present application.
[0048] In this embodiment, the real-time monitoring method of the CNC machine tool includes the following steps:
[0049] Step S10: constructing a digital twin model of the target CNC machine tool according to the real-time data of the target CNC machine tool.
[0050] It should be noted that the execution subject of the method of this embodiment can be a terminal device with model building, data processing and program running functions, such as a smart phone, a computer, etc., or an electronic device with the same or similar functions, such as the real-time monitoring device of the above-mentioned CNC machine tool. The following takes the real-time monitoring device of the CNC machine tool (hereinafter referred to as the monitoring device) as an example to illustrate this embodiment and the following embodiments.
[0051] It is understandable that the above-mentioned target CNC machine tool can be a 5-axis CNC machine tool (5 Axis Machining), which is a CNC machine tool with high speed, precision, intelligence, compound, multi-axis linkage, network communication and other functions. The 5-axis machine tool adds two rotation axes (two of the three axes A, B, and C) to the three common linear axes X, Y, and Z. Through the combined movement of these five axes, complex processing requirements can be achieved.
[0052] It should be understood that a five-axis CNC machine tool generates a large amount of data (i.e., the above-mentioned real-time data) during operation, including but not limited to temperature data, vibration frequency data, vibration amplitude data, load force data, rotation speed data, tool path data, processing speed data, force feedback data, etc. This embodiment can extract useful information from these data to construct a digital twin model of the target CNC machine tool.
[0053] In the specific implementation, this embodiment realizes real-time mapping and monitoring of the machine tool operating status and component wear by constructing a high-precision digital twin model of the target CNC machine tool and its components. Unlike the traditional monitoring method that relies on indirect measurement and post-analysis, the digital twin model is not just a simple equipment simulation, but includes complex physical and chemical properties, which can accurately reflect the operating status and wear degree of the machine tool components at every moment. The construction of this model requires solving a large number of technical problems of data processing and real-time model update. Traditional digital twins are simply modeled and displayed, while this embodiment combines the artificial intelligence large model part to truly realize the full life cycle operation and maintenance management of the high-precision CNC twin large model, automatic iteration, and automatic update of the five-axis CNC machine tool model (including tool library, five-axis head, and even every bearing, gear, etc.). Digital twin technology creates a complete virtual model that is synchronized with the real-world equipment in real time, which can accurately reflect the operating status and wear at every moment. This method relies on advanced sensors and data acquisition technology, as well as real-time data processing capabilities to ensure the accuracy and immediacy of monitoring information. The delayed analysis and indirect monitoring in traditional methods cannot provide real-time warning of impending problems, while digital twin technology can instantly capture subtle changes and provide early warnings, thereby effectively avoiding potential failures and downtime, and significantly improving production efficiency and equipment life.
[0054] Step S20: constructing a first preset model based on a pre-trained knowledge base, wherein the pre-trained knowledge base contains normal label data and abnormal label data of the CNC machine tool.
[0055] It should be noted that the above-mentioned first preset model can be a large artificial intelligence model that can process complex data, has high learning efficiency and is easy for secondary training.
[0056] In the specific implementation, it is first necessary to select a basic large model (such as ChatGPT4.0) that is suitable for high-precision equipment such as CNC machine tools, and then train the basic large model based on the normal label data and abnormal label data of the CNC machine tools contained in the pre-trained knowledge base, so as to construct the above-mentioned first preset model.
[0057] Step S30: fine-tune the second preset model using the first preset model to obtain a device monitoring model.
[0058] It should be noted that the above-mentioned second preset model can be a small artificial intelligence model corresponding to the first preset model and capable of processing CNC machine tool data.
[0059] In a specific implementation, the second preset model can be obtained after secondary fine-tuning and training based on the first preset model. For example, a convolutional neural network (CNN) can be automatically trained on the basic large model for image recognition (such as component damage images), a recurrent neural network (RNN), a long short-term memory network (LSTM), and a gated neural network (GRU) can be used for time series data (such as vibration and temperature changes). Finally, the first preset model can evaluate the trained second preset model. If the evaluation result does not meet the expected goal, the first preset model can continue to use more data to train the second preset model and adjust the parameters until the model reaches the expected performance indicators, thereby obtaining the above-mentioned equipment monitoring model.
[0060] Step S40: Based on the equipment monitoring model, the digital twin model is monitored in real time to obtain the fault prediction result and life prediction result of the target CNC machine tool.
[0061] In specific implementation, the above equipment monitoring model can be applied to fault identification and life prediction of CNC machine tool components after secondary training and optimization. The model can analyze the data collected from CNC machine tools in real time, identify early signs of wear and failure, and predict the remaining service life of components.
[0062] This embodiment constructs a digital twin model of the target CNC machine tool based on the real-time data of the target CNC machine tool; constructs a first preset model based on a pre-trained knowledge base, the pre-trained knowledge base contains normal label data and abnormal label data of the CNC machine tool; fine-tunes the second preset model through the first preset model to obtain a device monitoring model; and monitors the digital twin model in real time based on the device monitoring model to obtain the fault prediction results and life prediction results of the target CNC machine tool. Compared with the traditional real-time monitoring method of CNC machine tools, the above method of this embodiment constructs a digital twin model of the target CNC machine tool, and realizes real-time monitoring of the digital twin model through the device monitoring model obtained based on the first preset model and the second preset model, so as to accurately reflect the real-time status of the target CNC machine tool to identify potential faults in the target CNC machine tool in advance, thereby avoiding production interruptions and high emergency repair costs caused by sudden faults.
[0063] refer to Figure 3 , Figure 3 This is a flow chart of the second embodiment of the real-time monitoring method for a CNC machine tool of the present application.
[0064] In a feasible implementation manner, the step S10 may include:
[0065] Step S101: acquiring real-time data of the target CNC machine tool through sensors deployed in the target CNC machine tool, wherein the real-time data includes temperature data, vibration frequency data, vibration amplitude data, load force data and rotation speed data.
[0066] It should be noted that the sensors deployed in the target CNC machine tool may include temperature sensors, vibration sensors, load sensors, and speed sensors, etc., which are not limited in this embodiment. These sensors are precisely installed in key parts of the target CNC machine tool, such as the spindle, tool clamping system, feed system, etc., to ensure that real-time data on the machine tool operation status and component wear can be collected.
[0067] Step S102: preprocess the real-time data, and build a digital twin model of the target CNC machine tool based on the preprocessed real-time data.
[0068] In the specific implementation, system architecture design is the basis of digital twin modeling, which ensures smooth data collection, processing and analysis. First, define a layered system architecture, including data acquisition layer, data processing and analysis layer, and user interface layer. The data acquisition layer is responsible for collecting real-time data from the key components of the target CNC machine tool; the data processing and analysis layer uses high-performance servers and cloud computing resources to process and analyze the collected data, build and update the digital twin model; the user interface layer provides operators with intuitive monitoring and early warning information display. Using the collected real-time data, combined with the design parameters and material properties of the CNC machine tool, a high-precision digital twin model is constructed. This step requires professional simulation and modeling tools, such as finite element analysis (FEA), computational fluid dynamics (CFD), and multi-body dynamics (MBD) software to simulate and analyze the behavior and state of the machine tool under actual working conditions. The digital twin model not only reflects the physical characteristics and working principle of the target CNC machine tool, but also can be updated in real time to reflect performance changes caused by wear, load changes or environmental factors. This requires the model to be able to receive and process data from sensors in real time and automatically adjust model parameters to ensure that the model is always synchronized with the status of the actual machine tool.
[0069] In a feasible implementation manner, before step S30, the following may also be included:
[0070] Step S21: inputting time series data into the first preset model to extract high-dimensional features of the time series data, wherein the time series data is sample data arranged in time sequence in a sample CNC machine tool.
[0071] It should be noted that the above high-dimensional features can be used to guide the initialization and dynamic adjustment of the second preset model.
[0072] Step S22: generating initial parameters in the first preset model based on the high-dimensional features, and initializing the second preset model according to the initial parameters.
[0073] In a specific implementation, the initialization process of the second preset model can be described by the following steps. In particular, in this embodiment, for the convenience of illustration, the second preset model can be a long short-term memory network (LSTM) model, and the initialization process of other small models can also be performed in the same manner as the following steps, which will not be described in detail here.
[0074] First, the first preset model receives time series data and extracts high-dimensional features:
[0075]
[0076] in, represents time series data, represents the high-dimensional features extracted by the first preset model, Indicates a large model.
[0077] Then, after obtaining the above high-dimensional features, the initial parameters of the LSTM model can be generated based on the following formula:
[0078]
[0079] in, is the initial parameter of the LSTM model, Generates a function (usually a linear transformation) for large model parameters.
[0080] This embodiment obtains the real-time data of the target CNC machine tool through the sensor deployed in the target CNC machine tool, and the real-time data includes temperature data, vibration frequency data, vibration amplitude data, load force data and speed data; preprocesses the real-time data, and builds the digital twin model of the target CNC machine tool based on the preprocessed real-time data; inputs the time series data into the first preset model to extract the high-dimensional features of the time series data, and the time series data is the sample data arranged in time sequence in the sample CNC machine tool; generates initial parameters based on the high-dimensional features in the first preset model, and initializes the second preset model according to the initial parameters. This embodiment can realize highly accurate monitoring and prediction of the operating status and component wear degree of CNC machine tools by constructing a high-precision digital twin model and combining the deep learning ability of the artificial intelligence large model. Compared with the traditional real-time monitoring method of CNC machine tools, this method combining advanced simulation technology and data analysis can more accurately reflect the actual situation of CNC machine tools, thereby providing more reliable fault warnings and maintenance suggestions.
[0081] refer to Figure 4 , Figure 4 This is a flow chart of the third embodiment of the real-time monitoring method for a CNC machine tool of the present application.
[0082] In a feasible implementation manner, the step S30 may include:
[0083] Step S301: Generate a parameter adjustment amount through the first preset model, and optimize the second preset model according to the parameter adjustment amount to obtain a third preset model.
[0084] Step S302: dynamically fine-tune the third preset model based on the loss change in the process of optimizing the second preset model to the third preset model to obtain an equipment monitoring model.
[0085] It should be understood that in the process of optimizing the second preset model to the third preset model, the output of the second preset model and the true label can be combined to calculate the loss, and the third preset model can be dynamically fine-tuned by back-propagation optimization parameters to obtain the device monitoring model. More specifically, the first preset model can set the loss function of the second preset model to the mean square error based on experience, that is:
[0086]
[0087] in, To predict the loss, For real loss, is the sample size.
[0088] Then, based on The loss change of the reaction is used to update the parameters of the third preset model (back propagation) to achieve dynamic fine-tuning, namely:
[0089]
[0090] in, represents the updated parameters, Indicates the parameters before updating. represents the learning rate, Represents the gradient of the loss function with respect to the LSTM parameters.
[0091] Through the above steps, the large model (i.e., the first preset model) can effectively control and optimize the small model (i.e., the second preset model) to improve its performance in time series prediction tasks. The initial parameters, dynamic adjustment signals, and feature sharing mechanisms provided by the large model enable LSTM to better adapt to complex industrial data and achieve efficient and accurate fault prediction and life prediction.
[0092] In a feasible implementation manner, the step S301 may include:
[0093] Step S3011: extract high-dimensional features of model input data through the first preset model, and obtain the hidden state of the current time step in the second preset model.
[0094] Step S3012: generating parameter adjustment amounts in the first preset model according to the high-dimensional features of the model input data and the hidden state of the current time step.
[0095] In a specific implementation, the above parameter adjustment amount can be generated based on the following formula:
[0096]
[0097]
[0098]
[0099] in, Indicates the parameter adjustment amount, Indicates the current moment parameters, Represents the parameters of the previous moment, represents the adjustment generating function, Represents the high-dimensional features of the model input data, represents the hidden state at the current time step, represents the hidden state at the previous time step, represents the model input data, represents the activation function, Indicates bias.
[0100] In a feasible implementation manner, after step S40, the following may also be included:
[0101] Step S50: If it is determined that there is a device failure in the target CNC machine tool according to the fault prediction result and the life prediction result, an early warning is automatically triggered and a push message is generated.
[0102] It should be understood that in this embodiment, a real-time monitoring and early warning system can be set up, and the deployment of this system is the key last step in the real-time monitoring and life prediction method of CNC machine tool component wear based on digital twin and artificial intelligence big model. This system integrates the precise mapping capability of the digital twin model and the deep analysis capability of the artificial intelligence big model to achieve real-time monitoring, fault warning and life prediction of the status of the CNC machine tool and its components. The architecture design of the real-time monitoring and early warning system needs to consider the real-time performance of the data flow, the stability and scalability of the system, and the architecture usually includes the following levels. Data acquisition layer: responsible for real-time data collection from key components of the CNC machine tool, including but not limited to sensor data such as temperature, vibration, and pressure. Data processing layer: pre-processing (such as cleaning, normalization) and feature extraction of the collected data, and then sending the processed data to the artificial intelligence big model for analysis. Decision-making and early warning layer: based on the analysis results of the artificial intelligence big model, combined with the real-time status of the digital twin model, generate maintenance warning, fault diagnosis and life prediction information. User interface layer: provides an intuitive user interface so that maintenance personnel and operators can view the machine tool status, warning information and prediction results in real time.
[0103] In addition, in real-time monitoring and early warning systems, the design of data flow is crucial. The system needs to be able to handle high-speed incoming data streams and ensure efficient data delivery between layers. Using message queues (such as Kafka or RabbitMQ) as data buffers can effectively manage high-speed data streams and asynchronous processing requirements. Data processing includes real-time data analysis and historical data accumulation analysis. Real-time data analysis focuses on quickly identifying possible anomalies and wear trends, while historical data accumulation analysis is used to optimize and adjust the prediction model to improve its accuracy and reliability.
[0104] Step S60: Send the push information to the user interaction interface, wherein the push information includes the current status of the CNC machine tool, warning information and maintenance suggestions.
[0105] In the specific implementation, reasonable thresholds and warning logic can be set. When the monitored data exceeds the threshold or the model predicts a potential fault, the system will automatically trigger an early warning and notify the maintenance personnel through email, SMS or APP push. The user interaction interface is designed to provide an intuitive and easy-to-understand information display, so that operators and maintenance personnel can quickly obtain the current status of the machine tool, early warning information and maintenance suggestions. The user interaction interface should include real-time data charts, historical trend analysis, early warning logs and visual displays of prediction results. In addition, interactive functions should be provided, such as adjusting the early warning threshold, viewing data and trends in a specific time period, etc. The deployment of the real-time monitoring and early warning system first requires the installation of the necessary hardware on the physical machine tool, including sensors and data acquisition equipment. The software part is deployed on the company's server or cloud platform to ensure the high availability and data security of the system.
[0106] In this embodiment, the high-dimensional features of the model input data are extracted through the first preset model, and the hidden state of the current time step in the second preset model is obtained; in the first preset model, the parameter adjustment amount is generated according to the high-dimensional features of the model input data and the hidden state of the current time step, and the second preset model is optimized according to the parameter adjustment amount to obtain the third preset model; the third preset model is dynamically fine-tuned based on the loss change in the process of optimizing the second preset model to the third preset model to obtain the equipment monitoring model; if it is determined that there is an equipment failure in the target CNC machine tool according to the fault prediction result and the life prediction result, an early warning is automatically triggered and a push message is generated; the push message is sent to the user interaction interface, and the push message includes the current state of the CNC machine tool, early warning information and maintenance suggestions. Compared with the traditional real-time monitoring method of CNC machine tools, the above method of this embodiment can instantly reflect the latest state of the CNC machine tool with the help of real-time data acquisition and processing, as well as the rapid response capability of the artificial intelligence model, and dynamically adjust the preset model according to changes in the environment and use conditions. This not only improves the real-time performance of monitoring and early warning, but also ensures that the system can adapt to changing production conditions and maintain the accuracy of prediction.
[0107] In addition, an embodiment of the present application further proposes a storage medium on which a real-time monitoring program for a CNC machine tool is stored. When the real-time monitoring program for a CNC machine tool is executed by a processor, the steps of the real-time monitoring method for a CNC machine tool as described above are implemented.
[0108] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the real-time monitoring device for a CNC machine tool of the present application.
[0109] like Figure 5 As shown, the real-time monitoring device for a CNC machine tool proposed in the embodiment of the present application includes:
[0110] A first construction module 501 is used to construct a digital twin model of the target CNC machine tool according to the real-time data of the target CNC machine tool;
[0111] A second construction module 502 is used to construct a first preset model based on a pre-trained knowledge base, wherein the pre-trained knowledge base contains normal label data and abnormal label data of a CNC machine tool;
[0112] A model fine-tuning module 503, configured to fine-tune the second preset model using the first preset model to obtain a device monitoring model;
[0113] The real-time monitoring module 504 is used to monitor the digital twin model in real time based on the equipment monitoring model to obtain the fault prediction results and life prediction results of the target CNC machine tool.
[0114] This embodiment constructs a digital twin model of the target CNC machine tool based on the real-time data of the target CNC machine tool; constructs a first preset model based on a pre-trained knowledge base, the pre-trained knowledge base contains normal label data and abnormal label data of the CNC machine tool; fine-tunes the second preset model through the first preset model to obtain a device monitoring model; and monitors the digital twin model in real time based on the device monitoring model to obtain the fault prediction results and life prediction results of the target CNC machine tool. Compared with the traditional real-time monitoring method of CNC machine tools, the above method of this embodiment constructs a digital twin model of the target CNC machine tool, and realizes real-time monitoring of the digital twin model through the device monitoring model obtained based on the first preset model and the second preset model, so as to accurately reflect the real-time status of the target CNC machine tool to identify potential faults in the target CNC machine tool in advance, thereby avoiding production interruptions and high emergency repair costs caused by sudden faults.
[0115] Based on the first embodiment of the real-time monitoring device for a CNC machine tool of the present application, a second embodiment of the real-time monitoring device for a CNC machine tool of the present application is proposed.
[0116] In this embodiment, the first construction module 501 is also used to obtain real-time data of the target CNC machine tool through sensors deployed in the target CNC machine tool, and the real-time data includes temperature data, vibration frequency data, vibration amplitude data, load force data and rotation speed data; perform data preprocessing on the real-time data, and construct a digital twin model of the target CNC machine tool based on the preprocessed real-time data.
[0117] Furthermore, the model fine-tuning module 503 is also used to input time series data into the first preset model to extract high-dimensional features of the time series data, wherein the time series data is sample data arranged in time sequence in the sample CNC machine tool; generate initial parameters in the first preset model based on the high-dimensional features, and initialize the second preset model according to the initial parameters.
[0118] Furthermore, the model fine-tuning module 503 is also used to generate parameter adjustment amounts through the first preset model, and optimize the second preset model according to the parameter adjustment amounts to obtain a third preset model; based on the loss changes in the process of optimizing the second preset model to the third preset model, the third preset model is dynamically fine-tuned to obtain a device monitoring model.
[0119] Furthermore, the model fine-tuning module 503 is also used to extract high-dimensional features of the model input data through the first preset model, and obtain the hidden state of the current time step in the second preset model; and generate parameter adjustment amounts in the first preset model based on the high-dimensional features of the model input data and the hidden state of the current time step.
[0120] Furthermore, the real-time monitoring module 504 is also used to automatically trigger an early warning and generate a push message if it is determined that there is an equipment failure in the target CNC machine tool based on the fault prediction result and the life prediction result; and send the push information to the user interaction interface, and the push information includes the current status of the CNC machine tool, early warning information and maintenance suggestions.
[0121] Other embodiments or specific implementation methods of the real-time monitoring device for CNC machine tools of the present application can refer to the above-mentioned method embodiments, which will not be repeated here.
[0122] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0123] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0125] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A real-time monitoring method for CNC machine tools, It is characterized in that The method comprises the following steps: Building a digital twin model of the target CNC machine tool according to the real-time data of the target CNC machine tool; Building a first preset model based on a pre-trained knowledge base, wherein the pre-trained knowledge base contains normal label data and abnormal label data of the CNC machine tool; The second preset model is fine-tuned by the first preset model to obtain an equipment monitoring model, wherein the second preset model is a small artificial intelligence model for processing CNC machine tool data, and the second preset model is obtained by fine-tuning and training on the basis of the first preset model; Based on the equipment monitoring model, the digital twin model is monitored in real time to obtain a fault prediction result and a life prediction result of the target CNC machine tool; The step of fine-tuning the second preset model by using the first preset model to obtain the equipment monitoring model includes: Generate a parameter adjustment amount through the first preset model, and optimize the second preset model according to the parameter adjustment amount to obtain a third preset model; Dynamically fine-tune the third preset model based on the loss change in the process of optimizing the second preset model to the third preset model to obtain an equipment monitoring model; The step of generating the parameter adjustment amount by using the first preset model includes: Extracting high-dimensional features of model input data through the first preset model, and obtaining the hidden state of the current time step in the second preset model; Generating a parameter adjustment amount in the first preset model according to the high-dimensional features of the model input data and the hidden state of the current time step; The formula for generating the parameter adjustment amount is: in, Indicates the parameter adjustment amount, Indicates the current moment parameters, Represents the parameters of the previous moment, represents the adjustment generating function, Represents the high-dimensional features of the model input data, represents the hidden state at the current time step, represents the hidden state at the previous time step, represents the model input data, represents the activation function, Indicates bias.
2. The real-time monitoring method for a CNC machine tool according to claim 1, It is characterized in that The step of constructing a digital twin model of the target CNC machine tool according to the real-time data of the target CNC machine tool comprises: Acquiring real-time data of the target CNC machine tool through sensors deployed in the target CNC machine tool, wherein the real-time data includes temperature data, vibration frequency data, vibration amplitude data, load force data and rotation speed data; The real-time data is preprocessed, and a digital twin model of the target CNC machine tool is constructed based on the preprocessed real-time data.
3. The real-time monitoring method for a CNC machine tool according to claim 1, It is characterized in that Before the step of fine-tuning the second preset model by using the first preset model to obtain the device monitoring model, the step further includes: Inputting time series data into the first preset model to extract high-dimensional features of the time series data, wherein the time series data is sample data arranged in time sequence in the sample CNC machine tool; Initial parameters are generated in the first preset model based on the high-dimensional features, and the second preset model is initialized according to the initial parameters.
4. The real-time monitoring method for a CNC machine tool according to claim 1, It is characterized in that After the step of monitoring the digital twin model in real time based on the equipment monitoring model to obtain the fault prediction result and life prediction result of the target CNC machine tool, the method further includes: If it is determined that there is a device failure in the target CNC machine tool according to the failure prediction result and the life prediction result, an early warning is automatically triggered and a push message is generated; The push information is sent to a user interaction interface, wherein the push information includes the current status of the CNC machine tool, warning information, and maintenance suggestions.
5. A real-time monitoring device for CNC machine tools, It is characterized in that The real-time monitoring device of the numerically controlled machine tool comprises: A first construction module is used to construct a digital twin model of the target CNC machine tool according to the real-time data of the target CNC machine tool; A second construction module is used to construct a first preset model based on a pre-trained knowledge base, wherein the pre-trained knowledge base contains normal label data and abnormal label data of the CNC machine tool; A model fine-tuning module, used to fine-tune a second preset model through the first preset model to obtain an equipment monitoring model, wherein the second preset model is a small artificial intelligence model for processing CNC machine tool data, and the second preset model is obtained by fine-tuning and training on the basis of the first preset model; A real-time monitoring module, used to monitor the digital twin model in real time based on the equipment monitoring model to obtain a fault prediction result and a life prediction result of the target CNC machine tool; The step of fine-tuning the second preset model by using the first preset model to obtain the equipment monitoring model includes: Generate a parameter adjustment amount through the first preset model, and optimize the second preset model according to the parameter adjustment amount to obtain a third preset model; Dynamically fine-tune the third preset model based on the loss change in the process of optimizing the second preset model to the third preset model to obtain an equipment monitoring model; The step of generating the parameter adjustment amount by using the first preset model includes: Extracting high-dimensional features of model input data through the first preset model, and obtaining the hidden state of the current time step in the second preset model; Generating a parameter adjustment amount in the first preset model according to the high-dimensional features of the model input data and the hidden state of the current time step; The formula for generating the parameter adjustment amount is: in, Indicates the parameter adjustment amount, Indicates the current moment parameters, Represents the parameters of the previous moment, represents the adjustment generating function, Represents the high-dimensional features of the model input data, represents the hidden state at the current time step, represents the hidden state at the previous time step, represents the model input data, represents the activation function, Indicates bias.
6. A real-time monitoring device for CNC machine tools, It is characterized in that The device includes: a memory, a processor, and a real-time monitoring program for a CNC machine tool stored in the memory and capable of running on the processor, wherein the real-time monitoring program for the CNC machine tool is configured to implement the steps of the real-time monitoring method for a CNC machine tool as described in any one of claims 1 to 4.
7. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, on which a real-time monitoring program for a CNC machine tool is stored. When the real-time monitoring program for a CNC machine tool is executed by a processor, the steps of the real-time monitoring method for a CNC machine tool as described in any one of claims 1 to 4 are implemented.
8. A computer program product, It is characterized in that The computer program product comprises a real-time monitoring program for a numerically controlled machine tool, and when the real-time monitoring program for a numerically controlled machine tool is executed by a processor, the steps of the real-time monitoring method for a numerically controlled machine tool as claimed in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Digital twin driven numerically-controlled machine tool cutter monitoring system
CN110900307A
Motion function data processing method and system
CN111724897A
