---
title: Coupled-resonator filters
heading: External Q and coupling coefficients from the prototype, extracting them from simulation, and loss from unloaded Q
eyebrow: S6 · Lesson 24 · Coupled-resonator filters
xp: 50
---

::: hook
Lessons 21 to 23 turned prototypes into ladders of lumped elements, stubs and coupled lines. Most narrowband filters built today, from cavity filters in base stations to microstrip hairpins and dielectric-resonator filters, are designed a different way: as a chain of identical resonators with specified couplings between neighbors and to the two ports. The prototype fixes two kinds of number, an external Q at each end and a coupling coefficient between each pair, and the designer adjusts physical gaps and probes until simulation or measurement shows those numbers. The method works for any resonator type, which is its power.
:::

::: play
- The curves are the two resonant frequencies of a pair of identical resonators at $f_0$ coupled with coefficient k: $f_0/\sqrt{1 + k}$ and $f_0/\sqrt{1 - k}$.
- Uncoupled, both sit at $f_0$; coupling splits them, almost symmetrically for small k.
- Measuring the split gives k back: $k = \frac{f_2^2 - f_1^2}{f_2^2 + f_1^2}$. This is how coupling gaps are set in practice.
:::

```sim plot
view: graph
x: k = 0..0.2
y: f = 1.6..2.5 GHz
slider: c = 1.8..2.2 = 2 GHz
plot: c/sqrt(1 + k) | label: lower mode
plot: c/sqrt(1 - k) | label: upper mode
```

::: predict
## A 3-pole filter at 2 GHz with 5% bandwidth uses resonators with an unloaded Q of 500. About how much loss does it have at its center?

- [ ] About 0.01 dB
- [x] About 0.75 dB
- [ ] About 7 dB
- [ ] It depends only on the ripple

::: reveal
Cohn's estimate is $\Delta L \approx 4.343\sum g_i/(\text{FBW}\,Q_u)$: with the 0.5 dB Chebyshev values (sum 4.29), $4.343 \times 4.29/(0.05 \times 500) = 0.75$ dB. Halving the bandwidth doubles the loss, which is why narrow filters need cavities or dielectric resonators with Q in the thousands.
:::
:::

::: nameit
## Design numbers from the prototype

For a lowpass prototype $g_0, g_1, \dots, g_{N+1}$ and fractional bandwidth FBW, a bandpass filter of N synchronously tuned resonators needs

$$Q_{e1} = \frac{g_0g_1}{\text{FBW}}, \qquad Q_{eN} = \frac{g_Ng_{N+1}}{\text{FBW}}, \qquad M_{i,i+1} = \frac{\text{FBW}}{\sqrt{g_ig_{i+1}}}$$

the **external Q** of the first and last resonators (how strongly each is coupled to its port) and the **coupling coefficients** between neighbors. Chebyshev values come from $\beta = \ln\coth\frac{r}{17.37}$ (r the ripple in dB), $\gamma = \sinh\frac{\beta}{2N}$, $a_k = \sin\frac{(2k - 1)\pi}{2N}$, $b_k = \gamma^2 + \sin^2\frac{k\pi}{N}$: $g_1 = 2a_1/\gamma$, $g_k = \frac{4a_{k-1}a_k}{b_{k-1}g_{k-1}}$, and $g_{N+1} = 1$ for odd N.

## Extracting them from a structure

- **Coupling**: simulate or measure two resonators alone. Their response shows two peaks $f_1 < f_2$, and $k = \frac{f_2^2 - f_1^2}{f_2^2 + f_1^2}$. Move the resonators closer for more coupling.
- **External Q**: simulate one resonator with its port. The reflected phase changes by 180° through resonance, and the group delay of $S_{11}$ at resonance is $\tau = 4Q_e/\omega_0$, so $Q_e = \omega_0\tau/4$. Equivalently, $Q_e$ is $f_0$ over the band between the ±90° points of the reflected phase.

## Loss

With resonators of unloaded Q $Q_u$, the loss at the center rises by about

$$\Delta L \approx 4.343\frac{\sum_{i=1}^Ng_i}{\text{FBW}\,Q_u}\ \text{dB}$$

and the band edges round off. Cross couplings between non-adjacent resonators add transmission zeros for sharper skirts (quasi-elliptic filters).
:::

::: example
## Find the external Q and coupling coefficients of a 3-pole, 0.5 dB Chebyshev filter at 2 GHz with 5% bandwidth.

::: solution
1. **External Q.** With $g_0 = 1$, $g_1 = g_3 = 1.5963$, $g_2 = 1.0967$ and $g_4 = 1$:
   $$\begin{aligned} Q_{e1} = Q_{e3} &= 1.5963/0.05 \\ &= 31.9 \end{aligned}$$
2. **Coupling coefficients.**
   $$\begin{aligned} M_{12} = M_{23} &= \frac{0.05}{\sqrt{1.5963 \times 1.0967}} \\ &= 0.0378 \end{aligned}$$
3. **Tuning.** Every resonator is tuned to 2 GHz; the filter's shape lives entirely in these three numbers.

**Answer:** $Q_{e1} = Q_{e3}$ = 31.9 and $M_{12} = M_{23}$ = 0.0378.
:::
:::

::: example
## Two resonators of that filter are simulated alone and show peaks at 1.96 and 2.04 GHz. Is the gap right?

::: solution
1. **Coupling from the split peaks.**
   $$\begin{aligned} k &= \frac{2.04^2 - 1.96^2}{2.04^2 + 1.96^2} \\ &= \frac{0.32}{8.003} \\ &= 0.0400 \end{aligned}$$
2. **Compare.** That's about 6% more than the 0.0378 required.
3. **Adjust.** The resonators should be moved slightly apart and simulated again; coupling usually falls roughly exponentially with gap, so a small step converges quickly.

**Answer:** not quite: the coupling is 0.0400, about 6% too strong, so the resonators should be moved slightly apart.
:::
:::

::: example
## A resonator with its input probe shows an $S_{11}$ group delay of 10 ns at 2 GHz. What external Q does the probe give? What loss would the filter above have with cavities of $Q_u$ = 3000?

::: solution
1. **External Q from the group delay.**
   $$\begin{aligned} Q_e &= \omega_0\tau/4 \\ &= 2\pi \times 2 \times 10^9 \times 10^{-8}/4 \\ &= 31.4 \end{aligned}$$
   within 2% of the 31.9 needed: push the probe in very slightly less.
2. **Center loss with $Q_u$ = 3000.**
   $$\begin{aligned} \text{loss} &= \frac{4.343 \times 4.29}{0.05 \times 3000} \\ &= 0.12\ \text{dB} \end{aligned}$$
3. **Compare.** That's against 0.75 dB for microstrip resonators with $Q_u$ = 500.

**Answer:** the probe gives $Q_e$ = 31.4, and with $Q_u$ = 3000 cavities the filter's center loss is 0.12 dB.
:::
:::

::: check
kind: parts
given: F = 0.02 | 0.05 | 0.1

## A 3-pole 0.5 dB Chebyshev filter ($g_1 = g_3$ = 1.5963, $g_2$ = 1.0967, $g_0 = g_4$ = 1) has fractional bandwidth {F}.

::: part
answer: 1.5963/F
tolerance: 0.5%

### What external Q do its end resonators need?

::: misses
- [F/1.5963] It's $g_0g_1/\text{FBW}$: narrower bands need higher Q.
- [any] $g_0g_1/\text{FBW}$.
:::
:::

::: part
answer: F/sqrt(1.5963*1.0967)
tolerance: 0.5%

### What coupling coefficient between neighbors?

::: misses
- [any] $\text{FBW}/\sqrt{g_1g_2}$.
:::
:::
:::

::: check
kind: parts
given: F = 0.01 | 0.03 | 0.08; f = 0.9 | 2.6

## A 3-pole Butterworth filter ($g_1 = g_3$ = 1, $g_2$ = 2) at {f} GHz has fractional bandwidth {F}.

