Sensor outputs are rarely 0 to Vref, so op-amp conditioning must scale them into the ADC window. This page covers amplification, level shifting and buffering.
Why condition at all: the ADC range is fixed, 0 to 3.3V or 0 to 5V, while sensors put out plus or minus 10V, 4 to 20mA or mere millivolts. Straight into the ADC the signal either clips or occupies a handful of codes. Conditioning scales, shifts and filters the signal to fill the range exactly, protecting precision and the pin at once.
Amplify and shift: a non-inverting stage with gain 1 plus Rf over Rg lifts small signals; an instrumentation amplifier takes the difference across the sensor and rejects common mode; to move a bipolar signal into a unipolar window, add an offset with a summing stage, plus or minus 5V into 0 to 3.3V for instance. Pick low offset, low noise op-amps with enough bandwidth, and follow the conditioning with an RC anti-alias filter before the ADC.
Traps and protection: the op-amp output must drive the ADC input capacitance and settle quickly; too much gain amplifies noise along with signal; a dual-supply op-amp output can exceed the ADC voltage, so use a rail-to-rail single-supply part or clamp with diodes to Vref. Join signal ground and ADC ground at one point to keep ground loops from injecting noise, because every gain error becomes measurement error.
| Need | Circuit | Watch |
|---|---|---|
| Small-signal gain | Non-inverting amp | Gain 1 plus Rf over Rg |
| Differential pick-up | Instrumentation amp | Rejects common mode |
| Bipolar to unipolar | Offset adder | Shifts the level |
| Isolation | Buffer | Drives the ADC |
| Anti-alias | RC filter | Ahead of the ADC |
| Protection | Clamp diodes | Stops overvoltage |
Fill the ADC range with the signal or precision is wasted. Shift bipolar signals without exceeding the rail, and tie grounds at a single point to keep noise out.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Signal conditioning per GB/T 4728 and IEC 60748 series. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.