Vibration fault detection method under variable working conditions

Through the conditional variational autoencoder fault detection model, the working condition encoder is used to extract the equipment operating characteristics and vibration signals, and calculate the reconstruction probability, which solves the problems of poor versatility and high false alarm rate of the traditional method, and realizes the problem of changing working conditions. High efficiency and accuracy in vibration fault detection.

CN118746423APending Publication Date: 2024-10-08LUCULENT SMART TECHNOLOGIES CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410647802.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The traditional rule-based vibration fault detection method is not very versatile, requires manual adjustment of parameters and relies too much on expert experience. Moreover, the machine learning-based method has weak model generalization ability under changing working conditions, high false alarm rate, and is difficult to meet maintenance requirements. decision requirements.

Method used

The conditional variational autoencoder fault detection model is used to collect historical operating condition data and vibration signals of the equipment, perform preprocessing and segmentation, and train the model to calculate the reconstruction probability, determine the alarm threshold, and issue alarm information in real-time monitoring. Implement end-to-end fault detection and reduce manual intervention and false alarms.

Benefits of technology

It improves the generalization ability of the model under changing working conditions, reduces the false alarm rate, reduces the need for manual classification of working conditions, and does not require a large number of abnormal sample training, solving the problem of difficulty in training the model due to the small number of fault samples.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118746423A_ABST
    Figure CN118746423A_ABST
Patent Text Reader

Abstract

The invention discloses a vibration fault detection method under variable working conditions, and relates to the technical field of vibration fault detection under variable working conditions, and the method comprises the steps: collecting historical working condition data and vibration signals at the same moment in a normal operation state of equipment; dividing the vibration signal into a plurality of sub-signals with relatively short lengths, and preprocessing the working condition data and the vibration signal; on the training set, training a conditional variation auto-encoder fault detection model, and reconstructing the vibration signal; on the test set, the reconstruction probability of the input vibration signal is calculated through the trained model, and an alarm threshold value is determined; during real-time monitoring, the reconstruction probability of the vibration signals is calculated through monitoring data, and when the reconstruction probability is lower than a threshold value, alarm information is sent out. The method provided by the invention has good robustness and cross-working-condition generalization ability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of vibration fault detection, in particular to a vibration fault detection method under variable working conditions. Background Art

[0002] In modern industrial production, the normal operation of equipment is the basis for ensuring safe and efficient production of enterprises. Each machine in operation is an important part of the production line, and its stability directly affects the smoothness of the entire production process. However, unplanned downtime may not only cause huge economic losses to the enterprise, but also cause safety accidents, which will have a profound negative impact on the operation of the enterprise. Therefore, equipment failure prediction is particularly important, which can help enterprises discover potential problems in advance, so as to take preventive measures to avoid failures and ensure the stable operation of the production line.

[0003] Among the fault prediction methods, the fault prediction technology based on vibration signals is widely used because of its low invasiveness to equipment and convenient implementation. This method predicts possible faults by analyzing the vibration signals of the equipment, so that measures can be taken before the problem occurs to ensure the continuity and safety of production. However, the traditional rule-based vibration fault detection method is not very versatile, and often requires manual adjustment of parameters according to different equipment types, and over-reliance on expert experience, which greatly limits its application scope and efficiency. At the same time, although vibration fault prediction based on machine learning can improve the accuracy of prediction, it requires a large amount of data for learning, and in actual production, there are few fault samples, which makes model training extremely difficult. In addition, due to the frequent changes in equipment working conditions and the weak generalization ability of the model, this often leads to an increase in the false alarm rate and is difficult to meet the requirements of maintenance decisions. In response to these shortcomings, we have invented a vibration fault detection method under variable working conditions. Summary of the invention

[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0005] In view of the above problems or problems existing in the prior art, the present invention is proposed.

[0006] Therefore, the technical problem solved by the present invention is that the traditional rule-based vibration fault detection method is not very versatile, often requires manual adjustment of parameters according to different equipment types, and over-relies on expert experience, which greatly limits its application scope and efficiency.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions: a vibration fault detection method under variable working conditions, which comprises collecting historical working condition data and vibration signals at the same time when the equipment is in normal operating state;

[0008] The vibration signal is divided into several sub-signals of shorter length, and the working condition data and the vibration signal are preprocessed;

