Active noise reduction system, control method of active noise reduction system, abnormal noise detection method and abnormal noise detection device

Through Fourier transform and difference threshold detection, the stable single-frequency noise problem in the active noise reduction system is identified and solved, and the detection accuracy and stability of the system are improved.

CN118840993AActive Publication Date: 2024-10-25NINGBO FOTILE KITCHEN WARE CO LTD

Patent Information

Application Number
CN202411082892.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-25
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

Existing active noise reduction systems are prone to howling when the feedback signal is greater than the noise signal, and cannot effectively identify stable single-frequency noise, causing the system to fail to work properly.

Method used

By performing Fourier transform on the noise signal during the operation of the active noise reduction system, the total amplitude of the spectrum power and the noise peak value are determined, and abnormal sound detection is performed based on the difference threshold to identify stable single-frequency abnormal sounds and restart the system to solve the problem. .

Benefits of technology

It improves the abnormal sound detection accuracy of the active noise reduction system, avoids the generation of howling and stable single-frequency abnormal sounds, and ensures the normal operation of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118840993A_ABST
    Figure CN118840993A_ABST
Patent Text Reader

Abstract

The invention provides an active noise reduction system and a control method thereof, and an abnormal sound detection method and device. The abnormal sound detection method comprises the following steps: acquiring a first noise signal in the operation process of the active noise reduction system; the first noise signal comprises a noise signal of a noise source collected by a microphone and / or a control signal of the loudspeaker; fourier transform is carried out on the first noise signal, and a total frequency spectrum power amplitude and a noise peak value of the first noise signal are determined according to a Fourier transform result; and determining that the active noise reduction system has stable single-frequency abnormal noise in response to the fact that the difference between the total amplitude of the spectrum power and the filtering power is greater than or equal to a difference threshold. According to the method and the device, the spectral power total amplitude and the noise peak value related to the abnormal sound in the first noise signal are determined by performing spectral analysis on the first noise signal, so that the abnormal sound can be accurately identified according to the spectral power total amplitude and the noise peak value, and the abnormal sound detection accuracy of the active noise reduction system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of active noise reduction, and in particular to an active noise reduction system and a control method thereof, and an abnormal sound detection method and device. Background Art

[0002] In the active noise reduction system, the noise reduction system uses the superposition interference effect of the loudspeaker control signal (anti-phase noise) generated according to the input signal (including the collected noise signal and feedback signal) and the noise signal to achieve the purpose of noise reduction by reducing the noise signal. However, in this process, when the feedback signal is greater than the noise signal, a howling phenomenon will occur. Even if the feedback signal is less than the noise signal, when the ratio of the feedback signal to the noise signal is greater than a threshold, some stable single-frequency abnormal sounds will still be emitted. The amplitude of these stable single-frequency abnormal sounds is much smaller than the noise during howling, and there is no obvious difference in the amplitude of the loudspeaker control signal generated when there is a stable single-frequency abnormal sound and the control signal generated when the system is working normally. Therefore, the traditional howling monitoring schemes based on the amplitude of the loudspeaker control signal in the prior art cannot effectively identify this stable single-frequency abnormal sound phenomenon. Summary of the invention

[0003] The technical problem to be solved by the present disclosure is to overcome the above-mentioned defects in the prior art and to provide an active noise reduction system and a control method thereof, and an abnormal sound detection method and device.

[0004] The present invention solves the above technical problems through the following technical solutions:

[0005] In a first aspect, a method for detecting an abnormal sound is provided, which is applied to an active noise reduction system, wherein the active noise reduction system includes a microphone and a speaker; the method for detecting an abnormal sound includes:

[0006] Acquire a first noise signal during the operation of the active noise reduction system; the first noise signal includes a noise signal of a noise source collected by the microphone and / or a control signal of the speaker;

[0007] Performing Fourier transform on the first noise signal, and determining a total spectral power amplitude and a noise peak value of the first noise signal according to the Fourier transform result;

[0008] The active noise reduction system is subjected to abnormal sound detection according to the total spectrum power amplitude and the noise peak value.

[0009] Optionally, performing abnormal sound detection on the active noise reduction system according to the total spectrum power amplitude and the noise peak value includes:

[0010] In response to a difference between the total amplitude of the spectrum power and the noise peak being less than a difference threshold, determining that a stable single-frequency abnormal sound exists in the active noise reduction system;

[0011] The difference threshold is determined by:

[0012] Acquire abnormal samples and normal samples; the abnormal samples are noise signals containing abnormal sounds, and the normal samples are noise signals not containing abnormal sounds;

[0013] Constructing an objective function; the objective function is constructed according to at least one of the following parameters: the number of missed detections of abnormal samples, the number of false detections of normal samples, the percentage of missed detections of abnormal samples, and the percentage of false detections of normal samples;

[0014] The objective function is optimized within a preset optimization range of the difference threshold to determine a final difference threshold.

[0015] Optionally, the preset optimization range is [1dB, 10dB];

[0016] And / or, the optimization algorithm includes at least one of the following algorithms: genetic algorithm, simulated annealing algorithm, particle swarm algorithm, Bayesian optimization algorithm, hill climbing algorithm;

[0017] And / or, the objective function is the ratio of the number of anomalies to the total number of samples, and the number of anomalies is the sum of the number of missed detections of the abnormal samples and the number of false detections of normal samples.

[0018] Optionally, if the frequency spectrum of the first noise signal includes at least two peaks, the largest peak is determined as the noise peak.

[0019] Optionally, determining the total spectral power amplitude and the noise peak value of the first noise signal according to the Fourier transform result includes: performing A-weighting processing on the Fourier transform result, and determining the total spectral power amplitude and the noise peak value of the first noise signal according to the A-weighting processing result;

[0020] And / or, dividing the Fourier transform result into at least two noise segments, and determining the total spectrum power amplitude and the noise peak value according to the integration of each noise segment;

[0021] And / or, in response to the difference between the total amplitude of the spectral power and the noise peak being less than a difference threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound, including: in response to the difference between the total amplitude of the spectral power and the noise peak being less than the difference threshold and the number of occurrences being greater than a number threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound.

[0022] Optionally, before obtaining the first noise signal during the operation of the active noise reduction system, the method further includes:

[0023] When the active noise reduction system is not started, obtaining a second noise signal from a noise source;

[0024] Performing segmentation processing on the second noise signal so that the power proportion of each noise segment of the second noise signal is less than a proportion threshold, and determining a segmentation strategy for the second noise signal;

[0025] Performing Fourier transform on the first noise signal includes:

[0026] The first noise signal is processed in segments according to the segmentation strategy, and Fourier transform is performed on the noise segments obtained by segmentation.

[0027] Optionally, before obtaining the first noise signal during the operation of the active noise reduction system, the method further includes:

[0028] When the active noise reduction system is not started, obtaining a second noise signal from a noise source;

[0029] performing octave calculation on the second noise signal to determine a segmentation strategy matching the second noise signal;

[0030] Segmenting the second noise signal according to the segmentation strategy, and calculating the characteristic value of each noise segment of the second noise signal; the characteristic value includes power and / or decibel value;

