True RMS, Average-Responding Meters and Crest Factor
A technician checks the current drawn by a small switch-mode power supply (on its low-voltage DC output side, or in a simulation of its mains input) with an inexpensive clamp meter and an expensive one. The readings differ by a factor of two. Both meters are within calibration. The cheap one is average-responding: it measures the rectified mean and multiplies by the factor that is correct for a sine wave. The current is not a sine wave. This lesson explains what each kind of AC meter measures, how large the errors get, and what the crest factor specification protects you from.
EE Foundations defined RMS; Signals and Fourier shows why the RMS of a sum of harmonics is the root-sum-square of their RMS values.
Three numbers of a periodic waveform
For a waveform of period :
and two ratios that characterise its shape:
For a sine, , , so and . A square wave has ; a triangle , .
How AC meters respond
| Type | Measures | Correct for | Notes |
|---|---|---|---|
| average-responding, RMS-calibrated | rectified mean | sines only | cheap meters, older clamps; error on a square, large and negative on peaky waveforms |
| peak-responding | sines only | some RF probes and simple AC adapters | |
| true RMS, analog converter | by a log/antilog or thermal circuit | any waveform within bandwidth and crest factor | the classic RMS-to-DC converter IC; needs a minimum signal (a few percent of range) to settle |
| true RMS, sampling | sampled , computed | any waveform below the sample rate's limits | most modern bench DMMs and power analysers |
| thermal converter | heating of a resistor compared with DC | any waveform, very wide bandwidth | AC–DC transfer standards in calibration labs |
Most meters measure the RMS of the AC component (input capacitor-coupled) on their AC function. The total RMS of a signal with a DC part is
so for a unipolar pulse train you must combine the DC and AC readings (some meters offer an "AC+DC" function that does it).
Crest factor and bandwidth
A true RMS converter only computes the right value if its front end passes the peaks without clipping and its bandwidth covers the significant harmonics. Datasheets therefore state a maximum crest factor (for example at full scale, more at lower readings) and often an additional error that grows with crest factor (illustrative figures: for from 1 to 2, from 2 to 3; check your meter). A narrow pulse train has a huge crest factor: for a pulse of duty , for the AC component, at and at . Its harmonics also extend far beyond the fundamental, so a meter with a AC bandwidth will read low on a pulse train with fast edges.
Worked example: a 10 percent PWM signal
Given: a to PWM signal with duty .
Find: the DC reading, the true RMS of the AC component, the total RMS, the crest factor of the AC component, and what an average-responding AC meter shows.
Solve:
Check: the average-responding meter reads , below the true of the AC component. A crest factor of sits exactly at a typical meter's full-scale limit: measure on a range where the reading is at most half of full scale to leave headroom. Units are volts throughout.
import numpy as np
N = 200_000
t = np.arange(N) / N # one period, normalised time 0..1
FF_SINE = np.pi / (2 * np.sqrt(2)) # form factor of a sine, 1.1107
def pulse_current(t, width=0.125): # cos^2 current pulses at the voltage peaks, alternating sign
x = np.zeros_like(t)
for centre, sign in ((0.25, 1), (0.75, -1)):
m = np.abs(t - centre) < width / 2
x[m] = sign * np.cos(np.pi * (t[m] - centre) / width) ** 2
return x
waves = {
"sine": np.sin(2 * np.pi * t),
"square": np.where(t < 0.5, 1.0, -1.0),
"triangle": 2 * np.abs(2 * (t - np.floor(t + 0.5))) - 1,
"half-wave sine": np.maximum(np.sin(2 * np.pi * t), 0.0),
"PWM 10 %, 0/5 V": np.where(t < 0.1, 5.0, 0.0),
"rectifier input current": pulse_current(t),
}
print(f"{'waveform':24s} {'avg-resp':>8s} {'TRMS ac':>8s} {'TRMS ac+dc':>10s} {'error':>7s} {'CF(ac)':>6s}")
for name, x in waves.items():
ac = x - x.mean() # AC coupling removes the DC component
avg_resp = FF_SINE * np.mean(np.abs(ac))
rms_ac = np.sqrt(np.mean(ac**2))
rms_total = np.sqrt(np.mean(x**2))
err = round(100 * (avg_resp / rms_ac - 1), 1) + 0.0 # + 0.0 turns -0.0 into 0.0
cf = np.max(np.abs(ac)) / rms_ac
print(f"{name:24s} {avg_resp:8.4f} {rms_ac:8.4f} {rms_total:10.4f} {err:+6.1f}% {cf:6.2f}")waveform avg-resp TRMS ac TRMS ac+dc error CF(ac)
sine 0.7071 0.7071 0.7071 +0.0% 1.41
square 1.1107 1.0000 1.0000 +11.1% 1.00
triangle 0.5554 0.5774 0.5774 -3.8% 1.73
half-wave sine 0.3897 0.3856 0.5000 +1.1% 1.77
PWM 10 %, 0/5 V 0.9996 1.5000 1.5811 -33.4% 3.00
rectifier input current 0.1388 0.3062 0.3062 -54.7% 3.27
The last row is the classic case of the opening: the current drawn by a rectifier with a smoothing capacitor flows in short pulses near the voltage peaks. An average-responding meter reads it low. (This current waveform is computed here; mains-input currents are measured only by trained people with rated equipment, Power Measurement.)
Guided lab: RMS of a sine and of a square from a generator
Hand calculation. A sine of amplitude has and delivers into ; a square of the same amplitude has and delivers .
Simulation. The AC lab (it writes voltage as ) shows the sine, the lines and the average power: at these settings and . Use only the "your own" preset here.
What you would measure. Set a function generator to , into a high-impedance load and read it with a true RMS DMM and, if you have one, an average-responding meter. Expected (true RMS / average-responding): sine , square , triangle , each within the meters' AC specification (often to at ). Then try a pulse, to : true RMS AC about , DC , average-responding about . Raise the frequency to and watch the true RMS reading fall as harmonics leave the meter's bandwidth.
Hazards and safe setup. Signal-generator levels only (). Never "check" mains RMS with a bench DMM's leads as an exercise in this course: mains measurements need CAT-rated meters and training.
Pitfalls
- Trusting an average-responding meter on anything but a clean sine.
- Reading only the AC function of a unipolar signal and calling it the RMS.
- Ignoring crest-factor limits and bandwidth: a true RMS meter is only true within them.
- Measuring small AC signals on a true RMS meter below its minimum input (often to of range), where the converter's own noise dominates.
Practice
- A square wave of is read by an average-responding meter. What does it show?
- What crest factor does a / pulse train with have for its AC component?
Answer
- , reading ; the true RMS is .
- .
Test yourself
An average-responding meter reads a square wave
- correctly
- about 11 % high
- about 11 % low
- as zero
The crest factor is
- RMS divided by average
- peak divided by RMS
- peak divided by average
- peak-to-peak divided by peak
A meter's AC function reads 1.50 V and its DC function 0.50 V on the same signal. The total RMS is
- 2.00 V
- 1.00 V
- 1.58 V
- 1.50 V
Why can a true RMS meter read a fast pulse train low?
- its crest factor and bandwidth limits
- it averages instead
- pulses have no RMS
- the DC component is too large