Rotating machinery fault diagnosis method and system based on improved EEMD and generative adversarial network

Through improved EEMD and generative adversarial network, combined with convolutional neural network and attention mechanism, the problem of data imbalance and noise interference of rotating machinery vibration signal is solved, the fault characteristics of vibration signal are extracted, and the accuracy of fault diagnosis is improved. efficiency, enhancing the adaptability of the model.

CN118395364BActive Publication Date: 2024-09-13SHANDONG UNIV
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410865137.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-13
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

The data imbalance and noise interference of vibration signals of rotating machinery under complex working conditions make it difficult to extract fault features. The diagnostic performance of deep learning models in this case is poor, and the generative adversarial network is prone to mode collapse, making it difficult to train high-accuracy models. Diagnostic model.

Method used

Using the improved EEMD method and generative adversarial network, the vibration signal is decomposed into intrinsic modal components through a merging strategy, and converted into a two-dimensional image. Combined with the convolutional neural network, attention mechanism, generator, and discriminator, it is constructed The rotating machinery fault diagnosis model uses grayscale processing and generative adversarial networks to expand the data set and improve the accuracy and generalization ability of the diagnostic model.

Benefits of technology

Effectively extracting key overall and local fault characteristics of rotating machinery vibration signals improves the accuracy and efficiency of fault diagnosis, enhances the model's adaptability to complex working conditions and unknown fault modes, and reduces the possibility of manual intervention and misjudgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118395364B
    Figure CN118395364B
Patent Text Reader

Abstract

The present invention provides a rotating machinery fault diagnosis method and system based on improved EEMD and generative adversarial network, belonging to the technical field of rotating machinery fault diagnosis, obtaining a vibration signal, decomposing the vibration signal into multiple intrinsic mode components through an improved EEMD algorithm to form a one-dimensional vibration signal; converting the one-dimensional vibration signal into a two-dimensional image through grayscale processing, and constructing a single-channel two-dimensional image training data set; establishing a rotating machinery fault diagnosis model, and setting an objective function; training a generative adversarial network based on discriminator loss and generator loss, and expanding fault data, and using real training data and generated training data to train a classifier to achieve fault diagnosis. The present invention combines improved EEMD and generative adversarial network to perform fault diagnosis under data imbalance, and can have good stability and robustness for the diagnostic model trained for key components of rotating machinery under complex working conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] At present, rotating machinery is widely used in large transmission units such as wind turbines and internal combustion engines. It works under extreme environments such as high load and strong impact for a long time. Its key components such as gears and bearings are prone to failure and the downtime caused by gears and bearings is relatively long. Therefore, monitoring the operating status of rotating machinery, discovering potential internal faults of rotating machinery as early as possible and maintaining them in time are of great significance to the normal operation and maintenance of rotating machinery in actual industrial production.

[0003] Rotating machinery fault diagnosis involves multidisciplinary knowledge such as mathematics, computer science, and mechanics. The traditional fault diagnosis process includes steps such as signal acquisition, signal feature extraction, diagnostic model construction, training, testing, and result analysis. With the development of artificial intelligence, feature extraction, diagnostic models, training, testing, and results can be integrated into one based on machine learning algorithms, forming a rotating machinery fault diagnosis method based on machine learning. Among them, benefiting from the rapid development of computer technology and GPU performance, deep learning has been widely used in rotating machinery fault diagnosis with its powerful feature extraction capabilities and excellent fault classification performance. However, in actual industrial scenarios, most rotating machinery operates in a healthy state. There is a data imbalance problem in the health data and fault data of key components such as rotating machinery gears and bearings, making it difficult to train a fault diagnosis model with good generalization performance and high fault diagnosis accuracy. Generative adversarial networks can generate high-quality and realistic data through adversarial games between generators and discriminators. With its unique adversarial mechanism and powerful generation capabilities, it has demonstrated strong performance in fault diagnosis under unbalanced rotating machinery data, solving the problem of poor diagnostic performance of deep learning under unbalanced rotating machinery data sets and relaxing the requirements of deep learning diagnostic methods for training data. Generative adversarial networks have greatly improved the generalization ability of the model. Therefore, it is very important to perform fault diagnosis on rotating machinery under unbalanced data based on generative adversarial networks.

[0004] Although fault diagnosis based on generative adversarial networks can expand the data of categories with small amounts of data and solve the problem of data imbalance, generative adversarial networks are prone to mode collapse. It is necessary to train the generator, discriminator, and classifier in a coordinated manner to ensure the training effect and diagnostic performance of the diagnostic model. In addition, key components such as gears and bearings of rotating machinery are easily disturbed by excitation factors such as noise under complex working conditions. The vibration signals generated by them are usually nonlinear, non-stationary, and non-periodic. It is difficult to extract key overall and local fault features from the directly acquired vibration signals. When the overall and local fault features of the vibration signals are not obvious, they are input into the generator and discriminator as training sets. The generated data is of low quality, feature redundancy is complex, and the training of the generator and discriminator is difficult. At the same time, the generated data is combined with the real training data and input into the classifier. The classification accuracy is low, and it is impossible to train a diagnostic model with high diagnostic accuracy. Therefore, it is a technical problem that needs to be solved urgently to realize the extraction of key overall and local fault features of vibration signals of rotating machinery under complex working conditions, generate high-quality, information-rich, and feature-clear vibration signals, and diagnose rotating machinery faults based on the vibration signals. Summary of the invention

[0005] The present invention provides a rotating machinery fault diagnosis method based on improved EEMD and generative adversarial network. A merged component is formed by improving the EEMD method and a direct merging strategy, and the merged component is converted into a grayscale image to construct a training data set. The data set and the generative adversarial network are combined to expand the fault diagnosis training set, thereby improving the accuracy and generalization ability of the diagnosis model.

[0006] Methods include:

[0007] S101: Acquire vibration signals of preset components of rotating mechanical equipment under preset working conditions, and set labels for each acquired vibration signal;

[0008] S102: decomposing the vibration signal into multiple intrinsic mode components by improving the EEMD algorithm, and merging the intrinsic mode components according to a merging strategy to form a one-dimensional vibration signal carrying a label;

[0009] S103: converting the one-dimensional vibration signal into a two-dimensional image through grayscale processing, and constructing a single-channel two-dimensional image training data set;

[0010] S104: Based on the single-channel two-dimensional image training data set, a convolutional neural network, an attention mechanism, a generator, and a discriminator are combined to respectively establish a first rotating machinery fault diagnosis model and a second rotating machinery fault diagnosis model, and set an objective function;

[0011] S105: Input the single-channel two-dimensional image training data set into the generative adversarial network, train the generative adversarial network based on the discriminator loss and the generator loss, expand the fault data, and use the real training data and the generated training data to train the classifier to realize fault diagnosis.

[0012] It should be further explained that step S102 also includes:

[0013] Based on the improved EEMD algorithm, the vibration signal Incorporate random amplitude Gaussian noise to form a noise-added signal , based on the signal extreme value distribution characteristics, the signal after incorporating noise is judged Whether the extreme value distribution characteristics meet the judgment conditions for improving the extreme value distribution characteristics;

[0014] If satisfied, the signal A one-dimensional vibration signal configured to carry a tag;

[0015] If not satisfied, the vibration signal Re-add random amplitude Gaussian noise until the signal The extreme value distribution characteristics meet the judgment conditions for improving the extreme value distribution characteristics.

[0016] It should be further explained that in step S102, the signal satisfying the judgment condition is further evaluated by formula (1). After quantization, formula (1) is:

[0017] (1);

[0018] in, P express Extreme value distribution characteristic evaluation value, , Represent the signal extreme points x Axis direction, y Axial uniform distribution and wave characteristic evaluation value, , They represent the balance coefficients respectively;

[0019] L 1 and L 2 Respectively x The length of the axis maximum and minimum sequences, and Respectively exist x The actual extreme value sequence and the ideal extreme value sequence on the axis, Indicated in x The actual maximum sequence on the axis, Indicated inx The actual minimum sequence on the axis, , Respectively x The ideal maximum and minimum sequence on the axis, and Respectively The maximum and minimum values ​​of represents the variance operator, , Represent the number of maximum and minimum values, respectively. T express The total length of represents the extreme value mean variance, represents the density of extreme points;

[0020] In formula (1), , Used to evaluate the signal after adding noise Extreme Points x Axis direction, y Uniform distribution and fluctuation characteristics in the axial direction, , Adjust the balance coefficient according to actual needs to form the extreme value distribution characteristic evaluation value P .

[0021] It should be further explained that step S102 also includes:

[0022] when signal Evaluation value of extreme value distribution characteristics When the conditions of formula (2) are met, the signal To decompose;

[0023] (2);

[0024] p Represents all extreme value distribution characteristic values ​​that meet the judgment conditions for improving extreme value distribution characteristics P sequence, i Indicates the number of signals after adding noise;

[0025] The signal Decompose into several IMF components, quantize the IMF components by correlation coefficient and spectral kurtosis, set a quantization threshold, screen out IMF components whose correlation coefficient and spectral kurtosis quantization values ​​are higher than the threshold, merge the IMF components to form a merged vibration signal.

[0026] It should be further explained that S104 also includes:

[0027] Based on formula (5), Wasserstein distance is embedded into the generator and discriminator. Wasserstein distance is used to measure the difference between generated data and real data.

[0028] (5);

[0029] in, express and The combination is the joint distribution set, represents one of all possible joint distributions, represents the true sample sampled from the joint distribution x and generate samples y The expected distance between It represents the lower bound of the expected value of the sample distance in all possible joint distributions.

[0030] It should be further explained that, in S104, based on the fixed generator, the discriminator is trained and the first rotating machinery fault diagnosis model is configured as:

[0031] ;

[0032] Based on the fixed discriminator, the generator is trained and the second rotating machinery fault diagnosis model is configured as:

[0033] ;

[0034] The objective function is set as:

[0035] (6);

[0036] in, represents the maximum discriminator value when the generator is fixed, represents the minimum value of the generator when the discriminator is fixed, , They respectively indicate that the data obeys the real data distribution and the generated data distribution. , They respectively represent the expected value of the data obeying the real data distribution and the generated data distribution, represents the expected value of the discriminator output distribution when the data follows the true data distribution, represents the discriminator output value of the generated data, represents the expected value of the discriminator output distribution for generated data.

[0037] It should be further explained that step S104 also includes: training the classifier based on real samples and generated sample image data, extracting data features through multiple convolutional layers, batch normalization layers, and pooling layers, using a fully connected layer to aggregate all features, and using the Softmax activation function to output the probability of the belonging category label, thereby dividing the category label and defining the mapping relationship between the sample image data and its corresponding category.

[0038] It should be further explained that step S104 also includes: setting cross entropy as the objective function of the classifier for processing multi-classification tasks as shown in formula (8), and cross entropy is used to measure the difference between the probability distribution predicted by the model and the probability distribution of the actual label;

[0039] (8);

[0040] in, N is the number of vibration signals, K is the number of categories, i , k They are vibration signal, category index, It is i The actual label of the vibration signal, It is i The vibration signal belongs to k The probability of the class, represents the logarithm of probability, L Represents the cross entropy loss value;

[0041] The discriminator also establishes the discriminator loss function as shown in formula (9) based on formula (6):

[0042] (9);

[0043] in, , They respectively represent the expected value of the data obeying the real data distribution and the generated data distribution, represents the discriminator output after input data, It indicates the expected value of the discriminator output after inputting real data. represents the output of the discriminator after inputting generated data, represents the expected value of the discriminator output after inputting the generated data, represents the discriminator loss function value;

[0044] The generator also establishes the generator loss function as shown in formula (10) based on formula (6):

[0045] (10);

[0046] in, They represent the expected value of the data following the generated data distribution, represents the output of the discriminator after inputting generated data, represents the expected value of the discriminator output after inputting the generated data, Represents the generator loss function value.

[0047] It should be further explained that the classifier loss function as shown in formula (11) is used to evaluate the distance between the predicted distribution and the true distribution of the model, train and adjust the classifier parameters;

[0048] (11);

[0049] in, Loss represents the cross entropy loss, y represents the actual label data, Represents the model prediction label data.

[0050] The present invention also provides a rotating machinery fault diagnosis system based on improved EEMD and generative adversarial network, the system comprising: a signal acquisition and annotation module, a merging processing module, a grayscale processing module, a training set construction module and a training fault diagnosis module;

[0051] The signal acquisition and labeling module is used to acquire the vibration signal of the preset component of the rotating machinery under the preset working condition, and label the acquired vibration signal;

[0052] The merging processing module is used to decompose the vibration signal into multiple intrinsic mode components by improving the EEMD algorithm, and merge the intrinsic mode components according to the merging strategy to form a one-dimensional vibration signal carrying a label;

[0053] The grayscale processing module is used to convert the one-dimensional vibration signal into a two-dimensional image through grayscale processing and construct a single-channel two-dimensional image training data set;

[0054] The training set construction module builds generators and discriminators based on convolutional neural networks and attention mechanisms, establishes a rotating machinery fault diagnosis model, and sets the objective function;

[0055] The training fault diagnosis module is used to input the single-channel two-dimensional image training data set into the generative adversarial network, train the generative adversarial network based on the discriminator loss and the generator loss, expand the fault data, and use the real training data and the generated training data to train the classifier to realize fault diagnosis.

[0056] It can be seen from the above technical solutions that the present invention has the following advantages:

[0057] The rotating machinery fault diagnosis method based on improved EEMD and generative adversarial network provided by the present invention can ensure that subsequent vibration signal processing and analysis have clear directionality by setting a label for each vibration signal, thereby improving the accuracy and efficiency of fault diagnosis.

[0058] The rotating machinery fault diagnosis method involved in the present application utilizes an improved EEMD algorithm to more effectively decompose a complex vibration signal into multiple intrinsic mode components, which carry information of different frequencies and scales in the original signal. The signal structure is further simplified based on the application of a merging strategy, making the one-dimensional vibration signal easier to process and analyze later.

[0059] For the method of this application, the one-dimensional vibration signal is converted into a two-dimensional image through grayscale processing, which can make full use of image processing technology to analyze the characteristics of the vibration signal, thereby expanding the methodology of fault diagnosis. It also helps to visualize abnormal patterns in the signal and improve the intuitiveness and convenience of diagnosis.

[0060] The rotating machinery fault diagnosis model constructed by this application combines convolutional neural networks, attention mechanisms, generators, discriminators and classifiers, which can automatically learn and extract deep-level features in vibration signals. Moreover, compared with traditional fault diagnosis methods, it has higher recognition accuracy and generalization ability, and can cope with complex and changeable working conditions and fault modes. It also generates additional fault data through generative adversarial networks, which can effectively solve the problem of insufficient data in fault diagnosis. The expanded data set not only improves the training effect of the model, but also enhances the model's adaptability to unknown fault modes.

[0061] For this method, the entire fault diagnosis process has a high degree of automation, which reduces the possibility of human intervention and misjudgment, thereby improving the efficiency and accuracy of diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0063] Figure 1 This is a flow chart of the rotating machinery fault diagnosis method based on improved EEMD and generative adversarial network;

[0064] Figure 2 Flowchart for improving EEMD decomposition and IMF component merging method;

[0065] Figure 3 The spEEMD decomposition diagram of samples A and B;

[0066] Figure 4 Schematic diagram of the retained components for samples A and B;

[0067] Figure 5 This is a schematic diagram of the combined components of samples A and B;

[0068] Figure 6 It is a schematic diagram of the overall framework of the rotating machinery fault diagnosis model;

[0069] Figure 7 This is the generator structure diagram;

[0070] Figure 8 is the discriminator structure diagram;

[0071] Fig. 9 It is the structure diagram of the classifier;

[0072] Fig.10 Loss curves of the generator, discriminator, and classifier during model training;

[0073] Fig.11 Confusion matrix diagram for rotating machinery fault diagnosis based on improved EEMD and generative adversarial network;

[0074] Fig.12 Schematic diagram of a single-channel two-dimensional image training dataset. DETAILED DESCRIPTION

[0075] In the rotating machinery fault diagnosis method based on improved EEMD and generative adversarial network provided in the present application, specific details such as specific system structures and technologies are proposed for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details.

[0076] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or their collections. The terms "comprising", "including", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0077] The "one or more" mentioned in this application refers to one, two or more than two, and the "multiple" mentioned in this application refers to two or more. In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B. The "and / or" in this article is just a way to describe the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0078] The phrases such as "one embodiment" or "some embodiments" described in the present application mean that the specific features, structures or characteristics described in the embodiment are included in one or more embodiments of the present application. Therefore, the phrases such as "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments" etc. that appear in different places in the present application do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.

[0079] In the embodiments of the present application, descriptions such as "when...", "in the case of...", "if" and "if" all mean that under certain objective circumstances, the device (such as the terminal device or access network device described below) will make corresponding processing, which does not limit the time, and does not require the device (such as the terminal device or access network device described below) to have a judgment action when implementing it, nor does it mean that there are other limitations.

[0080] In the embodiment of the present application, "pre-definition" may be a protocol definition. "Pre-definition" may be implemented by pre-saving the operating parameters, codes, tables or other methods that can be used to indicate relevant information of the corresponding key components such as rotating mechanical gears and bearings in the device (for example, including terminal devices and network devices). The present application does not limit the specific implementation method.

[0081] For the rotating machinery fault diagnosis method provided in this application, the improved EEMD method and component merging strategy are used to obtain the merged components with rich features and high signal-to-noise ratio, and the diagnostic model training set is made based on the merged components for training, thereby reducing the difficulty of diagnostic model training. In the case of data imbalance of key components such as rotating machinery gears and bearings, this application mines multiple types of key local features in the data through the attention mechanism to ensure that the generated vibration signal contains key diagnostic information.

[0082] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0083] See also Figure 1 FIG. 1 is a flowchart of a rotating machinery fault diagnosis method based on improved EEMD and generative adversarial network in a specific embodiment, the method comprising:

[0084] S101: Acquire vibration signals of preset components of rotating mechanical equipment under preset working conditions, and set labels for each acquired vibration signal.

[0085] In an exemplary embodiment, the rotating mechanical equipment may include: a steam turbine, a gas turbine, a centrifugal compressor, a water turbine, a steam turbine, a diesel engine, an electric motor, a water pump, and centrifugal fans, axial flow fans, etc.

[0086] Among them, the preset components of rotating machinery and equipment may involve key components such as rotating machinery gears and bearings. Rotating machinery and equipment will be applied to some complex working conditions, including: variable speed working conditions. When the speed of the rotating machinery and equipment changes, the vibration signal of the equipment will also be affected, which may cause the signal fault characteristics to be weak and difficult to extract. There is also a strong noise interference environment, which may easily cause the equipment to be subject to strong noise interference from the external environment during operation, such as the operating noise of other mechanical equipment, air flow noise, etc. These noises will drown out the vibration signal of the equipment, resulting in a decrease in the signal-to-noise ratio and relatively weak fault characteristics. It also involves high temperature, high humidity, high viscosity, high corrosion and other environments: these harsh environmental conditions will affect the operation of rotating machinery and equipment, such as causing increased wear of equipment parts and poor lubrication, thereby affecting the vibration signal and performance of the equipment. There are also some internal parts of rotating machinery and equipment that may experience wear, collision and other interactions during operation. These interactions will produce complex vibration signals, causing the effective components in the signal to be covered by a large amount of redundant interference, increasing the difficulty of fault diagnosis.

[0087] Under complex working conditions, multiple vibration signals exhibit unclear signal characteristics and low signal-to-noise ratio. This embodiment considers vibration signals of rolling bearings in rotating machinery under different categories and different fault degrees, labels each vibration signal and organizes it to form an initial data set.

[0088] In order to illustrate the implementation of the embodiment of the present application, this embodiment uses the data set of the drive end deep groove ball bearing SKF6205 opened by Case Western Reserve University (CWRU) in the United States. The acceleration sensor above the bearing seat at the drive end of the motor collects the vibration acceleration signal. The bearings are divided into four categories: healthy (Normal), outer ring fault (ORF), ball fault (BF) and inner ring fault (IRF). Each fault has three fault diameters (0.1778mm, 0.3556mm, 0.5334mm). The healthy and faulty bearings are respectively installed in the test motor to record the acceleration signal data under four speed conditions (1730rpm, 1750rpm, 1772rpm, 1797rpm), and the sampling frequency is 12000HZ.

[0089] In this embodiment, the vibration signal of the motor speed condition of 1730rpm is selected as the experimental data, the inner ring, rolling element, and outer ring faults with a fault diameter of 0.1778mm are selected, and the inner ring, rolling element, and outer ring faults with a fault diameter of 0.3556mm are selected. At the same time, healthy category data is added, totaling seven categories of label data, and 300 samples of each category are intercepted based on 4096 as the data length. The data set of this embodiment is shown in Table 1.

[0090] Table 1: Rolling bearing vibration signal dataset

[0091]

[0092] S102: Decomposing the vibration signal into multiple intrinsic mode components by improving the EEMD algorithm, and merging the intrinsic mode components according to a merging strategy to form a one-dimensional vibration signal carrying a label.

