Equipment failure prediction system and method based on digital twin and Internet of Things technology

Through digital twin and Internet of Things technology combined with deep learning artificial intelligence, the key parameters and vibration signals of CNC machine tools are monitored, which solves the problem of accuracy and real-time performance of CNC machine tool fault prediction, and enables early prediction and preventive measures of potential faults. Downtime and repair costs are reduced.

CN117991752BActive Publication Date: 2024-09-27CHUZHOU MAISHUO TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410124646.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2024-09-27
Estimated Expiration
2044-01-29

AI Technical Summary

Technical Problem

CNC machine tools may malfunction during operation, resulting in production line shutdowns and production delays. Existing manual periodic detection methods cannot accurately predict failures and perform real-time monitoring and early warning.

Method used

An equipment fault prediction system based on digital twin and Internet of Things technology is adopted, and deep learning artificial intelligence technology is used to monitor and analyze the spindle speed value, spindle temperature value, feed speed value, operating power value and vibration signal of CNC machine tools, and through time series characteristics Coding and time-frequency feature extraction are used to determine whether there are abnormalities in the operating status of the machine tool.

Benefits of technology

It can predict potential faults of CNC machine tools in advance, reduce downtime and maintenance costs, and achieve real-time monitoring and early warning of the operating status of machine tools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117991752B
    Figure CN117991752B
Patent Text Reader

Abstract

The present application relates to the field of intelligent prediction technology, and specifically discloses a device fault prediction system and method based on digital twin and Internet of Things technology, which uses artificial intelligence technology based on deep learning to monitor and analyze the spindle speed value, spindle temperature value, feed speed value, operating power value and vibration signal of CNC machine tools during operation, captures the time series feature expression of each monitoring parameter, and judges whether there is an abnormality in the operation state of the CNC machine tool based on the time series correlation characteristics of each monitoring parameter. In this way, potential faults of CNC machine tools can be predicted in advance, so that appropriate maintenance and preventive measures can be taken to reduce downtime and maintenance costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent prediction technology, and more specifically, to an equipment failure prediction system and method based on digital twin and Internet of Things technologies. Background Art

[0002] Computer Numerical Control Machine Tool (CNC machine tool for short) is an automated device that controls the movement and processing of machine tools through a computer control system. It can accurately control the tool to perform cutting, drilling, milling, grinding and other processing operations on the workpiece according to pre-programmed instructions. CNC machine tools are usually composed of a machine tool body, a numerical control system, an execution system and auxiliary equipment. The numerical control system controls the machine tool's motion trajectory, cutting speed, feed speed and other parameters through pre-written programs to achieve precise processing operations. The execution system is responsible for converting the instructions of the numerical control system into actual movement of the machine tool.

[0003] With the continuous development of science and technology, CNC machine tools have become one of the core equipment of modern manufacturing. However, various failures may occur in CNC machine tools during operation, resulting in production line shutdowns and production delays, which in turn affect production plans and product delivery times. Therefore, it is usually necessary for staff to regularly inspect and maintain machine tools. However, this manual regular inspection method may result in misjudgment and missed judgments when facing a complex and changeable operating environment, and cannot accurately predict equipment failures. In addition, this method cannot monitor and warn the operating status of the equipment in real time.

[0004] Therefore, we look forward to an equipment failure prediction system and method based on digital twin and Internet of Things technologies. Summary of the invention

[0005] In order to solve the above technical problems, this application is proposed. The embodiment of the present application provides an equipment fault prediction system and method based on digital twin and Internet of Things technology, which uses artificial intelligence technology based on deep learning to monitor and analyze the spindle speed value, spindle temperature value, feed speed value, operating power value and vibration signal of the CNC machine tool during operation, captures the time series feature expression of each monitoring parameter, and judges whether there is an abnormality in the operation status of the CNC machine tool based on the time series correlation characteristics of each monitoring parameter. In this way, the potential failure of the CNC machine tool can be predicted in advance, so that appropriate maintenance and preventive measures can be taken to reduce downtime and maintenance costs.

[0006] Accordingly, according to one aspect of the present application, there is provided an equipment failure prediction system based on digital twin and Internet of Things technology, which includes:

[0007] A CNC machine tool operation monitoring module is used to obtain a plurality of operation parameter data at a plurality of predetermined time points within a predetermined time period when the CNC machine tool is running and a vibration signal of the predetermined time period, wherein the plurality of operation parameter data include a spindle speed value, a spindle temperature value, a feed speed value, and an operation power value;

[0008] An operating parameter time-series encoding module, used for respectively performing time-series encoding on the plurality of operating parameter data to obtain a plurality of CNC machine tool operating parameter feature vectors;

[0009] A vibration feature extraction module, used to extract the time-frequency features of the vibration signal in the predetermined time period to obtain a vibration signal time-frequency feature vector;

[0010] The fault detection module is used to determine whether there is an abnormality in the operation state of the CNC machine tool based on the global correlation characteristics between the multiple CNC machine tool operation parameter feature vectors and the vibration signal time-frequency feature vector.

