Phase-Locked Loops

Radio-Frequency Integrated Circuits

7 Phase-Locked Loops

Phase-Locked Loops

  • Good phase noise performance is reached with high to very high \(Q\) in the resonator (see Equation 56).
  • Oscillator tunability requires a tunable resonator, which usually results in a low-to-moderate \(Q\), unfortunately.
  • Oscillators have inherent frequency stability issues due to temperature variations, device aging, and supply voltage fluctuations. However, for wireless communication systems, precise frequency control and a very stable LO (down to a few ppm of accuracy) are required.

7.1 Basic PLL Architecture

Basic PLL Architecture

Figure 74: Block diagram of a PLL.

Basic PLL Architecture

\[ \Delta \varphi = 2 \pi \frac{\Delta t}{T_\mathrm{ref}} \]

\[ V_\mathrm{error} = K_\mathrm{PD} \cdot \Delta \varphi \]

Basic PLL Architecture

Figure 75: Input and output waveforms of an XOR-based phase detector.

Basic PLL Architecture

JK Flip-Flop Phase Detector

Instead of an XOR gate, which requires 50% duty cycle input signals, an edge-triggered JK flip-flop can be used. While the overall behavior is similar, the JK flip-flop-based PD is insensitive to duty cycle variations of the input signals, as it only evaluates the rising edges of the reference and feedback signals (Best 1999).

Basic PLL Architecture

Figure 76: Laplace domain model of a PLL.

Basic PLL Architecture

\[ H_\mathrm{LP}(s) = \frac{1}{1 + s T_\mathrm{LP}}. \]

Basic PLL Architecture

Why Regulate Phase Instead of Frequency (PLL vs. FLL)?

Frequency is the derivative of phase: controlling phase controls frequency, and a steady-state phase error \(\varphi_\mathrm{err}\) still gives zero frequency error:

\[ \omega_\mathrm{out}(t) = \frac{d \varphi_\mathrm{out}(t)}{dt} = \frac{d}{dt} \left[ N \cdot \varphi_\mathrm{ref}(t) + \varphi_\mathrm{err} \right] = N \cdot \frac{d \varphi_\mathrm{ref}(t)}{dt} = N \cdot \omega_\mathrm{ref}(t). \]

A frequency-locked loop (FLL, e.g., counter-based) usually leaves a frequency error, but helps PLL acquisition for large initial offsets.

Basic PLL Architecture

\[ V_\mathrm{PD}(s) = K_\mathrm{PD} \left[ \varphi_\mathrm{ref}(s) - \frac{\varphi_\mathrm{out}(s)}{N} \right] \]

\[ \varphi_\mathrm{out}(s) = \frac{K_\mathrm{VCO}}{s} \cdot H_\mathrm{LP}(s) \cdot V_\mathrm{PD}(s) = \frac{K_\mathrm{VCO}}{s} \cdot \frac{1}{1 + s T_\mathrm{LP}} \cdot K_\mathrm{PD} \left[ \varphi_\mathrm{ref}(s) - \frac{\varphi_\mathrm{out}(s)}{N} \right]. \]

Basic PLL Architecture

\[ H(s) = \frac{\varphi_\mathrm{out}(s)}{\varphi_\mathrm{ref}(s)} = N \cdot \frac{K_\mathrm{VCO} \cdot K_\mathrm{PD} \cdot \omega_\mathrm{LP} / N}{s^2 + s \cdot \omega_\mathrm{LP} + K_\mathrm{VCO} \cdot K_\mathrm{PD} \cdot \omega_\mathrm{LP} / N}. \tag{62}\]

Basic PLL Architecture

  • \(H(s)\) is a small-signal model around lock; acquisition and lock range are not covered
  • \(H(s)\) approximates a sampled system; valid for loop bandwidth \(\ll f_\mathrm{ref}\) (typically \(1/10\)), otherwise use \(H(z)\)

Basic PLL Architecture

\[ H(s) = N \cdot \frac{\omega_\mathrm{n}^2}{s^2 + s \cdot 2 \zeta \omega_\mathrm{n} + \omega_\mathrm{n}^2}, \]

\[ \omega_\mathrm{n} = \sqrt{\frac{K_\mathrm{VCO} \cdot K_\mathrm{PD} \cdot \omega_\mathrm{LP}}{N}} \tag{63}\]

Basic PLL Architecture

\[ \zeta = \frac{1}{2} \sqrt{\frac{\omega_\mathrm{LP} \cdot N}{K_\mathrm{VCO} \cdot K_\mathrm{PD}}}. \tag{64}\]

\[ p_{1,2} = -\omega_\mathrm{n} \left( \zeta \pm \sqrt{\zeta^2 - 1} \right) \]

Basic PLL Architecture

\[ p_{1,2} = -\frac{\omega_\mathrm{n}}{\sqrt{2}} \pm j \frac{\omega_\mathrm{n}}{\sqrt{2}}. \]

7.2 Charge-Pump PLL

Charge-Pump PLL

Figure 77: Implementation of a phase-frequency detector.

Charge-Pump PLL

  • Reference leads: “UP” active, CP sources current, VCO frequency increases
  • Feedback leads: “DOWN” active, CP sinks current, VCO frequency decreases
  • Aligned: only short pulses, loop filter capacitor holds the tuning voltage
  • The later edge resets both outputs: current pulse width is proportional to the phase difference

Charge-Pump PLL

  1. Reference leads feedback: The “UP” output is activated, and the CP sources current to the loop filter, increasing the VCO frequency.

Charge-Pump PLL

Figure 78: Reference leading the VCO feedback signal, frequencies are already aligned.

Charge-Pump PLL

  1. Feedback leads reference: The “DOWN” output is activated, and the CP sinks current from the loop filter, decreasing the VCO frequency.

Charge-Pump PLL

Figure 79: VCO feedback signal leading the reference, frequencies are already aligned.

Charge-Pump PLL

  1. Both signals aligned: Both outputs are briefly activated, but the CP does not source or sink current, maintaining the VCO frequency.

Charge-Pump PLL

Figure 80: VCO feedback and reference signal are aligned in phase and frequency.

Charge-Pump PLL

  1. Large frequency difference: The PFD continues to source or sink current until the phases align, allowing the PLL to acquire lock even with large initial frequency offsets.

Charge-Pump PLL

Figure 81: VCO feedback and reference signal have different frequencies (the VCO frequency is too high).

Charge-Pump PLL

Figure 82: Charge pump consisting of two matched current sources and switches.

Charge-Pump PLL

\[ \Delta V_\mathrm{LF} = \frac{1}{C_\mathrm{int}} \int_0^{t_\mathrm{on}} I_\mathrm{CP} \cdot dt \tag{65}\]

\[ H_\mathrm{CP}(s) = \frac{I_\mathrm{CP}}{2 \pi} \left( \frac{1}{s C_\mathrm{int}} + R_\mathrm{int} \right) \tag{66}\]

Charge-Pump PLL

Figure 83: Diagram of a PFD-CP PLL.

Charge-Pump PLL

\[ H(s) = \frac{\varphi_\mathrm{out}(s)}{\varphi_\mathrm{ref}(s)} = N \cdot \frac{\frac{I_\mathrm{CP} K_\mathrm{VCO}}{2 \pi C_\mathrm{int} N} (1 + s C_\mathrm{int} R_\mathrm{int})}{s^2 + s \frac{I_\mathrm{CP} K_\mathrm{VCO} R_\mathrm{int}}{2 \pi N} + \frac{I_\mathrm{CP} K_\mathrm{VCO}}{2 \pi C_\mathrm{int} N}} = N \cdot \frac{s \cdot 2 \zeta \omega_\mathrm{n} + \omega_\mathrm{n}^2}{s^2 + s \cdot 2 \zeta \omega_\mathrm{n} + \omega_\mathrm{n}^2} \tag{67}\]