[0093] The ensemble empirical mode decomposition (EEMD) involved in this embodiment is an improved and extended method of the empirical mode decomposition (EMD).

[0094] Among them, EMD is an adaptive method for processing nonlinear and non-stationary signals. It analyzes the different frequency components of the signal by decomposing the signal into several intrinsic mode functions (IMF) and a residual term. EEMD is a method based on the EMD method to add Gaussian noise to the input original signal to improve the modal aliasing problem. Adding Gaussian noise to the original signal involves the noise amplitude. A N and number of integrations NThese two key parameters, noise amplitude and integration times, have an important impact on the quality and performance of EEMD decomposition results. In the face of nonlinear and non-stationary vibration signals of rotating machinery under complex working conditions, the noise amplitude and integration times in EEMD are determined based on experience and experimental rules, which has the disadvantages of high computational cost, poor repeatability and large deviation of decomposition results. Therefore, in this embodiment, the specific amplitude Gaussian noise added to the original signal is replaced by Gaussian noise of random amplitude. The improved EEMD method only needs to consider one parameter, the integration times, to reduce the influence of parameter selection on the decomposition effect.

[0095] For this embodiment, the Gaussian noise of the specific amplitude in the improved EEMD method is replaced by Gaussian noise of random amplitude, and the vibration signal is Add random amplitude Gaussian noise to form a signal with added noise , based on the evaluation of the signal extreme value distribution characteristics , through formula (1) Quantify and determine whether the signal extreme value distribution characteristics are improved after adding noise. If so, Continue downward, if there is no improvement, the initial signal Re-add random amplitude Gaussian noise until The extreme value distribution characteristics are improved.

[0096] (1).

[0097] It should be noted that P express Extreme value distribution characteristic evaluation value, , Represent the signal extreme points x Axis direction, y Axial uniform distribution and wave characteristic evaluation value, , represents the balance coefficient, and The specific value of can be set and adjusted according to the actual use environment of rotating machinery fault diagnosis, and is not limited here; L 1 and L 2 Respectively x The length of the axis maximum and minimum sequences, and Respectively exist x The actual extreme value sequence and the ideal extreme value sequence on the axis, Indicated in x The actual maximum sequence on the axis, Indicated in x The actual minimum sequence on the axis, , Respectively x The ideal maximum and minimum sequence on the axis, and Respectively The maximum and minimum values ​​of represents the variance operator, , Represent the number of maximum and minimum values, respectively. T express The total length of represents the extreme value mean variance, Represents the density of extreme points.

[0098] In the formula (1) of this embodiment, , Used to evaluate the signal after adding noise Extreme Points x Axis direction, y Uniform distribution and fluctuation characteristics in the axial direction, , Adjust the balance coefficient according to actual needs to form the extreme value distribution characteristic evaluation value P .when Evaluation value of extreme value distribution characteristics P More than before P When the mean value of Entering the subsequent decomposition, the judgment condition is expressed as formula (2).

[0099] (2);

[0100] in, Indicates The extreme value distribution characteristic evaluation value of the signal after adding noise, p Represents all extreme value distribution characteristic values ​​that meet the judgment conditions for improving extreme value distribution characteristics P The initial value of the sequence is the original signal The extreme value distribution characteristic value of .

[0101] In this embodiment, each vibration signal obtained can be defined as a sample, and the label set based on each vibration signal can be set to the corresponding sample. In this way, the vibration signal is used as a sample for rotating machinery fault diagnosis and analysis. The following sample is the vibration signal of the preset component of the rotating machinery equipment under the preset working condition obtained in step S101.

[0102] Specifically, each sample is decomposed into several IMF components through the improved EEMD method. The IMF components are quantified through correlation coefficient and spectral kurtosis. A quantization threshold is set, and the IMF components with correlation coefficient and spectral kurtosis quantization values ​​higher than the threshold are selected. At this time, the selected IMF components have obvious fault characteristics and rich information. Therefore, the selected IMF components are merged to form a vibration signal with obvious overall characteristics.

[0103] The correlation coefficient of this embodiment is used to measure the linear correlation between two signals, wherein a high positive correlation coefficient indicates that the signals change in the same direction, while a high negative correlation coefficient indicates that the signals change in opposite directions. The correlation coefficient of each IMF component and the original signal is calculated by formula (3).

[0104] (3);

[0105] In the formula, represents the correlation coefficient between the IMF component and the initial signal, n Indicates the signal length, x , y Represent the IMF component and the initial signal respectively, xi , yi Respectively represent the IMF components i data points, initial signal i data points, , They are the mean of IMF component data and the mean of initial signal data respectively.

[0106] The correlation coefficient of this embodiment is usually used to evaluate the correlation between signals in fault diagnosis, and to measure the linear relationship between two signals. The value range is between -1 and 1, where 1 means that the two signals are completely positively correlated, that is, when one signal increases, the other signal also increases. -1 means that the two signals are completely negatively correlated, that is, when one signal increases, the other signal decreases. 0 means that the two signals have no linear correlation. According to experience, when the absolute value of the correlation coefficient is greater than 0.5, it indicates that there is a strong correlation between the signals, so the correlation coefficient threshold is set to Set to 0.5.

[0107] The spectral kurtosis of this embodiment is defined as measuring the sharpness of the signal spectrum by calculating the ratio of the fourth-order central moment to the second-order central moment of the spectrum. Formula (4) is the calculation formula.

[0108] (4);

[0109] In the formula, represents the spectral kurtosis value of the IMF component, represents the spectrum of the IMF component, Nrepresents the number of frequency components of the spectrum, Indicates that the IMF component spectrum is i The frequency value, Represents the mean of the IMF component spectrum.

[0110] Spectral kurtosis is used to measure the sharpness of the signal spectrum. A higher spectral kurtosis usually indicates that there are abnormalities or fault features in the signal. According to experience, when the spectral kurtosis is greater than 3, it indicates that there are sharp and prominent spectral components in the signal, which are often related to shock and fault features. When the spectral kurtosis is less than or equal to 3, it indicates that the signal spectrum is smooth, there is no obvious sharp component, and the fault feature is not obvious. Therefore, the spectral kurtosis threshold is set to Set to 3.

[0111] In this embodiment, each sample is decomposed into several IMF components by improving the EEMD method, and the IMF components of each sample are quantified by the correlation coefficient and the spectral kurtosis, and the IMF components to be merged are selected according to the correlation coefficient threshold and the spectral kurtosis threshold. By improving the EEMD decomposition and IMF component merging method as shown in FIG. Figure 2 shown.

