An op amp high pass filter blocks DC and low-frequency AC signals while passing and amplifying frequencies above a specific cutoff threshold. Unlike passive RC filters that suffer from signal attenuation and loading effects, an active filter uses an operational amplifier to provide gain, isolate the filter network from the load, and maintain a sharp, predictable frequency response. Whether you are stripping 60Hz mains hum from an audio line or blocking DC drift from a sensor reading, getting the biasing and component selection right is the difference between a clean signal and a distorted mess. Here is exactly how to select, build, and test these circuits on the bench.

The Core Anatomy: Op-Amp Pinout and Symbol Basics

Before wiring any filter, you must understand the physical package and the schematic symbol. The industry standard for through-hole prototyping is the 8-pin Dual In-line Package (DIP). While the schematic symbol is a simple triangle with two inputs and one output, the physical silicon requires power and careful pin mapping.

For a standard dual op-amp (like the LM358 or TL072) in an 8-pin DIP, the pinout is universally standardized:

  • Pin 1: Output A
  • Pin 2: Inverting Input A (-)
  • Pin 3: Non-Inverting Input B (+)
  • Pin 4: V- (Negative Supply or Ground in single-supply)
  • Pin 5: Non-Inverting Input B (+)
  • Pin 6: Inverting Input B (-)
  • Pin 7: Output B
  • Pin 8: V+ (Positive Supply)
Bench Tip: The inverting input (-) is not necessarily a negative voltage; it simply denotes the input that causes a 180-degree phase shift at the output. In a non-inverting high-pass filter, your AC signal enters the non-inverting (+) pin, while the inverting (-) pin handles the DC feedback loop to set your gain.

Selecting and Biasing Your Op-Amp for High-Pass Filtering

Choosing the right IC requires matching the op-amp’s operational limits to your signal environment. The two critical specifications are Gain-Bandwidth Product (GBW) and Slew Rate. Your op-amp's GBW should be at least 50 to 100 times higher than your highest expected signal frequency to prevent phase shift and amplitude roll-off in the passband.

Biasing is equally critical. If you are running a dual supply (e.g., ±12V), your reference ground is 0V, and AC signals swing symmetrically. If you are running a single supply (e.g., 5V from an Arduino), you must create a "virtual ground" at Vcc/2 (2.5V) to bias the inputs, allowing the AC signal to swing above and below that midpoint without clipping against the 0V rail.

Operation Regions and Safe Default Part Numbers

Below are the safe, industry-standard default op-amps for active filtering, complete with their operational ratings. Never use an op-amp outside its specified supply voltage range, and always check the quiescent current ($I_q$) if designing for battery life.

Part Number Supply Voltage Range Typical $I_q$ (per amp) GBW Slew Rate Best Application
LM358 3V to 32V (Single) / ±1.5V to ±16V (Dual) 0.35 mA 1 MHz 0.5 V/µs Low-speed sensors, DC motor control, single-supply general purpose.
TL072 ±5V to ±18V (Dual only) 1.4 mA 3 MHz 13 V/µs Guitar pedals, basic audio crossovers, synthesizer CV filtering.
NE5532 ±5V to ±15V (Dual only) 4.0 mA 10 MHz 9 V/µs Hi-fi audio, studio gear, low-noise microphone preamps.
OPA344 2.7V to 5.5V (Single) / ±1.35V to ±2.75V (Dual) 0.075 mA 1 MHz 1.5 V/µs Battery-powered IoT, 3.3V MCU ADC anti-aliasing.

Source references for component selection: Texas Instruments Op-Amp Portfolio and the Analog Devices Active Filter Guide.

Practical Application: 1 kHz Active High-Pass Filter Circuit

This circuit is a 1st-order, non-inverting active high-pass filter designed for a single 5V supply. It blocks DC and frequencies below ~1 kHz, while passing higher frequencies with a gain of 2x (6 dB). This is a common topology for stripping low-frequency rumble from electret microphone signals before feeding them into a microcontroller ADC.

Component Values

  • U1: LM358 (or OPA344 for better rail-to-rail performance)
  • C1 (Input Coupling): 15nF (Ceramic or Film)
  • R1 (Filter Resistor): 10kΩ (Sets cutoff with C1)
  • Rf (Feedback Resistor): 10kΩ
  • Rg (Gain Resistor): 10kΩ (Gain = 1 + Rf/Rg = 2)
  • R2, R3 (Bias Divider): 10kΩ each (Creates 2.5V virtual ground)
  • C_bypass: 10µF (Stabilizes virtual ground)

Wiring Steps

  1. Establish the Virtual Ground: Connect R2 from Pin 8 (V+, 5V) to Pin 3 (Non-inverting input). Connect R3 from Pin 3 to Pin 4 (V-, Ground). This creates a 2.5V bias. Connect C_bypass from Pin 3 to Ground to filter out power supply noise on the bias line.
  2. Wire the High-Pass Network: Connect C1 in series with your input signal source. Connect the other end of C1 to R1. Connect the other end of R1 to Pin 3. (The junction of C1 and R1 does not go directly to the pin; R1 provides the DC return path to the 2.5V bias).
  3. Set the Gain: Connect Rg from Pin 2 (Inverting input) to Ground. Connect Rf from Pin 2 to Pin 1 (Output). This sets the non-inverting gain to 2x.
  4. Power and Decoupling: Apply 5V to Pin 8 and Ground to Pin 4. Place a 100nF ceramic decoupling capacitor directly across Pin 8 and Pin 4, as close to the IC body as possible to prevent high-frequency oscillation.
