Amplifier with adjustable ramp up/down gain for minimizing or eliminating pop noise
09673762 ยท 2017-06-06
Assignee
Inventors
- Lingli ZHANG (Austin, TX, US)
- Huan Wang (Austin, TX, US)
- Yongjie CHENG (Austin, TX, US)
- Christian LARSEN (Austin, TX, US)
Cpc classification
H03F2200/375
ELECTRICITY
H03F2200/351
ELECTRICITY
International classification
H03F3/38
ELECTRICITY
H03F1/02
ELECTRICITY
Abstract
A variable ramp up/down gain in a pre-power stage block of an audio amplifier may be used to reduce audible pops and clicks output by the audio amplifier. A controller may adjust the variable ramp up/down gain during operation of the audio amplifier. The variable ramp up/down gain may be implemented as a pulse width modulation (PWM) modulator/generator with a ramp-up and ramp-down gain under control of the controller. The variable ramp up/down gain smooths transitions of the offset between a pre-power stage block and a feedback loop and thus can reduce audible pops and clicks by reducing the offset that is amplified in the power stage block of the audio amplifier.
Claims
1. An apparatus, comprising: an input node configured to receive an input analog signal for reproduction by a transducer; a pre-power stage block coupled to the input node and configured to process the input analog signal, wherein the pre-power stage block comprises a pulse-width modulation (PWM) generator with a configurable ramp up/down gain; a power stage block coupled to the pre-power stage block and configured to amplify the processing input analog signal; a feedback loop coupled between an output of the power stage and an input of the pre-power stage block; and a controller coupled to the pulse-width modulation (PWM) generator and configured to vary the configurable gain of the pre-power stage block via the pulse-width modulation (PWM) generator during a transition of the feedback loop.
2. The apparatus of claim 1, wherein the configurable gain is outside a plurality of loop filter integrators of a loop filter of the pre-power stage block.
3. The apparatus of claim 1, wherein the controller is configured to vary the configurable ramp up/down gain of the pre-power stage block to reduce a voltage offset due to the pre-power stage block.
4. The apparatus of claim 1, wherein the controller is configured to vary the configurable ramp up/down gain of the pre-power stage block during a transition of the feedback loop from a closed-loop magnified state to a closed-loop steady state.
5. The apparatus of claim 1, wherein the controller is configured to vary the configurable ramp up/down gain to attenuate pop or click levels at the output of the power stage.
6. A method, comprising: receiving, by an amplifier, an input analog signal for amplification; processing the input analog signal in a pre-power stage block, wherein the step of processing includes varying a configurable ramp up/down gain of the pre-power stage block via a pulse-width modulation (PWM) generator; amplifying the processed signal in a power stage block; and feeding back the amplified signal to the pre-power stage block through a feedback loop, wherein the step of varying the configurable ramp up/down gain of the pre-power stage block via the pulse-width modulation (PWM) generator occurs during a transition of the feedback loop.
7. The method of claim 6, wherein the step of varying the configurable ramp up/down gain comprises varying a configurable ramp up/down gain outside of a plurality of loop filter integrators of a loop filter of the pre-power stage block.
8. The method of claim 6, wherein the step of varying the configurable ramp up/down gain is performed by a controller varying the ramp up/down gain during a time when the feeding back transitions from a closed-loop magnified state to a closed-loop steady state.
9. The method of claim 8, wherein the step of varying the configurable ramp up/down gain comprises varying the configurable ramp up/down gain to reduce a voltage offset due to the processing in the pre-power stage block.
10. The method of claim 8, wherein the step of varying the configurable ramp up/down gain comprises varying the configurable ramp up/down gain during a transition of the feedback loop from a closed-loop magnified state to a closed-loop steady state.
11. The method of claim 8, wherein the step of varying the configurable ramp up/down gain comprises varying the configurable ramp up/down gain to attenuate pop/click levels at the output of the power stage.
12. An apparatus, comprising: a controller configured to couple to an amplifier circuit, wherein the controller is configured to perform steps comprising: determining a feedback loop around a pre-power stage block and a power stage block of the amplifier circuit has effectively closed; determining a ramp up/down gain of a configurable ramp up/down gain element of a pre-power stage block of the amplifier circuit after determining the feedback loop has effectively closed; and adjusting the configurable ramp up/down gain of the pre-power stage block while the feedback loop is in transition from a first status to a second status to the determined ramp up/down gain.
13. The apparatus of claim 12, wherein the controller is configured to determine the ramp up/down gain of the configurable ramp up/down gain element to reduce a voltage offset due to the pre-power stage block.
14. The apparatus of claim 12, wherein the controller is configured to determine the gain of the configurable ramp up/down gain element during a transition of the feedback loop from a first status of a closed-loop magnified state to a second status of a closed-loop steady state.
15. The apparatus of claim 12, wherein the controller is configured to determine the ramp up/down gain of a pulse-width modulation (PWM) generator of the amplifier circuit.
16. The apparatus of claim 12, wherein the controller is configured to determine the ramp up/down gain of a configurable ramp up/down gain element outside of a plurality of loop filter integrators of a loop filter of the amplifier circuit.
17. The apparatus of claim 12, further comprising: an input node configured to receive an input analog signal for amplification by the amplifier circuit, wherein the input node is coupled to the amplifier circuit, wherein the amplifier circuit comprises: a pre-power stage block coupled to the input node; and a power stage block coupled to the pre-power stage block, wherein the feedback loop couples an output of the power stage block to an input of the pre-power stage block; and a transducer coupled to an output of the amplifier circuit, wherein the transducer is configured to reproduce a representation of the input analog signal processed by the pre-power stage block and amplified by the power stage block.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) For a more complete understanding of the disclosed system and methods, reference is now made to the following descriptions taken in conjunction with the accompanying drawings.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION
(11) The voltage offsets between components in the amplifier may be reduced through the use of components with variable ramp up/down gain, such as a variable ramp up/down gain PWM modulator/generator. This voltage offset, when magnified by an amplifier, can cause unintentional artifacts in an output signal, which may be heard as clicks and pops in an audio amplifier. Thus, embodiments of the present disclosure used in audio amplifiers may eliminate or reduce the problems of audible pops and clicks by providing, for example, a PWM modulator/generator with a ramp-up and ramp-down gain.
(12) An example embodiment of a closed-loop Class-D amplifier with a variable gain up/down PWM generator is shown in
(13) The PWM modulator/generator 506 may provide a variable ramp-up/ramp-down gain in a single loop amplifier system. The variable ramp-up/ramp-down gain helps provide a smooth transition from a first status, such as a closed-loop magnified state, to a second status, such as a closed-loop steady state, for attenuating pop/click levels at the speaker output. In certain embodiments, variable or ramping gain PWM modulator/generator 506 may be part of a simple variable gain stage. The loop filter 104 of Class-D amplifier 500 may be an ideal low pass filter that is approximating an integrator.
(14) The variable gain of the pre-power stage block 504, such as a variable ramp up/down gain of the PWM modulator/generator 506, may be varied by a controller 532. The controller 532 may start to ramp up/down the gain when the loop is controlled to start transitioning from one state to another state, such as a closed-loop transitioning from a closed-loop magnified state to a closed-loop stead state. The ramp up/down of the gain may include a linear ramp, a 5-step ramp, a 10-step ramp, or any other ramp configuration. The ramp time may be selected from, for example, 200 microseconds, 400 microseconds, 600 microseconds, 800 microseconds, and 1 millisecond.
(15)
(16) A similar input to the Class-D amplifier 500 shows an improved capability of reducing an offset that eventually reaches the amplifier. The waveform 604 shows that when the gain is variable or ramping (such as ramping-up or ramping-down), such an offset voltage 603 does not exist or is not effectively evident at the output voltage of Class-D amplifier 500. If such offset voltage does exist at the output, it is of nominal value or very small in comparison to the offset voltage 603 of the waveform 602. The waveform 604 shows the behavior when example variable or ramping PWM generator 506 ramps up from a zero (0) gain to a gain of four (4) in 200 microseconds. Because of the variable or ramping gain, waveform 604 shows that the output voltage of Class-D amplifier 500 is relatively flat. A nominal or small offset voltage (e.g., that cannot be generally seen in waveform 604) may exist, but it is not evident as compared with the offset voltage 603 in the waveform 602. Waveform 606 shows an exploded view of a part of the waveform 604 showing a small increase and ramp-up in an output of the Class-D amplifier 500 occurring around 200 microseconds while the amplifier 500 is in a closed-loop magnified state. At or around 203 microseconds, the output voltage of amplifier 500 decreases, and the output voltage then levels off and settles down to around 0 volts at or around 214 microseconds. The decrease that occurs during approximately the 203 to 214 microsecond period is generally due to the loop of amplifier 500 transitioning from a closed-loop magnified state to a closed-loop steady state and that the closed loop is starting to take over for providing the output voltage of amplifier 500. The amount of voltage ramp-up and ramp-down shown in the waveform 606 is close to 30 microVolts, which is 50 dB lower compared to the 10 mV offset voltage 603 of the waveform 602.
(17) The variable ramp up/down gain described above and shown in the amplifier 500 of
(18) Current signals from current sources 702 and 704 provide one input to PWM modulator/generator 506 at an inverting input of the amplifier 306, and the non-inverting input may be coupled to ground. The output of the amplifier 306 may be a triangle or ramp reference signal V.sub.ramp, and the voltage signal V.sub.ramp is fed into each of the respective negative inputs for corresponding comparators 308 and 310. The loop filter output signals V.sub.sigP and V.sub.sigM are provided to the corresponding comparators 308 and 310. The comparators 308 and 310 compare the loop filter outputs and triangle or ramp reference voltage V.sub.ramp to produce digital PWM signals PWM_M and PWM_P.
(19) An example operation of the amplifier 500 is shown through the waveforms of
(20)
(21) The PWM generator gain may then be computed according to the following equation:
(22)
(23) The slope of the V.sub.ramp signal shown as waveform 804 is shown to vary because the gain of the PWM modulator/generator 506 varies or ramps up/ramps down. In some embodiments, the slope of V.sub.ramp signal varies from 8I.sub.0/C to 4I.sub.0/C to 2I.sub.0/C to I.sub.0/C over time. The controller 532 of
(24) The closed-loop amplifier is powered on at time t.sub.1 at time 812. Before being powered on, the loop filter differential output may be zero, and thus PWM_Diff is zero. Between times t.sub.1 and t.sub.2 (at time 814) when the amplifier is in a closed-loop magnified state, the gain of PWM modulator/generator 506 may be varied or ramped in a manner so that a large offset or voltage jump is avoided or minimized. After time t.sub.2, the loop filter starts to attenuate the offset. After time t.sub.3 (at time 816), the loop filter runs in the closed-loop steady state when the offset V.sub.OS2 is attenuated to a reduced level. Further, only a very small residue offset V.sub.OS1 exists for PWM_Diff. By avoiding or minimizing the large offset or voltage jump, the output at speaker 112 of the amplifier 500 may have a peak that is attenuated.
(25) The variable current sources 702 and 704 may be implemented in some embodiments by the circuit illustrated in
(26) If implemented in firmware and/or software, functions described above may be stored as one or more instructions or code on a computer-readable medium. Examples include non-transitory computer-readable media encoded with a data structure and computer-readable media encoded with a computer program. Computer-readable media includes physical computer storage media. A storage medium may be any available medium that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise random access memory (RAM), read-only memory (ROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Disk and disc includes compact discs (CD), laser discs, optical discs, digital versatile discs (DVD), floppy disks and Blu-ray discs. Generally, disks reproduce data magnetically, and discs reproduce data optically. Combinations of the above should also be included within the scope of computer-readable media.
(27) In addition to storage on computer readable medium, instructions and/or data may be provided as signals on transmission media included in a communication apparatus. For example, a communication apparatus may include a transceiver having signals indicative of instructions and data. The instructions and data are configured to cause one or more processors to implement the functions outlined in the claims.
(28) Although the present disclosure and certain representative advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the disclosure as defined by the appended claims. Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. For example, although audio amplifiers are described throughout the detailed description, aspects of the invention may be applied to the design of other amplifiers, such as amplifiers for radio telecommunications circuits and/or amplifiers for sensing small signals. As one of ordinary skill in the art will readily appreciate from the present disclosure, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps.