Phase-Locked Loop (PLL) Loop Filter Bandwidth Calculator

📁 Engineering🔒 100% Free & Private⚡ Instant Output

Design Type-2 charge-pump PLL passive loop filters (2nd and 3rd order), calculating resistor and capacitor component values ($R_2, C_1, C_2, R_3, C_3$), open-loop crossover frequency, phase margin, lock time, and Bode frequency response.

MHz
Output carrier frequency (e.g., 2.4 GHz = 2400 MHz)
MHz
Phase detector comparison frequency (PFD rate)
MHz/V
Slope of VCO tuning curve ($df / dV_{tune}$)
mA
Nominal charge pump current magnitude
kHz
Loop crossover frequency (recommended ≤ $f_{ref} / 10$)
deg
Stability margin (typically 45° to 55°)
Divider Ratio ($N$)
--
Stability: --
Series Resistor ($R_2$)
-- Ω
Zero-forming resistor
Series Capacitor ($C_2$)
-- nF
Main integrating capacitor
Parallel Capacitor ($C_1$)
-- pF
High-frequency ripple suppression
3rd Order Post-Filter ($R_3, C_3$)
--
Spur suppression pole (optional)
Estimated Lock Time ($T_{lock}$)
-- µs
Damping factor: --

Open-Loop Bode Plot (Magnitude & Phase)

Transient Step Response & Lock Acquisition

Quick Overview & Direct Answer

Phase-Locked Loop (PLL) Loop Filter Bandwidth Calculator - Free RF Tool: Free Phase-Locked Loop (PLL) Loop Filter Bandwidth Calculator tool: calculate charge-pump phase-locked loop (PLL) loop filter components (R2, C1, C2, R3.

Primary Use Structural calculations, fluid dynamics, electrical engineering formulas
Input Formats Engineering variables, voltage, current, resistance, stress limits
Output Format Calculated engineering values, tolerance checks
Processing Mode 100% Client-Side In-Browser Math Engine
Access Tier Free, unlimited, no sign-up needed

Comprehensive Phase-Locked Loop (PLL) Loop Filter Theory Guide

The Charge-Pump Phase-Locked Loop (CP-PLL) is an indispensable feedback control subsystem in modern electronics, providing low-jitter frequency synthesis, local oscillator generation for radio transceivers, clock multiplication for microprocessors, and clock-and-data recovery (CDR) in high-speed serial links. Designing the passive loop filter involves balancing contradictory requirements: broad loop bandwidth accelerates transient frequency locking and suppresses slow VCO phase noise, but amplifies reference spurs and degrades high-frequency noise filtering.

1. Mathematical Architecture of the Charge-Pump PLL

A classical Type-2 integer-N PLL synthesizer incorporates five fundamental blocks connected in a closed negative feedback loop:

  • Phase-Frequency Detector (PFD): Compares the reference clock ($f_{ref}$) and feedback divider clock ($f_{fb}$), producing tri-state Up and Down pulses proportional to the phase error $theta_e = theta_{ref} - theta_{fb}$.
  • Charge Pump (CP): Converts digital Up/Down pulses into bidirectional current pulses of magnitude $pm I_{cp}$. The average phase detector transfer gain is:
    $$K_{pd} = frac{I_{cp}}{2pi}quad [text{A/rad}]$$
  • Passive Loop Filter ($Z_f(s)$): Integrates charge-pump current pulses into an analog control voltage $V_{tune}(s) = I_{cp}(s) cdot Z_f(s)$.
  • Voltage-Controlled Oscillator (VCO): Produces an output RF signal whose angular frequency varies linearly with control voltage: $omega_{out} = omega_0 + K_{vco} V_{tune}$. Because phase is the time integral of frequency ($theta(t) = int omega(t) dt$), the VCO acts as an ideal integrator in phase space:
    $$H_{vco}(s) = frac{K_{vco}}{s}quad [text{rad}/(text{V}cdottext{s})]$$
  • Feedback Frequency Divider ($N$): Scales output frequency down to the comparison rate: $f_{ref} = f_{out} / N$. In phase space, it scales phase by $1/N$:
    $$H_{div}(s) = frac{1}{N}$$

2. Passive 2nd-Order and 3rd-Order Filter Transfer Functions

A purely capacitive filter ($1/sC$) yields an open-loop system with two poles at $s = 0$ (one from the filter, one from the VCO), resulting in a phase lag of $-180^circ$ and complete instability. To establish stability, a zero must be inserted.

A. 2nd-Order Passive Loop Filter Impedance

The standard 2nd-order topology connects a series network of $R_2$ and $C_2$ in parallel with a smaller capacitor $C_1$:

$$Z_f(s) = frac{1}{s (C_1 + C_2)} cdot frac{1 + s R_2 C_2}{1 + s R_2 frac{C_1 C_2}{C_1 + C_2}} = frac{1 + s tau_z}{s C_{tot} (1 + s tau_p)}$$

where the time constants are:

  • Zero Time Constant: $tau_z = R_2 C_2$ introduces a phase lead zero at $omega_z = 1 / tau_z$.
  • High-Frequency Pole Time Constant: $tau_p = R_2 frac{C_1 C_2}{C_1 + C_2} approx R_2 C_1$ (since $C_1 ll C_2$) places a pole at $omega_p = 1 / tau_p$ to suppress discrete charge-pump switching ripple.
  • Total Capacitance: $C_{tot} = C_1 + C_2$.

B. Open-Loop Gain and Phase Margin Formulation

The open-loop transfer function of the PLL is:

$$G_{ol}(s) = K_{pd} cdot Z_f(s) cdot frac{K_{vco}}{s} cdot frac{1}{N} = frac{I_{cp} K_{vco}}{2pi N s^2 (C_1 + C_2)} cdot frac{1 + s tau_z}{1 + s tau_p}$$

The phase of $G_{ol}(jomega)$ is given by:

$$angle G_{ol}(jomega) = -180^circ + arctan(omega tau_z) - arctan(omega tau_p)$$ $$text{Phase Margin } phi_m = arctan(omega_c tau_z) - arctan(omega_c tau_p)$$

To maximize phase margin at the crossover frequency $omega_c = 2pi f_c$, $omega_c$ must be placed at the geometric mean of the zero and pole:

$$omega_c = sqrt{omega_z cdot omega_p} = frac{1}{sqrt{tau_z tau_p}}$$

Using the trigonometric identity $tan(phi_m) = frac{omega_c tau_z - omega_c tau_p}{1 + omega_c^2 tau_z tau_p}$, we derive:

$$tau_z = frac{tanleft(frac{phi_m + 90^circ}{2}right)}{omega_c} = frac{1 + sin(phi_m)}{omega_c cos(phi_m)}$$ $$tau_p = frac{1}{omega_c^2 tau_z} = frac{1 - sin(phi_m)}{omega_c cos(phi_m)}$$

3. Component Sizing Synthesis Equations

Equating open-loop magnitude $|G_{ol}(jomega_c)| = 1$ at crossover yields:

$$C_1 = frac{tau_p}{tau_z} cdot frac{I_{cp} K_{vco}}{2pi N omega_c^2} cdot sqrt{frac{1 + (omega_c tau_z)^2}{1 + (omega_c tau_p)^2}}$$ $$C_2 = C_1 left( frac{tau_z}{tau_p} - 1 right)$$ $$R_2 = frac{tau_z}{C_2}$$

C. Optional 3rd-Order Filter Pole ($R_3, C_3$)

To further attenuate reference spurs at $f_{ref}$ by an additional 10 to 20 dB, an RC low-pass pole ($omega_{p3} = 1 / (R_3 C_3)$) is appended before the VCO tuning port. To avoid degrading loop phase margin by more than $2^circ$ to $5^circ$, the pole is typically positioned at:

$$omega_{p3} ge 3 cdot omega_c dots 5 cdot omega_c$$ $$C_3 le frac{C_1}{10}, quad R_3 = frac{1}{omega_{p3} C_3}$$

4. Stability, Gardner Limit, and Lock Time Estimation

Because the PFD operates as a sampled-data discrete phase detector at sampling rate $f_{ref}$, continuous-time Laplace approximation holds only when the loop bandwidth satisfies the **Gardner stability criterion**:

$$f_c le frac{f_{ref}}{10}$$

Exceeding $f_{ref}/10$ causes high-frequency sampled-data phase lag, leading to parametric instability and chaotic cycle slipping.

Transient Lock Time ($T_{lock}$)

When switching across a frequency step $Delta f$, the synthesizer experiences two operational phases:

  1. Frequency Pull-In (Non-linear cycle slipping): If the frequency step exceeds the pull-in range, the PFD slips cycles. The pull-in time scales inversely with loop bandwidth squared.
  2. Phase Acquisition (Linear settling): Once within the lock range, the frequency settles exponentially according to natural frequency $omega_n = sqrt{frac{I_{cp} K_{vco}}{2pi N C_2}}$ and damping factor $zeta = frac{R_2 C_2 omega_n}{2}$:
    $$T_{settle} approx frac{-ln(text{tolerance})}{zeta omega_n} approx frac{4 dots 5}{zeta omega_n} approx frac{4}{omega_c}$$

5. Step-by-Step Worked Synthesizer Design Example

Synthesize a local oscillator for an IEEE 802.15.4 / Bluetooth LE transceiver:

  • Carrier Frequency $f_{out} = 2440text{ MHz}$
  • PFD Reference Frequency $f_{ref} = 20text{ MHz}$
  • Divider Ratio $N = 2440 / 20 = 122$
  • VCO Tuning Sensitivity $K_{vco} = 40text{ MHz/V} = 40 times 10^6 times 2pitext{ rad}/(text{V}cdottext{s}) approx 2.513 times 10^8text{ rad}/(text{V}cdottext{s})$
  • Charge Pump Current $I_{cp} = 2.0text{ mA} = 2.0 times 10^{-3}text{ A}$
  • Target Bandwidth $f_c = 100text{ kHz} implies omega_c = 2pi times 10^5 approx 6.283 times 10^5text{ rad/s}$ ($f_c / f_{ref} = 0.005 ll 0.1$, unconditionally stable)
  • Target Phase Margin $phi_m = 50^circ$

Step 1: Compute Zero and Pole Time Constants

$$tau_z = frac{1 + sin(50^circ)}{omega_c cos(50^circ)} = frac{1 + 0.7660}{628318 cdot 0.6428} = frac{1.7660}{403883} approx 4.373 times 10^{-6}text{ s} = 4.373text{ µs}$$ $$tau_p = frac{1}{omega_c^2 tau_z} = frac{1}{(628318)^2 cdot 4.373 times 10^{-6}} approx 5.793 times 10^{-7}text{ s} = 0.579text{ µs}$$

Step 2: Calculate Loop Filter Capacitors and Resistors

$$frac{tau_p}{tau_z} = frac{0.5793}{4.373} approx 0.1325$$ $$frac{sqrt{1 + (omega_c tau_z)^2}}{sqrt{1 + (omega_c tau_p)^2}} = frac{sqrt{1 + (2.748)^2}}{sqrt{1 + (0.364)^2}} = frac{2.924}{1.064} approx 2.748$$ $$C_1 = 0.1325 cdot frac{2 times 10^{-3} cdot 2.513 times 10^8}{2pi cdot 122 cdot (628318)^2} cdot 2.748 approx 384text{ pF}$$ $$C_2 = 384text{ pF} cdot left(frac{4.373}{0.5793} - 1right) = 384text{ pF} cdot 6.549 approx 2.51text{ nF}$$ $$R_2 = frac{4.373 times 10^{-6}}{2.51 times 10^{-9}} approx 1,742 Omega approx 1.74text{ k}Omega$$

Step 3: Sizing 3rd-Order Attenuation Filter

$$C_3 approx frac{C_1}{10} approx 39text{ pF}, quad f_{p3} = 4 cdot f_c = 400text{ kHz}$$ $$R_3 = frac{1}{2pi cdot 400 times 10^3 cdot 39 times 10^{-12}} approx 10.2text{ k}Omega$$

Step 4: Lock Time Verification

$$T_{lock} approx frac{4}{2pi cdot 100text{ kHz}} approx 6.37text{ µs}$$

The frequency synthesizes in under $7text{ µs}$ with phase margin exceeding $50^circ$, ensuring fast channel hopping across the 2.4 GHz ISM band.

6. Phase Margin vs Synthesizer Performance Trade-Off Matrix

Phase Margin ($phi_m$) Damping Factor ($zeta$) Transient Settling Behavior Phase Noise Peaking Suitability
< 35° < 0.40 Heavy ringing, risk of oscillation High peaking (> 6 dB noise penalty) Unacceptable for production
45° – 50° 0.60 – 0.70 Fastest lock time, slight overshoot Moderate peaking (< 2 dB) Optimal for fast frequency hopping
55° – 60° 0.80 – 1.00 Critically damped, negligible overshoot Zero peaking, flat transfer response Optimal for low phase jitter / CDR
> 70° > 1.30 Sluggish, overdamped settling No peaking, but larger capacitor sizes Rarely used (unwieldy capacitor area)

Frequently Asked Questions

The loop filter converts current pulses from the phase-frequency detector (PFD) and charge pump into a smooth control voltage for the Voltage-Controlled Oscillator (VCO). It establishes loop stability, bandwidth, reference spur attenuation, and lock acquisition dynamics.

A standard rule of thumb is to set the PLL loop bandwidth (fc) between 1/10th and 1/20th of the reference frequency (fref). This avoids continuous-time approximation breakdown and ensures effective suppression of reference spurs and charge-pump switching ripple.

C1 provides the primary low-frequency pole at origin for zero steady-state phase error. R2 introduces a stabilizing zero (wz = 1/(R2*C2)) to provide positive phase lead at crossover. C2 provides high-frequency pole rolloff (wp = (C1+C2)/(R2*C1*C2)) to suppress discrete switching transients.

A phase margin around 48 to 55 degrees offers the optimal compromise between transient lock time and phase noise peaking. Lower phase margin causes severe underdamped ringing and jitter peaking, while higher phase margin slows settling time and increases component capacitor values.

For a second-order loop approximation with natural frequency wn and damping factor zeta, the settling time to within a tolerance band delta_f is approximately T_lock ≈ -ln(tol) / (zeta * wn) + (f_jump / (2 * pi * fref * Icp * Kvco)) for cycle-slipping pull-in regimes.