Active noise reduction system and control method thereof, abnormal sound detection method and device

By using the antonal detection method in the active noise reduction system, the target sampling frequency and Fourier transform are used to identify stable single-frequency antonal sounds, the problems of howling and calculation in the existing technology are solved, and efficient antonal sounds are achieved Detection and system state optimization.

CN118629383BActive Publication Date: 2024-11-15NINGBO FOTILE KITCHEN WARE CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202411080572.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-15
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

The existing active noise reduction system is prone to howling when the feedback signal is greater than the noise signal, and cannot effectively identify stable single-frequency antonyms, and the calculation amount is large, which cannot meet the timeliness of antonyms detection.

Method used

By using the off-sound detection method in the active noise reduction system, the noise signal is obtained using the target sampling frequency, Fourier transform and spectrum analysis are performed, and the difference in the total spectral power amplitude and noise peak value are determined, combining the preset power range and difference value Threshold, identify stable single-frequency antonyms, and solve the antonyms problem by restarting the system.

Benefits of technology

It improves the accuracy and speed of abnormal sound detection, meets the timeliness requirements, and can accurately identify and process stable single-frequency abnormal sounds, improving the working status of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629383B_ABST
    Figure CN118629383B_ABST
Patent Text Reader

Abstract

The present disclosure provides an active noise reduction system and its control method, abnormal sound detection method and device. The abnormal sound detection method includes: obtaining a first noise signal during the operation of the active noise reduction system at a target sampling frequency; the first noise signal includes a noise signal of a noise source collected by a first microphone and / or a control signal of a speaker; the target sampling frequency is determined according to the abnormal sound frequency and / or the computing power of an analysis device of the first noise signal; the abnormal sound frequency is determined according to a noise sample containing abnormal sound; the first noise signal is analyzed, and abnormal sound detection is performed on the active noise reduction system according to the analysis result. On the one hand, the present disclosure can provide a data basis that conforms to the characteristics of abnormal sound, 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 interference signals, reduces the amount of data analysis, and thus can improve the abnormal sound detection rate and meet timeliness requirements.
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 between the amplitude of the loudspeaker control signal generated when there is a stable single-frequency abnormal sound and the amplitude of the loudspeaker control signal generated when the system is working normally. Therefore, through the traditional howling monitoring schemes based on the amplitude of the loudspeaker control signal in the prior art, it is impossible to effectively identify this stable single-frequency abnormal sound phenomenon, and the large amount of calculation cannot meet the timeliness requirements of abnormal sound detection. 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, an abnormal sound detection method is provided, which is applied to an active noise reduction system, wherein the active noise reduction system includes a first microphone and a speaker; the abnormal sound detection method includes:

[0006] A first noise signal is obtained during the operation of the active noise reduction system at a target sampling frequency; the first noise signal includes a noise signal of a noise source collected by the first microphone and / or a control signal of the speaker; the target sampling frequency is determined according to an abnormal sound frequency and / or a computing power of an analysis device of the first noise signal; the abnormal sound frequency is determined according to a noise sample containing an abnormal sound;

[0007] The first noise signal is analyzed, and abnormal sound detection is performed on the active noise reduction system according to the analysis result.

[0008] Optionally, the target sampling frequency is greater than or equal to twice the frequency of the abnormal sound;

[0009] And / or, the computing power is characterized by a maximum number of data points for each Fourier transform performed by the analysis device, and the target sampling frequency is less than or equal to the product of the maximum number of data points and the frequency of the Fourier transform.

[0010] Optionally, acquiring a first noise signal during operation of the active noise reduction system at a target sampling frequency includes:

[0011] An original noise signal is acquired, and the original noise signal is resampled at the target sampling frequency to obtain the first noise signal.

[0012] Optionally, analyzing the first noise signal, and performing abnormal sound detection on the active noise reduction system according to the analysis result, includes:

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

