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
| Item | Requirement |
|---|---|
| Passband | 2.400 to 2.4835 GHz, 50 Ω in and out |
| Insertion loss | 3.0 dB or less across the passband, at room temperature |
| Return loss | 15 dB or more across the passband |
| Rejection, low side | 30 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 side | 30 dB or more from 3.30 to 4.0 GHz (NR n77, which contains n78) |
| Board | A JLCPCB FR-4 stack, or RO4350B |
| Fab | Trace 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:
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.
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:
| Board | W for 50 Ω | εeff | Loss | Qu | Qc (copper) | Qd (dielectric) |
|---|---|---|---|---|---|---|
| JLCPCB 2-layer FR-4, 0.8 mm | 1.458 mm | 3.364 | 0.00877 dB/mm | 46.5 | 274 | 56.0 |
| JLCPCB 2-layer FR-4, 1.6 mm | 2.927 mm | 3.416 | 0.00819 dB/mm | 50.2 | 520 | 55.5 |
| RO4350B, 0.762 mm | 1.620 mm | 2.837 | 0.00248 dB/mm | 150.7 | 296 | 307 |
| RO4350B, 0.508 mm | 1.071 mm | 2.817 | 0.00305 dB/mm | 122.5 | 203 | 308 |
ε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 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 | εr | h | W ± 0.02 mm | Linear sum | Root-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%.
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
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 +δ.
| Board | Stack | FBW | N | IL at f0 | Worst in band | At 2.20 GHz | At 3.30 GHz | Meets all |
|---|---|---|---|---|---|---|---|---|
| FR-4 0.8 mm | linear | 8.68% | 3 | 3.46 dB | 4.60 dB | 9.3 dB | 44.0 dB | no |
| FR-4 0.8 mm | linear | 8.68% | 5 | 7.55 dB | 11.58 dB | 29.4 dB | 88.3 dB | no |
| FR-4 1.6 mm | linear | 8.35% | 5 | 7.27 dB | 11.27 dB | 32.4 dB | 90.2 dB | no (loss) |
| RO4350B 0.508 mm | RSS | 4.79% | 3 | 2.38 dB | 3.30 dB | 31.9 dB | 61.4 dB | no (loss) |
| RO4350B 0.762 mm | linear | 5.28% | 3 | 1.75 dB | 2.51 dB | 28.5 dB | 58.6 dB | no (2.20 GHz) |
| RO4350B 0.762 mm | linear | 5.28% | 4 | 2.73 dB | 4.39 dB | 45.5 dB | 85.6 dB | no (loss) |
| RO4350B 0.762 mm | RSS | 4.75% | 3 | 1.95 dB | 2.76 dB | 32.1 dB | 61.7 dB | yes |
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.

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:
| Frequency | S21 |
|---|---|
| 2.200 GHz | −33.92 dB |
| 2.3841 GHz (ripple-band edge) | −0.100 dB |
| 2.400 GHz | −0.045 dB |
| 2.4414 GHz | 0.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
Discussion
No comments yet. Start the thread with a measurement, a correction, or a worked example.