A multi-algorithm fusion hydraulic machinery sway prediction method and system

Through a multi-algorithm fusion method, combined with technologies such as the dung beetle optimization algorithm and variational mode decomposition, the problem of accuracy and intelligent support for complex vibration signal prediction in hydraulic machinery vibration monitoring is solved, and more accurate and stable vibrations are achieved. Predictions improve the reliability and safety of hydraulic machinery.

CN117521023BActive Publication Date: 2024-10-15KUNMING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311482296.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-09
Publication Date
2024-10-15
Estimated Expiration
2043-11-09

AI Technical Summary

Technical Problem

Existing hydraulic machinery vibration monitoring and early warning systems are difficult to accurately predict complex non-stationary vibration signals, lack intelligent support, and fail to fully consider environmental factors, resulting in inaccurate and comprehensive prediction results, and difficulties in processing high-dimensional and high sampling frequency data.

Method used

Using a multi-algorithm fusion method, combined with the dung beetle optimization algorithm (DBO), improved dung beetle optimization algorithm (FDBO), variational mode decomposition (VMD) and support vector machine regression (SVR), through data preprocessing, feature extraction and model Optimize to achieve accurate analysis and trend prediction of hydraulic machinery vibration data.

Benefits of technology

It improves the accuracy and stability of vibration prediction, provides more comprehensive operation and maintenance decision support, reduces maintenance costs and risks, and enhances the automation and intelligence of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117521023B_ABST
    Figure CN117521023B_ABST
Patent Text Reader

Abstract

The present invention proposes a method and system for predicting the swing of hydraulic machinery with multi-algorithm fusion, and relates to the technical field of hydropower unit status warning. The method comprehensively applies a variety of advanced algorithms such as dung beetle optimization algorithm (DBO), improved dung beetle optimization algorithm (FDBO), variational mode decomposition (VMD) and support vector machine regression (SVR) to improve the prediction performance of hydraulic machinery swing data. The core steps of the method include: collecting and preprocessing the swing data of hydropower units; improving the DBO algorithm; optimizing VMD parameters through the FDBO algorithm; extracting effective features from the optimized VMD results; optimizing the SVR model using the FDBO algorithm; using the optimized VMD and SVR models to train the training data and predict future swing values; evaluating the performance of the trained SVR model; analyzing the prediction results to understand the evolution trend of hydraulic machinery swing. The present invention comprehensively applies a variety of algorithms to predict the swing of hydraulic machinery in a comprehensive manner, thereby improving accuracy and scientificity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of hydropower unit status early warning, and in particular relates to a multi-algorithm fusion hydraulic machinery oscillation prediction method and system thereof. Background Art

[0002] As an important energy conversion device, hydraulic machinery has a wide range of applications in the energy field. However, due to the variability of the unit's operating environment and the complexity of the mechanical structure, the hydraulic machinery swing problem has become an important factor restricting its reliability and safety. The hydraulic machinery swing problem may be caused by a variety of factors, such as mechanical load, hydraulic conditions, electromagnetic effects, etc., resulting in complex non-stationary and nonlinear characteristics of the unit swing. These swing problems may cause performance degradation, mechanical wear, safety risks and power quality problems in hydraulic machinery including turbines and pumps, which not only affects the performance and safety of hydraulic machinery, but may also have a negative impact on the power supply quality of the power grid.

[0003] At present, although there are some unit vibration monitoring and early warning systems, the existing methods have certain limitations. Traditional vibration monitoring methods mainly focus on setting fixed thresholds or calculating the rate of change of indicators. However, these methods are difficult to accurately predict complex non-stationary vibration signals, resulting in false alarms or delayed fault warnings. In addition, the existing technology often lacks efficient and accurate methods for analyzing and predicting complex unit vibration signals. There are the following shortcomings:

[0004] 1. Lack of intelligent support: Many existing methods lack intelligent support in the process of vibration monitoring and prediction. Faced with a large amount of complex data, manual analysis and judgment are often time-consuming and laborious, and are easily affected by subjective factors, which limits the automation and intelligence of the system.

[0005] 2. Complex environmental influences: Environmental factors such as humidity, temperature, and mechanical load changes have a direct impact on the unit's vibration problems. However, existing technologies often fail to fully consider the impact of these complex environmental factors on vibration characteristics, resulting in inaccurate and incomplete prediction results.

[0006] 3. Data quality limitations: The data involved in hydraulic machinery vibration problems usually have characteristics such as high dimension and high sampling frequency, and existing technologies have certain difficulties in processing large-scale high-dimensional data. Poor data quality or data loss may affect the reliability of analysis results.

[0007] Therefore, it is crucial to develop a new method for predicting hydraulic machinery vibration based on emerging technologies such as artificial intelligence and big data analysis. This new method should be able to overcome the limitations of traditional methods, accurately analyze and predict trends of complex vibration signals, thereby achieving early prediction of the vibration state of the unit and providing strong support for improving the reliability, safety and performance indicators of the unit. This method will provide new research ideas for hydraulic machinery vibration prediction and contribute to the sustainable development of the energy field. Summary of the invention

