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 .
- 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?
At 2.52 GHz the tank's parallel resistance is Ω. The cross-coupled pair presents across the tank, so it cancels the loss when mS; designs use two or three times that to start reliably.
Name it
LC oscillators
A tank of L and C resonates at with parallel loss resistance . A cross-coupled differential pair looks like across it, so it starts when . 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 for a stage delay . 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 to : 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 :
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 starts it?
Show the solution
- Frequency.
- Parallel resistance. With the unrounded = 2.516 GHz:
- Starting transconductance. Per side:
- Higher Q. Raising the inductor's Q lowers the current needed in proportion.
Answer the tank resonates at 2.52 GHz with = 316 Ω, and it takes ≥ 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
- 5 stages.
- 101 stages.
- 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
- Noise floor.
- Resonator term. This is +41.9 dB:
- Total. 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 must each side of a cross-coupled pair supply to start it ()?
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 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°.
Step 2
What is its parallel resistance at resonance?
Step 3
What does a cross-coupled pair need per side?
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 .
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?
The frequency is set by the tank: the inductor and capacitor exchange energy at , and the active circuit only replaces the energy the tank's resistance loses each cycle. The amplitude is set by nonlinearity. At startup the negative resistance exceeds what the tank needs, so the oscillation grows; as it grows the transistors begin to limit, switching fully or running out of tail current, and their average negative resistance falls until it exactly cancels the tank's loss. The amplitude settles where the loop gain is one, which for a current-limited pair is about the tail current times the tank's parallel resistance.
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.