[0014] In response to the total amplitude of the spectrum power being within a preset power range, it is determined that the active noise reduction system has a stable single-frequency abnormal sound; wherein the lower limit of the preset power range is greater than the maximum power of the noise signal of the noise source, and the upper limit of the preset power range is less than the power of the first noise signal when howling occurs in the active noise reduction system;

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

[0016] And / or, in response to the presence of a noise segment in the first noise signal whose power ratio is greater than or equal to a ratio threshold, determining that a stable single-frequency abnormal sound exists in the active noise reduction system; the power ratio is the ratio of the power of the noise segment to the total amplitude of the spectrum power;

[0017] And / or, in response to the difference between the total amplitude of the spectrum power and the filter power being greater than or equal to a second difference threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound; the filter power is the result of filtering out the noise peak from the total amplitude of the spectrum power;

[0018] and / or, in response to the presence of a noise segment in the first noise signal having a power difference with an adjacent noise segment greater than or equal to a third difference threshold, determining that a stable single-frequency abnormal sound exists in the active noise reduction system;

[0019] And / or, in response to the presence of a signal segment having a power difference with an adjacent signal segment greater than a third difference threshold, it is determined that a stable single-frequency alien sound exists.

[0020] Optionally, the preset power range is determined by:

[0021] 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;

[0022] 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;

[0023] Optimizing the objective function within a first preset optimization range of the upper limit value and / or the lower limit value to determine a final preset power range;

[0024] And / or, the difference threshold is determined by:

[0025] 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;

[0026] 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;

[0027] Optimizing the objective function within a second preset optimization range of the difference threshold to determine a final difference threshold;

[0028] And / or, the percentage threshold is determined by:

[0029] 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;

[0030] 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;

[0031] The objective function is optimized within a third preset optimization range of the proportion threshold to determine a final proportion threshold.

[0032] Optionally, the first preset optimization range is [74dB, 91dB];

[0033] And / or, the second preset optimization range is [1dB, 10dB];

[0034] 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;

[0035] 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.

[0036] Optionally, determining the total amplitude of the spectral power 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 amplitude of the spectral power of the first noise signal according to the A-weighting processing result;

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

[0038] And / or, in response to the total amplitude of the spectrum power being within a preset power range, determining that the active noise reduction system has a stable single-frequency abnormal sound, including: in response to the total amplitude of the spectrum power being within the preset power range, the number of occurrences being greater than a number threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound.

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

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

[0041] 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;

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

[0043] 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.

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

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

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

[0047] 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;

[0048] 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;

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

[0050] The first noise signal is segmented to obtain at least two noise segments, and a second target noise segment contained in the first noise signal is filtered using a bandpass filter with a target gain, and an unfiltered noise segment and a filtered noise segment in the first noise signal are respectively Fourier transformed; wherein a frequency band of the second target noise segment includes a frequency band of the first target noise segment.

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

[0052] 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;

[0053] 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.

[0054] 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 first 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:

[0055] An acquisition module is used to acquire a first noise signal during the operation of the active noise reduction system at a target sampling frequency; the first noise signal is a noise signal of a noise source collected by the first microphone and / or a control signal of the speaker; the target sampling frequency is determined according to an abnormal sound frequency and / or a computing power of an analysis device of the first noise signal; the abnormal sound frequency is determined according to a noise sample containing an abnormal sound;

[0056] The detection module is used to analyze the first noise signal and perform abnormal sound detection on the active noise reduction system according to the analysis result.

[0057] 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.

[0058] 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.

[0059] The positive progressive effect of the present disclosure lies in that: the present disclosure obtains the first noise signal 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 characteristics of the abnormal sound, 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, reduces the amount of data analysis, thereby being able to improve the abnormal sound detection rate and meet the timeliness requirements. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

[0062] Figure 3 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;

[0063] Figure 4 A flowchart of optimizing a preset power range in an abnormal sound detection method provided by an exemplary embodiment of the present disclosure;

[0064] Figure 5 A 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;

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

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

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

[0068] 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

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

[0070] 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.

