The transfer function for a high pass filter is a mathematical equation, typically expressed in the Laplace (s) or frequency (jω) domain, that defines the exact ratio of output voltage to input voltage across all frequencies, effectively blocking DC and low-frequency signals while passing high-frequency AC. When you move from sketching a basic schematic to predicting how a circuit will actually behave on the bench, this function is your roadmap. It dictates the exact phase shift and amplitude attenuation you must account for in feedback loops, audio crossovers, and sensor signal conditioning.

Think of the series capacitor like a stiff rubber diaphragm inside a water pipe: slow, steady pressure (DC) just bulges the diaphragm until the flow stops completely, but rapid pressure fluctuations (AC) flex it back and forth, passing the wave energy through to the other side. However, unlike a simple plumbing analogy, the math tells you exactly how much of that wave energy survives the trip.

The Core Math: Deriving the Equation

A standard first-order passive RC high-pass filter consists of a capacitor in series with the signal path and a resistor to ground. The output voltage is taken across the resistor. Using the voltage divider rule in the Laplace domain, the impedance of the capacitor is 1/(sC) and the resistor is R.

The Ideal Transfer Function:
H(s) = V_out / V_in = R / (R + 1/sC) = sRC / (1 + sRC)

To see how this behaves with real AC signals, we substitute s = jω (where ω = 2πf and j is the imaginary unit). This gives us the frequency-domain transfer function:

H(jω) = jωRC / (1 + jωRC)

The magnitude (gain) of this function is calculated as |H(jω)| = ωRC / √(1 + (ωRC)²). At very low frequencies, ωRC approaches zero, and the gain drops to zero (blocking DC). At very high frequencies, ωRC dominates the denominator, and the gain approaches 1 (passing the signal unchanged). The critical inflection point—the cutoff frequency (f_c)—occurs when the capacitive reactance equals the resistance, yielding a gain of 1/√2 (or -3.01 dB).

Worked Numeric Example: Sizing a 1st-Order RC Filter

Let's design a filter to block the 60 Hz mains hum from a sensor signal while passing a 5 kHz PWM carrier. We select a 10 kΩ resistor and a 10 nF ceramic capacitor (C0G/NP0 dielectric for stability).

Target Cutoff Frequency (f_c): 1 / (2 π × 10,000 Ω × 0.00000001 F) = 1,591.5 Hz

Now, let's apply the transfer function to see exactly what happens to our two frequencies of interest:

1. At the 60 Hz interference:

  • ω = 2π × 60 = 377 rad/s
  • ωRC = 377 × 10,000 × 10e-9 = 0.0377
  • |H(jω)| = 0.0377 / √(1 + 0.0377²) = 0.0376
  • Result: The 60 Hz signal is attenuated to 3.76% of its original amplitude (roughly -28.5 dB).

2. At the 5 kHz target signal:

  • ω = 2π × 5,000 = 31,416 rad/s
  • ωRC = 31,416 × 10,000 × 10e-9 = 3.1416
  • |H(jω)| = 3.1416 / √(1 + 3.1416²) = 0.953
  • Result: The 5 kHz signal passes with 95.3% of its amplitude intact (only -0.42 dB loss).

This numeric proof shows why the transfer function is essential: it confirms our 5 kHz signal will survive with minimal loss, while the 60 Hz noise is practically eliminated.

Where You Meet This in Practice

Understanding what the transfer function for a high pass filter changes in a real circuit is the difference between a working prototype and a failed product. Here is where this math dictates your hardware choices:

ApplicationWhat the Transfer Function DictatesReal-World Consequence
Audio Crossovers (Tweeters)Phase shift (+45° at f_c, approaching +90° below f_c)If not matched with the woofer's low-pass phase response, you get destructive interference and a 'hole' in the frequency response at the crossover point.
Op-Amp AC CouplingAmplitude attenuation near the cutoffSetting f_c too close to your lowest signal frequency (e.g., 20 Hz audio) will cause a noticeable -3dB bass roll-off that ruins the frequency response.
Current Transformer (CT) SensingDC blocking and low-frequency pole placementBlocking the ADC's 1.65V DC bias offset without attenuating the 50/60 Hz fundamental current waveform.