[0011] In the above-mentioned equipment fault prediction system based on digital twin and Internet of Things technology, the operating parameter timing encoding module includes: an operating parameter timing arrangement unit, which is used to arrange the multiple operating parameter data of the multiple predetermined time points in chronological order to obtain multiple CNC machine tool operating parameter vectors; a timing feature extraction unit, which is used to pass the multiple CNC machine tool operating parameter vectors through an operating parameter timing encoder based on a one-dimensional convolutional layer to obtain the multiple CNC machine tool operating parameter feature vectors.

[0012] In the above-mentioned equipment fault prediction system based on digital twin and Internet of Things technology, the vibration feature extraction module includes: a time-frequency graph conversion unit, used to calculate the SIFT transformed time-frequency graph of the vibration signal; a time-frequency feature extraction unit, used to pass the SIFT transformed time-frequency graph through a vibration feature extractor based on a convolutional neural network model to obtain the vibration signal time-frequency feature vector.

[0013] In the above-mentioned equipment fault prediction system based on digital twin and Internet of Things technology, the fault detection module includes: a global association unit, which is used to perform global context association encoding on the multiple CNC machine tool operating parameter vectors and the vibration signal time-frequency feature vectors to obtain a global association feature vector of the CNC machine tool operating status; a classification unit, which is used to pass the global association feature vector of the CNC machine tool operating status through a classifier to obtain a classification result, and the classification result is used to indicate whether there is an abnormality in the operating status of the CNC machine tool.

[0014] In the above-mentioned equipment fault prediction system based on digital twin and Internet of Things technology, the global association unit is used to: pass the multiple CNC machine tool operating parameter vectors and the vibration signal time-frequency feature vectors through a converter-based context encoder to obtain the CNC machine tool operating state global association feature vector.

[0015] In the above-mentioned equipment fault prediction system based on digital twin and Internet of Things technology, the classification unit is used to: use the classifier to process the global correlation feature vector of the CNC machine tool operation state with the following classification formula to obtain the classification result; wherein the classification formula is:

[0016] O=softmax{(W n ,B n ):…:(W1,B1)|X}

[0017] Among them, W1 to W n is the weight matrix, B1 to B n is a bias vector, X is a global correlation feature vector of the CNC machine tool operation state, softmax represents a normalized exponential function, and O represents the classification result.

[0018] In the above-mentioned equipment fault prediction system based on digital twin and Internet of Things technology, it also includes a training module for training the operating parameter timing encoder based on the one-dimensional convolution layer, the vibration feature extractor based on the convolutional neural network model, the converter-based context encoder and the classifier.

[0019] In the above-mentioned equipment fault prediction system based on digital twin and Internet of Things technology, the training module includes: a training data acquisition unit, used to acquire training data, the training data includes a plurality of training operation parameter data at a plurality of predetermined time points within a predetermined time period when the CNC machine tool is running and a training vibration signal of the predetermined time period, the plurality of training operation parameter data includes a training spindle speed value, a training spindle temperature value, a training feed speed value, and a training operation power value; a training operation parameter arrangement unit, used to arrange the plurality of training operation parameter data at the plurality of predetermined time points in chronological order into a plurality of training CNC machine tool operation parameter vectors; a training operation parameter timing encoding unit, used to pass the plurality of training CNC machine tool operation parameter vectors through the operation parameter timing encoder based on the one-dimensional convolution layer to obtain a plurality of training CNC machine tool operation parameter feature vectors; a training vibration signal time-frequency graph conversion unit, used to calculate the training SIFT transform time-frequency graph of the training vibration signal; a training vibration signal time-frequency feature extraction unit, used to convert The training SIFT transformed time-frequency graph is passed through the vibration feature extractor based on the convolutional neural network model to obtain a training vibration signal time-frequency feature vector; a training data global association unit is used to pass the multiple training CNC machine tool operating parameter vectors and the training vibration signal time-frequency feature vector through the converter-based context encoder to obtain a training CNC machine tool operating state global association feature vector; a classification loss unit is used to pass the training CNC machine tool operating state global association feature vector through the classifier to obtain a classification loss function value; a loss compensation unit is used to calculate the high-dimensional space internal element correlation derivative metric coefficient of the training CNC machine tool operating state global association feature vector as a compensation loss function value; a training unit is used to train the one-dimensional convolutional layer-based operating parameter time series encoder, the convolutional neural network model-based vibration feature extractor, the converter-based context encoder and the classifier using the weighted sum of the classification loss function value and the compensation loss function value as the loss function value.

[0020] In the above-mentioned equipment fault prediction system based on digital twin and Internet of Things technology, the loss compensation unit is used to calculate the correlation derivative metric coefficient of the internal elements of the high-dimensional space of the global correlation feature vector of the training CNC machine tool operation state as the compensation loss function value using the following correlation derivative metric formula; wherein the correlation derivative metric formula is:

[0021]

[0022] Among them, V c represents the global correlation feature vector of the training CNC machine tool operation state, f irepresents the eigenvalue of the global correlation feature vector of the training CNC machine tool operating state, p represents the probability value of the global correlation feature vector of the training CNC machine tool operating state obtained by the pre-classifier, ||·|| F represents the Frobenius norm of the vector, and Loss represents the derived metric coefficient of the correlation of the internal elements of the high-dimensional space.