[0009] On the training set, a conditional variational autoencoder fault detection model is trained to reconstruct the vibration signal;

[0010] On the test set, the reconstruction probability of the input vibration signal is calculated through the trained model to determine the alarm threshold;

[0011] During real-time monitoring, the reconstruction probability of the vibration signal is calculated through monitoring data. When the reconstruction probability is lower than the threshold, an alarm message is issued.

[0012] As a preferred solution of the vibration fault detection method under variable working conditions of the present invention, wherein: the vibration signal is divided into several sub-signals of shorter length, including:

[0013] The complete vibration signal of length N is divided into sub-signals of length n by means of a sliding window. The number of sub-signals s is:

[0014]

[0015] Wherein, o is the overlap between sub-signals, 0≤o<1;

[0016] The jth sub-signal The i-th sampling point The expression is:

[0017]

[0018] When selecting the sub-signal length n, it is necessary to ensure that the intercepted sub-signal contains at least one complete device working cycle, so the calculation formula for n is as follows:

[0019]

[0020] Where k is the number of working cycles included, f s is the sampling frequency, f w The operating frequency of the device.

[0021] As a preferred solution of the vibration fault detection method under variable working conditions of the present invention, the preprocessing of working condition data and vibration signals includes:

[0022] The working condition data and the segmented vibration signal After standardization, the data is converted into data that conforms to the standard normal distribution. The conversion formula is:

[0023]

[0024] Among them, μ is the mean of all data, and σ is the standard deviation of all data.

[0025] As a preferred solution of the vibration fault detection method under variable working conditions described in the present invention, wherein: the training conditional variational autoencoder fault detection model includes:

[0026] Differentiate between working condition encoder and vibration signal encoder;

[0027] The working condition encoder is used to extract working condition features from the working condition data as the conditional input of the conditional variational autoencoder;

[0028] The vibration signal encoder is used to reconstruct the vibration signal and is divided into an encoder, a latent variable distribution calculation layer, a feature fusion layer and a decoder.

[0029] As a preferred solution of the vibration fault detection method under variable working conditions of the present invention, wherein: the working condition encoder includes a model structure of k cond A quasi-MLP structure consisting of fully connected layers, with GELU activation functions added between the fully connected layers;

[0030] The vibration signal encoder includes: the vibration signal is first sent to the encoder part for extracting the vibration signal feature. x ; The encoder consists of k enc The output is converted into a one-dimensional vector of length L after multiple convolutions. The calculation formula of L is:

[0031]

[0032] Among them, c is the number of output channels of the last convolutional layer, n is the length of the sub-signal, and s i is the stride of the i-th convolutional layer;

[0033] The encoder output feature e x Then access the latent variable distribution calculation layer; this layer consists of two fully connected layers with an output size of L, which is used to calculate the mean μ of the latent variable z z With log variance

[0034] Use the mean μ z and log variance Sampling latent variable z, the sampling formula is:

[0035] z=μ z +ε×σz ,ε~N(0,1)

[0036] The working condition characteristics c Input feature fusion layer, that is, a fully connected layer with output size L to obtain Used to c Adjusted to the same length as the latent variable;

[0037] The latent variable z is Merge and further integrate latent variables and working condition characteristics to obtain z * ; The fusion formula is as follows:

[0038]

[0039] Among them, w is the working condition fusion weight, and its value range is (0,1];

[0040] The fused latent variable z * Input decoder part to calculate the mean of the reconstructed vibration signal With log variance

[0041] The decoder consists of k dec It consists of 1D transposed convolution layers, GELU activation function is added between the transposed convolution layers, and Tanh activation function is added after the last layer. The Tanh formula is:

[0042]

[0043] Among them, the output channel of the last transposed convolution layer is 2, corresponding to the mean of the reconstructed signal and log variance

[0044] The loss function formula used in the training of the designed working condition encoder is:

[0045]

[0046] Among them, KL is the KL divergence of a given distribution to the standard normal distribution, and p is the reconstruction probability under the given distribution.

[0047] As a preferred solution of the vibration fault detection method under variable working conditions of the present invention, wherein: the determination of the alarm threshold comprises:

