Phase Locked Loop - Circuits & Applications: Theory, Analysis and Design
Phase Locked Loop - Circuits & Applications: Theory, Analysis and Design
May 2005
4/29/2005 1
• Brief History
Talk Outline
• PLLs Classification
• Basic Concepts
• Phase-Locked Loops
• Charge-pump PLL
• Loop Components
• What is Frequency Synthesizers ?
• Phase Noise Analysis and its Effects on PLL
• Basic PLL-Based Frequency Synthesizer
• Integer-N Frequency Synthesizer
• Fractional-N Frequency Synthesizer
• Direct Digital Synthesizer
• All Digital PLLs & Software PLLs Overview
4/29/2005 2
PLLs’ History
• A first description of what is known as PLL was presented by H. de Bellescise in 1932
and coincides with the invention of “coherent communication”
• First PLL IC arrived around 1965. This created an explosion in the use of PLLs.
• The first digital PLL appeared around 1970. This was a classical digital PLL.
• Few years later the firs all digital PLL appeared.
• first Software PLL in the late year 80s
• PLLs Today:
- In every cell phone, television, radio, pager, computers…
- The most Prolific feedback system built by engineers.
§ To generate an output signal whose output frequency is programmable and rationale
multiple of a fixed input frequency
§ To perform frequency modulation and demodulation.
§ To generate the carrier from an input signal in which the carrier has been suppressed.
§ Clock Recovery Circuits.
§ Generation of Clock Signal.
§ Frequency Synthesizer
4/29/2005 3
Classification of PLL Types
Phase Controlled
PLL Type Loop Filter
Detector oscillator
Analog
APLL Multiplier
RC Voltage
Digital
DPLL RC Voltage
Detector
Digital Digitally
ADPLL Detector
Digital
Controlled
Software
SPLL Multiplier
Software Software
4/29/2005 4
Analog PLL
•PLL syncronises the phase generated by an oscillator with the phase
of a reference signal by means of the phase difference of the two signals.
φ in φ error V ctrl
VCO
φ out
d(φin − φout )
4/29/2005 = 0 ⇒ fin = f out in average. 5
dt
DIGITAL PLL
qDigital PFD Replace Analog Multiplier
qPull in Range is limited only by VCO Tunability Range
Fref UP
PFD Charge Loop Filter VCO
Fout Pump
DN
hold range
pull in range
lock in range
4/29/2005 7
PLL REGIONS OF OPERATIONS
Hold range: Describes PLL in a static or locked state, it is the frq range in which a PLL
can statically mantain phase tracking ( PLL is initially locked with ref signal, if the ref
signal’s frq is slowly reduced or increased too much PLL will lose lock at the edge of the
hold range.
• PLL is conditionally stable only within the hold range.
Pull in range :Describes the PLL in a dynamic state ( aquisition mode ) it is the range
within which a pll will always become locked through the aquisition process.
PLL is initially unlocked , it will aquire lock if a ref frq wiithin the pull in range is applied. If
the ref frq is outside the pull in range the PLL will not be able to lock onto the ref signal.
Lock range: Is a subset of lock in range, it is the frq range in which a PLL lock within a
single-bit mode between the ref frq and output frq.
PLL is initially unlocked
Pull out range: Describes the PLL in a static state, it is the dynamic limit for stable
operation; it is the value for a frq step applied to the ref frq that causes the PLL to unlock(
PLL is initially locke dwith the ref signal, if a ref frq that is less than the pull out range is
applied to the ref signal the PLL will remain in lock; However , if the frq step excedees the
pull out , the PLL will not be able to track the output signal and will fell out the lock.
PLL may aquire lock again, but it may be a slow pull in process. 8
4/29/2005
Phase Detector
4/29/2005 9
Analog Phase detector
x1 ( t ) = A1 cos ω1t , x 2 ( t ) = A 2 cos( ω2 t + ∆φ)
Analog Multiplier
y ( t ) = αA1 cos ω1t × A 2 cos( ω2 t + ∆φ) x1(t) y(t)
α A1A 2
= cos[( ω1 + ω2 ) t + ∆φ] x2(t)
2
α A1A 2 y
+ cos[( ω1 ω2 ) t + ∆φ]
2
Lock
π π ∆φ
-
αA1A 2 2 2
y( t ) = cos ∆φ
2
4/29/2005 10
Digital Phase Detector
Phase Vout(t)
Detector
∆φ
Vout
Vout = KD ∆φ KD
∆φ
• Example
4/29/2005 11
Phase Frequency Detector
S1 R S2 R S3
R Up Up=0 Up=0 Up=1
PFD V R
V Dn Dn=1 Dn=0 Dn=0
Symbol V
V
State Diagram
R R R R
V V V V
Up Up
Up Up
Dn Dn Dn Dn
fR > fV fR < fV V lagging R R lagging V
4/29/2005 12
Phase Frequency Detector
1 Vdd
-2π
Up
2π radians
D Q
τd
R CK R
Gain = 1 / 2 π DL
V CK R
Kd
D Q Dn
R
θd
V
τd
Up
4/29/2005 13
Dn
PFD with Charge Pump
• A switched current source is a good choice for a PFD output stage:
- highly integrated
- high impedance insures loop filter pole at zero
- low noise because of tri-state operation
- fast
Id
Up Y
R S1
PFD VCTL
V S2
Dn C
Id
UP
Down
4/29/2005 15
Charge Pump Design
VDD
VDD VDD
VDD/2
Ipump
up up on off
GND
up up
Vtune Vpol
VDD/2 GND
Vtune
VDD/2 Vtune
VDD
C2 R1
G(s)
down down C1
down down on off GND
VDD/2
Complete Differential
Charge Pump
4/29/2005 16
Circuit
Type I Second-Order PLL
R
1
F(s ) = , τ = RC
C 1 + sτ
ω2n K DK V 1 1
B(s ) = , ωn = and ζ =
s 2 + 2ζωn s + ω2n τ 2 τK D K V
• Defining with b the ratio of two capacitors b = C Z CP the loop filter impedance
can be written as
b 1 + sτ z
ZLPF (s ) =
b + 1 sC 1 + sτz
z
1+ b
4/29/2005 18
Type II Second-Order PLL II
q open loop transfer function is
Iqp K VCO b 1 + sτ z
G 0 (s ) =
2πN b + 1 2 sτ
s C z 1 + z
1+ b
q The cross-over frequency equals approximately
Iqp K VCO R z Cz Iqp K VCO R z
ωc = ≈
2πN Cz + Cp 2πN
4/29/2005 19
Type II Second-Order PLL II
q By differentiating the PM equation respect to ωc it the maximum
phase margin is achieved at
b +1
ωc =
τz
q and the maximum phase margins is:
b +1
PM = arctan b + 1 − arctan g
b +1
q Notice that the maximum phase margin is only a function of b
parameter.
q To complete loop analysis forcing ωc to be the crossover frequency
of the loop and getting it in (2) results in:
b +1 Iqp K VCO 1 b
=
τ2z 2πN C z b + 1
4/29/2005 20
Type II Second-Order PLL II
Ø From previous equations a rigorous algorithmic can be developed
to determine the loop filter parameters for an optimal open loop
gain characteristics.
q Algorithm: [1]
-40dB/dec
C ωο Re(s)
unstabile
ω
Zero for phase margin
Im(s)
|Gloop|dB
C
-40dB/dec
ωο = ωz
R
ω
Re(s)
G ( s) =
(1 + sC1R)
sCP ⋅ s (1 + sCΣ )
CP = (C1 + C2 )
Im(s)
C1 |Gloop|dB
CΣ = C1C2 ( C1 + C2 )
C2
-40dB/dec
ωο Re(s)
R
ω
4/29/2005 22
Exercise
4/29/2005 23
Voltage Control Oscillator
VOUT has an angular frq that is controllable by output voltage of the loop filter Vc.
Vc k VCO ωOUT
s
ωOUT ( t ) = ω0 + ∆ωOUT ( t ) = ω0 + k VCO Vc ( t )
-θ0 is the center frq of VCO (i.e. the out frq when Vc=0)
-kVCOis the voltage controlled oscillator conversion gain.
t
y ( t ) = A C cos[ ωFR t + K VCO ∫ v cont ( t )dt ]
∞
φOUT = ∫ ∆ωOUT ( t )dt = k VCO ∫ Vcdt
•Output phase is equal to the integral on the frq variation ∆θ(t).
k VCO
φOUT (s) = Vc (s)
4/29/2005
s 24
A Walk Around the Loop
Vi(t)
PD LPF VCO Vo(t)
Vi(t)
Vo(t)
PD
output
LPF
output
t
4/29/2005 25
Phase Locked Loop
• The open loop transfer function of any PLL is:
1 K VCO
φe G (s ) = K CP F(s )
N s
φref
Phase Charge Low Pass Filter VCO φout
frequency Pump KVCO
F(s)
Detector KCP
1
N
φo (s ) K CPK VCOF(s )
H PLL (s ) = = - - - Low pass characteristics
φi (s ) s + K VCOK CPF(s )
φe (s ) s
He (s ) = = - - - High pass characteristics
φi (s ) s + K VCOK CPF(s )
4/29/2005 26
Phase Error Function
Φe ( s ) φ e ( t = ∞) = lim sφ e ( s )
He ( s ) = Φin ( s ) s→0
2ς
s 2 + 2ς ωn s = Δω
He ( s ) = 1 H( s ) = 2 ωn
s + 2ς ωn s + ωn2
Δω
=
Φout ( s ) = H( s )Φin ( s ) K
ωn2 Δω ωin ∆ω
= 2
s + 2ς ωn s + ωn2 s 2
Φe ( s ) = He ( s )Φin ( s ) ωout ∆ω
s 2 + 2ς ωn s Δ ω
= 2 Δω
s + 2ς ωn s + ωn2 s 2 Φe
K
4/29/2005 27
t
Voltage-Controlled Oscillator
ωout = ω FR + K vVcont
Vcont ωout
ωout φc (t) = ∫ (ω FR + K vVcont ) dt
ωFR Kv
( )
Vout(t) = A cos ω R F t + K v ∫t− ∞Vcontdt
Vcont
Excess phase :
Example:
φexcess = K v ∫Vcontdt
Vout
Vcont φ (s) Kv
=
GND Vcont (s) s
Basic Idea :
Vi G(A,ω) Vo Loop gain should be 1 at a
steady state to achieve oscillation.
H(ω) - Start-up
H(ω) G(0,ω) >1
Arg (H(ω) G(0,ω) )=2nπ
Vo G ( A ,ω ) - Steady State
B ( A ,ω ) = =
Vi 1 − H (ω )G ( A ,ω ) H(ω) G(A,ω) =1
Ang (H(ω) G(A,ω) )=2nπ
Vo has finite value even though Vi=0. This requires loop gain
H(ω) G(A,ω) =1 to have a pair of nonzero poles in right half plane ,
which gives
i = f (V)
Active Frequency Basic Idea :
V Determining
Circuit Circuit Losses in the frequency determining
circuit are compensated by a negative
Za (A,ω) Zf (ω)
resistance seen into the active circuit.
i = f(V) Start-up conditions:
Xa(ωo) + Xf(ωo) = 0
C L G V - Ga VCNR
Ra(ωo) + Rf (ωo ) < 0
Vi(t)
PD LPF VCO Vo(t)
ωo ωo+∆ω
Vi(t)
Vo(t)
PD
output
KD∆φ
LPF
output
t
to
4/29/2005
• PLL system has memory. 31
• In lock, input and output frequencies are equal.
Charge Pump PLL
Ip
Up
R S1 Vcont
PFD VCO
V S2
Dn C
Ip
Ip 1
⋅ KV Ip 1
B(s ) = 2 π C s = ±j ⋅ KV
Ip 1 2π C
s2 + ⋅ K V
2π C
• Oscillation!!
• Need loop-stabilizing zero to keep the PLL stable.
4/29/2005 32
Charge Pump PLL with Zero
Ip 1 + sCR
Vcont (S) = θe (s ) IP
2π sC
Ip
(1 + sCR )K V Vcont
B(s ) = 2 πC Ip/C
Ip Ip
s2 + K V Rs + KV
2π 2πC
I pR
Ip R I pC
ωn = KV , ζ= KV
4/29/2005 2πC 2 2π Modulate VCO frequency 33
=> cause reference sideband spurs
Divide-by 4 or 5 Cell
000
MC MC: X
001 X
D Q D Q D Q 100
Q1 Q2 Q3 0
1
C Qb C Qb C Qb 010
0 X
0
CK 1
OUT 110
4/5 decision
1
point 011
CK
Q1
Q2/OUT
Q3
4/29/2005MC 34
D-Type Flip-Flop with Merged NAND Gate
Vdd
M15 M16 M17
Pbias M18
Q
Qb
A M1 M2
M7 M8 M14 M13
Ab M9 M10
B M3 M4
Bb
M5 M6 M11 M12
CK
CKb
IB IB
GND
4/29/2005 35
Dual Modulus Prescaler ( P/P+1)
MC
MC D Q D Q D Q D Q OUT
4/5
CK CK OUT C Qb C Qb C Qb C Qb
ck ck ck ck
VDD D VDD D D D
D D D
ck ck ck ck
GND GND GND
CK
D
4/29/2005 37
Basic divider component: Latch
VDD VDD
ck ck ck ck
Vbias Vbias
4/29/2005
Source Coupled Logic (SCL) Latch 38
E-TSCP for 2/3 divider
MC
÷2 ÷2 ÷2/3 D Q
D Q FF
FF Q
Q out
in
MC
VDD
in in
3 2 3 1.5 3 3 2 3
out
in in in in
0.5 1.3 2 2 0.5 0.5 1.3 3
GND
MC
φ0 = const
Spectrum is a couple of impulses @ ± ω0 − ω0 ω0 ω
spur
L(ωm) dBc
ω0 + ∆ω
ω
• Psideband (ω0 + ∆ω,1Hz ) represents the single sideband power at a frequency offset
of from the carrier with a measurement bandwidth of 1Hz.
• Note that the above definition includes the effect of both amplitude and phase
fluctuations.
4/29/2005 44
Phase Noise in Transceveir I
FILTER
blocker
Desired
Band ω0 ω LO = ω IF
ωint ωs = ωIF
LNA
ωo ωint ωIF ω
Band Pass IF
blocker blocker
Desired Desired Filter
Band Band
ωo ω ωo ωint
ωint
Frequency Channel
Duplexer Synthesizer Selection
ω LO ω
Filter
PA
Band Pass
Filter
Base Band
4/29/2005 45
Phase Noise in Transceveir II FILTER
• Phase Noise Limits the ω0 ω LO = ω IF
blocker
LNA ωIF ω
ωint ω s = ωIF
ωo ωint
Band Pass IF
blocker blocker
Desired Desired Filter
Band Band
ωo ω ωo ωint
ωint
Frequency Channel
Duplexer Synthesizer Selection
Filter ωLO ω
PA
Band Pass
Filter
Base Band
4/29/2005 46
Linear Time Invariant Phase
• Simpler Oscillator
Noise Theory
• At anti-resonant frequency, admittance
is zero
RESTORING
1 R L C ENERGY
ω0 =
LC LOSSLESS
• Quality Factor
1
Q=ω
EnergyStored Y(ω) = G + jωC1 − 2
AveragePowerDissitated ω LC
4/29/2005 47
Oscillator –Few Equations
• For frequencies near to the resonant frequency ω = ω0 + ∆ω
∆ω(∆ω + 2ω0 )LC
Y(ω0 + ∆ω) = G + j ≈ G + j2∆ωC
(∆ω + ω0 )L
1 1 1 1 1
Z(ω0 + ∆ω) ≈ = ⋅ = ⋅
G + j2∆ωC G 1 + j 2∆ωC G 1 + j 2∆ωQ
G ω0
2FkT ω 2
L {∆ω} = 10 log 0
Pcarrier 2∆ωQ
F takes in account all other noise elements present in the restoring energy lossless
4/29/2005 49
Linear Time Invariant Model
2FkT ω 2 dBc
• L{∆ω} = 10 log 0
Hz
carrier
P 2 ∆ω Q
• For reducing phase noise High Q values are demanding as well as maximize output
swing.
Unfortunatly maximize Q involves also a higher F values.
q This equation predict the phase noise of Oscillator but is not able to catch a
quantitative model for real Oscillator.
L(∆ω)
-3
-2
q Real Oscillator
4/29/2005 50
log∆ω
Leeson LTI Model and its Limits
•
2 ∆ω 1
ω
{∆ ω} = 10 log 2 FkT f3
L P
carrier
1 + 0
1 +
2 ∆ ω Q ∆ω
q It is empiric L(∆ω)
q Factor F is note a posteriori -3
∆ω 1 log∆ω
f3
q The Leeson Model is not able to quantify in a correct way phase noise aspects of a
real oscillator ( What is wrong?)
4/29/2005 51
Understand Noise in Oscillators
q LTI Model gives qualitative but not exhaustive quantitative informations:
!something missing?
Oscillator WRONG
LTI ω0 ωnoise
ωnoise
ω0 ω0 ± ωnoise
Real
Oscillator ω0
ωnoise
ω0
q LTI not able to explains the creation of new harmonics!
q LTV model, extensive invocated due to high non linearity of Oscillators, can
explain these phenomena but fails on quantifying their amplitudes.
q What about sinusoidal Oscillators? (XTAL)
4/29/2005 52
Oscillator Noise Model
qOscillator is a circuit with n inputs, one for each
noise source, and two outputs
qFrequency Oscillation is an intrinsic
characteristic of Oscillator
Vo (t ) = A(t ) ⋅ f [ω0 t + φ0 (t )]
Real A (t )
inputs noise Oscillator
ω0 φ0 ( t )
4/29/2005 54
•
The Oscillator System II
Phase-to-Noise Transfer Function is Linear even if the active elements
constituting the Oscillator experiments high non linearities!
• The effect of noise on phase is high dependently from the time it appears in
the system.
• Whereas variation on amplitudes are absorbed by system, variation on
phase persists indefinitely in the Oscillator
• What is noise? It is a perturbation superimposed on an existing oscillations.
The assertion of linearity is held for q noise ≤ q max
.
• How we can represent it?
φ(t ) A (t )
h φ (t , τ ) τ h A (t , τ ) τ
in φ(t ) in A (t )
τ τ
Ø Oscillator in its noise behaviour is a "Linear Time Invariant System !”
q Could be characterized by its impulse response
4/29/2005 55
Phase Noise Impulse response I
Γ(ω0 τ )
h φ (t , τ ) = u (t − τ )
q max
• Γ(ω0τ) Is a periodic function of period 2p. Thake account of different
sensitivity of Oscillator to the noise injected @ phase ω0τ !
• It is called Impulse Sensitivity Function (ISF) and it is a-dimensional
independent from frequency.
• Output of Oscillator de to input noise present a time varying phase:
+∞ t
1
φ(t ) = ∫ h φ (t, τ) ⋅i(τ)dτ = q ∫ Γ(ωo τ) ⋅i(τ)dτ
−∞ max −∞
• Γ(ω0τ)is periodic could be expandend in taylor series
co ∞
Γ(ωo τ ) = + ∑ c n cos(nωo τ + θn )
2 n =1
• Only few terms of series give not negligible contribute
4/29/2005 56
Phase Noise Impulse response II
q Important quantitative informations for designing a low phase noise
Oscillator inside equation!
1 c0 t t
φ(t ) = ∫ i(τ )dτ + ∑ c n ∫ i(τ ) cos(nωo τ )dτ
q max 2 −∞ −∞
+∞ t
1
q Block Diagram of φ(t ) = ∫ h φ (t, τ) ⋅i(τ)dτ = q ∫ Γ(ωo τ) ⋅i(τ)dτ
−∞ max −∞
Γ(ω0 τ ) Γ(ω0 τ )
c0 c c2 cn cm
1
2
q A noise tone at an offset ∆ω from carrier or harmonics generates a new
tone at a different frequency. More again its amplitude is a linear function of
input amplitude as confirmed by simulations and measurements.
q !! Spectrum of phase φ(t) has been determined not the spectrum of output
voltage !!
4/29/2005 59
•
Phase – Voltage Conversion
Amount of Voltage power due phase noise
Vo (t ) = A cos(ω0 t + φ(t ))
The term ½ is not present because we have that all noise transforms in phase noise
2
1 AImc m
Psideband =
4 q max ∆ω
1 I c 2
L{ }
∆ω = 10 log 2 m m
4 q max ∆ω
q !! Noise amplitude is a linear function !!
q You want less phase noise? ! Reduce cn coefficients and maximize qmax !
4/29/2005 61
single sideband noise spectral
density using LTV Model
i 2n ∞ 2
1 I 2m c 2m
∑ cn
1 ∆f
From L {∆ω} = 10 log 2 2
∆ω} = 10 log 2 n =0 2
{L 4 q ∆ω
q max ∆ω
8
max
2
∞ 1 2π
If we use Parsifal Theorem ∑ cn = ∫ Γ(x ) dx = 2Γrms
2 2
n =0 π0
i 2n 2
1 Γrms
L {∆ω} = 10 log ∆2 f 2
2 q max ∆ω
q Alert ! This equation contains less information than previous one!
4/29/2005 62
Phase Noise - Exercise 1-
i 2n 2
1 Γrms
• Use LTV model L {∆ω} = 10 log
∆ f to determine the LTI equation
2 2
2 q max ∆ω
2 2
i n 4kT q max = Cload Vmax 1 Vmax
= Pcarrier =
∆f R 2 R
2FkT ω 2
• L{∆ω} = 10 log 2 ⋅ 0
carrier
P 2 ∆ω Q
v Result is two time bigger because the assertion all noise is converted in phase noise
4/29/2005 63
Flicker Noise in Oscillators
ω1
2 2
i 1 = in ⋅ f ∆ω ≤ ω 1
n,
f ∆ω f
ω1
• LTV model asserts this noise is weigthed by c0 coefficient only f
c02 1
∆ω 1 = ⋅ 2 ω1
f3
2 Γrms f
• In High Deep CMOS technologies where flicker noise is very high it is mandatory to reduce c0
coefficient for low noise oscillators.
4/29/2005 64
Simulated Impulse Sensitivity
Function
ISF vs Tinject (N=3, fo=1.8GHz)
0.3
0.2
0.1
ISF
0.0
0 1 2 3 4 5 6 7
-0.1
-0.2
-0.3
4/29/2005 Tinject (rad) 65
LTV Model – Conclusions-
Ø LTV Model quantify in mathematical way constraints to follow for
design Low Phase Noise Oscillators
q Maximize qmax Maximize Output Voltage Swing
q Reduce Γrms
q The active circuit used in each Oscillator to supply for losses must
delivery energy all at once at the phase in which circuit is less
sensitive to the noise
q Duty Cycle of 50% is mandatory because this waveform reduces the
value of cn coefficients for n even
q Reduce c0 coefficient to minimize Flicker Noise
1 2π
c0 = ∫ Γ(x )dx
π0
is two times d.c. value and to minimize its value it is mandatory
having a symmetric output voltage( rise fall)
q The output impedance must be linear
4/29/2005 66
Impulse Sensitivity Function ISF
How to calculate
qBy means of simulations:
Noise impulse is injected at different phase
moments (0…..2π) then after few cycles the
phase shift is measured
∆t
∆φ = 2π
T
then h φ (t, τ) is calculated and multiplied by qmax
always
Jitter Phase
Noise
constraints
4/29/2005 68
Phase Noise and Timing Jitter
analysis
• Phase noise and timing jitter
– Phase noise
• Measure of spectral density of clock frequency
• Units: dBc/Hz (decibels below the carrier per Hz)
• à Analog people care about this
– Timing Jitter
• Measurement of clock transition edge to reference
• Units: Seconds (usually pS)
• à More intuitive, useful in digital systems
4/29/2005 69
Jitter Definition
q The n-th period is defined as: Tn = t n +1 − t n
Ideal Clock
tj tn
Real Clock
q For an ideal clock this time difference is independent of n, but in reality it varies with
n as a result of noise in the circuit. This results in a deviation from its mean period :
∆Tn = Tn − T
q The quantity ∆Tn is an indication of jitter.
4/29/2005 70
Jitter Definitions
q {t n } is a sequence of transition times with nominal period T
If
q The sequence A j (n ) = {t n − n T} characterizes the long term jitter and limits the resolution of
A/D Converters
q period jitter characterizes the variation in the period from the nominal or average period
{Pjittern (T ) = t n+1 − t n − T}
it reduces the time available for data processing per clock cycle; the period jitter is the first difference
of absolute jitter.
4/29/2005 71
•
Jitter from Phase Noise I
The variance for stationary absolute jitter is related to the total area
of its power spectrum +∞
1
σ 2A = ∫ Sφ (f )df
(2πf0 )2
−∞
• From relation between period jitter and absolute jitter it is possible to
write
Pjitter = A j (n + 1) − A j (n )
n
( )
P∆jn (kT ) (z ) = z k Pjn z − Pjn (z ) = Pjn (z ) z k + 1 = A jn (z ) z k + 1 ( )2
n
2
SP∆j (kT ) = P∆jn (kT ) (z ) = A jn (z ) z + 1
2
( k
)
22
(
= Sφ (z ) z + 1
k
) 22
+∞ +∞
1 4
σ 2∆j (kT ) = ∫ SP∆ jn (kT ) (f )df = ∫ sin (πfkT )Sφ (f )df
4
(2πf0 )2 −∞ (πf0 )2 −∞
4/29/2005 73
PLL Noise Transfer Functions NTF
q Each building block in the closed loop structure of PLL is an inherit source of noise ,
and its contribution to the output total noise could be easily obtained using following
2
formula S (f ) φi = S (f ) ⋅ H ( jω)
φi ni
φXTAL n closed
φe φPFD n iCPn VLPFn φVCOn
φref Charge
Phase Low Pass VCO φout
frequency Pump KVCO
Filter
Detector KCP F(s)
1
N
φDIVn
q
i
( )
where H n jω is the noise transfer function from each input noise to the PLL output whereas
the open loop function is: 1 K VCO
4/29/2005
G s ()
= K CP F s () 74
N s
PLL Noise Transfer Functions NTF II
q The closed loop transfer function of PLL is
G (s ) ⋅ N
H PLL (s ) =
1 + G(s )
q The contribution of the input noise on the output is
φCLKOUT (s ) G (s ) ⋅ N
H XTALn (s ) = = = H PLL (s )
φXTALn (s ) 1 + G (s )
q The PFD introduces noise contribute that manifests as jitter on DN and UP outputs
K VCO
K CP ⋅ F(s ) ⋅
( φ
s ) = CLKOUT =
(s ) s = 1 G (s ) ⋅ N = 1 ⋅ H
Hφ PLL (s )
PFDn φPFD n (s ) 1 + G (s ) K PFD 1 + G (s ) K PFD
q Charge pump block introduces different noise contributions as mismatch in UP and
DN currents, Dead Zone and PSR and its noise transfer function at system level is:
K VCO
F(s ) ⋅
φCLKOUT (s ) 1 G (s ) ⋅ N 1
HiCP (s ) = = s = = ⋅ H PLL (s )
iCP (s ) 1 + G (s ) K PFD ⋅ K CP 1 + G (s ) K PFD ⋅ K CP
4/29/2005 75
PLL Noise Transfer Functions NTF III
q Loop Filter is the third critical component in the loop because the noise
present at output module the VCO by means of its KVCO gain
K VCO
φ
H VLPF (s ) = CLKOUT =
(s ) s =
1 G (s ) ⋅ N
=
1
⋅ H PLL (s )
n VLPFn (s ) 1 + G (s ) K PFD ⋅ K CP F(s ) 1 + G (s ) K PFD ⋅ K CP F(s )
q Error introduced by the VCO is a phase error and its transfer function is:
φCLKOUT (s ) G (s ) ⋅ N
H φDIV (s ) = = = H PLL (s )
n φDIVn (s ) 1 + G (s )
4/29/2005 76
Jitter and Phase noise in First
Order PLL
• l φXTAL n
φe φPD n φVCOn
φref
Phase VCO φout
Detector KVCO
1
N
φCLKOUT (s )
= Hφ (s ) = K 1 ⋅ K =
s
φVCO n (s ) VCO
1 + PFD VCO s + ωl
ωl = K PFD ⋅ K VCO
s
4/29/2005 77
Jitter and Phase noise in First
q
Order PLL – VCO Noise -
The power spectral noise of output is
ω2
Sφ (ω) SφCLKOUT (ω) = ⋅ SφVCO (ω)
SφVCO (ω) ω 2
+ ω2L n
n
c
σ2A =
SφVCO (ω) 2ωL
n
ω1
ω
(
σ 2j (kT ) = 2σ 2A 1 − e
−ωL kT
)
HφVCO (ω)
n
q Due to the fact that for the phase noise of output CLKOUT is the same as the phase noise of
VCO. This equation emphasizes as the loop adjusts VCO control voltage to compensate for its
slow random variations which are slower than loop’s dynamics but is not able to react fast enough
to high frequency random changes in the VCO output and hence these fast variations appear
directly on the output
4/29/2005 78
Jitter and Phase noise in First
Order PLL - XTAL input noise -
qThe power spectral noise of output is
Sφ (ω)
ω2L
SφCLKOUT (ω) = 2
⋅ SφXTAL (ω)
SφOUT (ω) ω + ω2L n
SφXTAL (ω)
n
HφXTAL (ω)
n
ωL ω
4/29/2005 79
Frequency Spectrum of RF Signal
Carrier
fBW
Spurs
20 log(N2) 20 log(N1)
Synthesizer phase noise floor
N1 > N2
4/29/2005 80
Phase Noise
4/29/2005 Phase noise : -59.7 dBc/Hz @ 500Hz offset with a carrier frequency 81
of 1.8 GHz.
BEHAVIORAL MODELING OF
APLL
Manuel CAMUS
April - September 2004
4/29/2005 82
BEHAVIORAL MODELING OF APLL
LO C K
LO CKDET
N
ACCMOD
D igital blocks
UP2 D N Z2 Analog blocks PLL’s characteristics
RCK UP
FOUT
– 2 modes over 5 are fractional
CP LF VCTL
VCO (prescaler mode N/N+1)
PFD
DAC
CKF DNZ
– Compensation of the phase error by
opposite current injection ( by
means of DAC )
IBIAS
N
– Integrated Loop Filter
LO O P C N T
PLL’s equations :
Open loop Close
Close loop
Φr Icp ⋅ Z LF ( s ) ⋅ Kv GO ( s )
GO ( s ) = = Gc ( s ) =
Φi N ⋅s 1 + GO ( s )
4/29/2005 83
BEHAVIORAL MODELING OF APLL
APLL’s Model
• PLL Modeling:
– Main function : Not complicated
– The major point : understand the significant non-ideal parameters to
modeling
– Model’s description :
PLL's blocks Type of Model Supply noise Phase Noise Other Non-ideal Parameters
PFD Verilog or VerilogA no yes Dead Zone
Delay on Up & Dnz
CP VerilogA yes no Mismatch beetwen UP & DNZ
Output Resistor
DAC VerilogA and Verilog no no Current Mismatches
LOOPFILTER VerilogA or Spice yes no Leakage Current
Parasitic capcitor
VCO VerilogA yes yes Intrinsic Jitter
DIVIDER VerilogA or Verilog no yes Delay
IBIAS VerilogA yes no
ACCMOD Verilog no no
4/29/2005 LOCKDET VerilogA no no 84
TEST Verilog no no
BEHAVIORAL MODELING OF APLL
Example of critical Block : VCO
• Main function plus Supply Noise, Phase Noise & Intrinsic jitter
4/29/2005 85
BEHAVIORAL MODELING OF APLL
• Time simulation comparison • Waveforms comparison :
: Model :
Output
( Transient Analyze : 20us ) period
Schematic Model
10 850 min 24 min
÷450
• Output results comparison : VCTL
Supply Noise 1MHz 50mV P2P Supply Noise 100KHz 50mV P2P
Model Schema Model Schema
VCTL CLKOUT VCTL CLKOUT VCTL CLKOUT VCTL CLKOUT
MC384 Mode (P2P mV) P2P Jitter (ps) (P2P mV) P2P Jitter (ps) (P2P mV) P2P Jitter (ps) (P2P mV) P2P Jitter (ps)
integer 1 50.55 36 50.62 34 50.59 16 50.64 14
fractionnal 1 53.03 120 53.29 126 52.98 97 53.15 102 VCTL
fractionnal 2 51.26 113 51.68 108 53.97 107 53.51 110
integer 2 50.58 46 50.22 40 50.81 28 50.27 20
4/29/2005 86
BEHAVIORAL MODELING OF APLL
Appendix 3 : VCO phase Noise Model
• Period Jitter : ∆Tn = t n +1 − t n − T
E[θ 2 (t )] E[θ (t + ∆T )] 2 ⋅ E[θ (t ) ⋅θ (t + ∆T )]
{ }
2
1
• Variance : σ 2 ∆T = E [θ (t + ∆T ) − θ (t ) ]2
= + −
ϖ0 ϖ0 ϖ0 ϖ0
2 2 2 2
Rθ (τ ) = E[θ (t ) ⋅ θ (t + τ )] σ ∆2T =
2
[ Rθ (0) − Rθ (∆T )]
ϖ0
2
σ ∆2T = c ⋅ T
∞
8
• Khinchin theorem:σ 2
∆T = 2 ∫ Sθ ( f ) ⋅ sin2 (πf∆T )df
ϖ0 0
∞
Rθ (τ ) = ∫S
−∞
θ ( f )e j 2πfτ df
c cFN
VCO Phase noise spectrumS : ( f ) = f ⋅( +
2
• Φ c )
f2 f3
f Γ( f )
σ ∆T (T ) = 3/ 2
⋅10 20
fc
1 1 fc
• Model : Fvco = = =
T Tc + ∆T 1 + fc ⋅ ∆T
Schema Model
RMS Jitter (ps) 5.7 5.7
P2P Jitter / 300 samples (ps) 33.2 32.3
• Results : P2P Jitter / 30000 samples (ps) 46.9 52.9
4/29/2005 87
BEHAVIORAL MODELING OF APLL
Appendix
Reference
Noiseφ
4 : Noise in PLL
nr
PFD CP VCO
Noise φnc Noise
RCK φnv
+ PFD Icp VCTL FOUT
φi
CKF CP
+ LF VCO +
Divider
Noise φnd
+ LOOPCNT
Divider M
Kv
Icp ⋅ Z ( s) ⋅
φ
• Reference Noise : T 1( s ) = 0 =
φnr
s = N ⋅ G0 ( s )
Icp ⋅ Z ( s) ⋅ Kv 1 + G0 ( s )
1+
N s
Kv
Z ( s) ⋅
φ
• CHPUMP Noise : T 2( s ) = 0 =
φnc
s =
N
⋅
G0 ( s )
Icp ⋅ Z ( s ) ⋅ Kv Icp 1 + G0 ( s )
1+
N s
φ0 1 1
• VCO Noise : T 3( s ) =
φnv
= =
Icp ⋅ Z ( s ) ⋅ Kv 1 + G0 ( s )
1+
N s
Kv
Icp ⋅ Z ( s ) ⋅
• Divider Noise : φ
T 4( s) = 0 =
φnd
s = N ⋅ G0 ( s )
Icp ⋅ Z ( s) ⋅ Kv 1 + G0 ( s )
1+
N s
4/29/2005 88
BEHAVIORAL MODELING OF APLL
Appendix 5 :Loopfilter
• Second order LoopFilter :
1 + RC1
H ( s) =
CC -20dB/dec
(C0 + C1 ) ⋅ s ⋅ (1 + R 0 1 s )
C0 + C1
f ( log )
fz fp
R=20k C1=80pF C2=1.8pF -20dB/dec
Current Leakage
effect on VCTL :
4/29/2005 89
BEHAVIORAL MODELING OF APLL
Appendix 6 : Fractional Mode
• ACCUMULATOR MODULO-P :
99 5 8
Example: 13->99 MHz : = 7 + 8 = 7.61538
13 13 13
M=8
P=13
4/29/2005 90
PCS CDMA Transceiver
1840-1870MHz I
1855 MHz 220.38 MHz
LNA ÷2
1619.62-1649.62MHz Resonator
Duplex
PLL ADC & DAC
Filters
1900MHz
130.38MHz Q
SAW
Modem
1750-1780 MHz I
1619.62-1649.62 MHz
÷2
PLL
Tank
q Frequency Dividers
4/29/2005 92
Reference Oscillators
4/29/2005 93
Sideband Spurs in PLL
Vc(t)=∆V sin(2πfreft)
PFD/CP LPF VCO : Kvf (Hz/V)
q Design Issues
§ - Gain and linearity
§ - Dead-zone free PFD/CP
§ - Mismatch between sourcing and sinking currents
§ - Mismatch in switching time between UP and Down
§ - Charge charging
§ - Leakage current
§ - Voltage compliance
§ - Others
4/29/2005 96
VCOs
• Key Specs
- Spectral Purity ( Phase Noise )
- Tuning Range
- Tuning Linearity
- Supply and Substrate Noise Rejection (Integrated VCO)
=> Differential operation is very important
• Typical Approach
- Ring Oscillator --- too much phase noise!?
- LC Oscillator
- Colpitts, Hartley Configurations
• Reference Divider
4/29/2005 98
Pulse Swallower Counter
A
Program
P/P+1 Prescaler counter
fout A-B
fin CK MC OUT CK LD OUT
B
Program B
counter
CK LD OUT
• Counter functionality:
- asynchronous load of value at Program data when LD is high.
- count down to terminal state $0 when LD is low.
P/P+1 Prescaler
fin CK OUT fout
MC
Carry
K
M bit
D
CK
CK
N eff =
( )
K ⋅ (P + 1) + 2m − K ⋅ P
=P +
K
w here 0 ≤ K < 2m
2m 2m 100
4/29/2005
Design Example of PLL
− K d KV (1 + jωτ 2 ) τ1
G ( jω )H ( jω ) =
ω 2C 1N (1 + jωτ1) τ 2
GH
- 20 dB/dec.
0
φ (ω ) = 180 + a tan(ωτ 2 ) − a tan(ωτ1)
- 40 dB/dec.
ωp F (Hz) dφ τ2 τ1
= − =0
Ph. of GH
d ω 1 + (ωτ )2 1 + (ωτ )2
2 1
φp 1
ωp =
-180 F (Hz) τ1τ 2
K K τ 1 + (ωp τ 2 )
2
sec φp − tan φp 1 τ τ
τ1 = , τ2 = , C1 = d v 1 , C = C 1 2 − 1 , R = 2
4/29/2005 ωp ωp2τ1 ωp2N τ 2 1 + (ωp τ1)2 τ1 C 101
Integer-N Frequency Synthesizer
VCO
fref θo F
÷R PFD LPF fo = ref ⋅ N = fref ⋅ N
θref fo R
Fref
θo/N fo/N Channel Spacing
= Reference Freq.
N
k
fo = N + ⋅f
m ref
fref PFD LPF VCO
2
÷N or N+1 (N+1)fref
overflow
clock (N.F)fref
k m-bit Accum.
m bit Nfref
4/29/2005 104
f ( kHz )
CENTER FREQ. 30 60 90 120 150
fr PFD LPF fo fr
fv
N/N+1 fv
Phase
DAC carry error
m bit DAC
accum. output
K
Effective
Pd. error
• First-Order Σ∆ Modulator
input k output
m bit D residue
R
ck
+ + A(z)
+ + + Q(z)
F(z) Y(z)
- +
- +
z -1 A(z) Y(z)
2m 2m
4/29/2005 z -1 106
0
- Q(z)
4/29/2005 107
-q1(n) y2(n)
First-Order Σ−∆
Modulator Bit
y(n)
4/29/2005 108
Y(z) = F(z) + ( 1 - z -1 )n Qn (z)
B.H. Park, 6/23/99
Third-Order Delta-Sigma Modulator Implementation
output
z -1 z -1
{-1, 0, 1, 2}
+
+
- +
z -1 z -1 z -1
Multimodulus
Fref Buffer
Prescaler VCO
/R
Ref.
Input
k
Freq.
Setting High-Order Σ∆ Modulator
Data m bits
4/29/2005 110
fo = 1/R ( N + k / 2m ) Fref = ( N +k / 2m ) fref
B.H. Park, 6/23/99
Swallow counter divider
Number of pulses
fRef fVCO counted
Program
Counter
M/M+1
Prescaler ( M + 1) S + ( P − S ) M =
/P
Modulus
( PM + S )
Swallow control
fVCO = ( PM + S ) ⋅ f Ref
Counter
/S
S = 1,2...
4/29/2005 111
Tracking and Acquisition
• Tracking
: Extent to which the loop can follow variation
in the input frequency
• Acquisition
: How the loop goes from unlocked state to complete
phase lock
4/29/2005 112
Integer-N Architecture
fREF fout
PD LPF VCO
÷M
Modulus Selection
- Drawback
Reference Spur
Loop Bandwidth
4/29/2005 Phase Noise 113
Pulse Swallow Frequency Divider
÷M Program
Prescaler Counter
fin fout
÷(N+1)/N ÷P
Modulus
Control Reset
÷S Swallow
Counter
Modulus Selection
4/29/2005 114
Fractional-N Synthesizer
fREF fout
PFD LPF VCO
Pulse
Remover
Remove
fREF fout
PFD LPF VCO
Pulse
÷M Remover
÷ (N+1)/N
Modulus Control
fREF fout
PD LPF VCO
÷10/11
Modulus Control
÷M TREF
4/29/2005 t 116
9TREF
Randomization & Noise Shaping
÷ (N+1)/N ÷ (N+1)/N
Randomizer Randomization
and
Noise Shaping
4/29/2005 117
Dual-Modulus Divider
To PD From VCO
b(t)
Σ∆
Modulator
4/29/2005 118
Dual-Loop Synthesizer
fREF1
PLL1
Frequency
fc + M fREF2
Adder
PLL1
fREF2
Channel
Selection
4/29/2005 119
Dual-Loop Synthesizer
fREF1
× LPF VCO1
I
×
Q
fout
÷N +
×
I
fREF2
LPF VCO2
Q ×
SSB Mixer
÷M
Channel
4/29/2005 120
Selection
Dual-Loop Architecture
×
fREF1 I
fout
LPF VCO1
Q
SSB
÷M
Mixer
f2 I Q
Channel
Selection PLL2
0 f
fREF1
× LPF
SSB
÷N
Mixer
4/29/2005 fREF1 f 121
Why All Digital PLL?
Improvements in digital designs
* Testability
Why All Digital PLL?
Solves Problems Related to Analog PLLs(APLL)
• Sensitivity to DC Drifts
• Component Saturations
• Difficulties building higher order loops
• Initial calibration and periodic adjustments
4/29/2005 123
Issues of ADPLLs versus APLLs
• Limitation on operating speed
• Chip area
• Power Consumption
• Worse jitter performance due to D/A
converter resolution limitation
* Note: The above issues need further
exploration[7] as some papers have
4/29/2005 reported better ADPLL performance. 124
Example ADPLL Loop Filter
• Up/Down control from the Phase Detector
Controls the Counter value or the Digital
Phase difference – Transfer Function ~ 1/sTi
Up/Down Counter
4/29/2005 125
Example Digital VCO (DCO)
• Up/Down Counter Value or the Phase
Error is utilized to create the clock
%N Counter
4/29/2005 126
Results[2]
• Shorter Locking in time
• Better Jitter Performance
• Better Portability (cell-based design)
• Reduced circuit complexity
• Reduced Design Time
• Note: Some other papers have reported
ADPLLs area and power statistics better
than APLLs
4/29/2005 127
Summary- Why are ADPLLs
• Stability Better?
• Fast Acquisition Time
• Large hold-in range
• Large lock-in range
• Better phase jitter performance
• No need for off-chip components
• Technology portability
• Testability
• Programmability
4/29/2005 128
• Simpler design and faster simulation
ECE1352F – Topic Presentation - ADPLL
Future of ADPLL
• Digital IP (Intellectual Property) vendors
are already creating ADPLL products
• As technology progress happens skew
problems will require ADPLLs within the
design components to synchronize the
clock signal between various blocks
4/29/2005 129