Sub topic 11
Peak, average and rms values of AC
This chapter assumes you know basic trigonometry, simple derivatives, and the idea of an average over a cycle. It also assumes you know that a rotating coil produces a sinusoidal emf. Here you learn which number describes an AC signal and why the rms value is the one that matters for power.
Why one number is not enough
An AC source gives a voltage that changes with time:
V(t) = V₀ sin(ωt)
Here V(t) is the instantaneous value, V₀ is the peak value (the largest magnitude), and ω = 2πf is the angular frequency. The same form applies to current: I(t) = I₀ sin(ωt).
The instantaneous value changes constantly, so it is rarely useful. We need one number that describes the signal's effect.
Average value
The average of a sine wave over a full cycle is zero. The positive half cancels the negative half.
Over a half cycle, the average is not zero:
Iavg = (1/(T/2)) ∫ I₀ sin(ωt) dt, taken from 0 to T/2, which gives Iavg = 2I₀/π ≈ 0.637 I₀
This is the mean of the rectified signal. It is the quantity a moving-coil meter responds to after rectification.
RMS value
Heating depends on I², which is never negative. So we average the square instead of the signal. The rms (root mean square) value is the square root of the mean of the square:
I_rms = √⟨I²⟩
For a sine wave, ⟨sin²(ωt)⟩ = 1/2 over a cycle. So:
Irms = I₀/√2 ≈ 0.707 I₀ Vrms = V₀/√2
The rms value is the steady DC value that would produce the same heating in a resistor. Household mains of 220 V is an rms value, so its peak is 220 × √2 ≈ 311 V.
| Quantity | Symbol | Value for a sine wave |
|---|---|---|
| Peak | I₀ | I₀ |
| Average over full cycle | ⟨I⟩ | 0 |
| Average over half cycle | I_avg | 2I₀/π ≈ 0.637 I₀ |
| rms | I_rms | I₀/√2 ≈ 0.707 I₀ |
Checking the numbers in code
This program connects the generator emf to its rms value. It then confirms numerically that the rms and half-cycle average match the formulas.
import math
N, B, A, f = 100, 0.5, 0.02, 50
omega = 2 * math.pi * f
e0 = N * B * A * omega
print(f"peak emf = {e0:.1f} V, rms emf = {e0 / math.sqrt(2):.1f} V")
# Numerical check over one cycle
steps = 100000
T = 1 / f
dt = T / steps
squares = 0.0
half_sum = 0.0
for k in range(steps):
t = k * dt
v = e0 * math.sin(omega * t)
squares += v * v
if t < T / 2:
half_sum += v
rms = math.sqrt(squares / steps)
half_avg = half_sum / (steps / 2)
print(f"numerical rms = {rms:.1f} V")
print(f"numerical half-cycle average = {half_avg:.1f} V, formula = {2 * e0 / math.pi:.1f} V")Common errors
- Saying the average of AC is 0.637 I₀ without stating "over a half cycle". Over a full cycle it is zero.
- Using the 1/√2 factor for non-sinusoidal waves. It holds only for sine waves.
- Forgetting that frequency does not change rms values. Only amplitude does.
Exercise
A 50 Hz AC supply has a peak voltage of 311 V. Find the rms voltage, and find the time taken after t = 0 for the instantaneous voltage to first reach 155.5 V.
Show answer
V_rms = 311/√2 ≈ 220 V. For V = V₀ sin(ωt) = 155.5 V, sin(ωt) = 0.5, so ωt = π/6. With ω = 2π × 50 = 100π rad/s, t = (π/6)/(100π) = 1/600 s ≈ 1.67 ms.
Exercise
An alternating current is given by I = 10 sin(100πt) A. What is the rms current, and what is the average current over a half cycle?
Show answer
I₀ = 10 A. I_rms = 10/√2 ≈ 7.07 A. Half-cycle average = 2 × 10/π ≈ 6.37 A.