::: part
answer: 1/F
tolerance: 0.5%

### What external Q do its end resonators need?

::: misses
- [any] $g_0g_1/\text{FBW}$.
:::
:::

::: part
answer: F/sqrt(2)
tolerance: 0.5%

### What coupling coefficient between neighbors?

::: misses
- [F/2] Divide by $\sqrt{g_1g_2} = \sqrt2$.
- [any] $\text{FBW}/\sqrt{g_1g_2}$.
:::
:::
:::

::: check
kind: parts
given: a = 1.9 | 1.95 | 3.4; d = 0.05 | 0.1 | 0.2

## Two coupled resonators, simulated alone, show peaks at {a} GHz and {a} + {d} GHz.

::: part
answer: ((a + d)^2 - a^2)/((a + d)^2 + a^2)
tolerance: 0.5%

### What coupling coefficient does that show?

::: misses
- [any] $(f_2^2 - f_1^2)/(f_2^2 + f_1^2)$.
:::
:::

::: part
answer: sqrt(2*a^2*(a + d)^2/((a + d)^2 + a^2))
unit: GHz
tolerance: 0.5%

### At what frequency is each resonator tuned on its own?

::: misses
- [any] From $f_1^2 = f_0^2/(1 + k)$ and $f_2^2 = f_0^2/(1 - k)$: $f_0^2 = 2f_1^2f_2^2/(f_1^2 + f_2^2)$.
:::
:::
:::
::: check
kind: parts
given: f = 0.9 | 2 | 5; t = 2 | 10 | 40; Q = 10 | 30

## A resonator coupled to a port shows an $S_{11}$ group delay of {t} ns at resonance, {f} GHz; the filter needs $Q_e$ = {Q}.

::: part
answer: 2*pi*f*1e9*t*1e-9/4
tolerance: 0.5%

### What external Q does the coupling give?

::: misses
- [2*pi*f*1e9*t*1e-9] The delay at resonance is $4Q_e/\omega_0$.
- [any] $\omega_0\tau/4$.
:::
:::

::: part
answer: 4*Q/(2*pi*f*1e9)*1e9
unit: ns
tolerance: 0.5%

### What delay would show the wanted external Q?

::: misses
- [any] $4Q_e/\omega_0$.
:::
:::
:::

::: check
kind: parts
given: Q = 200 | 1000 | 5000; F = 0.01 | 0.05; s = 4.2893 | 6.2

## A filter's prototype elements sum to {s}, its fractional bandwidth is {F} and its resonators have $Q_u$ = {Q}.

::: part
answer: 4.343*s/(F*Q)
unit: dB
tolerance: 0.5%

### What center-frequency loss does Cohn's estimate give?

::: misses
- [s/(F*Q)] Multiply by 4.343 for decibels.
- [any] $4.343\sum g_i/(\text{FBW}\,Q_u)$.
:::
:::
:::

::: check
kind: choice

## Why does a narrowband filter lose more in its passband than a wideband one built from the same resonators?

- [ ] Narrowband filters have more resonators
- [x] A narrow band means the signal spends longer in the resonators (higher loaded Q, longer group delay), so each resonator's loss is felt more: the loss scales as 1/(FBW · Qu)
- [ ] Narrowband filters reflect more of the signal
- [ ] Coupling gaps add resistance

::: misses
- [1] The count can be the same; the scaling is with bandwidth.
- [3] A well-designed filter is matched in its passband at either bandwidth.
- [4] Gaps add reactance, not loss.
:::
:::

::: check
kind: derivation
vars: a = 0.5..2.5, b = 0.5..2.5, F = 0.005..0.2

## A filter's first two prototype elements are a and b ($g_0$ = 1), with fractional bandwidth F.

::: step
answer: a/F

### What is $Q_{e1}$?
:::

::: step
answer: F/sqrt(a*b)

### What is $M_{12}$?
:::

::: step
answer: (F/sqrt(a*b))*(a/F)

