TExcelTAD
Home › Electrical & Electronic Measurements › Inside the DMM: Dual-Slope and Sigma-Delta Converters

Inside the DMM: Dual-Slope and Sigma-Delta Converters

A 6½-digit bench DMM resolves 1 μV1\ \mu\text{V} on its 1 V1\ \text{V} range (10 μV10\ \mu\text{V} on 10 V10\ \text{V}), ignores 50 Hz50\ \text{Hz} hum that is a thousand times larger than that, and holds its calibration for a year. A 55 dollar microcontroller ADC with "16 bits" does none of these things. The difference is in the converter architecture and in the analog front end around it. This lesson opens the box: the signal path, the integrating converters that give DMMs their noise rejection, and what the specifications on the back page really mean.

The user-level view (ranges, counts, loading, burden) is in EE Foundations.

The signal path

inputs V, A, COM DC divider 10 MOhm chain shunts + fuse 0.1 Ohm .. 1 kOhm ohms source I = 1 mA .. 1 uA AC converter RMS or sampling function switch ADC integrating reference buried Zener MCU cal constants display USB / LAN
  • Input divider for DC volts: a precision 10 MΩ10\ \text{M}\Omega chain (9.9 M+90 k+…9.9\ \text{M} + 90\ \text{k} + \dots) that scales 100 V100\ \text{V} and 1000 V1000\ \text{V} ranges down to the ADC's ±1\pm 1 to 10 V10\ \text{V}. On the lowest ranges many bench DMMs can bypass it and present more than 10 GΩ10\ \text{G}\Omega.
  • Current shunts (0.1 Ω0.1\ \Omega to 1 kΩ1\ \text{k}\Omega) behind a fuse, so current becomes a voltage (Current Measurement).
  • Ohms: a precision current source drives the unknown, and the voltage is measured, with two or four wires (Four-Wire Resistance).
  • AC converter: an RMS-to-DC converter or, in modern meters, direct sampling and computation (True RMS).
  • ADC and reference: an integrating converter compares everything with a voltage reference (a buried-Zener reference in good meters, a few ppm per year of drift); the accuracy of every range traces back to this reference and to the resistor ratios of the divider and shunts.

Digits and counts. "6½ digits" means six full digits plus a leading digit that is 0 or 1: up to 1 999 9991\,999\,999 counts, often extended (1 200 0001\,200\,000 counts on a "1 V1\ \text{V}" range that reads to 1.2 V1.2\ \text{V}). Hand-held meters quote counts directly (6000, 50 000).

The dual-slope converter

An integrator charges for a fixed time T1T_1 from the unknown input, then discharges from a known reference of opposite sign until it crosses zero, while a counter measures the run-down time t2t_2. The charge in equals the charge out:

1RC∫0T1vin dt=1RC Vref t2⟹vˉin=Vref t2T1\frac{1}{RC}\int_0^{T_1} v_\text{in}\,dt = \frac{1}{RC}\,V_\text{ref}\,t_2 \quad\Longrightarrow\quad \bar{v}_\text{in} = V_\text{ref}\,\frac{t_2}{T_1}

RR, CC and the clock frequency cancel: only the reference and the ratio of two times counted by the same clock matter. That is a ratio measurement, the reason integrating converters are accurate with ordinary components.

The converter measures the average of the input over T1T_1. Any signal with a whole number of periods in T1T_1 averages to zero, so choosing T1T_1 as a multiple of the mains period removes hum. The attenuation of a sinusoid of frequency ff is

NMRR(f)=−20log⁡10∣sin⁡(πfT1)πfT1∣\text{NMRR}(f) = -20\log_{10}\left\lvert \frac{\sin(\pi f T_1)}{\pi f T_1} \right\rvert

with nulls at f=n/T1f = n/T_1. DMMs express the integration time in power-line cycles (NPLC): 11 NPLC is 20 ms20\ \text{ms} at 50 Hz50\ \text{Hz} and 16.7 ms16.7\ \text{ms} at 60 Hz60\ \text{Hz}, so the meter must be told which mains frequency it runs on. Longer NPLC means lower noise and more digits, at fewer readings per second; datasheets typically quote 60 dB60\ \text{dB} of normal-mode rejection at 11 NPLC or above for a mains frequency within ±0.1 %\pm 0.1\,\% of nominal, and less (about 40 dB40\ \text{dB}) at ±1 %\pm 1\,\%.

