Active noise reduction system and instability detection method, control method and equipment thereof

By collecting and analyzing sound signals in the active noise reduction system, extracting features, and detecting instability frequencies by partition, the problem of inaccurate instability detection in the existing technology is solved, and the recognition accuracy and user experience of stable single-frequency abnormal sounds are improved. .

CN118629382AActive Publication Date: 2024-09-10NINGBO FOTILE KITCHEN WARE CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

Existing active noise reduction systems are not accurate enough in detecting instability (especially stable single-frequency noise) and cannot effectively identify instability in environmental noise.

Method used

By collecting multi-frame sound signals, extracting sound features, determining the suspected instability frequency, and processing based on peak adjacent power ratio and frequency partitioning, the unstable state is detected in partitions, eliminating mutual interference, and improving detection accuracy.

Benefits of technology

It improves the accuracy of instability detection in active noise reduction systems, especially the detection effect when stabilizing single-frequency noise, and enhances the ability to identify and suppress instability signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629382A
    Figure CN118629382A
Patent Text Reader

Abstract

The invention provides an active noise reduction system, an instability detection method thereof, a control method, equipment, a storage medium and a program product. The instability detection method comprises the steps that multiple frames of sound signals are collected in the operation process of the active noise reduction system, and sound features are extracted from the sound signals; according to the sound features, determining a suspected instability frequency in the active noise reduction system; partitioning the sound signal according to the frequency of the sound signal; and for each subarea, when the sound features in the subarea meet an instability condition, determining the suspected instability frequency in the subarea as a final instability frequency. After the characteristics of the sound signals in the active noise reduction system are obtained and analyzed, the sound signals are subjected to partition processing, the instability state is detected in a partition mode, the instability detection accuracy is improved, and particularly, the instability detection accuracy can be improved when stable single-frequency abnormal sound occurs in the active noise reduction system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of noise reduction, and in particular to an active noise reduction system and an instability detection method, a control method, a device, a storage medium, and a program product thereof. Background Art

[0002] There are three main ways to detect instability (mainly howling) in active noise reduction algorithms: ① Based on the power amplitude of the time domain signal, monitor the power fluctuation or power size. If it suddenly increases or fluctuates violently, it is considered that howling has occurred; ② Based on the frequency domain signal, monitor the difference between the power of each frequency and the surrounding power. If the power on a certain frequency is abnormally prominent compared to the adjacent frequency band and lasts for a long time, it is considered that howling has occurred; ③ The artificial neural network method commonly used in the field of headphones, collects a large amount of voice data (abnormal sound group and normal group) in the early stage, constructs a discriminant neural network, and then extracts features from the audio data to be discriminated according to a certain method, and imports it into the artificial neural network to determine whether howling has occurred. The above solutions are commonly used for howling detection in headphones, intercoms and other equipment.

[0003] However, in practice, instability often occurs in two situations: the first is a sharp sound, which changes from low to high in a very short period of time, and finally the speaker works at full capacity, and the sound is unacceptable to the user. This situation is generally called howling; the second is that the sound does not gradually become very sharp, but it can be clearly heard that in addition to the noise source noise (such as fan noise), there is a stable or intermittent single-frequency sound, which will make people uncomfortable for a long time. This situation is generally called stable single-frequency abnormal sound. In practice, the above solution cannot detect instability under environmental noise very well, especially when it contains stable single-frequency abnormal sound. Summary of the invention

[0004] The technical problem to be solved by the present disclosure is to overcome the defect of inaccurate instability detection of active noise reduction systems in the prior art, and to provide an active noise reduction system and its instability detection method, control method, device, storage medium, and program product.

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

[0006] In a first aspect, a method for detecting instability in an active noise reduction system is provided, the method comprising:

[0007] Collecting multiple frames of sound signals during the operation of the active noise reduction system, and extracting sound features from the sound signals; the sound signals include noise signals of noise sources and / or control signals of speakers of the active noise reduction system;

[0008] Determining a suspected instability frequency in the active noise reduction system according to the sound characteristics;

[0009] Partitioning the sound signal according to the frequency of the sound signal;

[0010] For each partition, when the sound feature in the partition meets the instability condition, the suspected instability frequency in the partition is determined as the final instability frequency.

[0011] Optionally, the sound feature includes a peak adjacent power ratio; and determining a suspected instability frequency in the active noise reduction system according to the sound feature extracted from the sound signal comprises:

[0012] Determine the peak frequency of each frame of the sound signal respectively; the peak frequency is the frequency corresponding to the maximum value of at least three adjacent peaks in the sound signal;

[0013] Calculating a peak adjacent power ratio corresponding to the peak frequency, and determining a peak frequency corresponding to a peak adjacent power ratio greater than a peak adjacent power ratio threshold as an initial instability frequency;

[0014] Determine the initial instability frequencies that meet the preset conditions as suspected instability frequencies; wherein the preset conditions include at least one of the following:

[0015] The number of occurrences of the initial instability frequency in a plurality of adjacent frames of sound signals is greater than a first instability threshold;

[0016] The probability of occurrence of the initial instability frequency in a plurality of adjacent frames of sound signals is greater than a second instability threshold;

[0017] The sum of the peak adjacent power ratios of the initial instability frequency in a plurality of adjacent frames of sound signals is greater than a third instability threshold;

[0018] An average value of peak adjacent power ratios of the initial instability frequency in a plurality of adjacent frames of sound signals is greater than a fourth instability threshold.

[0019] Optionally, partitioning the sound signal according to the frequency of the sound signal includes:

[0020] Determine the partition interval according to the peak range of the sound signal at different frequencies when there is no instability;

[0021] The sound signal is partitioned according to the frequency range of the sound signal and the partition interval.

[0022] Optionally, for each partition, when the sound feature in the partition meets the instability condition, determining the suspected instability frequency in the partition as the final instability frequency includes:

[0023] Calculate the standard deviation of the peak adjacent power ratio corresponding to the suspected unstable frequency in the same partition;

[0024] When the standard deviation is greater than the standard deviation threshold of the corresponding partition, determining the corresponding suspected instability frequency in the partition as the final instability frequency;

[0025] The standard deviation threshold is determined according to the sound characteristics when no instability occurs;

[0026] Optionally, calculating the variance of the peak adjacent power ratio corresponding to the suspected instability frequency in the same partition;

[0027] When the variance is greater than the variance threshold corresponding to the partition, determining the suspected instability frequency corresponding to the partition as the final instability frequency;

[0028] The variance threshold is determined according to the sound characteristics when no instability occurs.

[0029] Optionally, during the operation of the active noise reduction system, multiple frames of sound signals are collected, and sound features are extracted from the sound signals, including: after low-pass filtering the sound signals, time domain and / or frequency domain processing is performed on the sound signals, and then sound feature extraction is performed on the processed sound signals;

[0030] and / or, in response to the PNPR gradually increasing, determining that the active noise reduction system is causing howling;

[0031] And / or, in response to the change rate of the PNPR being less than a change rate threshold, it is determined that a stable single-frequency abnormal sound occurs in the active noise reduction system.

[0032] In a second aspect, a control method for an active noise reduction system is provided, wherein the active noise reduction system includes a filter; a final instability frequency is detected according to the instability detection method in the active noise reduction system described in any one of the above items; a filtering parameter of the filter is determined according to the final instability frequency, and an instability signal in a sound signal is suppressed by the filter.

[0033] In a third aspect, an active noise reduction system is provided, comprising: a speaker, a microphone, a processor, and a filter; the processor is respectively connected to the speaker, the microphone, and the filter, and when the processor executes a computer program, the control method or the instability detection method of the active noise reduction system described in any one of the above items is implemented.

[0034] In a fourth aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the instability detection method or instability detection method described in any one of the above items is implemented.

[0035] In a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the instability detection method or instability detection method described in any one of the above items is implemented.

[0036] In a sixth aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the instability detection method or instability detection method described in any one of the above items is implemented.

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

[0038] The positive and progressive effect of the present disclosure is that by analyzing the sound features used for instability detection in the sound signal, the sound signal is partitioned and the instability state is detected by partition, so as to eliminate mutual interference between the partitions and improve the accuracy of instability detection, especially the accuracy of instability detection when a stable single-frequency abnormal sound occurs in the active noise reduction system. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flowchart of an instability detection method in an active noise reduction system provided by an exemplary embodiment of the present disclosure;

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

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

[0042] Figure 3a This is a spectrum diagram of the active noise reduction system when howling occurs;

[0043] Figure 3b This is a spectrum diagram of the active noise reduction system when a stable single-frequency abnormal sound occurs;

[0044] Figure 4 A flow chart for determining a suspected instability frequency in an instability detection method provided by an exemplary embodiment of the present disclosure;

[0045] Figure 5 The present invention is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

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

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

[0048] The principle of active noise reduction is to achieve noise reduction effect by canceling out sound signals. The active noise reduction system includes microphones, speakers, feedforward amplifiers, controllers, etc. Microphones are arranged around the noise source to pick up noise signals, and the picked up noise signals are transmitted to the controller through the feedforward amplifier. After analog-to-digital conversion, the controller is equipped with an operation unit, which calculates the control signal (anti-phase noise) of the speaker, and then converts the digital-to-analog signal into an analog signal and outputs it through the speaker, finally achieving noise reduction effect in the predetermined area.

[0049] The instability detection of the active noise reduction system is a kind of 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. This abnormal sound affects the user experience. The abnormal sound includes howling and stable single-frequency abnormal sound (or stable single-frequency sound).

