A low-complexity wind noise detection method and system for digital hearing aids based on joint criteria

By using a low -complexity wind noise detection method based on joint judgment in digital hearing aids, using double microphone related information and statistical measurement to detect wind noise, solving the problem of high complexity of the existing wind noise detection algorithm, and realized the different environments in different environments. The effective wind noise detection below improves the robustness and efficiency of the detection.

CN119012102BActive Publication Date: 2025-01-28NANJING TIANYUE ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411479966.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-01-28
Estimated Expiration
2044-10-23

AI Technical Summary

Technical Problem

The existing wind noise detection algorithm is complex and it is difficult to effectively detect wind noise in different outdoor environments.

Method used

Using a combined judgment based on a numeric hearing aid low complexity wind noise detection method, the calculation of the two microphone related information and multiple statistics as the judgment of the testing of wind noise, reducing the calculation and complexity of the wind noise detection algorithm.

Benefits of technology

It realizes the effective detection of different degrees of wind noise under different listening environments, and improves the robustness and efficiency of wind noise detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119012102B_ABST
    Figure CN119012102B_ABST
Patent Text Reader

Abstract

The present invention discloses a low-complexity wind noise detection method and system for a digital hearing aid based on a joint criterion. Firstly, a first microphone continuous original signal collected by a first microphone and a second microphone continuous original signal collected by a second microphone are framed, and then DC offset components are removed respectively to obtain a first time domain framed signal after DC removal and a second time domain framed signal after DC removal. The present invention realizes the function of detecting wind noise by calculating dual-microphone related information in different outdoor listening environments, and by calculating multiple statistics as criterion for detecting wind noise, different degrees of wind noise can be detected in different environments. Compared with a traditional dual-microphone wind noise detection algorithm, the calculation process of controlling dual-microphone information using a signal collected by a single microphone greatly reduces the calculation amount and complexity of the wind noise detection algorithm, and is suitable for being widely promoted and used.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal processing, and in particular to a low-complexity wind noise detection method and system for a digital hearing aid based on a joint criterion. Background Art

[0002] As the phenomenon of social aging becomes more and more serious, the number of hearing-impaired people is still increasing now and in the future. Hearing aids can conveniently help hearing-impaired people improve their hearing conditions, so that hearing-impaired patients of different ages can quickly compensate for hearing loss to varying degrees. Digital hearing aids have significant advantages over traditional analog hearing aids, such as higher sound reproduction, higher flexibility, and longer life. On the other hand, digital hearing aids can support more complex and effective hearing aid algorithms, such as the ability to identify and adapt to different environments and listening conditions, which greatly expands the functionality and practicality of hearing aids. Programmable digital hearing aids have broad development space in the field of hearing devices, so the research on digital hearing aid algorithms has a broad and far-reaching impact.

[0003] At present, the listening environment of hearing aids is complex and diverse, and the environment outdoors is even more changeable. For example, when wind noise occurs, the auditory experience of the hearing aid will be severely reduced, so it is necessary to detect the wind noise in order to suppress it. However, the current wind noise detection algorithm is generally very complex; therefore, it is necessary to design a low-complexity wind noise detection method and system for digital hearing aids based on joint criteria. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and to better and more effectively solve the problem of high complexity of wind noise detection algorithms for wind noise detection so as to suppress it. A low-complexity wind noise detection method and system for digital hearing aids based on joint criteria is provided, which realizes the function of detecting wind noise by calculating dual-microphone related information in different outdoor listening environments, and by calculating multiple statistics as criteria for detecting wind noise, it is possible to detect different degrees of wind noise in different environments. The calculation process of controlling dual-microphone information using the signal collected by a single microphone greatly reduces the calculation amount and complexity of the wind noise detection algorithm compared with the traditional dual-microphone wind noise detection algorithm.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is:

[0006] A low-complexity wind noise detection method for a digital hearing aid based on a joint criterion comprises the following steps:

[0007] Step A, collecting the first microphone continuous original signal The continuous original signal of the second microphone collected by the second microphone After framing, the DC offset components are removed to obtain the first time domain frame signal after DC removal. And the second time domain frame signal after DC removal ;

[0008] Step B, calculate the first time domain frame signal after DC removal The long-term steady-state energy, and then the first time domain frame signal after DC And the second time domain frame signal after DC removal Calculate FFT to obtain the frequency domain information of the two signals;

[0009] Step C, judging whether the long-term steady-state energy exceeds a first fixed threshold value, if not, directly setting the probability of occurrence of the first wind noise to 0, and no longer calculating the frequency domain correlation sequence in the frequency domain information of the two-way signal, if exceeding the first fixed threshold value, continuing to calculate the frequency point logarithmic energy difference in the frequency domain information of the two-way signal;

[0010] Step D, determining whether the frequency point logarithmic energy difference exceeds a second fixed threshold value, if not exceeding the second fixed threshold value, directly setting the probability of occurrence of the first wind noise to 0, and no longer calculating the frequency domain correlation sequence in the frequency domain information of the two-way signal; if exceeding the second fixed threshold value, continuing to calculate the average value of the frequency domain correlation sequence in the frequency domain information of the two-way signal;

[0011] Step E: limiting and clipping the average value of the frequency domain correlation sequence to obtain the probability of wind noise existence, and then processing the probability of wind noise existence through a first-order infinite impulse response filter to output the second wind noise occurrence probability.

[0012] The aforementioned low-complexity wind noise detection method for a digital hearing aid based on a joint criterion, step A, the first microphone continuous original signal collected by the first microphone The continuous original signal of the second microphone collected by the second microphone After framing, the DC offset components are removed to obtain the first time domain frame signal after DC removal. And the second time domain frame signal after DC removal , where a high-pass filter is used to remove the DC offset component after framing.

[0013] The aforementioned low-complexity wind noise detection method for digital hearing aids based on joint criteria, step B, calculates the first time domain frame signal after DC removal The long-term steady-state energy, and then the first time domain frame signal after DC And the second time domain frame signal after DC removal Calculate FFT to obtain the frequency domain information of the two signals. The specific steps are as follows:

[0014] Step B1, calculate the first time domain frame signal after DC removal The long-term steady-state energy is as follows:

[0015] Step B11, calculate the time domain signal energy of the mth frame As shown in formula (1),

[0016] (1)

[0017] in, is the number of samples per frame, is the square of the sampling value of the nth sample signal;

[0018] Step B12: Count the average energy of the historical N_Frame frame time domain signal at the mth frame As shown in formula (2),

[0019] (2)

[0020] in, is the time domain signal energy of the nth frame, The energy sum of the time domain signals from the m-N_Frame+1th frame to the mth frame, a total of N_Frame frames;

[0021] Step B13, update long-term steady-state energy , as shown in formula (3),

[0022] (3)

[0023] in, and is the smoothing coefficient for updating the long-term steady-state energy;

[0024] Step B2: the first time domain frame signal after DC And the second time domain frame signal after DC removal Calculate FFT to obtain the frequency domain information of the two signals, where the frequency domain information of the two signals includes a spectrum sequence and a power spectrum. The spectrum sequence is and , the power spectrum is and , and the power spectrum and The calculation process of is shown in formula (4) and formula (5).

[0025] (4)

[0026] (5).

[0027] The aforementioned low-complexity wind noise detection method for digital hearing aids based on joint criteria, step C, determines the long-term steady-state energy Whether it exceeds the first fixed threshold, if it does not exceed the first fixed threshold, the probability of the first wind noise occurring is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated; if it exceeds the first fixed threshold, the frequency point logarithmic energy difference in the frequency domain information of the two-way signal is continued to be calculated. The specific steps are as follows:

[0028] Step C1, if the long-term steady-state energy Does not exceed the first fixed threshold , then directly set the probability of the first wind noise occurring is 0, as shown in formula (6),

[0029] (6)

[0030] Step C2, if the long-term steady-state energy Exceeding the first fixed threshold , then continue to calculate the frequency point logarithmic energy difference in the frequency domain information of the two signals , where the frequency point logarithmic energy difference in the frequency domain information of the two signals is calculated by converting the power spectrum and After converting to logarithm, the difference is calculated, as shown in formula (7):

[0031] (7)

[0032] in, is the first frequency point number participating in the power spectrum summation, wherein the first frequency point number represents the number of low-frequency cutoff frequency points, is the number of second frequency points participating in the power spectrum summation, where the second frequency point number represents the number of high-frequency cutoff frequency points.

[0033] The aforementioned low-complexity wind noise detection method for digital hearing aids based on joint criteria, step D, determines the frequency point logarithmic energy difference Whether it exceeds the second fixed threshold, if it does not exceed the second fixed threshold, the probability of the first wind noise occurring is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated; if it exceeds the second fixed threshold, the average value of the frequency domain correlation sequence in the frequency domain information of the two-way signal is continued to be calculated. The specific steps are as follows:

[0034] Step D1: if it does not exceed the second fixed threshold , then directly set the probability of the first wind noise occurring is 0, as shown in formula (8),

[0035] (8);

[0036] Step D2: if the second fixed threshold is exceeded, the frequency correlation in the frequency domain information of the two channels of signals is continued to be calculated. The specific steps are as follows:

[0037] Step D21, according to the spectrum sequence and Calculate the frequency domain correlation sequence of two signals , as shown in formula (9),

[0038] (9)

[0039] Among them, * is conjugated;

[0040] Step D22, frequency domain correlation sequence Normalize and get the normalized frequency domain correlation sequence , as shown in formula (10),

[0041] (10);

[0042] Step D23, intercepting a portion of the normalized frequency domain correlation sequence And calculate the average value of the frequency domain correlation series , as shown in formula (11),

[0043] (11);

[0044] in, The number of frequency points intercepted to calculate the average value of the frequency domain correlation sequence.

[0045] In the aforementioned low-complexity wind noise detection method for digital hearing aids based on joint criteria, step E is to average the frequency domain correlation sequence. The wind noise existence probability is obtained by limiting and cutting, and then the wind noise existence probability is processed by a first-order infinite impulse response filter to output the second wind noise occurrence probability. , the specific steps are as follows,

[0046] Step E1, average the frequency domain correlation sequence Perform shearing, as shown in formula (12),

[0047] (12)

[0048] in, is the lower limit threshold of the average value of the preset frequency domain correlation sequence;

[0049] Step E2, average the frequency domain correlation sequence The limiting is performed as shown in formula (13):

[0050] (13)

[0051] in, is the upper threshold of the average value of the preset frequency domain correlation sequence;

[0052] Step E3: Process the wind noise existence probability through a first-order infinite impulse response filter and output the second wind noise occurrence probability , the probability of the second wind noise occurring is It is used to characterize the possibility of wind noise in the current environment. The transfer function of the first-order infinite impulse response filter is shown in formula (14):

[0053] (14)

[0054] in, and are constants, For the previous frame .

[0055] A low-complexity wind noise detection system for a digital hearing aid based on a joint criterion, comprising a signal framing and DC removal module, a signal calculation module, a first threshold judgment module, a second threshold judgment module and a wind noise output module, wherein the signal framing and DC removal module is used to frame a first microphone continuous original signal collected by a first microphone and a second microphone continuous original signal collected by a second microphone, and then remove the DC offset component respectively, to obtain a first time domain framed signal after DC removal and a second time domain framed signal after DC removal;

[0056] The signal calculation module is used to calculate the long-term steady-state energy of the first time domain frame signal after DC removal, and then calculate FFT on the first time domain frame signal after DC removal and the second time domain frame signal after DC removal to obtain frequency domain information of the two signals;

[0057] The first threshold judgment module is used to judge whether the long-term steady-state energy exceeds the first fixed threshold. If it does not exceed the first fixed threshold, the probability of wind noise occurrence is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated. If it exceeds the first fixed threshold, the frequency point logarithmic energy difference in the frequency domain information of the two-way signal continues to be calculated;

[0058] The second threshold judgment module is used to judge whether the frequency point logarithmic energy difference exceeds the second fixed threshold. If it does not exceed the second fixed threshold, the probability of wind noise occurrence is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated. If it exceeds the second fixed threshold, the average value of the frequency domain correlation sequence in the frequency domain information of the two-way signal continues to be calculated;

[0059] The wind noise output module is used to limit and cut the average value of the frequency domain correlation sequence to obtain the probability of wind noise existence, and then process the wind noise existence probability through a first-order infinite impulse response filter to output the wind noise occurrence probability.