python · try it yourself
import numpy as np

# Dual-slope conversion of V_in = 1.2345 V plus 50 Hz hum of 0.1 V amplitude.
f_clk = 1e6                      # counter clock, Hz
V_ref = 2.0                      # reference, V
def dual_slope(T1, phase):
    t = np.arange(int(T1 * f_clk)) / f_clk
    v = 1.2345 + 0.1 * np.sin(2 * np.pi * 50 * t + phase)
    run_up = v.sum() / f_clk                 # integral of the input over T1, V*s
    counts = int(round(run_up / V_ref * f_clk))   # run-down time t2 = run_up / V_ref, in clock counts
    return counts * V_ref / (T1 * f_clk)          # V_in = V_ref * t2 / T1

for T1 in (0.020, 0.015, 0.100):
    vals = [dual_slope(T1, ph) for ph in np.linspace(0, 2 * np.pi, 8, endpoint=False)]
    print(f"T1 = {1000 * T1:5.1f} ms ({T1 * 50:.2f} mains cycles): readings {min(vals):.5f} .. {max(vals):.5f} V")

# Normal-mode rejection of an integrator of time T: |sin(pi f T) / (pi f T)|
for T, f in ((0.020, 50.0), (0.020, 51.0), (0.0167, 50.0), (0.100, 50.5)):
    g = abs(np.sinc(f * T))                       # np.sinc(x) = sin(pi x)/(pi x)
    text = "null (infinite)" if g < 1e-9 else f"{-20 * np.log10(g):5.1f} dB"
    print(f"T = {1000 * T:5.1f} ms, f = {f:4.1f} Hz: NMRR = {text}")
T1 =  20.0 ms (1.00 mains cycles): readings 1.23450 .. 1.23450 V
T1 =  15.0 ms (0.75 mains cycles): readings 1.20453 .. 1.26453 V
T1 = 100.0 ms (5.00 mains cycles): readings 1.23450 .. 1.23450 V
T =  20.0 ms, f = 50.0 Hz: NMRR = null (infinite)
T =  20.0 ms, f = 51.0 Hz: NMRR =  34.2 dB
T =  16.7 ms, f = 50.0 Hz: NMRR =  14.5 dB
T = 100.0 ms, f = 50.5 Hz: NMRR =  40.1 dB

At T1=20 msT_1 = 20\ \text{ms} the 0.1 V0.1\ \text{V} hum vanishes completely; at 15 ms15\ \text{ms} the reading depends on the hum's phase by ±30 mV\pm 30\ \text{mV}. A mains frequency 2 %2\,\% off nominal (51 Hz51\ \text{Hz}) leaves 34 dB34\ \text{dB} of rejection at 1 NPLC; integrating for 5 cycles keeps 40 dB40\ \text{dB} even at 50.5 Hz50.5\ \text{Hz} because the filter's sidelobes fall as 1/f1/f.

Worked example: run-up and run-down

Given: an integrator with R=10 kΩR = 10\ \text{k}\Omega, C=1 μFC = 1\ \mu\text{F} (so 1/RC=100 s−11/RC = 100\ \text{s}^{-1}), T1=20 msT_1 = 20\ \text{ms}, Vref=−2.000 VV_\text{ref} = -2.000\ \text{V}, input Vin=1.000 VV_\text{in} = 1.000\ \text{V}, counter clock 1 MHz1\ \text{MHz}.

Find: the integrator output at the end of the run-up, the run-down time and the count.

Solve: the inverting integrator ramps at −Vin/RC=−100 V/s-V_\text{in}/RC = -100\ \text{V/s}:

vout(T1)=−100 s−1×1.000 V×0.020 s=−2.000 Vt2=T1 Vin∣Vref∣=20 ms×1.0002.000=10.0 msN=10.0 ms×1 MHz=10 000 counts\begin{aligned} v_\text{out}(T_1) &= -100\ \text{s}^{-1} \times 1.000\ \text{V} \times 0.020\ \text{s} = -2.000\ \text{V} \\ t_2 &= T_1\,\frac{V_\text{in}}{\lvert V_\text{ref} \rvert} = 20\ \text{ms} \times \frac{1.000}{2.000} = 10.0\ \text{ms} \\ N &= 10.0\ \text{ms} \times 1\ \text{MHz} = 10\,000\ \text{counts} \end{aligned}

Check: the run-down slope is +200 V/s+200\ \text{V/s}, and 2.000 V/200 V/s=10 ms2.000\ \text{V}/200\ \text{V/s} = 10\ \text{ms}. Changing CC by 10 %10\,\% changes both slopes by 10 %10\,\% and leaves t2t_2 unchanged.

Simulation. The netlist below is that integrator: Vin is the input switched on for T1=20 msT_1 = 20\ \text{ms} (its slider sets VinV_\text{in}), Vref switches to −2 V-2\ \text{V} at 20 ms20\ \text{ms}, and E1 is the op-amp. The output reaches about −2.00 V-2.00\ \text{V} at 20 ms20\ \text{ms} (the lab shows −1.998 V-1.998\ \text{V}, an effect of the 10 μs10\ \mu\text{s} source edges and the 40 μs40\ \mu\text{s} time step) and crosses zero at 30 ms30\ \text{ms}; a comparator would stop the counter there. Set Vin=0.5 VV_\text{in} = 0.5\ \text{V}: the zero crossing moves to 25 ms25\ \text{ms}. (The output keeps rising afterwards because this model has no comparator to end the run-down.)

-202010203040t (ms)VV(out)V(a)V(b)at t = 40.00 msV(a)0 VV(b)-2.00 VV(inn)-2.00 uVV(out)2.00 VI(Vin)-200 pAI(Vref)200 uAI(Ra)200 pAI(Rb)-200 uAI(C1)-200 uAI(E1)-200 uA

Sigma-delta converters

Many hand-held and system DMMs and nearly all precision DAQ inputs use a sigma-delta (ΣΔ\Sigma\Delta) converter (high-end bench meters often use proprietary multislope integrating converters instead). A first-order modulator integrates the difference between the input and a 1-bit DAC output (±Vref\pm V_\text{ref}), and a comparator decides the next DAC level from the sign of the integrator. The feedback forces the density of ones in the bitstream to track the input: vin=Vref(2ρ−1)v_\text{in} = V_\text{ref}(2\rho - 1) for a ones density ρ\rho. A digital filter (decimator) averages the bitstream into high-resolution words. Two things make it powerful: oversampling (the 1-bit clock runs thousands of times faster than the output rate) and noise shaping (the integrator pushes quantisation noise to high frequencies, where the digital filter removes it). Choosing the filter's averaging time as a mains period gives the same NMRR nulls as dual slope.

python · try it yourself
import numpy as np

# First-order sigma-delta modulator: integrator + 1-bit quantiser + 1-bit DAC (+/- V_ref).
def sigma_delta(v_in, n, v_ref=1.0):
    integ, bits = 0.0, np.empty(n, dtype=np.int8)
    for i in range(n):
        fb = v_ref if integ >= 0 else -v_ref   # 1-bit DAC output for the previous decision
        bits[i] = 1 if integ >= 0 else 0
        integ += v_in - fb                     # integrate the error
    return bits

v = 0.3141
for n in (16, 256, 4096, 65536):
    b = sigma_delta(v, n)
    est = (2 * b.mean() - 1)                   # density of ones -> value, in units of V_ref
    print(f"{n:6d} clocks: ones density {b.mean():.5f} -> {est:+.5f} V (error {1e6 * (est - v):+8.1f} uV)")
print("first 32 bits:", "".join(map(str, sigma_delta(v, 32))))
    16 clocks: ones density 0.62500 -> +0.25000 V (error -64100.0 uV)
   256 clocks: ones density 0.65625 -> +0.31250 V (error  -1600.0 uV)
  4096 clocks: ones density 0.65698 -> +0.31396 V (error   -135.2 uV)
 65536 clocks: ones density 0.65704 -> +0.31409 V (error    -13.1 uV)