[0031] Determine a target gain of a first target noise segment whose characteristic value is greater than a characteristic value threshold; after filtering the first target noise segment with a bandpass filter of the target gain, the characteristic value of the first target noise segment is less than or equal to the characteristic value threshold;

[0032] Performing Fourier transform on the first noise signal includes:

[0033] The first noise signal is segmented to obtain at least two noise segments, and a bandpass filter with a target gain is used to filter a second target noise segment contained in the first noise signal, and Fourier transform is performed on the segmented noise segments and the filtered noise segments in the first noise signal respectively; wherein a frequency band of the second target noise segment includes a frequency band of the first target noise segment.

[0034] In a second aspect, a control method for an active noise reduction system is provided, comprising:

[0035] Performing abnormal sound detection on the active noise reduction system according to the abnormal sound detection method described in any one of the first aspects;

[0036] In response to the presence of a stable single-frequency abnormal sound in the active noise reduction system, the active noise reduction system is restarted.

[0037] In a third aspect, an abnormal sound detection device is provided, which is applied to an active noise reduction system, wherein the active noise reduction system includes a microphone and a speaker; the abnormal sound detection device is used to implement the abnormal sound detection method described in any one of the first aspects; the abnormal sound detection method includes:

[0038] An acquisition module, used to acquire a first noise signal during the operation of the active noise reduction system; the first noise signal is a noise signal of a noise source collected by the microphone or a control signal of the speaker;

[0039] a determination module, configured to perform Fourier transform on the first noise signal, and determine a total spectral power amplitude and a noise peak value of the first noise signal according to the Fourier transform result;

[0040] The detection module is used to determine that a stable single-frequency abnormal sound exists in the active noise reduction system in response to a difference between the total amplitude of the spectrum power and the noise peak being less than a difference threshold.

[0041] In a fourth aspect, an active noise reduction system is provided, comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein when the processor executes the computer program, the method described in any one of the first aspect or the second aspect is implemented.

[0042] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.

[0043] The positive progressive effect of the present disclosure is that the present disclosure determines the total spectrum power amplitude and noise peak value related to the abnormal sound in the first noise signal by performing spectrum analysis on the first noise signal, and then accurately identifies the abnormal sound based on the total spectrum power amplitude and noise peak value, thereby improving the abnormal sound detection accuracy of the active noise reduction system. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A flowchart of a method for detecting abnormal sound provided by an exemplary embodiment of the present disclosure;

[0045] Figure 2 A schematic diagram of a frequency domain curve of a stable single-frequency abnormal sound, howling, and normal noise provided by an exemplary embodiment of the present disclosure;

[0046] Figure 3 A schematic diagram of a time domain power curve of a stable single-frequency abnormal sound, howling, and normal noise provided by an exemplary embodiment of the present disclosure;

[0047] Figure 4 A flowchart of optimizing a difference threshold in a method for detecting abnormal sounds provided by an exemplary embodiment of the present disclosure;

[0048] Figure 5A schematic diagram comparing the curve effects of an abnormal sound detection method with and without A-weighting processing provided by an exemplary embodiment of the present disclosure;

[0049] Figure 6 A flowchart of another abnormal sound detection method provided by an exemplary embodiment of the present disclosure;

[0050] Figure 7 A flowchart of another abnormal sound detection method provided by an exemplary embodiment of the present disclosure;

[0051] Figure 8 A schematic diagram of a module of an abnormal sound detection device provided by an exemplary embodiment of the present disclosure;

[0052] Fig. 9 A schematic diagram of a module of an active noise reduction system provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0053] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.

[0054] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.

[0055] Figure 1 A flowchart of an unusual sound detection method provided by an exemplary embodiment of the present disclosure is provided. The unusual sound detection method is applied to an active noise reduction system, and the active noise reduction system includes devices such as a nearby microphone, a speaker, and a controller.

[0056] The abnormal sound detected in the embodiment of the present disclosure refers to an abnormal sound emitted by the speaker of the active noise reduction system due to some faults or interference when the active noise reduction system is working / running, which affects the user experience. The abnormal sound includes howling and stable single-frequency abnormal sound (or stable single-frequency sound).

[0057] The characteristics of howling caused by active noise reduction are: Figure 2 and Figure 3There is a prominent peak in the noise spectrum. The amplitude of the highest point of the peak is significantly higher than the adjacent frequency, and the peak is generally much larger than the peak of the stable single-frequency abnormal sound, accounting for a large proportion of the overall noise power. From the beginning of the howling, its power amplitude in the time domain gradually increases from small to large. The ratio of the maximum power to the minimum power is generally more than 5 times, and the amplitude is generally close to or even exceeds the maximum sound power of the speaker itself. Figure 2 The second to fifth columns of the table refer to the amplitudes (power) at 94.28 Hz, 108.75 Hz, 0 Hz and 6000 Hz respectively, and the RMS data in the sixth column refers to the root mean square value of the amplitude from 0 to 6000 Hz.

[0058] Different from howling, the characteristics of stable single-frequency noise / stable single-frequency sound are: there is a prominent peak in the noise spectrum, the amplitude of the highest point of the peak (noise peak) is higher than the amplitude corresponding to the adjacent frequency, and the power of the peak accounts for a small proportion of the total noise power, that is, the power of the peak accounts for a proportion of the total noise power that is less than or equal to the power threshold, where the power threshold is calibrated according to experimental data. Figure 2 As shown by the blue curve, the peak bandwidth does not exceed 50Hz. Figure 3 When a stable single-frequency abnormal sound is generated, its power amplitude in the time domain is relatively stable, the power changes little, the ratio of maximum power to minimum power will not exceed 3 times, and the amplitude is generally much smaller than the maximum sound power of the speaker itself. Figure 3 The left ordinate represents the power amplitude, and the right ordinate represents the sound pressure amplitude, and the two can be converted into each other.

[0059] The embodiment of the present disclosure mainly detects whether a stable single-frequency abnormal sound occurs in the active noise reduction system. The embodiment of the present disclosure mainly detects whether a stable single-frequency abnormal sound occurs in the active noise reduction system.

[0060] See also Figure 1 , the abnormal sound detection method comprises the following steps:

[0061] Step 101: Acquire a first noise signal during the operation of an active noise reduction system.

[0062] The first noise signal can be a noise signal emitted by a noise source collected by the first microphone. The noise signal emitted by the noise source is subsequently used as the basic data for abnormal sound detection. The first microphone is deployed near the noise source. It should be noted that the first noise signal can be the collection result of one first microphone, or it can be a combination of the collection results of multiple first microphones. At this time, the first noise signal collected by the first microphone is the superposition result of the original noise signal emitted by the noise source and the feedback signal.

[0063] The active noise reduction system can be used to reduce the noise of appliances such as range hoods and washing machines. Taking the noise reduction of a range hood as an example, the noise source can be, for example, a fan of the range hood, and the first microphone for collecting noise signals is deployed near the fan.

[0064] The first noise signal can be a control signal of a speaker, which is then used as basic data for abnormal sound detection. It should be noted that the control signal of the speaker can be obtained directly by obtaining the output result of the controller, or it can be collected by a second microphone deployed near the speaker included in the active noise reduction system. The first noise signal can be a control signal of one speaker, or a combination of control signals of multiple speakers.

[0065] The first noise signal may also be a combination of a noise signal of a noise source and a control signal of a speaker. The specific combination is not particularly limited in the embodiment of the present disclosure.

[0066] In one embodiment, the first noise signal meets the sampling frequency requirements, total sampling time requirements, etc. of the Fourier transform processing. For example, the sampling frequency f s ≥2f U , where f U The highest analysis frequency of the active noise reduction system during the noise signal acquisition process (e.g. 12800Hz), which is greater than or equal to the highest frequency f at which abnormal sound may occur. ANC For example, the frequencies of abnormal sound may be 700Hz, 800Hz and 900Hz. ANC is 900Hz, f U ≥900Hz. Total sampling time T≥ single Fourier transform time T FFT . T FFT It is determined by the frequency resolution Δf required for abnormal sound detection, Δf≤100 Hz. Preferably, Δf≤20 Hz.

[0067] Among them, the maximum analysis frequency of active noise reduction refers to the target control frequency of active noise reduction. Active noise reduction only analyzes noise in a certain frequency range and does not control noise that is not in the corresponding frequency range. The maximum analysis frequency of active noise reduction control ranges from [600Hz, 2000Hz]. Preferably, the maximum analysis frequency of active noise reduction control is [600Hz, 1000Hz].

[0068] For example, in a scenario where the active noise reduction system is used to reduce the noise of a range hood, the noise of the range hood is distributed between 0 and 20,000 Hz, while the frequency range of the analysis frequency of the active noise reduction may be only 0 to 1,000 Hz. Correspondingly, the abnormal sound caused by the active noise reduction system can only be between 0 and 1,000 Hz, so it is sufficient to set the maximum analysis frequency of the active noise reduction to 1,000 Hz.

[0069] In one embodiment, the first noise signal during the operation of the active noise reduction system is obtained at a target sampling frequency. The target sampling frequency is determined according to the abnormal sound frequency and / or the computing power of the analysis device of the first noise signal; the abnormal sound frequency is determined according to the noise sample containing the abnormal sound. The noise sample can be obtained through experiments, or it can be obtained by superimposing the abnormal sound on the noise sample without the abnormal sound. The analysis device of the first noise signal is also a device that analyzes the first noise signal to realize the abnormal sound detection, for example, it can be an active noise reduction chip.

[0070] Here is a way to determine the target sampling frequency:

[0071] Method for determining the minimum value of the target sampling frequency: By analyzing the noise samples containing abnormal sounds, it can be seen that the maximum frequency of abnormal sounds (abnormal sound frequency) is generally f ANC According to the Nyquist sampling theorem, in order to avoid aliasing, the target sampling frequency should be at least twice the frequency of the aliasing tone. Therefore, the minimum value of the target sampling frequency is f s_min =2f ANC .

[0072] Method for determining the maximum value of the sampling frequency: Analyzing the first noise signal includes performing Fourier transform on the first noise signal. The computing power of the analysis device can be characterized by the number of data points of the first noise signal each time the Fourier transform is performed. The maximum value of the target sampling frequency can be obtained by inferring the maximum computing power. Assume that the number of data points allowed to be transformed by the analysis device in one Fourier transform is N, the time of one Fourier transform is 1 / Δf, and the sampling frequency f s Indicates sampling per second s data points, so the number of data points allowed to be transformed by a Fourier transform is f s 1 / Δf, that is, N = f s 1 / Δf, assuming that the maximum computing power of the analysis device is N, and the maximum number of data points per Fourier transform is N max , we can get f s_max =N max ·Δf.

[0073] Therefore, the target sampling frequency f of the first noise signal is s_res The value range is [f s_min , f s_max ]. In the related art, in order to improve the control accuracy of active noise reduction, the original signal collected by the active noise reduction controller has a higher sampling frequency f s , usually f s In this embodiment, the target sampling frequency f is less than 12000 Hz. s_res A first noise signal is obtained.

[0074] In this embodiment, the first noise signal is obtained at a target sampling frequency determined according to the computing power of the analysis device of the abnormal sound frequency and / or the first noise signal, as the data basis for abnormal sound detection. On the one hand, it can provide a data basis that conforms to the abnormal sound characteristics for subsequent steps, eliminate interference, and thus improve the accuracy of abnormal sound detection; on the other hand, the first noise signal obtained at the target sampling frequency eliminates the interference signal and reduces the amount of data analysis, thereby being able to improve the abnormal sound detection rate and meet the timeliness requirements.

[0075] Step 102: Perform Fourier transform on the first noise signal, and determine the total spectrum power amplitude and noise peak value of the first noise signal according to the Fourier transform result.