[0112] This example is verified on 350 training samples of the Case Western Reserve University dataset, and the number of integrations of the improved EEMD method is set to 30. , The corresponding settings are 2 and 5. The EEMD decomposition effect of some samples is improved as follows Figure 3 As shown in Table 2, the original signal is decomposed into multiple IMF components by the improved EEMD method, and each IMF component is quantified by the correlation coefficient and spectral kurtosis. The correlation coefficient between each IMF component and the initial signal and the spectral kurtosis of each IMF component are calculated, as shown in Table 2. Figure 3 The ordinates of the various figures in the figure are amplitudes. Figure 3 (a1) is the IMF1 decomposition diagram of sample A; Figure 3 (b1) is the IMF2 decomposition diagram of sample A; Figure 3 (c1) is the IMF3 decomposition diagram of sample A; Figure 3 (d1) in the figure is the IMF4 decomposition diagram of sample A; Figure 3 (e1) in the figure is the IMF5 decomposition diagram of sample A; Figure 3 (a2) is the decomposition diagram of IMF1 of sample B; Figure 3 (b2) in the figure is the IMF2 decomposition diagram of sample B; Figure 3 (c2) is the IMF3 decomposition diagram of sample B; Figure 3 (d2) in the figure is the IMF4 decomposition diagram of sample B; Figure 3(e2) in the figure is the IMF5 decomposition diagram of sample B. If both the correlation coefficient and the spectral kurtosis reach the index threshold, the IMF component is retained. If one of the correlation coefficient and the spectral kurtosis does not reach the index threshold, the IMF component is discarded. Finally, all the retained IMF components are combined to form a signal with obvious overall characteristics.

[0113] According to the data in Table 2, IMF2 and IMF3 of sample A are the retained components, and IMF2 and IMF3 of sample B are the retained components. Figure 4 shown.

[0114] in, Figure 4 (a1) is a schematic diagram of the components retained by IMF2 of sample A. Figure 4 (b1) in the figure is a schematic diagram of the components retained by IMF3 of sample A. Figure 4 (a2) is a schematic diagram of the components retained by IMF2 of sample B. Figure 4 (b2) in the figure is a schematic diagram of the components retained by IMF3 of sample B.

[0115] The retained components in samples A and B are combined to form characteristic signals for subsequent model training, such as Figure 5 As shown. Among them, Figure 5 (a) in the figure is a schematic diagram of the merged components of sample A. Figure 5 (b) Schematic diagram of the B sample merging component.

[0116] Table 2: Quantification of each IMF component indicator for samples A and B

[0117]

[0118] S103: Convert the one-dimensional vibration signal into a two-dimensional image through grayscale processing, and construct a single-channel two-dimensional image training data set.

[0119] In this embodiment, the original signal is decomposed by improving EEMD, and the IMF components formed by the decomposition are quantified by correlation coefficient and spectral kurtosis. The retained components are selected according to the index threshold, and the retained components are formed into merged components for subsequent model training. All initial samples are processed to form merged components with obvious overall characteristics. Grayscale processing is performed on all sample merged components to form a single-channel two-dimensional image sample training set, and the image data set is annotated according to the label information carried by the initial samples to indicate the corresponding fault type.

[0120] For example, this embodiment selects seven label categories of the Case Western Reserve data set, selects 300 samples for each category, performs improved EEMD decomposition and merging on the 300 samples, performs grayscale processing on the merged components to form a single-channel two-dimensional image, labels the corresponding fault type, and constructs a single-channel two-dimensional image training data set, such as Fig.12 shown.

[0121] S104: Based on a single-channel two-dimensional image training data set, a convolutional neural network, an attention mechanism, a generator, and a discriminator are combined to respectively establish a first rotating machinery fault diagnosis model and a second rotating machinery fault diagnosis model, and set an objective function.

[0122] In an exemplary embodiment, a convolutional neural network (CNN) is a deep learning model specifically used to process data with a grid-like structure. This embodiment processes a two-dimensional image in a single-channel two-dimensional image training data set.

[0123] Among them, CNN uses convolutional layers, pooling layers, and fully connected layers to extract features and perform classification. It is mainly used for image recognition, object detection, semantic segmentation, and other tasks for two-dimensional images. The key components of CNN involve convolutional layers, activation functions, pooling layers, fully connected layers, and normalization layers. The input image passes through multiple convolutional layers and pooling layers to gradually extract features. The extracted features pass through the fully connected layer for classification or regression tasks. The model is trained using the back propagation algorithm to adjust the weights of the convolution kernel and the fully connected layer to perform model training.

[0124] The attention mechanism (Self-Attention) in this embodiment is a technology in deep learning models that enhances specific parts of information, enabling the model to selectively focus on certain parts of the input. It was originally applied to natural language processing (NLP), especially machine translation tasks, and is now also widely used in fields such as image processing.

[0125] Among them, the multi-head attention mechanism captures information in different subspaces by calculating multiple attention mechanisms in parallel, and then splices and transforms the results to obtain richer feature representations. It enhances the key part of the input information by calculating the attention weights, thereby focusing on the local features of the data.

[0126] According to the embodiment of the present application, the generator, discriminator, and classifier are constructed based on the convolutional neural network and the multi-head attention mechanism. The overall framework of the rotating machinery fault diagnosis model is as follows: Figure 6 As shown in the figure, specifically: generate noise and real data corresponding labels and input them into the generator, generate image expansion unbalanced data set through the generator embedding layer, transposed convolution layer, and attention mechanism layer, input the generated image and real image into the discriminator together, and train the discriminator by enhancing the discriminator's ability to distinguish true from false. Then train the generator based on the fixed discriminator, and the ultimate goal is to generate high-quality images with obvious overall and local features, organize the generated high-quality images and real images into classifier training data sets, and realize fault diagnosis through convolutional neural networks and softmax functions.

[0127] As an example, the generator in this application generates images based on noise and real data corresponding labels, expanding the data of unbalanced categories. The generator structure is as follows Figure 7 shown.

[0128] Specifically, the noise vector and label vector are input into the Embedding layer to be converted into a low-dimensional dense vector, flattened by the Flatten layer, and the flattened vector is input into the FC fully connected layer to form The feature map is input into the transposed convolution layer Conv1 with 128 channels, 5 convolution kernel size and 2 stride after ReLU activation function, and then input into the transposed convolution layer Conv2 with 64 channels, 5 convolution kernel size and 2 stride, and processed by BN batch normalization and ReLU activation function, and then input into the transposed convolution layer Conv3 with 32 channels, 5 convolution kernel size and 2 stride, and then input into the Multi-head Attention module to enhance local features after BN batch normalization and ReLU activation function processing, and finally input into the transposed convolution layer Conv4 with 1 channel, 3 convolution kernel size and 2 stride, and output a single channel after Tanh activation function processing. Grayscale image.

[0129] The discriminator in this application is built based on a convolutional neural network, and its structure is as follows Figure 8 shown.

[0130] Specifically: real sample image data and generated sample image data , and then input into the two-dimensional convolution layer Conv1 with a channel number of 32, a convolution kernel size of 5, and a stride of 2. After BN batch normalization and Relu activation function processing, it is pooled through the Max pooling1 two-dimensional maximum pooling layer with a stride of 2, and then input into the two-dimensional convolution layer Conv2 with a channel number of 64, a convolution kernel size of 3, and a stride of 2. After BN batch normalization and Relu activation function processing, it is pooled through the Max pooling2 two-dimensional maximum pooling layer with a stride of 2, and then input into the two-dimensional convolution layer Conv3 with a channel number of 128, a convolution kernel size of 3, and a stride of 2. After BN batch normalization and Relu activation function processing, it is pooled through the Max pooling3 two-dimensional maximum pooling layer with a stride of 2, and finally input into the two-dimensional convolution layer Conv4 with a channel number of 256, a convolution kernel size of 3, and a stride of 2. After BN batch normalization, Relu activation function and Max pooling with a stride of 2 Pooling4 is a two-dimensional maximum pooling layer, which is flattened by the Flatten layer and then input into the FC fully connected layer whose output is 1. The output of the FC fully connected layer is the relevant value of the real sample.

