Professional Documents
Culture Documents
ABSTRACT and the time varying nature of the division modulus in the
feedback loop. Moreover, since the output frequency is two to
A fast simulation environment has been developed using three orders of magnitude higher than the loop filter time
MATLAB™ and CMEX™ for behavioral level simulation of constants, an exorbitant amount of samples are required for an
Delta-Sigma ('6) based Fractional-N PLL frequency accurate simulation. In recent years, various behavioral level
synthesizers. The simulator uses a difference equation approach simulators for Fractional-N PLL synthesizers have been reported
with a uniform time step. To support a uniform time step in the to address these challenges. In [2], Perrott developed a custom
simulation, the continuous-time average current-to-voltage loop C++ simulator for the behavioral simulation of Fractional-N PLL
filter transfer function is modeled as a discrete-time charge systems with uniform time steps based on an area conservation
difference-to-voltage transfer function. Simulation results are principle to minimize the adverse effects of signal quantization.
presented on a type-II fourth-order PLL frequency synthesizer In [3], Brigati et al. developed a simulation environment using
employing a third-order MASH '6 modulator.* MATLAB™ and SIMULINK™. A time-domain simulator has
also been reported by Fan in [4]. Cassina et al. developed an
event-driven simulator with non-uniform time steps using
1. INTRODUCTION Verilog [5].
Delta-Sigma ('6) based Fractional-N PLL synthesizers are In this paper, a new simulation environment is developed for
extensively used in wireless communication applications as a Fractional-N PLL frequency synthesizers based on a mixed
local oscillator to generate accurately defined frequencies. The MATLAB™ and CMEX™ platform. The continuous-time
technique offers high switching speed, low phase noise, and average current-to-voltage transfer function of the charge pump
narrow channel spacing [1]. The design of Fractional-N PLL loop filter is modeled as a discrete-time charge difference-to-
synthesizers, however, requires an iterative design process due to voltage transfer function, enabling the use of a uniform time step
the large set of system parameters that must be optimized to during simulation. Due to the simple integration with
achieve the desired phase noise, settling time, and fractional spur MATLAB™ and faster execution speed, CMEX™ is preferred to
rejection. In addition, a '6 modulator used to instantaneously stand-alone C code [6]. Compared to previously reported
alter the feedback division modulus introduces excessive phase simulators [2]-[5], the proposed simulator is the fastest known
noise and fractional spurs. A behavioral level simulator is simulator achieved to date.
required to reduce the design turnaround time as well as assess
the phase noise contribution and fractional spur rejection of the This paper is organized as follows. In Section 2, the simulation
'6 modulator before the physical design phase. The need for a environment is described together with the system level design
behavioral level simulator is strengthened by the characteristic of a PLL. Simulation results for the power spectral density
(PSD), phase noise, and settling time are presented in Section 3.
that both the PLL and the '6 modulator are nonlinear systems.
Additionally, a method for eliminating fractional spurs is
Mathematical approximations based on a small signal analysis
demonstrated. Finally, some conclusions are offered in Section 4.
and a white noise assumption do not accurately characterize the
system behavior. Transistor level simulators such as SPICE or
SPECTRE are not suitable for fast simulation of such complex 2. BEHAVIORAL LEVEL SIMULATION
systems. This section is composed of two subsections. The first subsection
outlines the design of a type-II fourth-order PLL. The simulation
Simulating a '6 based Fractional-N PLL frequency synthesizer model of the PLL is described in the second subsection.
is a non-trivial task due to the mixed-signal nature of the system,
*
2.1 Design of the Loop Filter
This research was supported in part by the Semiconductor Research
Corporation under Contract No. 2003-TJ-1068, the DARPA/ITO under A block diagram of a Fractional-N PLL frequency synthesizer is
AFRL Contract F29601-00-K-0182, the National Science Foundation shown in Figure 1. The circuit includes a phase-frequency
under contract No. CCR-0304574, the Fulbright Program under Grant detector (PFD), a charge pump loop filter, a Voltage Controlled
No. 87481764, grants from the New York State Office of Science,
Technology & Academic Research to the Center for Advanced
Oscillator (VCO), a programmable multi-modulus divider, and
Technology – Electronic Imaging Systems and to the Microelectronics an all-digital '6 modulator. The static input word K is processed
Design Center, and by grants from Xerox Corporation, IBM Corporation, by a '6 modulator to produce an encoded oversampled
Intel Corporation, Lucent Technologies Corporation, and Eastman Kodak sequence. This sequence is used to alter the division modulus of
Company.
b[n ] N Up
. Iavg(t)
. . R2
. vc(t)
DC input word K '6 modulator Down R1
C2 C3
Ip C1
Figure 1. Fractional-N PLL frequency synthesizer
Magnitude (dB)
100
Typically, a higher-order loop filter is used in Fractional-N PLL
50
frequency synthesis applications to provide adequate suppression
0
of the reference spurs as well as the high frequency phase noise
-50
from the '6 modulator. The charge pump loop filter topology is
-100
a third-order passive network as shown in Figure 2. The use of a 10
0
10
2
10
4
10
6
10
8
10
10
Vc ( s ) D s 1 / W 1 , (1)
-120
F ( s)
I avg ( s ) ª § D · º 2 § DW 3 · -140
3 o
W 2W 3 s «W 2 ¨¨ 1¸¸W 3 » s ¨¨ 1¸¸ s -160
59.8
«¬ © R2 ¹ ¼» © W 1 R2 ¹
-180
0 2 4 6 8 10
where D R1C1 / C1 C 2 , W 1 R1C1 , W 2 R1C1C 2 / C1 C 2 , 10 10 10 10 10 10
Frequency (Hz)
and W 3 R2 C3. The open loop transfer function of the PLL can
be determined from the following expression, Figure 3. Open loop transfer function of the PLL
K d K v F (s)
G( s) , (2) 2.2 Simulation Model
sN mean
In this section, a difference equation model is described which
where K d and K v is the PFD constant and the VCO constant uses uniform time steps to simulate Fractional-N PLL frequency
measured in A/rad and rad/(sec*volt), respectively. N mean is the synthesizers. A mixed MATLAB™ and CMEX™ platform is
geometric mean of the maximum and minimum division ratio used as illustrated in Figure 4, where the main MATLAB .m file
required to span the desired frequency band (in this case, calls a custom subroutine written in CMEX (which stands for C
N mean 44.86). The open loop transfer function of the PLL has a for MATLAB executable). This configuration results in a high
degree of versatility in a simulation environment, as CMEX files
zero located at w z 1 / W 1 , two poles at the origin, and two
easily integrate with MATLAB.
additional high frequency poles, denoted as w p1 and w p 2 . Note
The custom CMEX™ subroutine is compiled into a .dll
that as long as w p 2 !! w p1 , the non-zero poles can be (dynamically linked library) file, and performs most of the
approximated by w p1 | 1 / W 2 and w p 2 | 1 / W 3 . computational complexity involved in simulating a Fractional-N
PLL synthesizer. The main MATLAB .m file is used to
To achieve a 10 µs settling time, the unity gain frequency of the determine the specifications, calculate the passive component
open loop transfer function is located at wu 2S 200 krad/sec. values of the loop filter, and perform PSD estimation and
60° of phase margin is chosen to provide good settling behavior, visualization.
dictating that 1 / W 1 2S 50 krad/sec and 1 / W 2 2S 800
IV - 781
➡ ➡
FN_PLL4_MASH3.m FN_PLL4_MASH3.c
Up
Enter input parameters; vin [n] Tri-state PFD P(z) vc [n]
NCO . vout [n]
Design loop filter;
Down
Call FN_PLL4_MASH3( )
Plot output PSD;
vdiv [n]
Plot phase noise; . Variable
counter
clk
Plot settling behavior;
DC input word K 20-bit fixed-point N int
MASH3 '6 b[n ]
Figure 4. Simulation model of the overall Fractional-N PLL frequency synthesizer. A custom CMEX subroutine simulating a
difference equation model of the PLL synthesizer is called from the main MATLAB file to achieve fast simulation speeds.
Among the PLL building blocks, the VCO and the multi- a 3 z 3 a 2 z 2 a1 z 1 a 0
modulus divider are the easiest to model in a software P( z ) . (4)
b4 z 4 b3 z 3 b2 z 2 b1 z 1 b0
environment. As shown in Figure 4, the VCO and multi-modulus
divider are modeled as a Numerically Controlled Oscillator In equation (4), the coefficients of the numerator are given as
(NCO) and a variable counter, respectively. follows; a 3 2 D / T s D / W 1 , a 2 2 D / T s 3 D / W 1 ,
A tri-state model of the PFD used in the simulation is shown in a1 2 D / T s 3 D / W 1 , and a 0 2 D / Ts D / W 1 . Likewise, the
Figure 5. A 20-bit fixed-point model is also incorporated in the coefficients of the denominator are b4 A B C,
simulator for a third-order 1-1-1 MASH '6 modulator
(hereinafter referred to as MASH3). The difference equation b3 2 A 2C , b2 2 B , b1 2 A 2C , and b0 A B C,
model for the loop filter, however, requires a special technique where
due to the continuous-time nature of the filter.
W 2W 3 4 ª § D · º 2 DW 3
Vin Vin A , B «W 2 ¨¨ 1¸¸W 3 » , and C 1 . (5)
Ts2 ¬« R
© 2 ¹ »¼ Ts W 1 R2
Vdiv Vin
IV - 782
➡ ➠
(K=(00100000000000000000)2). In Figure 8(a), a significant long term average of the '6 output is not dependent on the value
amount of fractional spurs is due to the poor randomization of of the initial condition, with this method the output frequency
the quantizer error sequence in the '6 modulator. can be synthesized with greater accuracy. In Figure 8(b), a “1”
60 LSB initial condition is imposed on the first accumulator,
SPAN: 50 MHz
900.5
40 RBW: 55 kHz completely eliminating fractional spurs resulting from the '6
VCO instantaneous frequency (MHz)
900
20 modulator [8].
0 0
Industrial Electronics, Vol. 1, pp. 684-689, June 2001.
-20 -20
[5] M. Cassia, P. Shah, and E. Bruun, “A Spur-free Fractional-
-40 -40
N 6' PLL for GSM Applications: Linear Model and
-60 -60
Simulations,” Proceedings of the IEEE International
Symposium on Circuits and Systems, Vol. 1, pp. 1065-1068,
-80 -80
880 890 900 910
Frequency (MHz)
920 930 880 890 900 910
Frequency (MHz)
920 930
May 2003.
[6] MEX-Files Guide, The Mathworks Inc., Natwick,
(a) (b)
Massachusetts, 2003.
Figure 8. Fractional spur rejection using initial condition, [7] D. Johns and K. Martin, Analog Integrated Circuit Design.
(a) zero initial condition, and (b) “1” LSB initial New York: John Wiley & Sons, 1997.
condition [8] M. Kozak and I. Kale, Oversampled Delta-Sigma
Modulators: Analysis, Applications, and Novel Topologies.
The second method involves imposing a small initial condition Boston: Kluwer Academic Publishers, 2003.
on the first accumulator of the '6 modulator [8]. Because the
IV - 783