RC, RL & RLC Circuits
Transient analysis: time constants, step responses, and oscillatory behaviour in reactive networks.
Reactive Elements: Capacitors & Inductors
Unlike resistors, capacitors and inductors store energy and introduce memory into circuits โ their behaviour depends on the history of voltage or current, making the governing equations differential rather than algebraic.
Capacitor
Current is proportional to the rate of change of voltage:
Stores energy in the electric field: \( E = \tfrac{1}{2}CV^2 \). Cannot change voltage instantaneously.
Inductor
Voltage is proportional to the rate of change of current:
Stores energy in the magnetic field: \( E = \tfrac{1}{2}LI^2 \). Cannot change current instantaneously.
First-Order Circuits: RC and RL
A series RC circuit driven by a step voltage \( V_s \) (switch closed at \( t=0 \)) obeys:
The time constant \( \tau = RC \) determines how quickly the capacitor charges. After one time constant the voltage reaches 63.2 % of its final value; after \( 5\tau \) it is within 1 % of \( V_s \).
Analogously, for a series RL circuit the time constant is:
Natural and Forced Responses
Any first-order response splits into a natural (homogeneous) response that decays exponentially and a forced (particular) response that matches the driving source at steady state:
Second-Order Circuits: RLC
A series RLC circuit driven by a voltage step satisfies the second-order ODE:
The characteristic equation \( s^2 + 2\alpha s + \omega_0^2 = 0 \) has parameters:
Three Damping Regimes
Oscillates and decays. Damped frequency \(\omega_d = \sqrt{\omega_0^2 - \alpha^2}\). Fast settling but with overshoot.
Fastest possible settling without oscillation. \( R_c = 2\sqrt{L/C} \). Ideal for many control applications.
Two real negative poles; exponential decay without oscillation, but slower than critically damped.
Quality Factor Q
The quality factor measures how underdamped the resonator is โ the ratio of energy stored to energy dissipated per cycle:
High-Q circuits (small R) ring for many cycles; low-Q circuits are heavily damped. Q also equals the ratio of resonant frequency to bandwidth: \( Q = \omega_0 / \Delta\omega \).
Python: RC & RLC Transient Simulation
Simulate RC charging and discharging, then compute and plot the exact RLC step response for all three damping regimes using analytical solutions derived from the characteristic equation.
RC Charging/Discharging & RLC Damping Regimes
PythonClick Run to execute the Python code
Code will be executed with Python 3 on the server