Патч-антенна: полость и излучение

Магнитные стенки или открытые щели; рамка поглотителя

Параметр Значение
Раздел библиотеки Микрополосковые
Ядро PlanarRT H (planarrt_h.exe)
Источник Баланис, модель резонатора патча; Хаммерстад-Йенсен; планарная модель Весселя-Кольхоффа
Сетка 235 × 160 узлов, шаг 0,5 мм
Время счёта задания 35 нс модельного времени, шагов: 25
Длительность прогона около 202 с на шестиядерном ПК, без вывода поля

Постановка задачи

Прямоугольная патч-антенна в двумерной модели, питаемая торцом. Переключатель краёв даёт ДВЕ разные задачи, и обе честные.

«Магнитные стенки» — замкнутая полость: вдоль патча стоит полуволновый резонанс, и его частоту даёт формула. Так её и считают (модель резонатора патча), а излучение добавляют потом поправкой.

«Открытые края» — щели излучают в воздух, и рамка поглотителя вокруг области играет свободное пространство. Резонатора вдоль патча при этом НЕТ: провалы |S11| ставит линия питания со щелью. Проверено прогоном — провалы вышли на 2.475 и 3.825 ГГц при расчётном резонансе 2.98 ГГц.

В замкнутой полости резонанс есть: ядро на умолчаниях дало узкий провал -12.8 дБ на 3.30 ГГц против расчётных 2.98 — на 11 % ВЫШЕ формулы. Разницу вносит щель под питание в торцевой стенке: полость замкнута не до конца.

Длина патча взята по формуле БЕЗ поправки на удлинение краёв. У настоящего патча эта поправка опускает резонанс, а двумерная модель её не содержит: сравнивать её числа с реальной антенной напрямую нельзя.

  • Все четыре края патча — магнитные стенки, в левом оставлена щель под линию питания. Так и считают частоту резонатора патча (Баланис): излучение добавляют потом поправкой, а двумерная модель даёт саму частоту.
  • Рамка поглотителя вокруг области здесь страховка: из замкнутой полости наружу ничего не идёт. Переключите края на открытые — и рамка станет свободным пространством, в которое патч излучает.
  • Два разных сдвига частоты, и путать их нельзя. У НАСТОЯЩЕГО патча края «удлиняют» резонатор (около 2 x 0.4 h), и его резонанс ниже формулы идеальной полости — этого двумерная модель не знает вовсе. А в самой модели резонанс вышел ВЫШЕ формулы (3.30 против 2.98 ГГц на умолчаниях): так действует щель под питание. Оба числа измерены, а не выведены.
  • Питание торцом, а не вставкой: согласование не идеальное, и глубина провала тут не показатель.

Теоретические сведения

Микрополосковая линия в двумерной постановке заменяется планарной моделью Весселя и Кольхоффа: полоска ширины w на подложке толщиной h становится плоским волноводом ширины Weff с магнитными боковыми стенками и однородным заполнением εeff. Обе величины даёт квазистатика Хаммерстада и Йенсена, а частота входит только через длину волны в линии:

λg=cfεeff,Z0≈η0hWeffεeff

У модели две границы применимости. Дисперсия εeff не учитывается, а связи через краевое поле между соседними полосками нет: магнитные стенки её не пропускают. В образцах этого раздела порт стоит на границе расчётной области, а стенки канала начинаются прямо на нём. Такая постановка сама создаёт отражение порядка −15…−25 дБ, и это свойство задания, а не ядра. В постановке автора (TEST025) порты отнесены от границы на шаг сетки Δ, нижняя стенка сдвинута на Δ, а диэлектрик заполняет всю область; тот же отрезок линии 50 Ом тогда даёт |S11| от −128 до −156 дБ и |S21|=0,00 дБ. Поэтому рябь |S11| и сумма ∑i|Si1|2 ниже единицы (0,85–0,98) в этих образцах описывают постановку порта, а уровни глубже −15…−25 дБ здесь не показательны.

Полуволновый резонанс патча длиной L определяется модельной формулой

fr=c2Lεeff

Здесь все края патча — магнитные стенки, и в левом оставлена щель под питание. Длина взята без поправки на удлинение краёв. Для размеров сетки 25 × 30 мм формула даёт fr=2,98 ГГц. Переключатель краёв образца меняет постановку: при открытых краях щели излучают, рамка поглотителя играет роль пространства, а резонатора вдоль патча нет.

Паспорт образца. Значения, которые TPL Designer вычисляет по формулам для параметров по умолчанию.

Величина Значение
Подложка FR-4: eps = 4.4, h = 1.5 мм
Ширина патча 30.41 мм (по формуле c/(2×fr)×sqrt(2/(eps+1)))
Проницаемость патча eps_eff = 4.05 при W/h = 20.3
Длина патча 24.84 мм = c/(2×fr×sqrt(eps_eff)) — БЕЗ поправки на края
Легло на сетку 25 мм x 30 мм при шаге 0.5 мм — резонанс считается по ЭТИМ размерам
Резонанс по размерам сетки 2.98 ГГц
Питающая линия 50 Ом w = 2.89 мм, eps_eff = 3.33, W_eff = 6.19 мм, λв = 54.74 мм на 3 ГГц
Края патча магнитные стенки — замкнутая полость, резонатор
Ожидаемо узкий провал |S11| — полуволновый резонанс полости. Формула по размерам сетки даёт 2.98 ГГц, а ядро на умолчаниях показало -12.8 дБ на 3.30 ГГц, то есть на 11 процентов выше: щель под питание в торцевой стенке замыкает полость не до конца