[0008] The present invention aims to innovatively solve the limitations of the existing technology and proposes a hydraulic machinery swing prediction method and system that integrates multiple algorithms. The method comprehensively applies the advantages of multiple advanced algorithms, including dung beetle optimization algorithm (DBO), improved dung beetle optimization algorithm (FDBO), variational mode decomposition (VMD) and support vector machine regression (SVR), aiming to achieve accurate analysis of hydraulic machinery swing data and accurate prediction of its evolution trend, provide highly accurate swing state prediction for the operation of hydraulic machinery, and provide strong support for operation and maintenance decisions.

[0009] In order to achieve the above-mentioned purpose, the present invention adopts the following technical solution: a hydraulic machinery sway prediction method integrating multiple algorithms, characterized by the following steps:

[0010] S1. Data collection and preprocessing: collect hydraulic machinery vibration data and perform preprocessing, including data noise reduction, missing value processing and outlier detection;

[0011] S2. Improved DBO algorithm: Chaotic mapping, adaptive search radius strategy, and global search answer strategy are introduced to improve the dung beetle optimization algorithm and obtain the FDBO algorithm;

[0012] S3.FDBO optimizes VMD: Use the improved dung beetle optimization algorithm FDBO to optimize the variational mode decomposition VMD; perform variational mode decomposition on the preprocessed data;

[0013] S4. Feature extraction and selection: Extract effective features from the optimized VMD decomposition results, use feature selection methods to reduce data dimensions, and obtain feature sets;

[0014] S5.FDBO optimization of SVR: Use the improved dung beetle optimization algorithm FDB to optimize the support vector regression SVR model parameters, including the optimization of kernel function radius and penalty coefficient;

[0015] S6. Model training and prediction: The feature set is randomly divided into training data and test data. The training data is trained using the optimized SVR model to obtain a hydraulic machinery swing value prediction model. The hydraulic machinery swing value prediction model is then used to predict the test data.

[0016] A further technical solution is that in step S1, the collected data include the vibration frequency, vibration amplitude, vibration direction, acceleration, and displacement collected by the unit vibration sensor; after the data is collected, the data is synchronized so that the data has a consistent time tag.

[0017] A further technical solution is that the specific steps of step S2 are as follows:

[0018] Step 1: Initialize DBO parameters and set random population;

[0019] Step 2: Introduce chaotic mapping to make the initial population state more uniform;

[0020] Step 3: Introduce an adaptive search radius strategy so that the breeding locations and the foraging of dung beetles are searched in space in a spiral form, expanding the ability of the discoverer to explore unknown areas;

[0021] Step 4: Introduce a global search strategy to generate random steps, add a disturbance to the solution, enrich the population diversity, improve the algorithm's search ability, and enable the algorithm to escape from the local optimum.

[0022] A further technical solution is that the specific steps of step S3 are as follows:

[0023] Step 1: Initialize VMD parameters, including time delay, DC component, initial conditions and tolerance, and construct the fitness function f based on sample entropy, aggregation algebra and Pearson coefficient FDBO , the objective value of the fitness function is the smallest;

[0024] Step 2: FDBO parameter setting, setting the dung beetle population size and the maximum number of iterations, and specifying the parameter dimensions to be optimized, including the VMD parameters K and α;

[0025] Step 3: FDBO parameter optimization loop, in each iteration, the performance of the dung beetle individual is evaluated by the fitness function, and the parameters of the dung beetle individual are updated;

[0026] Step 4: Obtain the optimal parameters, and obtain the optimal parameter combination after the FDBO algorithm is optimized, that is, the optimal VMD parameters K and α;

[0027] Step 5: Perform VMD decomposition, use the optimal parameters to perform VMD decomposition, analyze the results of VMD decomposition, and obtain the reconstructed signal and each IMF.

[0028] A further technical solution is that in step S5, an improved dung beetle optimization algorithm FDBO is used to find the best SVR model parameter combination. The specific steps are as follows:

[0029] Step 1: Data reading and data set division, read data from the data file;

[0030] Step 2: Normalize the input and output data so that the data are on the same scale;

[0031] Step 3: Initialize the algorithm parameters and set the optimization algorithm parameters, including the population size, maximum number of iterations, and parameter lower and upper bounds;

[0032] Step 4: Use the FDBO algorithm to optimize the kernel function radius g and penalty coefficient c of SVR to obtain the best parameter combination.

[0033] The present invention also discloses a multi-algorithm fusion hydraulic machinery oscillation prediction system, which is characterized by comprising the following components:

[0034] Sensors: including vibration sensors, acceleration sensors, and displacement sensors, which are distributed in the generators, bearings, and gearboxes of the hydropower units to continuously monitor the vibration data of the units:

[0035] Vibration sensors are installed on the generator, bearings, and gearbox of the unit to monitor the vibration frequency, vibration amplitude, and vibration direction data; acceleration sensors are placed on the generator, bearings, and gearbox of the unit to measure the acceleration data of the unit; displacement sensors are arranged at the root of the runner blades, the main shaft, and the coupling to measure the displacement and displacement change of the components;

