I have a 0-5 volt variable frequency sine wave signal source I am trying to convert to +/-2V.

I would like to preserve the frequencies 20Hz-20KHz.

I have a +5 and -5 volt signals I would like to use as power supplies.

How can I level shift this signal down 2.5 volts so that it is centered at 0, and amplify the signal by 0.8 using a dual supply op-amp?

desired output

  • \$\begingroup\$ What kind of OA arrangement (schematics) did you attempt to solve this problem? \$\endgroup\$ Feb 15, 2018 at 2:20
  • \$\begingroup\$ You already posted the same question two weeks ago, electronics.stackexchange.com/q/352787/117785 . Why you are asking this again? \$\endgroup\$ Feb 15, 2018 at 2:24
  • \$\begingroup\$ @AliChen the previous question asked how to solve using a single supply op amp. I want to understand how to solve this using a dual supply op-amp and I don't know enough about op-amps to extrapolate an answer from the other question. \$\endgroup\$
    – circuitry
    Feb 15, 2018 at 2:37
  • \$\begingroup\$ The DAC you were using in the original question has a built in amplifier, it still seems that you are not quite clear on what the correct question is. For reference, the question I think you really want to answer is "How do I drive a line-level audio signal from my DAC". This would prompt better answers that could offer best practice when it comes to audio outputs. \$\endgroup\$
    – loudnoises
    Feb 15, 2018 at 15:26

2 Answers 2


The following schematic gets rid of DC offset with a capacitor. The gain is set for 80%. You may need a 1K trim pot inbetween R1 and R2 if accuracy is important. Don't forget to add bypass capacitors to the power supply pins. A .1 uF with a 10uF in parallel should be good enough. I picked a TL072 because of its low noise.

NOTE: There are also .1% tolerance resistors on the market. Cheaper and much more stable than a trim pot.


simulate this circuit – Schematic created using CircuitLab

  • \$\begingroup\$ this is great, but it doesn't utilize my dual supply. Do you know how I would do this using +/-5 volts rail to rail? Also, here the capacitor alone is what's responsible for shifting the signal down -2.5 volts? \$\endgroup\$
    – circuitry
    Feb 15, 2018 at 13:54
  • \$\begingroup\$ Pins 8 and 4 are your +/- 5 volt supply. You only need one op-amp \$\endgroup\$
    – user105652
    Feb 15, 2018 at 14:13
  • \$\begingroup\$ I updated the schematic to include pin numbers. \$\endgroup\$
    – user105652
    Feb 15, 2018 at 14:38
  • \$\begingroup\$ Thanks @Sparky256! If I used .1% resistors instead of a trim pot would pin 3 just be a 100k resistor in series with a 10 uF capacitor? Is there an equation I can look at for this type of configuration? This is what I'm having the most trouble with.. finding equations for various configurations of op-amps, and then identifying which one I need for the task. Thanks! \$\endgroup\$
    – circuitry
    Feb 15, 2018 at 14:40
  • \$\begingroup\$ is the op amp in this configuration being used as a voltage follower/buffer? \$\endgroup\$
    – circuitry
    Feb 15, 2018 at 14:53

You can very nearly get to +/- 2V centred at 0 volts with just two resistors and the -5 volt rail: -

enter image description here

Vout is +/- 1.6667 V.

So, if you want to avoid a capacitor (works down to DC) use the above and then amplify with a gain of 1.2 i.e. a non-iverting amplifier with 200 ohm feedback resistor and 1 kohm to ground from the inverting pin. If you can rely on your -5 volt rail being stable and fairly noise free I would consider this method.

  • \$\begingroup\$ how would you classify this type of circuit? Dual supply resistor divider network? In your example, is +5 V2 and -5 is V1? \$\endgroup\$
    – circuitry
    Feb 15, 2018 at 14:56
  • \$\begingroup\$ @circuitry V1 is the 5 volt p-p sinewave centred at +2.5 volt. V2 is 5V but with the positive terminal grounded hence the negative terminal produces -5V at the right hand side of R2. It's a potential divider. For such simple questions I might not consider my EE name to be "circuitry" lol. \$\endgroup\$
    – Andy aka
    Feb 15, 2018 at 15:29
  • \$\begingroup\$ yes, that's fair \$\endgroup\$
    – circuitry
    Feb 15, 2018 at 15:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.