2010 International Conference on Electronic Devices, Systems and Applications (ICEDSA2010)
A Phase-Locked Loop Reference Spur Modelling using Simulink
Noorfazila Kamal, Said Al-Sarawi, Neil H. E. Weste and Derek Abbott
School of Electrical and Electronic Engineering University of Adelaide SA 5005, Australia Email: {nkamal,alsarawi,dabbott}@eleceng.adelaide.edu.au, neil.weste@gmail.com
Abstract Phase-Locked Loops (PLLs) are a commonly used module in frequency synthesizers as part of RF transceivers. Simulating these modules is very time consuming. Therefore, a number of approaches to evaluate the performance of these modules through high level behavioural modelling are developed, where the focus is on the random noise aspect of these modules. In this paper, we introduce charge pump and Phase/Frequency Detector (PFD) non-idealities in the integer-N PLL behavioural model to estimate the periodic noise, which is also known as reference spurs. In addition, the effect of the VCO gain, loop lter order and loop bandwidth on the reference spurs level are taken into consideration. The proposed model was implemented in Simulink and showed less than 3% error when compared to transistor level simulations from Cadence Spectre. Using this approach a 10 time improvement in simulation speed was achieved compared to transient analysis from Cadence Spectre.
I. I NTRODUCTION A Phase-Locked Loop (PLL) based frequency synthesizer is one of the important circuit modules in RF transceivers. The module provides a reference frequency for a mixer to translate a baseband signal to an RF signal on the transmitter side, and from an RF signal to a baseband signal on the receiver side. The PLL module consists of a Voltage-Controlled Oscillator (VCO), frequency divider, Phase/Frequency Detector (PFD), charge pump (CP) and low pass lter (LPF) as shown in Figure 1.
fref
PFD CP LPF VCO
fout
1/N
Fig. 1.
Phase-Locked Loop
The PFD compares the divided output signal, fout to a reference clock, fref . The phase error between these signals is converted into a voltage using the charge pump and ltered using the low pass lter, then feed as a control signal to the VCO to adjust its output frequency accordingly. Two types of PLL architectures are commonly used in RF transceivers, namely an integer-N PLL and fractional-N PLL. As the name state, an integer-N PLL, the output signal
frequency is an integer multiple of the reference frequency. While for a fractional-N PLL, the output frequency is a fraction of the reference signal frequency. The choice between these architectures is based on frequency planning needed by the transceiver. The presented model is aimed at the integer-N architecture for a 60 GHz transceiver [1]. The PLL performance is based on the noise seen at its output. There are two types of noise, random noise and periodic noise. Random noise is also known as phase noise, while periodic noise for integer-N architecture is called reference noise, which at a specied offset frequency from a carrier frequency. The noise performance at the PLL output depends on the loop bandwidth. A large loop bandwidth helps to improve the close-in band noise. Furthermore, large loop bandwidth reduces the PLL settling time. However, a small loop bandwidth is required to suppress the reference spurs. Therefore, a tradeoff between the loop bandwidth, maximum noise level and maximum settling time in a PLL has to be considered. Reference spurs are a serious issue in RF transceivers. A spur can degrade the signal-to-noise-ratio in data reception and transmission. This spur is caused by non-idealities in the PFD and charge pump circuits. These non-idealities are discussed in Section II. In the literature, a number of approaches have been devised to eliminate or minimize the non-idealities in these circuits to minimize the reference spurs [2][5]. However, the affect of non-idealities on the reference spur have not been modelled. In this paper, we investigate the effect of these nonidealities generated from the circuit level and demonstrate how they inuence the reference spurs. Conducting such evaluation at the transistor level would take a very long simulation time. Therefore, we present a behavioural model to reduce the simulation time while considering the dominant non-idealities with minimal impact on the performance estimation accuracy. The contribution of this paper is to include the modelling of PFD and charge pump non-idealities in the PLL Simulink behavioural model. These non-idealities are introduced to model the reference spurs in the integer-N PLL. By using the proposed behaviour model, effect of the VCO gain, loop lter and loop bandwidth on the reference spurs can be investigated at a fraction of the time needed to do full transistor level simulation. In Section II, the reference spurs and its sources are dis-
978-1-4244-6632-0/10/$26.00 2010 IEEE
279
cussed, in Section III the PLL linear model and its implementation in Simulink are discussed. The effect of the PFD and charge pump circuit non-idealities, combined with the PLL parameters on the reference spurs are discussed in IV, this is then followed by conclusion in Section V. II. REFERENCE SPURS The main contributions to the reference spurs in an integerN PLL are PFD delay, charge pump switching delay, charge pump current leakage, charge pump current mismatch, charge injection and charge sharing [6], [7]. Figure 2 shows commonly used PFD and charge pump circuits in PLL design.
Ideally, Iup should equal Idn in a charge pump. However, because of the process variation and channel length modulation effect on the current mirror structures, Iup and Idn are slightly different. This mismatch can be as large as 10%-20% between these currents, depending on the current source structure, transistor sizes and used fabrication technology. Other causes of the reference spurs are charge injection and charge sharing in MN and MP. The charge injection is from charges stored in the channels of the switch transistors when they turn OFF and the charge sharing is from node A and B (shown in Figure 2) in the charge pump when both transistor are ON [8]. III. PLL MODEL Despite the fact that PLL is a non-linear system, a linearized model can be used with assumption the phase error is small and the loop bandwidth much smaller compared to reference frequency [9]. Based on linear model, we propose a behavioural model for testing and estimating the PLL performance while considering parameters obtained from transistor level simulations. Many PLL models have been published [10][12]. However, none allow for accurate reference spur estimation. In this paper, a PLL Simulink behaviour model that model introduces four non-idealities in the PFD and charge pump components is presented. The aim is to investigate how each non-idealities in PFD and charge pump affect the reference spur level in PLL. The developed PLL Simulink model is shown in Figure 3. PFD model can be seen at the top left of the gure and charge pump model at the top right of the gure, and the complete PLL block is shown underneath. The VCO was modelled using a continuous time VCO block running at 20.9 GHz with a 1 GHz/V gain. The VCO output is divided by 256 using a frequency divider, then feed to the second input of the PFD. A 81.64 MHz signal was used as a reference frequency.
Vdd
UP
MP A
fref
___
rst
Iup
delay
Loop filter
___
fvco/N
1 D
rst B Q
DOWN
Idn
MN
Fig. 2.
Phase/Frequency Detector (PFD) and charge pump circuits
The two PFD output signals, labelled as UP and DOWN signal in the diagram, control the charge pump switching. The UP switch is using a PMOS, while the DOWN switch is using an NMOS. An equal amount of delay on both these signals is needed to eliminate dead zone problem. So, the PFD delay itself does not contribute to reference spurs. On the other hand, a differential delay between these signals introduce reference spurs, as this will cause either the Iup or Idn to be on for a longer period of time. In circuit implementation of the PFD circuit, this differential delay is a result of an inverter required on the UP switch in order to turn it ON. The delay could be minimized by using transmission gate to match the UP and DOWN signals [6] or using complementary differential cascode inverter. However, the delay still cannot be fully eliminated and result in maximum reference spurs at the PLL output. When UP and DOWN switches in charge pump are OFF, there should be zero net current ow to the lter circuit. However, there is still a very small current due to leakage current in the UP and DOWN transistors of the CP circuit. The amount of this current depends on the used technology. For the selected process (0.18 m SiGe BiCMOS technology from Jazz semiconductor), the calculated current leakage in these transistors are 25 pA and 29 pA for the PMOS and NMOS transistors, respectively.
Fig. 3.
PLL Simulink model
The PFD is constructed using two D-ipops and a NAND gate, as shown in Figure 3. The PFD delay is modelled by a
280
transport delay. For the charge pump, two non-idealities are included, namely current mismatch and current leakage. The amount of charge injection is very difcult to estimate because it is a complex function of various parameters that poorly controlled such as clock transition time [6]. Thus, this factor was not included in the Simulink model. However, based on estimated performance the charge injection has minimal effect on the reference spurs compared to current mismatch and PFD delay. Between the PFD and charge pump, a transport delay was included to model the charge pump switching delay. The charge pump output is then ltered by a low pass lter. A second order low pass lter was used and the lter is modelled by its transfer function. The lter is designed for a 2 MHz loop bandwidth. All the non-idealities values were retrieved from a transistor level modelling of these components using Cadence Spectre simulation. For the current leakage and current mismatch, a dc analysis was conducted to obtain the current mismatch value at different tuning voltage. Furthermore, a transient analysis was conducted to estimate the PFD delay. The PLL transistor level schematic was constructed using a 0.18 m SiGe BiCMOS technology provided by Jazz Semiconductor. As mentioned before, the PLL model presented in this paper is aimed at estimating the reference spurs, which is caused by non-idelaities in PFD and charge pump circuits. Therefore, only PFD, charge pump and loop lter are constructed at the transistor level in Cadence Spectre. The VCO and the frequency divider were constructed using Verilog behaviour modelling language. IV. MODELLING RESULTS The reference spurs level was measured from the Simulink model simulation and was compared to reference spurs levels measured from Cadence Spectre simulation, as shown in Figure 4. The maximum error between simulink and Cadence spectre simulation is less than 3%. It is suspected that this difference is due to the dynamic mismatch behaviour of the current mirrors. Using the proposed Simulink model, the effects of PFD delay and current mismatch on the reference spurs level were estimated. The current leakage effect on reference spur could be reduced with a large charge pump current [13]. In this work, the current leakage (less than 30 pA) is very small compared to charge pump current (500 uA). Therefore, the effect of current leakage could be neglected. While the effect of VCO gain and loop lter bandwidth and order on the reference spur level were considered as discussed below. A. PFD Delay Effect In order to investigate the effect of the PFD delay on the reference spurs using the proposed model, the PFD delay was changed from 230 ps to 330 ps in 10 ps steps, as shown in Figure 5. Based on the transistor level simulation, 230 ps is the minimum delay to avoid the dead zone problem. It is clear from the gure that the larger PFD delay the further increase in the reference spur level. The left hand side y -axis shows
54 simulink spectre % error
56
Reference spur level (dBc)
58
60 0 62 1 64 2
66
68 0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.1
1.2
3 1.3
Tuning voltage (V)
Fig. 4.
Reference spur level from Simulink model and Cadence Spectre
the amount of reference spur level in dBc at 78.125 MHz offset from the carrier frequency (20 GHz) for a number of delays of error between Cadence Spectre and Simulink results, where the right hand side y -axis shows the percentage of error between spectre and simulink result.
60 simulink spectre % error 1 0.8 0.6 61
60.5
Reference spur level (dBc)
61.5
0.2 0 0.2 0.4
62
62.5
63 0.6 63.5 0.8 1 330
64 230
240
250
260
270
280
290
300
310
320
PFD delay (ps)
Fig. 5.
PFD delay affecting the reference spur level
B. Current Mismatch Effect Current mismatch in the charge pump is a serious problem in the PLL. Therefore, in the literature a number of approaches are devised to match the Iup and Idn [14][16]. To investigate the current mismatch effect using the proposed model, two cases are considered. Firstly, when Iup larger than Idn , while the second is when Idn larger than Iup . As shown in the Figure 6, a slightly larger Idn increases the reference spurs performance. In contrast, larger Iup decrease the spur performance. This is because the excess Idn com-
281
Error percentage (%)
0.4
Error percentage (%)
pensates for the PFD delay and charge sharing effect on the reference spur level.
55 simulink spectre % error 1.5 2 Reference spur level (dBc)
55 simulink 56 spectre % error
0.8
0.7
57 Error percentage (%) 0.6 58
59
0.5
Reference spur level (dBc)
Error percentage(%)
60
60 0.4 61 0.3 62
0.5
65
63 0.5
1.1
1.2
1.3
1.4 1.5 1.6 VCO gain (GHz/V)
1.7
1.8
1.9
0.2
70 100
80
60
40
20
20
40
60
80
1 100
Fig. 7.
VCO gain affecting the reference spur level
Current mismatch (pA) Iup > Idn Idn > Iup
Fig. 6.
Current mismatch affecting the reference spur level.
C. VCO gain effect A PLL should be able to provide a range of output frequencies for channelling purpose. This output range is called PLL tuning range. The VCO gain in a PLL is chosen based on the PLL tuning range requirement. For a large tuning range, the PLL requires a high gain VCO. On the other hand, having a large VCO gain makes the VCO input very sensitive to any noise. In addition to affecting the PLL phase noise performance, this will also increase the reference spur level. The effect of VCO gain on the reference spur level was examined by sweeping the VCO gain from 1 GHz/V to 2 GHz/V, in steps of 0.1 GHz/V. The reference spur level for each VCO gain is plotted in Figure 7. As shown in the gure, the reference spur level is highly affected by the VCO gain. Therefore, a small VCO gain is good for the reference spurs but not for the tuning range. For this reason, in the literature a number of VCO designs use two varactors, one will allow for course tuning of the VCO gain, while a small varactor is used for ne tuning purposes [17]. Another approach is to use a switched capacitor network in the VCO design, thus a small varactor could be used while maintaining a large tuning range [18]. D. Loop Filter Effect A passive lter is commonly used in the PLL design. The effect of the lter order on the reference spur level is considered. Also, the reference spur level when using a second order low pass lter is compared to third order low pass lter as function of the loop bandwidth as shown in Figure 8. The loop bandwidth is required to be less than 10% of the reference frequency to maintain the loop stability [19]. This PLL use a 78.125 MHz reference clock. Hence a loop bandwidth of less than 8 MHz is needed. As a large loop bandwidth will result
in a higher contribution of spur noise level, a loop bandwidth ranging from 1 to 4 MHz was used. The proposed model simulation results is in full agreement with the transistor level simulation to less than 0.6% error when considering both second and third order loop lters at different values of loop bandwidth. Using a third order lter provides a 5 dB improvement in performance at small bandwidth. The larger increase in the loop bandwidth, will result in a further degradation in the reference spur performance. On the other hand, a small loop bandwidth can cause the PLL to take a very long time to settle. Therefore, a trade-off between loop bandwidth and settling time has to be considered [20].
45
2nd order (simulink) 3rd order (simulink)
0.4 0.3 0.2 0.1 0 0.1
50
2nd order (spectre) 3rd order (spectre) 2nd order % error
Reference spur level (dBc)
55
3rd order % error
60
65
0.2 0.3 0.4
70
75 0.5 80
1.5
2.5
3.5
Loop bandwidth (MHz)
Fig. 8. level
Loop lter order and loop bandwidth affecting the reference spur
Due to this reason, many PLL implementations are using third order PLL because of its apparent improvement in the reference spur. Higher order PLL might also help to further reduce the reference spur, but the trade-off is an increase of
282
Error percentage (%)
the loop lter design complexity and the loop stability. V. C ONCLUSION A comprehensive PLL Simulink model has been developed. The model allows the investigation of PFD delay, charge pump current mismatch, VCO gain, and loop lter bandwidth and order effects on the reference spur level. The Simulink model was veried using transistor level simulation based on Cadence Spectre. The difference between estimated performance results by the model and transistor based simulation is less than 3%. Based on this model, a good reference spur performance could be achieved by reducing the PFD delay, charge sharing, charge injection, switching delay, VCO gain, and loop bandwidth, in addition to using higher order loop lter. Also, another interesting observation when Idn was slightly larger than Iup , that reference spur level was reduced, an explanation to this effect was also given. ACKNOWLEDGMENT The authors would like to thank Yingbo Zhu and GLIMMR team for useful discussion regarding the PLL design, and The Australian Research Council for supporting the project. The commercial sponsors of the project are NHEW R&D Pty. Ltd., Cadence, Jazz Semiconductor, Intel Corporation and AWR. R EFERENCES
[1] N. Kamal, Y. Zhu, S. Al-Sarawi, N. Weste, and D. Abbott, A SiGe 6 modulus prescaler for a 60 GHz frequency synthesizer, in SPIE, vol. 6798, 2007, p. 67980E. [2] C. Kuo, J. Chang, and S. Liu, A spur reduction technique for a 5 GHz frequency synthesizer, IEEE Trans. on Circuits and Systems-I, vol. 53, no. 3, pp. 526533, Mar. 2006. [3] A. Maxim, A low reference spurs 1-5 GHz 0.13um CMOS frequency synthesizer using a fully-sampled feed-froward loop lter architecture, IEEE J. of Solid-State Circuits, vol. 42, no. 11, pp. 25032514, Nov. 2007. [4] C. Liang, H. Chen, and S. Liu, Spur-supression techniques for frequency synthesizer, IEEE Trans. on Circuit and Systems-II: Express Briefs, vol. 54, no. 8, pp. 653657, Aug. 2007. [5] C. Charles and D. Allstot, A calibrated phase/frequency detector for reference spur reduction in charge-pump PLL, IEEE Trans. on Circuits and Systems-II: Express Briefs, vol. 53, no. 9, pp. 822826, Sept. 2006. [6] B. Razavi, Design of Analog CMOS Integrated Circuit. McGraw-Hill, 2001, ch. 12, 15. [7] W. Rhee, Design of high performance CMOS charge pump in phaselocked loop, in IEEE Int. Symposium on Circuits and System (ISCAS), May 1999, pp. 545548. [8] C. T. Charles and D. J. Allstot, A buffered charge pump with zero charge sharing, in IEEE Int. Symposium on Circuits and Systems (ISCAS), May 2008, pp. 26332636. [9] F. Gardner, Charge pump Phase-Locked Loop, IEEE Transaction on Communications, vol. com-28, pp. 18491858, 1980. [10] C. Kuo, M. Lee, I. Tsai, C. Liu, and C. Huang, An accurate PLL behavioral model for fast Monte Carlo analysis under process variation, in IEEE Int. Behavioral Modeling and Simulation Workshop (BMAS), Sept. 2007, pp. 110114. [11] T. Rapinoja, K. Stadius, and K. Halonen, Behavioral model based simulation methods for charge-pump PLLs, in International Baltic Electronics Conference, 2006, pp. 1 4. [12] G. Manganaro, S. Kwak, S. Cho, and A. Pulincherry, A behavioral modeling approach to the design of a low jitter clock source, IEEE Trans. on Circuits and System-II: Analog and Digital Signal Processing, vol. 50, no. 11, pp. 804814, Nov. 2003. [13] J. Lee, S. Lee, H. Kim, and H. Yu, A 28.5-32 GHz fast settling multichannel PLL synthesizer for 60 GHz WPAN radio, IEEE Trans. on Microwave Theory and Tech., vol. 56, no. 5, May 2008.
[14] R. Mekky and M. Dessouky, Design of a low-mismatch gain boosting charge pump for Phase-Locked Loop, in International Conference on Microelectronics (ICM), Dec. 2007, pp. 321 324. [15] J. Lee, M. Keel, S. Lim, and S. Kim, Charge pump with perfect current matching characteristics in phase-locked loops, Electronic Letters, vol. 36, no. 23, pp. 19071908, Nov. 2000. [16] S. Cheng, H. Tong, J. Martinez, and A. Karsilayan, Design and analysis of an ultrahigh-speed glitch-free fully differential charge pump with minimum output current variation and accurate matching, IEEE Trans. on Circuits and Systems-II: Express Brief, vol. 53, no. 9, pp. 843847, Sept. 2006. [17] F. Herzel, G. Fischer, and H. Gustat, An integrated CMOS RF synthesizer for 802.11a Wireless LAN, IEEE J. of Solid-State Circuits, vol. 38, no. 10, pp. 17671770, Oct. 2003. [18] B. Floyd, A 16-18.8 GHz sub-integer-N frequency synthesizer for 60 GHz transceiver, IEEE J. of Solid-State Circuits, vol. 43, no. 5, pp. 10761086, May 2008. [19] B. Razavi, RF Microelectronics. Prentice Hall, 1998, ch. 8. [20] K. Woo, Y. Liu, E. Nam, and D. Ham, Fast-locking hybrid PLL combining fractional-N and integer-N modes of differing bandwidths, IEEE J. of Solid-State Circuits, vol. 43, no. 2, pp. 379389, Feb. 2008.
283