The present disclosure generally relates to a signal processing technology field, and more particularly, to an active noise reduction system and method, and a storage medium.
Active noise reduction technology is widely applied in our lives to reduce noise interference and create more comfortable listening environment.
Noises in actual environment are often variable and complex. Different noises have different spectral characteristics, where some have more concentrated spectrums, and some have wider spectrums. If differences in noise spectral characteristics are not considered, noise reduction performance of systems will be limited, resulting in an undesired noise reduction effect.
Weight filters have been introduced for solving the above problem. However, if the filters are simple in design, it is quite difficult to meet requirements of multi-target bands. On the contrary, for flexible settings, complexity of the filters is increased, which requires more resources.
Therefore, a new active noise reduction system and method are needed, so as to achieve a better noise reduction effect with a lower resource cost.
Embodiments of the present disclosure may achieve a better noise reduction effect with a lower resource cost.
In an embodiment of the present disclosure, an active noise reduction system is provided, including a first signal acquisition circuitry, a noise control system and a signal output circuitry, wherein the first signal acquisition circuitry and the signal output circuitry are coupled with the noise control system, wherein the first signal acquisition circuitry is configured to acquire an external noise signal at a noise cancellation spot, and transmit the acquired external noise signal to the noise control system; the noise control system includes a noise cancellation signal generation circuitry, the noise cancellation signal generation circuitry includes a first frequency nonlinear transformation circuitry, a first filter circuitry and an inverter, wherein the first frequency nonlinear transformation circuitry is configured to receive the external noise signal, and expand at least one target frequency band of the external noise signal based on a frequency nonlinear transformation mapping function to generate a first transformed external noise signal, the first filter circuitry is configured to filter the first transformed external noise signal to generate a filtered external noise signal, and the inverter is configured to perform inversion on the filtered external noise signal to generate a noise cancellation signal; and the signal output circuitry is configured to receive and output the noise cancellation signal to cancel an actual noise.
Optionally, the at least one target frequency band includes a plurality of target frequency bands corresponding to different expansion ratios.
Optionally, the first frequency nonlinear transformation circuitry is further configured to compress at least one other frequency band other than the at least one target frequency band of the external noise signal.
Optionally, the at least one other frequency band includes a plurality of frequency bands corresponding to different compression ratios.
Optionally, the active noise reduction system further includes a second signal acquisition circuitry, and the noise control system further includes a coefficient update circuitry, wherein the second signal acquisition circuitry is configured to acquire a residual noise signal and transmit the acquired residual noise signal to the coefficient update circuitry, and the coefficient update circuitry is configured to update a coefficient of the first filter circuitry based on the residual noise signal in real time.
Optionally, the coefficient update circuitry includes a second frequency nonlinear transformation circuitry and a coefficient calculation circuitry, wherein the second frequency nonlinear transformation circuitry is configured to expand the at least one target frequency band of the external noise signal to generate a second transformed external noise signal, and the coefficient calculation circuitry is configured to calculate the coefficient of the first filter circuitry based on the residual noise signal and the second transformed external noise signal.
Optionally, the noise cancellation signal generation circuitry further includes a first downsampling rate circuitry and an upsampling rate circuitry, and the coefficient update circuitry includes a second downsampling rate circuitry, wherein the first downsampling rate circuitry is configured to downsample the external noise signal to an operation sampling rate of the first frequency nonlinear transformation circuitry, the upsampling rate circuitry is configured to upsample the noise cancellation signal to an operation sampling rate of the signal output circuitry, and the second downsampling rate circuitry is configured to downsample the external noise signal to an operation sampling rate of the second frequency nonlinear transformation circuitry.
Optionally, the noise control system is a feedforward plus feedback hybrid system, the active noise reduction system further includes a second signal acquisition circuitry, and the noise control system further includes a third frequency nonlinear transformation circuitry, a second filter circuitry and a mixing circuitry, wherein the second signal acquisition circuitry is configured to acquire a residual noise signal, the third frequency nonlinear transformation circuitry is configured to receive the residual noise signal and expand at least one target frequency band of the residual noise signal to generate a transformed residual noise signal, the second filter circuitry is configured to filter the transformed residual noise signal to generate a filtered residual noise signal, and the mixing circuitry is configured to combine the filtered external noise signal with the filtered residual noise signal to generate a combined noise signal, and the inverter is configured to perform inversion on the combined noise signal to generate the noise cancellation signal.
In an embodiment of the present disclosure, an active noise reduction method is provided, including: acquiring an external noise signal at a noise cancellation spot; expanding at least one target frequency band of the external noise signal based on a frequency nonlinear transformation mapping function to generate a transformed external noise signal; filtering the transformed external noise signal to generate a filtered external noise signal; performing inversion on the filtered external noise signal to generate a noise cancellation signal; and outputting the noise cancellation signal to cancel an actual noise.
Optionally, the at least one target frequency band includes a plurality of target frequency bands corresponding to different expansion ratios.
Optionally, prior to the filtering, the method further includes: compressing at least one other frequency band other than the at least one target frequency band of the external noise signal.
Optionally, the at least one other frequency band includes a plurality of frequency bands corresponding to different compression ratios.
Optionally, the method further includes: acquiring a residual noise signal; and updating a coefficient of a filter circuitry which filters the transformed external noise signal based on the residual noise signal in real time.
Optionally, the coefficient of the filter circuitry is calculated based on the residual noise signal and the transformed external noise signal.
Optionally, the method employs a feedforward plus feedback hybrid mode, and further includes: acquiring a residual noise signal; expanding at least one target frequency band of the residual noise signal to generate a transformed residual noise signal; filtering the transformed residual noise signal to generate a filtered residual noise signal; combining the filtered external noise signal with the filtered residual noise signal to generate a combined noise signal; and performing inversion on the combined noise signal to generate the noise cancellation signal.
In an embodiment of the present disclosure, a storage medium having computer instructions stored therein is provided, wherein once the computer instructions are executed, the above active noise reduction method is performed.
Embodiments of the present disclosure may provide following advantages.
In embodiments of the present disclosure, the first signal acquisition circuitry acquires an external noise signal at a noise cancellation spot. The first frequency nonlinear transformation circuitry receives the external noise signal, and expands at least one target frequency band of the external noise signal to generate a first transformed external noise signal. The first filter circuitry filters the first transformed external noise signal to generate a filtered external noise signal. The inverter performs inversion on the filtered external noise signal to generate a noise cancellation signal. The signal output circuitry receives and outputs the noise cancellation signal to cancel an actual noise. In the embodiments, the frequency nonlinear transformation mapping function is used to expand the at least one target frequency band of the external noise signal to nonlinearize frequencies of the external noise signal, so that a weight of the target frequency band is increased and the noise reduction leans to the target frequency band, which leads to a better noise reduction effect with fewer resources.
Further, a plurality of target frequency bands may be expanded according to practical requirements during the frequency nonlinear transformation, and the plurality of target frequency bands may correspond to different expansion ratios to achieve better performance
Further, the first frequency nonlinear transformation circuitry is further configured to compress at least one other frequency band which is not important acoustically, so that the noise reduction further leans to the target frequency band. The at least one other frequency band may include a plurality of frequency bands corresponding to different compression ratios to achieve better performance
Further, the noise control system supports a fixed coefficient mode and an online real-time updated coefficient mode. Under the online real-time updated coefficient mode, the coefficient of the first filter circuitry is updated based on the residual noise signal in real time, so that the generated noise cancellation signal may be more approximate to the external noise signal, which further improves noise reduction performance
As described in background, noises in actual environment are often variable and complex. Different noises have different spectral characteristics. If differences in noise spectral characteristics are not considered, noise reduction performance of systems will be limited, resulting in an undesired noise reduction effect. Weight filters have been introduced for solving the above problem. However, if the filters are simple in design, it is quite difficult to meet requirements of multi-target bands. On the contrary, for flexible settings, complexity of the filters is increased, which requires more resources.
In embodiments of the present disclosure, a first signal acquisition circuitry acquires an external noise signal at a noise cancellation spot. A first frequency nonlinear transformation circuitry receives the external noise signal, and expands at least one target frequency band of the external noise signal to generate a first transformed external noise signal. A first filter circuitry filters the first transformed external noise signal to generate a filtered external noise signal. An inverter performs inversion on the filtered external noise signal to generate a noise cancellation signal. A signal output circuitry receives and outputs the noise cancellation signal to cancel an actual noise. In the embodiments, a frequency nonlinear transformation mapping function is used to expand the at least one target frequency band of the external noise signal to nonlinearize frequencies of the external noise signal, so that a weight of the target frequency band is increased and the noise reduction leans to the target frequency band, which leads to a better noise reduction effect with fewer resources.
In order to clarify the object, characteristic and advantages of embodiments of the present disclosure, embodiments of present disclosure will be described clearly in detail in conjunction with accompanying drawings.
Still referring to
In some embodiments, the noise control system 22 is located inside the noise cancellation spot, and includes a noise cancellation signal generation circuitry 221. The noise cancellation signal generation circuitry 221 includes a first frequency nonlinear transformation circuitry 2211, a first filter circuitry 2212 and an inverter 2213, wherein the first frequency nonlinear transformation circuitry 2211 is configured to receive the external noise signal, and expand at least one target frequency band of the external noise signal based on a frequency nonlinear transformation mapping function to generate a first transformed external noise signal. The first filter circuitry 2212 is configured to filter the first transformed external noise signal to generate a filtered external noise signal. The inverter 2213 is configured to perform inversion on the filtered external noise signal to generate a noise cancellation signal. The noise cancellation signal is played in a space of the noise cancellation spot, and interferes with a noise in the space of the noise cancellation spot from external environment, to achieve active noise reduction.
The signal output circuitry 23 is located inside the noise cancellation spot and configured to receive and output the noise cancellation signal to cancel an actual noise. In some embodiments, the signal output circuitry 23 includes a speaker and a digital to analog converter. The digital to analog converter converts an inverted digital signal obtained by the inverter 2213 into an analog electric signal, and the speaker converts the analog electric signal into a sound signal, i.e., the noise cancellation signal.
In some embodiments, the noise control system 22 may employ an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU) or a Microcontroller Unit (MCU).
Signal processing in the active noise reduction system provided in the embodiments of the present disclosure is described in detail in conjunction with
As shown in
Frequencies of the external noise signal x(n) are linear and uniform, while energy at frequencies is generally not uniform. To improve noise reduction performance, it is desired to increase a weight of noise reduction for a frequency band that has a large impact on hearing (i.e., the target frequency band). Therefore, in the embodiments of the present disclosure, the frequency nonlinear transformation mapping function F(z) is provided, where uniform and linear frequencies are mapped to nonlinear frequencies.
In some embodiments, the first frequency nonlinear transformation circuitry 2211 may further compress acoustically unimportant frequency bands while expanding the at least one target frequency band, so that the noise reduction further leans to the target frequency band. A purpose of the frequency nonlinear transformation mapping function is to expand the at least one target frequency band and compress at least one other frequency band. The target frequency band is an acoustically important frequency band which has relatively large influence on hearing, and the other frequency band is an acoustically unimportant frequency band. In some embodiments, the target frequency band has higher noise energy.
In some embodiments, a plurality of target frequency bands may be expanded according to practical requirements during frequency nonlinear transformation, and assigned with different expansion ratios to achieve better performance In some embodiments, the at least one other frequency band includes a plurality of frequency bands corresponding to different compression ratios to achieve better performance The frequency nonlinear transformation mapping function F(z) may be flexibly designed according to different noise cancellation spots.
In some embodiments, F(z) may be implemented with, but not limited to, an all-pass filter, which ensures that a signal passing through F(z) remains its amplitude constant and has its phase nonlinearly changed, thereby achieving nonlinear transformation of the frequency.
First, referring to
As described above, in some embodiments, different expansion ratios may be set for different target frequency bands to achieve different noise reduction depth. For example, the frequency nonlinear transformation mapping function F(z) shown in
In some embodiments, a range of the target frequency band in the frequency nonlinear transformation is set between 50 Hz to 2 kHz, which depends on noise spectrum characteristics of environment where the noise cancellation spot (such as an earphone) is located. For example, in airplanes and cars, there are mainly low-frequency noises below 500 Hz, and the target frequency may be set to be within a range from 50 Hz to 500 Hz. While in places such as bars, there are mainly high-frequency vocals, the target frequency may be set to be within a range from 500 Hz to 2 kHz.
In the embodiment shown in
Compared with the active noise reduction system shown in
Similar to a first signal acquisition circuitry 21, the second signal acquisition circuitry 24 also includes a microphone and an analog to digital converter. The microphone converts the acquired residual noise signal into an analog electric signal, and the analog to digital converter converts the analog electric signal into a digital signal.
In some embodiments, the coefficient update circuitry 222 includes a second frequency nonlinear transformation circuitry 2221 and a coefficient calculation circuitry 2222. The second frequency nonlinear transformation circuitry 2221 is configured to expand at least one target frequency band of the external noise signal to generate a second transformed external noise signal. The coefficient calculation circuitry 2222 is configured to calculate a coefficient of the first filter circuitry 2212 based on the residual noise signal and the second transformed external noise signal.
As the first filter circuitry 2212 operates on a frequency nonlinear transformation domain, the coefficient calculation circuitry 2222 providing the update coefficients for the first filter circuitry 2212 also needs to operate on the frequency nonlinear transform domain. Therefore, the coefficient update circuitry 222 includes a second frequency nonlinear transformation circuitry 2221. In some embodiments, processing to the external noise signal by the second frequency nonlinear transformation circuitry 2221 is the same as the processing to the external noise signal by the first frequency nonlinear transformation circuitry 2211.
In some embodiments, the LMS circuitry implements the real-time update of the coefficient of the first filter circuitry based on Equation (1),
h(n+1)=h(n)+μ*s(n)*e(n) (1),
where h(n+1) is the coefficient of the first filter circuitry at a current time point, h(n) is the coefficient of the first filter circuitry at a previous time point, μ is an update step size, s(n) is the external noise signal subjected to the processing by F2(z), and e(n) is the residual noise signal.
In some embodiments, the noise cancellation signal generation circuitry 221 further includes a first downsampling rate circuitry and an upsampling rate circuitry (not shown), and the coefficient update circuitry further includes a second downsampling rate circuitry (not shown). The first downsampling rate circuitry is configured to downsample the external noise signal to an operation sampling rate of the first frequency nonlinear transformation circuitry 2211, and the upsampling rate circuitry is configured to upsample the noise cancellation signal to the operation sampling rate of the signal output circuitry 23, and the second downsampling rate circuitry is configured to downsample the external noise signal to the operation sampling rate of the second frequency nonlinear transformation circuitry 2221.
In some embodiments, the first downsampling rate circuitry and the second downsampling rate circuitry are downsampling filters, and the upsampling rate circuitry is an upsampling filter. Each of the first downsampling rate circuitry and the second downsampling rate circuitry includes a high-pass filter and a low-pass filter for removing a direct current and high-frequency interference.
In some embodiments, the operation sampling rate is 384 kHz, 192 kHz or 96 kHz.
The above embodiments have been described by taking the noise control system as a single feedforward system as an example. Alternatively, the noise control system may be a single feedback system or a feedforward plus feedback hybrid system.
Referring to
The active noise reduction system shown in
The second signal acquisition circuitry is configured to acquire a residual noise signal, the third frequency nonlinear transformation circuitry is configured to receive the residual noise signal, and expand at least one target frequency band of the residual noise signal to generate a transformed residual noise signal. the second filter circuitry is configured to filter the transformed residual noise signal to generate a filtered residual noise signal, the mixing circuitry is configured to combine the filtered external noise signal with the filtered residual noise signal to generate a combined noise signal; and the inverter is configured to perform inversion on the combined noise signal to form the noise cancellation signal.
In an embodiment of the present disclosure, an active noise reduction method is provided. Referring to
In S501, an external noise signal is acquired at a noise cancellation spot.
In S502, at least one target frequency band of the external noise signal is expanded based on a frequency nonlinear transformation mapping function to generate a transformed external noise signal.
In S503, the transformed external noise signal is filtered to generate a filtered external noise signal.
In S504, inversion is performed on the filtered external noise signal to generate a noise cancellation signal.
In S505, the noise cancellation signal is output to cancel an actual noise.
In some embodiments, the noise cancellation spot may be an earphone, a factory, a car, a train or an airplane.
Frequencies of the external noise signal are linear and uniform, while energy at frequencies is generally not uniform. To improve noise reduction performance, it is desired to increase a weight of noise reduction for a frequency band that has a large impact on hearing. Therefore, in the embodiments of the present disclosure, the frequency nonlinear transformation mapping function is provided, where uniform and linear frequencies are mapped to nonlinear frequencies.
In some embodiments, the at least one target frequency band includes a plurality of target frequency bands corresponding to different expansion ratios.
In some embodiments, prior to the filtering, the method further includes: compressing at least one other frequency band other than the at least one target frequency band of the external noise signal. In some embodiments, besides expanding the at least one target frequency band, acoustically unimportant frequency bands may be compressed, so that the noise reduction further leans to the target frequency band. A purpose of the frequency nonlinear transformation mapping function is to expand the at least one target frequency band and compress at least one other frequency band. The target frequency band is an acoustically important frequency band which has a relatively large influence on hearing, and the other frequency band is an acoustically unimportant frequency band. In some embodiments, the target frequency band has higher noise energy.
In some embodiments, the at least one other frequency band includes a plurality of frequency bands corresponding to different compression ratios.
In some embodiments, the frequency nonlinear transformation mapping function may be implemented with, but not limited to, an all-pass filter, which ensures that a signal subjected to the frequency nonlinear transformation remains its amplitude constant and has its phase nonlinearly changed, thereby achieving nonlinear transformation of the frequency.
In some embodiments, the method further includes: acquiring a residual noise signal; and updating a coefficient of a filter circuitry which filters the transformed external noise signal based on the residual noise signal in real time.
In some embodiments, the coefficient of the filter circuitry is calculated based on the residual noise signal and the transformed external noise signal.
In some embodiments, the method employs a feedforward plus feedback hybrid mode, and further includes: acquiring a residual noise signal; expanding at least one target frequency band of the residual noise signal to generate a transformed residual noise signal; filtering the transformed residual noise signal to generate a filtered residual noise signal; combining the filtered external noise signal with the filtered residual noise signal to generate a combined noise signal; and performing inversion on the combined noise signal to generate the noise cancellation signal.
More details about the active noise reduction may be referred to the descriptions of the above embodiments, and are not described in detail here.
In an embodiment of the present disclosure, a storage medium having computer instructions stored therein is provided, wherein once the computer instructions are executed, the above active noise reduction method is performed. The storage medium may include a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk or the like. Alternatively, the storage medium may include a non-volatile or non-transitory memory or the like.
Although the present disclosure has been disclosed above with reference to preferred embodiments thereof, it should be understood that the disclosure is presented by way of example only, and not limitation. Those skilled in the art can modify and vary the embodiments without departing from the spirit and scope of the present disclosure.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2019/098958 | 8/2/2019 | WO | 00 |