Wind power bearing fault diagnosis method based on LSTM optimized by improved dung beetle algorithm

By improving the dung beetle algorithm to optimize the LSTM model, combined with Levy flight and T distribution strategies, automatic tuning of hyper-parameters solves the problems of over-fitting and difficult parameter determination in wind turbine bearing fault diagnosis, achieving high accuracy, real-time performance, and adaptability Strong fault diagnosis effect.

CN118536045APending Publication Date: 2024-08-23LANZHOU JIAOTONG UNIV

Patent Information

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

AI Technical Summary

Technical Problem

Existing wind power bearing fault diagnosis technology has problems such as over-fitting, difficulty in determining optimal parameters, long training time, and failure to effectively consider the timing dependencies in rolling bearing data.

Method used

The improved dung beetle algorithm (IDBO) is used combined with Levy flight strategy and T distribution perturbation strategy to optimize the long short-term memory network (LSTM) model, build an IDBO-LSTM fault diagnosis model, and automatically tune hyperparameters through Bayesian optimization to improve the model's performance. Diagnostic accuracy and efficiency.

Benefits of technology

It achieves higher wind turbine rolling bearing fault diagnosis accuracy, reduces dependence on expert knowledge, improves real-time and adaptability of diagnosis, reduces training time, and enhances model robustness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FDA0004889392250000022
    Figure FDA0004889392250000022
  • Figure FDA0004889392250000023
    Figure FDA0004889392250000023
  • Figure FDA0004889392250000024
    Figure FDA0004889392250000024
Patent Text Reader

Abstract

The invention provides a wind power bearing fault diagnosis method based on LSTM (Long Short Term Memory) optimized by an improved dung beetle algorithm, belongs to the technical field of bearing fault diagnosis, and solves the problems of overfitting, difficulty in determining optimal parameters and long training time in the existing fault diagnosis technology of a fan bearing. The wind power bearing fault diagnosis method comprises the following steps: defining a target function; selecting a fitness function to calculate a target function value; calculating target function values of candidate individual positions in combination with a Levy flight strategy for comparison; calculating target function values of candidate individual positions for comparison; calculating an optimal function value for comparison by using a T distribution disturbance strategy; comparing whether the number of iterations reaches a maximum error or a minimum error; and outputting a global optimal individual position and an optimal function value. The method has the advantages of improvement of diagnosis accuracy, high adaptability, reduction of manual intervention, high robustness, real-time monitoring and early warning and the like, and is of great significance to improvement of reliability and operation efficiency of wind power equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of bearing fault diagnosis, and in particular relates to a wind power bearing fault diagnosis method based on an improved dung beetle algorithm and optimized LSTM. Background Art

[0002] Wind power generation is a clean, renewable form of energy that does not rely on limited fossil fuel resources. As concerns about climate change and environmental issues continue to grow, the importance of wind power generation has become increasingly prominent. Wind turbine bearings are one of the key components in wind power generation systems and play a vital role in the reliability and stability of the system. Timely and accurate diagnosis and treatment of bearing failures can effectively avoid downtime and production interruptions caused by failures and improve the overall availability of wind power generation systems. Therefore, it is crucial to diagnose bearing operation failures in wind turbines in a timely manner.

[0003] In recent years, deep learning methods represented by recurrent neural networks have achieved great success in speech recognition, image recognition, and natural language processing. In particular, their advantages in feature self-learning have been widely used in various fields as a machine learning method with better performance. Today, deep learning has gradually been applied to feature extraction and pattern classification of rolling bearing signals. For example, good results have been achieved in the accuracy of fault identification and generalization under different loads. Good fault diagnosis effects have also been achieved in the research methods of rolling bearing fault diagnosis.

[0004] However, existing studies have not considered the hidden temporal dependencies in rolling bearing data with time series characteristics. Although the fault diagnosis technology for fan bearings has achieved initial results, there are still problems such as overfitting, difficulty in determining the optimal parameters, and long training time. With the development of increasingly complex working conditions, the impact of these problems will become more serious. Therefore, it is urgent to propose corresponding methods to solve them. Summary of the invention