[0071] 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 components such as a microphone, a speaker, and a controller.

[0072] 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 running / working, which affects the user experience. The abnormal sound includes howling and stable single-frequency abnormal sound (or stable single-frequency sound).

[0073] The characteristics of howling caused by active noise reduction are: Figure 2 and Figure 3 There 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 3 The second to fifth columns of the table refer to the amplitude (power) at frequencies of 94.28Hz, 108.75Hz, 0Hz and 6000Hz respectively, and the RMS data in the sixth column refers to the root mean square value of the amplitude from 0 to 6000Hz.

[0074] 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 3 As shown by the blue curve, the peak bandwidth does not exceed 50Hz. Figure 2 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 2The left ordinate represents the power amplitude, and the right ordinate represents the sound pressure amplitude, and the two can be converted into each other.

[0075] The disclosed embodiment mainly detects whether the active noise reduction system has a stable single-frequency abnormal sound. Figure 1 , the abnormal sound detection method comprises the following steps:

[0076] Step 101: Acquire a first noise signal during operation of an active noise reduction system at a target sampling frequency.

[0077] The target sampling frequency is determined according to the computing power of the abnormal sound frequency and / or 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 by superimposing the abnormal sound on the noise sample without the abnormal sound. The analysis device of the first noise signal is a device that analyzes the first noise signal to realize the abnormal sound detection, for example, it can be an active noise reduction chip.

[0078] 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.

[0079] 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.

[0080] 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.

[0081] Step 102: Analyze the first noise signal, and perform abnormal sound detection on the active noise reduction system according to the analysis result.

[0082] 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 meets the characteristics of the abnormal sound, 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.

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

[0084] 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 .

[0085] 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, the maximum number of data points per Fourier transform is N max , we can get f s_max =N max ·Δf.

[0086] Δf is the frequency resolution, Δf≤100 Hz. Preferably, Δf≤20 Hz.

[0087] Therefore, the target sampling frequency f of the first noise signal is s_res The value range is [f s_min , f s_max ].

[0088] In one embodiment, in step 101 , an original noise signal is first acquired, and the original noise signal is resampled at a target sampling frequency to obtain a first noise signal.

[0089] In one embodiment, step 102 includes: performing Fourier transform on the first noise signal, and determining the total spectral power amplitude (total power) of the first noise signal according to the Fourier transform result; in response to the total spectral power amplitude being within a preset power range, determining that the active noise reduction system has a stable single-frequency abnormal sound; wherein the lower limit value of the preset power range is greater than the maximum power of the noise signal of the noise source, and the upper limit value of the preset power range is less than the power of the first noise signal when howling occurs in the active noise reduction system.

[0090] Perform Fourier transform on the first noise signal to obtain the spectrum data of the first noise signal (Fourier transform result). Through the analysis of 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.

[0091] 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.

[0092] It should be noted that, when the first noise signal is the noise signal of the noise source, the upper limit value is less than the power of the noise signal collected by the first microphone when the active noise reduction system howls; when the first noise signal is the control signal of the speaker, the upper limit value is less than the power of the control signal of the speaker when the active noise reduction system howls; when the first noise signal is a combination of the noise signal of the noise source and the control signal of the speaker, the upper limit value is less than the power combination of the two when the active noise reduction system howls; the upper limit value can also be approximately the sound value corresponding to the maximum radiation power of the speaker.

[0093] In this embodiment, by performing spectrum analysis on the first noise signal, the total spectrum power amplitude related to the abnormal sound in the first noise signal is determined, and then the abnormal sound can be accurately identified according to the total spectrum power amplitude, thereby improving the abnormal sound detection accuracy of the active noise reduction system.

