RMS value, from the definition
Read the name from the inside to the outside: take the square, take its mean over one period, take the root. The definition holds for a wave of any shape.
A capacitor rated for 250 V DC fails on a 240 V AC supply, because the supply reaches 339 V one hundred times every second. A technician measures 240 V on one phase and 240 V on the next, expects 480 V between them, and reads 415 V. A low-cost clamp meter shows 9.0 A on a cable that carries 10.4 A, and the cable runs hot with no alarm from anyone. Each of these is a correct reading that was understood wrongly. This lesson explains what an AC meter reports, how AC quantities add, and how to find the current and its angle in a load that has both resistance and inductance. #ElectricalPower #RMS #Phasors
By the end of this lesson, you will be able to:
A cold store has a 22 kW compressor motor. Its supply is three-phase and four-wire at 50 Hz: three phase conductors, called a, b and c, and one neutral, called N. A meter between any phase and the neutral reads 240 V. A meter between any two phases reads 415 V. These are the nominal figures in Kenya and much of East Africa. The IEC (International Electrotechnical Commission) nominal figures are 230 V and 400 V, and many countries use them. The method in this lesson is the same for both.
The motor nameplate says 22 kW, 40.0 A, efficiency 91.0 percent and power factor 0.84. The second figure says that the current is not in step with the voltage: it reaches its peak a short time after the voltage does. A person who treats AC as DC cannot explain these numbers: the 415 V looks like an error, the current looks too high for the power, and the voltages around the circuit do not seem to add.
Every later calculation in this course (power, power factor, motor load, voltage drop, the electricity bill) depends on three ideas: the RMS value, the phase angle, and the phasor that carries both.
A generator turns at a steady speed, and the voltage it makes rises, falls and reverses as a sine wave:
Here
At 50 Hz the period is
The mean of a sine wave over a full period is zero, so it is of no use as a measure. Yet a heater on AC becomes hot, because heating depends on the square of the voltage, and a square is never negative.
A resistance
RMS value, from the definition
Read the name from the inside to the outside: take the square, take its mean over one period, take the root. The definition holds for a wave of any shape.
For a sine wave the three operations give a simple result. Square the wave and use
The cosine term has a mean of zero over a period, so the mean of the square is
For the 240 V supply,
Every voltage and current in this course is an RMS value unless the text says otherwise. Meters, nameplates and tariffs all use RMS.
Two sine waves of the same frequency can differ in two ways: in size, and in the time at which they reach their peaks. The second difference is written as an angle, the phase angle
On a 50 Hz supply, a lag of 36° is
To add two sine waves point by point is slow. A phasor does the same work with one arrow for each wave.
Draw an arrow whose length is the RMS value and whose angle is the phase angle. Let all the arrows turn together, anticlockwise, once in each period, like clock hands going backwards: the height of each tip above the horizontal axis follows its sine wave (multiplied by
A phasor is written in two ways.
The letter
In this course the voltage of phase a is the reference at 0°. The phase sequence is a, b, c: phase b lags phase a by 120°, and phase c lags by a further 120°.
To add two phasors, add their horizontal parts and add their vertical parts. On a drawing, place the tail of the second arrow at the tip of the first. The sum is the arrow from the first tail to the last tip.
The common mistake is to add the sizes. Two voltages of 240 V add to 480 V only when they have the same angle. At any other angle the sum is smaller, and at 180° it is zero. An AC meter shows a size and hides the angle, so two meter readings cannot be added unless you know the angle between them.
In a DC circuit the ratio of voltage to current is the resistance. In an AC circuit the ratio of the voltage phasor to the current phasor is the impedance
| Element | Impedance | Size | Current against voltage |
|---|---|---|---|
| Resistance | In phase | ||
| Inductance | Lags by 90° | ||
| Capacitance | Leads by 90° |
A motor winding has both resistance and inductance. In series, the two impedances add:
Series R-L load
The current lags the voltage by the angle
A meter can find an RMS value in two ways.
A true-RMS meter follows the definition: it squares the signal, takes the mean, and takes the root. It is correct for any wave shape within its frequency range.
An average-responding meter is simpler and costs less. It rectifies the signal (makes every negative part positive), measures the mean of the result, and multiplies by a fixed number so that the display is correct for a sine wave. For a sine wave the rectified mean is
On any other wave shape this number is wrong, and the meter gives no warning.
Take a current with a fundamental (the 50 Hz part) of 10.0 A and a third harmonic (a 150 Hz part) of 30 percent, which is 3.0 A. The third harmonic is placed so that it raises the peak. This is the shape drawn by many power supplies and lamp drivers.
The true RMS value comes from the squares, because sine waves of different frequencies add by their squares:
The rectified mean comes from the areas. Over one half period of the fundamental, the third harmonic makes three lobes, alternately positive and negative. Two of them cancel. The one that remains is one third as wide as a lobe of the fundamental, so its area is one third of the area of a fundamental lobe of the same height. With this placement the lobe that remains is subtracted:
The average-responding meter multiplies by 1.111 and shows
Now reverse the sign of the third harmonic, so that it flattens the peak. The true RMS value is still 10.44 A. The same meter now shows 11.00 A, which is 5.4 percent high. The error depends on the size of the harmonic and on its placement, so no single correction factor exists.
A meter between a and b reads the difference of the two phase voltages,
Phase a in rectangular form. The angle is 0°, so the phasor has no vertical part.
Phase a lies along the horizontal axis. ✅
Phase b in rectangular form. Use
Phase b points down and to the left. ✅
Reverse phase b. Change both signs. The reversed phasor has the same size and an angle of
The two phasors to be added are 240 V at 0° and 240 V at 60°. ✅
Add the parts. Horizontal with horizontal, vertical with vertical.
The sum is in rectangular form. ✅
Size.
The meter reads 415.7 V. The nominal figure is rounded to 415 V. ✅
Angle.
The line voltage
The ratio.
The line voltage is
Cosine rule. The two phase phasors and
The geometry gives the same value as the rectangular parts. ✅
Why not 480 V. The sizes add directly only when two phasors have the same angle. Here
Check from the waves. The Python script builds the two sine waves point by point, subtracts them, and applies the definition of RMS to the result. It reports 415.7 V, with a peak of 587.9 V. The phasor method and the definition agree. ✅
Size of the impedance. The ratio of RMS voltage to RMS current.
The load has an impedance of 6.00 Ω. ✅
Angle. The power factor is the cosine of the angle.
The current lags the voltage by 32.86°. ✅
Resistance. The horizontal side of the impedance triangle.
✅
Reactance. The vertical side, with
✅
Inductance. From
The model of one phase is 5.04 Ω in series with 10.4 mH. ✅
Start again from
Impedance in polar form.
✅
Current phasor. Divide the sizes and subtract the angles.
The current is 40.0 A and lags by 32.9°, and
Lag as a time.
The current reaches each peak 1.83 ms after the voltage. ✅
Voltage across each element.
The two sizes add to 331.8 V, which is more than the supply. This is not an error. The two voltages are 90° apart, so they add as phasors:
Check by power. Only the resistance takes real power.
Three phases take
The script applies the definition of RMS to a sampled sine wave, finds the line voltage with complex numbers and again from the waves, solves the series R-L load in both directions, and compares an average-responding meter with the true RMS value on the two distorted currents from the theory section.
"""RMS from its definition, line voltage by phasors, a series R-L load, and two meters."""import cmathimport mathimport numpy as npimport matplotlib.pyplot as plt
F = 50.0 # HzV_PH = 240.0 # V RMS, line to neutralW = 2.0 * math.pi * F # rad/s
def polar(z): """Magnitude and angle in degrees of a complex number.""" return abs(z), math.degrees(cmath.phase(z))
def phasor(mag, deg): return cmath.rect(mag, math.radians(deg))
# ---------- RMS from the definition ----------t = np.linspace(0.0, 1.0 / F, 20000, endpoint=False) # one full periodv_a = V_PH * math.sqrt(2.0) * np.sin(W * t)rms = math.sqrt(np.mean(v_a ** 2))print("RMS from the definition")print(f" period {1000.0 / F:.1f} ms, peak {v_a.max():.1f} V, " f"root of mean of square {rms:.1f} V")print(f" peak / RMS = {v_a.max() / rms:.4f}")
# ---------- Application 1: line voltage from two phase voltages ----------Va = phasor(V_PH, 0.0)Vb = phasor(V_PH, -120.0)Vab = Va - Vbprint("Application 1: line voltage")print(f" Va = {Va.real:.1f} {Va.imag:+.1f}j V, Vb = {Vb.real:.1f} {Vb.imag:+.1f}j V")print(f" Vab = Va - Vb = {Vab.real:.1f} {Vab.imag:+.1f}j V " f"= {polar(Vab)[0]:.1f} V at {polar(Vab)[1]:.1f} deg")print(f" ratio Vab / Vph = {abs(Vab) / V_PH:.4f}")print(f" wrong sum Va + Vb = {polar(Va + Vb)[0]:.1f} V at {polar(Va + Vb)[1]:.1f} deg")v_b = V_PH * math.sqrt(2.0) * np.sin(W * t - math.radians(120.0))v_ab = v_a - v_bprint(f" from the waves: RMS of (va - vb) = {math.sqrt(np.mean(v_ab ** 2)):.1f} V, " f"peak {v_ab.max():.1f} V")
# ---------- Application 2: series R-L model of one phase of the motor ----------I_FL = 40.0 # A RMSPF = 0.84 # laggingZ = V_PH / I_FLphi = math.acos(PF)R = Z * PFX = Z * math.sin(phi)L = X / Wprint("Application 2: series R-L load")print(f" Z = {Z:.2f} ohm, angle {math.degrees(phi):.2f} deg")print(f" R = {R:.2f} ohm, X = {X:.2f} ohm, L = {1000.0 * L:.1f} mH")I = Va / complex(R, X)print(f" check: I = V / (R + jX) = {polar(I)[0]:.1f} A at {polar(I)[1]:.2f} deg, " f"power factor {math.cos(cmath.phase(I)):.2f}")print(f" current lags the voltage by {1000.0 * phi / W:.2f} ms")print(f" V_R = {abs(I) * R:.1f} V, V_L = {abs(I) * X:.1f} V, " f"arithmetic sum {abs(I) * (R + X):.1f} V, " f"phasor sum {abs(I * R + I * 1j * X):.1f} V")P1 = (Va * I.conjugate()).realprint(f" power in one phase: {P1:.0f} W = I^2 R = {abs(I) ** 2 * R:.0f} W, " f"three phases {3.0 * P1 / 1000.0:.2f} kW")
# ---------- Two meters on a distorted current ----------FORM = math.pi / (2.0 * math.sqrt(2.0)) # 1.1107, RMS / rectified mean of a sineI1 = 10.0 # A RMS, fundamentalprint("Average-responding meter against true RMS")print(f" scale factor for a sine wave: {FORM:.4f}")x = W * tfor name, sign in (("peaked wave (third harmonic raises the peak)", -1.0), ("flattened wave (third harmonic lowers the peak)", +1.0)): i = I1 * math.sqrt(2.0) * (np.sin(x) + sign * 0.30 * np.sin(3.0 * x)) true_rms = math.sqrt(np.mean(i ** 2)) reading = FORM * np.mean(np.abs(i)) print(f" {name}:") print(f" peak {np.abs(i).max():.1f} A, true RMS {true_rms:.2f} A, " f"meter reads {reading:.2f} A, error {100.0 * (reading / true_rms - 1.0):+.1f} %")
# ---------- Plot ----------ms = 1000.0 * tfig, ax = plt.subplots(2, 1, figsize=(8, 7))ax[0].plot(ms, v_a, label="va (240 V RMS)")ax[0].plot(ms, v_b, label="vb (240 V RMS)")ax[0].plot(ms, v_ab, "--", label="va - vb (415.7 V RMS)")ax[0].axhline(0.0, color="gray", linewidth=0.8)ax[0].set_xlabel("time (ms)")ax[0].set_ylabel("voltage (V)")ax[0].set_title("Two phase voltages and the line voltage between them")ax[0].legend()i_load = abs(I) * math.sqrt(2.0) * np.sin(W * t + cmath.phase(I))ax[1].plot(ms, v_a, label="voltage (V)")ax[1].plot(ms, 5.0 * i_load, label="current x 5 (A)")ax[1].axhline(0.0, color="gray", linewidth=0.8)ax[1].set_xlabel("time (ms)")ax[1].set_title("Series R-L load: the current lags the voltage")ax[1].legend()fig.tight_layout()fig.savefig("ac_rms_phasors.png", dpi=120)print("Saved ac_rms_phasors.png")Expected output
RMS from the definition period 20.0 ms, peak 339.4 V, root of mean of square 240.0 V peak / RMS = 1.4142Application 1: line voltage Va = 240.0 +0.0j V, Vb = -120.0 -207.8j V Vab = Va - Vb = 360.0 +207.8j V = 415.7 V at 30.0 deg ratio Vab / Vph = 1.7321 wrong sum Va + Vb = 240.0 V at -60.0 deg from the waves: RMS of (va - vb) = 415.7 V, peak 587.9 VApplication 2: series R-L load Z = 6.00 ohm, angle 32.86 deg R = 5.04 ohm, X = 3.26 ohm, L = 10.4 mH check: I = V / (R + jX) = 40.0 A at -32.86 deg, power factor 0.84 current lags the voltage by 1.83 ms V_R = 201.6 V, V_L = 130.2 V, arithmetic sum 331.8 V, phasor sum 240.0 V power in one phase: 8064 W = I^2 R = 8064 W, three phases 24.19 kWAverage-responding meter against true RMS scale factor for a sine wave: 1.1107 peaked wave (third harmonic raises the peak): peak 18.4 A, true RMS 10.44 A, meter reads 9.00 A, error -13.8 % flattened wave (third harmonic lowers the peak): peak 13.0 A, true RMS 10.44 A, meter reads 11.00 A, error +5.4 %Saved ac_rms_phasors.pngThe line “wrong sum” shows what happens if the two phase voltages are added without reversing one: the result is 240 V, which is the size of the third phase voltage reversed, and not what a meter between two phases reads. In the lower plot the current crosses zero 1.83 ms after the voltage on every half period.
1. A supply is 230 V RMS at 60 Hz. Find its peak voltage and its period.
2. A 2.0 kW heater is a pure resistance on a 240 V supply. Find its RMS current, its peak current and its resistance.
3. Two loads are supplied from the same phase. The first draws 12 A in phase with the voltage. The second draws 9 A that lags the voltage by 90°. Find the size and the angle of the total current.
In rectangular form the total is
4. A coil has a resistance of 8.0 Ω and an inductance of 25 mH. It is connected to 240 V at 50 Hz. Find the reactance, the impedance, the current, the phase angle and the power factor.
5. A capacitor of 100 µF is connected to 240 V at 50 Hz. Find its reactance, its current, and the angle of the current against the voltage.
6. A current has a fundamental of 20.0 A and a third harmonic of 25 percent, placed so that it raises the peak. Find the true RMS current, the reading of an average-responding meter, and the error of that meter in percent.
True RMS:
Two voltages of 240 V RMS at the same frequency are added. The second one reaches its peak one third of a period after the first (it lags by 120°). What is the RMS value of the sum?
Arrow A is the reference at 0°. Arrow B is turned clockwise because it lags. The dashed arrow is the second term moved to the tip of A: B itself when you add, B reversed when you subtract. The gold arrow, from the origin to the last tip, is the result. The dashed ring shows the two sizes added as plain numbers. The result reaches the ring only when the two terms point the same way. In the wave drawing the gold curve is the two waves added or subtracted point by point, and the dashed gold line is its RMS value, which equals the length of the gold arrow. The first preset is the lesson's line voltage, Vab = Va − Vb.
Three questions. Each wrong choice is a mistake people really make, so read the note after you answer.
1. A heater draws 8 A in phase with the voltage. A motor on the same phase draws 6 A that lags the voltage by 90°. What current does the supply cable carry?
2. Two phasors of 240 V are added. At which angle between them is the sum also 240 V?
3. A component is connected between two phases of a supply that has 240 V from each phase to neutral. What peak voltage must its insulation withstand?
No comments yet. Questions, results from your own build, a better way to explain it: all welcome.
Kept on this device only. Nothing is sent anywhere.
Tip: select words in the lesson, or tap a figure or an equation, to put a note right there.
The lesson has changed and these words are no longer in it. Your notes are kept, with the words you chose.