A rolling bearing fault diagnosis method
Through the multi-factor LSTM model and attention mechanism, a single-factor and comprehensive fault prediction model is constructed, which solves the problem of large data processing of rolling bearing fault diagnosis in the existing technology, and achieves efficient and accurate fault diagnosis.
Patent Information
- Application Number
- CN202411930200.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-12-26
AI Technical Summary
The existing rolling bearing fault diagnosis methods require a large amount of processing of each rolling bearing data, resulting in large data processing and time-consuming and labor-intensive processing.
The multi-factor LSTM model is used to combine the attention mechanism, and by constructing multiple single-factor LSTM models and a comprehensive fault prediction model, the same type of data is used to predict, reducing the repeated input and processing volume of data.
It realizes the reduction of data processing volume, avoids repeated data input, improves the accuracy and efficiency of fault diagnosis, and significantly improves the process efficiency of rolling bearing fault diagnosis.
Smart Images

Figure CN119357645B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of rotating component fault diagnosis, and in particular relates to a rolling bearing fault diagnosis method. Background Art
[0002] As an emerging marine transportation tool, unmanned ships have shown great potential in the fields of ocean exploration, environmental monitoring and cargo transportation. The stern propeller is the core component of the unmanned ship's power system, and its performance directly affects the ship's sailing speed, stability and safety. The rolling bearing is the key supporting component on the propeller shaft, and its importance is also self-evident. Therefore, it is of great significance to study the fault diagnosis method of the stern propeller rolling bearing.
[0003] The invention patent number is a rolling bearing fault diagnosis method (publication number CN117030268A, publication date 20231110), which discloses the following steps: using a wavelet threshold denoising preprocessing method to pre-process the vibration signal, wherein the wavelet threshold denoising pre-processing method is an improved wavelet threshold denoising pre-processing method based on wavelet packet algorithm and mutual correlation coefficient filtering; using an improved complementary set high-frequency harmonic added empirical mode decomposition method to extract fault features from the signal after denoising pre-processing, so as to realize the diagnosis of early rolling bearing faults.
[0004] The above rolling bearing fault diagnosis method needs to process each rolling bearing data before fault diagnosis can be performed, which requires a large amount of data processing and is relatively time-consuming and labor-intensive. Summary of the invention
[0005] In order to overcome the problems existing in the related art, the disclosed embodiment of the present invention provides a rolling bearing fault diagnosis method. The present invention aims to use the same type of data to predict the results, avoid repeated data input, reduce the amount of data processing, and save time and labor.
[0006] The technical solution is as follows: A rolling bearing fault diagnosis method comprising:
[0007] S1: Test rolling bearing vibration signals under various working conditions;
[0008] S2: Based on the experimental platform, the vibration signal data of the rolling bearing under different working conditions are obtained. The different working conditions include: different speeds, specific speeds, different loads, different temperatures, different humidity and different pH conditions;
[0009] S3: analyzing the collected vibration signal data, determining the vibration change of the rolling bearing according to different constraint conditions, and obtaining the vibration change data under different constraint conditions;
[0010] S4: Analyze the degree of rolling bearing loss based on the vibration change data under different working conditions;
[0011] S5: construct multiple first LSTM models, input the acquired vibration signal data under different working conditions and the corresponding loss degree into the first LSTM model for training, generate a prediction fault model for each single factor, and obtain multiple single-factor LSTM models;
[0012] S6: Based on multiple single-factor LSTM models, a second LSTM model including multiple input layers, fusion layers and output layers is constructed to generate a comprehensive fault prediction model by fusing the prediction results under different working conditions, and output the comprehensive fault diagnosis results;
[0013] S7: Before performing fault diagnosis, several rolling bearings used by the propeller at the stern of the unmanned ship are numbered and classified and saved according to different working conditions;
[0014] S8: Collect the working condition data of the currently running rolling bearing, and based on the classification and preservation results, input the current working condition data into the corresponding single-factor LSTM model for prediction, and input the prediction results of each single-factor model into the second LSTM model for comprehensive fault prediction, and output the fault diagnosis results of the rolling bearing.
[0015] In step S2, vibration signal data of rolling bearings under different working conditions are obtained based on the experimental platform, including: vibration signal data of rolling bearings under different speeds, vibration signal data of rolling bearings under specific speeds, vibration signal data of rolling bearings under different load conditions, vibration signal data of rolling bearings under different humidity conditions, vibration signal data of rolling bearings under different temperature conditions, vibration signal data of rolling bearings under different cleanliness conditions, and vibration signal data of rolling bearings under different pH conditions.
[0016] In step S3, vibration change data under different constraint conditions are obtained, including:
[0017] (1) determining the vibration signal data of the rolling bearing under different loads based on the vibration signal data of the rolling bearing under a specific speed and the vibration signal data of the rolling bearing under a specific speed but different loads;
[0018] (2) determining the vibration signal data of the rolling bearing at different temperatures based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but at different temperatures;
[0019] (3) determining the vibration signal data of the rolling bearing at different humidity based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but different humidity;
[0020] (4) determining the vibration signal data of the rolling bearing at different cleanliness levels based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but different cleanliness levels;
[0021] (5) Based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but different pH values, the vibration signal data of the rolling bearing at different pH values are determined.
[0022] In step S4, the degree of loss of the rolling bearing is analyzed, including:
[0023] The first method uses a combination of time domain and frequency domain feature analysis;
[0024] In the second method, wavelet packet decomposition technique is used for loss determination;
[0025] The third approach, improved cross-correlation analysis is used for loss trend detection;
[0026] The fourth method is to use the deep learning model LSTM to predict rolling bearing losses;
[0027] In the fifth method, a weighted scoring model is used to comprehensively evaluate the loss. The weighted scoring model combines the values of multiple features to generate a comprehensive score. The weighted scoring formula is:
[0028] ;
[0029] In the formula, It is a comprehensive score used to evaluate the degree of loss or fault status of rolling bearings. It is obtained by weighted summation of multiple features. is the feature weight, optimized through historical data or machine learning, is the root mean square value, reflecting the overall strength of the vibration signal. is the kurtosis, which measures the intensity of sharp shocks in the vibration signal. The peak value is the maximum value of the signal and is used to detect impact damage or severe wear. is high frequency energy, is the wavelet packet energy.
[0030] In step S5, the multiple single-factor LSTM models include: a model for predicting faults based on rotation speed, a model for predicting faults based on load, a model for predicting faults based on temperature, a model for predicting faults based on humidity, a model for predicting faults based on cleanliness, and a model for predicting faults based on pH;
[0031] Inputting the speed and rolling bearing loss degree in the vibration signal data of the rolling bearing at different speeds into the first LSTM model for training includes:
[0032] (a) Data preprocessing and enhancement;
[0033] Normalization and standardization: Normalize or normalize the vibration signal and speed data. The expression is:
[0034] ;
[0035] In the formula, is the normalized data value, is the original data value, is the maximum value in the original data, is the minimum value in the original data;
[0036] Normalization scales the data to between 0 and 1, and the sliding window technique is applied to split the vibration signal and speed data into time windows of fixed length;
[0037] (b) Using bidirectional LSTM, the forward and backward temporal dependencies are learned simultaneously through two parallel LSTM units;
[0038] (c) Fusion of multiple input features: The input vibration signal and speed are combined through feature engineering or the fusion layer in the neural network. The key moments between the speed and vibration signal are weighted using the attention mechanism to capture the relationship between the vibration signal and the speed data.
[0039] (d) Dynamic learning rate adjustment: Use the learning rate scheduler to dynamically adjust the learning rate according to the training progress. Use cosine annealing to adjust the learning rate. Cosine annealing learning rate adjustment uses the cosine function to gradually reduce the learning rate from the initial value to close to zero. The specific process is as follows:
[0040] The learning rate is calculated as:
[0041] ;
[0042] In the formula, For the The learning rate at step time, is the minimum learning rate, is the initial maximum learning rate, is the current training step number, is the maximum number of steps in the entire annealing process, is the cosine function;
[0043] The learning rate gradually decreases with the number of training steps, following the change curve of the cosine function and eventually approaching 0; through cosine annealing learning rate adjustment, the model can converge quickly in the early stage, and in the later stage, a smaller learning rate is used for fine-tuning to stabilize the convergence; cosine annealing is combined with the learning rate restart mechanism to re-increase the learning rate after the cycle ends to prevent falling into the local optimal solution and improve the generalization ability of the model.
[0044] Furthermore, the model for predicting faults based on rotation speed includes:
[0045] Input features, including speed data and vibration signals;
[0046] The model structure, including the LSTM layer, extracts the change pattern of vibration signals and speed by learning the time dependency of input data. The gated structure of the LSTM unit captures long-term and short-term dependencies and memorizes the historical wear state of the rolling bearing.
[0047] The output layer finally predicts the fault state of the rolling bearing under a given speed condition and outputs a continuous loss prediction value or a discrete fault category;
[0048] The load-based fault prediction model, the temperature-based fault prediction model, the humidity-based fault prediction model, the cleanliness-based fault prediction model, and the pH-based fault prediction model all have the following characteristics:
[0049] Input layer: receiving vibration signals and specific environmental characteristics input, the specific environment includes load, temperature, humidity, cleanliness, pH;
[0050] LSTM unit: learns time series features and captures long-term and short-term dependencies;
[0051] Stacked LSTM layers: for understanding complex dynamic behaviors;
[0052] Output layer: predicts the failure or loss of rolling bearings, supporting classification and regression tasks;
[0053] Optimization algorithm: Use Adam or other adaptive optimization algorithms to accelerate convergence;
[0054] Data preprocessing and enhancement: Optimize input features through standardization, normalization, and data augmentation techniques.
[0055] In step S6, the second LSTM model includes: a multi-input layer, a fusion layer and an output layer, the multi-input layer receives prediction results from multiple single-factor LSTM models; the fusion layer fuses features from different input sources to generate a multi-dimensional representation for predicting the fault state;
[0056] The fusion strategy of the fusion layer includes weighted fusion, which assigns weights to different inputs and extracts new comprehensive feature representations; the fault state or loss degree is predicted in the output layer. For classification tasks, the output layer uses the softmax function to output the probability of the fault category, and for regression tasks, it outputs continuous loss prediction values;
[0057] The attention mechanism calculates the importance weights of different input features and selectively weights the features to generate a more representative feature representation that contains global information. The implementation steps are:
[0058] (1) Representation of input features: The input of the attention mechanism is multiple feature vectors, each of which comes from the output of a single-factor LSTM model. These features represent vibration signals under different speed, load, and temperature conditions. These input feature vectors are represented by a vector set, and each feature vector represents a working condition.
[0059] (2) Calculate attention weights: For each input feature, an attention score is calculated using a trainable weight matrix. The score reflects the importance of the feature to the final prediction. Weighted operations are used in the calculation formula to indicate the importance of different features. The softmax function is used to normalize all calculated attention scores so that the sum of the weights of all features is 1, thereby reasonably allocating the weights of different features.
[0060] (3) Weighted feature representation: Multiply each feature by the calculated attention weight to obtain a weighted feature representation; ensure that important features have higher weights and unimportant features have lower weights;
[0061] (4) Fusion of weighted features: All weighted features are summed to obtain a global fusion feature representation; the fused features contain the importance information of all input features and are weighted to ensure that the comprehensive features can better reflect the key features in fault prediction;
[0062] (5) Comprehensive feature output: The fused comprehensive features are passed to the output layer for fault prediction. For classification tasks, the output layer uses the softmax function to output the probability of the fault category. For regression tasks, the output layer outputs continuous loss prediction values.
[0063] Further, weighted fusion, including:
[0064] Step 1, data collection and monitoring: monitoring the vibration signal, speed, load, temperature, humidity, cleanliness and pH data of rolling bearings under different factors during actual operation; these data are used to track the wear process of rolling bearings;
[0065] Step 2: Calculation of the wear degree duration: Under each factor, the time it takes for the rolling bearing to reach the critical point of failure is calculated by analyzing the vibration signal and environmental data; this time length is called the wear degree duration, which reflects the deterioration speed of the rolling bearing under this factor;
[0066] Step 3: Weight allocation: The loss duration is inversely proportional to the weight. The shorter the loss duration, the greater the impact of this factor on the damage of the rolling bearing, and the higher the corresponding weight. The weight is calculated by the following formula:
[0067] ;
[0068] In the formula, For the The weight of the factors, is the duration of the loss of a factor, is the total number of all factors, For the The quantitative value of each factor;
[0069] Step 4, weighted fusion: Apply the weight of each factor to the corresponding feature data, generate weighted feature representation by weighting the features, multiply each feature vector by its weight to obtain the weighted feature, the formula is:
[0070] ;
[0071] In the formula, is the weighted eigenvector, is the original eigenvector of a factor;
[0072] Step 5: Sum the fused features: Sum all weighted features to get a comprehensive feature representation, expressed as:
[0073] ;
[0074] In the formula, It is the fused feature representation, which represents the comprehensive features after weighted processing of multiple input features, and is used for subsequent prediction or analysis;
[0075] This comprehensive feature represents the fusion of all single factor features, and reflects the influence of each factor on the fault through weight;
[0076] Step 6: Second LSTM model training and optimization: During the training and optimization of the second LSTM model for historical data, an improved strategy is used to dynamically adjust the weights of various factors so that the model accurately reflects the impact of different factors on rolling bearing losses. The specific optimization steps are as follows:
[0077] Custom loss function: In order to better capture the loss characteristics of rolling bearings under different working conditions, a custom loss function is designed. This loss function not only takes into account the error, but also performs weighted processing according to the loss weight of each factor, thereby improving the sensitivity to complex working conditions. The defined loss function is as follows:
[0078] ;
[0079] In the formula, is the loss value, is the predicted value of the model, is the actual loss value;
[0080] The loss function is calculated by weighting Adjust the contribution of each factor to the model to reflect the different degrees of influence on losses under different working conditions;
[0081] (1) Hybrid optimization algorithm: In order to further improve the training efficiency of the model, the back propagation algorithm and the AdamW optimization algorithm are combined. AdamW is an adaptive learning rate optimization algorithm combined with weight decay. It can effectively prevent the overfitting problem of the model in long-term training and ensure rapid convergence of the model. AdamW updates the parameters through the following formula:
[0082] ;
[0083] In the formula, For the The parameter value at the iteration time, For the The parameter value at the iteration time, is the learning rate, is the bias-corrected first-order moment estimate, is the bias-corrected second-order moment estimate, To prevent the smoothing term from having a zero denominator, is the weight attenuation coefficient;
[0084] (2) Dynamic adjustment of feature weights: During the training process, the model will dynamically adjust the weights of different factors based on their contributions in each iteration. As training progresses, the weight of each feature will be continuously updated based on the performance of the model to ensure that the model can adapt to changes under different working conditions. The adjustment formula is as follows:
[0085] ;
[0086] In the formula, For the The weight at the iteration, For the The weight at the iteration, is the gradient of the loss function with respect to the weight;
[0087] In order to prevent the LSTM model from experiencing gradient explosion or gradient vanishing problems when processing long time series data, the gradient clipping technique is used to limit the norm of the gradient to a predefined threshold range. The specific clipping method is as follows:
[0088] ;
[0089] In the formula, is the gradient vector, is the L2 norm of the gradient, is the clipping threshold;
[0090] By clipping excessive gradients, the stability of the model during training is ensured. This process optimizes the values of each weight through the back-propagation algorithm combined with the loss function.
[0091] In step S7, a number of rolling bearings used by the propeller at the stern of the unmanned ship are numbered, including: encoding by a hierarchical coding method, and the coding structure is:
[0092] AB-CD-EF-GH-IJ-KL;
[0093] AB: bearing number, two letters represent the number, from 01 to 99;
[0094] CD: Speed category, using 2 digits to indicate the speed range, 01 means 0-1000RPM, 02 means 1001-2000RPM, and so on;
[0095] EF: Load category, using two digits to indicate the load range, 01 for light load, 02 for medium load, and 03 for heavy load;
[0096] GH: Temperature category, using 2 digits to represent the temperature range, 01 represents 0-50°C, 02 represents 51-100°C;
[0097] IJ: Humidity category, using 2 digits to indicate the humidity range, 01 for 0-30%, 02 for 31-60%, and 03 for 61-100%;
[0098] KL: cleanliness and pH category, K stands for cleanliness, L stands for pH, 01 stands for clean environment and neutral pH value, 02 stands for polluted environment and acidity, and 03 stands for polluted environment and alkalinity;
[0099] The methods for saving categories include:
[0100] Multi-level cross-classification: On the basis of single factor classification, multiple factors are combined to form a more detailed classification;
[0101] Time series classification and storage: When monitoring rolling bearings, the time series information is stored in combination with the above conditions. Environmental changes and bearing status in different time periods help identify early signs of faults.
[0102] In the process of classification and storage according to different factors, the multi-level indexing function of the database is used to take the code of each rolling bearing as the main index. At the same time, auxiliary indexes are established according to the speed and load conditions to quickly find relevant data when specific factor analysis is required.
[0103] The present invention also provides a rolling bearing fault diagnosis system comprising:
[0104] Test experimental platform, used for rolling bearing test experiments;
[0105] A data acquisition module is used to obtain vibration signal data of rolling bearings of different factors; the different factors include: different speeds, specific speeds, different loads, different temperatures, different humidity and different pH;
[0106] A vibration change data acquisition module is used to determine the vibration signal data of the rolling bearing under different constraints and acquire the vibration change data of the rolling bearing under different constraints;
[0107] A rolling bearing wear degree determination module, used to determine the wear degree of the rolling bearing based on the acquired vibration change data of the rolling bearing in different constraint states;
[0108] Several first LSTM model construction modules are used to construct multiple first LSTM models, and the current factors and the rolling bearing loss degree in the vibration signal data of the rolling bearing under different factors are input into the first LSTM model for training, and the rules in the time series are learned through the LSTM unit to obtain multiple models for predicting faults based on different factors, that is, multiple single-factor LSTM models;
[0109] The second LSTM model construction module is used to construct a second LSTM model including multiple input layers, a fusion layer and an output layer, input multiple single-factor LSTM models into the multiple input layers, and fuse the features from different input sources together using a fusion strategy through the fusion layer; construct a global comprehensive prediction, and output the comprehensive prediction result through the output layer;
[0110] The application module is used to number several rolling bearings used on the stern propeller of the unmanned ship before diagnosing the rolling bearing fault, and classify and save them according to different factors; collect different factors of the current operation of several rolling bearings, and based on the results of classification and saving, selectively input the different factors of the current operation into the single-factor LSTM model for fault prediction, and then input the fault prediction results into the second LSTM model for comprehensive fault prediction, so as to obtain the comprehensive fault diagnosis results of the rolling bearing.
[0111] In combination with all the above technical solutions, the beneficial effects of the present invention are as follows:
[0112] (1) The present invention first collects the data of the speed, load, temperature, humidity, cleanliness and pH of the rolling bearing, classifies the data based on the speed, load, temperature, humidity, cleanliness and pH of the rolling bearing, and selectively inputs the data into the model based on speed prediction fault, the model based on load prediction fault, the model based on temperature prediction fault, the model based on humidity prediction fault, the model based on cleanliness prediction fault and the model based on pH prediction fault to predict single factor fault; then the single factor fault prediction result is input into the multi-factor fault prediction model to predict multi-factor fault, and the fault diagnosis result is obtained. Compared with the prior art, the prediction results of the same type of data can be used to avoid repeated data input, reduce the amount of data processing, and save time and effort. By optimizing the process of rolling bearing fault diagnosis, the present invention significantly improves the efficiency in data collection, classification, and the use of fault prediction models compared with the prior art, which is specifically reflected in reducing the amount of data processing, avoiding repeated data input, and improving the accuracy and efficiency of fault diagnosis through multi-factor fusion.
[0113] (2) Independent and fusion modeling under multi-factor working conditions: This paper constructs multiple single-factor LSTM models for different working conditions of rolling bearings (such as speed, load, temperature, humidity, etc.), and accurately captures the independent features of each working condition. At the same time, the attention mechanism is innovatively introduced to weightedly fuse these single-factor features to generate a comprehensive feature representation, so that the model has higher adaptability and accuracy under complex and changeable working conditions.
[0114] (3) Customized loss weight calculation and optimization: This paper proposes a weight calculation method based on the loss degree and duration, which can dynamically adjust the weight distribution according to the deterioration speed of the rolling bearing under different working conditions and optimize the accuracy of feature fusion. This weight calculation mechanism makes the diagnosis results more targeted and improves the effectiveness of diagnosis, especially in the processing of multivariate and long time series data.
[0115] (4) Training optimization strategy of the second LSTM model: This invention significantly improves the training efficiency of the model and the accuracy of fault prediction by improving the back propagation algorithm, introducing a custom loss function, dynamic learning rate adjustment, gradient clipping and other technologies. In particular, the use of a custom loss function can better reflect the impact of different working conditions on rolling bearing losses, further enhancing the generalization ability of the model in different environments.
[0116] (5) Learning ability based on historical data: By training on a large amount of historical data, the model of the present invention can adapt to the rolling bearing behavior under different working conditions and improve the prediction ability of future faults by continuously optimizing model parameters. This deep learning model training method based on long-term historical data enhances the feasibility of the model in actual industrial environments.
[0117] (6) Integration of real-time monitoring and diagnosis system: The present invention not only proposes an advanced fault diagnosis algorithm, but also realizes real-time monitoring and diagnosis of rolling bearings by combining multiple monitoring devices such as wireless vibration sensors, humidity sensors, and temperature sensors, thereby enhancing the practicality and reliability of the system. This multi-sensor integrated design provides a comprehensive solution for rolling bearing fault diagnosis under complex working conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0118] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the principles of the present disclosure;
[0119] Figure 1 It is a flow chart of a rolling bearing fault diagnosis method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0120] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific implementation disclosed below.
[0121] The innovation of the present invention is that: combining the vibration signal data of multi-factor working conditions (such as speed, load, temperature, etc.), independently modeling the characteristics of each working condition by constructing multiple single-factor first LSTM models (first long short-term memory), and using the attention mechanism to weightedly fuse the multi-factor features, and further making a comprehensive prediction through the second LSTM model (second long short-term memory). This method not only improves the accuracy of fault diagnosis, but also realizes efficient and accurate prediction of rolling bearing losses under complex working conditions by dynamically adjusting weights and optimizing the model training process.
[0122] Embodiment 1, as Figure 1 As shown, the rolling bearing fault diagnosis method provided by the embodiment of the present invention includes:
[0123] S1: Test rolling bearing vibration signals under various working conditions;
[0124] S2: Based on the experimental platform, the vibration signal data of the rolling bearing under different working conditions are obtained. The different working conditions include: different speeds, specific speeds, different loads, different temperatures, different humidity and different pH conditions;
[0125] Exemplarily, the vibration signal data of rolling bearings of different factors include:
[0126] Vibration signal data of rolling bearings at different speeds, vibration signal data of rolling bearings at specific speeds, vibration signal data of rolling bearings at specific speeds but different loads, vibration signal data of rolling bearings at specific speeds but different temperatures, vibration signal data of rolling bearings at specific speeds but different humidity, vibration signal data of rolling bearings at specific speeds but different cleanliness levels, and vibration signal data of rolling bearings at specific speeds but different pH levels;
[0127] S3: analyzing the collected vibration signal data, determining the vibration change of the rolling bearing according to different constraint conditions, and obtaining the vibration change data under different constraint conditions;
[0128] The vibration signal data of rolling bearings with different factors include:
[0129] Acquisition of rolling bearing vibration signal data at different speeds: Connect the rolling bearing to the motor shaft, adjust the motor speed through the tachometer, and the speed range can be adjusted according to experimental requirements. The vibration signal of the rolling bearing is collected based on the wireless vibration sensor.
[0130] Acquisition of rolling bearing vibration signal data at a specific speed: Connect the rolling bearing to the motor shaft, adjust the motor to the specific speed range required for the experiment, and collect the vibration signal of the rolling bearing based on the wireless vibration sensor.
[0131] Acquisition of rolling bearing vibration signal data at a specific speed but different loads: Connect the rolling bearing to the motor shaft, adjust the motor to a specific speed, and set different load conditions by adjusting the load device (such as a disc eddy current brake), and collect the vibration signal of the rolling bearing based on the wireless vibration sensor.
[0132] Acquisition of rolling bearing vibration signal data at a specific speed but different humidity: Connect the rolling bearing to the motor shaft, adjust the motor to a specific speed, set different humidity conditions through a humidifier and humidity sensor, and collect the vibration signal of the rolling bearing based on a wireless vibration sensor.
[0133] Acquisition of rolling bearing vibration signal data at a specific speed but different temperatures: Connect the rolling bearing to the motor shaft, adjust the motor to a specific speed, set different temperature conditions through a heating device and a temperature sensor, and collect the vibration signal of the rolling bearing based on a wireless vibration sensor.
[0134] Acquisition of rolling bearing vibration signal data at a specific speed but different cleanliness levels: Connect the rolling bearing to the motor shaft, adjust the motor to a specific speed, set different cleanliness conditions through a dust sprayer and a dust concentration sensor, and collect the vibration signal of the rolling bearing based on a wireless vibration sensor.
[0135] Acquisition of rolling bearing vibration signal data at a specific speed but different pH values: Connect the rolling bearing to the motor shaft, adjust the motor to a specific speed, set different pH conditions through an acid-base gas generator and a pH sensor, and collect the vibration signal of the rolling bearing based on a wireless vibration sensor.
[0136] Exemplarily, obtaining vibration change data of a rolling bearing under different constraint factors includes:
[0137] (1) Determining the vibration signal data of the rolling bearing under different loads based on the vibration signal data of the rolling bearing under a specific speed and the vibration signal data of the rolling bearing under a specific speed but different loads:
[0138] Determine the vibration changes under different loads through time domain characteristics:
[0139] Mean :
[0140] ;
[0141] in, For the signal samples, is the total number of signal samples.
[0142] Standard Deviation :
[0143] ;
[0144] At the same time, the spectrum is analyzed using Fast Fourier Transform (FFT)
[0145] ;
[0146] in, For frequency The signal spectrum at It is time domain signal samples; It is a natural constant, approximately equal to 2.718; is an imaginary unit, approximately equal to ; is the frequency component of the signal.
[0147] Observe the difference in frequency component energy distribution caused by load changes. Combine wavelet transform to extract local features, calculate the changes in wavelet coefficients of each layer, and determine the impact of load on the signal.
[0148] (2) Determining the vibration signal data of the rolling bearing at different temperatures based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but different temperatures:
[0149] Time domain features and frequency domain features can be used to determine the impact of temperature on vibration signals. For example, changes in the mean and standard deviation can reflect signal changes caused by temperature increases or decreases.
[0150] Use wavelet transform to perform multiscale analysis of a signal:
[0151] ;
[0152] in, are the wavelet coefficients, is the mother wavelet coefficient, is a scale representing different frequency resolutions, is the time shift;
[0153] (3) Determine the vibration signal data of the rolling bearing at different humidity based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but different humidity.
[0154] Skewness is a measure of the asymmetry of the signal distribution. Changes in humidity may lead to increased asymmetry in the vibration signal:
[0155] ;
[0156] in, represents the skewness of the signal, It is signal samples, is the mean of the signal, is the standard deviation of the sample;
[0157] Cross-correlation analysis is used to compare the similarity of signals at different humidity levels:
[0158] ;
[0159] in, It's a signal and signal The cross-correlation function between are the vibration signals under two different humidity conditions, is the time lag, is the index of the signal sample.
[0160] (4) Determine the vibration signal data of the rolling bearing at different cleanliness levels based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but different cleanliness levels:
[0161] Kurtosis is used to analyze the frequency of occurrence of peaks in the signal. When the cleanliness decreases, the number of peaks in the vibration signal increases, resulting in an increase in kurtosis.
[0162] ;
[0163] in, represents the kurtosis of the signal, It is signal samples, is the mean of the signal, is the sample standard deviation, is the total number of signal samples.
[0164] High frequency energy is measured by frequency domain analysis:
[0165] ;
[0166] in, Represents high frequency energy, is the frequency The signal spectrum at and Represent the lower and upper limits of the high frequency band respectively.
[0167] (5) Determine the vibration signal data of the rolling bearing under different pH values based on the vibration signal data of the rolling bearing under a specific speed and the vibration signal data of the rolling bearing under a specific speed but different pH values:
[0168] Variance is used to measure the volatility of a signal. Changes in pH may cause the fluctuation of the vibration signal to increase, and the variance will also increase:
[0169] ;
[0170] in, represents the variance of the signal, It is signal samples, is the mean of the signal, is the total number of signal samples. Use FFT to analyze the energy changes of low-frequency components. Changes in pH may cause the energy of low-frequency signals to increase or decrease;
[0171] S4: Determine the degree of wear of the rolling bearing based on the acquired vibration change data of the rolling bearing in different constraint states; specifically including the following methods:
[0172] The first method uses a combination of time domain and frequency domain feature analysis;
[0173] Time domain characteristics: The time domain characteristics of the signal can reflect the vibration amplitude of the bearing and its change pattern over time. A worn bearing usually exhibits more high-frequency shocks, larger vibration amplitudes or more irregular vibration patterns.
[0174] Root Mean Square (RMS):
[0175] ;
[0176] Among them, an increase in RMS usually indicates that the vibration of the rolling bearing becomes larger and the wear may be aggravated;
[0177] Peak Value:
[0178] ;
[0179] Higher peaks may indicate wear, cracks, or damage resulting in strong impacts.
[0180] Kurtosis:
[0181] ;
[0182] The kurtosis value measures the strength of sharp impulses in the signal, and kurtosis generally increases as loss increases.
[0183] Among them, frequency domain characteristics: frequency domain characteristics can reflect how the energy of the vibration signal is distributed at different frequencies, especially wear and loss will increase the high-frequency components.
[0184] Spectral Energy:
[0185] ;
[0186] in, is the frequency The signal spectrum at It is the sum of energy within a specified frequency range. High-frequency energy is usually associated with bearing surface damage and increases significantly as losses increase.
[0187] In the second method, wavelet packet decomposition technology is used for loss determination.
[0188] Wavelet packet decomposition can decompose the vibration signal more finely to capture the non-stationary characteristics caused by loss. Different wavelet packet coefficients reflect the signal characteristics of different frequency components.
[0189] Wavelet Packet Energy:
[0190] ;
[0191] in, It is Layer, The wavelet packet coefficients of nodes, It is the sum of the energies in different frequency bands. As the loss increases, the wavelet packet energy, especially the energy in the high frequency band, will increase.
[0192] The third approach, improved cross-correlation analysis, is used for loss trend detection.
[0193] By comparing the vibration signals at the same speed in different time periods through cross-correlation analysis, the decrease in the cross-correlation coefficient indicates that the change of the vibration signal has intensified, which may mean an increase in losses.
[0194] Cross-correlation function:
[0195] ;
[0196] In the formula, and It is the vibration signal of two different time periods; is the time lag; the smaller the cross-correlation function, the greater the difference between the signals, reflecting the intensification of rolling bearing loss.
[0197] The fourth method is to use the deep learning model (LSTM) to predict rolling bearing losses.
[0198] The LSTM (Long Short-Term Memory Network) model is used to predict the loss of rolling bearings. By inputting time domain, frequency domain, wavelet packet and other features into LSTM, the model can learn the long-term dependencies in the time series and predict the future loss trend of rolling bearings.
[0199] LSTM model structure:
[0200] Input layer: Input vibration signal features of multiple time steps.
[0201] Hidden layer: LSTM units learn the time series features in the signal.
[0202] Output layer: predict the loss level at future moments.
[0203] Loss function (mean square error):
[0204] ;
[0205] In the formula, is the predicted value of the model, is the actual loss value; by minimizing the loss function, LSTM can improve the accuracy of loss prediction.
[0206] The fifth method is to use a weighted scoring model to comprehensively evaluate losses.
[0207] To better quantify the extent of attrition, a weighted scoring model can be used to combine the values of multiple features to generate a comprehensive score.
[0208] Weighted scoring formula:
[0209] ;
[0210] In the formula, It is a comprehensive score used to evaluate the degree of loss or fault status of rolling bearings. It is obtained by weighted summation of multiple features. is the feature weight, optimized through historical data or machine learning, is the root mean square value, reflecting the overall strength of the vibration signal. is the kurtosis, which measures the intensity of sharp shocks in the vibration signal. The peak value is the maximum value of the signal and is used to detect impact damage or severe wear. is high frequency energy, is the wavelet packet energy.
[0211] S5: constructing several first LSTM models, inputting the speed and rolling bearing loss degree in the vibration signal data of the rolling bearing at different speeds into the first LSTM model for training, learning the rules in the time series through the LSTM unit, and obtaining multiple models for predicting faults based on different factors, that is, multiple single-factor LSTM models;
[0212] Specifically, the first LSTM model includes an input layer for inputting vibration signals and speed data, an intermediate layer for extracting time series features using multiple layers of LSTM units, and a final prediction output layer. The speed and degree of rolling bearing loss in the vibration signal data of the rolling bearing at different speeds are input into the first LSTM model for training. During training, the first LSTM model receives the vibration signal and speed data, and learns the rules in the time series through the LSTM unit to obtain a model for predicting faults based on different factors, wherein the model for predicting faults based on different factors includes a model for predicting faults based on speed, a model for predicting faults based on load, a model for predicting faults based on temperature, a model for predicting faults based on humidity, a model for predicting faults based on cleanliness, and a model for predicting faults based on pH.
[0213] Exemplarily, inputting the rotation speed and rolling bearing loss degree in the vibration signal data of the rolling bearing at different rotation speeds into the first LSTM model for training includes:
[0214] (a) Data preprocessing and enhancement.
[0215] Normalization and standardization: Normalize or normalize vibration signals and speed data so that the model can better handle input data of different magnitudes.
[0216] ;
[0217] In the formula, is the normalized data value, is the original data value, is the maximum value in the original data, is the minimum value in the original data;
[0218] Normalization scales the data to be between 0 and 1.
[0219] Time window sliding: In order to make more effective use of time series data, the sliding window technology can be applied to split the vibration signal and speed data into time windows of fixed length. In this way, LSTM can better capture local features and global dependencies.
[0220] (b) Using bidirectional LSTM.
[0221] Bidirectional LSTM: In order to capture the impact of past and future time steps on the current state, the LSTM model can be changed to a bidirectional LSTM. Bidirectional LSTM uses two parallel LSTM units (forward and reverse) to simultaneously learn the forward and backward time dependencies, thereby improving fault prediction accuracy.
[0222] The forward LSTM processes the data of the past time steps, and the reverse LSTM processes the data of the future time steps, and finally merges the outputs of the two.
[0223] (c) Fusion of multiple input features.
[0224] Since the input contains two features (vibration signal and rotation speed), it can be optimized in the following way:
[0225] Feature interaction: Vibration signals and speed data are combined through feature engineering or fusion layers in neural networks to capture the relationship between them. For example, the key moments between speed and vibration signals can be weighted using an attention mechanism.
[0226] (d) Dynamic learning rate adjustment.
[0227] Learning rate scheduler: Use the learning rate scheduler to dynamically adjust the learning rate based on the training progress. Gradually reducing the learning rate when the model is close to convergence can help achieve better model performance.
[0228] Exemplarily, obtaining a model for predicting faults based on rotation speed specifically includes:
[0229] The learning rate is adjusted using cosine annealing to obtain a model for predicting faults based on speed. The main function of the model for predicting faults based on speed is to predict the occurrence of faults based on the speed and vibration signals of the rolling bearing.
[0230] The following are the key features of the model for predicting faults based on rotational speed:
[0231] (i) Model objective for predicting faults based on speed. The main task of the model for predicting faults based on speed is to use LSTM units to learn features from historical speed and vibration signals to predict the future fault status of rolling bearings. Through the time series analysis of the model, it is possible to identify potential abnormal patterns in vibration signals at different speeds and determine the fault trend of rolling bearings.
[0232] (ii) Input features. Speed data: The input speed represents the operating state of the rolling bearing. The model predicts possible failure modes by analyzing the impact of different speeds on the vibration signal. Vibration signal: The vibration signal is a key feature for fault prediction. Combined with speed data, the wear of the rolling bearing under different operating conditions can be more accurately detected.
[0233] (iii) Model structure for predicting faults based on rotational speed. LSTM layer: The LSTM layer of the model extracts the changing patterns of vibration signals and rotational speed by learning the temporal dependencies of the input data. The gated structure of the LSTM unit enables it to capture long-term and short-term dependencies and memorize the historical wear status of the rolling bearing.
[0234] Output layer: The output layer ultimately predicts the fault state of the rolling bearing under a given speed condition. The speed-based fault prediction model can output a continuous loss prediction value or a discrete fault category.
[0235] (iv) Fault prediction process.
[0236] Data input: Take historical vibration signals and speed data as input.
[0237] Feature extraction: LSTM units extract time series patterns from input data and identify features that may cause failures.
[0238] Prediction output: The prediction result is given through the output layer. The model for predicting faults based on speed can output the fault probability or loss value.
[0239] Fault classification: If the model is a classification task, the fault category of the rolling bearing can be output through the softmax layer; if it is a regression task, the loss prediction value is output.
[0240] (v) Evaluation and optimization.
[0241] Model evaluation for predicting faults based on rotational speed: Use accuracy, F1 score (classification task), or mean squared error (regression task) to evaluate the performance of the model for predicting faults based on rotational speed.
[0242] Speed-based fault prediction model optimization: Optimize the speed-based fault prediction model by increasing training data, improving the depth of LSTM units, using attention mechanisms, or automatically adjusting parameters (such as Grid Search and Bayesian Optimization);
[0243] In another exemplary embodiment, when each first LSTM model processes different factors (load, temperature, humidity, cleanliness, pH) of the rolling bearing, the corresponding load-based fault prediction model, temperature-based fault prediction model, humidity-based fault prediction model, cleanliness-based fault prediction model, and pH-based fault prediction model all have similar architecture and technical features to the speed-based fault prediction model:
[0244] Input layer: receives input of vibration signals and specific environmental characteristics (such as load, temperature, etc.);
[0245] LSTM unit: learns time series features and captures long-term and short-term dependencies;
[0246] Stacked LSTM layers: Multiple layers of LSTM enhance the model’s understanding of complex dynamic behaviors;
[0247] Output layer: predicts the failure or loss of rolling bearings, supporting classification and regression tasks;
[0248] Optimization algorithm: Use Adam or other adaptive optimization algorithms to accelerate convergence;
[0249] Data preprocessing and enhancement: Optimize model inputs through standardization, normalization, and data augmentation techniques.
[0250] These features enable the model to accurately predict rolling bearing failures under different factors and adapt to a variety of different operating environments;
[0251] S6: Construct the second LSTM model. The second LSTM model includes a multi-input layer, a fusion layer, and an output layer. The multi-input layer is responsible for receiving the prediction results from multiple single-factor LSTM models (models for predicting faults based on different factors). The multiple single factors include speed, load, temperature, humidity, cleanliness, and pH. That is, the multi-input layer is connected to the model for predicting faults based on speed, the model for predicting faults based on load, the model for predicting faults based on temperature, the model for predicting faults based on humidity, the model for predicting faults based on cleanliness, and the model for predicting faults based on pH, respectively;
[0252] Each single-factor LSTM model has already performed fault prediction by inputting the corresponding environmental features (for example, the model for predicting faults based on speed processes speed and vibration signals), and the role of the multi-input layer is to integrate the outputs of these multiple single-factor LSTM models as the input of the second LSTM model.
[0253] Input data: The input received by the multi-input layer is the output of the six single-factor LSTM models (for example: predicted values based on speed, load, etc.).
[0254] Each input represents the predicted failure probability or degree of wear of a rolling element bearing under a specific factor.
[0255] Multi-input processing: The multi-input layer processes these six independent prediction values into a multi-dimensional input vector and inputs it to the subsequent fusion layer for comprehensive analysis.
[0256] Specifically, the main technical function of the multi-input layer is to bring together the output data of multiple different prediction models and provide sufficient information for the subsequent fusion layer to make a comprehensive judgment on multi-factor faults.
[0257] Another example is that the fusion layer is used to fuse features from different input sources. It needs to process the output results of each single-factor LSTM model and perform feature fusion based on these results to build a more global comprehensive prediction.
[0258] Specifically include:
[0259] (I) Feature fusion: The fusion layer receives the predicted values (such as speed, load, temperature, etc.) from multiple input layers and combines these features to produce a multi-dimensional representation for more accurate fault status prediction.
[0260] Through feature fusion, the model can consider the combined impact of multiple factors on the rolling bearing state at the same time, rather than relying on just a single factor.
[0261] (II) Integration strategies, including:
[0262] Weighted fusion: You can assign weights to different inputs to ensure that important factors have a greater impact on the final prediction results.
[0263] Fully connected layer: A fully connected neural network can be used to connect different features and extract new comprehensive feature representations.
[0264] The main function of the fusion layer is to fuse the prediction results from multiple single factors to generate a comprehensive feature representation. This fusion process can capture the interactive relationship between multiple factors and improve the accuracy and robustness of fault prediction.
[0265] Specifically, the fusion layer performs feature fusion prediction based on speed, load, temperature, humidity, cleanliness and pH, and inputs the prediction results of the model based on speed prediction fault, the model based on load prediction fault, the model based on temperature prediction fault, the model based on humidity prediction fault, the model based on cleanliness prediction fault and the model based on pH prediction fault into the second LSTM model for training to obtain a multi-factor prediction fault model. The multi-factor prediction fault model achieves more comprehensive fault prediction by integrating the prediction results of multiple single-factor models.
[0266] As another example, the main technical features of the second LSTM model include a multi-input structure, an LSTM layer, a fusion mechanism, and an output layer. The multi-input structure of the second LSTM model receives the output results of multiple single-factor LSTM models (such as speed, load, temperature, humidity, cleanliness, pH), processes the time series data of these multiple factors through the LSTM layer, and learns the time dependency between the factors. The LSTM layer retains important historical information through its memory gate and forget gate, and ignores useless noise, thereby extracting features that are critical to fault prediction. Next, the fusion layer fuses the features of these different factors, using strategies such as weighted fusion, fully connected layers, or attention mechanisms to generate a comprehensive feature representation, and finally predicts the fault state or loss degree in the output layer. For classification tasks, the output layer uses a softmax function to output the probability of the fault category, while for regression tasks, it outputs continuous loss prediction values.
[0267] Among them, the technical role of the second LSTM model lies in multi-factor fusion prediction. By combining multiple environmental factors such as speed, load, temperature, etc., the second LSTM model can comprehensively consider the impact of these different factors on rolling bearings and improve the accuracy and robustness of fault prediction. This multi-factor fusion enables the second LSTM model to have a more comprehensive understanding of the health status of rolling bearings, overcome the limitations of single-factor models, and avoid ignoring potential key factors. In addition, the global prediction capability of the second LSTM model enhances its ability to capture failure modes under complex factors, especially when multiple environmental conditions act simultaneously. Finally, through training under different factors, the second LSTM model (multi-factor model) not only reduces the error caused by a single factor, but also improves the generalization ability of the second LSTM model, reduces the risk of overfitting, and performs well under unknown conditions.
[0268] S7: Before rolling bearing fault diagnosis, the several rolling bearings used on the unmanned ship's stern propeller are numbered and classified and saved according to speed, load, temperature, humidity, cleanliness and pH. Before rolling bearing fault diagnosis, in order to effectively encode and classify the several rolling bearings used on the unmanned ship's stern propeller, the coding scheme and classification method must be systematized and standardized, and combined with multiple single factors in the operation of rolling bearings (such as speed, load, temperature, humidity, cleanliness and pH).
[0269] Exemplarily, the present invention innovatively proposes to perform coding and classification storage based on these factors, including:
[0270] (i) Coding scheme.
[0271] The code should not only uniquely identify each rolling bearing, but also include its operating status and external environmental factors for subsequent data analysis, fault diagnosis and tracking. A hierarchical coding method can be used, with the code consisting of multiple parts, each corresponding to an important factor.
[0272] The specific encoding format can be designed as follows:
[0273] Coding structure:
[0274] AB-CD-EF-GH-IJ-KL;
[0275] AB: Bearing number (two letters representing the number, for example from 01 to 99).
[0276] CD: Speed category (use 2 digits to represent the speed range, for example, 01 represents 0-1000RPM, 02 represents 1001-2000RPM, and so on).
[0277] EF: Load category (use 2 digits to indicate the load range, for example, 01 for light load, 02 for medium load, and 03 for heavy load).
[0278] GH: Temperature category (use 2 digits to represent the temperature range, for example, 01 represents 0-50°C, 02 represents 51-100°C).
[0279] IJ: Humidity category (use 2 digits to indicate humidity range, 01 indicates 0-30%, 02 indicates 31-60%, 03 indicates 61-100%).
[0280] KL: Cleanliness and pH category (for example, K stands for cleanliness, L stands for pH, 01 represents a clean environment and neutral pH, 02 represents a polluted environment and acidic, 03 represents a polluted environment and alkaline, etc.).
[0281] Coding example:
[0282] The code 01-02-03-01-02-02 can represent the following information:
[0283] Rolling bearings numbered 01;
[0284] The speed range is 1001-2000RPM;
[0285] The load is heavy load;
[0286] Temperature 0-50°C;
[0287] Humidity: 31-60%;
[0288] The cleanliness is low and the pH is acidic.
[0289] This hierarchical coding method makes the operating condition of each rolling bearing clear at a glance, while supporting subsequent group analysis and fault diagnosis.
[0290] (ii) Classification and preservation scheme.
[0291] In order to systematically save and manage the monitoring data of rolling bearings, it is necessary to store them by categories and manage them in layers according to various important environmental factors and operating conditions. The following is an improved solution for the classified storage of the present invention:
[0292] (ii.1) Classification based on operating conditions.
[0293] Speed classification: According to the speed of the bearing, the bearing data of different speed ranges can be saved separately. The speed has a significant impact on the loss of the bearing, so it is necessary to classify according to the speed.
[0294] For example: 0-1000RPM, 1001-2000RPM, above 2001RPM, etc.
[0295] Load classification: Load has a direct impact on the operating life and failure probability of the bearing, so it is classified according to the load. It can be classified and saved according to light load, medium load, and heavy load.
[0296] Light load (below a certain preset load value), medium load, heavy load, etc.
[0297] Temperature classification: Temperature affects the lubrication state inside the bearing, so the operating data of the bearing under different temperature conditions should be saved separately. It can be classified by temperature range (such as 0-50°C, 51-100°C, etc.).
[0298] Humidity classification: High humidity may cause bearing lubrication failure, corrosion and other problems, so classifying and storing according to humidity ranges will help with subsequent diagnosis.
[0299] Humidity zones: 0-30%, 31-60%, 61-100%.
[0300] Cleanliness and pH classification: Cleanliness and pH affect the wear and corrosion of bearings. Data in clean environments and data in polluted environments should be saved separately.
[0301] For example, clean environment, slightly polluted environment, severely polluted environment, as well as neutral, acidic, alkaline, etc.
[0302] (ii.2) Improved classification strategy.
[0303] In order to improve the efficiency of data management and fault diagnosis, data can be saved according to the following improved classification strategy:
[0304] Multi-level cross-classification: On the basis of single-factor classification, consider combining multiple factors to form a more detailed classification. For example, cross-classification can be performed according to combination conditions such as "speed + load" or "temperature + humidity". This can more accurately save data under complex factors and facilitate subsequent multi-factor analysis.
[0305] Time series classification and storage: When monitoring rolling bearings, the time series information is stored in combination with the above conditions. Environmental changes (such as temperature fluctuations) and bearing conditions (such as speed fluctuations) in different time periods can help identify early signs of failure more accurately.
[0306] (iii) Database optimization and indexing,In order to improve storage and retrieval efficiency, the multi-level indexing function of the database can be used, and the code of each rolling bearing can be used as the main index, while auxiliary indexes can be established based on conditions such as speed and load. In this way, relevant data can be found quickly when specific factor (factor) analysis is required.
[0307] S8: When diagnosing rolling bearing faults, the speed, load, temperature, humidity, cleanliness and pH of several rolling bearings are collected. Based on the classified and saved results, the speed, load, temperature, humidity, cleanliness and pH are selectively input into a model for predicting faults based on speed, a model for predicting faults based on load, a model for predicting faults based on temperature, a model for predicting faults based on humidity, a model for predicting faults based on cleanliness and a model for predicting faults based on pH for fault prediction. The fault prediction results are then input into the second LSTM model (a model for predicting faults based on multiple factors) for comprehensive fault prediction.
[0308] For example, when diagnosing rolling bearing faults, the speed, load, temperature, humidity, cleanliness and pH of several rolling bearings are collected, and based on the classified and saved results, the speed, load, temperature, humidity, cleanliness and pH are selectively input into the speed-based fault prediction model, the load-based fault prediction model, the temperature-based fault prediction model, the humidity-based fault prediction model, the cleanliness-based fault prediction model and the pH-based fault prediction model for fault prediction, and then the fault prediction results are input into the second LSTM model (multi-factor fault prediction model) for fault prediction. By fusing the prediction results of each single-factor LSTM model, the second LSTM model (multi-factor fault prediction model) dynamically adjusts the contribution of each factor to fault diagnosis based on weighted fusion or attention mechanism, and uses the LSTM layer to further capture the dependency in the time series, so as to achieve more accurate comprehensive fault prediction and obtain the rolling bearing fault diagnosis result.
[0309] Embodiment 2, based on embodiment 1, the rolling bearing test experimental platform includes a frame, a motor, a tachometer, a disc eddy current brake, a heater, a temperature sensor, a humidifier, a humidity sensor, a dust sprayer, a dust concentration sensor, an acid-base gas generator, a pH sensor and a wireless vibration sensor. The basic framework is as follows:
[0310] Central location: The electric motor is connected to the rolling bearing, representing the core structure of the system.
[0311] Peripheral layout:
[0312] The tachometer and eddy current brake are connected to the motor shaft to indicate the control of speed and load.
[0313] Heaters and temperature sensors are placed near the bearings to represent temperature regulation and monitoring.
[0314] The humidifier and humidity sensor are on the other side, indicating humidity control.
[0315] The dust sprayer and dust concentration sensor are on one side of the environment, indicating the control and monitoring of air cleanliness.
[0316] The acid-base gas generator and the pH sensor are located on the other side, indicating the regulation of the acid-base environment.
[0317] Through this layout, the core equipment, monitoring devices and environmental control equipment of the entire system can be clearly presented.
[0318] In step S2, the acquisition of the vibration signal data of the rolling bearing at different speeds is to connect the rolling bearing to the motor shaft, observe and adjust the speed of the motor through a tachometer, and set the speed range to 500 RPM to 5000RPM, specifically including 500RPM, 1000RPM, 1500RPM, 2000RPM, 3000RPM, 4000RPM and 5000RPM, and collect the vibration signal of the rolling bearing based on the wireless vibration sensor; it can be understood that the above speed range is used to adjust different factors according to experimental needs. This allows users to know the speed range of the test and facilitates understanding of how to obtain vibration signal data at different speeds.
[0319] Exemplarily, the vibration signal data of the rolling bearing at a specific speed is obtained by connecting the rolling bearing to the motor shaft, adjusting the motor to a specific speed (such as 1500RPM or 2000RPM), and collecting the vibration signal of the rolling bearing based on the wireless vibration sensor;
[0320] It is understandable that 1500-2000RPM belongs to the medium speed range, which is usually the speed range commonly used by rolling bearings in practical applications. Therefore, it is more reasonable to use these specific speeds for medium speed testing.
[0321] Exemplarily, the acquisition of vibration signal data of a rolling bearing at a specific speed but under different loads is to connect the rolling bearing to a motor shaft, adjust the motor to the above-mentioned specific speed (such as 1500 RPM or 2000 RPM), adjust the disc eddy current brake (load), and collect the vibration signal of the rolling bearing based on the wireless vibration sensor;
[0322] The vibration signal data of the rolling bearing at a specific speed but different humidity is obtained by connecting the rolling bearing to the motor shaft, adjusting the motor to the above-mentioned specific speed (such as 1500RPM or 2000RPM), observing and adjusting the humidifier through the humidity sensor, and collecting the vibration signal of the rolling bearing based on the wireless vibration sensor;
[0323] It can be understood that the effect of load changes on vibration is more significant at medium speeds, and it also helps to observe the effect of humidity on the lubrication and friction conditions of the bearing.
[0324] Exemplarily, the acquisition of vibration signal data of a rolling bearing at a specific speed but at different temperatures is to connect the rolling bearing to a motor shaft, adjust the motor to the above-mentioned specific speed (such as 3000RPM or 4000RPM), observe and adjust the heater through a temperature sensor, and collect the vibration signal of the rolling bearing based on a wireless vibration sensor;
[0325] The vibration signal data of the rolling bearing at a specific speed but different cleanliness levels is obtained by connecting the rolling bearing to the motor shaft, adjusting the motor to the above-mentioned specific speed (such as 1000RPM or 3000RPM), observing and adjusting the dust sprayer through the dust concentration sensor, and collecting the vibration signal of the rolling bearing based on the wireless vibration sensor;
[0326] It can be understood that for high temperature testing, 3000RPM or 4000RPM is used, and the speed under cleanliness changes is 1000RPM or 3000RPM. At high speed (such as above 3000RPM), the temperature rises faster, which helps to observe the impact of high temperature on rolling bearings, while cleanliness testing can detect the impact of dust at different speeds.
[0327] Exemplarily, the vibration signal data of a rolling bearing at a specific speed but different pH values is obtained by connecting the rolling bearing to a motor shaft, adjusting the motor to the above-mentioned specific speed (such as 1000RPM or 2000RPM), observing and adjusting the acid-base gas generator through a pH sensor, and collecting the vibration signal of the rolling bearing based on a wireless vibration sensor.
[0328] Exemplarily, in step S3 and step S4, the basis for determination is based on the time domain characteristics and frequency domain characteristics of the rolling bearing vibration signal data. The time domain characteristics include mean, root mean square value (RMS), peak value and kurtosis, wherein the root mean square value (RMS) is used to measure the overall energy level of the vibration signal, the peak value is used to detect the impact amplitude in the signal, and the kurtosis is used to detect whether there is a sudden high impact component in the signal. Through these time domain characteristics, the vibration signal can be preliminarily screened. If the RMS value, peak value or kurtosis exceeds the set threshold, it means that the rolling bearing may have signs of wear, cracks or insufficient lubrication.
[0329] After the initial screening, further frequency domain feature analysis is performed. The time domain signal is converted into a frequency domain signal through fast Fourier transform (FFT), and the spectrum energy, main frequency and fault characteristic frequency (such as inner ring fault frequency, outer ring fault frequency and rolling element passing frequency) are extracted. In the frequency domain characteristics, the spectrum energy is used to measure the intensity of the vibration signal in different frequency bands, and the main frequency represents the main frequency component of the signal. If a significant increase in the energy peak is observed at the fault characteristic frequency (such as BPFI, BPFO, BSF, etc.), the specific fault location of the rolling bearing (such as inner ring fault, outer ring fault or rolling element fault) can be further confirmed. By combining the time domain and frequency domain features, the fault location and severity of the rolling bearing can be determined more accurately, avoiding misjudgment that may be caused by a single feature.
[0330] Exemplarily, in step S6, the fusion factor rule of the fusion layer of the second LSTM model (multi-factor fault prediction model) is based on the fusion from high to low weights, and the rule assigns weights to different factors (such as speed, load, temperature, humidity, cleanliness, pH) and performs weighted processing according to their importance to fault prediction. The weight of each factor is dynamically optimized by the model based on historical data or real-time data to ensure that the most important factor dominates the fusion process, while the less important factors have relatively less impact.
[0331] Exemplarily, during the fusion process, the outputs of each single-factor LSTM model are weighted and summed according to the weights to obtain a comprehensive fault prediction result. The factors with greater weights have a greater impact on the final prediction result. Through this weighted fusion, the second LSTM model can flexibly adapt under different factors, comprehensively consider the effects of multiple factors, and thus improve the accuracy and robustness of fault diagnosis.
[0332] The advantage of this fusion rule is its dynamic adjustment capability, which can flexibly adjust the weights of various factors according to different operating conditions, ensuring that the prediction results of the second LSTM model in different environments are accurate and stable. Among them, the weights of speed, load, temperature, humidity, cleanliness and pH are based on the wear degree of the rolling bearing. The shorter the wear degree of the rolling bearing, the higher the weight, and vice versa.
[0333] Exemplarily, the process of obtaining weights, i.e., weighted fusion of the fusion strategy in step (II) above, includes:
[0334] Step 1, data collection and monitoring: First, the vibration signal, speed, load, temperature, humidity, cleanliness and pH of the rolling bearing under different factors are monitored in actual operation. These data are used to track the wear process of the rolling bearing, that is, the time it takes for the rolling bearing to go from normal state to fault state under each factor.
[0335] Step 2, calculation of the wear degree duration: Under each factor (factor), calculate the time it takes for the rolling bearing to reach the critical point of failure by analyzing the vibration signal and other environmental data. This length of time is called the wear degree duration, which reflects the deterioration rate of the rolling bearing under this factor. For example, if the rolling bearing is damaged faster at high speed than at high temperature, the high speed corresponds to a shorter wear duration.
[0336] Step 3, weight allocation: The loss duration is inversely proportional to the weight. The shorter the loss duration, the greater the impact of this factor on the damage of the rolling bearing, so the corresponding weight is higher. The weight is usually calculated by the following formula:
[0337] ;
[0338] in, is the duration of the loss of a factor. is the weight of the factor, is the total number of factors, For the Quantitative value of a factor.
[0339] Step 4, training and optimization of the second LSTM model: By training and optimizing the second LSTM model on a large amount of historical data, the weights of various factors are repeatedly adjusted so that the second LSTM model can accurately reflect the impact of different factors on the loss of rolling bearings. This process can optimize the value of each weight through the back propagation algorithm combined with the loss function. The cosine annealing learning rate adjustment is to gradually reduce the learning rate through the cosine function, from the initial value to close to zero. The specific process is as follows:
[0340] The learning rate calculation formula is:
[0341] ;
[0342] In the formula, For the The learning rate at step time, is the minimum learning rate, is the initial maximum learning rate, is the current training step number, is the maximum number of steps in the entire annealing process, is the cosine function;
[0343] In this method, the learning rate will gradually decrease with the number of training steps, following the change curve of the cosine function, and eventually approaching 0. Through cosine annealing learning rate adjustment, the model can converge quickly in the early stage, and fine-tune with a smaller learning rate in the later stage to stabilize the convergence. In addition, cosine annealing can also be combined with the learning rate restart mechanism to re-increase the learning rate after the cycle ends, prevent falling into the local optimal solution, and improve the generalization ability of the model.
[0344] Through this loss duration-based weight acquisition mechanism, it can be ensured that the second LSTM model more accurately reflects the contribution of various factors to rolling bearing failures, ultimately improving prediction accuracy.
[0345] Exemplarily, in step S8, the principle of selective input based on the results saved in categories is that if the categories are the same, there is no need to input them repeatedly.
[0346] It can be seen from the above embodiments that by optimizing the prior art in combination with technical features, the present invention significantly reduces the repeated input and processing of data and realizes efficient use of data. At the same time, by combining single-factor and multi-factor fusion models, not only the accuracy of fault diagnosis is improved, but also the computing time and resource consumption are greatly reduced. Significant positive effects have been achieved in processing efficiency, resource utilization and fault prediction accuracy.
[0347] Embodiment 3, the present invention provides a rolling bearing fault diagnosis system comprising:
[0348] Test experimental platform, used for rolling bearing test experiments;
[0349] A data acquisition module is used to obtain vibration signal data of rolling bearings of different factors; the different factors include: different speeds, specific speeds, different loads, different temperatures, different humidity and different pH;
[0350] A vibration change data acquisition module is used to determine the vibration signal data of the rolling bearing under different constraints and acquire the vibration change data of the rolling bearing under different constraints;
[0351] A rolling bearing wear degree determination module, used to determine the wear degree of the rolling bearing based on the acquired vibration change data of the rolling bearing in different constraint states;
[0352] Several first LSTM model construction modules are used to construct multiple first LSTM models, and the current factors and the rolling bearing loss degree in the vibration signal data of the rolling bearing under different factors are input into the first LSTM model for training, and the rules in the time series are learned through the LSTM unit to obtain multiple models for predicting faults based on different factors, that is, multiple single-factor LSTM models;
[0353] The second LSTM model construction module is used to construct a second LSTM model including multiple input layers, a fusion layer and an output layer, input multiple single-factor LSTM models into the multiple input layers, and fuse the features from different input sources together using a fusion strategy through the fusion layer; construct a global comprehensive prediction, and output the comprehensive prediction result through the output layer;
[0354] The application module is used to number several rolling bearings used on the stern propeller of the unmanned ship before diagnosing the rolling bearing fault, and classify and save them according to different factors; collect different factors of the current operation of several rolling bearings, and based on the results of classification and saving, selectively input the different factors of the current operation into the single-factor LSTM model for fault prediction, and then input the fault prediction results into the second LSTM model for comprehensive fault prediction, so as to obtain the comprehensive fault diagnosis results of the rolling bearing.
[0355] The effectiveness of the rolling bearing fault diagnosis method proposed in the present invention is verified through simulation experiments, and it is compared and analyzed with the prior art to demonstrate the advantages of the present invention in terms of diagnostic accuracy, model training time, false alarm rate and advance amount of fault prediction under multi-factor conditions.
[0356] The experiment is conducted on a rolling bearing test platform, which includes a frame, motor, tachometer, disc eddy current brake, heater, temperature sensor, humidifier, humidity sensor, dust sprayer, dust concentration sensor, acid-base gas generator, pH sensor and wireless vibration sensor. The platform can simulate the running state of rolling bearings under different working conditions and is used to collect vibration signals, speed, load, temperature, humidity, cleanliness and pH data.
[0357] The experimental steps are:
[0358] (1) Data collection: The experimental platform simulates the operation of rolling bearings under different working conditions, and collects vibration signals and working condition data under low load-low speed, medium load-medium speed, high load-high speed, high temperature-high humidity and different cleanliness conditions. Each set of data includes working condition parameters and vibration signals for model training and testing.
[0359] (2) Experimental group settings: Normal working condition group: Data collection of rolling bearings under normal working conditions as a baseline control. Fault working condition group: Data collection of rolling bearings under different fault conditions, including early wear, fatigue and other faults. Multi-factor working condition group: Data collection of rolling bearings under multi-factor conditions (such as simultaneously changing load, speed, temperature, humidity, etc.) to simulate complex environments.
[0360] (3) Model training and testing: The multi-factor LSTM model of the present invention is used in combination with the attention mechanism to train the collected data. The model optimizes weight distribution through a custom loss function and a dynamic learning rate.
[0361] As shown in Table 1, the same data was trained using existing technologies (such as SVM model and traditional neural network) as a control group. The test data was used for fault diagnosis through different models, and the diagnosis accuracy, false alarm rate, training time and fault prediction advance were recorded.
[0362] Table 1 Experimental results and analysis:
[0363]
[0364] The method of the present invention adopts multi-factor fusion modeling, which can effectively capture the influence of various factors on rolling bearing loss under different working conditions, and thus shows a high accuracy rate under all test conditions. Especially under complex working conditions (such as high load, high speed, high temperature and high humidity), the average accuracy rate of the present invention is improved by about 10% compared with the prior art.
[0365] Table 2 False alarm rate comparison:
[0366]
[0367] As shown in Table 2, since the present invention dynamically adjusts the weights of different factors through the attention mechanism, it can effectively identify and reduce false fault alarms. Under various working conditions, the false alarm rate is significantly lower than that of the prior art, with an average reduction of more than 10%, especially under high load and high temperature and high humidity conditions, showing higher robustness.
[0368] Table 3 Comparison of model training time:
[0369]
[0370] As shown in Table 3, although the model of the present invention is relatively complex, due to the application of optimization algorithms (such as custom loss functions and AdamW optimization algorithm), the training time is controlled within a reasonable range, only increasing by 10%-15% compared with the existing technology, but achieving higher diagnostic accuracy and robustness.
[0371] Table 4 Comparison of advance fault prediction time:
[0372]
[0373] As shown in Table 4, the multi-factor LSTM model of the present invention can detect early signs of faults earlier, with an average advance detection time of about 4 hours, which is much higher than the advance time of the prior art model (an average of 2.6-3.2 hours), thereby providing more reaction time for preventive maintenance.
[0374] The simulation experiment results show that the rolling bearing fault diagnosis method proposed in the present invention has higher diagnostic accuracy, significantly reduced false alarm rate and early fault prediction capability under multiple working conditions. Although the training time is slightly increased, through the application of the optimization algorithm, the model of the present invention shows higher robustness and stability under complex working conditions, which fully reflects its practical application value and technical innovation in rolling bearing fault diagnosis.
[0375] Through these data and analysis, the specific comparison results between the present invention and the prior art are demonstrated, further verifying the technical advantages of the present invention. You can replace the sample data with actual experimental data for precise description.
[0376] In terms of data collection and classification optimization, in the prior art, rolling bearing fault diagnosis often requires the repeated input of data under multiple factors into different prediction models, which easily leads to redundant processing and repeated calculations of data. For example, in multiple models, factors such as speed and load need to be input separately, which will increase the data processing time. Optimization of the present invention: The present invention first collects environmental data such as the speed, load, temperature, humidity, cleanliness and pH of the rolling bearing, classifies them based on these data, and stores them at one time according to different factors, avoiding repeated collection and input. In this way, in the subsequent prediction process, only the classified data needs to be selectively input, reducing the amount of data processing.
[0377] In the prior art, the data collection and model input process is lengthy, and data is repeatedly processed, resulting in a waste of time and computing resources. In the present invention, data only needs to be selectively input after classification, reducing repeated input steps, greatly reducing the amount of data processing, and improving processing efficiency. In the fault prediction of a combination of single factors and multiple factors, in the prior art, single-factor fault prediction and multi-factor fault prediction are often performed separately. After the single-factor model is independently analyzed, all data needs to be input again for multi-factor prediction, which increases the processing complexity.
[0378] Optimization of the present invention: The present invention first inputs the data into the single-factor prediction model based on speed, load, temperature, humidity, cleanliness and pH for independent prediction, and obtains the fault prediction results under each factor. Subsequently, these single-factor prediction results are directly input into the multi-factor prediction model for comprehensive analysis, thereby avoiding repeated data input and calculation. After comprehensively considering the contribution of each factor to the fault, the multi-factor fusion model outputs a more accurate fault diagnosis result.
[0379] In the prior art, each model runs independently, and the single-factor and multi-factor analysis steps are repeated, which is inefficient and difficult to respond quickly. In the present invention, the single-factor prediction results are directly input into the multi-factor model for fusion prediction, which reduces repeated input and redundant calculations, and greatly improves the prediction speed and accuracy.
[0380] In terms of improving data processing efficiency, in the prior art, the data input and processing process in rolling bearing fault diagnosis is relatively lengthy and complicated, requiring the same set of data to be processed multiple times, which is time-consuming and labor-intensive.
[0381] Optimization of the present invention: Through classification and stratification processing, the present invention uses the same data for different prediction models without the need to repeatedly input each model, thus achieving effective use of data. Due to one-time classification storage and selective input, a large amount of repeated calculations are reduced, significantly reducing the amount of data processing.
[0382] In the prior art, the same data needs to be input repeatedly, which increases the processing complexity and time. However, the present invention uses the same type of data for multi-model prediction, avoids repeated input, reduces the number of data processing times, and saves time and computing resources.
[0383] In terms of specific data comparison of positive effects, the experiment shows that in traditional technology, for the multi-factor input of a certain fault model, the average time required to process each set of data is 10 seconds, and each set of data needs to process 5 models (speed, load, temperature, humidity, cleanliness). Therefore, the complete processing time is: 10×5=50 seconds. In the present invention, after classified preservation and one-time selective input, the results are directly input into the multi-factor fusion model after single-factor processing, assuming that the single processing time is 12 seconds (including single-factor and multi-factor fusion time). Compared with the existing technology, the processing time is reduced by: 50 seconds - 12 seconds = 38 seconds, and the processing time is reduced by 76%.
[0384] In terms of the optimization effect of the multi-factor fusion model, the diagnostic accuracy of the present invention is improved by inputting the results of the single-factor model into the multi-factor fusion model, because the multi-factor model can comprehensively consider the impact of various factors on the fault, avoiding the errors caused by analyzing each factor separately in the prior art. Assuming that the fault prediction accuracy of the traditional model is 85%, the present invention increases the fault prediction accuracy to 92% through the multi-factor fusion model, further improving the reliability of diagnosis.
[0385] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principles of the present invention should be covered within the protection scope of the present invention.
Claims
1. A rolling bearing fault diagnosis method, characterized in that: The method includes: S1: Test rolling bearing vibration signals under various working conditions; S2: Based on the experimental platform, the vibration signal data of the rolling bearing under different working conditions are obtained. The different working conditions include: different speeds, specific speeds, different loads, different temperatures, different humidity and different pH conditions; S3: analyzing the collected vibration signal data, determining the vibration change of the rolling bearing according to different constraint conditions, and obtaining the vibration change data under different constraint conditions; S4: Analyze the degree of rolling bearing loss based on the vibration change data under different working conditions; S5: construct multiple first LSTM models, input the acquired vibration signal data under different working conditions and the corresponding loss degree into the first LSTM model for training, generate a prediction fault model for each single factor, and obtain multiple single-factor LSTM models; S6: Based on multiple single-factor LSTM models, a second LSTM model including multiple input layers, fusion layers and output layers is constructed to generate a comprehensive fault prediction model by fusing the prediction results under different working conditions, and output the comprehensive fault diagnosis results; S7: Before performing fault diagnosis, several rolling bearings used by the propeller at the stern of the unmanned ship are numbered and classified and saved according to different working conditions; S8: Collect the working condition data of the rolling bearing currently in operation, and based on the classification and saving results, input the current working condition data into the corresponding single-factor LSTM model for prediction, and input the prediction results of each single-factor model into the second LSTM model for comprehensive fault prediction, and output the fault diagnosis result of the rolling bearing; In step S6, the second LSTM model includes: a multi-input layer, a fusion layer and an output layer, the multi-input layer receives prediction results from multiple single-factor LSTM models; the fusion layer fuses features from different input sources to generate a multi-dimensional representation for predicting the fault state; The fusion strategy of the fusion layer includes weighted fusion, which assigns weights to different inputs and extracts new comprehensive feature representations; the fault state or loss degree is predicted in the output layer. For classification tasks, the output layer uses the softmax function to output the probability of the fault category, and for regression tasks, it outputs continuous loss prediction values; The attention mechanism calculates the importance weights of different input features and selectively weights the features to generate a more representative feature representation that contains global information. The implementation steps are: (1) Representation of input features: The input of the attention mechanism is multiple feature vectors, each of which comes from the output of a single-factor LSTM model. These features represent vibration signals under different speed, load, and temperature conditions. These input feature vectors are represented by a vector set, and each feature vector represents a working condition. (2) Calculate attention weights: For each input feature, calculate the attention score through the weight matrix. The score reflects the importance of the feature to the final prediction. The calculation formula uses weighted operations to indicate the importance of different features. Use the softmax function to normalize all calculated attention scores so that the sum of the weights of all features is 1, thereby reasonably allocating the weights of different features. (3) Weighted feature representation: Multiply each feature by the calculated attention weight to obtain a weighted feature representation; ensure that important features have higher weights and unimportant features have lower weights; (4) Fusion of weighted features: All weighted features are summed to obtain a global fusion feature representation; the fused features contain the importance information of all input features and are weighted to ensure that the comprehensive features can better reflect the key features in fault prediction; (5) Comprehensive feature output: The fused comprehensive features are passed to the output layer for fault prediction. For classification tasks, the output layer uses the softmax function to output the probability of the fault category. For regression tasks, the output layer outputs continuous loss prediction values.
2. The rolling bearing fault diagnosis method according to claim 1, characterized in that: In step S2, vibration signal data of rolling bearings under different working conditions are obtained based on the experimental platform, including: vibration signal data of rolling bearings under different speeds, vibration signal data of rolling bearings under specific speeds, vibration signal data of rolling bearings under different load conditions, vibration signal data of rolling bearings under different humidity conditions, vibration signal data of rolling bearings under different temperature conditions, vibration signal data of rolling bearings under different cleanliness conditions, and vibration signal data of rolling bearings under different pH conditions.
3. The rolling bearing fault diagnosis method according to claim 1, characterized in that: In step S3, vibration change data under different constraint conditions are obtained, including: (1) determining the vibration signal data of the rolling bearing under different loads based on the vibration signal data of the rolling bearing under a specific speed and the vibration signal data of the rolling bearing under a specific speed but different loads; (2) determining the vibration signal data of the rolling bearing at different temperatures based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but at different temperatures; (3) determining the vibration signal data of the rolling bearing at different humidity based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but different humidity; (4) determining the vibration signal data of the rolling bearing at different cleanliness levels based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but different cleanliness levels; (5) Based on the vibration signal data of the rolling bearing at a specific speed and the vibration signal data of the rolling bearing at a specific speed but different pH values, the vibration signal data of the rolling bearing at different pH values are determined.
4. The rolling bearing fault diagnosis method according to claim 1, characterized in that: In step S4, the degree of loss of the rolling bearing is analyzed, including: The first method uses a combination of time domain and frequency domain feature analysis; In the second method, wavelet packet decomposition technique is used for loss determination; The third approach, improved cross-correlation analysis is used for loss trend detection; The fourth method is to use the deep learning model LSTM to predict rolling bearing losses; In the fifth method, a weighted scoring model is used to comprehensively evaluate the loss. The weighted scoring model combines the values of multiple features to generate a comprehensive score. The weighted scoring formula is: Score=w1·RMS+w2·Kurtosis+w3·Peak+w4·E high +w5·W energy In the formula, Scor e It is a comprehensive score used to evaluate the loss degree or fault status of rolling bearings. It is the result obtained by weighted summation of multiple features. i , i = 1, 2, 3, 4, 5 are feature weights, which are optimized through historical data or machine learning. RMS is the root mean square value, which reflects the overall strength of the vibration signal. Kurtosis is the kurtosis, which measures the strength of sharp impacts in the vibration signal. Peak is the peak value, the maximum value of the signal, which is used to detect impact damage or severe wear. E high is the high frequency energy, W energy is the wavelet packet energy.
5. The rolling bearing fault diagnosis method according to claim 1, characterized in that: In step S5, the multiple single-factor LSTM models include: a model for predicting faults based on rotation speed, a model for predicting faults based on load, a model for predicting faults based on temperature, a model for predicting faults based on humidity, a model for predicting faults based on cleanliness, and a model for predicting faults based on pH; Inputting the speed and rolling bearing loss degree in the vibration signal data of the rolling bearing at different speeds into the first LSTM model for training includes: (a) Data preprocessing and enhancement; Normalization and standardization: Normalize or normalize the vibration signal and speed data. The expression is: In the formula, x′ is the normalized data value, x is the original data value, max(x) is the maximum value in the original data, and min(x) is the minimum value in the original data; Normalization scales the data to between 0 and 1, and the sliding window technique is applied to split the vibration signal and speed data into time windows of fixed length; (b) Using bidirectional LSTM, two parallel LSTM units are used to simultaneously learn the forward and backward temporal dependencies; (c) Fusion of multiple input features: for the input vibration signal and speed, the vibration signal and speed data are combined through feature engineering or the fusion layer in the neural network, and the key moments between the speed and vibration signal are weighted using the attention mechanism to capture the relationship between the vibration signal and the speed data; (d) Dynamic learning rate adjustment: Use the learning rate scheduler to dynamically adjust the learning rate according to the training progress. Use cosine annealing to adjust the learning rate. The cosine annealing learning rate adjustment gradually reduces the learning rate through the cosine function, from the initial value to close to zero. The specific process is as follows: The learning rate is calculated as: Where η t is the learning rate at step t, η min is the minimum learning rate, η max is the initial maximum learning rate, T cur is the current training step number, T max is the maximum number of steps in the entire annealing process, cosx is the cosine function; The learning rate gradually decreases with the number of training steps, following the change curve of the cosine function and eventually approaching 0; through cosine annealing learning rate adjustment, the model can converge quickly in the early stage, and in the later stage, a smaller learning rate is used for fine-tuning to stabilize the convergence; cosine annealing is combined with the learning rate restart mechanism to re-increase the learning rate after the cycle ends to prevent falling into the local optimal solution and improve the generalization ability of the model.
6. The rolling bearing fault diagnosis method according to claim 5, characterized in that: Models for predicting faults based on speed include: Input features, including speed data and vibration signals; The model structure, including the LSTM layer, extracts the change pattern of vibration signals and speed by learning the time dependency of input data. The gated structure of the LSTM unit captures long-term and short-term dependencies and memorizes the historical wear state of the rolling bearing. The output layer finally predicts the fault state of the rolling bearing under a given speed condition and outputs a continuous loss prediction value or a discrete fault category; The load-based fault prediction model, the temperature-based fault prediction model, the humidity-based fault prediction model, the cleanliness-based fault prediction model, and the pH-based fault prediction model all have the following characteristics: Input layer: receiving vibration signals and specific environmental characteristics input, the specific environment includes load, temperature, humidity, cleanliness, pH; LSTM unit: learns time series features and captures long-term and short-term dependencies; Stacked LSTM layers: for understanding complex dynamic behaviors; Output layer: predicts the failure or loss of rolling bearings, supporting classification and regression tasks; Optimization algorithm: Use Adam or other adaptive optimization algorithms to accelerate convergence; Data preprocessing and enhancement: Optimize input features through standardization, normalization, and data augmentation techniques.
7. The rolling bearing fault diagnosis method according to claim 1, characterized in that: Weighted fusion, including: Step 1, data collection and monitoring: monitoring the vibration signal, speed, load, temperature, humidity, cleanliness and pH data of rolling bearings under different factors during actual operation; these data are used to track the wear process of rolling bearings; Step 2: Calculation of the wear degree duration: Under each factor, the time it takes for the rolling bearing to reach the critical point of failure is calculated by analyzing the vibration signal and environmental data; this time length is called the wear degree duration, which reflects the deterioration speed of the rolling bearing under this factor; Step 3: Weight allocation: The loss duration is inversely proportional to the weight. The shorter the loss duration, the greater the impact of this factor on the damage of the rolling bearing, and the higher the corresponding weight. The weight is calculated by the following formula: In the formula, w i is the weight of the i-th factor, t i is the loss duration of a factor, n is the total number of all factors, t k is the quantitative value of the kth factor; Step 4, weighted fusion: Apply the weight of each factor to the corresponding feature data, generate weighted feature representation by weighting the features, multiply each feature vector by its weight to obtain the weighted feature, the formula is: h i,weighted =w i ·h i In the formula, h i,weighted is the weighted eigenvector, h i is the original eigenvector of a factor; Step 5: Sum the fused features: Sum all weighted features to get a comprehensive feature representation, expressed as: In the formula, H fused is the feature representation after fusion; This comprehensive feature represents the fusion of all single factor features, and reflects the influence of each factor on the fault through weight; Step 6: Second LSTM model training and optimization: During the training and optimization of the second LSTM model for historical data, an improved strategy is used to dynamically adjust the weights of various factors so that the model accurately reflects the impact of different factors on rolling bearing losses. The specific optimization steps are as follows: Custom loss function: In order to better capture the loss characteristics of rolling bearings under different working conditions, a custom loss function is designed. This loss function not only takes into account the error, but also performs weighted processing according to the loss weight of each factor, thereby improving the sensitivity to complex working conditions. The defined loss function is as follows: Where L is the loss value, is the predicted value of the model, y i is the actual loss value.
8. The rolling bearing fault diagnosis method according to claim 7, characterized in that: The loss function is calculated by weight w i Adjust the contribution of each factor to the model to reflect the different degrees of influence on losses under different working conditions; (1) Hybrid optimization algorithm: In order to further improve the training efficiency of the model, the back propagation algorithm and the AdamW optimization algorithm are combined. AdamW is an adaptive learning rate optimization algorithm combined with weight decay. It can effectively prevent the overfitting problem of the model in long-term training and ensure rapid convergence of the model. AdamW updates the parameters through the following formula: In the formula, θ t is the parameter value at the tth iteration, θ t-1 is the parameter value at the t-1th iteration, η is the learning rate, is the bias-corrected first-order moment estimate, is the bias-corrected second-order moment estimate, ∈ is a smoothing term to prevent the denominator from being zero, and λ is the weight attenuation coefficient; (2) Dynamic adjustment of feature weights: During the training process, the model will dynamically adjust the weights of different factors based on their contributions in each iteration. As training progresses, the weight of each feature will be continuously updated based on the performance of the model to ensure that the model can adapt to changes under different working conditions. The adjustment formula is as follows: In the formula, is the weight at the t+1th iteration, is the weight at the tth iteration, is the gradient of the loss function with respect to the weight; In order to prevent the LSTM model from experiencing gradient explosion or gradient vanishing problems when processing long time series data, the gradient clipping technique is used to limit the norm of the gradient to a predefined threshold range. The specific clipping method is as follows: Where g is the gradient vector, ‖g‖2 is the L2 norm of the gradient, and c is the clipping threshold; By clipping excessive gradients, the stability of the model during training is ensured. This process optimizes the values of each weight through the back-propagation algorithm combined with the loss function.
9. The rolling bearing fault diagnosis method according to claim 1, characterized in that: In step S7, a number of rolling bearings used by the propeller at the stern of the unmanned ship are numbered, including: encoding by a hierarchical coding method, and the coding structure is: AB-CD-EF-GH-IJ-KL; AB: bearing number, two letters represent the number, from 01 to 99; CD: Speed category, using 2 digits to indicate the speed range, 01 means 0-1000RPM, 02 means 1001-2000RPM, and so on; EF: Load category, using two digits to indicate the load range, 01 for light load, 02 for medium load, and 03 for heavy load; GH: Temperature category, using 2 digits to indicate the temperature range, 01 indicates 0-50°C, 02 indicates 51-100°C; IJ: Humidity category, using 2 digits to indicate the humidity range, 01 for 0-30%, 02 for 31-60%, and 03 for 61-100%; KL: cleanliness and pH category, K stands for cleanliness, L stands for pH, 01 stands for clean environment and neutral pH value, 02 stands for polluted environment and acidity, and 03 stands for polluted environment and alkalinity; The methods for saving categories include: Multi-level cross-classification: On the basis of single factor classification, multiple factors are combined to form a more detailed classification; Time series classification and storage: When monitoring rolling bearings, the time series information is stored in combination with the above conditions. Environmental changes and bearing status in different time periods help identify early signs of faults. In the process of classification and storage according to different factors, the multi-level indexing function of the database is used to take the code of each rolling bearing as the main index. At the same time, auxiliary indexes are established according to the speed and load conditions to quickly find relevant data when specific factor analysis is required.
Citation Information
Patent Citations
Rolling bearing fault diagnosis method
CN117030268A
Equipment fault diagnosis method based on improved 1DCNN-BiLSTM
CN113822139A
Rolling bearing fault diagnosis model and method based on temperature vibration feature fusion
CN114742115A