Electronic – Omp Amp Design for shifting a voltage range

dacoperational-amplifier

My DAC can only output voltages between 0-5 V and I want to linearly shift the range to -2.5 to 2.5 V. For example, a 2.5 input would (ideally) lead to a zero volt output. Likewise, a 5 V input would lead to a 2.5 V output. What circuit would be ideal for this? Thanks in advance!

Best Answer

The simplest way is to reverse your 0V-5V to 5V-0V in firmware and use a subtracting circuit:

schematic

simulate this circuit – Schematic created using CircuitLab

Optionally, add another inverting amplifier afterward to get -2.5V to +2.5V for 0-5V in.

The reference and resistor accuracy, and op-amp type will depend on your required precision. The op-amps will require a dual supply such as +/-5V, of course.