[0094] The preset power range can be an empirical value, such as [74.5dB, 91dB]. When the active noise reduction system howls, the sound emitted by the speaker reaches its maximum radiation power, and the sound is usually greater than 91dB (A). The upper limit of the preset power range is set to 91dB. Taking the range hood equipped with the active noise reduction system as an example, the maximum noise (sound pressure level) of the range hood when the active noise reduction system is not started is E AMIt is about 70dB(A). So generally the preset power range is E AT The lower limit is set to a value greater than 70dB(A), for example, E AT The lower limit value is 74.5 dB(A). When the total amplitude of the spectrum power of the first noise signal is detected to exceed 74.5 dB(A), it means that the active noise reduction not only fails to reduce noise, but amplifies the sound. The corresponding reason is that abnormalities such as howling or stable single-frequency abnormal sound are generated. However, the total amplitude of the spectrum power does not exceed 91dB, which means that the active noise reduction system has a stable single-frequency abnormal sound.

[0095] The preset power range can also be obtained by dynamic optimization to improve the accuracy of abnormal sound detection. The following introduces a method that can be implemented by dynamically optimizing the preset power range. Figure 4 , the preset power range is determined by:

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

[0097] The abnormal sample is a noise signal containing a stable single-frequency abnormal sound, and the normal sample is a noise signal that does not contain a stable single-frequency 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 stable single-frequency abnormal sound.

[0098] The number of abnormal samples and normal samples can be set according to actual needs. It can be understood that the more samples there are, the better the optimization can be performed.

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

[0100] 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.

[0101] The design principle of the objective function is to find a combination of judgment parameters and values ​​so that the preset power range obtained by optimization can detect all stable single-frequency abnormal sounds, and the normal signal is not mistakenly judged as stable single-frequency abnormal sounds, and at the same time has 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) (normal sample abnormal sound judgment strength) / (abnormal signal abnormal sound judgment strength). In this case, the smaller the objective function, the better.

[0102] 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 a value 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 the 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.

[0103] 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.

[0104] 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.

[0105] Step 100-13: Optimize the objective function within a preset optimization range of the upper limit value and / or the lower limit value to determine a final preset power range.

[0106] It should be noted that the upper limit value and the lower limit value of the preset power range may be optimized simultaneously or separately, and this is not particularly limited in the embodiments of the present disclosure.

[0107] In one embodiment, the preset optimization range is [74dB, 91dB], that is, the preset power range searches for the optimal solution in [74dB, 91dB] to minimize the objective function; or, the preset optimization range of the lower limit value is [70dB, 80dB], that is, the lower limit value searches for the optimal solution in [70dB, 80dB]; the preset optimization range of the upper limit value is [85dB, 95dB], that is, the upper limit value searches for the optimal solution in [85dB, 95dB].

[0108] In this embodiment, an optimization range of a preset power range is provided, so that the optimization meets the physical characteristics of a certain single-frequency stable abnormal sound, which can improve the optimization accuracy and optimization efficiency.

[0109] 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.

[0110] In one embodiment, the abnormal sound detection condition includes determining that the active noise reduction system has a stable single-frequency abnormal sound in response to the difference between the total amplitude of the spectrum power and the noise peak being less than a first difference threshold. Step 102 includes: performing Fourier transform on the first noise signal, and determining the total amplitude of the spectrum power and the noise peak of the first noise signal according to the Fourier transform result; and determining that the active noise reduction system has a stable single-frequency abnormal sound in response to the difference between the total amplitude of the spectrum power and the noise peak being less than a first difference threshold.

[0111] The first difference threshold ΔE PT It can be an empirical value, such as 4 dB. When the active noise reduction system is working, if the total amplitude of the spectrum power of the first noise signal E is measured A 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 (noise peak) in the spectrum appears at 500 Hz, and its noise peak E P is 62dB(A). 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, on the spectrum, 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. 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.

[0112] The first difference threshold value may also be obtained based on dynamic optimization to improve the accuracy of abnormal sound detection. The specific optimization process of the first difference threshold value is similar to the optimization process of the preset power range, which will not be repeated here.

[0113] In one embodiment, the second preset optimization range of the first difference threshold is [1 dB, 10 dB].

