Cold test noise reduction method and system based on grey wolf algorithm
Through the improved gray wolf algorithm and differential evolution algorithm, combined with wavelet threshold noise reduction processing, the problem of difficult selection of modal decomposition parameters in the diesel engine cold test vibration signal is solved, which significantly improves the noise reduction effect of the signal and enhances the accuracy of detection. .
Patent Information
- Application Number
- CN202310240564.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-10
AI Technical Summary
The existing technology lacks a method for determining the optimal parameter combination, resulting in poor noise reduction of diesel engine cold test vibration signals. In particular, the selection of the modal decomposition layer number K and the penalty factor α has a great impact and cannot effectively improve the accuracy of the signal. .
Using a method based on the gray wolf algorithm, through the mutation, crossover and greedy selection strategies of the improved gray wolf algorithm and differential evolution algorithm, the fuzzy entropy local minimum of the vibration signal is used as the fitness function to optimize and obtain the optimal modal decomposition. The number K and penalty factor α are combined with wavelet threshold noise reduction processing to improve the noise reduction effect of diesel engine cold test vibration signals.
By optimizing the parameter combination, the gray wolf algorithm is prevented from falling into local optimality, the noise reduction effect of the diesel engine cold test vibration signal is improved, the accuracy of the signal is enhanced, and the reliability of the detection is improved.
Smart Images

