A method, device, medium and equipment for locating a bearing fault in a fan gearbox

Through quantitative evaluation of the original characteristic data of the wind turbine gearbox bearing and analysis of the multi-modal fusion temperature prediction model, the precise location of the wind turbine gearbox bearing fault is achieved, which solves the problem of inaccurate fault location in the existing technology and improves the efficiency of the wind turbine gearbox bearing. Stability and operating efficiency of wind power equipment.

CN118332318BActive Publication Date: 2024-10-11CHENGDU SPACEON IND CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410772463.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-11
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

Existing technology is difficult to accurately locate wind turbine gearbox bearing faults, especially in complex and changeable actual operating environments, resulting in wind power equipment shutdowns and increased maintenance costs.

Method used

By quantitatively evaluating the original feature data of the wind turbine gearbox bearings, the contribution of each feature data to the fault is determined, and key feature data are extracted based on the contribution, and a multi-modal fusion temperature prediction model is used for prediction and analysis to realize the prediction of wind turbines. Precise location of gearbox bearing failures.

Benefits of technology

It improves the accuracy of wind turbine gearbox bearing fault location, reduces maintenance costs, and ensures the stable operation of wind power equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118332318B_ABST
    Figure CN118332318B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, medium and equipment for locating faults of wind turbine gearbox bearings, the method comprising: collecting the actual temperature and original feature data of the wind turbine gearbox bearing to be tested, and preprocessing the original feature data; constructing a wind turbine gearbox bearing temperature prediction model, and training the constructed model; inputting the preprocessed original feature data of the wind turbine gearbox bearing to be tested into the trained wind turbine gearbox bearing temperature prediction model to obtain the predicted temperature of the wind turbine gearbox bearing to be tested; comparing the predicted temperature with the warning temperature to determine whether the wind turbine gearbox bearing to be tested is in a high temperature warning; using a preset interpretation model to perform contribution analysis on the original feature data of the wind turbine gearbox bearing to be tested in a high temperature warning to identify key feature data, and locating faults of the wind turbine gearbox bearing to be tested based on the key feature data. The present application can find key features and achieve accurate positioning of bearing faults.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of wind turbine gearbox bearings, and specifically relates to a wind turbine gearbox bearing fault location method, device, medium and equipment. Background Art

[0002] In the field of wind power generation, the reliability of wind turbine gearboxes is crucial to the stable operation of the entire wind power generation system. As a key device that converts the low-speed rotation of the wind wheel into the high-speed rotation required by the generator, the performance of the gearbox directly affects the power generation efficiency and operating costs of the wind farm. However, during the long-term operation of the gearbox, due to the influence of the complex external environment and the wear of internal parts, it is often prone to problems such as bearing failure. Once these problems occur, not only will the wind power generation equipment be shut down, but it will also increase maintenance costs and even affect the stable power supply of the entire power grid.

[0003] At present, the methods for locating wind turbine gearbox bearing faults mainly include empirical methods, mechanism modeling methods, intelligent analysis methods, and vibration signal analysis methods. Among them, although empirical methods and mechanism modeling methods can provide certain fault diagnosis information under specific conditions, they usually rely on the rich professional knowledge and experience of professionals and are difficult to apply to complex and changeable actual operating environments; although intelligent analysis methods and vibration signal analysis methods can realize fault diagnosis automation, the accuracy of fault location still has certain limitations. In summary, when faced with processing large amounts of data and complex systems, the above methods are often difficult to accurately locate wind turbine gearbox faults. Summary of the invention

[0004] In response to the above problems, the purpose of this application is to propose a method, device, medium and equipment for locating a wind turbine gearbox bearing fault. This method quantitatively evaluates the original feature data of the wind turbine gearbox bearing to determine the contribution of each original feature data to the wind turbine gearbox bearing fault, and extracts key feature data based on the contribution to achieve accurate positioning of the wind turbine gearbox bearing fault.

[0005] To achieve the above objectives, this application proposes the following solutions:

[0006] A method for locating a fault of a wind turbine gearbox bearing, the method comprising: collecting the actual temperature and original feature data of a wind turbine gearbox bearing to be tested, and preprocessing the original feature data; constructing a wind turbine gearbox bearing temperature prediction model, and training the constructed model; wherein the wind turbine gearbox bearing temperature prediction model predicts the original feature data of the wind turbine gearbox bearing to be tested by using two different prediction methods at the same time to achieve multimodal fusion; inputting the preprocessed original feature data of the wind turbine gearbox bearing to be tested into the trained wind turbine gearbox bearing temperature prediction model to obtain the predicted temperature of the wind turbine gearbox bearing to be tested; comparing the predicted temperature of the wind turbine gearbox bearing to be tested with the actual temperature to determine whether the wind turbine gearbox bearing to be tested is in a high temperature warning; using a preset explanation model to perform contribution analysis on the original feature data of the wind turbine gearbox bearing to be tested in a high temperature warning to identify key feature data therein, and locating the fault of the wind turbine gearbox bearing to be tested based on the key feature data.

[0007] Optionally, the original characteristic data of the wind turbine gearbox bearing to be tested include: impeller speed, hub temperature, low-speed shaft front shaft temperature, low-speed shaft rear shaft temperature, gearbox speed, gearbox inlet oil temperature, gearbox inlet pressure, generator speed, generator torque, blade angle deviation, yaw error and inverter cooling medium temperature.

[0008] Optionally, the original feature data is preprocessed, including: removing abnormal data from the original feature data; and normalizing the original feature data after the abnormal data is removed.

[0009] Optionally, the original characteristic data of the wind turbine gearbox bearing includes a blade angle deviation, and preprocessing the blade angle deviation includes: acquiring blade angle data collected by multiple sensors; and determining the blade angle deviation based on the blade angle data collected by the multiple sensors using the following formula:

[0010]

[0011] Where Dev represents the blade angle deviation, Indicates i The angle of the blades, Represents the mean of the three blade angles.

[0012] Optionally, the training of the constructed model includes: obtaining and preprocessing historical data of wind turbine gearbox bearings, and dividing the preprocessed historical data into a training set and a test set; setting training parameters, and using the training set to train the preset model until the training meets the maximum number of iterations; using the test set to test the trained model, and during the test, if the mean absolute error MAE, mean square error MSE, and root mean square error RMSE, which are model performance evaluation indicators, are all less than a threshold, the model test passes; otherwise, the training parameters are adjusted or the training set samples are expanded to retrain the model until the test passes.

[0013] Optionally, the preset explanatory model is used to perform a contribution analysis on the original feature data of the wind turbine gearbox bearing to be tested that is in a high temperature warning state, including: generating all feature subsets that do not contain the original feature data through permutations and combinations; for each feature subset, calculating the marginal contribution value after adding the original feature data to the subset; assigning a weight to each marginal contribution value and taking the weighted sum to obtain the contribution value of the original feature data.

[0014] Optionally, after performing contribution analysis on the original feature data of the wind turbine gearbox bearing to be tested that is in high temperature warning using a preset interpretation model, the method further includes: performing interaction effect analysis on the original feature data based on the contribution.