Создание файла задания

Образец уже встроен в TPL Designer: скачивать ничего не нужно. Выполните шаги по порядку.

  1. Запустите TPL Designer. На стартовом экране в карточке «Взять образец» нажмите «Открыть библиотеку».
  2. Слева выберите раздел «Микрополосковые» и щёлкните в галерее плитку «Патч-антенна: полость и излучение». Справа откроется карточка образца с паспортом и параметрами.
Карточка образца в библиотеке TPL Designer
Карточка образца в библиотеке TPL Designer
  1. Параметры оставьте по умолчанию: все числа на этой странице получены именно для них. Изменённые значения можно сбросить кнопкой «Вернуть умолчания».
  2. Нажмите «Открыть в редакторе». Задание откроется в мастере из пяти разделов, список которых находится слева.
  3. Откройте раздел «Геометрия». На холсте показано то, что посчитает ядро: металлические стенки, порты, диэлектрик или плазма. Зелёный значок отмечает активный порт, красный — пассивный. Двойной щелчок по объекту откроет его свойства.
Раздел «Геометрия» мастера TPL Designer
Раздел «Геометрия» мастера TPL Designer
  1. Если хотите посмотреть поле в FieldView, откройте раздел «Вывод данных» и отметьте «Выгружать топологию (файл .tt)» и «Выгружать поля (файлы .ex, .ey, .hz)», вариант «только на первом шаге». Запись поля замедляет счёт в разы, поэтому в образцах она выключена, если задание не требует её само.
  2. Откройте раздел «Проверка». Слева показана сводка расчёта, справа текст файла задания, а полоса внизу сообщает, что замечаний нет.
Раздел «Проверка» мастера TPL Designer
Раздел «Проверка» мастера TPL Designer
  1. Нажмите «Создать файл задания» и выберите пустую папку. В ней появятся файлы: mspatch.tpl, mspatch_step.h.

Запуск расчёта

  1. Запустите программу PlanarRT H (planarrt_h.exe).
  2. Нажмите Открыть Открыть или Ctrl+O и выберите файл mspatch.tpl в созданной папке. Если в строке состояния появилось Шаг:1;Error:no, задание прочитано верно.
  3. Нажмите Запуск Запуск или F5. Ядро посчитает все шаги задания (25), на шестиядерном ПК это занимает около 202 с.
  4. Дождитесь надписи «Готово» в строке состояния.

Ядро дописывает файл .s, а не перезаписывает его. Перед повторным запуском удалите старый файл .s, иначе старые точки смешаются с новыми.

Просмотр результатов

Матрица рассеяния. Нажмите Показать S-матрицу Показать S-матрицу: откроется TMCGROUT с кривой первого элемента. Он показывает КСВН; чтобы увидеть модули, нажмите Ctrl+H и выберите «Шкала Y» → «|S|», а другие элементы добавьте через Ctrl+D.

Окно TMCGROUT сразу после открытия файла .s
Окно TMCGROUT сразу после открытия файла .s

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

Окно TMCROS с сигналом на порту
Окно TMCROS с сигналом на порту

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

Результаты

Частотная характеристика: модули элементов матрицы рассеяния, рассчитанные ядром
Частотная характеристика: модули элементов матрицы рассеяния, рассчитанные ядром
Сигналы на портах во времени
Сигналы на портах во времени

Числа расчёта: значения на краях диапазона, в середине и в точке наилучшего согласования.

Частота, ГГц |S11|, дБ
2,1 -0,62
3 -0,69
3,3 -12,67
3,9 -1,8

Анимация поля

Поле, рассчитанное ядром на частоте 3 ГГц: 320 кадров через 20 тактов, до 7,54 нс. Шкала «Волна», как в FieldView

Разбор результатов

Ядро показывает узкий провал |S11|=−12,8 дБ на 3,30 ГГц, на 11 % выше формулы. Разницу вносит щель под питание: полость закрыта не до конца. Этот сдвиг не надо путать с другим эффектом: у настоящего патча краевое поле удлиняет резонатор и опускает резонанс, а двумерная модель этого не знает. Поэтому число 3,30 ГГц описывает модель, и напрямую сравнивать его с изготовленной антенной нельзя. Вне резонанса |S11| близок к −0,5 дБ: питание торцом согласовано плохо, и глубина провала здесь не показатель качества.

Файл задания

Этот текст TPL Designer показывает в разделе «Проверка». Файл записан в кодировке CP1251.

mspatch.tpl
#TMC_RT_H
! Задание сгенерировано TPL Designer.
! Патч-антенна 25 мм x 30 мм на 3 ГГц, модель резонатора с излучающими щелями, FR-4.
! Ядро: tmc_rth (H-мода)
! Перед прогоном удалить mspatch.s -- дописывается, а не перезаписывается.