[0023] According to another aspect of the present application, a method for predicting equipment failure based on digital twin and Internet of Things technology is provided, which includes:

[0024] Acquire multiple operating parameter data at multiple predetermined time points within a predetermined time period when the CNC machine tool is running and a vibration signal of the predetermined time period, wherein the multiple operating parameter data include a spindle speed value, a spindle temperature value, a feed speed value, and an operating power value;

[0025] Performing time series coding on the plurality of operation parameter data respectively to obtain a plurality of CNC machine tool operation parameter feature vectors;

[0026] Extracting the time-frequency features of the vibration signal in the predetermined time period to obtain a time-frequency feature vector of the vibration signal;

[0027] Based on the global correlation characteristics between the multiple CNC machine tool operating parameter feature vectors and the vibration signal time-frequency feature vector, it is determined whether the CNC machine tool operating state is abnormal.

[0028] Compared with the prior art, the equipment fault prediction system and method based on digital twin and Internet of Things technology provided by this application uses artificial intelligence technology based on deep learning to monitor and analyze the spindle speed value, spindle temperature value, feed speed value, operating power value and vibration signal of the CNC machine tool during operation, captures the time series feature expression of each monitoring parameter, and judges whether there is an abnormality in the operation state of the CNC machine tool based on the time series correlation characteristics of each monitoring parameter. In this way, the potential faults of the CNC machine tool can be predicted in advance, so that appropriate maintenance and preventive measures can be taken to reduce downtime and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0030] Figure 1 It is a block diagram of an equipment fault prediction system based on digital twin and Internet of Things technology according to an embodiment of the present application.

[0031] Figure 2 Schematic diagram of the architecture of an equipment fault prediction system based on digital twin and Internet of Things technologies according to an embodiment of the present application.

[0032] Figure 3 This is a block diagram of an operating parameter timing encoding module in a device fault prediction system based on digital twin and Internet of Things technologies according to an embodiment of the present application.

[0033] Figure 4 It is a block diagram of a vibration feature extraction module in an equipment fault prediction system based on digital twin and Internet of Things technology according to an embodiment of the present application.

[0034] Figure 5 It is a block diagram of a fault detection module in a device fault prediction system based on digital twin and Internet of Things technology according to an embodiment of the present application.

[0035] Figure 6 It is a block diagram of a training module in a device fault prediction system based on digital twin and Internet of Things technology according to an embodiment of the present application.

[0036] Figure 7 This is a flowchart of a method for predicting equipment failure based on digital twin and Internet of Things technologies according to an embodiment of the present application. DETAILED DESCRIPTION

[0037] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0038] Figure 1 It is a block diagram of an equipment fault prediction system based on digital twin and Internet of Things technology according to an embodiment of the present application. Figure 2 FIG. 1 is a schematic diagram of the architecture of a device failure prediction system based on digital twin and Internet of Things technology according to an embodiment of the present application. Figure 1 and Figure 2As shown, according to the embodiment of the present application, the equipment fault prediction system 100 based on digital twin and Internet of Things technology includes: a CNC machine tool operation monitoring module 110, which is used to obtain a plurality of operating parameter data at multiple predetermined time points within a predetermined time period when the CNC machine tool is running and the vibration signal of the predetermined time period, wherein the plurality of operating parameter data include a spindle speed value, a spindle temperature value, a feed speed value, and an operating power value; an operating parameter timing encoding module 120, which is used to perform timing encoding on the plurality of operating parameter data respectively to obtain a plurality of CNC machine tool operating parameter feature vectors; a vibration feature extraction module 130, which is used to extract the time-frequency features of the vibration signal of the predetermined time period to obtain a vibration signal time-frequency feature vector; a fault detection module 140, which is used to determine whether there is an abnormality in the operation state of the CNC machine tool based on the global correlation features between the plurality of CNC machine tool operating parameter feature vectors and the vibration signal time-frequency feature vectors.

[0039] As mentioned in the background technology above, various failures may occur during the operation of CNC machine tools, resulting in production line shutdowns and production delays, which in turn affect production plans and product delivery times. Therefore, it is usually necessary for staff to regularly inspect and maintain machine tools. However, this manual regular inspection method may result in misjudgments and missed judgments when faced with a complex and changeable operating environment, and cannot accurately predict equipment failures. In addition, this manual inspection method cannot monitor and warn the operating status of the equipment in real time.

[0040] In response to the above technical problems, the technical concept of this application is to use artificial intelligence technology based on deep learning to monitor and analyze the spindle speed value, spindle temperature value, feed speed value, operating power value and vibration signal of the CNC machine tool during operation, capture the time series feature expression of each monitoring parameter, and judge whether there is an abnormality in the operation state of the CNC machine tool based on the time series correlation characteristics of each monitoring parameter. In this way, potential failures of the CNC machine tool can be predicted in advance so that appropriate maintenance and preventive measures can be taken to reduce downtime and maintenance costs.

