TExcelTAD
Home › Electrical & Electronic Measurements › Electrical Measurements: Introduction

Electrical Measurements: Introduction

Two engineers measure the same reference voltage on a prototype. One reports 2.4981 V2.4981\ \text{V} from a bench multimeter, the other 2.47 V2.47\ \text{V} from an oscilloscope cursor. A third tool, a USB data-acquisition module, says 2.503 V2.503\ \text{V}. Which one is right? Possibly all three: a measurement result is not a single number but an interval, and the question is whether the three intervals overlap. Possibly none: if the scope probe loaded the node or the acquisition module was never calibrated, all three could share a bias that no amount of averaging removes.

This course teaches you to answer such questions with evidence. By the end you should be able to design a repeatable measurement procedure and defend the accuracy of its result: choose the instrument, predict and correct its errors, build an uncertainty budget, check it by simulation, and write it up so that someone else can repeat it and get an overlapping interval.

Where this course starts

EE Foundations introduced the bench: the digital multimeter, the bench supply, the oscilloscope and function generator, a first uncertainty budget and the lab notebook. This course assumes those lessons and goes inside the instruments: how a DMM converts, why a probe changes the circuit it touches, what a spectrum analyser's resolution bandwidth does, how a thermocouple produces its voltage. The circuit analysis comes from Circuit Theory and the statistics from Probability.

The generalised measurement system

Almost every electronic measurement follows the same chain. The measurand is the quantity you want (a temperature, a current, a resistance). A sensor or transducer turns it into an electrical signal, signal conditioning amplifies, filters and isolates it, an analog-to-digital converter samples and quantises it, and processing turns codes into a value with a unit, which is displayed and recorded. Each block adds its own errors, and the environment (temperature, interference, the operator) pushes on all of them.

measurand T, I, F, R sensor transducer conditioning amp, filter, iso ADC sample, quantise processing scale, correct display record environment, interference, operator each block adds an error: offset, gain, nonlinearity, noise, loading, quantisation, drift the result is a value with an uncertainty, traceable through calibration

Every block in the figure has a lesson in this course:

Section You will be able to Labs and tools
Getting started state accuracy, resolution, sensitivity, linearity and hysteresis from a datasheet best-fit, NumPy
Errors and uncertainty classify errors, correct loading, analyse repeated readings, build GUM budgets, propagate them analytically and by Monte Carlo error-bars, ee-netlist, NumPy, ngspice
Meters and current sensing explain PMMC and moving-iron meters, DMM converters, true RMS and crest factor, shunts, Hall sensors and current transformers ee-netlist, NumPy
Resistance and impedance measure low resistance with four wires, balance DC and AC bridges, read an LCR meter ee-netlist, ngspice
Oscilloscope and signal instruments choose bandwidth, sample rate and record length, trigger, use FFT mode, compensate and choose probes, use counters, spectrum and network analysers ee-sampling-aliasing, ee-rc-rl-transient, ee-bode-plot, ngspice, skrf
Power and energy measure power and power factor, compute THD from samples NumPy (mains by calculation only)
Sensors and signal conditioning linearise RTDs, thermocouples and thermistors, design a strain-gauge bridge, condition a sensor signal ee-netlist, ee-op-amp, NumPy
Data acquisition size an ADC, anti-alias filter and sample rate, compute ENOB, avoid ground loops ee-sampling-aliasing, NumPy
Calibration, automation and reporting fit a calibration curve, explain traceability, script an instrument with SCPI, write a report with a conformity decision NumPy, illustrative PyVISA

The measurement model

The habit that runs through every lesson is to write the result as a model equation: the quantity you report as a function of everything that influences it. For a current measured as the voltage across a shunt,

I=Vreading−VoffsetRshunt (1+α (T−T0))I = \frac{V_\text{reading} - V_\text{offset}}{R_\text{shunt}\,\left(1 + \alpha\,(T - T_0)\right)}

Each input has a value and an uncertainty: the reading from the meter, the offset from a zero measurement, the shunt from its calibration certificate, the temperature coefficient α\alpha from the datasheet and the temperature TT from a thermometer. Once the model is written, the rest is method: corrections for known biases, uncertainties for what is left, and a combination rule. The lessons on uncertainty budgets and propagation make this exact.

Worked example: do three instruments agree?

Given: the three readings from the opening, each with the expanded uncertainty (k=2k = 2) its owner derived from the instrument specification: DMM 2.4981±0.0020 V2.4981 \pm 0.0020\ \text{V}, oscilloscope 2.47±0.06 V2.47 \pm 0.06\ \text{V}, DAQ module 2.503±0.010 V2.503 \pm 0.010\ \text{V}.

Find: whether each pair agrees, using the normalised error

En=x1−x2U12+U22E_n = \frac{x_1 - x_2}{\sqrt{U_1^2 + U_2^2}}

(∣En∣≤1\lvert E_n \rvert \le 1 means agreement at the stated uncertainties; it is the statistic used in interlaboratory comparisons, ISO 13528).

Solve:

En(DMM, scope)=2.4981−2.470.00202+0.062=0.02810.0600=0.47En(DMM, DAQ)=2.4981−2.5030.00202+0.0102=−0.00490.0102=−0.48En(scope, DAQ)=2.47−2.5030.062+0.0102=−0.0330.0608=−0.54\begin{aligned} E_n(\text{DMM, scope}) &= \frac{2.4981 - 2.47}{\sqrt{0.0020^2 + 0.06^2}} = \frac{0.0281}{0.0600} = 0.47 \\ E_n(\text{DMM, DAQ}) &= \frac{2.4981 - 2.503}{\sqrt{0.0020^2 + 0.010^2}} = \frac{-0.0049}{0.0102} = -0.48 \\ E_n(\text{scope, DAQ}) &= \frac{2.47 - 2.503}{\sqrt{0.06^2 + 0.010^2}} = \frac{-0.033}{0.0608} = -0.54 \end{aligned}

Check: every ∣En∣\lvert E_n \rvert is below 1, so the three results are consistent; the disagreement in the digits is explained by the uncertainties. The scope's interval is thirty times wider than the DMM's: an 8-bit scope is the wrong tool for a reference voltage, even though its reading is not wrong. EnE_n is dimensionless, as it must be.

python · try it yourself
import itertools
import numpy as np

readings = {"DMM": (2.4981, 0.0020), "scope": (2.47, 0.06), "DAQ": (2.503, 0.010)}  # value, U (k=2), volts

for (a, (xa, Ua)), (b, (xb, Ub)) in itertools.combinations(readings.items(), 2):
    En = (xa - xb) / np.hypot(Ua, Ub)
    verdict = "agree" if abs(En) <= 1 else "DISAGREE"
    print(f"{a:>5} vs {b:<5}: difference {1000 * (xa - xb):+7.1f} mV, E_n = {En:+.2f} -> {verdict}")

# Weighted mean of consistent results (weights 1/u^2, u = U/2)
x = np.array([v for v, _ in readings.values()])
u = np.array([U / 2 for _, U in readings.values()])
w = 1 / u**2
mean = float(np.sum(w * x) / np.sum(w))
u_mean = float(1 / np.sqrt(np.sum(w)))
print(f"weighted mean = {mean:.4f} V, u = {1000 * u_mean:.2f} mV")
  DMM vs scope: difference   +28.1 mV, E_n = +0.47 -> agree
  DMM vs DAQ  : difference    -4.9 mV, E_n = -0.48 -> agree
scope vs DAQ  : difference   -33.0 mV, E_n = -0.54 -> agree
weighted mean = 2.4983 V, u = 0.98 mV

The weighted mean is almost the DMM value: an inverse-variance weight of a poor instrument is tiny. Combining them only makes sense once you have checked that they agree.

Guided lab: one voltage, three instruments

Hand calculation. Build a divider of two 10 kΩ10\ \text{k}\Omega, 0.1 %0.1\,\% resistors from a 5.000 V5.000\ \text{V} supply: the output is 2.500 V2.500\ \text{V} unloaded. A 10 MΩ10\ \text{M}\Omega DMM loads it by the Thevenin resistance 5 kΩ5\ \text{k}\Omega, lowering it by 2.500×5k/(10M+5k)=1.2 mV2.500 \times 5\text{k}/(10\text{M} + 5\text{k}) = 1.2\ \text{mV}; a 1 MΩ1\ \text{M}\Omega scope input lowers it by 12.4 mV12.4\ \text{mV} (the loading lesson derives this).

Simulation. Run the comparison program above with your own readings and their uncertainties.

What you would measure. With a 6½-digit DMM expect 2.4988±0.0002 V2.4988 \pm 0.0002\ \text{V} or so (the supply setting and resistor ratio dominate), with an 8-bit scope at 0.5 V/div0.5\ \text{V/div} about 2.49 V2.49\ \text{V} with an uncertainty of tens of millivolts, and with a 12-bit DAQ input on a ±5 V\pm 5\ \text{V} range about 2.492.49 to 2.50 V2.50\ \text{V} within ±10 mV\pm 10\ \text{mV}. Record the instrument, range, input impedance and uncertainty for each, compute EnE_n, and explain any ∣En∣>1\lvert E_n \rvert > 1 before you trust any of them.

Hazards and safe setup. A current-limited bench supply at 5 V5\ \text{V} (limit 20 mA20\ \text{mA}), no mains-connected circuit under test. The scope's probe ground is tied to mains earth: clip it only to the circuit's ground. Every lab in this course follows the EE Foundations safety rules: isolated, current-limited, at most 24 V24\ \text{V} DC; mains-voltage topics (current transformers, energy meters, power quality) are taught by calculation and simulation only.

Pitfalls

  • Treating the instrument with the most digits as the reference. Resolution is not accuracy.
  • Averaging results that disagree: check EnE_n first, then look for the bias.
  • Reporting a reading without the range, input impedance, bandwidth or integration time that produced it. Nobody can repeat it.

Practice

  1. Two labs report 10.003±0.004 Ω10.003 \pm 0.004\ \Omega and 9.996±0.003 Ω9.996 \pm 0.003\ \Omega (k=2k = 2). Do they agree?
  2. Name the block of the measurement chain in which each error appears: a thermocouple's cold-junction error, a 50 Hz pickup on the sensor cable, an ADC's quantisation, a display rounding.
Answer
  1. En=0.007/0.0042+0.0032=0.007/0.005=1.4E_n = 0.007/\sqrt{0.004^2 + 0.003^2} = 0.007/0.005 = 1.4: they disagree. One of them has an unrecognised bias or an underestimated uncertainty.
  2. Sensor (the reference junction is part of the transducer), conditioning or environment coupling into the cable, ADC, display/processing.

Test yourself

Two results agree at their stated uncertainties when

  1. they have the same number of digits
  2. ∣En∣≤1\lvert E_n \rvert \le 1
  3. their difference is below the resolution
  4. both instruments are calibrated

Which block of a measurement system turns the measurand into an electrical signal?

  1. the ADC
  2. the sensor or transducer
  3. the display
  4. the processing

A weighted mean of three readings is dominated by

  1. the reading with the most digits
  2. the reading with the smallest uncertainty
  3. the largest reading
  4. the newest instrument