[0048] Input all the data in the test set into the model and calculate the reconstruction probability of each data; calculate the mean μ of all reconstruction probabilities t and standard deviation σ t , based on the 3σ principle, the threshold t is calculated as follows:

[0049] t=μt +3σ t

[0050] The calculation formula for the reconstruction probability is:

[0051]

[0052] in, and is the mean and standard deviation of the reconstructed signal output by the model.

[0053] As a preferred solution of the vibration fault detection method under variable working conditions described in the present invention, wherein: the alarm information is issued, the vibration signal during real-time monitoring also needs to be segmented, and standardized using the mean and standard deviation calculated by data preprocessing during training; the segmented sub-vibration signals are sent to the model for reconstruction, and the reconstruction probability of each sub-signal is calculated. A sub-signal below a threshold t is identified as having a fault; the number of sub-signals with a fault is counted. Since the fault characteristics of the vibration signal show periodicity when a fault occurs, if more than two sub-signals have a fault, it is considered that the complete vibration signal has a fault.

[0054] The beneficial effects of the present invention are as follows: 1. Using the working condition encoder to extract the equipment operating condition characteristics from the equipment detection parameters as the input of the conditional variational autoencoder, it solves the problem of weak model generalization ability and easy false alarm under variable working conditions; when facing variable working conditions, the prior art usually uses a pre-model to classify the working conditions, and then selects different models for detection according to different classifications. This method is prone to misclassification of working conditions when facing rare working conditions, and then leads to inaccurate subsequent detection. This method uses a working condition encoder to extract equipment operating condition characteristics from equipment monitoring parameters, and uses them together with vibration signals as the input of the conditional variational autoencoder. By fusing the working condition characteristics with the latent variables sampled by the encoder, the model can better learn the characteristics of the vibration signal under different working conditions, and can still maintain good generalization ability when facing rare working conditions;

[0055] 2. When the prior art uses the pre-model to classify the working conditions, it is usually necessary to manually divide the types of working conditions. If the granularity of the working condition division is too coarse or too fine, it is easy to cause inaccurate classification, and the amount of calculation during training and reasoning will increase with the number of working conditions. This method extracts the characteristics of the equipment operating conditions through the working condition encoder, and does not require the pre-model to classify the working conditions, thus realizing end-to-end fault detection, eliminating the work of manually dividing the working conditions, and reducing the amount of model calculation;

[0056] 3. The existing technology usually requires manual labeling of data to determine whether there are faults when preparing training data, and requires a large number of normal samples and abnormal samples of similar numbers, while abnormal samples are difficult to collect. This method uses an unsupervised conditional variational autoencoder method, which does not require data labeling and only requires normal samples for training, solving the problem of difficulty in training the model due to a small number of fault samples.

[0057] 4. The existing technology usually uses reconstruction error as the criterion for fault detection and calculates the alarm threshold through the principle. However, the reconstruction error does not always conform to the Gaussian distribution, which makes the calculated threshold prone to false alarms. This method uses the reconstruction probability at the time of sampling as the criterion, the threshold distribution is relatively fixed, and has practical significance, which solves the problem of difficult threshold determination. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0059] Figure 1 The figure is the overall flow chart of the vibration fault detection method under variable working conditions.

[0060] Figure 2 The conditional variational autoencoder fault detection model architecture diagram for vibration fault detection under variable working conditions.

[0061] Figure 3 This is the model hierarchy structure and parameter calculation diagram of the vibration fault detection method under variable working conditions.

[0062] Figure 4 The vibration signal reconstruction effects of the two models under uncommon working conditions are compared. DETAILED DESCRIPTION

[0063] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0064] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0065] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0066] Example 1

[0067] Reference Figure 1 and Figure 2 , as an embodiment of the present invention, provides a vibration fault detection method under variable working conditions, comprising:

[0068] S1: Collect historical operating data and vibration signals of the equipment at the same time when it is in normal operation.

[0069] S2: Divide the vibration signal into several sub-signals of shorter length, and pre-process the operating condition data and the vibration signal.

[0070] Furthermore, dividing the vibration signal into a plurality of shorter sub-signals includes:

[0071] The complete vibration signal of length N is divided into sub-signals of length n by means of a sliding window. The number of sub-signals s is:

[0072]

[0073] Wherein, o is the overlap between sub-signals, 0≤o<1;

[0074] The jth sub-signal The i-th sampling point The expression is:

[0075]

[0076] When selecting the sub-signal length n, it is necessary to ensure that the intercepted sub-signal contains at least one complete device working cycle, so the calculation formula for n is as follows:

[0077]

[0078] Where k is the number of working cycles included (the minimum is 1), f s is the sampling frequency, f w The operating frequency of the device.

[0079] Furthermore, the preprocessing of the operating condition data and the vibration signal includes:

[0080] The working condition data and the segmented vibration signal After standardization, the data is converted into data that conforms to the standard normal distribution. The conversion formula is:

[0081]

[0082] Among them, μ is the mean of all data, and σ is the standard deviation of all data.

[0083] It should be noted that by segmenting the signal, the amount of calculation of the model can be effectively reduced, and the calculation efficiency can be improved by parallel calculation of sub-signals.

[0084] S3: On the training set, a conditional variational autoencoder fault detection model is trained to reconstruct the vibration signal.

[0085] Furthermore, the training conditional variational autoencoder fault detection model includes:

[0086] Differentiate between working condition encoder and vibration signal encoder;

[0087] The working condition encoder is used to extract working condition features from the working condition data as the conditional input of the conditional variational autoencoder;

[0088] The vibration signal encoder is used to reconstruct the vibration signal and is divided into an encoder, a latent variable distribution calculation layer, a feature fusion layer and a decoder.

[0089] Furthermore, the working condition encoder includes a model structure of k cond The MLP-like structure consists of fully connected layers, and GELU activation function is added between the fully connected layers.

[0090] Preferably, unlike using independent models to classify working conditions, the working condition encoder of this method can automatically extract the characteristics of different operating conditions from the monitoring parameters without manually dividing the working condition types. Because the encoder can identify the commonalities and characteristic patterns contained in the parameter combination, it can still achieve effective feature extraction when facing rare working conditions or those that did not exist during training, and has good robustness.

[0091] The vibration signal encoder includes: the vibration signal is first sent to the encoder part for extracting the vibration signal feature. x ; The encoder consists of k enc The convolution layer is composed of 1D convolution layers, and the GELU activation function is added between the convolution layers. The convolution can capture the local features of the vibration signal, so that the impact of the vibration signal, periodic signals and other phenomena can be extracted into the final latent variable through multi-layer convolution compression. Therefore, when selecting the step size of the convolution layer, a larger step size is usually used in the early stage, and it gradually decreases as the number of layers goes deeper, while the output channels of the convolution layer gradually increase. After multiple layers of convolution, the output is converted into a one-dimensional vector of length L. The calculation formula of L is:

[0092]

[0093] Among them, c is the number of output channels of the last convolutional layer, n is the length of the sub-signal, and s i is the stride of the i-th convolutional layer;

[0094] The encoder output feature e x Then access the latent variable distribution calculation layer; this layer consists of two fully connected layers with an output size of L, which is used to calculate the mean μ of the latent variable z z With log variance

[0095] Preferably, this method is different from the model directly calculating a single latent variable. In actual fault prediction, multiple latent variables z can be obtained by sampling, thereby obtaining the reconstruction probability of multiple vibration signals. Compared with the single latent variable reconstruction that can only calculate the reconstruction error, the results obtained by multiple sampling are more stable, and the reconstruction probability has practical significance, which is more reliable when determining the threshold in the subsequent steps.

[0096] Use the mean μ z and log variance Sampling latent variable z, the sampling formula is:

[0097] z=μ z +ε×σ z ,ε~N(0,1)

[0098] The working condition characteristics c Input feature fusion layer, that is, a fully connected layer with output size L to obtain Used to c Adjusted to the same length as the latent variable;

[0099] The latent variable z is Merge and further integrate latent variables and working condition characteristics to obtain z * ;

[0100] It should be noted that this step fuses the working condition encoder and the latent variable so that the latent variable contains the working condition information of the equipment, which helps the subsequent decoder to restore the special vibration characteristics that may exist under the working condition when reconstructing the vibration signal, and improves the generalization ability of variable working conditions. The fusion formula is as follows:

[0101]

[0102] Among them, w is the working condition fusion weight, and its value range is (0,1];

[0103] It should be noted that the influence of the working condition characteristics on the reconstructed vibration signal is determined by adjusting the size of w. If the equipment operates in a relatively stable working condition for a long time, the value of w can be appropriately reduced to weaken the influence of the working condition characteristics and improve the stability of the model operation; if the equipment working condition changes frequently, the value of w can be appropriately increased so that the model can refer to more working condition characteristics during reconstruction and improve the generalization ability of the model for changing working conditions;

[0104] The fused latent variable z * Input decoder part to calculate the mean of the reconstructed vibration signal With log variance

[0105] The decoder consists of k dec It consists of 1D transposed convolution layers, GELU activation function is added between the transposed convolution layers, and Tanh activation function is added after the last layer. The Tanh formula is:

[0106]

[0107] Among them, the output channel of the last transposed convolution layer is 2, corresponding to the mean of the reconstructed signal and log variance

[0108] The encoder and decoder use a convolutional architecture, which enables the model to better capture local features in the vibration signal (such as impact signals) and has anti-translation properties, which can effectively deal with the situation where the signal may be offset when the vibration signal is collected.

[0109] The loss function formula used in the training of the designed working condition encoder is:

[0110]

[0111] Among them, KL is the KL divergence (Kullback-Leibler Divergence) of the given distribution to the standard normal distribution, and p is the reconstruction probability under the given distribution.

[0112] S4: On the test set, the reconstruction probability of the input vibration signal is calculated through the trained model to determine the alarm threshold;

[0113] Determining the alarm threshold comprises:

[0114] Input all the data in the test set into the model and calculate the reconstruction probability of each data; calculate the mean μ of all reconstruction probabilities t and standard deviation σ t , based on the 3σ principle, the threshold t is calculated as follows:

[0115] t=μ t +3σt

[0116] The calculation formula for the reconstruction probability is:

[0117]

[0118] in, and is the mean and standard deviation (calculated by logarithmic variance) of the reconstructed signal output by the model.

[0119] S5: During real-time monitoring, the reconstruction probability of the vibration signal is calculated through the monitoring data, and when the reconstruction probability is lower than a threshold, an alarm message is issued.

[0120] It should be noted that the alarm information issued includes that the vibration signal during real-time monitoring also needs to be segmented and standardized using the mean and standard deviation calculated by data preprocessing during training; the segmented sub-vibration signals are sent to the model for reconstruction, and the reconstruction probability of each sub-signal is calculated. A sub-signal below a threshold value t is identified as having a fault; the number of sub-signals with faults is counted. Since the fault characteristics of the vibration signal show periodicity when a fault occurs, if more than two sub-signals have faults, it is considered that the complete vibration signal has a fault.

[0121] In summary, the use of the working condition encoder to extract the equipment operating condition characteristics from the equipment detection parameters as the input of the conditional variational autoencoder solves the problem of weak model generalization ability and easy false alarm under variable working conditions; when facing variable working conditions, the existing technology usually uses a pre-model to classify the working conditions, and then selects different models for detection according to different classifications. This method is prone to misclassification of working conditions when facing rare working conditions, which in turn leads to inaccurate subsequent detection. This method uses a working condition encoder to extract equipment operating condition characteristics from equipment monitoring parameters, and uses them together with vibration signals as the input of the conditional variational autoencoder. By fusing the working condition characteristics with the latent variables sampled by the encoder, the model can better learn the characteristics of the vibration signal under different working conditions, and can still maintain good generalization ability when facing rare working conditions;

[0122] When the prior art uses a pre-model to classify working conditions, it is usually necessary to manually classify the types of working conditions. If the granularity of the working condition classification is too coarse or too fine, it is easy to cause inaccurate classification, and the amount of calculation during training and inference will increase with the number of working conditions. This method extracts the characteristics of the equipment operating conditions through the working condition encoder, and does not require a pre-model to classify the working conditions, thus achieving end-to-end fault detection, eliminating the need for manual classification of working conditions, and reducing the amount of model calculation;

[0123] The existing technology usually requires manual labeling of data to determine whether there are faults when preparing training data, and requires a large number of normal samples and abnormal samples of similar numbers, while abnormal samples are difficult to collect. This method uses an unsupervised conditional variational autoencoder method, which does not require data labeling and only requires normal samples for training, solving the problem of difficulty in model training due to a small number of fault samples.

