---
title: Loading and cascading
heading: Why two filters in a row don't simply multiply, unless you let them
eyebrow: C4 · Lesson 20 · Loading and cascading
xp: 40
---

::: hook
Connect two identical RC low-pass sections one after the other and you might expect a response that's the first one squared: −6 dB at the corner and 40 dB per decade beyond. What you get is −9.5 dB at the corner and a lower, softer bend, because the second section draws current from the first and changes it. This is **loading**, and it's why real filter chains either put a buffer between stages, scale each stage's impedance well above the last, or design the whole chain as one network.
:::

::: play
- Two RC sections connected directly: the Bode analyzer shows the result. With equal sections (1 kΩ, 100 nF), the gain at 1.59 kHz is −9.5 dB instead of −6 dB.
- Raise the second section's resistor ten times and cut its capacitor ten times: same corner on paper, much less loading. The response moves close to the buffered ideal.
- The inline sim below puts a unity-gain buffer between the sections for comparison.
:::
:::

```sim circuit
V1 in 0 sine 1 V 1k Hz      @ 0,0 down
R1 in a 1k                  @ 0,0 right
C1 a 0 100n                 @ 2,0 down
R2 a out 1k                 @ 2,0 right
C2 out 0 100n               @ 4,0 down
slider: R2 1k..100k log
slider: C2 1n..100n log
bode: v(out)/v(in) | f = 10..100k Hz
```

::: predict
## Two identical RC low-pass sections (time constant τ) are connected directly. What is the overall gain at ω = 1/τ?

- [ ] −3 dB
- [ ] −6 dB, the product of two −3 dB sections
- [x] About −9.5 dB
- [ ] −12 dB

::: reveal
About −9.5 dB. Loaded by the second section, the chain's transfer function is $\frac{1}{1 + 3s\tau + s^2\tau^2}$ instead of $\frac{1}{(1 + s\tau)^2} = \frac{1}{1 + 2s\tau + s^2\tau^2}$. At ω = 1/τ the denominator is $3j$, so $|H| = \frac13$, −9.5 dB.
:::
:::

::: nameit
## Why loading happens

A filter section's transfer function is computed with nothing attached to its output. Attach the next section and its input impedance appears in parallel with the first section's output, changing the first section's response. For two RC sections the full circuit gives

$$H(s) = \frac{1}{1 + s(R_1C_1 + R_2C_2 + R_1C_2) + s^2R_1R_2C_1C_2}$$

The cross term $R_1C_2$ is the loading: the second capacitor charging through the first resistor.

## Three cures

- **Buffer** between stages: an op-amp follower (C6) has a very high input impedance and a very low output impedance, so each stage sees an open circuit and drives the next from a near-ideal source. Then responses multiply exactly. This is why active filters cascade so easily (lesson 13).
- **Impedance scaling:** make each section's impedance $k$ times the previous one's ($R \to kR$, $C \to C/k$, same τ). The cross term shrinks to $\tau/k$; with $k$ = 10 the error at the corner is under half a decibel.
- **Design the whole network,** as a ladder (lesson 11), where every element's effect on every other is part of the design.

## Source and load

The same thinking applies at the ends: a filter driven from a source with resistance $R_s$ sees $R + R_s$ in place of its input resistor, and a load across its output acts like a resistor in parallel with its last element. Specify filters for the source and load they'll actually see.
:::

```sim circuit
V1 in 0 sine 1 V 1k Hz      @ 0,0 down
R1 in a 1k                  @ 0,0 right
C1 a 0 100n                 @ 2,0 down
E1 b 0 a 0 1                @ 4,0 down
R2 b out 1k                 @ 4,0 right
C2 out 0 100n               @ 6,0 down
bode: v(out)/v(in) | f = 10..100k Hz
```

::: example
## Compare two equal RC sections at ω = 1/τ: connected directly, and with a buffer between.

::: solution
1. **Connected directly.**
   $$\begin{aligned} |H| &= \frac{1}{|1 + 3j - 1|} \\ &= \frac13 \end{aligned}$$
   which is −9.5 dB.
2. **With a buffer.**
   $$\begin{aligned} |H| &= \left(\frac{1}{\sqrt2}\right)^2 \\ &= \frac12 \end{aligned}$$
   which is −6.0 dB.

**Answer:** connected directly the gain is 1/3 (−9.5 dB); with a buffer it's 1/2 (−6.0 dB).
:::
:::

::: example
## The second section is scaled up tenfold in impedance (10 kΩ, 10 nF). What is the gain at ω = 1/τ now?

::: solution
1. **The new middle term.** The middle term becomes
   $$s(2\tau + \tau/10)$$
2. **Gain at ω = 1/τ.**
   $$|H| = \frac{1}{2.1}$$
   which is −6.4 dB.
3. **Compare.** That's within 0.4 dB of the buffered ideal.

**Answer:** the gain is 1/2.1, or −6.4 dB.
:::
:::

::: example
## A 10 kΩ, 10 nF RC low-pass drives an input with 100 kΩ of resistance. What happens to its gain and corner?

::: solution
1. **DC gain.** The load forms a divider with the resistor:
   $$\frac{100}{110} = 0.909$$
   which is −0.83 dB.
2. **Resistance the capacitor sees.**
   $$R \parallel R_L = 9.09\ \text{k}\Omega$$
3. **New corner.**
   $$\begin{aligned} f_c &= \frac{1}{2\pi \times 9.09 \times 10^3 \times 10^{-8}} \\ &= 1.75\ \text{kHz} \end{aligned}$$
   up from 1.59 kHz unloaded.
4. **Fixing it.** Both errors shrink as the load grows; a buffer removes them entirely.

**Answer:** the DC gain drops to 0.909 (−0.83 dB), and the corner rises from 1.59 kHz to 1.75 kHz.
:::
:::

::: check
given: k = 1 | 3 | 10 | 100
answer: 20*log(1/(2 + 1/k))
unit: dB
tolerance: 0.5%

## Two RC sections with the same τ are cascaded directly, the second scaled to {k} times the first's impedance. What is the gain at ω = 1/τ?

::: right
Right. $\frac{1}{2 + 1/k}$ = {answer}.
:::

::: misses
- [20*log(0.5)] That's the buffered ideal; the loading term $1/k$ remains.
- [any] Not yet. The middle coefficient is $2\tau + \tau/k$.
:::
:::

::: check
given: R1 = 1 | 4.7; C1 = 10 | 100; R2 = 1 | 10; C2 = 1 | 10; f = 0.5 | 2
answer: 20*log(abs(1/(1 + j*2*pi*f*1000*(R1*1000*C1*1e-9 + R2*1000*C2*1e-9 + R1*1000*C2*1e-9) - (2*pi*f*1000)^2*R1*R2*1e6*C1*C2*1e-18)))
unit: dB
tolerance: 0.5%

## Sections of {R1} kΩ, {C1} nF then {R2} kΩ, {C2} nF are cascaded directly. What is the gain at {f} kHz?

::: right
Right. {answer}.
:::

::: misses
- [20*log(abs(1/((1 + j*2*pi*f*1000*R1*1000*C1*1e-9)*(1 + j*2*pi*f*1000*R2*1000*C2*1e-9))))] That's the buffered product; include the loading term $R_1C_2$.
- [any] Not yet. Use the full two-section transfer function.
:::
:::

::: check
given: R = 1 | 10; Rs = 0.6 | 2 | 5; C = 10 | 100
answer: 1/(2*pi*(R + Rs)*1000*C*1e-9)
unit: Hz
tolerance: 0.5%

## An RC low-pass with R = {R} kΩ and C = {C} nF is driven from a source with {Rs} kΩ of its own resistance. Where is its corner?

::: right
Right. $\frac{1}{2\pi(R + R_s)C}$ = {answer}.
:::

::: misses
- [1/(2*pi*R*1000*C*1e-9)] The source resistance adds to R.
- [any] Not yet. The capacitor charges through $R + R_s$.
:::
:::

::: check
given: R = 1 | 10; C = 10 | 100; RL = 10 | 100
answer: 1/(2*pi*(R*RL/(R + RL))*1000*C*1e-9)
unit: Hz
tolerance: 0.5%

## An RC low-pass (R = {R} kΩ, C = {C} nF) drives a {RL} kΩ load. Where is its corner now?

::: right
Right. The capacitor sees $R \parallel R_L$: {answer}.
:::

::: misses
- [1/(2*pi*R*1000*C*1e-9)] The load is in parallel with the capacitor and lowers the resistance it sees.
- [any] Not yet. Thevenin of R and $R_L$.
:::
:::

::: check
given: R = 1 | 10; RL = 10 | 100
answer: RL/(R + RL)
tolerance: 0.5%

## The same filter (R = {R} kΩ) drives {RL} kΩ. What is its gain at DC?

::: right
Right. $\frac{R_L}{R + R_L}$ = {answer}.
:::

::: misses
- [any] Not yet. At DC the capacitor is open: a divider.
:::
:::

::: check
given: k = 2 | 5 | 20
answer: 20*log(1/(2 + 1/k)) - 20*log(0.5)
unit: dB
tolerance: 1%

## With the second section scaled {k} times, how far below the buffered ideal is the gain at ω = 1/τ?

::: right
Right. {answer}.
:::

::: misses
- [any] Not yet. Compare $\frac{1}{2 + 1/k}$ with $\frac12$.
:::
:::

::: check
kind: parts
given: R = 1 | 10; C = 10 | 100; L = 20 | 100

## A {R} kΩ, {C} nF RC low-pass drives a {L} kΩ load.

::: part
answer: L/(R + L)
tolerance: 0.5%

### What's its DC gain?

::: misses
- [any] $\frac{R_L}{R + R_L}$.
:::
:::

::: part
answer: 1/(2*pi*(R*L/(R + L))*1e3*C*1e-9)
unit: Hz
tolerance: 0.5%

### Where's its corner now?

::: misses
- [1/(2*pi*R*1e3*C*1e-9)] The capacitor sees R in parallel with the load.
- [any] $\frac{1}{2\pi(R\,\|\,R_L)C}$.
:::
:::
:::

::: check
kind: derivation
vars: R = 100..100000, L = 100..10000000, C = 0.000000001..0.00001

## An RC low-pass (R, C) drives a resistive load L.

::: step
answer: L/(R + L)

### What's its DC gain?
:::

::: step
answer: 1/(2*pi*C*R*L/(R + L))

### What's its corner?
:::

::: right
Right. A heavy load lowers the gain and raises the corner.
:::
:::

::: explain
## Why does a buffer between two filter sections make their responses multiply exactly?

::: model
Each section's response is worked out assuming nothing draws current from its output. Without a buffer, the second section's input does draw current, changing the voltage the first section produces. A buffer has a very high input impedance, so it draws essentially nothing and the first section behaves as designed; and it has a very low output impedance, so it drives the second section like an ideal source, which is what that section's design assumed. Each section then sees exactly the conditions it was designed for, and the overall response is just the product of the two.
:::
:::

::: practice

::: check
given: R = 1 | 10; C = 10 | 100
answer: R*C
unit: µs
tolerance: 0.5%

## What is the time constant of {R} kΩ and {C} nF?

::: misses
- [any] $RC$.
:::
:::

::: check
given: k = 10 | 100; R = 1 | 4.7; C = 10 | 100
answer: C/k
unit: nF
tolerance: 0.5%

## A section of {R} kΩ and {C} nF is scaled up {k} times in impedance. What capacitor does it use?

::: misses
- [any] $C/k$.
:::
:::

::: check
given: A = 1 | 2 | 3 | 4 | 6 | 10
answer: -2*A
unit: dB
tolerance: 0.5%

## Two buffered sections each have a gain of −{A} dB. What is the total gain?

::: misses
- [any] dB add.
:::
:::
:::