[0036] The sensor collects vibration frequency, vibration amplitude, vibration direction, acceleration, displacement data and transmits it to the data acquisition and processing unit;

[0037] Data acquisition and processing unit: collects vibration data from sensors and performs preprocessing; the processed data is then passed to the vibration data analysis module;

[0038] Vibration data analysis module: Analyzes and models vibration data using the dung beetle optimization algorithm, improved dung beetle optimization algorithm, variational mode decomposition, and support vector regression model to automatically identify abnormal patterns; this module receives vibration data from the data acquisition and processing unit, analyzes it, and then passes the results to the alarm module;

[0039] User interface: A user interface provided to operators to visualize vibration data, abnormal conditions, and prediction results;

[0040] Alarm module: automatically triggers an alarm; when the vibration data analysis module detects an abnormal vibration pattern or predicts a potential fault, it sends a corresponding signal to the alarm module to trigger an alarm operation; the alarm module generates an alarm notification.

[0041] A further technical solution is that the working process of the alarm module is as follows: when the upper guide swing value exceeds 280μm, the upper guide first-level alarm will be triggered, and when the upper guide swing value exceeds 480μm, the upper guide second-level alarm will be triggered; when the upper frame horizontal vibration value reaches 90μm, the upper frame first-level alarm will be triggered, and when the upper frame horizontal vibration value reaches 120μm, the upper frame second-level alarm will be triggered.

[0042] Compared with the prior art, the present invention has the following beneficial effects:

[0043] 1. The multi-algorithm fusion method of the present invention combines chaos mapping, adaptive search radius strategy, global search answer strategy to improve the DBO algorithm, FDBO optimization VMD and FDBO optimization SVR and other algorithms to predict the sway of hydraulic machinery in a comprehensive way. This method not only takes into account multiple influencing factors, but also comprehensively applies multiple models in the prediction, making the prediction results more accurate and stable.

[0044] 2. The present invention can more accurately decompose and model the sway data by optimizing VMD parameters and SVR parameters, thereby improving the accuracy of prediction. The automatic weighted model fusion strategy also ensures the high reliability of the prediction results.

[0045] 3. The present invention takes into account the multi-dimensional operating conditions of hydraulic machinery and other influencing factors, and can provide more comprehensive data support for operation and maintenance decisions. The prediction results help to formulate more accurate maintenance plans and optimize operation strategies, reducing maintenance costs and risks.

[0046] 4. Through the swing prediction method of the present invention, operation and maintenance personnel can make decisions based on more accurate data. Obtaining information about the swing change trend in advance makes operation and maintenance decisions more scientific and reasonable, thereby reducing maintenance costs and downtime losses. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a flow chart of the present invention;

[0048] Figure 2 To improve the dung beetle optimization algorithm flow chart;

[0049] Figure 3 Optimize the variational mode decomposition flow chart for improving the dung beetle optimization algorithm;

[0050] Figure 4 Optimize the support vector machine flow chart for improving the dung beetle optimization algorithm;

[0051] Figure 5 Sample graph for the test function;

[0052] Figure 6 Optimization comparison chart for test function;

[0053] Figure 7 This is the prediction result diagram of the upper guide X-direction swing;

[0054] Figure 8 This is the prediction result diagram of the Y-direction swing of the upper guide;

[0055] Fig. 9 This is the prediction result diagram of the upper frame horizontal X direction;

[0056] Fig.10 This is the horizontal Y-direction prediction result diagram of the upper frame. DETAILED DESCRIPTION

[0057] The following will be based on the implementation content of the present invention, and the technical solution therein will be clearly and completely described. It should be clear that the embodiments described below only represent a part of the specific implementation of the present invention, rather than all implementations. Under the guidance of the present invention, professionals in the technical field can, without involving creative work, create other embodiments that conform to the ideas of the present invention based on the existing embodiments, and these embodiments are also protected by the scope of the present invention.

[0058] This embodiment provides a method for predicting the vibration of a hydropower unit by integrating multiple algorithms. Figure 1 , specifically including the following steps:

[0059] S1. Collect the swing data from the hydraulic machinery swing sensor, and then pre-process the collected data, including removing noise and applying digital filtering technology, such as low-pass filter, to remove high-frequency noise components to ensure the quality and accuracy of the data. Next, downsampling is performed to reduce the amount of data, reduce storage and computing costs, while retaining key information. The processed data will be used for further analysis and swing prediction. These processing steps help improve the availability of data, accurately reflect the hydraulic machinery swing, and provide a reliable basis for subsequent analysis and decision-making;

[0060] S2. Improve the Dung Beetle Optimization Algorithm (DBO) using chaotic mapping, adaptive search radius strategy, and adaptive search radius strategy;

[0061] The traditional dung beetle optimization algorithm (DBO) is a heuristic algorithm inspired by the behavior of dung beetles and used to search for the global optimal solution. However, the traditional DBO algorithm has potential problems in some cases, including slow convergence speed and easy to fall into the local optimal solution. The improved FDBO algorithm effectively improves the performance and global search ability of the algorithm by introducing a series of new strategies.

[0062] a) A new type of chaotic mapping method is used, which is based on multiple chaotic mapping principles. This mapping strategy has good randomness and chaotic properties, and can be used to optimize the randomness requirements in the algorithm and improve the global search performance of the algorithm:

[0063]

[0064] In the above formula, x k and x k+1 They represent the states or values ​​at different time steps k and k+1, respectively, and are used to describe the state evolution of the chaotic map; u represents the state parameter, which ranges from 0.9 to 1.08 and is used to adjust the properties of the chaotic map.

[0065] The chaotic mapping method is introduced into the FDBO algorithm as a randomness increasing factor. This chaotic mapping not only makes the initialization population state more uniform, but also increases the diversity of the population, which helps to jump out of the local optimal solution.

[0066] b) Introducing an adaptive search radius strategy, which can dynamically adjust the size of the search radius to better meet the characteristics of the problem and the search requirements. This strategy enables the algorithm to more flexibly select different exploration radii during the search process, so that the breeding position and the foraging of dung beetles are searched in the space in a spiral form, which expands the ability of the discoverer to explore unknown areas, helps the algorithm to jump out of the local optimum, and effectively improves the global search ability of the algorithm.

[0067] The original formula for dung beetle reproduction:

[0068]

[0069] After improvement:

[0070]

[0071] In the above formula, represents the new position of dung beetle individual i at time step t+1; represents the global optimal position at time step t; b1 and b2 represent two coefficients of the dung beetle individual when it is updated in the new position, which are used to affect the movement of the individual; represents the current position of dung beetle individual i at time step t; Lb * and Ub * They represent the lower and upper boundaries of the variable, respectively, and are used to limit the position of dung beetle individuals within a certain range.

[0072] The original formula for the small dung beetle to find food:

[0073]

[0074] After improvement:

[0075]

[0076] In the above formula, Indicates the position of the little dung beetle in the next generation; Indicates the position of the current generation of dung beetles; C1 and C2 represent two weight coefficients; Lb l and Ub l Indicates the limit value.

[0077] c) A long-tail distribution random flight strategy is introduced to increase the algorithm's exploration range and global search capability by generating random steps based on Levy distribution. This flight strategy has a heavy-tail distribution, which enables the algorithm to achieve a balance between exploration and utilization, and helps improve the algorithm's global search and convergence performance. This flight strategy is used to generate random steps, add a perturbation to the solution, enrich the population diversity, improve the algorithm's search capability, and enable the algorithm to jump out of the local optimum. In addition, the introduction of adaptive weights can well balance the relationship between search diversity and convergence accuracy.

[0078] Dung beetle stealing original formula:

[0079]

[0080] After improvement:

[0081]

[0082] In the above formula, Indicates the location of the next generation of dung beetles; Indicates the position of the current generation of dung beetles; represents the local optimal position; represents the global optimal position, S and g represent constants.

[0083] This embodiment is based on the above-mentioned improvement on the Dung Beetle Optimization Algorithm (DBO), and the implementation process is shown in FIG. Figure 2 As shown, the specific implementation steps are as follows:

[0084] Step 1: Initialize DBO parameters and set random population;

[0085] Step 2: Introduce chaotic mapping to make the initial population state more uniform;

[0086] Step 3: Introduce an adaptive search radius strategy so that the breeding location and the foraging of dung beetles are searched in space in a spiral form, which expands the ability of the discoverer to explore unknown areas;

[0087] Step 4: Introduce a global search answer strategy to generate random steps, add a disturbance to the solution, enrich the population diversity, improve the algorithm's search ability, and enable the algorithm to escape from the local optimum.

[0088] S3. The variational mode decomposition (VMD) parameters are optimized using the improved dung beetle optimization algorithm (FDBO). The optimized VMD parameters are obtained by iteratively optimizing the parameter combination [K, α] and combining evaluation indicators such as sample entropy, aggregation algebra, and Pearson correlation coefficient;

[0089] S31. Optimization of Variational Mode Decomposition (VMD)

[0090] The unit vibration signal has complex nonlinear and non-stationary characteristics, so an effective signal processing method is needed. The variational mode decomposition (VMD) algorithm is used to decompose these signals, decomposing them into a series of different intrinsic mode functions (IMFs), thereby reducing the complexity and non-stationarity of the signal. Each IMF has unique frequency characteristics and sparsity, which reflect the characteristics of the signal in the time domain and frequency domain respectively. The frequency characteristics of the IMF reflect the frequency domain characteristics of the signal, while the sparsity characterizes the uncertainty of the signal in the time domain and the degree of modal aliasing. The performance evaluation of the VMD algorithm directly depends on the sparsity and frequency characteristics of the IMF. In addition, the signal can be reconstructed by superimposing all IMFs. Therefore, in order to optimize the performance of the VMD algorithm, it is necessary to establish an appropriate fitness function and introduce appropriate evaluation indicators to ensure the decomposition quality of the IMF. The specific evaluation index establishment process is as follows:

[0091] a) Sample entropy is used to quantify the regularity of data, especially as a measure of signal sparsity. It can effectively describe the uncertainty of the signal. Generally, when the entropy value increases, it means that the uncertainty of the signal increases. For a given original signal, its sample entropy is as follows:

[0092] sampEn(data,q,r)=lnB q (r)-lnB q+1 (r) (15)

[0093] Where sampEn is the sample entropy function, data is a random signal time series, q represents the embedding dimension, r represents the similarity tolerance, and B represents the ratio of the number of state vectors of the embedded vector to the original signal.

[0094] b) Pearson correlation coefficient is a method used to measure the degree of correlation between two random variables. It can be used as an indicator to evaluate the difference between the reconstructed signal and the original signal. The higher the value, the smaller the difference. Assuming x and y are two time series of length N, the definition of Pearson correlation coefficient is as follows:

[0095]

[0096] Where P * is the Pearson correlation coefficient of time series x and y, and represents the mean of x and y. * ∈[-1,1], the larger its absolute value, the higher the correlation between time series x and y, and the smaller its absolute value, the lower the correlation between time series x and y.

[0097] c) VMD parameter optimization usually uses a single indicator to define the fitness function, for example, the minimum IMF sample entropy value is selected as the fitness function for parameter optimization. However, this method may cause a large error between the reconstructed signal after VMD decomposition and the original signal, or aggravate the modal aliasing effect. Therefore, the optimization of VMD parameters by a single indicator cannot fully consider all aspects of VMD decomposition performance.

[0098] Therefore, the improved dung beetle optimization algorithm (FDBO) is used to optimize the VMD parameters. The three VMD evaluation indicators of sample entropy, aggregation algebra and Pearson correlation coefficient are comprehensively considered, and the VMD parameter combination [K, α] is used as the position of the dung beetle population, and the fitness function (denoted as f) in the following form is constructed. FDBO ) to optimize:

[0099]

[0100] In the formula, lg(omega) is the relative aggregation algebra.

[0101] This embodiment screens and optimizes the mode number k and penalty coefficient α in the variational mode decomposition (VMD) based on the improved dung beetle optimization algorithm (FDBO) proposed above. The implementation process is shown in FIG. Figure 3 As shown, the specific implementation steps are as follows:

[0102] Step 1: Initialize parameters, set sampling frequency, and import raw data. Initialize VMD parameters, including time delay, DC component, initial conditions, and tolerance. Define the fitness function, which evaluates VMD performance based on multiple evaluation indicators (sample entropy, aggregation algebra, Pearson coefficient);

[0103] Step 2: FDBO parameter setting, set the dung beetle population size and the maximum number of iterations. Specify the parameter dimensions to be optimized, including the VMD parameters (K and α);

[0104] Step 3: FDBO parameter optimization loop, in each iteration, the performance of the dung beetle individual is evaluated by the fitness function. The parameters of the dung beetle individual are updated to reflect the evaluation results of the foraging behavior and the fitness function;

[0105] Step 4: Obtain the optimal parameters, and obtain the optimal parameter combination after the FDBO algorithm is optimized, that is, the optimal VMD parameters (K and α);

[0106] Step 5: Perform VMD decomposition and use the optimal parameters to perform VMD decomposition. Analyze the results of VMD decomposition to obtain the reconstructed signal and each IMF.

[0107] S4. Feature extraction and selection,Extract effective features from the optimized VMD decomposition results.,In order to retain all the information in the data, to ensure that all information is fully utilized, and to reduce the possibility of information loss, all,decomposed components are retained for subsequent predictions.

[0108] S5.FDBO optimizes SVR parameters

[0109] This embodiment screens and optimizes the kernel function radius g and penalty coefficient c in the support vector machine (SVR) based on the improved dung beetle optimization algorithm (FDBO) proposed above. The implementation process is shown in FIG. Figure 4 As shown, the specific implementation steps are as follows:

[0110] Step 1: Data reading and data set division: read data from the data file and divide the data set into training set and test set;

[0111] Step 2: Data normalization: normalize the input and output data to ensure that the data are on the same scale;

[0112] Step 3: Parameter optimization setting, initializing algorithm parameters, setting optimization algorithm parameters, including population size, maximum number of iterations, parameter lower and upper bounds, etc.;

[0113] Step 4: Parameter optimization: Use the FDBO algorithm to optimize the kernel function radius g and penalty coefficient c of SVR to obtain the best parameter combination;

[0114] Step 5: Optimal parameter training, using the optimal parameters to train the SVR model;

[0115] Step 6: Use the SVR model to make predictions. Use the trained SVR model to make predictions on the training set and the test set.

[0116] Step 7: Denormalization: Denormalize the prediction results to restore them to values ​​within the original data range;

[0117] Step 8: Calculate error indicators, including MAE, RMSE, MAPE, correlation coefficient, etc. for the training set and the test set;

[0118] Step 9: Loop through each component. If there are multiple components to be processed, repeat the above steps to process the prediction of each component.

[0119] Step 10: Summarize the final result error index, summarize the error index of all components to obtain the final error index.

[0120] S6. Use the parameter-optimized SVR model to train the hydropower unit's swing data. This includes dividing the data into a training set and a test set, and using the training set to train the SVR model to learn the patterns and features of the swing data.

[0121] S7. Evaluate the performance of the trained SVR model. By inputting the test set data into the SVR model, evaluate its prediction performance, including calculating indicators such as mean square error (MSE), root mean square error (RMSE), and mean absolute percentage error (MAPE) to verify the accuracy and reliability of the model.

[0122] S8. Use the optimized SVR model to predict the future swing data of the hydropower unit. Based on the current or historical swing data of the unit, the SVR model will generate a prediction of the future swing data to identify the future state trend and swing characteristics of the hydropower unit.

[0123] S9. Implement the alarm module. This module is designed to monitor and evaluate the swing of the hydropower unit in real time and detect potential faults in advance. The main task of the alarm module is to automatically trigger the alarm and provide maintenance suggestions, thereby reducing the unit downtime and improving operation and maintenance efficiency. The alarm rules are as follows: The vibration monitoring of the hydropower unit is divided into two aspects, one is the upper guide swing value, and the other is the upper frame horizontal vibration value. For each aspect, there is an independent alarm standard. Specifically, when the upper guide swing value exceeds 280μm, the upper guide first-level alarm will be triggered, and when the upper guide swing value exceeds 480μm, the upper guide second-level alarm will be triggered; when the upper frame horizontal vibration value reaches 90μm, the upper frame first-level alarm will be triggered, and when the upper frame horizontal vibration value reaches 120μm, the upper frame second-level alarm will be triggered.

[0124] The goal of implementing the alarm module is to provide early warning of failures so that the maintenance team can take timely action. The alarm module is used in conjunction with the feature extraction and SVR model in the previous steps to enable real-time monitoring and analysis of vibration data. When the system detects an abnormal vibration pattern or predicts a potential failure, the alarm module automatically triggers an alarm.

[0125] In the specific verification test, the upper guide swing and upper frame horizontal vibration of the turbine were selected as the prediction targets. First, the dung beetle optimization algorithm was improved. The improved dung beetle optimization algorithm verified the search performance of FDBO through three classic test functions: single peak, multi-peak, and fixed multi-peak. The local search ability of the algorithm was tested by a single peak function with only one global optimal value, and the global search ability was evaluated by a multi-peak function. The improved dung beetle optimization algorithm was compared with five other widely studied optimization algorithms: gray wolf optimization algorithm (GWO), sparrow search algorithm (SSA), whale algorithm (WOA), northern goshawk algorithm (NGO), and dung beetle optimization algorithm (DBO). F1 is used for single peak function, F11 is used for multi-peak function, and F16 is used for fixed multi-peak function. Please refer to the attached function sample diagram. Figure 5 The above 6 optimization algorithms are used to optimize a total of 3 test functions. The results are shown in the attached Figure 6 .from Figure 6 It can be seen that the improved algorithm is superior to other algorithms in terms of search accuracy and convergence speed, and its performance has been significantly improved.

[0126] Next, the variational mode decomposition optimized by the improved dung beetle optimization algorithm is used to extract effective features. The extracted feature data is split into training data and test data. The SVR model optimized by the improved dung beetle optimization algorithm is used for training and testing. The prediction results are shown in the attached Figure 7 -Attached Fig.10 .

[0127] from Figure 7-10 It can be seen that the prediction effect is the worst when the SVR model is used directly for prediction without VMD decomposition; the prediction effect is improved when the SVR model is used for prediction after VMD decomposition, but there is still room for improvement; after VMD decomposition and the dung beetle optimization algorithm is used to optimize the parameters of the SVR model, the prediction effect is significantly improved, showing better performance; the best prediction effect occurs when the VMD and SVR models are optimized by the dung beetle optimization algorithm. This method shows the best performance in all cases.

[0128] To further evaluate the model effect, the root mean square error (RMSE), mean absolute error (MAE), and mean relative percentage error (MAPE) were used to determine the coefficient R 2 Indicators are used to evaluate various models:

[0129] 1. Root Mean Square Error (RMSE): RMSE is used to measure the root mean square of the prediction error. It is calculated by the following formula:

[0130]

[0131] In the formula, n represents the quality of the observed data, Yi is the actual observed value, is the model prediction value.

[0132] 2. Mean Absolute Error (MAE): MAE is used to measure the average absolute value of the prediction error. It is calculated by the following formula:

[0133]

[0134] 3. Mean relative percentage error (MAPE): MAPE expresses the average relative value of the forecast error in percentage form. It is calculated by the following formula:

[0135]

[0136] 4. Coefficient of determination (R 2 ) is used to measure the degree of fit of the model to the observed data. It is calculated by the following formula:

[0137]

[0138] In the formula, is the mean of the observed data.

[0139] The results are shown in Table 1:

