Non-inverting amplifier with offset: ±10 V into a 0 to 3.3 V ADC on E24, 14.4 mV off

A ±10 V signal into a 0 to 3.3 V ADC is Vout = 0.165·Vin + 1.65 V. On a 1.8 V reference that is a non-inverting amplifier with the offset summed into the + input: R1 5.1 kΩ from the signal and R2 910 Ω from the reference, RF 820 Ω and RG 10 kΩ for the gain, all on E24. With an ideal op-amp it reads 0.0144 V at −10 V and 3.291 V at +10 V, 14.4 mV and −9.0 mV off.

With 1% resistors and a 0.1% reference the low corner at −10 V is −20.3 mV, below the ADC's 0 V, and the high corner at +10 V is 3.321 V. Above 1.976 V the wizard refuses this line: it would need a gain below 1 ahead of the divider.

Open in Op-Amp Lab

Change this: set the reference to 1.25 V in the wizard and its best E24 set (R1 30 kΩ, R2 3.9 kΩ, RF 4.7 kΩ) misses by 65.0 mV at −10 V.

Key numbers

QuantityVin = −10 VVin = +10 V
Output, ideal op-amp0.0144 V3.2910 V
Error from the target14.4 mV−9.0 mV
Worst case, linear (1% R, 0.1% reference)±34.5 mV±29.4 mV
Worst corner, low−0.0203 V3.2618 V
Worst corner, high0.0487 V3.3207 V

Every result here is the Op-Amp Lab's own, computed when the site was built from the circuit the button opens, and checked against a hand calculation. How the engine is checked.

The circuit

Vout = (1 + RF/RG)·(Vin·R2 + Vref·R1)/(R1 + R2)

PartValueWhere
RG10 kΩ− input to ground
R15.1 kΩInput to the + input
R2910 ΩReference to the + input
RF820 ΩOutput to the − input
VREF1.8 VReference

The numbers use an ideal op-amp on ±15 V rails. Set U1's Vos and Ib on the sheet and the error budget adds their share; its Monte Carlo run gives the spread of 1000 boards.

Other solved op-amp circuits

Question about this circuit, or a correction?