[0076] The first noise signal is subjected to Fourier transform to obtain the spectrum data of the first noise signal (Fourier transform result). By analyzing the spectrum data, it is found that when howling and stable single-frequency abnormal sound occur, there is a signal peak value on the spectrum that is significantly higher than the surrounding frequency, such as Figure 3 The peak value near 95Hz of the red dotted line and the peak value near 109Hz of the blue thin solid line are shown. Through filtering and playback, it is found that the noise corresponding to the peak frequency is the sound that produces howling and stable single-frequency abnormal sound. The normal signal ( Figure 3 There is no obvious abrupt noise peak in the middle green thick solid line, so the spectrum analysis of the first noise signal can accurately identify the abnormal sound.

[0077] In one embodiment, in order to increase the algorithm rate, a fast Fourier transform (FFT) is used to perform Fourier transform on the first noise signal.

[0078] In one embodiment, the number of signal data points processed by one FFT is selected according to T FFT / f s_res The value is close to 2 N , N is a positive integer, and the selected N is guaranteed to satisfy 2 N ≥T FFT / f s_res The final spectrum data D FFT Select the result of one FFT, or the power average of multiple FFT results. The total amplitude of the spectrum power is D FFT The total power E A The maximum peak value E in the spectrum P It is the maximum value of the entire FFT spectrum analysis data.

[0079] In one embodiment, if the frequency spectrum of the first noise signal includes at least two peaks, the largest peak is determined as the noise peak.

[0080] In one embodiment, the first noise signal is Fourier transformed at a target frequency resolution. The target frequency resolution is obtained by optimization, and the optimization goal is to accurately identify the abnormal sound and minimize the calculation amount of the abnormal sound detection.

[0081] The so-called accurate recognition of abnormal sounds means that the recognition accuracy is greater than the accuracy threshold and / or the false recognition rate is less than or equal to the false recognition threshold. Among them, the accuracy threshold and the false recognition threshold can be set according to actual conditions.

[0082] The frequency resolution determines the amount of calculation for the abnormal sound detection process. When the frequency resolution is 1Hz, it means that Fourier transform is performed every 1s. Assuming that the amount of calculation each time is K1, when the frequency resolution is increased to 4Hz, it means that Fourier transform is performed every 1 / 4s. At this time, the amount of calculation each time is K2, the amount of data within 1 / 4s, K1=4·K2. The frequency resolution of 4Hz reduces the amount of data by 4 times compared with the frequency resolution of 1Hz, which greatly speeds up the calculation speed of abnormal sound detection. The following table shows the relevant parameters of Fourier transform under different frequency resolutions when the test time is 4s and the frequency is 0-100Hz. It can be seen that the total number of calculations within 4s within 0-100Hz is the same, but the amount of calculation of each Fourier transform is different. It can be concluded from the table that as the frequency resolution increases, the amount of data for each Fourier transform decreases.

[0083]

[0084] In addition, as the frequency resolution increases, the amplitude of the amplitude-frequency diagram after Fourier transform will increase. That is to say, when the frequency resolution increases, the number of spectral lines decreases, and the power of each spectral line is the sum of the powers of the spectral lines before the frequency resolution increase.

[0085] In this embodiment, the spectrum analysis of the first noise signal is performed according to the target frequency resolution obtained by optimization. On the one hand, it can provide a data basis that conforms to the characteristics of the abnormal sound, eliminate interference, and thus improve the accuracy of abnormal sound detection; on the other hand, the spectrum analysis of the first noise signal is performed at the target frequency resolution, and the calculation amount of the abnormal sound detection is minimized, thereby being able to improve the abnormal sound detection rate and meet the timeliness requirements.

[0086] In one embodiment, the step of determining the target frequency resolution includes: acquiring abnormal samples, iteratively updating the frequency resolution, and determining the frequency resolution corresponding to the detection of abnormal sounds of the abnormal samples with the minimum calculation amount as the target frequency resolution.

[0087] The abnormal sample is a noise signal containing an abnormal sound. The abnormal sample can be collected through experiments, or can be the result of superimposing a normal sample (a noise signal without an abnormal sound) and an abnormal sound.

[0088] In one embodiment, the optimization algorithm may include, but is not limited to, at least one of the following algorithms: a genetic algorithm, a simulated annealing algorithm, a particle swarm algorithm, a Bayesian optimization algorithm, and a hill climbing algorithm.

[0089] The following example further illustrates the process of determining the target frequency resolution:

[0090] Based on the abnormal sound samples, the frequency band where the abnormal sound occurs is known, such as the existence of stable single-frequency abnormal sounds at frequencies fa, fb, and fc in the abnormal sound samples.

[0091] S1. Assuming that the initial frequency resolution is 1 Hz, after increasing the frequency resolution to 32 Hz, perform FFT on the abnormal sound samples and perform abnormal sound detection based on FFT.

[0092] S2. If the frequency resolution of 32Hz can accurately identify the presence of stable single-frequency abnormal sounds in the abnormal sound samples at fa, fb, and fc, it means that increasing the frequency resolution to 32Hz is sufficient to determine the abnormal sounds. If the frequency resolution of 32Hz cannot accurately identify the abnormal sounds at all frequencies fa, fb, and fc in the abnormal sound samples and / or there are misjudgments (for example, other frequencies are identified as abnormal sounds), it means that although increasing the frequency resolution to 32Hz reduces the amount of calculation, it is not enough to determine all the abnormal sound points at this time, and the frequency resolution needs to be lowered.

[0093] S3. If the frequency resolution is sufficient to determine the abnormal sound, select 32 Hz as the frequency resolution and determine the corresponding calculation amount. At this time, the calculation amount has been reduced to 1 / 32 compared with the initial calculation amount when the frequency resolution is 1 Hz. If the frequency resolution is not sufficient to determine all active noise reduction abnormal sound points, continue to repeat step 2 until the frequency resolution that accurately identifies the abnormal sound and minimizes the calculation amount of the abnormal sound detection is found.

[0094] Step 103: In response to the difference between the total spectrum power amplitude and the filter power being greater than or equal to the difference threshold, it is determined that the active noise reduction system has a stable single-frequency abnormal sound; wherein the filter power is the result of filtering out the noise peak from the total spectrum power amplitude.

[0095] In this embodiment, by performing spectral analysis on the first noise signal, the total spectral power amplitude and noise peak value related to the abnormal sound in the first noise signal are determined, and then the abnormal sound can be accurately identified based on the total spectral power amplitude and noise peak value, thereby improving the abnormal sound detection accuracy of the active noise reduction system.

[0096] In one embodiment, in response to the difference between the total amplitude of the spectrum power and the noise peak being less than a difference threshold, it is determined that a stable single-frequency alien sound exists in the active noise reduction system.

[0097] The difference threshold may be an empirical value, such as 4 dB. When the active noise reduction system is working, if the total amplitude of the spectrum power E of the first noise signal is measuredA The first noise signal is composed of the sum of all sound sources at frequencies between 0 and 6000 Hz. Through spectrum analysis, the maximum peak in the spectrum appears at 500 Hz, and its size noise peak E P is 62dB(A). A and E P Convert dB to success rate respectively, 65dB: power 1 = 10 (0.1*65) =3162277; 62dB: Power 2 = 10 (0.1*62) =1584893; Power 2 / Power 1≈0.5=50%. At this time, the sound at a frequency of 500Hz accounts for 50% of the total amplitude of the spectrum power, and the power of other sound frequencies combined only accounts for 50%. Therefore, in the spectrum of this sound, the sound at 500Hz is obviously louder than the sounds of other frequencies. At this time, the active noise reduction system will emit a very unpleasant single-frequency sound, that is, an abnormal sound. If the sound is measured in dB, then E A -E P =65-62=3dB<ΔE PT , determine the existence of a stable single-frequency abnormal sound.

[0098] The difference threshold can also be dynamically selected according to the actual situation to improve the accuracy of abnormal sound detection. The following is a possible way to dynamically select the difference threshold. Figure 4 , the difference threshold is determined by:

[0099] Step 100-11: Obtain abnormal signal samples and normal samples.

[0100] The abnormal sample is a noise signal containing abnormal sound, and the normal sample is a noise signal without abnormal sound. The abnormal sample can be collected through experiments, or it can be the result of superimposing a normal sample with a noise signal that matches the frequency and amplitude of the abnormal sound.

[0101] The number of abnormal samples and normal samples can be set according to actual needs. It can be understood that the larger the number of samples, the better the difference threshold optimization can be performed.

[0102] Step 100-12: Construct the objective function.

[0103] The objective function is constructed based on at least one of the following parameters: the number of missed abnormal samples, the number of falsely detected normal samples, the percentage of missed abnormal samples, and the percentage of falsely detected normal samples.

[0104] The design principle of the objective function is to find a combination of judgment parameters and values ​​so that the difference threshold obtained by optimization can detect all abnormal sounds, while normal signals are not mistakenly judged as abnormal sounds, and at the same time have good robustness. The objective function of parameter optimization can be set as: (1) (number of missed abnormal samples + number of false normal samples) / total number of samples. In this case, the smaller the objective function, the better; (2) (abnormal sound judgment strength of normal samples) / (abnormal sound judgment strength of abnormal signals). In this case, the smaller the objective function, the better.

[0105] Among them, the abnormal sound judgment strength = abnormal sample / normal sample conforms to the degree of abnormal sound judgment. If the total abnormal sound threshold is 100, and above 100 is an abnormal sound, then if the value of the normal sample is 30, the abnormal sound strength is 0.3, which is the abnormal sound judgment strength of the normal sample. The smaller the value, the farther the normal sound is from the standard of the abnormal sound, the greater the probability of the normal sound, and the higher the accuracy of the detection algorithm. If the value of the abnormal sound sample is 200, the abnormal sound strength is 2, which is the abnormal sound judgment strength of the abnormal signal. The larger the value, the more likely this sound is an abnormal sound, the greater the probability of it being an abnormal sound, and the higher the accuracy of the detection algorithm. Therefore, the smaller the value of (normal sample abnormal sound judgment strength) / (abnormal signal abnormal sound judgment strength), the higher the accuracy of the detection algorithm, and the better the corresponding parameter combination for detection.

[0106] The strength of abnormal sound determination can also be defined in other ways, for example: the strength of abnormal sound determination of normal samples = the number of normal samples mistakenly determined as abnormal sounds / the total number of normal samples; the strength of abnormal sound determination of abnormal signals = the number of abnormal samples accurately determined as abnormal sounds / the total number of abnormal samples.

[0107] In addition to the above objective function, other similar calculation formulas that conform to the objective function design principles may also be used, and the embodiments of the present disclosure are not particularly limited thereto.

[0108] Step 100-13: Optimize the objective function within the preset optimization range of the difference threshold to determine the final difference threshold.

[0109] In one embodiment, the preset optimization range is [1dB, 10dB], that is, the difference threshold searches for the optimal solution in [1dB, 10dB] so that the objective function is minimized.

[0110] In this embodiment, an optimization range of the difference threshold is provided so that the optimization meets the physical characteristics of certain abnormal sounds, which can improve the optimization accuracy and optimization efficiency.

[0111] In one embodiment, the optimization algorithm includes at least one of the following algorithms: genetic algorithm, simulated annealing algorithm, particle swarm algorithm, Bayesian optimization algorithm, and hill climbing algorithm.

[0112] In one embodiment, in response to the ratio of the first decibel value to the second decibel value being less than a ratio threshold, it is determined that the active noise reduction system has a stable single-frequency abnormal sound. The first decibel value is the dB conversion result of the total amplitude of the spectrum power, and the second decibel value is the dB conversion result of the noise peak.

[0113] Similar to the difference threshold, the ratio threshold ΔE PT It can be an empirical value. If the first decibel value of the total amplitude of the spectrum power is 3.16×10 6 The second decibel value of the noise peak is 1.58×10 6 , then E A / E P =3.16×10 6 / 1.58×10 6 =2<ΔE PT , determine the existence of a stable single-frequency abnormal sound.

[0114] This embodiment provides another judgment condition for abnormal sound detection, in which the ratio threshold can be dynamically selected through target optimization to improve the accuracy of abnormal sound detection. The target optimization process of the ratio threshold is similar to that of the difference threshold, which will not be repeated here.

[0115] In one embodiment, the step of determining the total spectral power amplitude and the noise peak value of the first noise signal according to the Fourier transform result includes: performing A-weighting processing on the Fourier transform result, and determining the total spectral power amplitude and the noise peak value of the first noise signal according to the A-weighting processing result.

[0116] At present, the definition of abnormal sound is mainly based on people's subjective feelings. Therefore, although some frequencies are loud, they can still be ignored if the human ear is not sensitive to the sound in this frequency band (such as low-frequency sound). In the abnormal sound detection process, the Fourier transform result of the first noise signal is first A-weighted based on the sensitivity of the human ear, and then the A-weighted processing result is used for abnormal sound detection. Since A-weighting can better reflect the auditory perception of the human ear, this detection method is easier to detect the real abnormal sound, with better detection effect, and more in line with the user's perception and judgment of abnormal sound.

[0117] See also Figure 5 , the green solid line is the spectrum of the first noise signal without A-weighting, in which there are many low-frequency components below 100 Hz that are insensitive to human ears. The sound signal of the first noise signal after A-weighting is as follows Figure 5 As shown by the red dotted line in the middle, the proportion of the total power of the low-frequency components that the human ear is not sensitive to has decreased. After using A-weighting, the abnormal sound detection is more accurate and more in line with the perception of the human ear.

[0118] In one embodiment, the abnormal sound is detected by multiple judgments, and step 103 includes: in response to the difference between the total amplitude of the spectrum power and the noise peak being less than the difference threshold and the number of occurrences being greater than the number threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound.

[0119] When performing abnormal sound detection on the spectrum data of the first noise signal, if the collected first noise signal contains a noise interference signal, or the first noise signal used for detection itself is not a completely steady-state signal, there is a certain fluctuation characteristic over time. These reasons lead to differences in the spectrum data obtained at different times, which in turn causes misjudgment or wrong judgment of abnormal sound detection.

[0120] In order to reduce or avoid misjudgment and wrong judgment, in this embodiment, whenever the difference between the total amplitude of the spectrum power and the noise peak is less than the difference threshold, it is determined that an abnormality has occurred in the active noise reduction system, and the number of abnormality occurrences is counted by 1. When the number of occurrences is greater than the number threshold, it is determined that a stable single-frequency abnormal sound exists in the active noise reduction system. By making multiple judgments, misjudgment and wrong judgment can be effectively reduced or avoided.

[0121] The number threshold can be set according to actual needs. It can be an empirical value, such as 3 times. It can also be dynamically selected through target optimization to improve the accuracy of abnormal sound detection. The target optimization process of the number threshold is similar to that of the difference threshold, which will not be repeated here.

[0122] Many abnormal sound frequencies have certain fluctuations, and the fluctuations have a great impact on the amplitude of the corresponding frequency. When using the spectrum to identify abnormal sounds, there are misjudgments and missed judgments. Moreover, people's perception and judgment of abnormal sounds are based on the overall perception of the power in a frequency band, rather than the power at a single frequency. Therefore, integrating the noise spectrum according to a certain rule and using the power of the corresponding frequency band after integration to judge the abnormal sound is more in line with people's actual feelings.

[0123] Based on this, in one embodiment, the Fourier transform result (spectrum) of the first noise signal is segmented to obtain at least two noise segments, and the total spectrum power amplitude and the noise peak are determined according to the integration of each noise segment. The total spectrum power amplitude and the noise peak here are the total spectrum power amplitude and the noise peak of the global first noise signal.

[0124] The segmentation algorithm may be, but is not limited to, one of the following: 1 / n octave method, Bark bandwidth method, equal bandwidth method, etc. The first two are preferred, where n in 1 / n octave is a non-zero natural number such as 1, 2, 3, etc., taking into account both detection accuracy and computing power, and n=3 is preferred.

[0125] In one embodiment, each noise segment is subjected to abnormal sound detection. Specifically, the Fourier transform result (spectrum) of the first noise signal is processed in segments, the total spectrum power amplitude and noise peak of each noise segment are calculated respectively, and the abnormal sound detection is performed on each noise segment. The total spectrum power amplitude and noise peak here are the local spectrum power amplitude and noise peak of each noise segment.

[0126] In one embodiment, before the Fourier transform result of the first noise signal is segmented, the Fourier transform result is A-weighted, and then the A-weighted result is segmented.

[0127] Equipment equipped with an active noise reduction system, such as a range hood, may also produce a sound with a spectrum similar to the stable single-frequency sound caused by the active noise reduction system, which we call "normal abnormal sound". Although this "normal abnormal sound" may also be offensive to users, it is different from the stable single-frequency sound caused by the active noise reduction system and is not a "by-product" of the active noise reduction system. It cannot be reduced by turning off or adjusting the active noise reduction system.

[0128] Based on this, in one embodiment, if the detection result of step 103 is that there is a stable single-frequency abnormal sound, in order to exclude the possibility that the abnormal sound is caused by a device equipped with an active noise reduction system rather than the active noise reduction system, the active noise reduction system is first turned off, and a second noise signal during the process of turning off the active noise reduction system is obtained. The second noise signal is Fourier transformed, and the total amplitude of the spectrum power and the noise peak are calculated to determine whether there is still a stable single-frequency abnormal sound; if the judgment result is that there is a stable single-frequency abnormal sound in the second noise signal, and the abnormal sound frequency of the second noise signal is the same as or similar to that of the first noise signal, it is determined that the abnormal sound is caused by the device rather than the active noise reduction system; otherwise, it is determined that there is a stable single-frequency abnormal sound in the active noise reduction system.

[0129] Another implementation method for eliminating the interference of abnormal noise of the equipment on the abnormal noise detection of the active noise reduction system is provided below.

[0130] In one embodiment, see Figure 6 , before obtaining the first noise signal during the operation of the active noise reduction system, it also includes:

[0131] Step 100: When the active noise reduction system is not started, a second noise signal of a noise source is obtained, and the second noise signal is segmented so that the power proportion of each noise segment of the second noise signal is less than a proportion threshold, and a segmentation strategy of the second noise signal is determined.

[0132] The second noise signal is collected by the first microphone.

[0133] The number of noise segments obtained by segmenting the first noise signal is determined according to the power proportion of each noise segment. If the power proportion of each noise segment is not less than the proportion threshold, it is necessary to perform segmentation again. The frequency bands of each noise segment can be the same or different. The second noise signal is segmented so that the power proportion of each noise segment of the second noise signal is less than the proportion threshold, thereby eliminating the influence of the frequency band characteristics of the range hood itself on the judgment of abnormal sound.

[0134] The percentage threshold can be set according to the actual situation. The value range of the percentage threshold can be, for example, [40%, 50%]. Preferably, the percentage threshold is selected as 40%. The reason for taking 40% is to leave a margin to avoid misjudgment due to being too close to 50%. This is because: since the criterion for subsequent judgment of abnormal sound is that if the percentage threshold exceeds 50%, it is judged that there is a stable single-frequency abnormal sound. Since it cannot be guaranteed that the power percentage of a certain noise segment is an accurate value, there may be a fluctuation of 5%. Therefore, if it is too close to 50%, it may cause misjudgment of abnormal sound due to fluctuation error. When the percentage threshold is set to 40%, when the first power percentage is less than 40%, it means that the power of the noise segment has dropped to a low enough level to avoid misjudgment caused by power fluctuations in the noise segment.

[0135] The segmentation strategy includes the following parameters: the number of segments, the upper and lower frequency limits of each noise segment.

[0136] The following is the calculation method of power ratio, the formula is as follows:

[0137] H=1-e i / E;

[0138]

[0139] Among them, H represents the power ratio; e i represents the power corresponding to the ith noise segment in the noise signal; E represents the sum of the powers of the noise segments contained in the noise signal; X j (t) represents the amplitude of the jth sampling point of the noise signal in the time domain; N represents the number of sampling point noise segments contained in the noise signal. i The calculation method of is similar to E.

[0140] In step 102, the first noise signal is processed in segments according to the segmentation strategy, and Fourier transform is performed on the noise segments obtained by segmentation, or the Fourier transform result is processed in segments according to the segmentation strategy. Subsequently, the total spectrum power amplitude and noise peak value of the first noise signal are determined globally according to the integral of each noise segment, or the total spectrum power amplitude and noise peak value of each noise segment are determined separately, that is, the local spectrum power amplitude and noise peak value.

[0141] In this embodiment, the abnormal sound of the active noise reduction system can be quickly monitored, the influence of the frequency band characteristics of the range hood itself on the abnormal sound judgment can be eliminated, and accurate monitoring of the active noise reduction abnormal sound of the range hood can be achieved.

[0142] Another implementation method for eliminating the interference of abnormal noise of the equipment on the abnormal noise detection of the active noise reduction system is provided below.

[0143] In one embodiment, see Figure 7 , before obtaining the first noise signal during the operation of the active noise reduction system, it also includes:

[0144] Step 100-21: When the active noise reduction system is not started, obtain a second noise signal from a noise source.

[0145] Step 100-22: perform octave calculation on the second noise signal to determine a segmentation strategy that matches the second noise signal.

[0146] The n in the 1 / n octave is a non-zero natural number such as 1, 2, 3, etc. Taking both detection accuracy and computing power into consideration, n=3 is preferably selected.

[0147] Step 100-23: segment the second noise signal according to the segmentation strategy, and calculate the characteristic value of each noise segment of the second noise signal.

[0148] The characteristic value includes power and / or decibel value.

[0149] Step 100-24: determine a target gain of a first target noise segment whose eigenvalue is greater than an eigenvalue threshold.

[0150] After the first target noise segment is filtered by a bandpass filter with a target gain, the characteristic value of the first target noise segment is less than or equal to the characteristic value threshold.

[0151] The eigenvalue of the first target noise segment is greater than the eigenvalue threshold, indicating that the first target noise segment contains abnormal sound. The active noise reduction system was not started when the first target noise segment was collected, which means that the abnormal sound contained in the first target noise segment is caused by the device equipped with the active noise reduction system, rather than the active noise reduction system. In order to eliminate the interference of abnormal sound of the device during abnormal sound detection, it is necessary to filter the second target noise segment contained in the first noise signal to filter out the abnormal sound caused by the device. Among them, the frequency band of the second target noise segment includes the frequency band of the first target noise segment.

[0152] Taking the characteristic value as a decibel value as an example, assuming that the decibel value of the first target noise segment before filtering is P, and the decibel value after filtering with the target gain bandpass filter is P' (less than or equal to the characteristic value threshold), where P' is set to be 1dB greater than the decibel value of the adjacent frequency band, according to the formula: P' = 20lg (E' / E0), the power of the first target noise segment after filtering can be calculated to be E'. By using the known power E before filtering and the power E' after filtering of the first target noise segment, the target gain / pass rate of the first target noise segment is calculated to be α = E' / E.

