Rotary machine fault diagnosis method for improving H5N1-VMD-MFWA noise reduction
By optimizing parameters and employing a multi-feature weighted attention mechanism through the improved H5N1-VMD-MFWA method, the problem of difficulty in identifying weak fault features in rotating machinery under strong noise environments is solved, achieving more accurate fault diagnosis and improving signal integrity and the reliability of diagnostic results.
Patent Information
- Application Number
- CN202511820270.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-04
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2045-12-04
AI Technical Summary
In high-noise environments, early and subtle fault characteristics of rotating machinery are easily masked and difficult to identify accurately. Existing technologies are highly subjective in parameter setting, which can easily lead to under-decomposition, mode aliasing, or over-decomposition. Furthermore, when screening IMF components, useful signals may be mistakenly rejected, resulting in excessive noise reduction and loss of effective information.
An improved H5N1-VMD-MFWA method is adopted, which optimizes the variational mode decomposition parameters by using the minimum envelope entropy as the fitness function, determines the weight of each component by combining a multi-feature weighted attention mechanism, and uses a convolutional neural network for fault diagnosis to reconstruct the vibration signal.
It effectively extracts weak fault features, improves the accuracy and reliability of early fault diagnosis of rotating machinery, reduces noise interference, and enhances the salience of fault features and the reliability of diagnostic results.
Smart Images