\[ \omega_\mathrm{n} = \sqrt{\frac{I_\mathrm{CP} K_\mathrm{VCO}}{2 \pi C_\mathrm{int} N}} \tag{68}\]

Charge-Pump PLL

\[ \zeta = \frac{R_\mathrm{int}}{2} \sqrt{\frac{I_\mathrm{CP} K_\mathrm{VCO} C_\mathrm{int}}{2 \pi N}}. \tag{69}\]

Charge-Pump PLL

  • The PLL locks the VCO phase to the reference; zero frequency error in steady state (Type-II: zero phase error, too)
  • The loop filter sets dynamics and stability
  • Inside the loop bandwidth: reference phase noise passes (lowpass), VCO phase noise is suppressed
  • Outside the loop bandwidth: VCO phase noise dominates

Charge-Pump PLL

Figure 84: PLL phase noise contributions at the PLL output showing reference phase noise (increased by 20*log(N) and low-pass shaped), VCO phase noise (high-pass shaped), and total phase noise.

7.3 All-Digital PLL

All-Digital PLL

Figure 85: Block diagram of an all-digital PLL.

7.3.1 Time-to-Digital Converter

Time-to-Digital Converter

Figure 86: Basic TDC implementation as a delay line with parallel capture flip-flops.

Time-to-Digital Converter

\[ \mathcal{L}\left\{f\right\} = 10 \cdot \log \left[ \frac{(2 \pi)^2}{12 f_\mathrm{ref}} \cdot \left( \frac{\Delta T_\mathrm{TDC}}{T_\mathrm{DCO}} \right)^2 \right] \]

Time-to-Digital Converter

TDC Resolution Example

To get an idea of the performance requirements for the TDC, we assume a DCO output frequency of 2.4 GHz (e.g., for a Bluetooth application) and a reference frequency of 40 MHz. If we aim for a TDC phase noise contribution of -100 dBc/Hz at the DCO output, we can rearrange the above equation to find the required TDC time resolution:

\[ \Delta T_\mathrm{TDC} = T_\mathrm{DCO} \cdot \sqrt{\frac{12 f_\mathrm{ref} \cdot 10^{\mathcal{L}\left\{f\right\}/10}}{(2 \pi)^2}} = \frac{1}{2.4 \times 10^9} \cdot \sqrt{\frac{12 \cdot 40 \times 10^6 \cdot 10^{-10}}{(2 \pi)^2}} \approx 15\,\text{ps} \]

This number is challenging but achievable with modern TDC designs in nm CMOS.

7.3.2 Digitally Controlled Oscillator

  1. An analog-controlled oscillator (e.g., a VCO) is combined with a digital-to-analog converter (DAC) to convert the digital tuning word into an analog control voltage. This approach is shown in Figure 87.

Digitally Controlled Oscillator

Figure 87: Digitally controlled oscillator using a DAC.

Digitally Controlled Oscillator

  1. A digitally-controlled oscillator uses a large number of small varactors or switched capacitor banks to adjust the oscillation frequency directly based on the digital tuning word. An example implementation of a switched varactor is shown in Figure 88, or a switched capacitor like shown in Figure 72 is used.

Digitally Controlled Oscillator

Figure 88: A switched differential varactor used for fine frequency control in a DCO.

7.4 Fractional-N PLL

Fractional-N PLL

\[ N = N_1, N_1, N_1, N_2 \implies \text{Average } N = \frac{61 + 61 + 61 + 62}{4} = 61.25 \]

\[ N = \frac{99 \cdot 61 + 1 \cdot 62}{100} = 61.01 \]

7.4.1 Delta-Sigma Modulator

Delta-Sigma Modulator

Figure 89: A first-order continuous-time delta-sigma modulator.

Delta-Sigma Modulator

\[ Y(s) = X(s) \cdot \frac{1}{1 + s T} = X(s) \cdot H_\mathrm{LP}(s) \]

