Weighted improvement-based generalized cross-correlation time delay estimation method
The generalized cross-correlation delay estimation method improved by wavelet noise reduction and weighting function solves the problem of delay estimation errors and false peaks under low signal-to-noise ratio conditions, and achieves high-precision and stable sound source positioning, which is suitable for a variety of applications. complex environment.
Patent Information
- Application Number
- CN202411049516.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing delay estimation methods have problems such as large errors and serious false peaks under low signal-to-noise ratio conditions, which affect the accuracy and stability of sound source localization.
The generalized cross-correlation delay estimation method based on weighted improvement is used to reduce the delay estimation error through wavelet denoising and weighted function improvement, improve the estimation success rate and robustness, and achieve real-time or near-real-time timing through Fourier transform. Extended estimate.
It significantly reduces the delay estimation error, improves the estimation success rate and robustness, and achieves centimeter-level or even higher-precision sound source positioning. It is suitable for stable and reliable delay measurement in complex environments.
Smart Images

Figure CN118568475A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of signal processing, in particular to a generalized cross-correlation delay estimation method based on weighted improvement. Background Art
[0002] At present, the delay estimation method plays an important role in the location of sound sources and the detection of pipeline leakage points. By receiving two signals through the sensor, the delay estimation value between the signals can be calculated, and then the corresponding object or fault location can be inferred through the estimated delay value and the coordinate position of the sensor distribution. Therefore, the accuracy of the delay estimation value seriously affects the position judgment of the target fixed point.
[0003] Among the delay estimation methods, the generalized cross correlation (GCC) method is widely used by the public due to its simple calculation, low cost, and easy implementation. Compared with the cross correlation method in the time domain, the GCC method converts the time domain signal to the frequency domain for processing, which improves the accuracy of the results and the speed of calculation. At present, the GCC method has also made many developments in different fields. Among them, the most classic are several types of weighted function improvement methods, such as the Smoothed Coherence Transform-Generalized Cross Correlation (SCOT-GCC), Phase Transform-Generalized Cross Correlation (PHAT-GCC), and Roth-GCC proposed by Roth.
[0004] In order to improve the overall performance of the method, some improved methods have been proposed in the cross-correlation mode. One of them is a quadratic joint generalized cross-correlation delay estimation method, referred to as the WHSGCC method. The main core of this method is to first obtain the auto-power spectrum of the two signals and the cross-power spectrum between the signals, and then add the auto-power spectrum of the two signals and perform cross-correlation operation with the cross-power spectrum. This can improve the accuracy of the estimation result and the stability of the method. The method of the present invention is compared with the above delay estimation methods. Under low signal-to-noise ratio conditions, compared with the above methods, the method of the present invention can significantly reduce the error of delay estimation and increase the probability of successful estimation.
[0005] At present, under low signal-to-noise ratio conditions, the existing delay estimation methods have large errors in accuracy and stability. Strong noise causes more pseudo peaks in the generalized cross-correlation function, which seriously affect the subsequent peak detection. In order to improve the accuracy and stability of the delay estimation method under low signal-to-noise ratio conditions, the present invention provides a generalized cross-correlation delay estimation method based on weighted improvement, which improves the computational complexity of the generalized cross-correlation function through a weighted function, significantly reduces the delay estimation error under low signal-to-noise ratio conditions, significantly improves the estimation success rate, and shows good accuracy and stability. It can achieve centimeter-level or even higher precision sound source positioning, meet high-precision positioning requirements, and provide stable and reliable delay measurement in a variety of complex environments; through wavelet denoising and weighted function improvement, the accuracy of delay estimation is improved; in a high noise environment, the method significantly improves the robustness of delay estimation through wavelet denoising and weighted improved functions; through Fourier transform and inverse transform, real-time or near real-time delay estimation is achieved. Summary of the invention
[0006] In view of the above problems, a method for time delay estimation based on weighted improvement of generalized cross-correlation is provided. The present invention improves the computational complexity of the generalized cross-correlation function through a weighted function. Under low signal-to-noise ratio conditions, the error of time delay estimation is significantly reduced, and the estimation success rate is significantly improved. At the same time, good accuracy and stability are shown, and sound source localization with centimeter-level or even higher accuracy can be achieved. The robustness of time delay estimation is significantly improved through wavelet denoising and weighted improvement function.
[0007] To achieve the above object, the technical solution adopted by the present invention is.
[0008] A method for estimating time delay based on weighted improved generalized cross-correlation includes the following steps: Step 1: Place the sensor m 1 and sensor m 2 Two-way signal picked up x 1( t )and x 2( t ) respectively perform wavelet soft threshold noise reduction processing to obtain the time domain signal x ω1 ( t )and x ω2 ( t ); Step 2: Convert the two time domain signals in step 1 into frequency domain signals X1( oh ) and X2( oh ) in, FFT ( ) represents Fourier transform; Step 3: Calculate the two frequency domain signals X1( oh ) and X2( oh ) G 12 ( oh ); Simultaneously calculate the two frequency domain signals X1( oh ) and X2( oh ) corresponds to the auto-power spectral density function G 11 ( oh )and G 22 ( oh ); Step 4: Use the cross power spectral density function in step 3 G 12 ( oh ), auto-power spectral density function G 11 ( oh )and G 22 ( oh ), calculate the weighted function W ( oh ): ; Step 5: Substitute the weighting function from step 4 W ( oh ) and the cross power spectral density function in step 3 G 12 ( oh ) performs frequency domain multiplication operation to obtain the weighted improved cross power spectrum density function G ( oh ); Step 6: Then perform the weighted improved cross power spectral density function in step 5 G ( oh ) is inverse Fourier transformed to obtain the cross-correlation function R ( t ): in, represents inverse Fourier transform; Step 7: Calculate the delay estimate corresponding to the peak value through peak detection t 12 : in, argmax {} is the index of the peak value.
[0009] Preferably, the Fourier transform step in step 2 is as follows: Among them, T represents the entire time domain; x ω1 ( t )and x ω2 ( t ) are sensors m 1 and sensor m 2 corresponds to the time domain signal; j is an imaginary number; oh is the frequency.
[0010] Preferably, the cross power spectral density function in step 3 is G 12 ( oh )as follows: Among them, X1( oh ) is the sensor m 1 The frequency domain signal after picking up and processing; For sensor m 2 The frequency domain signal picked up and processed by conjugate operation.
[0011] Preferably, the autopower spectral density function in step 3 is G 11 ( oh )and G 22 ( oh )as follows: .
[0012] Preferably, the weighted improved cross power spectral density function in step 5 is G ( oh )as follows: in, W ( oh ) is a weighting function; G 12 ( oh ) is the cross power spectral density function.
[0013] Preferably, the steps of inverse Fourier transform in step 6 are as follows: Among them, Ω represents the entire frequency domain, j is an imaginary number; oh is the frequency; t is the time variable.
[0014] Due to the adoption of the above technical solution, the present invention has the following beneficial effects.
[0015] (1) The present invention improves the generalized cross-correlation function by using a weighted function. Compared with other traditional weighted function improvement methods, the stability and accuracy of the algorithm can be significantly improved under low signal-to-noise ratio conditions, while maintaining a relatively accurate estimated delay. In addition, the method reduces the error of delay estimation as a whole and increases the success probability of estimation. Compared with other methods, it is more accurate and stable, and is particularly suitable for scenarios such as sound source location and pipeline leak detection.
[0016] (2) The present invention improves the accuracy of delay estimation by wavelet denoising and weighted function improvement. In a high-noise environment, the method significantly improves the robustness of delay estimation by wavelet denoising and weighted improved function; due to the use of Fourier transform and inverse transform, the method can achieve real-time or near real-time delay estimation.
[0017] (3) Compared with other methods, the present invention significantly reduces the delay estimation error under low signal-to-noise ratio conditions and can significantly improve the estimation success rate, while showing good accuracy and stability.
[0018] (4) The present invention reduces the computational complexity by improving the weighting function, making the algorithm more efficient and suitable for resource-constrained systems. In addition, the method is not only applicable to low signal-to-noise ratio environments, but also can maintain high accuracy under high signal-to-noise ratio conditions by adjusting parameters.
[0019] (5) The present invention realizes accurate time delay estimation through an improved weighting function, which can realize sound source positioning with centimeter-level or even higher accuracy, meet the needs of high-precision positioning, and provide stable and reliable time delay measurement in a variety of complex environments. It is suitable for various sound source positioning scenarios, such as environmental sound monitoring, security monitoring, pipeline leakage positioning, pipeline anti-excavation positioning, etc., and is of great significance for improving the accuracy and reliability of signal processing systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The following is a detailed discussion of the making and application of the preferred embodiments of the present invention. However, it should be understood that the present invention provides many applicable inventive concepts that can be embodied in various specific environments. The specific embodiments discussed are only for the purpose of illustrating the specific ways of making and using the present invention, and do not limit the scope of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative work.
[0021] Figure 1 The figure is a flow chart of the delay estimation method of the present invention.
[0022] Figure 2The mean square error (MSE) comparison chart of each algorithm under different signal-to-noise ratios.
[0023] Figure 3 The comparison chart of the estimated success rate of each algorithm under different signal-to-noise ratios. DETAILED DESCRIPTION
[0024] The following is a detailed discussion of the making and application of the preferred embodiments of the present invention. However, it should be understood that the present invention provides many applicable inventive concepts that can be embodied in various specific environments. The specific embodiments discussed are only intended to illustrate specific ways to make and use the present invention and do not limit the scope of the present invention.
[0025] sensor m 1 and sensor m 2 The received signal model is: in, x 1( t )and x 2( t ) is the sensor m 1 and sensor m 2 Received signal; n 1( t )and n 2( t ) is uncorrelated Gaussian white noise; s ( t ) is the sound source signal; α 1 and α 2 are the attenuation coefficients of the sound source reaching the two sensors; t 1 and t 2 are the time required for the sound source to reach the two sensors.
[0026] Assume the positions of the two sensors are p 1 and p 2. The sound source position is p 0, the speed of sound is c . Then the time difference between the sound source signal reaching the two sensors is: in, t 1 and t 2 are the time required for the sound source to reach the two sensors, so the time difference between the two sensors can be calculated t 12 Combining the above sensor positions and expressions to locate the abnormal sound source, t 1The accuracy of the calculation, especially the probability and stability of successful estimation under the signal-to-noise ratio conditions, will directly determine the accuracy of locating the abnormal sound source.
[0027] The following is combined with Figure 1-3 Provide a detailed description.
[0028] like Figure 1 The flowchart of a method for estimating time delay based on generalized cross-correlation with weighted improvement is shown, and includes the following steps.
[0029] Step S1: Two sensors receive signals x 1( t )and x 2( t ).
[0030] Step S2: For two signals x 1( t )and x 2( t ) to perform wavelet soft threshold noise reduction and obtain the time domain signal x ω1 ( t )and x ω2 ( t ).
[0031] Step S3: Perform Fourier transform on the two time domain signals to obtain two frequency domain signals X1( oh ) and X2( oh ).
[0032] Step S4: respectively calculating the cross power spectrum density function between the two signals and the respective auto power density functions.
[0033] Step S5: Introduce and calculate the weighting function of the present invention.
[0034] Step S6: multiply the weighted function and the cross power spectral density function to obtain a weighted improved cross power spectral density function.
[0035] Step S7: performing inverse Fourier transform on the weighted improved cross power spectrum density function.
[0036] Step S8: Calculate the estimated delay value corresponding to the peak value through peak detection.
[0037] like Figure 1 As shown, the detailed steps of the delay estimation method of the present invention are as follows: a generalized cross-correlation delay estimation method based on weighted improvement includes the following steps.
[0038] Step 1: Place the sensor m 1 and sensor m 2 Two-way signal picked up x 1( t )and x 2( t) respectively perform wavelet soft threshold noise reduction processing to obtain the time domain signal x ω1 ( t )and x ω2 ( t ).
[0039] Step 2: Convert the two time domain signals in step 1 into frequency domain signals X1( oh ) and X2( oh ) in, FFT ( ) represents Fourier transform.
[0040] The steps of the Fourier transform are as follows: Among them, T represents the entire time domain; x ω1 ( t )and x ω2 ( t ) are sensors m 1 and sensor m 2 corresponds to the time domain signal; j is an imaginary number; oh is the frequency.
[0041] Step 3: Calculate the two frequency domain signals X1( oh ) and X2( oh ) G 12 ( oh ) Among them, X1( oh ) is the sensor m 1 The frequency domain signal after picking up and processing; For sensor m 2 The frequency domain signal picked up and processed by conjugate operation.
[0042] Simultaneously calculate the two frequency domain signals X1( oh ) and X2( oh ) corresponds to the auto-power spectral density function G 11 ( oh )and G 22 ( oh ): .
[0043] Step 4: Use the cross power spectral density function in step 3 G 12 ( oh ), auto-power spectral density function G 11 ( oh )and G 22 ( oh ), calculate the weighted function W ( oh ): .
[0044] Step 5: Substitute the weighting function from step 4 W ( oh ) and the cross power spectral density function in step 3 G 12 ( oh ) performs frequency domain multiplication operation to obtain the weighted improved cross power spectrum density function G ( oh ): in, W ( oh ) is a weighting function; G 12 ( oh ) is the cross power spectral density function.
[0045] Step 6: Then perform the weighted improved cross power spectral density function in step 5 G ( oh ) is inverse Fourier transformed to obtain the cross-correlation function R ( t ): in, Represents the inverse Fourier transform.
[0046] The steps of the inverse Fourier transform are as follows: Among them, Ω represents the entire frequency domain, j is an imaginary number; oh is the frequency; t is the time variable.
[0047] Step 7: Calculate the delay estimate corresponding to the peak value through peak detection t 12 : in, argmax{} is the index of the peak value.
[0048] The present invention firstly reduces appropriate interference noise by using wavelet denoising, and then improves the generalized cross-correlation function by using a weighting function. The method can improve the accuracy of delay estimation and the probability of successful estimation, and still achieves good results under the condition of low signal-to-noise ratio.
[0049] In addition, this method improves the computational complexity of the generalized cross-correlation function through a weighted function, significantly reduces the error of delay estimation under low signal-to-noise ratio conditions, significantly improves the success rate of estimation, and shows good accuracy and stability, which can achieve centimeter-level or even higher accuracy of sound source positioning, meet the needs of high-precision positioning, and provide stable and reliable delay measurement in a variety of complex environments. The present invention improves the accuracy of delay estimation through wavelet denoising and weighted function improvement; in a high-noise environment, the method significantly improves the robustness of delay estimation through wavelet denoising and weighted improved functions; and through Fourier transform and inverse transform, real-time or near real-time delay estimation is achieved.
[0050] In order to illustrate the performance of the method proposed in the present invention in detail, specific comparative examples are provided below based on the excellence of the algorithm.
[0051] This embodiment verifies the performance of the method through simulation experiments. Clean speech signals are used as original sound source signals received by different sensors. Gaussian white noise is added as interference signals. The signal sampling rate is 44.1kHz. A Hanning window with a length of 16384 is used in the frame processing, and the overlap is 25%. The simulation is repeated 500 times independently.
[0052] The delay estimation method of the present invention is referred to as WGCC. A signal processing comparison experiment is conducted between the present invention and six common algorithms in the prior art, including smoothed coherence transform-generalized cross correlation (SCOT-GCC), phase transform-generalized cross correlation (PHAT-GCC), ROTH-GCC, traditional GCC, second generalized correlation (SGCC) and second joint generalized cross correlation delay estimation method WHSGCC.
[0053] This embodiment verifies the algorithm performance by comparing the mean square error and estimated success probability of each algorithm.
[0054] The mean square error formula is: in, N is the estimated total number, For the j The estimated delay value, t 0 is the actual delay estimate.
[0055] The estimated probability of success is: in, N S To estimate the number of successes, (This embodiment uses 44.1kHz, equivalent to 88 sampling points) It is assumed that the estimation is successful.
[0056] like Figure 2 The mean square error comparison diagram of each algorithm is shown in the figure. The experimental results show that under low signal-to-noise ratio conditions, the performance of the method proposed in the present invention is significantly better than the six common algorithms in the prior art. When the signal-to-noise ratio is -20dB, the delay method (WGCC) of the present invention reduces the mean square error by about 92% compared with the quadratic joint generalized cross-correlation delay estimation method WHSGCC, and reduces it by about 95.5% compared with ROTH-GCC. The mean square error of the present invention is the lowest, proving that the stability of this algorithm is the best.
[0057] like Figure 3 The comparison chart of the estimation success rate of each algorithm is shown. The experimental results show that under low signal-to-noise ratio conditions, the estimation success rate of the method proposed in the present invention is better than that of other comparison algorithms. When the signal-to-noise ratio is -5dB, the delay method (WGCC) of the present invention improves the estimation success probability by 60% compared with the quadratic joint generalized cross-correlation delay estimation method WHSGCC, and improves by 390% compared with ROTH-GCC. Compared with the 6 common algorithms in the prior art, the delay estimation method of the present invention proves that the estimation accuracy, estimation success probability and estimation accuracy of the delay estimation method of the present invention are the best, and are significantly better than the other 6 common delay estimation algorithms.
[0058] The simulation results of the above embodiments show that under low signal-to-noise ratio conditions, the present invention is superior to other comparison methods in both estimation accuracy and estimation success probability, and has good precision and stability. That is, the estimation accuracy, estimation success probability, estimation accuracy and stability of the delay estimation algorithm of the present invention are significantly superior to other algorithms, and have good estimation accuracy, estimation success probability, estimation accuracy and stability.
[0059] In summary, the present invention improves the accuracy of delay estimation through wavelet denoising and weighted function improvement; realizes real-time or near real-time delay estimation through Fourier transform and inverse transform; reduces computational complexity through improved weighted function, making the algorithm more efficient and suitable for resource-constrained systems. At the same time, under low signal-to-noise ratio conditions, compared with other traditional weighted function improvement methods, the stability and accuracy of the algorithm can be significantly improved while maintaining a relatively accurate estimated delay. The present invention reduces the error of delay estimation as a whole, increases the success probability of estimation, is more accurate and stable than other methods, and is particularly suitable for scenarios such as sound source location and pipeline leak point detection.
[0060] In a high-noise environment, the present invention significantly improves the robustness of delay estimation through wavelet denoising and weighted improvement; under low signal-to-noise ratio conditions, the delay estimation error is significantly reduced, the estimation success rate is significantly improved, and good accuracy and stability are shown; by adjusting parameters, high accuracy can also be maintained under high signal-to-noise ratio conditions.
[0061] The present invention realizes accurate time delay estimation through an improved weighting function, can realize sound source positioning with centimeter-level or even higher accuracy, meet the needs of high-precision positioning, and can provide stable and reliable time delay measurement in a variety of complex environments. It is suitable for various sound source positioning scenarios, such as environmental sound monitoring, security monitoring, pipeline leakage positioning, pipeline anti-excavation positioning, etc., and is of great significance for improving the accuracy and reliability of signal processing systems.
[0062] Although the specification has been described in detail, it should be understood that various changes, substitutions and modifications may be made without departing from the spirit and scope of the invention as defined by the appended claims. In addition, the specific embodiments described are not intended to limit the scope of the invention, and those of ordinary skill in the art can easily understand based on the present invention that currently existing or later to be developed processes, machines, manufactures, material compositions, means, methods, or steps can perform substantially the same functions as the embodiments of the present invention or obtain substantially the same results. Therefore, the appended claims are intended to include such processes, machines, manufactures, material compositions, means, methods or steps within their scope.
Claims
1. A method for estimating time delay based on weighted improved generalized cross-correlation, characterized in that: The following steps are involved: Step 1: Place the sensor m 1 and sensor m 2 Two-way signal picked up x 1( t )and x 2( t ) respectively perform wavelet soft threshold noise reduction processing to obtain the time domain signal x ω1 ( t )and x ω2 ( t ); Step 2: Convert the two time domain signals in step 1 into frequency domain signals X1( ω ) and X2( ω ) in, FFT ( ) represents Fourier transform; Step 3: Calculate the two frequency domain signals X1( ω ) and X2( ω ) G 12 ( ω ); Simultaneously calculate the two frequency domain signals X1( ω ) and X2( ω ) corresponds to the auto-power spectral density function G 11 ( ω )and G 22 ( ω ); Step 4: Use the cross power spectral density function in step 3 G 12 ( ω ), auto-power spectral density function G 11 ( ω )and G 22 ( ω ), calculate the weighted function W ( ω ): Step 5: Substitute the weighting function from step 4 W ( ω ) and the cross power spectral density function in step 3 G 12 ( ω ) performs frequency domain multiplication operation to obtain the weighted improved cross power spectrum density function G ( ω ); Step 6: Then perform the weighted improved cross power spectral density function in step 5 G ( ω ) is inverse Fourier transformed to obtain the cross-correlation function R ( τ ): in, represents inverse Fourier transform; Step 7: Calculate the delay estimate corresponding to the peak value through peak detection τ 12 : in, argmax {} is the index of the peak value.
2. The method for estimating time delay based on weighted improved generalized cross-correlation as claimed in claim 1, characterized in that: The steps of Fourier transform in step 2 are as follows: Among them, T represents the entire time domain; x ω1 ( t )and x ω2 ( t ) are sensors m 1 and sensor m 2 corresponds to the time domain signal; j is an imaginary number; ω is the frequency.
3. The method for estimating time delay based on weighted improved generalized cross-correlation as claimed in claim 1, characterized in that: The cross power spectral density function in step 3 G 12 ( ω )as follows: Among them, X1( ω ) is the sensor m 1 The frequency domain signal after picking up and processing; For sensor m 2 The frequency domain signal picked up and processed by conjugate operation.
4. The method for estimating time delay based on weighted improved generalized cross-correlation as claimed in claim 1, characterized in that: The autopower spectral density function in step 3 G 11 ( ω )and G 22 ( ω )as follows: 。 5. The method for estimating time delay based on weighted improved generalized cross-correlation as claimed in claim 1, characterized in that: The weighted improved cross power spectral density function in step 5 is G ( ω )as follows: in, W ( ω ) is a weighting function; G 12 ( ω ) is the cross power spectral density function.
6. The method for estimating time delay based on weighted improved generalized cross-correlation as claimed in claim 1, characterized in that: The steps of inverse Fourier transform in step 6 are as follows: Among them, Ω represents the entire frequency domain, j is an imaginary number; ω is the frequency; τ is the time variable.
Citation Information
Patent Citations
Bearing state monitoring and fault diagnosis method under multiple working conditions
CN115688018A
Urban underground cable partial discharge positioning method based on time delay estimation
CN116699337A
Secondary joint generalized cross-correlation time delay estimation method
CN117688371A
System and method for monaural audio processing based preserving speech information
US20120245927A1
Correlator time delay extraction for wireless acoustic sensors
US9172423B1
Cited By
Water supply pipeline leakage positioning method
CN121322864A
A method for locating leaks in a water supply pipe
CN121322864B