[0153] It should be noted that the reason why P' is set to be 1dB greater than the decibel value of the adjacent frequency band instead of being equal is to make the abnormal sound monitoring more sensitive. Compared with the two, the former is more sensitive to abnormal sound judgment. When the judgment condition is 3dB higher than the adjacent frequency band, because it is 1 db higher than the adjacent frequency band, a smaller power is required to judge the abnormal sound compared to the same as the adjacent frequency band. At this time, the sensitivity of abnormal sound judgment is higher and the accuracy can be guaranteed at the same time.

[0154] In step 102, the first noise signal is segmented to obtain at least two noise segments, and a bandpass filter with a target gain is used to filter the second target noise segment contained in the first noise signal, and Fourier transform is performed on the segmented noise segments and the filtered noise segments in the first noise signal respectively.

[0155] The noise segments obtained by segmentation in the first noise signal are other noise segments except the noise segment to be filtered.

[0156] The second target noise segment is filtered by a bandpass filter with a target gain, that is, α is multiplied by the amplitude of the second target noise segment to filter the abnormal sound caused by the equipment in the second target noise segment. The amplitude of other noise segments in the second noise signal except the second target noise segment is not attenuated, and the power passing rate of other noise segments is 100%.

[0157] In this embodiment, a bandpass filter with a target gain is used to filter the noise segment of the target noise segment in the first noise signal, so as to eliminate the interference of abnormal noise of the equipment on the abnormal noise detection of the active noise reduction system, and further improve the accuracy of abnormal noise detection.

[0158] An embodiment of the present disclosure also provides a control method for an active noise reduction system, the method comprising: performing abnormal sound detection on the active noise reduction system according to the abnormal sound detection method provided in any of the above embodiments; in response to the presence of a stable single-frequency abnormal sound in the active noise reduction system, restarting the active noise reduction system.

[0159] According to experience, the abnormal noise of the active noise reduction system is caused by certain faults or interferences. Restarting the active noise reduction system can weaken or eliminate the faults or interferences, improve the effectiveness of the active noise reduction system, and thus improve the user experience.

[0160] Corresponding to the aforementioned abnormal sound detection method embodiment, the present disclosure also provides an embodiment of an abnormal sound detection device.

[0161] Figure 8 A schematic diagram of a module of an abnormal sound detection device provided by an exemplary embodiment of the present disclosure, the device comprising:

[0162] An acquisition module 81 is used to acquire a first noise signal during the operation of the active noise reduction system; the first noise signal is a noise signal of a noise source collected by the microphone or a control signal of the speaker;

[0163] A determination module 82, configured to perform Fourier transform on the first noise signal, and determine a total spectral power amplitude and a noise peak value of the first noise signal according to the Fourier transform result;

[0164] The detection module 83 is used to determine that there is a stable single-frequency abnormal sound in the active noise reduction system in response to the difference between the total amplitude of the spectrum power and the filter power being greater than or equal to a difference threshold; wherein the filter power is the result of filtering the noise peak from the total amplitude of the spectrum power.

