The High Pass Filter Transfer Function in One Sentence

The high pass filter transfer function is a mathematical ratio, typically expressed as H(s) or H(jω), that defines exactly how much a circuit attenuates low-frequency signals while allowing high-frequency signals to pass through unchanged. When you insert this filter into a real installation or PCB, it changes the amplitude and phase relationship of your AC signals based on frequency, effectively stripping away DC offsets and low-frequency noise before the signal reaches an analog-to-digital converter (ADC) or amplifier stage. A common point of confusion among hobbyists and junior engineers is mixing up the transfer function itself—which describes the entire frequency response curve across all decades—with the cutoff frequency, which is merely the single -3dB point on that curve. Another frequent mistake is swapping the pole and zero placements in the s-plane when moving between high pass and low pass topologies.

Safety Note: While passive RC filters are great for low-voltage signal conditioning, never use a simple capacitive high pass filter directly on mains voltage (120V/230V AC). If the capacitor fails short, it bypasses the filter and delivers full mains voltage to your low-voltage load. Always use properly rated isolation transformers or active Hall-effect sensors for mains monitoring.

The Math on the Bench: A Worked Numeric Example

To see how the high pass filter transfer function dictates real-world signal behavior, let's build a standard first-order passive RC high pass filter on the bench. We will use a 10 kΩ resistor and a 100 nF (0.1 µF) ceramic capacitor.

The transfer function in the frequency domain is:

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

First, we find the cutoff frequency ($f_c$), which is the point where the output power drops by half (-3dB):

f_c = 1 / (2 * π * R * C) = 1 / (2 * π * 10,000 * 0.0000001) ≈ 159.15 Hz

Now, let's run the transfer function math at two specific test frequencies to prove the 20 dB/decade roll-off rate:

Test Frequency Relationship to $f_c$ Calculated Magnitude |H(jω)| Attenuation (dB)
15.9 Hz 0.1 × $f_c$ (One decade below) 0.0995 -20.04 dB
159.15 Hz 1.0 × $f_c$ (Cutoff point) 0.707 -3.01 dB
1591.5 Hz 10 × $f_c$ (One decade above) 0.995 -0.04 dB

At 15.9 Hz, the signal is heavily crushed, passing only about 10% of its original voltage. By the time we hit 1591.5 Hz, the filter is essentially transparent, passing 99.5% of the signal. This mathematical predictability is why we rely on transfer functions rather than just guessing component values as noted in standard filter design literature.

Where You Meet This in Practice

You might think high pass filters are just for audio crossovers, but they are ubiquitous in embedded systems and power electronics:

  1. AC Coupling for Microcontroller ADCs: If you are reading an AC current transformer (like the SCT-013-000) with an ESP32, the sensor outputs a bipolar AC signal (e.g., ±1V). The ESP32 ADC only reads 0V to 3.3V. A high pass filter (often combined with a voltage divider bias) strips the 0V DC baseline and allows you to superimpose the AC signal onto a 1.65V DC bias.
  2. Audio Tweeter Protection: In passive speaker crossovers, a series capacitor acts as a high pass filter. The transfer function ensures that low-frequency bass energy—which would physically tear a delicate tweeter dome apart—is attenuated before it reaches the voice coil.
  3. Removing DC Drift in Communications: In RS-485 or CAN bus lines, long cable runs can accumulate slight DC ground potential differences. AC coupling via high pass filters blocks this DC offset while letting the high-speed data packets pass.

Real-World Scenario: Debugging a Noisy Piezo Vibration Sensor

Theory is clean; the bench is messy. Here is a scenario that highlights what happens when you blindly trust the basic transfer function without considering parasitic realities.

The Setup: We needed to measure high-frequency machine vibration (around 2 kHz) using a cheap piezo disc sensor. The piezo was wired to an LM358 op-amp, which fed an Arduino Nano ADC. Because piezo sensors generate a charge that can accumulate and saturate the op-amp, we placed a 1 MΩ discharge resistor in parallel with the piezo.

The Numbers: The piezo had an internal capacitance of roughly 5 nF. Together with the 1 MΩ resistor, this formed an accidental first-order high pass filter.
f_c = 1 / (2 * π * 1,000,000 * 0.000000005) ≈ 31.8 Hz.
Mathematically, our 2 kHz target signal was well above the 31.8 Hz cutoff, so the transfer function said we were good to go.

The Outcome: The 2 kHz vibration signal passed through, but the baseline on the oscilloscope was drifting wildly, and the 60 Hz mains hum from the nearby AC motor was massive, completely drowning out the subtle vibration harmonics.

What Went Wrong: The transfer function math was correct for an ideal circuit, but it failed to account for two physical realities:

  • Impedance and EMI: A 1 MΩ resistor creates an incredibly high-impedance node. High-impedance nodes act as antennas, picking up radiated 60 Hz EMI from the motor. The transfer function doesn't model parasitic electromagnetic coupling.
  • Inadequate Roll-off: A first-order filter only rolls off at 20 dB/decade. At 60 Hz (less than one decade above our 31.8 Hz cutoff), the 60 Hz hum was only attenuated by about 5 dB. It wasn't nearly enough.

The Fix: We dropped the discharge resistor to 100 kΩ, pushing the cutoff frequency up to 318 Hz. This provided much better attenuation for the 60 Hz hum. More importantly, we ditched the bipolar LM358 and swapped in a TLC27M2 CMOS op-amp configured as a unity-gain buffer right at the sensor head. This lowered the output impedance, killing the EMI antenna effect, and allowed us to drive the ADC cleanly. For a deeper look at how active buffering solves high-impedance sensor issues, Swarthmore College's engineering notes on filter loading provide excellent academic backing.

Frequently Asked Questions

Does a high pass filter block DC voltage completely?

In pure theory, yes; at 0 Hz, the magnitude of the transfer function is exactly zero. In practice, no. Real capacitors have leakage current, and if you are using an active filter, the op-amp has input bias currents and input offset voltages. These non-ideal traits will create a tiny, measurable DC offset at the output. If your application requires absolute zero DC, you must use software-based digital high pass filtering in your microcontroller after the ADC stage.

Why would I use an active high pass filter instead of a passive RC one?

A passive RC filter suffers from loading effects: whatever circuit you connect to the output will draw current and alter the transfer function, shifting your cutoff frequency. An active filter (using an op-amp) provides a low-impedance output that isolates the filter math from the load. Additionally, active topologies like the Sallen-Key allow you to build second-order (40 dB/decade) or higher filters without the massive signal loss you'd get from cascading passive stages.

How does the transfer function affect signal phase?

It shifts it. In a first-order high pass filter, the phase shift starts at +90° at very low frequencies, passes through +45° exactly at the cutoff frequency ($f_c$), and asymptotically approaches 0° at very high frequencies. If you are designing a feedback loop or a phase-sensitive demodulator, this phase shift can cause instability or measurement errors if not explicitly compensated for in your control algorithm.