Altium Designer Power Integrity Filter Design Nov 2023 BNC Output

Power Filter Test Board
— C, LC, and Pi Filter Comparison

A characterisation board designed to compare three power supply filter topologies side by side — a simple capacitor filter, an LC filter, and a Pi (π) filter — on the same PCB, with switchable inputs and a BNC output for direct oscilloscope or VNA measurement. Built in Altium Designer as a hands-on tool for understanding power integrity on PCBs.

EDA Tool
Altium Designer
Power Input
5V DC or USB 3.0
Filter Topologies
C · LC · Pi (π)
Output
BNC connector
Input Selection
Mechanical switch
Output Selection
Mechanical switch

System Architecture

The board's architecture was carefully thought out to make filter comparison as clean as possible. Every filter sees the same source impedance and the same load — only the filter topology changes.

PiFilter board architecture diagram

Architecture diagram — drawn in draw.io showing the complete signal/power flow

The diagram reveals the elegant two-switch architecture:

Why Is the Direct Path Important?

Without a reference measurement (no filter), you cannot know how much attenuation each filter provides. The direct path reveals the noise floor, ripple amplitude, and spectral content of the input source itself. Every filter measurement is then compared against this baseline. This is standard practice in power integrity characterisation — always measure before and after to quantify improvement.

The Three Filter Topologies — Complete Physics Walkthrough

Each filter topology is a different arrangement of inductors and capacitors. Understanding why each one behaves differently requires understanding what inductors and capacitors actually do to AC signals.

Fundamental Physics: Reactance — How L and C Respond to Frequency

A capacitor's impedance (how much it resists current flow) decreases with increasing frequency: Z_C = 1/(2πfC). At DC (f=0), a capacitor is an open circuit. At high frequency, it's nearly a short circuit. This makes capacitors excellent at shunting high-frequency noise to ground.

An inductor's impedance increases with frequency: Z_L = 2πfL. At DC, an inductor is nearly a short circuit (just wire resistance). At high frequency, it's a high impedance. This makes inductors excellent at blocking high-frequency noise from passing through.

Low-pass filters exploit these properties: inductors block high-frequency noise in series, capacitors shunt high-frequency noise to ground in parallel.

C Filter
IN ──┬── OUT
     │
    [C]
     │
    GND

A single capacitor from the power rail to ground. The simplest possible filter.

Rolloff: −20 dB/decade above f_c = 1/(2πRC)
LC Filter
IN ──[L]──┬── OUT
          │
         [C]
          │
         GND

Series inductor + shunt capacitor. Steeper rolloff and better high-frequency rejection than C alone.

Rolloff: −40 dB/decade above f_c = 1/(2π√LC)
Pi (π) Filter
IN ─┬─[L]─┬─ OUT
    │      │
   [C1]  [C2]
    │      │
   GND   GND

Two shunt capacitors with a series inductor between them. Highest attenuation of the three.

Rolloff: −60 dB/decade above resonance
C

Stage 1: The Capacitor Filter

The single-capacitor filter is the most basic noise reduction technique. Connecting a capacitor from the power rail to ground creates a shunt path for high-frequency noise:

  • At DC: the capacitor is an open circuit — no current flows, full DC voltage reaches the load
  • At 1 MHz: Z_C = 1/(2π × 1MHz × 10µF) = 0.016Ω — the capacitor is nearly a short circuit to ground, diverting the 1 MHz noise away from the load
🔬
The RC Time Constant and Cutoff Frequency

In a real circuit, the capacitor works against the source impedance R (the wiring resistance, trace resistance, and source output impedance). Together they form an RC low-pass filter with cutoff frequency f_c = 1/(2πRC). Below f_c, signals pass through with little attenuation. Above f_c, each decade of frequency increase causes 20 dB (10×) of additional attenuation.

The critical limitation of a single capacitor filter: if the source impedance R is very low (as with a lab power supply or USB port), f_c is pushed to very high frequencies and the filter barely attenuates anything at audio/power supply frequencies. The only way to improve it without adding an inductor is to use a larger capacitor value.

ESR — the capacitor's fatal flaw at high frequency: Every physical capacitor has parasitic series resistance (ESR) and inductance (ESL). At some frequency (the self-resonant frequency, SRF), the capacitor's impedance stops decreasing and starts increasing — it now looks like an inductor. Above the SRF, the C filter stops working. The board allows this phenomenon to be directly observed by measuring filter attenuation from low frequency to hundreds of MHz.

LC

Stage 2: The LC Filter

Adding a series inductor before the shunt capacitor creates an LC filter with dramatically better performance. Now both components work together:

  • The inductor presents high impedance to high-frequency noise, blocking it from passing to the load at all
  • The capacitor provides a low-impedance shunt path to ground, diverting whatever noise gets past the inductor

These two mechanisms compound: at 10× above the cutoff frequency, the inductor's impedance is 10× higher AND the capacitor's impedance is 10× lower, giving 100× (40 dB) total attenuation per decade — versus 10× (20 dB) for a C filter alone.

Physics: LC Resonance — The Double-Edged Sword

The LC filter has a resonant frequency f_0 = 1/(2π√LC) where the inductor and capacitor exchange energy at a natural rate. At resonance, the impedance of the series combination drops to nearly zero (limited only by parasitic resistance). This creates a peak in the transfer function at f_0 — signals at the resonant frequency are actually amplified, not attenuated!

This resonant peak is visible when measuring the LC filter with a VNA or by injecting a swept-frequency signal and measuring the output. Above resonance, attenuation is −40 dB/decade. The quality factor Q of the resonance determines how sharp the peak is — a high-Q (low damping) filter has a sharp resonant peak and fast rolloff; a low-Q (high damping) filter has a more gradual transition but no peaking. Adding a damping resistor in series with the inductor reduces Q and smooths the response.

LC Filter Design Equation

f_cutoff = 1 / (2π × √(L × C)) → for L=10µH, C=10µF: f_cutoff = 1 / (2π × √(10×10⁻⁶ × 10×10⁻⁶)) = 1 / (2π × 10×10⁻⁶) = 15.9 kHz → everything above ~16 kHz is attenuated at −40 dB/decade
π

Stage 3: The Pi (π) Filter

The Pi filter adds a second shunt capacitor at the input side of the inductor, creating a three-component topology that looks like the Greek letter π (pi): capacitor–inductor–capacitor. This is the highest-performing of the three topologies, achieving −60 dB/decade rolloff.

The Pi filter's operating principle combines all three effects:

  1. C1 (input capacitor): First noise reduction stage — shunts high-frequency noise directly at the input, before it even reaches the inductor. This reduces the noise amplitude the inductor must deal with.
  2. L (series inductor): Second stage — blocks the remaining noise from passing to the output side.
  3. C2 (output capacitor): Third stage — shunts any residual noise that leaked through the inductor to ground at the output.
🔬
Why Pi and Not T? The Topology Choice

There is also a T-filter (inductor–capacitor–inductor). Pi and T filters have the same order (3rd order) and the same theoretical rolloff (−60 dB/decade). The difference is their terminal impedances:

Pi filter: shunt elements at both ends → low input and output impedance. Works best when source and load impedances are HIGH.

T filter: series elements at both ends → high input and output impedance. Works best when source and load impedances are LOW.

For power supply filtering where the source (5V supply) has low impedance and the load is typically capacitive (IC decoupling caps), the Pi filter is the correct choice — its shunt input capacitor absorbs noise from the low-impedance source, and the shunt output capacitor charges the IC's bypass capacitors.

The Pi Filter's Advantage: Input Noise Pre-Absorption

The first capacitor C1 has a subtle but important benefit: it pre-absorbs noise on the input rail before that noise induces current through the series inductor. In an LC filter, the inductor must carry the full noise current as the capacitor charges. In a Pi filter, C1 handles the initial noise spike, and the inductor only sees the residual — a much smaller current. This reduces the voltage drop across the inductor's DC resistance and improves the dynamic response to load steps.

Using the Board for Characterisation

The board's BNC output connects to an oscilloscope or vector network analyser. With a signal generator injecting noise into the input, the filter transfer functions can be plotted directly:

MeasurementInstrumentWhat It Shows
Time domain noise floorOscilloscope (AC coupling)Peak-to-peak ripple voltage on each filter output vs direct output
Frequency response (Bode plot)VNA or spectrum analyser + signal genAttenuation vs frequency — shows cutoff frequency, rolloff slope, and resonant peak of LC/Pi filters
Step responseOscilloscope + load step circuitHow quickly each filter allows the output voltage to recover after a sudden current demand — measures transient response
Source comparisonOscilloscope, switching vs USB inputWhether the DC barrel jack (from a switching adapter) or USB 3.0 has more noise — reveals the filter's effectiveness under different real-world conditions
The Value of Hands-On Measurement vs Simulation

LTSpice can simulate ideal filters perfectly. But the real board exposes effects that simulation misses: capacitor self-resonance, inductor core saturation at high current, PCB trace inductance adding to the filter's inductance, and ground plane coupling. Measuring a physical board with real instruments is the only way to verify that simulation predictions hold in practice — and to discover the parasitic effects that need to be modelled more carefully.

Altium Designer Implementation

This board was designed in Altium Designer, a professional EDA tool used in commercial electronics development. Moving from KiCad (used in the STM32 board) to Altium for this project required learning a new tool chain while applying the same fundamental design principles.

Key Altium Features Used

Component Selection for Filters

Component selection for the filter elements involved balancing several trade-offs:

ComponentKey ParameterSelection Rationale
Filter InductorsCore material, DCR, SRFFerrite core inductors chosen for their high permeability and good high-frequency performance. DCR (DC resistance) must be low to avoid voltage drop. SRF must be above the frequency range of interest.
Input/Output Caps (C filter)ESR, capacitance value, voltage ratingX5R/X7R MLCC chosen for low ESR. Voltage rating derated 2× (25V cap for 5V rail) for reliability and to keep capacitance near rated value (MLCCs lose capacitance under DC bias).
Pi Filter Caps (C1, C2)Self-resonant frequency matchingC1 and C2 can be different values — C1 (larger) provides low-frequency filtering, C2 (smaller) handles high-frequency residuals. The combination extends the effective filtering bandwidth beyond what either cap could achieve alone.
Input switchCurrent rating, contact resistanceRated well above the maximum expected current. Low contact resistance ensures the switch doesn't add significant source impedance that would change the filter's response.

Key Learnings