Rotating machine fault diagnosis method of AHO-VMD-CNN-BiGRU
By optimizing the CNN-BiGRU model using variational mode decomposition and the African hyena pack optimization algorithm, the problem of network structure and hyperparameter selection in rotating machinery fault diagnosis is solved, achieving higher diagnostic accuracy and lower iteration loss.
Patent Information
- Application Number
- CN202610107571.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-27
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2046-01-27
AI Technical Summary
The diagnostic performance of existing intelligent fault diagnosis methods in rotating machinery is affected by the network structure and hyperparameter selection. Traditional parameter tuning is time-consuming and it is difficult to guarantee the optimality of the model. Existing intelligent optimization algorithms have room for improvement in terms of optimization accuracy and computational efficiency.
A convolutional neural network (CNN)-bidirectional gated recurrent unit network (BiGRU) model is optimized using variational mode decomposition and African hyena pack optimization (AHO) algorithm. By simulating the division of labor, cooperation and hierarchy mechanism of hyena packs, the hyperparameters of CNN-BiGRU are optimized, and an AHO-VMD-CNN-BiGRU fault diagnosis method is constructed.
It significantly improves the accuracy of fault diagnosis for rotating machinery, reduces iteration loss, and enhances the diagnostic performance of the model.
Smart Images

Figure CN121579957A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical field of intelligent fault diagnosis, in particular to a rotating machinery fault diagnosis method based on AHO-VMD-CNN-BiGRU. BACKGROUND
[0002] As a key component in the industrial equipment system, the health state of the rotating machinery directly determines the continuous operation ability and overall reliability of the production line. Once the equipment fails, not only will it cause unplanned downtime and increase maintenance costs, but also may cause a chain of production interruptions, and even endanger personnel safety. Therefore, developing an accurate and efficient intelligent fault diagnosis method has important engineering value.
[0003] Under the background of Industry 4.0 and intelligent operation and maintenance, data-driven fault diagnosis methods have gradually become the mainstream of research. Among them, deep learning models can automatically extract sensitive features from complex vibration signals and are widely used in rotating machinery fault recognition and classification. The common technical path is to convert one-dimensional time series vibration signals into two-dimensional time-frequency diagrams through short-time Fourier transform or continuous wavelet transform, and then use convolutional neural networks and their improved architectures for feature extraction and fault classification. However, the diagnostic performance of this kind of method is largely restricted by the selection of network structure and hyperparameters, and the traditional parameter tuning method relying on human experience not only consumes time, but also cannot guarantee that the model is in the optimal state. In view of these problems, it has become a research hotspot to systematically explore the optimal hyperparameter combination by constructing a parameter optimization objective function and combining intelligent optimization algorithms. However, the existing intelligent optimization algorithms still have further improvement space in terms of optimization accuracy and computational efficiency. SUMMARY
[0004] The main purpose of the application is to solve the problems existing in the prior art, and provide a rotating machinery fault diagnosis method based on AHO-VMD-CNN-BiGRU. First, the variational model decomposition (VMD) is used for noise reduction preprocessing of the signal, and then a convolutional neural network (CNN)-bidirectional gated recurrent unit network (BiGRU) model optimized by the African hyena optimizer (AHO) is established. The application originally proposes a new African hyena optimization algorithm AHO, and optimizes the CNN-BiGRU hyperparameters through the AHO algorithm, so that the network has a lower iteration loss value and a higher diagnostic accuracy, thereby providing reliable technical support for improving the accuracy of rotating machinery equipment fault diagnosis.
[0005] In nature, African hyena groups form a highly structured social system, and their hunting behavior and hierarchical mechanisms jointly ensure the survival and efficiency of the population. Different individuals in the hyena group differ in size, strength, and flexibility: young or female hyenas, which are small in size and agile, can quickly lock and harass prey, but due to their limited strength, they often cannot complete the hunt alone; adult hyenas, which are larger in size and stronger, are responsible for finally subduing the prey, effectively preventing the escape of injured prey. This division of labor makes full use of the differences among individuals in the group and improves the overall success rate of hunting. In addition, the hyena group has a clear hierarchical system, which significantly reduces internal conflicts and enhances collaboration efficiency. During periods of severe resource scarcity, the team with the worst performance and low collaboration efficiency in the entire hyena population will be naturally eliminated or dissolved, and the individuals will integrate into other groups or reorganize new teams. This mechanism not only effectively reduces resource consumption within the population, but also promotes the continuous optimization of group structure, thereby improving the adaptability and survival ability of the entire population in harsh environments. The African hyena group optimization algorithm proposed in this paper is inspired by the competition mechanism, social hierarchy, division of labor, and team elimination and reorganization strategies within the group to build a meta-heuristic swarm intelligence optimization algorithm.
[0006] The application is implemented as follows: The technical solution for achieving the object of the application is: an AHO-VMD-CNN-BiGRU rotating machinery fault diagnosis method, comprising the following steps: Step one: Obtain the original vibration signals of the rotating machinery under normal operating conditions and different fault types as training samples, and label the corresponding fault categories; Step two: Adopt a variational mode decomposition method to pre-process the original vibration signals, and obtain the denoised reconstructed signals through decomposition, screening, and reconstruction; Step three: Convert the reconstructed signals into two-dimensional time-frequency images through short-time Fourier transform; Step four: Set the basic parameters of the African hyena group optimization algorithm; Step five: Use the African hyena group optimization algorithm to automatically optimize the hyperparameters of the convolutional neural network-bidirectional gated recurrent unit network model; Step six: Based on the optimized hyperparameters, combine the reconstructed signals and their corresponding fault labels to train a rotating machinery fault diagnosis model based on the convolutional neural network-bidirectional gated recurrent unit network model; Step seven: the vibration signal to be diagnosed is denoised by using the variational modal decomposition method described in step two, and after the denoised signal is converted into a time-frequency image by using the short-time Fourier transform described in step three, the time-frequency image is input into the convolutional neural network-bidirectional gated recurrent unit network model which has been trained to achieve the fault type recognition of the rotating machinery.
[0007] Further, in step two, the denoising preprocessing includes the following process: first, set the key parameters required for variational modal decomposition denoising, including the number of intrinsic modal functions and the penalty factor; then, apply the variational modal decomposition algorithm to decompose the original vibration signal to obtain a plurality of intrinsic modal function components; then, arrange the intrinsic modal function components in order from low to high center frequency, and calculate the correlation coefficient with the original vibration signal, and mark the modal component with the lowest correlation as the noise component; finally, remove all marked noise components, and superimpose the remaining components to reconstruct the denoised signal.
[0008] Further, in step four, the African hyena swarm optimization algorithm is divided into five sequentially executed steps: Step S41: in the initialization stage, randomly generate Y hyenas, whose expression is as follows: X k = lb + (ub - lb) x rand (0,1) wherein, X k represents the position of the k th hyena individual, k =1,2,… Y , lb is the lower limit of the search domain, ub is the upper limit of the search domain, X k , lb , ub are all N-dimensional vectors, where N represents the dimension of the problem to be solved, rand (0,1) represents an N-dimensional vector composed of random numbers between 0 and 1; Step S42: in the team building and leader election stage, hyena individuals are randomly formed into hunting teams, and the fitness value of each individual in each team is calculated, and the hyena individual with the optimal fitness value is selected as the leader of the current hunting team, and the number of members in each team Ts is dynamically adjusted, and its formula is as follows: Ts =max( Ts min ,min( Ts max ,round(3+2sin(2π×t / T )))) like Y / Ts If the number of elements is not divisible, the remaining individuals form a team; the `round()` function rounds the value within the parentheses to the nearest integer. t This represents the current iteration number. T The maximum number of iterations, Ts max and Ts min Representing the maximum and minimum team size; Step S43: During the team encirclement phase, the non-fittest individual in each team will move towards the location of the team leader; each team leader will conduct a more detailed local search around itself; the update formula for this phase is as follows: X i,m t+1 = X i,m t +C(0,1)× α t ×( X i,l t - X i,m t ) F i,m t ≠ F i,l t X i,l t+1 = X i,l t +C(0,1)×( X i,l t -h x X i,m t ) F i,m t = F i,l t in, X i,m t+1 and X i,m t They represent the first t+1 Second and third t In the nth iterationi The first team m The position of each member X i,l t+1 and X i,l t The first t +1 and t In the nth iteration i The position of leader in a team F i,m t and F i,l t They represent the first t In the nth iteration i The first team m The fitness value of each member and the team leader's position. C (0,1) is the N-dimensional Cauchy perturbation vector. α t and h Let represent the step size when the non-optimal individual and the leader move, respectively, with the following expressions: α t = α max -( α max - α min )× t / T h =2cos( r ) in, α max For the maximum step size, α min For the minimum step size, r A random number uniformly distributed in (0,1); Step S44: During the team transition phase, after each D In the next iteration, the team with the worst average fitness value is removed from all teams, and individuals are regenerated within the search range according to the following formula:
[0009]
[0010] in, X w,m t+1 Indicates the first t+1 The worst team in the next iteration m The position of each memberX w,l t+1 and X w,,l t denote the position of the leader in the worst team in the t+1 th and the t th iteration, respectively, rand ( X i,l t denote the position of a leader randomly selected from the team leaders in the t th iteration; is a random Gaussian perturbation term, ; Step S45: determining whether the current iteration number reaches the maximum iteration number, if yes, the iteration is completed and the search is ended, and the optimal position is output, if not, returning to step S42 and repeating S42-S45.
[0011] Further, in step four, the parameters required by the African hyena swarm optimization algorithm include population size Y , maximum iteration number T , maximum step size α max , minimum step size α min , maximum size Ts max , minimum size Ts min , team replacement iteration number D , etc.
[0012] Further, in step five, the hyperparameters of the convolutional neural network-bidirectional gated recurrent unit model are automatically optimized by using the African hyena swarm optimization algorithm, and the optimized hyperparameters include the number of convolutional layer neurons, the convolution kernel size, and the number of bidirectional gated recurrent unit layer neurons.
[0013] Further, in step six, the convolutional neural network-bidirectional gated recurrent unit network model includes four convolutional layers, three pooling layers, one flattening layer, one bidirectional gated recurrent unit layer, and one output layer, the convolutional layer activation function is the relu function, the stride is (2, 2), and the zero padding; the pooling layer size is 2x2; the output layer output is 4, and the activation function is the softmax function.
[0014] The beneficial effects of this invention are as follows: It proposes a novel metaheuristic swarm intelligence optimization algorithm—the African Hyena Group Optimization Algorithm (AHO). Inspired by the highly structured social system of hyena groups, this algorithm improves optimization performance by simulating their division of labor, cooperation, and hierarchical mechanisms. Unlike existing algorithms, AHO innovatively introduces a team elimination and reorganization mechanism based on group hierarchy. This mechanism simulates the natural elimination process of the worst-performing and least efficient teams in a hyena population during periods of resource scarcity. The algorithm periodically removes teams with the worst average fitness and reorganizes them into new teams, effectively enhancing population diversity and significantly improving the algorithm's ability to escape local optima. Furthermore, this invention applies the AHO algorithm to the hyperparameter optimization of the CNN-BiGRU model. The optimized CNN-BiGRU can more effectively extract fault features and accurately identify fault types with lower iteration loss, thereby significantly improving the accuracy of rotating machinery fault diagnosis. Attached Figure Description
[0015] 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.
[0016] Figure 1 This is a flowchart of an intelligent fault diagnosis method for rotating machinery provided by an embodiment of the present invention; Figure 2 This is a detailed flowchart of the AHO optimization algorithm provided in the embodiments of the present invention; Figure 3 This is a topology diagram of the CNN-BiGRU network model; Figure 4 This is a confusion matrix diagram of the fault diagnosis results of the AHO-VMD-CNN-BiGRU method; Figure 5 This is a comparison chart of iterative losses for different methods; Figure 6 This is a comparison chart of the accuracy of different iterative methods. Detailed Implementation
[0017] 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 to represent 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.
[0018] The method of the present invention will be illustrated below using a specific case of rotating machinery fault diagnosis as an example.
[0019] like Figure 1 A rotating machinery fault diagnosis method using AHO-VMD-CNN-BiGRU includes the following steps: Step 1: Obtain the original vibration signals of the rotating machinery under normal operating conditions and different fault types as training samples, and label the corresponding fault categories; Step 2: The original vibration signal is preprocessed for noise reduction using variational mode decomposition. The denoising reconstructed signal is obtained by decomposition, filtering and reconstruction. Step 3: Convert the reconstructed signal into a two-dimensional time-frequency image using a short-time Fourier transform; Step 4: Set the basic parameters of the African hyena pack optimization algorithm; Step 5: Use the African hyena pack optimization algorithm to automatically optimize the hyperparameters of the convolutional neural network-bidirectional gated recurrent unit network model; Step 6: Based on the optimized hyperparameters, combined with the reconstructed signal and its corresponding fault label, train a rotating machinery fault diagnosis model based on a convolutional neural network-bidirectional gated recurrent unit network model; Step 7: The vibration signal to be diagnosed is denoised using the variational mode decomposition method described in Step 2. The denoised signal is then converted into a time-frequency image using the short-time Fourier transform described in Step 3. The time-frequency image is then input into the trained convolutional neural network-bidirectional gated recurrent unit network model to realize the identification of the fault type of rotating machinery.
[0020] Furthermore, in step two, the noise reduction preprocessing includes the following steps: First, the key parameters required for variational mode decomposition noise reduction are set, including the number of intrinsic mode functions and the penalty factor; then, the variational mode decomposition algorithm is applied to decompose the original vibration signal to obtain several intrinsic mode function components; next, each intrinsic mode function component is arranged from low to high according to its center frequency, and its correlation coefficient with the original vibration signal is calculated, with the mode component with the lowest correlation being marked as a noise component; finally, all marked noise components are removed, and the remaining components are superimposed and reconstructed to obtain the denoised signal.
[0021] Furthermore, in step four, the African hyena pack optimization algorithm consists of five steps executed sequentially: Step S41: In the initialization phase, randomly generate Y A hyena, its expression is as follows: X k = lb + (ub - lb) x rand (0,1) in, X k Representing the k The location of a single hyena. k =1,2,… Y , lb This is the lower bound of the search domain. ub This is the upper limit of the search domain. X k , lb , ub Both are N-dimensional vectors, where N represents the dimension of the problem being solved. rand (0,1) represents an N-dimensional vector composed of random numbers between 0 and 1; Step S42: In the team building and leader election phase, hyena individuals randomly form hunting teams, and the fitness value of each individual in each team is calculated. The hyena individual with the best fitness value is selected as the leader of the current hunting team. The number of members in each team is... Ts It is dynamically adjusted, and its formula is as follows: Ts =max( Ts min ,min( Ts max ,round(3+2sin(2π× t / T )))) like Y / Ts If the number of elements is not divisible, the remaining individuals form a team; the `round()` function rounds the value within the parentheses to the nearest integer. t This represents the current iteration number.T The maximum number of iterations, Ts max and Ts min Representing the maximum and minimum team size; Step S43: During the team encirclement phase, the non-fittest individual in each team will move towards the location of the team leader; each team leader will conduct a more detailed local search around itself; the update formula for this phase is as follows: X i,m t+1 = X i,m t +C(0,1)× α t ×( X i,l t - X i,m t ) F i,m t ≠ F i,l t X i,l t+1 = X i,l t +C(0,1)×( X i,l t -h x X i,m t ) F i,m t = F i,l t in, X i,m t+1 and X i,m t They represent the first t+1 Second and third t In the nth iteration i The first team m The position of each member X i,l t+1 and X i,l t The first t +1 and tIn the nth iteration i The position of leader in a team F i,m t and F i,l t They represent the first t In the nth iteration i The first team m The fitness value of each member and the team leader's position. C (0,1) is the N-dimensional Cauchy perturbation vector. α t and h Let represent the step size when the non-optimal individual and the leader move, respectively, with the following expressions: α t = α max -( α max - α min )× t / T h =2cos( r ) in, α max For the maximum step size, α min For the minimum step size, r A random number uniformly distributed in (0,1); Step S44: During the team transition phase, after each D In the next iteration, the team with the worst average fitness value is removed from all teams, and individuals are regenerated within the search range according to the following formula:
[0022]
[0023] in, X w,m t+1 Indicates the first t+1 The worst team in the next iteration m The position of each member X w,l t+1 and X w,,l t They represent the first t+1 Second and third t The position of the leader in the worst team in the next iteration rand ( Xi,l t ) indicates from the first t The position of a leader randomly selected from among the team leaders in the next iteration; For random Gaussian perturbation terms, ; Step S45: Determine whether the current iteration count has reached the maximum iteration count. If so, complete the iteration and end the search, outputting the optimal position. Otherwise, return to step S42 and repeat steps S42 to S45.
[0024] Furthermore, in step four, the parameters required for the African hyena pack optimization algorithm include population size. Y Maximum number of iterations T Maximum step size α max Minimum step size α min Largest scale Ts max and minimum size Ts min Team turnover and iteration count D wait.
[0025] Furthermore, in step five, the hyperparameters of the convolutional neural network-bidirectional gated recurrent unit model are automatically optimized using the African hyena swarm optimization algorithm. The optimized hyperparameters include the number of neurons in the convolutional layer, the size of the convolutional kernel, and the number of neurons in the bidirectional gated recurrent unit layer.
[0026] Furthermore, in step six, the convolutional neural network-bidirectional gated recurrent unit network model includes four convolutional layers, three pooling layers, one flattening layer, one bidirectional gated recurrent unit layer, and one output layer. The activation function of the convolutional layers is the ReLU function, the stride is (2, 2), and zero padding is used. The pooling layer size is 2×2. The output layer outputs 4, and the activation function is the softmax function.
[0027] The method of the present invention will be illustrated below using a specific case of rotating machinery failure as an example.
[0028] The experimental data comes from the public dataset of the CWRU Bearing Data Center, and the experimental data information is shown in Table 1.
[0029] Table 1 Experimental Data Information Table
[0030] The specific implementation process is as follows: like Figure 1 A rotating machinery fault diagnosis method using AHO-VMD-CNN-BiGRU includes the following steps: Step 1: Obtain the original vibration signals of the rotating machinery under normal conditions and different fault types as training samples, and label the corresponding fault categories. In this embodiment, 70% of the total number of samples are selected as training samples, 10% as verification samples, and 20% as test samples. Step 2: The original vibration signal is preprocessed for noise reduction using variational mode decomposition. The denoising reconstructed signal is obtained by decomposition, filtering and reconstruction. Step 3: Convert the reconstructed signal into a two-dimensional time-frequency image using a short-time Fourier transform; Step 4: Set the basic parameters of the African hyena pack optimization algorithm, including population size. Y =30, Maximum number of iterations T =350, maximum step size α max =2, minimum step size α min =0.1, maximum scale Ts max =5 and minimum size Ts min =3 Team turnover iterations D =2, the flowchart of the optimization algorithm for African hyena packs is as follows: Figure 2 As shown; Step 5: The hyperparameters of the convolutional neural network-bidirectional gated recurrent unit model are automatically optimized using the African hyena pack optimization algorithm. The optimized hyperparameters include the number of neurons in the convolutional layer, the size of the convolutional kernel, and the number of neurons in the bidirectional gated recurrent unit layer. The evaluation results after optimization are shown in [link to optimization]. Figure 4 ; Step Six: Based on the optimized hyperparameters, and combined with the reconstructed signals and their corresponding fault labels, train a rotating machinery fault diagnosis model based on a convolutional neural network-bidirectional gated recurrent unit network model; the topology diagram of the convolutional neural network-bidirectional gated recurrent unit network model is shown below. Figure 3 As shown; Table 2 Comparison of Model Accuracy and Loss Value
[0031] Step 7: The vibration signal to be diagnosed is denoised using the variational mode decomposition method described in Step 2. The denoised signal is then converted into a time-frequency image using the short-time Fourier transform described in Step 3. The time-frequency image is then input into the trained convolutional neural network-bidirectional gated recurrent unit network model to realize the identification of the fault type of rotating machinery.
[0032] To evaluate the advantages of the model, multiple models, including CNN, CNN-BiGRU, and VMD-CNN-BiGRU, were compared with the method of this invention. Accuracy and F1 score were used to evaluate the diagnostic results, and the results are shown in Table 2. Figure 5 , Figure 6 As shown in Table 2, the method of the present invention significantly outperforms the comparative model in both accuracy and F1 score, demonstrating the advantages of the method of the present invention in the diagnosis of rotating machinery faults.
[0033] 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 invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the invention should be included within the scope of protection of the invention.
Claims
1. A rotating machinery fault diagnosis method based on AHO-VMD-CNN-BiGRU, characterized in that, Includes the following steps: Step 1: Obtain the original vibration signals of the rotating machinery under normal operating conditions and different fault types as training samples, and label the corresponding fault categories; Step 2: The original vibration signal is preprocessed for noise reduction using variational mode decomposition. The denoising reconstructed signal is obtained by decomposition, filtering and reconstruction. Step 3: Convert the reconstructed signal into a two-dimensional time-frequency image using a short-time Fourier transform; Step 4: Set the basic parameters of the African hyena pack optimization algorithm; Step 5: Use the African hyena pack optimization algorithm to automatically optimize the hyperparameters of the convolutional neural network-bidirectional gated recurrent unit network model; Step 6: Based on the optimized hyperparameters, combined with the reconstructed signal and its corresponding fault label, train a rotating machinery fault diagnosis model based on a convolutional neural network-bidirectional gated recurrent unit network model; Step 7: The vibration signal to be diagnosed is denoised using the variational mode decomposition method described in Step 2. The denoised signal is then converted into a time-frequency image using the short-time Fourier transform described in Step 3. The time-frequency image is then input into the trained convolutional neural network-bidirectional gated recurrent unit network model to realize the identification of the fault type of rotating machinery.
2. The rotating machinery fault diagnosis method based on AHO-VMD-CNN-BiGRU as described in claim 1, characterized in that, In step two, the noise reduction preprocessing includes the following steps: First, the key parameters required for variational mode decomposition denoising are set, including the number of intrinsic mode functions and the penalty factor; Subsequently, the variational mode decomposition algorithm is applied to decompose the original vibration signal to obtain several intrinsic mode function components. Then, each intrinsic mode function component is arranged in order of its center frequency from low to high, and its correlation coefficient with the original vibration signal is calculated. The mode component with the lowest correlation is marked as a noise component. Finally, all marked noise components are removed, and the remaining components are superimposed and reconstructed to obtain the denoised signal.
3. The rotating machinery fault diagnosis method based on AHO-VMD-CNN-BiGRU as described in claim 1, characterized in that, In step four, the African hyena pack optimization algorithm consists of five steps executed sequentially: Step S41: In the initialization phase, randomly generate Y A hyena, its expression is as follows: X k = lb+(ub-lb)×rand (0,1) in, X k Representing the k The location of a single hyena. k =1,2,… Y , lb This is the lower bound of the search domain. ub This is the upper limit of the search domain. X k , lb , ub Both are N-dimensional vectors, where N represents the dimension of the problem being solved. rand (0,1) represents an N-dimensional vector composed of random numbers between 0 and 1; Step S42: In the team building and leader election phase, hyena individuals randomly form hunting teams, and the fitness value of each individual in each team is calculated. The hyena individual with the best fitness value is selected as the leader of the current hunting team. The number of members in each team is... Ts It is dynamically adjusted, and its formula is as follows: Ts =max( Ts min ,min( Ts max ,round(3+2sin(2π× t / T )))) like Y / Ts If the number of elements is not divisible, the remaining individuals form a team; the `round()` function rounds the value within the parentheses to the nearest integer. t This represents the current iteration number. T The maximum number of iterations, Ts max and Ts min Representing the maximum and minimum team size; Step S43: During the team encirclement phase, the non-fittest individual in each team will move towards the location of the team leader; each team leader will conduct a more detailed local search around itself; the update formula for this phase is as follows: X i,m t+1 = X i,m t +C(0,1)× α t ×( X i,l t - X i,m t ) F i,m t ≠ F i,l t X i,l t+1 = X i,l t +C(0,1)×( X i,l t -h×X i,m t ) F i,m t = F i,l t in, X i,m t+1 and X i,m t They represent the first t+1 Second and third t In the nth iteration i The first team m The position of each member X i,l t+1 and X i,l t The first t +1 and t In the nth iteration i The position of leader in a team F i,m t and F i,l t They represent the first t In the nth iteration i The first team m The fitness value of each member and the team leader's position. C (0,1) is the N-dimensional Cauchy perturbation vector. α t and h Let represent the step size when the non-optimal individual and the leader move, respectively, with the following expressions: α t = α max -( α max - α min )× t / T h =2cos( r ) in, α max For the maximum step size, α min For the minimum step size, r A random number uniformly distributed in (0,1); Step S44: During the team transition phase, after each D In the next iteration, the team with the worst average fitness value is removed from all teams, and individuals are regenerated within the search range according to the following formula: ,in, X w,m t+1 Indicates the first t+1 The worst team in the next iteration m The position of each member X w,l t+1 and X w,,l t They represent the first t+1 Second and third t The position of the leader in the worst team in the next iteration rand ( X i,l t ) indicates from the first t The position of a leader randomly selected from among the team leaders in the next iteration; For random Gaussian perturbation terms, ; Step S45: Determine whether the current iteration count has reached the maximum iteration count. If so, complete the iteration and end the search, outputting the optimal position. Otherwise, return to step S42 and repeat steps S42 to S45.
4. The rotating machinery fault diagnosis method based on AHO-VMD-CNN-BiGRU as described in claim 1, characterized in that, In step four, the parameters required for the African hyena pack optimization algorithm include the total number of individuals. Y The largest team Ts max Minimum size Ts min Maximum step size α max minimum step size α min Maximum number of iterations T Team turnover and iteration count D .
5. The rotating machinery fault diagnosis method based on AHO-VMD-CNN-BiGRU as described in claim 1, characterized in that, In step five, the hyperparameters of the convolutional neural network-bidirectional gated recurrent unit model are automatically optimized using the African hyena swarm optimization algorithm. The optimized hyperparameters include the number of neurons in the convolutional layer, the size of the convolutional kernel, and the number of neurons in the bidirectional gated recurrent unit layer.
6. The rotating machinery fault diagnosis method based on AHO-VMD-CNN-BiGRU as described in claim 1, characterized in that, In step six, the convolutional neural network-bidirectional gated recurrent unit network model includes four convolutional layers, three pooling layers, one flattening layer, one bidirectional gated recurrent unit layer, and one output layer. The activation function of the convolutional layers is the ReLU function, the stride is (2, 2), and zero padding is used. The pooling layer size is 2×2. The output layer outputs 4, and the activation function is the softmax function.
Citation Information
Patent Citations
Rolling bearing fault identification method based on GAF-CNN-BiGRU network
CN112179654A
Aviation data classification method based on whale optimization and time sequence hypergraph neural network
CN116958675A
Rotary machinery fault diagnosis method based on improved SCSO-CNN-BiLSTM
CN118427742A
Intelligent bearing fault diagnosis method of VMD-SCO-MCNN
CN119202728A
Novel intelligent rotating machine fault diagnosis method
CN120804846A