[0041] In the above-mentioned equipment fault prediction system 100 based on digital twin and Internet of Things technology, the CNC machine tool operation monitoring module 110 is used to obtain multiple operating parameter data at multiple predetermined time points within a predetermined time period and the vibration signal of the predetermined time period when the CNC machine tool is running, and the multiple operating parameter data include spindle speed value, spindle temperature value, feed speed value, and operating power value. It should be understood that the spindle speed is an important operating parameter in the CNC machine tool, which reflects the rotation speed of the spindle. Abnormal spindle speed may mean spindle bearing wear, poor lubrication or other mechanical problems. Spindle temperature refers to the operating temperature of the spindle of the CNC machine tool. Excessive spindle temperature may indicate a cooling system failure, poor lubrication or a cutting fluid supply problem. By monitoring the spindle temperature, potential fault conditions can be discovered in time to avoid damage to the machine tool due to overheating. Feed speed is the moving speed of the workpiece relative to the tool in the CNC machine tool during the machining process. Abnormal feed speed may cause a decrease in cutting quality, damage to the workpiece or wear of the tool. Operating power refers to the electrical energy consumed by the CNC machine tool during operation. Abnormal operating power may indicate that the machine tool has load imbalance, motor failure or other electrical problems. By monitoring the changes in operating power, abnormal conditions in the electrical system can be detected in time to avoid machine shutdown or damage due to electrical failure. Vibration signal is a commonly used signal for monitoring the status of machine tools. It can reflect the stability of the machine tool structure and the dynamic characteristics during the cutting process. By analyzing the vibration signal, information such as the vibration frequency, amplitude and vibration mode of the machine tool can be detected to determine whether the machine tool has abnormalities, such as looseness, wear, tool collision and other problems. In other words, by monitoring multiple operating parameters and vibration signals during the operation of CNC machine tools, comprehensive machine tool status information can be obtained, which helps to build an accurate fault prediction system and realize real-time monitoring and abnormality detection of the machine tool operation status.

[0042] In the above-mentioned equipment fault prediction system 100 based on digital twin and Internet of Things technology, the operating parameter time series encoding module 120 is used to perform time series encoding on the multiple operating parameter data to obtain multiple CNC machine tool operating parameter feature vectors. Specifically, Figure 3 FIG. 1 is a block diagram of an operation parameter timing encoding module in a device fault prediction system based on digital twin and Internet of Things technology according to an embodiment of the present application. Figure 3 As shown, the operating parameter timing encoding module 120 includes: an operating parameter timing arrangement unit 121, which is used to arrange the multiple operating parameter data of the multiple predetermined time points in time order to obtain multiple CNC machine operating parameter vectors; a timing feature extraction unit 122, which is used to pass the multiple CNC machine operating parameter vectors through an operating parameter timing encoder based on a one-dimensional convolutional layer to obtain the multiple CNC machine operating parameter feature vectors.

[0043] Specifically, the operating parameter time sequence arrangement unit 121 is used to arrange the multiple operating parameter data of the multiple predetermined time points in time order to obtain multiple CNC machine tool operating parameter vectors. It should be understood that the operating parameters of the machine tool usually have time sequence correlation, that is, the parameter value at the current moment may be related to the parameter value at the previous moment or before. By arranging the multiple operating parameter data of the multiple predetermined time points in time order, this time sequence correlation feature can be retained, so that the model can learn the dynamic change pattern between the parameter values, and then capture the change trend, periodic change or other time sequence pattern of the parameter value, so as to identify the abnormal pattern related to the machine tool failure. For example, if a parameter value shows abnormal fluctuation or mutation in time, it may mean that the machine tool has a fault or abnormal situation. In other words, by arranging the various operating parameter data in time order, it is easy to capture the time sequence characteristics of the machine tool operation state in the subsequent data analysis process, thereby providing more accurate input data for subsequent fault prediction and abnormality detection.

[0044] Specifically, the time series feature extraction unit 122 is used to pass the multiple CNC machine tool operating parameter vectors through the operating parameter time series encoder based on the one-dimensional convolution layer to obtain the multiple CNC machine tool operating parameter feature vectors. It should be understood that the one-dimensional convolution layer is a convolutional neural network layer commonly used in deep learning, and is usually used to process data with a time series structure. In the technical solution of the present application, the CNC machine tool operating parameter vector is input into the operating parameter time series encoder based on the one-dimensional convolution layer, and the operating parameter time series encoder can use the local perception ability of the one-dimensional convolution layer to capture the local pattern in the CNC machine tool operating parameter vector. Specifically, the one-dimensional convolution layer extracts local features from different parts of the CNC machine tool operating parameter vector by sliding a learnable convolution kernel (filter) on the CNC machine tool operating parameter vector, and learns the local dependency and time series pattern between the parameter values, so as to better capture the time series relationship and change pattern between the parameter values, and provide more informative feature representation for subsequent fault prediction and anomaly detection.

[0045] In the above-mentioned equipment fault prediction system 100 based on digital twin and Internet of Things technology, the vibration feature extraction module 130 is used to extract the time-frequency features of the vibration signal in the predetermined time period to obtain the vibration signal time-frequency feature vector. Specifically, Figure 4 FIG. 1 is a block diagram of a vibration feature extraction module in a device fault prediction system based on digital twin and Internet of Things technology according to an embodiment of the present application. Figure 4As shown, the vibration feature extraction module 130 includes: a time-frequency diagram conversion unit 131, which is used to calculate the SIFT transformed time-frequency diagram of the vibration signal; and a time-frequency feature extraction unit 132, which is used to pass the SIFT transformed time-frequency diagram through a vibration feature extractor based on a convolutional neural network model to obtain the time-frequency feature vector of the vibration signal.

