---
title: Filter design by the insertion-loss method
heading: Specifying a filter by its power loss ratio, Butterworth and Chebyshev prototypes, choosing the order, and scaling to real frequencies, impedances and bandpass responses
eyebrow: S6 · Lesson 21 · Filter design by the insertion-loss method
xp: 50
---

::: hook
C4 designed filters from op amps and lumped parts at audio frequencies. Microwave filters start from the same mathematics but end somewhere else: as ladders of inductors and capacitors that will later become lengths of line, stubs and coupled resonators. The insertion-loss method works backward from the response. Choose how the loss should vary with frequency, maximally flat or with equal ripple, and a table of normalized element values falls out. Scaling those values to the right impedance and frequency, and transforming them to highpass, bandpass or bandstop, gives a complete design in a few lines of arithmetic.
:::

::: play
- Insertion loss against normalized frequency $\omega/\omega_c$ for Butterworth (solid) and Chebyshev (dashed) lowpass prototypes of the same order N.
- The Butterworth response is maximally flat and 3 dB down at cutoff; the Chebyshev ripples within the chosen ripple across the passband and falls faster beyond it.
- With N = 5 and 0.5 dB ripple, at $1.5\omega_c$ the Butterworth gives 17.7 dB and the Chebyshev 26.7 dB. At N = 3 they're nearly equal there (10.9 and 10.4 dB), but the Chebyshev pulls ahead with every added element and further out in frequency.
:::
:::

```sim plot
view: graph
x: w = 0..3
y: IL = 0..60 dB
slider: N = 1..9 = 5 step 1
slider: r = 0.01..3 = 0.5 dB
plot: 10*log(1 + w^(2*N)) | samples: 600 | label: Butterworth
plot: 10*log(1 + (10^(r/10) - 1)*(step(1 - w)*cos(N*acos((w + 1 - abs(w - 1))/2)) + (1 - step(1 - w))*((w + sqrt(abs(w^2 - 1)))^N + (w + sqrt(abs(w^2 - 1)))^(-N))/2)^2) | samples: 600 | dashed | color: ch2 | label: Chebyshev
plot: 3.01 | dashed | color: ch3 | label: 3 dB
```

::: predict
## A lowpass filter must give at least 15 dB of loss at 1.5 times its cutoff. Which needs fewer elements, a Butterworth or a 0.5 dB Chebyshev design?

- [ ] Butterworth, because it's flatter
- [x] Chebyshev: 4 elements against the Butterworth's 5
- [ ] They need the same number
- [ ] Neither can meet it

::: reveal
The Butterworth order must satisfy $1 + 1.5^{2N} \ge 10^{1.5}$, so N ≥ 4.22: five elements. The Chebyshev's equal ripple buys a steeper skirt, needing N ≥ 3.59: four elements. The price is half a decibel of ripple in the passband and a less even group delay.
:::
:::

::: nameit
## Specifying the response

The **power loss ratio** $P_{LR} = \frac{P_\text{available}}{P_\text{load}} = \frac{1}{1 - |\Gamma(\omega)|^2}$, and the insertion loss is $10\log P_{LR}$.

- **Butterworth** (maximally flat): $P_{LR} = 1 + (\omega/\omega_c)^{2N}$. Order for a loss A dB at $\omega_s$: $N \ge \frac{\log(10^{A/10} - 1)}{2\log(\omega_s/\omega_c)}$.
- **Chebyshev** (equal ripple, $r$ dB): $P_{LR} = 1 + \varepsilon^2T_N^2(\omega/\omega_c)$ with $\varepsilon^2 = 10^{r/10} - 1$, where $T_N(x) = \cos(N\arccos x)$ inside the passband and $\cosh(N\,\text{arccosh}\,x)$ outside.
- Elliptic filters ripple in both bands for the steepest cutoff; Bessel (linear-phase) filters trade selectivity for flat group delay.

## Prototype values

A lowpass prototype for 1 Ω and $\omega_c$ = 1 rad/s is a ladder of elements $g_1, \dots, g_N$ (alternating shunt C and series L, or the dual), ending in $g_{N+1}$.