[0060] The beneficial effect of the present invention is as follows: a low-complexity wind noise detection method and system for a digital hearing aid based on a joint criterion of the present invention, firstly, the continuous original signal of the first microphone collected by the first microphone and the continuous original signal of the second microphone collected by the second microphone are framed, and the DC offset component is removed respectively to obtain the first time domain framed signal after DC removal and the second time domain framed signal after DC removal, then the long-term steady-state energy of the first time domain framed signal after DC removal is calculated, and then the FFT of the first time domain framed signal after DC removal and the second time domain framed signal after DC removal is calculated to obtain the frequency domain information of the two signals, and then whether the long-term steady-state energy exceeds the first fixed threshold value is judged, if it does not exceed the first fixed threshold value, the probability of occurrence of the first wind noise is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two signals is no longer calculated, if it exceeds the first fixed threshold value, the frequency point logarithmic energy difference in the frequency domain information of the two signals is continued to be calculated, and then whether the frequency point logarithmic energy difference exceeds the second fixed threshold value is judged, if it does not exceed the second fixed threshold value , then the first wind noise occurrence probability is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated. If it exceeds the second fixed threshold, the frequency domain correlation sequence average value in the frequency domain information of the two-way signal is continued to be calculated, and finally the frequency domain correlation sequence average value is limited and clipped to obtain the wind noise existence probability, and then the wind noise existence probability is processed by a first-order infinite impulse response filter to output the second wind noise occurrence probability; the present invention realizes the function of detecting wind noise by calculating dual-microphone related information in different outdoor listening environments, and by calculating multiple statistics as a criterion for detecting wind noise, it can detect different degrees of wind noise in different environments, and the calculation process of controlling the dual-microphone information using the signal collected by a single microphone greatly reduces the calculation amount and complexity of the wind noise detection algorithm compared with the traditional dual-microphone wind noise detection algorithm, which is not only more suitable for the design of digital hearing aids, but also has good application prospects, and improves the robustness and efficiency of wind noise detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 It is a flow chart of a low-complexity wind noise detection method for a digital hearing aid based on a joint criterion of the present invention;

[0062] Figure 2 It is a comparison diagram of the original input signal and the output wind noise existence probability of wind noise detection in an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The present invention will be further described below in conjunction with the accompanying drawings.

[0064] like Figure 1 As shown, a low-complexity wind noise detection method and system for a digital hearing aid based on a joint criterion of the present invention comprises the following steps:

[0065] Step A, collecting the first microphone continuous original signal The continuous original signal of the second microphone collected by the second microphone After framing, the DC offset components are removed to obtain the first time domain frame signal after DC removal. And the second time domain frame signal after DC removal , where a high-pass filter is used to remove the DC offset component after framing.

[0066] Step B, calculate the first time domain frame signal after DC removal The long-term steady-state energy, and then the first time domain frame signal after DC And the second time domain frame signal after DC removal Calculate FFT to obtain the frequency domain information of the two signals. The specific steps are as follows:

[0067] Step B1, calculate the first time domain frame signal after DC removal The long-term steady-state energy is as follows:

[0068] Step B11, calculate the time domain signal energy of the mth frame As shown in formula (1),

[0069] (1)

[0070] in, is the number of samples per frame, is the square of the sampling value of the nth sample signal;

[0071] Step B12: Count the average energy of the historical N_Frame frame time domain signal at the mth frame As shown in formula (2),

[0072] (2)

[0073] in, is the time domain signal energy of the nth frame, The energy sum of the time domain signals from the m-N_Frame+1th frame to the mth frame, a total of N_Frame frames;

[0074] Step B13, update long-term steady-state energy , as shown in formula (3),

[0075] (3)

[0076] in, and is the smoothing coefficient for updating the long-term steady-state energy;

[0077] Step B2: the first time domain frame signal after DC And the second time domain frame signal after DC removal Calculate FFT to obtain the frequency domain information of the two signals, where the frequency domain information of the two signals includes a spectrum sequence and a power spectrum. The spectrum sequence is and , the power spectrum is and , and the power spectrum and The calculation process of is shown in formula (4) and formula (5).

[0078] (4)

[0079] (5).

[0080] Step C, determine the long-term steady-state energy Whether it exceeds the first fixed threshold, if it does not exceed the first fixed threshold, the probability of the first wind noise occurring is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated; if it exceeds the first fixed threshold, the frequency point logarithmic energy difference in the frequency domain information of the two-way signal is continued to be calculated. The specific steps are as follows:

[0081] Step C1, if the long-term steady-state energy Does not exceed the first fixed threshold , then directly set the probability of the first wind noise occurring is 0, as shown in formula (6),

[0082] (6)

[0083] Step C2, if the long-term steady-state energy Exceeding the first fixed threshold , then continue to calculate the frequency point logarithmic energy difference in the frequency domain information of the two signals , where the frequency point logarithmic energy difference in the frequency domain information of the two signals is calculated by converting the power spectrum and After converting to logarithm, the difference is calculated, as shown in formula (7):

[0084] (7)

[0085] in, is the first frequency point number participating in the power spectrum summation, wherein the first frequency point number represents the number of low-frequency cutoff frequency points, is the number of second frequency points participating in the power spectrum summation, where the second frequency point number represents the number of high-frequency cutoff frequency points.

[0086] Step D: Determine the frequency point logarithmic energy difference Whether it exceeds the second fixed threshold, if it does not exceed the second fixed threshold, the probability of the first wind noise occurring is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated; if it exceeds the second fixed threshold, the average value of the frequency domain correlation sequence in the frequency domain information of the two-way signal is continued to be calculated. The specific steps are as follows:

[0087] Step D1: if it does not exceed the second fixed threshold , then directly set the probability of the first wind noise occurring is 0, as shown in formula (8),

[0088] (8);

[0089] Step D2: if the second fixed threshold is exceeded, the frequency correlation in the frequency domain information of the two channels of signals is continued to be calculated. The specific steps are as follows:

[0090] Step D21, according to the spectrum sequence and Calculate the frequency domain correlation sequence of two signals , as shown in formula (9),

[0091] (9)

[0092] Among them, * is conjugated;

[0093] Step D22, frequency domain correlation sequence Normalize and get the normalized frequency domain correlation sequence , as shown in formula (10),

[0094] (10);

[0095] Step D23, intercepting a portion of the normalized frequency domain correlation sequence And calculate the average value of the frequency domain correlation series , as shown in formula (11),

[0096] (11);

[0097] in, The number of frequency points intercepted to calculate the average value of the frequency domain correlation sequence.

[0098] Step E: average the frequency domain correlation sequence The wind noise existence probability is obtained by limiting and cutting, and then the wind noise existence probability is processed by a first-order infinite impulse response filter to output the second wind noise occurrence probability. , the specific steps are as follows,

[0099] Step E1, average the frequency domain correlation sequence Perform shearing, as shown in formula (12),

[0100] (12)

[0101] in, is the lower limit threshold of the average value of the preset frequency domain correlation sequence;

[0102] Step E2, average the frequency domain correlation sequence Limiting is performed as shown in formula (13):

[0103] (13)

[0104] in, is the upper threshold of the average value of the preset frequency domain correlation sequence;

[0105] Step E3: Process the wind noise existence probability through a first-order infinite impulse response filter and output the second wind noise occurrence probability , the probability of the second wind noise occurring is It is used to characterize the possibility of wind noise in the current environment. The transfer function of the first-order infinite impulse response filter is shown in formula (14):

[0106] (14)

[0107] in, and are constants, For the previous frame .

[0108] A low-complexity wind noise detection system for a digital hearing aid based on a joint criterion, comprising a signal framing and DC removal module, a signal calculation module, a first threshold judgment module, a second threshold judgment module and a wind noise output module, wherein the signal framing and DC removal module is used to frame a first microphone continuous original signal collected by a first microphone and a second microphone continuous original signal collected by a second microphone, and then remove the DC offset component respectively, to obtain a first time domain framed signal after DC removal and a second time domain framed signal after DC removal;

[0109] The signal calculation module is used to calculate the long-term steady-state energy of the first time domain frame signal after DC removal, and then calculate FFT on the first time domain frame signal after DC removal and the second time domain frame signal after DC removal to obtain frequency domain information of the two signals;

[0110] The first threshold judgment module is used to judge whether the long-term steady-state energy exceeds the first fixed threshold. If it does not exceed the first fixed threshold, the probability of wind noise occurrence is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated. If it exceeds the first fixed threshold, the frequency point logarithmic energy difference in the frequency domain information of the two-way signal continues to be calculated;

[0111] The second threshold judgment module is used to judge whether the frequency point logarithmic energy difference exceeds the second fixed threshold. If it does not exceed the second fixed threshold, the probability of wind noise occurrence is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated. If it exceeds the second fixed threshold, the average value of the frequency domain correlation sequence in the frequency domain information of the two-way signal continues to be calculated;