[0046] Specifically, the time-frequency graph conversion unit 131 is used to calculate the SIFT transformed time-frequency graph of the vibration signal. It should be understood that different mechanical faults usually produce specific patterns or features in the time domain and frequency domain of the vibration signal, such as changes in spectrum peaks, offsets of frequency components, etc. Therefore, in order to more comprehensively describe the characteristics of the vibration signal, the time-frequency feature representation of the vibration signal is further extracted. Since the SIFT transform analyzes the signal at different scales and frequencies, it can capture the local structure and frequency distribution of the signal. Therefore, by calculating the SIFT transformed time-frequency graph of the vibration signal, a set of feature points with good robustness and invariance can be obtained, which are used to describe the significant time-frequency characteristics of the vibration signal, thereby more comprehensively characterizing the time-frequency characteristics of the vibration signal, understanding the operating status of the machine tool, and providing valuable input data for subsequent fault diagnosis and prediction.

[0047] Specifically, the time-frequency feature extraction unit 132 is used to pass the SIFT transform time-frequency graph through a vibration feature extractor based on a convolutional neural network model to obtain the vibration signal time-frequency feature vector. It should be understood that, considering that the SIFT transform time-frequency graph has a high dimension and a complex structure, directly using the SIFT transform time-frequency graph as the time-frequency feature representation of the vibration signal may result in too high a feature dimension, which increases the computational complexity. Therefore, the SIFT transform time-frequency graph is converted into a more compact and informative feature vector representation by using a feature extractor based on a convolutional neural network. Here, the convolutional neural network can learn the important time-frequency features in the SIFT transform time-frequency graph through convolution and pooling operations, filter out irrelevant redundant features, and extract more abstract and representative feature representations, thereby better representing the essence of the vibration signal, improving the expressiveness and discrimination capabilities of the features, and reducing the feature dimensions, storage space and computational costs.

[0048] In a specific example of the present application, the time-frequency feature extraction unit 132 is used to: use each layer of the vibration feature extractor based on the convolutional neural network model to perform convolution processing based on a two-dimensional convolution kernel, global mean pooling processing based on each feature matrix of the channel dimension, and nonlinear activation processing on the input data in the forward transfer of the layer so that the last layer of the vibration feature extractor based on the convolutional neural network model outputs the time-frequency feature vector of the vibration signal.

[0049] In the above-mentioned equipment fault prediction system 100 based on digital twin and Internet of Things technology, the fault detection module 140 is used to determine whether there is an abnormality in the operation state of the CNC machine tool based on the global correlation characteristics between the multiple CNC machine tool operation parameter feature vectors and the vibration signal time-frequency feature vectors. Specifically, Figure 5 FIG. 1 is a block diagram of a fault detection module in a device fault prediction system based on digital twin and Internet of Things technology according to an embodiment of the present application. Figure 5 As shown, the fault detection module 140 includes: a global association unit 141, which is used to perform global context association encoding on the multiple CNC machine tool operating parameter vectors and the vibration signal time-frequency feature vector to obtain a global association feature vector of the CNC machine tool operating state; a classification unit 142, which is used to pass the global association feature vector of the CNC machine tool operating state through a classifier to obtain a classification result, and the classification result is used to indicate whether there is an abnormality in the CNC machine tool operating state.

[0050] Specifically, the global association unit 141 is used to perform global context association encoding on the multiple CNC machine tool operating parameter vectors and the vibration signal time-frequency feature vector to obtain a global correlation feature vector of the CNC machine tool operating state. It should be understood that the operating state of the CNC machine tool can be composed of information from multiple aspects, including the multiple operating parameters and the vibration signal. A more comprehensive and accurate machine tool state representation can be provided by fusing these different types of operating features. In a specific example of the present application, the encoding method of performing global context association encoding on the multiple CNC machine tool operating parameter vectors and the vibration signal time-frequency feature vector to obtain a global correlation feature vector of the CNC machine tool operating state is to pass the multiple CNC machine tool operating parameter vectors and the vibration signal time-frequency feature vector through a converter-based context encoder to obtain the global correlation feature vector of the CNC machine tool operating state. Here, by using a converter-based context encoder to model the multiple CNC machine tool operating parameter vectors and the vibration signal time-frequency feature vectors, the powerful long-distance dependency modeling capability of the converter model can be utilized to learn the association and dependency between different operating parameter features, capture the contextual relationship and dependency relationship in the input data, and thus obtain a more expressive global correlation feature representation of the CNC machine tool operating status, thereby more accurately describing the operating status of the machine tool.