### What is $M_{12}Q_{e1}$, a measure independent of bandwidth?
:::

::: right
Right. $M_{12}Q_{e1} = \sqrt{g_1/g_2}$: once the prototype is chosen, the products of coupling and Q are fixed, and the bandwidth only scales them.
:::
:::

::: check
kind: python

## Write `cheb_g(N, ripple_db)`: the Chebyshev prototype values [g1, …, gN] and the load value g(N+1), and `couplings(g, fbw)`: return (Qe1, [M12, M23, …]) for g0 = 1.

```python starter
def cheb_g(N, ripple_db):
    return ([1.0] * N, 1.0)

def couplings(g, fbw):
    return (1.0, [])
```

```python solution
import math

def cheb_g(N, ripple_db):
    beta = math.log(1 / math.tanh(ripple_db / 17.37))
    gam = math.sinh(beta / (2 * N))
    a = [math.sin((2 * k - 1) * math.pi / (2 * N)) for k in range(1, N + 1)]
    b = [gam ** 2 + math.sin(k * math.pi / N) ** 2 for k in range(1, N + 1)]
    g = [2 * a[0] / gam]
    for k in range(2, N + 1):
        g.append(4 * a[k - 2] * a[k - 1] / (b[k - 2] * g[-1]))
    gl = 1.0 if N % 2 else 1 / math.tanh(beta / 4) ** 2
    return (g, gl)

def couplings(g, fbw):
    return (g[0] / fbw, [fbw / math.sqrt(g[i] * g[i + 1]) for i in range(len(g) - 1)])
```

```python tests
g, gl = cheb_g(3, 0.5)
assert all(abs(x - y) < 1e-3 for x, y in zip(g, [1.5963, 1.0967, 1.5963])) and gl == 1.0, "0.5 dB, N = 3: 1.5963, 1.0967, 1.5963."
q, m = couplings(g, 0.05)
assert abs(q - 31.93) < 0.01 and abs(m[0] - 0.0378) < 1e-4, "The worked example: 31.9 and 0.0378."
g4, gl4 = cheb_g(4, 0.5)
assert abs(g4[0] - 1.6703) < 1e-3 and abs(gl4 - 1.9841) < 1e-3, "Even N ends in a mismatched load: 1.9841 for 0.5 dB."
```

::: right
Right. With these numbers, any resonator technology can be turned into the filter: set each gap and probe until extraction shows them.
:::
:::

::: explain
## Why is the coupling-coefficient method useful for designing filters from any kind of resonator?

::: model
A narrowband filter's response depends only on a few numbers: how strongly the end resonators couple to the ports, how strongly each resonator couples to its neighbors, and that all are tuned to the center frequency. The prototype gives those numbers directly, independent of what the resonators are made of. For any physical structure, two quick simulations or measurements, the split peaks of a coupled pair and the reflected group delay of an end resonator with its port, show what a given gap or probe produces. So the same procedure designs microstrip hairpins, combline cavities and dielectric-resonator filters alike, without deriving a new equivalent circuit for each.
:::
:::

::: practice
::: check
given: F = 0.04 | 0.12; g = 1.0316 | 1.5963
answer: g/F
tolerance: 0.5%

## External Q for $g_1$ = {g}, FBW = {F}?

::: misses
- [any] $g_0g_1/\text{FBW}$.
:::
:::

::: check
given: a = 1.96 | 2.95; d = 0.04 | 0.1
answer: ((a + d)^2 - a^2)/((a + d)^2 + a^2)
tolerance: 0.5%

## Coupling from peaks at {a} and {a} + {d} GHz?

::: misses
- [any] $(f_2^2 - f_1^2)/(f_2^2 + f_1^2)$.
:::
:::

::: check
given: f = 1.5 | 4; t = 5 | 20
answer: 2*pi*f*1e9*t*1e-9/4
tolerance: 0.5%

## External Q from a {t} ns delay at {f} GHz?

::: misses
- [any] $\omega_0\tau/4$.
:::
:::
:::
