Sub topic 8
The RC High-Pass Filter
This chapter assumes you can compute impedances (ZR = R, ZC = 1/(jωC)), apply the voltage divider rule with complex numbers, and convert a ratio to decibels. If you have read the RC low-pass chapter, you have already seen the same circuit read from the other terminal. Here the output moves to the resistor, and the filter passes high frequencies and blocks low ones.
The circuit and the idea
A series capacitor feeds a resistor to ground, and the output is the voltage across the resistor.
The capacitor's impedance depends on frequency:
- At low frequency, |Z_C| = 1/(ωC) is large. The capacitor acts almost like an open circuit, so little signal reaches R.
- At high frequency, |Z_C| is small. The capacitor acts almost like a wire, so nearly all of Vin appears across R.
- At DC (ω = 0), the capacitor is an open circuit and the output is exactly zero. This is why the circuit is also called a DC-blocking or AC-coupling stage.
Deriving the transfer function
Treat the capacitor and resistor as a voltage divider. The output is across R, so R is the lower element:
H(jω) = Vout / Vin = R / (R + 1/(jωC))
Multiply the numerator and denominator by jωC:
H(jω) = jωRC / (1 + jωRC)
The only difference from the low-pass filter is the factor jωRC in the numerator. That factor is a zero at ω = 0, which forces the gain to fall to zero as frequency approaches zero.
The magnitude and phase follow from the rules for complex numbers. The numerator is jωRC, with magnitude ωRC and angle +90°. The denominator has magnitude √(1 + (ωRC)²) and angle arctan(ωRC). Therefore:
- |H| = ωRC / √(1 + (ωRC)²)
- ∠H = 90° − arctan(ωRC)
Cutoff frequency
The cutoff frequency is where the output power is half the passband power, which means |H| = 1/√2 ≈ 0.707, or −3.01 dB. Setting ωRC/√(1 + (ωRC)²) = 1/√2 gives (ωRC)² = 1, so:
ωc = 1/(RC), and fc = 1/(2πRC)
This is the same expression as for the RC low-pass filter. Only the side of the cutoff that is passed has changed. The low-pass passes f < fc and the high-pass passes f > fc.
For R = 1.59 kΩ and C = 100 nF, RC = 159 µs and f_c ≈ 1001 Hz.
It is convenient to write the transfer function in terms of the ratio x = f/f_c:
H = jx / (1 + jx)
This form shows that every first-order high-pass has the same shape on a Bode plot. Only the position of f_c depends on the components.
Magnitude and phase at key frequencies
Using x = f/f_c:
| f / f_c | \ | H\ | (linear) | Magnitude (dB) | Phase (degrees) |
|---|---|---|---|---|---|
| 0.01 | 0.0100 | −40.00 | +89.43 | ||
| 0.1 | 0.0995 | −20.04 | +84.29 | ||
| 1 | 0.7071 | −3.01 | +45.00 | ||
| 10 | 0.9950 | −0.04 | +5.71 | ||
| 100 | 1.0000 | 0.00 | +0.57 |
Three features of this table matter in practice:
- Below f_c, the magnitude falls by about 20 dB for each decade of frequency decrease. A first-order stage has a slope of +20 dB/decade, rising toward the cutoff.
- Above f_c, the magnitude approaches 0 dB, so the passband gain is 1.
- The phase is positive, so the output leads the input. The lead is +90° far below fc, +45° at fc, and 0° far above it. The low-pass filter has the opposite behavior, with the output lagging.
Computing the response with a script
This script evaluates the transfer function at five frequencies placed relative to f_c. It uses complex arithmetic directly, so it checks the algebra above.
import numpy as np
R = 1.59e3 # ohms
C = 100e-9 # farads
fc = 1 / (2 * np.pi * R * C)
print(f"fc = {fc:.1f} Hz")
f = fc * np.array([0.01, 0.1, 1, 10, 100])
w = 2 * np.pi * f
H = (1j * w * R * C) / (1 + 1j * w * R * C) # RC high-pass, output across R
mag_db = 20 * np.log10(np.abs(H))
phase_deg = np.degrees(np.angle(H))
for fi, m, p in zip(f, mag_db, phase_deg):
print(f"{fi:10.1f} Hz {m:7.2f} dB {p:7.2f} deg")The printed values should match the table: −40.00, −20.04, −3.01, −0.04, and 0.00 dB, with phases of 89.43°, 84.29°, 45.00°, 5.71°, and 0.57°. A mismatch usually means the output was taken across the wrong component, or the angle was computed in radians but read as degrees.
To check the same circuit in a simulator, run an AC sweep. The capacitor is now in series and the resistor goes to ground.
* RC high-pass filter, AC sweep
V1 in 0 AC 1
C1 in out 100n
R1 out 0 1.59k
.ac dec 20 10 100k
.endPlot the magnitude and phase of node out. The curve should show −3 dB and +45° near 1 kHz. The simulated value at 1 kHz will differ slightly from −3.01 dB because f_c is 1001 Hz and not exactly 1000 Hz.
Source and load effects
The derivation assumed an ideal source with zero output resistance and a load that draws no current. Real stages violate both assumptions, and each one changes f_c and the passband gain.
Source resistance R_s. The source resistance is in series with the capacitor, so it adds to the resistance of the divider:
H = R / (R_s + R + 1/(jωC))
The passband gain falls to R/(Rs + R), and the cutoff becomes fc = 1/(2π(R_s + R)C).
Load resistance R_L. The load is in parallel with R, so the lower element of the divider becomes Rp = R ∥ RL. For an ideal source, the passband gain stays at 1 and the cutoff becomes fc = 1/(2πRpC). A load always raises the cutoff frequency, because R_p is smaller than R.
With both effects, Rp = R ∥ RL, the passband gain is Rp/(Rs + Rp), and fc = 1/(2π(Rs + Rp)C).
For R = 1.59 kΩ and C = 100 nF:
| Case | R_s | R_L | Cutoff f_c | Passband gain |
|---|---|---|---|---|
| Ideal | 0 | open | 1001 Hz | 0 dB |
| Load only | 0 | 1.59 kΩ | 2002 Hz | 0 dB |
| Source only | 159 Ω | open | 910 Hz | −0.83 dB |
| Both | 159 Ω | 1.59 kΩ | 1668 Hz | −1.58 dB |
A common design rule is to choose RL at least ten times larger than R, and Rs at least ten times smaller than R. The cutoff then moves by roughly 10 percent or less.
Link to the time constant
The product τ = RC is the circuit's time constant. Here τ = 159 µs, so f_c = 1/(2πτ). The same τ appears in the time domain. If the input steps from 0 V to V₀, the output jumps immediately to V₀ (the capacitor cannot change its voltage instantly, so the full step lands on R) and then decays as V₀·e^(−t/τ). A high-pass filter therefore turns a step into a spike that decays. A larger τ means a lower cutoff and a slower decay.
Common errors
- Output taken across the wrong element. Across C gives the low-pass filter. Across R gives the high-pass filter. The formulas differ by the factor jωRC.
- Reading phase as a lag. The high-pass output leads the input, so the phase is positive.
- Forgetting that the real capacitor is not ideal. Leakage and equivalent series resistance matter mostly at very high frequencies. Their effect appears as a departure from 0 dB well above f_c, not near the cutoff.
- Ignoring that the response is zero at DC. If a bias voltage must pass through, the high-pass filter is the wrong block. It removes the DC level by design.
- Mixing ω and f. The corner is ω_c = 1/(RC) in rad/s. Divide by 2π to get hertz.
Exercise
An RC high-pass filter uses C = 22 nF and R = 7.2 kΩ and drives a load of R_L = 7.2 kΩ from an ideal source. (a) Find the cutoff frequency without the load. (b) Find the cutoff with the load connected. (c) What is the phase of the output relative to the input at the loaded cutoff frequency?
Show answer
(a) RC = 7.2e3 × 22e-9 = 158.4 µs, so fc = 1/(2π × 158.4e-6) ≈ 1005 Hz. (b) Rp = 7.2 kΩ ∥ 7.2 kΩ = 3.6 kΩ, so f_c = 1/(2π × 3.6e3 × 22e-9) ≈ 2010 Hz. The passband gain stays at 0 dB because the source is ideal. (c) At the cutoff of a first-order high-pass filter, the phase is +45°, so the output leads the input by 45°.
Exercise
Why does the high-pass filter output exactly zero at DC, and what does the magnitude approach at very high frequency?
Show answer
At DC, ω = 0, so 1/(jωC) is infinite and the capacitor is an open circuit. No current flows, there is no voltage across R, and H(0) = 0. In the formula, the numerator jωRC is zero. At very high frequency, ωRC is much larger than 1, so H = jωRC/(1 + jωRC) approaches 1, which is 0 dB with 0° of phase.