bitGateLab Analog · Learn
English
Open the simulator

Learn › Topic 7

Alternating Current and Phasors: Sine Waves, RMS and Impedance

8 min read · bitGateLab Team

The power that reaches your home, the signal from a microphone and the output of a function generator have something in common: they change over time following, or approximating, a sine wave. To analyze circuits with this kind of signal you need three tools: knowing how to read the parameters of a sinusoid, understanding what the RMS value means, and working with phasors and impedances. With them, an alternating current (AC) circuit is solved with the same Ohm's and Kirchhoff's laws you already use for direct current, only with complex numbers.

The sinusoidal signal and its parameters

A sinusoidal voltage is written like this:

v(t) = Vp · sin(ωt + φ)

Phase on its own does not say much; what matters is the phase difference between two signals of the same frequency, for example between the voltage and the current of a component.

Effective (RMS) value

The RMS (root mean square) value of an alternating voltage is the DC voltage that would deliver the same average power to a resistor. For a pure sinusoid:

Vrms = Vp / √2 ≈ 0.707 · Vp
The relationship Vp/√2 holds only for sinusoids. A symmetric square wave of amplitude Vp has Vrms = Vp, and a triangle wave has Vp/√3. AC multimeters that are not "true RMS" assume a sinusoid and give wrong readings for other waveforms.

Example: the wall outlet. In Mexico, household mains power is 127 V RMS at 60 Hz.

  1. Peak value: Vp = 127 · √2 = 179.6 V.
  2. Peak-to-peak value: Vpp = 2 · 179.6 = 359.2 V.
  3. Period: T = 1/60 = 16.67 ms.
  4. Angular frequency: ω = 2π · 60 = 377 rad/s.

So the outlet voltage is v(t) = 179.6 · sin(377t) V. When someone says "127 volts", they mean the RMS value, not the peak.

Phasors: the sinusoid as a complex number

In a linear circuit driven at a single frequency, all the voltages and currents are sinusoids of that same frequency. The only things that change from one signal to another are the amplitude and the phase. A phasor stores exactly those two pieces of information in a complex number:

v(t) = Vp · sin(ωt + φ)   →   V = Vp ∠ φ

You can write it in polar form (magnitude and angle) or rectangular form (real and imaginary parts):

Vp ∠ φ = Vp·cos φ + j·Vp·sin φ

Here j = √(−1); electronics uses j instead of i so that it is not confused with current. The advantage of phasors is that differentiating with respect to time becomes multiplying by jω. That turns the differential equations of inductors and capacitors into algebraic equations. You can use peak values or RMS values in phasors, as long as you do not mix them in the same calculation.

Impedance of R, L and C

The impedance Z is the AC version of resistance: Z = V/I, measured in ohms. It is a complex number: its real part is the resistance and its imaginary part is the reactance X.

ComponentImpedanceReactancePhase relationship
ResistorZ = R0V and I in phase
InductorZ = jωLXL = ωLV leads I by 90°
CapacitorZ = 1/(jωC) = −j/(ωC)XC = 1/(ωC)V lags I by 90°

Notice the frequency dependence: the inductor's reactance grows with f, and the capacitor's decreases. At DC (f = 0) the inductor is a short circuit and the capacitor an open circuit; at very high frequencies the opposite happens.

Example: reactances at 1 kHz. A 10 mH inductor and a 1 µF capacitor at f = 1 kHz (ω = 6283 rad/s):

  1. XL = 6283 · 0.010 = 62.8 Ω, so ZL = j62.8 Ω.
  2. XC = 1/(6283 · 1×10−6) = 159.2 Ω, so ZC = −j159.2 Ω.

If you double the frequency to 2 kHz, XL rises to 125.7 Ω and XC falls to 79.6 Ω.

Complete example: a series RC circuit in AC

Impedances in series add just like resistances, and Ohm's law is applied with phasors.

Given: a sinusoidal source of 5 V peak at 100 Hz drives a 1 kΩ resistor in series with a 1 µF capacitor. Find the current and the voltages across R and across C.

  1. Capacitor reactance: XC = 1/(2π · 100 · 1×10−6) = 1591.5 Ω.
  2. Total impedance: Z = 1000 − j1591.5 Ω.
  3. Magnitude: |Z| = √(1000² + 1591.5²) = 1879.6 Ω. Angle: arctan(−1591.5/1000) = −57.9°. So Z = 1879.6 ∠ −57.9° Ω.
  4. Current, taking the source as the reference (5 ∠ 0° V): I = 5 ∠ 0° / 1879.6 ∠ −57.9° = 2.66 ∠ +57.9° mA peak. The current leads the source voltage by 57.9°: the circuit is capacitive.
  5. Voltage across R: VR = R·I = 2.66 ∠ 57.9° V peak (in phase with the current).
  6. Voltage across C: VC = (−j1591.5)·I = 4.23 ∠ −32.1° V peak (lagging the current by 90°).
  7. Check: √(2.66² + 4.23²) = 5.00 V. The phasor sum reproduces the source.

Notice that 2.66 + 4.23 = 6.89 V, more than the 5 V of the source. There is no contradiction: Kirchhoff's voltage law holds for phasors, not for the bare magnitudes, because the two voltages do not reach their peaks at the same time.

VR = 2.66 V VC = 4.23 V V = 5 V 57.9° Re −Im
Phasor diagram taking VR (and the current, which is in phase with it) as the horizontal reference. VC is 90° behind, and the sum of the two is the source voltage, which lags the current by 57.9°.

Common mistakes

Try it in the simulator

Build the RC circuit from the example and compare what the simulator measures with the numbers you calculated by hand. On the virtual oscilloscope you will see the current leading and the two voltages out of phase.

  1. Place a sine-wave voltage source and set it to 5 V amplitude and 100 Hz.
  2. Connect a 1 kΩ resistor and a 1 µF capacitor in series, and close the circuit to ground.
  3. Connect one oscilloscope channel to the source output and another to the node between R and C.
  4. Observe the amplitude across the capacitor (close to 4.23 V) and its lag with respect to the source.
  5. Run an AC analysis at 100 Hz and compare the magnitudes and phases with those of the example.
  6. Change the frequency to 1 kHz and watch the capacitor voltage drop.

Exercises

  1. A sinusoid measures 20 V peak to peak. What is its RMS value?

    Show answer

    Vp = 20/2 = 10 V. Vrms = 10/√2 = 7.07 V.

  2. Calculate the reactance of a 10 nF capacitor at 10 kHz.

    Show answer

    XC = 1/(2π · 10 000 · 10×10−9) = 1/(6.283×10−4) = 1591.5 Ω.

  3. A series RL circuit has R = 100 Ω and L = 10 mH at 1 kHz. Find the impedance in polar form.

    Show answer

    XL = 2π · 1000 · 0.01 = 62.83 Ω. |Z| = √(100² + 62.83²) = 118.1 Ω. Angle = arctan(62.83/100) = 32.1°. Z = 118.1 ∠ 32.1° Ω; the current lags the voltage by 32.1°.

  4. At what frequency does the reactance of a 1 µF capacitor equal 1 kΩ?

    Show answer

    From XC = 1/(2πfC), you get f = 1/(2π · XC · C) = 1/(2π · 1000 · 1×10−6) = 159.2 Hz.