[0050] The characteristics of howling caused by active noise reduction are: Figure 2a and Figure 2b 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 2a The second to fifth columns of the table refer to the amplitudes at 94.28 Hz, 108.75 Hz, 0 Hz and 6000 Hz respectively, and the sixth column RMS data refers to the root mean square value of the amplitude from 0 to 6000 Hz. The amplitude can be characterized by, but not limited to, power, energy, or decibels.

[0051] 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 2aAs shown by the blue curve, the peak bandwidth does not exceed 50Hz. Figure 2b 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 2b 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.

[0052] Figure 1 A flowchart of an instability detection method in an active noise reduction system provided by an exemplary embodiment of the present disclosure. The instability detection method includes:

[0053] Step 101: Collect multiple frames of sound signals during the operation of the active noise reduction system, and extract sound features from the sound signals.

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

[0055] The sound signal can be a control signal of the speaker, which is then used as the basic data for instability 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 sound signal can be the control signal of one speaker, or it can be a combination of control signals of multiple speakers.

[0056] The sound 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.

[0057] In a stable noise environment, the control signal of the speaker is stable, so the power of the control signal remains in a stable range for a period of time. However, when the system becomes unstable, the power of the control signal will increase significantly, and the power increase is reflected in a certain frequency. Based on the above introduction, there are two types of instability: the first is howling, which is sharp and changes from small to large in a very short time. In the end, the speaker is working at full load and the sound is unacceptable to users; the second is stable single-frequency abnormal sound, which will not gradually increase to a very sharp state, but it can be clearly heard that in addition to the noise emitted by the noise source, there is a stable or intermittent single-frequency sound, which will make people uncomfortable for a long time. The above two instability situations are a sudden increase in the power of a single frequency, but the degree of increase is different.

[0058] Figure 3a This is a spectrum diagram of the active noise reduction system when howling occurs. The ordinate is the amplitude of the sound signal and the abscissa is the frequency of the sound signal. In the case of howling instability, the power of the frequency where the abnormality occurs will become particularly strong, and even the main peak of the power of the entire frequency band. It can be seen from the figure that the abnormal frequency is 109Hz, and the power of this frequency (300000) is much greater than the power of other frequency bands (the highest is between 40000 and 50000), which is an order of magnitude different. Figure 3b This is a spectrum diagram of the active noise reduction system when a stable single-frequency abnormal sound occurs. The ordinate is the amplitude of the sound signal, and the abscissa is the frequency of the sound signal. The arrow points to the situation where the stable single-frequency abnormal sound is unstable. The power of the abnormal frequency is not like howling. Its power is not particularly strong and is generally lower than the main peak power of the low-frequency band (100-200Hz) wind noise and fan main noise. It can be seen from the figure that the abnormal frequency is around 430Hz, and the power of this frequency is lower than the main peak of the frequency around 100-200Hz. However, since this frequency (around 430Hz) is an isolated peak in its nearby frequency band, it is easy to be heard.

[0059] In step 101, it is necessary to collect multiple frames of sound signals during the operation of the active noise reduction system, and extract sound features for instability detection from the sound signals.

[0060] In one implementation, the sound signal is collected in real time during operation, and the sound signal within a period of time (several frames of data) is Fourier transformed to extract the sound features from the Fourier transform results. The Fourier transform can be, but is not limited to, the fast Fourier transform FFT. Considering the system computing power performance, the number of FFT points N does not need to be particularly large. It is sufficient to ensure that the FFT frequency resolution F=fs / N is between 20-50Hz. fs is the system signal sampling rate.

[0061] In one embodiment, the sound signal is Fourier transformed at a target frequency resolution. The target frequency resolution is obtained by optimization, and the optimization goal is to accurately detect instability and minimize the computational complexity of instability detection.

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

[0063] The frequency resolution determines the amount of calculation in the instability detection process. When the frequency resolution is 1Hz, it means that a 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 a 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 to the frequency resolution of 1Hz, which greatly speeds up the calculation speed of instability detection. As the frequency resolution increases, the amount of data for each Fourier transform decreases.

[0064] In one embodiment, the step of determining the target frequency resolution includes: obtaining abnormal samples, iteratively updating the frequency resolution, and determining the frequency resolution corresponding to accurate identification of abnormal sounds and the minimum calculation amount of instability detection as the target frequency resolution.

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

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

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

[0068] Based on the abnormal samples, the frequency band where the instability occurs is known, such as the stable single-frequency instability at frequencies fa, fb, and fc in the abnormal samples.

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

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

[0071] S3. If the frequency resolution is sufficient to determine instability, 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 instability points, continue to repeat step 2 until the frequency resolution that accurately identifies instability and minimizes the calculation amount of instability detection is found.

[0072] Step 102: Determine a suspected instability frequency in the active noise reduction system according to the sound characteristics.

[0073] According to the above description, a major feature of unstable sound is that the peak of the unstable frequency is generally an isolated / prominent spike, so the purpose of this step is to filter out the frequency with a peak that is more prominent than the surrounding in each frame of the sound signal as an abnormal point. Feature extraction is performed based on the sound features obtained in the previous step. The extracted features can be obtained through spectrum amplitude features, spectrum phase features, spectrum power features, spectrum shape features, etc.

[0074] Step 103: partition the sound signal according to its frequency.

[0075] Taking the active noise reduction system installed on the range hood as an example, in addition to the two characteristics of spikes and persistence of unstable sound frequencies, there are also some normal sound frequencies in the low frequency band (between 100-250Hz) with the above characteristics. Therefore, in order to distinguish the normal sound in the low frequency band, it is necessary to partition the sound signal according to the frequency of the sound signal. The partition is mainly based on the difference between frequency bands to partition the sound signal. First, it is necessary to obtain the range of amplitudes corresponding to different frequencies of the active noise reduction system when it is not unstable. This data can be obtained through user data or laboratory data. Then the sound signal is partitioned according to the above data values. If the effective frequency band of active noise reduction / the frequency band where howling is easy to produce is between 100-700Hz, and the spectrum characteristics (peaks) of every 100Hz are basically the same, then the preset partition intervals can be 100-200Hz, 200-300Hz, 300-400Hz, 400-500Hz, 500-600Hz, 600-700Hz, a total of 6 intervals, that is, to ensure that the amplitude corresponding to each interval is roughly the same.

[0076] Step 104: For each partition, when the sound characteristics in the partition meet the instability condition, the suspected instability frequency in the partition is determined as the final instability frequency.

[0077] After partitioning the sound signal as described above, the suspected instability frequencies in each partition are further judged to determine whether they meet the instability conditions. Taking the active noise reduction system installed on the range hood as an example, the peak value of the low-frequency band (partition between 100-300Hz) will be significantly higher than the peak value of the high-frequency band (interval above 300Hz). Therefore, the amplitude corresponding to the suspected instability frequency in the low-frequency band partition and the amplitude corresponding to the suspected instability frequency in the high-frequency band will be very different. Therefore, the suspected instability frequencies in each partition need to be distinguished and compared, and further screened to determine the final instability frequency. If the peak value of the suspected instability frequency is significantly higher than the peak values ​​corresponding to other frequencies in this interval, it can be determined as the final instability frequency.

[0078] In this embodiment, the sound features used for instability detection in the sound signal are analyzed, the sound signal is partitioned, and the instability state is detected by partition to eliminate mutual interference between the partitions and improve the accuracy of instability detection. In particular, the accuracy of instability detection can be improved when a stable single-frequency abnormal sound occurs in the active noise reduction system.

[0079] Figure 4 A flow chart of determining a suspected instability frequency in an instability detection method provided by an exemplary embodiment of the present disclosure. The sound feature includes a peak adjacent power ratio, and the suspected instability frequency in the active noise reduction system is determined according to the sound feature, including:

[0080] Step 201, determine the peak frequency of each frame of the sound signal respectively; the peak frequency is the frequency corresponding to the maximum value of at least three adjacent peaks in the sound signal.

[0081] Specifically, a major feature of unstable sound is that the peak of the unstable frequency is generally an isolated / prominent spike, so this step is used to filter out the frequency with a more prominent peak than the surrounding in each frame of the sound signal as an abnormal point. For example, if the power of frequency A is the largest compared to the two adjacent frequencies (A-1 and A+1) or N (AN / 2 to A+N / 2, N is an even number), then frequency A is considered to be a peak frequency. And so on, all peak frequency queues Peak are filtered out.

[0082] Step 202: Calculate the peak adjacent power ratio corresponding to the peak frequency, and determine the peak frequency corresponding to the peak adjacent power ratio being greater than the peak adjacent power ratio threshold as the initial instability frequency.

[0083] Specifically, for all frequencies in the Peak, calculate the peak neighbor power ratio PNPR (the ratio of the power of the target frequency to the average power of the adjacent frequencies, which can be expressed logarithmically). PNPR is used to characterize the sharpness of the frequency peak. If the peak is sharper and the surrounding frequencies are flatter, the PNPR value is larger. That is, if frequency B is a candidate frequency in the Peak, then the power E of frequency B is extracted. B , and the power average Eavg of the N frequencies (BN / 2 to B+N / 2, N is an even number) adjacent to frequency B, then the PNPR value of frequency B is Bpnpr = 10 * log10(E B / Eavg). And so on, calculate the PNPR values ​​of all frequencies in the peak frequency queue Peak. According to the preset PNPR threshold, filter out the peaks that exceed the threshold, and consider the frequencies corresponding to these peaks as the initial instability frequencies. And put their PNPR values ​​into the queue Peak. PNPR middle.

[0084] PNPR has little to do with the absolute power of the peak. Figure 3b Taking the 430Hz peak as an example, it is a sharp isolated peak, and its amplitude is much larger than that of its adjacent frequency bands. By partitioning and combining PNPR, the initial instability frequency can be accurately identified.

[0085] Step 203: Determine the initial unstable frequencies that meet the preset conditions as suspected unstable frequencies.

[0086] One characteristic of unstable sound is that the sound of unstable frequency generally does not appear and disappear at a very fast speed, but lasts for a period of time. According to the above characteristics, it can be known that multiple frames of sound signals can be selected to identify the initial unstable frequency.

[0087] In one embodiment, the preset condition includes that the number of occurrences of the initial instability frequency in a number of adjacent frames of sound signals is greater than a first instability threshold.

[0088] Specifically, the initial instability frequency of N frames (N is an integer) before the current sound signal is obtained. If the current frame is the i-th frame, it is necessary to collect all the initial instability frequency queues from the i-N+1th frame to the i-th frame. Count the frequency queues of N frames, count all the frequencies that appear in the queue, and obtain the number of times each initial instability frequency appears. For example, to obtain the initial instability frequency of the 10 frames of sound signals before the current sound signal, it is necessary to collect all the initial instability frequency queues in the first 10 frames. If frequency A appears 9 times in the initial instability frequency queue of the first 10 frames, which is greater than the first instability threshold (7 times), frequency A is determined as a suspected instability frequency. It should be noted that N is 10 and the first instability threshold is 7 times for example only. The specific values ​​of N and the first instability threshold can be set according to actual conditions.

[0089] In one embodiment, the preset condition includes that the probability of occurrence of the initial instability frequency in a number of adjacent frames of sound signals is greater than the second instability threshold.

[0090] Specifically, the initial instability frequency of the N frames before the current sound signal is obtained. If the current frame is the i-th frame, it is necessary to collect all the initial instability frequency queues from the i-N+1th frame to the i-th frame. Count the frequency queues of N frames, count all the frequencies that appear in the queue, and obtain the probability of occurrence of each initial instability frequency. For example, to obtain the initial instability frequency of the 10 frames before the current sound signal, it is necessary to collect all the initial instability frequency queues in the first 10 frames. If the probability of frequency A appearing in the initial instability frequency queue of the first 10 frames is 75% greater than the second instability threshold (50%), then frequency A is determined as a suspected instability frequency. It should be noted that the second instability threshold of 50% is only an example, and the specific value of the second instability threshold can be set according to actual conditions.

[0091] In one embodiment, the preset condition includes that the sum of the peak adjacent power ratios of the initial instability frequencies in a plurality of adjacent frames of sound signals is greater than a third instability threshold.

[0092] Specifically, the initial instability frequency of the N frames before the current sound signal is obtained. If the current frame is the i-th frame, it is necessary to collect all the initial instability frequency queues from the i-N+1th frame to the i-th frame. Count the frequency queues of N frames, sum all the PNPR values ​​of the same frequency in the queue, and obtain the total PNPR value of the frequency. In the case of multiple frames, if a certain frequency is a howling point, then this frequency will have a higher PNPR value in each frame, so the PNPR value of each frame is added and judged by the sum. For example, to obtain the initial instability frequency of the 10 frames before the current sound signal, it is necessary to collect all the initial instability frequency queues in the first 10 frames. If the initial instability frequency contains frequency A, calculate the sum of the PNPR values ​​of the first 10 frames corresponding to frequency A. When the sum of the PNPR values ​​of frequency A is greater than the third instability threshold, frequency A is determined as a suspected instability frequency.

[0093] In one embodiment, the preset condition includes that an average value of peak adjacent power ratios of initial instability frequencies in a plurality of adjacent frames of sound signals is greater than a fourth instability threshold.

[0094] Specifically, the initial instability frequency of the N frames before the current sound signal is obtained. If the current frame is the i-th frame, it is necessary to collect all the initial instability frequency queues from the i-N+1th frame to the i-th frame. Count the frequency queues of N frames, calculate the average value of all PNPR values ​​of the same frequency in the queue, and obtain the PNPR average value of the frequency. In the case of multiple frames, if a certain frequency is a howling point, then this frequency will have a higher PNPR value in each frame, so the average value of the PNPR value of each frame is judged by the average value. For example, to obtain the initial instability frequency of the 10 frames before the current sound signal, it is necessary to collect all the initial instability frequency queues in the first 10 frames. If the initial instability frequency contains frequency A, the average value of the PNPR values ​​of the first 10 frames corresponding to frequency A is calculated. When the average value of the PNPR value of frequency A is greater than the fourth instability threshold, frequency A is determined as a suspected instability frequency.

[0095] The above preset conditions can be combined with each other to screen suspected unstable frequencies.

[0096] In the above embodiment, the instability frequency is judged by single-frame and multi-frame sound signals, and the instability frequency is screened multiple times, which lays a foundation for subsequent instability frequency detection and further improves the accuracy of instability frequency detection.

[0097] In one embodiment, in response to the PNPR gradually increasing, that is, the PNPR monotonically increasing, it is determined that the active noise reduction system has a howling sound; in response to the PNPR change rate being less than the change rate threshold, that is, the PNPR is basically stable, it is determined that the active noise reduction system has a stable single-frequency abnormal sound. The change rate threshold is calculated based on experimental data of no stable single-frequency abnormal sound and stable single-frequency abnormal sound.

[0098] In this embodiment, the cause of instability of the active noise reduction system can be accurately distinguished based on the change of PNPR.

[0099] In one embodiment, partitioning the sound signal according to the frequency of the sound signal includes: determining the partition interval according to the peak range of the sound signal at different frequencies when there is no instability; and partitioning the sound signal according to the frequency range and the partition interval of the sound signal.

[0100] Specifically, in order to distinguish the instability frequencies under different partitions, the sound signal needs to be partitioned according to the frequency of the sound signal. The partition is mainly based on the difference between frequency bands to partition the sound signal. First, the frequency band partition is preset according to the actual situation of the signal to be processed. The preset interval is mainly based on: first, the effective range of noise reduction and the range where howling is easy to occur, to determine the total interval of the frequency band; second, the difference between frequency bands to determine the size of the frequency band partition interval. Taking the active noise reduction system mounted on the range hood as an example, in the active noise reduction system, the sound signal is in the 0-200Hz segment, the peak value of the spectrum is relatively high, the average is above 10000, and the spectrum fluctuates greatly; and above 200Hz, the peak value of the spectrum drops sharply, the average is less than 5000, and the spectrum is relatively stable. For example, the effective frequency band of active noise reduction or the frequency band where howling is easy to occur is between 100-700Hz, and the spectrum characteristics of every 100Hz are basically the same. The spectrum characteristics refer to the peak situation within the interval. The preset sub-areas can be 100-200Hz, 200-300Hz, 300-400Hz, 400-500Hz, 500-600Hz, 600-700Hz, a total of 6 intervals. The interval can also be determined by observing the peak value and PNPR in the interval. For example, if the peak value and / or PNPR in the 300-700Hz interval are relatively close, that is, the change rate is less than the change rate threshold, 300-700Hz can also be merged into one partition for processing.

[0101] In this embodiment, in order to distinguish the instability frequencies in different partitions, the sound signals are partitioned according to the frequencies based on the corresponding peak values ​​at different frequencies in the partitions. In subsequent processing, different processing strategies can be adopted for the sound signals in different frequency ranges, which is more conducive to screening out the instability signals and provides a benchmark for instability judgment.

[0102] In one embodiment, for each partition, when the sound feature in the partition meets the instability condition, determining the suspected instability frequency in the partition as the final instability frequency includes:

[0103] Calculate the standard deviation of the peak adjacent power ratio corresponding to the suspected instability frequency in the same partition; when the standard deviation is greater than the standard deviation threshold of the corresponding partition, determine the corresponding suspected instability frequency in the partition as the final instability frequency; the standard deviation threshold is determined based on the sound characteristics when no instability occurs.

[0104] Specifically, the standard deviation of the PNPR corresponding to the suspected instability frequency of the same partition is calculated. The standard deviation can be used to determine the peak fluctuation of the interval. Once any partition exceeds the standard deviation threshold of the corresponding partition, it is considered that the fluctuation of the partition is greater than expected, and instability is considered to have occurred. The corresponding suspected instability frequency in the partition is determined as the final instability frequency. The setting of the standard deviation threshold is determined according to the sound characteristics when instability occurs. Taking the range hood as an example, the peak fluctuation in the low-frequency band is relatively high, so the calculated PNPR will also fluctuate more, so the calculation of std (standard deviation) will also be larger. Compared with the high-frequency band, the high-frequency band is more stable and has small fluctuations. The calculated PNPR value also has small fluctuations, so the calculation of std will also be small. Therefore, for the active noise reduction system of the range hood, the standard deviation threshold of the low-frequency band (partition between 100-300Hz) will be significantly higher than the standard deviation threshold of the high-frequency band (interval above 300Hz).

[0105]

[0106] The above table is the standard deviation data of each partition calculated by the partition under normal operation of the eight sets of noise reduction systems. The first column corresponds to the frequency band of the partition, and the other columns are the standard deviation values ​​in different frequency band partitions corresponding to each set of data. Specifically, first filter out the maximum value of the standard deviation of each frequency band, and round it up as the standard deviation threshold. For example, for 100-200Hz, the maximum value is 23.097. Then you can round up and set the standard deviation threshold to 24, or round it up to a multiple of 5, and the threshold can be set to 25.

[0107]

[0108] The figure above shows the different suspected instability frequencies and corresponding PNPR values ​​of multiple frames collected in the instability state, and the standard deviation values ​​obtained by calculation. According to the above standard deviation values ​​and the corresponding standard deviation thresholds of each partition, the suspected instability frequency in the partition that exceeds the standard deviation threshold is determined as the final instability frequency.

[0109] In one embodiment, the variance of the peak adjacent power ratio corresponding to the suspected instability frequency in the same partition is calculated. When the variance is greater than the variance threshold corresponding to the partition, the corresponding suspected instability frequency in the partition is determined as the final instability frequency; the variance threshold is determined according to the sound characteristics when no instability occurs.

[0110] Similarly, the variance method can also be used to determine the fluctuation of the interval. First, the variance of the peak adjacent power ratio of the suspected unstable frequency in the same partition is calculated. When the variance is greater than the variance threshold corresponding to the partition, the corresponding suspected unstable frequency in the partition is determined as the final unstable frequency.

[0111] In this embodiment, the peak fluctuation in the same partition can be used to determine whether instability occurs in each interval, thereby determining the corresponding suspected instability frequency in the partition as the final instability frequency. By screening the instability frequency multiple times, the accuracy of instability frequency detection is greatly improved, especially when the abnormal sound occurs in the low frequency band.

[0112] In one embodiment, multiple frames of sound signals are collected during the operation of the active noise reduction system, and sound features are extracted from the sound signals, including: low-pass filtering the sound signals, performing time domain and / or frequency domain processing on the sound signals, and then extracting sound features from the processed sound signals.

[0113] Specifically, the collected sound signal can be analyzed to determine the range of the noise frequency band, and the frequency band that does not need to be processed or is not prone to instability can be filtered out through a low-pass filter, and then the sound features of the processed sound signal can be extracted. For example, the main noise frequency band of the range hood is relatively low, and the active noise reduction control frequency band will not be fully controlled, so the sound signal can be low-pass filtered first, and the cutoff frequency can be selected as the upper limit frequency of the active noise reduction control, such as 1KHz.

[0114] In this embodiment, the sound signal is processed after passing through a low-pass filter, which greatly reduces the system computing power and reduces the complexity of the overall calculation.

[0115] The disclosed embodiments also provide a control method for an active noise reduction system, wherein the active noise reduction system includes a filter; a final instability frequency is detected according to the instability detection method in the active noise reduction system of any of the above embodiments; a filtering parameter of the filter is determined according to the final instability frequency, and an instability signal in the sound signal is suppressed by the filter.

[0116] For the specific implementation process of determining the filtering parameters of the filter according to the final instability frequency, please refer to the relevant technical description, which will not be repeated here.

[0117] Specifically, since the signal amplitude and signal power at the corresponding instability frequency increase after instability occurs, the instability signal in the sound signal can be suppressed by setting a filter. The parameters of the filter can be automatically adjusted according to the final instability frequency and the corresponding amplitude in the above embodiment.

[0118] In this embodiment, when the active noise reduction system becomes unstable, the filter parameters can be automatically adjusted to suppress the unstable signal in the sound signal, thereby greatly improving the user experience.

[0119] An embodiment of the present disclosure also provides an active noise reduction system, which includes: a speaker, a microphone, a processor, and a filter; the processor is connected to the speaker, the microphone, and the filter, respectively, and when the processor executes a computer program, it implements the instability detection method or the control method of the active noise reduction system provided in any of the above embodiments.

[0120] The disclosed embodiment also provides a range hood, which includes the above active noise reduction system. When the range hood is working, the active noise reduction system is turned on. When the active noise reduction system detects instability, the active noise reduction system uses the above control method of the active noise reduction system to suppress the instability frequency.

[0121] Figure 5 This is a structural schematic diagram of an electronic device shown in an example embodiment of the present disclosure, the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and the processor implements the instability detection method described in any of the above embodiments when executing the computer program. Figure 5 The electronic device 50 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.

[0122] like Figure 5 As shown, the electronic device 50 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 50 may include, but are not limited to: at least one processor 51, at least one memory 52, and a bus 53 connecting different system components (including the memory 52 and the processor 51).

[0123] The bus 53 includes a data bus, an address bus, and a control bus.

[0124] The memory 52 may include a volatile memory, such as a random access memory (RAM) 521 and / or a cache memory 522 , and may further include a read-only memory (ROM) 523 .

[0125] The memory 52 may also include a program tool 525 (or utility) having a set (at least one) of program modules 524, such program modules 524 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.

[0126] The processor 51 executes various functional applications and data processing by running the computer program stored in the memory 52, such as the instability detection method or control method provided in any of the above embodiments.

[0127] The electronic device 50 may also communicate with one or more external devices 54 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 55. In addition, the electronic device 50 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 56. As shown, the network adapter 56 communicates with other modules of the electronic device 50 via a bus 53. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 50, 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.

[0128] It should be noted that although several units / modules or sub-units / modules of the electronic device 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 into multiple units / modules to be embodied.

[0129] The embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the instability detection method or control method provided by any of the above embodiments is implemented.

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