#include mspatch_step.h

mspatchstep 2.1; mspatch_f2p1; mspatch;
mspatchstep 2.175; mspatch_f2p175; mspatch;
mspatchstep 2.25; mspatch_f2p25; mspatch;
mspatchstep 2.325; mspatch_f2p325; mspatch;
mspatchstep 2.4; mspatch_f2p4; mspatch;
mspatchstep 2.475; mspatch_f2p475; mspatch;
mspatchstep 2.55; mspatch_f2p55; mspatch;
mspatchstep 2.625; mspatch_f2p625; mspatch;
mspatchstep 2.7; mspatch_f2p7; mspatch;
mspatchstep 2.775; mspatch_f2p775; mspatch;
mspatchstep 2.85; mspatch_f2p85; mspatch;
mspatchstep 2.925; mspatch_f2p925; mspatch;
mspatchstep 3.0; mspatch_f3; mspatch;
mspatchstep 3.075; mspatch_f3p075; mspatch;
mspatchstep 3.15; mspatch_f3p15; mspatch;
mspatchstep 3.225; mspatch_f3p225; mspatch;
mspatchstep 3.3; mspatch_f3p3; mspatch;
mspatchstep 3.375; mspatch_f3p375; mspatch;
mspatchstep 3.45; mspatch_f3p45; mspatch;
mspatchstep 3.525; mspatch_f3p525; mspatch;
mspatchstep 3.6; mspatch_f3p6; mspatch;
mspatchstep 3.675; mspatch_f3p675; mspatch;
mspatchstep 3.75; mspatch_f3p75; mspatch;
mspatchstep 3.825; mspatch_f3p825; mspatch;
mspatchstep 3.9; mspatch_f3p9; mspatch;

