Фильтр на индуктивных диафрагмах
Полосовой фильтр Чебышёва, расчёт по Маттею
| Параметр | Значение |
|---|---|
| Раздел библиотеки | Волноводы и узлы |
| Ядро | PlanarRT H (planarrt_h.exe) |
| Источник | Маттей, Янг, Джонс; EIA RS-261, IEC 60153-2, ГОСТ 20900-75 |
| Сетка | 359 × 54 узлов, шаг 0,47625 мм |
| Время счёта задания | 25 нс модельного времени, шагов: 31 |
| Длительность прогона | около 57 с на шестиядерном ПК, без вывода поля |
Постановка задачи
Полосовой фильтр из цепочки полуволновых резонаторов, связанных индуктивными диафрагмами. Размеры считаются по классической методике Маттея: прототип Чебышёва -> инверторы сопротивления -> реактивности диафрагм -> ширины окон и длины резонаторов. Весь расчёт — в паспорте.
Методика предполагает бесконечно тонкие диафрагмы; ядро считает реальные, поэтому полоса немного сдвинется — ровно так выглядит настройка реального фильтра.
- Расчёт по Маттею в приближении бесконечно тонких диафрагм. У диафрагм толщиной 0.9525 мм на сетке полоса ядра уходит ВВЕРХ примерно на 3 %, а согласование в полосе хуже расчётного (проверено прогоном: для умолчаний полоса 10.05-10.55 ГГц вместо 9.75-10.25). Дальше фильтр настраивают — удлиняют резонаторы и подбирают окна; это и есть учебная задача.
Теоретические сведения
В прямоугольном волноводе шириной основная волна не зависит от координаты вдоль узкой стенки, поэтому задача двумерна и решается в плоскости H ядром PlanarRT H. Поле существует выше критической частоты, а длина волны в волноводе и волновое сопротивление зависят от частоты:
Результат расчёта — матрица рассеяния , где и — амплитуды падающей и отражённой волн на входах. Для устройства без потерь столбец матрицы нормирован: . Это первая проверка любого волноводного расчёта.
Полосовой фильтр собран из трёх полуволновых резонаторов, связанных индуктивными диафрагмами. Размеры получены по методике Маттея, Янга и Джонса: чебышёвский прототип с , , для пульсаций 0,1 дБ пересчитывается в инверторы сопротивления, затем в реактивности диафрагм и в длины резонаторов:
Здесь — относительная полоса в волноводных длинах волн. Методика предполагает бесконечно тонкие диафрагмы.
Паспорт образца. Значения, которые TPL Designer вычисляет по формулам для параметров по умолчанию.
| Величина | Значение |
|---|---|
| Стандарт | WR-90 / R100 (EIA / IEC) |
| Сечение a x b | 22.86 x 10.16 мм |
| Рабочая полоса | 8.2 - 12.4 ГГц |
| Отсечка H10 / H20 | 6.557 / 13.11 ГГц |
| Полоса пропускания | 9.75 - 10.25 ГГц, пульсации 0.1 дБ |
| Прототип g1...g3 | 1.032, 1.147, 1.032 |
| Окно 1 | 10.31 мм (X/Z0 = 0.423) |
| Окно 2 | 6.437 мм (X/Z0 = 0.129) |
| Окно 3 | 6.437 мм (X/Z0 = 0.129) |
| Окно 4 | 10.31 мм (X/Z0 = 0.423) |
| Резонатор 1 | 16.84 мм |
| Резонатор 2 | 18.26 мм |
| Резонатор 3 | 16.84 мм |
Создание файла задания
Образец уже встроен в TPL Designer: скачивать ничего не нужно. Выполните шаги по порядку.
- Запустите TPL Designer. На стартовом экране в карточке «Взять образец» нажмите «Открыть библиотеку».
- Слева выберите раздел «Волноводы и узлы» и щёлкните в галерее плитку «Фильтр на индуктивных диафрагмах». Справа откроется карточка образца с паспортом и параметрами.