[0165] Optionally,

[0166] The device also includes the difference threshold determination module, which is used to:

[0167] Acquire abnormal samples and normal samples; the abnormal samples are noise signals containing abnormal sounds, and the normal samples are noise signals not containing abnormal sounds;

[0168] Constructing an objective function; the objective function is constructed according to at least one of the following parameters: the number of missed detections of abnormal samples, the number of false detections of normal samples, the percentage of missed detections of abnormal samples, and the percentage of false detections of normal samples;

[0169] The objective function is optimized within a preset optimization range of the difference threshold to determine a final difference threshold.

[0170] Optionally, the preset optimization range is [1dB, 10dB];

[0171] And / or, the optimization algorithm includes at least one of the following algorithms: genetic algorithm, simulated annealing algorithm, particle swarm algorithm, Bayesian optimization algorithm, hill climbing algorithm;

[0172] And / or, the objective function is the ratio of the number of anomalies to the total number of samples, and the number of anomalies is the sum of the number of missed detections of the abnormal samples and the number of false detections of normal samples.

[0173] Optionally, if the frequency spectrum of the first noise signal includes at least two peaks, the largest peak is determined as the noise peak;

[0174] and / or, obtaining a first noise signal during the operation of the active noise reduction system at a target sampling frequency; the target sampling frequency is determined according to the abnormal sound frequency and / or the computing power of the analysis device of the first noise signal; the abnormal sound frequency is determined according to a noise sample containing the abnormal sound;

[0175] And / or, Fourier transform is performed on the first noise signal at a target frequency resolution; the target frequency resolution is obtained by optimization, and the optimization goal is to accurately identify abnormal sounds with minimal calculation amount for abnormal sound detection.

[0176] Optionally, the determination module is specifically used to: perform A-weighting processing on the Fourier transform result, and determine the total spectral power amplitude and noise peak value of the first noise signal according to the A-weighting processing result;

[0177] And / or, the determination module is specifically used to: divide the Fourier transform result into at least two noise segments, and determine the total spectrum power amplitude and the noise peak value according to the integration of each noise segment;

[0178] And / or, the detection module is specifically used to: in response to the difference between the total amplitude of the spectrum power and the noise peak being less than the difference threshold and the number of occurrences being greater than the number threshold, determine that the active noise reduction system has a stable single-frequency abnormal sound.

[0179] Optionally, the acquisition module is further configured to acquire a second noise signal from a noise source when the active noise reduction system is not started;

[0180] The device also includes: a segmentation module, which is used to perform segmentation processing on the second noise signal so that the power proportion of each noise segment of the second noise signal is less than a proportion threshold, and determine a segmentation strategy for the second noise signal;

[0181] The determination module is specifically used to: perform segmentation processing on the first noise signal according to the segmentation strategy, and perform Fourier transform on the noise segments obtained by segmentation.

[0182] Optionally, the acquisition module is further configured to acquire a second noise signal from a noise source when the active noise reduction system is not started;

[0183] The device further includes: a calculation module, configured to perform octave calculation on the second noise signal to determine a segmentation strategy that matches the second noise signal;

[0184] A segmentation module, used for segmenting the second noise signal according to the segmentation strategy, and calculating the characteristic value of each noise segment of the second noise signal; the characteristic value includes power and / or decibel value;

[0185] A gain module, configured to determine a target gain of a first target noise segment whose characteristic value is greater than a characteristic value threshold; and the characteristic value of the first target noise segment after filtering the first target noise segment with a bandpass filter of the target gain is less than or equal to the characteristic value threshold;

[0186] Determine the module specifically for:

[0187] The first noise signal is segmented to obtain at least two noise segments, and a bandpass filter with a target gain is used to filter a second target noise segment contained in the first noise signal, and Fourier transform is performed on the segmented noise segments and the filtered noise segments in the first noise signal respectively; wherein a frequency band of the second target noise segment includes a frequency band of the first target noise segment.

[0188] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution.

[0189] Fig. 9 This is a structural schematic diagram of an active noise reduction system shown in an example embodiment of the present disclosure. The active noise reduction system includes a memory, a processor, and a computer program stored in the memory and used to run on the processor. When the processor executes the computer program, the abnormal sound detection method or control method described in any of the above embodiments is implemented. Fig. 9 The active noise reduction system 90 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0190] like Fig. 9 As shown, the components of the active noise reduction system 90 may include but are not limited to: the at least one processor 91 mentioned above, the at least one memory 92 mentioned above, and a bus 93 connecting different system components (including the memory 92 and the processor 91).

[0191] The bus 93 includes a data bus, an address bus, and a control bus.

[0192] The memory 92 may include a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read-only memory (ROM) 923 .

[0193] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.