[0114] In one embodiment, the abnormal sound detection condition includes determining that there is a stable single-frequency abnormal sound in the active noise reduction system in response to the presence of a noise segment in the first noise signal whose power ratio is greater than or equal to a ratio threshold. The power ratio is the ratio of the power of the noise segment to the total amplitude of the spectrum power.

[0115] The noise segment is the result of segmenting the noise signal. The segmentation algorithm can 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, preferably n=3. The segmentation algorithm can also use the segmentation algorithm provided in the following embodiments.

[0116] The percentage threshold may be an empirical value, or may be obtained by dynamic optimization to improve the accuracy of abnormal sound detection. The specific optimization process of the percentage threshold is similar to the optimization process of the preset power range, and will not be described here.

[0117] In one embodiment, the abnormal sound detection condition includes determining 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 second difference threshold. The filter power is the result of filtering out the noise peak from the total amplitude of the spectrum power.

[0118] The second difference threshold may be an empirical value, or may be obtained by dynamic optimization to improve the accuracy of abnormal sound detection. The specific optimization process of the second difference threshold is similar to the optimization process of the preset power range, and will not be described here.

[0119] In one embodiment, the alien sound detection condition includes determining that a stable single-frequency alien sound exists in response to the presence of a signal segment having a power difference with an adjacent signal segment greater than a third difference threshold.

[0120] The third difference threshold may be an empirical value, or may be obtained by dynamic optimization to improve the accuracy of abnormal sound detection. The specific optimization process of the third difference threshold is similar to the optimization process of the preset power range, and will not be described here.

[0121] The above abnormal sound detection conditions can be used in combination. As long as one of the other conditions is met, it is determined that the active noise reduction system has a stable single-frequency abnormal sound; otherwise, it is determined that the active noise reduction system does not have a stable single-frequency abnormal sound.

[0122] In one embodiment, the step of determining the total spectral power amplitude 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 of the first noise signal according to the A-weighting processing result.

[0123] 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 sounds in this frequency band (such as low-frequency sounds). 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 human ear's auditory perception, 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.

[0124] 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 5As 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 is reduced. A -E P The value changes from 3.2dB to 2.5dB, which is more in line with the conditions for judging abnormal sounds, and the detection is more accurate and more in line with the perception of the human ear.

[0125] It should be noted that, since it is easier to determine abnormal sounds after A-weighting processing, the threshold is adjusted according to suitability after A-weighting processing. For example, the first difference threshold can be smaller than the first difference threshold without A-weighting processing, for example, the first difference threshold without A-weighting processing is 5dB, and the first difference threshold after A-weighting processing is 4dB.

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

[0127] 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.

[0128] In order to reduce or avoid misjudgments and wrong judgments, in this embodiment, whenever the abnormal sound detection conditions are met, it is determined that the active noise reduction system has an abnormality, the number of abnormal occurrences is counted by 1, and based on the noise signal collected later, it is determined that the active noise reduction system has an abnormality again, and the number of abnormal occurrences is counted by 1 again. When the number of occurrences is greater than the number threshold, it is determined that the active noise reduction system has a stable single-frequency abnormal sound. Through multiple judgments, misjudgments and wrong judgments can be effectively reduced or avoided.

[0129] 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 determined through target optimization to improve the accuracy of abnormal sound detection. The target optimization process of the number threshold is similar to the preset power range, which will not be repeated here.

[0130] 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.

[0131] 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 is determined according to the integration of each noise segment. The total spectrum power amplitude here is the total spectrum power amplitude of the first noise signal globally.

[0132] 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.

[0133] 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 of each noise segment is calculated, and the abnormal sound detection is performed on each noise segment. The total spectrum power amplitude is the local spectrum power amplitude of each noise segment.

[0134] 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.

[0135] 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.

[0136] 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 spectral power is 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.

[0137] 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.

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

[0139] 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.

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

[0141] 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.

[0142] 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%. 40% is selected to leave a margin to avoid being too close to 50% which may cause misjudgment. This is because: since the subsequent criterion for judging abnormal sounds 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 the misjudgment of abnormal sounds due to fluctuation errors. 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.

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

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

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

[0146] ;

[0147] 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.

[0148] See also Figure 6, step 102 comprises the following steps:

[0149] Step 102-1: Segment the first noise signal according to the segmentation strategy, perform Fourier transform on the noise segments obtained by segmentation, and determine the total amplitude of the spectrum power according to the Fourier transform result.

[0150] Alternatively, step 102-1 is replaced by the following steps: the Fourier transform result is processed in segments according to the segmentation strategy. Subsequently, the total spectral power amplitude of the first noise signal is determined globally according to the integral of each noise segment, or the total spectral power amplitude of each noise segment is determined separately, that is, the local spectral power amplitude.

[0151] Step 102-2: Perform abnormal sound detection on the active noise reduction system according to the total frequency power amplitude.

[0152] 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.

[0153] 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.

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

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

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

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

[0158] 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.

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

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

[0161] 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.

[0162] 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.

[0163] Taking the characteristic value as 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' (P' is 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 as E'. Based on the known power E before filtering and 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.

[0164] 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.

[0165] See also Figure 7 , step 102 comprises:

[0166] Step 102-1', segment the first noise signal to obtain at least two noise segments, and use a bandpass filter with a target gain to filter the second target noise segment contained in the first noise signal, perform Fourier transform on the unfiltered noise segment and the filtered noise segment in the first noise signal respectively, and determine the total amplitude of the spectral power according to the Fourier transform result.

[0167] Step 102-2': perform abnormal sound detection on the active noise reduction system according to the total frequency power amplitude.

[0168] The unfiltered noise segments in the first noise signal are other noise segments except the filtered noise segments.

[0169] 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, that is, the power pass rate of other noise segments is 100%.

[0170] 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.

[0171] In one embodiment, the judgment condition for abnormal sound detection further includes at least one of the following:

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

[0173] In response to the presence of a noise segment having a power ratio greater than or equal to a ratio threshold in the first noise signal, determining that a stable single-frequency abnormal sound exists in the active noise reduction system; the power ratio is a ratio of the power of the noise segment to the total amplitude of the spectrum power;

[0174] In response to the difference between the total amplitude of the spectrum power and the filtered power being greater than or equal to a second difference threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound; the filtered power is the result of filtering the noise peak from the total amplitude of the spectrum power;

[0175] In response to the presence of a noise segment in the first noise signal having a power difference with an adjacent noise segment greater than or equal to a third difference threshold, it is determined that a stable single-frequency abnormal sound exists in the active noise reduction system.

[0176] If the first noise signal does not meet any of the above conditions, it is determined that the active noise reduction system does not have a stable single-frequency abnormal sound.

[0177] Any one of the above-mentioned first difference threshold, proportion threshold, second difference threshold and third difference threshold can be determined according to experimental data, or can be obtained by dynamic optimization, and is not particularly limited in the present disclosure.

[0178] 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.

[0179] 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.

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

[0181] 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:

[0182] An acquisition module 81 is used to acquire a first noise signal during the operation of the active noise reduction system at a target sampling frequency; the first noise signal is a noise signal of a noise source collected by the first microphone and / or a control signal of the speaker; the target sampling frequency is determined according to an abnormal sound frequency and / or a computing power of an analysis device of the first noise signal; the abnormal sound frequency is determined according to a noise sample containing an abnormal sound;

[0183] The detection module 82 is used to analyze the first noise signal and perform abnormal sound detection on the active noise reduction system according to the analysis result.

[0184] Optionally, the target sampling frequency is greater than or equal to twice the frequency of the abnormal sound;

[0185] And / or, the computing power is characterized by a maximum number of data points for each Fourier transform performed by the analysis device, and the target sampling frequency is less than or equal to the product of the maximum number of data points and the frequency of the Fourier transform.

[0186] Optionally, the acquisition module is specifically used for:

[0187] An original noise signal is acquired, and the original noise signal is resampled at the target sampling frequency to obtain the first noise signal.