[0005] The purpose of the present invention is to provide a wind turbine bearing fault diagnosis method based on an improved dung beetle algorithm to optimize LSTM, so as to solve the problems of overfitting, difficulty in determining optimal parameters and long training time in the existing fault diagnosis technology for wind turbine bearings.

[0006] The technical solution of the present invention is: a wind turbine bearing fault diagnosis method based on improved dung beetle algorithm to optimize LSTM, comprising the following steps: As a further improvement of the present invention, Since the rolling bearing fault signal of wind turbine is nonlinear and non-stationary, and is mixed with a lot of noise interference, the fault features are weak and difficult to extract. This paper proposes a method to optimize LSTM by improving the dung beetle algorithm to greatly improve the diagnostic accuracy of the model.

[0007] Firstly, the Levy flight strategy and T-distribution perturbation strategy algorithm are integrated on the basis of the traditional dung beetle algorithm. The optimized IDBO algorithm makes up for the problems of low convergence accuracy and easy to fall into local optimum of the traditional dung beetle algorithm; secondly, the IDBO algorithm is combined with the long short-term memory method to build an IDBO-LSTM fault diagnosis model to predict the fault of wind turbine bearings; finally, the proposed method is compared with the traditional dung beetle algorithm (DBO), sparrow search algorithm (SSA), whale optimization algorithm (WOA), Grey Wolf Optimizer (GWO) and Northern Goshawk Optimization (NGO) through optimization test, which proves the superiority of the proposed improved dung beetle algorithm and realizes high-precision rolling bearing fault diagnosis of wind turbines.

[0008] The optimized dung beetle algorithm LSTM combines the global search characteristics of the dung beetle algorithm and the sequence modeling ability of LSTM. It has the advantages of strong global search ability, avoiding local optimality, and improving convergence speed. Finally, through experimental comparison, the rolling bearing platform data of Case Western Reserve University in the United States is used as simulation input to prove that the proposed IDBO algorithm has better optimization effect and the IDBO-LSTM model diagnosis method has higher accuracy.

[0009] At the same time, compared with traditional CNN, Long Short-Term Memory (LSTM) has some significant advantages, such as preventing gradient vanishing and gradient explosion, being suitable for sequence data, and being able to learn long-distance dependencies. Therefore, this paper introduces LSTM as the main model, but due to its relatively complex internal structure, its training efficiency is much lower than that of traditional RNN under the same computing power, and the required computing time is longer.

[0010] The beneficial effects of the present invention are as follows: 1. Combining Bayesian Optimization and LSTM Model Traditional LSTM model hyperparameter tuning often relies on methods such as manual adjustment or grid search, which are not only inefficient but also difficult to find the global optimal solution. The IDBO-LSTM algorithm innovatively combines Bayesian optimization (BO) with the LSTM model, and through BO's automatic tuning capabilities, it realizes the automatic and intelligent configuration of LSTM model hyperparameters.

[0011] 2. Automated hyperparameter tuning The IDBO-LSTM algorithm automatically selects candidate hyperparameter points through the Bayesian optimization algorithm and continuously updates the proxy model in the iterative process to approach the optimal solution. This automated tuning process avoids tedious manual adjustments and greatly improves optimization efficiency and accuracy.

[0012] 3. Improve fault diagnosis performance Since the IDBO-LSTM algorithm can find the LSTM model hyperparameter configuration that is more suitable for the data characteristics, it can show higher performance in wind turbine bearing fault diagnosis. Through the optimized LSTM model, the characteristic information in the bearing fault signal can be extracted more accurately, thereby improving the accuracy and reliability of fault diagnosis.

[0013] 4. Real-time and adaptability The IDBO-LSTM algorithm is not only suitable for offline fault diagnosis, but also can be applied to real-time monitoring and early warning systems. It can adjust model parameters in real time to adapt to changes in different working environments and fault modes, thereby maintaining high diagnostic performance. This real-time and adaptability make the IDBO-LSTM algorithm have broad application prospects in the field of wind turbine bearing fault diagnosis.

