Not Applicable
Not Applicable
1. Technical Field
This invention relates in general to audio amplifiers and, more particularly, to a track-and-hold circuit to reduce noise in a headset amplifier.
2. Description of the Related Art
Audio circuitry often suffers from annoying “pop” noises as power is applied to or removed from the audio amplification circuitry. While the popping can be annoying in any application, it is particularly annoying in headset applications, where the speaker is firing directly into the user's ear.
Headsets are becoming more and more popular with mobile processing devices, and especially in communications applications, such as with mobile telephones (including devices such as personal digital assistants that may be used as a telephone, either through cellular circuitry or as a voice-over-Internet-protocol, or VOIP, device). In conjunction with mobile processing devices, power consumption is an especially important consideration, and power may be frequently switched on and off to the headset amplifier.
a illustrates a general diagram of a receiving (RX) voice channel in a headset amplifier. A DSP (digital signal processor) 10 generates the voice data in digital form. A digital filter 12 receives the digital voice data and passes the filtered data to a DAC (digital-to-analog converter) 14. The output of the DAC 14 (shown here as a differential voltage) is applied to the input of a headset amplifier 16. The output of the headset amplifier 16 is coupled to a speaker 18 through an AC coupling capacitor 20.
b illustrates the state of the art in filtering using an external filtering capacitor 22 to reduce popping noises. In this embodiment, when the headset amplifier transitions from a power-off state to a power-on state, the VMID amplifier 24 (which provides a voltage reference equal to the power supply divided by 2) is powered-on and the headset amplifier output is shorted to VMID using the CHG switch. The settling time of the output OUT is equal to the settling time of VMID, which is dependant on the settling time of the RC-filter (R1C1). The CHG switch is disabled, and the headset amplifier is then turned on.
For the power-off phase, the headset amplifier is turned off and the DCHG switch shorts the output pin of the output amplifier (OUT) to ground. In this case, the settling time depends on the settling time of the AC-coupling capacitance C2.
This solution has several problems. While the DSP 10, digital filter 12, DAC 14 and headset amplifier are generally formed on a single integrated circuit, the filtering capacitor 22 is an external component on the order of 4.7 μF, which is too large to place on the integrated circuit. Accordingly, a design such as that shown in
While the cost of the capacitor 22 and extra pin is small for a single device, given the large number of devices generally produced, the overall cost can be significant to the manufacturer.
Accordingly, a need has arisen for a fully integrated solution to eliminate popping noises.
In the present invention, an amplifier provides amplified signals to a speaker through an AC coupling capacitor. The output amplifying stages include a first amplifying stage with a low gain and a second amplifying stage with higher gain than the first amplifying stage. Power control circuitry selectively applies and removes power to the amplifier. The AC coupling capacitor is charged with the first amplifying stage when power is applied, and the second amplifying stage is enabled to amplify signals after the AC coupling capacitor is charged to a desired state.
The present invention effectively prevents popping noises due to power-up of the amplifying circuitry, without using an external filter. Therefore, the amplifier can be completely integrated on an integrated circuit.
For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
a illustrates a general diagram of a receiving (RX) voice channel in a headset amplifier;
b illustrate a prior art structure for filtering popping noises from the channel of
a illustrates a circuit view of a headset amplifier according to the preferred embodiment of the present invention;
b illustrates a timing diagram showing the operation of the switches of
c illustrates a graph of the voltage at the OUT node for the headset amplifier of
The present invention is best understood in relation to
The following description of the operation of the amplifier 30 applies to both the PMOS1 and NMOS1 sides of the output stage 32; for simplicity, only the PMOS1 side is described in detail.
The output transistor PMOS1 works as a transconductance amplifier and generates ΔIout, which charges the AC coupling capacitor 20. Thus, we get:
ΔIout=gm·ΔVin, where gm is the transconductance of the transistor PMOS1 (respectively NMOS1).
Thus, ΔIout charges the AC coupling capacitance c as follows:
Consequently, a large variation in ΔIout will cause a correspondent quick and large voltage step on Uout
The high-frequency voltage variation on Uspeaker, due to the variation on ΔVin causes the so-called “pop noise”. Thus, pop noise is affected by three parameters: (1) the transconductance value of the output of the PMOS and NMOS transistors, (2) the value of the AC coupling capacitance, and (3) the voltage variation ΔVin due to the power-on or power-off phase.
In the preferred embodiment described below, pop noise is prevented from occurring in the headset amplifier 30 during power-up and power-down, rather than filtering out the noise just prior to the speaker. During a power-up phase (as the power is being applied to the headset amplifier 30), gm is reduced during the critical phase. During a power-down phase (as power is removed from the headset amplifier 30), the slope of ΔVin is reduced.
In operation, switches S3 and S4 are controlled by an on-chip finite state machine (FSM) 59. As used herein, a “switch” is circuitry that can be controlled to allow or inhibit current flow; typically, the switches are implemented using one or more MOS transistors having gate driving responsive to a control signal from the FSM 59. In the “reset” phase, the core amplifier is powered-down. In a “charge” phase, only the low drive output stage 54 is used to amplify the signal from the core amplifier 32. The low drive output stage 54 has low gain and low gm. The low drive output stage 54 progressively charges the AC coupling capacitor 20. The third phase is the “voice communication” phase. Once the amplifier output reaches the VOCM (common mode voltage, typically equal to AVDD/2) value, the main output stage 56 is connected using switches S3 in order to provide the full gain performance for the voice or audio application. During this time, the sample-and-hold circuit 58 is charged to VOCM. Once-the voice or audio stops, and the power is removed from the circuit, the “discharge” phase begins. During the discharge phase, the sample-and-hold circuit 58 drives the output of the main output stage (shown in greater detail in connection with
Accordingly, upon power-up, the split output stage 50 provides a low gm amplifier to drive the output to VOCM, which eliminates the popping noise by keeping ΔIout=gm·ΔVin low. Upon power-down, the sample-and-hold circuit 58 effectively keeps ΔVin ≈0, as described in greater detail below.
a and 5b illustrate a schematic representation of the headset amplifier 50 and corresponding timing diagram, showing the low drive output stage 54 and main output stage 56 in greater detail. The low drive output stage 54 includes p-channel transistor PMOS1 and n-channel transistor NMOS1. PMOS1 has a first source/drain coupled to supply voltage AVDD and second source/drain coupled to a first source drain of NMOS1. The second source/drain of NMOS1 is coupled to ground. Preferably, a feedback circuit 60 including capacitor 61 and resistor 62 is coupled to the node 64 between PMOS1 and NMOS1 and the gate of PMOS1 through a switch controlled by signal SPF (series-parallel feedback). The gates of PMOS1 and NMOS 1 are driven by the differential outputs of core amplifier 30. The gate of PMOS1 is selectively coupled to AVDD by a switch controlled by signal 1st_stage and the gate of NMOS2 is selectively coupled to ground by a switch controlled by signal 1st_stage. The main output stage 56 includes p-channel transistor PMOS2 and n-channel transistor NMOS2. PMOS2 has a first source/drain coupled to supply voltage AVDD and second source/drain coupled to a first source drain of NMOS2. The second source/drain of NMOS2 is coupled to ground. The gates of PMOS2 and NMOS2 are selectively driven by the outputs of core amplifier 30 as enabled by switches controlled by signal 2nd_stage. The gate of PMOS2 is selectively coupled to AVDD by a switch controlled by an inverted 2nd_stage signal. Node OUT is the output of the headset amplifier 50. OUT is coupled to the second source/drain of PMOS1, the second source/drain of PMOS2, the first source/drain of NMOS1 and the first source/drain of NMOS2; The gate of NMOS2 is selectively coupled to ground by a switch controlled by a Reset signal. Sample-and-hold circuit 58 has a sample input coupled to the gate of NMOS2 and a hold output selectively coupled to the gate of NMOS2 via a switch controlled by signal S/H.
b illustrates a timing diagram showing the operation of the switches of
Once OUT reaches VOCM, the main output stage 56 is coupled to the output of core amplifier 30 by control signal 2nd_stage. At this point, both the low drive output stage 54 and the main output stage 56 are amplifying the signal from the core amplifier 30 at node OUT.
c illustrates a graph of the voltage at the OUT node. After the reset period, the voltage gradually increases at OUT during the charge period until VOCM is reached. Thereafter, both the low drive output stage 54 and main output stage 56 are used to amplify the voice (or audio) signal. At the end of the voice signal, as power is removed from the amplifier 50, the sample-and-hold circuit 58 causes a gradual decrease in the voltage at OUT. Accordingly, no spikes are created at OUT, and no filtering is necessary.
In operation, transistors 70 and 72 act as a resistive switch under control of SPF. When SPF is high, feedback of the OUT signal to the gate of PMOS1 is enabled, thereby reducing the gain of PMOS1. Preferably the transistors 70 and 72 have a small width and a long length to provide a high resistive switch.
The resistive switch circuit of
In operation, during the charge and voice communication stages, the sample-and-hold circuit 58 is in sample mode. During this time, S1 is closed, S2 is open and the hold capacitor, CH, is charged to VOCM by the input operational amplifier 80.
At the end of the voice communication stage, the sample-and-hold circuit 58 is in hold mode. During this time, S1 is open, S2 is closed and the voltage across hold capacitor CH is applied to the gate of NMOS2 through the output operational amplifier 82, switch S2, and load resistor RL. The hold capacitor CH thus keeps NMOS2 in a conducting state to discharge the AC coupling capacitor 20. Since the output operation amplifier 82 has a CMOS input stage, its input current is very low. This assures a low voltage drop rate during hold mode.
In the preferred embodiment, an adaptive biasing scheme is used to reduce power to the operational amplifiers 80 and 82. Each operational amplifier is biased with two bias sources, BiasH (high bias) and BiasL (low bias). When either operational amplifier is driving a capacitor (i.e., when the input operational amplifier is charging the hold capacitor CH or when the output operational, amplifier is driving the load capacitor CL), the core of the operational amplifier 80 or 82 is biased with a high current (BiasH). Otherwise, when the operational amplifier is in an idle state, it is biased with a low current (BiasL). Thus, in sample mode, the input operational amplifier 80 is biased with BiasH and the output operational amplifier 82 is biased with BiasL. Similarly, in hold mode, the output operational amplifier 82 is biased with BiasH and the input operational amplifier 80 is biased with BiasL.
This approach significantly reduces the average power consumption of the sample-and-hold circuit 58. With typical bias currents of BiasH=60 μA and BiasL=10 μA, the average current consumption of the operational amplifiers is 35 μA. Further, since one operational amplifier will use a high bias while the other uses a low bias, the solution does not introduce any significant bump in the related power supply, which could induce unwanted tones in the output of the headset amplifiers and therefore on the speaker.
The switch S2 and load resistor RL is preferably implemented as a resistive switch using a MOS transistor to save area. The value of the resistor is in the order of tens of kΩ. If the value of RL is too high, the RC time constant will be too high compared to the operation frequency of the sample-and-hold circuit and the hold voltage provided at the NMOS2 gate during the discharge phase will deviate from the sample voltage, causing a discontinuity on the gate voltage at the transition of the S/H signal (see
On the other hand, if RL is close to zero, the charge feed-through (toward the output stage of the headset amplifier) increases. In fact, the output resistor RL limits the charge injection in this direction since it increases the output impedance at high frequencies of the equivalent output load (RL+1/sCL).
Accordingly, the characteristics of the discharge through NMOS2 can be controlled by the values provided for CH and RL. This allows the designer to effect the discharge within given time constraints while avoiding too fast a discharge or sampling errors, which would cause popping noises.
A second implementation for the charge-and-hold circuit 58, using a single operational amplifier 90, is shown in
The sample-and-hold circuit implementation of
The headset amplifier shown above provides significant advantages over the prior art. By providing a low-gm amplifier, spikes are avoided during the power-on phase. A series-parallel feedback is used in order to reduce the gain of the PMOS1 transistor during the charge phase and to reduce the residual spike due to the direct connection of the gate of the PMOS1 transistor to the power-down transistor (the transistor used as the 1st_stage switch). At power down, a sample-and-hold circuit keeps the VGS of the NMOS2 transistor constant to discharge the AC-coupling capacitor.
Although the Detailed Description of the invention has been directed to certain exemplary embodiments, various modifications of these embodiments, as well as alternative embodiments, will be suggested to those skilled in the art. The invention encompasses any modifications or alternative embodiments that fall within the scope of the Claims.
Number | Date | Country | Kind |
---|---|---|---|
05290244.2 | Feb 2005 | EP | regional |