[0140] Table 1 Comparison of evaluation indicators

[0141]

[0142]

[0143] The same conclusions can be drawn from Table 1 as before. These prediction results emphasize the importance of the dung beetle optimization algorithm in optimizing the parameters of the VMD and SVR models, and show that the prediction performance of vibration data can be significantly improved through multiple combined optimization.

[0144] Example 2

[0145] This embodiment provides a multi-algorithm fusion hydraulic machinery swing prediction system, which aims to monitor and evaluate the swing of hydropower units in real time and detect potential faults in advance. The system includes the following key components:

[0146] Sensors: Various types of sensors, including vibration sensors, acceleration sensors, displacement sensors, etc., are distributed in key locations of hydropower units to achieve comprehensive vibration data monitoring. These sensors are responsible for continuously collecting vibration data of the unit, including but not limited to the acquisition of information such as vibration frequency, vibration amplitude and vibration direction. These key parts include key components of the unit such as generators, bearings, and gearboxes. Through the collaborative work of these multiple types of sensors, it is possible to fully understand the vibration of the unit to monitor and evaluate its performance in real time, aiming to detect potential faults in advance and ensure the reliable operation of the hydropower unit. Vibration sensors are installed on the generator, bearings, and gearbox of the unit to monitor vibration frequency, vibration amplitude, and vibration direction data; acceleration sensors are placed on the generator, bearings, and gearbox of the unit to measure the acceleration data of the unit; displacement sensors are arranged at the root of the runner blades, the main shaft, and the coupling to measure the displacement and displacement change of components.

[0147] Data acquisition and processing unit: collects vibration data from sensors and performs preprocessing, including noise filtering, data downsampling, time synchronization and other operations to ensure data quality and consistency.

[0148] Vibration data analysis module: used to analyze and model vibration data using the dung beetle optimization algorithm, improved dung beetle optimization algorithm, variational mode decomposition and support vector regression model. This module can automatically identify abnormal patterns in the unit vibration data and generate corresponding alarms.

[0149] User Interface: A user interface provided to operators to visualize vibration data, abnormal conditions, and prediction results; operators can monitor the unit status in real time, view historical data, and take necessary maintenance measures.

[0150] Alarm module: Automatically triggers alarms and provides maintenance suggestions. When the system detects abnormal vibration patterns or predicts potential failures, it automatically triggers alarms and provides maintenance suggestions. This helps reduce unit downtime and improves operation and maintenance efficiency.

[0151] The implementation method and working principle of each component in this embodiment are the same as those in Embodiment 1. This system can play an important role in the daily operation of the hydropower unit and improve the reliability and safety of the unit.

[0152] Although the present invention is described herein with reference to a number of illustrative embodiments of the present invention, it will be appreciated that those skilled in the art may devise numerous other modifications and implementations that fall within the scope of the present disclosure. More specifically, within the scope of the present disclosure, drawings, and claims, a variety of variations and modifications may be made to the components or layout. In addition to variations and modifications to the components or layout, other uses will be apparent to those skilled in the art.

Claims

1. A multi-algorithm fusion hydraulic machinery sway prediction method, characterized in that Here are the steps: S1. Data collection and preprocessing: collect hydraulic machinery vibration data and perform preprocessing, including data noise reduction, missing value processing and outlier detection; S2. Improved DBO algorithm: Chaotic mapping, adaptive search radius strategy, and global search answer strategy are introduced to improve the dung beetle optimization algorithm and obtain the FDBO algorithm; S3.FDBO optimized VMD: Use the improved dung beetle optimization algorithm FDBO to optimize the variational mode decomposition VMD; Perform variational mode decomposition on the preprocessed data; S4. Feature extraction and selection: Extract effective features from the optimized VMD decomposition results, use feature selection methods to reduce data dimensions, and obtain feature sets; S5.FDBO optimization of SVR: Use the improved dung beetle optimization algorithm FDB to optimize the support vector regression SVR model parameters, including the optimization of kernel function radius and penalty coefficient; S6. Model training and prediction: The feature set is randomly divided into training data and test data, and the training data is trained using the optimized SVR model to obtain a hydraulic machinery swing value prediction model, and then the hydraulic machinery swing value prediction model is used to predict the test data; The specific steps of step S2 are as follows: Step 1: Initialize DBO parameters and set random population; Step 2: Introduce chaotic mapping to make the initial population state more uniform; the calculation formula is as follows: In the above formula, x k and x k+1 They represent the states or values ​​at different time steps k and k+1, respectively, and are used to describe the state evolution of the chaotic map; u represents the state parameter, which ranges from 0.9 to 1.08 and is used to adjust the properties of the chaotic map; Step 3: Introduce an adaptive search radius strategy so that the breeding locations and the foraging of dung beetles are searched in space in a spiral form, expanding the ability of the discoverer to explore unknown areas; The improved dung beetle breeding formula is: In the above formula, represents the new position of dung beetle individual i at time step t+1; represents the global optimal position at time step t; b1 and b2 represent two coefficients of the dung beetle individual when it is updated in the new position, which are used to affect the movement of the individual; represents the current position of dung beetle individual i at time step t; Lb * and Ub * They represent the lower and upper boundaries of the variable, respectively, and are used to restrict the position of dung beetle individuals within a certain range; The improved foraging formula of the dung beetle is: In the above formula, Indicates the position of the little dung beetle in the next generation; Indicates the position of the current generation of dung beetles; C1 and C2 represent two weight coefficients; Lb l and Ub l Indicates the limit value; Step 4: Introduce a global search strategy to generate a random step size, add a disturbance to the solution, enrich the population diversity, improve the algorithm's search ability, and enable the algorithm to jump out of the local optimum; The improved stealing formula of dung beetles is: In the above formula, Indicates the location of the next generation of dung beetles; Indicates the position of the current generation of dung beetles; represents the local optimal position; represents the global optimal position, S and g represent constants; The specific steps of step S3 are as follows: Step 1: Initialize VMD parameters, including time delay, DC component, initial conditions and tolerance, and construct the fitness function f based on sample entropy, aggregation algebra and Pearson coefficient FDBO , the objective value of the fitness function is the smallest; In the formula, sampEn is the sample entropy function, data is a random signal time series, q represents the embedding dimension, r represents the similarity tolerance, and P * is the Pearson correlation coefficient, lg(omega) is the relative aggregation algebra; Step 2: FDBO parameter setting, setting the dung beetle population size and the maximum number of iterations, and specifying the parameter dimensions to be optimized, including the VMD parameters K and α; Step 3: FDBO parameter optimization loop, in each iteration, the performance of the dung beetle individual is evaluated by the fitness function, and the parameters of the dung beetle individual are updated; Step 4: Obtain the optimal parameters, and obtain the optimal parameter combination after the FDBO algorithm is optimized, that is, the optimal VMD parameters K and α; Step 5: Perform VMD decomposition, use the optimal parameters to perform VMD decomposition, analyze the results of VMD decomposition, and obtain the reconstructed signal and each IMF.