- Параметры оставьте по умолчанию: все числа на этой странице получены именно для них. Изменённые значения можно сбросить кнопкой «Вернуть умолчания».
- Нажмите «Открыть в редакторе». Задание откроется в мастере из пяти разделов, список которых находится слева.
- Откройте раздел «Геометрия». На холсте показано то, что посчитает ядро: металлические стенки, порты, диэлектрик или плазма. Зелёный значок отмечает активный порт, красный — пассивный. Двойной щелчок по объекту откроет его свойства.

- Если хотите посмотреть поле в FieldView, откройте раздел «Вывод данных» и отметьте «Выгружать топологию (файл .tt)» и «Выгружать поля (файлы .ex, .ey, .hz)», вариант «только на первом шаге». Запись поля замедляет счёт в разы, поэтому в образцах она выключена, если задание не требует её само.
- Откройте раздел «Проверка». Слева показана сводка расчёта, справа текст файла задания, а полоса внизу сообщает, что замечаний нет.

- Нажмите «Создать файл задания» и выберите пустую папку. В ней появятся файлы:
filter.tpl,filter_step.h.
Запуск расчёта
- Запустите программу PlanarRT H (
planarrt_h.exe). - Нажмите
Открыть или Ctrl+Oи выберите файлfilter.tplв созданной папке. Если в строке состояния появилосьШаг:1;Error:no, задание прочитано верно. - Нажмите
Запуск или F5. Ядро посчитает все шаги задания (31), на шестиядерном ПК это занимает около 57 с. - Дождитесь надписи «Готово» в строке состояния.
Ядро дописывает файл
.s, а не перезаписывает его. Перед повторным запуском удалите старый файл.s, иначе старые точки смешаются с новыми.
Просмотр результатов
Матрица рассеяния. Нажмите
Показать S-матрицу: откроется TMCGROUT с кривой первого элемента. Он показывает КСВН; чтобы увидеть модули, нажмите Ctrl+H и выберите «Шкала Y» → «|S|», а другие элементы добавьте через Ctrl+D.

Сигналы на портах. Нажмите
Показать выходной сигнал: откроется TMCROS с файлом .t.

Поле. Если вы включили вывод поля на шаге 6, нажмите
Показать поле и топологию: откроется FieldView. Анимацию он сохраняет командой экспорта.
Результаты




