Pi Filter Attenuation Calculator

Enter inductance, capacitance and ripple frequency to estimate attenuation.

How it is calculated

The tool models the L-C section of the pi filter, the inductor and the second capacitor, fed with the ripple already on the first (reservoir) capacitor. With L in henries and C in farads (not mH or µF), the resonant frequency is f₀ = 1 / (2π·√(L·C)). The section's response, as for any series R-L-C with the output taken across C, is H = 1 / ((1 − u) + j·2ζ·√u), with u = (f/f₀)² and ζ = (R/2)·√(C/L), where R is the optional series resistance of the inductor (0 if left at 0). The reduction is A = 10·log10((1 − u)² + 4ζ²u) dB. Far above f₀ that approaches 40·log10(f/f₀), the 40 dB per decade of two poles. Below about 1.41 f₀ the figure is negative, meaning the section amplifies the ripple, and a note says so; an undamped section exactly at f₀ has no finite figure and shows no result. It also shows the ratio f / f₀. L, C and f must be above zero. The first capacitor, the rectifier and the load are not modeled.

Worked example

A supply filter uses L = 0.01 H (10 mH) and a second capacitor C = 0.001 F (1000 µF) to clean up 120 Hz ripple, with no series resistance. First, √(L·C) = √0.00001 = 0.003162, so f₀ = 1 / (2π × 0.003162) = 50.3 Hz. The ratio is 120 / 50.3 = 2.38, so u = 2.38² = 5.68. The reduction is 20 × log10(5.68 − 1) = 20 × log10(4.68) = 13.4 dB: the ripple on the output is about 1/4.7 of the ripple on the first capacitor. The straight-line 40 dB per decade estimate would have said 15.1 dB. At 100 Hz ripple (50 Hz mains) the same parts give only 9.4 dB.

Try this example →

Common mistakes

  • Typing millihenries or microfarads as if they were henries and farads. 10 mH must be 0.01 and 1000 µF must be 0.001, otherwise the cutoff is off by orders of magnitude.
  • Entering the mains frequency (50 or 60 Hz) instead of the ripple frequency. A full-wave rectifier produces ripple at twice the mains frequency, 100 or 120 Hz.
  • Choosing L and C with f₀ close to the ripple frequency. Near f₀ the section resonates and makes the ripple larger; the tool shows a negative figure and a note.
  • Entering the first capacitor as C. The formula uses the second, output capacitor; the first one sets how much ripple there is to begin with.
  • Reading 13.4 dB as a 13 times reduction. Voltage ratio is 10dB/20, so 13.4 dB is about 4.7 times.

Sources

About this calculator

A pi filter (named for its schematic resemblance to the Greek letter π) is a capacitor, an inductor and a second capacitor, used to smooth the ripple out of a rectified power supply or to reject unwanted frequencies in RF circuits. In a power supply the first capacitor is the reservoir the rectifier charges; the ripple left on it is then reduced by the series inductor and the second capacitor. This tool works out that reduction: the L-C section is a second-order low-pass with resonant frequency f₀ = 1/(2π√(LC)), and its exact response is H = 1 / ((1 − u) + j·2ζ√u), where u = (f/f₀)² and ζ = (R/2)√(C/L) for a series resistance R. Well above f₀ the reduction approaches 40 dB per decade, but close to it the exact figure is lower (13.4 dB at 2.38 f₀, not the 15.1 dB of the straight line), and near f₀ the section amplifies the ripple instead.

Power-supply designers use this kind of estimate to size L and C so that the ripple at twice the mains frequency (100/120 Hz after full-wave rectification) is knocked down to an acceptable level. It does not model the first capacitor, the rectifier or the load: how much ripple there is on the first capacitor depends on those, and a heavy load adds damping the tool only sees through R.

Was this helpful?

You can pick up to 3 reactions.

Note from the editors

Be sure of the ripple frequency before judging the result. With 0.01 H and 0.001 F, a 120 Hz ripple is cut by 13.4 dB, but 100 Hz, as from a full-wave rectifier on 50 Hz mains, gets only 9.4 dB. The tool gives the exact response of the L-C section after the first capacitor, so a pair of parts tuned too close to the ripple shows up as a negative figure, a gain. What mains frequency and rectifier type are you designing around?

Comments

  • Be the first to comment.

Popular calculators

All Calculators