Filter tuning from S-parameters: what to turn first

Drop a filter's .s2p and Diagnose reads its coupling matrix, sets it beside the filter it should be, and lists what to turn, in order, by how much. On the hairpin tutorial's final EM layout, the file's notch is at 2844.00 MHz, read from |S21| beyond the fit window; the target puts the transmission zero at 2920.00 MHz (76.00 MHz low). Against the same filter with the matrix's equivalent zero: k12 is weak by 1.0% of its target; resonator 3 is 9.18 MHz high.

Diagnose

Check the input.Type the number of resonators in the file.

or drop one here. It stays in this browser.
The filter the file should be

The bandwidth is the ripple band, edge to edge at the return loss. A tapped or cross-coupled filter has its zeros typed here; the count must match the file or it is refused.

Coupling matrix, k and Qe for this design

A diagnosis or a number looks wrong?

The worked case: the hairpin tutorial's final layout

The hairpin tutorial's final layout (arms 16.35 and 16.45 mm, gaps 1.10 mm, taps 2.65 mm), one arm step shorter than where the space-mapping loop stopped, solved in Planar EM. Read against the tutorial's design, the file's notch is at 2844.00 MHz, read from |S21| beyond the fit window; the target puts the transmission zero at 2920.00 MHz (76.00 MHz low). Against the same filter with the matrix's equivalent zero: k12 is weak by 1.0% of its target; resonator 3 is 9.18 MHz high.

Zero 1: declared at 2920.00 MHz; the file's notch is at 2844.00 MHz (−67.2 dB), read from |S21| beyond the fit window (−76.00 MHz, −1.125 in λ), moved.

  1. Move the transmission zero up by 76.00 MHz, from the file's notch at 2844.00 MHz to 2920.00 MHz. The cross coupling, or the tap position on a tapped design, places it together with resonators 1 to 3: set that first, then retune resonators 1 to 3, and diagnose again.
  2. Strengthen k12 by 1.0% of its target: from 0.0426 to 0.0430.
  3. Strengthen k23 by 1.0% of its target: from 0.0426 to 0.0430.
  4. Tune resonator 3 down by 9.18 MHz, from 2448.12 to 2438.94 MHz.
  5. Tune resonator 1 down by 9.18 MHz, from 2448.12 to 2438.94 MHz.
  6. Tune resonator 2 down by 5.90 MHz, from 2458.51 to 2452.62 MHz.

The file misses the requirement by 0.07 dB on insertion loss at 2.483 GHz. The case page has the mask report, the k and Qe, the group-delay targets and both matrices.

Why couplings first, then resonators

A moved transmission zero first, then the couplings, then the resonators, each by the size of its error in the normalised matrix (|ΔM|), not by percent, because a small cross coupling's percent magnifies its error. Turning a coupling screw pulls the resonators beside it, so their frequencies are set last. Then measure again and diagnose the new file. Each step names the entry, which way and how far, in MHz for a resonator and in percent for a coupling, ranked by how much each error moves the response. A transmission zero in another place moves a cross-coupled section as one, so it comes before either. An entry under three times its fit uncertainty is left alone: the file cannot tell it from right.

The group-delay targets are Ness's method for tuning on the bench: short every resonator, bring them in one at a time from port 1, and set each until S11's group delay at the centre reads its target. The target matrix itself is on the coupling matrix calculator.

Coupling matrix extraction examples: ten filters diagnosed

FileVerdict
2.45 GHz Hairpin Filter Tuning: Final EM Layout DiagnosedHairpin, solved in Planar EM · EM-checkedThe file's notch is at 2844.00 MHz, read from |S21| beyond the fit window; the target puts the transmission zero at 2920.00 MHz (76.00 MHz low). Against the same filter with the matrix's equivalent zero: k12 is weak by 1.0% of its target; resonator 3 is 9.18 MHz high.
Hairpin Bandpass Filter Diagnosis: First EM PassHairpin, solved in Planar EM · EM-checkedThe file's notch is at 2801.00 MHz, read from |S21| beyond the fit window; the target puts the transmission zero at 2920.00 MHz (119.00 MHz low). Against the same filter with the matrix's equivalent zero: the input coupling is weak by 4.4% of its target; resonator 1 is 11.07 MHz low.
Hairpin Bandpass Filter Diagnosis: Third EM PassHairpin, solved in Planar EM · EM-checkedThe file's notch is at 2830.00 MHz, read from |S21| beyond the fit window; the target puts the transmission zero at 2920.00 MHz (90.00 MHz low). Against the same filter with the matrix's equivalent zero: the input coupling is weak by 1.5% of its target; resonator 3 is 2.35 MHz high.
Hairpin Filter Diagnosis on RO4350B LoPro CopperHairpin, solved in Planar EM · EM-checkedThe file's notch is at 2838.00 MHz, read from |S21| beyond the fit window; the target puts the transmission zero at 2920.00 MHz (82.00 MHz low). Against the same filter with the matrix's equivalent zero: k23 is weak by 0.9% of its target; resonator 3 is 4.55 MHz high.
LC Bandpass Filter Tuning Example: 2.4 GHz Unit 3LC band-pass, five simulated builds · Circuit-checkedThe input coupling is strong by 0.6% of its target; resonator 1 is 39.66 MHz high.
LC Bandpass Filter Tuning Example: 2.4 GHz Unit 5LC band-pass, five simulated builds · Circuit-checkedThe input coupling is weak by 0.6% of its target; resonator 3 is 23.64 MHz low.
LC Bandpass Filter Tuning Example: 2.4 GHz Unit 2LC band-pass, five simulated builds · Circuit-checkedResonator 2 is 8.52 MHz high; the output coupling is strong by 0.3% of its target.
4-Pole Quadruplet Filter Diagnosis: Known Detuning Read BackCross-coupled, detuned by known amounts · Synthesisedk23 is strong by 5.0% of its target; resonator 3 is 1.19 MHz low.
6-Pole Cross-Coupled Filter Diagnosis: Known Detuning Read BackCross-coupled, detuned by known amounts · SynthesisedThe input coupling is weak by 4.0% of its target; resonator 5 is 2.00 MHz high.
Measured 6-Pole Filter: Coupling Matrix Extraction and DiagnosisMeasured, published data · Measured (published data)The input coupling is strong by 11.9% of its target; resonator 4 is 4.83 MHz high. The zero the target puts at 2055.30 MHz lies beyond the fit window, where the sweep shows no notch for it, so its place is not checked.

Want your filter type worked here? Say which.

Was this helpful?