Skip to main content
added 35 characters in body
Source Link
Simon Fitch
  • 47.1k
  • 3
  • 25
  • 135

This resistor divider gets you close:

schematic

simulate this circuit – Schematic created using CircuitLab

A sweep of V1 from −10V to +10V outputs 0V to +2.22V:

enter image description here

If you want the full 0V to +2.5V, you'll need some gain \$A\$:

$$ A = \frac{2.5}{2.22} = 1.125 $$

In this next design, the op-amp is configured as a non-inverting amplifier with gain 1.125. The overall response to inputs from −10V to +10V is an output going from 0V to +2.5V:

schematic

simulate this circuit

Sadly, that would require a negative supply for the op-amp, because it cannot get all the way to 0V output without one. If you want to use 0V for the negative supply, you'll have to sacrifice a few tens of millivolts at the bottom end.

schematic

simulate this circuit

Note that I've increased R2 slightly, to raise the minimum potential at X to a little over 0V. Since this also increases maximum potential at X to slightly over 2.22Vthere, I've also had to reduce gain a little. For inputs between -10V and +10V, this last design will output +30mV to +2.5V:

enter image description here

This resistor divider gets you close:

schematic

simulate this circuit – Schematic created using CircuitLab

A sweep of V1 from −10V to +10V outputs 0V to +2.22V:

enter image description here

If you want the full 0V to +2.5V, you'll need some gain \$A\$:

$$ A = \frac{2.5}{2.22} = 1.125 $$

In this next design, the op-amp is configured as a non-inverting amplifier with gain 1.125. The overall response to inputs from −10V to +10V is an output going from 0V to +2.5V:

schematic

simulate this circuit

Sadly, that would require a negative supply for the op-amp, because it cannot get all the way to 0V output without one. If you want to use 0V for the negative supply, you'll have to sacrifice a few tens of millivolts at the bottom end.

schematic

simulate this circuit

Note that I've increased R2 slightly. Since this also increases maximum potential at X to slightly over 2.22V, I've also had to reduce gain a little. For inputs between -10V and +10V, this last design will output +30mV to +2.5V:

enter image description here

This resistor divider gets you close:

schematic

simulate this circuit – Schematic created using CircuitLab

A sweep of V1 from −10V to +10V outputs 0V to +2.22V:

enter image description here

If you want the full 0V to +2.5V, you'll need some gain \$A\$:

$$ A = \frac{2.5}{2.22} = 1.125 $$

In this next design, the op-amp is configured as a non-inverting amplifier with gain 1.125. The overall response to inputs from −10V to +10V is an output going from 0V to +2.5V:

schematic

simulate this circuit

Sadly, that would require a negative supply for the op-amp, because it cannot get all the way to 0V output without one. If you want to use 0V for the negative supply, you'll have to sacrifice a few tens of millivolts at the bottom end.

schematic

simulate this circuit

Note that I've increased R2 slightly, to raise the minimum potential at X to a little over 0V. Since this also increases maximum potential there, I've also had to reduce gain a little. For inputs between -10V and +10V, this last design will output +30mV to +2.5V:

enter image description here

Source Link
Simon Fitch
  • 47.1k
  • 3
  • 25
  • 135

This resistor divider gets you close:

schematic

simulate this circuit – Schematic created using CircuitLab

A sweep of V1 from −10V to +10V outputs 0V to +2.22V:

enter image description here

If you want the full 0V to +2.5V, you'll need some gain \$A\$:

$$ A = \frac{2.5}{2.22} = 1.125 $$

In this next design, the op-amp is configured as a non-inverting amplifier with gain 1.125. The overall response to inputs from −10V to +10V is an output going from 0V to +2.5V:

schematic

simulate this circuit

Sadly, that would require a negative supply for the op-amp, because it cannot get all the way to 0V output without one. If you want to use 0V for the negative supply, you'll have to sacrifice a few tens of millivolts at the bottom end.

schematic

simulate this circuit

Note that I've increased R2 slightly. Since this also increases maximum potential at X to slightly over 2.22V, I've also had to reduce gain a little. For inputs between -10V and +10V, this last design will output +30mV to +2.5V:

enter image description here