[0014] 5. Reduce reliance on expert knowledge Traditional fault diagnosis methods often rely on the experience and knowledge of experts, while the IDBO-LSTM algorithm reduces the reliance on expert knowledge through an automated optimization process. This makes the fault diagnosis process more objective, accurate, and repeatable, reducing the impact of human factors.

[0015] The IDBO-LSTM wind turbine bearing optimization algorithm has brought new breakthroughs and progress in the field of wind turbine bearing fault diagnosis by integrating Bayesian optimization and LSTM models, realizing automated hyperparameter tuning, improving fault diagnosis performance, having real-time and adaptability, and reducing dependence on expert knowledge. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a fault diagnosis flow chart of the present invention; Figure 2 This is a comparison chart of the changes in the accuracy of the three models of IDBO-BP, IDBO-RNN and IDBO-LSTM of the present invention as the number of iterations increases; Figure 3 This is a comparison chart of the changes in loss values ​​of the three models of IDBO-BP, IDBO-RNN and IDBO-LSTM of the present invention as the number of iterations increases; Figure 4 It is a comparison chart of the accuracy and loss value of GWO, SSA, WOA, NGO, DBO and the IDBO algorithm of the present invention; Figure 5It is a comparison chart of the accuracy of the two models of DBO and IDBO of the present invention; Figure 6 It is a comparison chart of the loss values ​​of the two models of DBO and IDBO of the present invention; Figure 7 It is a comparison chart of the accuracy and loss value of the DBO and IDBO test sets of the present invention; Figure 8 This is a comparison chart of the average fault classification accuracy of the SSA, WOA, GWO, NGO, DBO and IDBO models of the present invention. DETAILED DESCRIPTION

[0017] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0018] This embodiment proposes a method of optimizing LSTM by improving the dung beetle algorithm to significantly improve the diagnostic accuracy of the model. Figure 1 As shown, the specific steps are as follows: Step 1: Define the objective function f(x), initialize the position X of the dung beetle individual, X=1,2,…,m, initialize the objective function f(x), randomly generate n dung beetle initial positions Xi, i=1,2,…,n, set parameters such as population size and maximum number of iterations; Step S1a: Data collection Use sensors and other equipment to collect time series data such as vibration signals and temperature data of wind turbine bearings to ensure the accuracy and completeness of the data for subsequent analysis and processing.

[0019] Step S1b: Data preprocessing The collected data is cleaned and preprocessed, including removing outliers, filling missing values, and reducing noise, to improve the quality and reliability of the data.

[0020] Step S1c: Feature extraction Feature information related to bearing faults is extracted from the preprocessed data, such as the frequency components and energy distribution of the vibration signal, and these features will be used as input to the model.

[0021] Step 2: Select the fitness function and calculate the objective function value of each dung beetle position to obtain the current optimal function value and the corresponding individual position; Step S2a: Select fitness function The fitness function is a criterion for evaluating the quality of the model (usually representing the candidate solution in the optimization algorithm), and its selection should be based on the specific requirements of the optimization problem. For wind turbine bearing fault diagnosis, the fitness function can be set as the accuracy, recall rate, F1 score, etc. of the model on the validation set. These indicators can directly reflect the performance of the model in the fault diagnosis task.

[0022] Step S2b: Calculate the objective function value for each dung beetle position Initialize the position of dung beetles: At the beginning of the algorithm, a certain number of dung beetles are randomly generated. Each dung beetle represents a candidate hyperparameter combination, and the positions of these dung beetles are distributed in the hyperparameter space.

[0023] Build and evaluate the model: For each dung beetle (i.e., each hyperparameter combination), build the corresponding LSTM model and train it using the training data. After training, use the validation set to evaluate the performance of the model and calculate the fitness function value.

[0024] Record the objective function value: Record the objective function value (i.e., fitness function value) corresponding to each dung beetle position for subsequent comparison and selection.

[0025] Step S2c: Determine the current optimal function value and the corresponding individual position Compare objective function values: Compare the objective function values ​​of all dung beetles and find the maximum value (or minimum value, depending on whether the fitness function is defined as maximum or minimum) as the current optimal function value.

