1

I tried to scale the signal by 3 times with Av=1+R2/R1. but how do I shift it up by 1v? for example: a 0.2/2V VIN into 0.6/6V and shift it up by 1v to 1.6/7v? I managed to scale it but I don't know how to shift the Vout signal.

3 Answers3

4

Do you have a negative voltage available? If so, shift R1 input by -0.5V. This will translate to the output as:

  • Vout = (inverting input * -R2/R1) + (non-inverting input * (1 + R2/R1) )

Example:

enter image description here

More generally, if you treat your amplifier as a differential you have options to inject voltage on the (+) or (-) side to achieve the offset you want.

More about differential amplifiers here: https://www.electronics-tutorials.ws/opamp/opamp_5.html

This version works on the (+) side so doesn't need any negative voltage. enter image description here

Notice the inverting gain is adjusted to be 5, for a total non-inverting gain of 6. This is because the input is attenuated by 50% (Why? Look into how a voltage summer works), so we have a net non-inverting gain of 3.

Finally, 0.3333V (1/3 of 1V) is a weird voltage. You can work out a Thevenin equivalent for it using a voltage divider and achieve the same thing (that is, 1/3V in series with 1k.)

hacktastical
  • 49,832
  • 2
  • 47
  • 138
0

Vin+ controls offset. Vin- controls offset and gain.

If you split Rin=R1 into two resistors such that Thevenin Req is the same value but Veq = Voutput offset/Av then you achieve this with one Op Amp.

Do for Av-=-2 you need a Vin- offset of -0.5V or you could do the same with Vin+ .

Attenuate with pullup to attenuate and add offset so get overall ( 1+|Av-|) Vin * R3/(R3+R4) = 3Vin+1V.

That assumes you can use Vcc to get an accurate offset then amplify that + input signal to get desired transfer function.

enter image description here

Tap the switch, observe Vpp gain of 3

Tony Stewart EE75
  • 1
  • 3
  • 54
  • 182
-1

You can use a second op-amp, a negative voltage reference or require the input impedance to be low and capable of sinking some current.

Spehro Pefhany
  • 376,485
  • 21
  • 320
  • 842