- Butterworth: $g_k = 2\sin\frac{(2k - 1)\pi}{2N}$, $g_{N+1} = 1$. N = 3: 1, 2, 1; N = 5: 0.618, 1.618, 2, 1.618, 0.618.
- Chebyshev 0.5 dB, N = 3: 1.5963, 1.0967, 1.5963, then 1.

## Scaling and transformations

For source resistance $R_0$, cutoff $\omega_c$:

- lowpass: $L = \frac{R_0g}{\omega_c}$, $C = \frac{g}{R_0\omega_c}$;
- bandpass, center $\omega_0$, fractional bandwidth $\Delta$: each series L becomes a series LC with $L' = \frac{LR_0}{\Delta\omega_0}$, $C' = \frac{\Delta}{\omega_0LR_0}$; each shunt C becomes a parallel LC with $L' = \frac{\Delta R_0}{\omega_0C}$, $C' = \frac{C}{\Delta\omega_0R_0}$ (with L and C the prototype values $g_k$).
:::

::: example
## Design a maximally flat lowpass filter in 50 Ω with a 2 GHz cutoff and at least 15 dB loss at 3 GHz.

::: solution
1. **Order.**
   $$\begin{aligned} N &\ge \frac{\log(10^{1.5} - 1)}{2\log 1.5} \\ &= 4.22 \end{aligned}$$
   so N = 5, with g = 0.618, 1.618, 2, 1.618, 0.618.
2. **First two elements.** Starting with a shunt capacitor:
   $$\begin{aligned} C_1 &= \frac{0.618}{50 \times 2\pi \times 2 \times 10^9} \\ &= 0.984\ \text{pF} \\ L_2 &= \frac{1.618 \times 50}{2\pi \times 2 \times 10^9} \\ &= 6.44\ \text{nH} \end{aligned}$$
3. **The other three.** The same way, $C_3$ = 3.18 pF, $L_4$ = 6.44 nH and $C_5$ = 0.984 pF.
4. **Check at 3 GHz.** The filter gives 17.7 dB there.

**Answer:** N = 5, with $C_1$ = 0.984 pF, $L_2$ = 6.44 nH, $C_3$ = 3.18 pF, $L_4$ = 6.44 nH and $C_5$ = 0.984 pF, giving 17.7 dB at 3 GHz.
:::
:::

::: example
## Turn the 0.5 dB, N = 3 Chebyshev prototype into a bandpass filter at 1 GHz with 10% bandwidth in 50 Ω.

::: solution
1. **Series resonators.** With $g_1 = g_3$ = 1.5963 as series inductors:
   $$\begin{aligned} L' &= \frac{1.5963 \times 50}{0.1 \times 2\pi \times 10^9} \\ &= 127.0\ \text{nH} \\ C' &= \frac{0.1}{2\pi \times 10^9 \times 1.5963 \times 50} \\ &= 0.199\ \text{pF} \end{aligned}$$
2. **Shunt resonator.** With $g_2$ = 1.0967 as a shunt capacitor:
   $$\begin{aligned} L' &= \frac{0.1 \times 50}{2\pi \times 10^9 \times 1.0967} \\ &= 0.726\ \text{nH} \\ C' &= 34.9\ \text{pF} \end{aligned}$$
3. **Why resonators.** The widely spread values, 127 nH beside 0.7 nH, are why narrowband microwave filters use resonators and inverters instead of lumped ladders (lesson 23).

**Answer:** each end becomes a series resonator of 127.0 nH and 0.199 pF, and the middle a shunt resonator of 0.726 nH and 34.9 pF.
:::
:::

::: example
## A lowpass filter must pass up to 1 GHz and give at least 30 dB of loss at 2 GHz. What order does a Butterworth need, and a 0.5 dB Chebyshev?

::: solution
1. **Butterworth order.**
   $$\begin{aligned} N &\ge \frac{\log_{10}(999)}{2\log_{10}2} \\ &= 4.98 \end{aligned}$$
   so N = 5 (30.1 dB at 2 GHz).
2. **Chebyshev ripple factor.**
   $$\begin{aligned} \varepsilon^2 &= 10^{0.05} - 1 \\ &= 0.122 \end{aligned}$$
3. **Chebyshev target.** The loss reaches 30 dB when
   $$\begin{aligned} &\cosh(N\,\text{arccosh}\,2) \\ &\ge \sqrt{999/0.122} \\ &= 90.5 \end{aligned}$$