Числа расчёта: значения на краях диапазона, в середине и в точке наилучшего согласования.
| Частота, ГГц | |S11|, дБ | |S21|, дБ |
|---|---|---|
| 9 | 0 | -54,08 |
| 10 | -0,82 | -7,63 |
| 10,13 | -8,6 | -0,65 |
| 11 | -0,02 | -22,89 |
Анимация поля
Разбор результатов
Фильтр работает, но не в расчётной полосе 9,75–10,25 ГГц (она отмечена на графике): полоса ядра приходится примерно на 10,05–10,55 ГГц, то есть выше на 3 %, а лучшее согласование в ней −8,6 дБ на 10,13 ГГц при пульсациях 0,1 дБ в расчёте. Вне полосы затухание велико: −54,1 дБ на 9 ГГц и −22,9 дБ на 11 ГГц. Причина сдвига — диафрагмы конечной толщины 0,95 мм: они электрически отличаются от тонких, которые заложены в методике. Это обычная картина: настройка фильтра начинается как раз с такого первого прохода, а дальше удлиняют резонаторы и подбирают окна. Баланс мощности 0,9995–1,0003 показывает, что счёт установился. На анимации поле на средней частоте свипа заперто в резонаторах.
Файл задания
Этот текст TPL Designer показывает в разделе «Проверка». Файл записан в кодировке CP1251.
filter.tpl
#TMC_RT_H
! Задание сгенерировано TPL Designer.
! Фильтр Чебышёва 3-го порядка на индуктивных диафрагмах: f0 = 10 ГГц, полоса 5 %. Волновод WR-90 / R100.
! Ядро: tmc_rth (H-мода)
! Перед прогоном удалить filter.s -- дописывается, а не перезаписывается.
#include filter_step.h
filterstep 9.0; filter_f9; filter;
filterstep 9.067; filter_f9p067; filter;
filterstep 9.133; filter_f9p133; filter;
filterstep 9.2; filter_f9p2; filter;
filterstep 9.267; filter_f9p267; filter;
filterstep 9.333; filter_f9p333; filter;
filterstep 9.4; filter_f9p4; filter;
filterstep 9.467; filter_f9p467; filter;
filterstep 9.533; filter_f9p533; filter;
filterstep 9.6; filter_f9p6; filter;
filterstep 9.667; filter_f9p667; filter;
filterstep 9.733; filter_f9p733; filter;
filterstep 9.8; filter_f9p8; filter;
filterstep 9.867; filter_f9p867; filter;
filterstep 9.933; filter_f9p933; filter;
filterstep 10.0; filter_f10; filter;
filterstep 10.067; filter_f10p067; filter;
filterstep 10.133; filter_f10p133; filter;
filterstep 10.2; filter_f10p2; filter;
filterstep 10.267; filter_f10p267; filter;
filterstep 10.333; filter_f10p333; filter;
filterstep 10.4; filter_f10p4; filter;
filterstep 10.467; filter_f10p467; filter;
filterstep 10.533; filter_f10p533; filter;
filterstep 10.6; filter_f10p6; filter;
filterstep 10.667; filter_f10p667; filter;
filterstep 10.733; filter_f10p733; filter;
filterstep 10.8; filter_f10p8; filter;
filterstep 10.867; filter_f10p867; filter;
filterstep 10.933; filter_f10p933; filter;
filterstep 11.0; filter_f11; filter;
#EOFfilter_step.h
! ==========================================================================
! filter_step.h — макроопределения шагов расчёта.
! Подключается строкой #include filter_step.h и должен лежать РЯДОМ с .tpl
!
! ДВА бэкслеша в конце строки = "текст макроса продолжается ниже".
! У ПОСЛЕДНЕЙ строки макроса переноса НЕТ — это признак конца.
! ==========================================================================
#define filterstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
ANGLE_UNIT radian;\\
FREQ_UNIT GHz;\\
LONG_UNIT mm;\\
TIME_UNIT ns;\\
DELTA 0.47625;\\
TIME 0.; 25.0;\\
X_MIN 0.0;\\
X_MAX 170.97375;\\
Y_MIN 0.0;\\
Y_MAX 25.7175;\\
FREQ Freq__;\\
#END_PARM\\
#TOPOLOGY\\
BLOCK 1;\\ ! волновод: нижняя стенка
RECT_STAT METAL; 0.0; 170.97375; 0.9525; 1.42875;\\
END_B\\
BLOCK 2;\\ ! волновод: верхняя стенка
RECT_STAT METAL; 0.0; 170.97375; 24.28875; 24.765;\\
END_B\\
BLOCK 3;\\ ! диафрагма 1, низ
RECT_STAT METAL; 59.055; 60.0075; 1.42875; 7.70367132;\\
END_B\\
BLOCK 4;\\ ! диафрагма 1, верх
RECT_STAT METAL; 59.055; 60.0075; 18.01382868; 24.28875;\\
END_B\\
BLOCK 5;\\ ! диафрагма 2, низ
RECT_STAT METAL; 75.89248034; 76.84498034; 1.42875; 9.640324319;\\
END_B\\
BLOCK 6;\\ ! диафрагма 2, верх
RECT_STAT METAL; 75.89248034; 76.84498034; 16.07717568; 24.28875;\\
END_B\\
BLOCK 7;\\ ! диафрагма 3, низ
RECT_STAT METAL; 94.14887084; 95.10137084; 1.42875; 9.640324319;\\
END_B\\
BLOCK 8;\\ ! диафрагма 3, верх
RECT_STAT METAL; 94.14887084; 95.10137084; 16.07717568; 24.28875;\\
END_B\\
BLOCK 9;\\ ! диафрагма 4, низ
RECT_STAT METAL; 110.9863512; 111.9388512; 1.42875; 7.70367132;\\
END_B\\
BLOCK 10;\\ ! диафрагма 4, верх
RECT_STAT METAL; 110.9863512; 111.9388512; 18.01382868; 24.28875;\\
END_B\\
BLOCK 11;\\ ! вход 1 — АКТИВНЫЙ
INPUT_X ; 1.42875; 24.28875; 0; 25; 1; 0;\\
END_B\\
BLOCK 12;\\ ! вход 2 — пассивный
INPUT_X ; 1.42875; 24.28875; 50; 75; 0; 0;\\
END_B\\
#END_TOPOLOGY\\
#LINK_LIST\\
T 1; 0.0; 0.0;\\
T 2; 0.0; 0.0;\\
T 3; 0.0; 0.0;\\
T 4; 0.0; 0.0;\\
T 5; 0.0; 0.0;\\
T 6; 0.0; 0.0;\\
T 7; 0.0; 0.0;\\
T 8; 0.0; 0.0;\\
T 9; 0.0; 0.0;\\
T 10; 0.0; 0.0;\\
T 11; 0.0; 0.0;\\
T 12; 170.97375; 0.0;\\
#END_LINK\\
#OUTPUT\\
FILE Tfile__;\\
SMATRIX Sfile__; Freq__; 18.75; 25.0;\\
#END_OUTPUT\\
#END_STEPInductive iris filter
Chebyshev bandpass filter, Matthaei design
| Parameter | Value |
|---|---|
| Library section | Waveguides and components |
| Kernel | PlanarRT H (planarrt_h.exe) |
| Source | Matthaei, Young, Jones; EIA RS-261, IEC 60153-2, GOST 20900-75 |
| Mesh | 359 × 54 nodes, step 0.47625 mm |
| Task time | 25 ns of model time, steps: 31 |
| Run duration | about 57 s on a six-core PC, without field output |
Problem statement
A bandpass filter made of a chain of half-wave resonators coupled by inductive irises. The dimensions are computed by the classical Matthaei method: Chebyshev prototype -> impedance inverters -> iris reactances -> window widths and resonator lengths. The whole calculation is in the datasheet.
The method assumes infinitely thin irises; the kernel computes real ones, so the band will shift slightly. This is exactly what tuning a real filter looks like.
- Design after Matthaei in the approximation of infinitely thin irises. With irises 0.9525 mm thick on the grid, the kernel's passband shifts UP by about 3 %, and the in-band match is worse than designed (checked by a run: for the defaults the band is 10.05-10.55 GHz instead of 9.75-10.25). Then the filter is tuned: the resonators are lengthened and the windows adjusted; that is the training task.
Theoretical background
In a rectangular waveguide of width the dominant wave does not vary along the narrow wall, so the problem is two-dimensional and is solved in the H-plane by the PlanarRT H kernel. The field propagates above the cutoff frequency, and the guide wavelength and the wave impedance depend on frequency:
The result of the calculation is the scattering matrix , where and are the amplitudes of the incident and outgoing waves at the ports. For a lossless device each column is normalised: . This is the first check of any waveguide calculation.
The bandpass filter consists of three half-wave resonators coupled by inductive irises. The dimensions come from the Matthaei–Young–Jones procedure: the Chebyshev prototype with , , for 0.1 dB ripple is converted to impedance inverters, then to iris reactances and resonator lengths:
Here is the fractional bandwidth in guide wavelengths. The procedure assumes infinitely thin irises.
Sample datasheet. The values that TPL Designer computes by formulas for the default parameters.
| Quantity | Value |
|---|---|
| Standard | WR-90 / R100 (EIA / IEC) |
| Cross-section a x b | 22.86 x 10.16 mm |
| Operating band | 8.2 - 12.4 GHz |
| Cutoff H10 / H20 | 6.557 / 13.11 GHz |
| Passband | 9.75 - 10.25 GHz, ripple 0.1 dB |
| Prototype g1...g3 | 1.032, 1.147, 1.032 |
| Window 1 | 10.31 mm (X/Z0 = 0.423) |
| Window 2 | 6.437 mm (X/Z0 = 0.129) |
| Window 3 | 6.437 mm (X/Z0 = 0.129) |
| Window 4 | 10.31 mm (X/Z0 = 0.423) |
| Resonator 1 | 16.84 mm |
| Resonator 2 | 18.26 mm |
| Resonator 3 | 16.84 mm |
Creating the task file
The sample is built into TPL Designer, so there is nothing to download. Follow the steps in order.
- Start TPL Designer. On the start screen, in the Take a sample card, click Open library.
- Choose the Waveguides and components section on the left and click the Inductive iris filter tile in the gallery. The sample card with its datasheet and parameters opens on the right.

- Keep the default parameters: all the numbers on this page were obtained for them. Changed values can be reset with Restore defaults.
- Click Open in editor. The task opens in the five-section wizard; the section list is on the left.
- Open the Geometry section. The canvas shows what the kernel will compute: metal walls, ports, dielectric or plasma. A green icon marks the active port and a red one the passive port. Double-click an object to open its properties.

- If you want to view the field in FieldView, open the Output section and tick Export topology (.tt file) and Export fields (.ex, .ey, .hz files), option only at the first step. Field output slows the calculation several times, so it is off in the samples unless a task requires it.
- Open the Check section. The left side shows the summary, the right side shows the task file text, and the strip at the bottom reports that there are no issues.

- Click Create task file and choose an empty folder. It will contain these files:
filter.tpl,filter_step.h.
Running the calculation
- Start PlanarRT H (
planarrt_h.exe). - Click
Open or press Ctrl+Oand choosefilter.tplin the folder you created. If the status bar showsStep:1;Error:no, the task was read correctly. - Click
Run or press F5. The kernel computes all task steps (31); on a six-core PC this takes about 57 s. - Wait for "Done" in the status bar.
The kernel appends to the
.sfile instead of overwriting it. Delete the old.sfile before a repeated run, or old points will mix with new ones.
Viewing the results
Scattering matrix. Click
View S-matrix: TMCGROUT opens with the curve of the first element. It shows VSWR; to see magnitudes press Ctrl+H and choose "Y-scale" → "|S|", and add other elements with Ctrl+D.

Port signals. Click
View output: TMCROS opens with the .t file.

Field. If you enabled field output in step 6, click
View field and topology: FieldView opens. It saves animations with the export command.
Results




Computed numbers: values at the range edges, mid-range and at the best match.
| Frequency, GHz | |S11|, dB | |S21|, dB |
|---|---|---|
| 9 | 0 | -54.08 |
| 10 | -0.82 | -7.63 |
| 10.13 | -8.6 | -0.65 |
| 11 | -0.02 | -22.89 |
Field animation
Discussion
The filter works, but not in the design band of 9.75–10.25 GHz (marked on the plot): the kernel's passband lies at about 10.05–10.55 GHz, 3 % higher, and the best match there is −8.6 dB at 10.13 GHz against the 0.1 dB ripple of the design. Out of band the attenuation is large: −54.1 dB at 9 GHz and −22.9 dB at 11 GHz. The shift is caused by the finite iris thickness of 0.95 mm: such irises differ electrically from the thin ones assumed by the procedure. This is the usual picture: filter tuning starts with exactly such a first pass, and then the resonators are lengthened and the windows adjusted. The power balance of 0.9995–1.0003 shows that the calculation has settled. The animation at the middle sweep frequency shows the field trapped in the resonators.
Task file
TPL Designer shows this text in the Check section. The file is written in the CP1251 encoding.
filter.tpl
#TMC_RT_H
! Task generated by TPL Designer.
! Chebyshev filter of order 3 on inductive irises: f0 = 10 GHz, bandwidth 5 %. Waveguide WR-90 / R100.
! Kernel: tmc_rth (H-mode)
! Delete filter.s before the run -- it is appended to, not overwritten.
#include filter_step.h
filterstep 9.0; filter_f9; filter;
filterstep 9.067; filter_f9p067; filter;
filterstep 9.133; filter_f9p133; filter;
filterstep 9.2; filter_f9p2; filter;
filterstep 9.267; filter_f9p267; filter;
filterstep 9.333; filter_f9p333; filter;
filterstep 9.4; filter_f9p4; filter;
filterstep 9.467; filter_f9p467; filter;
filterstep 9.533; filter_f9p533; filter;
filterstep 9.6; filter_f9p6; filter;
filterstep 9.667; filter_f9p667; filter;
filterstep 9.733; filter_f9p733; filter;
filterstep 9.8; filter_f9p8; filter;
filterstep 9.867; filter_f9p867; filter;
filterstep 9.933; filter_f9p933; filter;
filterstep 10.0; filter_f10; filter;
filterstep 10.067; filter_f10p067; filter;
filterstep 10.133; filter_f10p133; filter;
filterstep 10.2; filter_f10p2; filter;
filterstep 10.267; filter_f10p267; filter;
filterstep 10.333; filter_f10p333; filter;
filterstep 10.4; filter_f10p4; filter;
filterstep 10.467; filter_f10p467; filter;
filterstep 10.533; filter_f10p533; filter;
filterstep 10.6; filter_f10p6; filter;
filterstep 10.667; filter_f10p667; filter;
filterstep 10.733; filter_f10p733; filter;
filterstep 10.8; filter_f10p8; filter;
filterstep 10.867; filter_f10p867; filter;
filterstep 10.933; filter_f10p933; filter;
filterstep 11.0; filter_f11; filter;
#EOFfilter_step.h
! ==========================================================================
! filter_step.h -- macro definitions of the computation steps.
! Included with the line #include filter_step.h and must lie NEXT TO the .tpl
!
! TWO backslashes at the end of a line = "the macro text continues below".
! The LAST line of the macro has NO continuation -- that marks the end.
! ==========================================================================
#define filterstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
ANGLE_UNIT radian;\\
FREQ_UNIT GHz;\\
LONG_UNIT mm;\\
TIME_UNIT ns;\\
DELTA 0.47625;\\
TIME 0.; 25.0;\\
X_MIN 0.0;\\
X_MAX 170.97375;\\
Y_MIN 0.0;\\
Y_MAX 25.7175;\\
FREQ Freq__;\\
#END_PARM\\
#TOPOLOGY\\
BLOCK 1;\\ ! waveguide: bottom wall
RECT_STAT METAL; 0.0; 170.97375; 0.9525; 1.42875;\\
END_B\\
BLOCK 2;\\ ! waveguide: top wall
RECT_STAT METAL; 0.0; 170.97375; 24.28875; 24.765;\\
END_B\\
BLOCK 3;\\ ! iris 1, bottom
RECT_STAT METAL; 59.055; 60.0075; 1.42875; 7.70367132;\\
END_B\\
BLOCK 4;\\ ! iris 1, top
RECT_STAT METAL; 59.055; 60.0075; 18.01382868; 24.28875;\\
END_B\\
BLOCK 5;\\ ! iris 2, bottom
RECT_STAT METAL; 75.89248034; 76.84498034; 1.42875; 9.640324319;\\
END_B\\
BLOCK 6;\\ ! iris 2, top
RECT_STAT METAL; 75.89248034; 76.84498034; 16.07717568; 24.28875;\\
END_B\\
BLOCK 7;\\ ! iris 3, bottom
RECT_STAT METAL; 94.14887084; 95.10137084; 1.42875; 9.640324319;\\
END_B\\
BLOCK 8;\\ ! iris 3, top
RECT_STAT METAL; 94.14887084; 95.10137084; 16.07717568; 24.28875;\\
END_B\\
BLOCK 9;\\ ! iris 4, bottom
RECT_STAT METAL; 110.9863512; 111.9388512; 1.42875; 7.70367132;\\
END_B\\
BLOCK 10;\\ ! iris 4, top
RECT_STAT METAL; 110.9863512; 111.9388512; 18.01382868; 24.28875;\\
END_B\\
BLOCK 11;\\ ! port 1 -- ACTIVE
INPUT_X ; 1.42875; 24.28875; 0; 25; 1; 0;\\
END_B\\
BLOCK 12;\\ ! port 2 -- passive
INPUT_X ; 1.42875; 24.28875; 50; 75; 0; 0;\\
END_B\\
#END_TOPOLOGY\\
#LINK_LIST\\
T 1; 0.0; 0.0;\\
T 2; 0.0; 0.0;\\
T 3; 0.0; 0.0;\\
T 4; 0.0; 0.0;\\
T 5; 0.0; 0.0;\\
T 6; 0.0; 0.0;\\
T 7; 0.0; 0.0;\\
T 8; 0.0; 0.0;\\
T 9; 0.0; 0.0;\\
T 10; 0.0; 0.0;\\
T 11; 0.0; 0.0;\\
T 12; 170.97375; 0.0;\\
#END_LINK\\
#OUTPUT\\
FILE Tfile__;\\
SMATRIX Sfile__; Freq__; 18.75; 25.0;\\
#END_OUTPUT\\
#END_STEP