• Keine Ergebnisse gefunden

Phase Locked Loops, PLLs, for Clocking Chips

N/A
N/A
Protected

Academic year: 2021

Aktie "Phase Locked Loops, PLLs, for Clocking Chips"

Copied!
38
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Phase Locked Loops, PLLs,
 for Clocking Chips


Ian W. Jones and

Felipe A. Kuentzer

ianjones@mpi-inf.mpg.de

kuentzer@ihp-microelectronics.com December 2020

(2)

Part 1:

Overview

Intro to PLLs

Clocking with PLLs Analog PLLs

Part 2:

Recap

Digital PLLs

Future challenges Summary

Outline

(3)

Overview

Clocked chips  =>  easier design.

What is a PLL?

PLLs: industry standard for clocking chips.

Benefits of PLLs:

– Accurate
 – Stable


– Flexible

(4)

Clocking chips makes their design easier.

Overview

iwj

iwj

iwj

iwj

Clocked registers separate the data
 of successive computations.

Clock

REGISTER REGISTER

Combinational Logic

(5)

Quartz crystal oscillator:

Clocking a Chip

– Accurate
 – Stable


– Cheap

20mm

(6)

Frequency below a few 100 MHz:

Clocking a Chip

chip is clocked directly by off-chip oscillator

(7)

Above a few 100 MHz:

Clocking a Chip

hard to deliver off-chip clock signal

(8)

Clock Jitter:

Clocking a Chip

Jitter subtracts from useful compute time.

clock cycle jitter

Clock

REGISTER REGISTER

Combinational Logic

Frequency: 100MHz Clock cycle: 10,000 ps Jitter: 0.1ps

(9)

Basic Phase-Locked Loop, PLL

Make an on-chip copy of the external clock:

Control loop locks phase of f PLL to f REF

VCO Loop

Filter Phase

Detector OSC

f PLL f REF

Chip

(10)

Basic PLL

OSC – External clock reference, 


e.g., a quartz crustal oscillator

VCO – On-chip Voltage Controlled Oscillator,
 generates fPLL

Phase Detector – Generates output signal that is


proportional to the phase difference
 between fPLL and fREF

Loop Filter – Makes the control loop stable

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip

(11)

Basic PLL

VCO Loop

Filter Phase Detector OSC

fPLL fREF

Enables: Chip

f REF PLL f PLL

Clock Distribution Tree

(12)

Discussion Session #1

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip

What have we learned so far?

What is the advantage of routing the feedback
 loop via the clock tree?

What else does such a simple PLL enable?

How might we improve a PLL?

(13)

Basic PLL

VCO Loop

Filter Phase Detector OSC

fPLL fREF

Enables: Chip

data transfers between similar circuit modules

REGISTER REGISTER

Module A Module B

f REF PLL

f PLL

(14)

Basic PLL

VCO Loop

Filter Phase Detector OSC

fPLL fREF

Enables: Chip

using a Phase Buffer accommodate clock skew

f REF PLL

f PLL

Module C Module D

REGISTER

Phase Buffer FIFO

WR RD

REGISTER

(15)

Basic PLL

VCO Loop

Filter Phase Detector OSC

fPLL fREF

Enables: Chip

reliable communication between very different modules

REGISTER REGISTER

Module E

Module F

f REF

PLL PLL

(16)

Basic PLL

VCO Loop

Filter Phase Detector OSC

fPLL fREF

Enables: Chip

communication between chips

PLL

f REF

REGISTER

Phase Buffer

FIFO

WR RD

REGISTER

PLL

(17)

Discussion Session #1

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip

END

Return to lecture

(18)

Basic PLL

VCO Loop

Filter Phase Detector OSC

fPLL fREF

Control of clock phase enables data 
 Chip

transfers between circuit modules,
 and between chips.

REGISTER REGISTER

Module A Module B

f REF PLL

f PLL

(19)

Improved PLL

VCO Loop

Filter Phase Detector OSC

fPLL fREF

f PLL = N x f REF Chip

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip N

(20)

Improved PLL

Enables:

multiple phase-locked clock frequencies

f REF

Chip

PLL

clk1 = 5 x f REF clk2 = 8 x f REF

Module 1 Module 2

PLL

VCO Loop

Filter Phase Detector OSC

fPLL fREF

Chip N

(21)

Analog PLL Components

OSC – External clock reference, 


e.g., a quartz crustal oscillator

VCO – On-chip Voltage Controlled Oscillator,
 generates fPLL

Phase Detector – Generates output signal that is


proportional to the phase difference
 between fPLL and fREF

Loop Filter – Makes the control loop stable

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip

(22)

Components of Basic Analog PLL

OSC – External clock reference, 


e.g., a quartz crustal oscillator

VCO – On-chip Voltage Controlled Oscillator,
 generates fPLL

Phase Detector – Generates output signal that is


proportional to the phase difference
 between fPLL and fREF

Loop Filter – Makes the control loop stable

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip

(23)

Analog VCO

Analog control voltage VCNTL adjusts frequency of oscillator to generate f PLL

VCO

f PLL VCNTL

(24)

Analog VCO

VCO

fPLL VCNTL

(25)

Analog VCO

VCO

fPLL VCNTL

fPLL VCNTL

VDD – VCNTL

(26)

Components of Basic Analog PLL

OSC – External clock reference, 


e.g., a quartz crustal oscillator

VCO – On-chip Voltage Controlled Oscillator,
 generates fPLL

Phase Detector – Generates output signal that is


proportional to the phase difference
 between fPLL and fREF

Loop Filter – Makes the control loop stable

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip

(27)

Phase Detector States

f REF early: speed up VCO

f PLL early: slow down VCO

-1 0 +1

fREF

fPLL

fREF

fPLL

fREF fPLL

(28)

Analog PFD

Phase-Frequency Detector, PFD circuit.


The delay element helps compensate for non-ideal transistor operation.

D Q

CLR

D Q

fPLL CLR

fREF

delay

qP

qN

PFDOUT

(29)

Analog PFD Waveforms

PFDOUT high pulses: fPLL leads fREF PFDOUT low pulses: fPLL lags fREF

fPLL fREF

PFDOUT

fPLL fREF

PFDOUT

Time

(30)

Analog PFD Dead Zone

ΔΦ

PFDOUT

dead zone

(31)

Components of Basic Analog PLL

OSC – External clock reference, 


e.g., a quartz crustal oscillator

VCO – On-chip Voltage Controlled Oscillator,
 generates fPLL

Phase Detector – Generates output signal that is


proportional to the phase difference
 between fPLL and fREF

Loop Filter – Makes the control loop stable

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip

(32)

Analog Low-Pass Loop Filter

CMOS capacitors are non-ideal, but 10x smaller 
 than the capacitance between metal layers.

VCNTL R

C

PFDOUT R VCNTL

PFDOUT

CN CP

Loop Filter

(33)

Analog PLL

OSC DetectorPhase LoopFilter VCO

fPLL fREF

Chip N

(34)

Discussion Session #2

What have we learned so far?

How does the Phase-Frequency Detector behave


when fREF = 2 x ( fPLL / N ) and fREF lags ( fPLL / N ) ?

Generate two phase-related clocks on the same chip,
 at 800MHz and 3.2GHz from a 160MHz fREF ?

The fabricated chip doesn’t meet spec: the 3.2GHz module 
 has a max frequency of 2.6GHz. What can we do?

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip N

(35)

Discussion Session #2

The Phase-Frequency Detector behavior
 when f REF = 2 x ( fPLL / N ) :


Initially: generates pulses -ve pulses to slow the VCO down
 Then: generates short pulses that speed up the VCO until


f REF = fPLL / N

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip N

(36)

Discussion Session #2

Two phase-related clocks of 800MHz and 3.2GHz from a 160MHz fREF ?


Multiple ways, here’s one way using two PLLs:


PLL1:fREF multiplier ratio is 5:1.


PLL1:PLL2 clock ratio is 1:4.


PLL1: N = 10, add a divide-by-2 at output ==> 800MHz


PLL2: N = 20 ==> 3.2GHz

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip N

(37)

Discussion Session #2

The fabricated chip doesn’t meet spec: the 3.2GHz module 
 has a max frequency of 2.6GHz. What can we do?


Multiple ways, here’s one:


PLL2: N = 16 ==> 2.56GHz


but might be better to preserve the 1:4 clock ratio:


PLL1: N = 8, add a divide-by-2 at output ==> 640MHz


PLL2: N = 16 ==> 2.56GHz

VCO Loop

Filter Phase

Detector OSC

fPLL fREF

Chip N

(38)

Part 1:

Overview

Intro to PLLs

Clocking with PLLs Analog PLLs

Part 2:

Recap

Digital PLLs

Future challenges Summary

Next Lecture Session

Referenzen

ÄHNLICHE DOKUMENTE

These functions allow network management to control and monitor the operation of the Data Link layer, for example to set data link protocol operating

If the detector is a large single element detector which does not clip either beam, and if the parameters of the interfering beams are matched, the coupling of tilt into

For this thesis using an inexpensive SDR and two monopole antennas a direction finder with automatic signal detection is constructed implementing Adcock phase

Haemolysed plasma and plasma left in plastic pipettes for more than 2-3 minutes may give falsely elevated melatonin levels. Saliva Melatonin The best method is to ask subjects

Analyse.. Nachdem wir Prinzipien der Code-Erzeugung kennen gelernt haben, behandeln wir nun die Analyse-Phase

A dense electron – hole plasma generated by the control pulse in the semiconductor causes high- contrast switching into a re fl ecting state within a time interval shorter than a

P11 and P21 or P12 and P22 are identical. Further gates G4, G5, and G6 check whether impermissable condi tions of the ?ip-?ops F11 through F22 occur when the phase signals L and

Das Referenzsignal wird mit einem Quarzoszillator (XO) generiert, welches dadurch eine sehr genaue Frequenz und nur eine minimale Abweichung besitzt. Der