A multi-level early warning method, device, equipment and medium for rotating machinery
By combining multiple condition monitoring models and multiple threshold indicators, a multi-level early warning strategy solves the problem of frequent false alarms in rotating machinery fault warnings in the existing technology, improves the accuracy of early warnings, and reduces downtime losses.
Patent Information
- Application Number
- CN202311481519.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-08
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-11-08
AI Technical Summary
Existing rotating machinery fault early warning methods usually rely on a single condition monitoring model and a single fault threshold indicator, resulting in frequent false alarms, failure to accurately reflect the operating status of the equipment, and unnecessary downtime losses.
A multi-level early warning method is used, combined with Gaussian process regression model, Bayesian optimization-based long short-term memory network model and optimization-based autoassociation kernel regression model, to predict the operating status of rotating machinery, and uses 3σ, MSE, multi-variable Indicators such as Bayes factor and multivariable permutation entropy are used for fault early warning, and multi-level early warning strategies are developed.
It effectively reduces model false alarms, improves alarm accuracy, provides the best maintenance measures, and reduces unnecessary downtime losses.
Smart Images

Figure CN117992726B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rotating machinery fault early warning, and in particular to a multi-level early warning method, device, equipment and medium for rotating machinery. Background Art
[0002] In recent years, with the development of advanced digital technologies such as big data, artificial intelligence and edge computing, the research and application of equipment fault warning technology has also been continuously improved. At present, equipment fault warning technology has been successfully applied to a variety of large rotating machinery such as generators, centrifugal compressors, gas turbines and fans. The existing rotating machinery fault warning technology is mainly divided into three categories: knowledge-based, mechanism-based and data-driven methods. Among them, the data-driven method mines the intrinsic information in the historical operation data of the equipment, establishes a mathematical model to express the process state, and realizes the state monitoring of the equipment according to the model. With the advent of the big data era, a wide range of data-driven fault warning methods, such as machine learning and deep learning, have been widely used to monitor the operating status of industrial equipment and give alarms for potential failures of equipment.
[0003] Machine learning-based methods are usually combined with signal processing technology. Typical methods are based on artificial neural network models and their optimized and improved models. Compared with neural network algorithms, deep learning-based methods have a deeper structure and feature self-learning capabilities. By converting raw data into higher-order features and continuously adjusting model parameters, the model has stronger representation capabilities, but its learning process is highly dependent on the quality and quantity of data.
[0004] At present, fault warning methods for industrial equipment often only combine a single state monitoring model and a single fault threshold indicator to provide fault warning for the equipment. If there is a deviation in the indicator, it is considered to be a fault, thereby achieving the purpose of fault warning. However, rotating machinery, represented mainly by rotating machinery, has a complex design and many parts. A single state monitoring model and a single fault threshold indicator are often not enough to correctly reflect the operating status of the equipment, resulting in frequent false alarms. Frequent equipment shutdowns will bring considerable economic losses. Therefore, there is an urgent need for a method that can maximize the safe, stable and efficient operation of machinery and equipment, predict and warn the operating status of the equipment, and reduce unnecessary downtime losses. Summary of the invention
[0005] In order to solve the problems existing in the prior art, the present invention provides a multi-level early warning method, device, equipment and medium for rotating machinery, which predicts the operating state of rotating machinery by combining a Gaussian process regression model, a long short-term memory network model based on Bayesian optimization and an auto-associative kernel regression model based on optimization; and combines 3σ, MSE, multivariate Bayes factor and multivariate permutation entropy early warning indicators to provide fault early warning for rotating machinery, thereby solving the problems mentioned in the above background technology.
[0006] To achieve the above object, the present invention provides the following technical solution: a multi-level early warning method for rotating machinery, comprising the following steps:
[0007] S1. Collecting the operation data of rotating machinery during operation;
[0008] S2, preprocessing the collected data;
[0009] S3, use sliding window to process the preprocessed data, construct the data set and divide it into training set and test set;
[0010] S4. Build a Gaussian process regression model (GP), a Bayesian optimization-based long short-term memory network model (Bayes-LSTM), and an optimized autoassociative kernel regression model (OAKR), and use the training set data to train each model;
[0011] S5. Use the test set data to predict the trained model, and generate a residual sequence by subtracting the predicted value from the true value;
[0012] S6. Determine the threshold index of each model, judge the generated residual sequence, and issue a warning if it exceeds the threshold.
[0013] Preferably, in step S2, the data preprocessing includes data downsampling, data cleaning, data denoising, data dimensionality reduction and data standardization.
[0014] Preferably, in step S6, determining the threshold index of each model specifically includes:
[0015] The Gaussian process regression model GP selects MSE, multivariate permutation entropy, and multivariate Bayes factor threshold indicators for fault warning;
[0016] The Bayes-LSTM long short-term memory network model based on Bayesian optimization selects MSE, multivariate permutation entropy and 3σ threshold indicators for fault warning;
[0017] Based on the optimized autoassociative kernel regression model OAKR, MSE, multivariate permutation entropy and 3σ threshold indicators are selected for fault warning.
[0018] Preferably, the threshold of the threshold indicator specifically includes the following:
[0019] 1) In the 3σ threshold indicator, if the residual value of the residual sequence is within the interval [μ+3σ,μ-3σ], it is judged as a fault, where μ represents the mean of the residual sequence data and σ represents the variance of the residual sequence data;
[0020] 2) In the MSE threshold indicator, the mean square error (MSE) is used to detect the residual between the model prediction value and the true value. The average mean square error calculation formula of N test samples is as follows:
[0021]
[0022] Where N is the total number of test samples, p is the total number of model variables, is the true value of the jth variable of the ith sample, is the predicted value of the jth variable of the model corresponding to the i-th sample;
[0023] Will Set as the fault alarm threshold. If it exceeds the alarm threshold, it is considered a fault.
[0024] 3) In the multivariate Bayes factor threshold indicator, the expression of the multivariate Bayes factor is as follows:
[0025]
[0026] Assuming that the probabilities of health and failure are both 0.5, the Bayesian confidence λ is expressed as:
[0027]
[0028] When the Bayes factor η→0 and the confidence λ→0%, it indicates a tendency towards a fault state;
[0029] When the Bayes factor η→∞, the confidence λ→100%, it indicates a healthy state;
[0030] The Bayesian confidence fault warning threshold is set to 70%, and a fault is considered if it is lower than 70%;
[0031] 4) In the multivariate permutation entropy index, the calculation formula of multivariate permutation entropy is:
[0032]
[0033] In the formula, p rrepresents the marginal relative frequency of the original multivariate time series, m represents the embedding dimension of the time series phase space reconstruction, and l represents the number of time series points; the calculation results of the entropy value fluctuate greatly. In order to better extract more analytical information from the results, the cumulative sum CUSUM algorithm is introduced into the analysis of the results;
[0034] For any time series of multivariate permutation entropy The calculation formula for CUSUM is as follows:
[0035]
[0036] In the formula, S upper (t) represents the upper limit cumulative sum, S lower (t) is expressed as the lower limit cumulative sum, μ H and σ H are the mean and variance of the entropy value of the unit at the healthy moment, and α is the parameter for detecting mean shift;
[0037] When the unit is abnormal or in a fault state, it usually causes the entropy value to decrease. Therefore, there is no need to set an upper limit for the alarm warning. Only the lower limit accumulation and S lower (t) is enough; when S lower (t)≤μ S -3σ S When , it is judged as a fault, μ S and σ S are the lower limit accumulation and S of the unit's healthy operation period respectively. lower The mean and variance of (t).
[0038] Preferably, in step S6, the early warning is to use a multi-level early warning strategy to warn, and the multi-level early warning strategy specifically includes the following:
[0039] When an alarm indicator in one of the models generates an early warning, a level 1 yellow alarm is activated to remind the operation and maintenance personnel to pay attention to the unit;
[0040] When two or more warning indicators in one of the models give out warnings, a Level 2 orange warning is activated to remind the operation and maintenance personnel to pay close attention to the operating status of the unit;
[0041] When two or more models have a level 2 orange warning, a level 3 red warning will be activated to remind operation and maintenance personnel to shut down the unit for maintenance.
[0042] On the other hand, in order to achieve the above-mentioned purpose, the present invention also provides the following technical solution: a multi-level early warning device for rotating machinery, the device comprising:
[0043] A data collection module (110) collects operating data of the rotating mechanical equipment during operation;
[0044] A data preprocessing module (120) performs data preprocessing on the collected data;
[0045] A data set construction module (130) processes the preprocessed data using a sliding window, constructs a data set and divides it into a training set and a test set;
[0046] A model building module (140) is used to build a Gaussian process regression model GP, a long short-term memory network model Bayes-LSTM based on Bayesian optimization, and an optimized auto-associative kernel regression model OAKR, and train each model using training set data;
[0047] A residual sequence generation module (150) uses the test set data to predict the trained model, and generates a residual sequence by subtracting the obtained predicted value from the true value;
[0048] The early warning module (160) determines the threshold index of each model, judges the generated residual sequence, and issues an early warning if it exceeds the threshold.
[0049] On the other hand, to achieve the above-mentioned purpose, the present invention also provides the following technical solution: an electronic device, the electronic device comprising: a processor (210); and a memory (220) for storing one or more programs;
[0050] When the one or more programs are executed by the processor (210), the processor is enabled to execute the multi-level early warning method for rotating machinery.
[0051] On the other hand, to achieve the above-mentioned purpose, the present invention also provides the following technical solution: a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor (210), the multi-level early warning method for rotating machinery is implemented.
[0052] The beneficial effects of the present invention are as follows: the present invention predicts the operating status of rotating mechanical equipment through multiple state monitoring models GP model, Bayes-LSTM model and OAKR model. On this basis, indicators such as 3σ, MSE index, multivariate Bayes factor index and multivariate permutation entropy are introduced, and the fault warning of the equipment is realized by calculating the appropriate threshold. The present invention combines multiple state monitoring models and multiple threshold indicators to formulate a set of multi-level warning strategies, which can effectively reduce model false alarms, improve the accuracy of alarms, provide the best maintenance measures for operation and maintenance personnel, and reduce unnecessary downtime losses. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a schematic diagram of the steps of the method of the present invention;
[0054] Figure 2 Schematic diagram of LSTM unit in the embodiment;
[0055] Figure 3 It is a flow chart of the multi-level early warning strategy in the embodiment;
[0056] Figure 4 is a schematic diagram of a device module according to an embodiment of the present invention;
[0057] Figure 5 It is a schematic diagram of the structure of the device according to an embodiment of the present invention;
[0058] In the figure, 110-data acquisition module; 120-data preprocessing module; 130-data set construction module; 140-model construction module; 150-residual sequence generation module; 160-early warning module; 210-processor; 220-memory. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] See also Figure 1-Figure 5 The present invention provides a technical solution: a multi-level early warning method for rotating machinery, such as Figure 1 As shown, the following steps are included:
[0061] S1. Collect operating data of rotating mechanical equipment during operation.
[0062] The operating data of the gas turbine equipment during operation is obtained through data acquisition devices such as sensors.
[0063] S2. Preprocess the collected data.
[0064] Perform data preprocessing on the collected data, including but not limited to data downsampling, data cleaning, data denoising, data dimensionality reduction, and data standardization.
[0065] Since the computational cost of the data model is relatively high, the data needs to be downsampled.
[0066] Data cleaning is to remove outliers and fill in missing values due to problems such as missing records.
[0067] Data denoising is to eliminate the uncertain noise existing in the original data.
[0068] Data dimensionality reduction is because industrial equipment such as rotating machinery is a multi-variable coupled system, and the original data contains many variables, so dimensionality reduction processing is required to reduce complexity.
[0069] Data standardization is to eliminate the dimensional effects of multidimensional variables.
[0070] S3. Use sliding windows to process the preprocessed data, construct a data set and divide it into training set and test set.
[0071] Time series forecasting means predicting future data with historical data. In order to make full use of the information of all data, a sliding window is used to process the data, and a data set is constructed and divided into a training set and a test set. The health data is used as the training set for subsequent model training.
[0072] S4. Build the Gaussian process regression model GP, the long short-term memory network model Bayes-LSTM based on Bayesian optimization, and the optimized autoassociation kernel regression model OAKR respectively, and use the training set data to train each model.
[0073] S5. Use the test set data to predict the trained model, and generate a residual sequence by subtracting the predicted value from the true value.
[0074] S6. Determine the threshold index of each model, judge the generated residual sequence, and issue a warning if it exceeds the threshold.
[0075] The Gaussian process regression model GP selects MSE, multivariate permutation entropy, and multivariate Bayes factor threshold indicators for fault warning;
[0076] The Bayes-LSTM long short-term memory network model based on Bayesian optimization selects MSE, multivariate permutation entropy and 3σ threshold indicators for fault warning;
[0077] Based on the optimized autoassociative kernel regression model OAKR, MSE, multivariate permutation entropy and 3σ threshold indicators are selected for fault warning.
[0078] Furthermore, the early warning adopts a multi-level early warning strategy, which specifically includes the following:
[0079] When an alarm indicator in one of the models generates an early warning, a level 1 yellow alarm is activated to remind the operation and maintenance personnel to pay attention to the unit;
[0080] When two or more warning indicators in one of the models give out warnings, a Level 2 orange warning is activated to remind the operation and maintenance personnel to pay close attention to the operating status of the unit;
[0081] When two or more models have a Level 2 orange warning, a Level 3 red warning will be activated to remind operation and maintenance personnel to shut down the units for maintenance to avoid major economic losses.
[0082] Gaussian Process Regression Model (GP):
[0083] The Gaussian process is closely related to the Gaussian distribution. The Gaussian process can be considered as a generalization of the Gaussian distribution. The difference between the two is that the Gaussian distribution is about variables, while the Gaussian process is a random process in an infinite-dimensional space.
[0084] For a univariate Gaussian process, also known as a normal distribution, it is a continuous probability distribution determined by the expectation μ and the standard deviation σ. Its probability density function is shown in Formula 1.
[0085]
[0086] The probability density function of the multivariate Gaussian distribution is:
[0087]
[0088] If the random variables of the multivariate Gaussian distribution are countless and are discrete time state quantities, that is, the random variables are functions that change over time, then the process is called a Gaussian process. The mean at each moment is characterized by a mean function, and the variance at two different moments is characterized by a covariance function. The Gaussian process expression is shown in Equation 3.
[0089]
[0090] In the formula, μ is the mean function, C is the covariance function, also called the kernel function, and the present invention uses the Gaussian kernel function.
[0091] Gaussian Process Regression (GPR) is a non-parametric model for regression analysis of data developed based on Gaussian process.
[0092] Derivation of the GPR model from the function space, considering the case without noise, given training data X = {X 1 ,X 2 ,…,X N},y={y 1 ,y 2 ,…,y N}, assuming the test set input is X * , the output is y * , then
[0093]
[0094] According to the properties of joint Gaussian distribution, we have:
[0095]
[0096] In formula (4)-(5), N refers to Gaussian distribution and K is kernel function. Given training data X, y and test set input X * In the case of , by calculating each item in formula (4), the Gaussian distribution corresponding to the test set output can be obtained, thereby achieving prediction.
[0097] Long short-term memory network model based on Bayesian optimization (Bayes-LSTM):
[0098] Long Short-Term Memory (LSTM) contains a forget gate, an input gate, and an output gate (the forget gate determines which relevant information in the previous step needs to be retained; the input gate determines which information in the current input is important and needs to be added; the output gate determines what the next hidden state should be). The schematic diagram of the LSTM unit is as follows Figure 2 shown.
[0099] Figure 2 In, x t Indicates the input at the current moment, h t-1 represents the hidden state at the previous moment, C t-1 represents the unit state at the previous moment, h t represents the hidden state at the current moment, C t Indicates the unit status at the current moment.
[0100] LSTM has two outputs, the hidden state h at the current moment t With the current cell state C t About C. t The cell state C at the previous moment t-1 and candidate value C t ′ is related. Among them, C t Calculation formula:
[0101] C t ′=tanh(W c [h t-1 , x t ]+b c ) (6)
[0102] Current cell status C t Forget gate t and input gate i t Influence:
[0103] f t =σ(W f [ht-1 , x t ]+b f ) (7)
[0104] i t =σ(W i [h t-1 , x t ]+b i ) (8)
[0105] Among them, the forget gate f t Used to control the cell state C at the previous moment in the memory t-1 Will it be forgotten? Enter the gate i t Determines to what extent the candidate value can be stored in the current cell state C t :
[0106] C t =f t *C t +i t *C′ t (9)
[0107] Based on the current cell state C t , the hidden state h at the current moment can be calculated t , the output gate controls how many hidden states can be output at the current moment:
[0108] h t =o t *tanh(C t ) (10)
[0109] O t =σ(W o [h t-1 , x t ]+b o ) (11)
[0110] Based on the current hidden state h t , the output at the current moment can be calculated:
[0111]
[0112] When performing Bayesian inference on deep learning model parameters, it is assumed that the weight prior value follows a Gaussian distribution with a mean of μ and a variance of δ, and the mean and variance of the weight are optimized through Bayesian inference. When using the model for prediction, the Monte Carlo method is used to sample from each Gaussian distribution to obtain the weight value. After multiple samplings, multiple prediction results are obtained, and the average value is used as the final prediction result.
[0113] Given training data, assuming the input is X = {x 1, ..., x N}, where the input can be the original data or the noise-reduced data after optimization, or the principal component after dimensionality reduction, and the output is Y = {y 1 , ..., y N}, any weight of the Bayesian neural network is w, the nonlinear mapping function f represents the Bayesian neural network, and the output is y = f w (x). According to the Bayesian principle, a prior distribution p(w) is set on each weight of the neural network, and the posterior distribution can be written as p(w|X, Y). The posterior distribution is difficult to obtain by analytical calculation, and sampling approximation is usually required. The present invention defines an approximate variational distribution q(w|θ) and parameter θ to make it as close as possible to the true posterior distribution learned from the given data. The similarity or distance between the two distributions is measured by the Kullback-Leibler (KL) divergence, that is:
[0114]
[0115] By minimizing the KL divergence of formula (13), the variational distribution q(w|θ) can approximate the posterior distribution p(w|X, Y), and the predicted distribution can be approximated as:
[0116] p(y * |x * , X, Y) = ∫p(y * |x * ,w)p(w|X,Y)dw
[0117] ≈∫p(y * |x * ,w)q * (w|θ)dw=:q * (y * |x * ,θ) (14)
[0118] where x * Represents the input data, y * Indicates the corresponding output.
[0119] In practical applications, in order to improve optimization convergence and ensure efficiency, the logarithm of the KL divergence of formula (13) is usually taken, and then its lower bound (Evidence Lower Bound, ELB) is maximized. The objective function is as follows:
[0120] O VI =∫q(w|θ)logp(Y|X,w)dw-KL(q(w|θ)||p(w)) (15)
[0121] Among them, VI The optimization objective for Bayesian network parameter estimation is defined.
[0122] Optimized Auto-Associative Kernel Regression (OAKR):
[0123] Auto-associative Kernel Regression (AAKR) is a non-parametric modeling technique based on the principle of similarity between two-column arrays. It uses the similarity between the monitoring vector and the memory vector to infer the response of the model. The model training is simple and does not depend on the equipment and fault type information. It is suitable for multi-variable equipment operation monitoring and fault alarm. The OAKR method is based on this and obtains the best model parameters through optimization, so that it can be better used for equipment status monitoring and fault warning.
[0124] Extract the multi-dimensional monitoring data of the equipment and store the sample memory vectors used to create the OAKR model in a matrix X, where X i,j Represents the i-th vector value of the j-th key variable. For n memory vectors, the memory matrix X of p variables can be expressed as:
[0125]
[0126] The monitoring vector is represented by a 1×p matrix V:
[0127] V=[v 1 , v 2 , ..., v p ] (17)
[0128] The prediction value of the model can be obtained by weighted averaging each memory vector of the memory matrix X, where the weighted average parameter is estimated using the unit health data. The OAKR method consists of four steps: First, calculate the monitoring vector v and each memory vector X i The distance between them is obtained as an n×1 distance vector d. The present invention adopts the most commonly used Euclidean distance calculation:
[0129]
[0130] In the second step, the weight w is calculated by the obtained distance matrix d and Gaussian kernel function. w is also an n×1 vector matrix, and each element is calculated by the following formula:
[0131]
[0132] Where h is the kernel function bandwidth, which determines the smoothness of the kernel function. A small bandwidth h can reflect more details but often leads to less smooth tails; on the contrary, a large bandwidth h often loses details and leads to overly smooth parts with drastic changes.
[0133] The third step is to optimize the bandwidth h using the simplex algorithm.
[0134] The fourth step is to use the obtained weight w to make the predicted value of the monitoring vector v By each memory vector X i The weighted average of is calculated as follows:
[0135]
[0136] 3σ threshold indicator:
[0137] The 3σ indicator is a test indicator based on normal distribution. It uses a model to predict data, generates residuals using predicted values and true values, and displays an alarm when the residual line exceeds a certain range. The judgment alarm point is set by using the statistical characteristics of the residual value. The residual value is a null value parameter. When the residual conforms to the normal distribution, it is a very low probability event when the residual value of the target value falls outside the interval [μ+3σ,μ-3σ], where μ represents the mean of the residual sequence data and σ represents the variance of the residual sequence data. Therefore, once it falls into this interval, it can be basically determined that the equipment is faulty.
[0138] MSE threshold indicator:
[0139] MSE is a more convenient method to measure the average error. MSE can measure the degree of change in data. The smaller the MSE value, the healthier the unit operation status. The present invention uses the MSE indicator based on the moving window strategy to analyze the residuals of each model output. It should be noted that N is the length of the moving window at this time. When the trained model is used for equipment operation monitoring and fault alarm, if the MSE exceeds a given threshold, it indicates that the health status of the equipment is abnormal and triggers an alarm. The MSE alarm threshold at the time of alarm is usually determined by the model testing phase. In the model testing phase, the test data is the healthy operation data of the unit. The calculated MSE value represents the healthy operation status of the unit. The alarm threshold setting should not be too small to avoid false alarms. The value calculated in the model testing phase Set as fault alarm threshold.
[0140] The mean square error (MSE) is used to detect the residual between the model prediction value and the true value. The average mean square error calculation formula of N test samples is as follows:
[0141]
[0142] Where N is the total number of test samples, p is the total number of model variables, is the true value of the jth variable of the ith sample, is the predicted value of the jth variable of the model corresponding to the i-th sample.
[0143] Multivariate Bayes Factor Indicator:
[0144] The multivariate Bayes factor is a decision-making method based on Bayesian risk, which is used to evaluate the effectiveness of multivariate prediction models under uncertain conditions. Based on Bayesian reasoning and the Gaussian distribution assumption of the residuals of model prediction data and measurement data, this method derives a generalized likelihood ratio, namely the multivariate Bayes factor, as a quantitative verification indicator, and finally compares it with a pre-set threshold to analyze and verify the multivariate residual data.
[0145] Similarly, suppose that the time series sample v of the actual monitoring data and the model prediction data at time t t =[v t-l+1 , ..., v t ]and Each contains l time series data points, let Δ=[ε 1 , ε 2 , ..., ε p ] T Represents the residual sequence corresponding to the two sets of data. In the multivariate Bayesian method, the residual sequence Δ is a p×l matrix, which is the residual data of p variables, each variable contains l observations, where ε i =[ε i1 , ε i2 , ..., ε il ](i=1,2,...,p) is the i-th variable ε i Assume that the multivariate residual data Δ follows a multivariate normal distribution N p (μ, ∑), where the vector μ = E[ε] represents the corresponding p means, and the matrix ∑ = E[(ε-μ)(ε-μ)′] represents the covariance matrix of p variables. Considering the correlation between multiple variables, the covariance ∑ is affected by the uncertainty of the data. Therefore, the likelihood function L(Δ) of multiple observed variables is expressed as:
[0146]
[0147] The observed mean set when the system is in healthy operation should be a zero matrix where is the i-th variable ε i The mean of 1 data point. Assume H 0 :μ=E 0 H stands for health status. 1 :μ≠E 0 ,μ|H 1 ~N(ρ, Λ) represents the fault condition, where E 0 =[0, 0, ..., 0] TThe matrix ∑ = E[(ε-μ)(ε-μ)′] represents the covariance matrix of p variables. Considering the correlation between multiple variables, the covariance ∑ is affected by the uncertainty of the data. The expression of the multivariate Bayes factor is similar to the univariate case described above, and a similar method is used to derive it:
[0148]
[0149] Assuming that the probability of system health and failure is 0.5, the Bayesian confidence λ can be expressed as:
[0150]
[0151] When the Bayesian factor η→0 and the confidence λ→0%, it indicates that the system is tending to a faulty state; when the Bayesian factor η→∞ and the confidence λ→100%, it indicates that the system is tending to a healthy state. Therefore, the Bayesian confidence fault warning threshold is set to 70%. If it is lower than 70%, it means that the system has a fault.
[0152] Multivariate permutation entropy indicator:
[0153] The concept of entropy as an indicator of the complexity of nonlinear signals has reached a broad consensus. Entropy refers to a measure of the complexity of the state of certain material systems, the degree to which certain material system states may occur. The essence of entropy is the inherent degree of chaos in a system. The larger the entropy value, the more complex and random the system state is, and the smaller the entropy value, the simpler and more regular the system state is. In the process of state monitoring of industrial equipment such as rotating machinery, if the entropy value of the system changes continuously and significantly, it means that the operating state of the equipment has changed fundamentally, and there may be potential faults in the unit.
[0154] The entropy used in the present invention is multivariate multiscale permutation entropy (MMSPE), and the permutation entropy algorithm (PE) is first introduced. The PE algorithm is a signal mutation detection method proposed for the spatial characteristics of the time series itself. The main advantages of this method are: 1) simple calculation and strong noise resistance; 2) the algorithm is highly sensitive to time and can obtain a higher resolution; 3) the output result of the algorithm is intuitive and has good identifiability for mutation information.
[0155] Suppose a time series x = [x 1 , x 2 , ..., x l ], reconstruct its phase space and get the matrix:
[0156]
[0157] Where: m and τ are the embedding dimension and delay time respectively; K = l-(m-1)τ is the length of the reconstructed time series. Each row in the matrix is a reconstructed component, and there are K reconstructed components in total. Rearrange the j-th reconstructed component [x(j), x(j+τ), …, x(j+(m-1)τ)] in the x reconstruction matrix in ascending order according to the numerical value, j 1 , j 2 , ..., j m Represents the index of the column where each element in the reconstructed component is located, that is,
[0158] x[i+(j 1 -1)τ]≤x[i+(j 2 -1)τ]≤…≤x[i+(j m -1)τ] (26)
[0159] For any time series x, each row in the reconstructed matrix can be obtained as a set of symbol sequences
[0160] S(r)=(j 1 , j 2 , …, j m ), r=1, 2,...k, k≤m! (27)
[0161] It is worth noting that the m-dimensional space maps different symbol sequences (j 1 , j 2 , ..., j m ) There are m! kinds of permutations, and the symbol sequence S(r) is one of them. If we calculate the probability P of each symbol sequence appearing 1 , P 2 , ..., P k , the permutation entropy of k different sequence numbers of time series x can be defined as
[0162]
[0163] when When H P (m) reaches the maximum value log 2 (m!). For convenience, log is usually used. 2 (m!) H P (m) is normalized, that is,
[0164]
[0165] On the basis of PE, MMSPE considers the impact of multiple variables and multiple scales on the results. Similarly, assuming that the time series sample v of the actual monitoring data and the prediction data of each model at time t t =[v t-l+1, ..., v t ]and Each contains l time series data points, let Δ=[ε 1 , ε 2 , ..., ε p ] T Represents the residual sequence corresponding to the two sets of data. Δ is a p×l matrix containing p variables, each of which contains l observations. The implementation of the MMSPE algorithm is divided into the following steps:
[0166] The first step is to coarse-grain the original multivariate time series Δ and define the scale factor s. Each element in It can be deduced as:
[0167]
[0168] The second step is to calculate the multivariate multiscale permutation entropy of the coarse-grained multidimensional time series. For each variable i∈[1, p] and arrangement r∈[1, m! ], count the number of times q the symbol sequence S(r) appears after each variable is reconstructed in phase space, and the relative frequency P i,r It can be expressed as:
[0169]
[0170] Through this process, the original multivariate time series is transformed into a time correlation matrix, from which the relevant statistics and entropy can be calculated. The marginal relative frequencies of the sequence distribution can be expressed as
[0171]
[0172] The calculation formula of multivariate multi-scale permutation entropy is:
[0173]
[0174] In the formula, p r represents the marginal relative frequency of the original multivariate time series, m represents the embedding dimension of the time series phase space reconstruction, and l represents the number of time series points.
[0175] Usually, the calculation results of entropy values fluctuate greatly. In order to better extract information that is more conducive to analysis from the results, the present invention introduces the Cumulative Sum (CUSUM) algorithm into the analysis of the results. CUSUM is a sequential analysis method. Its design concept is to accumulate sample data information and accumulate small deviations of the process to achieve an amplification effect, thereby improving the sensitivity to small deviations in the detection process. CUSUM mainly studies the signal mean and variance information to determine whether the system has changed. The main idea is: when the CUSUM of the monitored quantity is significantly higher or lower than the average level under normal stable operating conditions, it means that the system has changed. For any time series of multivariate permutation entropy The calculation formula for CUSUM is as follows:
[0176]
[0177] In the formula, S upper (t) represents the upper limit cumulative sum, S lower (t) is expressed as the lower limit cumulative sum. μ H and σ H are the mean and variance of the entropy value of the unit at the healthy moment, respectively, and α is a parameter for detecting mean shift. In the present invention, when the unit is in an abnormal state, it usually causes the entropy value to decrease, so only the lower limit accumulation and S need to be considered. lower (t)
[0178] The CUSUM alarm threshold is determined by the 3σ criterion. lowe r(t)≤0 is always true, so there is no need to set the upper limit of the alarm warning. lower (t)≤μ S -3σ S When , the system is considered to have failed, where μ S and σ S are the lower limit accumulation and S of the unit's healthy operation period respectively. lower The mean and variance of (t).
[0179] Taking actual gas turbine operation data as an example to verify the method proposed in the present invention, the method includes the following steps:
[0180] The data comes from a heavy-duty gas turbine unit and is divided into 10 groups of data, including 6 groups of healthy data and 4 groups of fault data. First, the data is preprocessed, including data downsampling, data vacancy filling, data denoising, data dimension reduction and data standardization, so as to obtain high-quality data for the subsequent construction of the condition monitoring model;
[0181] The 10 groups of data were divided into training set and test set with a ratio of 5:5. The data of the training set were used to establish the GP model, Bayes-LSTM model and OAKR model;
[0182] Through the prediction results of the model, the residual sequence of the predicted value and the actual value is obtained;
[0183] For the generated residual sequence, 3σ, MSE, multivariate permutation entropy and multivariate Bayes factor indicators are used to determine the fault warning threshold;
[0184] Use the test set data to perform fault warning tests and go through a multi-level warning strategy process, such as Figure 3 As shown, multi-level warning is carried out.
[0185] Warning results:
[0186] The alarm results of 10 groups of data after multi-level early warning strategy are statistically analyzed, and the fault data are shown in Table 1:
[0187] Table 1 Statistics of multi-level early warning strategy results for fault data
[0188]
[0189] All fault data have been alarmed, and the health data alarm results are shown in Table 2:
[0190] Table 2 Statistics of health data multi-level early warning strategy results
[0191]
[0192]
[0193] Only data 2 had a false alarm, and the rest of the health data did not finally alarm. Comprehensively analyzing the alarm results of 10 groups of data, the accuracy rate was 90%, the missed alarm rate was 0, and the false alarm rate was 10%. Through the data results, it was found that the multi-level early warning strategy can effectively monitor the operating status of the gas turbine and can provide early fault warning. Compared with the early warning results of a single model and a single threshold indicator, the multi-level alarm strategy proposed in the present invention effectively reduces the false alarm and missed alarm rate of the unit, and reduces unnecessary downtime and labor consumption.
[0194] Based on the same inventive concept as the above method embodiment, the present application embodiment also provides a multi-level warning device for rotating machinery, which can implement the functions provided by the above method embodiment, such as Figure 4 As shown, the device comprises:
[0195] The data acquisition module 110 collects the operation data of the rotating mechanical equipment during operation;
[0196] The data preprocessing module 120 performs data preprocessing on the collected data;
[0197] The data set construction module 130 processes the preprocessed data using a sliding window, constructs a data set and divides it into a training set and a test set;
[0198] Model building module 140, respectively building a Gaussian process regression model GP, a long short-term memory network model Bayes-LSTM based on Bayesian optimization, and an optimized auto-associative kernel regression model OAKR, and training each model using training set data;
[0199] The residual sequence generation module 150 uses the test set data to predict the trained model, and generates a residual sequence by subtracting the obtained predicted value from the true value;
[0200] The early warning module 160 determines the threshold index of each model, judges the generated residual sequence, and issues an early warning if it exceeds the threshold.
[0201] Based on the same inventive concept as the above method embodiment, the present application embodiment also provides a device, such as Figure 5 As shown, the device includes: a processor 210; and a memory 220, for storing one or more programs;
[0202] When the one or more programs are executed by the processor 210, the processor is enabled to execute the multi-level early warning method for rotating machinery.
[0203] The multi-level early warning method for rotating machinery comprises the following steps:
[0204] Collect operating data of rotating machinery during operation;
[0205] Perform data preprocessing on the collected data;
[0206] Use sliding windows to process the preprocessed data, construct a data set and divide it into a training set and a test set;
[0207] Build the Gaussian process regression model GP, the long short-term memory network model Bayes-LSTM based on Bayesian optimization, and the optimized auto-associative kernel regression model OAKR respectively, and use the training set data to train each model;
[0208] Use the test set data to predict the trained model, and generate a residual sequence by subtracting the predicted value from the true value;
[0209] Determine the threshold indicators of each model, judge the generated residual sequence, and issue a warning if it exceeds the threshold.
[0210] Based on the same inventive concept as the above method embodiment, the embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by the processor 210, the multi-level warning method for rotating machinery is implemented.
[0211] The multi-level early warning method for rotating machinery comprises the following steps:
[0212] Collect operating data of rotating machinery during operation;
[0213] Perform data preprocessing on the collected data;
[0214] Use sliding windows to process the preprocessed data, construct a data set and divide it into a training set and a test set;
[0215] Build the Gaussian process regression model GP, the long short-term memory network model Bayes-LSTM based on Bayesian optimization, and the optimized auto-associative kernel regression model OAKR respectively, and use the training set data to train each model;
[0216] Use the test set data to predict the trained model, and generate a residual sequence by subtracting the predicted value from the true value;
[0217] Determine the threshold indicators of each model, judge the generated residual sequence, and issue a warning if it exceeds the threshold.
[0218] The present invention predicts the operating status of rotating mechanical equipment through multiple state monitoring models GP model, Bayes-LSTM model and OAKR model. On this basis, the indicators such as 3σ, MSE index, multivariate Bayes factor index and multivariate permutation entropy are introduced, and the fault warning of the equipment is realized by calculating the appropriate threshold. The present invention combines multiple state monitoring models and multiple threshold indicators to formulate a set of multi-level warning strategies. It is verified by actual data that it can effectively reduce model false alarms, improve the accuracy of alarms, provide the best maintenance measures for operation and maintenance personnel, and reduce unnecessary downtime losses.
[0219] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A multi-level early warning method for rotating machinery, characterized in that: The steps include: S1. Collecting the operation data of rotating machinery during operation; S2, preprocessing the collected data; S3, use sliding window to process the preprocessed data, construct the data set and divide it into training set and test set; S4. Build the Gaussian process regression model GP, the long short-term memory network model Bayes-LSTM based on Bayesian optimization, and the optimized auto-associative kernel regression model OAKR respectively, and use the training set data to train each model; S5. Use the test set data to predict the trained model, and generate a residual sequence by subtracting the predicted value from the true value; S6. Determine the threshold index of each model, judge the generated residual sequence, and issue a warning if it exceeds the threshold; The threshold indicators for each model are determined as follows: The Gaussian process regression model GP selects MSE, multivariate permutation entropy, and multivariate Bayes factor threshold indicators for fault warning; The Bayes-LSTM long short-term memory network model based on Bayesian optimization selects MSE, multivariate permutation entropy and 3σ threshold indicators for fault warning; Based on the optimized autoassociative kernel regression model OAKR, MSE, multivariate permutation entropy and 3σ threshold indicators are selected for fault warning; In the 3σ threshold indicator, if the residual value of the residual sequence is within the interval [μ+3σ,μ-3σ], it is judged as a fault; In the MSE threshold indicator, the mean square error (MSE) is used to detect the residual between the model prediction value and the true value. The average mean square error calculation formula of N test samples is as follows: Where N is the total number of test samples, p is the total number of model variables, is the true value of the jth variable of the ith sample, is the predicted value of the jth variable of the model corresponding to the i-th sample; Will Set as the fault alarm threshold. If it exceeds the alarm threshold, it is considered a fault. In the multivariate Bayes factor threshold indicator, the expression of the multivariate Bayes factor is as follows: Assuming that the probabilities of health and failure are both 0.5, the Bayesian confidence λ is expressed as: In the formula, Δ represents the residual sequence, ∑ represents the covariance matrix; When the Bayes factor η→0 and the confidence λ→0%, it indicates a tendency towards a fault state; When the Bayes factor η→∞, the confidence λ→100%, it indicates a healthy state; The Bayesian confidence fault warning threshold is set to 70%, and a fault is considered if it is lower than 70%; In the multivariate permutation entropy indicator, the calculation formula of multivariate permutation entropy is: The calculation results of entropy value fluctuate greatly. In order to better extract information that is more conducive to analysis from the results, the cumulative sum CUSUM algorithm is introduced into the analysis of the results. For any time series of multivariate permutation entropy The calculation formula for CUSUM is as follows: In the formula, S upper (t) represents the upper limit cumulative sum, S lower (t) is expressed as the lower limit cumulative sum, μ H and σ H are the mean and variance of the entropy value of the unit at the healthy moment, and α is the parameter for detecting mean shift; When the unit is abnormal or in a fault state, it usually causes the entropy value to decrease. Therefore, there is no need to set an upper limit for the alarm warning. Only the lower limit accumulation and S lower (t) is enough; when S lower (t)≤μ S -3σ S When , it is judged as a fault, μ S and σ S are the lower limit accumulation and S of the unit's healthy operation period respectively. lower The mean and variance of (t); In step S6, the early warning is to use a multi-level early warning strategy to warn, and the multi-level early warning strategy specifically includes the following: When an alarm indicator in one of the models generates an early warning, a level 1 yellow alarm is activated to remind the operation and maintenance personnel to pay attention to the unit; When two or more warning indicators in one of the models give out warnings, a Level 2 orange warning is activated to remind the operation and maintenance personnel to pay close attention to the operating status of the unit; When two or more models have a level 2 orange warning, a level 3 red warning will be activated to remind operation and maintenance personnel to shut down the unit for maintenance.
2. The multi-level early warning method for rotating machinery according to claim 1, characterized in that: In step S2, the data preprocessing includes data downsampling, data cleaning, data denoising, data dimensionality reduction and data standardization.
3. A multi-level warning device for a rotating machinery multi-level warning method according to any one of claims 1-2, characterized in that: The device comprises: A data collection module (110) collects operating data of the rotating mechanical equipment during operation; A data preprocessing module (120) performs data preprocessing on the collected data; A data set construction module (130) processes the preprocessed data using a sliding window, constructs a data set and divides it into a training set and a test set; A model building module (140) is used to build a Gaussian process regression model GP, a long short-term memory network model Bayes-LSTM based on Bayesian optimization, and an optimized auto-associative kernel regression model OAKR, and train each model using training set data; A residual sequence generation module (150) uses the test set data to predict the trained model, and generates a residual sequence by subtracting the obtained predicted value from the true value; The early warning module (160) determines the threshold index of each model, judges the generated residual sequence, and issues an early warning if it exceeds the threshold.
4. An electronic device, characterized in that: The electronic device comprises: a processor (210); and a memory (220) for storing one or more programs; When the one or more programs are executed by the processor (210), the processor is enabled to execute the multi-level early warning method for rotating machinery as described in any one of claims 1 to 2.
5. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by the processor (210), the multi-level early warning method for rotating machinery as described in any one of claims 1 to 2 is implemented.