[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a wind turbine gearbox bearing fault location device, the device comprising: an acquisition and preprocessing module, used to acquire the actual temperature and original feature data of the wind turbine gearbox bearing to be tested, and preprocess the original feature data; a model construction and training module, used to construct a wind turbine gearbox bearing temperature prediction model, and train the constructed model; wherein the wind turbine gearbox bearing temperature prediction model simultaneously predicts the original feature data of the wind turbine gearbox bearing to be tested by adopting two different prediction methods to realize multimodal fusion; the prediction module , used to input the pre-processed original feature data of the wind turbine gearbox bearing to be tested into the trained wind turbine gearbox bearing temperature prediction model to obtain the predicted temperature of the wind turbine gearbox bearing to be tested; the judgment module is used to compare the predicted temperature of the wind turbine gearbox bearing to be tested with the actual temperature to determine whether the wind turbine gearbox bearing to be tested is in a high temperature warning; the positioning module is used to use a preset explanation model to perform contribution analysis on the original feature data of the wind turbine gearbox bearing to be tested that is in a high temperature warning to identify the key feature data therein, and locate the fault of the wind turbine gearbox bearing to be tested based on the key feature data.

[0016] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the wind turbine gearbox bearing fault locating method as described in any embodiment of the present application.

[0017] In addition, to achieve the above-mentioned purpose, the present application also provides an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the wind turbine gearbox bearing fault locating method as described in any embodiment of the present application is implemented.

[0018] Compared with the prior art, this application can bring the following beneficial effects:

[0019] The fault location method provided in this application predicts the original feature data by adopting different prediction methods, and by fusing the two prediction results, it can obtain more accurate prediction results compared with the existing model. In addition, this application uses a preset interpretation model to analyze the contribution of the original feature data of the wind turbine gearbox bearing to be tested under high temperature warning, and can identify the key feature data with the greatest contribution to the high temperature warning based on the analysis results, and then can accurately locate the wind turbine gearbox bearing fault based on the key feature data. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a flow chart of a method for locating a bearing fault of a wind turbine gearbox proposed in one embodiment of the present application;

[0021] Figure 2 is a structural schematic diagram of a wind turbine gearbox bearing fault prediction model proposed in another embodiment of the present application;

[0022] Figure 3 yes Figure 2 A schematic diagram of the structure of the first prediction unit in the shown model;

[0023] Figure 4 yes Figure 2 A schematic diagram of the structure of the second prediction unit in the shown model;

[0024] Figure 5 is a schematic diagram of visual analysis of various characteristic data of a wind turbine gearbox bearing proposed in another embodiment of the present application;

[0025] Figure 6 is a schematic diagram of the average daily temperature of a single fan proposed in another embodiment of the present application;

[0026] Figure 7 is a schematic diagram of the influence of high temperature abnormal point characteristics of a single fan proposed in another embodiment of the present application;

[0027] Figure 8 is a heat map of the interaction effects of various characteristic data of a wind turbine gearbox bearing proposed in another embodiment of the present application;

[0028] Fig. 9 It is a structural schematic diagram of a wind turbine gearbox bearing fault locating device proposed in another embodiment of the present application;

[0029] Fig.10 is a schematic diagram of the structure of a storage medium proposed in another embodiment of the present application;

[0030] Fig.11 It is a schematic diagram of the structure of an electronic device proposed in another embodiment of the present application.

[0031] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0032] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0033] Figure 1 1 is a flow chart of a method for locating a wind turbine gearbox bearing fault proposed in this application. The method can be executed by an electronic device, such as a computer or server with computing capabilities. Figure 1 As shown, the method comprises the following steps:

[0034] S100: collecting the actual temperature and original characteristic data of the gearbox bearing of the wind turbine to be tested, and preprocessing the original characteristic data;

[0035] S200: constructing a wind turbine gearbox bearing temperature prediction model and training the constructed model; wherein the wind turbine gearbox bearing temperature prediction model predicts the original feature data of the wind turbine gearbox bearing to be tested by using two different prediction methods at the same time, so as to achieve multi-modal fusion;

[0036] S300: inputting the preprocessed original characteristic data of the wind turbine gearbox bearing to be tested into the trained wind turbine gearbox bearing temperature prediction model to obtain the predicted temperature of the wind turbine gearbox bearing to be tested;

[0037] S400: comparing the predicted temperature of the gearbox bearing of the wind turbine to be tested with the actual temperature to determine whether the gearbox bearing of the wind turbine to be tested is in a high temperature warning state;

[0038] S500: Using a preset interpretation model, a contribution analysis is performed on the original feature data of the wind turbine gearbox bearing to be tested that is in a high temperature warning state, so as to identify key feature data therein, and based on the key feature data, fault location is performed on the wind turbine gearbox bearing to be tested.

[0039] In this embodiment, by using different prediction methods to predict the original feature data and fusing the two prediction results, the model can obtain more accurate prediction results. In addition, this embodiment can identify the key features that play a leading role in the high temperature warning (i.e., the features with the highest contribution) based on the sorting results by sorting the original feature data of the wind turbine gearbox bearing to be tested with high temperature warning, so as to understand the root cause of the high temperature of the gearbox bearing, and then accurately locate the fault of the gearbox bearing to be tested.

[0040] In the above embodiment, the characteristic data of the wind turbine gearbox bearing to be tested include: impeller speed, hub temperature, low-speed shaft front shaft temperature, low-speed shaft rear shaft temperature, gearbox speed, gearbox inlet oil temperature, gearbox inlet pressure, generator speed, generator torque, blade angle deviation, yaw error and converter cooling medium temperature.

[0041] In an exemplary embodiment, in step S100, the original feature data may be preprocessed based on the following exemplary method, including:

[0042] S101: Eliminate abnormal data in the original feature data;

[0043] In this step, since there are certain outliers and invalid data during the shutdown period in the original feature data, it is necessary to eliminate such data to improve the data quality, thereby improving the accuracy of the model in locating the wind turbine gearbox bearing fault. For example, if it is detected that the average active power of the wind turbine within 10 consecutive minutes is less than or equal to 0, it means that the wind turbine is not in a normal power generation state. The data collected during this period is identified as an outlier and should be deleted. Specifically, it is first necessary to group the collected original feature data according to the time series, each group of data corresponds to 10 minutes of active power records, and then calculate the average value of each group. Below, this embodiment exemplifies the above-mentioned data elimination steps based on python:

[0044] import pandas as pd

[0045] # Read data

[0046] df = pd.read_csv('your_data.csv')# Please replace it with your data file path

[0047] # Make sure the timestamp column is of datetime type

[0048] df['timestamp'] = pd.to_datetime(df['timestamp'])

[0049] # Set timestamp as index of DataFrame

[0050] df.set_index('timestamp', inplace=True)

[0051] # Resample the data at 10-minute intervals to calculate the average active power

[0052] # '10T' means a time interval of 10 minutes

[0053] df_10min_avg_power = df['power'].resample('10T').mean()

[0054] # Print the results to view

[0055] print(df_10min_avg_power)

[0056] By executing the above code, the electronic device will output a new DataFrame, where each row represents the average active power in a 10-minute period.

[0057] S102: normalizing the original feature data after the abnormal data is removed.