first 32 bits: 10101101101101101101101101101101

The error falls roughly in proportion to 1/N1/N for this first-order loop on a DC input, faster than the 1/N1/\sqrt{N} of plain averaging, because the integrator remembers the accumulated error. Real converters use second- to fifth-order loops and multi-bit DACs. Converter design at chip level belongs to the planned Embedded Systems & Chip Design track.

Reading a DMM specification

A typical 6½-digit spec line: DC 10 V10\ \text{V} range, 2424 hours: ±(0.0015 %+0.0004 %)\pm(0.0015\,\% + 0.0004\,\%); 11 year: ±(0.0035 %+0.0005 %)\pm(0.0035\,\% + 0.0005\,\%), within ±5 ∘C\pm 5\,^\circ\text{C} of the calibration temperature (±1 ∘C\pm 1\,^\circ\text{C} for the 24-hour figure), after a one-hour warm-up, at ≥1\ge 1 NPLC (figures of a Keysight 34461A-class meter, datasheet as of 2026; check your own meter's datasheet). The first term is percent of reading, the second percent of range. Outside the temperature band a temperature coefficient per kelvin is added. The 2424-hour figure assumes the meter was just calibrated against a standard ("transfer" accuracy); the 11-year figure includes drift. Use the figure that matches the time since calibration, and treat it as a rectangular limit in the budget.

Guided lab: NPLC and noise

Hand calculation. At 0.020.02 NPLC (0.4 ms0.4\ \text{ms} at 50 Hz50\ \text{Hz}) the NMRR at 50 Hz50\ \text{Hz} is almost zero; at 11 NPLC it is a null in theory and ≥60 dB\ge 60\ \text{dB} in practice.

Simulation. Run the dual-slope program with T1 = 0.0004 and a few phases: the reading follows the hum.

What you would measure. Short a bench DMM's input (or connect it to a 1.5 V1.5\ \text{V} cell through a 100 kΩ100\ \text{k}\Omega resistor and a metre of unshielded wire near a mains cable) and take 50 readings each at 0.020.02, 11 and 1010 NPLC. Expect the scatter to fall from hundreds of microvolts to a few microvolts, and readings at 0.020.02 NPLC to show a 50 Hz50\ \text{Hz} beat pattern when plotted.

Hazards and safe setup. The cell and resistor are harmless. Do not open mains cables or extension leads to "make more hum": a working cable lying near the wire is enough.

Pitfalls

  • Leaving the meter set for 60 Hz60\ \text{Hz} in a 50 Hz50\ \text{Hz} country (or the reverse): the NMRR null misses the hum.
  • Using fast reading rates (low NPLC) and trusting the last digits.
  • Ignoring warm-up: specifications assume an hour or more.
  • Reading the 24-hour spec when the meter was calibrated eleven months ago.

Practice

  1. A dual-slope converter with T1=100 msT_1 = 100\ \text{ms} and Vref=1 VV_\text{ref} = 1\ \text{V} counts a run-down of 73.2 ms73.2\ \text{ms}. What is the input?
  2. What NPLC gives nulls at both 5050 and 60 Hz60\ \text{Hz}?
Answer
  1. 1 V×73.2/100=0.732 V1\ \text{V} \times 73.2/100 = 0.732\ \text{V}.
  2. T1=100 msT_1 = 100\ \text{ms} is 5 cycles of 50 Hz50\ \text{Hz} and 6 cycles of 60 Hz60\ \text{Hz}: 5 NPLC on a 50 Hz setting (6 NPLC at 60 Hz).

Test yourself

In a dual-slope converter the result does not depend on

  1. the reference voltage
  2. the integrator's R and C
  3. the input
  4. the run-down time

Why does a DMM integrate over a whole number of power-line cycles?

  1. to save power
  2. to null mains-frequency interference
  3. to increase input impedance
  4. to measure AC

In a sigma-delta converter the input value is encoded in

  1. the amplitude of each bit
  2. the density of ones in the bitstream
  3. the integrator's capacitor value
  4. the clock frequency

A meter calibrated 10 months ago should be judged with its

  1. 24-hour specification
  2. 90-day specification
  3. 1-year specification
  4. resolution