Inside the DMM: Dual-Slope and Sigma-Delta Converters
A 6½-digit bench DMM resolves on its range ( on ), ignores hum that is a thousand times larger than that, and holds its calibration for a year. A 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
- Input divider for DC volts: a precision chain () that scales and ranges down to the ADC's to . On the lowest ranges many bench DMMs can bypass it and present more than .
- Current shunts ( to ) 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 counts, often extended ( counts on a "" range that reads to ). Hand-held meters quote counts directly (6000, 50 000).
The dual-slope converter
An integrator charges for a fixed time 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 . The charge in equals the charge out:
, 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 . Any signal with a whole number of periods in averages to zero, so choosing as a multiple of the mains period removes hum. The attenuation of a sinusoid of frequency is
with nulls at . DMMs express the integration time in power-line cycles (NPLC): NPLC is at and at , 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 of normal-mode rejection at NPLC or above for a mains frequency within of nominal, and less (about ) at .
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 the hum vanishes completely; at the reading depends on the hum's phase by . A mains frequency off nominal () leaves of rejection at 1 NPLC; integrating for 5 cycles keeps even at because the filter's sidelobes fall as .
Worked example: run-up and run-down
Given: an integrator with , (so ), , , input , counter clock .
Find: the integrator output at the end of the run-up, the run-down time and the count.
Solve: the inverting integrator ramps at :
Check: the run-down slope is , and . Changing by changes both slopes by and leaves unchanged.
Simulation. The netlist below is that integrator: Vin is the input switched on for (its slider sets ), Vref switches to at , and E1 is the op-amp. The output reaches about at (the lab shows , an effect of the source edges and the time step) and crosses zero at ; a comparator would stop the counter there. Set : the zero crossing moves to . (The output keeps rising afterwards because this model has no comparator to end the run-down.)
Sigma-delta converters
Many hand-held and system DMMs and nearly all precision DAQ inputs use a 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 (), 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: for a ones density . 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.
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 for this first-order loop on a DC input, faster than the 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 range, hours: ; year: , within of the calibration temperature ( for the 24-hour figure), after a one-hour warm-up, at 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 -hour figure assumes the meter was just calibrated against a standard ("transfer" accuracy); the -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 NPLC ( at ) the NMRR at is almost zero; at NPLC it is a null in theory and 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 cell through a resistor and a metre of unshielded wire near a mains cable) and take 50 readings each at , and NPLC. Expect the scatter to fall from hundreds of microvolts to a few microvolts, and readings at NPLC to show a 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 in a 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
- A dual-slope converter with and counts a run-down of . What is the input?
- What NPLC gives nulls at both and ?
Answer
- .
- is 5 cycles of and 6 cycles of : 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
- the reference voltage
- the integrator's R and C
- the input
- the run-down time
Why does a DMM integrate over a whole number of power-line cycles?
- to save power
- to null mains-frequency interference
- to increase input impedance
- to measure AC
In a sigma-delta converter the input value is encoded in
- the amplitude of each bit
- the density of ones in the bitstream
- the integrator's capacitor value
- the clock frequency
A meter calibrated 10 months ago should be judged with its
- 24-hour specification
- 90-day specification
- 1-year specification
- resolution