TFE4188 - Lecture 8

Clocks and PLLs

1

Goal

Why do we need to generate clocks

Introduction to PLLs

2

Why

3

Digital

Radio

Energy harvesters

Switched regulators

ADCs

Accurate delay

SC filters

...

4
5
6

PLL

7
8
9
10
11

\[A_m(t) \times cos\left( 2 \pi f_{carrier}t + \phi_{m}(t)\right)\]

12
13
14

PLL Example

15
16

PLLs need calculation!

#noCowboyDesign

17

\[\phi(t) = 2 \pi \int_0^t f(\tau) d\tau\]

18

Loop gain

\(\frac{\phi_d}{\phi_{in}} = \frac{1}{1 + L(s)}\)

\[L(s) = \frac{ K_{osc} K_{pd} K_{lp} H_{lp}(s) }{N s}\]

19

Controlled oscillator

\[K_{osc} = 2 \pi\frac{ df}{dV_{cntl}}\]

20
21

Phase detector and charge pump

\[K_{pd} = \frac{I_{cp}}{2 \pi}\]

22

Loop filter

\[K_{lp}H_{lp}(s)= K_{lp}\left(\frac{1}{s} + \frac{1}{\omega_z}\right)\]

\[K_{lp}H_{lp}(s) = \frac{1}{s(C_1 + C_2)}\frac{1 + s R C_1}{1 + sR\frac{C_1C_2}{C_1 + C_2}}\]

23

Divider

\[K_{div} = \frac{1}{N}\]

24

Loop transfer function

\[L(s) = \frac{ K_{osc} K_{pd} K_{lp} H_{lp}(s) }{N s}\]

25
26
27
28

Summary

  • Everything on the chip wants a clock, and every clock is a compromise between frequency accuracy (ppm), phase noise and power
  • A crystal gives the accurate reference; the PLL multiplies it up to the frequency the system needs
  • PFD turns phase error into pulse width, the charge pump into charge, the loop filter into a control voltage, the oscillator into frequency, and the divider closes the loop
  • The type-II loop needs its zero: C1 sets the zero with R, C2 cleans the ripple, and the loop bandwidth balances reference noise against VCO noise
  • Inside the bandwidth the PLL follows the reference; outside, the oscillator is on its own - phase noise plots read exactly that way
  • SUN_PLL is the whole story in five schematics: ROSC, PFD, charge pump, loop filter, divider
29

Would you like to know more?

30
31

Thanks!

32