Electric Circuits
The first circuits course of an engineering degree, from a single resistor to the power drawn by a motor. Analyse any linear circuit by method: nodes and meshes, Thévenin equivalents, op-amps, capacitors and inductors switching, RLC ringing, then AC with phasors, impedance, power, three-phase, transformers, filters and resonance.
Lessons
- Current, voltage and the passive sign convention: Every element gets a reference direction for its current and a reference polarity for its voltage, and when the current enters at the plus sign the element absorbs power $p = vi$, so a negative $p$ means it is delivering power.
- Ideal sources, resistors, opens and shorts: An ideal voltage source fixes the voltage across it whatever current flows, an ideal current source fixes the current whatever voltage it takes, and a resistor ties the two by $v = iR$, with an open circuit ($i = 0$) and a short circuit ($v = 0$) as its two extremes.
- Nodes, loops and Kirchhoff's laws: Everything joined by plain wire is one node, and KCL at each node and KVL around each loop, written with the reference directions, give exactly as many independent equations as there are unknowns.
- Reducing a network to one resistor: Working inwards from the far end of a network, combining series pairs by adding and parallel pairs by $\frac{R_1 R_2}{R_1 + R_2}$, collapses a ladder to the single resistance the source sees.
- Voltage and current dividers: Series resistors split a voltage in proportion to their resistances, $v_1 = \frac{R_1}{R_1 + R_2}v$, while parallel resistors split a current the other way round, the smaller resistor taking the larger share.
- Wye-delta transformations: A bridge that is neither series nor parallel can still be reduced by swapping three resistors in a delta for an equivalent wye, each wye resistor being the product of its two neighbouring delta resistors over their sum.
- Nodal analysis: Choose a reference node, name the voltage of every other node, and write KCL at each with currents expressed by Ohm's law, which gives one linear equation per unknown node voltage.
- Voltage sources in nodal analysis: A voltage source between two non-reference nodes fixes their difference, so the two nodes are wrapped in one supernode for KCL and the source supplies the missing equation.
- Mesh analysis: In a planar circuit, give each window its own mesh current and write KVL around it, so each shared resistor carries the difference of two mesh currents, and a current source on the outer edge of one mesh fixes that mesh current outright.
- Current sources in mesh analysis: A current source shared by two meshes fixes the difference of their mesh currents, so KVL is written once around the loop that avoids it, the supermesh, and the source supplies the missing equation.
- Dependent sources: A dependent source's value is set by a voltage or current elsewhere in the circuit, so nodal or mesh analysis treats it like an ordinary source and adds one equation tying its controlling variable to the unknowns.
- Linearity and superposition: In a linear circuit every voltage and current is the sum of the responses to each independent source acting alone, the other voltage sources shorted and current sources opened, though power, being quadratic, does not add this way.
- Thévenin's theorem: Seen from two terminals, any linear circuit behaves exactly like one voltage source $V_{Th}$ in series with one resistor $R_{Th}$, where $V_{Th}$ is the open-circuit voltage and $R_{Th}$ the resistance looking back with the independent sources turned off.
- Thévenin with a dependent source: A dependent source can't be turned off, so $R_{Th}$ comes from driving the terminals with a test source and taking $\frac{v_T}{i_T}$, or from the open-circuit voltage over the short-circuit current, and it can even come out negative.
- Norton's theorem and source transformation: The same two terminals can just as well be a current source $I_N = \frac{V_{Th}}{R_{Th}}$ in parallel with $R_{Th}$, and swapping between the two forms lets a circuit be simplified one piece at a time.
- Maximum power transfer: A load draws the most power from a circuit when its resistance equals the circuit's Thévenin resistance, and then it receives $\frac{V_{Th}^2}{4R_{Th}}$, though then only half the power the Thévenin source delivers reaches the load.
- The ideal op-amp: An op-amp multiplies the small difference between its inputs by a huge gain, so with negative feedback its output settles where that difference is almost zero, and an ideal op-amp draws no input current and keeps its two inputs at the same voltage.
- Inverting and non-inverting amplifiers: Feeding the signal to the inverting input gives a gain of $-\frac{R_f}{R_1}$, while feeding it to the non-inverting input gives $1 + \frac{R_f}{R_1}$, which is never below one and draws no current from the source.
- Summing and difference amplifiers: Several inputs through their own resistors into the inverting node add with weights $-\frac{R_f}{R_k}$, and a balanced four-resistor circuit amplifies only the difference between two inputs.
- Capacitors and inductors: A capacitor's current is $C\frac{dv}{dt}$ and an inductor's voltage is $L\frac{di}{dt}$, so a capacitor's voltage and an inductor's current can't jump, and in steady DC a capacitor acts as an open circuit and an inductor as a short.
- Capacitors and inductors in combination: Inductors combine like resistors and capacitors the opposite way, because series elements share a current and parallel elements a voltage, and each stores energy, $\frac{1}{2}Cv^2$ or $\frac{1}{2}Li^2$, set by the quantity that can't jump.
- The natural response of RC and RL circuits: With the sources removed, a capacitor or inductor discharges through the resistance it sees, and its voltage or current decays as $e^{-t/\tau}$ with $\tau = R_{Th}C$ or $\frac{L}{R_{Th}}$.
- Switching circuits and the step response: Any first-order circuit with steady sources after a switch obeys $x(t) = x(\infty) + [x(0^+) - x(\infty)]e^{-t/\tau}$, so the whole response comes from three numbers found from three simpler circuits.
- The series RLC circuit and its characteristic equation: A circuit with a capacitor and an inductor obeys a second-order equation whose roots $s = -\alpha \pm \sqrt{\alpha^2 - \omega_0^2}$ come from the neper frequency $\alpha$ and the resonant frequency $\omega_0 = \frac{1}{\sqrt{LC}}$.
- Overdamped, critically damped and underdamped: Comparing $\alpha$ with $\omega_0$ sorts every RLC response into three shapes, two decaying exponentials, the fastest decay with no overshoot, or a ringing sinusoid inside a decaying envelope.
- The step response of an RLC circuit: After a step the response is its final value plus the natural response, and the two constants come from two initial conditions, the capacitor's voltage and, through the inductor's current, the slope $\frac{dv}{dt}$ at $0^+$.
- Sinusoids and phasors: A sinusoid $V_m \cos(\omega t + \phi)$ is the shadow of a rotating arrow, so at one frequency it is fully described by the complex number $V_m \angle \phi$, its phasor, and adding sinusoids becomes adding arrows.
- Impedance: In phasor form every element obeys an Ohm's law $\mathbf{V} = Z\mathbf{I}$, with $Z = R$, $j\omega L$ or $\frac{1}{j\omega C}$, so an inductor's current lags its voltage by $90°$ and a capacitor's leads it.
- AC circuit analysis with phasors: With every source a phasor and every element an impedance, KCL, KVL, dividers, nodal analysis and Thévenin all work exactly as for resistors, only with complex numbers, and the answer converts back to a sinusoid.
- AC power and power factor: Average power is $V_{rms}I_{rms}\cos\theta$, so a load whose current is out of phase with its voltage draws more current than its real power needs, and complex power $S = P + jQ$ keeps account of the real and reactive parts.
- Power factor correction: A capacitor in parallel with an inductive load supplies the reactive power the load needs, so the line carries less current for the same real power, and the capacitor is sized from the change in $Q$.
- Balanced three-phase circuits: Three sinusoids $120°$ apart sum to zero at every instant, so a balanced wye load needs no return current, line voltage is $\sqrt{3}$ times phase voltage, total power is steady, and the whole system is solved from one phase.
- The ideal transformer: Two coils on one core tie their voltages by the turns ratio and their currents by its inverse, so power passes through unchanged and a load impedance seen from the primary is multiplied by the square of the ratio.
- RC filters and frequency response: Because a capacitor's impedance $\frac{1}{j\omega C}$ shrinks as frequency rises, an RC divider passes low frequencies and blocks high ones or the reverse, with the output falling to $\frac{1}{\sqrt{2}}$ of the input, $3$ dB down, at the cutoff $\omega_c = \frac{1}{RC}$.
- Resonance and quality factor: At $\omega_0 = \frac{1}{\sqrt{LC}}$ the reactances of a series RLC cancel, so the current peaks at $\frac{V}{R}$, and the quality factor $Q = \frac{\omega_0 L}{R}$ sets how narrow the peak is and how far the element voltages rise above the source.