S246 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S2 · Lesson 46 · Oscillators

LC, ring and crystal oscillators, startup and phase noise

Every PLL needs a voltage-controlled oscillator, and every system clock starts from a crystal. An oscillator is an amplifier whose loss is cancelled exactly: a negative resistance across a tuned tank, or an odd ring of inverting stages chasing each other. Getting it to start is a gain calculation; getting it clean is a question of how much power it runs at and how sharp its resonance is, which Leeson's model turns into a phase-noise number in dBc/Hz.

  • The curve is an oscillator's phase noise against offset from the carrier by Leeson's model: a flat floor set by power and noise figure, rising 20 dB per decade inside the resonator's half-bandwidth f0/2Q.
  • Raise the tank's Q and the corner moves in: the noise close to the carrier falls 20 dB for every tenfold increase in Q.
  • The readout is the noise at a 1 MHz offset from a 2.5 GHz carrier.

Predict

An LC tank of 2 nH and 2 pF has an inductor Q of 10. What transconductance must each transistor of a cross-coupled pair supply for oscillation to start?

Name it

LC oscillators

A tank of L and C resonates at f0=1/(2πLC) with parallel loss resistance Rp=Qω0L. A cross-coupled differential pair looks like −2/gm across it, so it starts when gmRp≥2. Its amplitude then grows until the transistors' nonlinearity (or a tail current limit) holds the loop gain at exactly 1.

Ring oscillators

N inverting stages (N odd) in a loop oscillate at f=1/(2Ntd) for a stage delay td. They're small, tune over wide ranges and need no inductor, but with no resonator their phase noise is much worse.

Crystals

A quartz crystal is an electromechanical resonator with Q of 104 to 106: its frequency is set to parts per million and barely moves with temperature or voltage. A Pierce oscillator drives it with a single inverting stage.

Phase noise

Leeson's model gives the single-sideband noise at offset Δf from a carrier f0:

ℒ(Δf)=10log10⁡[2kTFPs(1+(f02QΔf)2)]

More signal power and a higher Q both lower it.

Worked example

What frequency and parallel resistance does a 2 nH, 2 pF tank with an inductor Q of 10 have, and what gm starts it?

Show the solution
  1. Frequency. f0=12πLC=12π4×10−21=2.52GHz
  2. Parallel resistance. With the unrounded f0 = 2.516 GHz: Rp=Qω0L=10×2π×2.516GHz×2nH=316Ω
  3. Starting transconductance. Per side: gm≥2316Ω=6.3mS
  4. Higher Q. Raising the inductor's Q lowers the current needed in proportion.

Answer the tank resonates at 2.52 GHz with Rp = 316 Ω, and it takes gm ≥ 6.3 mS per side to start.

Worked example

A ring oscillator's stages each take 20 ps. What do 5 stages and 101 stages make?

Show the solution
  1. 5 stages. f=12×5×20ps=5GHz
  2. 101 stages. f=12×101×20ps=248MHz
  3. What long rings are for. Long rings make slow clocks without a big capacitor, and each stage's delay can be tuned by its current.

Answer 5 GHz with 5 stages and 248 MHz with 101.

Worked example

A 2.5 GHz LC oscillator runs at 1 mW with a 3 dB noise figure and a loaded Q of 10. What phase noise does Leeson's model predict 1 MHz off the carrier?

Show the solution
  1. Noise floor. Lfloor=10log10⁡(2kTF/Ps)=10log10⁡(1.66×10−17)=−167.8dBc/Hz
  2. Resonator term. This is +41.9 dB: (2.5GHz2×10×1MHz)2=1252
  3. Total. −167.8+41.9=−125.9dBc/Hz a typical cellular-grade VCO.

Answer about −125.9 dBc/Hz at 1 MHz off the carrier.

Check

An LC tank has L = 2 nH, C = 0.5 pF and an inductor Q of 20.

(a)

What is its resonant frequency?

Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.

(b)

What gm must each side of a cross-coupled pair supply to start it (Rp=Qω0L=QL/C)?

Check

A ring oscillator has 5 stages of 10 ps delay.

(a)

What frequency does it make?

Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.

(b)

And with two more stages?

Check

A 2.5 GHz oscillator runs at 1 mW with noise factor 2 and loaded Q 50.

(a)

What phase noise does Leeson's model give at 1 MHz offset?

(b)

Where is the corner below which the noise rises 20 dB per decade?

Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.

Check

A VCO runs at 2.4 GHz on a 1 pF tank capacitance, and its varactor lowers that capacitance by 10 fF.

(a)

How far up does the frequency move if the capacitance falls by 10 fF?

Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.

(b)

What does the small-change approximation Δf/f≈12ΔC/C give?

Check

Why does a crystal oscillator have far lower close-in phase noise than an on-chip LC oscillator at the same power?

Check

An LC tank has inductance L, capacitance C and inductor quality factor Q.

Step 1

What is its resonant frequency (rad/s)?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

Write leeson(df, f0, Q, P_mw, F, T=300): Leeson's phase noise in dBc/Hz at offset df (Hz), and offset_for(level, f0, Q, P_mw, F): the offset at which it reaches level dBc/Hz, by bisection in log df between 1 Hz and f0.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

What sets an LC oscillator's frequency and what sets its amplitude?

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.