[0058] In this step, the feature data after the abnormal data is removed is normalized by using the maximum and minimum normalization technology to compress the values ​​into the interval [0,1], thereby eliminating the influence of different dimensions. Specifically, the normalization of feature data can be achieved with the help of the following normalization formula:

[0059]

[0060] in, represents the normalized original feature data, represents the purified original feature data, and are the minimum and maximum values ​​of the original feature data after purification.

[0061] It should be noted that, among the raw feature data shown above, the blade angle deviation is different from other raw feature data collected by one sensor. The blade angle deviation is collected based on three sensors. Therefore, the preprocessing of the feature data is different from the above preprocessing method. Specifically, the blade angle deviation data can be preprocessed in the following way:

[0062] S1001: Acquire blade angle data collected by multiple sensors;

[0063] S1002: Determine the blade angle deviation using the following formula based on the blade angle data collected by multiple sensors:

[0064]

[0065] Where Dev represents the blade angle deviation, Indicates i The angle of the blades, Represents the mean of the three blade angles.

[0066] Figure 2 FIG. 2 is a schematic diagram of a wind turbine gearbox bearing temperature prediction model 200 according to an embodiment of the present application. Figure 2 As shown, in an exemplary embodiment, the model includes: a first prediction unit 210 , a second prediction unit 220 and a third prediction unit 230 .

[0067] Specifically, the first prediction unit 210 adopts the XGBoost model, such as Figure 3 As shown, the model specifically includes:

[0068] Input layer, used to receive the original feature data of the wind turbine gearbox bearing x t ;

[0069] Base Learner: Decision Tree;

[0070] The core component of the XGBoost model is the decision tree, and each decision tree is a weak learner. During the training process, each tree will learn the residual (i.e. the underfitting part) of the prediction results of the previous tree, gradually improving the overall prediction ability of the model. Each decision tree performs a series of binary partitions on the input data (based on the threshold of the feature value) to form internal nodes (split nodes) and leaf nodes.

[0071] Output Layer: used to output the first prediction result .

[0072] Specifically, the second prediction unit 220 adopts a regression linear model, such as Figure 4 As shown, the model specifically includes:

[0073] The input layer is also used to receive the original feature data x of the wind turbine gearbox bearing t ;

[0074] Linear Transformation layer is used to implement the original feature data x through matrix multiplication and addition operations t The linear transformation can be realized through the following calculation process:

[0075] Z=Wx t +b

[0076] Among them, z represents the output of the linear transformation layer, W represents the weight matrix, and x t represents the original feature data of the input, and b represents the bias vector.

[0077] Activation Function, usually a nonlinear activation function such as ReLU, sigmoid, tanh, etc., is used to generate nonlinear features by applying a linear function to the output z of the linear transformation layer:

[0078] Out_Re t =σ(z)

[0079] Here, σ represents the selected activation function.

[0080] Output Layer: used to output the second prediction result, i.e., nonlinear features .

[0081] The third prediction unit 230 adopts an LSTM model, specifically including: an input gate, a forget gate, an update gate and an output gate, and the feature vector obtained by merging the outputs of the first prediction unit and the second prediction unit As the input of the third prediction unit, they are input into the above gates respectively.

[0082] Furthermore, the feature vector and Hidden state at the moment After weighted combination, it is mapped to the input gate through the sigmoid function to obtain ; Eigenvector and Hidden state at the moment After weighted combination, the sigmoid function is used to map the result to the forget gate. ; Eigenvector and Hidden state at the moment After weighted combination, it is mapped to the update gate through the sigmoid function to obtain ; Eigenvector and Hidden state at the moment After weighted combination, it is mapped to the output gate through the sigmoid function to obtain . Further, and Cell state at a moment Multiply, and Multiply and and The multiplication results are added and output Cell state at a moment ,at the same time, After activation by the activation function Tanh Multiply them together to get the final output of the model , which is the final predicted temperature of the wind turbine gearbox bearing.

[0083] Specifically, the calculation process of the above model can be expressed by the following formula:

[0084]

[0085]

[0086]

[0087]

[0088]

[0089]

[0090]

[0091]

[0092]

[0093] in, Indicates that at time step The input feature vector of Represents the first tree; Indicates the number of trees; Represents the XGBoost model for the input feature vector The predicted output of Represents the Regression linear model for the input feature vector The predicted output of Indicates merging the outputs of the XGBoost model and the Regression linear model into a new feature vector; Represents the sigmoid activation function; Represents the input gate value of the LSTM unit; , , Represent the weight matrix of the input gate, the loop weight matrix and the bias term respectively; Represents the forget gate value of the LSTM unit; , , Represent the weight matrix, cyclic weight matrix and bias term of the forget gate respectively; Represents the output gate value of the LSTM unit; , , Represent the weight matrix of the output gate, the loop weight matrix and the bias term respectively; is an intermediate vector that determines the amount of information flowing into the input gate; , , Respectively The weight matrix, cyclic weight matrix and bias term of ; Represents the long-term memory of the LSTM unit; Represents the short-term memory of the LSTM unit, that is, the model output result; represents the activation function; Represents element-wise multiplication (Hadamard product).

[0094] The above model designed in this application has the following effects on the prediction of the wind turbine gearbox bearing temperature:

[0095] 1. Multimodal fusion: Multimodal fusion is achieved by combining two different prediction methods, the XGBoost model and the linear model. Among them, the XGBoost model is a powerful gradient boosting tree algorithm that is good at handling nonlinear relationships and feature interactions. The linear model is easy to interpret and robust in some cases. The two models have different sensitivities to different feature data. By adopting a multimodal fusion strategy, the respective advantages of the two models can be fully utilized to capture more aspects and complexities in the feature data. The two models can compensate for each other to balance the bias and variance to a certain extent, thereby reducing the overall prediction error, thereby improving the prediction performance and generalization ability of the model, especially for complex and nonlinear bearing temperature data, and more accurate prediction results can be obtained.

[0096] 2. Time series modeling capability: This model uses LSTM units for time series modeling, which can effectively capture the dynamic laws and long-term dependencies of bearing temperature changes over time. Through fine control of the input gate, forget gate, and output gate, it can retain historical information and adapt to changes in new inputs, thereby adapting to the time series characteristics of bearing temperature data.

[0097] 3. Adaptive information screening: The gating mechanism can automatically adjust the emphasis on new information and historical information based on the current input and the hidden state of the previous moment. For bearing temperature prediction, this means that the model can flexibly respond to temperature change trends under different working conditions and operating conditions, and adaptively screen out the feature information that has the greatest impact on the prediction results.

[0098] 4. Robustness and resistance to overfitting: XGBoost itself has good resistance to overfitting. It can reduce the error of a single model and improve the overall prediction stability by integrating multiple weak classifiers. The linear model has a simple structure, fewer parameters, and also has certain resistance to overfitting. The LSTM unit can avoid overfitting problems while maintaining long-term dependence through recurrent connections and gating mechanisms. These characteristics make the model have good robustness and generalization performance when facing bearing temperature data.