#EOF
mspatch_step.h
! ==========================================================================
! mspatch_step.h — макроопределения шагов расчёта.
! Подключается строкой  #include mspatch_step.h  и должен лежать РЯДОМ с .tpl
!
! ДВА бэкслеша в конце строки = "текст макроса продолжается ниже".
! У ПОСЛЕДНЕЙ строки макроса переноса НЕТ — это признак конца.
! ==========================================================================
#define mspatchstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  0.5;\\
 TIME   0.; 35.0;\\
 X_MIN  0.0;\\
 X_MAX  117.5;\\
 Y_MIN  0.0;\\
 Y_MAX  80.0;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! патч
  RECT_STAT 3.047361789; 60.0; 85.0; 25.0; 55.0;\\
 END_B\\
 BLOCK 2;\\   ! край патча, низ
  POLYGON_STAT MAGNETIC;\\
   L 60.0; 25.0;\\
   L 72.5; 25.0;\\
   L 85.0; 25.0;\\
 END_B\\
 BLOCK 3;\\   ! край патча, верх
  POLYGON_STAT MAGNETIC;\\
   L 60.0; 55.0;\\
   L 72.5; 55.0;\\
   L 85.0; 55.0;\\
 END_B\\
 BLOCK 4;\\   ! край патча, слева снизу
  POLYGON_STAT MAGNETIC;\\
   L 60.0; 25.0;\\
   L 60.0; 31.0;\\
   L 60.0; 37.0;\\
 END_B\\
 BLOCK 5;\\   ! край патча, слева сверху
  POLYGON_STAT MAGNETIC;\\
   L 60.0; 43.0;\\
   L 60.0; 49.0;\\
   L 60.0; 55.0;\\
 END_B\\
 BLOCK 6;\\   ! край патча, справа
  POLYGON_STAT MAGNETIC;\\
   L 85.0; 25.0;\\
   L 85.0; 40.0;\\
   L 85.0; 55.0;\\
 END_B\\
 BLOCK 7;\\   ! питающая линия
  RECT_STAT 2.3323322; 0.0; 60.0; 37.0; 43.0;\\
 END_B\\
 BLOCK 8;\\   ! край линии, низ
  POLYGON_STAT MAGNETIC;\\
   L 0.0; 37.0;\\
   L 30.0; 37.0;\\
   L 60.0; 37.0;\\
 END_B\\
 BLOCK 9;\\   ! край линии, верх
  POLYGON_STAT MAGNETIC;\\
   L 0.0; 43.0;\\
   L 30.0; 43.0;\\
   L 60.0; 43.0;\\
 END_B\\
 BLOCK 10;\\   ! поглотитель справа, слой 1
  POLYGON_STAT ABSORBER;\\
   L 117.5; 0.0;\\
   L 117.5; 40.0;\\
   L 117.5; 80.0;\\
 END_B\\
 BLOCK 11;\\   ! поглотитель снизу, слой 1
  POLYGON_STAT ABSORBER;\\
   L 0.0; 0.0;\\
   L 58.75; 0.0;\\
   L 117.5; 0.0;\\
 END_B\\
 BLOCK 12;\\   ! поглотитель сверху, слой 1
  POLYGON_STAT ABSORBER;\\
   L 0.0; 80.0;\\
   L 58.75; 80.0;\\
   L 117.5; 80.0;\\
 END_B\\
 BLOCK 13;\\   ! поглотитель слева снизу, слой 1
  POLYGON_STAT ABSORBER;\\
   L 0.0; 0.0;\\
   L 0.0; 18.5;\\
   L 0.0; 37.0;\\
 END_B\\
 BLOCK 14;\\   ! поглотитель слева сверху, слой 1
  POLYGON_STAT ABSORBER;\\
   L 0.0; 43.0;\\
   L 0.0; 61.5;\\
   L 0.0; 80.0;\\
 END_B\\
 BLOCK 15;\\   ! поглотитель справа, слой 2
  POLYGON_STAT ABSORBER;\\
   L 117.0; 0.0;\\
   L 117.0; 40.0;\\
   L 117.0; 80.0;\\
 END_B\\
 BLOCK 16;\\   ! поглотитель снизу, слой 2
  POLYGON_STAT ABSORBER;\\
   L 0.0; 0.5;\\
   L 58.75; 0.5;\\
   L 117.5; 0.5;\\
 END_B\\
 BLOCK 17;\\   ! поглотитель сверху, слой 2
  POLYGON_STAT ABSORBER;\\
   L 0.0; 79.5;\\
   L 58.75; 79.5;\\
   L 117.5; 79.5;\\
 END_B\\
 BLOCK 18;\\   ! поглотитель слева снизу, слой 2
  POLYGON_STAT ABSORBER;\\
   L 0.5; 0.0;\\
   L 0.5; 18.5;\\
   L 0.5; 37.0;\\
 END_B\\
 BLOCK 19;\\   ! поглотитель слева сверху, слой 2
  POLYGON_STAT ABSORBER;\\
   L 0.5; 43.0;\\
   L 0.5; 61.5;\\
   L 0.5; 80.0;\\
 END_B\\
 BLOCK 20;\\   ! поглотитель справа, слой 3
  POLYGON_STAT ABSORBER;\\
   L 116.5; 0.0;\\
   L 116.5; 40.0;\\
   L 116.5; 80.0;\\
 END_B\\
 BLOCK 21;\\   ! поглотитель снизу, слой 3
  POLYGON_STAT ABSORBER;\\
   L 0.0; 1.0;\\
   L 58.75; 1.0;\\
   L 117.5; 1.0;\\
 END_B\\
 BLOCK 22;\\   ! поглотитель сверху, слой 3
  POLYGON_STAT ABSORBER;\\
   L 0.0; 79.0;\\
   L 58.75; 79.0;\\
   L 117.5; 79.0;\\
 END_B\\
 BLOCK 23;\\   ! поглотитель слева снизу, слой 3
  POLYGON_STAT ABSORBER;\\
   L 1.0; 0.0;\\
   L 1.0; 18.5;\\
   L 1.0; 37.0;\\
 END_B\\
 BLOCK 24;\\   ! поглотитель слева сверху, слой 3
  POLYGON_STAT ABSORBER;\\
   L 1.0; 43.0;\\
   L 1.0; 61.5;\\
   L 1.0; 80.0;\\
 END_B\\
 BLOCK 25;\\   ! поглотитель справа, слой 4
  POLYGON_STAT ABSORBER;\\
   L 116.0; 0.0;\\
   L 116.0; 40.0;\\
   L 116.0; 80.0;\\
 END_B\\
 BLOCK 26;\\   ! поглотитель снизу, слой 4
  POLYGON_STAT ABSORBER;\\
   L 0.0; 1.5;\\
   L 58.75; 1.5;\\
   L 117.5; 1.5;\\
 END_B\\
 BLOCK 27;\\   ! поглотитель сверху, слой 4
  POLYGON_STAT ABSORBER;\\
   L 0.0; 78.5;\\
   L 58.75; 78.5;\\
   L 117.5; 78.5;\\
 END_B\\
 BLOCK 28;\\   ! поглотитель слева снизу, слой 4
  POLYGON_STAT ABSORBER;\\
   L 1.5; 0.0;\\
   L 1.5; 18.5;\\
   L 1.5; 37.0;\\
 END_B\\
 BLOCK 29;\\   ! поглотитель слева сверху, слой 4
  POLYGON_STAT ABSORBER;\\
   L 1.5; 43.0;\\
   L 1.5; 61.5;\\
   L 1.5; 80.0;\\
 END_B\\
 BLOCK 30;\\   ! поглотитель справа, слой 5
  POLYGON_STAT ABSORBER;\\
   L 115.5; 0.0;\\
   L 115.5; 40.0;\\
   L 115.5; 80.0;\\
 END_B\\
 BLOCK 31;\\   ! поглотитель снизу, слой 5
  POLYGON_STAT ABSORBER;\\
   L 0.0; 2.0;\\
   L 58.75; 2.0;\\
   L 117.5; 2.0;\\
 END_B\\
 BLOCK 32;\\   ! поглотитель сверху, слой 5
  POLYGON_STAT ABSORBER;\\
   L 0.0; 78.0;\\
   L 58.75; 78.0;\\
   L 117.5; 78.0;\\
 END_B\\
 BLOCK 33;\\   ! поглотитель слева снизу, слой 5
  POLYGON_STAT ABSORBER;\\
   L 2.0; 0.0;\\
   L 2.0; 18.5;\\
   L 2.0; 37.0;\\
 END_B\\
 BLOCK 34;\\   ! поглотитель слева сверху, слой 5
  POLYGON_STAT ABSORBER;\\
   L 2.0; 43.0;\\
   L 2.0; 61.5;\\
   L 2.0; 80.0;\\
 END_B\\
 BLOCK 35;\\   ! вход 1 — АКТИВНЫЙ
  INPUT_X MAGNETIC; 37.0; 43.0; 0; 35; 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;\\
 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; 0.0; 0.0;\\
 T 13; 0.0; 0.0;\\
 T 14; 0.0; 0.0;\\
 T 15; 0.0; 0.0;\\
 T 16; 0.0; 0.0;\\
 T 17; 0.0; 0.0;\\
 T 18; 0.0; 0.0;\\
 T 19; 0.0; 0.0;\\
 T 20; 0.0; 0.0;\\
 T 21; 0.0; 0.0;\\
 T 22; 0.0; 0.0;\\
 T 23; 0.0; 0.0;\\
 T 24; 0.0; 0.0;\\
 T 25; 0.0; 0.0;\\
 T 26; 0.0; 0.0;\\
 T 27; 0.0; 0.0;\\
 T 28; 0.0; 0.0;\\
 T 29; 0.0; 0.0;\\
 T 30; 0.0; 0.0;\\
 T 31; 0.0; 0.0;\\
 T 32; 0.0; 0.0;\\
 T 33; 0.0; 0.0;\\
 T 34; 0.0; 0.0;\\
 T 35; 0.0; 0.0;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 26.25; 35.0;\\
#END_OUTPUT\\
#END_STEP

Patch antenna: cavity and radiation

Magnetic walls or open slots; absorber frame

Parameter Value
Library section Microstrip
Kernel PlanarRT H (planarrt_h.exe)
Source Balanis, patch cavity model; Hammerstad-Jensen; Wessel-Kohlhoff planar model
Mesh 235 × 160 nodes, step 0.5 mm
Task time 35 ns of model time, steps: 25
Run duration about 202 s on a six-core PC, without field output

Problem statement

A rectangular patch antenna in a 2D model, end-fed. The edge switch gives TWO different tasks, and both are honest.

"Magnetic walls" is a closed cavity: a half-wave resonance stands along the patch, and its frequency is given by a formula. That is how it is computed (the patch cavity model), and radiation is added later as a correction.

"Open edges": the slots radiate into the air, and the absorber frame around the domain plays the role of free space. (!) There is NO resonator along the patch in this case: the |S11| dips are set by the feed line with the slot. Checked by a run: the dips came out at 2.475 and 3.825 GHz with the calculated resonance at 2.98 GHz.

In the closed cavity the resonance exists: the kernel at the defaults gave a narrow dip of -12.8 dB at 3.30 GHz versus the calculated 2.98, i.e. 11 % ABOVE the formula. The difference comes from the feed slot in the end wall: the cavity is not completely closed.

(!) The patch length is taken from the formula WITHOUT the edge-extension correction. In a real patch this correction lowers the resonance, but the 2D model does not contain it: its numbers cannot be compared directly with a real antenna.

  • All four edges of the patch are magnetic walls, with a slot left in the left one for the feed line. This is how the patch resonator frequency is computed (Balanis): radiation is added later as a correction, and the 2D model gives the frequency itself.
  • The absorber frame around the domain is a safeguard here: nothing leaves the closed cavity. Switch the edges to open, and the frame becomes the free space into which the patch radiates.
  • (!) There are two different frequency shifts, and they must not be confused. In a REAL patch the edges "lengthen" the resonator (by about 2 x 0.4 h), and its resonance is below the ideal-cavity formula; the 2D model knows nothing about this. In the model itself the resonance came out ABOVE the formula (3.30 versus 2.98 GHz at the defaults): this is the effect of the feed slot. Both numbers were measured, not derived.
  • End feed rather than inset feed: the matching is not ideal, and the dip depth is not an indicator here.

Theoretical background

In the two-dimensional setting a microstrip line is replaced by the Wessel–Kohlhoff planar model: a strip of width w on a substrate of height h becomes a parallel-plate guide of width Weff with magnetic side walls and a uniform filling εeff. Both values come from the Hammerstad–Jensen quasi-static formulas, and frequency enters only through the wavelength in the line:

λg=cfεeff,Z0≈η0hWeffεeff

The model has two limits. The dispersion of εeff 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 |S11| of −128 to −156 dB and |S21|=0.00 dB. The |S11| ripple and the sum ∑i|Si1|2 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 half-wave resonance of a patch of length L is given by the model formula

fr=c2Lεeff

All patch edges here are magnetic walls, with a gap in the left one for the feed. The length is taken without the edge-extension correction. For the 25 × 30 mm mesh dimensions the formula gives fr=2.98 GHz. The edge switch of the sample changes the setup: with open edges the slots radiate, the absorber frame plays the role of space, and there is no resonator along the patch.

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
Patch width 30.41 mm (by the formula c/(2×fr)×sqrt(2/(eps+1)))
Patch permittivity eps_eff = 4.05 at W/h = 20.3
Patch length 24.84 mm = c/(2×fr×sqrt(eps_eff)), WITHOUT the edge correction
Snapped to the grid 25 mm x 30 mm with step 0.5 mm: the resonance is computed from THESE dimensions
Resonance from the grid dimensions 2.98 GHz
Feed line 50 Ohm w = 2.89 mm, eps_eff = 3.33, W_eff = 6.19 mm, lambda_g = 54.74 mm at 3 GHz
Patch edges magnetic walls: a closed cavity, a resonator
Expected a narrow |S11| dip, the half-wave resonance of the cavity. The formula from the grid dimensions gives 2.98 GHz, while the kernel at the defaults showed -12.8 dB at 3.30 GHz, i.e. 11 percent higher: the feed slot in the end wall does not close the cavity completely

Creating the task file

The sample is built into TPL Designer, so there is nothing to download. Follow the steps in order.

  1. Start TPL Designer. On the start screen, in the Take a sample card, click Open library.
  2. Choose the Microstrip section on the left and click the Patch antenna: cavity and radiation tile in the gallery. The sample card with its datasheet and parameters opens on the right.
The sample card in the TPL Designer library
The sample card in the TPL Designer library
  1. Keep the default parameters: all the numbers on this page were obtained for them. Changed values can be reset with Restore defaults.
  2. Click Open in editor. The task opens in the five-section wizard; the section list is on the left.
  3. 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.
The Geometry section of the TPL Designer wizard
The Geometry section of the TPL Designer wizard
  1. 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.
  2. 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.
The Check section of the TPL Designer wizard
The Check section of the TPL Designer wizard
  1. Click Create task file and choose an empty folder. It will contain these files: mspatch.tpl, mspatch_step.h.

Running the calculation

  1. Start PlanarRT H (planarrt_h.exe).
  2. Click Open Open or press Ctrl+O and choose mspatch.tpl in the folder you created. If the status bar shows Step:1;Error:no, the task was read correctly.
  3. Click Run Run or press F5. The kernel computes all task steps (25); on a six-core PC this takes about 202 s.
  4. Wait for "Done" in the status bar.

The kernel appends to the .s file instead of overwriting it. Delete the old .s file before a repeated run, or old points will mix with new ones.

Viewing the results

Scattering matrix. Click View S-matrix 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.

The TMCGROUT window right after opening the .s file
The TMCGROUT window right after opening the .s file

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

The TMCROS window with a port signal
The TMCROS window with a port signal

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

Results

Frequency response: magnitudes of the scattering-matrix elements computed by the kernel
Frequency response: magnitudes of the scattering-matrix elements computed by the kernel
Port signals over time
Port signals over time

Computed numbers: values at the range edges, mid-range and at the best match.

Frequency, GHz |S11|, dB
2.1 -0.62
3 -0.69
3.3 -12.67
3.9 -1.8

Field animation

Field computed by the kernel at 3 GHz: 320 frames every 20 ticks, up to 7.54 ns. The Wave scale, as in FieldView

Discussion

The kernel shows a narrow |S11| dip of −12.8 dB at 3.30 GHz, 11 % above the formula. The difference comes from the feed gap: the cavity is not fully closed. This shift must not be confused with another effect: in a real patch the fringing field lengthens the resonator and lowers the resonance, which the two-dimensional model does not know about. The 3.30 GHz figure therefore describes the model and cannot be compared directly with a manufactured antenna. Away from resonance |S11| is near −0.5 dB: an edge feed is poorly matched, and the depth of the dip is not a quality measure here.

Task file

TPL Designer shows this text in the Check section. The file is written in the CP1251 encoding.

mspatch.tpl
#TMC_RT_H
! Task generated by TPL Designer.
! Patch antenna 25 mm x 30 mm at 3 GHz, cavity model with radiating slots, FR-4.
! Kernel: tmc_rth (H-mode)
! Delete mspatch.s before the run -- it is appended to, not overwritten.

#include mspatch_step.h

mspatchstep 2.1; mspatch_f2p1; mspatch;
mspatchstep 2.175; mspatch_f2p175; mspatch;
mspatchstep 2.25; mspatch_f2p25; mspatch;
mspatchstep 2.325; mspatch_f2p325; mspatch;
mspatchstep 2.4; mspatch_f2p4; mspatch;
mspatchstep 2.475; mspatch_f2p475; mspatch;
mspatchstep 2.55; mspatch_f2p55; mspatch;
mspatchstep 2.625; mspatch_f2p625; mspatch;
mspatchstep 2.7; mspatch_f2p7; mspatch;
mspatchstep 2.775; mspatch_f2p775; mspatch;
mspatchstep 2.85; mspatch_f2p85; mspatch;
mspatchstep 2.925; mspatch_f2p925; mspatch;
mspatchstep 3.0; mspatch_f3; mspatch;
mspatchstep 3.075; mspatch_f3p075; mspatch;
mspatchstep 3.15; mspatch_f3p15; mspatch;
mspatchstep 3.225; mspatch_f3p225; mspatch;
mspatchstep 3.3; mspatch_f3p3; mspatch;
mspatchstep 3.375; mspatch_f3p375; mspatch;
mspatchstep 3.45; mspatch_f3p45; mspatch;
mspatchstep 3.525; mspatch_f3p525; mspatch;
mspatchstep 3.6; mspatch_f3p6; mspatch;
mspatchstep 3.675; mspatch_f3p675; mspatch;
mspatchstep 3.75; mspatch_f3p75; mspatch;
mspatchstep 3.825; mspatch_f3p825; mspatch;
mspatchstep 3.9; mspatch_f3p9; mspatch;

#EOF
mspatch_step.h
! ==========================================================================
! mspatch_step.h -- macro definitions of the computation steps.
! Included with the line  #include mspatch_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 mspatchstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  0.5;\\
 TIME   0.; 35.0;\\
 X_MIN  0.0;\\
 X_MAX  117.5;\\
 Y_MIN  0.0;\\
 Y_MAX  80.0;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! patch
  RECT_STAT 3.047361789; 60.0; 85.0; 25.0; 55.0;\\
 END_B\\
 BLOCK 2;\\   ! patch edge, bottom
  POLYGON_STAT MAGNETIC;\\
   L 60.0; 25.0;\\
   L 72.5; 25.0;\\
   L 85.0; 25.0;\\
 END_B\\
 BLOCK 3;\\   ! patch edge, top
  POLYGON_STAT MAGNETIC;\\
   L 60.0; 55.0;\\
   L 72.5; 55.0;\\
   L 85.0; 55.0;\\
 END_B\\
 BLOCK 4;\\   ! patch edge, left bottom
  POLYGON_STAT MAGNETIC;\\
   L 60.0; 25.0;\\
   L 60.0; 31.0;\\
   L 60.0; 37.0;\\
 END_B\\
 BLOCK 5;\\   ! patch edge, left top
  POLYGON_STAT MAGNETIC;\\
   L 60.0; 43.0;\\
   L 60.0; 49.0;\\
   L 60.0; 55.0;\\
 END_B\\
 BLOCK 6;\\   ! patch edge, right
  POLYGON_STAT MAGNETIC;\\
   L 85.0; 25.0;\\
   L 85.0; 40.0;\\
   L 85.0; 55.0;\\
 END_B\\
 BLOCK 7;\\   ! feed line
  RECT_STAT 2.3323322; 0.0; 60.0; 37.0; 43.0;\\
 END_B\\
 BLOCK 8;\\   ! line edge, bottom
  POLYGON_STAT MAGNETIC;\\
   L 0.0; 37.0;\\
   L 30.0; 37.0;\\
   L 60.0; 37.0;\\
 END_B\\
 BLOCK 9;\\   ! line edge, top
  POLYGON_STAT MAGNETIC;\\
   L 0.0; 43.0;\\
   L 30.0; 43.0;\\
   L 60.0; 43.0;\\
 END_B\\
 BLOCK 10;\\   ! absorber right, layer 1
  POLYGON_STAT ABSORBER;\\
   L 117.5; 0.0;\\
   L 117.5; 40.0;\\
   L 117.5; 80.0;\\
 END_B\\
 BLOCK 11;\\   ! absorber bottom, layer 1
  POLYGON_STAT ABSORBER;\\
   L 0.0; 0.0;\\
   L 58.75; 0.0;\\
   L 117.5; 0.0;\\
 END_B\\
 BLOCK 12;\\   ! absorber top, layer 1
  POLYGON_STAT ABSORBER;\\
   L 0.0; 80.0;\\
   L 58.75; 80.0;\\
   L 117.5; 80.0;\\
 END_B\\
 BLOCK 13;\\   ! absorber left bottom, layer 1
  POLYGON_STAT ABSORBER;\\
   L 0.0; 0.0;\\
   L 0.0; 18.5;\\
   L 0.0; 37.0;\\
 END_B\\
 BLOCK 14;\\   ! absorber left top, layer 1
  POLYGON_STAT ABSORBER;\\
   L 0.0; 43.0;\\
   L 0.0; 61.5;\\
   L 0.0; 80.0;\\
 END_B\\
 BLOCK 15;\\   ! absorber right, layer 2
  POLYGON_STAT ABSORBER;\\
   L 117.0; 0.0;\\
   L 117.0; 40.0;\\
   L 117.0; 80.0;\\
 END_B\\
 BLOCK 16;\\   ! absorber bottom, layer 2
  POLYGON_STAT ABSORBER;\\
   L 0.0; 0.5;\\
   L 58.75; 0.5;\\
   L 117.5; 0.5;\\
 END_B\\
 BLOCK 17;\\   ! absorber top, layer 2
  POLYGON_STAT ABSORBER;\\
   L 0.0; 79.5;\\
   L 58.75; 79.5;\\
   L 117.5; 79.5;\\
 END_B\\
 BLOCK 18;\\   ! absorber left bottom, layer 2
  POLYGON_STAT ABSORBER;\\
   L 0.5; 0.0;\\
   L 0.5; 18.5;\\
   L 0.5; 37.0;\\
 END_B\\
 BLOCK 19;\\   ! absorber left top, layer 2
  POLYGON_STAT ABSORBER;\\
   L 0.5; 43.0;\\
   L 0.5; 61.5;\\
   L 0.5; 80.0;\\
 END_B\\
 BLOCK 20;\\   ! absorber right, layer 3
  POLYGON_STAT ABSORBER;\\
   L 116.5; 0.0;\\
   L 116.5; 40.0;\\
   L 116.5; 80.0;\\
 END_B\\
 BLOCK 21;\\   ! absorber bottom, layer 3
  POLYGON_STAT ABSORBER;\\
   L 0.0; 1.0;\\
   L 58.75; 1.0;\\
   L 117.5; 1.0;\\
 END_B\\
 BLOCK 22;\\   ! absorber top, layer 3
  POLYGON_STAT ABSORBER;\\
   L 0.0; 79.0;\\
   L 58.75; 79.0;\\
   L 117.5; 79.0;\\
 END_B\\
 BLOCK 23;\\   ! absorber left bottom, layer 3
  POLYGON_STAT ABSORBER;\\
   L 1.0; 0.0;\\
   L 1.0; 18.5;\\
   L 1.0; 37.0;\\
 END_B\\
 BLOCK 24;\\   ! absorber left top, layer 3
  POLYGON_STAT ABSORBER;\\
   L 1.0; 43.0;\\
   L 1.0; 61.5;\\
   L 1.0; 80.0;\\
 END_B\\
 BLOCK 25;\\   ! absorber right, layer 4
  POLYGON_STAT ABSORBER;\\
   L 116.0; 0.0;\\
   L 116.0; 40.0;\\
   L 116.0; 80.0;\\
 END_B\\
 BLOCK 26;\\   ! absorber bottom, layer 4
  POLYGON_STAT ABSORBER;\\
   L 0.0; 1.5;\\
   L 58.75; 1.5;\\
   L 117.5; 1.5;\\
 END_B\\
 BLOCK 27;\\   ! absorber top, layer 4
  POLYGON_STAT ABSORBER;\\
   L 0.0; 78.5;\\
   L 58.75; 78.5;\\
   L 117.5; 78.5;\\
 END_B\\
 BLOCK 28;\\   ! absorber left bottom, layer 4
  POLYGON_STAT ABSORBER;\\
   L 1.5; 0.0;\\
   L 1.5; 18.5;\\
   L 1.5; 37.0;\\
 END_B\\
 BLOCK 29;\\   ! absorber left top, layer 4
  POLYGON_STAT ABSORBER;\\
   L 1.5; 43.0;\\
   L 1.5; 61.5;\\
   L 1.5; 80.0;\\
 END_B\\
 BLOCK 30;\\   ! absorber right, layer 5
  POLYGON_STAT ABSORBER;\\
   L 115.5; 0.0;\\
   L 115.5; 40.0;\\
   L 115.5; 80.0;\\
 END_B\\
 BLOCK 31;\\   ! absorber bottom, layer 5
  POLYGON_STAT ABSORBER;\\
   L 0.0; 2.0;\\
   L 58.75; 2.0;\\
   L 117.5; 2.0;\\
 END_B\\
 BLOCK 32;\\   ! absorber top, layer 5
  POLYGON_STAT ABSORBER;\\
   L 0.0; 78.0;\\
   L 58.75; 78.0;\\
   L 117.5; 78.0;\\
 END_B\\
 BLOCK 33;\\   ! absorber left bottom, layer 5
  POLYGON_STAT ABSORBER;\\
   L 2.0; 0.0;\\
   L 2.0; 18.5;\\
   L 2.0; 37.0;\\
 END_B\\
 BLOCK 34;\\   ! absorber left top, layer 5
  POLYGON_STAT ABSORBER;\\
   L 2.0; 43.0;\\
   L 2.0; 61.5;\\
   L 2.0; 80.0;\\
 END_B\\
 BLOCK 35;\\   ! port 1 -- ACTIVE
  INPUT_X MAGNETIC; 37.0; 43.0; 0; 35; 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;\\
 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; 0.0; 0.0;\\
 T 13; 0.0; 0.0;\\
 T 14; 0.0; 0.0;\\
 T 15; 0.0; 0.0;\\
 T 16; 0.0; 0.0;\\
 T 17; 0.0; 0.0;\\
 T 18; 0.0; 0.0;\\
 T 19; 0.0; 0.0;\\
 T 20; 0.0; 0.0;\\
 T 21; 0.0; 0.0;\\
 T 22; 0.0; 0.0;\\
 T 23; 0.0; 0.0;\\
 T 24; 0.0; 0.0;\\
 T 25; 0.0; 0.0;\\
 T 26; 0.0; 0.0;\\
 T 27; 0.0; 0.0;\\
 T 28; 0.0; 0.0;\\
 T 29; 0.0; 0.0;\\
 T 30; 0.0; 0.0;\\
 T 31; 0.0; 0.0;\\
 T 32; 0.0; 0.0;\\
 T 33; 0.0; 0.0;\\
 T 34; 0.0; 0.0;\\
 T 35; 0.0; 0.0;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 26.25; 35.0;\\
#END_OUTPUT\\
#END_STEP