[0051] Specifically, the classification unit 142 is used to pass the global correlation feature vector of the running state of the CNC machine tool through the classifier to obtain a classification result, and the classification result is used to indicate whether the running state of the CNC machine tool is abnormal. It should be understood that by training the classifier, it can learn the characteristic pattern difference between the normal running state and the abnormal running state of the CNC machine tool, so that the running state of the machine tool can be accurately detected. That is, by inputting the global correlation feature vector of the running state of the CNC machine tool into the trained classifier, the classifier can classify the global correlation feature vector of the running state of the CNC machine tool by using the association law between different CNC machine tool running state features and running state type labels learned during the training process, and obtain a classification result for indicating whether the running state of the CNC machine tool is abnormal. In this way, when the classifier determines that the running state of the machine tool is abnormal, it can automatically trigger the corresponding alarm system or maintenance process, so as to take measures to troubleshoot and repair the fault in time, thereby improving the efficiency and response speed of fault handling, and reducing the downtime and production loss of the production line.

[0052] In a specific example of the present application, the classification unit 142 is used to: use the classifier to process the global correlation feature vector of the CNC machine tool operation state using the following classification formula to obtain the classification result; wherein the classification formula is:

[0053] O=softmax{(W n ,B n ):…:(W1,B1)|X}

[0054] Among them, W1 to W n is the weight matrix, B1 to B n is a bias vector, X is a global correlation feature vector of the CNC machine tool operation state, softmax represents a normalized exponential function, and O represents the classification result.

[0055] It should be understood that before using the above-mentioned neural network model, it is necessary to train the operating parameter timing encoder based on the one-dimensional convolution layer, the vibration feature extractor based on the convolution neural network model, the converter-based context encoder and the classifier. That is to say, in the equipment fault prediction system based on digital twin and Internet of Things technology of the present application, it also includes a training module for training the operating parameter timing encoder based on the one-dimensional convolution layer, the vibration feature extractor based on the convolution neural network model, the converter-based context encoder and the classifier.

[0056] Figure 6It is a block diagram of a training module in an equipment fault prediction system based on digital twin and Internet of Things technology according to an embodiment of the present application. In the above-mentioned equipment fault prediction system based on digital twin and Internet of Things technology, the training module 200 includes: a training data acquisition unit 210, which is used to acquire training data, and the training data includes a plurality of training operation parameter data at a plurality of predetermined time points within a predetermined time period when the CNC machine tool is running and a training vibration signal of the predetermined time period, and the plurality of training operation parameter data includes a training spindle speed value, a training spindle temperature value, a training feed speed value, and a training operation power value; a training operation parameter arrangement unit 220, which is used to arrange the plurality of training operation parameter data at the plurality of predetermined time points in time order into a plurality of training CNC machine tool operation parameter vectors; a training operation parameter timing encoding unit 230, which is used to pass the plurality of training CNC machine tool operation parameter vectors through the operation parameter timing encoder based on the one-dimensional convolution layer to obtain a plurality of training CNC machine tool operation parameter feature vectors; a training vibration signal time-frequency graph conversion unit 240, which is used to calculate the training SIFT transform time-frequency graph of the training vibration signal; a training vibration signal time-frequency feature extraction unit 250, Used to pass the training SIFT transformed time-frequency graph through the vibration feature extractor based on the convolutional neural network model to obtain a training vibration signal time-frequency feature vector; a training data global association unit 260, used to pass the multiple training CNC machine tool operating parameter vectors and the training vibration signal time-frequency feature vector through the converter-based context encoder to obtain a training CNC machine tool operating state global association feature vector; a classification loss unit 270, used to pass the training CNC machine tool operating state global association feature vector through the classifier to obtain a classification loss function value; a loss compensation unit 280, used to calculate the high-dimensional space internal element correlation derivative metric coefficient of the training CNC machine tool operating state global association feature vector as a compensation loss function value; a training unit 290, used to train the one-dimensional convolutional layer-based operating parameter time series encoder, the convolutional neural network model-based vibration feature extractor, the converter-based context encoder and the classifier using the weighted sum of the classification loss function value and the compensation loss function value as the loss function value.

[0057] In the technical solution of the present application, the global correlation feature vector of the running state of the training CNC machine tool is obtained by feature fusion of multiple training CNC machine tool operating parameter feature vectors and training vibration signal time-frequency feature maps. However, due to the poor correlation of the internal elements of the global correlation feature vector of the running state of the training CNC machine tool, the following problems will occur. First, the internal elements with poor correlation will cause the structural instability of the overall feature distribution of the global correlation feature vector of the running state of the training CNC machine tool. In the classification task, a stable feature distribution is very important for both model training and inference. If the structure of the feature vector is unstable, it is difficult for the model to learn effective feature representations from it, thereby affecting the accuracy of the classification results. Secondly, due to the poor correlation of the internal elements, the global correlation feature vector of the running state of the training CNC machine tool may have local structural collapse. Local structural collapse refers to the relationship between certain elements in the feature vector becoming blurred or lost, resulting in the model being unable to accurately capture these relationships. This will cause confusion or errors in the classifier when making classification decisions, thereby affecting the accuracy of the classification results. That is, the poor correlation of the internal elements of the global correlation feature vector of the training CNC machine tool operating state will affect the structural stability of its overall feature distribution, and may also cause local structural collapse, thereby affecting the accuracy of the classification results obtained by the classifier. In order to solve this problem, the correlation-derived metric coefficient of the high-dimensional space internal elements of the global correlation feature vector of the training CNC machine tool operating state is calculated as the compensation loss function value to improve the classification adaptability of the feature vector.

