r/rfelectronics • u/Any-Research-88 • Jun 26 '26
My first microstrip filter




Today I finished measuring my first microstrip circuit I've designed and made. It was intended to be an interdigital microstrip 5th order Chebyshev bandpass filter with 1,0-1,2 GHz passband. The first thing I did was fitting my model parameters, I made a test board from FR4 with 3 different lenght 50 ohm open stubs with identical geometry at the edge SMA connectors then measured S11 for each and exported the values. I built the same circuits with the same lenght differences in qucs studio and measured phase differences between the different lenght stubs.(my tought was that the errors in the connections cancel via measuring phase differences not absolute phases). I tuned the er value in qucs untill I got the least error from the real measurments, the er value was 4,66. I calculated the correct dimensions for the desired response with Marki microwave-s online tool. I built the geometry in Sonnet lite and ran a few simulations, the online tools dimensions were almost perfect on first try. When I replaced the ideal grounded edges to vias, the positions needed a bit of fine tuning, the resonators needed to be a few mm shorter. I copied the dimensions from the EM simulation and made the PCB blueprint in EasyEDA then I made the PCB. When I made the VNA measurments the bandwidth was within the margin of error, but the corner frequencies were about 50 MHz lower than intended. I blame the substrate difference, because the phase measurment test board was a left-over piece from a different FR4 board, probabbly also different manufacturer. The insertion loss was not the best, but It's the limit of FR4, they're mostly caused by dielectric losses, not mismatch. Was my design methodology correct? Forgive me if I made some mistakes, I have no formal education in electronics or RF.


2
u/what_the_rush Jun 27 '26
Which CNC are you using? And how did you plate the vias?
3
u/redneckerson1951 Jun 27 '26
Peel some copper foil off another piece of FR-4 or buy some copper foil at Hobby-Lobby. You want a strip about the length of half the board's length, bend it so it wraps the board edge connecting the top and bottom copper grounds. I know you have ground vias, but DIY ground vias are notorious for being problem children. When is ground not a ground? When it is at RF.
One thing that bothers me is the appearance of the resonances below the passband, If you place the butt end of a pair of stainless steel tweezers or stainless steel screw just above any resonator, do any of the resonances below the passband change?
2
u/SumOnlineDude Jun 28 '26 edited Jun 28 '26
I agree with you, substrate change and the milling process could be making the substrate ever so slightly thinner which might shift your frequency. Measure and go back to simulation with the measured thickness if it’s closer than that’s it. Tip: You could be adding inductance in the via but since you simulated it should be ok maybe make them bigger so less inductance and less change from ideal design. Also how do you control the thickness of the copper plating? Side note: no background in RF my ass.
5
u/PoolExtension5517 Jun 26 '26
I like the approach you took to verify the dielectric constant of the material. My first thought is always the grounding scheme for this type of structure. When I look at your finished PWB, it appears that your SMA connector doesn’t connect to ground on the top layer. i would take some copper tape and bridge top ground to the connector flange. I also see that the grounding vias around the edge of the board aren’t consistently located with respect to the stub-ground interface. Where “ground” is for the stub is critical in this topology. My guess is this is where your problem lies. I would put copper tape along the edges and run a continuous bead of solder around the perimeter of the board, top and bottom. If that doesn’t get you closer to your expectation, I would consider drilling some additional ground bias at the base of the stubs to reduce inductance to ground. I’ve used this topology in a stripline configuration and ground via location is absolutely critical and you have to make sure your model matches your physical hardware exactly.
5
u/Pappa_Alpha Jun 26 '26 edited Jun 26 '26
60 percent of the time it's always ground related issues every time. Also, nice job!
8
u/[deleted] Jun 26 '26
[removed] — view removed comment