Biasing a Non-inverting Amplifier

amplifieroperational-amplifiervoltage

A signal that swings between -1V and +1V must be amplified with a gain of 2 using MCP602 and then biased by +2.5V, so it eventually swings between 0.5V and 4.5V.

The amplifier only connected to 5V, GND and an input of 2.000V gives an output of 4.034V which is OK. However when it's VDD and VSS pins are connected to 5V and the middle of the voltage divider (+2.5V when not connected to opamp), its output becomes 3.611V and the middle of the voltage divider becomes 3.609.

Is the opamp being biased the incorrect way? If not, how can the circuit be changed?

enter image description here


enter image description here

Best Answer

The most easy way to convert a 1V to -1V signal to a 4.5V to 0.5V output signal through a non-inverting gain of 2 amplifier is to AC couple the input signal through a capacitor. To IC1-1 connect the input via the capacitor and +2.5V reference through a 50kOhm. The feedback divider (R3 and R4) gets referenced to +2.5V as drawn. The +2.5 needs to be a relatively low impedance, like from a MCP1525 for example,a resistor divider from +5V won't cut it (can you see why?). Capacitor value needs to be able to pass the lowest frequency of the signal while not being loaded down by the 50kOhm. And, as tcrosley says IC1-5 goes to +5V and IC1-3 goes to ground.

Edit

Here is a schematic to help illustrate:

enter image description here

R5 is there to give a DC offset to Vin, so that on the amplifier side of things Vin will be centered around 2.5V (1.5V to 2.5V instead of -1V to 1V). Now instead of ground being the reference voltage it is +2.5V and the difference between Vin(offset) and Vref gets amplified by 2. 50kOhm is chosen for R5 to be equivalent to R3||R4. This balances amplifier input bias currents (although since bias currents here are in the pA it isn't critical).

Gain of the amp is set by the ratio of R4/R3 (plus 1 if the reference is ground), so having the +2.5V reference from a 33kOhm divider (effectively ~16kOhm) adds resistance to R3 causing gain error. Also using a high impedance reference means that the DC offset of Vin wouldn't work right. Whatever the impedance of the reference voltage, it must be unaffected by currents through R3.

A generalized expression for Vout would be:

\$\frac{\text{R3} \text{Vin}+\text{R4} \text{Vin}-\text{R4} \text{Vref}}{\text{R3}}\$

You can see that if Vref is zero (ground) that this is just the usual non-inverting gain. And you can also see that if Vin operates about +2.5V as offset across the capacitor that the output would be between 0.5V and 4.5V.

Finally for the offset cap to work, it's impedance must be much less than 50 kOhm (really more like 500 Ohm) at the lowest frequency of interest. You say that is 60 Hz, so set the impedance of the capacitance to be no greater than 500 Ohm at 60 Hz (it will be about 5uF, which is a lot).

For more information about OpAmp analysis and use, a good reference is "OpAmps for Everyone". This reference covers Thevenin's equivalent circuits and why it makes sense to talk about R3||R4 for equivalent impedance into the OpAmp inverting input in section 2.5.