Instability judgment method and control method of active noise reduction system, instability judgment system, equipment and medium
By using the probability density function and dynamic power threshold of exponential distribution fitting in the active noise reduction system, combined with the working condition parameters, the problem of difficult to balance the accuracy and real-time accuracy of instability determination in the existing technology is solved, and more efficient Noise control.
Patent Information
- Application Number
- CN202411097242.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-08-12
AI Technical Summary
The existing active noise reduction system has problems of difficulty in balancing accuracy and real-time in determining instability, resulting in high misjudgment rate and fixed power thresholds that cannot adapt to different environmental changes.
The probability density function based on exponential distribution fitting is used to determine the power threshold, the threshold is dynamically adjusted based on the current working condition parameters, and the instability judgment is made by comparing the output power in the continuous time window, which improves real-time and accuracy.
It improves the real-time and accuracy of the instability judgment of the active noise reduction system, reduces the misjudgment rate, and the power threshold can dynamically adapt to environmental changes, enhancing the noise reduction effect.
Smart Images

Figure CN119022339A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of active noise reduction, and in particular to an instability determination method, a control method, an instability determination system, a device and a medium of an active noise reduction system. Background Art
[0002] Active noise reduction is a noise control technology that can effectively reduce noise. When the active noise reduction system is working, the system may become unstable, produce high-frequency noise or howling, resulting in a decrease in the system's noise reduction effect, or even increase the noise, causing damage to the speakers and microphones in the active noise reduction system.
[0003] In order to avoid instability of the active noise reduction system, the output power of the active noise reduction system in different time windows is usually counted, and the proportion of the time windows in which the output power is greater than the power threshold in the total time windows is determined based on statistics. Considering the real-time nature of instability judgment, only the output power in a small number of time windows can be taken for statistics, which is easy to cause misjudgment and the accuracy needs to be improved. Considering the accuracy of instability judgment, it is necessary to take the output power in more time windows, but the real-time performance is poor. Instability judgment based on statistics cannot balance real-time and accuracy. For example, if the output power in 30% of the time windows is required to be greater than the power threshold, it is necessary to collect enough output powers in different time windows, which will bring a lot of delays, resulting in poor real-time performance, and thus unable to optimize active noise reduction, affecting the noise reduction effect of active noise reduction. Collecting only the output power of one time window is easy to cause misjudgment and poor accuracy. Moreover, the power threshold in the prior art is a fixed value, which cannot adapt to changes in different environments, resulting in poor accuracy of instability judgment. Summary of the invention
[0004] The technical problem to be solved by the present disclosure is to overcome the defect of poor instability determination accuracy of the active noise reduction system in the prior art, and to provide an instability determination method, a control method, an instability determination system, a device and a medium for the active noise reduction system.
[0005] The present invention solves the above technical problems through the following technical solutions:
[0006] In a first aspect, a method for determining instability of an active noise reduction system is provided, wherein the method for determining instability of an active noise reduction system comprises:
[0007] Obtaining the output power of the active noise reduction system;
[0008] In response to the output power satisfying a preset condition, determining that the active noise reduction system is unstable;
[0009] The preset condition includes: the output power is greater than a power threshold, and the power threshold is determined based on a probability density function of the output power obtained by exponential distribution fitting.
[0010] Optionally, the active noise reduction system is applied to a range hood, different operating conditions of the range hood correspond to different probability density functions, and the instability determination method of the active noise reduction system further includes:
[0011] Obtaining current operating parameters of the range hood;
[0012] The probability density function matching the current operating condition parameter is determined, wherein the current operating condition parameter is negatively correlated with a distribution parameter of the probability density function, and the power threshold is negatively correlated with the distribution parameter.
[0013] Optionally, a calculation formula for determining the power threshold based on the probability density function is:
[0014] f(x)=λe -λx =P
[0015] Wherein, x is the power threshold, f(x) is the probability density function, λ is the distribution parameter of the probability density function, e is the base of the natural logarithm, and P is the cumulative probability value;
[0016] The power threshold corresponding to the maximum possible value of the cumulative probability value close to 1 is calculated.
[0017] Optionally, the preset condition also includes:
[0018] The output power of the active noise reduction system continues to increase;
[0019] Or, the output power in the first time window is less than the output power in the second time window,
[0020] Or, the output power in the first time window is less than the output power in the second time window, and the output power in the second time window is less than the output power in the third time window;
[0021] The first time window, the second time window and the third time window are continuous time windows, the first time window is farthest from the current moment, and the third time window is closest to the current moment.
[0022] Optionally, the active noise reduction system is applied to a range hood, and the window sizes of the first time window, the second time window and the third time window are all larger than the internal reverberation time of the range hood;
[0023] And / or, the window sizes of the first time window, the second time window and the third time window are all smaller than 40 ms.
[0024] In a second aspect, a control method of an active noise reduction system is provided, wherein the control method of the active noise reduction system comprises:
[0025] Acquire historical instability data of the active noise reduction system and a determination result of any one of the above-mentioned methods for determining instability of the active noise reduction system;
[0026] In response to instability of the active noise reduction system, an instability intervention decision corresponding to the historical instability data is determined.
[0027] Optionally, the historical instability data includes: the number of occurrences of instability after the active noise reduction system is turned on; and the step of determining the instability intervention decision corresponding to the historical instability data includes:
[0028] In response to the number of occurrences of the instability being greater than a first threshold, shutting down the active noise reduction system;
[0029] In response to the number of occurrences of the instability being less than the first threshold, shutting down the active noise reduction system, restarting the active noise reduction system after a preset time, and re-counting the number of occurrences of the instability;
[0030] And / or, after the step of obtaining the determination result of the instability determination method of the active noise reduction system described in any one of the above, the control method of the active noise reduction system further includes:
[0031] In response to the active noise reduction system not being unstable and the number of abnormalities being greater than a second threshold, shutting down the active noise reduction system and issuing a maintenance prompt;
[0032] The number of abnormalities is the number of times the instability occurs that is greater than the first threshold.
[0033] In a third aspect, an instability determination system for an active noise reduction system is provided, wherein the instability determination system for the active noise reduction system comprises:
[0034] A first acquisition module, used to acquire the output power and historical instability data of the active noise reduction system;
[0035] a determination module, configured to determine that instability occurs in the active noise reduction system in response to the output power satisfying a preset condition;
[0036] The preset condition includes: the output power is greater than a power threshold, and the power threshold is determined based on a probability density function of the output power obtained by exponential distribution fitting.
[0037] According to a third aspect, an electronic device 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 instability determination method of the active noise reduction system and the control method of the active noise reduction system described in any one of the above items are implemented.
[0038] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the instability determination method of the active noise reduction system and the control method of the active noise reduction system described in any one of the above items are implemented.
[0039] In a fifth aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method for determining instability of an active noise reduction system and the method for controlling an active noise reduction system described in any one of the above items are implemented.
[0040] 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.
[0041] The positive and progressive effects of the present disclosure are as follows: the instability judgment condition of the present disclosure is a power threshold, and the probability density function of the output power is obtained based on exponential distribution fitting. The power threshold is calculated according to the probability density function, and the power threshold is used as the instability judgment condition. The exponential distribution fitting does not require statistics of the output power in a large number of time windows. Compared with the statistical method for judging instability, the real-time performance is better, and the accuracy of instability judgment is high. The power threshold is not a fixed value, but is obtained through calculation, which can adapt to changes in the environment, reduce or avoid misjudgment, and help to improve the noise reduction effect of the active noise reduction system. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A flowchart of an instability determination method for an active noise reduction system provided by an exemplary embodiment of the present disclosure;
[0043] FIG2( a ) is a probability distribution effect diagram of output energy of a speaker in an active noise reduction system provided by an exemplary embodiment of the present disclosure;
[0044] FIG2( b ) is another probability distribution effect diagram of the output energy of a speaker in an active noise reduction system provided by an exemplary embodiment of the present disclosure;
[0045] Figure 3 A flow chart of a control method of an active noise reduction system provided by an exemplary embodiment of the present disclosure;
[0046] Figure 4 A schematic diagram of a module of an instability determination system of an active noise reduction system provided by an exemplary embodiment of the present disclosure;
[0047] Figure 5 The present invention provides a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0048] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.
[0049] 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.
[0050] Figure 1 A flowchart of an instability determination method for an active noise reduction system provided by an exemplary embodiment of the present disclosure, the instability determination method for the active noise reduction system comprising:
[0051] Step S101: Obtain the output power of the active noise reduction system.
[0052] The active noise reduction system generally includes a reference microphone, a speaker and a controller. The reference microphone is used to collect noise signals, and the controller is used to receive noise signals and send control signals to drive the speaker to output control signals. The control signals and the noise signals emitted by the noise source are offset, thereby achieving active noise reduction. The active noise reduction system may include multiple reference microphones and speakers, and the noise source includes but is not limited to a range hood. The specific setting can be based on actual conditions and is not specifically limited here.
[0053] The output power of the active noise reduction system refers to the output power of the speaker, which is calculated by the control signal sent by the controller. Specifically, the output power is the ratio of the output energy to the number of time points. The output energy is the output energy of the speaker in the active noise reduction system, specifically the sum of the squares of the amplitudes of the control signals at several time points over a period of time. After calculating the output energy, the output energy is divided by the number of time points to obtain the output power. The number of time points is selected according to actual conditions and is not specifically limited here.
[0054] Step S102: In response to the output power satisfying a preset condition, it is determined that the active noise reduction system is unstable.
[0055] The preset conditions include: the output power is greater than a power threshold, and the power threshold is determined based on a probability density function of the output power obtained by exponential distribution fitting.
[0056] Specifically, the time domain data of the output power of the active noise reduction system under normal operation is discretized into multiple time periods of time length T0, and the probability density of the output power in each time period is calculated to obtain the frequency of the output power falling in different power intervals in each time period. This can be achieved by using the Matlab function fitting toolkit, which is not particularly limited here. The process of obtaining the probability density function according to the frequency of the output power falling in different power intervals can be referred to the relevant technical description, which will not be repeated here.
[0057] The probability density function of the exponential distribution is expressed as:
[0058] f(x)=λe -λx
[0059] Wherein, f(x) is the probability density function, x is the power threshold, λ is the distribution parameter of the probability density function, and e is the base of the natural logarithm.
[0060] When the distribution parameters are known, the power threshold is determined according to the probability density function. If the output power meets the preset conditions, that is, the output power is greater than the power threshold, it means that the speaker is abnormal and the active noise reduction system is determined to be unstable.
[0061] In this embodiment, the instability judgment condition is the power threshold. The probability density function of the output power is obtained based on the exponential distribution fitting. The power threshold is calculated according to the probability density function. The power threshold is used as the instability judgment condition. The exponential distribution fitting does not need to count the output power in a large number of time windows. Compared with the statistical method for judging instability, the real-time performance is better and the accuracy of instability judgment is high. The power threshold is not a fixed value, but is obtained through calculation. It can adapt to changes in the environment, reduce or avoid misjudgment, and help to improve the noise reduction effect of the active noise reduction system.
[0062] In one embodiment, the active noise reduction system is applied to a range hood, and different operating conditions of the range hood correspond to different probability density functions. The instability determination method of the active noise reduction system further includes: obtaining current operating condition parameters of the range hood, and determining a probability density function that matches the current operating condition parameters.
[0063] The current operating condition parameter is negatively correlated with the distribution parameter of the probability density function, and the power threshold is negatively correlated with the distribution parameter. The larger the current operating condition parameter is, the smaller the distribution parameter is, and the larger the power threshold is.
[0064] The operating parameters include but are not limited to motor speed and current, which can be selected according to actual conditions and are not particularly limited here.
[0065] In this embodiment, the power threshold is calculated based on the current operating condition parameters, and the power threshold can be adjusted according to the current operating condition parameters. When the current operating condition parameters are large, it means that the range hood will generate large noise, so the output power of the active noise reduction system will also increase, and the power threshold will also increase accordingly. Similarly, when the current operating condition parameters are small, it means that the noise generated by the range hood is small, the output power of the active noise reduction system will also decrease, and the power threshold will also decrease accordingly.
[0066] In one embodiment, after obtaining the current operating condition parameters of the range hood, a probability density function matching the operating condition close to the current operating condition parameters is obtained.
[0067] According to the output power of the active noise reduction system under multiple different reference working conditions, the probability density functions corresponding to the multiple reference working conditions are calculated in advance to obtain the corresponding relationship between the distribution parameters of the probability density function and the reference working conditions. The corresponding relationship between the distribution parameters of the probability density function and the reference working conditions is stored in a storage chip in the controller, and can also be stored in other devices. The specific selection can be based on actual conditions and is not particularly limited here.
[0068] When in use, based on the operating condition parameters of the reference operating condition, a reference operating condition close to the current operating condition parameters is determined, and a probability density function matching the reference operating condition is obtained for calculating the power threshold.
[0069] In this embodiment, probability density functions corresponding to multiple reference operating conditions are pre-calculated and stored. When in use, similar reference operating conditions can be determined directly according to the current operating condition parameters, and a probability density function matching the reference operating condition can be obtained for calculating the power threshold. This is simple and easy to implement, effectively saving calculation amount and improving calculation efficiency.
[0070] In one embodiment, after obtaining the current operating parameters of the range hood, an interpolation method is used to determine a probability density function that matches the current operating parameters.
[0071] The corresponding relationship between the distribution parameters of the probability density function and multiple different working conditions is obtained in advance. Since there is a deviation between the actual working condition and the reference working condition, the interpolation method can be used to calculate the distribution parameters corresponding to the actual working condition based on the corresponding relationship between the distribution parameters of the probability density function and the working condition. The interpolation method includes but is not limited to linear difference, which can be set according to the actual situation and is not particularly limited here.
[0072] In this embodiment, the distribution parameters of the probability density function calculated by the interpolation method are more accurate, which helps to determine a more accurate power threshold, reduce or avoid misjudgment, improve the accuracy of instability judgment, and thus improve the noise reduction effect of the active noise reduction system.
[0073] In one embodiment, the calculation formula for determining the power threshold based on the probability density function is:
[0074] f(x)=λe -λx =P
[0075] Where x is the power threshold, f(x) is the probability density function, λ is the distribution parameter of the probability density function, e is the base of the natural logarithm, and P is the cumulative probability value;
[0076] Calculate the power threshold corresponding to the maximum possible value when the cumulative probability value is close to 1.
[0077] The cumulative probability value can be 0.999, which can be selected according to the actual situation and is not particularly limited here. According to the experimental data analysis, the output power satisfies the exponential distribution. The greater the output power, the smaller the probability. The probability density function represents the integral of the probability. Specifically, f(x) = λe -λx It indicates the probability that the output power is less than the power threshold x. When the cumulative probability value is 0.999, the corresponding power threshold x is calculated. The probability that the output power in a single time window is greater than the power threshold x is 1 in 1000. The larger the cumulative probability value, the more accurate the power threshold.
[0078] In this embodiment, the power threshold is determined according to the above calculation formula, and the probability that the output power of a single time window is greater than the power threshold is one in a thousand, which effectively reduces or avoids misjudgment, improves the accuracy of instability judgment, and further improves the noise reduction effect of the active noise reduction system.
[0079] In one embodiment, the output energy is used instead of the output power to perform instability determination. If the output energy is greater than an output energy threshold, it is determined that the active noise reduction system is instability.
[0080] Output power is the ratio of output energy to the number of time points. Output energy is the output energy of the speaker in the active noise reduction system, specifically the sum of the squares of the amplitudes of the control signals at several time points over a period of time. The number of time points is selected according to actual conditions and is not specifically limited here.
[0081] Since the output power is proportional to the output energy, in order to simplify the algorithm, the output energy can be used instead of the output power to make instability judgments, without the need to calculate the output power through division, thus reducing the time spent on calculations. Assuming that a multiplication calculation requires one clock cycle, a division calculation may require hundreds of clock cycles. By replacing the output power with the output energy, the division calculation can be avoided.
[0082] See Figure 2(a) and Figure 2(b), where the horizontal axis DA Energy represents the estimated value of the output energy of the speaker in a time window, and the vertical axis Probablity represents the probability of occurrence of the output energy, that is, the ratio of the number of samples of the output energy in a certain interval to the total number of samples. It should be noted that since it is impossible to directly calculate the exact value of the output energy of the speaker in a time window, the estimated value is used instead of the exact value of the output energy, and the estimated value is proportional to the exact value of the output energy.
[0083] The calculation formula for determining the energy threshold based on the probability density function is:
[0084] f(x)=λe -λx′ =P
[0085] Where x′ is the energy threshold, f(x) is the probability density function, λ is the distribution parameter of the probability density function, e is the base of the natural logarithm, and P is the cumulative probability value;
[0086] Calculate the energy threshold corresponding to the maximum possible value of the cumulative probability value close to 1.
[0087] The cumulative probability value can be 0.999, which can be selected according to the actual situation and is not particularly limited here. According to the experimental data analysis, the output energy satisfies the exponential distribution, and the greater the output energy, the smaller the probability. f(x) = λe -λx′ It represents the probability that the output energy is less than the energy threshold x', and solves the energy threshold x' corresponding to the cumulative probability value of 0.999. The larger the cumulative probability value, the more accurate the energy threshold.
[0088] In this embodiment, for the simplicity of the algorithm, the output energy is used instead of the output power to perform instability determination, which can avoid division calculation. If the output energy is greater than the energy threshold, it is determined that the active noise reduction system is unstable, and there is no need to calculate the output power through division, which reduces the time consumed in calculation and improves the calculation efficiency.
[0089] In one embodiment, the preset condition further includes: the output power of the active noise reduction system continues to increase.
[0090] If the output power continues to increase, it means that the output energy of the speaker in the active noise reduction system continues to increase, and the output power is greater than the power threshold, indicating that the active noise reduction system is unstable. According to experimental data, the probability of the speaker's output energy continuing to increase when the active noise reduction system is working normally is extremely low, which is a precursor to the instability of the active noise reduction system. Instability includes but is not limited to howling and high-frequency abnormal sounds.
[0091] In this embodiment, continuously increasing the output power is used as the condition for instability determination to timely determine whether the active noise cancellation system becomes unstable and avoid the reduction of the noise cancellation effect after instability.
[0092] In one embodiment, the preset condition further includes that the output power within the first time window is less than the output power within the second time window.
[0093] Wherein, the first time window and the second time window are consecutive time windows, and the first time window is the farthest from the current moment. The window sizes of the first time window, the second time window, and the third time window can be 4 - 10 ms, which can be specifically selected according to the actual situation and are not particularly limited herein.
[0094] Calculate the output power P1 within the first time window and the output power P2 within the second time window respectively. If the output power meets the preset condition, that is, P1 is greater than the power threshold and P1 < P2, it indicates that the closer to the current moment, the greater the output power. Since the output power gradually increases, it is determined that the active noise cancellation system becomes unstable.
[0095] Assume that the cumulative probability value is 0.999, then the probability that the output power of a single time window is greater than the power threshold is one in a thousand. If the active noise cancellation system works normally and the output powers within each time window are independent events, that is, the output power within one time window is not affected by the output powers within other time windows, then the misjudgment probability when taking the output powers of two time windows as the condition for instability determination is approximately 0.001 2 。
[0096] In this embodiment, instability determination is performed by comparing the output powers within two consecutive time windows. If the output power within the first time window is less than the output power within the second time window, it is determined that the active noise cancellation system becomes unstable. Only the output powers within two time windows are required for judgment, with a small amount of calculation and good real-time performance, which helps to improve the noise cancellation effect of the active noise cancellation system.
[0097] In one embodiment, the preset condition further includes that the output power within the first time window is less than the output power within the second time window, and the output power within the second time window is less than the output power within the third time window.
[0098] Wherein, the first time window, the second time window, and the third time window are consecutive time windows, the first time window is the farthest from the current moment, and the third time window is the closest to the current moment.
[0099] Calculate the output power P1 within the first time window, the output power P2 within the second time window, and the output power P3 within the third time window respectively. If the output power meets the preset conditions, that is, P1 is greater than the power threshold and P1 < P2 < P3, it indicates that the closer to the current moment, the greater the output power. Since the output power gradually increases, it is determined that the active noise cancellation system has become unstable.
[0100] Assume that the cumulative probability value is taken as 0.999, then the probability that the output power of a single time window is greater than the power threshold is one in a thousand. If the active noise cancellation system works normally and the output powers within each time window are independent events, that is, the output power within one time window is not affected by the output powers within other time windows, then the misjudgment probability when taking the output powers of two time windows as the condition for instability determination is approximately 0.001 3 。
[0101] Taking the window size of 4 ms as an example, the active noise cancellation system is applied to an oil fume extractor. If the working time after the oil fume extractor is turned on is 2 h, corresponding to 1.8E6 4 - ms time windows, the probability of a single misjudgment is 0.18%. It can be understood that 1.8E6 is the representation in scientific notation, where E represents exponent and 6 represents the power of 10.
[0102] It should be noted that the output powers within more time windows can be obtained and compared to achieve instability determination. The number of output powers within different time windows obtained can be selected according to the actual situation and is not particularly limited here. The fewer the number of output powers within different time windows obtained, the higher the misjudgment probability of instability will be. Similarly, the more the number of output powers within different time windows obtained, the longer the response time of instability determination will be and the worse the real - time performance will be.
[0103] In this embodiment, instability determination is performed by comparing the output powers within three consecutive time windows. By judging through the output powers within three time windows, the misjudgment probability is effectively reduced, which helps to improve the noise reduction effect of the active noise cancellation system.
[0104] In one embodiment, the active noise cancellation system is applied to an oil fume extractor, and the window sizes of the first time window, the second time window, and the third time window are all greater than the reverberation time inside the oil fume extractor.
[0105] The window size of the time window being greater than the reverberation time means that a single external disturbance will only affect one time window, which can avoid multiple time windows being affected by external disturbances. The acquisition of the reverberation time can refer to the relevant technical descriptions and will not be elaborated here.
[0106] In this embodiment, the window sizes of the first time window, the second time window and the third time window are selected by taking into account the internal reverberation time of the range hood, which can avoid the influence of external disturbances on multiple time windows, improve the accuracy of the obtained output power, and further improve the accuracy of the instability judgment of the active noise reduction system.
[0107] In one embodiment, the window sizes of the first time window, the second time window, and the third time window are all smaller than 40 ms.
[0108] The frequency of human tapping generally does not exceed 20Hz. In order to prevent the active noise reduction system from being misjudged as unstable due to high-speed manual tapping, the window size can be less than 40ms. It can be set according to actual conditions. It is only necessary to prevent the active noise reduction system from being misjudged as unstable due to high-speed manual tapping. No special limitation is made here.
[0109] Because Hz is the unit of frequency, it represents the number of periodic events per second. If a periodic event occurs once every 40ms, then within 1s, this periodic time will occur 1000ms divided by 40ms, that is, 25 times, so the frequency of this periodic event is 25Hz. The specific relationship between frequency and time can be found in the relevant technical description, which will not be repeated here.
[0110] 40ms corresponds to 25Hz, and 25Hz is larger than 20Hz. Therefore, people cannot interfere with multiple consecutive time windows, thus avoiding misjudgment.
[0111] In this embodiment, the window sizes of the first time window, the second time window and the third time window are selected by taking into account the human tapping frequency, which can avoid misjudgment caused by manual tapping by humans, improve the accuracy of the obtained output power, and further improve the accuracy of the instability judgment of the active noise reduction system.
[0112] Figure 3 A flow chart of a control method of an active noise reduction system provided by an exemplary embodiment of the present disclosure. The control method of the active noise reduction system includes:
[0113] Step S201: Acquire historical instability data of the active noise reduction system and a determination result of an instability determination method of the active noise reduction system.
[0114] The controller of the active noise reduction system includes an instability counting module, which specifically includes an instability counter and an abnormality counter. The initial values of the instability counter and the abnormality counter are both 0. After determining that the active noise reduction system is instability, the controller sends an instability signal. When the obtained determination result is instability, the value of the instability counter is increased by 1. Since reducing the output power will produce random fluctuations, after the instability signal is sent, in order to reduce the impact of random fluctuations in output power on the control process of the active noise reduction system, if no instability signal is detected after T1 time, and the value of the instability counter is greater than 0, the value of the instability counter is reduced by 1.
[0115] Where T1 is the time threshold, which can be set according to the reliability requirements of the ANC system in the application scenario. It is usually set to 2h. The specific selection is based on the actual situation and is not particularly limited here. If T1 is large, the impact of random fluctuations in output power on the control process of the active noise reduction system cannot be reduced, resulting in the incorrect execution of instability intervention decisions when the active noise reduction system is not unstable. Conversely, if T1 is small, instability cannot be accurately judged, resulting in the inability to timely execute instability intervention decisions when the active noise reduction system is unstable.
[0116] Step S202: in response to instability of the active noise reduction system, determining an instability intervention decision corresponding to historical instability data.
[0117] The controller of the active noise reduction system also includes a decision intervention module, which is used to determine an instability intervention decision corresponding to the historical instability data.
[0118] In this embodiment, based on the historical instability data of the active noise reduction system and the determination result of the instability determination method of the active noise reduction system, an instability intervention decision corresponding to the historical instability data is determined, so as to reduce or avoid the negative impact of the instability of the active noise reduction system on the noise reduction effect, and help to improve the noise reduction effect of the active noise reduction system.
[0119] In one embodiment, the historical instability data includes: the number of occurrences of instability after the active noise reduction system is turned on. Step S202 includes: in response to the number of occurrences of instability being greater than a first threshold, turning off the active noise reduction system. In response to the number of occurrences of instability not being greater than the first threshold, turning off the active noise reduction system, restarting the active noise reduction system after a preset time, and re-counting the number of occurrences of instability.
[0120] Specifically, if the number of instability occurrences after the active noise reduction system is turned on is greater than the first threshold, that is, the value of the instability counter is greater than the first threshold, indicating that the active noise reduction system has experienced multiple instabilities after the current round of power-on, the active noise reduction system is turned off and the value of the abnormality counter is increased by 1. It should be noted that the value of the instability counter will be cleared after restarting, while the value of the abnormality counter will be saved in a non-volatile storage medium and will remain after restarting.
[0121] The non-volatile storage medium includes but is not limited to a magnetic disk, which can be selected according to actual conditions and is not particularly limited here.
[0122] If the number of instability occurrences is not greater than the first threshold, that is, the value of the instability counter is not greater than the first threshold, it means that the number of instability occurrences of the active noise reduction system after this round of power-on is small, then the active noise reduction system is turned off, and the active noise reduction system is restarted after a preset time, and the number of instability occurrences is recounted, that is, the value of the instability counter is cleared.
[0123] The first threshold is usually greater than 3, and the preset time is usually greater than 50 ms. It can be set according to actual conditions and is not particularly limited here.
[0124] When the obtained judgment result is instability, the value of the instability counter is increased by 1. Since the instability intervention decision includes shutting down the active noise reduction system, the instability counter can also be regarded as a device for recording the number of times the active noise reduction system is shut down after the current round of power-on.
[0125] When the number of instability occurrences after the active noise reduction system is turned on is greater than the first threshold, that is, when the value of the instability counter is greater than the first threshold, the value of the abnormality counter is increased by 1. Since the active noise reduction system may be locked when the value of the instability counter is greater than the first threshold, the abnormality counter can also be regarded as a record of the number of times the active noise reduction system is locked due to excessive restart times.
[0126] In this embodiment, the instability intervention decision is determined according to the number of instability occurrences after startup, which effectively reduces or avoids the negative impact of the instability of the active noise reduction system on the noise reduction effect, and helps to improve the noise reduction effect of the active noise reduction system.
[0127] In one embodiment, after step S201, the control method of the active noise reduction system further includes: in response to the active noise reduction system not being unstable and the number of abnormalities being greater than a second threshold, shutting down the active noise reduction system and issuing a maintenance prompt.
[0128] The number of abnormalities is the number of times the instability occurs is greater than the first threshold, and the number of abnormalities is the value of the abnormality counter. When the number of times the instability occurs after the active noise reduction system is turned on is greater than the first threshold, that is, when the value of the instability counter is greater than the first threshold, the value of the abnormality counter is increased by 1.
[0129] Specifically, when the active noise reduction system has not become unstable, the abnormality counter is checked first. If the value of the abnormality counter is greater than the second threshold, that is, the number of abnormalities is greater than the second threshold, the active noise reduction system is turned off and a maintenance prompt is issued. After the engineer performs maintenance, the value of the abnormality counter is reset to avoid the active noise reduction system being locked.
[0130] The second threshold is usually greater than 5, and can be set according to actual conditions, and is not particularly limited here.
[0131] In this embodiment, if the active noise reduction system has not become unstable and the number of abnormalities is greater than the second threshold, the active noise reduction system is turned off and a maintenance prompt is issued, thereby effectively reducing or avoiding the negative impact of the instability of the active noise reduction system on the noise reduction effect and preventing the active noise reduction system from being locked.
[0132] Corresponding to the aforementioned instability determination method embodiment of the active noise reduction system, the present disclosure further provides an embodiment of the instability determination system of the active noise reduction system.
[0133] Figure 4 A schematic diagram of a module of an instability determination system of an active noise reduction system provided by an exemplary embodiment of the present disclosure, wherein the instability determination system of the active noise reduction system comprises:
[0134] The first acquisition module is used to obtain the output power and historical instability data of the active noise reduction system.
[0135] The determination module is used to determine that the active noise reduction system is unstable in response to the output power satisfying a preset condition.
[0136] The preset conditions include: the output power is greater than a power threshold, and the power threshold is determined based on a probability density function of the output power obtained by exponential distribution fitting.
[0137] The output power of the active noise reduction system refers to the output power of the speaker, which is calculated by the control signal sent by the controller. Specifically, the output power is the ratio of the output energy to the number of time points. The output energy is the output energy of the speaker in the active noise reduction system, specifically the sum of the squares of the amplitudes of the control signals at several time points over a period of time. After calculating the output energy, the output energy is divided by the number of time points to obtain the output power. The number of time points is selected according to actual conditions and is not specifically limited here.
[0138] In this embodiment, the instability judgment condition is the power threshold. The probability density function of the output power is obtained based on the exponential distribution fitting. The power threshold is calculated according to the probability density function. The power threshold is used as the instability judgment condition. The exponential distribution fitting does not need to count the output power in a large number of time windows. Compared with the statistical method for judging instability, the real-time performance is better and the accuracy of instability judgment is high. The power threshold is not a fixed value, but is obtained through calculation. It can adapt to changes in the environment, reduce or avoid misjudgment, and help to improve the noise reduction effect of the active noise reduction system.
[0139] In one embodiment, the active noise reduction system is applied to a range hood, and different operating conditions of the range hood correspond to different probability density functions. The instability determination system of the active noise reduction system further includes:
[0140] The second acquisition module acquires the current operating parameters of the range hood.
[0141] The determination module is used to determine the probability density function that matches the current operating condition parameters.
[0142] The current operating condition parameters are negatively correlated with the distribution parameters of the probability density function, and the power threshold is negatively correlated with the distribution parameters.
[0143] The operating parameters include but are not limited to motor speed and current, which can be selected according to actual conditions and are not particularly limited here.
[0144] In this embodiment, the power threshold is calculated based on the current operating condition parameters, and the power threshold can be adjusted according to the current operating condition parameters. When the current operating condition parameters are large, it means that the range hood will generate large noise, so the output power of the active noise reduction system will also increase, and the power threshold will also increase accordingly. Similarly, when the current operating condition parameters are small, it means that the noise generated by the range hood is small, the output power of the active noise reduction system will also decrease, and the power threshold will also decrease accordingly.
[0145] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system 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.
[0146] Figure 5 This is a structural schematic diagram of an electronic device shown in an exemplary 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 when the processor executes the computer program, the instability determination method of the active noise reduction system and the control method of the active noise reduction system described in any of the above embodiments are implemented. Figure 5 The electronic device 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.
[0147] like Figure 5 As shown, the electronic device 90 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 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).
[0148] The bus 93 includes a data bus, an address bus, and a control bus.
[0149] 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 .
[0150] 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.
[0151] The processor 91 executes various functional applications and data processing by running the computer program stored in the memory 92, such as the instability determination method of the active noise reduction system and the control method of the active noise reduction system provided in any of the above embodiments.
[0152] The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 95. Furthermore, the electronic device 90 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 96. As shown, the network adapter 96 communicates with other modules of the electronic device 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 electronic device 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.
[0153] 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.
[0154] 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 instability determination method of the active noise reduction system and the control method of the active noise reduction system provided in any of the above embodiments are implemented.
[0155] 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.
[0156] The embodiment of the present disclosure further provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for determining instability of an active noise reduction system and methods for controlling an active noise reduction system.
[0157] 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.
[0158] 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 determining instability of an active noise reduction system, characterized in that: The instability determination method of the active noise reduction system comprises: Obtaining the output power of the active noise reduction system; In response to the output power satisfying a preset condition, determining that the active noise reduction system is unstable; The preset condition includes: the output power is greater than a power threshold, and the power threshold is determined based on a probability density function of the output power obtained by exponential distribution fitting.
2. The instability determination method of the active noise reduction system according to claim 1, characterized in that: The active noise reduction system is applied to a range hood, and different operating conditions of the range hood correspond to different probability density functions. The instability determination method of the active noise reduction system also includes: Obtaining current operating parameters of the range hood; The probability density function matching the current operating condition parameter is determined, wherein the current operating condition parameter is negatively correlated with a distribution parameter of the probability density function, and the power threshold is negatively correlated with the distribution parameter.
3. The instability determination method of the active noise reduction system according to claim 2, characterized in that: The calculation formula for determining the power threshold based on the probability density function is: f(x)=λe -λx =P Wherein, x is the power threshold, f(x) is the probability density function, λ is the distribution parameter of the probability density function, e is the base of the natural logarithm, and P is the cumulative probability value; The power threshold corresponding to the maximum possible value of the cumulative probability value close to 1 is calculated.
4. The instability determination method of the active noise reduction system according to claim 1, characterized in that: The preset conditions also include: The output power of the active noise reduction system continues to increase; Or, the output power in the first time window is less than the output power in the second time window, Or, the output power in the first time window is less than the output power in the second time window, and the output power in the second time window is less than the output power in the third time window; The first time window, the second time window and the third time window are continuous time windows, the first time window is farthest from the current moment, and the third time window is closest to the current moment.
5. The instability determination method of the active noise reduction system according to claim 4, characterized in that: The active noise reduction system is applied to a range hood, and the window sizes of the first time window, the second time window, and the third time window are all larger than the internal reverberation time of the range hood; And / or, the window sizes of the first time window, the second time window and the third time window are all smaller than 40 ms.
6. A control method for an active noise reduction system, characterized in that: The control method of the active noise reduction system includes: Acquire historical instability data of the active noise reduction system and the determination result of the instability determination method of the active noise reduction system according to claims 1 to 5; In response to instability of the active noise reduction system, an instability intervention decision corresponding to historical instability data is determined.
7. The control method of the active noise reduction system according to claim 6, characterized in that: The historical instability data includes: the number of occurrences of instability after the active noise reduction system is turned on; the step of determining the instability intervention decision corresponding to the historical instability data includes: In response to the number of occurrences of the instability being greater than a first threshold, shutting down the active noise reduction system; In response to the number of occurrences of the instability being less than the first threshold, shutting down the active noise reduction system, restarting the active noise reduction system after a preset time, and re-counting the number of occurrences of the instability; And / or, after the step of obtaining the determination result of the instability determination method of the active noise reduction system according to claims 1 to 5, the control method of the active noise reduction system further includes: In response to the active noise reduction system not being unstable and the number of abnormalities being greater than a second threshold, shutting down the active noise reduction system and issuing a maintenance prompt; The number of abnormalities is the number of times the instability occurs that is greater than the first threshold.
8. An instability determination system for an active noise reduction system, characterized in that: The instability determination system of the active noise reduction system comprises: A first acquisition module, used to acquire the output power and historical instability data of the active noise reduction system; a determination module, configured to determine that instability occurs in the active noise reduction system in response to the output power satisfying a preset condition; The preset condition includes: the output power is greater than a power threshold, and the power threshold is determined based on a probability density function of the output power obtained by exponential distribution fitting.
9. An electronic device 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 instability determination method of the active noise reduction system according to any one of claims 1 to 5 and the control method of the active noise reduction system according to claim 6 or 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the instability determination method of the active noise reduction system according to any one of claims 1 to 5 and the control method of the active noise reduction system according to claim 6 or 7 are implemented.
Citation Information
Patent Citations
Method of monitoring a degradation of a device on board an aircraft including the determination of a counting threshold
CN106662868A
Method and device for detecting abnormal response time
CN111666187A
Active noise reduction control method, system and equipment for range hood and storage medium
CN116110364A
Noise estimation device, program and method
JP2018072593A
Cited By
Active noise reduction method, system and device
CN120032619A