Warning: Never leave the non-inverting input of an AC-coupled op-amp "floating" without a DC path to ground or a bias voltage. Without R1 providing a path to the 2.5V virtual ground, the input bias current will charge C1 until the op-amp saturates against the supply rail, resulting in a flatlined output.

Troubleshooting: How Op-Amp Filters Fail and How to Test Them

Op-amps rarely fail gracefully. They typically fail due to Electrostatic Discharge (ESD) destroying the input differential pair, or output stage shorts caused by driving heavy capacitive loads without isolation. Here is how to diagnose a dead or misbehaving filter using a standard digital multimeter (DMM).

  1. The Dead Short Test (Power Off): Set your DMM to continuity/resistance mode. Measure across Pin 4 (V-) and Pin 8 (V+). You should read high resistance (typically >10kΩ). If it reads near 0Ω, the internal power rails are shorted. The IC is dead; replace it.
  2. The ESD Clamping Diode Test (Power Off): Set your DMM to Diode Test mode. Place the red probe on Pin 4 (V-) and the black probe on the input pins (Pins 2 and 3). You are forward-biasing the internal ESD protection diodes. A healthy silicon op-amp will read between 0.5V and 0.7V. If it reads 0.0V (short) or OL (open), the input stage is destroyed.
  3. The DC Bias Verification (Power On): Power the circuit and set the DMM to DC Volts. Measure the voltage at Pin 1 (Output). In our single-supply 5V circuit, the output should sit quietly at exactly 2.5V DC (±50mV).
    • If the output is pegged at ~0V or ~5V, the feedback loop is broken (check Rf and Rg solder joints) or the op-amp is latched up.
    • If the output is drifting slowly, your C_bypass capacitor on the virtual ground may be leaky or missing, allowing low-frequency noise to modulate the bias point.

Frequently Asked Questions

Why is my op amp high pass filter outputting a DC offset?

Unexpected DC offset at the output is almost always caused by input bias currents or a missing DC return path. Every op-amp requires a tiny amount of DC current to flow into or out of its input pins to bias the internal transistors. If your signal source is AC-coupled and you forgot to include a resistor (like R1 in our circuit) to tie the input to a DC reference voltage, the bias current will charge the coupling capacitor. This creates an accumulating voltage that eventually forces the op-amp output to slam against the positive or negative supply rail. Always ensure a DC path to ground or V-bias exists for both inputs.

How do I calculate the cutoff frequency for an active high pass filter?

The -3dB cutoff frequency ($f_c$) of a 1st-order active high-pass filter is determined solely by the input resistor and capacitor network, using the exact same formula as a passive RC filter:

$f_c = \frac{1}{2 \pi R C}$

For example, if you want a cutoff of exactly 1,000 Hz and you select a standard 10kΩ resistor for R, you solve for C:
$C = \frac{1}{2 \pi \times 10000 \times 1000} \approx 15.9 \text{ nF}$

Since 15.9nF is not a standard E12 capacitor value, you would use a 15nF capacitor (yielding ~1061 Hz) or a 18nF capacitor (yielding ~884 Hz). The op-amp's gain resistors (Rf and Rg) do not affect the cutoff frequency; they only dictate the amplitude of the signal once it is in the passband.

Can I use an LM358 for audio high pass filtering?

You can, but you shouldn't if audio quality matters. The LM358 is a workhorse for DC and low-frequency sensor signals, but it suffers from severe crossover distortion at the zero-crossing point and has a relatively high noise floor. Furthermore, its 0.5 V/µs slew rate means it will struggle to accurately reproduce high-frequency audio transients, leading to intermodulation distortion. For sub-woofer crossovers (where frequencies are below 100Hz) or lo-fi guitar fuzz pedals, the LM358 is fine. For hi-fi stereo audio, vocal microphones, or studio equipment, spend the extra $0.50 and use an NE5532 or OPA2134.

What causes high-frequency ringing in my op amp filter?

Ringing or high-frequency oscillation (often in the 1MHz to 10MHz range) is usually caused by parasitic capacitance interacting with the op-amp's feedback loop, or by driving a highly capacitive load (like a long coaxial cable or an ADC sample-and-hold capacitor) directly from the output pin. The capacitive load introduces a pole in the feedback loop, destroying the phase margin and turning your amplifier into an oscillator.

The Fix: Isolate the op-amp output from the capacitive load by adding a small series resistor (typically 22Ω to 47Ω) directly at the output pin, before the feedback network tap point. This creates a zero that cancels out the parasitic pole, restoring stability without significantly affecting your audio or signal frequencies.