Reehal Thesis
Reehal Thesis
A Thesis Presented in Partial Ful llment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University By Gursharan Reehal, BSEE ***** The Ohio State University 1998 Master's Examination Committee:
Steve Bibyk, Adviser Mohammed Ismail
Approved by
Adviser Department of Electrical Engineering
ABSTRACT
Phase Locked Loops are used in almost every communication system. Some of its uses include recovering clock from digital data signals, performing frequency, phase modulation and demodulation, recovering the carrier from satellite transmission signals and as a frequency synthesizer. A frequency synthesizer is a circuit design that generate a new frequency from a single stable reference frequency. Mostly a crystal oscillator is used for the reference frequency. Most of the frequency synthesizer employ a Phase Locked Loops circuit, as this technique o er many advantages such as minimum complex architecture, low power consumption and a maximum use of Large Scale Integration technology. There are many designs in communication that require frequency synthesizer to generate a range of frequencies such as cordless telephones, mobile radios and other wireless products. The accuracy of the required frequencies is very important in these designs as the performance is based on this parameter. One approach to this necessity could be to use crystal oscillators. It is not only impractical, but is impossible to use an array of crystal oscillators for multiple frequencies. Therefore some other techniques must be used to circumvent the problem. The main bene t of using Phase Locked Loop technique in frequency synthesizer is that it can generate frequencies comparable to the accuracy of a crystal oscillator and o er other advantages mentioned previously. For this reason most of the communication design make use of a PLL frequency synthesizer. Considering the scope of this single circuit, ii
this Thesis is devoted to the research of a digital PLL frequency synthesizer. Phase locked loop is an excellent research topic as it covers many disciplines of electrical engineering such as Communication Theory, Control Theory, Signal Analysis, Noise Characterization, Design with transistors and op-Amps, Digital Circuit design and non-linear circuit analysis.
iii
Phase Locked Loops are used in almost every communication system. Some of its uses include recovering clock from digital data signals, performing frequency, phase modulation and demodulation, recovering the carrier from satellite transmission signals and as a frequency synthesizer. A frequency synthesizer is a circuit design that generate a new frequency from a single stable reference frequency. Mostly a crystal oscillator is used for the reference frequency. Most of the frequency synthesizer employ a Phase Locked Loops circuit, as this technique o er many advantages such as minimum complex architecture, low power consumption and a maximum use of Large Scale Integration technology. There are many designs in communication that require frequency synthesizer to generate a range of frequencies such as cordless telephones, mobile radios and other wireless products. The accuracy of the required frequencies is very important in these designs as the performance is based on this parameter. One 1
approach to this necessity could be to use crystal oscillators. It is not only impractical, but is impossible to use an array of crystal oscillators for multiple frequencies. Therefore some other techniques must be used to circumvent the problem. The main bene t of using Phase Locked Loop technique in frequency synthesizer is that it can generate frequencies comparable to the accuracy of a crystal oscillator and o er other advantages mentioned previously. For this reason most of the communication design make use of a PLL frequency synthesizer. Considering the scope of this single circuit, this Thesis is devoted to the research of a digital PLL frequency synthesizer. Phase locked loop is an excellent research topic as it covers many disciplines of electrical engineering such as Communication Theory, Control Theory, Signal Analysis, Noise Characterization, Design with transistors and op-Amps, Digital Circuit design and non-linear circuit analysis.
iv
ACKNOWLEDGMENTS
I would like to thank my advisor, Dr. Steven Bibyk, for his assistance and guidance in not only the completion of this work and the determination of a topic for my research, but also for allowing me the freedom to work independently. In addition I would like to thank Dr. Mohammed Ismail for his time in serving on my committee.
VITA
February 02, 1972 : : : : : : : : : : : : : : : : : : : : : : : : : : Born - New Delhi, INDIA 1996 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : B.S. Electrical Engineering 1998 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : M.S. Electrical Engineering Autumn 1996- Summer 1997 : : : : : : : : : : : : : : : Graduate Adminstrate Associate, Ohio State University. 1997-present : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Graduate Research Associate, Ohio State University.
FIELDS OF STUDY
Major Field: Electrical Engineering
vi
TABLE OF CONTENTS
Page
Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dedication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Vita . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapters: 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1 1.2 1.3 1.4 1.5 2. Phase Locked Loop Fundamentals . . . . . . Phase Detector Overview . . . . . . . . . . . VCO Overview . . . . . . . . . . . . . . . . . Loop Filter . . . . . . . . . . . . . . . . . . . PLL Bandwidth and Overall Loop Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii iv v vi x xi 1 1 3 6 8 9 11 13 16 18
Frequency Synthesizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1 A Design Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 An Example . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Design Equations for Two{Modulus Divider . . . . . . . . . . . . .
vii
3.
DPLL: Components and Technologies . . . . . . . . . . . . . . . . . . . . 3.1 Phase Detector . . . . . . . . . . . . . . . . 3.1.1 Phase and Frequency Detector . . . 3.1.2 PFD Performance . . . . . . . . . . 3.2 Charge Pump . . . . . . . . . . . . . . . . . 3.3 Loop Filter . . . . . . . . . . . . . . . . . . 3.4 Chrage Pump and Loop Filter Performance 3.5 VCO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21 21 22 28 30 35 36 38 40 41 42 44 44 45 47 48 50 50 50 52 54 56 58 59 62 62 62 64
4.
PLL Simulations and Results . . . . . . . . . . . . . . . . . . . . . . . . 4.1 PLL Bandwidth . . . . . . . . . . . . 4.1.1 Component Values . . . . . . . 4.2 Loop Stability . . . . . . . . . . . . . 4.2.1 Root Locus of Third order PLL 4.3 Step Response of PLL . . . . . . . . . 4.4 Bode Plots . . . . . . . . . . . . . . . 4.5 PLL Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.
Design of Two Modulus Divider and Simulation Results . . . . . . . . . 5.1 Prescaler . . . . . . 5.1.1 Divide by 64 5.1.2 Divide by 65 5.2 Swallow Counter . . 5.3 Main Counter . . . . 5.4 Control Logic . . . 5.5 Output Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.
viii
67 68
ix
LIST OF TABLES
Table Page
2.1 A high speed frequency synthesizer . . . . . . . . . . . . . . . . . . . 2.2 The Range of Possible Output Frequencies . . . . . . . . . . . . . . . 4.1 The selected values for ! and ! . . . . . . . . . . . . . . . . . . . .
2 3
13 20 43 44
LIST OF FIGURES
Figure Page
1.1 A basic Phase Locked Loop . . . . . . . . . . . . . . . . . . . . . . . 1.2 Phase Detector characteristics . . . . . . . . . . . . . . . . . . . . . . 1.3 Phase Detector's shifted characteristics . . . . . . . . . . . . . . . . . 1.4 Signal Flow Model of Phase Detector . . . . . . . . . . . . . . . . . . 1.5 VCO characterstics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.6 VCO's shifted characteristics . . . . . . . . . . . . . . . . . . . . . . . 1.7 Signal Flow Model of VCO . . . . . . . . . . . . . . . . . . . . . . . . 1.8 Linear Model of a PLL . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1 A basic Frequency Synthesizer . . . . . . . . . . . . . . . . . . . . . . 2.2 A two{modulus Frequency Synthesizer . . . . . . . . . . . . . . . . . 2.3 A basic Frequency Synthesizer . . . . . . . . . . . . . . . . . . . . . . 2.4 Timing Diagram of a Two-Modulus Prescaler N = 5,A = 5,P = 5 . . 3.1 Three state Phase Detector . . . . . . . . . . . . . . . . . . . . . . . 3.2 PFD State Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 The outputs of PFD) . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
2 3 4 5 6 7 8 9 12 15 17 18 22 24 25
3.4 Output circuitry for use with phase/frequency detector . . . . . . . . 3.5 Plot of the average PFD output signalId vs. phase error
e
26 27 28 29 29 31 32 34 35 37 37 38 43 45 46 46 47 48 48 49 49
) .....
3.6 PFD's Simulink Model . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7 PFD SIMULINK Results . . . . . . . . . . . . . . . . . . . . . . . . . 3.8 PFD simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.9 Designed Charge Pump for MYDESIGN . . . . . . . . . . . . . . . . 3.10 Current Mirror in Charge Pump . . . . . . . . . . . . . . . . . . . . . 3.11 Charge Pump for MYDESIGN . . . . . . . . . . . . . . . . . . . . . . 3.12 Second Order Passive Loop Filter . . . . . . . . . . . . . . . . . . . . 3.13 Spice Simulation of Charge Pump . . . . . . . . . . . . . . . . . . . . 3.14 Spice simulation result for Control Voltage . . . . . . . . . . . . . . . 3.15 VCO gain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1 Step Response of a second order PLL ! = K=4 . . . . . . . . . . . .
2
4.2 Root Locus of Third Order Designed PLL . . . . . . . . . . . . . . . 4.3 Step Response of Third Order Designed PLL . . . . . . . . . . . . . . 4.4 Step Response of Third Order Designed PLL . . . . . . . . . . . . . . 4.5 Bode Plot of second order PLL open loop, with ! = K=4 . . . . . .
2
4.6 Frequency Response of Third Order Designed PLL . . . . . . . . . . 4.7 Frequency Response of Third Order Designed PLL . . . . . . . . . . 4.8 Control Voltage vc . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.9 Lock Indication Curve and Control Voltage . . . . . . . . . . . . . . . xii
5.1 A Divide by 2 Prescaler . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 A divide by 64 Prescaler . . . . . . . . . . . . . . . . . . . . . . . . . 5.3 Simulink results of Divide by 64 prescaler unit . . . . . . . . . . . . . 5.4 A divide by 65 Prescaler . . . . . . . . . . . . . . . . . . . . . . . . . 5.5 Simulink results of Divide by 65 prescaler unit . . . . . . . . . . . . . 5.6 Swallow Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.7 SIMULINK results for Swallow Counter . . . . . . . . . . . . . . . . 5.8 Main Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.9 Simulink Results of Main counter . . . . . . . . . . . . . . . . . . . . 5.10 Control Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.12 PLL Interface with a Tranceiver Chip . . . . . . . . . . . . . . . . . . 5.13 Quadrature Signal Generator and Output Waveforms . . . . . . . . . A.1 Simulink Model of the Prescaler . . . . . . . . . . . . . . . . . . . . . A.2 Simulink Model of the Main counter . . . . . . . . . . . . . . . . . . A.3 Simulink model of Control Unit . . . . . . . . . . . . . . . . . . . . . A.4 Simulink Model of Down Counter . . . . . . . . . . . . . . . . . . . .
51 51 52 53 54 55 56 57 57 59 61 61 64 64 65 66
xiii
CHAPTER 1 INTRODUCTION
Phase Locked Loops (PLL) are a new class of circuit, used primarily in communication applications. It is suitable for a wide variety of applications, such as AM radio receivers, frequency demodulators, multipliers, dividers, and as frequency synthesizers. The phase locked loops was rst described in early 1930s, where its application was in the synchronization of the horizontal and vertical scans of television. Later on with the development of integrated circuits, it found uses in many other applications. The rst PLL ICs came in existence around 1965, and was built using purely analog devices. Recent advances in integrated circuit design techniques have led to an increased use of the PLL as it has become more economical and reliable. Now a whole PLL circuit can be integrated as a part of a larger circuit on a single chip. This chapter gives a brief introduction to the basics of Phase Locked loops.
A Phase Detector (PD) A Loop Filter (LF) A voltage controlled oscillator (VCO) with the circuit con guration shown in Figure 1.1
fin PHASE DETECTOR LOOP FILTER VCO fout
Figure 1.1: A basic Phase Locked Loop The phase detector compares the phase of the output signal to the phase of the reference signal. If there is a phase di erence between the two signals, it generates an output voltage, which is proportional to the phase error of the two signals. This output voltage passes through the loop lter and then as an input to the voltage controlled oscillator (VCO) controls the output frequency. Due to this self correcting technique, the output signal will be in phase with the reference signal. When both signals are synchronized the PLL is said to be in lock condition. The phase error between the two signals is zero or almost zero at this. As long as the initial di erence between the input signal and the VCO is not too big, the PLL eventually locks onto the input signal. This period of frequency acquisition, is re ered as pull-in time, this can be very long or very short, depending on the bandwidth of the PLL. The bandwidth of a PLL depends on the characteristics of the phase detector (PD), voltage controlled oscillator and on the loop lter. Before 2
going to look at overall loop operation, let us discuss the three main functional blocks in some more detail.
the input phase and the VCO phase. In response to this phase di erence the PD produces a proportional voltage vd . The relation between voltage vd , and the phase di erence
d
is shown in gure 1.2. The curve is linear and periodic, it repeats every
v do do /2 /2 d
Figure 1.2: Phase Detector characteristics In this general model of a phase detector,if no input is applied to PD, ( or in other words when phase di erence is zero between the two inputs of a PD ) it generates a free running voltage vdo, which is shown as 4 volts in gure 1.2. Corresponding to 3
do
1.2.. The common approach is that a phase di erence of zero should correspond to the free running voltage vdo of the PD. Thus, considering this approach the phase error can be de ned as
e
= d;
do
(1.1)
and the shifted chractersic of the phase detector is shown in Figure 1.3
vd (volts)
4 3
vdo do /2
2 1
/2
Figure 1.3: Phase Detector's shifted characteristics The characteristic of PD is linear between ; =2 and =2. The slope of the curve is constant and is equal to
d Kd = dv d e
(1.2)
So for the above case Kd = 4v= (radian) = 2:54v=rad. The general model of a PD, thus can be represented with the following equation
vd = Kd e + Vdo
(1.3)
Based on this equation, the signal ow diagram of the PD is shown in the Figure 1.4 There are many ways to implement a Phase Detector circuit, but the most common 4
vdo
Kd
Figure 1.4: Signal Flow Model of Phase Detector approach is the multiplying phase detectors. For multiplying phase detectors, the actual phase detector characteristics will depend on the waveforms of the input signals. For example two sinusoidal signals result in a sinusoidal PD chracterstics while two square wave signals generate a triangular charactersitcs. The three most important multiplying digital phase detectors are the following. The EXOR gate JK ip op Phase-Frequency detector(PFD) The underlying principle behind the operation of each of the phase detectors mentioned is the multiplication of the VCO signal with the input signal, which outputs a dc error signal that is a function of the phase error. The other most commonly used technique to implement a phase detector is the sequential phase detectors. These types of PDs are constructed using digital circuit components, such as ip ops, latches and inverters. The only limitation for these types of phase detectors is the switching speed of the digital logic circuitry they employ. Therefore these types of PD are limited to lower rate frequency applications. 5
There are many other types of PD that are in use, but the ones mentioned above are the most commonly used for most of the applications.
9M
6M
3M
Vco
v c
Figure 1.5: VCO characterstics The slope of the curve is constant. As the vc varies from 0 to 2 volts, the output frequency of the VCO varies from 3 Mrad/s to 12 Mrad/s. Outside this range the curve may not be linear and the VCO performance degrades or become non-linear. Depending on the speci c requirements of a circuit, the range can be selected such 6
that the circuit always remain in its linear range, so the non-linear range is not an issue here. When the PLL is in the lock condition, the output frequency !o = !i. For an example suppose the output frequency of the VCO (!i) is 6 Mrad/s, from Figure 1.5, this frequency requires that the control voltage vc should be 1 Volts. Which means vd = 1 volts. A vd = 1 requires a phase error of
e
value of the phase error is called the static phase error.The basic approach is that the static phase error should remain near zero and must not increase beyond the PD linear range of =2 radians. Based on these constraints, the general srategidy is that
vc should correspond to !o, the di erence between !o and !i. This results in a
shifted chracterstic of the VCO as shown in Figure 1.6
(r/s) Ko = 4M/2M = 2M r/s/V
4M
2M
vc
-2M
-4M
Figure 1.6: VCO's shifted characteristics The plot is !o vs vc. So !o = 0 corresponds to vc = Vco. The slope of this curve is the VCO gain Ko and is given by
Ko = ddv!o
c
(1.4)
! = Ko(vc ; Vco)
and the signal ow diagram is shown in Figure 1.7
-Vco o
(1.5)
vc
Ko
Figure 1.7: Signal Flow Model of VCO where Vco is the control voltage, when PLL is in lock.
i o
Kd
vd
Kh
vc
Ko
1/s
Figure 1.8: Linear Model of a PLL The integration can be replaced with 1=s, using Laplace transform, where s represents complex frequency. The closed loop transfer function may be found by applying Mason's rule, which for a single loop control system, such as this one reduces to the following simple formula.
input to output Closed Loop transfer function = path gain1from ; loop gain
Applying this to signal ow model of PLL, we get rs = G(s) = G(j!) 1 + G(s) 1 + G(j!) os Where h Ko G(s) = KdK s 9
( ) ( )
(1.6) (1.7)
K = Kd KhKo
3
(1.8)
Therefore the bandwidth ! dB occurs when jG(j!)j = 1 From the relation, this occurs when 1 = K=! dB , or in other words when
3
! dB = K = KdKhKo
3
(1.9)
The bandwidth of the PLL is thus determined by the gain Kd of the PFD the high frequency gain Kh of the loop lter and the gain Ko of the VCO The designs of VCO and PD are usually less exible, the design of the loop lter is the principle tool in selecting the bandwidth of the PLL 8]. The selection of loop bandwidth forces trade{o s in the frequency acquisition speed. Since PLL pull in speed is a function of the loop bandwidth, the simplest method of improving the frequency acquisition chracterstic is to widen the bandwidth of the loop lter. The wider the loop bandwidth, the faster the frequency acquisition will occur. However, the wider bandwidth degrades the tracking abilities of the PLL and increases the timing to obtain the desired output frequency, in the design of a frequency synthesizer.
10
divider in the feedback loop. The programmable divider divides the output of the VCO by N and locks to the reference frequency generated by a crystal oscillator.
Crystal Oscillator fr Phase Detector Loop Filter Voltage Controlled Oscillator fo
fo N Programmable Divider N
Figure 2.1: A basic Frequency Synthesizer The output frequency of VCO is a function of the control voltage generated by the PD. The Output of the phase comparator, which is proportional to the phase di erence between the signals applied at its two inputs, control the frequency of the VCO. So the phase comparator input from the VCO through the programmable divider remains in phase with the reference input of crystal oscillator. The VCO frequency is thus maintained at Nfr . This relation can be expressed as
f fr = N
(2.1)
fo = Nfr
(2.2)
Using this technique one can produce a number of frequencies separated by fr and a multiple of N . For example if the input frequency is 24KHz and the N is selected to be 32 ( a single integer ) then the output frequency will be 0.768 MHz. In the same way, if N is a range of numbers the output frequencies will be in the proportional range. This basic technique can be used to develop a frequency synthesizer from a 12
single reference frequency. This is the most basic form of a frequency synthesizer using phase locked loop technique. Its stability is dependent on the stability of the reference signal fr .
Table 2.1: A high speed frequency synthesizer Let us call this synthesizer as the MYDESIGN synthesizer. The design of a frequency synthesizer using the principles described in the previous section is not a simple process, as it involves the design of various subsystems including the Voltage Controlled Oscillator, Phase Detector, Low{pass lter and in the feedback path, the programmable divider. The process begin from design requirements, therefore some of the design issues should be considered in the very early stages of the process. As some of the design parameters, which are related to the performance of the PLL are 13
dependent on the architecture of each subsystems. Such as, the e ect of N on the PLL bandwidth, the limiting factors for the range of N, the upper limit of the setup time of the PLL if N is changed, how the e ect of noise will e ect the purity of the output signals and the speed limit of the circuit etc. Since the addition of noise to a PLL model makes it a non-linear system, which is out of the scope of this work, thus noise consideration will not be covered here. For illustration purposes, consider the speed limit of the circuit. One of the biggest constraint in a high speed frequency synthesizer design is the speed limit of the programmable divider N . A single divide by N unit can handle only up to 25 MHz of frequency. Therefore some special design techniques are necessary to implement a programmable divider in high speed designs. However there are many ways for overcoming this limitation of frequency. Such as VCO output may be xed with the output of a crystal oscillator and the resulting remaining or the di erence frequency can be fed to the programmable divider the VCO output may be multiplied from a low value in the operating range of the programmable divider to the required high output frequency Or a xed ratio divider capable of operating at a high frequency may be interposed between the VCO and the programmable divider All the methods discussed above have their limitations, although all have been used in many applications 3]. The rst method is most useful than the other two as it allows narrow channel spacing or high reference frequencies, but it has a drawback. Since the crystal oscillator and mixer are within the loop, any crystal oscillator noise or 14
mixer noise appears in the synthesizer output 3]. The reamining two techniques are not as useful either. However an improved divider technique, known as two{modulus prescaling dividers exits, which is shown in Figure 2.2
Phase Locked Loop
Crystal Oscilltor
Phase Detector
Loop Filter
VCO
Prescaler "P/P+1"
Figure 2.2: A two{modulus Frequency Synthesizer This circuit design make use of a high frequency divider using some xed value prescalers. In one mode it divides by P and in the other mode it divides by P + 1 prescalers, depending on the logic state of the control input. The prescalers reduce the high frequency by division to a lower frequency, so the rest of the circuit sees only a fraction of the high output frequency. For example, if a prescaler of 20 is used at the output of 900 Mhz, then the rest of the circuit only sees 45 Mhz. These prescalers usually can be made to handle high frequencies in the digits of MHz. In the Figure 2.2 a special low frequency counter is used to control the division ratio of the prescaler and consists of two programmable counters the swallow counter A, Main counter M and some control logic. Initially the two counters are loaded with the values M and 15
A, where A M , and the modulus control signal is low, so the prescaler divides by
(P + 1). The counters are both decremented on every rising edge of the output of the prescaler unit, until the counter A reaches zero. When A becomes zero, the modulus control signal becomes high and the prescaler start dividing by P until the value of the M counter reaches zero. At this point both the counters are reset and the process begins again. The prescaler thus divides by (P + 1) for the count value of the counter
A and by (P ) for M ; A times. This relation can be best explained with the following
equation
N = A(P + 1) + (M ; A)P = MP + A
There are some limitations imposed by the architecture of the system on the values of M and A, since the two modulus presacler does not change modulus until counter
A reaches zero,therefore count value in counter M should never be less than the value
in counter A. This constraint also limits the minimum count, a system may reach to, which is equal to A(M + 1), since A is the maximum possible value, the swallow counter can have. So by varying the value of A, a large range of integer values can be obtained and so is the output frequencies. The use of this system entirely overcomes the problems of programmable divider in high speed designs. This model is also the proposed model for the MYDESIGN problem presented previously. All the counters and the control logic unit will be modeled in chapter
??.
2.1.1 An Example
It will be easy to understand the concepts developed in section 2.1.1 with a reference example. Consider the following case where the output frequency is 115 MHz and the reference input is 5 MHz. The N is thus required to be 23 and the values of M , 16
M = 12
10/
11
Control Logic
A = 0 to 8
Figure 2.3: A basic Frequency Synthesizer Initially the counters M and A will be loaded with the values 5 and 3 respectively. The value of each of these counters will be decremented after each rising pulse of the prescaler output. The more detailed timing consideration can be understood with reference to the example Figure 2.4 The prescaler divides by 5, when the A counter has the values 3,2,1 and by 4, when A becomes zero. Thus for the values 2 and 1 of the M counter, it divides by 4. The counter M outputs a pulse to the phase detector, when it becomes zero. Both the counters are reset( when M reaches zero) and the process begins again. So the whole division is 23 as is expected. The output signal is derived from the short pulse used to reset the counters. It is important to note that the presacler division ratio is determined by the state of the modulus control on the rising input edge when the prescaler output is about to become high.
17
M A Input
5 3
4 2
3 1
2 0
1 0
5 3
Prescaler Output
Modulus Control
(P+1)
(P+1)
(P+1)
(P+1)
Output
(2.3)
Therefore, from the data provided about the MYDESIGN frequency synthesizer, we
R = 300KHz
(2.4)
Then the value of N the total division number can be determined as following # " # " 924 MHz ; 927 MHz Output Frequency = 3080 ; 3090 (2.5) N = Channel Spacing = 300KHz 18
The value of prescaler can be selected any value, such as 8/9 or 32/33 or 64/65 etc. For instant if 64/65 is selected for the MYDESIGN design then the values of M and
(2.6)
We see that the value of M is xed for the entire range of frequencies, that was the main reason behind selecting the prescaler values 64/65. The x value of M also reduces the complexity of the divider. If possible, one should always try to x the value of M . The value of A is calculated with the following equation
A = N ; M P ] = N ; 48 64] = 8 to 18
(2.7)
So, if the value of A is 8 the output frequency will be 924 MHz and if it is 18 then the output frequency will be 924 MHz. Thus this range of A from 8 to 18 is for the desired output frequencies, but the design is easily expandable for other frequencies outside this range. Since we have 5 output line to program the the A counter, therefor a minimum of 0 and a maximum number 31 can be loaded in this counter. By doing this the value of A is still less than the value of M , which meets with the constraint, thus all these numbers are valid. Using the above equations we see that, a 0 value of the A counter will provide us with the 921.6 MHz output frequency and the value of 31 will generate an output frequency of 930.9 MHz. All the possible intermediate frequencies are listed in Table 2.2 on the next page. From the value of A, we can also estimate the number of output lines n, required to program the swallow counter A. Since in this case the maximum value of A is 18, we need 5 output lines for interfacing and programming the swallow counter. The design of all of theses sub-functional units will be covered in the next chapter. 19
Swallow Counter
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Divide by "N"
3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 30100 30101 30102 30103
Output Frequency
921.6 MHz 921.9 MHz 922.2 MHz 922.5 MHz 922.8 MHz 923.1 MHz 923.4 MHz 923.7 MHz 924.0 MHz 924.3 MHz 924.6 MHz 924.9 MHz 925.2 MHz 925.5 MHz 925.8 MHz 926.1 MHz 926.4 MHz 926.7 MHz 927.0 MHz 927.3 MHz 927.6 MHz 927.9 MHz 928.2 MHz 928.5 MHz 928.8 MHz 929.1 MHz 929.4 MHz 929.7 MHz 930.0 MHz 930.3 MHz 930.6 MHz 930.9 MHz
less noisy. There are three main digital PD's that are used for frequency synthesis applications are the following Phase Frequency detector EXOR Phase Detector JK ip op PD
D UP f r R
R f
o DN D
"1"
22
The operation of this circuit is based on two D-type ip ops and a simple AND gate. Each ip op has its input wired high. Under this condition, the ip- op with a low
Q output will transition to high on the next rising edge of its clock input. Also if
such an input transition occurs when Q is high, then there will be no change in the ip op state. A high signal on a reset input will force Q low as soon as the reset signal is applied. Finally, a logical high on both of the Q outputs causes the resetting of both of the ip ops. It generates two outputs which are not complementary of each other. The output signal depends not only on the phase error e, but also on the frequency error ! =
The fourth state is prevented, by adding an additional NAND gate in the circuit. So the circuit remains in the remaining three states only. Let us assign the numbers to various states as follows: UP = 0, DN = 0 |{ state 2 UP = 0, DN = 1 |{ state 0 UP = 1, DN = 0 |{ state 1 To avoid dependence of the output upon the duty cycle of the inputs, the circuit should be an edge-trigerred sequential machine. Such that the circuit will change the states only on the rising edge of the transitions at the inputs A and B . A state diagram summarizing the operation is shown in the Figure 3.2
State 2 QA = 0 QB = 1 B State 0 QA = 0 QB = 0 A State 1 QA = 1 QB = 0 A
Figure 3.2: PFD State Diagram The state of the PFD is determined by the positive edge transitions on the inputs
A and B as shown in the state diagram. If the PFD is in state 0, then a transition
on A will take the circuit to state 1, where The state values QA = 1 and QB = 0. The circuit remains in this state until a positive transisition occur at the input B , and the PFD returns to state 0. The transition from zero state to state2 is same as transition from 0 to 1 state. The only di erence is that a a positive transition at B occurs instead of at A. 24
B UP DN
B UP DN
B UP DN
25
Based on this description of the circuit, it is easy to see that Figure 3.1 is a three state logic device. The state where both QA and QB are high is not stable and is not included in Figure 3.2, since it generates a signal that reset both ip ops. In Figure 3.1, outputs QA and QB are the UP and DN outputs respectively. The reason behind this nomenclature comes from how these outputs are used in most applications often QA and QB are used to drive a circuit similar to that depicted in Figure 3.4.
Ip
p-channel
QA
TO VCO n-channel
QB
Figure 3.4: Output circuitry for use with phase/frequency detector In this Figure each eld e ect transistor (FET) acts as a simple switch that closes when its input goes high. Hence terminal common to both FETs goes high when
QA goes high, and it is grounded when QB goes high. In most application a high QA causes the loop lter to integrate some current Ip. This generates a VCO control
26
voltage that slew the oscillation in the proper direction. Because of this operation the circuit depicted in Figure 3.4 is a part of what is called a charge pump. It will be studied in section 3.3. The signal Id is thus a logical function of the PFD state. When PFD is in state 1, Id must be positive, and when PFD is in state 2, Id must be negative. For state o, the Id will be zero. Theoretically Id is a ternary signal 1]. If we plot the average Id signal vs. phase error
e
Ip
2 2 4
Figure 3.5: Plot of the average PFD output signalId vs. phase error
The curve is linear between ;2 to 2 , and then repeats every 2 . If the phase error
e
exceeds 2 , the PFD behaves as if the phase error is rotated back to zero.
Hence it is a periodic curve with a period of 2 . From Figure 3.5 the gain of PFD can be calculated and is given below
Ip Kd = 2
27
(3.1)
Furthermore, if the input frequency !i is greater than that of the output frequency
!o, it implies that at input A more transitions occur as compared to input B . In this
situation the PFD output states will toggles only between states o and 1, but will never go into state 2. If !i >> !o, then PFD will remain in state 1 most of the time. When !i < !o, PFD toggles between state state 2 and 0, and if !i << !o then it will remain in state 2 most of the time. Therefore we can conclude that the average output signalvd of PFD varies monotonically with frequency error ! = !i ; !o, when DPLL is in tracking or out-of-loack mode. Since it can detect both phase and frequency errors between the input signal it is best one to use in frequency synthesis application.
Consta nt4
Sum4
D Flip-Flop 1 AND
Scope 1 simout
!CLR
!Q
D Flip-Flop1
Mux
Figure 3.6: PFD's Simulink Model The performance of PFD is as expected. In Figure 3.7, the frequencies at input
A and B of PFD are same, but A leads B , and therefore the pulses appear at output
28
7 Input A 6
5 Input B 4
3 Output UP 2
1 Output DN 0 0 100 200 300 400 500 600 700 800 900 1000
7 Input A 6
5 Input B 4
3 Output UP 2
1 Output DN 0 0 100 200 300 400 500 600 700 800 900 1000
UP . In Figure 3.8 input B leads A and the frequency at input B greater than A, and
the pulses appear at output DN and the widths are coressponding to the di erence between the tow inputs. Thus the designed PFD is operating as designed.
29
Ip pulses to a lter, whenever the output of the PFD is in state 1 or state 2. For
state 0 of PFD it acts as an open circuit for the loop lter. The current Ip results in charging or discharging the capacitor voltage. The polarity of the charging current
Ip is positive, if pulses appear at UP output of the PFD, and is negative when pulses
appear at DOWN output of the PFD. In Figure refpump, the SW1 is the switch between state 1 and 0. When pulses appear at UP output of the PFD, the switch is closed and the pulses of charge current charge up the loop lter capacitor. The switch SW2 is a switch between state 2 and 0. When pulses appear at DN output of PFD, the switch is closed and the current from the loop lter ows down to ground, thus discharging the capacitor. So the 30
Vdd
Vdd
MP5
MP6
MN7 Ip
UP
MN1
SW1
MP1 MN2 MP2 MN8
Loop Filter
DN
MN3
SW2
MP3 MN4 MP4
Ip
MN5
MN9
MN10
GND
GND
31
voltage at the loop lter capacitor rises and falls, and control the VCO. The VCO in response either increase or decrease its frequency. The designed charge pump also consists of current sources namely MN7, MN8, and MN10 with n(MN9) and p(MP6) current mirror sources, which feed current mirror transistors MP5 and MN5. These are connected to loop lter via the switches (SW1, SW2), with complementry clocks balanced for equal time dealy. The current-source transistors are double the minimum length to improve the drain conductance. The average current Id = Ip can be calculated from the following Figure 3.10
Vdd
MP5
MP6 MN7
Ip (UP) V6
GND
32
n(p) Cox
W L
(3.2)
V =
10
I = Kn (V ; Vtn) (1 + V )
1 10 10 2 10
Kn (1 + V I I =K n (1 + V
2 9 6 10 10 ( ) 5
Kn (1 + Vc I Ip DN = K n (1 + V
10 10 ( ) 5
For Ip UP
(
(3.9)
Kn = Kp (3.10) Kn Kp The designed CMOS model of the charge pump is shown in FIg. 3.11, with
5 5 6 9
discharging/charging current Ip = 10 A. 33
Vdd
(1/.5) MP13 (1/.5) MP14 MP5 (1/1) MN13 (1/1) MN14 (5/3) Ip (1/1) MN7 MP6 (1/1)
(1/.5)
UP
MP15
(1/1)
SW1
(1/1) (1/1) MN15 (1/.5) MP1 (1/1) (1/1) MP3 MN18 (1/1) (2/1) MN17 MN2 MP2 MN8 Id
Loop Filter DN
MN16 (1/.5)
SW2
MP16 (1/.5) (1/1) MN3 (1/.5) MP18 MN4 MP4
Ip
(1/.5) MP11
(1/.5) MP12
(6/4)
(1/1)
(2/2)
MN9
MN10
(1/1)
(1/1)
GND
34
C1
C2
Figure 3.12: Second Order Passive Loop Filter It is a second order loop lter, as it contains two capacitors in the circuit. The transfer function of the loop lter is
35
!3
where
+ C 2) Zh = R(C 1 C1
! = R(C 11+ C 2)
2 3
1 (3.14) ! = RC 2 Selecting ! = K=4 and ! = 4K , we have the following relation for resistor and
2 3
NK R = 15 8I K
p o
I p Ko C 1 = 2NK
2IpKo C 2 = 15 NK
input UP of the PFD and discharges the loop lter for input DN of the PFD. The intensity of the current is same in both directions. The second plot is the UP and DN inputs and the resulting control voltage vc to the VCO. We see that the control voltage increases in response to the di erences in the UP and DN inputs. Therefore the circuit is working properly.
4 3 2 1 0 1 4 3 2 1 0 1 0 5 x 10 1 DN output of PFD 2 x 10
5
1 UP output of PFD
2 x 10
5
0.1
0.2
0.3
0.7
0.8
0.9 x 10
1
4
0.1
0.2
0.3
0.7
0.8
0.9 x 10
1
4
3.5 VCO
A VCO can be realized using a wide rage of technologies in many di erent ways 6], but there are two basic general classes. One is relaxation oscillators(or astable multivibrators) and the other is resonant oscillators(or Vanderpole oscillators) 7]. The main di erence in these two classes is digital and analog outputs. Since MYDESIGN is a DPLL circuit we will look at relaxation type VCO designs. For MYDESIGN synthesizer the operation range of the VCO can be found from the speci cation provided. The operating range of the VCO is equivalent to the band of the output frequencies which in this design is 924MHz ; 927MHz. Since the voltage range is restricted to 0:3V olts ; 3:3V olts, the VCO gain can be determined with the aid of Figure gain
fo(MHz)
927
(3.18)
Di erent circuit con gurations and technologies o er di erent capabilities and performances. As mentioned previously that the selection of a circuit con guration and technology is driven by the requirements of an application, and the selection process usually involves tradeo s and compromises 6].
39
40
G(s) = r (s) = Ks + K! H (s) = 1 + 3 S G(s) o (s) !3 + s + Ks + K! Where, the forward path transfer function G(s) is
2 2
(4.1)
+! G(s) = K S s ( s + 1)
2 2
!3
(4.2)
Ip
A/rad
( 1+ 1
Zh is the high frequency gain of the loop lter and is given by R CC Ko is the gain of the VCO = 2 Mrad/sec/V
C 2)
In PLL design, the incorporation of the low pass lter in the loop provide the designer, the exibility of choosing the bandwidth of the PLL. In typical designs, loop bandwidth = 1=10Input Frequency guarantees stability. So for MYDESIGN frequency synthesizer the PLL bandwidth must be
(4.4)
(4.5)
G(s) = Kd ZhKo=s
(4.6)
At high frequencies, the magnitude response of Z (s) is equal to Zh. If this is true, then the magnitude of G(s) is equal to 1, for ! = KdZhKo. Based on this, the bandwidth of the PLL is given by the relation
! dB = Kd ZhKo = K
3
(4.7)
This result of bandwidth has assumed that the magnitude of Zs is equal to Zh, but it is only possible when ! > ! . Therefore
2
! <K
2 2 2
(4.8)
is the constraint for selecting the value of ! . Also if the value of ! < 4K , then it will have little e ect on the magnitude response of the closed loop transfer function of the PLL 8]. So we can select ! < K=4. We will see more about this, when
2
considering step response of the PLL. The selection of ! is based on the same approach that we want that the j G(j!) j
3
crosses unity at ! = K , and the PLL bandwidth will be equal to K . It is true in general that if ! is not too close to K , such that ! > K then the bandwidth of the
3 3
PLL will remain K . The step response of the PLL will be same as for a second order PLL, as shown in Figure 4.1 if we select ! = 4K .
3
(4.9)
1.2
Amplitude
0.8
0.6
0.4
0.2
1.4
4.2
5.6 x 10
7
4
where
= 0:5 K=!
!n = K!
The result of the above discussion are re-presented in the following table 4.1
For Stability 2 < 3 > For Optimal Performance 2 = /4 3 = 4
The values of resistors and capacitors, using the formulas given in section 4.2 are found to be
43
K R C1 C2
3000
2000
1000
Imag Axis
1000
2000
3000
2.5
1.5
1 Real Axis
0.5
0.5 x 10
4
Figure 4.2: Root Locus of Third Order Designed PLL in nity, is the point, where the system becomes oscillatory, but is still stable. Increasing K, thus will increase the oscillatory behavior of the system in time domain. We will talk about this more in the next section.
the selection of ! for various di erent values e ects the step response. It seems from
2
45
Amplitude
0.5
1 x 10
1.5
3
Figure 4.3: Step Response of Third Order Designed PLL the step response plot that, it is always best to select w2 as small as possible. This slightly slows the response, but it make the system very stable, as overshoot is very less. However a small value of w2 implies large capacitor, and they take longer to charge during lock acquisition. Therefore a good compromise is to select w2 = k=4, this assures fast acquisition 8] and the resulting step response is shown in Figure 4.4
Step Response 1.4
1.2
Amplitude
0.8
0.6
0.4
0.2
0.2
0.4
0.8
1 x 10
1.2
3
10
15 0 20 40 60 80 100 3 10
10
10
Frequency (rad/sec)
Figure 4.5: Bode Plot of second order PLL open loop, with ! = K=4
2
A bode plot for a third order designed PLL is shown in Figure 4.6 The bandwidth of the PLL is at 20 KHz. So the transfer function of the PLL is correctly working. Both plots are also very much like, thus we can conclude safely that there is no e ect in the magnitude response by the third pole of the PLL. 47
Bode Diagrams
50
100
150
200 2 10
10
10
10
10
Frequency (rad/sec)
Figure1
In1 Q1 In1 Out1 In2 Q2 In2 In1 Out1 In1 Out1
1
Out1 In1
In1
ind
+2 Out1 +0
In2
v lf
m utliplexer
Figure2
lock indicator
48
loop lter is shown in gure 4.8. The performance is as expected, we see the output rises, when the two inputs to the PD are out of lock and when they are in lock it saturates. We used the lock indicator to detect when the pll is in lock. Figure 4.9 shows the lock indication and corresponding to the VCO control voltage. The Results are satisfactory.
0.02 0.018 0.016 th e o u t p u t o f lo o p filt e r: (v) 0.014 0.012 0.01 0.008 0.006 0.004 0.002 0 0 0.1 0.2 0.3 0.4 0.5 0.6 tim e :(s e c ) 0.7 0.8 0.9 x 10 1
-3
3.5
2.5
1.5
0.5
-0.5 0 0.1 0.2 0.3 0.4 0.5 tim e:(s ec ) 0.6 0.7 0.8 0.9 x 10 1
-3
49
5.1 Prescaler
Frequency dividers are also called prescalers. There are two prescalers in the two modulus divider for the MYDESIGN namely, a divide by 64 and a divide by 65 prescalers. The designed prescalers and their simulation results for the MYDESIGN are presented in the following sections.
5.1.1 Divide by 64
Asynchronous dividers are the simplest form of prescalers. They consists of a series of D ip ops, where each D ip op's inverted output is connected back to 50
its input, making it a divide by two circuit. If the input is fed into the clock signal of this circuit the output frequency will be half of the input frequency. A circuit con guration of such a circuit, and its input output behavior is shown in Figure 5.1.
D Q f/2 OUT f f IN f/2
Figure 5.1: A Divide by 2 Prescaler A very nice feature of this circuit is that the output is perfectly symmetrical square wave regardless of whether the input square wave is symmetrical or not. By cascading several D ip ops in the same con guration, it is easy to make a divide-by-2n circuit. The non-inverting output of one ip op can be used as an input to the next ip op to make it a divide by 4 circuit. Thus to divide an input frequency by 64, we only need to have 6 D ip ops connected in this con guration. The designed circuit for the prescaler 64 is shown in Figure 5.2
f/2 f/4 f/8 f/16 f/32 f/64
51
The simulation of the prescaler 64 was performed using SIMULINK model, and the Figure 5.3 shows the input and output waveforms of the circuit.
2.5
1.5
0.5
1000
2000
3000
4000
5000
6000
Figure 5.3: Simulink results of Divide by 64 prescaler unit The circuit is performing as expected, one period of output square wave is equal to the 64 periods of the input square wave. Thefore output frequency is equal to the input frequency divided by the integer value 64. The duty cycle is 50 percent in this case, but it is only possible when division is not an even number. We will discuss about this more in the other divider designs.
5.1.2 Divide by 65
This prescaler is more complicated to implement as compared to a divide by 64 prescaler. The reason is the odd number division. There are two ways to build this circuit, one is completely synchronous and the other is mixed. Since the rst method is more complex as compared to the second one, we will use the second method, which 52
is asynchronous and synchronous mixed design. In this method the circuit is divided into two units. One unit is a divide by 5 circuit and the second one is a divide by 13. The output of rst unit will be fed into the second unit, and the whole circuit will be a divide by 65 prescaler circuit. These two circuits are basically ring counters with the number of states corresponding to the division number. For example if we need to divide by 5, the ring counter will have ve stages only and will count in a ring fashion. Same is true for a divide by 13 unit, it will have 13 stages and will also count in the ring fashion. The following two tables shows the various stages of both ring counters. The number of ip ops required can be found from the number of stages. So we need 3 D ip ops for the divide by 5 circuit , as it has only ve stages and 4 D ip ops for the divide by 13 circuit. All the ip- ops are rising edge triggered. The designed prescaler is shown in Figure 5.4.
f/65
f/5
53
5 1/65 output 4.5 4 3.5 3 1/5 output 2.5 2 1.5 1 Input 0.5 0
1000
2000
3000
4000
5000
6000
Clock
/Load
IA
QA
IB
QB
IC
55
QC
ID D Q QD
IE
QE
The simulation results of the swallow counter are shown in Figure 5.7. It is working as was desired.
12 QA QB QC QD QE CLK 10 8 6 4 2 0 0 50 100 150 200 250 Loading 8 300 350 400 450 500
12 QA QB QC QD QE CLK 10 8 6 4 2 0 0 500 1000 1500 2000 Counting Down from 31 to 0 2500 3000
with the same technique as we used for the divide by 65 unit. It rst divide the input by 16 and then the second unit divide this output by 3 yielding a total of divide by 48 output. The circuit con guration is shown in Figure 5.8. The design was veri ed using SIMULINK and the resulting waveforms are shownsin Figure 5.9
Output
Input
Output
3.5
2.5
1/16 out
1.5
Input
0.5
0 1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
11000
57
Prescaler 1/65
Input
MUX A B C D E F
59
0.5
1.5
2.5 3 Time(sec)
3.5
4.5
5 x 10
4
Figure 5.11: Simulink Results of Dual Modulus Programmable Divider Control Unit reduces to half of the input frequency. To double the output frequency, a frequency doubler can be used . A phase shifters that can be used is shown in Figure refdquad The Output1 and Output2 are 90 degree out of phase with each other and the output frequency can be doubled using a frequency doubler at the output of the PLL, so that the reduction of the frequency will be invisible for the rest of the transceiver circuit.
60
LPF
RF Input
AGC
90
Remaining Interface
LPF
PLL SYNTHESIZER
Reference Input
Data
LE
CLK
Output 1 Input
Input
Clk Output 1
Output 2
Output 2
Clk
61
make it possible for a system to be operational even under the condition of failure are termed as Fault Tolerant Design Techniques and the system as the Fault Tolerant system. So the idea of fault tolerance is that masking up the weak points of a system, where that system may become faulty under physical defects, environmental conditions or may be because of basic design errors. I would like to implement a Fault Tolerant Frequency Synthesizer, by including both digital design and VLSI fault tolerance techniques. The incorporation of this will make it more reliable and powerful. The Other aspect that was not included in the MYDESIGN was the NOISE ANALYSIS. Since noise is an imporant parameter which a ects the performance of a design mostly in non-linear fashion, is neccassry to accurately measure the performance of that design. Including noise consideration provide more details about the sensitive points and parametrs of a design. I would like to study the sources of noise in MYDESIGN and its e ect on the performace as my future work.
63
1 E n a b le
E n a b le O u tpu t C lo c k
E n a b le O u tpu t C lo c k
P u lse G e n e ra to r
d ivid e 5
2 C o n sta n t Sum1
Mu x
D C LK !C LR
1
Q
NO R
D C LK
1
Q
Mu x z S um 1
S co p e 1 sim o u t
z
!Q !Q
!C LR
2 C o n sta n t
T o Wo rksp a c e
D F lip -F lo p 1 1 E n a b le 1
D C LK D C LK
D F lip -F lo p 2
D C LK
D Q C LK
1
Q
z 1 1
!C LR !Q
1 P u lse G e n e ra to r
!C LR !Q
1
!C LR !Q
S um 2
!C LR
!Q
z D F lip -F lo p 3
z 4 C o n sta n t1
D F lip -F lo p 6
D F lip -F lo p 5
D F lip -F lo p 4
1 E n a b le 2
64
Out
In
1 /4 8
C loc k QA
S2
/Loa d QB
0 C0 0 C1 0 C2 1 C3
IA
IB
QC
OR
1 z Un it De la y
IC QD ID
L4
QE
0 C4
IE
S wa llo w Co u n te r
65
0 Lo a d 1
NO T AND OR AND XO R NO T
D C LK
1
Q
Mu x 10 Co n sta n t S um 1 Mu x S co p e 1
z 1
!C LR !Q
1
Q
z 1
!C LR !Q
8 Co n sta n t1 S um 2
D F lip -F lo p
0 Co n sta n t8 AND XO R NO T
AND NO T OR
D C LK
1
Q
z 1
!C LR !Q
6 Co n sta n t2 S um 3
D F lip -F lo p 3
AND
AND
XO R
NO T
NO T
OR
D C LK
1
Q
z 1
!C LR !Q
4 Co n sta n t3 S um 4
D F lip -F lo p 2
AND OR AND E n a b le 1
!C LR D C LK
1
Q
z XO R NO T NO T 1
!Q
2 Co n sta n t4 S um 5
D F lip -F lo p 4
66
67
BIBLIOGRAPHY
1] Roland Best. Phase-Locked Loops: Design, Simulation and Applications. McGraw Hill, Third edition, 1997. 2] Robert H. Bishop. Modern Control Systems. Addison Wesley, Seventh edition, 1995. 3] Gary Miller. Modern Electronic Communication. Prentice Hall, Fifth edition, 1996. 4] James W. Nilsson. Electric Circuits. Addison Wesley, Fourth edition, 1993. 5] Behzad Razavi. RF Microelectronics. Prentice Hall, First edition, 1998. 6] John L. Stensby. Phase-Locked LOOPS: Theory and Application. CRC Press, First edition, 1997. 7] Neil H. E. weste and Kamran Eshraghian. Principles of CMOS VLSI Design : A System Perspective. Addison Wesley, Second edition, 1992. 8] Dan Wolaver. Phase-Locked Loop Circuit Design. Prentice Hall, 1991.
68