Author Topic: Single supply op amp to have a bias of VCC/2 to get max output swing?  (Read 3413 times)

0 Members and 1 Guest are viewing this topic.

Offline czk9527Topic starter

  • Contributor
  • Posts: 13
  • Country: au
Hey guys,

I was building a differential amplifier using LM324, with a single supply of 5V. The circuit diagram is attached. The resistor are 2.7k ohms(I know I should use high resistance, but I only have 2.7k ohms 0.1% resistors), so it's unity gain.

When I applied two DC inputs with a voltage difference of less than around 0.7V, the output could NOT go below 0.7V. It had no problems if the voltage difference is larger than 0.7V. I tried to increased the power supply to 10V, still no luck. Then I tried to switch it to dual supply, the problem's gone.

So I did some research about it and came across one of the Texas Instruments Application Report. It says "Since this circuit has a single supply voltage (5 V), the op amp must have a bias of VCC/2 to get the maximum voltage swing at the output. "(the page is attached). I don't really understand what that means. It looks like it's got something to do with my problem. Would it because I didn't have this Vcc/2 bias?

Can someone explain this to me, please?

Thanks in advance
 
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4228
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: Single supply op amp to have a bias of VCC/2 to get max output swing?
« Reply #1 on: April 27, 2016, 12:19:25 pm »
The output voltage of an op-amp can't ever go below its ground, or up beyond its positive supply rail. In many cases, the output can't even get near the supply rails, due to functional limitations of the op-amp's design.

Your circuit is a classic instrumentation amplifier design, for which the output voltage is equal to some constant * (V2-V1).

This is fine provided V2 is significantly greater than V1, because the output voltage of the final op-amp is well above ground.

However, if V2 is close to V1, or more negative than V1, then the final op-amp output goes outside its usable range.

In single supply applications we overcome this by biasing signals about some point which isn't ground; typically VCC/2 is used because this allows the maximum possible swing in either direction before hitting the supply rails.

In the case of the instrumentation amplifier, this can be easily achieved by substituting the bottom right resistor R for a pair of resistors, each of value 2R. One of these connects to GND as shown, and the other connects to VCC. These two resistors are equivalent to a single resistor of value R, connected to a point at VCC/2.

If we had a constant voltage supply equal to VCC/2 available, then we could simply connect the single resistor R to this point instead of to ground, but we don't - hence the need for two resistors as an equivalent circuit.

Once you've made this modification, the output should equal VCC/2 for V1=V2, and can move either way depending on the inputs.

You'll still be limited by how close to VCC and GND the LM324 can get. If you need a greater output swing, swap the LM324 for a better op-amp with "rail-to-rail" outputs.
 
The following users thanked this post: EntropyWizard, czk9527

Online Andy Watson

  • Super Contributor
  • ***
  • Posts: 2085
Re: Single supply op amp to have a bias of VCC/2 to get max output swing?
« Reply #2 on: April 27, 2016, 12:25:06 pm »
Check the datasheet - in particular look at the output arrangement. The output can only actively pull down to one transistor Vce sat. plus Veb above the negative supply rail (VEE). The output voltage will go lower but it is only pulled down by a constant current source (50\$\mu\$A IIRC).
 
The following users thanked this post: czk9527

Offline czk9527Topic starter

  • Contributor
  • Posts: 13
  • Country: au
Re: Single supply op amp to have a bias of VCC/2 to get max output swing?
« Reply #3 on: April 27, 2016, 12:43:21 pm »
Thank you both AndyC and Andy W. You guys really informative :)
 

Offline Lee Leduc

  • Regular Contributor
  • *
  • Posts: 84
  • Country: us
Re: Single supply op amp to have a bias of VCC/2 to get max output swing?
« Reply #4 on: April 27, 2016, 02:50:20 pm »
Op Amps for Everyone, 2002 edition is still available free online. Later editions apparently are no longer free. It has a good section about designing single supply op amp circuits. I originally got my copy from TI as a free download.

Googled "op amps for everyone pdf download 2002" and this was the first site Referenced to TI.

https://www.google.com/search?q=op+amps+for+everyone+pdf+download+2002&ie=utf-8&oe=utf-8

or

http://forum.allaboutcircuits.com/attachments/slod006b-op-amps-for-everyone-pdf.75480/
 
The following users thanked this post: czk9527

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: Single supply op amp to have a bias of VCC/2 to get max output swing?
« Reply #5 on: April 27, 2016, 03:25:33 pm »
Resistor matching, even Aol matching is everything in getting good CMR out
of an IA.


https://www.dropbox.com/s/plck7e95v7pw33c/CMR%20Analysis%20IA.pdf?dl=0


Attached a labview run looking at Aol effects.

In general a laser trimmed IA from someone like Analog Devices is the way to go
if you need stable high performance CMR, IA configuration.

Regards, Dana.
« Last Edit: April 27, 2016, 03:41:29 pm by danadak »
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 
The following users thanked this post: czk9527


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf