The transfer function of a high pass filter is a complex mathematical ratio, expressed in the Laplace (s) or frequency (jω) domain, that dictates exactly how a circuit scales the amplitude and shifts the phase of an output signal relative to its input across all frequencies. In a real installation or bench prototype, this function changes how we predict signal degradation, phase delay, and transient ringing before soldering a single component. A common pitfall among hobbyists is confusing the transfer function H(s) with the basic cutoff frequency formula (fc = 1 / 2πRC). The cutoff formula only identifies the -3dB corner point; the transfer function describes the entire amplitude and phase landscape from DC to infinity.
The Core Math: First-Order and Higher-Order Transfer Functions
To evaluate a filter on the bench, we substitute s = jω (where ω = 2πf) into the Laplace domain transfer function. This yields a complex number whose magnitude gives the gain (or attenuation) and whose angle gives the phase shift. For a standard passive RC high pass filter (series capacitor, shunt resistor to ground, output measured across the resistor), the s-domain transfer function is:
Frequency Domain: H(jω) = jωRC / (1 + jωRC)
As you cascade stages or move to active topologies using op-amps, the polynomial order of the denominator increases, steepening the roll-off. Below is a reference table comparing standard high pass filter topologies, their transfer function characteristics, and their phase behavior at the corner frequency.
| Filter Order & Topology | Transfer Function H(s) Form | Roll-off Rate | Phase Shift at fc | Typical Use Case |
|---|---|---|---|---|
| 1st Order Passive RC | sRC / (1 + sRC) | -20 dB/decade | +45° | Audio DC blocking, basic sensor coupling |
| 2nd Order Active Sallen-Key | (sRC)2 / [1 + sRC(3-K) + (sRC)2] | -40 dB/decade | +90° | Active speaker crossovers, anti-aliasing |
| 3rd Order Active Multiple Feedback | 3rd degree numerator / 3rd degree denominator | -60 dB/decade | +135° | Precision instrumentation, EMI rejection |
| 4th Order Cascaded (Dual 2nd) | Product of two 2nd order H(s) functions | -80 dB/decade | +180° | RF IF stages, steep audio subwoofer HPF |
Notice how the phase shift at the cutoff frequency scales linearly with the filter order (Order × 45°). This phase shift is critical in control systems and audio applications; a 180° phase shift at the corner frequency can turn negative feedback into positive feedback, causing an op-amp circuit to oscillate if not properly compensated.
Worked Numeric Example: Designing a 500 Hz AC Coupling Filter
Let us apply the transfer function to a real-world problem. You are reading a 5 kHz PWM-based sensor signal with an ESP32 ADC, but the signal line is picking up 60 Hz mains hum from a nearby transformer. You need a 1st-order passive RC high pass filter to block the 60 Hz hum while passing the 5 kHz signal with minimal attenuation.
Step 1: Choose the cutoff frequency and capacitor.
We will set the target fc to 500 Hz (a safe decade below our 5 kHz signal, and nearly a decade above the 60 Hz noise). We select a standard 100 nF (0.1 µF) X7R ceramic capacitor (e.g., Murata GRM188R71H104KA93) because it offers stable capacitance over temperature and low ESR.
Step 2: Calculate the ideal resistor.
R = 1 / (2π × fc × C)
R = 1 / (2π × 500 × 100 × 10-9) = 3,183.1 Ω
Step 3: Select a standard E24 resistor and recalculate actual fc.
The closest standard E24 value is 3.3 kΩ.
Actual fc = 1 / (2π × 3300 × 100 × 10-9) = 482.3 Hz.
Step 4: Evaluate the transfer function at the noise and signal frequencies.
We use the magnitude of the frequency domain transfer function: |H(jω)| = R / √(R2 + Xc2), where Xc = 1 / (2πfC).
- At 60 Hz (Mains Hum): Xc = 26,525.8 Ω.
|H(jω)| = 3300 / √(33002 + 26525.82) = 0.1234.
In decibels: 20 × log10(0.1234) = -18.17 dB. The 60 Hz hum is attenuated to roughly 12% of its original amplitude. - At 5 kHz (Sensor Signal): Xc = 318.3 Ω.
|H(jω)| = 3300 / √(33002 + 318.32) = 0.995.
In decibels: 20 × log10(0.995) = -0.04 dB. The 5 kHz signal passes virtually untouched.
Where You Meet This in Practice
Understanding the transfer function moves you beyond memorizing formulas and allows you to diagnose complex signal integrity issues across multiple disciplines.
Audio Engineering: DC Blocking and Crossover Networks
In audio amplifiers, a 1st-order high pass filter (often called a DC blocking capacitor) prevents upstream DC offset voltages from reaching the speaker voice coil, which could cause thermal damage. By analyzing the transfer function, audio engineers ensure that the phase shift at the lower limit of human hearing (20 Hz) does not cause destructive interference when combined with the room's acoustic response. Active Sallen-Key high pass filters are the backbone of active subwoofer crossovers, where a steep -40 dB/decade roll-off is required to keep midrange frequencies out of the subwoofer amplifier.
Oscilloscope Input Stages: AC Coupling Mode
When you switch your oscilloscope channel to "AC Coupling," you are inserting a hardware 1st-order high pass filter into the signal path. The transfer function of this internal filter typically sets the cutoff at around 10 Hz. This allows you to view a 50 mV AC ripple riding on top of a 12V DC power rail without the DC offset pushing the waveform off the screen. If you attempt to measure a 2 Hz square wave in AC coupling mode, the transfer function's phase shift and low-frequency attenuation will distort the square wave into a series of exponential decays, a classic artifact that confuses beginners.
Power Electronics: Snubber Networks and EMI
While power supply EMI filters are predominantly low-pass, high pass transfer functions appear in AC-coupled snubber networks used across switching MOSFETs. The series capacitor and shunt resistor form a high pass filter that only allows high-frequency switching transients (the ringing caused by parasitic PCB inductance) to be dissipated as heat in the resistor, while blocking the low-frequency 50/60 Hz mains or DC bus voltage from causing continuous power loss.
Common Pitfalls and Frequently Asked Questions
Why does my high pass filter output look like a tilted square wave?
This is the time-domain manifestation of the transfer function's low-frequency attenuation. A square wave is composed of a fundamental frequency and infinite odd harmonics. If the fundamental frequency of your square wave is close to or below the filter's fc, the transfer function severely attenuates the fundamental while passing the higher harmonics. The result is a waveform that spikes at the edges (high frequencies) and exponentially decays toward zero during the flat top (low frequencies). To fix this, lower the cutoff frequency by increasing the value of R or C.
Does the transfer function account for component tolerances?
No, the ideal mathematical transfer function assumes perfect components. In reality, a 100 nF X7R ceramic capacitor can lose up to 40% of its capacitance when a DC bias voltage is applied across it, and a standard 5% resistor can drift with temperature. For precision applications, engineers use Monte Carlo simulations in tools like LTspice to apply statistical tolerances to the components within the transfer function model, predicting the worst-case shift in the Bode plot.
What is the difference between the transfer function and a Bode plot?
The transfer function is the algebraic equation (e.g., H(s) = sRC / (1 + sRC)). The Bode plot is simply the graphical representation of that equation, split into two graphs: magnitude (in dB) versus logarithmic frequency, and phase (in degrees) versus logarithmic frequency. You use the transfer function to calculate specific points; you use the Bode plot to visualize the overall system stability and bandwidth at a glance.
For deeper reading on deriving these equations and visualizing their asymptotes, the All About Circuits AC textbook and the comprehensive guides at Electronics Tutorials provide excellent foundational math and interactive calculators.