[0026] Determine the optimal individual position: The dung beetle position corresponding to the optimal function value is the current optimal individual position, which represents the optimal hyperparameter combination currently found in the hyperparameter space.

[0027] Step 2 explicitly mentions the selection of the fitness function and the calculation of the objective function value for each dung beetle position. The fitness function is an important indicator for evaluating the performance of the long short-term memory network under given parameter settings. This function is usually defined based on some performance metric of the network, such as prediction accuracy and loss function value. Through fitness evaluation and determination of the optimal solution, step 2 clearly reflects the goal of the dung beetle optimization algorithm, which is to find the parameter combination that optimizes the performance of the long short-term memory network. This goal is the core of the entire optimization process.

[0028] Step 3: Update the positions of all dung beetles, calculate the objective function value of the candidate individual position in combination with the Levy flight strategy, and compare it with the optimal function value of the previous generation. If it is better, update the optimal individual position of the current population; Step S3a: Update the positions of all dung beetles In the IDBO-LSTM algorithm, the positions of dung beetles represent different hyperparameter combinations. In each iteration, the positions of all dung beetles need to be updated according to a certain strategy to explore a better hyperparameter configuration. The method of updating the position can be based on random search, gradient descent or other optimization strategies.

[0029] Step S3b: Calculate the candidate individual position in combination with the Levy flight strategy Levy flight is a random walk strategy, which is characterized by the step length obeying the Levy distribution, that is, long step lengths and short step lengths appear alternately. The foraging behavior of many organisms conforms to the Levy flight pattern, and their step lengths obey the heavy-tailed probability distribution. This method introduces this mechanism into the dung beetle algorithm to further expand the local development and global exploration capabilities of the population. In the IDBO-LSTM algorithm, the introduction of the Levy flight strategy can increase the diversity and globality of the search, which helps to find a better hyperparameter combination.

[0030] Step S3c: Calculate the objective function value of the candidate individual position For each updated candidate individual position (i.e., new hyperparameter combination), a corresponding LSTM model is constructed and trained using the training data. After the training is completed, the performance of the model is evaluated using the validation set, and the objective function value (i.e., fitness function value) is calculated. These objective function values ​​will be used to evaluate the quality of the candidate individual position.

[0031] Step S3d: Compare with the optimal function value of the previous generation The calculated objective function value of each candidate individual position is compared with the optimal function value of the previous generation (i.e., the previous iteration). If the objective function value of a candidate individual position is better than the optimal function value of the previous generation, it means that a better hyperparameter combination has been found.

[0032] Step S3e: Update the optimal individual position of the current population If a better hyperparameter combination is found (i.e., a candidate individual position with a better objective function value), the optimal individual position of the current population is updated to the candidate individual position. At the same time, the optimal function value is recorded for continued comparison and update in subsequent iterations.

[0033] Step 4: Calculate the distance between the positions of other dung beetles and the optimal position, calculate the objective function value of the candidate individual position, and compare it with the optimal function value of the previous generation. If it is ideal, update the optimal individual position of the current population; Step S4a: Calculate the distance between other dung beetle positions and the optimal position In each iteration, the optimal individual position of the current population, that is, the optimal hyperparameter combination, has been obtained through comparison. Next, it is necessary to calculate the distance between other dung beetles (that is, other hyperparameter combinations) and this optimal position. This distance can be calculated in the hyperparameter space, usually using Euclidean distance or other suitable distance metrics.

[0034] The purpose of calculating the distance is to evaluate how close other dung beetles are to the optimal position, thereby guiding the subsequent search process. Dung beetles that are closer may be in a better hyperparameter area, while dung beetles that are farther away may require greater adjustments to get close to the optimal solution.

[0035] Step S4b: Calculate the objective function value of the candidate individual position According to the optimization algorithm strategy (such as Levy flight, random search, etc.), some candidate individual positions are generated or updated, which represent new hyperparameter combinations. For each candidate individual position, the corresponding LSTM model needs to be built and trained using the training data. After the training is completed, the performance of the model is evaluated using the validation set, and the objective function value (i.e., the fitness function value) is calculated.

[0036] The objective function value reflects the performance of the candidate individual position in the wind turbine bearing fault diagnosis task and is an important basis for evaluating its quality.

[0037] Step S4c: Compare the optimal function value of the previous generation Compare the calculated objective function value of the candidate individual position with the optimal function value of the previous generation (i.e., the previous iteration). This step is to determine whether the current iteration has found a better hyperparameter combination than the previous generation.

[0038] If the objective function value of the candidate individual position is better than the optimal function value of the previous generation, it means that a better hyperparameter combination has been found and the algorithm is gradually approaching the optimal solution.

[0039] Step S4d: Update the optimal individual position of the current population If the objective function value of the candidate individual position is indeed better than the optimal function value of the previous generation, then the optimal individual position of the current population needs to be updated to the candidate individual position, and the optimal function value needs to be updated to the corresponding objective function value.

[0040] Updating the optimal individual position is one of the key steps in the optimization algorithm, which enables the algorithm to continuously approach a better hyperparameter configuration, thereby improving the performance of the LSTM model in wind turbine bearing fault diagnosis tasks.

[0041] The characteristics of step 4 are mainly reflected in the generation of candidate positions, the execution of local search strategies, the comparison and update mechanisms, the balance between global search and local search, and the fitness evaluation process. These characteristics together constitute the important role of step 4 in the dung beetle optimization algorithm, which helps to find better solutions and improve the performance of the algorithm.

[0042] Step 5: Use the T-distribution perturbation strategy to update the positions of other dung beetles; calculate the optimal function value of the updated individual position of the dung beetle, and compare it with the optimal function value of the previous generation. If it is better, change the current optimal value; Step S5a: Update the positions of other dung beetles using the T distribution perturbation strategy The T-distribution perturbation strategy is a commonly used strategy in optimization algorithms. It is used to introduce a certain amount of randomness into the search process and increase the diversity of the population, thus helping to explore a wider hyperparameter space.

[0043] Specifically, for each dung beetle in the current population (i.e., each hyperparameter combination), its position is updated using the T distribution perturbation strategy in the following steps: A random number is drawn from a T distribution as a perturbation term. The T distribution usually has a heavier tail than the normal distribution, which means it is easier to generate large perturbations, which helps to escape from the local optimal area.

[0044] Add this perturbation term to the current position of the dung beetle to obtain a new candidate position. This new position represents the perturbed hyperparameter combination. Perform the above operation on each dung beetle in the population to obtain a set of updated dung beetle positions.

[0045] In the early stage of algorithm iteration, iter The value is very small, the result generated by the T distribution function is similar to the Cauchy mutation, the global search ability is strong, and the late iter The value is relatively large, similar to Gaussian variation, and has good local search capabilities, thereby improving the search accuracy of the algorithm.

[0046] Step S5b: Calculate the optimal function value of the updated individual position of the dung beetle For each updated dung beetle position (i.e., new hyperparameter combination), a corresponding LSTM model needs to be built and trained using the training data. After training, the performance of the model is evaluated using the validation set, and the objective function value (i.e., fitness function value) corresponding to each dung beetle position is calculated.

[0047] By comparing these objective function values, we can find the optimal individual position in the updated population, that is, the hyperparameter combination with the optimal objective function value, and record the corresponding optimal function value.

[0048] Step S5c: Compare with the previous generation optimal function value Compare the optimal function value in the updated population with the optimal function value of the previous generation (i.e., the previous iteration). This step is to determine whether a better hyperparameter combination has been found after updating the dung beetle position using the T distribution perturbation strategy.

[0049] If the updated optimal function value is better than the previous generation's optimal function value, it means that the T-distribution perturbation strategy effectively helps the algorithm find a better hyperparameter configuration.

[0050] Step S5d: Change the current optimal value If the updated optimal function value is indeed better than the optimal function value of the previous generation, then the optimal individual position of the current population needs to be updated to the updated optimal individual position, and the optimal function value needs to be updated to the corresponding objective function value.

[0051] This updating process enables the algorithm to continuously approach a better hyperparameter configuration, thereby improving the performance of the LSTM model in wind turbine bearing fault diagnosis tasks.

[0052] In the T distribution, as the degree of freedom decreases, the shape of the curve becomes flatter, the lower the middle of the curve is, and the greater the tilt of the tail ends on both sides of the curve. Use the T distribution to perturb the position of the dung beetle individuals to achieve population mutation, and then update the objective function value of the mutated dung beetle individual position and compare it with the previous generation's optimal function value. If the result is better, change the current optimal value.

[0053] Step 6: Compare whether the number of iterations reaches the maximum or minimum error and whether it meets the requirements. If so, proceed to the next step, otherwise return to step 2 and repeat; Step S6a: Check whether the number of iterations has reached the maximum Before the algorithm starts, a maximum number of iterations (MaxIter) is usually set to prevent the algorithm from falling into an endless loop. After each iteration, the algorithm checks whether the current number of iterations has reached the preset maximum value.

[0054] If the current number of iterations has reached the maximum number of iterations, the algorithm will stop further iterations and go to the next step, which is to output the currently found optimal solution or perform subsequent processing.

[0055] Step S6b: Check whether the minimum error meets the requirements In addition to the number of iterations, the algorithm often sets a minimum error threshold (MinError) as a termination condition. This threshold represents the lowest accuracy that the algorithm can accept in the objective function value.

[0056] After each iteration, the algorithm calculates the best function value in the current population and compares it to a minimum error threshold. If the best function value reaches or falls below this threshold, the algorithm is considered to have found a good enough solution and no further iterations are needed.

[0057] In this case, the algorithm will also stop iterating and output the currently found optimal solution or perform subsequent processing.

[0058] Step S6c: Return to step 2 or proceed to the next step If the number of iterations does not reach the maximum and the minimum error does not meet the requirements, the algorithm will return to step 2 and continue to the next iteration. In each iteration, the algorithm will update the position of the dung beetle according to the optimization strategy and recalculate the objective function value to find a better hyperparameter combination.

[0059] If the number of iterations has reached the maximum or minimum error and meets the requirements, the algorithm will end the current optimization process and may output the optimal hyperparameter combination finally found and the corresponding model performance evaluation results.

[0060] The features of step 6 are mainly reflected in the judgment of iteration termination, condition setting, result output and the rationality of termination conditions. These features together ensure that the algorithm can stop after reaching a certain search depth or meeting specific conditions, thereby solving the optimization problem efficiently and accurately.

[0061] Step 7: Output the global optimal individual position and the optimal function value.

[0062] This embodiment takes the Case Western Reserve University's bearing open data set as an example. On the basis of the traditional dung beetle algorithm, the Levy flight strategy and the T distribution perturbation strategy are integrated. The optimized IDBO algorithm makes up for the low convergence accuracy and easy to fall into the local optimum of the traditional dung beetle algorithm; secondly, the IDBO algorithm is combined with the long short-term memory method to build the IDBO-LSTM fault diagnosis model. Compared with the single LSTM, the algorithm has the advantage of fewer parameters, which enables the model to reduce the overall parameter amount and computational complexity of the model while ensuring the accuracy of time series feature extraction.

[0063] By verifying that the fault diagnosis accuracy of the model proposed by this method can reach 98.3%, the experimental results and the comparison with other models show that the IDBO-LSTM model proposed by this method is superior to many other models and effectively improves the fault diagnosis accuracy of rolling bearings of wind turbines.

[0064] like Figure 2-Figure 3 As shown, by comparing the changes in the accuracy and loss values ​​of the three models of IDBO-BP, IDBO-RNN and the IDBO-LSTM of the present invention with the increase in the number of iterations, it is shown that compared with the IDBO-BP and IDBO-RNN models, the IDBO-LSTM of the present invention solves the gradient vanishing and gradient exploding problems in the traditional RNN by introducing memory units and gating mechanisms. LSTM can better capture the long-term dependencies in time series data, so that it performs better in processing long sequences and long-term dependency tasks. The main advantages of LSTM over traditional BP neural networks are its excellent ability to process sequence data and its obvious advantages in solving the gradient vanishing problem.