\[ Y(s) = Q(s) \cdot \frac{s T}{1 + s T} = Q(s) \cdot H_\mathrm{HP}(s) \]

Delta-Sigma Modulator

Figure 90: A first-order digital delta-sigma modulator.

Delta-Sigma Modulator

\[ \frac{Y(z)}{X(z)} = \text{STF}(z) = z^{-1} \]

\[ \frac{Y(z)}{Q(z)} = \text{NTF}(z) = (1 - z^{-1}) \implies \text{NTF} = 1 - z^{-1}. \]

Delta-Sigma Modulator

\[ S_\mathrm{y}(f) = S_\mathrm{q}(f) |H(f)|^2 = S_\mathrm{q}(f) \cdot 2 \left| 1 - \cos(2 \pi f T_\mathrm{s}) \right| \implies H(f) = \sqrt{ 2 \left| 1 - \cos(2 \pi f T_\mathrm{s}) \right| }. \]

Delta-Sigma Modulator

Figure 91: NTF H(f) of a first-order delta-sigma modulator showing the high-pass noise shaping characteristic.

Delta-Sigma Modulator

Table 6: DSM output ranges and characteristics for different orders
DSM Order Output Range Noise Shaping
1 \(N, N+1\) 20 dB/decade
2 \(N-1 \ldots N+2\) 40 dB/decade
3 \(N-3 \ldots N+4\) 60 dB/decade

Delta-Sigma Modulator

Figure 92: Time series and the spectrum of a MASH 3rd-order modulator.

Delta-Sigma Modulator

Figure 93: Time series and the spectrum of a MASH 3rd-order modulator with added dither.

Delta-Sigma Modulator

Figure 94: Block diagram of a 3rd-order MASH 1-1-1 delta-sigma modulator with three cascaded first-order stages and digital noise cancellation logic including dither injection.

7.4.2 Fractional-N PLL Implementation

Fractional-N PLL Implementation

Figure 95: Block diagram of a fractional-N PLL.

Fractional-N PLL Implementation

  1. Use a Type-I PLL architecture with \(\Delta \varphi \neq 0\).
  2. Introduce a phase offset in a Type-II PLL to operate away from \(\Delta \varphi = 0\).

Fractional-N PLL Implementation

Figure 96: Charge pump with offset current for use in a fractional-N Type-II PLL.

Fractional-N PLL Implementation

Figure 97: Implementation of reference frequency doubler.

Fractional-N PLL Implementation

Figure 98: Block diagram of a fractional-N PLL including a retiming flip-flop to reduce the MMD-related jitter.

References

Best, Roland E. 1999. Phase-Locked Loops: Design, Simulation, and Applications. McGraw-Hill Education.
Brown, J. I. 1971. “A digital phase and frequency-sensitive detector.” Proceedings of the IEEE 59 (4): 717–18. https://doi.org/10.1109/proc.1971.8246.
Gardner, F. 1980. “Charge-Pump Phase-Lock Loops.” IEEE Transactions on Communications 28 (11): 1849–58. https://doi.org/10.1109/TCOM.1980.1094619.
Matsuya, Y., K. Uchimura, A. Iwata, and T. Kaneko. 1989. “A 17 bit oversampling D-A conversion technology using multistage noise shaping.” IEEE Journal of Solid-State Circuits 24 (4): 969–75. https://doi.org/10.1109/4.34079.
Schreier, Richard, Shanthi Pavan, and Gabor C. Temes. 2017. Understanding Delta-Sigma Data Converters. John Wiley & Sons, Ltd.
Staszewski, R. B., D. Leipold, K. Muhammad, and P. T. Balsara. 2003. “Digitally controlled oscillator (DCO)-based architecture for RF frequency synthesis in a deep-submicrometer CMOS Process.” IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing 50 (11): 815–28. https://doi.org/10.1109/tcsii.2003.819128.

References