Part 1 of 6 · Design a 2.45 GHz hairpin band-pass filter

Published Nov 28, 2026 · Last updated Nov 28, 2026 · 10 min · IndieRF

Hairpin Bandpass Filter Design: 3 Poles on RO4350B

Three resonators at 0.1 dB ripple, 116 MHz wide on 30 mil RO4350B, pass a 2.4 GHz Wi-Fi filter spec with 2.76 dB worst in-band loss and 32.1 dB at 2.20 GHz. On FR-4 a resonator's unloaded Q of about 50 puts the loss at 4.5 dB or more.

For a 2.400 to 2.4835 GHz band-pass filter with 15 dB return loss, 3.0 dB of loss and 30 dB of rejection at 2.20 and 3.30 GHz, build three resonators with 0.1 dB Chebyshev ripple, centred at 2.4414 GHz and 116 MHz wide, on 0.762 mm (30 mil) RO4350B. The worst loss in the band comes out at 2.76 dB and the rejection at 2.20 GHz at 32.1 dB, with the board's tolerances included. FR-4 cannot do it: a resonator on FR-4 has an unloaded Q of about 50, which costs 4.5 dB or more in the band before the filter reaches 30 dB at 2.20 GHz.

This is Part 1 of six. Part 1 picks the order, bandwidth and board; Part 2 turns them into coupled hairpin resonators; Part 3 optimizes the hairpin in the schematic; Part 4 lays it out in Planar EM; Part 5 puts the EM result back into the schematic; Part 6 builds and measures it. You need S-parameters and the Smith chart, and nothing about filters.

The requirements

ItemRequirement
Passband2.400 to 2.4835 GHz, 50 Ω in and out
Insertion loss3.0 dB or less across the passband, at room temperature
Return loss15 dB or more across the passband
Rejection, low side30 dB or more at 2.20 GHz and below (the top of the LTE band 66 downlink, which contains bands 1 and 4)
Rejection, high side30 dB or more from 3.30 to 4.0 GHz (NR n77, which contains n78)
BoardA JLCPCB FR-4 stack, or RO4350B
FabTrace and space at or above the fab's published minimum

These are a starting spec, not a customer's. Part 5 comes back to them once the layout's yield is known.

Return loss sets the ripple

A Chebyshev filter trades a little ripple in the passband for a steeper skirt outside it. In a lossless filter, power that does not come out of port 2 comes back out of port 1, so the S21 ripple and the worst return loss are the same number in two units:

ripple=−10log⁡10(1−10−RL/10)\text{ripple} = -10\log_{10}\left(1 - 10^{-\text{RL}/10}\right)

15 dB of return loss allows 0.14 dB of ripple. Take 0.1 dB, the next standard table value down. Its ripple peaks reflect at 16.43 dB, which leaves the layout about 1.4 dB of return loss to spend on everything the prototype doesn't know about. Return loss, VSWR and mismatch loss puts the units side by side.

The g-values: the filter before it has a frequency

Every Chebyshev filter starts as a normalised low-pass ladder: a 1 Ω, 1 rad/s prototype whose element values are the g-values. A band-pass filter scales each one into a resonator at the centre frequency. For three resonators and 0.1 dB ripple they are 1.0316, 1.1474 and 1.0316, with 1 for the load. The schematic's Insert Filter prints them as it designs the filter. Matthaei, Young and Jones Table 4.05-2(a) gives the same four numbers.

Part 2 reads the coupling between resonators and the feed's external Q straight from them, and the loss estimate below sums them.

Insert Filter at N = 3, 0.1 dB, 2441.4 MHz and 116 MHz: the g-values, then the placed parts. Open Insert Filter with these values

The board sets the loss

Loss in a narrow filter comes from how much energy each resonator burns per cycle, its unloaded Q (Qu). A half-wave resonator made of line has the line's Qu, β/(2α): the phase constant over twice the attenuation. Trace Studio prints it under the loss for any line you draw. Here is a 50 Ω microstrip at 2.4414 GHz on each candidate board, 1 oz copper, OSP finish and no solder mask over the filter:

BoardW for 50 ΩεeffLossQuQc (copper)Qd (dielectric)
JLCPCB 2-layer FR-4, 0.8 mm1.458 mm3.3640.00877 dB/mm46.527456.0
JLCPCB 2-layer FR-4, 1.6 mm2.927 mm3.4160.00819 dB/mm50.252055.5
RO4350B, 0.762 mm1.620 mm2.8370.00248 dB/mm150.7296307
RO4350B, 0.508 mm1.071 mm2.8170.00305 dB/mm122.5203308

εeff, the effective permittivity, is what the wave on a microstrip actually sees, part substrate and part air; microstrip effective permittivity has the long version. The Q columns add like parallel resistors, 1/Qu = 1/Qc + 1/Qd, so the smaller one wins. On FR-4 the dielectric wins: tanδ 0.02 holds Qd near 55 whatever the copper does, and a thicker board with nearly twice the copper Q only lifts Qu from 46.5 to 50.2. RO4350B is the opposite, with copper and dielectric about equal and Qu at 151. Pozar's Qd formula agrees with Trace Studio's to within 1.3% on all four boards.

The same 50 Ω line on RO4350B, then on 0.8 mm FR-4: FR-4 burns 3.5 times more per centimetre at 2.4 GHz. Open the RO4350B line

The schematic's microstrip substrate gives a lower Qu for the same line, 134, because it applies the foil's roughness to all of the copper where Trace Studio applies it only to the strip's underside and the ground. Smooth, the two agree to 1.4%. The difference matters below, because this filter's loss margin is thin.

Tolerance sets the bandwidth

The fab will move the filter. A resonator of fixed length shifts by Δf/f0 = −Δεeff/(2εeff), so every tolerance on εr, height and etched width becomes a fraction of the centre frequency. Each row below is a fresh field solve at the shifted value:

BoardεrhW ± 0.02 mmLinear sumRoot-sum-square
FR-4 0.8 mm (εr ± 0.2 assumed, h ± 0.1 mm)±2.00%+0.45 / −0.55%±0.07%2.61%2.07%
FR-4 1.6 mm (h ± 10%)±2.03%+0.33 / −0.39%±0.03%2.46%2.07%
RO4350B 0.762 mm (εr ± 0.05, h ± 0.051 mm)±0.60%+0.24 / −0.27%±0.06%0.93%0.66%
RO4350B 0.508 mm (h ± 0.038 mm)±0.60%+0.28 / −0.31%±0.09%1.00%0.68%

The RO4350B tolerances are from the Rogers RO4000 data sheet; the FR-4 thickness and width tolerances are from JLCPCB's capabilities page. JLCPCB prints no εr tolerance for its FR-4, so ±0.2 is an assumption, and it dominates those rows.

To keep 2.400 to 2.4835 GHz inside the ripple band for a shift of ±δ, the design edges move out to 2.400/(1 + δ) and 2.4835/(1 − δ). That is the bandwidth's job: wide enough that the band you need stays inside it at either end of the spread. Fractional bandwidth (FBW) is that design bandwidth over the centre frequency, and FR-4's 2% spread forces it past 8%.

RO4350B at a fixed width, εr typed as 3.71 and then 3.61: ±0.05 in εr moves the filter ±15 MHz. Open the RO4350B line (untick Lock to 50 Ω so the width holds)

The trade, and the pick

Two estimates price each candidate. The loss at the centre of a Chebyshev filter with resonators of unloaded Q is

IL(f0)≈4.343∑giFBW⋅Qu dB\text{IL}(f_0) \approx \frac{4.343 \sum g_i}{\text{FBW} \cdot Q_u}\ \text{dB}

so loss grows with every resonator you add (Σg) and with every bit of bandwidth you take away. Rejection comes from the lossless Chebyshev response, slid toward the stop band by the tolerance. The worst in-band loss is the lossy prototype over 2.400 to 2.4835 GHz with the response slid by −δ, 0 and +δ.

BoardStackFBWNIL at f0Worst in bandAt 2.20 GHzAt 3.30 GHzMeets all
FR-4 0.8 mmlinear8.68%33.46 dB4.60 dB9.3 dB44.0 dBno
FR-4 0.8 mmlinear8.68%57.55 dB11.58 dB29.4 dB88.3 dBno
FR-4 1.6 mmlinear8.35%57.27 dB11.27 dB32.4 dB90.2 dBno (loss)
RO4350B 0.508 mmRSS4.79%32.38 dB3.30 dB31.9 dB61.4 dBno (loss)
RO4350B 0.762 mmlinear5.28%31.75 dB2.51 dB28.5 dB58.6 dBno (2.20 GHz)
RO4350B 0.762 mmlinear5.28%42.73 dB4.39 dB45.5 dB85.6 dBno (loss)
RO4350B 0.762 mmRSS4.75%31.95 dB2.76 dB32.1 dB61.7 dByes

The 2.20 GHz requirement sits close under the band, so it is the one that sets the order. On this board each extra resonator buys about 17 dB at 2.20 GHz and costs about 1 dB at the centre, which makes the lowest order that clears 2.20 GHz the one with the least loss. FR-4 loses both ways: the wide bandwidth its tolerance needs pushes the skirt toward 2.20 GHz, and the extra resonators that would pull it back each cost more than a dB.

The pick: N = 3, 0.1 dB, f0 2.4414 GHz, 116 MHz (FBW 4.75%), RO4350B 0.762 mm. Its ripple-band edges are 2.3841 and 2.5001 GHz.

It passes only with the three tolerances stacked root-sum-square, treating εr, thickness and etch as independent. Stacked linearly, N = 3 reaches 28.5 dB at 2.20 GHz and N = 4 loses 4.4 dB in the band. The loss margin is thin too: 2.76 dB against 3.0 with Trace Studio's Qu of 151, and 3.06 dB with the schematic substrate's 134. I take the pick anyway, because the thinner board is worse on loss and a fourth resonator is worse by more than a dB, and Part 3's Monte Carlo prices the risk properly.

S21 and S11 of the N = 3, 0.1 dB, 2.4414 GHz, 116 MHz prototype from 2.0 to 3.6 GHz, lossless and with Qu 151, with the rejection and loss limits shaded

The orange curve is the same prototype with Qu 151 on every resonator, about 2 dB down at the centre. A lumped ladder with Qu on each resonator gives 1.931 dB there, against the formula's 1.947 dB.

The lumped prototype, and why nobody builds it

Insert Filter places the ideal filter: two shunt L‖C resonators and one series L+C, two ports, a sweep and goals. The placed sheet has the S21 and S11 plot and its goals. The engine, the closed form and scipy's cheby1 agree to 5e-6 dB:

FrequencyS21
2.200 GHz−33.92 dB
2.3841 GHz (ripple-band edge)−0.100 dB
2.400 GHz−0.045 dB
2.4414 GHz0.000 dB
2.4835 GHz−0.045 dB
2.5001 GHz (ripple-band edge)−0.100 dB
3.300 GHz−62.26 dB

These are lossless numbers with no tolerance shift, which is why 2.20 GHz reads 33.9 dB here and 32.1 dB in the trade table. The placed sweep stops at 2.27 and 2.63 GHz, so to see 2.20 and 3.30 GHz on the plot, edit the sweep to 2.0 to 3.6 GHz.

Now look at the parts. Each shunt resonator is 150 pH in parallel with 28.3 pF, and the series one is 78.7 nH with 0.054 pF. Nobody sells a 150 pH inductor or a 0.054 pF capacitor, and at 2.44 GHz the pads and vias of any real part would swamp those values; Insert Filter says so in its yellow line. The narrow bandwidth is the cause: a 4.75% filter needs resonators with a very high or very low L/C ratio, and the extremes fall off the end of the parts catalogue.

A trace is a transmission line once it is longer than about λ/10; shorter than that, a lumped model is close enough. A resonator here has to be about half a wavelength long, so it is a line and should be designed as one. The prototype stays useful as the target: its response is what every later step is measured against.

Part 2 builds the three resonators from line. It folds each half-wave resonator into a U, a hairpin, and sets the gaps between them and the feed taps from the g-values above, using Planar EM to measure the coupling.

References

  • G. Matthaei, L. Young and E. M. T. Jones, Microwave Filters, Impedance-Matching Networks, and Coupling Structures, Artech House, 1980: Table 4.05-2(a), Chebyshev g-values.
  • J.-S. Hong and M. J. Lancaster, Microstrip Filters for RF/Microwave Applications, Wiley, 2001: coupled-resonator design and hairpin filters.
  • D. M. Pozar, Microwave Engineering, 4th ed., Wiley, 2012: eq. 3.198, the dielectric Q of a microstrip line.
  • Rogers Corporation, RO4000 Series Laminates data sheet: RO4350B εr 3.48 ± 0.05 (process), 3.66 (design), thickness tolerances.
  • JLCPCB, PCB Manufacturing Capabilities: FR-4 εr 4.5 for 2-layer boards, thickness and track-width tolerances.

Questions? Contact

Was this helpful?

Discussion

No comments yet. Start the thread with a measurement, a correction, or a worked example.