[0065] like Figure 4As shown in the figure, by comparing the changes in accuracy and loss value of the test sets of GWO, SSA, WOA, NGO, DBO and the IDBO algorithm of the present invention, it is shown that under the same accuracy, the IDBO of the present invention has the least number of iterations among the six optimization algorithms, indicating that the introduction of the Levy flight strategy eliminates dung beetle individuals with poor fitness, improves the population quality, and thus improves the convergence speed, and the strong local optimization ability of the IDBO algorithm is demonstrated; with the increase of the number of iterations, the convergence curves of DBO, SSA, WOA, GWO and NGO tend to be flat, stagnation occurs, and the optimization accuracy is relatively low; the IDBO volatility decreases, indicating that the introduction of the T distribution strategy can help the algorithm get rid of local extreme values ​​and enhance the global optimization ability.

[0066] like Figure 5-Figure 6 As shown in the figure, the accuracy and loss value changes of the DBO and IDBO test sets of the present invention in the two models are compared, which illustrates the effectiveness and superiority of the model proposed in this paper verified by the fault diagnosis experiment. The DBO model and the IDBO model are trained in sequence, where the gradient descent sample (batch-size) is 100 and the number of iterations (epochs) is 500. After each iteration of training, the test set test classification accuracy and loss value are observed. The accuracy reflects the consistency between the predicted category and the true category, and the loss value reflects the gap between the model prediction value and the true value.

[0067] like Figure 7 As shown in the figure, by comparing the changes in the accuracy and loss value of the DBO and IDBO test sets of the present invention, it is shown that the training effect of the DBO model is not stable. The best effect is achieved when the iteration reaches the 400th time, but it cannot be maintained, and the robustness is not strong; the training accuracy of the IDBO model is close to 100% when it is iterated to about the 90th time, and it can be maintained until the end of the training; at the same time, the loss value eventually tends to 0, indicating that the predicted value is very close to the target value. This shows that the model proposed by this method is more robust.

[0068] like Figure 8 As shown in the figure, by comparing the average accuracy of fault classification of SSA, WOA, GWO, NGO, DBO and the IDBO model of the present invention, the test set accuracy of SSA, WOA, GWO, NGO, DBO and the IDBO model of the present invention is 96%, 84%, 82.5%, 94%, 95.5% and 97.8% respectively. For the same fault data, the fault diagnosis accuracy of the WOA model and the GWO model is less than 90%, while the other four models can reach more than 90%. The fault diagnosis accuracy of the IDBO-LSTM-Att model of the present invention reaches 97.8%, which is higher than the other five models, proving the effectiveness and high accuracy of the present invention.

[0069] The application of the IDBO-LSTM model proposed in this method in wind turbine bearing fault diagnosis has the following beneficial effects and advantages: 1. Improve the accuracy of fault diagnosis: The IDBO-LSTM algorithm optimizes the structure and parameter configuration of the LSTM model to enable it to better learn and extract characteristic information from wind turbine bearing fault signals. This helps to more accurately identify the type and degree of bearing faults, thereby improving the accuracy of fault diagnosis.

[0070] 2. Strong adaptability: Since IDBO-LSTM can automatically find the best hyperparameter configuration, the algorithm can adapt to the working environment and failure mode of different wind turbine bearings. Whether it is normal working conditions or complex and changeable failure conditions, IDBO-LSTM can maintain high diagnostic performance through self-optimization and adjustment.

[0071] 3. Reduce manual intervention: Traditional fault diagnosis methods often require a lot of manual participation, including feature extraction, model selection, and parameter adjustment. The IDBO-LSTM algorithm reduces these tedious manual operations through automated optimization processes, reduces dependence on professionals, and improves diagnostic efficiency.

[0072] 4. High robustness: Wind turbine bearing fault signals are often affected by noise, interference and other factors, resulting in unstable signal quality. The IDBO-LSTM algorithm can effectively deal with these uncertain factors and maintain high fault diagnosis performance through its powerful learning and generalization capabilities.