[0058] Specifically, the loss compensation unit 280 is used to calculate the correlation derivative metric coefficient of the internal element of the high-dimensional space of the global correlation feature vector of the training CNC machine tool operation state as the compensation loss function value using the following correlation derivative metric formula; wherein the correlation derivative metric formula is:

[0059]

[0060] Among them, V c represents the global correlation feature vector of the training CNC machine tool operation state, f i represents the eigenvalue of the global correlation feature vector of the training CNC machine tool operating state, p represents the probability value of the global correlation feature vector of the training CNC machine tool operating state obtained by the pre-classifier, ||·|| F represents the Frobenius norm of the vector, and Loss represents the derived metric coefficient of the correlation of the internal elements of the high-dimensional space.

[0061] That is, considering that the correlation of the internal elements of the global correlation feature vector of the training CNC machine tool operating state is poor, it will not only affect the structural stability of the overall feature distribution of the global correlation feature vector of the training CNC machine tool operating state, but also cause the local structural collapse of the global correlation feature vector of the training CNC machine tool operating state, affecting the accuracy of the classification result obtained by the classifier. In response to the above technical problems, in the technical solution of the present application, the high-dimensional space internal element correlation derivative metric coefficient of the global correlation feature vector of the training CNC machine tool operating state is calculated as the compensation loss function value, which constructs a compensation loss function based on the scattering response of the eigenvalue position relative to the label probability value, which can effectively measure the confidence of the internal elements in the feature vector for the target class probability label domain, so that the eigenvalue of each position in the feature vector can maintain consistency with the label probability value in its sub-dimension, thereby realizing the distribution adjustment of the internal elements of the feature vector, making it more in line with the requirements of the target class probability label domain, and improving the classification adaptability of the feature vector.

[0062] In summary, the equipment fault prediction system based on digital twin and Internet of Things technology according to the embodiment of the present application is explained, which uses artificial intelligence technology based on deep learning to monitor and analyze the spindle speed value, spindle temperature value, feed speed value, operating power value and vibration signal of the CNC machine tool during operation, captures the time series feature expression of each monitoring parameter, and judges whether there is an abnormality in the operation state of the CNC machine tool based on the time series correlation characteristics of each monitoring parameter. In this way, the potential faults of the CNC machine tool can be predicted in advance, so that appropriate maintenance and preventive measures can be taken to reduce downtime and maintenance costs.

[0063] Figure 7 Flowchart of a device fault prediction method based on digital twin and Internet of Things technology according to an embodiment of the present application. Figure 7 As shown, according to the equipment fault prediction method based on digital twin and Internet of Things technology of the embodiment of the present application, the steps include: S110, obtaining a plurality of operating parameter data of a plurality of predetermined time points within a predetermined time period and a vibration signal of the predetermined time period when the CNC machine tool is running, the plurality of operating parameter data including a spindle speed value, a spindle temperature value, a feed speed value, and an operating power value; S120, respectively performing time series encoding on the plurality of operating parameter data to obtain a plurality of CNC machine tool operating parameter feature vectors; S130, extracting the time-frequency characteristics of the vibration signal of the predetermined time period to obtain a vibration signal time-frequency feature vector; S140, determining whether there is an abnormality in the operating state of the CNC machine tool based on the global correlation characteristics between the plurality of CNC machine tool operating parameter feature vectors and the vibration signal time-frequency feature vector.

[0064] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned equipment failure prediction method based on digital twin and Internet of Things technology have been referred to above. Figures 1 to 6 The description of the equipment failure prediction system based on digital twin and Internet of Things technology has been introduced in detail, and therefore, its repeated description will be omitted.

[0065] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments. In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the module division is only a logical function division, and there may be other division methods in actual implementation. The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0066] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0067] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference to a figure in a claim should not be considered as limiting the claim to which it relates.

[0068] In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units stated in the system claims can also be implemented by one unit through software or hardware.

