H-изгиб 90°

Поворот волновода со срезанным наружным углом

Параметр Значение
Раздел библиотеки Волноводы и узлы
Ядро PlanarRT H (planarrt_h.exe)
Источник EIA RS-261, IEC 60153-2, ГОСТ 20900-75
Сетка 175 × 175 узлов, шаг 0,5715 мм
Время счёта задания 20 нс модельного времени, шагов: 21
Длительность прогона около 37 с на шестиядерном ПК, без вывода поля

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

Поворот волновода на 90 градусов в H-плоскости. Прямой угол заметно отражает; срез наружного угла уменьшает отражение. Оптимальный срез подбирают — меняйте долю среза и сравнивайте |S11|.

Второй вход стоит на верхней границе области: вход вдоль оси X (INPUT_Y) программа выбирает сама.

  • Формулы для срезанного изгиба нет — его подбирают. Поменяйте долю среза и сравните |S11|: прямой угол отражает заметно сильнее.

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

В прямоугольном волноводе шириной a основная волна H10 не зависит от координаты вдоль узкой стенки, поэтому задача двумерна и решается в плоскости H ядром PlanarRT H. Поле существует выше критической частоты, а длина волны в волноводе и волновое сопротивление зависят от частоты:

fc=c2a,λg=λ1−(fc/f)2,ZH=η01−(fc/f)2

Результат расчёта — матрица рассеяния Sij=bi/aj, где aj и bi — амплитуды падающей и отражённой волн на входах. Для устройства без потерь столбец матрицы нормирован: ∑i|Sij|2=1. Это первая проверка любого волноводного расчёта.

При повороте на 90° в плоскости H фронт волны должен развернуться, и прямой угол работает как реактивная неоднородность. Срез наружного угла укорачивает путь по внешней стенке. Формулы для срезанного изгиба нет, его подбирают: параметр образца меняет срез, а по умолчанию он равен 0,6a=13,72 мм на каждую стенку.

Паспорт образца. Значения, которые 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 ГГц
Срез угла 13.72 мм по каждой стенке (0.6 a)
Плечи по 75.44 мм (2 λв)

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

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

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

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

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

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

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

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

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

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

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

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

Результаты

Частотная характеристика: модули элементов матрицы рассеяния, рассчитанные ядром
Частотная характеристика: модули элементов матрицы рассеяния, рассчитанные ядром
Развёрнутая фаза прохождения S21
Развёрнутая фаза прохождения S21
Баланс мощности: сумма квадратов модулей первого столбца матрицы
Баланс мощности: сумма квадратов модулей первого столбца матрицы
Сигналы на портах во времени
Сигналы на портах во времени

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

Частота, ГГц |S11|, дБ |S21|, дБ
8,2 -18,5 -0,06
10,3 -39,23 -0
10,51 -52,83 0
12,4 -23,98 -0,02

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

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

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

На подобранном срезе изгиб почти прозрачен: |S21| не хуже −0,1 дБ, а минимум |S11|=−52,8 дБ приходится на 10,51 ГГц, почти на середину полосы. На краях полосы отражение растёт до −18,5 дБ и −24 дБ. Это характерно для настройки компенсацией: реактивности угла и среза взаимно уничтожаются точно только на одной частоте. Изменив долю среза на 0, вы увидите, насколько хуже работает прямой угол. На анимации хорошо виден разворот фронта у скоса.

Файл задания

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

bend.tpl
#TMC_RT_H
! Задание сгенерировано TPL Designer.
! H-изгиб 90 град. со срезанным углом. Волновод WR-90 / R100, a = 22.86 мм, H10.
! Ядро: tmc_rth (H-мода)
! Перед прогоном удалить bend.s -- дописывается, а не перезаписывается.

#include bend_step.h