Figure CN121256335A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of rotating machinery fault diagnosis technology, and more specifically, to a rotating machinery fault diagnosis method with improved H5N1-VMD-MFWA noise reduction. Background Technology
[0002] When rotating machinery malfunctions, it can disrupt normal production processes and reduce product quality, or even cause huge economic losses and serious safety accidents resulting in casualties. Furthermore, because such equipment typically operates in harsh environments, fault signals are easily masked by strong background noise, making effective identification difficult. Therefore, achieving timely and accurate diagnosis of early-stage faults in rotating machinery under strong noise interference is of great practical significance.
[0003] Numerous scholars have conducted extensive research on signal denoising. Among them, Variational Mode Decomposition (VMD) has been widely applied in the field of mechanical fault diagnosis due to its ability to effectively suppress mode aliasing and avoid end-point effects. However, the VMD method requires the manual setting of multiple parameters during application, which introduces a degree of subjectivity, particularly regarding the number of decomposition layers. K and penalty factor α Especially crucial. The values of these two parameters directly affect the decomposition effect of VMD: if K Setting the value too small will result in "under-decomposition"; if α If the value is too small, modal aliasing may still occur; conversely, if... K Setting the value too large will cause "over-decomposition"; while α If the value is too large, it is easy to generate false components.
[0004] Currently, fault diagnosis methods based on intelligent optimization algorithms to optimize VMD parameters and combined with Intrinsic Mode Function (IMF) component screening criteria have been widely adopted to suppress noise interference. However, such methods still have certain limitations: when screening IMF components, useful signals containing fault characteristics are easily mistakenly rejected, leading to the problem of "over-denoising," thus losing some effective information; and how to better preserve the integrity of the signal while denoising is also a challenge. Therefore, constructing an IMF reconstruction strategy that can fully preserve useful information remains an urgent problem to be solved. Summary of the Invention
[0005] The purpose of this invention is to address the problem that early, subtle fault characteristics of rotating machinery are easily masked and difficult to accurately identify under high-noise environments. This invention proposes a noise reduction fault diagnosis method based on an improved H5N1-VMD-MFWA. This method can effectively extract subtle fault characteristics, providing a reliable basis for early fault diagnosis of rotating machinery under high-noise environments, and offering technical support for ensuring the safe operation of equipment and the safety of people's lives and property.
[0006] The technical solution for achieving the present invention is: an improved method for diagnosing rotating machinery noise reduction using H5N1-VMD-MFWA, comprising the following steps: Step S1: Acquire vibration signals of rotating machinery under normal conditions and with different types of faults; Step S2: Using the minimum envelope entropy of the vibration signal as the fitness function, the improved H5N1 optimization algorithm is used to optimize the key parameters of variational mode decomposition. K , α We perform an optimization search to obtain the optimal parameter combination.
[0007] Step S3: Based on the optimal parameter combination [ K , α The vibration signal is subjected to variational mode decomposition to obtain K eigenmode function components; Step S4: Calculate the correlation coefficient, kurtosis, and envelope entropy of each intrinsic mode function component and the original signal. Use the multi-feature weighted attention (MFWA) mechanism to determine the weight of each component, normalize and weightedly fuse the scoring index, and reconstruct the vibration signal. Step S5: Perform window segmentation on the reconstructed vibration signal and perform fault diagnosis on the reconstructed signal based on the convolutional neural network model.
[0008] Furthermore, in step S2, the method for calculating the envelope entropy is as follows: E p =-∑ M z=1 ε ( z ) lgε ( z ) ε ( z )= a ( z ) / ∑ M z=1 a ( z ) in, a ( zThe envelope of the signal is obtained by performing a Hilbert transform on the vibration signal of rotating machinery. ε ( z )yes a ( z The normalized envelope sequence, satisfying: ∑ M z=1 ε ( z )=1, ε ( z )≥0, M The number of sampling points. E p Let be the envelope entropy.
[0009] Furthermore, in step S2, the improved avian influenza virus optimization algorithm comprises the following steps: The improved avian influenza virus optimization algorithm is in D In a dimensional search space, through a containing N The search was optimized by analyzing the population of individual virus individuals; among them, D A positive integer, representing the dimension of the optimization problem; N The integer is greater than zero, representing the size of the virus population; the position of each individual virus represents a candidate solution to the problem. Step S21: "Initialization" phase, setting the virus population size. N With maximum number of iterations T A uniform random initialization method is adopted: X j i = LB +( UB - LB )⊙ R j i Initialize the virus population and calculate the fitness value of each virus to determine the current best individual location and fitness value; Where ⊙ represents element-wise multiplication, and the superscript... i Represents an index of individual viruses. i = 1, 2, …, N subscript j Represents the dimension of the search question space. D index, j = 1, 2, …, D , X represent N OK D A matrix of columns, where X j i Representing the i The virus individual in the first j Positional components in each dimension UB and LB These are the upper and lower bounds of the search space.R This represents elements whose values are in the range [0~1]. N OK D A random number matrix of columns, where R j i It is the first in the matrix i Line number j The numerical components of the column; Step S22: In the "population position matrix" construction stage, based on the position update strategy of multiple random permutations, three randomly rearranged population position matrices are constructed. PMP 1, PMP 2 and PMP 3; Step S23: The "selection" phase, the virus will select based on the attack probability. P attack Select an attack target, if P attack If the value is less than 0.8, the virus attacks poultry; otherwise, the virus attacks humans. Step S24: "Judgment" phase, the virus adapts according to its probability. P adapt Determining whether the host is alive or whether the environment is conducive to viral survival: P adapt When the value is ≥0.85, it indicates that the host has died or the environment is unfavorable, and the virus will escape the current environment and enter the "escape" stage. P adapt When the value is less than 0.85, it indicates that the host is alive or the environment is suitable. The virus location will be fine-tuned to adapt to the host. The location update method is as follows: when P attack <0.8 and P adapt When <0.85: X j i = PMP 3 j i + R j i ⊙( X g,j - X p,j i ) when P attack ≥0.8 and P adapt When <0.85: X j i =X j i +0.5* R j i ⊙( PMP 1 j i - PMP 2 j i )+0.5* R j i ⊙( X g,j - X j i ) in, PMP 1 j i , PMP 2 j i and PMP 3 j i Represent PMP 1, PMP 2 and PMP 3 in the i Line number j The numerical components of the column; Step S25: The "escape" phase, the virus will adjust its escape probability accordingly. P escape Choose one of two strategies: If P escape < P The virus then executes a mutation strategy; if P escape ≥ P Then the diffusion strategy is executed, where P The parameters for determining "escape" are generated as follows: when d ≥0.4, P =0.7 When 0.4> d >0.15, P =0.5 When 0.15≥ d , P =0.3 in, d To integrate diversity, d =0.7× sr +0.3× fr ; in, sr This refers to the relative dispersion of spatial diversity. frThe relative differences in solution quality among populations are calculated as follows: sr =mean(std( X p,j )) / max( UB - LB ) fr =std( F p ) / (abs(mean( F p ))) Among them, mean() calculates the mean; std() calculates the standard deviation; and abs() calculates the absolute value. X p,j It is the first j The individual's historical optimal position; F p It is the individual's historical best fitness value; During the "escape" phase, the virus location update formula is as follows: when P attack <0.8 and P adapt ≥0.85 and P escape < P , X new,j i = X j i + R j i ⊙( X g,j - X j i ) when P attack ≥0.8 and P adapt ≥0.85 and P escape < P , X new,j i = X j i + R j i ⊙( X g,j - X p,j i ) X mutate,j i =0.5* c *( X new,j i + X g,j )* r * ω when P escape ≥ P , X spread,j i = X g,j + R j i ⊙( X new,j i - X g,j ) If a mutation strategy is executed, then let X j i =X mutate,j i ; If the diffusion strategy is executed, then let X j i =X spread,j i ; in, X g,j It is the first j The globally optimal individual position in dimension. X new,j i Individual virus i In the j The escape midpoint in dimensional space; X mutate,j i Individual virus i In the j New positions generated by dimensional mutations; X spread,j i Individual virus i In the j The new position generated by propagation in dimensions F g It is the globally optimal fitness value. P attack , Padapt , P escape and r It is a random number in the range (0,1). c It is the exponential decay coefficient: c = r × e -4×t / T ω It is a weighting factor: ω = ω × ω d ω d = ω min +( ω max - ω min )× e -(t / T) in, t Indicates the current iteration number. ω d The damping coefficient representing the weight. ω max and ω min These represent the maximum and minimum values of the weights, respectively. ω The initial value is 1; Step S26: After each iteration, calculate the fitness value of all new virus positions and compare the new fitness value with the individual's historical best value. If the new fitness value is better, update the individual's historical best position and historical best fitness value. At the same time, the global optimal solution is updated based on a probabilistic mechanism, that is, only when... ps Less than the global update probability G The global optimal position and global optimal fitness value will only be updated if there is an individual fitness value that is better than the global optimal fitness value; among which, ps Given a random number in the range (0,1), the global update probability is... G The initial value is 0, and the update process is as follows: G =(1 / 1+e -10(t / T-0.5) )+ r* (1- G ) Among them, when the number of iterations t achieve T When the iteration count reaches zero, the algorithm terminates the iteration and outputs the global optimal position and its fitness value as the optimal solution; if the iteration count is zero... tFailed to achieve T If so, return to step S22 and repeat steps S22 to S26.
[0010] Furthermore, in step S4, the steps of determining the weight of each component using a multi-feature weighted attention mechanism, normalizing and weighted fusing the scoring index, and reconstructing the vibration signal are as follows: Step S41: Based on the decomposition K The positive ideal reference benchmark for each index is determined by the maximum correlation coefficient, maximum kurtosis, and minimum envelope entropy of each intrinsic mode function component. K The minimum correlation coefficient, minimum kurtosis, and maximum envelope entropy of each IMF component determine the negative ideal reference benchmark for each indicator. Step S42: Standardize the evaluation indicators by using a normalization method to map each indicator to the [0,1] interval, thus eliminating the influence of dimensionality. Normalized value = (current value - negative ideal benchmark) / (positive ideal benchmark - negative ideal benchmark) Step S43: Set three weights: correlation coefficient weight, kurtosis weight, and envelope entropy weight, and calculate the final score of each intrinsic mode function component based on the weighted comprehensive scoring method; wherein, correlation coefficient weight + kurtosis weight + envelope entropy weight = 1; Step S44: Convert the overall score into attention weights using the softmax function to achieve a probability distribution transformation of the score; Step S45: Weight all intrinsic mode function components based on attention weights to form a new signal.
[0011] Furthermore, in step S22, the construction of three randomly rearranged population position matrices... PMP 1, PMP 2 and PMP 3. Its generation process is as follows: Step S221: Generate the basic index vector r o =[0,1,2,..., N -1], and generate a random permutation vector. σ = [ σ 1 , σ 2 , σ 3], used to control the cyclic offset of subsequent indices, where σ 1 , σ 2 , σ 3 is a random permutation of the numbers 1, 2, and 3; Step S222: Generate initial random index vector a 1, a 1=[ j 1,j 2,..., j N ],in, j 1, j 2,..., j N It is the interval [1, N A random permutation of positive integers; Step S223: Utilize the first element of σ σ 1 pair of basic index vectors r o Perform a cyclic offset to obtain the intermediate index vector. r t1 The cyclic offset is achieved by: r o Each index value in the database is related to... σ 1 after addition N Use the remainder to ensure the result index is between 0 and 1. N Cycle within the range of -1; Step S224: Based on r t1 right a 1. Perform index remapping, that is, use the index vector [ r t1 +1] From vector a Extract the element at the corresponding position from step 1 to obtain the second random index vector. a 2; Step S225: Use σ The second element σ 2. Again r o Perform a cyclic offset to obtain the intermediate index vector. r t2 and based on r t2 right a 2. Perform index remapping to obtain a third random index vector. a 3; Step S226: Finally, calculate the optimal historical position matrix of the virus. X p Row index extraction is performed to construct three random permutation matrices: PMP 1= X p ( a 1,:) PMP 2= X p ( a 2,:) PMP 3= Xp ( a 3,:) The beneficial effects of this invention are as follows: Based on traditional signal decomposition-based denoising and fault diagnosis methods, improvements have been made to significantly reduce the interference of strong noise environments on the fault diagnosis process. An adaptive synthesis diversity and local exploitation "escape" stage has been added to the H5N1 algorithm, improving the H5N1 optimization algorithm and enabling it to effectively avoid local optima in complex multi-mode optimization problems, maintain population diversity, and achieve high-quality global convergence. The vibration signal is reconstructed considering the correlation coefficient, kurtosis, and envelope entropy of the IMF components. A multi-feature weighted attention mechanism is introduced, and normalization is performed based on the positive and negative ideal solutions of each IMF component to construct a comprehensive scoring index, thereby achieving adaptive weighting of each IMF component. Combined with multi-dimensional evaluation indicators, the fault characteristic representation ability of each component is more comprehensively assessed, effectively enhancing the significance of mechanical fault characteristics and improving the reliability of diagnostic results. Attached Figure Description
[0012] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained from these drawings without creative effort.
[0013] Figure 1 This is a flowchart of rotating machinery fault diagnosis provided by the present invention; Figure 2 This is the flowchart of the improved H5N1 optimization algorithm; Figure 3 These are convergence curves of the parameter optimization process for the original H5N1 optimization algorithm and the improved H5N1 optimization algorithm; Figure 4 This is a confusion matrix diagram of the fault diagnosis results of H5N1-VMD+CNN; Figure 5 It is a confusion matrix diagram of the fault diagnosis results of the improved H5N1-VMD+CNN; Figure 6 It is an improved H5N1-VMD-MFWA+CNN fault diagnosis result confusion matrix diagram. Detailed Implementation
[0014] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the implementation examples and accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0015] like Figure 1 An improved method for fault diagnosis of rotating machinery using H5N1-VMD-MFWA noise reduction includes the following steps: Step S1: Acquire vibration signals of rotating machinery under normal conditions and with different types of faults; Step S2: Using the minimum envelope entropy of the vibration signal as the fitness function, the improved H5N1 optimization algorithm is used to optimize the key parameters of variational mode decomposition. K , α We perform an optimization search to obtain the optimal parameter combination.
[0016] Step S3: Based on the optimal parameter combination [ K , α Variational mode decomposition was performed on the vibration signal to obtain... K One eigenmode function component; Step S4: Calculate the correlation coefficient, kurtosis, and envelope entropy of each intrinsic mode function component with the original signal. Use a multi-feature weighted attention mechanism to determine the weight of each component. Normalize and weightedly fuse the scoring index to reconstruct the vibration signal. Step S5: Perform window segmentation on the reconstructed vibration signal and perform fault diagnosis on the reconstructed signal based on the convolutional neural network model.
[0017] Furthermore, in step S2, the method for calculating the envelope entropy is as follows: E p =-∑ M z=1 ε ( z ) lgε ( z ) ε ( z )= a (z ) / ∑ M z=1 a ( z ) in, a ( z The envelope of the signal is obtained by performing a Hilbert transform on the vibration signal of rotating machinery. ε ( z )yes a ( z The normalized envelope sequence, satisfying: ∑ M z=1 ε ( z )=1, ε ( z )≥0, M The number of sampling points. E p Let be the envelope entropy.
[0018] Furthermore, in step S2, the improved avian influenza virus optimization algorithm comprises the following steps: The improved avian influenza virus optimization algorithm is in D In a dimensional search space, through a containing N The search was optimized by analyzing the population of individual virus individuals; among them, D A positive integer, representing the dimension of the optimization problem; N The integer is greater than zero, representing the size of the virus population; the position of each individual virus represents a candidate solution to the problem. Step S21: "Initialization" phase, setting the virus population size. N With maximum number of iterations T A uniform random initialization method is adopted: X j i = LB +( UB - LB )⊙ R j i Initialize the virus population and calculate the fitness value of each virus to determine the current best individual location and fitness value; Where ⊙ represents element-wise multiplication, and the superscript... i Represents an index of individual viruses. i = 1, 2, …, N subscript j Represents the dimension of the search question space. D index, , X represent N OK D A matrix of columns, where Xj i Representing the i The virus individual in the first j Positional components in each dimension and These are the upper and lower bounds of the search space. R This represents elements whose values are in the range [0~1]. N OK D A random number matrix of columns, where R j i It is the first in the matrix i Line number j The numerical components of the column; Step S22: In the "population position matrix" construction stage, based on the position update strategy of multiple random permutations, three randomly rearranged population position matrices are constructed. 1, 2 and 3; Step S23: The "selection" phase, the virus will select based on the attack probability. P attack Select an attack target, if P attack If the value is less than 0.8, the virus attacks poultry; otherwise, the virus attacks humans. Step S24: "Judgment" phase, the virus adapts according to its probability. P adapt Determining whether the host is alive or whether the environment is conducive to viral survival: P adapt When the value is ≥0.85, it indicates that the host has died or the environment is unfavorable, and the virus will escape the current environment and enter the "escape" stage. P adapt When the value is less than 0.85, it indicates that the host is alive or the environment is suitable. The virus location will be fine-tuned to adapt to the host. The location update method is as follows: when P attack <0.8 and P adapt When <0.85: X j i = 3 j i + R j i ⊙( X g,j - X p,j i ) when Pattack ≥0.8 and P adapt When <0.85: X j i = X j i +0.5* R j i ⊙( 1 j i - 2 j i )+0.5* R j i ⊙( X g,j - X j i ) in, 1 j i , 2 j i and 3 j i Represent 1, 2 and 3 in the i Line number j The numerical components of the column; Step S25: The "escape" phase, the virus will adjust its escape probability accordingly. P escape Choose one of two strategies: If P escape < P The virus then executes a mutation strategy; if P escape ≥ P Then the diffusion strategy is executed, where P The parameters for determining "escape" are generated as follows: when d ≥0.4, P =0.7 When 0.4> d >0.15, P =0.5 When 0.15≥ d , P =0.3 in, d To integrate diversity,d =0.7× sr +0.3× fr ; in, sr This refers to the relative dispersion of spatial diversity. fr The relative differences in solution quality among populations are calculated as follows: sr =mean(std( X p,j )) / max( - ) fr =std( F p ) / (abs(mean( F p ))) Among them, mean() calculates the mean; std() calculates the standard deviation; and abs() calculates the absolute value. X p,j It is the first j The individual's historical optimal position; F p It is the individual's historical best fitness value; During the "escape" phase, the virus location update formula is as follows: when P attack <0.8 and P adapt ≥0.85 and P escape < P , X new,j i = X j i + R j i ⊙( X g,j - X j i ) when P attack ≥0.8 and P adapt ≥0.85 and P escape < P , X new,j i = X j i +R j i ⊙( X g,j - X p,j i ) X mutate,j i =0.5* c *( X new,j i + X g,j )* r * when P escape ≥ P , X spread,j i = X g,j + R j i ⊙( X new,j i - X g,j ) If a mutation strategy is executed, then let X j i =X mutate,j i ; If the diffusion strategy is executed, then let X j i =X spread,j i ; in, X g,j It is the first j The globally optimal individual position in dimension. X new,j i Individual virus i In the j The escape midpoint in dimensional space; X mutate,j i Individual virus i In the j New positions generated by dimensional mutations; X spread,j i Individual virus iIn the j The new position generated by propagation in dimensions F g It is the globally optimal fitness value. P attack , P adapt , P escape and r It is a random number in the range (0,1). c It is the exponential decay coefficient: c = r × e -4×t / T It is a weighting factor: = × d d = min +( max - min )× e -(t / T) in, t Indicates the current iteration number. d The damping coefficient representing the weight. max and min These represent the maximum and minimum values of the weights, respectively. The initial value is 1; Step S26: After each iteration, calculate the fitness value of all new virus positions and compare the new fitness value with the individual's historical best value. If the new fitness value is better, update the individual's historical best position and historical best fitness value. At the same time, the global optimal solution is updated based on a probabilistic mechanism, that is, only when... Less than the global update probability G The global optimal position and global optimal fitness value will only be updated if there is an individual fitness value that is better than the global optimal fitness value; among which, Given a random number in the range (0,1), the global update probability is... G The initial value is 0, and the update process is as follows: G =(1 / 1+e -10(t / T-0.5) )+ r* (1-G ) Among them, when the number of iterations t achieve T When the iteration count reaches zero, the algorithm terminates the iteration and outputs the global optimal position and its fitness value as the optimal solution; if the iteration count is zero... t Failed to achieve T If so, return to step S22 and repeat steps S22 to S26.
[0019] Furthermore, in step S4, the steps of determining the weight of each component using a multi-feature weighted attention mechanism, normalizing and weighted fusing the scoring index, and reconstructing the vibration signal are as follows: Step S41: Based on the decomposition K The positive ideal reference benchmark for each index is determined by the maximum correlation coefficient, maximum kurtosis, and minimum envelope entropy of each intrinsic mode function component. K The minimum correlation coefficient, minimum kurtosis, and maximum envelope entropy of each IMF component determine the negative ideal reference benchmark for each indicator. Step S42: Standardize the evaluation indicators by using a normalization method to map each indicator to the [0,1] interval, thus eliminating the influence of dimensionality. Normalized value = (current value - negative ideal benchmark) / (positive ideal benchmark - negative ideal benchmark) Step S43: Set three weights: correlation coefficient weight, kurtosis weight, and envelope entropy weight, and calculate the final score of each intrinsic mode function component based on the weighted comprehensive scoring method; wherein, correlation coefficient weight + kurtosis weight + envelope entropy weight = 1; Step S44: Convert the overall score into attention weights using the softmax function to achieve a probability distribution transformation of the score; Step S45: Weight all intrinsic mode function components based on attention weights to form a new signal.
[0020] Furthermore, in step S22, the construction of three randomly rearranged population position matrices... 1, 2 and 3. Its generation process is as follows: Step S221: Generate the basic index vector r o =[0,1,2,..., N -1], and generate a random permutation vector. [ 1 2 3], used to control the cyclic offset of subsequent indices, where 1 2 3 is a random permutation of the numbers 1, 2, and 3; Step S222: Generate initial random index vector a 1, a 1=[ j 1, j 2,..., j N ],in, j 1, j 2,..., j N It is the interval [1, N A random permutation of positive integers; Step S223: Utilize the first element of σ 1 pair of basic index vectors r o Perform a cyclic offset to obtain the intermediate index vector. r t1 The cyclic offset is achieved by: r o Each index value in the database is related to... 1 after addition N Use the remainder to ensure the result index is between 0 and 1. N Cycle within the range of -1; Step S224: Based on r t1 right a 1. Perform index remapping, that is, use the index vector [ r t1 +1] From vector a Extract the element at the corresponding position from step 1 to obtain the second random index vector. a 2; Step S225: Use The second element 2. Again r o Perform a cyclic offset to obtain the intermediate index vector. r t2 and based on r t2 right a 2. Perform index remapping to obtain a third random index vector. a 3; Step S226: Finally, calculate the optimal historical position matrix of the virus. X p Row index extraction is performed to construct three random permutation matrices: 1= X p (a 1,:) 2= X p ( a 2,:) 3= X p ( a 3,:) The method of the present invention will be explained below using a specific case of rotating machinery failure as an example. Example 1: Taking the Case Western Reserve University bearing failure (CWRU) dataset as an example. In the experiment, drive-end (DE) data with a sampling frequency of 12kHz and a rotational speed of 1797RPM was selected, and its data information is shown in Table 1.
[0021] Table 1 CWRU Dataset Parameter Table
[0022] The specific implementation process is as follows: Step S1: Acquire vibration signals and introduce -12 dB Gaussian white noise into the vibration signals to simulate strong background noise interference in actual industrial scenarios, thereby verifying the robustness of the proposed method under low signal-to-noise ratio conditions. Step S2: Set VMD parameters K and α The scope will K The value range is set to (3, 10). α The value range is set to (100, 2500) in VMD. K The value represents the number of intrinsic mode functions (IMFs) to be decomposed; when K When the value is 2, it is decomposed into two IMF components named IMF1 and IMF2; when K When the value is 3, it is decomposed into three IMF components named IMF1, IMF2, and IMF3, and so on; using the minimum envelope entropy as the fitness function, the improved H5N1 optimization algorithm is used to optimize the parameters of VMD to obtain the optimal parameters. K , α Combinations, where the population size of the algorithm is... N Set to 50, maximum number of iterations T Set to 30, max =1 and min =0.001; The flowchart of the improved avian influenza virus optimization algorithm is as follows: As shown in the figure, the convergence curve of the parameter optimization process of the original avian influenza virus optimization algorithm is as follows: As shown; Step S3: Based on optimal parameters [ K , α The vibration signal is combined and decomposed using VMD to obtain... K One IMF component; Step S4: Assign weights to each IMF component and reconstruct the signal based on the correlation coefficient, kurtosis value, and envelope entropy of each IMF component using the MFWA mechanism; where the correlation coefficient weight is 0.4, the kurtosis weight is 0.3, and the envelope entropy weight is 0.3; the signal index evaluation results are shown in Tables 2 and 3. Step S5: The reconstructed vibration signal is windowed and input into a one-dimensional CNN model for fault diagnosis. The main body of the model consists of four stacked convolutional layers (each with a ReLU activation function) and three pooling layers forming a feature extractor. The hierarchical connection relationship is as follows: the first two levels are a "convolution-convolution-pooling" structure, and the last two levels are a cascade of "convolution-pooling". The extracted features are flattened and then fed into a classifier consisting of two fully connected layers, with a Dropout layer introduced in between to prevent overfitting. Finally, the output layer provides the diagnostic results. The evaluation results are shown in Table 4. , and The confusion matrices corresponding to the original avian influenza virus optimization algorithm, the improved avian influenza virus optimization algorithm, and the improved avian influenza virus optimization algorithm combined with a multi-feature weighted attention mechanism are shown respectively.
[0023] Table 2 Comparison Results of Negative Indicators
[0024] Table 3 Comparison Results of Positive Indicators
[0025] Table 4. Model Diagnostic Accuracy and F1 Score
[0026] As shown in Tables 2 to 4, the diagnostic results of the present invention are significantly better than those of the comparative method, which fully verifies the advantages of the present invention in diagnosing rotating machinery faults.
[0027] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. An improved method for fault diagnosis of rotating machinery using H5N1-VMD-MFWA noise reduction, characterized in that, Includes the following steps: Step S1: Acquire vibration signals of rotating machinery under normal conditions and with different types of faults; Step S2: Using the minimum envelope entropy of the vibration signal as the fitness function, the key parameters of variational mode decomposition are evaluated using an improved avian influenza virus optimization algorithm. K , α ] Perform optimization search to obtain the optimal parameter combination; Step S3: Based on the optimal parameter combination [ K , α Variational mode decomposition was performed on the vibration signal to obtain... K One eigenmode function component; Step S4: Calculate the correlation coefficient, kurtosis, and envelope entropy of each intrinsic mode function component with the original signal. Use a multi-feature weighted attention mechanism to determine the weight of each component. Normalize and weightedly fuse the scoring index to reconstruct the vibration signal. Step S5: Perform window segmentation on the reconstructed vibration signal and perform fault diagnosis on the reconstructed signal based on the convolutional neural network model.
2. The improved H5N1-VMD-MFWA noise reduction method for rotating machinery fault diagnosis as described in claim 1, characterized in that, In step S2, the envelope entropy is calculated as follows: E p =-∑ M z=1 ε ( z ) lgε ( z ) ε ( z )= a ( z ) / ∑ M z=1 a ( z ) in, a ( z The envelope of the signal is obtained by performing a Hilbert transform on the vibration signal of rotating machinery. ε ( z )yes a ( z The normalized envelope sequence, satisfying: ∑ M z=1 ε ( z )=1, ε ( z )≥0, M The number of sampling points. E p For the envelope entropy, z The sampling point number represents the signal.
3. The improved H5N1-VMD-MFWA noise reduction method for rotating machinery fault diagnosis as described in claim 1, characterized in that, In step S2, the improved avian influenza virus optimization algorithm comprises the following steps: The improved avian influenza virus optimization algorithm is in D In a dimensional search space, through a space containing N The search was optimized by analyzing the population of individual virus individuals; among them, D A positive integer, representing the dimension of the optimization problem; N The integer is greater than zero, representing the size of the virus population; the position of each individual virus represents a candidate solution to the problem. Step S21: "Initialization" phase, setting the virus population size. N With maximum number of iterations T A uniform random initialization method is used: X j i = LB +( UB - LB )⊙ R j i Initialize the virus population and calculate the fitness value of each virus to determine the current best individual location and fitness value; Where ⊙ represents element-wise multiplication, and the superscript... i Represents an index of individual viruses. i=1,2,…,N subscript j Represents the dimension of the search question space. D index, j=1,2,…,D , X represent N OK D A matrix of columns, where X j i Representing the i The virus individual in the first j Positional components in each dimension UB and LB These are the upper and lower bounds of the search space. R This represents elements whose values are in the range [0~1]. N OK D A random number matrix of columns, where R j i It is the first in the matrix i Line number j The numerical components of the column; Step S22: In the "population position matrix" construction stage, based on the position update strategy of multiple random permutations, three randomly rearranged population position matrices are constructed. PMP 1, PMP 2 and PMP 3; Step S23: In the "selection" phase, the virus will select based on the attack probability. P attack Select an attack target, if P attack If the value is less than 0.8, the virus attacks poultry; otherwise, the virus attacks humans. Step S24: "Judgment" phase, the virus determines its adaptation probability. P adapt Determining whether the host is alive or whether the environment is conducive to viral survival: P adapt When the value is ≥0.85, it indicates that the host has died or the environment is unfavorable, and the virus will escape the current environment and enter the "escape" stage. P adapt When the value is less than 0.85, it indicates that the host is alive or the environment is suitable. The virus location will be fine-tuned to adapt to the host. The location update method is as follows: when P attack <0.8 and P adapt When <0.85: X j i = PMP 3 j i + R j i ⊙( X g,j - X p,j i ) when P attack ≥0.8 and P adapt When <0.85: X j i = X j i +0.5* R j i ⊙( PMP 1 j i - PMP 2 j i )+0.5* R j i ⊙( X g,j - X j i ) in, PMP 1 j i , PMP 2 j i and PMP 3 j i Represent PMP 1, PMP 2 and PMP 3 in the i Line number j The numerical components of the column; Step S25: The "escape" phase, the virus will determine the escape probability. P escape Choose one of two strategies: If P escape < P The virus then executes a mutation strategy; if P escape ≥ P Then the diffusion strategy is executed, where P The parameters for determining "escape" are generated as follows: when d ≥0.4, P =0.7 When 0.4> d >0.15, P =0.5 When 0.15≥ d , P =0.3 in, d To integrate diversity, d =0.7× sr +0.3× fr ; in, sr This refers to the relative dispersion of spatial diversity. fr The relative differences in solution quality among populations are calculated as follows: sr =mean(std( X p,j )) / max( UB - LB ) fr =std( F p ) / (abs(mean( F p ))) Among them, mean() calculates the mean; std() calculates the standard deviation; and abs() calculates the absolute value. X p,j It is the first j The individual's historical optimal position; F p It is the individual's historical best fitness value; During the "escape" phase, the virus location update formula is as follows: when P attack <0.8 and P adapt ≥0.85 and P escape < P , X new,j i = X j i + R j i ⊙( X g,j - X j i ) when P attack ≥0.8 and P adapt ≥0.85 and P escape < P , X new,j i = X j i + R j i ⊙( X g,j - X p,j i ) X mutate,j i =0.5* c *( X new,j i + X g,j )* r * ω when P escape ≥ P , X spread,j i = X g,j + R j i ⊙( X new,j i - X g,j ) If a mutation strategy is executed, then let X j i =X mutate,j i ; If the diffusion strategy is executed, then let X j i =X spread,j i ; in, X g,j It is the first j The globally optimal individual position in dimension. X new,j i Individual virus i In the j The escape midpoint in dimensional space; X mutate,j i Individual virus i In the j New positions generated by dimensional mutations; X spread,j i Individual virus i In the j The new position generated by propagation in dimensions F g It is the globally optimal fitness value. P attack , P adapt , P escape and r It is a random number in the range (0,1). c It is the exponential decay coefficient: c = r × e -4×t / T ω It is a weighting factor: ω = ω × ω d ω d = ω min +( ω max - ω min )× e -(t / T) in, t Indicates the current iteration number. ω d The damping coefficient representing the weight. ω max and ω min These represent the maximum and minimum values of the weights, respectively. ω The initial value is 1; Step S26: After each iteration, calculate the fitness value of all new virus positions and compare the new fitness value with the individual's historical best value. If the new fitness value is better, update the individual's historical best position and historical best fitness value. At the same time, the global optimal solution is updated based on a probabilistic mechanism, that is, only when... ps Less than the global update probability G The global optimal position and global optimal fitness value will only be updated if there is an individual fitness value that is better than the global optimal fitness value; among which, ps Given a random number in the range (0,1), the global update probability is... G The initial value is 0, and the update process is as follows: G =(1 / 1+e -10(t / T-0.5) )+ r* (1- G ) Among them, when the number of iterations t achieve T When the iteration count reaches zero, the algorithm terminates the iteration and outputs the global optimal position and its fitness value as the optimal solution; if the iteration count is zero... t Failed to achieve T If so, return to step S22 and repeat steps S22 to S26.
4. The improved H5N1-VMD-MFWA noise reduction method for rotating machinery fault diagnosis as described in claim 1, characterized in that, In step S4, the steps of determining the weight of each component using a multi-feature weighted attention mechanism, normalizing and weighting the scoring index, and reconstructing the vibration signal are as follows: Step S41: Based on the decomposition K The positive ideal reference benchmark for each index is determined by the maximum correlation coefficient, maximum kurtosis, and minimum envelope entropy of each intrinsic mode function component. K The minimum correlation coefficient, minimum kurtosis, and maximum envelope entropy of each IMF component determine the negative ideal reference benchmark for each indicator. Step S42: Standardize the evaluation indicators by using a normalization method to map each indicator to the [0,1] interval, thus eliminating the influence of dimensionality. Normalized value = (current value - negative ideal benchmark) / (positive ideal benchmark - negative ideal benchmark) Step S43: Set three weights: correlation coefficient weight, kurtosis weight, and envelope entropy weight, and calculate the final score of each intrinsic mode function component based on the weighted comprehensive scoring method; wherein, correlation coefficient weight + kurtosis weight + envelope entropy weight = 1; Step S44: Convert the overall score into attention weights using the softmax function to achieve a probability distribution transformation of the score; Step S45: Weight all intrinsic mode function components based on attention weights to form a new signal.
5. The improved H5N1-VMD-MFWA noise reduction method for rotating machinery fault diagnosis as described in claim 3, characterized in that, In step S22, the construction of three randomly rearranged population position matrices PMP 1, PMP 2 and PMP 3. Its generation process is as follows: Step S221: Generate the basic index vector r o =[0,1,2,..., N -1], and generate a random permutation vector. σ= [ σ 1 , σ 2 ,σ 3], used to control the cyclic offset of subsequent indices, where σ 1 ,σ 2 ,σ 3 is a random permutation of the numbers 1, 2, and 3; Step S222: Generate initial random index vector a 1, a 1=[ j 1, j 2,..., j N ],in, j 1, j 2,..., j N It is the interval [1, N A random permutation of positive integers; Step S223: Utilize the first element of σ σ 1 pair of basic index vectors r o Perform a cyclic offset to obtain the intermediate index vector. r t1 The cyclic offset is achieved by: r o Each index value in the array is related to σ 1 after addition N Use the remainder to ensure the result index is between 0 and 1. N Cycle within the range of -1; Step S224: Based on r t1 right a 1. Perform index remapping, that is, use the index vector [ r t1 +1] From vector a Extract the element at the corresponding position from step 1 to obtain the second random index vector. a 2; Step S225: Use σ The second element σ 2. Again r o Perform a cyclic offset to obtain the intermediate index vector. r t2 and based on r t2 right a 2. Perform index remapping to obtain a third random index vector. a 3; Step S226: Finally, calculate the optimal historical position matrix of the virus. X p Row index extraction is performed to construct three random permutation matrices: PMP 1= X p ( a 1,:) PMP 2= X p ( a 2,:) PMP 3= X p ( a 3,:)。
Citation Information
Patent Citations
Intelligent fault wave recording main station information management system
CN103501047A
Rotary machinery fault diagnosis method for improving BWO-VMD-TOPSIS noise reduction
CN118094114A
Electronic direct current load fault diagnosis method based on multi-expert distillation network
CN118707303A
Cited By
Power equipment fault diagnosis method based on artificial intelligence
CN121498863A