introduction to pll design for frequency ...ece.tamu.edu/~s-sanchez/665 pll class part 1...
TRANSCRIPT
INTRODUCTION TO PLL DESIGN
FOR FREQUENCY SYNTHESIZER
Thanks Sung Tae Moon and Ari Valero for part of this material
Analog and Mixed-Signal Center
A M S C
2
Contents
Introduction to Frequency SynthesizerSpecification StudyPLL DesignTesting Examples
3
Frequency Synthesizer in Transceiver
FS provides LO signal for up/down conversionFrequency accuracy is in the order of tens of ppmHigh spectral purity in terms of phase noise and spurious signalSettling time requirement when switching channels
FrequencySynthesizer
to baseband
frombaseband
LNA
PA Mixer
4
Communication Standards
sssTTT pktslotdown μμμ 259366625 =−=−=
5
Phase Noise Requirement
fLODC
PNPSig
PInt
PLO
fBW
PSig+PLO
PInt+PN+PBW
Calculated from adjacent channel interference rejection requirementSNR due to interference down conversion has to be better then minimum required SNR
min)( SNRPPPPNPP BWIntSigLON −−−<=−
min)()( SNRPPPPPSNR BWNIntLOSIG >++−+=
6
min)( SNRPPPPNPP BWIntSigLON −−−<=−
For illustration consider the Table in page 4 , the Bluetooth standard specifies an interferer of +40dB at 3MHz away fromthe desired signal.
SNRmin from a BER of 0.001 is 18dB. PBW = 10log106=60dB.
Thus PN= -118DBc at 3MHz from carrier. The computation assumes phase white noise within the channel bandwidth
7
Spurious Signal
Vc Vo
control port output signalVCO
VCO output is modulated by coupled signal on control port.Two sideband tones at ±ωm away from the center frequency
⎟⎠⎞
⎜⎝⎛ ++−−=
⋅−≈+=
′+= ∫
tKtKtV
tKttVtKtV
dttvKtVtv
momooo
mooo
moo
cooo
)cos(2
)cos(2
cos
)sinsin(cos)sincos(
))(cos()(
ωωωωω
ωωωωω
ω
8
Spur Requirement:Reference spur can be a serious problem if the system uses narrow channel spacing and the spur coincides with the adjacent channels . This might occur for BT transceivers with an integer-N frequency synthesizer.
Calculated from adjacent channel interference rejection requirementSince spur is not noise, PBW is out of equation
min)( SNRPPPP IntSigLOSp −−<−fLODC
PSp
PSig
PInt
PLO
PSig+PLO
PInt+PSp
9
Spur Requirement for 802.11b
Channel is wider then spur offsetSystem level simulation is required to estimate the degradation of the signalThe reference spur must be at least 25dB below the carrier signal to
keep a BER better than 10-5 when the input SNR is 12dB
fLODC
PSp
PSig
PLO
10
Spur Simulation in Systemview
11
Spur Simulation ResultThe effect of reference spur at 2M Hz in 802.11b system
Spur Power
12
A basic phase locked-loop architecture
)( θϕϕ −−= OUTINPKError
OUToAy ϕcos0 =
Loop FilterLoop FilterSynchronizedOscillatorSynchronizedOscillator
Phase DetectorReference
Error
INii Ayference ϕcosRe ==
13
Integer-N Synthesizer
PFD CP LoopFilter
fREF
1/N
VCO
Channel Selection
fout
Only integer multiple of fREF is allowed for outputfREF is not necessarily equal to channel spacingfREF_max=GCD(fChannel,fSpacing)
REFout fNf ⋅=
14
A numerical example.-
For Wireless LAN 802.11b the standard specifies channels from 2412 MHz to 2472 MHz in steps of 5 MHz.
Thus the maximum fREF is GCD(2412 MHz, 5MHz) = 1M Hz
15
Process of OperationPFD compares the phase difference between the reference and the divided VCO output.PFD output is a series of pulses with duty cycle proportional to the phase difference.CP converts the voltage pulses into current pulsesLoop filter converts current pulses into filtered voltage level.With negative feedback, the phase difference between the reference and the VCO become smaller and smaller until they are exactly in-phase.Once locked, the frequency of the VCO is equal to N times the reference frequency.
16
Charge-pump PLL
Phase frequency detector (PFD) extends acquisition range to full VCO tuning range, not limited by loop bandwidthCharge-pump and capacitive filter introduce a pole at the origin. Infinite DC gain leads to zero static phase error
17
Charge-pump PLL Linear Model
PFD CP
1/2π
/ N
φIN
I Ko/s
1/NφOUT
(1+s/ωz)(1+s/ωp)sC1
Loop Filter
R1
C1
C2
VCO
Transfer function of phasePFD and CP is modeled as constant gainVCO is modeled as integratorFrequency divider is modeled as constant loss
18
Linear Model Equations
Open-loop transfer functionTo check phase margin for stabilityImportant parameters : ωn (natural frequency), ωc(crossover frequency), ωz (zero), ωp (additional pole)
Closed-loop transfer functionTo check transient behavior, including settling time, overshoot and stabilityImportant parameters : ωn (natural frequency), ζ(damping factor)
19
Open-loop Transfer Function
)/1()/1(
2)( 2
1 p
zoopen ss
sNC
IKsHωω
π ++
=
Two poles at the origin make the loop potentially unstableStabilizing zero at ωz makes the loop stableAdditional pole at ωp improves rejection of undesirable signal
20
Open-loop Transfer Function (cont.)
ωz ωn ωc
ωp
−180
−135
−90
Magnitude
Phase
Natural frequency
Crossover frequency
Zero frequency
Pole frequency
NCIKo
n12π
ω =
z
nc ω
ωω2
≈
11
1CRz =ω
21
1CRp ≈ω
21
Stability due to Phase Margin
Phase margin changes depend on placement of zero and polesCrossover frequency is approximately same as loop bandwidth
Magnitude Phase
22
Gardner’s Stability Limit
Since PFD and CP works in discrete time domain, linear approximation fails when the loop bandwidth gets close to sampling frequencyGardner’s stability limit states
Loop bandwidth should be considerably lower then reference frequency
)/1( REFz
REFc ωπωπ
ωω+
<
23
Closed-loop Transfer Function
)/(/1/1
)/()/(/1/1)(
2
32
oDz
z
oDpoDz
zclosed
KKsss
KKsKKssssH
+++
≈
++++
=
ωω
ωωω
Second-order transfer function with a zeroImportant parameters are ωn (natural frequency) and ζ (damping factor)
NCIKKK o
oDn12π
ω ==z
n
ωωζ2
=
24
Closed-loop Behavior
In magnitude response, peaking occurs due to zero in forward path.In transient response, overshoot occurs when underdamped.
Magnitude Transient
25
Settling Time Estimation
⎪⎪⎪⎪
⎩
⎪⎪⎪⎪
⎨
⎧
−
+−Δ
−−
Δ
−
Δ
=
12)1(
ln)1(
1
ln11
ln1
2
2
2
2
ζα
ζζ
ωζζ
αζω
ζαζω
on
on
on
s
ff
fff
f
t
fo is starting frequency, Δf is amount of frequency jump, α is settling accuracyThe larger the bandwidth, the faster the settling timeOverdamping slows down settling time
26
Design Procedure
1. Determine reference frequency from requirements fREF=GCD(fChannel,fSpacing)
2. From Gardner’s stability limit, determine the loop bandwidth ωc < ωREF/10
3. Choose damping ratio ζ4. Calculate natural frequency ωn = ωc/2ζ5. Check if settling time is good enough6. Calculate zero and pole frequency
ωz = ωn/2ζ, ωp = ωnx2ζ
27
Testing : Chip Microphoto
28
Testing : Failed Chip
29
Testing : PC Board
30
Testing : Equipments
Agilent infiniiumOscilloscopeR&S FSEB Spectrum analyzerAgilent 33250A Function GeneratorHP 33120A Function GeneratorAgilent E3631A Power Supply
31
Testing Results : Tuning Range
32
Testing Results : High Spur
33
Testing Results : Low Spur
34
Testing Results : Phase Noise
35
Testing Results : Settling Time
36
Testing Results : Unstable Settling