[0099] 5. Real-time prediction and online update: XGBoost and linear model calculations are relatively efficient. Combined with the recursive nature of LSTM units, this model can quickly respond to new observation data and make real-time predictions in practical applications. At the same time, when new raw feature data of bearings is available, model parameters can be easily updated online to continuously optimize prediction performance.

[0100] In summary, this model is particularly suitable for the prediction task of bearing temperature through multimodal fusion, time series modeling, adaptive information screening, good robustness and online update capabilities. It helps to improve the prediction accuracy, detect abnormal temperature changes in time, and provide strong support for equipment maintenance and fault warning.

[0101] Based on the above embodiments, the present application also proposes a wind turbine gearbox bearing temperature prediction model training method, including:

[0102] S201: Obtain historical data of wind turbine gearbox bearings and preprocess them, and divide the preprocessed historical data into a training set and a test set in a ratio of 7:3;

[0103] In this step, the historical data is preprocessed according to the above-mentioned preprocessing method, which will not be described in detail here.

[0104] S202: Setting training parameters. For example, booster selects the tree-based model gbtree by default, learning_rate is set to 0.01, max_depth is set to 3, and the maximum number of iterations is set to 300. The model is trained using the training set. During the model training process, when the number of model iterations meets the preset value, the model training is completed.

[0105] S203: Use the test set to test the trained model. During the test, if the mean absolute error (MAE), mean square error (MSE) and root mean square error (RMSE) as the model performance evaluation indicators are all less than the threshold (in this model test, more attention is paid to the error caused by high temperature samples, so the MAE threshold is set to a more tolerable 0.05, and the MSE threshold is set to a more stringent 0.001), the model test passes; otherwise, adjust the training parameters or expand the training set samples to retrain the model. For example, you can adjust the learning_rate to 0.005 and the max_depth to 5, and then retrain the model until the test passes.

[0106] Among the above indicators, the mean absolute error (MAE) is expressed as follows:

[0107]

[0108] The mean square error (MSE) is expressed as follows:

[0109]

[0110] The root mean square error (RMSE) is expressed as follows:

[0111]

[0112] in, is the sample size, It is The predicted value of samples, It is The actual value of the samples.

[0113] In a specific embodiment, the present application verifies the performance of the wind turbine gearbox bearing temperature prediction model in combination with a specific scenario.

[0114] On July 6, 2023, the average predicted temperature of the wind turbine gearbox bearing was 61.90 degrees, with a standard deviation of 6.30 degrees. There were continuous high temperature warnings, and the actual average temperature exceeded 81 degrees, exceeding three times the standard deviation. Figure 6 As shown by Figure 6It can be seen that on July 6, the temperature was unusually high, which proves the accuracy of the gearbox bearing temperature prediction model.

[0115] In another embodiment, the original characteristic data (in the form of original characteristic data) of the gearbox bearing of the wind turbine to be tested which is in high temperature warning is analyzed by using a preset interpretation model. j For example, the contribution analysis includes:

[0116] S501: Generate features without permutations and combinations j All feature subsets of ;

[0117] S502: For each feature subset , calculate the feature j Add feature subset The marginal contribution value of

[0118] S503: Assign a weight to each marginal contribution value in step S502 and perform weighted summation to obtain the characteristic j The contribution value of .

[0119] Specifically, the above steps can be implemented by the following formula:

[0120]

[0121] in, represents the set of all features, Representing a collection The characteristics of Indicates no features A subset of features, express The cardinality of The number of features in represents the original model, Representation characteristics For samples The contribution of Representing a collection The number of internal features, represents the total number of all feature permutations, Indicates that a subset is included No features The predicted value of Representation characteristics Features The marginal contribution of Indicates that it also contains subsets and Features The predicted value of .

[0122] Exemplarily, the electronic device specifically calculates the contribution of each feature data by executing the following code:

[0123] import numpy as np

[0124] fromsklearn.utils import resample

[0125] fromconcurrent.futures import ProcessPoolExecutor

[0126] # Define an auxiliary function to parallelize the mean prediction error of a given subset (excluding feature i) after adding feature i.

[0127] # Use Bootstrap sampling for multiple estimations to improve robustness.

[0128] defparallel_compute_shapley(subset, i, X, y, model, n_bootstrap=100):

[0129] """

[0130] #Calculate the mean prediction error of a given subset (excluding feature i) after adding feature i,

[0131] #Use Bootstrap sampling for multiple estimations to improve robustness.

[0132] #parameter:

[0133] subset (tuple): A set of subset indices that do not contain feature i.

[0134] i (int): The feature index whose contribution value is to be calculated.

[0135] X (np.ndarray): Raw feature data.

[0136] y (np.ndarray): True labels.

[0137] model (sklearn-compatible model): The trained model.

[0138] n_bootstrap (int, optional): The number of Bootstrap samples, the default is 100.

[0139] return:

[0140] float: the mean prediction error after adding feature i to the subset.

[0141] """

[0142] errors_with_i = []

[0143] # For the specified number of Bootstrap sampling

[0144] for _ in range(n_bootstrap):

[0145] # Perform Bootstrap sampling from the original data set to obtain a new sample set

[0146] sampled_X, sampled_y = resample(X, y, replace=True)

[0147] # Create a sample set that contains subset features but does not contain feature i

[0148] model_with_subset = np.delete(sampled_X, [j for j in subset], axis=1)

[0149] # Insert feature i at the specified position to form a sample set containing the subset and feature i

[0150] model_with_subset = np.insert(model_with_subset, i, sampled_X[:, i],axis=1)

[0151] # Use the model to predict new sample sets

[0152] y_pred_with_subset = model.predict(model_with_subset)

[0153] # Calculate the mean square error of the prediction error

[0154] error_with_subset = np.mean((y_pred_with_subset - sampled_y) ** 2)

[0155] # Add the prediction error obtained from this sampling to the list

[0156] errors_with_i.append(error_with_subset)

[0157] # Calculate the mean of the prediction error after adding feature i to the subset as the return result

[0158] return np.mean(errors_with_i)

[0159] # Define the main function `shapley_values` to calculate the contribution values ​​of all features

[0160] defshapley_values(model, X, y, n_bootstrap=100, n_jobs=-1):

[0161] """

[0162] #Calculate the contribution values ​​of all features in the model and improve efficiency through parallel computing.

[0163] #parameter:

[0164] model (sklearn-compatible model): The trained model.

[0165] X (np.ndarray): Raw feature data.

[0166] y (np.ndarray): True labels.

[0167] n_bootstrap (int, optional): The number of Bootstrap samples, the default is 100.

[0168] n_jobs (int, optional): Maximum number of workers to execute in parallel, defaults to -1 (use all available CPU cores).

[0169] return:

[0170] dict: A dictionary containing all feature indices and their corresponding contribution values.

[0171] """

[0172] n = X.shape[1]# Number of features

[0173] # Initialize a dictionary to store the contribution value of each feature

[0174] shapley_dict = {}

[0175] # Use multi-process executor for parallel computing

[0176] withProcessPoolExecutor(max_workers=n_jobs) as executor:

[0177] futures = {}# Used to store subtasks to be completed

[0178] # For each feature

[0179] fori in range(n):

[0180] # Calculate the average prediction error without feature i

