Bearing vibration signal denoising method, storage medium and computer equipment
Through Hampel filtering and generalized variational mode decomposition combined with clustering and non-local mean algorithm, the mode mixing problem in the bearing vibration signal is solved, and effective denoising of the signal and accurate detection of fault characteristics are achieved.
Patent Information
- Application Number
- CN202410643242.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology is prone to modal aliasing problems when processing bearing vibration signals, resulting in distortion of denoising results and difficulty in detecting mechanical fault characteristics.
Hampel filtering is used for preprocessing to identify outliers, the intrinsic mode function is obtained through generalized variational mode decomposition, and the clustering method classification and non-local mean algorithm are used to assign Gaussian scale coefficients to separate the noise signals.
It effectively solves the mode mixing problem, achieves effective denoising of bearing vibration signals, and improves the accuracy of fault feature detection.
Smart Images

Figure CN118535857A
Abstract
Description
Technical Field
[0001] The invention relates to a vibration signal processing technology, in particular to a technology for removing noise from a vibration signal. Background Art
[0002] For all kinds of rotating machinery, bearings are one of the most commonly used parts and play an irreplaceable role in the operation of rotating machinery. The vibration signal measured at the bearing position can directly reflect the characteristic state and operation of the rotating machinery. Therefore, the fault information of the machinery is usually accurately diagnosed by analyzing the collected bearing vibration signal. However, the measured bearing vibration signal can easily be submerged in strong background noise. Therefore, in order to accurately extract the fault characteristics of the bearing, it is necessary to effectively identify the noise components in the measurement signal and filter them out.
[0003] At present, the commonly used signal denoising methods mainly include empirical mode decomposition (EMD), variational mode decomposition (VMD), and empirical wavelet transform (EWT). As a nonlinear and non-stationary random signal, the time-frequency characteristics of the bearing vibration signal will change randomly over time. Therefore, if the above signal denoising methods are directly applied to the denoising of the bearing vibration signal, the following problems may occur: when processing the bearing vibration signal with a strong noise background, the modal aliasing problem may occur, which makes the denoising result distorted, making it difficult to detect the fault feature information inside the machine. Summary of the invention
[0004] In order to solve the modal aliasing problem existing in the existing bearing vibration signal denoising technology, the present invention provides a bearing vibration signal denoising method, storage medium and computer device
[0005] The technical solution of the present invention is as follows:
[0006] The bearing vibration signal denoising method comprises the following steps:
[0007] A. Preprocessing the measured bearing vibration signal by using Hampel filtering, identifying abnormal values in the bearing vibration signal, and then replacing the abnormal values by using a polynomial interpolation method to obtain a preprocessed vibration signal;
[0008] B. Decomposing the preprocessed vibration signal using a generalized variational mode decomposition method to obtain a number of eigenmode functions;
[0009] C. classifying the intrinsic mode functions using a clustering method;
[0010] D. Processing the intrinsic mode function using a non-local mean algorithm, and assigning different Gaussian scaling coefficients to the intrinsic mode functions of different categories.
[0011] Optionally, in step A, the bearing vibration signal is assumed to be X={x1, x2, …, x N}, then the Hampel filter is:
[0012] T i =|x i -median(X)| / (1.4826×median(Y)),i=1,2,...,N
[0013] Y={y1,y2,...,y N}={|x1-median(X)|,|x2-median(X)|,...,|x N -median(X)|}
[0014] Among them, T i is the signal after Hampel filtering, median(*) represents the median of the group data represented by *, when T i is greater than a predetermined value, then the corresponding x i is the abnormal value.
[0015] Optionally, the polynomial interpolation method in step A includes a fourth-order polynomial fitting interpolation method of the least squares method.
[0016] Optionally, step B includes the following sub-steps:
[0017] Assuming that the preprocessed vibration signal X consists of K sub-signals, the constrained optimization problem constructed by the generalized variational mode decomposition method is:
[0018]
[0019] in, is the partial derivative with respect to time; t is time; δ(*) is the Dirac function; u k is the kth sub-signal; ω k is the center frequency corresponding to the kth sub-signal;
[0020] The constrained optimization problem is transformed into an unconstrained optimization problem using the multiplier method:
[0021]
[0022] Among them, α k represents the scale parameter; λ k is the Lagrange multiplier;
[0023] The unconstrained optimization problem is solved using the alternating direction method of multipliers:
[0024]
[0025]
[0026]
[0027] Among them, τ is the dual lifting step size;
[0028] Through u k ,ω k and k Perform iterative updates to solve the sub-signal and center frequency:
[0029]
[0030]
[0031] and are the Fourier transforms of x, u and λ respectively, The real part of the inverse Fourier transform is the sub-signal u k .
[0032] Optionally, the clustering method in step C includes a Kmeans algorithm.
[0033] Optionally, step C includes the following sub-steps:
[0034] C1. Using the plurality of intrinsic mode functions obtained in step B as a sample data set, and selecting a plurality of the intrinsic mode functions in the sample data set as the core of sample clustering;
[0035] C2. Calculating the Euler distance from each of the eigenmode functions in the sample data set to the core of the sample cluster;
[0036] C3, classifying each of the eigenmode functions into different sample clusters based on the nearest Euler distance criterion;
[0037] C4, defining the average signal of the intrinsic mode function in the sample cluster as a new cluster core;
[0038] C5. Repeat steps C2 to C4 until the stopping criterion is met.
[0039] Optionally, the stopping criterion in sub-step C5 is: the clustering core variables no longer change.
[0040] Optionally, the number of cores of the sample clustering in sub-step C1 is 3.
[0041] Optionally, in step D, the Gaussian scaling coefficient of the eigenmode function assigned to the signal with small energy is greater than the Gaussian scaling coefficient of the eigenmode function assigned to the signal with large energy.
[0042] A storage medium stores a computer program, which, when executed by a processor, implements the bearing vibration signal denoising method as described above.
[0043] A computer device comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the bearing vibration signal denoising method as described above.
[0044] The technical effects of the present invention are as follows:
[0045] The bearing vibration signal denoising method of the present invention uses Hampel filtering to identify abnormal values in the bearing vibration signal to obtain a pre-processed vibration signal. Then, the pre-processed vibration signal is processed using generalized variational mode decomposition to obtain a number of intrinsic mode functions, and the eigenmode functions are classified using a clustering method, thereby effectively separating the noise in the bearing vibration signal from the effective vibration signal. Therefore, the modal aliasing problem that may occur in the prior art when processing the bearing vibration signal with a strong noise background can be solved, and the purpose of the present invention is achieved.
[0046] The further effects of the above optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 The figure is a flow chart of an embodiment of a bearing vibration signal denoising method of the present invention.
[0048] Figure 2 The result of using Hampel filtering to process the bearing vibration signal.
[0049] Figure 3 This is the result diagram obtained by decomposing the preprocessed vibration signal using the generalized variational mode decomposition method.
[0050] Figure 4 This is the original bearing vibration signal diagram.
[0051] Figure 5 This is a diagram of the bearing vibration signal after being processed by the method of the present invention. DETAILED DESCRIPTION
[0052] The technical solution of the present invention is described in detail below.
[0053] like Figure 1 As shown, the bearing vibration signal denoising method of the present invention comprises the following steps:
[0054] Bearing vibration signal preprocessing
[0055] Since the bearing vibration signal is prone to measurement errors during the measurement process, abnormal points may exist in the bearing vibration signal. In this step, the measured bearing vibration signal is preprocessed using Hampel filtering. As a mean filter, Hampel filtering can design a probability distribution model for the bearing vibration signal, and the abnormal points will be greatly different from the expectations of the probability model and thus be identified. For the bearing vibration signal X = {x1, x2,…, x N}, then the Hampel filter is:
[0056] T i =|x i -median(X)| / (1.4826×median(Y)),i=1,2,...,N
[0057] Y={y1,y2,...,y N}={|x1-median(X)|,|x2-median(X)|,...,|x N -median(X)|}
[0058] Among them, T i is the signal after Hampel filtering, median(*) represents the median of the group data represented by *, and when Ti is greater than a predetermined value, the corresponding xi is an abnormal value (ie, the abnormal point). Figure 2 The points circled by the small and medium rectangular blocks are the abnormal points identified by using Hampel filter to process the bearing vibration signal.
[0059] After the abnormal point is identified, it needs to be removed from the bearing vibration signal and reassigned. In order to maintain the continuity and integrity of the processed bearing vibration signal, a polynomial interpolation method can be used to replace the abnormal value. In this embodiment, the fourth-order polynomial fitting interpolation method of the least squares method is used to replace the abnormal value to obtain the preprocessed vibration signal.
[0060] Get the eigenmode function
[0061] In this step, the pre-processed vibration signal is decomposed using the generalized variational mode decomposition (GVMD) method to obtain several eigenmode functions. The specific steps are as follows:
[0062] The generalized variational mode decomposition method can solve the constructed optimization problem by constructing a constrained optimization problem for each sub-signal and incorporating the fixed-frequency decomposition solution to complete the multi-scale fixed-frequency decomposition in the frequency domain. The generalized variational mode decomposition method mainly includes two parts: the construction of the constrained optimization problem and the solution of the constrained optimization problem.
[0063] Assume that the preprocessed vibration signal X consists of K sub-signals, and the constrained optimization problem constructed by the generalized variational mode decomposition method is:
[0064]
[0065] in, To find the partial derivative with respect to time, * represents the data in the corresponding brackets, the same below; t is time; δ(*) is the Dirac function; u k is the kth sub-signal; ω k is the center frequency corresponding to the kth sub-signal.
[0066] The constrained optimization problem is transformed into an unconstrained optimization problem using the multiplier method:
[0067]
[0068] Among them, α k represents the scale parameter; λ k is the Lagrange multiplier.
[0069] Then the alternating direction method of multipliers is used to solve the unconstrained optimization problem, thereby decomposing the main problem into three sub-problems (sub-signal u k The minimization problem, center frequency ω k The minimization problem and the Lagrange multiplier λ k Improvement problem):
[0070] Question 1:
[0071]
[0072] Question 2:
[0073]
[0074] Question 3:
[0075]
[0076] Among them, τ is the dual lifting step size.
[0077] Minimize u k : Use the Parseval / Plancherel Fourier isometry under the l2 norm to solve the frequency domain problem. Problem 1 can be expressed as:
[0078]
[0079] By transforming the first term on the right side of problem (4), problem (4) can be expressed as:
[0080]
[0081] By using the Hermitian symmetry of real signals in the reconstruction fidelity term, problem (5) can be reformulated as follows:
[0082]
[0083] Using the Euler equation of the calculus of variations, the solution to problem (6) is:
[0084]
[0085] Minimize ω k :Each augmented Lagrangian function in Problem 2 is related to ω k The minimum value of can be expressed as:
[0086]
[0087] Similarly, by transforming the first term on the right side of problem (7), problem (7) can be expressed as:
[0088]
[0089] but:
[0090]
[0091] Finally, all three sub-problems are solved by k ,ω k and k Perform iterative updates to solve the sub-signal and center frequency:
[0092]
[0093]
[0094] and are the Fourier transforms of x, u and λ respectively. The real part of the inverse Fourier transform is the sub-signal u k It is also the eigenmode function. Figure 3 Schematic diagram of the eigenmode function of the bearing vibration signal decomposed by the generalized variational mode decomposition method.
[0095] Classifying Eigenmode Functions
[0096] In this step, the eigenmode functions obtained in the previous step are classified using a clustering method. Specifically, the eigenmode functions are classified using a Kmeans clustering method, and eigenmode function components with similar characteristics are classified into one category, thereby improving signal reconstruction efficiency and denoising effect.
[0097] The Kmeans algorithm can automatically classify sample data through the similarity of distance features between samples.
[0098] (1) First, the eigenmode function is used as a sample data set, and K are randomly selected from the data set. m The eigenmode functions are used as the core of sample clustering.
[0099] (2) Then calculate the Euler distance from each eigenmode function to the cluster core:
[0100]
[0101] Where IMF i (t) is the ith eigenmode function sub-signal; h j is the core of the j-th sample cluster.
[0102] (3) Then, based on the nearest Euclidean distance criterion, multiple eigenmode function components are classified into different categories.
[0103] (4) The average signal of all eigenmode functions in each category is defined as the new clustering core:
[0104]
[0105] Where N is the signal length of the eigenmode function.
[0106] Repeat (2)-(4). If J SSE The execution can be stopped when the stopping criterion is met, and the final clustering result is given. In this embodiment, the aforementioned stopping criterion is the clustering core J SSE The variable no longer changes. In this embodiment, K m It is set to 3, corresponding to three categories of bearing vibration signals, namely: vibration characteristic signal, vibration characteristic and noise mixed signal, and noise signal.
[0107] Assigning values to different types of eigenmode functions
[0108] In this step, the non-local mean (NLM) algorithm is used to process the intrinsic mode function, and different Gaussian scaling coefficients are assigned to different types of intrinsic mode functions to achieve different signal smoothing effects. The non-local mean method can reduce signal distortion and denoise at the same time. The specific steps are as follows:
[0109] The non-local mean algorithm is used to denoise the above three types of intrinsic mode functions. The specific calculation process is as follows:
[0110]
[0111]
[0112]
[0113] Among them, x s (i) is the signal after denoising; Ω i is the search window; δ is the Gaussian scaling coefficient; P is the number of similar structural blocks found during the algorithm operation.
[0114] For the intrinsic mode function class with smaller signal energy, it indicates that the main component of the signal is noise, so the Gaussian scale coefficient of this type of intrinsic mode function is set to 8, so as to suppress the noise sub-signal to the maximum extent. For the intrinsic mode function class with slightly larger signal energy, it indicates that this type of signal is a mixed signal of vibration characteristics and noise, so the Gaussian scale coefficient of this type of intrinsic mode function is set to 4 to prevent signal distortion while removing the noise component. For the intrinsic mode function class with the largest signal energy, the Gaussian scale coefficient of this type of intrinsic mode function is set to 1 to ensure the integrity of the signal content.
[0115] Figure 4 and Figure 5 The original bearing vibration signal and the bearing vibration signal processed by the method of the present invention are respectively displayed in the form of time-frequency diagrams. That is, the effect of denoising before and after the method of the present invention is compared. From the comparison of the two figures, it can be seen that the denoising method of the present invention achieves an obvious denoising effect.
[0116] The computer program stored on the storage medium of the embodiment of the present invention and the computer program executed by the computer device of the embodiment of the present invention are executed as follows: Figure 1 An embodiment of the bearing vibration signal denoising method of the present invention is shown.
[0117] It is worth noting that the above is only a preferred embodiment of the present invention, and does not limit the scope of patent protection of the present invention. The present invention can also be replaced by equivalent technologies. Therefore, any equivalent changes made by using the description and illustrations of the present invention, or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.
Claims
1. A bearing vibration signal denoising method, characterized in that: The steps include: A. Preprocessing the measured bearing vibration signal by using Hampel filtering, identifying abnormal values in the bearing vibration signal, and then replacing the abnormal values by using a polynomial interpolation method to obtain a preprocessed vibration signal; B. Decomposing the preprocessed vibration signal using a generalized variational mode decomposition method to obtain a number of eigenmode functions; C. classifying the intrinsic mode functions using a clustering method; D. Processing the intrinsic mode function using a non-local mean algorithm, and assigning different Gaussian scaling coefficients to the intrinsic mode functions of different categories.
2. The bearing vibration signal denoising method according to claim 1, characterized in that: In step A, the bearing vibration signal is assumed to be X = {x1, x2, ..., x N }, then the Hampel filter is: T i =|x i -median(X)| / (1.4826×median(Y)),i=1,2,...,N Y={y1,y2,...,y N }={|x1-median(X)|,|x2-median(X)|,...,|x N -median(X)|} Among them, T i is the signal after Hampel filtering, median(*) represents the median of the group data represented by *, when T i is greater than a predetermined value, then the corresponding x i is the abnormal value.
3. The bearing vibration signal denoising method according to claim 1, characterized in that: The polynomial interpolation method in step A includes a fourth-order polynomial fitting interpolation method of the least squares method.
4. The bearing vibration signal denoising method according to claim 1, characterized in that: Step B includes the following sub-steps: Assuming that the preprocessed vibration signal X consists of K sub-signals, the constrained optimization problem constructed by the generalized variational mode decomposition method is: in, is the partial derivative with respect to time; t is time; δ(*) is the Dirac function; u k is the kth sub-signal; ω k is the center frequency corresponding to the kth sub-signal; The constrained optimization problem is transformed into an unconstrained optimization problem using the multiplier method: Among them, α k represents the scale parameter; λ k is the Lagrange multiplier; The unconstrained optimization problem is solved using the alternating direction method of multipliers: k=1,2,…,K Among them, τ is the dual lifting step size; Through u k ,ω k and k Perform iterative updates to solve the sub-signal and center frequency: and are the Fourier transforms of x, u and λ respectively, The real part of the inverse Fourier transform is the sub-signal u k .
5. The bearing vibration signal denoising method according to claim 1, characterized in that: The clustering method in step C includes the Kmeans algorithm.
6. The bearing vibration signal denoising method according to claim 5, characterized in that: Step C includes the following sub-steps: C1. Using the plurality of intrinsic mode functions obtained in step B as a sample data set, and selecting a plurality of the intrinsic mode functions in the sample data set as the core of sample clustering; C2. Calculating the Euler distance from each of the eigenmode functions in the sample data set to the core of the sample cluster; C3, classifying each of the eigenmode functions into different sample clusters based on the nearest Euler distance criterion; C4, defining the average signal of the intrinsic mode function in the sample cluster as a new cluster core; C5. Repeat steps C2 to C4 until the stopping criterion is met.
7. The bearing vibration signal denoising method according to claim 6, characterized in that: The stopping criterion described in sub-step C5 is: the clustering core variables no longer change.
8. The bearing vibration signal denoising method according to claim 6, characterized in that: The number of cores of the sample clustering in sub-step C1 is 3.
9. The bearing vibration signal denoising method according to claim 1, characterized in that: In step D, the Gaussian scaling coefficient assigned to the eigenmode function with small signal energy is greater than the Gaussian scaling coefficient assigned to the eigenmode function with large signal energy.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the bearing vibration signal denoising method according to any one of claims 1 to 9 is implemented.
11. A computer device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the bearing vibration signal denoising method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Denoising processing method and device for mechanical vibration signal
CN117454081A
Cited By
Denoising processing method and device for mechanical vibration signal
CN117454081A
A method and device for denoising a mechanical vibration signal
CN117454081B
Carbon emission analysis method and system based on electric power big data
CN120162726A
Numerical control machine tool power tool apron noise reduction method based on UUSGSR
CN120596812A
A noise reduction method for CNC machine tool power tool holder based on UUSGSR
CN120596812B