4. **Chebyshev order.**
   $$\begin{aligned} N &\ge 5.20/1.317 \\ &= 3.95 \end{aligned}$$
   so N = 4, giving 30.6 dB.
5. **What the ripple buys.** Accepting half a decibel of ripple saves an element, which in a microwave filter means one less section to tune and less loss.

**Answer:** the Butterworth needs N = 5 and the 0.5 dB Chebyshev N = 4.
:::
:::

::: check
given: N = 3 | 5 | 7; k = 2 | 3
answer: 2*sin((2*k - 1)*pi/(2*N))
tolerance: 0.5%

## What's element $g_{\given{k}}$ of an order-{N} Butterworth lowpass prototype?

::: right
Right. $2\sin\frac{(2k - 1)\pi}{2N}$ = {answer}.
:::

::: misses
- [2*sin(k*pi/(2*N))] Use (2k − 1) in the numerator.
- [any] Not yet. $g_k = 2\sin((2k - 1)\pi/2N)$.
:::
:::

::: check
given: A = 20 | 30 | 40; w = 1.5 | 2 | 3
answer: ceil(log(10^(A/10) - 1)/(2*log(w)))
tolerance: 0

## A Butterworth lowpass filter must give at least {A} dB of loss at {w} times its cutoff. What's the smallest order that does?

::: right
Right. N ≥ $\frac{\log(10^{A/10} - 1)}{2\log(\omega_s/\omega_c)}$, rounded up: {answer}.
:::

::: misses
- [floor(log(10^(A/10) - 1)/(2*log(w)))] Round up: a lower order falls short.
- [any] Not yet. Solve $1 + (\omega_s/\omega_c)^{2N} \ge 10^{A/10}$ for N.
:::
:::

::: check
given: N = 3 | 5 | 7; w = 1.3 | 1.8 | 2.5
answer: 10*log(1 + w^(2*N))
unit: dB
tolerance: 0.05

## What's the insertion loss of an order-{N} Butterworth filter at {w} times its cutoff?

::: right
Right. $10\log(1 + \omega^{2N})$ = {answer} dB.
:::

::: misses
- [10*log(1 + w^N)] The exponent is 2N.
- [20*log(1 + w^(2*N))] $P_{LR}$ is a power ratio: 10 log.
- [any] Not yet. $10\log(1 + (\omega/\omega_c)^{2N})$.
:::
:::

::: check
given: g = 0.618 | 1.5963 | 2; R = 50 | 75; f = 0.5 | 2 | 6
answer: g/(R*2*pi*f*1e9)*1e12
unit: pF
tolerance: 0.5%

## A prototype element g = {g} is a shunt capacitor. Scaled to {R} Ω and a {f} GHz cutoff, what capacitance is it?

::: right
Right. $C = g/(R_0\omega_c)$ = {answer} pF.
:::

::: misses
- [g*R/(2*pi*f*1e9)*1e12] That's the inductor's formula; capacitors divide by $R_0$.
- [g/(R*f*1e9)*1e12] Use $\omega_c = 2\pi f_c$.
- [any] Not yet. $C = g/(R_0\omega_c)$.
:::
:::

::: check
given: g = 1.0967 | 1.618 | 1.7058; R = 50; f = 0.9 | 2.4; D = 0.05 | 0.1 | 0.2
answer: g*R/(D*2*pi*f*1e9)*1e9
unit: nH
tolerance: 0.5%

## In a bandpass filter at {f} GHz with fractional bandwidth {D} in {R} Ω, a prototype series inductor g = {g} becomes a series resonator. What's its inductance?

::: right
Right. $L' = gR_0/(\Delta\omega_0)$ = {answer} nH.
:::

::: misses
- [g*R/(2*pi*f*1e9)*1e9] That's the lowpass value; a bandpass resonator's inductance is larger by 1/Δ.
- [any] Not yet. $L' = LR_0/(\Delta\omega_0)$.
:::
:::

::: check
given: r = 0.1 | 0.5 | 1; N = 3 | 5; w = 1.2 | 1.5 | 2
answer: 10*log(1 + (10^(r/10) - 1)*(((w + sqrt(w^2 - 1))^N + (w + sqrt(w^2 - 1))^(-N))/2)^2)
unit: dB
tolerance: 0.05

## What's the insertion loss of an order-{N}, {r} dB Chebyshev lowpass at {w} times its cutoff?

::: right
Right. $10\log(1 + \varepsilon^2\cosh^2(N\,\text{arccosh}\,\omega))$ = {answer} dB.
:::

::: misses
- [10*log(1 + w^(2*N))] That's the Butterworth response.
- [any] Not yet. $\varepsilon^2 = 10^{r/10} - 1$, $T_N = \cosh(N\,\text{arccosh}\,\omega)$ outside the passband.
:::
:::

::: check
kind: parts
given: r = 0.1 | 0.5 | 3; A = 30 | 40 | 60; w = 1.5 | 2 | 3

## A Chebyshev lowpass with {r} dB ripple must give at least {A} dB at {w} times its cutoff.

::: part
answer: 10^(r/10) - 1
tolerance: 0.5%

### What is ε²?

::: misses
- [10^(r/20) - 1] ε² comes from the power ratio: divide by 10.
- [any] $10^{r/10} - 1$.
:::
:::

::: part
answer: ceil(ln(sqrt((10^(A/10) - 1)/(10^(r/10) - 1)) + sqrt((10^(A/10) - 1)/(10^(r/10) - 1) - 1))/ln(w + sqrt(w^2 - 1)) - 1e-9)
unit: elements
tolerance: 0

### What is the smallest order that meets it?

::: misses
- [any] Smallest N with $\cosh(N\,\text{arccosh}\,w) \ge \sqrt{(10^{A/10} - 1)/\varepsilon^2}$.
:::
:::
:::

::: check
kind: derivation
vars: N = 1..9, w = 1.1..5, r = 0.01..3

## A lowpass of order N is evaluated at w times its cutoff (w > 1); the Chebyshev version has r dB of ripple.

::: step
answer: 10*log(1 + w^(2*N))

### What insertion loss does a Butterworth give?
:::

::: step
answer: 10^(r/10) - 1

### What is the Chebyshev's ε²?
:::

::: step
answer: 10*log(1 + (10^(r/10) - 1)*cosh(N*ln(w + sqrt(w^2 - 1)))^2)

### What insertion loss does the Chebyshev give?
:::

::: right
Right. Outside the passband $T_N$ grows as $\cosh(N\,\text{arccosh}\,w)$, roughly $(2w)^N/2$, faster than the Butterworth's $w^N$.
:::
:::

::: explain
## Why does a Chebyshev filter fall off faster than a Butterworth filter of the same order?

::: model
Both responses come from a polynomial of degree N in frequency, and the polynomial's growth beyond cutoff sets the skirt. The Butterworth uses $\omega^N$, which spends its flatness entirely at zero frequency: it has all its derivatives zero there and is already 3 dB down at the cutoff. The Chebyshev polynomial instead stays within ±1 across the whole passband by oscillating, so it uses its degree to swing up and down rather than to stay flat at one point, and once outside the band it grows like $2^{N-1}\omega^N$, much faster than $\omega^N$. Allowing a small ripple, set by ε, therefore buys a much steeper transition for the same number of elements.
:::
:::

::: practice

::: check
given: N = 4 | 6; k = 1 | 2
answer: 2*sin((2*k - 1)*pi/(2*N))
tolerance: 0.5%

## Butterworth $g_{\given{k}}$ for N = {N}?

::: misses
- [any] $2\sin((2k - 1)\pi/2N)$.
:::
:::

::: check
given: g = 1 | 2; R = 50 | 75; f = 1 | 4
answer: g*R/(2*pi*f*1e9)*1e9
unit: nH
tolerance: 0.5%

## Series L for g = {g}, {R} Ω, {f} GHz cutoff?

::: misses
- [any] $gR_0/\omega_c$.
:::
:::

::: check
given: N = 3 | 7; w = 1.4 | 2.2
answer: 10*log(1 + w^(2*N))
unit: dB
tolerance: 0.05

## Butterworth N = {N} loss at {w} ω_c?

::: misses
- [any] $10\log(1 + \omega^{2N})$.
:::
:::
:::