[0131] The classifier of this embodiment is constructed based on a convolutional neural network, and intelligent fault diagnosis is achieved through sufficient generated samples and real sample data training. The structure is as follows: Fig. 9 shown.

[0132] Specifically: real sample image data and generated sample image data , and then input into the two-dimensional convolution layer Conv1 with a channel number of 32, a convolution kernel size of 3, and a stride of 2. After BN batch normalization and Relu activation function processing, it is pooled through the Max pooling1 two-dimensional maximum pooling layer with a stride of 2, and then input into the two-dimensional convolution layer Conv2 with a channel number of 64, a convolution kernel size of 3, and a stride of 2. After BN batch normalization and Relu activation function processing, it is pooled through the Max pooling2 two-dimensional maximum pooling layer with a stride of 2, and then input into the two-dimensional convolution layer Conv3 with a channel number of 128, a convolution kernel size of 3, and a stride of 2. After BN batch normalization and Relu activation function processing, it is pooled through the Max pooling3 two-dimensional maximum pooling layer with a stride of 2, and finally input into the two-dimensional convolution layer Conv4 with a channel number of 256, a convolution kernel size of 3, and a stride of 2. After BN batch normalization, Relu activation function and Max pooling with a stride of 2 The pooling4 two-dimensional maximum pooling layer is flattened by the Flatten layer and then input into the FC1 fully connected layer with an output of 256. After being processed by the Relu activation function, it is input into the FC2 fully connected layer with an output of 128. The output is processed by the Relu activation function and then input into the FC3 fully connected layer with an output of 7. The output of the FC3 fully connected layer is processed by the Softmax function to output the probability of the data belonging to a category to achieve fault diagnosis.

[0133] In this embodiment, a rotating machinery fault diagnosis model is trained based on single-channel grayscale image data, wherein the generator and the discriminator are embedded with Wasserstein distance, as shown in formula (5). The Wasserstein distance is used to measure the difference between the generated data and the real data.

[0134] (5);

[0135] Here express and The combination is the joint distribution set, represents one of all possible joint distributions, represents the true sample sampled from the joint distribution x and generate samples y The expected distance between It represents the lower bound of the expected value of the sample distance in all possible joint distributions.

[0136] It should be further explained that the overall objective function of the generator and discriminator of this embodiment is shown in formula (6). Formula (6) is analyzed from two perspectives.

[0137] On the one hand, the fixed generator is used to train the discriminator, and the first rotating machinery fault diagnosis model is obtained as follows:

[0138] .

[0139] On the other hand, the fixed discriminator is used to train the generator, and the second rotating machinery fault diagnosis model is obtained as follows:

[0140] .

[0141] The objective function is set as:

[0142] (6).

[0143] in, represents the maximum discriminator value when the generator is fixed, represents the minimum value of the generator when the discriminator is fixed, They respectively indicate that the data obeys the real data distribution and the generated data distribution, that is, x For real data, z To generate data, , They respectively represent the expected value of the data obeying the real data distribution and the generated data distribution, represents the expected value of the discriminator output distribution when the data follows the true data distribution, represents the discriminator output value of the generated data, represents the expected value of the discriminator output distribution for generated data.

[0144] This embodiment trains the classifier based on sufficient real samples and generated sample image data, extracts data features through multiple convolutional layers, batch normalization layers, and pooling layers, and uses a fully connected layer to aggregate all features.

[0145] The Softmax activation function is used to output the probability of the class label to which it belongs, thereby dividing the class labels and defining the mapping relationship between the sample image data and its corresponding class. The Softmax activation function is used in multi-class classification tasks, as shown in formula (7). It converts a set of numerical values ​​into a vector representing the probability distribution. Any real number vector is converted into a numerical value in the range of (0,1), and the sum of all outputs is 1.

[0146] In the classification problem of this embodiment, the Softmax function is usually used to convert the output of the neural network into a category probability distribution.

[0147] (7);

[0148] in, i Indicates the element number, Represents the first i elements, e is the base of natural logarithms, Represents the vector i Elements The index value of C represents the number of categories, c Represents the index of an element in a vector, Represents the vector c Elements The index value of Indicates the probability value of the output node corresponding to the correct category.

[0149] In this embodiment, cross entropy is set as the objective function of the classifier for processing multi-classification tasks. Cross entropy is used to measure the difference between the probability distribution predicted by the model and the probability distribution of the actual label, as shown in formula (8):

[0150] (8);

[0151] in, N is the sample size, K is the number of categories, i , k They are sample and category indexes, It is i The actual label of each sample, It is i The samples belong to k The probability of the class is calculated by formula (7): represents the logarithm of probability, L Represents the cross entropy loss value.

[0152] S105: Input the single-channel two-dimensional image training data set into the generative adversarial network, train the generative adversarial network based on the discriminator loss and the generator loss, expand the fault data, and use the real training data and the generated training data to train the classifier to realize fault diagnosis.

[0153] In this embodiment, a single-channel two-dimensional image training data set is input into the generator and the discriminator in turn. The generator and the discriminator are alternately trained through their respective loss functions. After meeting the training requirements, the generator can generate high-quality single-channel two-dimensional image data with obvious features. Based on the generated data and the real data, the classifier is trained by minimizing the cross entropy loss. After the classifier training is completed, the rotating machinery fault diagnosis model can achieve high-accuracy fault diagnosis.

[0154] It should be noted that the Wasserstein distance is embedded in the generative adversarial network of this embodiment, so that the discriminator also establishes a discriminator loss function such as formula (9) based on formula (6). The discriminator loss function value here is a real value used to measure the quality of the input data, that is, to estimate the Wasserstein distance between the generated sample and the real sample.

[0155] (9);

[0156] in, They respectively represent the expected value of the data obeying the real data distribution and the generated data distribution, represents the discriminator output after input data, It indicates the expected value of the discriminator output after inputting real data. represents the output of the discriminator after inputting generated data, represents the expected value of the discriminator output after inputting the generated data, Represents the discriminator loss function value.

[0157] The generator in this embodiment also establishes a generator loss function such as formula (10) based on formula (6). Considering that the generator aims to generate sufficiently realistic data, the discriminator scores these generated samples as high as possible. The generator loss function value represents the score of the discriminator on the generated data. By minimizing the generator loss function value, that is, maximizing the score of the discriminator on the generated data, the generator generates data with obvious features and high quality.

[0158] (10);

[0159] in, They represent the expected value of the data following the generated data distribution, represents the output of the discriminator after inputting generated data, represents the expected value of the discriminator output after inputting the generated data, Represents the generator loss function value.

[0160] In this embodiment, the cross entropy loss is set as the classifier loss function, see formula (11) for evaluating the distance between the predicted distribution and the true distribution of the model, training and adjusting the classifier parameters.

[0161] (11);

[0162] in, Loss represents the cross entropy loss, y represents the actual label data, Represents the model prediction label data.