Figure CN118624232A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of engine testing, and in particular to a cold test noise reduction method and system based on a Grey Wolf algorithm. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] The diesel engine cold test technology is to rotate the diesel engine by a motor, collect the detection parameters with various sensors, and then use the fault image system to judge whether the diesel engine is qualified. The cold test does not require ignition test, and has the advantages of low pollution, low cost and short time. The diesel engine cold test involves many items, including high-speed vibration test, intake test, exhaust pressure test, etc. The acquisition of high-speed vibration signals may be accompanied by noise, which reduces the accuracy of the signal and causes misjudgment for further analysis. Therefore, signal noise reduction is particularly important.
[0004] Commonly used noise reduction methods include empirical mode decomposition, variational mode decomposition, wavelet transform, etc. The signal is affected by multiple parameters in the variational mode decomposition process, among which the mode decomposition layer K and the penalty factor α have the greatest impact on the noise reduction effect. The inventors found that such prior art lacks an ideal method that can determine the optimal parameter combination, so that it is impossible to obtain a better noise reduction effect for diesel engine cold test vibration signals. Summary of the invention
[0005] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a cold test denoising method and system based on the Grey Wolf algorithm, taking the local minimum value of the fuzzy entropy of each modal component of the vibration signal as the fitness function, and utilizing the improved Grey Wolf algorithm to optimize the modal decomposition number K and the penalty factor α of the variational modal decomposition algorithm, and after obtaining the optimal parameter combination, performing variational modal decomposition on the diesel engine cold test vibration signal collected in real time, and performing wavelet threshold denoising processing on each modal component, which plays an important role in improving the denoising effect of the diesel engine cold test vibration signal.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] A first aspect of the present invention provides a cold test denoising method based on the Grey Wolf Algorithm, comprising the following steps:
[0008] Get diesel engine cold test vibration signal;
[0009] Based on the improved Grey Wolf Algorithm, the local minimum of the fuzzy entropy of each modal component obtained by variational modal decomposition of the cold test vibration signal is used as the fitness function, and the modal decomposition number K and the penalty factor α obtained by variational modal decomposition are optimized.
[0010] Based on the optimal combination of the modal decomposition number K and the penalty factor α, the diesel engine cold test vibration signal is subjected to variational modal decomposition to obtain K modal components, each modal component is subjected to denoising, and the signal is reconstructed according to the processed modal components to obtain the denoised cold test vibration signal.
[0011] Among them, the improved grey wolf algorithm includes improving the linear convergence factor of the grey wolf algorithm through the mutation, crossover and greedy selection strategies of the differential evolution algorithm.
[0012] A second aspect of the present invention provides a system for implementing the above method, comprising:
[0013] The data acquisition module is configured to: acquire a diesel engine cold test vibration signal;
[0014] The signal processing module is configured as follows: based on the improved grey wolf algorithm, the local minimum value of the fuzzy entropy of each modal component obtained by the variational modal decomposition of the cold test vibration signal is used as the fitness function, and the modal decomposition number K and the penalty factor α obtained by the variational modal decomposition are optimized;
[0015] Based on the optimal combination of the modal decomposition number K and the penalty factor α, the diesel engine cold test vibration signal is subjected to variational modal decomposition to obtain K modal components, each modal component is subjected to denoising, and the signal is reconstructed according to the processed modal components to obtain the denoised cold test vibration signal.
[0016] Among them, the improved grey wolf algorithm includes improving the linear convergence factor of the grey wolf algorithm through the mutation, crossover and greedy selection strategies of the differential evolution algorithm.
[0017] A third aspect of the present invention provides a computer-readable storage medium.
[0018] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the cold test denoising method based on the grey wolf algorithm as described above.
[0019] A fourth aspect of the present invention provides a computer device.
[0020] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the cold test denoising method based on the grey wolf algorithm as described above are implemented.
[0021] Compared with the prior art, one or more of the above technical solutions have the following beneficial effects:
[0022] 1. The mutation, crossover and greedy selection strategies of the differential evolution algorithm are used to improve the convergence factor of the gray wolf algorithm, increase the population diversity of the gray wolf algorithm, and avoid the gray wolf algorithm falling into the local optimum in the later stage, so as to obtain the ideal optimal parameter combination.
[0023] 2. The fuzzy upper local minimum of each modal component of the variational modal decomposition of the vibration signal is used as the fitness function. The improved gray wolf algorithm is used to optimize the parameters to obtain the best parameter combination. After obtaining the best combination of the modal decomposition number K and the penalty factor α, the real-time collected diesel engine cold test vibration signal is subjected to variational modal decomposition, and each modal component is subjected to wavelet threshold denoising. The signal is reconstructed according to each processed modal component to obtain the denoised cold test vibration signal, thereby improving the denoising effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0025] Figure 1 It is a schematic diagram of the cold test denoising process based on the Grey Wolf algorithm provided by one or more embodiments of the present invention. DETAILED DESCRIPTION
[0026] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0027] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0028] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0029] As described in the background art, the prior art lacks an ideal method for determining an optimal parameter combination, thereby failing to achieve a better diesel engine cold test vibration signal noise reduction effect.
[0030] Therefore, the following embodiment provides a cold test denoising method and system based on the Gray Wolf Algorithm, which improves the convergence factor of the Gray Wolf Algorithm and adopts the mutation, crossover and greedy selection strategies of the differential evolution algorithm to optimize the Gray Wolf Algorithm to improve the population diversity of the Gray Wolf Algorithm and avoid the Gray Wolf Algorithm from falling into the local optimum in the later stage. The fuzzy upper local minimum of each modal component of the variational modal decomposition of the vibration signal is used as the fitness function, and the improved Gray Wolf Algorithm is used to optimize the parameters to obtain the best parameter combination. After obtaining the best combination of the modal decomposition number K and the penalty factor α, the real-time collected diesel engine cold test vibration signal is subjected to variational modal decomposition, and each modal component is subjected to wavelet threshold denoising. The signal is reconstructed according to each modal component after processing to obtain the denoised cold test vibration signal, thereby improving the denoising effect.
[0031] Embodiment 1:
[0032] like Figure 1 As shown, the cold test denoising method based on the grey wolf algorithm includes the following steps:
[0033] Get diesel engine cold test vibration signal;
[0034] Based on the improved Grey Wolf Algorithm, the local minimum of the fuzzy entropy of each modal component obtained by variational modal decomposition of the cold test vibration signal is used as the fitness function, and the modal decomposition number K and the penalty factor α obtained by variational modal decomposition are optimized.
[0035] After obtaining the optimal combination of the modal decomposition number K and the penalty factor α, the diesel engine cold test vibration signal is subjected to variational modal decomposition to obtain K modal components. The wavelet threshold denoising method is used to denoise each modal component. The signal is reconstructed according to the processed modal components to obtain the denoised cold test vibration signal.
[0036] Among them, the improved grey wolf algorithm includes improving the linear convergence factor of the grey wolf algorithm through the mutation, crossover and greedy selection strategies of the differential evolution algorithm.
[0037] Specific:
[0038] The grey wolf algorithm is improved by using the mutation, crossover and greedy selection strategies of the differential evolution algorithm;
[0039] Obtain diesel engine cold test vibration signals, including high-speed cylinder head vibration signals, etc.;
[0040] According to the improved Grey Wolf algorithm, the local minimum of the fuzzy entropy of each modal component of the variational modal decomposition of the cold test vibration signal is used as the fitness function to optimize the modal decomposition number K and the penalty factor α of the variational modal decomposition algorithm.
[0041] After obtaining the optimal combination of the modal decomposition number K and the penalty factor α, the diesel engine cold test vibration signal is subjected to variational modal decomposition to obtain K modal components. The wavelet threshold denoising method is used to denoise each modal component. The signal is reconstructed according to the processed modal components to obtain the denoised cold test vibration signal, thus forming a cold test denoising method based on the improved grey wolf algorithm.
[0042] Further, the diesel engine vibration signal is obtained by a cold test vibration sensor;
[0043] Furthermore, the linear convergence factor of the gray wolf algorithm is improved, and the improved formula is as follows: Where t is the current iteration number, t max is the maximum number of iterations.
[0044] The gray wolf algorithm is improved by introducing the mutation, crossover and greedy selection strategies of differential evolution. The formula of its mutation operation is as follows:
[0045]
[0046] In the formula, is the position vector of the mutant individual; F 1 is the scaling factor, which is generally a random number between [0,1]; and represents the position vector of α wolf, β wolf and δ wolf; and and and Represent the coefficient vectors of α wolf, β wolf, and δ wolf respectively; and Respectively represent the direction and step length from ω wolf to α wolf, β wolf, and δ wolf;
[0047] The formula for the crossover operation is as follows:
[0048]
[0049] In the formula, rand is a random number between [0,1], F 2 is the crossover probability, and its value is 0.5.
[0050] Finally, the greedy selection strategy is adopted to select individual The new individuals generated by crossover The fitness of the individuals is compared and the individuals with better fitness are selected to participate in the next generation of evolution. The formula is as follows:
[0051]
[0052] Where f is the fitness function.
[0053] Furthermore, the local minimum of the fuzzy entropy of each modal component of the variational modal decomposition of the vibration signal is taken as the fitness function, the value range of the modal decomposition number K is set to [2,10], the value range of the penalty factor α is set to [400,5000], and the improved grey wolf algorithm is used to search for the optimal parameter combination of the modal decomposition number K and the penalty factor α.
[0054] In this implementation case, the optimal combination of the number of modal decompositions K and the penalty factor α is [6,2890].
[0055] Furthermore, the parameters of variational modal decomposition are set to the optimal parameter combination, and the diesel engine cold test vibration signal collected in real time is subjected to variational modal decomposition to obtain 6 modal components. The wavelet threshold denoising method is used to perform denoising on each modal component. In this implementation case, the minimum maximum variance threshold is selected, the soft threshold function is selected, and the db3 wavelet basis is used for wavelet denoising. The signal is reconstructed according to the processed modal components to obtain the denoised cold test vibration signal.
[0056] By improving the convergence factor of the Grey Wolf Algorithm and optimizing the Grey Wolf Algorithm using the mutation, crossover and greedy selection strategies of the differential evolution algorithm, the population diversity of the Grey Wolf Algorithm can be improved to avoid the Grey Wolf Algorithm falling into the local optimum in the later stage.
[0057] The fuzzy upper local minimum of each modal component of the variational modal decomposition of the vibration signal is used as the fitness function. The improved Grey Wolf algorithm is used to optimize the parameters to obtain the best parameter combination. After obtaining the best combination of the modal decomposition number K and the penalty factor α, the variational modal decomposition of the diesel engine cold test vibration signal collected in real time is performed, and each modal component is subjected to wavelet threshold denoising processing. The signal is reconstructed according to each processed modal component to obtain the denoised cold test vibration signal, which improves the denoising effect.
[0058] Embodiment 2:
[0059] A system for implementing the above method comprises:
[0060] The data acquisition module is configured to: acquire a diesel engine cold test vibration signal;
[0061] The signal processing module is configured as follows: based on the improved Grey Wolf algorithm, the local minimum value of the fuzzy entropy of each modal component obtained by performing variational modal decomposition of the cold test vibration signal is used as the fitness function, and the modal decomposition number K and the penalty factor α obtained by the variational modal decomposition are optimized; after obtaining the optimal combination of the modal decomposition number K and the penalty factor α, the diesel engine cold test vibration signal is subjected to variational modal decomposition to obtain K modal components, and each modal component is subjected to denoising processing using a wavelet threshold denoising method, and the signal is reconstructed according to the processed modal components to obtain the denoised cold test vibration signal;
[0062] Among them, the improved grey wolf algorithm includes improving the linear convergence factor of the grey wolf algorithm through the mutation, crossover and greedy selection strategies of the differential evolution algorithm.
[0063] In this embodiment:
[0064] The mutation, crossover and greedy selection strategies of the differential evolution algorithm are used to improve the convergence factor of the gray wolf algorithm, increase the population diversity of the gray wolf algorithm, and avoid the gray wolf algorithm falling into the local optimum in the later stage.
[0065] The fuzzy upper local minimum of each modal component of the variational modal decomposition of the vibration signal is used as the fitness function. The improved Grey Wolf algorithm is used to optimize the parameters to obtain the best parameter combination. After obtaining the best combination of the modal decomposition number K and the penalty factor α, the variational modal decomposition of the diesel engine cold test vibration signal collected in real time is performed, and each modal component is subjected to wavelet threshold denoising processing. The signal is reconstructed according to each processed modal component to obtain the denoised cold test vibration signal, which improves the denoising effect.
[0066] Embodiment three:
[0067] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the cold test denoising method based on the grey wolf algorithm as described in the first embodiment are implemented.
[0068] The mutation, crossover and greedy selection strategies of the differential evolution algorithm are used to improve the convergence factor of the gray wolf algorithm, increase the population diversity of the gray wolf algorithm, and avoid the gray wolf algorithm falling into the local optimum in the later stage.
[0069] The fuzzy upper local minimum of each modal component of the variational modal decomposition of the vibration signal is used as the fitness function. The improved Grey Wolf algorithm is used to optimize the parameters to obtain the best parameter combination. After obtaining the best combination of the modal decomposition number K and the penalty factor α, the variational modal decomposition of the diesel engine cold test vibration signal collected in real time is performed, and each modal component is subjected to wavelet threshold denoising processing. The signal is reconstructed according to each processed modal component to obtain the denoised cold test vibration signal, which improves the denoising effect.
[0070] Embodiment 4:
[0071] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the cold test denoising method based on the grey wolf algorithm as described in the first embodiment are implemented.
[0072] The mutation, crossover and greedy selection strategies of the differential evolution algorithm are used to improve the convergence factor of the gray wolf algorithm, increase the population diversity of the gray wolf algorithm, and avoid the gray wolf algorithm falling into the local optimum in the later stage.
[0073] The fuzzy upper local minimum of each modal component of the variational modal decomposition of the vibration signal is used as the fitness function. The improved Grey Wolf algorithm is used to optimize the parameters to obtain the best parameter combination. After obtaining the best combination of the modal decomposition number K and the penalty factor α, the variational modal decomposition of the diesel engine cold test vibration signal collected in real time is performed, and each modal component is subjected to wavelet threshold denoising processing. The signal is reconstructed according to each processed modal component to obtain the denoised cold test vibration signal, which improves the denoising effect.
[0074] The steps or modules involved in the above embodiments 2 to 4 correspond to those in embodiment 1. For the specific implementation, please refer to the relevant description of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.
[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A cold test denoising method based on the Grey Wolf Algorithm, characterized in that: The following steps are involved: Get diesel engine cold test vibration signal; Based on the improved Grey Wolf Algorithm, the local minimum of the fuzzy entropy of each modal component obtained by variational modal decomposition of the cold test vibration signal is used as the fitness function, and the modal decomposition number K and the penalty factor α obtained by variational modal decomposition are optimized. Based on the optimal combination of the modal decomposition number K and the penalty factor α, the diesel engine cold test vibration signal is subjected to variational modal decomposition to obtain K modal components, each modal component is subjected to denoising, and the signal is reconstructed according to the processed modal components to obtain the denoised cold test vibration signal. Among them, the improved grey wolf algorithm includes improving the linear convergence factor of the grey wolf algorithm through the mutation, crossover and greedy selection strategies of the differential evolution algorithm.
2. The cold test denoising method based on the Grey Wolf Algorithm as claimed in claim 1, characterized in that: Through the mutation, crossover and greedy selection strategies of the differential evolution algorithm, the linear convergence factor of the gray wolf algorithm is improved, including: Where t is the current iteration number, t max is the maximum number of iterations.
3. The cold test denoising method based on the Grey Wolf Algorithm as claimed in claim 2, characterized in that: Through the mutation, crossover and greedy selection strategies of the differential evolution algorithm, the linear convergence factor of the gray wolf algorithm is improved, including: Mutation, as shown below: In the formula, is the position vector of the mutant individual; F1 is the scaling factor; and Represent the position vectors of α wolf, β wolf and δ wolf respectively; and and and Represent the coefficient vectors of α wolf, β wolf, and δ wolf respectively; and Represents the direction and step length of ω wolf to α wolf, β wolf, and δ wolf respectively.
4. The cold test denoising method based on the Grey Wolf Algorithm as claimed in claim 2, characterized in that: Through the mutation, crossover and greedy selection strategies of the differential evolution algorithm, the linear convergence factor of the gray wolf algorithm is improved, including: Crossover, as shown below: In the formula, rand is the set random number and F2 is the crossover probability.
5. The cold test denoising method based on the Grey Wolf Algorithm as claimed in claim 2, characterized in that: Through the mutation, crossover and greedy selection strategies of the differential evolution algorithm, the linear convergence factor of the gray wolf algorithm is improved, including: Greedy selection strategy, comparing individuals The new individuals generated by crossover The fitness of the individual is selected to participate in the next generation of evolution, as shown in the following formula: Where f is the fitness function.
6. The cold test denoising method based on the Grey Wolf Algorithm as claimed in claim 1, characterized in that: The number of modal decompositions K and the penalty factor α obtained by variational modal decomposition are optimized as follows: The value range of the modal decomposition number K and the value range of the penalty factor α are set, and the improved grey wolf algorithm is used to search for the optimal parameter combination of the modal decomposition number K and the penalty factor α.
7. The cold test denoising method based on the Grey Wolf Algorithm as claimed in claim 1, characterized in that: The noise reduction process is performed on each modal component, specifically: The wavelet threshold denoising method is used to denoise each modal component.
8. Cold test noise reduction system based on Grey Wolf algorithm, characterized in that: include: The data acquisition module is configured to: acquire a diesel engine cold test vibration signal; The signal processing module is configured as follows: based on the improved grey wolf algorithm, the local minimum value of the fuzzy entropy of each modal component obtained by the variational modal decomposition of the cold test vibration signal is used as the fitness function, and the modal decomposition number K and the penalty factor α obtained by the variational modal decomposition are optimized; Based on the optimal combination of the modal decomposition number K and the penalty factor α, the diesel engine cold test vibration signal is subjected to variational modal decomposition to obtain K modal components, each modal component is subjected to denoising, and the signal is reconstructed according to the processed modal components to obtain the denoised cold test vibration signal. Among them, the improved grey wolf algorithm includes improving the linear convergence factor of the grey wolf algorithm through the mutation, crossover and greedy selection strategies of the differential evolution algorithm.
9. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the steps of the cold test denoising method based on the grey wolf algorithm as described in any one of claims 1 to 7 are implemented.
10. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the cold test denoising method based on the grey wolf algorithm as described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Audio signal denoising method based on improved variational mode decomposition and related product
CN119832921A
Data noise reduction method and device for multi-level magnetotelluric data and medium
CN120372172A
Variational mode decomposition method for tunnel vibration signal noise reduction
CN120892696A
A tunnel vibration signal denoising method based on variational mode decomposition
CN120892696B