[0188] Optionally, the detection module is specifically used for:

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

[0190] In response to the total amplitude of the spectrum power being within a preset power range, it is determined that the active noise reduction system has a stable single-frequency abnormal sound; wherein the lower limit of the preset power range is greater than the maximum power of the noise signal of the noise source, and the upper limit of the preset power range is less than the power of the first noise signal when howling occurs in the active noise reduction system;

[0191] and / or, in response to the 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;

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

[0193] And / or, in response to the presence of a noise segment in the first noise signal whose power ratio is greater than or equal to a ratio threshold, determining that a stable single-frequency abnormal sound exists in the active noise reduction system; the power ratio is the ratio of the power of the noise segment to the total amplitude of the spectrum power;

[0194] And / or, in response to the difference between the total amplitude of the spectrum power and the filter power being greater than or equal to a second difference threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound; the filter power is the result of filtering out the noise peak from the total amplitude of the spectrum power;

[0195] And / or, in response to the presence of a noise segment in the first noise signal having a power difference with an adjacent noise segment greater than or equal to a third difference threshold, it is determined that a stable single-frequency abnormal sound exists in the active noise reduction system.

[0196] Optionally, the device further includes a preset power range determination module, configured to:

[0197] 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;

[0198] 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;

[0199] The objective function is optimized within a first preset optimization range of the upper limit value and / or the lower limit value to determine a final preset power range.

[0200] Optionally, the device further includes a difference threshold determination module, configured to:

[0201] 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;

[0202] 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;

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

[0204] Optionally, the first preset optimization range is [74dB, 91dB];

[0205] And / or, the second preset optimization range is [1dB, 10dB];

[0206] 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;

[0207] 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.

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

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

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

[0211] 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;

[0212] The device also includes: a segmentation module, configured 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;

[0213] 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.

[0214] 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;

[0215] 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;

[0216] 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;

[0217] 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;

[0218] Determine the module specifically for:

[0219] The first noise signal is segmented to obtain at least two noise segments, and a second target noise segment contained in the first noise signal is filtered using a bandpass filter with a target gain, and an unfiltered noise segment and a filtered noise segment in the first noise signal are respectively Fourier transformed; wherein a frequency band of the second target noise segment includes a frequency band of the first target noise segment.

[0220] 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.

[0221] 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.

[0222] 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).

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

[0224] 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 .

[0225] 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.

[0226] 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.

[0227] 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.

[0228] 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.

[0229] 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.

[0230] 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.

[0231] 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.

[0232] 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.

[0233] 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 comprising a first microphone and a speaker; The abnormal sound detection method comprises: A first noise signal is obtained during the operation of the active noise reduction system at a target sampling frequency; the first noise signal includes a noise signal of a noise source collected by the first microphone and / or a control signal of the speaker; the target sampling frequency is determined according to an abnormal sound frequency and / or a computing power of an analysis device of the first noise signal; the abnormal sound frequency is determined according to a noise sample containing an abnormal sound; The first noise signal is analyzed, and stable single-frequency abnormal sound detection is performed on the active noise reduction system according to the analysis result; the characteristics of the stable single-frequency abnormal sound are: there is a prominent peak on the noise spectrum, the amplitude of the highest point of the peak is higher than the amplitude corresponding to the adjacent frequency, and the power of the peak accounts for a proportion of the total noise power of the first noise signal that is less than or equal to the power threshold.

2. The abnormal sound detection method according to claim 1, characterized in that: The target sampling frequency is greater than or equal to 2 times the out-of-tone frequency; And / or, the computing power is characterized by a maximum number of data points for each Fourier transform performed by the analysis device, and the target sampling frequency is less than or equal to the product of the maximum number of data points and the frequency of the Fourier transform; And / or, obtaining a first noise signal during the operation of the active noise reduction system at a target sampling frequency, including: obtaining an original noise signal, and resampling the original noise signal at the target sampling frequency to obtain the first noise signal.

