Virtual Ground Circuits
Virtual Ground Circuits
Two Batteries
The simplest way to solve the problem of needing a dual supply when using batteries is to simply use two batteries in this configuration:
The problem with this is that if one battery drains faster than the other such that one gets down to about 1 V or lower before the other gets low, the DC offset at the output will begin to rise. (Ive tested this with several different op-amps. Its possible some designs wont have this problem.) Batteries can drain unevenly for a number of reasons. Perhaps you put your batteries in a drawer after buying them and pull them out randomly and draw an old one and a new one. Perhaps youre using rechargeables, and one or more cells is dying. Perhaps youre just unlucky today. To be fair, before this happens you will get a warning: the amp will start sounding bad for other reasons. It will probably audibly clip the music well before this danger point due to insufficient supply voltage, and it may also be current-starved due to battery exhaustion. So, the most likely way this problem will occur is if you leave a batterypowered headphone amp on for an extended period without music, or without
www.tangentsoft.net/elec/vgrounds.html 1/11
6/9/13
listening to the music that is playing. Ever fall asleep while listening to headphones? If you dont turn the amp off before you get to this danger point, the resulting high DC offset is likely to damage your headphones. So, we try various virtual ground schemes to let us use a single battery and still have a dual supply.
Resistor Divider
The CMoy pocket amplifier power supply is a resistor divider type virtual ground supply:
The two 4.7k resistors create a virtual ground. Lets say theres 12V across this circuit. The resistors are an 0.5 resistive divider: there is 6V at the midpoint of the divider. The distance between the midpoint of the divider and the negative side of the power supply is -6V and the distance to the positive side of the power supply is +6V. Voil, two equal but opposite voltages from a single power supply! Unfortunately, this simple configuration is prone to becoming unbalanced. To see why, consider this schematic, a CMoy pocket amplifier driving headphones, drawn from the DC perspective:
www.tangentsoft.net/elec/vgrounds.html
2/11
6/9/13
The 1 mV battery (Vos) simulates the op-amps input offset voltage. This is a reasonable value for an OPA132, though it does vary between chips in practice. This offset forces 1 mV across R3. Because op-amps always force their input voltages to be equal, this in turn forces 10mV across R4. As you can see, this puts 11 mV of DC across the load. If the load is 32 at DC (such as a pair of Grado SR-60s), 0.34mA is forced through the load. This current can only come from the rail splitter, which looks like two parallel resistors to the load. Ohms law tells us that since the current is 0.34mA and the resistance is 2.35 k (two 4.7k resistors in parallel), the voltage at the midpoint of the divider is forced ~0.8V away from the ideal midpoint. In this particular situation, then, a 9V battery would split to about +3.7V and -5.3V instead of the ideal 4.5 V. Different op-amps, headphones, and resistor values will give a different split. Therefore, it is best to simply realize that this offset will be significant with low-impedance loads, and it will increase as the load impedance goes down, rather than calculating offset and trying to counteract it somehow.
6/9/13
minimum distance. The OPA132, for example, needs approximately 3V of distance between the power rails and the output with relatively low-impedance loads like headphones. Lets say were using a 9V battery, and under load our virtual ground circuit splits that unevenly to +4V and -5 V. Lets also say our output signals peaks are 1 V from ground. Add in the 3V of headroom needed by the op-amp, and were right at the clipping point on the V+ rail. Since our power supply is a battery, its voltage will drop over time, so well get very little run time before it starts clipping.
www.tangentsoft.net/elec/vgrounds.html
4/11
6/9/13
The first schematic shows the simple 3-pin package, and the second shows the circuit for the 8-pin versions which have a noise reduction pin. The latter has slightly better performance. Notice that there is just one capacitor across the battery instead of a cap between each rail and virtual ground as in the resistor divider supply. In the resistor divider circuit, two capacitors are absolutely necessary to the success of the circuit. Below, I will talk about the advantages of using two caps like this in an active virtual ground circuit, as well as the disadvantages. For now, assume that its better to have just one before the active rail splitter. The main problem with the TLE2426 is that it can only handle 20-40 mA of current, depending on conditions. If your load draws more than that, a TLE2426-based power supply will become unbalanced. For higher-load situations, you can try a buffer-based power supply instead:
This is similar to the circuit inside a TLE2426. By making a rail splitter out of parts, we can get higher output current. Notice that the resistor values are much higher than in the simple CMoy power supply. By adding the buffer, we dont need low divider
www.tangentsoft.net/elec/vgrounds.html 5/11
6/9/13
resistors to keep offset under control. Because the resistor values are so high, the quiescent current of the circuit is dominated by the quiescent current of the buffer alone; the divider contributes negligible current draw. The high resistor values work as long as the power draw on this circuit is evenly balanced, as it is in a simple headphone amp. If you have an unbalanced draw, the divider is likely to become unbalanced. In that case, you can replace the divider with a TLE2426. Another virtue of the TLE2426 over resistors is that it takes less space, and you dont need to do resistor matching to get high accuracy. Thats how we did the virtual ground in the META42 amp. Ive used Burr-Browns BUF634 here. It can handle up to 150 mA in the DIP-8 package, and in the larger metal-based packages it can source up to 250 mA, with appropriate heat sinking. There are many other open-loop buffers on the market that will give similar performance in this circuit. The disadvantages relative to the lone TLE2426 are that its more complicated, it costs more, it has higher output impedance, and it has a higher quiescent current draw (~1.5 mA vs. ~0.3 mA). If you cant get a TLE2426 and you dont want to mail order one, this is a closer substitute than the above circuit:
You can use a cheap generic op-amp such as the ubiquitous A741 here. Its acting like a buffer, just as in the previous circuit. The major difference is that it has lower output current than the buffer, but unlike an open-loop buffer it has feedback so it has low output impedance. Low output impedance has many salutary effects on the circuit; in a heapdhone amp, the biggest is lower crosstalk. The 1 k resistor in the feedback loop is arguably optional. Its purpose is to keep the op-amp stable in the face of heavy capacitive loads, such as bypass capacitors in the circuit being powered. If you use a cheap generic op-amp, this circuits performance is no better than for a
www.tangentsoft.net/elec/vgrounds.html 6/11
6/9/13
TLE2426 and it takes more board space, so you should only do that when you cant get a TLE2426. But, if you use a better op-amp, you can get better performance than a TLE2426. The main spec to look for here is high output current. More-or-less dropin replacements with higher than average output current are the LMH6642 and the AD817. The highest output current op-amps tend to be current feedback types. These require a bit more care in application than the common voltage feedback type. Consider this circuit, which can put out 250 mA:
C2 is the compensation capacitor, and R3 is there to reduce supply current a bit as explained in the datasheet in the section on the shutdown feature. If you need even more than 250 mA, the LT1206s big brother, the LT1210, works in a very similar circuit. Other manufacturers make similar high-current CFB chips that can work here, but read their datasheets before making circuits for them: CFB opamps generally wont drop into an existing circuit without changes. Another option is to make a buffer from generic discrete components. This simple design comes from miniaturization guru Sijosae:
www.tangentsoft.net/elec/vgrounds.html
7/11
6/9/13
The transistors can be most any complementary pair of small-signal transistors. Suitable alternatives are the PN2222A and PN2907A. The diodes are generic small-signal types. An acceptable alternative is the 1N914. This circuit has better performance than a simple resistive divider virtual ground, and the parts cost is lower than for any other circuit mentioned here. It is, however, the least accurate of the buffered virtual ground circuits.
www.tangentsoft.net/elec/vgrounds.html
8/11
6/9/13
By wrapping a buffer in an op-amps feedback loop, you get the higher current ability of the buffer plus the high accuracy afforded by feedback. The value of the resistor between the buffer and op-amp may need to vary in your circuit. If youre getting peaking at high frequency or even instability, you need to raise its value, to perhaps 1 k. Similarly, the compensation capactior CC might need to be increased if youre having instability problems; it probably shouldnt go much higher than 100pF. You can replace the resistor divider with a TLE2426 to get some of the benefits described above. Then its just one small step from there to the ground channel concept used by the PIMETA and PPA amplifiers:
The ground channel concept works best when you have many small ground currents and one big one. In a headphone amp, the circuit has several resistors and such going to ground, but virtually all of the dynamic current to ground is the return current
www.tangentsoft.net/elec/vgrounds.html 9/11
6/9/13
from the headphones. The buffered op-amp handles the big currents (OGND), and the TLE2426 sets the input of the big driver and handles all the small currents (VGND). For audio, I prefer to use the same op-amp and buffer in the virtual ground as I do in the audio driver circuits. For instance, if the audio channels use an AD8610 op-amp and a HA3-5002 buffer, I will usually use those parts for the virtual ground driver as well. This gives the most symmetric performance since the virtual ground driver and the headphone driver circuits effectively sit across the load from each other.
6/9/13
capacitive loads, however. They become less stable when driving a capacitive load. Study the datasheets for the ICs you will be using. Unless they specifically tout the fact that they can drive large capacitive loads, beware of using them in virtual ground circuits. Dont forget to consider the system bypass caps, if they go from each rail to virtual ground: there are many chips out there that will become unstable with less than a nanofarad of capacitance on their output, and the bypass capacitors will count against this. Ultimately, you will have to build real circuits and test them before you know whether a given chip can cope with the capacitive load in your setup. Theres one more problem with putting caps on the output of the virtual ground circuit: it wastes capacitance. In a very real sense, two caps across the output of a virtual ground circuit are in series, so the total capacitance is cut in half. Also, you require one capacitor in front of the rail splitter, but two after it. This means putting the rail capacitance in front of the splitter is actually four times as efficient: you can have twice the effective capacitance in half the board area, or four times the capacitance in the same board area.
www.tangentsoft.net/elec/vgrounds.html
11/11