2. The method for predicting hydraulic machinery oscillation by integrating multiple algorithms according to claim 1 is characterized by: In step S1, the collected data include vibration frequency, vibration amplitude, vibration direction, acceleration, and displacement collected by the unit vibration sensor; after data collection, data synchronization is first performed so that the data has a consistent time tag.

3. The method for predicting hydraulic machinery oscillation by integrating multiple algorithms according to claim 1 is characterized in that: Step S5 uses the improved dung beetle optimization algorithm FDBO to find the best SVR model parameter combination. The specific steps are as follows: Step 1: Data reading and data set division, read data from the data file; Step 2: Normalize the input and output data so that the data are on the same scale; Step 3: Initialize the algorithm parameters and set the optimization algorithm parameters, including the population size, maximum number of iterations, and parameter lower and upper bounds; Step 4: Use the FDBO algorithm to optimize the kernel function radius g' and penalty coefficient c of SVR to obtain the best parameter combination.

4. The method for predicting hydraulic machinery oscillation by integrating multiple algorithms according to claim 1 is characterized in that: The prediction system used in the method includes the following components: Sensors: including vibration sensors, acceleration sensors, and displacement sensors, which are distributed in the generators, bearings, and gearboxes of the hydropower units to continuously monitor the vibration data of the units: Vibration sensors are installed on the generator, bearings, and gearbox of the unit to monitor the vibration frequency, vibration amplitude, and vibration direction data; acceleration sensors are placed on the generator, bearings, and gearbox of the unit to measure the acceleration data of the unit; displacement sensors are arranged at the root of the runner blades, the main shaft, and the coupling to measure the displacement and displacement change of the components; The sensor collects vibration frequency, vibration amplitude, vibration direction, acceleration, and displacement data and transmits them to the data acquisition and processing unit; Data acquisition and processing unit: collects vibration data from sensors and performs preprocessing; the processed data is then passed to the vibration data analysis module; Vibration data analysis module: Analyzes and models vibration data using the dung beetle optimization algorithm, improved dung beetle optimization algorithm, variational mode decomposition, and support vector regression model to automatically identify abnormal patterns; this module receives vibration data from the data acquisition and processing unit, analyzes it, and then passes the results to the alarm module; User interface: A user interface provided to operators to visualize vibration data, abnormal conditions, and prediction results; Alarm module: automatically triggers an alarm; when the vibration data analysis module detects an abnormal vibration pattern or predicts a potential fault, it sends a corresponding signal to the alarm module to trigger an alarm operation; the alarm module generates an alarm notification.

5. According to a multi-algorithm fusion hydraulic machinery swing prediction method according to claim 4: the alarm module working process is as follows: when the upper guide swing value exceeds 280μm, the upper guide first-level alarm will be triggered, and when the upper guide swing value exceeds 480μm, the upper guide second-level alarm will be triggered; when the upper frame horizontal vibration value reaches 90μm, the upper frame first-level alarm will be triggered, and when the upper frame horizontal vibration value reaches 120μm, the upper frame second-level alarm will be triggered.