[0069] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. An equipment failure prediction system based on digital twin and Internet of Things technology, characterized in that: include: A CNC machine tool operation monitoring module is used to obtain a plurality of operation parameter data at a plurality of predetermined time points within a predetermined time period when the CNC machine tool is running and a vibration signal of the predetermined time period, wherein the plurality of operation parameter data include a spindle speed value, a spindle temperature value, a feed speed value, and an operation power value; An operating parameter time-series encoding module, used for respectively performing time-series encoding on the plurality of operating parameter data to obtain a plurality of CNC machine tool operating parameter feature vectors; A vibration feature extraction module, used to extract the time-frequency features of the vibration signal in the predetermined time period to obtain a vibration signal time-frequency feature vector; A fault detection module, used to determine whether there is an abnormality in the operation state of the CNC machine tool based on the global correlation characteristics between the plurality of CNC machine tool operation parameter feature vectors and the vibration signal time-frequency feature vector; Wherein, the operating parameter timing encoding module includes: An operating parameter time sequence arrangement unit, used for arranging the multiple operating parameter data at the multiple predetermined time points in time sequence to obtain multiple CNC machine tool operating parameter vectors; A time series feature extraction unit, used for respectively passing the plurality of CNC machine tool operating parameter vectors through an operating parameter time series encoder based on a one-dimensional convolutional layer to obtain the plurality of CNC machine tool operating parameter feature vectors; Wherein, the vibration feature extraction module includes: A time-frequency diagram conversion unit, used for calculating a SIFT-transformed time-frequency diagram of the vibration signal; A time-frequency feature extraction unit, used for passing the SIFT transformed time-frequency graph through a vibration feature extractor based on a convolutional neural network model to obtain a time-frequency feature vector of the vibration signal; Wherein, the fault detection module comprises: A global association unit, used for performing global context association coding on the multiple CNC machine tool operating parameter vectors and the vibration signal time-frequency feature vector to obtain a CNC machine tool operating state global association feature vector; A classification unit, used for passing the global correlation feature vector of the operation state of the numerical control machine tool through a classifier to obtain a classification result, wherein the classification result is used to indicate whether the operation state of the numerical control machine tool is abnormal; Wherein, the global association unit is used to: The plurality of CNC machine tool operation parameter vectors and the vibration signal time-frequency feature vector are passed through a converter-based context encoder to obtain a global correlation feature vector of the CNC machine tool operation state; The method further includes a training module for training an operating parameter timing encoder based on a one-dimensional convolutional layer, a vibration feature extractor based on a convolutional neural network model, a converter-based context encoder, and a classifier; Wherein, the training module includes: A training data acquisition unit, used to acquire training data, wherein the training data includes a plurality of training operation parameter data at a plurality of predetermined time points within a predetermined time period when the numerical control machine tool is running and a training vibration signal of the predetermined time period, wherein the plurality of training operation parameter data includes a training spindle speed value, a training spindle temperature value, a training feed speed value, and a training operation power value; A training operation parameter arrangement unit, used for arranging the plurality of training operation parameter data at the plurality of predetermined time points into a plurality of training CNC machine tool operation parameter vectors in chronological order; A training operation parameter timing encoding unit, used for respectively passing the plurality of training CNC machine tool operation parameter vectors through the operation parameter timing encoder based on the one-dimensional convolution layer to obtain a plurality of training CNC machine tool operation parameter feature vectors; A training vibration signal time-frequency diagram conversion unit, used to calculate a training SIFT transformed time-frequency diagram of the training vibration signal; A training vibration signal time-frequency feature extraction unit, used for passing the training SIFT transformed time-frequency graph through the vibration feature extractor based on the convolutional neural network model to obtain a training vibration signal time-frequency feature vector; A training data global association unit, used for passing the plurality of training CNC machine tool operating parameter vectors and the training vibration signal time-frequency feature vector through the converter-based context encoder to obtain a training CNC machine tool operating state global association feature vector; A classification loss unit, used for passing the global correlation feature vector of the training CNC machine tool operation state through the classifier to obtain a classification loss function value; A loss compensation unit, used for calculating the correlation-derived metric coefficient of the internal elements of the high-dimensional space of the global correlation feature vector of the training CNC machine tool operation state as a compensation loss function value; A training unit, configured to train the one-dimensional convolutional layer-based operating parameter timing encoder, the convolutional neural network model-based vibration feature extractor, the converter-based context encoder, and the classifier by taking the weighted sum of the classification loss function value and the compensation loss function value as the loss function value; Wherein, the loss compensation unit is used to: calculate the correlation derivative metric coefficient of the internal elements of the high-dimensional space of the global correlation feature vector of the training CNC machine tool operation state as the compensation loss function value by using the following correlation derivative metric formula; The correlation derived measurement formula is: in, represents the global correlation feature vector of the training CNC machine tool operation state, represents the eigenvalue of the global correlation eigenvector of the training CNC machine tool operation state, represents the probability value obtained by the pre-classifier of the global correlation feature vector of the operating state of the training CNC machine tool, represents the Frobenius norm of a vector, Represents the derived metric coefficient of the correlation of the internal elements of the high-dimensional space.

2. The equipment failure prediction system based on digital twin and Internet of Things technology according to claim 1 is characterized in that: The classification unit is used to: use the classifier to process the global correlation feature vector of the CNC machine tool operation state using the following classification formula to obtain the classification result; wherein the classification formula is: in, arrive is the weight matrix, arrive is the bias vector, is the global correlation feature vector of the CNC machine tool operation status, represents the normalized exponential function, Indicates the classification result.

3. A device failure prediction method based on digital twin and Internet of Things technology, using the device failure prediction system based on digital twin and Internet of Things technology according to claim 1, characterized in that: include: Acquire multiple operating parameter data at multiple predetermined time points within a predetermined time period when the CNC machine tool is running and a vibration signal of the predetermined time period, wherein the multiple operating parameter data include a spindle speed value, a spindle temperature value, a feed speed value, and an operating power value; Performing time series coding on the plurality of operation parameter data respectively to obtain a plurality of CNC machine tool operation parameter feature vectors; Extracting the time-frequency features of the vibration signal in the predetermined time period to obtain a time-frequency feature vector of the vibration signal; Based on the global correlation characteristics between the multiple CNC machine tool operating parameter feature vectors and the vibration signal time-frequency feature vector, it is determined whether the CNC machine tool operating state is abnormal.

Citation Information

Cited By

  • Intelligent fault monitoring system for numerical control machine tool

    CN119304689A