Dynamic range enhancement (DRE) control in adaptive noise cancellation (ANC) applications
11423872 · 2022-08-23
Assignee
Inventors
Cpc classification
G10K11/1781
PHYSICS
International classification
Abstract
A system that reproduces an output signal including dynamic range enhancement (DRE) reduces audible artifacts generated by changes in operating range of the dynamic range enhancement (DRE) when the output signal includes an adaptive noise canceling (ANC) component. A first detection circuit determines an input signal amplitude and a second detection circuit determines a measure of an amplitude of a noise canceling component of the input signal. A control circuit determines whether the amplitude of the noise canceling component is significant with respect to the input signal amplitude and controls characteristics of a dynamic range enhancer to override a default behavior of the dynamic range enhancer if the amplitude of the noise-canceling component is significant with respect to the input signal amplitude. The characteristics may include rise/fall times of a gain control of the dynamic range enhancer and may be controlled in multiple separate frequency bands.
Claims
1. A method of controlling a dynamic range enhancer (DRE) in an audio system that generates an audio output signal from an audio input signal having a combined noise-canceling component and a program component, the method comprising: determining an amplitude of the audio input signal; dynamically adjusting an operating dynamic range of the dynamic range enhancer to alter a dynamic range of the audio output signal in accordance with the amplitude of the audio input signal; determining a measure of an amplitude of the noise-canceling component of the audio input signal; performing a comparison of the amplitude of the noise-canceling component and the amplitude of the audio input signal; and responsive to a result of the comparison, adjusting characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer.
2. The method of claim 1, wherein the dynamic range enhancer comprises: a digital gain control stage having a variable digital gain that is applied to values representative of the audio input signal; and an output stage having a digital-to-analog converter that generates an analog output signal from the values representative of the audio input signal according to the variable digital gain and an analog amplifier that receives the analog output signal and generates the audio output signal therefrom, wherein the analog amplifier applies a variable analog gain to the analog output signal that is an inverse of the variable digital gain so that the gain of the dynamic range enhancer remains constant as the variable digital gain is adjusted to change the operating dynamic range of the dynamic range enhancer.
3. The method of claim 2, wherein the performing a comparison comprises: extracting a first measure of the amplitude of the noise-canceling component by low-pass filtering the audio input signal to generate an estimate of the noise-canceling component; measuring an amplitude of the estimate of the noise-canceling component; and comparing the measured amplitude of the estimate of the noise-canceling component to the amplitude of the audio input signal.
4. The method of claim 3, further comprising extracting a second measure of the amplitude of the noise-canceling component from the audio input signal by detecting if the audio input signal is predominantly low-frequency content and using the amplitude of the audio input signal as the second measure of the amplitude of the noise-canceling component if the audio input signal is predominantly low-frequency content, and wherein if the audio input signal is not predominantly low-frequency content, setting the second measure of the amplitude of the noise-canceling component to zero, and wherein the adjusting characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer is performed in conformity with both the first measure and the second measure of the amplitude of the noise-canceling component.
5. The method of claim 4, wherein the adjusting characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer alters a first rate of change of an upward change in the digital gain of the dynamic range enhancer and a second rate of change of a downward change in the digital gain of the dynamic range enhancer in response to changes in the amplitude of the audio input signal, and wherein the first measure of the amplitude of the noise-canceling component is used to trigger an increase in the digital gain of the dynamic range enhancer and the second measure of the amplitude of the noise-canceling component is used to trigger a decrease in the digital gain of the dynamic range enhancer.
6. The method of claim 3, wherein the comparing comprises: comparing the measured amplitude of the estimate of the noise-canceling component to a first threshold amplitude; comparing the measured amplitude of the estimate of the noise-canceling component to a second threshold amplitude greater than the first threshold amplitude; responsive to the measured amplitude of the estimate of the noise-canceling component exceeding the first threshold amplitude, enabling a release timer that determines a first rate of change of an upward change in the digital gain of the dynamic range enhancer; and responsive to the measured amplitude of the estimate of the noise-canceling component exceeding the second threshold amplitude, resetting the release timer so that the upward change in the digital gain of the dynamic range enhancer is postponed.
7. The method of claim 2, wherein the performing a comparison comprises determining whether or not the program component has sufficient amplitude to mask artifacts generated by changing the digital gain and the analog gain of the dynamic range enhancer.
8. The method of claim 7, wherein the determining whether or not the program component has sufficient amplitude to mask artifacts generated by changing the digital gain and the analog gain of the dynamic range enhancer comprises: filtering the audio input signal to generate a low frequency band signal and at least two higher-frequency band signals; measuring amplitudes of the at least two higher-frequency band signals to generate at least two higher-frequency measurements; and comparing the at least two higher-frequency measurements with corresponding thresholds to determine whether or not the amplitudes of the at least two higher-frequency measurements indicate that the program component has sufficient amplitude to mask the artifacts.
9. The method of claim 2, wherein the adjusting characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer alters a rate of change of at least one of an upward change in the digital gain of the dynamic range enhancer or a downward change in the digital gain of the dynamic range enhancer in response to changes in the amplitude of the audio input signal.
10. The method of claim 2, wherein the adjusting characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer alters a step size of the digital gain of the dynamic range enhancer.
11. The method of claim 10, wherein the determining an amplitude of the audio input signal determines multiple amplitudes of the audio input signal in multiple corresponding frequency bands, and wherein the altering of the step size of the gain of the dynamic range enhancer is further performed in conformity with the multiple amplitudes of the audio input signal in the multiple corresponding frequency bands.
12. The method of claim 2, wherein the adjusting characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer aligns changes in the digital gain and the analog gain of the dynamic range enhancer with zero-crossings of the audio input signal.
13. The method of claim 2, wherein the adjusting characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer randomizes at least one of a step size of the gain of the dynamic range enhancer or a rate of change of at least one of an upward change in the digital gain of the dynamic range enhancer or a downward change in the digital gain of the dynamic range enhancer in response to changes in the amplitude of the audio input signal.
14. A system for reproduction of an audio input signal having a combined noise-canceling component and a program component, the system comprising: a first detection circuit for determining an amplitude of the audio input signal; a second detection circuit for determining a measure of an amplitude of the noise-canceling component; an output stage for generating an audio output signal from the audio input signal, the output stage including a dynamic range enhancer for altering a dynamic range of the audio output signal in accordance with the amplitude of the audio input signal and an adjustable operating range of the dynamic range enhancer; and a control circuit for controlling characteristics of the dynamic range enhancer by performing a comparison of the amplitude of the noise-canceling component and the amplitude of the audio input signal, and responsive to a result of the comparison, adjusting the characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer.
15. The system of claim 14, wherein the dynamic range enhancer comprises: a digital gain control stage having a variable digital gain that is applied to values representative of the audio input signal; and an output stage having a digital-to-analog converter that generates an analog output signal from the values representative of the audio input signal according to the variable digital gain and an analog amplifier that receives the analog output signal and generates the audio output signal therefrom, wherein the analog amplifier applies a variable analog gain to the analog output signal that is an inverse of the variable digital gain so that the gain of the dynamic range enhancer remains constant as the variable digital gain is adjusted to change the operating dynamic range of the dynamic range enhancer.
16. The system of claim 15, wherein the second detection circuit comprises: a low-pass filter for filtering the audio input signal to generate an estimate of the noise-canceling component; and a signal level detector for detecting an amplitude of the estimate of the noise-canceling component, and wherein the control circuit includes a comparison circuit for comparing the detected amplitude of the estimate of the noise-canceling component to the amplitude of the audio input signal.
17. The system of claim 16, wherein the second detection circuit further comprises: a low-frequency detector for detecting whether or not the audio input signal contains predominantly low-frequency content; and a selector that selects between the amplitude of the audio input signal and a zero value in response to the output of the low-frequency detector, wherein the selector selects the amplitude of the audio input signal as a second measure of the amplitude of the noise-canceling component if the audio input signal is predominantly low-frequency content, and wherein if the audio input signal is not predominantly low-frequency content, sets the second measure of the amplitude of the noise-canceling component to zero.
18. The system of claim 17, wherein the control circuit alters a first rate of change of an upward change in the digital gain of the dynamic range enhancer and a second rate of change of a downward change in the digital gain of the dynamic range enhancer in response to changes in the detected amplitude of the audio input signal, and wherein the first measure of the amplitude of the noise-canceling component is used to trigger an increase in the digital gain of the dynamic range enhancer and the second measure of the amplitude of the noise-canceling component is used to trigger a decrease in the digital gain of the dynamic range enhancer.
19. The system of claim 16, wherein the comparison circuit comprises: a first comparator for comparing the measured amplitude of the estimate of the noise-canceling component to a first threshold amplitude; and a second comparator for comparing the measured amplitude of the estimate of the noise-canceling component to a second threshold amplitude greater than the first threshold amplitude, and wherein the control circuit, responsive to the measured amplitude of the estimate of the noise-canceling component exceeding the first threshold amplitude, enables a release timer that determines a first rate of change of an upward change in the digital gain of the dynamic range enhancer, and responsive to the measured amplitude of the estimate of the noise-canceling component exceeding the second threshold amplitude, resets the release timer so that the upward change in the digital gain of the dynamic range enhancer is postponed.
20. The system of claim 15, wherein the control circuit performs the comparison by determining whether or not the program component has sufficient amplitude to mask artifacts generated by changing the digital gain and the analog gain of the dynamic range enhancer.
21. The system of claim 20, wherein the control circuit comprises: a low-pass filter for filtering the audio input signal to generate a low frequency band signal; and at least two bandpass or high-pass filters for filtering the audio input signal to generate higher-frequency band signals, and wherein the control circuit measures amplitudes of the at least two higher-frequency band signals to generate at least two higher-frequency measurements and compares the at least two higher-frequency measurements with corresponding thresholds to determine whether or not the amplitudes of the at least two higher-frequency measurements indicate that the program component has sufficient amplitude to mask the artifacts.
22. The system of claim 15, wherein the control circuit adjusts the characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer by altering a rate of change of at least one of an upward change in the digital gain of the dynamic range enhancer or a downward change in the digital gain of the dynamic range enhancer.
23. The system of claim 15, wherein the control circuit adjusts the characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer by altering a step size of the gain of the dynamic range enhancer.
24. The system of claim 23, wherein the first detection circuit determines multiple amplitudes of the audio input signal in multiple corresponding frequency bands, and wherein the control circuit alters the step size of the gain of the dynamic range enhancer in conformity with the multiple amplitudes of the audio input signal in the multiple corresponding frequency bands.
25. The system of claim 15, wherein the control circuit aligns changes in the characteristics of the dynamic range enhancer with zero-crossings of the audio input signal.
26. The system of claim 15, wherein the control circuit randomizes at least one of a step size of the gain of the dynamic range enhancer or a rate of change of at least one of an upward change in the digital gain of the dynamic range enhancer or a downward change in the digital gain of the dynamic range enhancer in response to changes in the amplitude of the audio input signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENT
(8) The present disclosure encompasses audio systems having an output driver stage with dynamic range enhancement (DRE) and that generate an audio output signal including a component due to adaptive noise canceling (ANC). The systems determine, from an audio input signal, the amplitude of the noise-canceling component, and whether or not the noise-canceling component is significant with respect to the total amplitude of the input signal being reproduced. If the anti-noise component is significant with respect to the total amplitude, characteristics of the DRE are adjusted to prevent artifacts such as pops from being audible in the audio output signal, by adjusting characteristics of a dynamic range enhancer associated with the output stage, in to override a default behavior of the dynamic range enhancer.
(9) Referring now to
(10) While details of amplifier A1 are not shown, it will be understood that amplifier A1 may be an analog signal amplifier, a pulse-width modulated class-D type amplifier or any other audio power output stage in which the operating dynamic range may be shifted according to a control value. Amplifier A1 may also be a multi-path audio output stage, for example amplifier A1 may have a voltage path and a current path, or a high-voltage path and a low-voltage path for handling output signals of different amplitude ranges, and the change in analog gain value Analog Gain may be due wholly, or in part, to switching between multiple signal paths in a multi-path amplifier output stage, so that an enhanced dynamic range results from selection of the signal path. Analog gain value Analog Gain (and consequently digital gain value Digital Gain) may have only two states, e.g., a higher digital gain value Digital Gain for a current signal path through amplifier A1, and a lower digital gain value for a higher-analog-gain voltage signal path through amplifier A1, thus providing a two-state DRE functionality. Alternatively, analog gain value Analog Gain and digital gain value Digital Gain may be adjustable over a continuous or quasi-continuous range of values, thus providing an adjustable dynamic operating range of system 10 that corresponds to a range of values, thus providing a more finely-adjustable DRE.
(11) Referring now to
(12) Referring now to
(13) Referring now to
(14) TABLE-US-00001 TABLE I DRE Operation Hold Dynamic ANC change Current State Next State Range change ANC off, no ANC Low/ ANC Low/ Default Default change Program Low Program High ANC ANC Low/ ANC High/ Hold high Fast attack engaging Program Low Program Low noise mode ANC ANC Low/ ANC High/ Hold high Fast attack engaging Program Low Program High noise mode ANC ANC Low/ ANC High/ Hold high engaging Program High Program Low noise mode ANC ANC Low/ ANC High/ Hold high engaging Program High Program High noise mode ANC ANC High/ ANC Low/ Slow release disengaging Program Low Program Low ANC ANC High/ ANC Low/ Slow release disengaging Program High Program Low ANC ANC High/ ANC Low/ Hold high disengaging Program Low Program High noise mode ANC ANC High/ ANC Low/ Hold high disengaging Program High Program High noise mode ANC on ANC High/ ANC High/ Hold high Program Low Program Low noise mode ANC on ANC High/ ANC High/ Hold high Program High Program High noise mode
The slow release may be provided by controller, or may be provided by the design of tracking and decay control 43 in DRE characteristic control 34A.
(15) Referring now to
(16) Referring now to
(17) Referring now to
(18) In summary, this disclosure shows and describes circuits, systems and methods of operation of the systems and circuits that reproduce an audio input signal having a combined noise-canceling component and a program component. The systems and circuits include a first detection circuit for determining an amplitude of the audio input signal, a second detection circuit for determining a measure of an amplitude of the noise-canceling component, an output stage for generating an audio output signal from the audio input signal, the output stage including a dynamic range enhancer for altering a dynamic range of the audio output signal in accordance with the amplitude of the audio input signal and an adjustable operating range of the dynamic range enhancer, and a control circuit for controlling characteristics of the dynamic range enhancer by determining whether the amplitude of the noise-canceling component is significant with respect to the amplitude of the audio input signal, and responsive to determining that the amplitude of the noise-canceling component is significant with respect to the amplitude of the audio input signal, adjusting the characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer.
(19) In some embodiments, the dynamic range enhancer may include a digital gain control stage having a variable digital gain that is applied to values representative of the audio input signal and an output stage having a digital-to-analog converter that generates an analog output signal from the values representative of the audio input signal according to the variable digital gain and an analog amplifier that receives the analog output signal and generates the audio output signal from the analog output signal. The analog amplifier may apply a variable analog gain to the analog output signal that is an inverse of the variable digital gain so that the gain of the dynamic range enhancer remains constant as the variable digital gain is adjusted to change the operating dynamic range of the dynamic range enhancer. The second detection circuit may include a low-pass filter for filtering the audio input signal to generate an estimate of the noise-canceling component and a signal level detector for detecting an amplitude of the estimate of the noise-canceling component. The control circuit may include a comparison circuit for comparing the detected amplitude of the estimate of the noise-canceling component to the amplitude of the audio input signal to determine whether the amplitude of the noise-canceling component is significant with respect to the amplitude of the audio input signal. In some embodiments, the second detection circuit may include a low-frequency detector for detecting whether or not the audio input signal contains predominantly low-frequency content and a selector that selects between the amplitude of the audio input signal and a zero value in response to the output of the low-frequency detector. The selector may select the amplitude of the audio input signal as a second measure of the amplitude of the noise-canceling component if the audio input signal is predominantly low-frequency content, and may, if the audio input signal is not predominantly low-frequency content, set the second measure of the amplitude of the noise-canceling component to zero. In some embodiments, the control circuit may alter a first rate of change of an upward change in the digital gain of the dynamic range enhancer and a second rate of change of a downward change in the digital gain of the dynamic range enhancer in response to changes in the detected amplitude of the audio input signal. The first measure of the amplitude of the noise-canceling component may be used to trigger an increase in the digital gain of the dynamic range enhancer and the second measure of the amplitude of the noise-canceling component may be used to trigger a decrease in the digital gain of the dynamic range enhancer.
(20) In some embodiments, the comparison circuit may include a first comparator for comparing the measured amplitude of the estimate of the noise-canceling component to a first threshold amplitude and a second comparator for comparing the measured amplitude of the estimate of the noise-canceling component to a second threshold amplitude greater than the first threshold amplitude. The control circuit may, responsive to the measured amplitude of the estimate of the noise-canceling component exceeding the first threshold amplitude, enable a release timer that may determine a first rate of change of an upward change in the digital gain of the dynamic range enhancer. The control circuit may, responsive to the measured amplitude of the estimate of the noise-canceling component exceeding the second threshold amplitude, reset the release timer so that the upward change in the digital gain of the dynamic range enhancer is postponed.
(21) In some embodiments, the control circuit may determine whether or not the amplitude of the noise-canceling component is significant by determining whether or not the program component has sufficient amplitude to mask artifacts generated by changing the digital gain and the analog gain of the dynamic range enhancer. In some embodiments, the control circuit may include a low-pass filter for filtering the audio input signal to generate a low frequency band signal, and at least two bandpass or high-pass filters for filtering the audio input signal to generate higher-frequency band signals. The control circuit may measure amplitudes of the at least two higher-frequency band signals to generate at least two higher-frequency measurements and compare the at least two higher-frequency measurements with corresponding thresholds to determine whether or not the amplitudes of the at least two higher-frequency measurements indicate that the program component has sufficient amplitude to mask the artifacts.
(22) In some embodiments, the control circuit may adjust the characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer by altering a rate of change of at least one of an upward change in the digital gain of the dynamic range enhancer or a downward change in the digital gain of the dynamic range enhancer. In some embodiment, the control circuit may adjust the characteristics of the dynamic range enhancer to override a default behavior of the dynamic range enhancer by altering a step size of the gain of the dynamic range enhancer. In some embodiments, the first detection circuit may determine multiple amplitudes of the audio input signal in multiple corresponding frequency bands, and the control circuit may alter the step size of the gain of the dynamic range enhancer in conformity with the multiple amplitudes of the audio input signal in the multiple corresponding frequency bands. In some embodiments, the control circuit may align changes in the characteristics of the dynamic range enhancer with zero-crossings of the audio input signal. In some embodiments, the control circuit may randomize at least one of a step size of the gain of the dynamic range enhancer or a rate of change of at least one of an upward change in the digital gain of the dynamic range enhancer or a downward change in the digital gain of the dynamic range enhancer in response to changes in the amplitude of the audio input signal.
(23) It should be understood, especially by those having ordinary skill in the art with the benefit of this disclosure, that the various operations described herein, particularly in connection with the figures, may be implemented by other circuitry or other hardware components. The order in which each operation of a given method is performed may be changed, and various elements of the systems illustrated herein may be added, reordered, combined, omitted, modified, etc. It is intended that this disclosure embrace all such modifications and changes and, accordingly, the above description should be regarded in an illustrative rather than a restrictive sense. Similarly, although this disclosure makes reference to specific embodiments, certain modifications and changes may be made to those embodiments without departing from the scope and coverage of this disclosure. Moreover, any benefits, advantages, or solutions to problems that are described herein with regard to specific embodiments are not intended to be construed as a critical, required, or essential feature or element.
(24) While the disclosure has shown and described particular embodiments of the techniques disclosed herein, it will be understood by those skilled in the art that the foregoing and other changes in form, and details may be made therein without departing from the spirit and scope of the disclosure. For example, a priori information about adaptive noise canceling components in the audio signal may be used in combination with the techniques of the disclosed embodiments.