Sub topic 5
Instantaneous power and why it oscillates
This chapter assumes you can work with sinusoids, RMS values and phase angle, and that you know the product-to-sum trig identity.
Power at a single instant
The instantaneous power is the product of the voltage and current at the same moment:
p(t) = v(t) · i(t)
Take a sinusoidal voltage and a current that lags it by the angle φ:
- v(t) = √2 · V_rms · sin(ωt)
- i(t) = √2 · I_rms · sin(ωt − φ)
Multiplying gives 2 · Vrms · Irms · sin(ωt) · sin(ωt − φ). The identity sin A · sin B = ½[cos(A − B) − cos(A + B)] turns this into:
p(t) = Vrms · Irms · cos φ − Vrms · Irms · cos(2ωt − φ)
Reading the result
The equation has two terms:
- A constant term, Vrms · Irms · cos φ. This is the average of p(t) over a cycle. It is the real power P.
- An oscillating term with amplitude Vrms · Irms. It swings at 2ω, twice the line frequency, so a 50 Hz supply gives power pulsations at 100 Hz. Its average over a cycle is zero.
The doubled frequency arises because the product of two sinusoids is always a sinusoid of the sum frequency plus a constant. When both v and i flip sign together, p stays positive. When only one flips, p goes negative.
Three cases
| Load | φ | p(t) behavior | Average |
|---|---|---|---|
| Resistor | 0° | Never negative. Ranges from 0 to 2 V_rms I_rms. | V_rms I_rms |
| Ideal inductor or capacitor | ±90° | Swings symmetrically about zero. | 0 |
| Series R-L | between 0° and 90° | Dips below zero for part of each cycle. | V_rms I_rms cos φ |
Negative p(t) means energy is flowing from the load back to the source. A resistor never returns energy. An inductor or capacitor stores energy in its field and gives it back later. The more reactive the load, the larger the negative portion.
For general φ, p(t) ranges from Vrms · Irms · (cos φ − 1) to Vrms · Irms · (cos φ + 1).
Checking the average numerically
The script below uses the load from the earlier example: 230 V RMS, 16.263 A RMS, a 45° lag, at 50 Hz. It averages v·i over exactly one period and compares the result with Vrms · Irms · cos φ.
import math
Vrms = 230.0
Irms = 16.263 # amperes
phi = math.radians(45) # current lags voltage by 45 degrees
f = 50.0
N = 1000 # samples over exactly one period
p_sum = 0.0
for n in range(N):
t = n / (N * f)
v = math.sqrt(2) * Vrms * math.sin(2 * math.pi * f * t)
i = math.sqrt(2) * Irms * math.sin(2 * math.pi * f * t - phi)
p_sum += v * i
P_avg = p_sum / N
print(f"average of v*i = {P_avg:.0f} W")
print(f"Vrms*Irms*cos(phi) = {Vrms * Irms * math.cos(phi):.0f} W")Both lines print about 2645 W.
Common errors
- Treating the peak of p(t) as the real power. The peak is Vrms · Irms · (1 + cos φ), which is larger than P.
- Expecting p(t) to oscillate at the line frequency. It oscillates at twice that frequency.
- Reading negative p(t) as a fault. It is normal for any load with reactance.
Exercise
A load has Vrms = 120 V, Irms = 10 A, and the current lags the voltage by 60°. Find the average power, the maximum of p(t), and the minimum of p(t).
Show answer
Vrms · Irms = 1200 VA and cos 60° = 0.5. The average power is 1200 × 0.5 = 600 W. The maximum is 1200 × (0.5 + 1) = 1800 W. The minimum is 1200 × (0.5 − 1) = −600 W. The negative minimum shows that energy flows back to the source during part of each cycle.