Gas station without pumps

2013 July 21

Virtual ground circuits

Filed under: Circuits course — gasstationwithoutpumps @ 15:55
Tags:

To use single-supply op amps properly, one usually needs to create a “virtual ground” or “bias voltage” between the two power-supply rails.  I have used 3 different circuits for these virtual grounds:

Three different virtual ground circuits I've used.

Three different virtual ground circuits I’ve used.

The circuit on the upper left is the one that I’ve been teaching in the Applied Circuits course, because it uses some of the thematic elements of the course: the voltage divider and the unity-gain buffer. The output is half the power supply voltage and tracks it well. It works well for most of the circuits they do, but has one major problem: any noise on the power-supply line is coupled into the virtual ground. Given that they could be powering their circuits off an Arduino powered from a USB port on a computer, the “5v” power can be very noisy indeed. (See, for example, the glitches observed in capacitor charging).  The unity-gain buffer limits the current from the virtual ground to about ±20mA.

The circuit on the upper right again uses a unity-gain buffer, but uses a TL431ILP  “adjustable shunt regulator” (drawn here as an adjustable zener diode).  This circuit provides a 2.5v output, as long as the power-supply voltage is high enough. The TL431ILP needs 1mA of current to get good regulation, hence the 2.5kΩ pullup resistor.  A somewhat smaller resistor would be safer, as the regulator would then have sufficient current even if the power supply voltage dropped a lot.  I usually use about a 1kΩ resistor, wasting a couple of mA to get good 2.5v output even when the input drops to 3.5v.  Without the unity-gain buffer, the shunt regulator should be able to sink about –100mA, but its source capability would limited (maybe 1.5mA with a 1kΩ pullup). We could get a balanced ±50mA capability with a 51Ω pullup, but there would be a 49mA current through the shunt regulator with no output current, resulting in 123mW of wasted power.

The bottom circuit uses a low-drop-out linear voltage regulator that can source +100mA.  This circuit is limited to sinking about –2.6mA, though, as the only path to ground is through the pair of feedback resistors, and the LDO feedback would cease to provide proper regulation once the output is pulled above the desired output voltage.  Smaller feedback resistors could be used to sink more current, at the cost of having a large current through the feedback resistors.  For example, we could get a balanced ±50mA supply by reducing the resistors to 27Ω each, but there would be a 50mA current through the feedback resistors with no output current (wasting about 116mW of power).

I don’t know of any off-the-shelf chip that provides a good voltage reference that can both source and sink significant current without wasting power in resistors.

Either the LDO or the shunt regulator costs about 40¢ (single-part costs for through-hole parts), so they are expensive parts to add to a design if not needed, but either will provide good noise immunity.

2 Comments »

  1. You might look into a referenced Howland circuit for balanced source/sink capabilities. You see them used in bio-impedance systems to source/sink accurate amounts of current. That requirement when combined with the AD5933(which a number of those systems use)which has a hard VDD/2 bias on it’s input should give you a couple of ideas.

    Comment by GB Clark — 2019 October 2 @ 12:44 | Reply

    • I looked quickly at “balanced Howland circuit” and it seems to be a current reference, rather than a voltage reference. More accurately, it seems to be a transconductance amplifier. With current output proportional to voltage input. That’s a useful circuit, but different from what is discussed here.

      Incidentally, what I have here is not good design—the capacitor for the unity-gain buffers should be on the input, not the output, of the amplifier.

      Comment by gasstationwithoutpumps — 2019 October 2 @ 17:42 | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: