Amplifier with adjustable ramp up/down gain for minimizing or eliminating pop noise

09673762 ยท 2017-06-06

Assignee

Inventors

Cpc classification

International classification

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) FIG. 1 is a block diagram illustrating an example closed-loop Class-D amplifier architecture according to the prior art.

(3) FIG. 2 is a block diagram illustrating a dual-loop amplifier according to the prior art.

(4) FIG. 3 is a circuit schematic illustrating an example fixed-gain PWM modulator/generator in accordance with the prior art.

(5) FIG. 4 are graphs illustrating example signal timing diagrams and example relationships for signals in a Class-D amplifier in accordance with the prior art.

(6) FIG. 5 is a block diagram illustrating an example closed-loop Class-D amplifier architecture with variable ramp up/down gain according to one embodiment of the disclosure.

(7) FIG. 6 are graphs illustrating example output waveforms of a Class-D amplifier according to one embodiment of the disclosure.

(8) FIG. 7 is a circuit schematic illustrating an example variable or ramping gain pulse width modulation (PWM) modulator according to one embodiment of the disclosure.

(9) FIG. 8 are graphs illustrating example signal timing diagrams and example relationships for signals in a Class-D amplifier according to one embodiment of the disclosure.

(10) FIG. 9 is a circuit diagram illustrating an example variable current source according to one embodiment of the disclosure.

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 FIG. 5. A closed-loop Class-D amplifier 500 is similar to the closed-loop Class-D amplifier 100 of FIG. 1, except that the fixed gain PWM generator 106 is replaced with a PWM modulator/generator 506 with variable ramp-up gain and/or ramp-down gain. Closed-loop Class-D amplifier 500 includes a feedforward path that includes the summer 102, a pre-power stage block 504, including the loop filter 104 and the pulse width modulation (PWM) modulator/generator 506 with variable gain, and the power stage block 108. The amplifier 500 also includes a feedback path 110 that starts at an output of the power stage block 108 and is coupled back to the summer 102. The output of the power stage block 108 may drive a speaker 112, or other transducer or other load. The loop filter 104 may include integrators, and the PWM modulator/generator 506 with ramp-up gain and/or ramp-down gain may modulate, into a PWM wave, an analog input signal received at input node 522 and amplified in input gain block 502.

(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) FIG. 6 shows example waveforms comparing the output voltage of Class-D amplifier 100 (e.g., an output of the power stage block 108 of FIG. 1) that implements a fixed gain PWM modulator/generator 106 with an output voltage of the Class-D amplifier 500 that implements a variable gain PWM modulator/generator 506. A waveform 602 shows an example output voltage of the Class-D amplifier 100 with the fixed gain PWM modulator/generator 106. A waveform 604 shows an example output voltage of the Class-D amplifier 500 with PWM modulator/generator 506 with ramp-up gain and/or ramp-down gain. The waveform 602 shows that when the gain is fixed for PWM generator 106, an offset voltage 603 that is equal to or about 10 mV is evident at the output of the amplifier 100. The output voltage is affected by the offset voltage 603 for about 25 microseconds during the closed-loop magnified state. At or around 200 microseconds, the output voltage of the PWM generator 106 begins decreasing towards and settles to zero at or around 211 microseconds during a closed-loop steady state condition.

(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 FIG. 5, may be provided by the PWM modulator/generator 506. In other embodiments, the variable ramp up/down gain may be provided in other components of the amplifier 500, such as in a component outside a plurality of loop filter integrators of a loop filter of the pre-power stage block. An embodiment of a PWM modulator/generator 506 with variable ramp up/down gain is shown in FIG. 7. FIG. 7 is a circuit schematic illustrating an example variable or ramping gain pulse width modulation (PWM) modulator according to one embodiment of the disclosure. The PWM modulator/generator 506 is similar to that of FIG. 3, but instead of including current sources 302 and 304, PWM modulator/generator 506 instead includes variable or ramping (ramp-up and/or ramp-down) current sources 702 and 704. The PWM modulator/generator 506 also includes capacitor C, amplifier 306, and comparators 308 and 310.

(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 FIG. 8. FIG. 8 are graphs illustrating example signal timing diagrams and example relationships for the voltage inputs V.sub.sigP and V.sub.sigM and outputs PWM_P and PWM_M of comparators 308 and 310 for PWM modulator/generator 506. The average voltage of modulator output PWM_Diff shown as waveform 802 may be determined in accordance with the following equation:

(20) V pwm_diff = ( V sigP - V sigM ) * V DD / ( I C * T ) .

(21) The PWM generator gain may then be computed according to the following equation:

(22) gain = V pwm diff V sigP - V sigM = V DD / ( I C * T ) .

(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 FIG. 5 may control the V.sub.ramp signal ramp rate from 8I.sub.0/C to I.sub.0/C beginning after a time that the amplifier 500 transitions from a closed-loop magnified state to a closed-loop steady state.

(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 FIG. 9. FIG. 9 is a circuit diagram illustrating an example variable current source according to one embodiment of the disclosure. Variable current source 900 may include an operational amplifier (op amp) 902 and a plurality of field effect transistors 904, 906, 908, 912, . . . , 914 that provide respective current signals I.sub.0, I.sub.0, 2I.sub.0, 4I.sub.0, 8I.sub.0, . . . , 2.sup.NI.sub.0. A reference voltage V.sub.ref and resistor R at an input of the op-amp 902 may determine the current level from variable current source 900. In one embodiment, the controller 532 of FIG. 5 may vary the ramp up/down gain by controlling the reference voltage V.sub.ref through a control signal.

(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.