6.976 High Speed Communication Circuits and Systems Lecture 18

advertisement
6.976
High Speed Communication Circuits and Systems
Lecture 18
Design and Simulation of Frequency Synthesizers
Michael Perrott
Massachusetts Institute of Technology
Copyright © 2003 by Michael H. Perrott
Outline
ƒ
Closed-Loop Design of Frequency Synthesizers
ƒ
Fast and Accurate Simulation of Frequency Synthesizers
- Introduction
- Background on Classical Open Loop Design Approach
- Closed Loop Design Approach
- Example and Verification
- Conclusion
- Introduction
- Difficulties of Traditional Approaches
- Proposed Method
- Example and Verification
- Conclusion
M.H. Perrott
MIT OCW
Σ−∆ Fractional-N Frequency Synthesizer
ƒ
Focus on this architecture since it is essentially a
“super set” of other synthesizers, including integer-N
and fractional-N
- If we can design and simulate this structure, we can also
do so for classical integer-N designs
ref(t)
PFD
e(t) Charge
Pump
Loop
Filter
out(t)
v(t)
VCO
div(t)
Nsd[m]
M.H. Perrott
Divider
Σ−∆
Modulator
N[m]
MIT OCW
Frequency-domain Model
PFD
Φref [k]
Tristate: α=1
XOR: α =2
α
T
e(t)
2π
C.P.
Loop
Filter
Icp
H(f)
VCO
v(t)
KV
Φout(t)
jf
Divider
Φdiv[k]
1
1
T
Nnom
Φd [k]
n[k]
-1
z
2π
1 - z-1
j2πfT
z=e
See Perrott et. al. JSSC,
Aug. 2002 for details
ƒ
Closed loop dynamics parameterized by
M.H. Perrott
MIT OCW
Review of Classical Design Approach
Given the desired closed-loop bandwidth, order, and
system type:
1. Choose an appropriate topology for H(f)
ƒ Depends on order, type
2. Choose pole/zero values for H(f) as appropriate for the
required bandwidth
3. Adjust the open-loop gain to achieve the required
bandwidth while maintaining stability
ƒ Plot gain and phase bode plots of A(f)
ƒ Use phase (or gain) margin criterion to infer
stability
M.H. Perrott
MIT OCW
Example: First Order, Type I with Parasitic Poles
Evaluation of
Phase Margin
Closed Loop Pole
Locations of G(f)
Im(s)
20log|A(f)|
Open loop
gain
increased
C
Dominant
pole pair
0 dB
f
fp fp2fp3
B
Non-dominant
poles
\A(f)
-90
C
B
A
Re(s)
A
o
o
0
A
PM = 72 for A
PM = 51o for B
B
o
-165
o
-180
-240
o
-315
o
M.H. Perrott
PM = -12o for C
C
MIT OCW
First Order, Type I: Frequency and Step Responses
Closed Loop Step Response
Closed Loop Frequency Response
C
C
2
0 dB
B
B
A
1
A
0
Frequency
M.H. Perrott
Time
MIT OCW
Limitations of Open Loop Design Approach
ƒ
ƒ
ƒ
ƒ
Constrained for applications which require precise
filter response
Complicated once parasitic poles are taken into
account
Poor control over filter shape
Inadequate for systems with third order rolloff
- Phase margin criterion based on second order systems
Closed loop design approach:
Directly design G(f) by specifying dominant pole and
zero locations on the s-plane (pole-zero diagram)
M.H. Perrott
MIT OCW
Closed Loop Design Approach: Overview
ƒ
G(f) completely describes the closed loop dynamics
- Design of this function is the ultimate goal
Performance
Specifications
{type, fo, ...}
Open Loop
Design
Approach
G(f) =
|A(f)|
\A(f)
{K, fzA, fpA, ...}
A(f)) =
A(f)
1+A(f)
G(f)
G(f)
{fz , fp , ...}
11-G(f)
Closed Loop Design Approach
ƒ
ƒ
ƒ
Instead of indirectly designing G(f) using plots of A(f),
solve for G(f) directly as a function of specification
parameters
Solve for A(f) that will achieve desired G(f)
Account for the impact of parasitic poles/zeros
M.H. Perrott
MIT OCW
Closed Loop Design Approach: Implementation
ƒ
ƒ
ƒ
Download PLL Design Assistant Software at
http://www-mtl.mit.edu/research/perrottgroup/tools.html
Read accompanying manual
Algorithm described by C.Y. Lau et. al. in “Fractional-N
Frequency Synthesizer Design at the Transfer Function
Level Using a Direct Closed Loop Realization
Algorithm”, Design Automation Conference, 2003
M.H. Perrott
MIT OCW
Definition of Bandwidth, Order, and Shape for G(f)
0
G(f)
(dB)
ƒ
Bandwidth – fo
ƒ
Order – n
ƒ
Shape
fo
f
rolloff =
-20n
dB/decade
- Defined in asymptotic manner as shown
- Defined according to the rolloff characteristic of G(f)
- Defined according to standard filter design
methodologies
ƒ Butterworth, Bessel, Chebyshev, etc.
M.H. Perrott
MIT OCW
Definition of Type
ƒ
ƒ
Type I: one integrator in PLL open loop transfer
function
- VCO adds on integrator
- Loop filter, H(f), has no integrators
Type II: two integrators in PLL open loop transfer
function
- Loop filter, H(f), has one integrator
Tristate: α=1
PFD XOR-based: α=2
Φref(t)
Φdiv(t)
M.H. Perrott
α
2π
Loop Filter
e(t)
H(f)
VCO
v(t)
Kv
jf
Φout(t)
Divider
1
N
MIT OCW
Loop Filter Transfer Function Vs Type and Order of G(f)
H(s) Topology For Different Type and Orders of G(f)
Type I
Order 1
Order 2
Order 3
Type II
KLP
KLP
KLP
KLP
1+s/wp
1+s/wz
s
1+s/wz
s(1+s/wp)
KLP
KLP(1+s/wz)
1+s/(wpQp)+(s/wp)2
s(1+s/(wpQp)+(s/wp)2)
where KLP = K
Nnom
KvIcpα
Calculated from software
ƒ
Practical PLL implementations limited to above
ƒ
Open loop gain, K, will be calculated by algorithm
- Prohibitive analog complexity for higher order, type
Loop filter gain related to open loop gain as shown above
M.H. Perrott
MIT OCW
Passive Topologies to Realize a Second Order PLL
Type I, Order 2
DAC
Idac
Vout
Iin
Vout
Iin
C1
Vout
Iin
ƒ
Type II, Order 2
=
C1
R1
R1
1+sR1C1
Vout
Iin
=
1
R1
C2
1+sR1C2
s(C1+C2) 1+sR1C||
DAC is used for Type I implementation to coarsely
tune VCO
- Allows full range of VCO to be achieved
M.H. Perrott
MIT OCW
Passive Topologies to Realize a Third Order PLL
Type I, Order 3
Idac
DAC
L1
C1
Iin
L1
Iin
Iin
Vout
Type II, Order 3
=
R1
1+sR1C1+s2L1C1
Vout
C1
Vout
R1
C2
R1
Vout
Iin
=
1
1+sR1C2
s(C1+C2) 1+sR1C||+s2L1C||
where C||= C1C2/(C1+C2)
ƒ
Inductor is necessary to create a complex pole pair
- Must be implemented off-chip due to its large value
M.H. Perrott
MIT OCW
Problem with Passive Loop Filter Implementations
ƒ
Large voltage swing required at charge pump output
ƒ
Non-ideal behavior of inductors (for third order G(f)
implementations)
- Must support full range of VCO input
- Hard to realize large inductor values
- Self resonance of inductor reduces high frequency
attenuation
Cp
L1
L1
Alternative: active loop filter implementation
M.H. Perrott
MIT OCW
Guidelines for Active Loop Filter Design
ƒ
Use topologies with unity
gain feedback in the
opamp
- Minimizes influence of
opamp noise
R1
ƒ
Perform level shifting in
feedback of opamp
- Fixes voltage at charge
pump output
Use current
to achieve
level shift
R2
Level
Shift
Element
2
Vnoise,in
Vout
Set nominal
voltage to Vref
Vout
Vref
ƒ
Prevent fast edges from directly reaching opamp inputs
- Will otherwise cause opamp to be driven into nonlinear
region of operation
M.H. Perrott
MIT OCW
Active Topologies To Realize a Second Order PLL
Type I, Order 2
DAC
Idac
Type II, Order 2
C2
R2
Iin
C3
Vout
Iin
C1
R1
Vref
Iin
R1
C1
Vref
Vref
Vout
Iin
ƒ
ƒ
=
Vout
R1
1+sR1C1
Vout
Iin
=
1+sR1(C1+C2+C3)
sC2(1+sR1C1)
Follows guidelines from previous slide
Charge pump output is terminated directly with a high
Q capacitor
- Smooths fast edges from charge pump before they
reach the opamp input(s)
M.H. Perrott
MIT OCW
Active Topologies To Realize a Third Order PLL
Type I, Order 3
Type II, Order 3
C2
C2
R1
R2
R1
C3
R2
Idac
DAC
C1
Iin
C1
Iin
Vout
Vout
Vref
Vout
Iin
=
Vref
Vout
-R2
2
1+s(R1+R2)C2+s R1R2C1C2
Iin
=
-1
1+sR2C3
s(C1+C2) 1+sC||(R1(1+C1/C3)+R2)+s2R1R2C1C||
where C||= C2C3/(C2+C3)
ƒ
Follows active implementation guidelines from a few
slides ago
M.H. Perrott
MIT OCW
Example Design
ƒ
Type II, 3rd order, Butterworth, fo = 300kHz, fz/fo = 0.125
ƒ
Required loop filter transfer function can be found from
table:
- No parasitic poles
M.H. Perrott
MIT OCW
Use PLL Design Assistant to Calculate Parameters
M.H. Perrott
MIT OCW
Resulting Step Response and Pole/Zero Diagram
M.H. Perrott
MIT OCW
Impact of Open Loop Parameter Variations
ƒ
Open loop parameter variations can be directly entered
into tool
M.H. Perrott
MIT OCW
Resulting Step Responses and Pole/Zero Diagrams
ƒ
Impact of variations on the loop dynamics can be
visualized instantly and taken into account at early
stage of design
M.H. Perrott
MIT OCW
Design with Parasitic Pole
ƒ
Include a parasitic pole at nominal value fp = 1.2MHz
Ö K, fp and
Qp are adjusted to obtain the same dominant
pole locations
M.H. Perrott
MIT OCW
Noise Estimation
ƒ
Phase noise plots can be easily obtained
Jitter calculated by integrating over frequency
range
-
M.H. Perrott
MIT OCW
Calculated Versus Simulated Phase Noise Spectrum
Without parasitic pole:
60
Output Phase Noise of Synthesizer
SD Noise
Detector Noise
VCO Noise
Total Noise
Simulated Noise
80
100
120
100
120
140
140
160
160
180 4
10
105
106
Frequency Offset (Hz)
107
Simulated Phase Noise of SD Freq. Synth.
80
L(f) (dBc/Hz)
L(f) (dBc/Hz)
60
108
180 4
10
105
106
107
108
Frequency Offset (Hz)
RMS jitter = 13.791ps
M.H. Perrott
MIT OCW
Calculated Versus Simulated Phase Noise Spectrum
With parasitic pole at 1.2 MHz:
60
Output Phase Noise of Synthesizer
SD Noise
Detector Noise
VCO Noise
Total Noise
Simulated Noise
80
100
120
100
120
140
140
160
160
180
104
105
106
Frequency Offset (Hz)
107
Simulated Phase Noise of SD Freq. Synth.
80
L(f) (dBc/Hz)
L(f) (dBc/Hz)
60
108
180 4
10
105
106
107
108
Frequency Offset from Carrier (Hz)
RMS jitter = 14.057ps
M.H. Perrott
MIT OCW
Noise under Open Loop Parameter Variations
60
Output Phase Noise of Synthesizer
SD Noise
Detector Noise
VCO Noise
Total Noise
L(f) (dBc/Hz)
80
100
120
140
160
180 4
10
105
106
107
108
Frequency Offset (Hz)
RMS jitter = 11.678ps (min), 18.211ps (max)
ƒ
Impact of open loop parameter variations on phase
noise and jitter can be visualized immediately
M.H. Perrott
MIT OCW
Conclusion
ƒ
New closed loop design approach facilitates:
ƒ
Techniques implemented in a GUI-based CAD tool
ƒ
Beginners can quickly come up to speed in designing
PLL’s
Experienced designers can quickly evaluate the
performance of different PLL configurations
ƒ
- Accurate control of closed loop dynamics
ƒ Bandwidth, Order, Shape, Type
- Straightforward design of higher order PLL’s
- Direct assessment of impact of parasitic poles/zeros
M.H. Perrott
MIT OCW
Simulation of Frequency Synthesizers
Impact of Synthesizer Noise
Wireless Transmitter
Wireless Receiver
RF Out
RF In
A/D
D/A
Digital
Channel Baseband
Frequency Select
Synthesizer
Digital
Baseband Channel
Select Frequency
Synthesizer
Synthesizer
Noise
Synthesizer
Noise
f
f
Transmitter
Channel
ƒ
Noise must be low to
meet transmit mask
requirement
M.H. Perrott
Receiver
Channel
ƒ
Noise must be low to meet
receiver SNR and blocking
requirements
MIT OCW
Impact of Synthesizer Dynamic Behavior
Wireless Transmitter
Wireless Receiver
RF Out
RF In
A/D
D/A
Digital
Baseband Channel
Select Frequency
Synthesizer
Digital
Channel Baseband
Frequency Select
Synthesizer
f
Transmitter
Channel
ƒ
f
Receiver
Channel
Settling time must be fast to support channel hopping
requirements
M.H. Perrott
MIT OCW
What Do We Want From a Simulator?
ƒ
Accurate estimation of synthesizer performance
ƒ
ƒ
Fast computation to allow use in IC design flow
Simple to use
- Noise spectral density
- Dynamic behavior
- C++, Verilog, Matlab
M.H. Perrott
MIT OCW
Background Information
M.H. Perrott
MIT OCW
Integer-N Frequency Synthesizer
Fref
ref(t)
Fout = N Fref
e(t) Charge
PFD
Pump
Loop
Filter
v(t)
out(t)
VCO
div(t)
Divider
N
ƒ
ƒ
ƒ
ƒ
VCO
Divider
PFD
Loop filter
produces high frequency sine wave
divides down VCO frequency
compares phase of ref and div
extracts phase error information
Poor frequency resolution
M.H. Perrott
MIT OCW
Fractional-N Frequency Synthesis
Fout = M.F Fref
Fref
ref(t)
e(t) Charge
PFD
Pump
Loop
Filter
v(t)
out(t)
VCO
div(t)
Nsd[m]
ƒ
ƒ
Divider
Dithering N[m]
Modulator
M+1
M
M.F
Divide value is dithered between integer values
Fractional divide values can be realized!
Very high frequency resolution
M.H. Perrott
MIT OCW
Σ−∆ Fractional-N Frequency Synthesis
Fout = M.F Fref
Fref
ref(t)
e(t) Charge
PFD
Pump
Loop
Filter
v(t)
out(t)
VCO
div(t)
Nsd[m]
Divider
N[m]
Σ−∆
Modulator
M+1
M
Σ−∆
Quantization
Noise
ƒ
ƒ
f
Dither using a Σ−∆ modulator
Quantization noise is shaped to high frequencies
M.H. Perrott
MIT OCW
Other Noise Sources
Charge
Pump
Noise
ref(t)
VCO
Noise
f
e(t) Charge
PFD
Pump
Loop
Filter
-20 dB/dec
f
out(t)
v(t)
VCO
Divider
div(t)
M.F
Nsd[m]
N[m]
Σ−∆
Modulator
M+1
M
Σ−∆
Quantization
Noise
ƒ
ƒ
Charge pump noise
VCO noise
M.H. Perrott
f
MIT OCW
Problems with Current
Simulators
M.H. Perrott
MIT OCW
Problem 1: Classical Simulators are Slow
10-100 kHz
ref(t)
e(t) Charge
PFD
Pump
Loop
Filter
v(t)
1-10 GHz
out(t)
VCO
div(t)
Nsd[m]
ƒ
ƒ
Divider
N[m]
Σ−∆
Modulator
High output frequency
Long time constants
M+1
M
High sample rate
Long time span for transients
Large number of simulation time steps required
M.H. Perrott
MIT OCW
Problem 2: Classical Simulators Are Inaccurate
ref(t)
e(t) Charge
PFD
Pump
Loop
Filter
v(t)
out(t)
VCO
div(t)
Nsd[m]
Divider
N[m]
Σ−∆
Modulator
M+1
M
ƒ
PFD output is not bandlimited
ƒ
ƒ
Phase error is inaccurately simulated
Non-periodic dithering of divider complicates matters
- PFD output must be simulated in discrete-time
M.H. Perrott
MIT OCW
Example: Classical Constant-Time Step Method
e(t)
ref(t)
PFD
t
e(t)
e[n]
n
Sample Period = Ts
(Johns and Martin,
Analog Integrated Circuit Design)
ƒ
ƒ
Directly sample the PFD output according to the
simulation sample period
- Simple, fast, readily implemented in Matlab, Verilog, C++
Issue – quantization noise is introduced
- This noise overwhelms the PLL noise sources we are
trying to simulate
M.H. Perrott
MIT OCW
Alternative: Event Driven Simulation
e(t)
ref(t)
PFD
t
e(t)
e[n]
n
Tk
T k+1
Sample Period Non-constant
(Smedt et al, CICC ’98,
Demir et al, CICC ’94,
Hinz et al, Circuits and Systems ’00)
ƒ
Set simulation time samples at PFD edges
- Sample rate can be lowered to edge rate!
M.H. Perrott
MIT OCW
Issue: Simulation of Filter Blocks is Complicated
h(t)
v(t)
e(t)
e(t)
t
t
Loop Filter
e[n]
n
Tk
T k+1
Sample Period Non-constant
ƒ
ƒ
Filtering computation must deal with non-constant
time step
- Closed-form calculation is tedious
- Iterative computation is time-consuming
Complicates Verilog, Matlab, or C++ implementation
M.H. Perrott
MIT OCW
Is there a better way?
M.H. Perrott
MIT OCW
Proposed Approach: Use Constant Time Step
h(t)
Ts
e(t)
1
v(t)
e(t)
0
t
t
Loop Filter
h[n] = Ts h(Tsn)
e[n]
v[n]
Ts
n
Loop Filter
ƒ
Straightforward CT to DT transformation of filter blocks
ƒ
Overall computation framework is fast and simple
- Use bilinear transform or impulse invariance methods
- Simulator can be based on Verilog, Matlab, C++
M.H. Perrott
MIT OCW
Problem: Quantization Noise at PFD Output
Ts
Ts/2
h(t)
ε
e(t)
1
v(t)
e(t)
0
t
t
Loop Filter
h[n] = Ts h(Tsn)
e[n]
v[n]
Ts
n
Loop Filter
ƒ
ƒ
Edge locations of PFD output are quantized
- Resolution set by time step: T
s
Reduction of Ts leads to long simulation times
M.H. Perrott
MIT OCW
Proposed Approach: View as Series of Pulses
Ts
Ts/2
h(t)
ε
e(t)
1
v(t)
e(t)
0
e(t)
area = Ts/2
1
0
t
t
Loop Filter
area = ε
h[n] = Ts h(Tsn)
t
e[n]
v[n]
Ts
n
Loop Filter
ƒ
ƒ
Area of each pulse set by edge locations
Key observations:
- Pulses look like impulses to loop filter
- Impulses are parameterized by their area and time offset
M.H. Perrott
MIT OCW
Proposed Method
Ts
Ts/2
h(t)
ε
e(t)
1
v(t)
e(t)
0
e(t)
e[n]
ƒ
0
0
Loop Filter
area = ε
area = Ts/2
1
1
t
t
h[n] = Ts h(Tsn)
t
e[n]
1/2
ε/Ts
n
v[n]
Ts
n
Loop Filter
Set e[n] samples according to pulse areas
- Leads to very accurate results
ƒ Mathematical analysis given in paper
- Fast computation
M.H. Perrott
MIT OCW
Implementation Overview
e[n]
ref[n]
PFD
div[n]
Nsd[n]
ƒ
Charge
Pump
Loop
Filter
out[n]
v[n]
VCO
Divider
N[n]
Σ−∆
Modulator
(Assume VCO output
is a square-wave
for this discussion)
Compute transition values in VCO block
M.H. Perrott
MIT OCW
Calculation of Transition Values
εk
out[n]
v[n]
n
out[n]
VCO
Φvco(t)
π
t
ƒ
Model VCO based on its phase
M.H. Perrott
MIT OCW
Calculation of Transition Values
Φ[k]
π
Φ[k-1]
out(t)
εk
out[n]
n
out[n]
v[n]
VCO
Φvco(t)
π
t
ƒ
Determine output transition time according to phase
M.H. Perrott
MIT OCW
Calculation of Transition Values
Φ[k]
π
Φ[k-1]
n
out[n]
v[n]
VCO
out(t)
out[n]
εk
out[n]
Φvco(t)
εk
n
π
εk = 2
ƒ
π-Φ[k-1]
-1
Φ[k]-Φ[k-1]
t
Use first order interpolation to determine transition value
M.H. Perrott
MIT OCW
Implementation Overview
e[n]
ref[n]
PFD
div[n]
Charge
Pump
Loop
Filter
out[n]
v[n]
VCO
Divider
Nsd[n]
ƒ
ƒ
N[n]
Σ−∆
Modulator
Compute transition values in VCO block
Pass transition information in Divider block
M.H. Perrott
MIT OCW
Implementation Overview
ref[n]
e[n]
PFD
div[n]
Charge
Pump
Loop
Filter
out[n]
v[n]
VCO
Divider
Nsd[n]
ƒ
ƒ
ƒ
N[n]
Σ−∆
Modulator
Compute transition values in VCO block
Pass transition information in Divider block
Compute transition values for PFD output
M.H. Perrott
MIT OCW
Implementation Overview
ref[n]
e[n]
PFD
div[n]
Charge
Pump
Loop
Filter
out[n]
v[n]
VCO
Divider
Nsd[n]
ƒ
ƒ
ƒ
ƒ
N[n]
Σ−∆
Modulator
Compute transition values in VCO block
Pass transition information in Divider block
Compute transition values for PFD output
Compute Filter output
M.H. Perrott
MIT OCW
Implementation Overview
ref[n]
e[n]
PFD
div[n]
Charge
Pump
Loop
Filter
out[n]
v[n]
VCO
Divider
Nsd[n]
ƒ
ƒ
ƒ
ƒ
N[n]
Σ−∆
Modulator
Compute transition values in VCO block
Pass transition information in Divider block
Compute transition values for PFD output
Compute Filter output
M.H. Perrott
MIT OCW
Computation of PFD Output
ref[n]
e[n]
n
D Q
Q
D
Q
RQ
n
div[n]
n
ƒ
D Q
Q
DSQ
Q
Goal: compute transition information in terms of
primitive blocks (registers, XOR gates, etc.)
- Allows straightforward implementation in simulator
- Accommodates a rich variety of PFD structures
M.H. Perrott
MIT OCW
Implementation of Primitives - Registers
clk
clk[n]
out[n]
out[n]
ƒ
DQ
Q
out
out
n
n
n
Relevant timing information is contained in the clock
signal
- Transfer transition information from the clock to the
register output
- Complement output using a sign change
M.H. Perrott
MIT OCW
Implementation of Primitives – Logic Gates
a
b
a[n]
b[n]
out[n]
ƒ
out
n
n
n
Relevant timing information contained in the input
that causes the output to transition
- Determine which input causes the transition, then pass
its transition value to the output
M.H. Perrott
MIT OCW
Issue: Must Observe Protocol When Adding Noise
ref[n]
e[n]
PFD
div[n]
Charge
Pump
Loop
Filter
out[n]
v[n]
VCO
Divider
Nsd[n]
ƒ
ƒ
N[n]
Σ−∆
Modulator
Noise
Divider and PFD blocks operate on a strict protocol for
their incoming signals
- Values other than 1 or -1 are interpreted as edges
- Example: inputting noise at divider input breaks protocol!
Add noise only at places where signal is “analog”
PFD, charge pump, and loop filter outputs are fine
M.H. Perrott
MIT OCW
Can we speed the
simulation up further?
M.H. Perrott
MIT OCW
Sample Rate Set by Highest Frequency Signal
v(t)
out(t)
ƒ
Time step of simulation
typically set by VCO output
ƒ
Small time steps means long
simulation runs
ƒ
Divider output often 100
times lower in frequency
VCO
div(t)
Divider
N[m]
N[m-1]
cycles
out(t)
div(t)
N[m]
cycles
Can we sample according to divider output?
M.H. Perrott
MIT OCW
Divider Output Can Be Computed from VCO Phase
v(t)
out(t)
VCO
div(t)
Divider
v(t)
div(t)
Kv
s
VCO
Φ vco(t)
Divider
N[m]
Φvco(t)
2πN[m]
N[m-1]
cycles
N[m]
cycles
2πN[m-1]
out(t)
div(t)
t
div(t)
(Van Halen et al, Circuits and Systems ’96)
Key Idea: Model VCO and Divider using Phase
M.H. Perrott
MIT OCW
Combine VCO and Divider Blocks
ƒ
Φvco(t)
Compute divider output using
first order interpolation of VCO
phase
2πN[m]
ref[n]
e[n]
PFD
div[n]
Charge
Pump
Loop
Filter
VCO
Divider
εk
Nsd[n]
t
v[n]
N[n]
Σ−∆
Modulator
Φ[k]
Nπ
Φ[k-1]
div(t)
div[n]
n
εk
Transient simulations run 2 orders of magnitude faster!
M.H. Perrott
MIT OCW
Does it really work?
M.H. Perrott
MIT OCW
The CppSim Simulator
ƒ
Blocks are implemented with C/C++ code
ƒ
Users enter designs in graphical form using Cadence
schematic capture
- High computation speed
- Complex block descriptions
- System analysis and transistor level analysis in the
same CAD framework
ƒ
Resulting signals are viewed in Matlab
- Powerful post-processing and viewing capability
Simulation package available on Athena
and freely downloadable at
http://www-mtl.mit.edu/~perrott
M.H. Perrott
MIT OCW
Experimental Prototype to Verify Approach
1.8 - 1.9 GHz
20 MHz
PFD
Loop
Filter
64 Modulus
Divider
Frequency
Select
Out
2
Digital Σ−∆
Modulator
0.6 µ CMOS IC
Perrott et al
JSSC, Dec 97
M.H. Perrott
MIT OCW
Frequency (MHz)
Divide Value
Simulation Results - Dynamic Behavior
ƒ
Nsd (Input to Σ−∆ Modulator)
97
96
95
94
93
92
91
1940
1920
1900
1880
1860
1840
1820
0
Synthesizer Output Frequency (MHz)
100
200
300
400
500
Time (Micro Seconds)
600
700
Simulation time: 260 thousand time steps in 5 seconds
on a 650 MHz Pentium III Laptop (custom C++ simulator)
M.H. Perrott
MIT OCW
Noise Sources Included in Simulation
Charge
Pump
Noise
1.5 µA
ref(t)
PFD
VCO
Noise
(Input-referred)
1.85e-25
A2/Hz
3.25e-16
V2/Hz
Loop
Filter
div(t)
Σ−∆
Quantization
Noise
ƒ
1.5 µA
v(t)
1.2e-24
A2/Hz
f
Dominant noise sources in synthesizer
- Quantization noise of Σ−∆ (produced by Σ−∆ block)
- Charge pump noise (calculated from Hspice)
- VCO noise (input-referred – calculated from measurement)
M.H. Perrott
MIT OCW
Measured Synthesizer Noise Performance
Measured Overall
Synthesizer Noise
(closed loop)
Measured
VCO Noise
(open loop)
M.H. Perrott
Noise Floor of
Measurement
System
MIT OCW
Simulated Synthesizer Noise Performance
L(f) (dBc/Hz)
Simulated Spectrum: 1/Ts = 20*(reference frequency)
ƒ
ƒ
-60
-70
-80
-90
-100
-110
-120
-130
-140
-150
25 kHz
Simulated Noise
Measured Noise
100 kHz
1 MHz
10 MHz 25 MHz
Simulated results compare quite well to measured!
Simulation time: 5 million time steps in 80 seconds
M.H. Perrott
MIT OCW
Conclusion
ƒ
Phase locked loop circuits can be quickly and
accurately simulated
- Accuracy achieved with area conservation principle
- Fast computation by combining VCO and Divider blocks
ƒ
A variety of simulation frameworks can be used
- C++, Matlab, Verilog
- Circuit primitives are supported
Noise and dynamic performance of fractional-N
frequency synthesizers can be investigated at system level
M.H. Perrott
MIT OCW
Download