[0124] The existing technology usually uses reconstruction error as the criterion for fault detection and calculates the alarm threshold based on the principle. However, the reconstruction error does not always conform to the Gaussian distribution, which makes the calculated threshold prone to false alarms. This method uses the reconstruction probability at the time of sampling as the criterion, and the threshold distribution is relatively fixed and has practical significance, which solves the problem of difficulty in determining the threshold.

[0125] Example 2

[0126] Reference Figure 3 and Figure 4 , which is the second embodiment of the present invention, provides a vibration fault detection method under variable working conditions. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0127] Taking a dust removal fan as an example, the sampling rate of the acceleration sensor installed on the fan is 12800, and a single sampling has 32768 points. The detection parameters are: motor drive end bearing temperature, motor voltage, motor current, adjustment door opening, bag filter inlet air pressure, dust collector pressure difference, fan outlet flow, exhaust flow rate, fan speed, frequency, compressed air pressure, fan outlet temperature, and air inlet temperature.

[0128] The length of the divided sub-signal is n=2048, the overlap degree is o=0.2, and the number of the divided sub-signals is s=19.

[0129] Working condition encoder layer number k cond =3, and the hidden layer output sizes are 32, 32, and 64 respectively.

[0130] Conditional variational autoencoder encoder layer number k enc =4, the number of output channels is 8, 8, 16, 16, the convolution kernel size is 7, 5, 3, 3, and the step size is 2. The latent variable size is 512. The number of decoder layers k dec =4, the number of output channels are 16, 8, 8, 2, the convolution kernel sizes are 3, 3, 5, 7, and the step size is 2.

[0131] The model hierarchy and parameter quantities are as follows Figure 3 shown.

[0132] The threshold value obtained by verification on the test set is 0.83. Figure 4It can be seen that under unusual working conditions, the conditional variational autoencoder that incorporates working condition information has better signal reconstruction effect than the traditional autoencoder (the hidden layer is composed of a fully connected layer), which can effectively reduce the model's generalization ability under variable working conditions and reduce the false alarm rate.

[0133] The CWRU dataset (48kHz, 0.007 inches) was used to test the method, LSTM autoencoder, and fully connected autoencoder. 300 pieces of normal and ball fault data were taken at 0 horsepower, 200 pieces at 1 horsepower, and 100 pieces at 2 horsepower for training to simulate the imbalance of data in each working condition; 50 pieces of data at 0, 1, 2, and 3 horsepower were taken for testing, of which 3 horsepower had never appeared in the training set to test the generalization ability of the model for unseen working conditions and calculate the accuracy of the model classification. The results are as follows:

[0134] Table 1

[0135]

[0136] Compared with the prior art, the vibration fault detection method proposed in the present invention has good robustness and generalization ability across working conditions.

[0137] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0138] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0139] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.

[0140] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc. It should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and are not limited. Although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art 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, which should be included in the scope of the claims of the present invention.

[0141] It should be noted that the above embodiments are only used to illustrate the technical solutions 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 solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A vibration fault detection method under variable working conditions, characterized in that: include, Collect historical operating data and vibration signals of the equipment at the same time when it is in normal operation; The vibration signal is divided into several sub-signals of shorter length, and the working condition data and the vibration signal are preprocessed; On the training set, a conditional variational autoencoder fault detection model is trained to reconstruct the vibration signal; On the test set, the reconstruction probability of the input vibration signal is calculated through the trained model to determine the alarm threshold; During real-time monitoring, the reconstruction probability of the vibration signal is calculated through monitoring data. When the reconstruction probability is lower than the threshold, an alarm message is issued.

2. The vibration fault detection method under variable working conditions as claimed in claim 1, characterized in that: The step of dividing the vibration signal into a plurality of shorter sub-signals comprises: The complete vibration signal of length N is divided into sub-signals of length n by means of a sliding window. The number of sub-signals s is: Wherein, o is the overlap between sub-signals, 0≤o<1; The jth sub-signal The i-th sampling point The expression is: When selecting the sub-signal length n, it is necessary to ensure that the intercepted sub-signal contains at least one complete device working cycle, so the calculation formula for n is as follows: Where k is the number of working cycles included, f s is the sampling frequency, f w The operating frequency of the device.

