MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Conditioning sensor signals with op-amps to fit the ADC range
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Conditioning sensor signals with op-amps to fit the ADC range

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.

1. How it works

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.

2. Numbers and practice

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.

3. Pitfalls and fixes

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.

4. Signal conditioning methods

NeedCircuitWatch
Small-signal gainNon-inverting ampGain 1 plus Rf over Rg
Differential pick-upInstrumentation ampRejects common mode
Bipolar to unipolarOffset adderShifts the level
IsolationBufferDrives the ADC
Anti-aliasRC filterAhead of the ADC
ProtectionClamp diodesStops overvoltage

5. Notes

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.

6. References

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.

7. Cautions

⚠️ Three common pitfalls:
① Signal never filling the range:only a few codes used and precision wasted
② Excessive gain amplifying noise:SNR suffers
③ Dual-supply output exceeding the ADC voltage:damage, unless clamped

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL