Sub topic 13
Measuring RMS: Oscilloscopes and True-RMS Meters
This chapter assumes you know the RMS definition and the result Vrms = Vm/√2 for a sine wave. It also assumes basic DC measurement with a multimeter. Here you will see how real instruments produce an RMS number, why some of them give wrong answers, and how to pick the right tool.
Three ways an instrument can report "RMS"
The RMS value is the square root of the mean of the squared signal. Instruments get a number in one of three ways.
- Average-responding meter. It rectifies the signal, averages it, and multiplies by a fixed constant. The display is labelled "RMS", but the meter only computes RMS correctly for a pure sine wave.
- True-RMS meter. It squares the signal, averages it, and takes the square root. It does this either with analog circuitry, with a heating element, or digitally from samples.
- Oscilloscope. It shows the waveform, so you can read peak and peak-to-peak values and convert them yourself. Most scopes also compute RMS from their stored samples.
Why the average-responding meter works only for sines
The average of a rectified sine is not zero. Over one cycle it is
mean(|v|) = 2Vm/π ≈ 0.6366 Vm.
The RMS value is 0.7071 Vm. The ratio of RMS to rectified average is the form factor:
form factor = (Vm/√2) / (2Vm/π) = π/(2√2) ≈ 1.1107.
An average-responding meter multiplies its rectified average by 1.1107. For a sine this gives the exact RMS. For any other shape the constant is wrong, because the ratio of RMS to rectified average differs.
A square wave of peak Vm has a rectified average of Vm and an RMS of Vm. The meter displays 1.1107 Vm, which is 11% too high. A triangle wave has a rectified average of Vm/2 and an RMS of Vm/√3 ≈ 0.5774 Vm. The meter displays 0.5554 Vm, which is 3.8% too low.
| Waveform | True RMS | Average-responding reading | Error | Crest factor (peak/RMS) |
|---|---|---|---|---|
| Sine | 0.7071 Vm | 0.7071 Vm | 0% | 1.414 |
| Square | 1.0000 Vm | 1.1107 Vm | +11.1% | 1.000 |
| Triangle | 0.5774 Vm | 0.5554 Vm | -3.8% | 1.732 |
You can reproduce these numbers by simulating both meters on one period of each waveform.
import numpy as np
Vm = 10.0
N = 100_000
t = np.linspace(0, 1, N, endpoint=False) # one normalised period
waves = {
"sine": Vm * np.sin(2 * np.pi * t),
"square": Vm * np.where(t < 0.5, 1.0, -1.0),
"triangle": Vm * (2 / np.pi) * np.arcsin(np.sin(2 * np.pi * t)),
}
form_factor = np.pi / (2 * np.sqrt(2)) # about 1.1107
for name, v in waves.items():
true_rms = np.sqrt(np.mean(v ** 2))
avg_reading = form_factor * np.mean(np.abs(v))
error = (avg_reading - true_rms) / true_rms * 100
print(f"{name:8s} true = {true_rms:6.3f} V "
f"avg-responding = {avg_reading:6.3f} V error = {error:+5.1f} %")The output shows 7.071 V for the sine with 0% error, 10.000 V against 11.107 V for the square (+11.1%), and 5.774 V against 5.554 V for the triangle (-3.8%).
How a true-RMS meter computes the value
True-RMS instruments use one of three methods.
- Thermal conversion. The signal heats a resistive element, and a second element carries DC to match the temperature. This follows the definition directly, because the RMS value is the DC value that produces the same heating. It is accurate and wideband but slow and expensive.
- Analog computation. A dedicated chip squares, averages, and takes the root using translinear circuits.
- Digital sampling. An ADC samples the signal and a processor evaluates sqrt(mean(v²)). Most modern handheld meters work this way.
Two specifications matter beyond the word "true-RMS".
- Crest factor is peak value divided by RMS value. A meter with a crest-factor limit of 3 cannot measure a signal whose peaks exceed three times its RMS value without internal clipping. Narrow current pulses from rectifier loads, such as computer power supplies, often have crest factors of 2 to 3 or more.
- Bandwidth is the highest frequency at which the stated accuracy holds. A meter rated at 1 kHz bandwidth can mislead you on a signal with large harmonics above that frequency, even if the fundamental is 60 Hz. A square wave has significant harmonics at odd multiples of its fundamental.
AC coupling, DC coupling, and offsets
Many meters in AC mode block DC with a capacitor. Such a meter reports only the RMS of the AC part. If a signal has a DC offset Vdc and an AC part with RMS value Vac, the total RMS value is
Vrms,total = √(Vdc² + Vac²).
This holds because the cross term 2·Vdc·v_ac(t) averages to zero over a full cycle. For example, a 5 V DC offset plus a sine of 3 V peak gives Vac = 3/√2 ≈ 2.121 V. The total is √(25 + 4.5) ≈ 5.431 V. An AC-coupled true-RMS meter would show only 2.121 V. An AC+DC meter shows 5.431 V. Choose the mode that matches the question you are asking.
For heating or power in a resistor, you usually want the total. For an audio ripple on a supply rail, you usually want the AC part alone.
Reading RMS from an oscilloscope
An oscilloscope plots voltage against time, so you see the shape before you trust any number. There are two ways to get RMS from it.
Manual conversion. Read the peak-to-peak value from the screen and halve it to get the peak, which is valid when the waveform is symmetric. Then apply the shape factor.
- For a sine, Vrms = Vpp / (2√2). A reading of 340 Vpp gives 170 V peak and about 120.2 V RMS.
- For a square wave, Vrms = Vpeak.
- For a triangle, Vrms = Vpeak/√3.
This works only when you can identify the shape. It fails for distorted or mixed signals.
Built-in measurement. The scope computes sqrt(mean(v²)) over the samples in the measurement window. Its accuracy depends on how much of the signal that window covers.
Computing RMS over a non-integer number of periods biases the result. This sketch shows the effect for a unit sine measured over 1.1 periods instead of exactly one.
import numpy as np
def rms(v):
return np.sqrt(np.mean(v ** 2))
N = 200_000
periods = 1.1
theta = np.linspace(0, 2 * np.pi * periods, N, endpoint=False)
v = np.sin(theta)
print(f"1.1 periods: {rms(v):.4f}") # about 0.682
print(f"ideal: {1/np.sqrt(2):.4f}") # 0.7071The 1.1-period window reads about 3.5% low. Scopes reduce this error by measuring over whole periods, so make sure at least one full cycle, and preferably several, are on screen. Several cycles also shrink the error from any leftover partial cycle, because the leftover is a smaller fraction of the window.
Common scope pitfalls
- Probe setting. A 10x probe divides the signal by 10. If the scope channel is set to 1x, every reading is ten times too small.
- Coupling. DC coupling includes the offset in the RMS value. AC coupling removes it. Many scopes offer both an "RMS" and an "AC RMS" (or "cycle RMS") measurement.
- Bandwidth and sampling rate. A signal near or above the scope's bandwidth is attenuated. A sampling rate of fewer than a few times the highest important frequency also distorts the shape.
- Vertical resolution. An 8-bit ADC divides the screen into 256 levels. A signal that fills only a tenth of the screen is measured with about 25 levels, so the RMS result is coarse. Adjust the volts-per-division so the waveform fills most of the screen.
- Mains safety. Do not connect a grounded scope probe directly to mains. Use a differential probe or an isolation arrangement.
Choosing an instrument
| Situation | Suitable tool |
|---|---|
| Clean sine at mains frequency, rough value | Average-responding meter |
| Distorted current, switch-mode supplies, dimmers | True-RMS meter with adequate crest factor |
| Unknown shape, timing, or phase | Oscilloscope |
| Signal with significant harmonics above 1 kHz | Wideband true-RMS meter or scope |
| Total heating effect of AC plus DC | True-RMS meter in AC+DC mode |
A practical habit is to measure with both: view the waveform on a scope to see its shape, then use a true-RMS meter for the number. If an average-responding meter and a true-RMS meter disagree, the waveform is not a pure sine.
Exercise
A square wave alternates between +6 V and -6 V. An average-responding meter calibrated for sine waves measures it. What does it display, and what is the true RMS value? Give the percentage error.
Show answer
The rectified average of the square wave is 6 V. The meter multiplies by the form factor 1.1107 and displays 6 × 1.1107 ≈ 6.66 V. The true RMS value of a ±6 V square wave is 6 V, because v² is always 36 V². The error is (6.66 − 6)/6 ≈ +11.1%, so the meter reads high.
Exercise
A signal consists of a 1 V DC offset plus a sine wave of 2 V peak. What total RMS value does a true-RMS meter in AC+DC mode show, and what does it show in AC-coupled mode?
Show answer
The AC part has Vac = 2/√2 ≈ 1.414 V. In AC+DC mode the meter shows √(1² + 1.414²) = √3 ≈ 1.732 V. In AC-coupled mode the DC offset is blocked, so it shows only 1.414 V.
Exercise
On a scope, a symmetric sine wave spans from -2.5 div to +2.5 div at 20 V/div, using a probe correctly set to 1x. Find the peak, peak-to-peak, and RMS values.
Show answer
The waveform spans 5 divisions, so Vpp = 5 × 20 = 100 V. The peak is Vpp/2 = 50 V. The RMS value is 50/√2 ≈ 35.4 V.