Sub topic 13
Extending the Rules to Impedances in AC Circuits
This chapter assumes you know the voltage and current divider rules for resistors, can do arithmetic with complex numbers (rectangular and polar form), and know that a sinusoidal signal can be written as a phasor. A phasor is a complex number that holds the amplitude and phase of a sine wave at one frequency.
Why the same rules still work
The resistor derivations used only two facts: a component's voltage is proportional to its current, and Kirchhoff's laws hold. In sinusoidal steady state, both facts still hold for phasors.
- Each component obeys V = Z I, where Z is its impedance, a complex number.
- Kirchhoff's voltage and current laws hold for phasors.
- Series impedances add, and parallel impedances combine by adding admittances (Y = 1/Z).
The derivation is the same as before, with R replaced by Z. Two impedances in series carry the same phasor current I = Vin / (Z1 + Z2), so
Vout = Vin · Z2 / (Z1 + Z2)
For a current divider with two parallel branches, the branch current through Z1 is
I1 = Itotal · Z2 / (Z1 + Z2)
For many branches, use admittances: Ik = Itotal · Yk / (Y1 + Y2 + ...).
Impedances of the basic elements
| Element | Impedance | Behavior |
|---|---|---|
| Resistor R | R | Real, independent of frequency |
| Inductor L | jωL | Grows with frequency, voltage leads current by 90° |
| Capacitor C | 1/(jωC) = -j/(ωC) | Falls with frequency, voltage lags current by 90° |
Here ω = 2πf is the angular frequency in radians per second.
Worked example: an RC divider
Take R = 1 kΩ in series with C = 100 nF, and measure the output across the capacitor. With Z1 = R and Z2 = 1/(jωC), the rule gives
Vout/Vin = 1 / (1 + jωRC)
The magnitude is 1/√(1 + (ωRC)²) and the phase is -arctan(ωRC). The result depends on frequency, which a resistive divider's result does not. This circuit is a low-pass filter. Its corner frequency is fc = 1/(2πRC), about 1591.5 Hz here, where ωRC = 1.
import cmath
import math
def impedance_divider(vin, z1, z2):
"""Phasor divider: z1 from the source to the output node, z2 from the node to ground."""
return vin * z2 / (z1 + z2)
R = 1_000.0
C = 100e-9
for f in (159.15, 1591.5, 15915.0):
w = 2 * math.pi * f
zc = 1 / (1j * w * C)
vout = impedance_divider(1 + 0j, R, zc)
print(f"{f:9.1f} Hz gain {abs(vout):.3f} phase {math.degrees(cmath.phase(vout)):7.2f} deg")The output is:
159.1 Hz gain 0.995 phase -5.71 deg
1591.5 Hz gain 0.707 phase -45.00 deg
15915.0 Hz gain 0.100 phase -84.29 deg(The first row prints 159.1 because the format rounds 159.15 to one decimal place.)
At the corner frequency the gain is 0.707 (-3 dB) and the output lags the input by 45°.
Common errors
- Adding magnitudes. Impedances must be added as complex numbers. For Z1 = 300 Ω and Z2 = -j400 Ω, the sum is 300 - j400, whose magnitude is 500 Ω, not 700 Ω.
- Using one frequency's result at another. Reactances change with ω, so recompute the divider for each frequency.
- Forgetting the load. A load is also an impedance. As in the resistive case, connect it in parallel with Z2 and use the parallel combination in the formula. A capacitive load also shifts the phase.
- Applying phasors to non-sinusoidal signals. For a square wave or a transient, the rules hold for each sinusoidal component, or you must solve in the time domain.
Exercise
Exercise
A source Vin feeds a series pair: Z1 = 300 Ω (a resistor) and Z2 = -j400 Ω (a capacitor at the operating frequency). The output is taken across Z2. Find the magnitude and phase of Vout/Vin, and explain why 400/(300 + 400) = 0.571 is wrong.
Show answer
Vout/Vin = Z2/(Z1 + Z2) = -j400 / (300 - j400). The denominator has magnitude √(300² + 400²) = 500 and angle -53.13°. The numerator has magnitude 400 and angle -90°. The ratio has magnitude 400/500 = 0.8 and phase -90° - (-53.13°) = -36.87°. The value 0.571 is wrong because it adds the magnitudes of the impedances. The resistive and reactive parts are 90° apart, so they combine as a vector sum, not an arithmetic sum.