AC Analysis & Phasors
Sinusoidal steady-state analysis using complex phasors, impedance, complex power, and resonance.
Sinusoidal Signals & Phasors
In AC steady-state analysis all voltages and currents are sinusoidal at the same angular frequency \( \omega \). The general sinusoidal voltage is:
where \( V_m \) is the peak amplitude, \( \omega = 2\pi f \) is the angular frequency, and \( \phi \) is the phase. A phasor is the complex number that encodes amplitude and phase:
The key advantage: differentiation in the time domain becomes multiplication by \( j\omega \) in the phasor domain, converting differential equations into algebraic ones.
Complex Impedance
Impedance \( \mathbf{Z} = \mathbf{V}/\mathbf{I} \) generalises resistance to reactive elements. For the three basic elements:
Real, frequency-independent. Voltage and current in phase.
Decreases with frequency. Current leads voltage by 90°.
Increases with frequency. Voltage leads current by 90°.
Impedances combine exactly like resistances: series addition and parallel reciprocal addition apply directly using complex arithmetic.
Complex Power & Power Factor
For a load with impedance \( \mathbf{Z} = |\mathbf{Z}|e^{j\theta} \), the complex power is:
Watts (W). Energy consumed per second. \( P = |\mathbf{S}|\cos\theta \).
VAR. Oscillates between source and storage. \( Q = |\mathbf{S}|\sin\theta \).
\( \text{PF} = \cos\theta = P/|S| \). Unity at resonance (pure resistive load).
Resonance
In a series RLC circuit, resonance occurs when the imaginary part of \( \mathbf{Z} \) vanishes — i.e., when \( \omega L = 1/(\omega C) \):
At resonance the impedance is purely resistive, power factor is unity, and the current is maximised. The voltage across the reactive elements can exceed the source voltage by a factor of \( Q \):\( V_L = V_C = Q \cdot V_s \) at \( \omega_0 \).
Python: RLC Bode Plot & Power Factor
Compute and plot the impedance magnitude and phase (Bode plot) of a series RLC circuit across six decades of frequency, show the resonance peak in the bandpass transfer function, and visualise power factor.
RLC Impedance Bode Plot, Resonance & Power Factor
PythonClick Run to execute the Python code
Code will be executed with Python 3 on the server