[0181] model_without_i = np.delete(X, i, axis=1)# Delete feature i

[0182] y_pred_without_i=model.predict(model_without_i)# Predict the result after deleting feature i

[0183] error_without_i=np.mean((y_pred_without_i - y) ** 2)# Calculate the mean square error of the prediction error

[0184] # Generate all subsets that do not contain feature i

[0185] subsets = list(combinations(range(n), n - 1))

[0186] # Submit parallel computing tasks to the executor

[0187] future_tasks = {

[0188] executor.submit(parallel_compute_shapley,subset,i,X,y,model, n_bootstrap)

[0189] for subset in subsets

[0190] }

[0191] # Initialize a list to store the mean prediction error after adding feature i to the subset

[0192] errors_with_i = []

[0193] # Traverse and collect the completion results of all subtasks

[0194] for future in futures.as_completed(future_tasks):

[0195] errors_with_i.append(future.result())# Get subtask results and add them to the list

[0196] # Calculate the contribution value of feature i

[0197] shapley_i = (np.mean(errors_with_i) - error_without_i) / (n - 1)

[0198] # Store the contribution value of feature i into the dictionary

[0199] shapley_dict[i] = shapley_i

[0200] # Returns a dictionary containing all feature contribution values

[0201] returnshapley_dict

[0202] This embodiment uses an electronic device to execute the above code to calculate the contribution, which has the following advantages:

[0203] 1. Ability to realize parallel computing:

[0204] Parallel computing is achieved by using concurrent.futures.ProcessPoolExecutor, allowing multiple subtasks to be processed simultaneously. For each feature, the calculation of its contribution value involves evaluating all subsets that do not contain the feature, a step that is very suitable for parallelization. Through parallel computing, the overall computing time can be significantly reduced, especially when the number of features is large, making full use of multi-core processor resources and improving computing efficiency.

[0205] 2. Bootstrap sampling can be realized:

[0206] In the parallel_compute_shapley function, the Bootstrap sampling method is used to estimate the mean prediction error after adding feature i to a given subset. Bootstrap sampling generates multiple different data subsets by sampling the original data set with replacement, thereby estimating statistics (such as the mean prediction error) multiple times. This method enhances the robustness of the calculation results, reduces the contingency caused by single data segmentation, and proposes a more stable and reliable estimate of feature contribution.

[0207] 3. Error indicator selection:

[0208] The above code uses the mean square error of prediction error as the standard for measuring feature contribution, which directly reflects the change in model prediction performance after the feature is added. It is closely related to the prediction accuracy that is concerned in actual application scenarios. Therefore, the calculated contribution value has strong explanatory power and practical value.

[0209] In summary, when calculating the contribution value, the above code achieves multiple advantages such as improved computational efficiency, enhanced robustness of results, wide coverage of application scenarios, and easy understanding and maintenance through parallel computing, Bootstrap sampling, and selection of appropriate error indicators.

[0210] Below, this application uses a specific scenario as an example to illustrate the above-mentioned wind turbine gearbox bearing fault location method:

[0211] Scenario description: On July 6, 2023, the gearbox bearing of wind turbine A3 in the test set showed continuous high temperature, that is, the actual temperature was three standard deviations higher than the model predicted temperature. A high temperature warning was issued and the cause of the fault was located.

[0212] First, in the doubly-fed wind power generation system, the key link that has a significant impact on the gearbox bearing temperature. In order to ensure accurate and efficient monitoring, a series of sensor parameters are selected to facilitate in-depth data analysis, model building and fault diagnosis. The core components include impellers, hubs, low-speed shafts, gearboxes, generators, variable pitch systems, yaw systems and cooling systems. The following are specific detection indicators and their corresponding feature numbers. This indicator system will form the basis for subsequent work:

[0213] Table 1 Feature selection

[0214]

[0215] Second, preprocess the above characteristic data to remove abnormal values ​​that do not conform to physical reality. Specifically, first, all data points with negative active power, bearing temperature or wind speed in the data need to be filtered out to ensure the accuracy and reliability of the data set. Secondly, the filtered valid data is standardized so that it can be compared and analyzed under a unified measurement, which enhances the consistency of the data. Table 2 shows some of the standardized data (retaining 3 decimal places), where y represents the standard temperature value of the wind turbine gearbox bearing:

[0216] Table 2 Standardized numerical display

[0217]

[0218] Third, a total of 891,419 records collected from 20 wind turbines were divided into training and test sets in a ratio of 8:2, and the training set was input into the wind turbine gearbox bearing temperature prediction model to train the gearbox bearing temperature prediction model. After repeated optimization and verification, the key parameters of the model were determined, and the mean absolute error (MAE), mean square error (MSE) and root mean square error (RMSE) were used as evaluation indicators to evaluate the model performance.

[0219] Furthermore, the XGBoost model, the Regression model, and the LSTM model are used as benchmark models to compare their effects with the model described in this application. The specific comparison results are shown in Table 3:

[0220] Table 3 Model comparison results

[0221]

[0222] As can be seen from Table 3, compared with the above three basic models, the MAE, MSE, and RMSE indicators of the wind turbine gearbox bearing temperature prediction model proposed in this application have all decreased. Among them, compared with the Regression linear model and the LSTM model, this model has a relatively obvious improvement in accuracy. Compared with the XGBoost model, the MSE and RMSE have been slightly improved, and the MAE remains unchanged. This proves that the prediction ability of this model mainly comes from the tree structure advantage of the XGBoost model, while absorbing the linear advantages of the linear model and the ability to capture time series information of the LSTM model.

[0223] Fourth, the test set is used to interpret the wind turbine gearbox bearing temperature prediction model trained above. The interpretation results include the contribution of each feature in each sample to the prediction result (retain 5 decimal places), as shown in Table 4:

[0224] Table 4 Contribution value of each feature

[0225]

[0226] Furthermore, this embodiment also performs a visual analysis of the contribution of each of the above features, that is, using summary_plot to show how each feature affects the prediction results and the distribution of samples. The specific visual analysis results are as follows: Figure 5 shown.

[0227] In a specific embodiment, the present application Figure 6 The temperature anomaly shown in the figure was analyzed for characteristic data contribution. The specific analysis results are as follows: Figure 7 As shown by Figure 7It can be seen that the standardized prediction output of this sample is 0.968, the baseline prediction value is 0.697, and this sample exceeds the baseline prediction value by 0.271. The contribution value of F6 is 0.11, followed by F5's 0.04, so F6 has the largest contribution. Therefore, the main reason for the increase in the gearbox bearing temperature of fan A3 on July 6, 2023 is F6, that is, the gearbox inlet oil temperature, which may be caused by excessive load, filter element blockage or low oil level, and needs to be investigated.

[0228] In addition, during the actual operation of the gearbox bearing, due to the correlation between the influencing characteristics of the gearbox bearing temperature, it is often difficult to determine whether the high temperature anomaly is caused by a single factor or a combination of factors. This application performs an interactive effect analysis on the original characteristic data of the wind turbine gearbox bearing to be tested based on the contribution, and by calculating the shap_interaction value of the contribution as shown in Table 4, the correlation between the characteristic data can be clarified. Specifically, the shap_interaction value can be calculated by executing the following code:

[0229] explainer = shap.TreeExplainer(model)

[0230] #Create a SHAP interpreter

[0231] shap_interaction_values ​​= explainer.shap_interaction_values(X_test)

[0232] #Use the created SHAP interpreter to calculate the SHAP value of the feature interaction effect on the data set X_test and store it in the variable shap_interaction_values

[0233] The shap_interaction value calculated based on the above code is finally presented in the form of a heat map. Specifically, the heat map can be drawn by executing the following code:

[0234] # Suppose you want to see the interaction effect of feature A and feature B

[0235] feature_names = X_test.columns.tolist()# Get the feature name list

[0236] # Extract interaction effects of specific features

[0237] interactions=shap_interaction_values[:,feature_names.index('A'),feature_names.index('B')]

[0238] # Convert to DataFrame for plotting

[0239] df_interactions=pd.DataFrame(interactions,columns=X_test['A'].unique(), index=X_test['B'].unique())

[0240] # Draw a heat map

[0241] plt.figure(figsize=(10, 8))

[0242] sns.heatmap(df_interactions, annot=True, cmap='coolwarm', xticklabels=True, yticklabels=True)

[0243] plt.title('Interaction Effect Heatmap between Feature A and B')

[0244] plt.xlabel('Feature A Values')

[0245] plt.ylabel('Feature B Values')

[0246] plt.show()

[0247] Based on the above code, the heat map of the obtained shap_interaction value is as follows Figure 8 shown. Figure 8 In the figure, there is a certain degree of interaction between different features, which means that in the wind power generation system, the interaction between features will also have a great impact on the gearbox bearing temperature. The F12 converter cooling medium temperature has an interactive effect on most features. The greater the interaction effect, the brighter the color of the thermal map, and vice versa. Figure 8As shown, the interaction effect values ​​of F12 and other features are generally high, closer to yellow. Since F12 represents the cooling system, to accurately locate the abnormal temperature of the gearbox bearing, the cooling system should be checked first because it will interfere with the temperature of other components. Based on the interaction effect analysis of the contribution value, this embodiment calculates the interaction effect values ​​between the features and displays the size of these interaction effects through a heat map. The heat map provides an intuitive way to observe how different feature combinations jointly affect the gearbox bearing temperature, revealing possible compound fault factors and facilitating a deeper analysis of the cause of the fault.

[0248] In summary, this application obtains a series of indicators that affect the gearbox bearing temperature through the construction of a doubly-fed wind turbine generator set, and performs data filtering and processing. Then, a gearbox bearing temperature warning model is established through actual operating data, so as to accurately detect the temperature anomaly point of wind turbine A3 on July 6, 2023. According to the overall contribution characteristic analysis, the characteristic analysis of the abnormal point of wind turbine A3, and the interaction effect analysis, it is concluded that the most likely cause of the anomaly is that the inlet oil temperature of the F6 gearbox is too high. We should focus on checking for problems such as excessive load, filter blockage, or low oil level. Secondly, F5, F9, and F4 also have a certain impact, and before taking intervention measures, we should first ensure that the cooling system is operating normally.

[0249] Based on the above embodiments, Fig. 9 As shown, the present application also proposes a wind turbine gearbox bearing fault location device 900, including: a collection and preprocessing module 910, a model building and training module 920, a prediction module 930, a determination module 940 and a location module 950, wherein:

[0250] The acquisition and preprocessing module 910 is used to acquire the actual temperature and original characteristic data of the gearbox bearing of the wind turbine to be tested;

[0251] The model building and training module 920 is used to build a wind turbine gearbox bearing temperature prediction model and train the built model; wherein the wind turbine gearbox bearing temperature prediction model simultaneously predicts the original feature data of the wind turbine gearbox bearing to be tested by using two different prediction methods to achieve multi-modal fusion;

[0252] The prediction module 930 is used to input the original characteristic data of the wind turbine gearbox bearing to be tested into the trained wind turbine gearbox bearing temperature prediction model, and output the predicted temperature of the wind turbine gearbox bearing to be tested;

[0253] The determination module 940 is used to compare the predicted temperature of the wind turbine gearbox bearing to be tested with the actual temperature to determine whether the wind turbine gearbox bearing to be tested is in a high temperature warning state;

[0254] The positioning module 950 is used to perform contribution analysis on the original feature data of the wind turbine gearbox bearing to be tested that is in high temperature warning using a preset interpretation model to identify key feature data therein, and perform fault positioning on the wind turbine gearbox bearing to be tested based on the key feature data.

[0255] Optionally, the wind turbine gearbox bearing fault locating device further includes a preprocessing module, which is used to preprocess the original feature data in the following manner: eliminate abnormal data in the original feature data; and normalize the original feature data after the abnormal data is eliminated.

[0256] Optionally, the wind turbine gearbox bearing fault locating device further includes a blade angle deviation preprocessing module, which is used to preprocess the blade angle deviation in the following manner: obtaining blade angle data collected by multiple sensors; and determining the blade angle deviation based on the blade angle data collected by the multiple sensors using the following formula:

[0257]

[0258] Where Dev represents the blade angle deviation, Representative i The angle of the blades, Represents the mean of the three blade angles.

[0259] Optionally, the model construction and training module includes a data set acquisition and division submodule, a model training submodule and a model testing submodule, wherein the data set acquisition and division submodule is used to acquire and preprocess the historical data of the wind turbine gearbox bearing, and to divide the preprocessed historical data into a training set and a test set; the model training submodule is used to set training parameters, and to use the training set to train the preset model until the training meets the maximum number of iterations; the model testing submodule is used to test the trained model using the test set. During the test, if the mean absolute error (MAE), mean square error (MSE) and root mean square error (RMSE) used as model performance evaluation indicators are all less than the threshold, the model test passes; otherwise, the training parameters are adjusted or the training set samples are expanded to retrain the model until the test passes.

[0260] Optionally, the positioning module further includes a feature subset generation submodule, a marginal contribution value calculation submodule and a weighting submodule, wherein the feature subset generation submodule is used to generate all feature subsets that do not contain original feature data through permutations and combinations; the marginal contribution value calculation submodule is used to calculate the marginal contribution value after the original feature data is added to the subset; and the weighting submodule is used to assign a weight to each marginal contribution value and perform weighted summation to obtain the contribution value of the original feature data.

[0261] Optionally, the positioning module further includes an interaction effect analysis submodule for performing interaction effect analysis on original feature data based on contribution.

[0262] Furthermore, it can be understood that the wind turbine gearbox bearing fault locating device provided in this embodiment has the beneficial effects described in any of the above-mentioned method embodiments, which will not be described in detail here.

[0263] Based on the above embodiments, Fig.10 , for an explanation of the computer-readable storage medium of the exemplary embodiment of the present application, please refer to Fig.10 , the computer readable storage medium shown is a CD 40, on which a computer program (i.e., a program product) is stored. When the computer program is executed by the processor, each step recorded in the above method implementation is implemented, for example, the actual temperature and original characteristic data of the wind turbine gearbox bearing to be tested are collected, and the original characteristic data are pre-processed; a wind turbine gearbox bearing temperature prediction model is constructed, and the constructed model is trained; wherein the wind turbine gearbox bearing temperature prediction model simultaneously performs two different prediction methods on the original characteristic data of the wind turbine gearbox bearing to be tested. Perform prediction to achieve multimodal fusion; input the preprocessed original feature data of the wind turbine gearbox bearing to be tested into the trained wind turbine gearbox bearing temperature prediction model to obtain the predicted temperature of the wind turbine gearbox bearing to be tested; compare the predicted temperature of the wind turbine gearbox bearing to be tested with the actual temperature to determine whether the wind turbine gearbox bearing to be tested is in a high temperature warning; use the preset explanation model to perform contribution analysis on the original feature data of the wind turbine gearbox bearing to be tested in a high temperature warning to identify the key feature data therein, and locate the fault of the wind turbine gearbox bearing to be tested based on the key feature data. The specific implementation method of each step will not be repeated here.

[0264] It should be noted that the computer-readable storage medium includes but is not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.

[0265] Based on the above embodiments, the present application also provides an electronic device, as shown below: Fig.11 An electronic device for downloading a file according to an exemplary embodiment of the present application is described.

[0266] Fig.11 A block diagram of an exemplary electronic device 50 suitable for implementing the embodiments of the present application is shown, and the electronic device 50 may be a computer system or a cloud server. Fig.11 The electronic device 50 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0267] like Fig.11 As shown, the electronic device 50 includes but is not limited to: one or more processors or processing units 501, a system memory 502, and a bus 503 connecting different system components (including the system memory 502 and the processing unit 501).

[0268] The electronic device 50 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 50, including volatile and non-volatile media, removable and non-removable media.

[0269] The system memory 502 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 5021 and / or cache memory 5022. The electronic device 50 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the ROM 5023 may be used to read and write non-removable, non-volatile magnetic media ( Fig.11 is not shown in the Fig.11 As shown in the figure, a disk drive for reading and writing a removable non-volatile disk (such as a "floppy disk") and an optical disk drive for reading and writing a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM or other optical media) can be provided. In these cases, each drive can be connected to the bus 503 through one or more data medium interfaces. The system memory 502 may include at least one program product, which has a set (such as at least one) of program modules, which are configured to perform the functions of each embodiment of the present application.

[0270] A program / utility 5025 having a set (at least one) of program modules 5024 may be stored, for example, in system memory 502, and such program modules 5024 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 5024 generally perform the functions and / or methods of the embodiments described herein.

[0271] The electronic device 50 may also communicate with one or more external devices 504 (e.g., a keyboard, a pointing device, a display, etc.). Such communication may be performed via an input / output (I / O) interface 505. Furthermore, the electronic device 50 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 506. Fig.11 As shown, the network adapter 506 communicates with other modules (such as the processing unit 501, etc.) of the electronic device 50 via the bus 503. It should be understood that although Fig.11 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 50 .

[0272] The processing unit 501 executes various functional applications and data processing by running the program stored in the system memory 502, for example, collecting the actual temperature and original feature data of the wind turbine gearbox bearing to be tested, and preprocessing the original feature data; constructing a wind turbine gearbox bearing temperature prediction model, and training the constructed model; wherein the wind turbine gearbox bearing temperature prediction model predicts the original feature data of the wind turbine gearbox bearing to be tested by using two different prediction methods at the same time to achieve multimodal fusion; inputting the preprocessed original feature data of the wind turbine gearbox bearing to be tested into the trained wind turbine gearbox bearing temperature prediction model to obtain the predicted temperature of the wind turbine gearbox bearing to be tested; comparing the predicted temperature of the wind turbine gearbox bearing to be tested with the actual temperature to determine whether the wind turbine gearbox bearing to be tested is in a high temperature warning; using a preset interpretation model to perform contribution analysis on the original feature data of the wind turbine gearbox bearing to be tested in a high temperature warning to identify the key feature data therein, and locating the fault of the wind turbine gearbox bearing to be tested based on the key feature data. The specific implementation method of each step will not be repeated here. It should be noted that, although several units / modules or sub-units / sub-modules of the concurrent file downloading device are mentioned in the above detailed description, such division is only exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules for embodiment.

[0273] In the description of the present application, it should be noted that the terms "first", "second" and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0274] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0275] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0276] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0277] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0278] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that can be executed by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a cloud server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0279] The above embodiments are only for illustrating the technical concept and features of the present application, and their purpose is to enable people familiar with the technology to understand the content of the present application and implement it accordingly, and they cannot be used to limit the protection scope of the present application. Any equivalent changes or modifications made according to the spirit of the present application should be included in the protection scope of the present application.

Claims

1. A method for locating a bearing fault in a wind turbine gearbox, characterized in that: The method comprises: Collecting the actual temperature and original characteristic data of the wind turbine gearbox bearing to be tested, and preprocessing the original characteristic data; Constructing a wind turbine gearbox bearing temperature prediction model and training the constructed model; wherein the wind turbine gearbox bearing temperature prediction model simultaneously predicts the original feature data of the wind turbine gearbox bearing to be tested by using two different prediction methods to achieve multimodal fusion; The wind turbine gearbox bearing temperature prediction model includes a first prediction unit, a second prediction unit and a third prediction unit, wherein the first prediction unit adopts an XGBoost model, and the second prediction unit adopts a Regression linear model. The XGBoost model is used to receive the original feature data of the wind turbine gearbox bearing and output a first prediction result, and the Regression linear model is used to receive the original feature data of the wind turbine gearbox bearing and output a second prediction result. The feature vector obtained by merging the outputs of the XGBoost model and the Regression linear model serves as the input of the third prediction unit. The wind turbine gearbox bearing temperature prediction model realizes multimodal fusion by combining two different prediction methods, the XGBoost model and the linear model. The XGBoost model includes: Input layer, used to receive the original feature data x of the wind turbine gearbox bearing t ; Base learner, decision tree; Output layer, used to output the first prediction result Out_XGB t ; The Regression linear model includes: Input layer, used to receive the original feature data x of the wind turbine gearbox bearing t ; Linear transformation layer, used to realize the original feature data x through matrix multiplication and addition operations t The linear transformation can be realized through the following calculation process: Z=Wx t +b Among them, z represents the output of the linear transformation layer, W represents the weight matrix, and x t Represents the original feature data of the input, b represents the bias vector; Output layer, used to output the second prediction result, that is, the nonlinear feature Out_Re t ; The third prediction unit adopts an LSTM model, specifically including: an input gate, a forget gate, an update gate and an output gate. The feature vector E is obtained by merging the outputs of the first prediction unit and the second prediction unit. t As the input of the third prediction unit, it is input into the above gates respectively; Eigenvector E t and the hidden state h at time t-1 t-1 After weighted combination, it is mapped to the input gate through the sigmoid function to obtain i t ; Eigenvector E t and the hidden state h at time t-1 t-1 After weighted combination, the sigmoid function is used to map to the forget gate to obtain f t ; Eigenvector E t and the hidden state h at time t-1 t-1 After weighted combination, it is mapped to the update gate through the sigmoid function to obtain u t ; Eigenvector E t and the hidden state h at time t-1 t-1 After weighted combination, it is mapped to the output gate through the sigmoid function to obtain o t ;f t and the cell state C at time t-1 t-1 Multiplication, i t with u t Multiply and add f t with C t-1 The multiplication results are added and the cell state C at time t is output. t , at the same time, C t After activation by the activation function Tanh and o t Multiply them together to obtain the final output t of the model, which is the final predicted temperature of the wind turbine gearbox bearing; Inputting the pre-processed original characteristic data of the wind turbine gearbox bearing to be tested into the trained wind turbine gearbox bearing temperature prediction model to obtain the predicted temperature of the wind turbine gearbox bearing to be tested; Comparing the predicted temperature of the wind turbine gearbox bearing to be tested with the actual temperature to determine whether the wind turbine gearbox bearing to be tested is in a high temperature warning state; The preset interpretation model is used to perform contribution analysis on the original feature data of the wind turbine gearbox bearing under high temperature warning to identify the key feature data, and the fault of the wind turbine gearbox bearing under test is located based on the key feature data.