[0112] The wind noise output module is used to limit and cut the average value of the frequency domain correlation sequence to obtain the probability of wind noise existence, and then process the wind noise existence probability through a first-order infinite impulse response filter to output the wind noise occurrence probability.

[0113] In order to further illustrate the use effect of the present invention, Figure 2 The figure shows a comparison diagram of the original input signal and the output wind noise existence probability of wind noise detection in an embodiment of the present invention. It can be seen from the figure that the upper channel is the input signal collected by one of the microphones, and the lower channel is the output wind noise existence probability; when there is no voice or wind noise at the beginning, the wind noise existence probability remains at 0. When wind noise of different intensities appears, the wind noise existence probability curve can follow and reflect whether wind noise exists in the current environmental state and the intensity of the detected wind noise, thereby achieving the purpose of detecting wind noise.

[0114] In summary, the present invention provides a low-complexity wind noise detection method and system for a digital hearing aid based on a joint criterion. First, the continuous original signal of the first microphone collected by the first microphone and the continuous original signal of the second microphone collected by the second microphone are framed, and the DC offset component is removed respectively to obtain the first time domain framed signal after DC removal and the second time domain framed signal after DC removal. Then, the long-term steady-state energy of the first time domain framed signal after DC removal is calculated, and then the FFT of the first time domain framed signal after DC removal and the second time domain framed signal after DC removal is calculated to obtain the frequency domain information of the two signals. Then, it is determined whether the long-term steady-state energy exceeds a first fixed threshold. If it does not exceed the first fixed threshold, the probability of occurrence of the first wind noise is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two signals is no longer calculated. If it exceeds the first fixed threshold, the frequency point logarithmic energy difference in the frequency domain information of the two signals is continued to be calculated, and then it is determined whether the frequency point logarithmic energy difference exceeds the second fixed threshold. If it does not exceed the second fixed threshold, Then, the first wind noise occurrence probability is set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated. If it exceeds the second fixed threshold, the average value of the frequency domain correlation sequence in the frequency domain information of the two-way signal is continued to be calculated. Finally, the average value of the frequency domain correlation sequence is limited and clipped to obtain the probability of wind noise existence. The probability of wind noise existence is then processed by a first-order infinite impulse response filter and then output as the second wind noise occurrence probability. The present invention realizes the function of detecting wind noise by calculating dual-microphone related information in different outdoor listening environments, and by calculating multiple statistics as a criterion for detecting wind noise, different degrees of wind noise can be detected in different environments. Compared with the traditional dual-microphone wind noise detection algorithm, the calculation process of controlling the dual-microphone information using the signal collected by a single microphone greatly reduces the calculation amount and complexity of the wind noise detection algorithm. It is not only more suitable for the design of digital hearing aids, but also has good application prospects, and improves the robustness and efficiency of wind noise detection.

