Injection Locking EECS 242 Lecture 26! Prof. Ali M. Niknejad Outline
• Injection Locking! - Adler’s Equation (locking range) ! - Extension to large signals ! • Examples:! - GSM CMOS PA ! - Low Power Transmitter! - Dual Mode Oscillators ! - Clock distribution ! • Quadrature Locked Oscillators ! • Injection locked dividers
Ali M. Niknejad University of California, Berkeley Slide: 2 Injection Locking
http://www.youtube.com/watch?v=IBgq-_NJCl0
• Injection locking is also known as frequency entrainment or synchronization! • Many natural examples including! - pendulum clocks on the same wall observed to synchronize over time! - fireflies put on a good light show! • Injection locking can be deliberate or unwanted
Ali M. Niknejad University of California, Berkeley Slide: 3 Injection Locking Video Demonstration
http://www.youtube.com/watch?v=W1TMZASCR-I • Several metronomes (similar to pendulums) are initially excited in random phases. The oscillation frequencies are presumably very close but vary slightly due to manufacturing imperfections! • When placed on a rigid surface, the metronomes oscillate independently. ! • When placed on flexible table with “springs” (coke cans), they couple to one another and injection lock.
Ali M. Niknejad University of California, Berkeley Slide: 4 IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 39, NO. 9, SEPTEMBER 2004 1415 A Study of Injection Locking and Pulling Unwanted Injectionin Oscillators Pulling/Locking Behzad Razavi, Fellow, IEEE
One of Abstract—the difficultiesInjection locking characteristics in designing of oscillators area de- • rived and a graphical analysis is presented that describes injection fully integratedpulling in time and transceiver frequency domains. An identityis obtained from phase and envelope equations is used to express the requisite os- exactlycillator due nonlinearity to pulling and interpret / phasepushing noise reduction.! The be- havior of phase-locked oscillators under injection pulling is also • If the injectionformulated. signal is strong Index Terms—Adler’s equation, injection locking, injection enough,pulling, it will oscillator lock nonlinearity, the oscillatorsource. pulling, quadrature Otherwiseoscillators. it will “pull” the source and produce unwanted modulation! NJECTION of a periodic signal into an oscillator leads In the Ifirstto interesting example, locking orthe pulling transmitter phenomena. Studied by • Adler [1], Kurokawa [2], and others [3]–[5], these effects have is lockedfound to increasingly a XTAL greater importancewhereas for they the manifest them- receiverselves is in manylocked of today’s to transceivers the data and frequency clock. synthesis techniques. UnwantedThis paper coupling describes new (package, insights into injection locking and substrate,pulling Vdd/Gnd) and formulates the behaviorcan cause of phase-locked oscillators under injection. A graphical interpretation of Adler’s equation pulling.illustrates! pulling in both time and frequency domains while an identity derived from the phase and envelope equations • A PA isexpresses a classic the required source oscillator nonlinearityof trouble across the lock in a direct-conversionrange. transmitter Section II of the paper places this work in context and Fig. 1. Oscillator pullingSource: in (a) broadband [Razavi] transceiver and (b) RF transceiver. Section III deals with injection locking. Sections IV and V respectively consider injection pulling and the required oscil- Injection locking becomes useful in a number of applica- lator nonlinearity. Section VI quantifies the effect of pulling tions, including frequency division [8], [9], quadrature genera- on phase-locked loops (PLLs) and Section VII summarizes the tion [10], [11], and oscillators with finer phase separations [12]. experimental results. Injection pulling, on the other hand, typically proves undesir- able. For example, in the broadband transceiver of Fig. 1(a), Ali M. Niknejad University of California, Berkeley the transmit voltage-controlled oscillator, , is lockedSlide: to 5 I. GENERAL CONSIDERATIONS a local crystal oscillator whereas the receive VCO, , is Oscillatory systems are generally prone to injection locking locked to the incoming data and hence potentially a slightly or pulling. As early as the 17th century, the Dutch scientist different frequency. Thus, the two oscillators may pull each Christiaan Huygens, while confined to bed by illness, noticed other as a result of coupling through the substrate. Similarly, that the pendulums of two clocks on the wall moved in unison if the high-swing broadband data at the output of the transmitter the clocks were hung close to each other [6]. He postulated that may pull and as it contains substantial energy in the coupling of the mechanical vibrations through the wall drove the vicinity of their oscillation frequencies. the clocks into synchronization. It has also been observed that Fig. 1(b) depicts another example of undesirable pulling. The humans left in isolated bunkers reveal a “free-running” sleep- power amplifier (PA) output in an RF transceiver contains large wake period of about 25 hours [7] but, when brought back to spectral components in the vicinity of , leaking through the the nature, they are injection-locked to the Earth’s cycle. package and the substrate to the VCO and causing pulling.
II. INJECTION LOCKING Manuscript received December 16, 2003; revised March 17, 2004. Consider the simple (conceptual) oscillator shown in Fig. 2, The author is with the Department of Electrical Engineering, University of California, Los Angeles, CA 90095 USA (e-mail: [email protected]). where all parasitics are neglected, the tank operates at the res- Digital Object Identifier 10.1109/JSSC.2004.831608 onance frequency (thus contributing no phase
0018-9200/04$20.00 © 2004 IEEE
Authorized licensed use limited to: Univ of Calif Berkeley. Downloaded on April 26, 2009 at 19:53 from IEEE Xplore. Restrictions apply. Injection LockingInjection Locking is Non-Linear
VCO |Vnoise(w)| |Vout(w)| Vnoise
Vin Vout W W wo wo
Δw -Δw Δw |V (w)| ! Noise close in |Vnoise(w)| out frequency to w W w W VCO resonant o o frequency can Δw -Δw Δw |V (w)| |Vout(w)| cause VCO noise frequency to W W wo wo shift when its Δw -Δw Δw
amplitude |Vnoise(w)| |Vout(w)| becomes high W W enough w wo o Source: M. Perrott! Δw -Δw Δw MIT OCW 6.976 M.H. Perrott MIT OCW • For weak injection, you get a response at both side-bands! • As the injection is increased, it begins to “pull” the oscillator! • Eventually, for large enough injection, the oscillation locks to the injection signal
Ali M. Niknejad University of California, Berkeley Slide: 6 Injection Locking in LC Tanks 1416 IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 39, NO. 9, SEPTEMBER 2004 • Consider (a) a free-running oscillator consisting of an ideal positive feedback amplifier and an LC tank.! • Now suppose (b) we insert a phase shift in the loop. We know this will cause the oscillation frequency to (c) shift since the loop gain has to have exactly 2π phase shift (or multiples)
GmZT ( 0)=gmR =1
j 0 Gme ZT ( 1)=1 Fig. 3. Phase difference between input and output for different values of and . j 0 j 0 Gme ZT ( 1) e =1 | | Fig. 2. (a) Conceptual oscillator. (b)Source: Frequency [Razavi] shift due to additional phase which reaches a maximum of shift. (c) Open-loop characteristics. (d) Frequency shift by injection. ZT (⇥1)= 0 (3) shift), and the ideal inverting buffer follows the tank to create a total phase shift of 360 around the feedback loop. What hap- if Ali M. Niknejad University of California,pens if Berkeley an additional phase shift is inserted in the loop, e.g.,Slide: as 7 depicted in Fig. 2(b)? The circuit can no longer oscillate at (4) because the total phase shift at this frequency deviates from 360 by . Thus, as illustrated in Fig. 2(c), the oscillation frequency Depicted in Fig. 3(c), these conditions translate to a 90 angle must change to a new value such that the tank contributes between the resultant and , implying that the phase differ- enough phase shift to cancel the effect of . Note that, if the ence between the “input,” , and the output, , reaches a buffer and contribute no phase shift, then the drain current maximum of . To compute the value of cor- of must remain in phase with under all condi- responding to this case, we first note that the phase shift of the tions. tank in the vicinity of resonance is given by (Section III-A) Now suppose we attempt to produce by adding a sinu- soidal current to the drain current of [Fig. 2(d)]. If the am- (5) plitude and frequency of are chosen properly, the circuit in- deed oscillates at rather than at and injection locking occurs. Under this condition, and must bear a phase and recognize from Fig. 3(c) that and difference [Fig. 3(a)] because: 1) the tank contributes phase at . It follows that , rotating with respect to the resultant current, , and 2) still remains in phase with and hence out (6) of phase with respect to , requiring that form an angle with . (If and were in phase, then would also be in phase with and thus with ). The angle formed be- tween and is such that becomes aligned with (This result is obtained in [3] using a different approach.) We (and ) after experiencing the tank phase shift, , at . denote this maximum difference by , with the understanding In order to determine the lock range (the range of across that the overall lock range is in fact around .1 which injection locking holds), we examine the phasor diagram The dependence of the lock range upon the injection level, of Fig. 3(a) as departs from . To match the increasingly , is to be expected: if decreases, must form a greater greater phase shift introduced by the tank, the angle between angle with so as to maintain the phase difference between and must also increase, requiring that rotate coun- and at [Fig. 3(d)]. Thus, the circuit moves closer to terclockwise [Fig. 3(b)]. It can be shown that the edge of the lock range. As a special case, if , then (2) reduces to (1) (7) (2) 1We call the “one-sided” lock range.
Authorized licensed use limited to: Univ of Calif Berkeley. Downloaded on April 26, 2009 at 19:53 from IEEE Xplore. Restrictions apply. Injection Locking in LC Tanks [cont] • A phase shift in the tank will cause the oscillation frequency to change in order to compensate for the phase shift through the tank impedance.! • The oscillation frequency is no longer at the resonant frequency of the tank. Note that the oscillation amplitude must also change since the loop gain is now different (tank impedance is lower)! • Maximum phase shift that the tank can provide is ± 90°! • In a high Q tank, the frequency shift is relatively small since 1.5
1
⇥0 d Q = 0.5 2 d⇥
0
⇥0 ⇥ -0.5 2 Q
-1
-1.5
9.25 · 108 9.5 · 108 9.75 · 108 1 · 109 1.025 · 109 1.05 · 109 1.075 · 109 1.1 · 109 Ali M. Niknejad University of California, Berkeley Slide: 8 1416 IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 39, NO. 9, SEPTEMBER 2004
Phase Shift for Injected Signal
• It’s interesting to observe that if a signal is injected into the circuit, then the tank current is a sum of the injected and transistor current.! • Assume the oscillator “locks” onto the injected current and oscillates at the same frequency.! Fig. 3. Phase difference between input and output for different values of • Since the locking signal is not in general at the and . resonant center frequency, the tank introduces Source: [Razavi] Fig. 2. (a) Conceptual oscillator. (b) Frequency shift due to additional phase which reaches a maximum of a phase shift! shift. (c) Open-loop characteristics. (d) Frequency shift by injection. • In order for the oscillator loop gain to be equal (3) to unity with zero phase shift,shift), the and thesum ideal of inverting the buffer follows the tank to create a current of the transistor andtotal the phase injected shift of 360 around the feedback loop. What hap- if currents must have the properpens if phase an additional shift phase to shift is inserted in the loop, e.g., as depicted in Fig. 2(b)? The circuit can no longer oscillate at (4) compensate for the tank phasebecause shift. the total! phase shift at this frequency deviates from 360 • We see that the oscillator current,by . Thus, tank as illustrated current, in Fig. 2(c), the oscillation frequency Depicted in Fig. 3(c), these conditions translate to a 90 angle and injected current all havemust different change to aphases new value such that the tank contributes between the resultant and , implying that the phase differ- enough phase shift to cancel the effect of . Note that, if the ence between the “input,” , and the output, , reaches a buffer and contribute no phase shift, then the drain current maximum of . To compute the value of cor- of must remain in phase with under all condi- responding to this case, we first note that the phase shift of the tions. Ali M. Niknejad University of California, Berkeley Slide: 9tank in the vicinity of resonance is given by (Section III-A) Now suppose we attempt to produce by adding a sinu- soidal current to the drain current of [Fig. 2(d)]. If the am- (5) plitude and frequency of are chosen properly, the circuit in- deed oscillates at rather than at and injection locking occurs. Under this condition, and must bear a phase and recognize from Fig. 3(c) that and difference [Fig. 3(a)] because: 1) the tank contributes phase at . It follows that , rotating with respect to the resultant current, , and 2) still remains in phase with and hence out (6) of phase with respect to , requiring that form an angle with . (If and were in phase, then would also be in phase with and thus with ). The angle formed be- tween and is such that becomes aligned with (This result is obtained in [3] using a different approach.) We (and ) after experiencing the tank phase shift, , at . denote this maximum difference by , with the understanding In order to determine the lock range (the range of across that the overall lock range is in fact around .1 which injection locking holds), we examine the phasor diagram The dependence of the lock range upon the injection level, of Fig. 3(a) as departs from . To match the increasingly , is to be expected: if decreases, must form a greater greater phase shift introduced by the tank, the angle between angle with so as to maintain the phase difference between and must also increase, requiring that rotate coun- and at [Fig. 3(d)]. Thus, the circuit moves closer to terclockwise [Fig. 3(b)]. It can be shown that the edge of the lock range. As a special case, if , then (2) reduces to (1) (7) (2) 1We call the “one-sided” lock range.
Authorized licensed use limited to: Univ of Calif Berkeley. Downloaded on April 26, 2009 at 19:53 from IEEE Xplore. Restrictions apply. Injection Locked Oscillator Phasors
0 Itank Vtank = ItankZT (!1) Iosc Itank Itank = Iosc + Iinj
j 0 Iosce Iinj
Iinj 6 Iosc = 6 Vtank = 6 Itank + 0 • Note that the frequency of the injection signal determines the extra phase shift Φ0 of the tank. This is fixed by the frequency offset.! • The current from the transistor is fed by the tank voltage, which by definition the tank current times the tank impedance, which introduces Φ0 between the tank current/voltage. ! • The angle between the injected current and the oscillator current θ must be such that their sum aligns with the tank current.
Ali M. Niknejad University of California, Berkeley Slide: 10 Injection Geometry
B A B sin 0 = Itank B Itank cos(⇥/2 ) = sin( )= Iinj Iosc Iinj sin ⇥0 = sin( ) Itank
0 Iinj sin( ) Iinj sin( ) sin ⇥0 = j = Iosce + Iinj 2 2 | | Iosc + Iinj + 2 cos IoscIinj
Iinj • The geometry of the problem implies the following constraints on the injected current amplitude relative to the oscillation amplitude.! • The maximum value of the rhs occurs at: I2 I2 Iinj osc inj Iinj cos = sin = sin 0,max = Iosc Iosc Iosc
Ali M. Niknejad University of California, Berkeley Slide: 11 Locking Range • At the edge of the lock range, the injected current is orthogonal to the tank current. ! • The phase angle between the injected current and the oscillator is 90° + Φ ! 0,max Itank • The lock range can be computed by noting that the tank phase shift is given by
2Q tan 0 = (⇥0 ⇥inj) ⇥0 Iosc
2Q Iinj Iinj tan 0 = (⇥0 ⇥inj)= = ⇥ I 2 0 tank I2 I 0 osc inj 0 Iinj 1 ( 0 inj)= 2Q I 2 osc Iinj 1 2 Iosc
Maximum Locking Range Iinj Ali M. Niknejad University of California, Berkeley Slide: 12 Weak Injection Locking Range • Adler first derived these results in a celebrated paper [Adler] under the conditions of a weak injection signal. ! • The results for a large injection signal were first derived by [Paciorek] and then re-derived (as shown here) by [Razavi]! Under weak injection:! • I I ! inj osc ! Iinj sin ⇥0 sin( ) ! Iosc
! Iinj 2Q sin ⇥0 = sin( ) tan ⇥0 = (⇤0 ⇤inj) ! Itank ⇥ ⇤0 ! 2Q Itank sin( )= (⇥0 ⇥inj) ! ⇥0 Iinj • At the edge of the locking range, the angle reaches 90°, and the injected signal is occurring at the peaks of the output, which cannot produce locking (think back to the Hajimiri phase noise model) 0 Iinj ( 0 inj)= 2Q Itank
Ali M. Niknejad University of California, Berkeley Slide: 13 1418 IEEE JOURNALInjection OF SOLID-STATE Pulling CIRCUITS, VOL.Dynamics 39, NO. 9, SEPTEMBER 2004 Since , and , we have
(15) Source: [Razavi] If the current flowing through the tank contains phase modula- Fig. 6. LC oscillator under injection. tion, i.e., , then the phase shift can• Suppose be now that the oscillator is under injection so that oscillator signal feeding the tank can be written as ! obtained by replacing in (15) with the instantaneous input fre- Equating this result to , we obtain quency, : ! VX = Vinj,p cos ⇥injt + Vosc,p cos(⇥injt + ) ! V =(V + V cos ) cos ⇥ t V sin sin ⇥ t (23) (16)! X inj,p osc,p inj osc,p inj This can be written as a cosine with a phase shift! Valid for narrow-band phase modulation (slowly-varying• ), We also note from (19) that ! this approximation holds well for typical injection phenomena. Vinj,p + Vosc,p cos Vosc,p sin VX = cos(⇤injt + ⇥) tan ⇥ = ! cos ⇥ Vinj,p + Vosc,p cos B. Oscillator Under Injection • Which allows us to write the output as Consider the feedback oscillatory system shown in Fig. 6, (24) Vinj,p + Vosc,p cos 1 2Q d⇥ where the injection is modeled as an additive input. The outputV = cos ⇤ t + ⇥ + tan ⇤ ⇤ out cos ⇥ inj ⇤ 0 inj dt is represented by a phase-modulated signal having a carrier fre- ⇤ 0 ⇥⌅⇥ quency of (rather than ). In other words, the output is (25) assumed to track the input except for a (possiblyAli M. Niknejad time-varying) University of California, Berkeley Slide: 14 phase difference. This representation is justified later. The ob- (26) jective is to calculate , subject it to the phase shift of the tank, and equate the result to . It follows from (23), (24), and (26) that The output of the adder is equal to
(17) (27) (28) (18) Originally derived by Adler [1] using a somewhat different ap- The two terms in (18) cannot be separately subjected to the tank proach, this equation serves as a versatile and powerful expres- phase shift because phase quantities do not satisfy superposition sion for the behavior of oscillators under injection. here. Thus, the right-hand side must be converted to a single Under locked condition, , yielding the same result sinusoid. Factoring and defining as in (9) for the lock range. If , the equation must be solved to obtain the dependence of upon time. Note that (19) is typically quite small because, from (28), it reaches a maximum of only . That is, varies slowly under pulling conditions. we write Adler’s equation can be rewritten as (20) (29) Since and , we have , Noting that , making a change of variable , and carrying out the inte- and hence gration, we arrive at
(30) (21)
Upon traveling through the LC tank, this signal experiences where .2 This paper introduces a a phase shift given by (16): graphical interpretation of this equation that confers insight into the phenomenon of injection pulling.
2Interestingly, is equal to the geometric mean of (the (22) difference between and the upper end of the lock range) and (the difference between and the lower end of the lock range).
Authorized licensed use limited to: Univ of Calif Berkeley. Downloaded on April 26, 2009 at 19:53 from IEEE Xplore. Restrictions apply. Injection Pulling Dynamics [cont] • We have assumed that the phase shift through the tank is given by the simple expression derived earlier where the instantaneous frequency is! d ⇥ + ! dt ! 2Q d⇥ tan ⇤ ⇤ ! ⇥ ⇤ 0 dt 0 ⇥ ! • If the injection signal is weak, then the previous result simplifies to:!
! 1 2Q d V = V cos ⇥ t + + tan ⇥ ⇥ out osc,p inj ⇥ 0 inj dt ! ⇤ 0 ⇥⌅⇥ • Which must equal to the output voltage, or the phase shifts must equal
1 2Q d⇥ ⇥ + tan ⇤ ⇤ = ⇤ 0 inj dt ⇤ 0 ⇥⌅
Ali M. Niknejad University of California, Berkeley Slide: 15 Pulling [cont]
• These equations can be manipulated into a form of Adler’s equation:! ! d ⇥0 Vinj,p ! = ⇥0 ⇥inj sin dt 2Q Vosc,p ! d 0 Vinj,p ! = ⇥0 ⇥inj ⇥L sin L dt 2Q Vosc,p ! • This equation describes the dynamics of the phase change of the oscillator under injecting pulling. If we set the derivative to zero, we obtain the injection locking conditions (same as before).! • Notice that maximum value of the rhs is quite small, which means that the rate of change of phase is slow ! • This equation can be used to study the behavior of locking signals outside the lock range. Note that this equation agrees with our graphical analysis: d =0 dt
Ali M. Niknejad University of California, Berkeley Slide: 16 Pull-In Process
1 1 ⇥L cos 0 (t) = 2 tan cot tanh (t t ) sin 0 2 0 ⇤ 0 ⇥⌅
1 ⇥0 ⇥1 0 = sin ⇥L
• θ0 is the steady-state phase shift between the injected signal and the active device signal and t0 is an integration constant that depends on the initial phase shift.! • From this equation the lock-in time can be computed (it’s approximately an exponential process):