Диаграмма направленности
В двумерной задаче поле не зависит от координаты , и диаграмма направленности (ДН) — функция одного угла в плоскости , отсчитываемого от оси против часовой стрелки. Счётное ядро рассчитывает поле только в ограниченной области, окружённой поглотителем, поэтому дальнюю зону оно не видит. ДН строится в три шага:
- на заданной частоте ядро накапливает комплексную амплитуду поля в узлах сетки (файлы
.AMP,.FAZ); - на замкнутом контуре в ближней зоне, охватывающем излучающую структуру, ядро вычисляет
поле и его нормальную производную и записывает точки контура как эквивалентные излучатели
(файл
.DAT); - вьювер TMC_DN суммирует поля этих излучателей в дальней зоне, нормирует ДН и считает коэффициент направленного действия (КНД) и коэффициент использования поверхности (КИП).
Тот же вьювер строит ДН произвольной антенной решётки, если файл излучателей написать вручную, и
умеет оценивать влияние случайных отклонений её параметров. Набор файлов .AMP, .FAZ, .dat
и вьювер ДН входят в состав пакета с первых версий [Климов, 2007, разд. 9.1, рис. 9.1]; примеры
применения — [Климов, 2007, гл. 10]. Алгоритмы описаны по коду библиотеки TMCIndan и вьювера
TMC_DN.
Контур интегрирования в ближней зоне
Задание. ДН включается строкой секции #OUTPUT
FIELD_DISTRIBUTION_M имя; F; Tmin; Tmax;
(или FIELD_DISTRIBUTION — квадратуры хранятся в файлах, это очень медленно)
(секция #OUTPUT). — частота ДН, —
окно накопления.
Комплексная амплитуда поля. Пока время лежит в окне, к двум квадратурам каждого узла прибавляется значение узла , умноженное на опорные косинус и синус частоты и на шаг по времени :
На первом шаге с окно закрывается, и по квадратурам находятся амплитуда и фаза поля в узле:
т. е. в установившемся режиме . Это один отсчёт
преобразования Фурье на частоте (переход в частотную область).
Формула точна для синуса, если окно содержит целое число периодов: тогда
, а . Поэтому при чтении задания конец окна
округляется вверх до целого числа периодов:
(в программе — с допуском
периода). Окно должно кончаться раньше конца расчёта TIME с учётом этого округления, иначе
файлы ДН не пишутся и ядро сообщает об ошибке; начинаться окно должно в установившемся режиме.
Значение узла — величина, пропорциональная в ядре H (поля ядра H) и в ядре X (поля ядра X); формулы ДН для обоих ядер одинаковы.
Принцип эквивалентности. Поле вне замкнутого контура, внутри которого находятся все источники и рассеиватели, однозначно определяется касательными составляющими электрического и магнитного полей на контуре; их можно заменить эквивалентными электрическими и магнитными токами и считать поле вне контура как излучение этих токов в свободном пространстве [Марков, Сазонов, 1975]. Контур можно провести в ближней зоне, прямо внутри расчётной области.
Контур в программе — прямоугольник, отстоящий от каждого края области на 10 шагов сетки ; другого способа задать контур в языке заданий нет (проверка требует не меньше 9 шагов). Точки контура идут через шаг , посередине между узлами. В каждой точке вычисляются:
- — среднее комплексных амплитуд двух соседних узлов вдоль стороны;
- касательная составляющая магнитного поля — из уравнения Максвелла для гармонического поля в вакууме, , с центральной разностью по нормали к стороне через шаг (по два узла с каждой стороны линии контура):
где — узлы с одной стороны от линии контура, — с другой; , так что , — магнитное поле в единицах электрического (). На вертикальных сторонах это , на горизонтальных — .
В ядре X те же формулы применяются к , и роль «касательного » играет величина, пропорциональная касательной составляющей (двойственность).
Затем в программе используется отбор точек по соотношению фаз: если для точки не выполняется условие на знак (своё для каждой стороны контура), её амплитуды и обнуляются. После этого фазы меняют знак: фаза запаздывания из формулы амплитуды и фазы переходит в аргумент комплексной амплитуды при зависимости от времени .
Где проводить контур. Из сказанного следуют правила размещения:
- излучающая структура и все объекты, влияние которых на ДН нужно учесть, должны целиком лежать внутри контура, т. е. дальше 10 шагов от края области;
- формула для использует волновое число вакуума, поэтому контур должен проходить в вакууме — не в диэлектрике, плазме или поглотителе;
- волны, отражённые от границы области, проходят через контур и искажают ДН, поэтому граница должна хорошо поглощать (поглощающая граница).
Интегрирование по полосам у границы
Квадратуры выше нужны только в узлах, по которым считаются и
точек контура, — это узлы в пределах одного узла по обе стороны от линии контура. Хранить
четыре массива (.COS, .SIN, .AMP, .FAZ) на каждый узел всей сетки на больших задачах
невозможно, поэтому в программе есть режим полос: контур в номерах узлов расширяется на узел
наружу, и квадратуры накапливаются только в четырёх полосах толщиной 3 узла — нижней и верхней
во всю ширину контура и левой и правой между ними, без повторов узлов
(полосы в коде). Размер хранения на один тон
где — ширина контура в узлах, — высота боковых полос.
Режим включается сам, если:
- в падающей волне несколько тонов (тогда квадратуры каждого тона хранятся в своём срезе
массива, и
.DATпишется на каждый тон); - или сетка не меньше 32 × 32 узлов, а четыре массива на всю область заняли бы больше четверти свободной оперативной памяти.
В режиме полос файлы .AMP/.FAZ по всей области не пишутся — амплитуда и фаза считаются
сразу в памяти, а файл .DAT получается тем же самым: на проверочных задачах 200 × 200 и
1000 × 1000 узлов он совпал с расчётом по всей области число в число. Выигрыш в памяти: на
сетке 11 млрд узлов — порядка 48 МБ вместо 176 ГБ (руководство пользователя TMC Suite, раздел
«Многочастотный расчёт»).
Переход в дальнюю зону
Поле линейного источника. В двумерной задаче точечный на плоскости источник — это бесконечная нить вдоль ; на большом расстоянии её поле убывает как (цилиндрическая волна). Для излучателя в точке с полярными координатами расстояние до удалённой точки наблюдения в направлении равно ; в дальней зоне этой разностью хода можно пренебречь в амплитуде, но не в фазе (условие дальней зоны для антенны размером — [Марков, Сазонов, 1975]). Общий множитель одинаков для всех направлений и опускается: ДН — функция только угла.
Поле решётки — когерентная сумма полей излучателей (поле решётки в коде):
где , — амплитуда и фаза излучателя, — его собственная ДН,
— общая для всех ДН элемента (третья строка файла .DAT), м/с.
Излучатели контура. Каждая точка контура даёт три записи с одним положением и сектором:
| Запись | Амплитуда, фаза | Собственная ДН |
|---|---|---|
| , | 1 | |
| (вертикальные стороны) | , | |
| (горизонтальные стороны) | , |
(на вертикальной стороне запись нулевая, на горизонтальной — ). Каждой записи задаётся сектор излучения своей стороны: правая , верхняя , левая , нижняя (границы смещены на 0,001°); вне сектора практически равна нулю — эквивалентный источник на стороне контура излучает только наружу. Секторы учитываются, если у строки ДН в TMC_DN включён признак Reduce (секторы).
Амплитуды всех записей умножаются на общий множитель, зависящий от шага сетки и частоты (файл .DAT):
Общий множитель не меняет ни нормированную ДН, ни КНД, ни КИП; от него зависит только абсолютная величина излучённой мощности, которую TMC_DN выводит для больших решёток.
ДН и файлы .AMP/.FAZ/.DAT
Файлы ядра (базовое имя — из строки FIELD_DISTRIBUTION[_M]):
| Файл | Содержимое |
|---|---|
.COS, .SIN |
квадратуры , по сетке (только FIELD_DISTRIBUTION) |
.AMP, .FAZ |
амплитуда и фаза по сетке; их показывает FieldView (кроме режима полос) |
.DAT |
эквивалентные излучатели контура для TMC_DN; при нескольких тонах — <имя>_<F>MHz.DAT на каждый тон |
Формат .DAT: строка Frequence = <F, ГГц> Ghz;, строка N = <число записей>;, строка общей
ДН элемента (у ядра — 1.), затем по строке на запись: номер, X, Y (мм), Amplitude,
Faza (градусы), FiMin, FiMax (градусы) и собственная ДН (1., cos(f), sin(f))
(формат). Ядро пишет .DAT само, как только закрывается
окно накопления.
Нормированная ДН — , в линейном масштабе или в децибелах (оси TMC_DN). Для решётки до 400 излучателей график строится на сетке из 400 углов в диапазоне оси X, для большей — на 1000 углах (сетка углов). Файл от ядра содержит три записи на точку контура, поэтому решётка «большая» уже при контуре длиннее 133 точек.
Многочастотная ДН. При падающей волне с несколькими тонами
(многочастотный расчёт) и строке FIELD_DISTRIBUTION_M квадратуры
накапливаются для каждого тона, и .DAT пишется на каждую частоту. Длину окна накопления
лучше брать кратной ( — разнос тонов): тогда тоны на окне ортогональны.
На проверочном примере (10 тонов через 0,2 ГГц) расхождение с отдельным одночастотным
расчётом составило 3,3 % при окне 6 нс и 0,9 % при окне 5 нс (руководство
пользователя TMC Suite, раздел «Многочастотный расчёт»).
Единица углов. Фаза в .FAZ хранится в единицах ANGLE_UNIT задания, а при построении
.DAT подставляется в тригонометрические функции как радианы. Поэтому при
ANGLE_UNIT gradus фазы излучателей в .DAT и вся ДН неверны (известный дефект);
для ДН используют радианы (подводные камни).
Примеры применения [Климов, 2007, гл. 10]:
- система активного и пассивного вибраторов на переходном отсеке разгонного блока «Фрегат» с обтекателем: рассчитанная ДН — главный луч отклонён на 9° от нормали, боковой лепесток −9,25 дБ; измеренная на макете — 12° и −8,4 дБ (разд. 10.2.1); далее — изменение ДН при модификации конструкции (разд. 10.2.2);
- антенна рефлектометра ИТЭР в зазоре бланкета: интерференция высших мод щели даёт частотную зависимость ДН системы «антенна — щель», несимметричное положение антенны перекашивает центральный лепесток (разд. 10.1.2);
- пятиэлементная фазированная решётка (косинус на пьедестале, луч 18°, длина 2,5 длины волны) рядом с металлическими объектами и диэлектрическим куполом: главный лепесток сужается с 40° до 25–30° по уровню 3 дБ и в нём появляется провал, купол делает ДН изрезанной (разд. 10.4). Двумерные срезы ДН дают качественную оценку влияния близких объектов.
КНД
Определение. Коэффициент направленного действия — отношение плотности потока мощности в направлении максимума к средней по всем направлениям при той же излучённой мощности [Марков, Сазонов, 1975]. В двумерной задаче «все направления» — окружность, и в программе используется
(у трёхмерной антенны вместо и интеграла по окружности — и интеграл по сфере). Для ненаправленного в плоскости излучателя (0 дБ). Это КНД в плоскости двумерной модели; с КНД трёхмерной антенны он напрямую не совпадает.
В программе (КНД в коде) интеграл и максимум берутся на отдельной мелкой сетке по полному кругу методом прямоугольников с шагом ,
где — наибольшее удаление излучателя от начала координат: 64 точки на радиан набега фазы , чтобы не пропустить узкий главный лепесток. КНД считается одинаково для решётки любого размера . Тождественно нулевая или нечисловая ДН — ошибка.
КИП
Определение. Коэффициент использования поверхности — отношение КНД антенны к КНД той же антенны при равномерном синфазном возбуждении [Марков, Сазонов, 1975]. В программе для решётки используется
где — КНД (формула КНД) опорной решётки той же геометрии: все амплитуды 1, фазы 0, без собственных ДН излучателей, без секторов и без общей ДН элемента (КИП в коде).
Ограничение. КИП считается только для решёток из излучателей. Для
опорная решётка не считается, а вместо КИП выводится излучённая мощность
в условных единицах (в легенде — Emitted Power). Файл ядра
почти всегда «большой» (три записи на точку контура), поэтому для ДН, рассчитанной ядром, КИП
обычно не выводится.
Антенные решётки
Файл .DAT можно написать вручную — тогда TMC_DN считает ДН обычной антенной решётки по
формуле поля решётки (входной файл .DAT):
Frequence = 10 Ghz;
N = 3;
1.
1 X = -15 mm; Y = 0 mm; Amplitude = 0.5; Faza = 0 degree; FiMin = -180 degree; FiMax = 180 degree; 1.
2 X = 0 mm; Y = 0 mm; Amplitude = 1; Faza = 0 degree; FiMin = -180 degree; FiMax = 180 degree; 1.
3 X = 15 mm; Y = 0 mm; Amplitude = 0.5; Faza = 0 degree; FiMin = -180 degree; FiMax = 180 degree; 1.
- координаты — в миллиметрах, фаза и границы сектора — в градусах, частота — в гигагерцах;
- строка излучателя может быть короткой (5 полей, без сектора и собственной ДН) — тогда сектор и излучатель изотропный;
- собственная ДН излучателя — выражение от
f(угол в радианах), напримерcos(f); третья строка — общая ДН элемента , тоже выражение отf.
Сканирование луча. Из формулы поля решётки следует: чтобы излучения элементов линейной решётки вдоль оси сложились синфазно в направлении , фазы задают линейно растущими по координате:
Ту же модель использует ДН, рассчитанная ядром: точки контура — излучатели такой «решётки».
Девиации ДН
Чтобы оценить, как разброс параметров излучателей меняет ДН, TMC_DN строит решётку со случайными отклонениями (девиации в коде). Каждому излучателю задаются независимые отклонения, равномерно распределённые в заданных пределах:
где — проценты амплитуды, — градусы, , — миллиметры
(по умолчанию амплитуда и фаза — 10, координаты — 0). Результат записывается новым файлом
.DAT и открывается как обычная ДН. Генератор случайных чисел не инициализируется заново,
поэтому при каждом запуске программы последовательность отклонений одна и та же.
Сравнение с требуемой ДН. Окно Calculate Directional Pattern Deviation считает ДН решётки на
сетке углов файла требуемой ДН .opt (строки «угол в градусах, значение») и пишет файл .dev:
угол, требуемая и рассчитанная нормированные ДН (ДН с отклонениями).
Целевая функция для подбора амплитуд и фаз в коде есть, но в пакете
не вызывается.
Соответствие в коде
| Символ / действие | Переменная, функция | Файл (src/) |
|---|---|---|
строка FIELD_DISTRIBUTION[_M], округление до целого числа периодов |
CTmcRTH_IndanOutput::ReadFileDistr |
libs/tmcindan/tmcrth_indanoutput.cpp |
| ошибка «окно ДН после конца расчёта» | CTmcRTHRectNode (вывод после цикла) |
kernels/planarrt_*/tmcrthrectnode.cpp |
| значение узла (шаг 2 в ядре H, 6 в ядре X) | prUNode1[n*nNodeStep], SetNodeStep |
libs/tmcindan/fieldintegrated.cpp |
| квадратуры , | CFieldIntegrated::Integrate, IntegrateInMemory, IntegrateInMemoryOneFreq; prCos, prSin |
то же |
| амплитуда и фаза | MakeFileAmplitudeAndFaza, MakeFileAmplitudeAndFazaFromMemory, MakeAmpFazFromMemory; prAmp, prFaz |
то же |
| контур в 10 шагах от края, проверка 9 шагов | SetDirectionalPatternParamDefault, IsDirectionalPatternDataCorrect; dDirPatXmin … dDirPatYmax |
то же |
| точки и касательное | ReadAmplitudaAndFazaX, ReadAmplitudaAndFazaY |
то же |
| отбор точек по фазам, смена знака фаз, секторы сторон | AddDirectionalPatternFileXmin … AddDirectionalPatternFileYmax |
то же |
три записи на точку, множитель , запись .DAT |
AddDirectionalPatternFileOneEmitter, MakeDirectionalPatternFile |
то же |
| режим полос, | SetBorderModeIfNeeded, BorderGeometry, BorderSlot; nBorderSize, bBorderOnly |
то же |
| тоны многочастотной ДН | SetFreqList; nFreqNum, dFreqList |
то же |
чтение .DAT, излучатели |
c2DArray::ReadData; cIzl |
viewers/dianapr/c2darray.cpp, cizl.cpp |
| , сектор | cIzl::dGetDirectionalPatternEmitter, cIzl::bIsAngleInDiapazon |
viewers/dianapr/cizl.cpp |
| поле решётки , | c2DArray::CalculateRealDN, CalculateImageDN, CalculateDiagrNapr |
viewers/dianapr/c2darray.cpp |
| КНД, мелкая сетка , нормировка | c2DArray::NormirovkaDiagrNapr, GetKnd, GetKnd_dB |
то же |
| КИП, опорная решётка, признак | CalculateRealDN_ForKip, CalculateImageDN_ForKip, GetKip, IsCalculateKip |
то же |
| девиации | c2DArray::MakeDeviation, GetRnd, SaveData |
то же |
| сравнение с требуемой ДН | OptimizationInit, SaveDeviationDirectionalPattern, GetOptimPurposeFunction |
то же |
Подробное описание кода — интегрирование поля для ДН, накопление квадратур, режим полос, файл .DAT, вьювер TMC_DN.
Источники
- [Климов, 2007] — гл. 9, разд. 9.1 (состав пакета, файлы
.AMP,.FAZ,.dat, вьювер ДН, рис. 9.1); гл. 10, разд. 10.1.2, 10.2, 10.4 (расчёты ДН: антенна ИТЭР, вибраторы на разгонном блоке «Фрегат» в сравнении с измерениями, решётка рядом с объектами). - [Марков, Сазонов, 1975] — принцип эквивалентности, дальняя зона, определения КНД и КИП.
- Код библиотеки TMCIndan и вьювера TMC_DN — накопление амплитуды и фазы, контур, эквивалентные излучатели, режим полос, КНД, КИП и девиации описаны по коду.
- Руководство пользователя TMC Suite, раздел «Многочастотный расчёт» — проверка режима полос и многочастотной ДН.
- Полный список литературы — Литература.
Radiation pattern
In a two-dimensional problem the field does not depend on the coordinate, and the radiation pattern (RP) is a function of a single angle in the plane, measured from the axis counter-clockwise. The compute kernel computes the field only in a bounded region surrounded by an absorber, so it does not see the far field. The RP is built in three steps:
- at a given frequency , the kernel accumulates the complex amplitude of the field at the grid nodes (files
.AMP,.FAZ); - on a closed contour in the near field enclosing the radiating structure, the kernel computes
the field and its normal derivative and writes the contour points as equivalent radiators
(file
.DAT); - the TMC_DN viewer sums the fields of these radiators in the far field, normalizes the RP and computes the directivity (D) and the aperture efficiency (AE).
The same viewer builds the RP of an arbitrary antenna array if the radiator file is written by hand, and
can estimate the influence of random deviations of its parameters. The set of files .AMP, .FAZ, .dat
and the RP viewer have been part of the package since its first versions [Klimov, 2007, Sec. 9.1, Fig. 9.1]; application
examples are given in [Klimov, 2007, Ch. 10]. The algorithms are described from the code of the TMCIndan library and the
TMC_DN viewer.
Integration contour in the near field
Task file. The RP is enabled by a line of the #OUTPUT section
FIELD_DISTRIBUTION_M name; F; Tmin; Tmax;
(or FIELD_DISTRIBUTION — the quadratures are stored in files, which is very slow)
(#OUTPUT section). is the RP frequency, and is
the accumulation window.
Complex amplitude of the field. While the time lies in the window, the node value , multiplied by the reference cosine and sine of the frequency and by the time step , is added to the two quadratures of each node:
At the first step with the window closes, and the amplitude and phase of the field at the node are found from the quadratures:
i.e. in the steady state . This is a single sample of the
Fourier transform at the frequency (transition to the frequency domain).
The formula is exact for a sine if the window contains an integer number of periods: then
and . Therefore, when the task file is read, the end of the window
is rounded up to an integer number of periods:
(in the program, with a tolerance of
period). The window must end before the end of the computation TIME, taking this rounding into account; otherwise
the RP files are not written and the kernel reports an error; the window must start in the steady state.
The node value is a quantity proportional to in the H kernel (H-kernel fields) and to in the X kernel (X-kernel fields); the RP formulas are the same for both kernels.
Equivalence principle. The field outside a closed contour that encloses all sources and scatterers is uniquely determined by the tangential components of the electric and magnetic fields on the contour; they can be replaced by equivalent electric and magnetic currents, and the field outside the contour can be computed as the radiation of these currents in free space [Markov, Sazonov, 1975]. The contour can be drawn in the near field, directly inside the computational region.
The contour in the program is a rectangle located 10 grid steps from each edge of the region; the task language provides no other way to specify the contour (the check requires at least 9 steps). The contour points are spaced by , midway between nodes. At each point the following are computed:
- — the average of the complex amplitudes of the two adjacent nodes along the side;
- the tangential component of the magnetic field — from Maxwell's equation for a harmonic field in vacuum, , with a central difference along the normal to the side over a step (two nodes on each side of the contour line):
where are the nodes on one side of the contour line and on the other; , so that , — the magnetic field in units of the electric field (). On the vertical sides this is , and on the horizontal sides .
In the X kernel the same formulas are applied to , and the role of the "tangential " is played by a quantity proportional to the tangential component of (duality).
The program then selects points by the phase relation: if the condition on the sign of (specific to each side of the contour) is not satisfied for a point, its amplitudes and are set to zero. After that the phases change sign: the lag phase from the amplitude and phase formula becomes the argument of the complex amplitude for the time dependence .
Where to place the contour. The above implies the following placement rules:
- the radiating structure and all objects whose influence on the RP must be taken into account must lie entirely inside the contour, i.e. farther than 10 steps from the region edge;
- the formula for uses the free-space wavenumber, so the contour must pass through vacuum — not through a dielectric, plasma or absorber;
- waves reflected from the region boundary pass through the contour and distort the RP, so the boundary must absorb well (absorbing boundary).
Integration over strips along the boundary
The quadratures above are needed only at the nodes from which and
of the contour points are computed — these are the nodes within one node on either side of the contour line. Storing
four arrays (.COS, .SIN, .AMP, .FAZ) for every node of the whole grid is impossible
for large problems, so the program has a strip mode: the contour, in node indices, is extended by one node
outwards, and the quadratures are accumulated only in four strips 3 nodes thick — the bottom and top strips
across the full width of the contour and the left and right strips between them, without repeated nodes
(strips in the code). The storage size per tone is
where is the contour width in nodes and is the height of the side strips.
The mode is enabled automatically if:
- the incident wave contains several tones (then the quadratures of each tone are stored in their own slice of
the array, and a
.DATfile is written for each tone); - or the grid is at least 32 × 32 nodes and four arrays for the whole region would occupy more than a quarter of the free RAM.
In strip mode the .AMP/.FAZ files for the whole region are not written — the amplitude and phase are computed
directly in memory, and the .DAT file is exactly the same: on the 200 × 200 and
1000 × 1000 node verification tasks it matched the whole-region computation number for number. The memory saving: on
a grid of 11 billion nodes it is about 48 MB instead of 176 GB (TMC Suite user manual, section
"Multi-frequency computation").
Transition to the far field
Field of a line source. In a two-dimensional problem, a source that is a point in the plane is an infinite filament along ; at a large distance its field decays as (a cylindrical wave). For a radiator at a point with polar coordinates , the distance to a remote observation point in the direction is ; in the far field this path difference can be neglected in the amplitude but not in the phase (the far-field condition for an antenna of size is [Markov, Sazonov, 1975]). The common factor is the same for all directions and is omitted: the RP is a function of the angle only.
Array field — the coherent sum of the fields of radiators (array field in the code):
where , are the amplitude and phase of a radiator, is its own RP,
is the element RP common to all radiators (the third line of the .DAT file), and m/s.
Contour radiators. Each contour point gives three records with the same position and sector:
| Record | Amplitude, phase | Own RP |
|---|---|---|
| , | 1 | |
| (vertical sides) | , | |
| (horizontal sides) | , |
(on a vertical side the record is zero, and on a horizontal side the record). Each record is assigned the radiation sector of its side: right , top , left , bottom (the boundaries are shifted by 0.001°); outside the sector is practically zero — an equivalent source on a side of the contour radiates only outwards. The sectors are taken into account if the Reduce flag is enabled for the RP line in TMC_DN (sectors).
The amplitudes of all records are multiplied by a common factor that depends on the grid step and the frequency (.DAT file):
The common factor changes neither the normalized RP, nor the directivity, nor the aperture efficiency; only the absolute value of the radiated power, which TMC_DN outputs for large arrays, depends on it.
RP and the .AMP/.FAZ/.DAT files
Kernel files (the base name is taken from the FIELD_DISTRIBUTION[_M] line):
| File | Contents |
|---|---|
.COS, .SIN |
quadratures , over the grid (FIELD_DISTRIBUTION only) |
.AMP, .FAZ |
amplitude and phase over the grid; displayed by FieldView (except in strip mode) |
.DAT |
equivalent radiators of the contour for TMC_DN; with several tones, <name>_<F>MHz.DAT for each tone |
The .DAT format: the line Frequence = <F, GHz> Ghz;, the line N = <number of records>;, the line of the common
element RP (for the kernel, 1.), followed by one line per record: number, X, Y (mm), Amplitude,
Faza (degrees), FiMin, FiMax (degrees) and the own RP (1., cos(f), sin(f))
(format). The kernel writes .DAT itself as soon as the
accumulation window closes.
Normalized RP — , on a linear scale or in decibels, (TMC_DN axes). For an array of up to 400 radiators, the plot is built on a grid of 400 angles within the X-axis range; for a larger array, on 1000 angles over (angle grid). A file from the kernel contains three records per contour point, so the array is already "large" for a contour longer than 133 points.
Multi-frequency RP. With an incident wave containing several tones
(multi-frequency computation) and a FIELD_DISTRIBUTION_M line, the quadratures
are accumulated for each tone, and a .DAT file is written for each frequency. The length of the accumulation window
should preferably be a multiple of ( is the tone spacing): then the tones are orthogonal over the window.
In the verification example (10 tones spaced by 0.2 GHz), the discrepancy with a separate single-frequency
computation was 3.3 % with a 6 ns window and 0.9 % with a 5 ns window (TMC Suite user
manual, section "Multi-frequency computation").
Angle unit. The phase in .FAZ is stored in the ANGLE_UNIT units of the task file, but when .DAT is built
it is substituted into trigonometric functions as radians. Therefore, with
ANGLE_UNIT gradus, the radiator phases in .DAT and the whole RP are incorrect (a known defect);
radians are used for the RP (pitfalls).
Application examples [Klimov, 2007, Ch. 10]:
- a system of active and passive dipoles on the adapter compartment of the Fregat upper stage with a fairing: in the computed RP the main beam is deflected by 9° from the normal, and the side lobe is −9.25 dB; measured on a mock-up, 12° and −8.4 dB (Sec. 10.2.1); followed by the change of the RP upon modification of the structure (Sec. 10.2.2);
- an ITER reflectometer antenna in a blanket gap: interference of the higher-order slot modes gives a frequency dependence of the RP of the "antenna — slot" system, and an asymmetric antenna position skews the central lobe (Sec. 10.1.2);
- a five-element phased array (cosine-on-a-pedestal distribution, beam at 18°, length 2.5 wavelengths) near metal objects and a dielectric radome: the main lobe narrows from 40° to 25–30° at the 3 dB level and a dip appears in it, and the radome makes the RP ragged (Sec. 10.4). Two-dimensional RP cuts give a qualitative estimate of the influence of nearby objects.
Directivity
Definition. Directivity is the ratio of the power flux density in the direction of the maximum to its average over all directions for the same radiated power [Markov, Sazonov, 1975]. In a two-dimensional problem, "all directions" is a circle, and the program uses
(for a three-dimensional antenna, and the integral over a circle are replaced by and an integral over a sphere). For a radiator that is omnidirectional in the plane, (0 dB). This is the directivity in the plane of the two-dimensional model; it does not coincide directly with the directivity of a three-dimensional antenna.
In the program (directivity in the code), the integral and the maximum are taken on a separate fine grid over the full circle by the rectangle method with step ,
where is the largest distance of a radiator from the origin: 64 points per radian of the phase , so as not to miss a narrow main lobe. The directivity is computed in the same way for an array of any size . An identically zero or non-numeric RP is an error.
Aperture efficiency
Definition. Aperture efficiency (AE) is the ratio of the directivity of an antenna to the directivity of the same antenna with uniform in-phase excitation [Markov, Sazonov, 1975]. For an array, the program uses
where is the directivity (directivity formula) of a reference array of the same geometry: all amplitudes 1, phases 0, without the own RPs of the radiators, without sectors and without the common element RP (aperture efficiency in the code).
Limitation. The aperture efficiency is computed only for arrays of radiators. For
the reference array is not computed, and instead of the aperture efficiency the radiated power
in arbitrary units is output (in the legend, Emitted Power). A kernel file
is almost always "large" (three records per contour point), so for an RP computed by the kernel the aperture efficiency
is usually not output.
Antenna arrays
A .DAT file can be written by hand — then TMC_DN computes the RP of an ordinary antenna array using the
array field formula (.DAT input file):
Frequence = 10 Ghz;
N = 3;
1.
1 X = -15 mm; Y = 0 mm; Amplitude = 0.5; Faza = 0 degree; FiMin = -180 degree; FiMax = 180 degree; 1.
2 X = 0 mm; Y = 0 mm; Amplitude = 1; Faza = 0 degree; FiMin = -180 degree; FiMax = 180 degree; 1.
3 X = 15 mm; Y = 0 mm; Amplitude = 0.5; Faza = 0 degree; FiMin = -180 degree; FiMax = 180 degree; 1.
- coordinates are in millimetres, the phase and sector limits in degrees, and the frequency in gigahertz;
- a radiator line may be short (5 fields, without a sector and own RP) — then the sector is and the radiator is isotropic;
- the own RP of a radiator is an expression in
f(the angle in radians), for examplecos(f); the third line is the common element RP , also an expression inf.
Beam scanning. It follows from the array field formula that, for the radiation of the elements of a linear array along the axis to add in phase in the direction , the phases are set to increase linearly with the coordinate:
The RP computed by the kernel uses the same model: the contour points are the radiators of such an "array".
RP deviations
To estimate how the spread of radiator parameters changes the RP, TMC_DN builds an array with random deviations (deviations in the code). Each radiator is assigned independent deviations, uniformly distributed within specified limits:
where is in percent of the amplitude, in degrees, and , in millimetres
(by default 10 for the amplitude and phase and 0 for the coordinates). The result is written to a new
.DAT file and opened as an ordinary RP. The random-number generator is not re-initialized,
so the sequence of deviations is the same at every program start.
Comparison with a required RP. The Calculate Directional Pattern Deviation window computes the array RP on
the angle grid of the required-RP file .opt (lines "angle in degrees, value") and writes a .dev file:
angle, required and computed normalized RPs (RP with deviations).
An objective function for fitting amplitudes and phases exists in the code, but is not
called in the package.
Mapping to the code
| Symbol / action | Variable, function | File (src/) |
|---|---|---|
FIELD_DISTRIBUTION[_M] line, rounding of to an integer number of periods |
CTmcRTH_IndanOutput::ReadFileDistr |
libs/tmcindan/tmcrth_indanoutput.cpp |
| error "RP window after the end of the computation" | CTmcRTHRectNode (output after the loop) |
kernels/planarrt_*/tmcrthrectnode.cpp |
| node value (stride 2 in the H kernel, 6 in the X kernel) | prUNode1[n*nNodeStep], SetNodeStep |
libs/tmcindan/fieldintegrated.cpp |
| quadratures , | CFieldIntegrated::Integrate, IntegrateInMemory, IntegrateInMemoryOneFreq; prCos, prSin |
same file |
| amplitude and phase | MakeFileAmplitudeAndFaza, MakeFileAmplitudeAndFazaFromMemory, MakeAmpFazFromMemory; prAmp, prFaz |
same file |
| contour 10 steps from the edge, 9-step check | SetDirectionalPatternParamDefault, IsDirectionalPatternDataCorrect; dDirPatXmin … dDirPatYmax |
same file |
| of a point and tangential | ReadAmplitudaAndFazaX, ReadAmplitudaAndFazaY |
same file |
| point selection by phases, phase sign change, side sectors | AddDirectionalPatternFileXmin … AddDirectionalPatternFileYmax |
same file |
three records per point, factor , writing .DAT |
AddDirectionalPatternFileOneEmitter, MakeDirectionalPatternFile |
same file |
| strip mode, | SetBorderModeIfNeeded, BorderGeometry, BorderSlot; nBorderSize, bBorderOnly |
same file |
| tones of a multi-frequency RP | SetFreqList; nFreqNum, dFreqList |
same file |
reading .DAT, radiators |
c2DArray::ReadData; cIzl |
viewers/dianapr/c2darray.cpp, cizl.cpp |
| , sector | cIzl::dGetDirectionalPatternEmitter, cIzl::bIsAngleInDiapazon |
viewers/dianapr/cizl.cpp |
| array field , | c2DArray::CalculateRealDN, CalculateImageDN, CalculateDiagrNapr |
viewers/dianapr/c2darray.cpp |
| directivity, fine grid , normalization | c2DArray::NormirovkaDiagrNapr, GetKnd, GetKnd_dB |
same file |
| aperture efficiency, reference array, flag | CalculateRealDN_ForKip, CalculateImageDN_ForKip, GetKip, IsCalculateKip |
same file |
| deviations | c2DArray::MakeDeviation, GetRnd, SaveData |
same file |
| comparison with a required RP | OptimizationInit, SaveDeviationDirectionalPattern, GetOptimPurposeFunction |
same file |
A detailed description of the code: field integration for the RP, quadrature accumulation, strip mode, .DAT file, TMC_DN viewer.
Sources
- [Klimov, 2007] — Ch. 9, Sec. 9.1 (composition of the package, files
.AMP,.FAZ,.dat, RP viewer, Fig. 9.1); Ch. 10, Sec. 10.1.2, 10.2, 10.4 (RP computations: ITER antenna, dipoles on the Fregat upper stage compared with measurements, an array near objects). - [Markov, Sazonov, 1975] — equivalence principle, far field, definitions of directivity and aperture efficiency.
- Code of the TMCIndan library and the TMC_DN viewer — the accumulation of amplitude and phase, the contour, the equivalent radiators, the strip mode, directivity, aperture efficiency and deviations are described from the code.
- TMC Suite user manual, section "Multi-frequency computation" — verification of the strip mode and the multi-frequency RP.
- The full reference list is given in References.