bendstep 8.2; bend_f8p2; bend;
bendstep 8.41; bend_f8p41; bend;
bendstep 8.62; bend_f8p62; bend;
bendstep 8.83; bend_f8p83; bend;
bendstep 9.04; bend_f9p04; bend;
bendstep 9.25; bend_f9p25; bend;
bendstep 9.46; bend_f9p46; bend;
bendstep 9.67; bend_f9p67; bend;
bendstep 9.88; bend_f9p88; bend;
bendstep 10.09; bend_f10p09; bend;
bendstep 10.3; bend_f10p3; bend;
bendstep 10.51; bend_f10p51; bend;
bendstep 10.72; bend_f10p72; bend;
bendstep 10.93; bend_f10p93; bend;
bendstep 11.14; bend_f11p14; bend;
bendstep 11.35; bend_f11p35; bend;
bendstep 11.56; bend_f11p56; bend;
bendstep 11.77; bend_f11p77; bend;
bendstep 11.98; bend_f11p98; bend;
bendstep 12.19; bend_f12p19; bend;
bendstep 12.4; bend_f12p4; bend;

#EOF
bend_step.h
! ==========================================================================
! bend_step.h — макроопределения шагов расчёта.
! Подключается строкой  #include bend_step.h  и должен лежать РЯДОМ с .tpl
!
! ДВА бэкслеша в конце строки = "текст макроса продолжается ниже".
! У ПОСЛЕДНЕЙ строки макроса переноса НЕТ — это признак конца.
! ==========================================================================
#define bendstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  0.5715;\\
 TIME   0.; 20.0;\\
 X_MIN  0.0;\\
 X_MAX  100.0125;\\
 Y_MIN  0.0;\\
 Y_MAX  100.0125;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! наружная стенка
  POLYGON_STAT METAL;\\
   L 0.0; 1.7145;\\
   L 84.582; 1.7145;\\
   L 98.298; 15.4305;\\
   L 98.298; 100.0125;\\
 END_B\\
 BLOCK 2;\\   ! внутренняя стенка
  POLYGON_STAT METAL;\\
   L 0.0; 24.5745;\\
   L 75.438; 24.5745;\\
   L 75.438; 100.0125;\\
 END_B\\
 BLOCK 3;\\   ! вход 1 — АКТИВНЫЙ
  INPUT_X ; 1.7145; 24.5745; 0; 20; 1; 0;\\
 END_B\\
 BLOCK 4;\\   ! вход 2 — пассивный
  INPUT_Y ; 75.438; 98.298; 40; 60; 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; 100.0125;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 15.0; 20.0;\\
#END_OUTPUT\\
#END_STEP

H-bend 90 deg.

Waveguide bend with a mitred outer corner

Parameter Value
Library section Waveguides and components
Kernel PlanarRT H (planarrt_h.exe)
Source EIA RS-261, IEC 60153-2, GOST 20900-75
Mesh 175 × 175 nodes, step 0.5715 mm
Task time 20 ns of model time, steps: 21
Run duration about 37 s on a six-core PC, without field output

Problem statement

A 90-degree bend of the waveguide in the H-plane. A square corner reflects noticeably; mitring the outer corner reduces the reflection. The optimal mitre is found by tuning: change the mitre fraction and compare |S11|.

The second port is on the top boundary of the domain: the program chooses the port along the X axis (INPUT_Y) itself.

  • There is no formula for a mitred bend; it is tuned. Change the mitre fraction and compare |S11|: a square corner reflects noticeably more.

Theoretical background

In a rectangular waveguide of width a the dominant H10 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:

fc=c2a,λg=λ1−(fc/f)2,ZH=η01−(fc/f)2

The result of the calculation is the scattering matrix Sij=bi/aj, where aj and bi are the amplitudes of the incident and outgoing waves at the ports. For a lossless device each column is normalised: ∑i|Sij|2=1. This is the first check of any waveguide calculation.

In a 90° H-plane bend the wavefront has to turn, and a right angle acts as a reactive discontinuity. Cutting the outer corner shortens the path along the outer wall. There is no formula for a mitred bend, so the cut is tuned: the sample parameter changes it, and by default it equals 0.6a=13.72 mm along each wall.

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
Corner mitre 13.72 mm along each wall (0.6 a)
Arms 75.44 mm each (2 lambda_g)

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 Waveguides and components section on the left and click the H-bend 90 deg. 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: bend.tpl, bend_step.h.

