This application claims priority to Taiwan Application Serial Number 106101549, filed Jan. 17, 2017, which is herein incorporated by reference.
The present disclosure relates to a noise cancellation device. More particularly, the present disclosure relates to a noise cancellation device having a mechanism for detecting whether device is in an on-ear or an off-ear position and a method thereof.
In order to provide higher sound quality, an active noise cancellation mechanism is commonly applied to a headphone to reduce disturbances from environmental noises. In some approaches, the active noise cancellation mechanism is implemented with a single filter to generate a noise cancellation signal. However, when the headphone is not used, i.e., the headphone is in an off-ear position, the system response of the active noise cancellation mechanism would have a large variation. In order to keep the stability of the active noise cancellation mechanism, the single filter is limited to be implemented with circuits that provides higher stability but with lower noise cancellation quality. As a result, when the headphone is used, i.e., the headphone is in an on-ear position, the active noise cancellation mechanism cannot provide higher noise cancellation quality.
Referring to
In some embodiments, the noise cancellation device 100 includes analog-to-digital converters (ADCs) 110 and 115, an anti-noise filter circuit 120, an output circuit 130, a detection circuit 140, audio-to-electric conversion devices 150 and 155, and a reference signal generator 160.
In some embodiments, the audio-to-electric conversion device 150 is set in a shell of a headphone, and receives a sound output signal SO(t) and a noise signal V(t). The sound output signal SO(t) is transmitted to the audio-to-electric conversion device 150 via a transfer function S(z), and the transfer function S(z) is a transfer function between an electric-to-audio conversion device 136 and the audio-to-electric conversion device 150. The audio-to-electric conversion device 150 converts the received signal to an electrical signal E1(t). In some embodiments, the audio-to-electric conversion device 150 is implemented with a microphone, but the present disclosure is not limited thereto.
The ADC 110 converts the electrical signal E1(t) to a digital signal Y(n). The anti-noise filter circuit 120 is coupled to the ADC 110 to receive the digital signal Y(n).
The anti-noise filter circuit 120 provides one of a transfer function H1(z) and a transfer function H2(z) to process the digital signal Y(n), in order to generate a noise cancellation signal NC(n). For example, the anti-noise filter circuit 120 includes filters 122 and 124 and a switching circuit 126. The switching circuit 126 selects, according to a switching signal SE, an output of one of the filter 122 and the filter 124 as the noise cancellation signal NC(n). The filter 122 provides the transfer function H1(z), and the filter 124 provides the transfer function H2(z). In some embodiments, the switching circuit 126 is arranged between the ADC 110 and the anti-noise filter circuit 120, and the outputs of the filters 122 and 124 are coupled to the output circuit 130. In some embodiments, the switching circuit 126 is implemented with one or more switches. In some embodiments, the switching circuit 126 is implemented with a multiplexer circuit.
In some embodiments, the filters 122 and 124 are implemented with two independent filters. In some embodiments, the filter 122, the filter 124, and the switching circuit 126 are implemented with a single filter having adjustable parameters, in which the parameters of the filter are adjusted according to the switching signal SE to selectively provide the transfer function H1(z) or the transfer function H2(z). The implementations of the anti-noise filter circuit 120 are given for illustrative purposes only, and the present disclosure is not limited thereto.
The output circuit 130 includes an arithmetic circuit 132, a digital-to-analog converter (DAC) 134, and the electric-to-audio conversion device 136. The arithmetic circuit 132 is coupled to the switching circuit 126 to receive the noise cancellation signal NC(n), and mixes the noise cancellation signal NC(n), a reference signal X(n), and an input signal M(n) to generate a mixed signal U(n). In some embodiments, the arithmetic circuit 132 is implemented with circuits like an adder and/or a synthesizer. In some embodiments, the input signal M(n) is an audio signal outputted from an audio source via a synthesizer and/or an amplifier. The DAC 134 converts the mixed signal U(n). The electric-to-audio conversion device 136 is coupled to the DAC 134, and outputs the converted mixed signal U(n) as the sound output signal SO(t). In some embodiments, the electric-to-audio conversion device 136 is implemented with a speaker.
In some embodiments, the detection circuit 140 receives the digital signal Y(n), a digital noise signal C(n), the mixed signal U(n), and the reference signal X(n), and outputs, according to the received signals, the switching signal SE to control the switching circuit 126. The above operations will be described with
In some embodiments, the noise cancellation device 100 further includes an ADC 115 and an audio-to-electric conversion device 155. In some embodiments, the audio-to-electric conversion device 155 is disposed at the shell of the headphone to receive a noise signal V2(t), and converts the same to an electrical signal E2(t). The ADC 115 is coupled to the audio-to-electric conversion device 155, and converts the electrical signal E2(t) to the digital noise signal C(n), in which the digital noise signal C(n) may be employed to estimate a power of a digital signal (which is expressed as a noise signal V2(n) hereinafter) to which the noise signal V2(t) corresponds.
In some embodiments, the noise signal V2(n) may be configured to estimate signal components, which have frequency similar with the frequency of the reference signal X(n), in a noise signal V(n), in which the noise signal V(n) indicates a digital signal to which the noise signal V(t) corresponds. As the reference signal X(n) is commonly set as a low frequency signal, and the low frequency signal penetrates through the shell of the headphone more easily, a signal strength of the noise signal V2(n) in a low frequency band generally corresponds to a signal strength of the noise signal V(n). Accordingly, in the following embodiments, the signal strength of the noise signal V2(n) is used as an analogy of the signal strength of the noise signal V(n).
In some embodiments, a voltage gain of the transfer function H1(z) is higher than that of the transfer function H2(z). In other words, the noise cancellation signal NC(n) generated from the transfer function H1(z) is higher than the noise cancellation signal NC(n) generated from the transfer function H2(z). Effectively, at each band, the filter 122 provides a better noise cancellation quality than the filter 124 does. In general, when the voltage gain of the filter is higher, the stability of the filter is lower. Alternatively stated, in this example, compared with the filter 122, the filter 124 has a better reliability but has a lower voltage gain. In some embodiments, the filter 122 is selected if the noise cancellation device 100 is in an on-ear position, and the filter 124 is selected if the noise cancellation device 100 is in an off-ear position.
In some approaches, in order to keep the noise cancellation system on a headphone being stable, a single filter, which has lower voltage gain, is utilized to increase the stability. However, in these approaches, the noise cancellation system cannot provide a better noise cancellation quality when the headphone is in the on-ear position. Compared with these approaches, by analyzing the digital signal Y(n), the noise signal V2(n), the mixed signal U(n), and the reference signal X(n), the detection circuit 140 determines whether the noise cancellation device 100 is in the on-ear or the off-ear position. As a result, in the on-ear position, the detection circuit 140 outputs the switching signal SE to select the filter 122, in order to improve the noise cancellation quality. Alternatively, in the off-ear position, the detection circuit 140 outputs the switching signal SE to select the filter 124, in order to keep the system being stable.
The reference signal generator 160 generates the reference signal X(n) to the arithmetic circuit 132. In some embodiments, a frequency of the reference signal X(n) is a frequency that cannot be sensed by human ear. For example, the frequency of the reference signal X(n) is about 10 hertz(Hz), but the present disclosure is not limited thereto. In some other embodiments, as discussed in
In some embodiments, by using Z-transform to analyze the noise cancellation device 100, it is able to derive the following equation (1):
where X(z) is a Z-transform of the reference signal X(n), Y(z) is a Z-transform of the digital signal Y(n), V(z) is a Z-transform of the noise signal V(n), U(z) is a Z-transform of the mixed signal U(n), and the transfer function S(z) is a transfer function between the electric-to-audio conversion device 136 and the audio-to-electric conversion device 150.
According to the equation (1), if the power of the reference signal X(n) is significantly higher than the power of the noise signal noise signal V(n), it is able to derive the following equation (2):
According to the equation (2), under this condition, the ratio between Y(Z) and U(z) is the transfer function S(z), in which the transfer function S(z) has different values based on the noise cancellation device 100 being in the on-ear position or in the off-ear position. In some embodiments, in the on-ear position, the transfer function S(z) has a higher value. Alternatively, in the off-ear position, the transfer function S(z) has a lower value. Accordingly, the detection circuit 140 is able to determine, according to the ratio between Y(z) and U(z), whether the noise cancellation device 100 is in the on-ear or the off-ear position.
In addition, when the power of the reference signal X(n) is significantly lower than the power of the noise signal V(n), it is able to derive the following equation (3):
According to the equation (3), under this condition, the ratio between Y(z) and U(z) is 1/H(z) instead of the transfer function S(z). Accordingly, the detection circuit 140 is able to determine, according to the ratio between Y(z) and U(z), whether the noise cancellation device 100 is in an unknown position.
Referring to
For example, when the ratio Px/Pn is less than the threshold value TH1, it indicates that the reference signal X(n) is significantly less than the noise signal V(n). Under this condition, the detection circuit 140 determines that the unknown position is present, and outputs the switching signal SE to select the filter 124. As a result, it is ensured that the noise cancellation device 100 is kept being stable.
In operation S220, the detection circuit 140 compares a ratio Py/Pu with a threshold value TH2, in which the ratio Py/Pu is a ratio of the power Py of the digital signal Y(n) to the power Pu of the mixed signal U(n). If the ratio Py/Pu is greater than the threshold value TH2, operation S230 is performed. If the ratio Py/Pu is less than the threshold value TH2, operation S215 is performed. In operation S230, the filter 122 is selected to provide the transfer function H1(z) to process the digital signal Y(n), in order to output the noise cancellation signal NC(n).
For example, when the ratio Py/Pu is greater than the threshold value TH2, it indicates that the transfer function S(z) has a higher value. As noted above, in the on-ear position, the transfer function S(z) has the higher value. Accordingly, under this condition, the detection circuit 140 determines that the device 100 is in the on-ear position, and outputs the switching signal SE to select the filter 122. As a result, the noise cancellation quality of the noise cancellation device 100 is increased.
Alternatively, when the ratio Py/Pu is less than the threshold value TH2, it indicates that the transfer function S(z) has a lower value. As noted above, in the off-ear position, the transfer function S(z) has the lower value. Accordingly, under this condition, the detection circuit 140 determines that the device 100 is in the off-ear position, and outputs the switching signal SE to select the filter 124. As a result, it is ensured that the noise cancellation device 100 is kept being stable.
In some embodiments, the power Px and the power Pn are the power of the reference signal X(n) and the power of the noise signal V2(n) at the frequency of the reference signal X(n), respectively. In some embodiments, the power Px, the power Pn, the power Py, and the power Pu are the power of the reference signal X(n), the power of the noise signal V2(n), the power of the digital signal Y(n), and the mixed signal U(n) at the frequency of the reference signal X(n), respectively. Referring to
Each of the bandpass filters 301-303 provides a predetermined bandwidth to process a corresponding one of the mixed signal U(n), the digital signal Y(n), and the digital noise signal C(n). For example, the bandpass filter 301 filters signal components, which have frequencies other than the frequency of the reference signal X(n), in the mixed signal U(n), in order to output a signal U′(n). The bandpass filter 302 filters out signal components, which have frequencies other than the frequency of the reference signal X(n), in the digital signal Y(n), in order to output a signal Y′(n). The bandpass filter 303 filters out signal components, which have frequencies other than the frequency of the reference signal X(n), in the digital noise signal C(n), in order to output a signal C′(n).
The power estimator circuit 311 determines the power Pu of the signal U′(n). The power estimator circuit 312 determines the power Py of the signal Y′(n). The power estimator circuit 313 determines the power Pn of the signal C′(n). The power estimator circuit 314 determines the power Px of the reference signal X(n).
In some embodiments, the power estimator circuits 311-314 may be implemented with power detectors. In some embodiments, the power estimator circuits 311-314 may be implemented with arithmetic circuits that perform various algorithms for determining power. The above implementations are given for illustrative purposes only, and the present disclosure is not limited thereto.
The logic circuit 320 determines the ratio Py/Pu and the ratio Px/Pn according to the powers Pu, Py, Pn, and Px, in order to perform operations in the method 200 to generate the corresponding switching signal SE. In some embodiments, the logic circuit 320 is implemented with various digital circuits, processing units, or micro-controllers.
Reference is made to
In some embodiments, the noise cancellation device 100 may determine the power Pn of the noise signal V(n) without the audio-to-electric conversion device 155 and the ADC 115. In this example, as shown in
Therefore, in some embodiments, the detection circuit 140 may determine the Pn of the noise signal V(n) according to the digital signal Y(n) and the equation (4). In some embodiments, the transfer function S(z) of the equation (4) is set to one of the transfer functions, corresponding to the on-ear position and the off-ear position, which has a larger value.
For example, as shown in
Compared with
In some embodiments, instead of receiving the reference signal X(n), the power estimator circuits 311-313 may directly receive clock signals to which the enabling period T1 and the disabling period T2 of the reference signal X(n) correspond. For example, when the reference signal X(n) is in the enabling period T1, the corresponding clock signal is 1 (or 0), and when the reference signal X(n) is in the disabling period T2, the corresponding clock signal is 0 (or 1).
The circuit components in the noise cancellation device 100 as illustrated in the above embodiments can be implemented with software, hardware, or a combination thereof. For example, the components in the anti-noise filter circuit 120 and/or the detection circuit 140 can be implemented with digital signal processing.
As described above, the noise cancellation device 100 and the 200 provided in the present disclosure are able to analyze the on-ear position and the off-ear position with different arrangements, in order to selectively employ an appropriate filter to improve the performance of an audio processing system.
Number | Date | Country | Kind |
---|---|---|---|
106101549 A | Jan 2017 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
4494074 | Bose | Jan 1985 | A |
8054992 | Sapiejewski | Nov 2011 | B2 |
8199923 | Christoph | Jun 2012 | B2 |
8306240 | Pan | Nov 2012 | B2 |
8831238 | Rashid | Sep 2014 | B2 |
8908877 | Abdollahzadeh Milani et al. | Dec 2014 | B2 |
9236041 | Asada et al. | Jan 2016 | B2 |
Number | Date | Country | |
---|---|---|---|
20180206022 A1 | Jul 2018 | US |