[0131] The embodiments of the present disclosure further provide 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 instability detection methods or control methods.

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

[0133] 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 instability in an active noise reduction system, It is characterized in that The instability detection method comprises: Collecting multiple frames of sound signals during the operation of the active noise reduction system, and extracting sound features for instability detection from the sound signals; the sound signals include noise signals of noise sources and / or control signals of speakers of the active noise reduction system; Determining a suspected instability frequency in the active noise reduction system according to the sound characteristics; Partitioning the sound signal according to the frequency of the sound signal; For each partition, when the sound feature in the partition meets the instability condition, the suspected instability frequency in the partition is determined as the final instability frequency.

2. The instability detection method according to claim 1, It is characterized in that The acoustic characteristics include a peak-to-adjacent power ratio; Determining a suspected instability frequency in the active noise reduction system according to the sound characteristics includes: Determine the peak frequency of each frame of the sound signal respectively; the peak frequency is the frequency corresponding to the maximum value of at least three adjacent peaks in the sound signal; Calculating a peak adjacent power ratio corresponding to the peak frequency, and determining a peak frequency corresponding to a peak adjacent power ratio greater than a peak adjacent power ratio threshold as an initial instability frequency; Determine the initial instability frequencies that meet the preset conditions as suspected instability frequencies; wherein the preset conditions include at least one of the following: The number of occurrences of the initial instability frequency in a plurality of adjacent frames of sound signals is greater than a first instability threshold; The probability of occurrence of the initial instability frequency in a plurality of adjacent frames of sound signals is greater than a second instability threshold; The sum of the peak adjacent power ratios of the initial instability frequency in a plurality of adjacent frames of sound signals is greater than a third instability threshold; An average value of peak adjacent power ratios of the initial instability frequency in a plurality of adjacent frames of sound signals is greater than a fourth instability threshold.

3. The instability detection method according to claim 1, It is characterized in that Partitioning the sound signal according to the frequency of the sound signal includes: Determine the partition interval according to the peak range of the sound signal at different frequencies when there is no instability; The sound signal is partitioned according to the frequency range of the sound signal and the partition interval.

4. The instability detection method according to claim 1, It is characterized in that For each partition, when the sound feature in the partition meets the instability condition, determining the suspected instability frequency in the partition as the final instability frequency includes: Calculate the standard deviation of the peak adjacent power ratio corresponding to the suspected unstable frequency in the same partition; When the standard deviation is greater than the standard deviation threshold of the corresponding partition, determining the corresponding suspected instability frequency in the partition as the final instability frequency; The standard deviation threshold is determined according to the sound characteristics when no instability occurs; and / or; Calculate the variance of the peak adjacent power ratio corresponding to the suspected unstable frequency in the same partition; When the variance is greater than the variance threshold corresponding to the partition, determining the suspected instability frequency corresponding to the partition as the final instability frequency; The variance threshold is determined according to the sound characteristics when no instability occurs.

5. The instability detection method according to claim 1, It is characterized in that During the operation of the active noise reduction system, multiple frames of sound signals are collected and sound features are extracted from the sound signals, including: low-pass filtering the sound signals, processing the sound signals in the time domain and / or frequency domain, and then extracting sound features from the processed sound signals; and / or, in response to the PNPR gradually increasing, determining that the active noise reduction system is causing howling; And / or, in response to the change rate of the PNPR being less than a change rate threshold, it is determined that a stable single-frequency abnormal sound occurs in the active noise reduction system.

6. A control method for an active noise reduction system, It is characterized in that The active noise reduction system includes a filter; according to the instability detection method in the active noise reduction system according to any one of claims 1 to 5, a final instability frequency is detected; a filter parameter of the filter is determined according to the final instability frequency, and the instability signal in the sound signal is suppressed by the filter.

7. An active noise reduction system, It is characterized in that The active noise reduction system includes: a speaker, a microphone, a processor, and a filter; the processor is connected to the speaker, the microphone, and the filter respectively, and when the processor executes a computer program, it implements the instability detection method according to any one of claims 1 to 5 or the control method of the active noise reduction system according to claim 6.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the instability detection method according to any one of claims 1 to 5 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the instability detection method according to any one of claims 1 to 5 or the control method of the active noise reduction system according to claim 6 is implemented.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the instability detection method according to any one of claims 1 to 5 or the control method of the active noise reduction system according to claim 6 is implemented.

Citation Information

Patent Citations

  • Automatic acoustic feedback monitoring and eliminating method in real-time communication system

    CN109218917A

  • Howling detection and suppression method

    CN111402911A

  • Active noise reduction method and device

    CN113676803A

  • Signal detection method, computing equipment and storage medium

    CN113971962A

  • Voice detection method and device, storage medium and electronic equipment

    CN114694676A

Cited By

  • Active noise reduction system, instability detection method and control method thereof, and household appliance

    CN119229838A