[0163] This embodiment trains a rotating machinery fault diagnosis model based on the discriminator loss function, the generator loss function, and the cross-entropy loss function. Adversarial training is formed by maximizing the discriminator loss function and minimizing the generator loss function. The classifier is trained by minimizing the cross-entropy loss. The discriminator and the generator are trained alternately. The classifier is trained based on real data and generated data. The discriminator loss is used to update the discriminator parameters. The generator loss and the classifier loss are jointly used to update the generator parameters. The classifier loss updates the classifier parameters. When the adversarial training reaches a balance and the classification loss value meets the requirements, high-accuracy fault diagnosis of rotating machinery is achieved under unbalanced data sets.

[0164] On the basis of the above embodiments, in order to further improve the reliability of the rotating machinery fault diagnosis method provided by the above embodiments, an implementable method is provided. In one embodiment, training is performed on the Case Western Reserve University data set, and seven categories of data with different label categories and different fault degrees at 1730rpm are selected. Considering the fault diagnosis model under unbalanced data, first, 50 samples are selected from each of the seven categories of data, totaling 350 samples. On the basis of improving EEMD and merging strategies to form overall feature-obvious data, the samples are input into the generator, discriminator, and classifier. The generator loss, discriminator loss, and classifier loss are used to train and update the parameters to obtain a high-accuracy rotating machinery fault diagnosis model.

[0165] In this embodiment, the generator, discriminator, and classifier losses during the training of the rotating machinery fault diagnosis model are as follows: Fig.10 As shown in , as the number of iterations increases, the classifier loss tends to be minimum and stable, the generator and discriminator losses tend to converge and reach a balance, the model training is stable, and the training difficulty is reduced. The confusion matrix of this embodiment is as follows Fig.11 As shown in the figure, labels 1-7 correspond to seven fault categories. When the predicted label and the true label are of the same category, the classification is correct. Labels 1-6 are all classified correctly with an accuracy of 100%. Label 7 is misclassified, and the prediction result of a small part of the data is label 6. The fault diagnosis accuracy is 98.93%. The proposed method has good stability and robustness, and can realize the identification and diagnosis of rotating machinery faults under unbalanced data sets.

[0166] Based on the above method, the present invention uses an improved EEMD method and a component merging strategy to obtain a merged component with rich features and a high signal-to-noise ratio, and produces a diagnostic model training set based on the merged components for training, thereby reducing the difficulty of diagnostic model training. The present application also mines multiple types of key local features in the data through an attention mechanism for key components such as rotating machinery gears and bearings in the case of data imbalance, ensuring that the generated vibration signal contains key diagnostic information. The method of the present application combines improved EEMD and generative adversarial networks to perform fault diagnosis in the case of data imbalance, and the diagnostic models trained for key components such as rotating machinery gears and bearings under complex working conditions such as variable speeds and variable loads have good stability and robustness.

[0167] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0168] The following is an embodiment of a rotating machinery fault diagnosis system based on improved EEMD and generative adversarial networks provided in an embodiment of the present disclosure. This system and the rotating machinery fault diagnosis method based on improved EEMD and generative adversarial networks in the above-mentioned embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the rotating machinery fault diagnosis system based on improved EEMD and generative adversarial networks, please refer to the above-mentioned embodiment of the rotating machinery fault diagnosis method based on improved EEMD and generative adversarial networks.

[0169] The system includes: a signal acquisition and annotation module, a merging processing module, a grayscale processing module, a training set construction module and a training fault diagnosis module.

[0170] The signal acquisition and labeling module is used to acquire the vibration signal of the preset component of the rotating machinery under the preset working condition, and label the acquired vibration signal.

[0171] The merging processing module is used to decompose the vibration signal into multiple intrinsic mode components by improving the EEMD algorithm, and merge the intrinsic mode components according to the merging strategy to form a one-dimensional vibration signal carrying a label.

[0172] The grayscale processing module is used to convert the one-dimensional vibration signal into a two-dimensional image through grayscale processing and construct a single-channel two-dimensional image training data set.

[0173] The training set construction module is based on a single-channel two-dimensional image training dataset, combined with a convolutional neural network, an attention mechanism, a generator, and a discriminator, to establish the first rotating machinery fault diagnosis model and the second rotating machinery fault diagnosis model, and set the objective function.

[0174] The training fault diagnosis module is used to input the single-channel two-dimensional image training data set into the generative adversarial network, train the generative adversarial network based on the discriminator loss and the generator loss, expand the fault data, and use the real training data and the generated training data to train the classifier to realize fault diagnosis.

[0175] This embodiment sets a label for each vibration signal, thereby ensuring that subsequent vibration signal processing and analysis have clear directionality, thereby improving the accuracy and efficiency of fault diagnosis.

[0176] The rotating machinery fault diagnosis method involved in the present application utilizes an improved EEMD algorithm to more effectively decompose a complex vibration signal into multiple intrinsic mode components, which carry information of different frequencies and scales in the original signal. The signal structure is further simplified based on the application of a merging strategy, making the one-dimensional vibration signal easier to process and analyze later.

[0177] For the method of this application, the one-dimensional vibration signal is converted into a two-dimensional image through grayscale processing, which can make full use of image processing technology to analyze the characteristics of the vibration signal, thereby expanding the methodology of fault diagnosis. It also helps to visualize abnormal patterns in the signal and improve the intuitiveness and convenience of diagnosis.

[0178] The rotating machinery fault diagnosis model constructed by this application combines convolutional neural networks, attention mechanisms, generators, discriminators and classifiers, which can automatically learn and extract deep-level features in vibration signals. Moreover, compared with traditional fault diagnosis methods, it has higher recognition accuracy and generalization ability, and can cope with complex and changeable working conditions and fault modes. It also generates additional fault data through generative adversarial networks, which can effectively solve the problem of insufficient data in fault diagnosis. The expanded data set not only improves the training effect of the model, but also enhances the model's adaptability to unknown fault modes.

[0179] For this method, the entire fault diagnosis process has a high degree of automation, which reduces the possibility of human intervention and misjudgment, thereby improving the efficiency and accuracy of diagnosis.

[0180] The rotating machinery fault diagnosis system based on improved EEMD and generative adversarial network provided by the present application is a unit and algorithm step of each example described in combination with the embodiments disclosed herein, and can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0181] Those skilled in the art will appreciate that various aspects of the rotating machinery fault diagnosis method based on improved EEMD and generative adversarial network provided in the present application can be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software, which can be collectively referred to as "circuit", "module" or "system" here.

