December 2013 A Simple Method to Accurately Predict PLL Reference Spur Levels Due to Leakage Current Michel Azarian and Will Ezell Presented is a simple model that can be used to accurately predict the level of reference spurs due to charge pump and/or op amp leakage current in a PLL system. Knowing how to predict these levels helps pick loop parameters wisely during the early stages of a PLL system design. Quick Review of PLLs The phase locked loop (PLL) is a negative feedback system that locks the phase and frequency of a higher frequency device (usually a voltage controlled oscillator, VCO) whose phase and frequency are not very stable over temperature and time to a more stable and lower frequency device (usually a temperature compensated or oven controlled crystal oscillator, TCXO or OCXO). As a black box, the PLL can be viewed as a frequency multiplier. A PLL is employed when there is the need for a high frequency local oscillator (LO) source. Example applications are numerous and include wireless communications, medical devices and instrumentation. Figure 1 shows the building blocks of a PLL system used for generating an LO signal. The PLL integrated circuit (IC) usually contains all clock dividers (R and N), phase/ frequency detector (PFD) and the charge pump, represented by the two current sources, ICP_UP and ICP_DN. The VCO output is compared to the reference clock (the OCXO output here) after both signals are divided down in frequency by their respective integer dividers (N and R, respectively). The PFD block controls the charge pump to sink or source current pulses at the f PFD rate into the loop filter to adjust the voltage on the tuning port of the VCO (V_TUNE) until the outputs of the clock dividers are equal in frequency and are in phase. When these are equal, it is said that the PLL is locked. The LO frequency is related to the reference frequency, f REF, by the following equation: f LO = N R f REF The PLL shown in Figure 1 is called an integer-n PLL because the feedback divider (the N-divider) can only assume integer values. When this divider can assume both integer and noninteger values, the loop is called a fractional-n PLL. The focus here will be only on integer-n PLLs, as different mechanisms are at work in fractional-n PLLs. Integer-N PLL Nonidealities The PLL IC contributes its own nonidealities to the system, principally phase noise and spurious. L, LT, LTC, LTM, Linear Technology and the Linear logo are registered trademarks and PLLWizard is a trademark of Linear Technology Corporation. All other trademarks are the property of their respective owners. V_CP V_OCXO PLL IC V_VCO OCXO f REF = f OCXO R f PFD PFD ICP_UP LOOP FILTER V_TUNE VCO f LO LO ICP_DN R Z C I N FEEDBACK AN143 F01 Figure 1. Basic Building Blocks of a PLL AN143-1
Phase Noise The PLL system of Figure 1 acts as a low pass filter on the reference clock phase noise and as a high pass filter on that of the VCO. The low pass and high pass filter cutoff frequency is defined by the loop bandwidth (LBW) of the PLL. Ideally, the LO phase noise follows that of the reference clock converted to the LO frequency (that is, multiplied by N/R) up to the LBW and subsequently follows the phase noise of the VCO. The PLL IC s noise contribution elevates the phase noise in the transition area. Figure 2 is a phase noise plot generated by PLLWizard, a free PLL design and simulation tool from Linear Technology. The figure shows both the total output phase noise (TOTAL), and the individual noises at the output due to the reference (REF at RF) and the VCO (VCO at RF). The IC s noise contribution can easily be seen in the highlighted area. PHASE NOISE (dbc/hz) 40 50 60 70 80 90 100 110 120 130 140 150 160 100 1k 10k 100k OFFSET FREQUENCY (Hz) VCO AT RF REF AT RF TOTAL AN143 F02 Figure 2. PLL Ihase Noise Contribution Region as Highlighted by the Drawn Ellipse Spurious Any unwanted signals on the power supplies shown in Figure 1 (V_OCXO, V_CP and V_VCO) can translate into spurious (spurs) on the LO signal. Careful design of these supplies greatly reduces or even eliminates these spurs. Charge pump related spurs, however, are inevitable. But, they can be reduced with careful PLL system design. These spurs are commonly referred to as reference spurs, though reference here does not mean the reference clock frequency. Rather, it refers to f PFD. An LO signal produced by an integer-n PLL has dual sideband spurs at f PFD and its harmonics. 1M For example, Figure 3 shows the spectrum of a 2.1GHz LO signal. f PFD is 1MHz (N = 2100) and the reference clock is 10MHz (R = 10). The loop bandwidth is 40kHz. As a side note, it is worth mentioning that the spurious level achieved in this measurement is world class due to the high performance of the LTC6945, an ultralow noise and spurious PLL IC from Linear Technology. AMPLITUDE (dbc) 0 20 40 60 80 100 120 140 2096 2098 2100 2102 2104 FREQUENCY (MHz) AN143 F03 Figure 3. Reference Spurs of a 2100 MHz LO Signal with an f PFD of 1MHz Generated Using the LTC6945 PLL IC from Linear Technology Along with the UMX-586-D16-G VCO from RFMD Causes of Reference Spurs In steady-state operation, the PLL is locked, and, theoretically, there is no more need to engage the ICP_UP and ICP_DN current sources of Figure 1 during every PFD cycle. However, doing so would create a dead zone in the loop response as there is a significant drop in the smallsignal loop gain (practically, an open loop). This dead zone is eliminated by forcing ICP_UP and ICP_DN to produce extremely narrow pulses during every PFD cycle. These are commonly referred to as anti-backlash pulses. This produces energy content on the VCO tune line at f PFD and its harmonics. The negative feedback cannot counteract these pulses since these frequencies are outside the loop bandwidth of a properly designed PLL. The VCO, then, is frequency modulated (FM) by this energy content, and related spurs appear at f PFD and its harmonics, all centered around LO. Between anti-backlash pulses, the charge pump current sources are off (tri-stated). Inherently, the charge pump has some leakage current when tri-stated. Using an op amp in an active loop filter (such as in Figure 7) introduces yet AN143-2
another leakage current source due to the op amp s input bias and offset currents. The aggregate of these unwanted currents, whether sourcing or sinking, causes a drift in the voltage across the loop filter and, consequently, in the tune voltage of the VCO. The negative feedback of the loop will correct for this anomaly by introducing a unipolar current pulse from the charge pump once every PFD cycle so that the average tune line voltage produces the correct frequency out of the VCO. The pulses produce energy at f PFD, which also causes spurs to appear centered around LO and offset by f PFD and its harmonics as previously noted. In integer-n PLLs, f PFD is often chosen to be relatively small because of the system s frequency step size requirements. This means that the anti-backlash pulse width, especially with the present high speed IC technologies, is extremely small compared to the PFD period. As such, a large leakage current causes the total charge pump pulses to be unipolar and tends to be the dominant cause of reference spurs. This phenomenon will be examined in more depth. Reference Spurs Effect on System Performance In a particular communications frequency band there are multiple channels that occupy equal bandwidths. The center-to-center frequency distance between two adjacent channels is equal among all channels and is denoted by channel spacing. Due to several factors, it is common to find large variations in signal strength between any two adjacent channels. A typical scenario in a multi-channel wireless communications system where a stronger channel exists adjacent to the desired but weaker channel is shown in Figure 4. Only one of the LO reference spurs of concern is shown. In an integer-n PLL, f PFD is usually chosen to be equal to the channel spacing, which means that the reference spurs are positioned at the channel spacing from the LO. These spurs translate all adjacent and nearby channels to the center of the intermediate frequency (f IF ) along with the LO mixing the desired channel to the same frequency. These undesired channels, being uncorrelated to the signal in the desired channel, appear as an elevated noise floor to the desired signal and limit the signal-to-noise ratio. DESIRED CHANNEL f RF ADJACENT CHANNEL CHANNEL SPACING RF f LO MIXER LO CHANNEL SPACING REFERENCE SPUR AN143 F04 Figure 4. Illustration of Adjacent Channel Interference Due to Reference Spurs Relationship Between Leakage Current and Reference Spur Levels The mathematical prediction of a PLL IC s phase noise contribution is relatively straightforward and can be accurately determined by calculations. However, the prediction of reference spur levels is traditionally believed to be complex. This section derives a method to accurately predict reference spur levels due to leakage current using simple calculations. Two examples using different loop filters will be examined. Passive Loop Filter Example A PLL system with a typical passive loop filter is shown in Figure 5 along with a current source denoted I_LEAKAGE to represent the leakage current of the charge pump. Assuming the PLL is locked, I_LEAKAGE reduces the charge held by during the time when the charge pump is off. When the charge pump turns on once every PFD cycle, ICP_UP replenishes the charge lost from by applying a short pulse of current. Feedback forces the average voltage seen at V_TUNE (V_TUNE_AVG) to be constant, maintaining the correct LO frequency. Figure 6 depicts this visually. The derivation of the resultant spurs involves some knowledge of loop stability requirements, the first being LBW IF f IF DESIRED CHANNEL AT IF ADJACENT CHANNEL AT IF AN143-3
restrictions. The LBW of the PLL system is designed to be at least 10 times smaller than f PFD, LBW f PFD 10 This means that the period of the PFD is: T PFD = 1 1 and,hence,lbw f PFD 10 T PFD To create a stable loop with plenty of phase margin, a zero, consisting of R Z and C I in Figure 5, is inserted in the loop at about 1/3rd the LBW. That is, Zero Location LBW 3 = 1 LBW 3, 2πτ z 2πτ z where τ z =R z C I Replacing LBW in the last equation with its equivalent in terms of T PFD results in: 3 1, or T 2πτ z 10 T PFD 2π PFD 30 τ z This means that the PFD period is almost five times shorter than the time constant of the zero, τ Z. This implies that the ripple produced at a period of T PFD across is mostly unseen by C I. The closed-loop bandwidth LBW is approximately equal to the unity crossing of the open-loop gain. Since the zero is located within the loop bandwidth (it is located at 1/3rd the unity crossing of the open-loop gain), the voltage across C I is dictated by the negative feedback and is mostly a DC value. Practically speaking, only is discharged and charged during the PFD cycles shown in Figure 6. If a capacitor, C, is charged or discharged with a constant current source, I, over a period of time given by ΔT, the voltage delta across this capacitor is given by: ΔV =I ΔT C To maintain a fixed output frequency at LO, the voltage droop that occurs during the discharge period is equal to V_CP V_OCXO PLL IC V_VCO OCXO R PFD ICP_UP ICP_DN I_LEAKAGE LOOP FILTER R Z V_TUNE VCO LO C I N FEEDBACK AN143 F05 Figure 5. A PLL System with a Passive Loop Filter and I_Leakage Representing the Charge Pump Leakage Current I_CP V P-P V_TUNE_AVG T CHARGE T DISCHARGE T PFD TIME AN143 F06 Figure 6. Discharging Through I_Leakage and Charging Back Through ICP_UP Every PFD Cycle AN143-4
the voltage buildup during the charging period of Figure 6. That is: V P-P = I_LEAKAGE T DISCHARGE = I_CP T CHARGE where, T CHARGE is the amount of time the charge pump current is active during every PFD cycle. The charge pump current, I_CP, is usually in the ma range and I_LEAKAGE is usually in the na range, which means that: T CHARGE T PFD and T DISCHARGE T PFD This implies that the ripple voltage seen across can be represented by a sawtooth waveform. To study the effect of this sawtooth waveform on the spectrum of the LO signal, and since the waveform is a periodic function, it can be broken down into its frequency components using Fourier Series analysis. SAWTOOTHFOURIER SERIES = DC VALUE V P -P sin(2πnft) n where: V P-P = I_LEAKAGE T PFD = I_LEAKAGE f PFD π n=1 The DC value, which is equal to V_TUNE_AVG in Figure 6, is set by the negative feedback per the requested LO frequency. The AC components, however, frequency modulate the VCO through its tune pin with a tuning sensitivity of K VCO to produce dual sideband spurs with a fundamental of f PFD. The Appendix derives the following equation that is going to be used next. SIDEBAND = 20log K VCO E m 10 2f, db m The effect of the negative feedback on these AC components is negligible because f PFD, being the fundamental and the lowest frequency component, is at least 10 times higher in frequency than the zero db crossing of the open-loop gain by design. To find the fundamental reference spur-to-carrier power ratio, f m = f PFD, E m = V P-FUND and: REF_SPUR_FUND K = 20log VCO I_LEAKAGE 10 2π f 2 PFD, dbc For the 2nd harmonic reference spur, f m = 2 f PFD, E m = V P-2ndHAR and: REF_SPUR_2ndHAR K = 20log VCO I_LEAKAGE 10 8π f 2 PFD, dbc When n = 1, the fundamental peak is: V P-FUND = I_LEAKAGE π f PFD the 2nd harmonic peak is: V P -2ndHAR = I_LEAKAGE 2π f PFD and so on. V_OCXO PLL IC V_CP LOOP FILTER Ratios for higher order harmonics are found using a similar approach. Active Loop Filter Example Figure 7 shows an example implementation of an active loop filter built around an op amp. I_LEAKAGE represents the combined leakage currents of the charge pump and the V_OPAMP V_VCO OCXO R PFD ICP_UP ICP_DN I_LEAKAGE V_CP_BIAS + C I R Z V_FILT R P2 V_TUNE 2 VCO LO N FEEDBACK Figure 7. A PLL System with an Active Loop Filter and I_Leakage Representing the Charge Pump and Op Amp Leakage Currents AN143 F07 AN143-5
op amp. The same methodology used in the passive filter example applies here since the loop filters have a similar structure. The addition of the pole composed of R P2 and 2 at the output of the op amp to limit the device s contribution of noise beyond 15 or 20 times the LBW reduces the amplitude of the sawtooth signal seen at the tuning node of the VCO. It should be noted that 2 includes the input capacitance of the VCO tune port. The sawtooth signal undergoes low pass filtering whose equation can be found using basic voltage division equations in the Laplace Transform domain and can be written as: V_TUNE 1 = V_FILT 1+ j2πf R P2 2, where f represents frequency in Hz. Naturally, the sawtooth signal Fourier Series components get affected differently according to their frequency. The reference spur-to-carrier ratios become: REF_SPUR_FUND K VCO I_LEAKAGE V_TUNE = 20log V_FILT 1 10 2π f 2 PFD, dbc, where V_TUNE V_FILT 1 = 1+ j2π f 1 PFD R P2 2, K REF_SPUR_2ndHAR VCO I_LEAKAGE V_TUNE = 20log V_FILT 2 10, 8π f 2 PFD dbc, where V_TUNE V_FILT 1 =, and so on. 2 1+ j4π f PFD R P2 2 Lab Verification of the Theory The PLL systems shown in Figures 5 and 7 were reproduced in the lab. External current was introduced at the charge pump node using a precision source meter to null the intrinsic fundamental reference spur caused by inherent leakages in the system. Then, specific additional current values were injected into the loop while measuring the fundamental reference spur levels. Figure 8 compares the measured and calculated values for both filter types. The measured and calculated numbers agree to within the instrument accuracies and component tolerances. Figure 8. Comparison of Measured and Calculated Fundamental Reference Spur Levels Using Active and Passive Loop Filters Table 1. Details About the PLL Systems Used to Generate the Measurements of Figure 8. PASSIVE LOOP FILTER ACTIVE LOOP FILTER PLL IC LTC6945, 6GHz Integer-N Synthesizer from Linear Technology LTC6945, 6GHz Integer-N Synthesizer from Linear Technology Op Amp N/A LT1678, Low Noise, Rail-to- Rail Precision Op Amp from Linear Technology VCO FUNDAMENTAL REFERENCE SPUR LEVEL (dbc) 40 50 60 70 80 90 100 5 PASSIVE FILTER, MEASURED PASSIVE FILTER, CALCULATED ACTIVE FILTER, MEASURED ACTIVE FILTER, CALCULATED 10 25 50 100 1000 INJECTED CURRENT (na) CVCO55CL-0902-0928, 902 to 928 MHz VCO from Crystek (nf) 8.2 22 f PFD (khz) 250 250 K VCO (MHz/V) 18 63 LBW (khz) 7 7.6 R P2 (Ω) N/A 100 2 (nf) N/A 13.3 AN143 F08 UMS-1400-A16-G, 700-1400 MHz VCO from RFMD AN143-6
Summary of Results Table 2 summarizes the equations derived in this application note. Conclusion Integer-N PLL operation and nonidealities are important topics in the design of RF systems. Reference spurs can have a significantly negative impact on overall system performance. The simple model shown here accurately predicts reference spur levels due to leakage current in PLLs and can be a useful design tool, significantly reducing the number of board revisions required to reach a desired solution. Appendix: Derivation of Spur-to-Carrier Ratio Using Narrowband FM Equations Consider an FM signal centered at an LO of frequency f c in Hz. This signal can be written as: e(t) = E c cos(2pf c t + q(t)), where E c is the peak amplitude of e(t) in V. The instantaneous frequency of e(t) is: ω inst = d dt ( 2πf c t+θ(t) )=2πf c +θ (t),rad/sec Since e(t) is an FM signal, the modulating signal e m (t) modulates the instantaneous frequency of e(t) as follows: q (t) = Ke m (t), rad/sec where K is the deviation sensitivity of frequency in rad/ (sec V): t θ(t)= θ (t)dt = t o Ke t o m(t)dt =K e o m(t)dt As far as this paper is concerned, the modulating signal is a tone one of the Fourier Series components of the sawtooth waveform which is given by: e m (t) = E m cos(2pf m t), where E m is the peak amplitude of e m (t) in V and f m is its frequency in Hz. Table 2. Summary of Formulas to Predict Reference Spur Levels Up to the 3rd Harmonic Loop Filter Type Passive Active Reference to Figure 5 Figure 7 REF_SPUR_FUND ( dbc) K VCO I_LEAKAGE V_TUNE 20log V_FILT 1 10 2π f 2 PFD V_TUNE V_FILT 1 1 1 1+ j2π f PFD R P2 2 REF_SPUR_2ndHAR ( dbc) K VCO I_LEAKAGE V_TUNE 20log V_FILT 2 10 8π f 2 PFD V_TUNE V_FILT 1 1 2 1+ j4π f PFD R P2 2 REF_SPUR_3rdHAR ( dbc) K VCO I_LEAKAGE V_TUNE 20log V_FILT 3 10 18π f 2 PFD V_TUNE V_FILT 1 1 3 1+ j6π f PFD R P2 2 Information furnished by Linear Technology Corporation is believed to be accurate and reliable. However, no responsibility is assumed for its use. Linear Technology Corporation makes no representation that the interconnection of its circuits as described herein will not infringe on existing patent rights. AN143-7
This means that the time varying component of e(t) s phase is: t θ(t)=k E o m cos(2πf m t)dt = K E m sin(2πf 2πf m t) m = 2πK VCO E m sin(2πf 2πf m t), m where K VCO, in Hz/V, is the tuning sensitivity of the VCO used to generate e(t). Define m as the modulation index, such as: θ(t)= K VCO E m sin(2πf f m t)=m sin(2πf m t), m where m= K VCO E m f m e(t), then, can be written as: e(t) = E c cos(2pf c t + m sin(2pf m t)). Expanding using some basic trigonometric identities gives: e(t) = E c cos(2pf c t) cos(m sin(2pf m t)) E c sin(2pf C t) sin(m sin(2pf m t)), m is much smaller than 1 as far as the reference spur generation is concerned. This implies that: Then cos(m sin(2pf m t)) 1, and sin(m sin(2pf m t)) m sin(2pf m t) e(t) E c cos(2pf c t) m E c sin(2pf c t) sin(2pf m t), or e(t)=e c cos(2πf C t)+ 1 2 m E c (cos(2π(f C +f m )t) cos( 2π(f c f m )t)), which is a narrow band FM signal composed of a carrier at f c and two sidebands located at ±f m centered around the carrier. Based on the last representation of e(t), sideband-to-carrier power ratio in dbc is given by: SIDEBAND =20log m 10 2 = 20log K VCO E m 10 2f m Bibliography 1. B. P. Lathi, Modern Digital and Analog Communication Systems, Third Edition, Oxford University Press, 1998, ISBN 0195110099 2. F. M. Gardner, Phaselock Techniques, Third Edition, John Wiley and Sons, 2005, ISBN 0471430633 3. Linear Technology, LTC6945 data sheet, 1630 McCarthy Blvd., Milpitas, CA, 95035, www.linear.com 4. R. E. Best, Phase-Locked Loops, Theory, Design, and Applications, Second Edition, McGraw-Hill, 1993, ISBN 0079113869 5. W. F. Egan, Frequency Synthesis by Phase Lock, Second Edition, John Wiley and Sons, 2000, ISBN 0471321044 6. Z. Tranter, Principles of Communications, Systems, Modulation, and Noise, Fourth Edition, John Wiley and Sons, 1995, ISBN 0471124966 AN143-8 LT 1213 PRINTED IN USA Linear Technology Corporation 1630 McCarthy Blvd., Milpitas, CA 95035-7417 (408) 432-1900 FAX: (408) 434-0507 www.linear.com LINEAR TECHNOLOGY CORPORATION 2013