3. The vibration fault detection method under variable working conditions as claimed in claim 2, characterized in that: The preprocessing of the working condition data and the vibration signal comprises: The working condition data and the segmented vibration signal After standardization, the data is converted into data that conforms to the standard normal distribution. The conversion formula is: Among them, μ is the mean of all data, and σ is the standard deviation of all data.

4. The vibration fault detection method under variable working conditions as claimed in claim 3, characterized in that: The training conditional variational autoencoder fault detection model includes: Differentiate between working condition encoder and vibration signal encoder; The working condition encoder is used to extract working condition features from the working condition data as the conditional input of the conditional variational autoencoder; The vibration signal encoder is used to reconstruct the vibration signal and is divided into an encoder, a latent variable distribution calculation layer, a feature fusion layer and a decoder.

5. The vibration fault detection method under variable working conditions as claimed in claim 4, characterized in that: The working condition encoder includes a model structure of k cond A quasi-MLP structure consisting of fully connected layers, with GELU activation functions added between the fully connected layers; The vibration signal encoder includes: the vibration signal is first sent to the encoder part for extracting the vibration signal feature. x ; The encoder consists of k enc The output is converted into a one-dimensional vector of length L after multiple convolutions. The calculation formula of L is: Among them, c is the number of output channels of the last convolutional layer, n is the length of the sub-signal, and s i is the stride of the i-th convolutional layer; The encoder output feature e x Then access the latent variable distribution calculation layer; this layer consists of two fully connected layers with an output size of L, which is used to calculate the mean μ of the latent variable z z With log variance Use the mean μ z and log variance Sampling latent variable z, the sampling formula is: z=μ z +e×s z ,ε~N(0,1) The working condition characteristics c Input feature fusion layer, that is, a fully connected layer with output size L to obtain Used to c Adjusted to the same length as the latent variable; The latent variable z is Merge and further integrate latent variables and working condition characteristics to obtain z * ; The fusion formula is as follows: Among them, w is the working condition fusion weight, and its value range is (0,1]; The fused latent variable z * Input decoder part to calculate the mean of the reconstructed vibration signal With log variance The decoder consists of k dec It consists of 1D transposed convolution layers, GELU activation function is added between the transposed convolution layers, and Tanh activation function is added after the last layer. The Tanh formula is: Among them, the output channel of the last transposed convolution layer is 2, corresponding to the mean of the reconstructed signal and log variance The loss function formula used in the training of the designed working condition encoder is: Among them, KL is the KL divergence of a given distribution to the standard normal distribution, and p is the reconstruction probability under the given distribution.

6. The vibration fault detection method under variable working conditions as claimed in claim 5, characterized in that: Determining the alarm threshold comprises: Input all the data in the test set into the model and calculate the reconstruction probability of each data; calculate the mean μ of all reconstruction probabilities t and standard deviation σ t , based on the 3σ principle, the threshold t is calculated as follows: t=μ t +3s t The calculation formula for the reconstruction probability is: in, and is the mean and standard deviation of the reconstructed signal output by the model.

7. The vibration fault detection method under variable working conditions as claimed in claim 6, characterized in that: The issuing of alarm information includes that the vibration signal during real-time monitoring also needs to be segmented and standardized using the mean and standard deviation calculated by data preprocessing during training; The segmented sub-vibration signals are sent to the model for reconstruction, and the reconstruction probability of each sub-signal is calculated. The sub-signal below the threshold t is considered to have a fault. The number of sub-signals with faults is counted. Since the fault characteristics of the vibration signal show periodicity when a fault occurs, if more than two sub-signals have faults, the complete vibration signal is considered to have a fault.

Citation Information

Cited By

  • Machine tool feed shaft health monitoring method based on optimized condition auto-encoder

    CN119691690A

  • A Machine Tool Feed Axis Health Monitoring Method Based on Optimized Conditional Autoencoder

    CN119691690B

  • Intelligent monitoring method and system for motor rotor production based on Internet of Things

    CN121165574A

  • A smart monitoring method and system for motor rotor production based on the Internet of Things

    CN121165574B