3. The abnormal sound detection method according to claim 1 or 2, characterized in that: Analyzing the first noise signal, and performing stable single-frequency abnormal sound detection on the active noise reduction system according to the analysis result, including: Performing Fourier transform on the first noise signal, and determining the total amplitude of the spectral power of the first noise signal according to the Fourier transform result; In response to the total amplitude of the spectrum power being within a preset power range, it is determined that the active noise reduction system has a stable single-frequency abnormal sound; wherein the lower limit of the preset power range is greater than the maximum power of the noise signal of the noise source, and the upper limit of the preset power range is less than the power of the first noise signal when howling occurs in the active noise reduction system; and / or, in response to the difference between the total amplitude of the spectrum power and the noise peak being less than a first difference threshold, determining that a stable single-frequency abnormal sound exists in the active noise reduction system; And / or, in response to the presence of a noise segment in the first noise signal whose power ratio is greater than or equal to a ratio threshold, determining that a stable single-frequency abnormal sound exists in the active noise reduction system; the power ratio is the ratio of the power of the noise segment to the total amplitude of the spectrum power; And / or, in response to the difference between the total amplitude of the spectrum power and the filter power being greater than or equal to a second difference threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound; the filter power is the result of filtering out the noise peak from the total amplitude of the spectrum power; And / or, in response to the presence of a signal segment having a power difference with an adjacent signal segment greater than a third difference threshold, it is determined that a stable single-frequency alien sound exists.

4. The abnormal sound detection method according to claim 3, characterized in that: The preset power range 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; Optimizing the objective function within a first preset optimization range of the upper limit value and / or the lower limit value to determine a final preset power range; And / or, 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; Optimizing the objective function within a second preset optimization range of the difference threshold to determine a final difference threshold; And / or, the percentage 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 third preset optimization range of the proportion threshold to determine a final proportion threshold.

5. The abnormal sound detection method according to claim 4, characterized in that: The first preset optimization range is [74dB, 91dB]; And / or, the second 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.

6. The abnormal sound detection method according to claim 3, characterized in that: Determining the total amplitude of the spectral power of the first noise signal according to the Fourier transform result, comprising: performing A-weighting processing on the Fourier transform result, and determining the total amplitude of the spectral power 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 amplitude of the spectrum power according to the integration of each noise segment; And / or, in response to the total amplitude of the spectrum power being within a preset power range, determining that the active noise reduction system has a stable single-frequency abnormal sound, including: in response to the total amplitude of the spectrum power being within the preset power range, the number of occurrences being greater than a number threshold, determining that the active noise reduction system has a stable single-frequency abnormal sound.

7. The abnormal sound detection method according to claim 3, 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: Segment-process the first noise signal according to the segmentation strategy, and perform Fourier transform on the noise segments obtained by segmentation; Alternatively, 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 second target noise segment contained in the first noise signal is filtered using a bandpass filter with a target gain, and an unfiltered noise segment and a filtered noise segment in the first noise signal are respectively Fourier transformed; 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 first 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 is used to acquire a first noise signal during the operation of the active noise reduction system at a target sampling frequency; the first noise signal is a noise signal of a noise source collected by the first microphone and / or a control signal of the speaker; the target sampling frequency is determined according to an abnormal sound frequency and / or a computing power of an analysis device of the first noise signal; the abnormal sound frequency is determined according to a noise sample containing an abnormal sound; The detection module is used to analyze the first noise signal and perform stable single-frequency abnormal sound detection on the active noise reduction system according to the analysis result.

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

  • Variable-step-size hearing aid adaptive echo cancellation device and echo cancellation method

    CN111916099A

  • Abnormal sound recognition and audio injection control method and system for range hood

    CN114299990A

  • Decibel, echo, ground noise and howling detection method for wav audio

    CN116959491A

  • Aircraft simulator sound noise reduction method, system, equipment and medium

    CN117953911A

  • Abnormal sound recognition method and device and electronic equipment

    CN118155658A