TExcelTAD
Home › Circuit Theory & Network Analysis › Instantaneous and Average Power

Instantaneous and Average Power

Measure the RMS voltage and the RMS current of a small AC motor or a transformer winding, multiply them, and you get more than the power a wattmeter shows. For a load with Z=30+j40 ΩZ = 30 + j40\ \Omega on 10 V10\ \text{V} RMS, VrmsIrms=2 WV_\text{rms} I_\text{rms} = 2\ \text{W}, but the load turns only 1.2 W1.2\ \text{W} into heat. Where does the rest go? Nowhere: it sloshes back and forth between the source and the load's inductance twice per cycle. This lesson separates the power that does work from the power that only circulates. The next one, Complex Power, Power Factor and Correction, turns this into the bookkeeping power engineers use.

Instantaneous power

At every instant the power delivered to a two-terminal element is p(t)=v(t) i(t)p(t) = v(t)\,i(t) (passive sign convention: positive means absorbed, Circuit Elements, Topology and the Passive Sign Convention). With v=2Vcos⁡(ωt+θv)v = \sqrt{2}V\cos(\omega t + \theta_v) and i=2Icos⁡(ωt+θi)i = \sqrt{2}I\cos(\omega t + \theta_i), where VV and II are RMS values, the product identity 2cos⁡acos⁡b=cos⁡(a−b)+cos⁡(a+b)2\cos a \cos b = \cos(a - b) + \cos(a + b) gives

p(t)=VIcos⁡ϕ⏟constant+VIcos⁡(2ωt+θv+θi)⏟oscillates at 2ω,ϕ=θv−θip(t) = \underbrace{V I \cos\phi}_{\text{constant}} + \underbrace{V I \cos(2\omega t + \theta_v + \theta_i)}_{\text{oscillates at } 2\omega}, \qquad \phi = \theta_v - \theta_i

ϕ\phi is the angle by which the voltage leads the current, which equals the angle of the load impedance, ϕ=arg⁡Z\phi = \arg Z. Two facts follow:

  • p(t)p(t) oscillates at twice the source frequency.
  • Its average over a period is the constant term; the oscillating term averages to zero.
P v (peak 14.1 V) one period, T = 1 ms p = v i (peak 3.2 W) i (peak 0.28 A, lags 53 deg) p < 0 p < 0

Average (real) power

P=1T∫0Tp(t) dt=VIcos⁡ϕ=I2R=VR2R[W]P = \frac{1}{T}\int_0^T p(t)\,dt = V I \cos\phi = I^2 R = \frac{V_R^2}{R} \qquad [\text{W}]
load ϕ\phi PP what p(t)p(t) does
resistor 0∘0^\circ VIVI always ≥0\ge 0, between 00 and 2VI2VI
inductor +90∘+90^\circ 00 ±VI\pm VI: stores energy for a quarter period, returns it the next
capacitor −90∘-90^\circ 00 the same, in the opposite phase to an inductor
R+jXR + jX between I2RI^2 R negative for part of each cycle when X≠0X \ne 0

Only the resistance absorbs average power. Ideal inductors and capacitors trade energy with the source; their average power is zero. The amplitude of that trade has its own name, the reactive power:

Q=VIsin⁡ϕ=I2X[var, volt-ampere reactive]Q = V I \sin\phi = I^2 X \qquad [\text{var, volt-ampere reactive}]

Q>0Q > 0 for an inductive load, Q<0Q < 0 for a capacitive one. For an inductor, Q=ωLI2=2ω⋅12LI2Q = \omega L I^2 = 2\omega \cdot \tfrac{1}{2} L I^2: proportional to the average stored energy and to how often it is exchanged. The product S=VIS = VI, the apparent power in volt-amperes (VA), is what the source and the wiring must be rated for, because they carry the full current whether or not it does work. P/S=cos⁡ϕP/S = \cos\phi is the power factor.

The RMS values themselves come from the same averaging: Vrms=v2‾V_\text{rms} = \sqrt{\overline{v^2}}, which for a sinusoid is Vm/2V_m/\sqrt{2} (Alternating Current and RMS Values). That is why RMS phasors make P=VIcos⁡ϕP = VI\cos\phi free of factors 1/21/2; with amplitude phasors, P=12VmImcos⁡ϕP = \tfrac{1}{2}V_m I_m \cos\phi.

The school-physics AC lab shows the resistive case: p=u2/Rp = u^2/R is never negative and averages to U02/2RU_0^2/2R (it writes the voltage as uu, amplitude U0U_0). With U0=10 VU_0 = 10\ \text{V} and R=10 ΩR = 10\ \Omega the average is 5 W5\ \text{W}, half the peak power of 10 W10\ \text{W}.

U0rotating phasoru (V)tUrms = 7.07 V10.0−10.0T = 2.00 sp = u²/R (W)average P = 5.00 W10.00R = 10 Ωi = 0.00 A

Worked example

Given: V=10 V∠0∘\mathbf{V} = 10\ \text{V} \angle 0^\circ RMS at 1 kHz1\ \text{kHz} across Z=30+j40 ΩZ = 30 + j40\ \Omega (a 30 Ω30\ \Omega resistance in series with 6.366 mH6.366\ \text{mH}).

Find: I\mathbf{I}, PP, QQ, SS, the power factor, and the range of p(t)p(t).

Solve:

∣Z∣=302+402=50 Ω,ϕ=arctan⁡4030=53.13∘I=10∠0∘50∠53.13∘=0.200 A∠−53.13∘P=VIcos⁡ϕ=10⋅0.2⋅0.6=1.20 W(=I2R=0.04⋅30)Q=VIsin⁡ϕ=10⋅0.2⋅0.8=1.60 var(=I2X=0.04⋅40)S=VI=2.00 VA,pf=cos⁡ϕ=0.600p(t)=1.20+2.00cos⁡(2ωt−53.13∘) W∈[−0.80, 3.20] W\begin{aligned} \lvert Z \rvert &= \sqrt{30^2 + 40^2} = 50\ \Omega, \quad \phi = \arctan\frac{40}{30} = 53.13^\circ \\ \mathbf{I} &= \frac{10\angle 0^\circ}{50\angle 53.13^\circ} = 0.200\ \text{A} \angle -53.13^\circ \\ P &= VI\cos\phi = 10 \cdot 0.2 \cdot 0.6 = 1.20\ \text{W} \quad (= I^2 R = 0.04 \cdot 30) \\ Q &= VI\sin\phi = 10 \cdot 0.2 \cdot 0.8 = 1.60\ \text{var} \quad (= I^2 X = 0.04 \cdot 40) \\ S &= VI = 2.00\ \text{VA}, \qquad \text{pf} = \cos\phi = 0.600 \\ p(t) &= 1.20 + 2.00\cos(2\omega t - 53.13^\circ)\ \text{W} \in [-0.80,\ 3.20]\ \text{W} \end{aligned}

Check: P2+Q2=1.44+2.56=4.00=S2P^2 + Q^2 = 1.44 + 2.56 = 4.00 = S^2. For about 30 % of each period p(t)<0p(t) < 0: the inductor hands energy back to the source.

In Python: averaging the samples

python · try it yourself
import numpy as np

f, V = 1e3, 10.0                         # rms source, 0 deg
w = 2 * np.pi * f
Z = 30 + 40j
I = V / Z                                # rms phasor
phi = np.angle(Z)
P = V * abs(I) * np.cos(phi)
Q = V * abs(I) * np.sin(phi)
print(f"|I| = {abs(I):.3f} A, phi = {np.degrees(phi):.2f} deg")
print(f"P = {P:.3f} W, Q = {Q:.3f} var, pf = {np.cos(phi):.3f}")

# instantaneous power from samples of one period
t = np.linspace(0, 1 / f, 10000, endpoint=False)
v = np.sqrt(2) * V * np.cos(w * t)
i = np.sqrt(2) * abs(I) * np.cos(w * t + np.angle(I))
p = v * i
print(f"mean(p) = {p.mean():.3f} W, min = {p.min():.3f} W, max = {p.max():.3f} W")
print(f"rms from samples: V = {np.sqrt(np.mean(v**2)):.3f} V, I = {np.sqrt(np.mean(i**2)):.3f} A")
print(f"fraction of the period with p < 0: {np.mean(p < 0):.3f}")
L = Z.imag / w
print(f"L = {L * 1e3:.3f} mH stores at most {0.5 * L * (np.sqrt(2) * abs(I))**2 * 1e3:.4f} mJ")
|I| = 0.200 A, phi = 53.13 deg
P = 1.200 W, Q = 1.600 var, pf = 0.600
mean(p) = 1.200 W, min = -0.800 W, max = 3.200 W
rms from samples: V = 10.000 V, I = 0.200 A
fraction of the period with p < 0: 0.295
L = 6.366 mH stores at most 0.2546 mJ

A digital power analyser does exactly this: it samples vv and ii fast, multiplies, and averages. That is why it reads true power for any waveform, while "RMS volts times RMS amps" only gives SS.

Interactive: change the load angle

The phasor lab draws the impedance and power triangles. With R=30 ΩR = 30\ \Omega and L=6 mHL = 6\ \text{mH} at 1 kHz1\ \text{kHz} (close to the worked example) it reads XL=37.70 ΩX_L = 37.70\ \Omega, ϕ=51.5∘\phi = 51.5^\circ, ∣I∣=207.6 mA\lvert \mathbf{I} \rvert = 207.6\ \text{mA}, P=1.292 WP = 1.292\ \text{W}, Q=1.624 varQ = 1.624\ \text{var}, S=2.076 VAS = 2.076\ \text{VA} and a power factor of 0.62270.6227 lagging. Drag LL down and watch QQ shrink and the power factor approach 1.

ReImVRVLVIphi = 51.5 deg, I lags(I drawn on its own scale)-pk0+pk0T/2T3T/22Tv(t), peak 14.1 Vi(t), peak 294 mAimpedance trianglepower triangleRX|Z|PQSR = 30.0 OhmP = 1.29 WX = 37.7 OhmQ = 1.62 var|Z| = 48.2 OhmS = 2.08 VApf = cos phi = 0.623 lagging

Guided lab: measure true power with a scope

Hand calculation. A function generator at 1.00 kHz1.00\ \text{kHz}, 5.0 V5.0\ \text{V} peak drives 100 Ω100\ \Omega in series with 10 mH10\ \text{mH}, with a 10 Ω10\ \Omega sense resistor at the ground end. Total Z=110+j62.83 ΩZ = 110 + j62.83\ \Omega, ϕ=29.7∘\phi = 29.7^\circ, Im=5.0/126.7=39.5 mAI_m = 5.0/126.7 = 39.5\ \text{mA} peak. Power into the whole network: P=12VmImcos⁡ϕ=85.7 mWP = \tfrac{1}{2} V_m I_m \cos\phi = 85.7\ \text{mW}; into the 100 Ω100\ \Omega resistor alone 12Im2R=77.9 mW\tfrac{1}{2} I_m^2 R = 77.9\ \text{mW} (the rest heats the sense resistor; an inductor's winding resistance adds more in practice).

Simulation. Run the Python lines with Z = 110 + 62.83j and V = 5 / np.sqrt(2), or set the phasor lab to R=100 ΩR = 100\ \Omega (its sense resistor is not modelled) at 1 kHz.

What you would measure. Channel 1: generator output; channel 2: across the 10 Ω10\ \Omega sense resistor (peak about 0.395 V0.395\ \text{V}). Use the scope's math to display CH1 × CH2 / 10 Ω10\ \Omega, then measure its mean: expect about 86 mW86\ \text{mW}, and a waveform at 2 kHz2\ \text{kHz} that dips slightly below zero. Uncertainty: scope vertical gain is typically 2 to 3 % per channel, so the product carries about ±5 %\pm 5\,\%, plus the inductor's winding resistance, which you should measure and include.

Hazards and safe setup. Signal level only (at most 10 V10\ \text{V} peak, tens of milliwatts). Both scope grounds at the bottom of the sense resistor. Never try this with a mains-connected load and a scope: mains power is measured with an isolated, rated power analyser, and in this course only by calculation.

Pitfalls

  • P=VrmsIrmsP = V_\text{rms} I_\text{rms} for a reactive load. That is SS, in VA, not watts.
  • Factor 12\tfrac{1}{2} errors. Use 12VmImcos⁡ϕ\tfrac{1}{2}V_m I_m\cos\phi with peak values, VIcos⁡ϕVI\cos\phi with RMS values.
  • The sign of ϕ\phi. ϕ=θv−θi\phi = \theta_v - \theta_i; inductive loads have ϕ>0\phi > 0 and Q>0Q > 0.
  • Using V2/RV^2/R with the total voltage. V2/RV^2/R holds only for the voltage across the resistance itself; for R+jXR + jX use I2RI^2R.
  • Averaging over a partial period. Average over whole periods of p(t)p(t) (half the source period is enough) or the result wobbles.

Practice

  1. A 230 V230\ \text{V} RMS, 50 Hz50\ \text{Hz} heater draws 4.35 A4.35\ \text{A}. What is its power? (Calculation only.)
  2. Find PP and QQ for V=12 V∠0∘\mathbf{V} = 12\ \text{V}\angle 0^\circ RMS across Z=8−j6 ΩZ = 8 - j6\ \Omega.
  3. An ideal 1 μF1\ \mu\text{F} capacitor sits across 5 V5\ \text{V} RMS at 1 kHz1\ \text{kHz}. Find PP, QQ and the peak of p(t)p(t).
Answer
  1. P=230⋅4.35=1000 WP = 230 \cdot 4.35 = 1000\ \text{W} (a resistive load, so cos⁡ϕ=1\cos\phi = 1).
  2. ∣Z∣=10 Ω\lvert Z \rvert = 10\ \Omega, I=1.2 AI = 1.2\ \text{A}: P=I2R=11.52 WP = I^2 R = 11.52\ \text{W}, Q=I2X=−8.64 varQ = I^2 X = -8.64\ \text{var} (capacitive).
  3. I=ωCV=31.42 mAI = \omega C V = 31.42\ \text{mA}: P=0P = 0, Q=−VI=−0.157 varQ = -VI = -0.157\ \text{var}, and p(t)=VIcos⁡(…)p(t) = VI\cos(\ldots) peaks at ±0.157 W\pm 0.157\ \text{W}.

Test yourself

At what frequency does the instantaneous power of a 50 Hz load oscillate?

  1. 25 Hz
  2. 50 Hz
  3. 100 Hz
  4. it does not oscillate

What is the average power absorbed by an ideal inductor in sinusoidal steady state?

  1. VIVI
  2. VI/2VI/2
  3. zero
  4. I2XLI^2 X_L

A load draws 2 A RMS at 100 V RMS with the current lagging by 60∘60^\circ. What is the real power?

  1. 200 W
  2. 173 W
  3. 100 W
  4. 0 W

Why does a wattmeter read less than the product of a voltmeter and an ammeter on an inductive load?

  1. the meters are inaccurate
  2. VIVI is the apparent power; only VIcos⁡ϕVI\cos\phi is converted to heat or work
  3. the wattmeter reads peak values
  4. inductors generate power