Running the calculation

  1. Start PlanarRT H (planarrt_h.exe).
  2. Click Open Open or press Ctrl+O and choose bend.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 (21); on a six-core PC this takes about 37 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
Unwrapped transmission phase S21
Unwrapped transmission phase S21
Power balance: sum of squared magnitudes of the first matrix column
Power balance: sum of squared magnitudes of the first matrix column
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 |S21|, dB
8.2 -18.5 -0.06
10.3 -39.23 -0
10.51 -52.83 0
12.4 -23.98 -0.02

Field animation

Field computed by the kernel at 10.3 GHz: 320 frames every 5 ticks, up to 2.17 ns. The Wave scale, as in FieldView

Discussion

With the tuned cut the bend is almost transparent: |S21| is no worse than −0.1 dB, and the |S11| minimum of −52.8 dB falls at 10.51 GHz, almost mid-band. At the band edges the reflection rises to −18.5 dB and −24 dB. This is typical of compensation: the reactances of the corner and the cut cancel exactly at one frequency only. Set the cut fraction to 0 to see how much worse a right angle performs. The animation clearly shows the wavefront turning at the chamfer.

Task file

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

bend.tpl
#TMC_RT_H
! Task generated by TPL Designer.
! H-bend 90 deg. with a mitred corner. Waveguide WR-90 / R100, a = 22.86 mm, H10.
! Kernel: tmc_rth (H-mode)
! Delete bend.s before the run -- it is appended to, not overwritten.

#include bend_step.h

bendstep 8.2; bend_f8p2; bend;
bendstep 8.41; bend_f8p41; bend;
bendstep 8.62; bend_f8p62; bend;
bendstep 8.83; bend_f8p83; bend;
bendstep 9.04; bend_f9p04; bend;
bendstep 9.25; bend_f9p25; bend;
bendstep 9.46; bend_f9p46; bend;
bendstep 9.67; bend_f9p67; bend;
bendstep 9.88; bend_f9p88; bend;
bendstep 10.09; bend_f10p09; bend;
bendstep 10.3; bend_f10p3; bend;
bendstep 10.51; bend_f10p51; bend;
bendstep 10.72; bend_f10p72; bend;
bendstep 10.93; bend_f10p93; bend;
bendstep 11.14; bend_f11p14; bend;
bendstep 11.35; bend_f11p35; bend;
bendstep 11.56; bend_f11p56; bend;
bendstep 11.77; bend_f11p77; bend;
bendstep 11.98; bend_f11p98; bend;
bendstep 12.19; bend_f12p19; bend;
bendstep 12.4; bend_f12p4; bend;

#EOF
bend_step.h
! ==========================================================================
! bend_step.h -- macro definitions of the computation steps.
! Included with the line  #include bend_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 bendstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  0.5715;\\
 TIME   0.; 20.0;\\
 X_MIN  0.0;\\
 X_MAX  100.0125;\\
 Y_MIN  0.0;\\
 Y_MAX  100.0125;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! outer wall
  POLYGON_STAT METAL;\\
   L 0.0; 1.7145;\\
   L 84.582; 1.7145;\\
   L 98.298; 15.4305;\\
   L 98.298; 100.0125;\\
 END_B\\
 BLOCK 2;\\   ! inner wall
  POLYGON_STAT METAL;\\
   L 0.0; 24.5745;\\
   L 75.438; 24.5745;\\
   L 75.438; 100.0125;\\
 END_B\\
 BLOCK 3;\\   ! port 1 -- ACTIVE
  INPUT_X ; 1.7145; 24.5745; 0; 20; 1; 0;\\
 END_B\\
 BLOCK 4;\\   ! port 2 -- passive
  INPUT_Y ; 75.438; 98.298; 40; 60; 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; 100.0125;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 15.0; 20.0;\\
#END_OUTPUT\\
#END_STEP