A denoising method and system based on binary recursive singular value decomposition
Through the bipartite recursive singular value decomposition method, the Hankel matrix is used to separate the principal components and noise in the signal, which solves the problem of poor SVD denoising effect and achieves more effective signal denoising and feature extraction.
Patent Information
- Application Number
- CN202111253332.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-27
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-10-27
AI Technical Summary
In the effective rank-order SVD denoising method, the signal denoising effect is not good enough, resulting in noise mixing or waveform distortion, and the signal features cannot be effectively extracted.
The method based on binary recursive singular value decomposition is used to construct the Hankel matrix to perform singular value decomposition, use large singular values and small singular values to separate the main signal and noise signal, and calculate the principal component signal through the reconstruction formula.
It significantly reduces the noise signal in the main signal, improves the signal denoising effect, avoids waveform distortion, and enhances the signal feature extraction capability.
Smart Images

Figure CN113988128B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal denoising, and in particular to a denoising method system based on binary recursive singular value decomposition. Background Art
[0002] In the signal experiment collected during the normal operation of the machine equipment, there is noise. Whether the real signal can be denoised will affect the status of the equipment and the effect of fault diagnosis. The traditional singular value decomposition (SVD) introduced into the field of signal denoising is actually a linear weighted decomposition. After SVD processing, the signal has no phase deviation and time delay, and is applied to one-dimensional vibration signal and two-dimensional image processing.
[0003] However, there are certain problems in the use of effective rank SVD denoising. There are obvious differences in the signal denoising effects under different effective ranks. If the order is too large, some noise is easily mixed into the denoised signal, resulting in incomplete denoising. If the order is too small, all useful signal features cannot be extracted, and waveform distortion may occur, and even the object signal may be covered by noise. Therefore, a denoising method based on binary recursive singular value decomposition is proposed. Summary of the invention
[0004] The technical problem to be solved by the present invention is: how to solve the problem that the denoising effect is not good enough in effective rank order SVD denoising, and provides a denoising method based on binary recursive singular value decomposition.
[0005] The present invention solves the above technical problems through the following technical solutions, and the present invention comprises the following steps:
[0006] S1: Construction matrix
[0007] For any discrete digital signal, the matrix H is constructed using this signal. After the matrix H is processed by SVD, there are only two singular values, and the first singular value is greater than the second singular value.
[0008] S2: Bisection recursive singular value decomposition
[0009] Assume that i-1 decompositions have been performed and i-1 SVD main signals A are obtained i-1 , using A i-1 Construct the matrix H i , for the matrix H i Perform SVD processing to obtain the matrix H i The expression after SVD processing;
[0010] S3: Obtain the principal component signal of the SVD at the i-th decomposition
[0011] The matrix H iThe expression after SVD processing is rewritten as column vector u ij and v ij In the form of representation, large singular values and small singular values are obtained, where the large singular value is the principal component signal of the SVD at the i-th decomposition, and the small singular value is the noise signal;
[0012] S4: Reconstruct the principal component signal of the i-th decomposition
[0013] The principal component signal of the ith decomposition is calculated using the reconstruction formula according to the principal component signal of the SVD at the ith decomposition.
[0014] Furthermore, in step S1, any discrete digital signal is x=(x1, x2, ..., x N ), the matrix H is a Hankel matrix, specifically:
[0015]
[0016] Furthermore, in step S2, the main signal A i-1 =(a i-1,1 ,a i-1,2 ,…,a i-1,N ), N is the signal length, the matrix
[0017] Furthermore, in step S2, the matrix H i After SVD processing, we get:
[0018] H i =U i S i V i T
[0019] Among them, U i =(u i1 ,u i2 ), U i ∈R (N-1)×2 , V i =v i1 ,v i2 , V i ∈R 2×2 , respectively, the left and right orthogonal matrices obtained by the i-th decomposition, and the diagonal matrix S i ∈R 2×2 , σ ai , σ bi are the singular values obtained for the i-th time respectively.
[0020] Furthermore, in step S3, the column vector u is rewritten ij and v ijThe form of expression is:
[0021]
[0022] Among them, u ij ∈R (N-1)×2 ,v ij ∈R 2×2 , j=1,2.
[0023] Furthermore, in step S3, Then H ai ∈R (N-1)×2 , corresponding to large singular values, Corresponding to small singular values.
[0024] Furthermore, in step S4, the reconstruction formula is:
[0025]
[0026] in, The principal component matrix H ai One of the column vectors of .
[0027] The present invention also provides a denoising system based on binary recursive singular value decomposition, which uses the above denoising method to denoise the signal, including:
[0028] A matrix construction module, used to construct a matrix H using any discrete digital signal;
[0029] Singular value decomposition module, used to obtain i-1 SVD main signals A after i-1 decompositions i-1 , construct the matrix H i , for the matrix H i Perform SVD processing to obtain the matrix H i The expression after SVD processing;
[0030] Obtaining module, used to transform the matrix H i The expression after SVD processing is rewritten as column vector u ij and v ij In the form of representation, large singular values and small singular values are obtained;
[0031] A reconstruction module, used for calculating the principal component signal of the i-th decomposition according to the principal component signal of the SVD at the i-th decomposition using a reconstruction formula;
[0032] The control module is used to issue instructions to each module to perform corresponding actions;
[0033] The matrix construction module, singular value decomposition module, acquisition module and reconstruction module are all electrically connected to the control module.
[0034] Compared with the prior art, the present invention has the following advantages: the denoising method and system based on binary recursive singular value decomposition uses binary recursive singular value decomposition to perform denoising on the signal, which can effectively solve the problem that the denoising effect of signals under different effective ranks in the effective rank order SVD denoising processing is not good enough, and can significantly reduce the noise signal in the main signal, and is worthy of being promoted and used. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a flowchart of a denoising method based on binary recursive singular value decomposition in Embodiment 1 of the present invention;
[0036] Figure 2 a is an original signal diagram in the second embodiment of the present invention;
[0037] Figure 2 b is a noise signal diagram in the second embodiment of the present invention;
[0038] Figure 3 a is a denoising result diagram of a first decomposition in the second embodiment of the present invention;
[0039] Figure 3 b is a denoising result diagram of the secondary decomposition in the second embodiment of the present invention;
[0040] Figure 3 c is a denoising result diagram of the third decomposition in the second embodiment of the present invention;
[0041] Figure 3 d is a diagram of the denoising result of the fourth decomposition in the second embodiment of the present invention. DETAILED DESCRIPTION
[0042] The following is a detailed description of an embodiment of the present invention. This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given, but the protection scope of the present invention is not limited to the following embodiment.
[0043] Embodiment 1
[0044] This embodiment first describes the singular value decomposition theory, and then describes the denoising method based on binary recursive singular value decomposition.
[0045] 1. Singular Value Decomposition Theory
[0046] Definition of SVD: For a matrix H∈R M×N Regardless of whether its rows and columns are related, there must be an orthogonal matrix U = (u1, u2, ... N )∈R M×N And the orthogonal matrix V=(v1, v2 ,…v N )∈RN×N , so that formula (1) holds true:
[0047] H=USV T (1)
[0048] In the formula, S∈R N×N , 0 represents the zero matrix, and σ1≥σ2…σ N , σ i (i=1,2…3) are called singular values of the matrix H; the M column vectors of the U matrix and the N column vectors of the V matrix form two sets of orthogonal bases, which are called left singular vectors and right singular vectors respectively.
[0049] In the singular value decomposition, the singular value σ i In many cases, the first 10% or even 1% of the singular values account for 99% of the total singular value energy, so the first few singular values and their corresponding left and right singular vectors can complete the information concentration of the matrix. Usually, only the first 10% or even 1% of the singular values are needed to represent without losing any important information, which can greatly reduce data storage, or achieve the purpose of matrix approximation and simplified calculation.
[0050] 2. Denoising method based on binary recursive singular value decomposition (see Figure 1 )
[0051] When SVD is applied to signal processing, the matrix H must first be constructed using the signal. Generally speaking, H is in the form of a Hankel matrix. Suppose there is an arbitrary discrete digital signal x = (x1, x2, …, x N ), using this signal, the Hankel matrix can be constructed as follows:
[0052]
[0053] After SVD processing, such a matrix can obtain and only obtain two singular values, the characteristics of which are that the first singular value is larger and the second singular value is smaller. From these two singular values, it can be obtained that the contribution of the two component signals to the original signal is different in importance.
[0054] The principle of the binary recursive singular value decomposition denoising method will be described in detail below
[0055] Assume that i-1 decompositions have been performed (i is a positive integer), and i-1 SVD main signals A are obtained. i-1 , recorded as: A i-1 =(a i-1,1 ,a i-1,2 ,…,a i-1,N ), N is the signal length, using A i-1 Construct the matrix:
[0056]
[0057] Performing SVD on this matrix yields:
[0058] H i =U i S i V i T (4)
[0059] Where U i =(u i1 ,u i2 ), U i ∈R (N-1)×2 , V i =v i1 ,v i2 , V i ∈R 2×2 , which are the left and right orthogonal matrices obtained by the i-th decomposition, and the diagonal matrix S i ∈R 2×2 , where σ ai , σ bi are the singular values obtained for the i-th time respectively.
[0060] To obtain the principal component signal of the SVD at the i-th decomposition, rewrite the above formula into a column vector u ij and v ij The form of expression:
[0061]
[0062] In the formula, u ij ∈R (N-1)×2 ,v ij ∈R 2×2 , j=1,2.
[0063] Then make Then H ai ∈R (N-1)×2 , which corresponds to the large singular value, reflecting the main component of the signal, which we call A i . The corresponding values are small singular values, which are noise signals by default and are discarded by this method.
[0064] The principal component signal of the SVD at the i-th decomposition is The capture process is explained by taking the i-th principal component signal as an example. The principal component matrix H ai There are two column vectors, namely where v i1,1 ,v i1,2 They are vi1 The sub-element of the formula v i1 where i1,i represents the number of decomposition levels, i1 represents the first column of the i-th decomposition level, and v i1,1 represents the first element of the first column of the i-th level of decomposition; v i1,2 represents the second element of the first column of the i-th decomposition layer. The principal component information of the i-th decomposition is contained in middle.
[0065] The present invention adopts a reconstruction algorithm as shown in Formula 6:
[0066]
[0067] That is, adopt As the principal component signal of the i-th decomposition.
[0068] In this embodiment, you can also choose As the main component signal, the two values are almost the same. The following are the i1,1 ,v i1,2 As the main signal data:
[0069] Table 1 Main signal data decomposition table
[0070]
[0071] The values in the table represent the main signal, and it can be seen from the values that the values of the two signal data are not much different.
[0072] Embodiment 2
[0073] In order to verify the effectiveness of the denoising method in Example 1, the present invention gives a simulation signal y=sin(5πt)+sin(10πt) and adds a noise signal with a signal-to-noise ratio of 10:1. The results are as follows: Figure 2 shown.
[0074] Apply the above method to reduce the noise signal, and the processing results are as follows: Figure 3 shown.
[0075] In this embodiment, the above method is applied to perform the first four decomposition and noise reduction processes, and the signal-to-noise ratio and root mean square error are used for analysis:
[0076]
[0077]
[0078] Among them, SNR represents the signal-to-noise ratio. The larger its value, the better the denoising effect. RMSE represents the root mean square error between the estimated signal and the original signal. The smaller its value, the better the denoising effect. f(n) is the original signal. is the signal processed by the binary recursive singular value decomposition denoising algorithm; N is the length of the signal.
[0079] The following table shows the first four denoising results using the above method.
[0080] Table 2 The first four denoising results
[0081] Decomposition times Signal-to-Noise Ratio Root mean square error 1 68.1871 0.10121 2 73.8929 0.052453 3 76.565 0.038548 4 78.103 0.032281
[0082] Conclusion: Figure 3 From Table 2, we can clearly see that the method proposed in the present invention is effective and can significantly reduce the noise signal in the main signal (main component signal).
[0083] To sum up, the denoising method based on binary recursive singular value decomposition in the above embodiment uses binary recursive singular value decomposition to perform denoising on the signal, which can effectively solve the problem that the signal denoising effect under different effective ranks in the effective rank order SVD denoising processing is not good enough, and can significantly reduce the noise signal in the main signal, and is worthy of promotion and use.
[0084] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A denoising method based on binary recursive singular value decomposition, characterized in that: The following steps are involved: S1: Construction matrix For any discrete digital signal, the matrix H is constructed using this signal. After the matrix H is processed by SVD, there are only two singular values, and the first singular value is greater than the second singular value. S2: Bisection recursive singular value decomposition Assume that i-1 decompositions have been performed and i-1 SVD main signals A are obtained i-1 , using A i-1 Construct the matrix H i , for the matrix H i Perform SVD processing to obtain the matrix H i The expression after SVD processing; In step S2, the main signal A i-1 =(a i-1,1 ,a i-1,2 ,…,a i-1,N ), N is the signal length, the matrix In step S2, the matrix H i After SVD processing, we get: H i =U i S i V i T Among them, U i =(u i1 ,u i2 ), U i ∈R (N-1)×2 , V i =v i1 ,v i2 , V i ∈R 2×2 , respectively, the left and right orthogonal matrices obtained by the i-th decomposition, and the diagonal matrix S i ∈R 2×2 , σ ai , σ bi are the singular values obtained for the i-th time; S3: Obtain the principal component signal of the SVD at the i-th decomposition The matrix H i The expression after SVD processing is rewritten as column vector u ij and v ij In the form of representation, large singular values and small singular values are obtained, where the large singular value is the principal component signal of the SVD at the i-th decomposition, and the small singular value is the noise signal; In step S3, it is rewritten as column vector u ij and v ij The form of expression is: Among them, u ij ∈R (N-1)×2 ,v ij ∈R 2×2 , j = 1, 2; In step S3, Then H ai ∈R (N-1)×2 , corresponding to large singular values, Corresponding to small singular values; S4: Reconstruct the principal component signal of the i-th decomposition The principal component signal of the ith decomposition is calculated using the reconstruction formula according to the principal component signal of the SVD at the ith decomposition; In step S4, the reconstruction formula is: in, The principal component matrix H ai One of the column vectors of .
2. The denoising method based on binary recursive singular value decomposition according to claim 1, characterized in that: In step S1, any discrete digital signal is x=(x1, x2, ..., x N ), the matrix H is a Hankel matrix, specifically:
3. A denoising system based on bisection recursive singular value decomposition, characterized in that: The signal is denoised using the denoising method as claimed in claim 1 or 2, comprising: A matrix construction module, used to construct a matrix H using any discrete digital signal; Singular value decomposition module, used to obtain i-1 SVD main signals A after i-1 decompositions i-1 , construct the matrix H i , for the matrix H i Perform SVD processing to obtain the matrix H i The expression after SVD processing; Obtaining module, used to convert the matrix H i The expression after SVD processing is rewritten as column vector u ij and v ij In the form of representation, large singular values and small singular values are obtained; A reconstruction module, used for calculating the principal component signal of the i-th decomposition according to the principal component signal of the SVD at the i-th decomposition using a reconstruction formula; The control module is used to issue instructions to each module to perform corresponding actions; The matrix construction module, singular value decomposition module, acquisition module and reconstruction module are all electrically connected to the control module.