[0194] The processor 91 executes various functional applications and data processing by running the computer program stored in the memory 92, such as the abnormal sound detection method or control method provided in any of the above embodiments.

[0195] The active noise reduction system 90 may also communicate with one or more external devices 94 (e.g., a range hood processor, etc.). Such communication may be performed via an input / output (I / O) interface 95. In addition, the active noise reduction system 90 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 96. As shown, the network adapter 96 communicates with other modules of the active noise reduction system 90 via a bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the active noise reduction system 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.

[0196] It should be noted that although several units / modules or sub-units / modules of the active noise reduction system are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided to be embodied by multiple units / modules.

[0197] The embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the abnormal sound detection method or control method provided in any of the above embodiments is implemented.

[0198] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0199] The embodiment of the present disclosure further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned abnormal sound detection methods or control methods.

[0200] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0201] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.

Claims

1. A method for detecting abnormal sound, characterized in that: Applied to an active noise reduction system, the active noise reduction system includes a microphone and a speaker; the abnormal sound detection method includes: Acquire a first noise signal during the operation of the active noise reduction system; the first noise signal includes a noise signal of a noise source collected by the microphone and / or a control signal of the speaker; Performing Fourier transform on the first noise signal, and determining a total spectral power amplitude and a noise peak value of the first noise signal according to the Fourier transform result; In response to the difference between the total spectral power amplitude and the filtered power being greater than or equal to a difference threshold, it is determined that the active noise reduction system has a stable single-frequency abnormal sound; wherein the filtered power is the result of filtering the noise peak from the total spectral power amplitude.

2. The abnormal sound detection method according to claim 1, characterized in that: The difference threshold is determined by: Acquire abnormal samples and normal samples; the abnormal samples are noise signals containing abnormal sounds, and the normal samples are noise signals not containing abnormal sounds; Constructing an objective function; the objective function is constructed according to at least one of the following parameters: the number of missed detections of abnormal samples, the number of false detections of normal samples, the percentage of missed detections of abnormal samples, and the percentage of false detections of normal samples; The objective function is optimized within a preset optimization range of the difference threshold to determine a final difference threshold.

3. The abnormal sound detection method according to claim 2, characterized in that: The preset optimization range is [1dB, 10dB]; And / or, the optimization algorithm includes at least one of the following algorithms: genetic algorithm, simulated annealing algorithm, particle swarm algorithm, Bayesian optimization algorithm, hill climbing algorithm; And / or, the objective function is the ratio of the number of anomalies to the total number of samples, and the number of anomalies is the sum of the number of missed detections of the abnormal samples and the number of false detections of normal samples.

4. The abnormal sound detection method according to claim 1, characterized in that: If the frequency spectrum of the first noise signal includes at least two peaks, determining the largest peak as the noise peak; and / or, obtaining a first noise signal during the operation of the active noise reduction system at a target sampling frequency; the target sampling frequency is determined according to the abnormal sound frequency and / or the computing power of the analysis device of the first noise signal; the abnormal sound frequency is determined according to a noise sample containing the abnormal sound; and / or, performing Fourier transform on the first noise signal at a target frequency resolution; The target frequency resolution is obtained by optimization, and the optimization goal is to accurately identify abnormal sounds and minimize the calculation amount of abnormal sound detection.

5. The abnormal sound detection method according to claim 1, characterized in that: Determining the total spectral power amplitude and the noise peak value of the first noise signal according to the Fourier transform result, including: performing A-weighting processing on the Fourier transform result, and determining the total spectral power amplitude and the noise peak value of the first noise signal according to the A-weighting processing result; And / or, dividing the Fourier transform result into at least two noise segments, and determining the total spectrum power amplitude and the noise peak value according to the integration of each noise segment; And / or, in response to the difference between the total amplitude of the spectral power and the noise peak being less than a difference threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound, including: in response to the difference between the total amplitude of the spectral power and the noise peak being less than the difference threshold and the number of occurrences being greater than a number threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound.

6. The abnormal sound detection method according to any one of claims 1 to 5, characterized in that: Before obtaining the first noise signal during the operation of the active noise reduction system, the method further includes: When the active noise reduction system is not started, obtaining a second noise signal from a noise source; Performing segmentation processing on the second noise signal so that the power proportion of each noise segment of the second noise signal is less than a proportion threshold, and determining a segmentation strategy for the second noise signal; Performing Fourier transform on the first noise signal includes: The first noise signal is processed in segments according to the segmentation strategy, and Fourier transform is performed on the noise segments obtained by segmentation.

7. The abnormal sound detection method according to any one of claims 1 to 5, characterized in that: Before obtaining the first noise signal during the operation of the active noise reduction system, the method further includes: When the active noise reduction system is not started, obtaining a second noise signal from a noise source; performing octave calculation on the second noise signal to determine a segmentation strategy matching the second noise signal; Segmenting the second noise signal according to the segmentation strategy, and calculating the characteristic value of each noise segment of the second noise signal; the characteristic value includes power and / or decibel value; Determine a target gain of a first target noise segment whose characteristic value is greater than a characteristic value threshold; after filtering the first target noise segment with a bandpass filter of the target gain, the characteristic value of the first target noise segment is less than or equal to the characteristic value threshold; Performing Fourier transform on the first noise signal includes: The first noise signal is segmented to obtain at least two noise segments, and a bandpass filter with a target gain is used to filter a second target noise segment contained in the first noise signal, and Fourier transform is performed on the segmented noise segments and the filtered noise segments in the first noise signal respectively; wherein a frequency band of the second target noise segment includes a frequency band of the first target noise segment.

8. A control method for an active noise reduction system, characterized in that: include: Performing abnormal sound detection on the active noise reduction system according to the abnormal sound detection method described in any one of claims 1 to 7; In response to the presence of a stable single-frequency abnormal sound in the active noise reduction system, the active noise reduction system is restarted.

9. A device for detecting abnormal sound, characterized in that: Applied to an active noise reduction system, the active noise reduction system comprising a microphone and a speaker; the abnormal sound detection device is used to implement the abnormal sound detection method described in any one of claims 1 to 7; The abnormal sound detection method comprises: An acquisition module, used to acquire a first noise signal during the operation of the active noise reduction system; the first noise signal is a noise signal of a noise source collected by the microphone or a control signal of the speaker; a determination module, configured to perform Fourier transform on the first noise signal, and determine a total spectral power amplitude and a noise peak value of the first noise signal according to the Fourier transform result; The detection module is used to determine that a stable single-frequency abnormal sound exists in the active noise reduction system in response to a difference between the total amplitude of the spectrum power and the noise peak being less than a difference threshold.

10. An active noise reduction system, comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Noise detection apparatus, noise removal apparatus, and noise detection method

    CN101763853A

  • Self-checking method and device of active noise reduction system and medium

    CN116132900A

  • PRACH peak detection method, base station, communication system and medium

    CN117320178A

  • Method of detecting speech and speech detector for low signal-to-noise ratios

    US20220293127A1

Cited By

  • Rocket fairing noise reduction method and device and storage medium

    CN119559925A

  • A rocket fairing noise reduction method and device and a storage medium

    CN119559925B