← Atlas ◀ Ch 5Ch 7 ▶
Differential Equations Part II · Part B · Chapter 06 · Equations 51–60

Circuits, Control and Signals

The equations of electrical engineering and automatic control: the RLC tank, transmission lines, Maxwell's equations, the DC motor, the PID loop, state-space models, the Kalman filter's Riccati equation, the phase-locked loop and two famous oscillators — Van der Pol's valve circuit and Chua's chaotic circuit.

📐 10 equations🧪 10 live labs✍ 10 worked examples❓ 5-question quiz

◆In this chapter

  • Map circuits onto mass–spring–damper analogies
  • Compute resonance, Q, characteristic impedance and skin depth
  • Model a DC motor and tune a PI controller by pole placement
  • Understand state space and the Kalman filter as differential equations
  • Explain locking (PLL, grid synchronisation) and self-sustained electronic oscillation

Kirchhoff's laws turn every circuit into ODEs: inductors contribute L·di/dt, capacitors C·dv/dt. Control engineering then wraps those equations in feedback. Part I, Day 7 (Laplace transforms and poles) is the key tool for most of this chapter.

51Series RLC circuit

ODElinearsecond orderKelvin 1853 (Leyden-jar oscillation) · Part I, Day 5: The spring–mass–damper
L·d²q/dt² + R·dq/dt + q/C = V(t) ω₀ = 1/√(LC), ζ = (R/2)·√(C/L), Q = (1/R)·√(L/C)

q charge on the capacitor (i = dq/dt) · L, R, C inductance, resistance, capacitance · Q quality factor

The electrical twin of the spring–mass–damper: inductance is mass (it resists change of current), 1/C is stiffness, resistance is damping. A low-resistance circuit rings at ω₀ and responds sharply to signals at that frequency — the basis of every radio tuner and filter.

A medium-wave tuner with L = 250 µH must receive 1 MHz. Capacitance? With 10 Ω of coil resistance, Q and bandwidth?C = 1/((2πf)²L) = 1/(3.95e13 × 2.5e-4) = 101 pF Q = (1/R)√(L/C) = (1/10) × √(2.5e-4/1.01e-10) = 157 Bandwidth = f/Q = 6.4 kHz — just right for AM stations 9 kHz apart.
Where you meet itRadio tuning and filters, switch-mode power supplies, wireless charging coils, induction heating, ignition circuits, ringing on PCB traces and long sensor cables.

52Telegrapher's equations (transmission lines)

PDElinearhyperbolicHeaviside 1876; Kirchhoff 1857 · Part I, Day 13: Waves and Laplace
∂V/∂x = −L′·∂I/∂t − R′·I ∂I/∂x = −C′·∂V/∂t − G′·V lossless: v = 1/√(L′C′), Z₀ = √(L′/C′)

L′, C′, R′, G′ per-metre inductance, capacitance, resistance and leakage · Z₀ characteristic impedance

A long cable is a chain of tiny inductors and capacitors. In the limit, voltage and current obey a wave equation: signals travel at a finite speed and reflect wherever the impedance changes. Heaviside showed that adding inductance (loading coils) makes a lossy line distortionless — which made long-distance telephony possible.

A 50 Ω coaxial cable has a velocity factor 0.66. Per-metre L′ and C′? A 10 m cable to an unterminated sensor: reflection and delay?v = 0.66 × 3×10⁸ = 1.98×10⁸ m/s L′ = Z₀/v = 253 nH/m, C′ = 1/(Z₀v) = 101 pF/m Open end: reflection coefficient +1 (the voltage doubles); round trip 2 × 10/1.98e8 = 101 ns. For signals slower than about 10× that (below a few MHz) the line looks like plain 1 nF of capacitance.
Where you meet itCoaxial and twisted-pair cables, PCB traces at high speed, power lines (lightning surges), time-domain reflectometry for fault finding, charge-amplifier cable length limits for piezo accelerometers.

53Maxwell's equations and the electromagnetic wave

PDElinearsystemMaxwell 1865
∇·D = ρ ∇·B = 0 ∇×E = −∂B/∂t ∇×H = J + ∂D/∂t
In vacuum: ∇²E = μ₀ε₀·∂²E/∂t², c = 1/√(μ₀ε₀)
In a conductor: skin depth δ = √(2ρ/(ωμ))

E, H electric and magnetic fields · D = εE, B = μH · J current density · ρ resistivity (in δ)

Four equations unify electricity, magnetism and light. Maxwell's added displacement current ∂D/∂t made the set consistent — and predicted waves travelling at 1/√(μ₀ε₀), which he recognised as the speed of light. In a conductor the same equations become a diffusion equation: alternating current crowds into a skin of depth δ.

Compute c from μ₀ and ε₀. Then the skin depth of copper (ρ = 1.7×10⁻⁸ Ω·m) at 50 Hz and at 1 MHz.c = 1/√(4π×10⁻⁷ × 8.854×10⁻¹²) = 2.998×10⁸ m/s δ(50 Hz) = √(2 × 1.7e-8/(2π·50 × 4π×10⁻⁷)) = 9.3 mm — busbars thicker than ~2δ waste copper δ(1 MHz) = 9.3 mm/√(20 000) = 66 µm — hence Litz wire in RF coils and induction heaters
Where you meet itAntennas and radio, radar, optics and fibres, motors and transformers, induction heating and hardening (case depth ≈ δ), eddy-current testing and proximity probes on rotating shafts, EMC.

54DC motor dynamics

ODElinearsystemclassical electromechanics
L·di/dt = V − R·i − Ke·ω J·dω/dt = Kt·i − b·ω − TL

i armature current · ω speed · Ke back-EMF constant (V·s/rad) = Kt torque constant (N·m/A) in SI · J inertia · b viscous friction · TL load torque

Two coupled first-order equations: the electrical circuit (with back-EMF proportional to speed) and Newton's law for rotation. Usually the electrical time constant L/R is much shorter than the mechanical one J·R/(KtKe), so the motor behaves like a first-order lag from voltage to speed — with a stall current V/R that can be ten times the running current.

A small motor: K = 0.05, R = 1 Ω, L = 1 mH, J = 1×10⁻⁴ kg·m², b = 1×10⁻⁵, 12 V, no load. Final speed, mechanical time constant, starting current?ω∞ = K·V/(R·b + K²) = 0.6/0.00251 = 239 rad/s (2280 rpm) τ_m = J·R/(K² + R·b) = 1e-4/0.00251 = 40 ms; τ_e = L/R = 1 ms ≪ τ_m Starting current = 12/1 = 12 A; running current ≈ b·ω/K = 0.05 A
Where you meet itServo drives, robots, electric vehicles, dynamometer speed control, cooling fans and pumps; the same structure (with three phases and a transform) describes induction and permanent-magnet AC motors.

55PID feedback loop

ODElinearsystemcontrolMinorsky 1922; Ziegler–Nichols 1942 · Part I, Day 7: Laplace transforms
Plant: τ·y′ + y = K·u Controller: u = Kp·e + Ki·∫e dt + Kd·de/dt, e = r − y
PI closed loop: τ·s² + (1 + K·Kp)·s + K·Ki = 0

r set-point · e error · Kp, Ki, Kd proportional, integral and derivative gains

Measure the error, push back in proportion to it (P), to its accumulated history (I — removes steady error) and to its rate of change (D — adds damping). Over 90 % of industrial loops are PI or PID. Writing the loop as ODEs shows exactly where the closed-loop poles go, so gains can be chosen by pole placement instead of trial and error.

A plant with K = 1, τ = 10 s. With P control K_p = 2, what steady error remains? Choose K_i for ζ = 0.7.P only: error = 1/(1 + K·K_p) = 33 % With PI: τs² + 3s + K_i = 0 → ω_n = √(K_i/τ), 2ζω_n = 3/τ ζ = 0.7 → ω_n = 3/(2 × 0.7 × 10) = 0.214 rad/s → K_i = τω_n² = 0.46 per s No steady error; overshoot ≈ 5 %, settling ≈ 4/(ζω_n) = 27 s.
Where you meet itTemperature, speed, pressure, level and position control everywhere: dynamometer torque control on test rigs, oven and climate control, cruise control, drones, process plants.

56State-space model

ODElinearsystemcontrolKalman 1960 · Part I, Day 8: Systems and modes
dx/dt = A·x + B·u y = C·x + D·u x(t) = eAt·x(0) + ∫₀ᵗ eA(t−τ)·B·u(τ) dτ

x state vector · u inputs · y measured outputs · eAt matrix exponential (state-transition matrix)

Write any linear system of any order as first-order equations in a vector. The eigenvalues of A are the poles; the matrix exponential gives the whole solution; controllability and observability say whether inputs can steer every state and outputs can reveal it. Modern control (pole placement, LQR, Kalman filters, model-predictive control) all live here.

A = [[0, 1], [−2, −3]], B = [0, 1]ᵀ, C = [1, 0]. Poles and impulse response?det(sI − A) = s² + 3s + 2 = (s + 1)(s + 2) → poles −1, −2 G(s) = C(sI − A)⁻¹B = 1/((s + 1)(s + 2)) → impulse response y = e^(−t) − e^(−2t) Controllability matrix [B, AB] = [[0, 1], [1, −3]] has rank 2 → fully controllable.
Where you meet itFlight control and autopilots, robotics, vehicle dynamics control, power-electronics converters, observers and digital twins, any multi-input multi-output plant.

57Kalman filter (Riccati equation)

ODEnonlinearmatrixKalman and Bucy 1961
dP/dt = A·P + P·Aᵀ − P·Cᵀ·R⁻¹·C·P + Q gain K = P·Cᵀ·R⁻¹ estimate: x̂′ = A·x̂ + K·(y − C·x̂)

P error covariance (how uncertain the estimate is) · Q process noise · R measurement noise · K Kalman gain

The best estimate of a noisy system blends prediction from the model with correction from measurements. How much to trust each is governed by a matrix Riccati differential equation for the uncertainty P: it grows with process noise and shrinks with measurements, settling to a steady value. The filter navigated Apollo to the Moon and runs in every GPS receiver and phone.

Estimating a slowly drifting temperature (A = 0) from a sensor with σ = 0.5 °C (R = 0.25) and drift noise Q = 0.01 per s. Steady accuracy and filter speed?P′ = Q − P²/R = 0 → P∞ = √(QR) = 0.05 → σ_estimate = 0.22 °C (better than the sensor) K = P/R = 0.2 per s → the estimate follows real changes with a 5 s time constant. More noise R → smaller K → smoother but slower: the filter's built-in trade-off.
Where you meet itGPS/INS navigation, phone attitude estimation, target tracking, sensor fusion in test rigs, battery state-of-charge, economics forecasting, weather data assimilation.

58Phase-locked loop and synchronisation (Adler equation)

ODEnonlinearfirst orderAdler 1946; Bellescize 1932 · Part I, Day 3: Equilibria and bifurcation
dφ/dt = Δω − K·sin φ locks (φ′ = 0) if |Δω| ≤ K; otherwise slips with beat period 2π/√(Δω² − K²)

φ phase difference between oscillator and reference · Δω frequency mismatch · K loop (coupling) gain

A one-dimensional flow on a circle. If the coupling is strong enough, there is a stable equilibrium phase and the oscillator locks to the reference; if not, the phase slips round, slowly near the bottleneck and fast elsewhere — a saddle-node on a circle (Part I, Day 3). The same equation describes a generator synchronising to the grid, a pendulum with a torque, and the Josephson junction.

A PLL with loop gain K = 2π × 1000 rad/s. Lock range? If the input is 1.2 kHz off, how often does it slip a cycle?Lock range |Δf| ≤ K/2π = 1 kHz Δω = 2π × 1200: beat period = 2π/√(Δω² − K²) = 1/√(1200² − 1000²) = 1/663 s = 1.5 ms Locked at Δf = 500 Hz: sin φ = 0.5 → steady phase error 30°.
Where you meet itRadio and clock recovery (PLL), frequency synthesisers, generator synchronisation (synchroscope), motor drives (grid-tied inverters), injection locking of lasers, the swing equation of power systems.

59Van der Pol oscillator (electronic)

ODEnonlinearsecond ordervan der Pol 1926 · Part I, Day 10: Nonlinear dynamics
d²v/dt² − μ·(1 − v²)·dv/dt + v = 0 large μ: relaxation period T ≈ (3 − 2 ln 2)·μ + 7.01·μ−1/3

v voltage (scaled) · μ strength of the nonlinear negative resistance

A triode (or tunnel diode, or op-amp circuit) supplies negative resistance for small signals and positive resistance for large ones. Small oscillations grow, large ones shrink, and every start ends on the same limit cycle. For small μ it is a near-sine; for large μ it becomes a relaxation oscillation — slow charging, sudden jumps — the model of heartbeats, neon blinkers and multivibrators.

Van der Pol with μ = 10. Estimate the period and compare with the small-μ value.Large-μ formula: T ≈ 1.614 × 10 + 7.01 × 10^(−1/3) = 16.1 + 3.3 = 19.4 (exact numerical value 19.08) Small μ: T ≈ 2π = 6.28 — strong nonlinearity triples the period. Amplitude ≈ 2 for any μ: set by the nonlinearity, not the start.
Where you meet itValve and transistor oscillators, astable multivibrators, heart pacemaker models (it was first proposed for the heartbeat), stick-slip friction, flutter, biological rhythms.

60Chua's circuit (chaos in electronics)

ODEnonlinearsystemLeon Chua 1983 · Part I, Day 11: Chaos
x′ = α·(y − x − f(x)) y′ = x − y + z z′ = −β·y
f(x) = m₁x + ½(m₀ − m₁)(|x + 1| − |x − 1|)

x, y capacitor voltages · z inductor current (scaled) · f piecewise-linear "Chua diode" · α ≈ 15.6, β ≈ 28, m₀ = −8/7, m₁ = −5/7

The simplest real electronic circuit that is chaotic: two capacitors, an inductor, a resistor and one nonlinear resistor. Its "double scroll" attractor was the first chaos proven in a physical circuit, and it can be built on a breadboard for a few rupees. Varying α takes it through period doubling into chaos, exactly as Part I's Day 11 described.

Where are the equilibria of Chua's circuit (α = 15.6, β = 28)?z′ = 0 → y = 0; y′ = 0 → z = −x; x′ = 0 → x = −f(x) Outer segments: x + m₁x + (m₀ − m₁) = 0 → x = ±(m₁ − m₀)/(1 + m₁) = ±(3/7)/(2/7) = ±1.5 So equilibria at (0, 0, 0) and (±1.5, 0, ∓1.5) — the centres of the two scrolls.
Where you meet itChaos demonstrations, random-number generation, secure communication by chaos synchronisation, modelling of other chaotic oscillators.

?Chapter quiz

5 questions. Click an answer — you get the explanation straight away.

Progress is kept in this browser (and in your account when signed in).