2. The method according to claim 1, characterized in that The original characteristic data of the wind turbine gearbox bearing to be tested include: impeller speed, hub temperature, low-speed shaft front shaft temperature, low-speed shaft rear shaft temperature, gearbox speed, gearbox inlet oil temperature, gearbox inlet pressure, generator speed, generator torque, blade angle deviation, yaw error and converter cooling medium temperature.

3. The method according to claim 1, characterized in that Preprocessing the original feature data includes: Eliminate abnormal data from the original feature data; The original feature data after abnormal data removal is normalized.

4. The method according to claim 3, characterized in that The original characteristic data of the wind turbine gearbox bearing includes blade angle deviation, and preprocessing of the blade angle deviation includes: Obtain blade angle data collected by multiple sensors; The blade angle deviation is determined based on the blade angle data collected by multiple sensors using the following formula: Where Dev represents the blade angle deviation, θ i represents the angle of the i-th blade, and μ represents the mean of the three blade angles.

5. The method according to claim 1, characterized in that The training of the constructed model includes: Obtain and preprocess historical data of wind turbine gearbox bearings, and divide the preprocessed historical data into training and test sets; Set the training parameters and use the training set to train the preset model until the training meets the maximum number of iterations; The trained model is tested using the test set. During the test, if the mean absolute error (MAE), mean square error (MSE), and root mean square error (RMSE), which are the model performance evaluation indicators, are all less than the threshold, the model test passes; otherwise, the training parameters are adjusted or the training set samples are expanded to retrain the model until the test passes.

6. The method according to claim 1, characterized in that The contribution analysis of the original characteristic data of the wind turbine gearbox bearing to be tested that is in a high temperature warning state using a preset interpretation model includes: Generate all feature subsets that do not contain the original feature data through permutations and combinations; For each feature subset, calculate the marginal contribution value after adding the original feature data to the subset; Assign a weight to each marginal contribution value and sum them up to get the contribution value of the original feature data.

7. The method according to claim 1, characterized in that After performing contribution analysis on the original characteristic data of the wind turbine gearbox bearing to be tested that is in a high temperature warning state using a preset interpretation model, the method further includes: The interaction effect analysis of the original feature data is performed based on the contribution.

8. A wind turbine gearbox bearing fault location device for implementing the method according to claim 1, characterized in that: The device comprises: The acquisition and preprocessing module is used to acquire the actual temperature and original characteristic data of the gearbox bearing of the wind turbine to be tested, and preprocess the original characteristic data; A model construction and training module is used to construct a wind turbine gearbox bearing temperature prediction model and train the constructed model; wherein, the wind turbine gearbox bearing temperature prediction model simultaneously predicts the original feature data of the wind turbine gearbox bearing to be tested by adopting two different prediction methods to achieve multimodal fusion; the wind turbine gearbox bearing temperature prediction model includes a first prediction unit, a second prediction unit and a third prediction unit, the first prediction unit adopts an XGBoost model, the second prediction unit adopts a Regression linear model, and the third prediction unit adopts an LSTM model, the XGBoost model is used to receive the original feature data of the wind turbine gearbox bearing and output a first prediction result, the Regression linear model is used to receive the original feature data of the wind turbine gearbox bearing and output a second prediction result, and the feature vector obtained by merging the outputs of the XGBoost model and the Regression linear model is used as the input of the third prediction unit; the wind turbine gearbox bearing temperature prediction model achieves multimodal fusion by combining two different prediction methods, the XGBoost model and the linear model; The XGBoost model includes: Input layer, used to receive the original feature data x of the wind turbine gearbox bearing t ; Base learner, decision tree; Output layer, used to output the first prediction result Out_XGB t ; The Regression linear model includes: Input layer, used to receive the original feature data x of the wind turbine gearbox bearing t ; Linear transformation layer, used to realize the original feature data x through matrix multiplication and addition operations t The linear transformation can be realized through the following calculation process: Z=Wx t +b Among them, z represents the output of the linear transformation layer, W represents the weight matrix, and x t Represents the original feature data of the input, b represents the bias vector; Output layer, used to output the second prediction result, that is, the nonlinear feature Out_Re t ; The third prediction unit adopts LSTM model, specifically including: input gate, forget gate, update gate and output gate, and the feature vector E is obtained by merging the outputs of the first prediction unit and the second prediction unit. t As the input of the third prediction unit, it is input into the above gates respectively; Eigenvector E t and the hidden state h at time t-1 t-1 After weighted combination, it is mapped to the input gate through the sigmoid function to obtain i t ; Eigenvector E t and the hidden state h at time t-1 t-1 After weighted combination, the sigmoid function is used to map to the forget gate to obtain f t ; Eigenvector E t and the hidden state h at time t-1 t-1 After weighted combination, it is mapped to the update gate through the sigmoid function to obtain u t ; Eigenvector E t and the hidden state h at time t-1 t-1 After weighted combination, it is mapped to the output gate through the sigmoid function to obtain o t ;f t and the cell state C at time t-1 t-1 Multiplication, i t with u t Multiply and add f t with C t-1 The multiplication results are added and the cell state C at time t is output. t , at the same time, C t After activation by the activation function Tanh and o t Multiply them together to obtain the final output t of the model, which is the final predicted temperature of the wind turbine gearbox bearing; A prediction module is used to input the pre-processed original characteristic data of the wind turbine gearbox bearing to be tested into the trained wind turbine gearbox bearing temperature prediction model to obtain the predicted temperature of the wind turbine gearbox bearing to be tested; a determination module, configured to compare the predicted temperature of the wind turbine gearbox bearing to be tested with the actual temperature to determine whether the wind turbine gearbox bearing to be tested is in a high temperature warning state; The positioning module is used to use a preset interpretation model to perform contribution analysis on the original feature data of the wind turbine gearbox bearing to be tested that is in high temperature warning, so as to identify the key feature data therein and locate the fault of the wind turbine gearbox bearing to be tested based on the key feature data.

9. A storage medium, characterized in that: The method comprises instructions which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: The electronic device comprises: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Sun gear fault tooth positioning method based on rotor sensing and tidal cycle effect

    CN119880406A