55. Measure bipolar voltage

Circuit

Loading simulator…

Design Approach

An ADC that accepts only 0–3.3 V cannot directly read a −3 V to +3 V sensor. The solution combines attenuation and a positive reference offset so zero sensor voltage maps to midscale.

How the Circuit Works

  1. Set the desired transformation. The required mapping is VADC_IN=1.65V+0.5VSIGNAL_INV_{\mathrm{ADC\_IN}}=1.65\,\mathrm{V}+0.5\,V_{\mathrm{SIGNAL\_IN}}. This produces 0.15 V at −3 V, 1.65 V at 0 V, and 3.15 V at +3 V.
  2. Use equal resistors. The solution adds R_SIGNAL = 47 kΩ from SIGNAL_IN to ADC_IN, and R_REF = 47 kΩ from the supplied VREF = 3.3 V through I_REF to ADC_IN. With a high-impedance output probe, the junction is the average of the two applied voltages.
  3. Understand the offset. At zero sensor voltage, the junction is midway between 0 V and 3.3 V, giving 1.65 V. A negative sensor input pulls this point lower; a positive sensor input raises it.
  4. Check reference current. At SIGNAL_IN=−3V\mathrm{SIGNAL\_IN} = -3\,\mathrm{V}, the junction is about 0.15 V. Current through R_REF is 3.3−0.1547kΩ≈67μA\frac{3.3 - 0.15}{47\,\mathrm{k}\Omega} \approx 67\,\mu\mathrm{A}, inside the required 50–100 µA range.

Verify the Circuit

Set SIGNAL_IN to −3 V, 0 V, and +3 V. Expect ADC_IN≈0.15V\mathrm{ADC\_IN} \approx 0.15\,\mathrm{V}, 1.65 V, and 3.15 V. At −3 V, verify I_REF is between 50 µA and 100 µA. Try unequal resistor values and observe how the gain and offset change together.

Key Learnings

  • A resistor summing network can apply attenuation and DC offset without an active amplifier if the ADC input is high impedance.
  • Reference and resistor accuracy affect both the offset and the scale; actual ADC sampling circuits may require buffering.