[0115] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A low-complexity wind noise detection method for digital hearing aids based on joint criteria, characterized in that: The following steps are included: Step A: Frame the first microphone continuous original signal x1(t) collected by the first microphone and the second microphone continuous original signal x2(t) collected by the second microphone, and remove the DC offset component respectively to obtain the first time domain framed signal x after removing the DC. 11 (m) and the second time domain frame signal x after DC removal 21 (m); Step B, calculate the first time domain frame signal x after DC removal 11 (m) long-term steady-state energy, and then the first time domain frame signal x after DC removal 11 (m) and the second time domain frame signal x after DC removal 21 (m) Calculate FFT to obtain the frequency domain information of the two signals. The specific steps are as follows: Step B1, calculate the first time domain frame signal x after DC removal 11 (m) long-term steady-state energy, the specific steps are as follows, Step B11, calculate the time domain signal energy S of the mth frame 2 (m) As shown in formula (1), in, N is the number of samples per frame, is the square of the sampling value of the nth sample signal; Step B12: Count the average energy N of the historical N_Frame frame time domain signal at the mth frame. 2 (m) As shown in formula (2), Among them, S 2 (n) is the time domain signal energy of the nth frame, The energy sum of the time domain signals from the m-N_Frame+1th frame to the mth frame, a total of N_Frame frames; Step B13, update the long-term steady-state energy N_Long_Term(m), as shown in formula (3), N_Long_Term(m)=a1·N 2 (m)+a2·N 2 (m-1) (3) Among them, a1 and a2 are the smoothing coefficients for updating the long-term steady-state energy; Step B2: after removing DC, the first time domain frame signal x 11 (m) and the second time domain frame signal x after DC removal 21 (m) Calculate FFT to obtain the frequency domain information of the two-way signal, wherein the frequency domain information of the two-way signal includes a spectrum sequence and a power spectrum, and the spectrum sequence is X 11 (m,k) and X 21 (m,k), the power spectrum is P 11 (m,k) and P 21 (m,k), and the power spectrum P 11 (m,k) and P 21 The calculation process of (m,k) is shown in formula (4) and formula (5) respectively. P 11 (m,k)=||X 11 (m,k)|| 2 (4) P 21 (m,k)=||X 21 (m,k)|| 2 (5); Step C, judging whether the long-term steady-state energy exceeds a first fixed threshold value, if not, directly setting the probability of occurrence of the first wind noise to 0, and no longer calculating the frequency domain correlation sequence in the frequency domain information of the two-way signal, if exceeding the first fixed threshold value, continuing to calculate the frequency point logarithmic energy difference in the frequency domain information of the two-way signal; Step D, determining whether the frequency point logarithmic energy difference exceeds a second fixed threshold value, if not exceeding the second fixed threshold value, directly setting the probability of occurrence of the first wind noise to 0, and no longer calculating the frequency domain correlation sequence in the frequency domain information of the two-way signal; if exceeding the second fixed threshold value, continuing to calculate the average value of the frequency domain correlation sequence in the frequency domain information of the two-way signal; Step E: limiting and clipping the average value of the frequency domain correlation sequence to obtain the probability of wind noise existence, and then processing the probability of wind noise existence through a first-order infinite impulse response filter to output the second wind noise occurrence probability.

2. The low-complexity wind noise detection method for digital hearing aids based on joint criteria according to claim 1, characterized in that: Step A: Frame the first microphone continuous original signal x1(t) collected by the first microphone and the second microphone continuous original signal x2(t) collected by the second microphone, and remove the DC offset component respectively to obtain the first time domain framed signal x after removing the DC. 11 (m) and the second time domain frame signal x after DC removal 21 (m), where a high-pass filter is used to remove the DC offset component after framing.

3. The low-complexity wind noise detection method for digital hearing aids based on joint criteria according to claim 2, characterized in that: Step C, judging whether the long-term steady-state energy N_Long_Term(m) exceeds the first fixed threshold. If it does not exceed the first fixed threshold, the probability of occurrence of the first wind noise is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated. If it exceeds the first fixed threshold, the frequency point logarithmic energy difference in the frequency domain information of the two-way signal is continued to be calculated. The specific steps are as follows: Step C1: if the long-term steady-state energy N_Long_Term(m) does not exceed the first fixed threshold th_N_LT, the first wind noise occurrence probability P_Wind(m) is directly set to 0, as shown in formula (6), P_Wind(m)=0,if(N_Long_Term≤th_N_LT)(6) Step C2: If the long-term steady-state energy N_Long_Term(m) exceeds the first fixed threshold th_N_LT, continue to calculate the frequency point logarithmic energy difference E in the frequency domain information of the two signals. Δ , where the frequency point logarithmic energy difference in the frequency domain information of the two signals is calculated by converting the power spectrum P 11 (m,k) and P 21 (m, k) is converted to logarithm and then the difference is calculated, as shown in formula (7): in, N_L is the first frequency point number participating in the power spectrum summation, wherein the first frequency point number represents the number of low-frequency cutoff frequency points, N_H is the number of second frequency points participating in the power spectrum summation, where the second frequency point number represents the number of high-frequency cutoff frequency points.

4. The low-complexity wind noise detection method for digital hearing aids based on joint criteria according to claim 3, characterized in that: Step D: Determine the frequency point logarithmic energy difference E Δ Whether it exceeds the second fixed threshold, if it does not exceed the second fixed threshold, the probability of the first wind noise occurring is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated; if it exceeds the second fixed threshold, the average value of the frequency domain correlation sequence in the frequency domain information of the two-way signal is continued to be calculated. The specific steps are as follows: Step D1: If the second fixed threshold th_E is not exceeded, the first wind noise occurrence probability P_Wind(m) is directly set to 0, as shown in formula (8), P_Wind(m)=0,if(E Δ ≤th_E)(8); Step D2: if the second fixed threshold is exceeded, the frequency correlation in the frequency domain information of the two channels of signals is continued to be calculated. The specific steps are as follows: Step D21, according to the spectrum sequence X 11 (m,k) and X 21 (m, k) calculates the frequency domain correlation sequence C(m, k) of the two signals, as shown in formula (9), Among them, * is conjugated; Step D22, normalize the frequency domain correlation sequence C(m,k) and obtain the normalized frequency domain correlation sequence C norm (m,k), as shown in formula (10), Step D23, intercept a portion of the normalized frequency domain correlation sequence C norm (m,k) and calculate the frequency domain correlation sequence average P wind (m), as shown in formula (11), Among them, N c The number of frequency points intercepted to calculate the average value of the frequency domain correlation sequence.

5. The low-complexity wind noise detection method for digital hearing aids based on joint criteria according to claim 4, characterized in that: Step E: average value P of frequency domain correlation sequence wind (m) is limited and cut to obtain the probability of wind noise existence, and then the probability of wind noise existence is processed by a first-order infinite impulse response filter to output the second wind noise occurrence probability P wind_output (m), the specific steps are as follows: Step E1: average value P of frequency domain correlation sequence wind (m) is sheared, as shown in formula (12), P wind (m)=th_p_down,if(P wind (m)≤th_p_down)(12) Wherein, th_p_down is the lower limit threshold of the preset frequency domain correlation sequence average value; Step E2: average value P of frequency domain correlation sequence wind (m) is limited, as shown in formula (13), P wind (m)=th_p_up,if(P wind (m)≥th_p_up)(13) Wherein, th_p_up is the upper threshold of the preset frequency domain correlation sequence average value; Step E3: Process the wind noise existence probability through a first-order infinite impulse response filter and output a second wind noise occurrence probability P wind_output (m), the second wind noise occurrence probability P wind_output (m) is used to characterize the possibility of wind noise in the current environment, where the transfer function of the first-order infinite impulse response filter is shown in formula (14): P wind_output (m)=c1·P wind (m)+c2·P wind_output_last (m)(14) Among them, c1 and c2 are constants, P wind_output_last (m) is the P of the previous frame wind_output (m).

6. A digital hearing aid low-complexity wind noise detection system based on joint criterion, wherein the detection process of the digital hearing aid low-complexity wind noise detection system is based on the digital hearing aid low-complexity wind noise detection method according to any one of claims 1 to 5, characterized in that: It includes a signal framing and DC removal module, a signal calculation module, a first threshold judgment module, a second threshold judgment module and a wind noise output module, wherein the signal framing and DC removal module is used to remove the DC offset component of the first microphone continuous original signal collected by the first microphone and the second microphone continuous original signal collected by the second microphone after framing, so as to obtain a first time domain framed signal after DC removal and a second time domain framed signal after DC removal; The signal calculation module is used to calculate the long-term steady-state energy of the first time domain frame signal after DC removal, and then calculate FFT of the first time domain frame signal after DC removal and the second time domain frame signal after DC removal to obtain frequency domain information of the two signals; The first threshold judgment module is used to judge whether the long-term steady-state energy exceeds the first fixed threshold. If it does not exceed the first fixed threshold, the probability of wind noise occurrence is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated. If it exceeds the first fixed threshold, the frequency point logarithmic energy difference in the frequency domain information of the two-way signal continues to be calculated; The second threshold judgment module is used to judge whether the frequency point logarithmic energy difference exceeds the second fixed threshold. If it does not exceed the second fixed threshold, the probability of wind noise occurrence is directly set to 0, and the frequency domain correlation sequence in the frequency domain information of the two-way signal is no longer calculated. If it exceeds the second fixed threshold, the average value of the frequency domain correlation sequence in the frequency domain information of the two-way signal continues to be calculated; The wind noise output module is used to limit and cut the average value of the frequency domain correlation sequence to obtain the probability of wind noise existence, and then process the wind noise existence probability through a first-order infinite impulse response filter to output the wind noise occurrence probability.

Citation Information

Patent Citations

  • Time-domain self-adaptive speech detection method based on dynamic noise estimation

    CN106098076A

  • Wind noise detection method and wind noise detection device

    CN112037806A