[0073] 5. Real-time monitoring and early warning: The IDBO-LSTM algorithm can monitor and evaluate the operating status of wind turbine bearings in real time. Once abnormal signals or potential faults are detected, an early warning can be issued quickly, providing strong support for the maintenance and management of wind farms.

[0074] The application of the IDBO-LSTM model optimization algorithm proposed in this method in wind turbine bearing fault diagnosis has the advantages of improving diagnostic accuracy, strong adaptability, reducing manual intervention, high robustness, and real-time monitoring and early warning. It is of great significance to improve the reliability and operation efficiency of wind power equipment.

Claims

1. A wind turbine bearing fault diagnosis method based on improved dung beetle algorithm to optimize LSTM, characterized by: The following steps are involved: Step 1: Define the objective function f(x) and initialize the position X of the dung beetle individual. X=1,2,…,m, the objective function f(x) is initialized, n initial positions Xi of dung beetles are randomly generated, i=1,2,…,n, and the population size and maximum number of iterations are set; Step 2: Select the fitness function and calculate the objective function value of each dung beetle position to obtain the current optimal function value and the corresponding individual position; Step 3: Update the positions of all dung beetles, calculate the objective function value of the candidate individual position in combination with the Levy flight strategy, and compare it with the optimal function value of the previous generation. If it is better than the optimal function value of the previous generation, update the optimal individual position of the current population, otherwise use the optimal function value of the previous generation; Step 4: Calculate the distance between the positions of other dung beetles and the optimal position, calculate the objective function value of the candidate individual position, and compare it with the optimal function value of the previous generation. If it is better than the optimal function value of the previous generation, update the optimal individual position of the current population, otherwise use the function value of the previous generation; Step 5: Use the T-distribution perturbation strategy to update the positions of other dung beetles; calculate the optimal function value of the updated individual position of the dung beetle, and compare it with the optimal function value of the previous generation. If it is better than the optimal function value of the previous generation, change the current optimal value, otherwise use the optimal function value of the previous generation; Step 6: Compare whether the number of iterations reaches the maximum or minimum error. If so, proceed to the next step, otherwise return to step 2 and repeat; Step 7: Output the global optimal individual position and the optimal function value.

2. According to claim 1, the wind turbine bearing fault diagnosis method of the improved dung beetle algorithm optimized LSTM is characterized in that: In step 2, the fitness function selection step includes prediction accuracy, loss function value through fitness evaluation, and determination of the optimal solution.

3. According to the wind turbine bearing fault diagnosis method of the improved dung beetle algorithm optimized LSTM according to claim 1, in step 3, the position update formula of the Levy flight random walk is: Where: X best is the current global optimal position, α is the step size factor, and levy is the random step size; The levy calculation formula is as follows: Where: v is a random number that obeys a standard normal distribution, μ is a random number that obeys a normal distribution with a mean of 0 and a standard deviation of σ, and the σ formula is as follows: Where: β is 1.5, α is 1, and Γ is Euler's second integral.

4. According to the wind turbine bearing fault diagnosis method of the improved dung beetle algorithm optimized LSTM according to claim 1, in step 5, the T distribution perturbation formula is as follows: Where: x i t is the new location of the i-th cuckoo nest in the population after mutation, x i is the individual position before mutation, t(iter) is the T distribution value, and the number of iterations is the degree of freedom.

5. According to the wind turbine bearing fault diagnosis method of the improved dung beetle algorithm optimized LSTM according to claim 1, in step 6, the maximum number of iterations and the minimum error threshold are set respectively before comparing the number of iterations.

Citation Information

Patent Citations

  • Motor bearing fault diagnosis method based on improved grey wolf optimization algorithm

    CN112052934A

  • Method and system for optimizing LSTM neural network model through grey wolf algorithm

    CN115034126A

  • Early weak fault diagnosis method for rolling bearing

    CN117235643A

Cited By

  • Magnetic suspension bearing control parameter setting method and device, storage medium and electronic equipment

    CN120926188A