In all these scenarios, the transfer function forces you to accept a trade-off: you cannot block low frequencies without introducing phase lead and amplitude roll-off near your cutoff threshold. According to All About Circuits, recognizing this phase shift is critical when placing high-pass filters inside operational amplifier feedback loops, as the added phase lead can push a marginally stable op-amp into high-frequency oscillation.

Bench War Story: When the Math Meets Parasitics

The ideal transfer function assumes perfect components. Real components have parasitics that will ruin your day if you aren't paying attention. Here is a scenario from the bench that illustrates this perfectly.

The Setup: We needed to AC-couple a piezo vibration sensor into a high-gain op-amp to measure acoustic frequencies above 10 Hz, blocking the slow DC thermal drift of the piezo element.

The Numbers: To achieve a 10.6 Hz cutoff without loading the high-impedance piezo, we chose R = 1 MΩ and C = 15 nF. The ideal transfer function predicted a clean passband from 20 Hz upward.

The Outcome: The output signal was completely buried in broadband hiss, and the op-amp occasionally railed out to the positive supply voltage.

What Went Wrong (The Debugging Sequence):

  1. Measured Thermal Noise: We forgot that resistors generate Johnson-Nyquist thermal noise. A 1 MΩ resistor at room temperature generates roughly 128 nV/√Hz of noise. When multiplied by the op-amp's gain of 1000, the resistor alone was injecting hundreds of millivolts of broadband noise into the signal path.
  2. Checked Dielectric Absorption: The 15 nF capacitor was an X7R ceramic. X7R dielectrics exhibit severe dielectric absorption and microphonic effects. When the piezo vibrated, the capacitor itself acted like a secondary microphone, injecting low-frequency artifacts that the ideal transfer function didn't predict.
  3. Op-Amp Bias Current: The op-amp's input bias current (roughly 200 nA) flowing through the 1 MΩ resistor created a 200 mV DC offset. While the capacitor blocks external DC, it cannot block the DC voltage generated *after* the capacitor by the resistor and bias current, pushing the output dangerously close to the rail.
The Fix: We swapped the components to R = 10 kΩ and C = 1.5 µF (using a low-ESR C0G/NP0 or film capacitor). This maintained the exact same RC time constant and the identical ideal transfer function cutoff (10.6 Hz), but dropped the thermal noise floor by a factor of 10 and eliminated the DC offset issue. The math was right; the component selection was wrong.

Common Confusions and FAQ

Q: What do people commonly confuse the high-pass transfer function with?
A: Engineers frequently confuse a high-pass filter with a differentiator. At frequencies well below the cutoff (ω << 1/RC), the transfer function simplifies to H(s) ≈ sRC, which is the Laplace transform of a derivative. However, at and above the cutoff frequency, the 1 + sRC denominator takes over, flattening the gain. A true differentiator's gain increases infinitely with frequency (which is physically impossible and guarantees high-frequency noise destruction), whereas a high-pass filter's gain safely levels off at 1 (0 dB).

Q: Does the transfer function change if I swap the R and C positions?
A: Yes, fundamentally. If you put the resistor in series and take the output across the capacitor, you have created a low-pass filter. The transfer function becomes 1 / (1 + sRC). The physical placement of the components relative to the ground reference defines the filter type.

Q: How do I account for the source impedance of my signal?
A: The ideal transfer function assumes a zero-ohm source impedance. If your signal source (like a sensor or a previous op-amp stage) has a non-trivial output impedance (e.g., 500 Ω), that resistance adds directly to your filter's series resistance if it's an RC topology, or alters the voltage divider ratio. Always add the source impedance to your 'R' calculations, or buffer the signal with a unity-gain op-amp before the filter.

Q: What safety considerations exist for high-pass filters?
A: While low-voltage signal filtering is safe, if you are designing a high-pass filter for mains-voltage applications (like a capacitive dropper power supply or high-voltage sensor isolation), the capacitor must be rated for the peak AC voltage plus any transient spikes, and must be an X/Y safety-rated capacitor. Furthermore, the resistor must be sized to safely discharge the capacitor when power is removed to prevent lethal shock hazards. Always defer to local electrical codes and TI safety guidelines for high-voltage component selection.

Mastering the transfer function for a high pass filter means looking past the ideal equation. Use the math to find your target cutoff, but use your knowledge of parasitics, thermal noise, and dielectric properties to select the actual physical components that will make the circuit work on the bench.