Режекторный шлейф λ/4
Разомкнутый шлейф вырезает частоту из полосы
| Параметр | Значение |
|---|---|
| Раздел библиотеки | Микрополосковые |
| Ядро | PlanarRT H (planarrt_h.exe) |
| Источник | Хаммерстад-Йенсен; планарная модель Весселя-Кольхоффа |
| Сетка | 206 × 40 узлов, шаг 0,56284 мм |
| Время счёта задания | 20 нс модельного времени, шагов: 41 |
| Длительность прогона | около 33 с на шестиядерном ПК, без вывода поля |
Постановка задачи
Разомкнутый на конце шлейф длиной в четверть волны. На своей частоте он превращает холостой ход в короткое замыкание в точке подключения — и линия перестаёт пропускать. Простейший режекторный фильтр.
- Конец шлейфа — магнитная стенка: в планарной модели это и есть холостой ход.
- Без поправки (0 %) провал ядра приходится примерно на 1.2 f0: широкий тройник укорачивает шлейф. Поправка 17 % подобрана прогоном ядра для умолчаний.
Теоретические сведения
Микрополосковая линия в двумерной постановке заменяется планарной моделью Весселя и Кольхоффа: полоска ширины на подложке толщиной становится плоским волноводом ширины с магнитными боковыми стенками и однородным заполнением . Обе величины даёт квазистатика Хаммерстада и Йенсена, а частота входит только через длину волны в линии:
У модели две границы применимости. Дисперсия не учитывается, а связи через краевое поле между соседними полосками нет: магнитные стенки её не пропускают. В образцах этого раздела порт стоит на границе расчётной области, а стенки канала начинаются прямо на нём. Такая постановка сама создаёт отражение порядка −15…−25 дБ, и это свойство задания, а не ядра. В постановке автора (TEST025) порты отнесены от границы на шаг сетки , нижняя стенка сдвинута на , а диэлектрик заполняет всю область; тот же отрезок линии 50 Ом тогда даёт от −128 до −156 дБ и дБ. Поэтому рябь и сумма ниже единицы (0,85–0,98) в этих образцах описывают постановку порта, а уровни глубже −15…−25 дБ здесь не показательны.
Разомкнутый шлейф длиной подключён параллельно линии и имеет входное сопротивление . При котангенс равен нулю, и в точке подключения возникает короткое замыкание. Широкий тройник укорачивает шлейф электрически, поэтому длина увеличена поправкой 17 %, подобранной прогоном ядра.
Паспорт образца. Значения, которые TPL Designer вычисляет по формулам для параметров по умолчанию.
| Величина | Значение |
|---|---|
| Подложка | FR-4: eps = 4.4, h = 1.5 мм |
| Линия и шлейф 50 Ом | w = 2.89 мм, eps_eff = 3.33, W_eff = 6.19 мм, λв = 54.74 мм на 3 ГГц |
| Шлейф | 12.95 мм от края линии (λв/4 от оси, поправка 17 %) |
| Ожидаемо | провал |S21| на 3 ГГц: разомкнутый λ/4 даёт короткое замыкание |
Создание файла задания
Образец уже встроен в TPL Designer: скачивать ничего не нужно. Выполните шаги по порядку.
- Запустите TPL Designer. На стартовом экране в карточке «Взять образец» нажмите «Открыть библиотеку».
- Слева выберите раздел «Микрополосковые» и щёлкните в галерее плитку «Режекторный шлейф λ/4». Справа откроется карточка образца с паспортом и параметрами.

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

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

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

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

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




Числа расчёта: значения на краях диапазона, в середине и в точке наилучшего согласования.
| Частота, ГГц | |S11|, дБ | |S21|, дБ |
|---|---|---|
| 1,5 | -12,03 | -0,6 |
| 3 | -0,05 | -20,96 |
| 4,5 | -5,83 | -1,78 |
Анимация поля
Разбор результатов
Провал расположен около 3,08 ГГц и достигает −33 дБ при заданных 3 ГГц, на самой частоте прохождение −21,0 дБ. на провале близок к 0 дБ: мощность отражается, а не поглощается. Выше и ниже провала линия снова пропускает: −0,6 дБ на 1,5 ГГц и −1,8 дБ на 4,5 ГГц. Полоса заграждения узка, и это вторая сторона простоты: один шлейф режет одну частоту. Как расширить полосу, показывает образец «ПЗФ на разомкнутых шлейфах».
Файл задания
Этот текст TPL Designer показывает в разделе «Проверка». Файл записан в кодировке CP1251.
msstub.tpl
#TMC_RT_H
! Задание сгенерировано TPL Designer.
! Разомкнутый шлейф lambda/4 на 3 ГГц, линия 50 Ом, FR-4.
! Ядро: tmc_rth (H-мода)
! Перед прогоном удалить msstub.s -- дописывается, а не перезаписывается.
#include msstub_step.h
msstubstep 1.5; msstub_f1p5; msstub;
msstubstep 1.575; msstub_f1p575; msstub;
msstubstep 1.65; msstub_f1p65; msstub;
msstubstep 1.725; msstub_f1p725; msstub;
msstubstep 1.8; msstub_f1p8; msstub;
msstubstep 1.875; msstub_f1p875; msstub;
msstubstep 1.95; msstub_f1p95; msstub;
msstubstep 2.025; msstub_f2p025; msstub;
msstubstep 2.1; msstub_f2p1; msstub;
msstubstep 2.175; msstub_f2p175; msstub;
msstubstep 2.25; msstub_f2p25; msstub;
msstubstep 2.325; msstub_f2p325; msstub;
msstubstep 2.4; msstub_f2p4; msstub;
msstubstep 2.475; msstub_f2p475; msstub;
msstubstep 2.55; msstub_f2p55; msstub;
msstubstep 2.625; msstub_f2p625; msstub;
msstubstep 2.7; msstub_f2p7; msstub;
msstubstep 2.775; msstub_f2p775; msstub;
msstubstep 2.85; msstub_f2p85; msstub;
msstubstep 2.925; msstub_f2p925; msstub;
msstubstep 3.0; msstub_f3; msstub;
msstubstep 3.075; msstub_f3p075; msstub;
msstubstep 3.15; msstub_f3p15; msstub;
msstubstep 3.225; msstub_f3p225; msstub;
msstubstep 3.3; msstub_f3p3; msstub;
msstubstep 3.375; msstub_f3p375; msstub;
msstubstep 3.45; msstub_f3p45; msstub;
msstubstep 3.525; msstub_f3p525; msstub;
msstubstep 3.6; msstub_f3p6; msstub;
msstubstep 3.675; msstub_f3p675; msstub;
msstubstep 3.75; msstub_f3p75; msstub;
msstubstep 3.825; msstub_f3p825; msstub;
msstubstep 3.9; msstub_f3p9; msstub;
msstubstep 3.975; msstub_f3p975; msstub;
msstubstep 4.05; msstub_f4p05; msstub;
msstubstep 4.125; msstub_f4p125; msstub;
msstubstep 4.2; msstub_f4p2; msstub;
msstubstep 4.275; msstub_f4p275; msstub;
msstubstep 4.35; msstub_f4p35; msstub;
msstubstep 4.425; msstub_f4p425; msstub;
msstubstep 4.5; msstub_f4p5; msstub;
#EOFmsstub_step.h
! ==========================================================================
! msstub_step.h — макроопределения шагов расчёта.
! Подключается строкой #include msstub_step.h и должен лежать РЯДОМ с .tpl
!
! ДВА бэкслеша в конце строки = "текст макроса продолжается ниже".
! У ПОСЛЕДНЕЙ строки макроса переноса НЕТ — это признак конца.
! ==========================================================================
#define msstubstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
ANGLE_UNIT radian;\\
FREQ_UNIT GHz;\\
LONG_UNIT mm;\\
TIME_UNIT ns;\\
DELTA 0.56284;\\
TIME 0.; 20.0;\\
X_MIN 0.0;\\
X_MAX 115.94504;\\
Y_MIN 0.0;\\
Y_MAX 22.51360054;\\
FREQ Freq__;\\
#END_PARM\\
#TOPOLOGY\\
BLOCK 1;\\ ! край полоски, низ
POLYGON_STAT MAGNETIC;\\
L 0.0; 1.68852;\\
L 57.97252; 1.68852;\\
L 115.94504; 1.68852;\\
END_B\\
BLOCK 2;\\ ! край полоски и шлейфа
POLYGON_STAT MAGNETIC;\\
L 0.0; 7.879760536;\\
L 54.87689973; 7.879760536;\\
L 54.87689973; 20.82508054;\\
L 61.06814027; 20.82508054;\\
L 61.06814027; 7.879760536;\\
L 115.94504; 7.879760536;\\
END_B\\
BLOCK 3;\\ ! линия
RECT_STAT 2.3323322; 0.0; 115.94504; 1.68852; 7.879760536;\\
END_B\\
BLOCK 4;\\ ! шлейф
RECT_STAT 2.3323322; 54.87689973; 61.06814027; 7.879760536; 20.82508054;\\
END_B\\
BLOCK 5;\\ ! вход 1 — АКТИВНЫЙ
INPUT_X MAGNETIC; 1.68852; 7.879760536; 0; 20; 1; 0; 2.3323322;\\
END_B\\
BLOCK 6;\\ ! вход 2 — пассивный
INPUT_X MAGNETIC; 1.68852; 7.879760536; 40; 60; 0; 0; 2.3323322;\\
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; 115.94504; 0.0;\\
#END_LINK\\
#OUTPUT\\
FILE Tfile__;\\
SMATRIX Sfile__; Freq__; 15.0; 20.0;\\
#END_OUTPUT\\
#END_STEPBand-stop stub lambda/4
An open stub cuts a frequency out of the band
| Parameter | Value |
|---|---|
| Library section | Microstrip |
| Kernel | PlanarRT H (planarrt_h.exe) |
| Source | Hammerstad-Jensen; Wessel-Kohlhoff planar model |
| Mesh | 206 × 40 nodes, step 0.56284 mm |
| Task time | 20 ns of model time, steps: 41 |
| Run duration | about 33 s on a six-core PC, without field output |
Problem statement
A quarter-wave stub open at its end. At its frequency it turns the open circuit into a short circuit at the junction, and the line stops transmitting. The simplest band-stop filter.
- The end of the stub is a magnetic wall: in the planar model this is exactly an open circuit.
- Without correction (0 %) the kernel's dip is at about 1.2 f0: the wide tee shortens the stub. The 17 % correction was tuned by a kernel run for the defaults.
Theoretical background
In the two-dimensional setting a microstrip line is replaced by the Wessel–Kohlhoff planar model: a strip of width on a substrate of height becomes a parallel-plate guide of width with magnetic side walls and a uniform filling . Both values come from the Hammerstad–Jensen quasi-static formulas, and frequency enters only through the wavelength in the line:
The model has two limits. The dispersion of is ignored, and there is no fringe-field coupling between neighbouring strips: the magnetic walls block it. In the samples of this section the port sits on the boundary of the computational region and the channel walls start right on it. This setup itself creates a reflection of about −15…−25 dB, which is a property of the task, not of the kernel. In the author\'s setup (TEST025) the ports are moved one mesh step away from the boundary, the lower wall is shifted by , and the dielectric fills the whole region; the same 50 Ω line section then gives of −128 to −156 dB and dB. The ripple and the sum below unity (0.85–0.98) in these samples therefore describe the port setup, and levels below −15…−25 dB are not meaningful here.
An open stub of length is connected in shunt with the line and has an input impedance . At the cotangent is zero and a short circuit appears at the junction. A wide tee shortens the stub electrically, so its length is increased by a 17 % correction tuned by running the kernel.
Sample datasheet. The values that TPL Designer computes by formulas for the default parameters.
| Quantity | Value |
|---|---|
| Substrate | FR-4: eps = 4.4, h = 1.5 mm |
| Line and stub 50 Ohm | w = 2.89 mm, eps_eff = 3.33, W_eff = 6.19 mm, lambda_g = 54.74 mm at 3 GHz |
| Stub | 12.95 mm from the line edge (lambda_g/4 from the axis, correction 17 %) |
| Expected | |S21| dip at 3 GHz: an open lambda/4 gives a short circuit |
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 Microstrip section on the left and click the Band-stop stub lambda/4 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:
msstub.tpl,msstub_step.h.
Running the calculation
- Start PlanarRT H (
planarrt_h.exe). - Click
Open or press Ctrl+Oand choosemsstub.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 (41); on a six-core PC this takes about 33 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 |
|---|---|---|
| 1.5 | -12.03 | -0.6 |
| 3 | -0.05 | -20.96 |
| 4.5 | -5.83 | -1.78 |
Field animation
Discussion
The notch lies near 3.08 GHz and reaches −33 dB for a specified 3 GHz; at itself the transmission is −21.0 dB. At the notch is close to 0 dB: the power is reflected, not absorbed. Above and below the notch the line passes again: −0.6 dB at 1.5 GHz and −1.8 dB at 4.5 GHz. The stop band is narrow, which is the other side of simplicity: one stub cuts one frequency. The "Band-stop filter on open stubs" sample shows how to widen the band.
Task file
TPL Designer shows this text in the Check section. The file is written in the CP1251 encoding.
msstub.tpl
#TMC_RT_H
! Task generated by TPL Designer.
! Open-circuited stub lambda/4 at 3 GHz, line 50 Ohm, FR-4.
! Kernel: tmc_rth (H-mode)
! Delete msstub.s before the run -- it is appended to, not overwritten.
#include msstub_step.h
msstubstep 1.5; msstub_f1p5; msstub;
msstubstep 1.575; msstub_f1p575; msstub;
msstubstep 1.65; msstub_f1p65; msstub;
msstubstep 1.725; msstub_f1p725; msstub;
msstubstep 1.8; msstub_f1p8; msstub;
msstubstep 1.875; msstub_f1p875; msstub;
msstubstep 1.95; msstub_f1p95; msstub;
msstubstep 2.025; msstub_f2p025; msstub;
msstubstep 2.1; msstub_f2p1; msstub;
msstubstep 2.175; msstub_f2p175; msstub;
msstubstep 2.25; msstub_f2p25; msstub;
msstubstep 2.325; msstub_f2p325; msstub;
msstubstep 2.4; msstub_f2p4; msstub;
msstubstep 2.475; msstub_f2p475; msstub;
msstubstep 2.55; msstub_f2p55; msstub;
msstubstep 2.625; msstub_f2p625; msstub;
msstubstep 2.7; msstub_f2p7; msstub;
msstubstep 2.775; msstub_f2p775; msstub;
msstubstep 2.85; msstub_f2p85; msstub;
msstubstep 2.925; msstub_f2p925; msstub;
msstubstep 3.0; msstub_f3; msstub;
msstubstep 3.075; msstub_f3p075; msstub;
msstubstep 3.15; msstub_f3p15; msstub;
msstubstep 3.225; msstub_f3p225; msstub;
msstubstep 3.3; msstub_f3p3; msstub;
msstubstep 3.375; msstub_f3p375; msstub;
msstubstep 3.45; msstub_f3p45; msstub;
msstubstep 3.525; msstub_f3p525; msstub;
msstubstep 3.6; msstub_f3p6; msstub;
msstubstep 3.675; msstub_f3p675; msstub;
msstubstep 3.75; msstub_f3p75; msstub;
msstubstep 3.825; msstub_f3p825; msstub;
msstubstep 3.9; msstub_f3p9; msstub;
msstubstep 3.975; msstub_f3p975; msstub;
msstubstep 4.05; msstub_f4p05; msstub;
msstubstep 4.125; msstub_f4p125; msstub;
msstubstep 4.2; msstub_f4p2; msstub;
msstubstep 4.275; msstub_f4p275; msstub;
msstubstep 4.35; msstub_f4p35; msstub;
msstubstep 4.425; msstub_f4p425; msstub;
msstubstep 4.5; msstub_f4p5; msstub;
#EOFmsstub_step.h
! ==========================================================================
! msstub_step.h -- macro definitions of the computation steps.
! Included with the line #include msstub_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 msstubstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
ANGLE_UNIT radian;\\
FREQ_UNIT GHz;\\
LONG_UNIT mm;\\
TIME_UNIT ns;\\
DELTA 0.56284;\\
TIME 0.; 20.0;\\
X_MIN 0.0;\\
X_MAX 115.94504;\\
Y_MIN 0.0;\\
Y_MAX 22.51360054;\\
FREQ Freq__;\\
#END_PARM\\
#TOPOLOGY\\
BLOCK 1;\\ ! strip edge, bottom
POLYGON_STAT MAGNETIC;\\
L 0.0; 1.68852;\\
L 57.97252; 1.68852;\\
L 115.94504; 1.68852;\\
END_B\\
BLOCK 2;\\ ! strip and stub edge
POLYGON_STAT MAGNETIC;\\
L 0.0; 7.879760536;\\
L 54.87689973; 7.879760536;\\
L 54.87689973; 20.82508054;\\
L 61.06814027; 20.82508054;\\
L 61.06814027; 7.879760536;\\
L 115.94504; 7.879760536;\\
END_B\\
BLOCK 3;\\ ! line
RECT_STAT 2.3323322; 0.0; 115.94504; 1.68852; 7.879760536;\\
END_B\\
BLOCK 4;\\ ! stub
RECT_STAT 2.3323322; 54.87689973; 61.06814027; 7.879760536; 20.82508054;\\
END_B\\
BLOCK 5;\\ ! port 1 -- ACTIVE
INPUT_X MAGNETIC; 1.68852; 7.879760536; 0; 20; 1; 0; 2.3323322;\\
END_B\\
BLOCK 6;\\ ! port 2 -- passive
INPUT_X MAGNETIC; 1.68852; 7.879760536; 40; 60; 0; 0; 2.3323322;\\
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; 115.94504; 0.0;\\
#END_LINK\\
#OUTPUT\\
FILE Tfile__;\\
SMATRIX Sfile__; Freq__; 15.0; 20.0;\\
#END_OUTPUT\\
#END_STEP