[0182] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A rotating machinery fault diagnosis method based on improved EEMD and generative adversarial network, characterized in that: Methods include: S101: Acquire vibration signals of preset components of rotating mechanical equipment under preset working conditions, and set labels for each acquired vibration signal; Based on the improved EEMD algorithm, the vibration signal Incorporate random amplitude Gaussian noise to form a noise-added signal , based on the signal extreme value distribution characteristics, the signal after incorporating noise is judged Whether the extreme value distribution characteristics meet the judgment conditions for improving the extreme value distribution characteristics; If satisfied, the signal A one-dimensional vibration signal configured to carry a tag; If not satisfied, the vibration signal Re-add random amplitude Gaussian noise until the signal Extreme value distribution characteristics, satisfying the judgment conditions for improving extreme value distribution characteristics; The signal that meets the judgment condition is also analyzed by formula (1). After quantization, formula (1) is: (1); in, P express Extreme value distribution characteristic evaluation value, , Represent the signal extreme points x Axis direction, y Axial uniform distribution and wave characteristic evaluation value, , They represent the balance coefficients respectively; L 1 and L 2 respectively represent x The length of the axis maximum and minimum sequences, and Respectively exist x The actual extreme value sequence and the ideal extreme value sequence on the axis, Indicated in x The actual maximum sequence on the axis, Indicated in x The actual minimum sequence on the axis, , Respectively x The ideal maximum and minimum sequence on the axis, and Respectively The maximum and minimum values ​​of represents the variance operator, , Represent the number of maximum and minimum values, respectively. T express The total length of represents the extreme value mean variance, represents the density of extreme points; In formula (1), , Used to evaluate the signal after adding noise Extreme Points x Axis direction, y Uniform distribution and fluctuation characteristics in the axial direction, , Adjust the balance coefficient according to actual needs to form the extreme value distribution characteristic evaluation value P ; when signal Evaluation value of extreme value distribution characteristics When the conditions of formula (2) are met, the signal To decompose; (2); p Represents all extreme value distribution characteristic values ​​that meet the judgment conditions for improving extreme value distribution characteristics P sequence, i Indicates the number of signals after adding noise; The signal Decompose into several IMF components, quantize the IMF components by correlation coefficient and spectral kurtosis, set a quantization threshold, screen out IMF components whose correlation coefficient and spectral kurtosis quantization values ​​are higher than the threshold, merge the IMF components to form a merged vibration signal; S102: decomposing the vibration signal into multiple intrinsic mode components by improving the EEMD algorithm, and merging the intrinsic mode components according to a merging strategy to form a one-dimensional vibration signal carrying a label; S103: converting the one-dimensional vibration signal into a two-dimensional image through grayscale processing, and constructing a single-channel two-dimensional image training data set; S104: Based on the single-channel two-dimensional image training data set, a convolutional neural network, an attention mechanism, a generator, and a discriminator are combined to respectively establish a first rotating machinery fault diagnosis model and a second rotating machinery fault diagnosis model, and set an objective function; Based on formula (5), Wasserstein distance is embedded into the generator and discriminator. Wasserstein distance is used to measure the difference between generated data and real data. (5); in, express and The combination is the joint distribution set, represents one of all possible joint distributions, represents the true sample sampled from the joint distribution x and generate samples y The expected distance between Represents the lower bound of the expected value of the sample distance in all possible joint distributions; Based on the fixed generator, the discriminator is trained and the first rotating machinery fault diagnosis model is configured as: ; Based on the fixed discriminator, the generator is trained and the second rotating machinery fault diagnosis model is configured as: ; The objective function is set as: (6); in, represents the maximum discriminator value when the generator is fixed, represents the minimum value of the generator when the discriminator is fixed, , They respectively indicate that the data obeys the real data distribution and the generated data distribution. , They respectively represent the expected value of the data obeying the real data distribution and the generated data distribution, represents the expected value of the discriminator output distribution when the data follows the true data distribution, represents the discriminator output value of the generated data, represents the expected value of the discriminator output distribution for generated data; The classifier is trained based on real samples and generated sample image data. Data features are extracted through multiple convolutional layers, batch normalization layers, and pooling layers. All features are aggregated using a fully connected layer. The Softmax activation function is used to output the probability of the class label to which it belongs, thereby dividing the class labels and defining the mapping relationship between the sample image data and its corresponding class. The cross entropy is set as the objective function of the classifier to process multi-classification tasks as shown in formula (8). The cross entropy is used to measure the difference between the probability distribution predicted by the model and the probability distribution of the actual label; (8); in, N is the number of vibration signals, K is the number of categories, i , k They are vibration signal, category index, It is i The actual label of the vibration signal, It is i The vibration signal belongs to k The probability of the class, represents the logarithm of probability, L Represents the cross entropy loss value; The discriminator also establishes the discriminator loss function as shown in formula (9) based on formula (6): (9); in, , They respectively represent the expected value of the data obeying the real data distribution and the generated data distribution, represents the discriminator output after input data, It indicates the expected value of the discriminator output after inputting real data, represents the output of the discriminator after inputting generated data, represents the expected value of the discriminator output after inputting the generated data, represents the discriminator loss function value; The generator also establishes the generator loss function as shown in formula (10) based on formula (6): (10); in, They represent the expected value of the data obeying the generated data distribution, represents the output of the discriminator after inputting generated data, represents the expected value of the discriminator output after inputting the generated data, Represents the generator loss function value; S105: Input the single-channel two-dimensional image training data set into the generative adversarial network, train the generative adversarial network based on the discriminator loss and the generator loss, expand the fault data, and use the real training data and the generated training data to train the classifier to realize fault diagnosis.

2. The rotating machinery fault diagnosis method based on improved EEMD and generative adversarial network according to claim 1 is characterized in that: Set the classifier loss function as shown in formula (11) to evaluate the distance between the model's predicted distribution and the true distribution, train and adjust the classifier parameters; (11); in, Loss represents the cross entropy loss, y represents the actual label data, Represents the model prediction label data.

3. A rotating machinery fault diagnosis system based on improved EEMD and generative adversarial network, characterized in that: The system is used to implement the rotating machinery fault diagnosis method based on improved EEMD and generative adversarial network as described in any one of claims 1 to 2; The system includes: a signal acquisition and annotation module, a merging processing module, a grayscale processing module, a training set construction module and a training fault diagnosis module; The signal acquisition and labeling module is used to acquire the vibration signal of the preset component of the rotating machinery under the preset working condition, and label the acquired vibration signal; The merging processing module is used to decompose the vibration signal into multiple intrinsic mode components by improving the EEMD algorithm, and merge the intrinsic mode components according to the merging strategy to form a one-dimensional vibration signal carrying a label; The grayscale processing module is used to convert the one-dimensional vibration signal into a two-dimensional image through grayscale processing and construct a single-channel two-dimensional image training data set; The training set construction module is based on a single-channel two-dimensional image training data set, combined with a convolutional neural network, an attention mechanism, a generator, and a discriminator, to respectively establish the first rotating machinery fault diagnosis model and the second rotating machinery fault diagnosis model, and set the objective function; The training fault diagnosis module is used to input the single-channel two-dimensional image training data set into the generative adversarial network, train the generative adversarial network based on the discriminator loss and the generator loss, expand the fault data, and use the real training data and the generated training data to train the classifier to realize fault diagnosis.

Citation Information

Patent Citations

  • Method for determining screening time in self-adaptive ensemble empirical mode decomposition (EEMD)

    CN102254103A

  • Bearing fault diagnosis method based on semi-supervised generative adversarial network

    CN110617966A

  • Sliding bearing fault diagnosis method based on generative adversarial network and convolutional neural network

    CN111458142A

  • Nuclear power circulating water pump sun gear fault detection method

    CN114386452A

  • Bearing anomaly detection and fault diagnosis method based on deep convolutional generative adversarial network

    CN116754230A