Разомкнутый конец линии
Магнитная стенка как холостой ход; эталон для входа
| Параметр | Значение |
|---|---|
| Раздел библиотеки | Микрополосковые |
| Ядро | PlanarRT H (planarrt_h.exe) |
| Источник | Хаммерстад-Йенсен; планарная модель Весселя-Кольхоффа |
| Сетка | 100 × 17 узлов, шаг 0,56284 мм |
| Время счёта задания | 15 нс модельного времени, шагов: 21 |
| Длительность прогона | около 7 с на шестиядерном ПК, без вывода поля |
Постановка задачи
Линия, оборванная магнитной стенкой. В планарной модели это и есть холостой ход: отражается всё, фаза считается длиной линии. Задание полезно дважды — как эталон (|S11| обязан быть 0 дБ, и отклонение показывает остаток самого входа) и как напоминание, что настоящий открытый конец излучает и «удлиняет» линию.
- Это образец-ЭТАЛОН. Отражать здесь должно ровно единицу, поэтому всё, что в |S11| не дотягивает до нуля дБ, — отражение порта в этой постановке.
- Настоящий разомкнутый конец излучает и «удлиняется» на величину из паспорта. Сравнивая фазу с теорией линий, эту поправку надо добавлять руками.
Теоретические сведения
Микрополосковая линия в двумерной постановке заменяется планарной моделью Весселя и Кольхоффа: полоска ширины на подложке толщиной становится плоским волноводом ширины с магнитными боковыми стенками и однородным заполнением . Обе величины даёт квазистатика Хаммерстада и Йенсена, а частота входит только через длину волны в линии:
У модели две границы применимости. Дисперсия не учитывается, а связи через краевое поле между соседними полосками нет: магнитные стенки её не пропускают. В образцах этого раздела порт стоит на границе расчётной области, а стенки канала начинаются прямо на нём. Такая постановка сама создаёт отражение порядка −15…−25 дБ, и это свойство задания, а не ядра. В постановке автора (TEST025) порты отнесены от границы на шаг сетки , нижняя стенка сдвинута на , а диэлектрик заполняет всю область; тот же отрезок линии 50 Ом тогда даёт от −128 до −156 дБ и дБ. Поэтому рябь и сумма ниже единицы (0,85–0,98) в этих образцах описывают постановку порта, а уровни глубже −15…−25 дБ здесь не показательны.
Линия заканчивается магнитной стенкой, то есть идеальным холостым ходом. Теория даёт на всех частотах и фазу, определяемую двойным пробегом: . Настоящий разомкнутый конец излучает и удлиняет линию на мм, но двумерная модель этого не содержит. Образец служит эталоном: всё, чего не хватает до 0 дБ, относится к самому входу.
Паспорт образца. Значения, которые 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 ГГц |
| Длина до конца | 54.6 мм (0.997 длины волны в линии) |
| Фаза S11 по теории линий | -358.1 град. на f0 (идеальный холостой ход) |
| Удлинение края (Хаммерстад) | 0.5833 мм — столько НЕ учитывает планарная модель |
| Ожидаемо | |S11| около 0 дБ на всех частотах: магнитная стенка отражает полностью, излучения с края в двумерной модели нет |
Создание файла задания
Образец уже встроен в TPL Designer: скачивать ничего не нужно. Выполните шаги по порядку.
- Запустите TPL Designer. На стартовом экране в карточке «Взять образец» нажмите «Открыть библиотеку».
- Слева выберите раздел «Микрополосковые» и щёлкните в галерее плитку «Разомкнутый конец линии». Справа откроется карточка образца с паспортом и параметрами.

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

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

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

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

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


Числа расчёта: значения на краях диапазона, в середине и в точке наилучшего согласования.
| Частота, ГГц | |S11|, дБ |
|---|---|
| 1,5 | -0,11 |
| 2,1 | -0,76 |
| 3 | -0,25 |
| 4,5 | -0,34 |
Анимация поля
Разбор результатов
лежит между −0,1 и −0,8 дБ, что близко к единице. Отклонение от 0 дБ и его волнистость с периодом, соответствующим длине линии 54,6 мм, вызваны отражением порта в этой постановке. На анимации видна стоячая волна с пучностью на магнитной стенке.
Файл задания
Этот текст TPL Designer показывает в разделе «Проверка». Файл записан в кодировке CP1251.
msopen.tpl
#TMC_RT_H
! Задание сгенерировано TPL Designer.
! Разомкнутый конец линии 50 Ом: магнитная стенка поперёк канала, FR-4.
! Ядро: tmc_rth (H-мода)
! Перед прогоном удалить msopen.s -- дописывается, а не перезаписывается.
#include msopen_step.h
msopenstep 1.5; msopen_f1p5; msopen;
msopenstep 1.65; msopen_f1p65; msopen;
msopenstep 1.8; msopen_f1p8; msopen;
msopenstep 1.95; msopen_f1p95; msopen;
msopenstep 2.1; msopen_f2p1; msopen;
msopenstep 2.25; msopen_f2p25; msopen;
msopenstep 2.4; msopen_f2p4; msopen;
msopenstep 2.55; msopen_f2p55; msopen;
msopenstep 2.7; msopen_f2p7; msopen;
msopenstep 2.85; msopen_f2p85; msopen;
msopenstep 3.0; msopen_f3; msopen;
msopenstep 3.15; msopen_f3p15; msopen;
msopenstep 3.3; msopen_f3p3; msopen;
msopenstep 3.45; msopen_f3p45; msopen;
msopenstep 3.6; msopen_f3p6; msopen;
msopenstep 3.75; msopen_f3p75; msopen;
msopenstep 3.9; msopen_f3p9; msopen;
msopenstep 4.05; msopen_f4p05; msopen;
msopenstep 4.2; msopen_f4p2; msopen;
msopenstep 4.35; msopen_f4p35; msopen;
msopenstep 4.5; msopen_f4p5; msopen;
#EOFmsopen_step.h
! ==========================================================================
! msopen_step.h — макроопределения шагов расчёта.
! Подключается строкой #include msopen_step.h и должен лежать РЯДОМ с .tpl
!
! ДВА бэкслеша в конце строки = "текст макроса продолжается ниже".
! У ПОСЛЕДНЕЙ строки макроса переноса НЕТ — это признак конца.
! ==========================================================================
#define msopenstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
ANGLE_UNIT radian;\\
FREQ_UNIT GHz;\\
LONG_UNIT mm;\\
TIME_UNIT ns;\\
DELTA 0.56284;\\
TIME 0.; 15.0;\\
X_MIN 0.0;\\
X_MAX 56.284;\\
Y_MIN 0.0;\\
Y_MAX 9.568280536;\\
FREQ Freq__;\\
#END_PARM\\
#TOPOLOGY\\
BLOCK 1;\\ ! край полоски, низ
POLYGON_STAT MAGNETIC;\\
L 0.0; 1.68852;\\
L 27.29774; 1.68852;\\
L 54.59548; 1.68852;\\
END_B\\
BLOCK 2;\\ ! край полоски, верх
POLYGON_STAT MAGNETIC;\\
L 0.0; 7.879760536;\\
L 27.29774; 7.879760536;\\
L 54.59548; 7.879760536;\\
END_B\\
BLOCK 3;\\ ! разомкнутый конец
POLYGON_STAT MAGNETIC;\\
L 54.59548; 1.68852;\\
L 54.59548; 4.784140268;\\
L 54.59548; 7.879760536;\\
END_B\\
BLOCK 4;\\ ! линия
RECT_STAT 2.3323322; 0.0; 54.59548; 1.68852; 7.879760536;\\
END_B\\
BLOCK 5;\\ ! вход 1 — АКТИВНЫЙ
INPUT_X MAGNETIC; 1.68852; 7.879760536; 0; 15; 1; 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;\\
#END_LINK\\
#OUTPUT\\
FILE Tfile__;\\
SMATRIX Sfile__; Freq__; 11.25; 15.0;\\
#END_OUTPUT\\
#END_STEPOpen end of a line
A magnetic wall as an open circuit; a reference for the port
| Parameter | Value |
|---|---|
| Library section | Microstrip |
| Kernel | PlanarRT H (planarrt_h.exe) |
| Source | Hammerstad-Jensen; Wessel-Kohlhoff planar model |
| Mesh | 100 × 17 nodes, step 0.56284 mm |
| Task time | 15 ns of model time, steps: 21 |
| Run duration | about 7 s on a six-core PC, without field output |
Problem statement
A line terminated by a magnetic wall. In the planar model this is exactly an open circuit: everything is reflected, and the phase is set by the line length. The task is useful twice: as a reference (|S11| must be 0 dB, and the deviation shows the residual of the port itself) and as a reminder that a real open end radiates and "lengthens" the line.
- This is a REFERENCE sample. The reflection here must be exactly unity, so whatever |S11| falls short of zero dB is the port reflection of this setup.
- A real open end radiates and "lengthens" by the amount given in the datasheet. When comparing the phase with transmission-line theory, this correction has to be added by hand.
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.
The line ends in a magnetic wall, an ideal open circuit. Theory gives at all frequencies and a phase set by the round trip: . A real open end radiates and lengthens the line by mm, but the two-dimensional model does not contain this. The sample serves as a reference: everything missing from 0 dB belongs to the port itself.
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 50 Ohm | w = 2.89 mm, eps_eff = 3.33, W_eff = 6.19 mm, lambda_g = 54.74 mm at 3 GHz |
| Length to the end | 54.6 mm (0.997 wavelengths in the line) |
| S11 phase by transmission-line theory | -358.1 deg. at f0 (ideal open circuit) |
| Edge extension (Hammerstad) | 0.5833 mm: this is what the planar model does NOT take into account |
| Expected | |S11| about 0 dB at all frequencies: the magnetic wall reflects completely, there is no radiation from the edge in the 2D model |
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 Open end of a line 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:
msopen.tpl,msopen_step.h.
Running the calculation
- Start PlanarRT H (
planarrt_h.exe). - Click
Open or press Ctrl+Oand choosemsopen.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 (21); on a six-core PC this takes about 7 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 |
|---|---|
| 1.5 | -0.11 |
| 2.1 | -0.76 |
| 3 | -0.25 |
| 4.5 | -0.34 |
Field animation
Discussion
lies between −0.1 and −0.8 dB, close to unity. The deviation from 0 dB and its ripple, with a period corresponding to the 54.6 mm line length, come from the port reflection of this setup. The animation shows a standing wave with an antinode at the magnetic wall.
Task file
TPL Designer shows this text in the Check section. The file is written in the CP1251 encoding.
msopen.tpl
#TMC_RT_H
! Task generated by TPL Designer.
! Open end of a 50 Ohm line: a magnetic wall across the channel, FR-4.
! Kernel: tmc_rth (H-mode)
! Delete msopen.s before the run -- it is appended to, not overwritten.
#include msopen_step.h
msopenstep 1.5; msopen_f1p5; msopen;
msopenstep 1.65; msopen_f1p65; msopen;
msopenstep 1.8; msopen_f1p8; msopen;
msopenstep 1.95; msopen_f1p95; msopen;
msopenstep 2.1; msopen_f2p1; msopen;
msopenstep 2.25; msopen_f2p25; msopen;
msopenstep 2.4; msopen_f2p4; msopen;
msopenstep 2.55; msopen_f2p55; msopen;
msopenstep 2.7; msopen_f2p7; msopen;
msopenstep 2.85; msopen_f2p85; msopen;
msopenstep 3.0; msopen_f3; msopen;
msopenstep 3.15; msopen_f3p15; msopen;
msopenstep 3.3; msopen_f3p3; msopen;
msopenstep 3.45; msopen_f3p45; msopen;
msopenstep 3.6; msopen_f3p6; msopen;
msopenstep 3.75; msopen_f3p75; msopen;
msopenstep 3.9; msopen_f3p9; msopen;
msopenstep 4.05; msopen_f4p05; msopen;
msopenstep 4.2; msopen_f4p2; msopen;
msopenstep 4.35; msopen_f4p35; msopen;
msopenstep 4.5; msopen_f4p5; msopen;
#EOFmsopen_step.h
! ==========================================================================
! msopen_step.h -- macro definitions of the computation steps.
! Included with the line #include msopen_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 msopenstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
ANGLE_UNIT radian;\\
FREQ_UNIT GHz;\\
LONG_UNIT mm;\\
TIME_UNIT ns;\\
DELTA 0.56284;\\
TIME 0.; 15.0;\\
X_MIN 0.0;\\
X_MAX 56.284;\\
Y_MIN 0.0;\\
Y_MAX 9.568280536;\\
FREQ Freq__;\\
#END_PARM\\
#TOPOLOGY\\
BLOCK 1;\\ ! strip edge, bottom
POLYGON_STAT MAGNETIC;\\
L 0.0; 1.68852;\\
L 27.29774; 1.68852;\\
L 54.59548; 1.68852;\\
END_B\\
BLOCK 2;\\ ! strip edge, top
POLYGON_STAT MAGNETIC;\\
L 0.0; 7.879760536;\\
L 27.29774; 7.879760536;\\
L 54.59548; 7.879760536;\\
END_B\\
BLOCK 3;\\ ! open end
POLYGON_STAT MAGNETIC;\\
L 54.59548; 1.68852;\\
L 54.59548; 4.784140268;\\
L 54.59548; 7.879760536;\\
END_B\\
BLOCK 4;\\ ! line
RECT_STAT 2.3323322; 0.0; 54.59548; 1.68852; 7.879760536;\\
END_B\\
BLOCK 5;\\ ! port 1 -- ACTIVE
INPUT_X MAGNETIC; 1.68852; 7.879760536; 0; 15; 1; 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;\\
#END_LINK\\
#OUTPUT\\
FILE Tfile__;\\
SMATRIX Sfile__; Freq__; 11.25; 15.0;\\
#END_OUTPUT\\
#END_STEP