op amp question

Thread Starter

tpny

Joined May 6, 2012
220
why does this pull my Vin to ground at the inverting input (Vin = 1V, voltmeter reading at inverting input = 0V).

Rich (BB code):
        ------------------
        |      |\         |
        |      | \        |
Vin --+-----|- \       |
              |    \----+
              |    /
         -----|+ /
         |    | /
         |    |/
       gnd
but this doesn't (Vin = 1V, voltmeter reading at inverting input = 1V).
Rich (BB code):
                        1k
                 -------/\/\/\-----
                 |                 |
                 |      |\         |
        1k      |      | \        |
Vin ---/\/\/\--+------|- \       |
                        |    \----+
                        |    / 
                  ------|+ /
                  |     | /
                  |     |/
                gnd
 

Audioguru

Joined Dec 20, 2007
11,248
The 1st opamp is a follower. Its input is the (+) input of the opamp, not the (-) input which connects to the output of the opamp.
Its output voltage is exactly the same as its (+) input voltage.

The 2nd opamp is an inverter. If the input is +1V then the output is -1V. If the input is -1V then the output is +1V.

The resistor values in the 2nd circuit are too low at only 1k ohms. Use 10k or 100k ohms instead.
 

Thread Starter

tpny

Joined May 6, 2012
220
ok thanks!

1. So for the follower, I don't need a ground reference anywhere? (inverting input tied to output, Vin tied to noninverting input..)

2. For the inverter, why is 1k too small? (My Vin is a sensor signal with output range 0~1V and internal impedance is about 7 ohms.) I chose 1k because I was trying to achieve higher snr (to prevent noise getting amplified too, output of this inverter is then fed to 2nd inverter with gain of 5).
 

Audioguru

Joined Dec 20, 2007
11,248
1. So for the follower, I don't need a ground reference anywhere? (inverting input tied to output, Vin tied to noninverting input..)
Correct but the middle of the positive and negative power supply is ground.

2. For the inverter, why is 1k too small? (My Vin is a sensor signal with output range 0~1V and internal impedance is about 7 ohms.) I chose 1k because I was trying to achieve higher snr (to prevent noise getting amplified too, output of this inverter is then fed to 2nd inverter with gain of 5).
If the input voltage is 15V then the output current of the opamp in the feedback resistor is trying to be 15mA PLUS load current. Most opamps cannot deliver an output current so high.

But now you say your input voltage is only 1V then the current is only 1mA which is fine.
 

Thread Starter

tpny

Joined May 6, 2012
220
OK I see. Thanks!

In preparation for adc input:

1. A sensor has 1V signal and I need 5x amplification, is it better to use 2 inverters (with gains of 1 and 5) or 1 non-inverter (with gain of 5)?

2. A differnt sensor has a 5V signal and I don't need amplification, can I (a) tie it straight to adc input, (b) feed it thru 1 follower, or (c) feed it thru 2 unity gain inverters
 

Audioguru

Joined Dec 20, 2007
11,248
A single non-inverting opamp can easily have a gain of 5.
The 5V sensor can feed directly into the 5V ADC if its output never goes higher than 5V.

The low impedance sensor might damage the input of the opamp or ADC if the opamp or ADC has its power supply turned off but the sensor has voltage.
 

Thread Starter

tpny

Joined May 6, 2012
220
Do you mean if there is no resistor in front of an opamp input, the current entering into the opamp is not limited, thusly there might be damage?

What about opamp inputs being high impedance by definition, would that limit the incoming current irrespective of the resistor size in front of it?
 

Audioguru

Joined Dec 20, 2007
11,248
Simply read the absolute maximum allowed input voltage of the opamp you are using on its datasheet. Most opamps have it as its power supply voltage so if its power supply is turned off then it should not have an input signal level greater than zero.
 

Attachments

Thread Starter

tpny

Joined May 6, 2012
220
given the choice of putting a resistor between Vin and opamp input and direct feed, is it always better to use direct feed?

More specifically does adding a resistor create more noise (noise converted to voltage by resistor), lower input impedance (resistor size becomes new impedance)?

In that case a follower is always better than 2 unity gain inverting opamps in sequence? Thank you!
 

Audioguru

Joined Dec 20, 2007
11,248
Yes, the resistors in an inverting opamp circuit add noise from the resistors.
A follower does not have those noisy resistors.

Metal film resistors produce less noise than carbon film resistors.
 
Top