Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
Contents
2
Phase Lock Loop
PLL is a circuit that synchronize an output signal with a reference
or input signal in frequency as well as in phase.
PLL is an Electronic Module(Circuit) that locks the phase of the
output to the input.
PLL is a non linear feedback system that detects the phase error
and then adjusts the phase of the output.
Phase Difference
Basic elements of PLL
UP
Reference Vcont
Clock Phase Detector Charge Pump Loop Filter VCO
Down
Local
Clock
Divided by N
System Clock
Phase Detector
It determines the relative phase difference between two incoming
signals and outputs a signal that is proportional to this phase
difference.
One of the inputs to the phase detector is a reference clock that is
typically generated off chip while the other clock input is a divided
version of the VCO
UP
Reference Vcont
Phase Detector Charge Pump Loop Filter VCO
Clock
Down
Local
Clock
Divided by N
System Clock
Phase Detector
It detects which of the two input signal arrives earlier and
produces the appropriate output signal
The local clock and reference clock are compared using a
phase detector that compares the phase difference between the
signals and produces an Up or Down signal when the local
clock lags or leads the reference signal.
Phase Detector
Two basic types of phase detectors are commonly
used.
1. XOR gate and
2. phase frequency detector (PFD).
XOR Phase Detector
ref
ref
Output local
clock
local Output
clock
(a) (b)
Output (Low pass filtered)
VDD
B A
Rst UP
D Q B
A UP = 0 UP = 0 UP = 1
A
DN = 1 DN = 0 DN = 0
Rst
D Q
DN
A B
B
(a) schematic (b) state transition diagram
A A
B B
UP UP
DN DN
The PFD takes two clock inputs and produces two outputs, UP and
DOWN.
The PFD is a state machine with 3 states. Assume that both UP and DN
outputs are initially low.
Divided by N
System Clock
Charge Pump
The UP/DN pulses must be converted
to an analog voltage that controls the
VDD VCO.
UP
Reference Vcont
Phase Detector Charge Pump Loop Filter VCO
Clock
Down
Local
Clock
Divided by N
System Clock
Loop Filter(Low pass filter)
The output of charge pump can not be given directly into VCO
because of presence of jitter
Divided by N
System Clock
Voltage Controlled Oscillator (VCO)
VCO is Characterized By
As a Clock Synchronizer
PLL based Clock Synthesis
Synthesizer: A special kind of circuit that contains one or more
PLLs. It receives a stimulus, usually a low frequency signal from a
crystal, and generates multiple outputs with different (integer or
fractional) frequencies.
PLL based Clock Synthesis
The reference is derived from a precision XTAL oscillator. The
divider brings down the high frequency of the VCO signal to
the range of the reference frequency.
The PD compares the phase and produces an error signal,
which is smoothed out by the loop filter and applied to the
VCO.
When the system locks, the output phase of the VCO is locked
to the XTAL. That means that the frequency is also locked.
The output frequency fout is therefore an integer multiple of
the reference fref = fout/N or fout = N fref.
PLL-Based Synchronization
Chip 1 Chip 2
Data
Digital Digital
System System
reference
fsystem = N x fcrystal clock
Divider PLL
PLL Clock
Buffer
fcrystal 200<Mhz
Crystal
Oscillator
Flop
D Q D
tccq Latch/Flop Clk->Q Cont. Delay tpcq
Q tccq
tpdq Latch D->Q Prop. Delay
D Q D tpdq
tcdq
thold Latch/Flop Hold Time Q
Q1 D2
Combinational Logic
F1
F2
sequencing overhead
Tc
tsetup
clk
tpcq
Q1 tpd
D2
F1
clk
D2
F2
clk
Q1 tccq tcd
D2 thold
F1
F2
Tc
sequencing overhead
clk
Q1 tpdq tsetup
D2
clk
Q1
CL
F1
clk
D2
F2
tskew
clk
thold
Q1 tccq
D2 tcd
thold 30ps
tccq 35 ps
tcdq 35ps
4 (a) tcd = 30 - 35 + 50 = 45 ps;
tsetup 65 ps /25ps
thold 30ps
2. Neil Weste and David Harris. 2010. CMOS VLSI Design: A Circuits and
Systems Perspective (4th ed.). Addison-Wesley Publishing Company, ,
USA.
3. [online]http://www.ti.com/lit/an/scaa035b/scaa035b.pdf