NOT APPLICABLE
NOT APPLICABLE
NOT APPLICABLE
The present invention relates generally to electronic circuit techniques. More specifically, embodiments of the present invention provide techniques for suppressing transients in amplifier circuits. Merely by way of example, the invention has been applied to audio power amplifiers for suppressing power up transients (e.g., popping noises) when the power amplifiers are turned on. But it would be recognized that the invention has a much broader range of applicability.
Amplifier circuits are prevalent in modern electronic devices. For example, an audio amplifier is an electronic amplifier that amplifies low-power audio signals to a level suitable for driving sound producing devices, such as loudspeakers or headphones. When audio power amplifiers use a single power supply, their output is usually biased at the mid-point of the power supply voltage. A large AC coupling capacitor is connected between the output of the amplifier and a loudspeaker. The capacitor is used to block any DC current from flowing through a loudspeaker that has low impedance.
Even though conventional audio amplifiers are widely used, they suffer from many limitations. One of the limitations is pop noise or click noise that can be produced in transient states of the amplifier. For example, a pop noises can often be heard during power-on of an audio amplifier. Conventional circuit techniques are expensive and often ineffective.
Therefore, cost effective circuits and methods for eliminating or at least suppressing amplifier transients, such as pop noises, are highly desirable.
Whenever an amplifier is powered on, its internal nodes can be charged at different speeds causing transient currents to flow in an uncontrollable manner. Transient currents may flow through the AC coupling capacitor to the loudspeaker, which generates pop or click sound. In the following description, the term “pop” will be used for unwanted sound generated at power up and power down of an audio amplifier.
Embodiments of the present invention provide circuits and methods for suppressing transients in an electronic amplifier circuit. Merely by way of example, the invention has been applied to suppressing pop noise in an audio power amplifier in integrated circuits including audio codec. But it would be recognized that the invention has a much broader range of applicability.
In a specific embodiment, the present invention provides a circuit that includes an output driver configured to drive a low impedance load (e.g., a loudspeaker) after a predetermined time period at start up. The output driver can be set in a tri-state mode or in an active mode through electronic switches that are controlled by a delay circuit. In one embodiment, the output driver uses a single power supply and drives the low impedance load through a coupling capacitor.
In one embodiment, the output driver includes a PMOS and an NMOS transistor pair connected in a push-pull configuration. The transistor pair is controlled by the electronic switches that can be implemented using MOS transistors.
In one embodiment, the predetermined time period is provided by the delay circuit that includes a digital controller configured to receive a clock frequency and output at least a first control signal and a second control signal for controlling the electronic switches. The first and second control signals may have opposite logic states, e.g., “0” and “1”.
The present invention provides an audio amplifier including a first (preamplifier) stage, a second (intermediate) stage, and a third (driver) stage. The amplifier further includes a frequency compensation capacitor that is coupled between the output of the first stage and the output of the third stage. Additionally, the amplifier also includes a delay circuit configured to receive a clock frequency and generate a start-up sequence to sequentially turn on the first, second, and third stages. In a specific embodiment, the start-up sequence only includes the turning-on of the third (driver) stage after a predetermined time constant.
In one embodiment of the present invention, the driver stage is only turned on after the compensation capacitor reaches a predetermined operation point. This will ensure that a feedback loop is established and the audio amplifier is in a stable operating condition.
In another embodiment of the present invention, the first stage has differential inputs and the third stage has a push-pull structure. The push-pull structure may include a pair of complementary transistors, e.g., PMOS and NMOS transistors.
In yet another embodiment of the present invention, the push-pull structure may be set in a tri-state mode and become operational only after the predetermined time constant. In one embodiment, the predetermined time constant is provided using a digital controller that is configured to receive a clock frequency and execute a machine readable program code stored in a memory. The memory may be a flash memory, an SRAM, a DRAM, a ROM, an EPROM, or an EEPROM.
In yet another embodiment of the present invention, the push-pull configuration of the output driver comprises a first output transistor and a second output transistor, with the first output transistor having a first terminal substantially coupled to the power supply, a second terminal and a third terminal, the second transistor having a fourth terminal coupled to the third terminal, a fifth terminal, and a sixth terminal coupled to ground. The push-pull configuration further comprises a first switch transistor having a seventh terminal coupled to the power supply, an eighth terminal coupled to the first control signal, a ninth terminal coupled to the second terminal, and a second switch transistor having a tenth terminal coupled to the fifth terminal, an eleventh terminal coupled to the second control signal and a twelfth terminal substantially coupled to ground.
According to yet another embodiment, a method of suppressing transients at power up comprises providing an output driver being capable of operating in a tri-state mode and in a class AB mode and providing a delay circuit configured to turn on the output driver after a predetermined time constant. The output driver is turned on after the predetermined time constant.
In one embodiment of the present invention, the predetermined time constant is a function of an operating point which is characterized by a gate-source (Vgs) voltage.
The following detailed description together with the accompanying drawings will provide a better understanding of the nature and advantage of the present invention.
As noted above, conventional amplifier circuits can be susceptible to transient noises. Specifically, in an audio amplifier, power-on transient can create pop noises which are undesirable. For example, in the audio amplifier described above with reference to
During power up, all nodes of the two-stage amplifier are charged to their operating values except the gates of Q7 and Q8 due to the large value of C1 and C2. Q7 and Q8 will turn on gradually, and the turn-on time of Q7 and Q8 depends closely to the respective value of C1 and C2. However, when Q7 and Q8 did not turn on at the same time, a current would flow through the coupling capacitor and result in clicks or pops in the load (e.g., loudspeaker). These pop sounds are not only unpleasant to the listener, but also can damage the load.
According to one embodiment of the present invention, transistors Q9 and Q10 are added to the push-pull structure of the output driver. Q9 is connected between the gate (base) of Q7 and Vcc and is switched on or off by control signal EN. Similarly, Q10 is connected between the gate (base) of Q8 and Vss and is switched on or off by control signal ENB. In one embodiment, Q9 is a PMOS transistor and Q10 is an NMOS transistor. The size of Q9 and Q10 can be small as they operate as electronic switches to turn off the respective driver transistors Q7 and Q8 during power up. In one embodiment, EN is logic “0” and ENB is logic “1” during power up so that a voltage substantially close to Vcc is applied to the gate of Q7 and a voltage substantially close to Vss is applied to the gate of Q8 resulting in both transistors Q7 and Q8 to be off and the driver output to be tri-stated. Only when all nodes of the amplifier reach their respective operating points that the control signals EN and ENB reverse their respective logic state and turn off Q9 and Q10.
According to one embodiment of the present invention, the control signal EN and ENB are generated from a digital circuit including digital delay elements. The delay elements can be implemented using combinational logic and flip-flops that are clocked by a clock source. The digital circuit may include an input signal ENABLE that activates the delay elements. The ENABLE signal may be coupled to an input pin configured to receive a trigger signal from a user, or it may coupled to an on-chip power-on-reset circuit output, or it may be an input signal coupled to a control register whose content can be updated through the use of a control port. The control register, the control port, and the digital circuit may be part of an audio system, e.g., a codec.
In one embodiment of the present invention, the delay elements can be implemented using a mono-stable vibrator that generates a one-shot pulse. When triggered by the Enable signal, the mono-stable vibrator will switch to an unstable position for a period of time and then return to its stable state. The period of time may be determined by external discrete R and C components. The ENABLE signal may be asserted by the user at any time or at power up by the power-on reset circuit. Alternatively, the delay elements may be implemented using synchronous or asynchronous digital counters and/or a combination thereof. For example, synchronous and asynchronous counters can be implemented using D-flip-flops, JK-flip-flops, T-flip-flops, latches, and/or combination logic that divide the clock source to lower clock frequencies.
A problem arises for the design of a three-stage audio power amplifier. Because the frequency compensation capacitor is connected between the output of the first stage and the third stage (the output driver), the output driver may become active before the compensation capacitor and other nodes reach their steady states. While the compensation capacitor is charging toward its steady state, transient currents may flow across the output driver and cause pop and click sound at the loudspeaker.
In one embodiment, the output driver comprises a complementary transistor pairs Q8 and Q9 configured in a push-pull structure. The output of the push-pull structure is biased at mid-rail and coupled to a sound producing load through an AC coupling capacitor Cac. The output driver further comprises transistor Q10 that operates as an electronic switch and connects the gate (base) of the transistor Q8 substantially to the Vcc level at start up so that Q8 is switched off. The output driver also includes transistor Q11 that operates as an electronic switch and connects the gate (base) of Q9 substantially to the Vss level so that Q9 is switched off at the start-up phase.
In one embodiment of the present invention, the output driver is implemented using CMOS technology, where Q8 is a PMOS transistor and Q9 is an NMOS transistor. Q10 may be implemented as a PMOS transistor having the source and drain terminals connected to the respective gate of Q8 and Vcc and a gate terminal configured to receive control signal EN. Similarly, Q11 may be implemented as an NMOS transistor having the drain and source connected to the respective gate of Q9 and Vss and a gate terminal configured to receive control signal ENB. Thus, Q8 and Q9 can be switched off, i.e., the push-pull structure is tri-stated at power up when EN is “0” and ENB is “1”. No current will flow through the output driver so that pop can be eliminated. The output driver will be enabled when all nodes of the amplifier are in steady states. In one embodiment, the output driver is enabled by reversing the logic state of control signals EN and ENB.
In one embodiment of the present invention, the associated RC time constant Tc is closely related to the size of the compensation capacitor. The size of the compensation capacitor depends on the phase margin, i.e., stability, of the three-stage power amplifier. The time constant can be estimated by the following formula:
Tc=C*V/I (1)
where C is the value of the frequency compensation capacitor Ccomp, V is the charge voltage threshold, and I is the charge current.
In one embodiment, Vcc is 3.3V and the charge threshold voltage corresponds to the gate-source voltage Vgs of transistor Q5 and is about 1.0 V.
The use of a feedback compensation capacitor Ccomp has an impact on the switch-on behavior. With a feedback capacitor the switch-on behavior is somewhat worse. The present invention provides a switch-on mechanism and method that enable a switch-on with negligible or no pop at all.
With asymmetrical power supply (e.g., Vcc at 3.3V and Vss at 0V), the switch-on behavior depends on the rise time of the power supply and the compensation capacitor. With slow rise of the power supply, there may not be switch-on pop. When the rise time is short, the pop effect can become somewhat worse.
According to one embodiment of the present invention, the 3-stage power amplifier is powered up sequentially. The first and second stages are powered up first while the output driver is still in tri-stated. In one embodiment, the power sequence is performed by a delay circuit, which includes a processor (controller) operating at a certain clock frequency and executing a machine readable program code. The program code may include a loop or multiple loops being repeated a number of times. The delay circuit may include a serial port such as an inter-integrated circuit (I2C), a serial peripheral interface (SPI) serial data link, or any user-defined interface.
In one embodiment of the present invention, the delay circuit may include digital counters configured to generate delay time constants. The digital counters can be implanted as synchronous or asynchronous counters.
In another embodiment, the digital circuit and the power amplifier are implemented in the same integrated circuit using CMOS technology.
In yet another embodiment, the digital circuit and the power amplifier are a small part of a large audio codec system.
Trace 5 also shows the power-off behavior at time t2. According to one embodiment of the present invention, the output driver is turned off first (Trace 7). The resulting glitch is negligible (less than 1 mV) at the output driver.
Many advantages can be achieved in accordance with embodiments of the present invention. For example, the power-up sequence can be obtained from the delay circuit running instructions stored in a memory. In one embodiment, the memory may be integrated on the same chip as the delay circuit and the audio power amplifier. In one embodiment, the output driver is enabled by a delay element, which may be implemented using digital counters. The delay element can be user programmable and adjusted according to specific applications. In one embodiment of the present invention, the delay circuit includes a controller executing a machine readable program code. The program code may include a loop or multiple loops being repeated a fixed number of times to generate the predetermined time constant. The digital circuit further includes a control port adapted to receive user configuration and control data for enabling a flexible amplifier design. In another embodiment, the Enable signal for the output driver may be triggered with the use of an external trigger input pin or a power-on reset event. In yet another embodiment, the Enable signal can be triggered by an ENABLE bit stored in an associated control register. The ENABLE bit can be updated by user through the control port. For example, the ENABLE bit can be updated according to specific applications such as “changing channel”, “standby”, “mute”, etc. In contrast, approaches according to prior art are fixed and any modification in power-up sequence would require hardware modification and in some cases replacement of components. And in some cases, the startup sequencing delays are limited to a narrow range due to the physical size of the components and/or their costs.
In one embodiment of the present invention, the audio amplifier operates in class AB with a single power supply, i.e., Vcc equal 3.3V and Vss equal 0V. The charge current Ien2 is about 20 uA, the compensation capacitor is charged to the gate-source voltage Vgs of transistor Q5 of the second stage, which is about 1.0V, and the compensation capacitor is 8 pF. According to Equation (1), the time constant for charging the compensation capacitor is the output driver to switch from tri-stated to normal operation mode is therefore about 0.4 microsecond. The delay time for enabling the output driver may be selected to be about 12 ms, which is significantly larger than the charge time constant of the compensation capacitor. The delay time constant for enabling the output driver must be significantly larger than the charge time Tc of the compensator capacitor (Tdelay>>Tc) to ensure a pop-free start-up operation of the amplifier.
Specific details are given in the description to provide a thorough understanding of the embodiments. However, it will be understood by one of ordinary skill in the art that the embodiments may be practiced without these specific details. For example, the first stage of the amplifier may be single-ended. The design is not limited to single power supply. The output driver may be duplicated. The duplicated output driver may be connected in parallel with the output driver for driving a differential load. The duplicated output driver may be powered with a voltage that is the negative of the output driver power supply in order to double the differential output magnitude. The embodiments may be implemented using CMOS, BiCMOS, bipolar technology, and/or a combination thereof. The delay elements may be implemented using a microcontroller, a microprocessor, mixed signals, ROM, RAM, and/or in combination with machine readable program codes (software). They may be designed using RTL codes, hardware description languages (HDL), schematic captures, and/or any combination thereof.
Having described several embodiments, it will be recognized by those skilled in the art that various modifications, alternative constructions, and equivalents may be used without departing from the spirit of the invention. For example, the above elements may merely be a component of a large system, wherein other rules may take precedence over or otherwise modify the application of the invention. Accordingly, the above description should not be taken as limiting the scope of the invention, which is defined in the following claims.