Sensor Guide
Sensor ADC Acquisition: Source Impedance, Aliasing, ENOB, and Resolution
Convert a sensor signal into trustworthy digital data by treating the ADC, reference, driver, filter, timing, and calibration as one acquisition system.
17 min · Intermediate · Updated October 12, 2026
Code Range and Engineering Resolution
Nominal bit depth describes available codes, not how many the sensor uses. A 0.5–4.5 V sensor on a 0–5 V ADC occupies about 80% of the input range. Preserve unrounded values internally and apply calibration before formatting engineering units.
Formula reference
Ideal Quantization References
Codes = 2^NVLSB ≈ VFS/2^NUsable codes ≈ |V2 - V1|/VLSBEngineering LSB ≈ |X2 - X1|/usable codesVariable definitions
- N
- nominal ADC bits
- VFS
- configured full-scale input span
- V1, V2
- sensor electrical endpoints
- X1, X2
- corresponding engineering endpoints
- Datasheet endpoint and bipolar code conventions may differ
Use the Sensor ADC Resolution Calculator for usable codes, ideal LSB, ENOB references, and engineering resolution.
Acquisition Time and Source Impedance
Many SAR and MCU ADC inputs connect a sampling capacitor through a switch. During acquisition, the source must settle from the previous channel voltage to the required error. Datasheet maximum source resistance assumes specific acquisition time, capacitance, and resolution.
Formula reference
First-Order Settling Reference
Verror/Vstep = e^(-tACQ/(RsourceCtotal))tACQ ≥ -RsourceCtotal ln(ε)For 0.5 LSB settling: ε ≈ 1/2^(N+1)Variable definitions
- Ctotal includes sampling and external capacitance in the adopted model
- Rsource includes sensor, divider, filter, switch, and driver impedance
- Real ADC charge injection and nonlinear input current require datasheet guidance
A buffer can lower drive impedance, but it must remain stable with the ADC input network and settle after charge kickback. An RC network can supply transient charge and filter noise; verify both op-amp stability and inter-channel settling.
Reference, Ratiometric Measurement, and Range
- The reference sets ADC scale, so its initial accuracy, noise, temperature drift, load regulation, and decoupling enter the measurement.
- Ratiometric excitation can cancel first-order supply variation when the sensor output and ADC reference share the same excitation ratio.
- This cancellation does not remove reference noise, bridge self-heating, amplifier error, ADC nonlinearity, or timing mismatch.
- Allow headroom for sensor tolerance, diagnostic overrange, amplifier output swing, reference tolerance, and protection clamp behavior.
Sampling and Aliasing
Sampling above twice the desired signal frequency is necessary but not sufficient. Sensor noise, PWM edges, mains interference, clocks, and amplifier noise above Nyquist can alias into the measurement band. The analog anti-alias filter must provide enough attenuation at the actual sample rate and interference spectrum.
Formula reference
Sampling References
fNyquist = fs/2Averaging M independent samples: σavg ≈ σ/√MIdeal oversampling for n extra bits requires about 4^n samplesVariable definitions
- The averaging rule assumes suitable uncorrelated noise
- Oversampling does not repair aliasing or systematic error
- Equivalent noise bandwidth depends on the complete analog and digital filter response
ENOB, Noise, and Accuracy
ENOB is a dynamic test result, commonly derived from SINAD for a sine-wave test. It is not automatically the number of noise-free DC bits. For slow sensors, code spread, peak-to-peak noise, drift, offset, and calibrated residuals may be more useful. State bandwidth and test conditions whenever quoting resolution.
Formula reference
Dynamic and Static References
ENOB = (SINAD - 1.76 dB)/6.02Input-referred noise ≈ code RMS × VLSBEngineering noise ≈ input noise × |ΔX/ΔV|Variable definitions
- SINAD includes noise and distortion under the stated test
- DC noise-free resolution uses a different measurement
- Total accuracy requires bounded static and thermal terms as well as noise
Calibration and Verification
- Record raw codes at grounded, reference, and traceable sensor-equivalent inputs.
- Sweep the full range to measure offset, gain, INL, missing codes, and residuals.
- Repeat with worst-case source impedance, channel order, and acquisition time.
- Measure code distribution and spectrum at the actual sample/filter configuration.
- Inject out-of-band interference to verify anti-alias attenuation.
- Repeat over temperature, supply, reference load, and sensor warm-up.
- Verify fault inputs and recovery without hiding raw diagnostic codes.
Use the Sensor Calibration Calculator for slope, offset, residual, and inverse-fit checks; use the Analog Sensor Linear Scaling Calculator for signed endpoint conversion.
Common Mistakes
- Calling nominal bit depth measurement accuracy.
- Assuming the sensor uses every ADC code.
- Ignoring sampling-capacitor settling and source impedance.
- Adding a buffer without checking capacitive-load stability.
- Treating sample rate alone as an anti-alias filter.
- Using ENOB without its bandwidth and input conditions.
- Expecting averaging to remove drift or INL.
- Ignoring reference noise and temperature drift.
- Reusing rounded display values in calibration math.
- Clamping fault codes before diagnostics.
Scope Boundary
This guide provides system-level acquisition design principles, not a universal ADC driver equation. Switched-capacitor behavior, differential inputs, reference drive, isolation, sigma-delta settling, and digital filters are device-specific. Verify critical designs with the converter datasheet, driver models, simulation, code-density or spectral tests, and calibrated hardware.
Support reference
FAQ
What is the voltage of one ADC code?
For an ideal unipolar N-bit ADC, one LSB is approximately full-scale input range divided by 2^N. Check the datasheet code convention and endpoint definition.
Is ADC resolution the same as accuracy?
No. Resolution is code granularity. Accuracy also depends on offset, gain, INL, DNL, reference error, noise, settling, source error, temperature, and calibration.
Why does source impedance matter to an ADC?
A switched-capacitor ADC input must charge its acquisition capacitor during a finite acquisition time. Excess source impedance can leave a code-dependent settling error.
What is ENOB?
Effective number of bits describes measured dynamic performance derived from noise and distortion. It is usually lower than nominal bit depth and depends on bandwidth, input frequency, and test conditions.
How do I calculate engineering resolution?
Divide the calibrated engineering span by the number of usable codes across the sensor signal span. Do not use the entire ADC code range if the sensor occupies only part of it.
Why is an anti-alias filter required?
Frequency content above half the sample rate can fold into the measurement band. The analog filter must attenuate noise and interference before sampling.
Can oversampling create more accurate bits?
Oversampling and averaging can reduce suitable uncorrelated noise and improve resolution, but cannot remove systematic offset, gain, INL, drift, aliasing, or correlated interference.
How should I verify a sensor ADC interface?
Sweep input level, source impedance, channel order, sample rate, temperature, supply, and interference; then compare raw codes, settling, noise, and calibrated residuals.
