Circuit and control loop
From Kirchhoff to the characteristic equation
Kirchhoff voltage law
State variables: inductor current \(i\) and capacitor voltage \(v_C\): \(\;L\,\dot i = u - v_C - R i,\;\; C\,\dot v_C = i\).
Plant transfer function
A second-order band-pass with \(\omega_0 = 1/\sqrt{LC}\), \(\zeta = \tfrac{R}{2}\sqrt{C/L}\), \(Q = \tfrac{1}{2\zeta} = \tfrac{1}{R}\sqrt{L/C}\).
Frequency response
Unity gain and zero phase only at \(\omega_0\). As \(\omega\) sweeps, \(H\) traces a circle of radius ½ centred at ½ on the real axis.
Closing the loop
Positive feedback. Rewritten as a standard negative-feedback loop with \(L(s) = -K H(s)\), the closed-loop poles solve \(1 + L(s) = 0\).
Characteristic equation and poles
The amplifier acts as a negative resistance \(-KR\): the effective series resistance is \(R(1-K)\). \(K<1\): poles in the left half-plane. \(K=1\): on the \(j\omega\) axis. \(K>1\): right half-plane.
Barkhausen criterion
Sustained oscillation needs loop gain exactly 1 with zero net phase (positive feedback) at one frequency. Here that frequency is \(\omega_0\) for any \(R\).
Nyquist criterion
\(P\): open-loop RHP poles (0, since the passive RLC with \(R>0\) is stable). \(N\): clockwise encirclements of \(-1\) by \(L(j\omega)\), \(\omega\in(-\infty,\infty)\). \(Z\): closed-loop RHP poles. Here \(L(j\omega)\) is a circle through 0 and \(-K\), traced twice, so \(N = 2\) when \(K>1\).
Amplitude: describing function
Linear theory says the amplitude grows forever when \(K>1\). Saturation lowers the effective gain \(N(A)\) as \(A\) grows; the limit cycle settles where \(N(A) = 1\). \(A/V_s\) depends only on \(K\).
Bode, Nyquist and stability
How to tune it
Set the frequency with L and C
\(f_0 = \dfrac{1}{2\pi\sqrt{LC}}\). Pick a practical inductor first (they come in fewer values and carry more parasitics), then solve \(C = \dfrac{1}{(2\pi f_0)^2 L}\). Frequency scales as the inverse square root: doubling \(C\) lowers \(f_0\) by \(\sqrt 2\). Component tolerance shifts it by \(\Delta f/f \approx -\tfrac12(\Delta L/L + \Delta C/C)\).
Set the selectivity with R
\(R = \dfrac{1}{Q}\sqrt{L/C}\). The ratio \(\sqrt{L/C}\) is the tank's characteristic impedance. A high \(Q\) (small \(R\)) gives a narrow band-pass that filters the amplifier's clipping harmonics, so the output is a cleaner sine. The cost is a slower start-up. Changing \(R\) does not move \(f_0\).
Set the loop gain K a little above 1
With \(K = 1+\delta\), the envelope grows as \(e^{t/\tau}\) with \(\tau = \dfrac{2L}{R\,\delta} = \dfrac{2Q}{\omega_0\,\delta}\). Use \(\delta\approx 0.05\text{–}0.5\). Exactly \(K=1\) is not robust: any drift below 1 and the oscillation dies. Too large (\(K > 1 + 2Q\)) makes the poles real, and the circuit behaves like a relaxation oscillator instead of a sine source.
Set the amplitude with the supply Vs
The describing-function solution gives \(A = a(K)\,V_s\), with \(a(K)\) from the table. For \(K\) close to 1, \(a(K) \approx 2\sqrt{(K-1)/K^3}\). For large \(K\), the amplifier output becomes a square wave and \(a \to 4/\pi\).
Verify on the plots
Bode: the magnitude peak \(20\log_{10}K\) must sit above 0 dB exactly where the phase crosses −180° (at \(f_0\)); the gain margin is negative. Nyquist: the circle reaches \(-K\) and must enclose \(-1\). Then run the simulation and compare the measured frequency and amplitude with the predictions.
Live simulation
Nonlinear model integrated with RK4 (200 steps per period). The window always shows the last 10 periods of f₀. Edit parameters while it runs.