The currents in a planar MoM simulation are discretized as a collection of elementary currents with small finite spatial extents. These elementary currents are called basis functions and obviously have a vectorial nature. The total currents (solution of the problem) are summations of these elementary currents. The basis functions are well defined and easy to calculate; however, their amplitudes are initially unknown in a MoM problem. Through the planar MoM solution, you find these unknown amplitudes. Once the total currents are known, you can calculate the fields everywhere in the structure.
== A Planar Method Of Moments Primer ==
=== Multilayer Greenâs Functions ===
The Greenâs functions are the solutions of boundary value problems when they are excited by an elementary source. This is usually assumed to be an infinitesimally small vectorial point source. In order for Greenâs functions to be computationally useful, they must have analytical closed forms like a mathematical expression, or one should be able to compute them using a recursive process. It turns out that only very few boundary value problems have closed-form Greenâs functions. Planar layered structures with laterally infinite extents are one of those few cases, which can be represented by recursive dyadic Green's functions.
where ''''''G<sub>EJ</sub>''', '''G<sub>EM</sub>''', '''G<sub>HJ</sub>''', '''GH<sub>M</sub>'''''' are the dyadic Greenâs functions for the electric and magnetic currents due to electric and magnetic current source, respectively, and '''E<sup>i</sup>''' and '''H<sup>i</sup>''' are the incident or impressed electric and magnetic fields, respectively. In these equations, '''r''' is the position vector of the observation point and '''r'''' is the position vector of the source point. V is the volume that contains all the sources and the volume integration is performed with respect to the primed coordinates. The incident or impressed fields provide the excitation of the structure. They may come from an incident plane wave or a gap source on a microstrip line, a short dipole, etc. The complexity of the Greenâs functions depends on what is considered as the background structure. If you remove all the unknown currents from the structure, you are left with the background structure.
  === Planar Integral Equations ===
To derive a system of integral equations, we enforce the boundary conditions on the integral definitions of the '''E''' and '''H''' fields as follows:
[[File:PMOM5.png]]
where k<sub>0</sub> is the free space propagation constant, Y<sub>0</sub>=1/Z<sub>0</sub> =1/(120Ï120p) is the free space intrinsic admittance, εe<sub>r</sub> is the permittivity of the dielectric insert, and εe<sub>b</sub> is the permittivity of its background layer. In a 2.5-D formulation, it is assumed that the volume currents have only a vertical component along the Z direction, and their circumferential components are negligible.
=== Numerical Solution Of Integral Equations ===
The planar integral equations derived earlier can be solved numerically by discretizing the unknown currents using a proper meshing scheme. The original functional equations are reduced to discretized linear algebraic equations over elementary cells. The unknown quantities are found by solving this system of linear equations, and many other parameters can be computed thereafter. This method of numerical solution of integral equations is known as the Method of Moments (MoM). In this method, the unknown electric and magnetic currents are represented by expansions of basis functions as follows:
Similar expressions can be derived for the T<sup>(EM)</sup>, U<sup>(HJ)</sup> and Y<sup>(HM)</sup>elements of the MoM matrix.
=== Discretization Of Electric & Magnetic Currents ===
The right choice of the basis functions to represent the elementary currents is very important. It will determine the accuracy and computational efficiency of the resulting numerical solution. Rooftop basis functions are one of the most popular types of basis functions used in a variety of MoM formulations. The surface currents (whether electric or magnetic) are discretized using 2D rooftop basis functions shown in the figure below:
Figure 2: Prismatic basis functions built over single triangular and rectangular cells.
== Anatomy Of A Planar Structure ==
EM.Cubeâs [[Planar Module]] is intended for constructing and modeling planar layered structures. By a planar structure we mean one that contains a background substrate of laterally infinite extents, made up of one or more material layers all stacked up vertically along the Z axis. Objects of finite size are then interspersed among these substrate layers. This is somehow different than EM.Cube's other computational modules, which are geared for handling arbitrary 3D structures.
Figure 1: A typical planar layered structure.
=== Defining Layer Stack-Up ===
When you start a new project in EM.Cubeâs [[Planar Module]], there is always a default background structure that consists of a finite vacuum layer sandwiched between a vacuum top half-space and a PEC bottom half-space. Every time you enter the [[Planar Module|Planar module]], the '''Stack-up Settings Dialog''' opens up. This is where you define the entire background structure. Once you close this dialog, you can open it again by right clicking the '''Layer Stack-up''' item in the '''Computational Domain''' section of the Navigation Tree and selecting '''Layer Stack-up Settings...''' from the contextual menu. Or alternatively, you can select the menu item '''Simulate > Computational Domain > Layer Stack-up Settings...'''
The Stack-up Settings dialog has two tabs: '''Layer Hierarchy''' and '''Embedded Sets'''. The Layer Hierarchy tab has a table that shows all the background layers in hierarchical order from the top half-space to the bottom half-space. It also lists the material label of each layer, Z-coordinate of the bottom of each layer, its thickness (in project units) and material properties: permittivity (εe<sub>r</sub>), permeability (μµ<sub>r</sub>), electric conductivity (Ïs) and magnetic conductivity (Ïs<sub>m</sub>). There is also a column that lists the names of embedded object sets inside each substrate layer, if any.
You can add new layers to your project's stack-up or delete its layers, or move layers up or down and thus change the layer hierarchy. To add a new background layer, click the arrow symbol on the '''Insert...'''button at the bottom of the dialog and select '''Substrate Layer''' from the button's dropdown list. A new dialog opens up where you can enter a label for the new layer and values for its material properties and thickness in project units.
Figure 1: [[Planar Module]]'s Layer Stack-up Settings dialog.
  === Editing Substrate Layers ===After creating a substrate layer, you can always edit its properties in the Layer Stack-up Settings dialog. Click on any layer's row in the table to select and highlight it and then click the '''Edit''' button. The substrate layer dialog opens up, where you can change the layer's label and assigned color. In the material properties section of the dialog, you can change the name of the material and its properties: permittivity (εe<sub>r</sub>), permeability (μµ<sub>r</sub>), electric conductivity (Ïs) and magnetic conductivity (Ïs<sub>m</sub>). To define electrical losses, you can either assign a value for electric conductivity (Ïs), or alternatively, define a loss tangent for the material. In the latter case, check the box labeled "'''Specify Loss Tangent'''" and enter a value for it. In this case, the electric conductivity field becomes greyed out and reflects the corresponding Ï s value at the center frequency of the project.
You can also set the thickness of the substrate layer in the project units. Note that you cannot change the thickness of the top and bottom half-spaces. You can only change their material properties.
Figure 2: EM.Cube's Materials dialog.
=== Planar Object Types ===
EM.Cubeâs [[Planar Module]] groups objects by their material and electromagnetic properties. Each object group shares the same color and same position in the layer stack-up. All the planar objects belonging to the same trace are located on the same substrate layer boundary. All the prismatic objects belonging to the same embedded set lie inside the same substrate layer and have the same material composition. Theoretically speaking, all the objects belonging to a group are governed by the same boundary conditions. EM.Cubeâs [[Planar Module]] currently provides the following types of objects for building a planar layered structure:
Figure 1: [[Planar Module]]'s Navigation Tree.
=== Defining Traces & Object Sets ===
When you start a new project in [[Planar Module]], the project workspace looks empty, and there are no finite objects in it. However, a default background structure is always assumed to exist by default. Objects are defined as part of traces or embedded sets. Once defined, you can see a list of project objects in the '''Physical Structure''' section of the Navigation Tree. Traces and object sets can be defined either from Layer Stack-up Settings dialog or from the Navigation Tree.
Every time you define a new trace, it is also added under the respective category in the Navigation Tree. Alternatively, you can define a new trace from the Navigation Tree by right clicking on one of the trace type names and selecting '''Insert New PEC Trace...'''or '''Insert New PMC Trace...'''or '''Insert New Conductive Sheet Trace...'''A respective dialog opens up for setting the trace properties. Once you close this dialog, it takes you directly to the Layer Stack-up Settings dialog so that you can set the right position of the trace on the stack-up.
=== Drawing Planar Objects ===
As soon as you start drawing geometrical objects in the project workspace, the Physical Structure section of the Navigation Tree gets populated. The names of traces are added under their respective trace type category, and the names of objects appear under their respective trace group. At any time, one and only one trace is active in the project workspace. An active trace is where all the new objects you draw belong to. When you define a new trace, it is set as active and you can immediately start drawing new objects on that trace. You can also set any trace active at any time by right clicking its name on the Navigation Tree and selecting '''Activate''' from the contextual menu. The name of the active trace is always displayed in bold letter in the Navigation Tree.
EM.Cube's [[Planar Module]] has a special feature that makes construction of planar structures quite easy and straightforward. '''The active work plane of the project workspace is always set at the plane of the active trace.''' In EM.Cube's other modules, all objects are drawn in the XY plane (z = 0) by default. In [[Planar Module]], all new objects are drawn on a horizontal plane that is located at the Z-coordinate of the currently active trace. As you change the active trace or add a new trace, you will also change the active work plane.
=== Modeling Metallic Traces ===
A trace is a group of finite-sized planar objects that have the same conductive properties and same Z-coordinate. In other words, they are located on the same horizontal plane, or at the same vertical level on the layer stack-up. You can define two types of metallic traces in the [[Planar Module]]:
# '''PEC Traces:''' These represent perfect conductor objects that have zero thickness and no editable material properties.
# '''Conductive Sheet Traces:''' These represent imperfect metal objects. They have a very small finite thickness Ï t and a finite conductivity Ïs.
The conductive sheet traces are modeled using the surface impedance boundary condition:
[[File:PMOM18.png]]
If the thickness Ï t of the sheet is less than the skin depth, then the conductive sheet transition boundary condition is used instead, and the surface impedance is given by
[[File:PMOM19(2).png]]
Figure 1: The [[Planar Module]]'s PEC and Conductive Sheet Trace dialogs.
=== Modeling Slot Traces ===
Slots and apertures are cut-out and removed metal in an infinite perfectly conducting (PEC) ground plane. When a slot is excited, tangential electric fields are formed on the aperture, which can be modeled as finite magnetic surface currents confined to the area of the slot. Therefore, instead of modeling the electric surface currents on the PEC ground around the slot, one can alternatively model the finite-extent magnetic surface currents on PMC traces. In EM.Cube's [[Planar Module]], you define slot objects under PMC traces. A PMC trace at a certain Z-plane implies the presence of an infinite PEC plane at that Z-coordinate. Therefore, you do not need to define an additional PEC plane at that location on the layer stack-up. The slot (PMC) objects provide the electromagnetic coupling between the two sides of this infinite ground plane. By the same token, you cannot place a PEC trace and a PMC trace at the same Z-level, as the latter's ground will short the former. However, you can define two or more PMC traces at the same Z-plane. In this case, all the slot objects lie on the same infinite PEC ground plane. <br />
Figure 1: The [[Planar Module]]'s PMC Trace dialog.
=== Defining Embedded Object Sets ===
Embedded object sets represent short material insertions inside substrate layers. They can be metal or dielectric. Metallic embedded objects can be used to model vias, plated-through holes, shorting pins and interconnects. These are called PEC via sets. Embedded dielectric objects can be used to model air voids, thin films and material inserts in metamaterial structures. Embedded magnetic object are not currently supported by EM.Cubeâs [[Planar Module]].
Figure 1: [[Planar Module]]'s Layer Stack-up dialog showing the Embedded Sets tab.
To add a new object set, click the arrow symbol on the '''Insert''' button of the dialog and select one of the two options, '''PEC Via Set''' or '''Embedded Dielectric Set''', from the dropdown list. This opens up a new dialog where first you have to set the host layer of the new object set. A dropdown list labeled "'''Host Layer'''" gives a list of all the available finite substrate layers. You can also set the properties of the embedded object set, including its label, color and material properties. Keep in mind that you cannot control the height of embedded objects. Moreover, you cannot assign material properties to PEC via sets, while you can set values for the '''Permittivity'''(εe<sub>r</sub>) and '''Electric Conductivity'''(Ïs) of embedded dielectric sets. Vacuum is the default material choice. You may use EM.Cube's Material List for this purpose, which can be opened up by clicking the '''Material'''button. Once embedded object sets are added to the Embedded Sets table, you can edit their properties at any time by selecting their row and clicking the '''Edit''' button.
<table>
After a new embedded object set has been defined and added to the Navigation Tree, it becomes the active trace. You are now ready to create geometrical objects in the new active trace. Remember that [[Planar Module]] does not allow you to draw 3D objects. The solid object buttons in the '''Object Toolbar''' are disabled to prevent you from doing so. '''Instead, you draw planar surface objects as the cross section of embedded sets. EM.Cube extends these planar objects across their host layer automatically and displays them as wire-frame, 3D extruded objects.''' Extrusion of embedded object sets happen after meshing and before every simulation. You can enforce this extrusion manually by right clicking the '''Layer Stack-up''' item in the '''Computational Domain''' section of the Navigation Tree and selecting '''Update Planar Structure...''' from the contextual menu.
=== Planar Module's Rules & Limitations ===
# Terminating PEC ground planes at the top or bottom of a planar structure are defined as PEC top or bottom half-spaces, respectively.
# The current release of EM.Cube allows any number of PEC via sets collocated in the same substrate layer. However, you can define only one embedded dielectric object set per substrate layer, and no vias sets collocated in the same layer. Note that the single set can host an arbitrary number of embedded dielectric objects of the same material properties.
=== Managing Objects, Traces & Sets ===
You can manage your project's layer hierarchy from the Layer Stack-up Settings dialog. You can add, delete and move around substrate layers, metallic and slot traces and embedded object sets. Metallic and slot traces can move among the interface planes between neighboring substrate layers. Embedded object sets including PEC vias and finite dielectric objects can move from substrate layer into another. When you delete a trace from the Layer Stack-up Settings dialog, all of its objects are deleted from the project workspace, too. You can also delete metallic and slot traces or embedded object sets from the Navigation Tree. To do so, right click on the name of the trace or object set in the Navigation Tree and select '''Delete''' from the contextual menu. You can also delete all the traces or object sets of the same type from the contextual menu of the respective type category in the Navigation Tree.
By default, the last defined trace or embedded object set is active. You can activate any trace or embedded object set at any time for drawing new objects. You can move one or more selected objects from any trace or embedded object set to another group of the same type or of different type. First select an object in the project workspace or in the Navigation Tree. Then, right click on the highlighted selection and select '''Move To >''' from the contextual menu. This opens another sub-menu containing '''Planar''' and a list of all the other EM.Cube modules that have already defined object groups. Select '''Planar''' or any other available module, and yet another sub-menu opens up with a list of all the available traces and embedded object sets already defined in your project. Select the desired group, and all the selected objects will move to that group. When selecting multiple objects from the Navigation Tree, make sure that you hold the keyboard's '''Shift Key''' or '''Ctrl Key''' down while selecting a group's name from the contextual menu.
== Discretizing Planar Structures ==
=== The Planar MoM Mesh ===
The method of moments (MoM) discretizes all the finite-sized objects of a planar structure (excluding the background structure) into a set of elementary cells. The planar integral equations are then solved approximately on these elementary cells. As this method does not require a discretization of the entire computational domain, it is often computationally much more efficient than differential-based techniques like FEM or FDTD, which mesh the whole domain. The accuracy of the MoM numerical solution depends greatly on the quality of the generated mesh. The mesh density gives a measure of how electrically small these elementary cells are. Low mesh resolutions compromise the accuracy of the numerical solution. On the other hand, very high mesh densities may lead to numerical instability of the method of moments. As a rule of thumb, a mesh density of about 20-30 cells per effective wavelength usually yields acceptable results. Yet, for structures with lots of fine geometrical details or for highly resonant structures, higher mesh densities may be required. Also, the particular simulation data that you seek in a project will also influence your choice of mesh resolution. For example, far field characteristics like radiation patterns are less sensitive to the mesh density than field distributions on a structure with a highly irregular shape and a rugged boundary.
Figure 1: Planar hybrid and triangular meshes for rectangular patches.
=== The Rectangular Mesh Advantage ===
Rectangular cells offer a major advantage over triangular cells for numerical MoM simulation of planar structures. This is due to the fact that the dyadic Green's functions of planar layered background structures are space-invariant on the transverse plane. Recall that the elements of the moment matrix are given by the following equation:
Figure 1: Pairs of rooftop basis functions that have identical MoM interactions.
=== Generating A Planar Mesh ===
The planar MoM mesh generation process involves three steps:
Once a mesh is generated, it stays in the memory until the structure is changed or the mesh density or other settings are modified. Every time you view mesh, the one in the memory is displayed. You can force EM.Cube to create a new mesh from the ground up by selecting '''Menu > Simulate > Discretization > Regenerate Mesh''' or by right clicking on the '''Planar Mesh''' item in the '''Discretization''' section of the Navigation Tree and selecting '''Regenerate''' from the contextual menu.
=== Planar Mesh Density ===
EM.Cube's [[Planar Module]], by default, generates a hybrid mesh of your planar structure with a mesh density of 20 cells per effective wavelength. It is important to understand the concept of mesh density (either hybrid or triangular) as used by [[Planar Module]]. It gives a measure of the number of cells per effective wavelength that are placed in various regions of your planar structure. The higher the mesh density, the more cells are created on the geometrical objects. Keep in mind that only the finite-sized objects of your structure are discretized. No mesh is generated for the substrate layers of your background structure. The free-space wavelength is defined as λ?<sub>0</sub> = 2Ïf2pf/c, where f is the center frequency of your project and c is the speed of light in the free space. The effective wavelength is defined as λ?<sub>eff</sub> = λ?<sub>0</sub>/âεve<sub>eff</sub>, where εe<sub>eff</sub> is the effective permittivity.
The effective permittivity is defined differently for different types of traces and embedded object sets. For metal and conductive sheet traces, the effective permittivity is defined as the larger of the permittivity of the two substrate layers just above and below the metallic trace. For slot traces, the effective permittivity is defined as the mean (average) of the permittivity of the two substrate layers just above and below the metallic trace. These definitions of effective permittivity are consistent with the effective propagation constant of transmission lines realized on such trace types. For embedded object sets, the effective permittivity is defined as the largest of the permittivities of all the substrate layers and embedded dielectric sets. In all cases, for the purpose of calculating the effective wavelength, only the real part of the permittivities are considered. The reason for using an effective wavelength so defined for determination of mesh resolution is to make sure that enough cells are placed in areas that might feature higher field concentration.
Figure 1: Mesh of two rectangular patches at two different planes. The lower substrate layer has a higher permittivity.
=== Customizing A Planar Mesh ===
You can change the settings of the planar mesh including the mesh type and density from the planar Mesh Settings Dialog. You can also change these settings while in the mesh view mode, and you can update the changes to view the new mesh. To open the mesh settings dialog, either click the '''Mesh Settings''' [[File:manuals/emagware/emcube/modules/planar/mesh-generation/changing-mesh-type-resolution/mesh_settings.png]] button of the '''Simulate Toolbar''' or select '''Menu > Simulate > Discretization > Mesh Settings...''', or by right click on the '''Planar Mesh''' item in the '''Discretization''' section of the Navigation Tree and select '''Mesh Settings...''' from the contextual menu, or use the keyboard shortcut '''Ctrl+G'''. You can change the mesh algorithm from the dropdown list labeled '''Mesh Type''', which offers two options: '''Hybrid''' and '''Triangular'''. You can also enter a different value for '''Mesh Density''' in cells per effective wavelength (λ?<sub>eff</sub>). For each value of mesh density, the dialog also shows the average "Cell Edge Length" in the free space. To get an idea of the size of mesh cells on the traces and embedded object sets, divide this edge length by the square root of the effective permittivity a particular trace or set. Click the '''Apply''' button to make the changes effective.
[[File:PMOM31.png]]
The Planar Mesh Settings dialog.
=== Mesh Of Connected Trace Objects ===
Using the generated mesh of a planar structure, EM.Cube creates a set of vectorial basis functions that are passed to the input file of the Planar MoM simulation engine. This engine requires edge-based basis functions. The common edges between adjacent cells are used to define edge-based rooftop or RWG basis functions. These elementary basis functions indeed provide the current flow and warrant the continuity among the mesh cells. Therefore, when two objects overlap or share a common edge, the connection between them must be translated into "bridge" basis functions, which carry the information about current flow to the simulation engine.
Figure 2: Edge-connected rectangular planar objects and their triangular and hybrid planar meshes.
=== Mesh of Embedded Objects ===
EM.Cube's [[Planar Module]] models embedded objects as vertical volume currents. The vectorial basis functions in this case are Z-directed prisms as opposed to rooftop basis functions. If an embedded object is located under or above a metallic trace or connected from both top and bottom, it is critical to create mesh continuity between the embedded object and its connected metallic traces. In other words, the generated mesh must ensure current continuity between the vertical volume currents and horizontal surface currents. EM.Cubeâs planar mesh generator automatically handles situations of this kind and generates all the required connection meshes.
Figure 1: Mesh of a vertical PEC via connecting two horizontal metallic strips. The shorter via has one prismatic cell along the Z direction, while the longer via is discretized into several stacked cells.
=== Refining Mesh At Discontinuities ===
It is very important to apply the right mesh density to capture all the geometrical details of your planar structure. This is especially true for "field discontinuity" regions such as junction areas between objects of different side dimensions, where larger current concentrations are usually observed at sharp corners, or at the connection areas between metallic traces and PEC vias, as well as the areas around gap sources and lumped elements, as these create voltage or current discontinuities. For large planar structures, using a higher mesh density may not always be a practical option since it will quickly lead to a very large MoM matrix and thus growing the size of the numerical problem. Sometimes a slightly non-uniform mesh still produces stable numerical results. In other words, you may choose to increase the mesh resolution around the discontinuity regions only.
Figure 1: Refining the planar mesh at the via and surrounding area.
=== Checking Mesh Integrity ===
You should always visually inspect EM.Cube's default generated mesh to see if the current mesh settings have produced an acceptable mesh. You may often need to change the mesh density or other parameters and regenerate the mesh. The Planar Mesh Settings dialog gives a few more options for customizing your planar mesh.
Figure 2: Setting the minimum allowable angle for non-defective triangular cells.
=== Locking Mesh Of Object Groups ===
EM.Cube's [[Planar Module]] provides different ways of controlling the mesh of a planar structure locally. Earlier you saw how to increase the mesh resolution at the discontinuity regions without affecting the mesh of uniform or regular areas of a planar structure. Another way of local mesh control is to lock the mesh density of certain traces or object sets. The mesh density that you specify in the Planar Mesh Settings dialog is a global parameter and applies to all the traces and embedded object sets in your project. However, you can lock the mesh of individual PEC, PMC and conductive sheet traces or embedded objects sets. In that case, the locked mesh density takes precedence over the global density. Note that locking mesh of object groups, in principle, is different than refining the mesh at discontinuities. In the latter case, the mesh of connection areas is affected. However, objects belonging to different traces cannot be connected to one another. Therefore, locking mesh can be useful primarily for isolated object groups that may require a higher (or lower) mesh resolution.
Figure 1: Locking the mesh density of an object group from its property dialog.
=== Local Mesh Control Using Polymesh Objects ===
EM.Cube allows you to manually and individually mesh geometrical objects using the concept of polymesh. The Polymesh tool converts a planar surface object to a set of interconnected triangular cells, which is basically identical to its triangular surface mesh. Simply select an object and click the '''Polymesh Tool'''[[Image:http://www.emagtech.com/files/images/manuals/emagware/cubecad/discretizing-objects/converting-objects-to-polymesh/polymesh_tool_tn.png]] button of '''Tools Toolbar''', or select '''Menu > Tools > Polymesh''', or use the keyboard shortcut '''P'''. You can also right click on a selected object and select '''Polymesh''' from the contextual menu. From the Polymesh Dialog, you can control the mesh resolution through the '''Edge Length''' parameter, which is expressed in project units. Note that unlike the planar mesh generator which uses a frequency-dependent mesh density to drive the mesh resolution, the ploymesh's edge length is fixed and purely geometrical and does not change with the project frequency. '''EM.Cube's mesh generator considers a polymesh object as a "final" mesh and reproduces it "As Is" during the meshing process.'''
Keep in mind that since a polymesh object it considered a final mesh, its mesh cannot be connected to other objects. In other words, bridge basis functions are not generated if even some of the polymesh edges may coincide with other objects' edges. A polymesh object is treated by the mesh generator as an isolated mesh. However, EM.Cube allows you to connect polymesh objects manually. To do so, bring two or more polymesh objects close to each other so that they have one or more common edges. No face overlaps are allowed in this case. Select the polymesh objects and click the '''Merge Tool'''[[File:manuals/emagware/cubecad/creating-more-complex-objects/merging-open-curves/merge_tool_tn.png]] button of '''Tools Toolbar''' to merge the polymesh objects into a single polymesh object. The new merged polymesh object will provide all the necessary bridge basis functions among the original, separate polymesh objects.
== Excitation Sources ==
In a typical electromagnetic simulation in EM.Cube's [[Planar Module]], you define a planar structure that consists of a layered background structure with a number of finite-sized metal and slot traces and possibly embedded metal or dielectric objects interspersed among the substrate layers. The planar structure is then excited by some sort of a signal source that induces electric currents on metal parts and magnetic currents on slot traces. The method of moments (MoM) solver computes these unknown electric and magnetic currents by discretizing the finite-sized objects. The induced currents, in turn, produce their own electric and magnetic fields which coexist (are superposed) with the impressed electric and magnetic fields of the signal source. From a knowledge of the near fields, EM.Cube calculates the port characteristics of the planar structure, if any ports have been defined. From a knowledge of the far fields, EM.Cube calculates the radiation or scattering characteristics of the planar structure.
For antennas and planar circuits, where you typically define one or more ports, you usually use lumped sources. A lumped source is indeed a gap discontinuity that is placed on the path of an electric or magnetic current flow, where a voltage or current source is connected to inject a signal. Gap sources are placed across metal or slot traces. Probe sources are placed across vertical PEC vias. A de-embedded source is a special type of gap source that is placed near the open end of an elongated metal or slot trace to create a standing wave pattern, from which the scattering parameters can be calculated accurately. To calculate the scattering characteristics of a planar structure, e.g. its radar cross section (RCS), you excite it with a plane wave source. Short dipole sources are used to explore propagation of points sources along a layered structure. Huygens sources are virtual equivalent sources that capture the radiated electric and magnetic fields from another structure possibly in another EM.Cube computational module and bring them as a new source to excite your planar structure.
=== Gap Sources ===
A gap is an infinitesimally narrow discontinuity that is placed on the path of current flow on a feed line. In planar structures, feed lines are typically in the form of a microstrip, stripline, slotline or coplanar waveguide (CPW). You use rectangle strip objects to construct such feed lines. A gap source can be placed on any rectangle strip object on a PEC, PMC or conductive sheet trace. Depending on the type of the trace on which a gap source is placed, it will have a different physical interpretation.
Figure 1: The [[Planar Module]]'s Gap Source dialog.
=== Probe Sources ===
Another way of exciting a planar structure is by placing a gap on the path of a vertical current on a PEC via. This represents a filament source, which is used to model coaxial probe excitation. A probe source can be placed only on a PEC via object. Most planar transmission lines are fed using SMA connectors. The outer conductor of the coaxial line is connected to the ground and its inner conductor is extended across the substrate layer and connected to a metallic line. EM.Cube's [[Planar Module]] models a coaxial probe as an infinitesimal gap discontinuity placed across a thin via, representing an ideal voltage source in series with a lumped impedance. When the impedance is zero, the gap acts like an ideal lumped source and creates a uniform electric field across the via. The source pumps vertical electric current into the probe. If the voltage source is shorted (having a zero amplitude), then the gap acts like a shunt lumped element across the via.
Figure 1: The [[Planar Module]]'s Probe Source dialog.
=== Defining Source Arrays ===
If the project workspace contains an array of rectangle strip objects, the array object will also be listed as an eligible object for gap source placement. A gap source will then be placed on each element of the array. All the gap sources will have identical direction and offset. Similarly, if the project workspace contains an array of PEC via objects, the embedded array object will also be listed as an eligible object for probe source placement. A probe source will then be placed on each via object of the array. All the probe sources will have identical direction and offset.
Figure 2: Defining gap source array weights using a data file.
=== Defining Ports ===
Ports are used in a planar structure to order and index the sources for calculation of circuit parameters such as scattering (S), impedance (Z) and admittance (Y) parameters. In EM.Cube's [[Planar Module]], you can use the following types of sources to define ports:
Figure 1: The Port Definition dialog.
'''You can define any number of ports equal to or less than the total number of sources in your project.''' The Port List of the dialog shows a list of all the ports in ascending order, with their associated sources and the port's characteristic impedance, which is 50Σ 50S by default. You can delete any port by selecting it from the Port List and clicking the '''Delete''' button of the dialog. Keep in mind that after deleting a port, you will have a source in your project without any port assignment and make sure that is what you intend. You can change the characteristic impedance of a port by selecting it from the Port List and clicking the '''Edit''' button of the dialog. This opens up the Edit Port dialog, where you can enter a new value in the box labeled '''Impedance'''.
[[File:PMOM53.png]]
Figure 2: Edit Port dialog.
=== Modeling Coupled Ports ===
Sources can be coupled to each other to model coupled strip lines (CPS) on metal traces or coplanar waveguides (CPW) on slot traces. Similarly, probe sources may be coupled to each other. Coupling two or more sources does not change the way they excite a planar structure. It is intended only for the purpose of S parameter calculation. The feed lines or vias which host the coupled sources are usually parallel and aligned with one another and they are all grouped together as a single transmission line represented by a single port. This single "coupled" port then interacts with other coupled or uncoupled ports.
Figure 1: Coupling gap sources in the Port Definition dialog by associating more than one source with a single port.
=== Calculating Port Characteristics At Gap Discontinuities ===
A gap source on a metal trace and a probe source on a PEC via behave like a series voltage source with a prescribed strength (of 1V and zero phase by default) that creates a localized discontinuity on the path of electric current flow. At the end of a planar MoM simulation, the electric current passing through the voltage source is computed and integrated to find the total input current. From this one can calculate the input admittance as
Figure 1: Definition of different input impedances at the gap location.
To resolve this problem, you can place a gap source on a metal strip line by a distance of a quarter guide wavelength (λ?<sub>g</sub>/4) away from its open end. Note that (λ?<sub>g</sub> = 2Ï2p/βÃ), where β à is the propagation constant of the metallic transmission line. As show in the figure below, the impedance looking into an open quarter-wave line segment is zero, which effectively shorts the gap source to the planar structure's ground. The gap admittance or impedance in this case is identical to the input admittance or impedance of the planar structure.
[[File:PMOM60(1).png]]
Figure 4: Input impedance of a probe source on a PEC via connected to a ground plane.
=== Exciting Multiport Structures Using Linear Superposition ===
If your planar structure has two or more sources, but you have not defined any ports, all the lumped sources excite the structure locally and contribute to the excitation vector needed for the MoM solution of the problem. However, when you assign N ports to the sources, then you have a multiport structure that is characterized by an NÃN admittance matrix (instead of a single Y<sub>in</sub> parameter), or an NÃN impedance matrix, or an NÃN scattering matrix. To calculate these matrices, EM.Cube uses a binary excitation scheme in conjunction with the principle of linear superposition. In this binary scheme, the structure is analyzed N times. Each time one of the N port-assigned sources is excited, and all the other port-assigned sources are turned off.
where ['''Z<sub>0</sub>'''] and ['''Y<sub>0</sub>'''] are diagonal matrices whose diagonal elements are the port characteristic impedances and admittances, respectively.
=== Modeling Lumped Elements In Planar MoM ===
Lumped elements are components, devices, or circuits whose overall dimensions are very small compared to the wavelength. As a result, they are considered to be dimensionless compared to the dimensions of a mesh cell. In fact, a lumped element is equivalent to an infinitesimally narrow gap that is placed in the path of current flow, across which the device's governing equations are enforced. Using Kirkhoff's laws, these device equations normally establish a relationship between the currents and voltages across the device or circuit. Crossing the bridge to Maxwell's domain, the device equations must now be cast into a from o boundary conditions that relate the electric and magnetic currents and fields. EM.Cube's [[Planar Module]] allows you to define passive circuit elements: '''Resistors'''(R), C'''apacitors'''(C), I'''nductors'''(L), and series and parallel combinations of them as shown in the figure below:
Figure 1: Using a shunt lumped element on a PEC via to terminate a metallic strip line.
=== Defining Lumped Circuits ===
To define a lumped RLC circuit in your planar structure, follow these steps:
* Depending on your choice of gap topology, in the '''Lumped Circuit Location''' section of the dialog, you will find either a list of all the '''Rectangle Strip Objects''' or a list of all the '''PEC Via Objects''' available in the project workspace. Select the desired rectangle strip or embedded PEC via object.
* In the box labeled '''Offset''', enter the distance of the lumped element from the start point of the rectangle strip line or from the bottom of the via object, whichever the case. The value of '''Offset''' by default is initially set to the center of the line or via.
* In the '''Load Properties''' section, the series and shunt resistance values Rs and Rp are specified in Ohms, the series and shunt inductance values Ls and Lp are specified in nH (nanohenry), and the series and shunt capacitance values Cs and Cp are specified in pF (picofarad). Only the checked elements are taken into account in the total impedance calculation. By default, only the series resistor is checked with a value of 50Σ50S, and all other circuit elements are initially greyed out.<br />
[[File:PMOM64.png]]
'''Note that the impedance of the lumped circuit is calculated at the operating frequency of the project using the specified R, L and C values.''' As you change the frequency, the value of the impedance that is passed to the Planar MoM engine will change.
=== Calculating Scattering Parameters Using Prony's Method ===
The calculation of the scattering (S) parameters is usually an important objective of modeling planar structures especially for planar circuits like filters, couplers, etc. As you saw earlier, you can use lumped sources like gaps and probes and even active lumped elements to calculate the circuit characteristics of planar structures. The admittance / impedance calculations based on the gap voltages and currents are accurate at RF and lower microwave frequencies or when the port transmission lines are narrow. In such cases, the electric or magnetic current distributions across the width of the port line are usually smooth, and quite uniform current or voltage profiles can easily be realized. At higher frequencies, however, a more robust method is needed for calculating the port parameters.
[[File:PMOM73.png]]
where c<sub>i</sub> are complex coefficients and γ?<sub>i</sub> are, in general, complex exponents. From the physics of transmission lines, we know that lossless lines may support one or more propagating modes with pure real propagation constants (real γ?<sub>i</sub>exponents). Moreover, line discontinuities generate evanescent modes with pure imaginary propagation constants (imaginary γ?<sub>i</sub> exponents) that decay along the line as you move away from the location of such discontinuities.
In practical planar structures for which you want to calculate the scattering parameters, each port line normally supports one, and only one, dominant propagating mode. Multi-mode transmission lines are seldom used for practical RF and microwave applications. Nonetheless, each port line carries a superposition of incident and reflected dominant-mode propagating signals. An incident signal, by convention, is one that propagates along the line towards the discontinuity, where the phase reference plane is usually established. A reflected signal is one that propagates away from the port plane. Prony's method can be used to extract the incident and reflected propagating and evanescent exponential waves from the standing wave data. From a knowledge of the amplitudes (expansion coefficients) of the incident and reflected dominant propagating modes at all ports, the scattering matrix of the multi-port structure is then calculated. In Prony's method, the quality of the S parameter extraction results depends on the quality of the current samples and whether the port lines exhibit a dominant single-mode behavior. Clean current samples can be drawn in a region far from sources or discontinuities, typically a quarter wavelength away from the two ends of a feed line.
Figure 1: Minimum and maximum current locations of the standing wave pattern on a microstrip line feeding a patch antenna.
=== De-Embedded Sources ===
EM.Cube's [[Planar Module]] provides de-embedded sources for the exclusive purpose of accurate S parameter calculation based on Prony's method. A de-embedded source is indeed a gap source that is placed close to an open end of a feed line. The other end of the line is typically connected to a planar structure of interest. Like gap sources, de-embedded sources can be placed only on rectangle strip objects. '''During mesh generation, EM.Cube automatically extends the length of a port line that hosts a de-embedded source to about two effective wavelengths.''' This is done to provide enough length for formation of a clean standing wave current pattern. The effective wavelength of a transmission line for length extension purposes is calculated in a similar manner as for the planar mesh resolution. It is defined as λ?<sub>eff</sub> = λ?<sub>0</sub>/âεve<sub>eff</sub>, where εe<sub>eff</sub> is the effective permittivity. For metal and conductive sheet traces, the effective permittivity is defined as the larger of the permittivities of the two substrate layers just above and below the metallic trace. For slot traces, the effective permittivity is defined as the mean (average) of the permittivities of the two substrate layers just above and below the metallic trace. The host port line must always be open from one end to allow for its length extension. You have to make sure that there are no objects standing on the way of the extended port line to avoid any unwanted overlaps.
[[File:PMOM72.png]]
In a planar project with de-embedded sources, if you do not define any ports, the feed lines will simply be extended, and the exciting gap sources will be placed at the open ends of these extended lines. Note that if you define a de-embedded source along with a port definition in your project, then all the other port-assigned sources of your project must be of the same de-embedded type. You can define de-embedded sources for coplanar waveguides (CPW) on slot traces. To do so, you need to place two collocated, de-embedded sources with identical offsets (same phase reference plane), same source amplitudes but 180° phase difference. Note that for CPW structures, setting the number of Prony modes to 2 can get you more accurate results. In this case, the two extracted Prony modes will include the incident and reflected, odd and even, propagating modes of the CPW.
=== Using the Line Calculator ===
EM.Cube's [[Planar Module]] provides a simple calculator for analyzing planar transmission lines. It is based on the frequency domain finite difference (FDFD) technique. You can find the characteristic impedance, effective permittivity and guide wavelength of a TEM or quasi-TEM transmission line defined based on your project's background structure. Therefore, any arbitrary stack-up configuration with any number of substrate layers can be considered.
Figure 2: Analyzing a coplanar waveguide using the line calculator.
=== Short Dipole Sources ===
A short dipole is the simplest type of radiator, which consists of a short current element of length &DELTA;l, aligned along a unit vector û and carrying a current of I Amperes. The product I&DELTA;l is often called the dipole moment and gives a measure of the radiator's strength. A short dipole in the free space generates an azimuth-symmetric, almost omni-directional, far field. However, the radiated fields of a short dipole above a layered planar background structure are greatly altered by the presence of the substrate layers. Note that the electric and magnetic field radiated by a short dipole in the presence of a layered background structure are indeed nothing but the dyadic Green's functions of that structure:
Figure 1: [[Planar Module]]'s Short Dipole Source dialog.
=== Plane Wave Sources ===
You can excite a planar structure with an incident plane wave to explore its scattering characteristics such as radar cross section (RCS). Exciting an antenna structure with an incident plane wave is equivalent to operating it in the "receive" mode. Plane wave excitation in the [[Planar Module]] is particularly useful for calculation of reflection and transmission coefficients of periodic surfaces. Note that the incident plane wave in your project bounces off the layered background structure and part of it also penetrates the substrate layers. The total incident field that is used to calculate the excitation vector of the MoM linear system is a superposition of the incident, reflected and transmitted plane waves at various regions of your planar structure:
[[File:PMOM111.png]]
where η?<sub>0</sub> = 120Ï 120p is the characteristic impedance of the free space, '''k<sub>1</sub>''' and '''k<sub>2</sub>''' are the unit propagation vectors of the incident plane wave and the wave reflected off the topmost substrate layer, respectively, and '''ê<sub>1</sub>''' and '''ê<sub>2</sub>''' are the polarization vectors corresponding to the electric field of those waves. R is the reflection coefficient at the interface between the top half-space and the topmost substrate layer and has different values for the TM and TE polarizations.
EM.Cube's [[Planar Module]] provides the following polarization options:
* RCPz
The direction of incidence is defined through the theta and phi angles of the propagation vector in the spherical coordinate system. The default values are θ ? = 180° and Ï f = 0°, representing a normally incident plane wave propagating along the -Z direction with a +X-polarized electric field vector. In the TM<sub>z</sub> and TE<sub>z</sub> polarization cases, the magnetic and electric fields are parallel to the XY plane, respectively. The left-hand (LCP) and right-hand (RCP) circular polarization cases are restricted to normal incidences only (θ ? = 180°).
To define a plane wave source, follow these steps:
Figure 1: [[Planar Module]]'s Plane Wave dialog.
== Running Planar MoM Simulations ==
The first step of planning a planar MoM simulation is defining your planar structure. This consists of the background structure plus all the finite-sized metal and slot trace objects and possibly embedded metal or dielectric objects that are interspersed among the substrate layers. The background stack-up is defined in the Layer Stack-up dialog, which automatically opens up as soon as you enter the [[Planar Module]]. The metal and slot traces and embedded object sets are listed in the Navigation Tree, which also shows all the geometrical (CAD) objects you draw in the project workspace under each object group at different Z-planes.
If you run a simulation without having defined any observables, no data will be generated at the end of the simulation. Some observables require a certain type of excitation source. For example, port characteristics will be calculated only if the project contains a port definition, which in turn requires the existence of at least one gap or probe or de-embedded source. The periodic characteristics (reflection and transmission coefficients) are calculated only if the structure has a periodic domain and excited by a plane wave source.
=== Planar Module's Simulation Modes ===
The simplest simulation type in EM.Cube is an analysis. In this mode, the planar structure in your project workspace is meshed at the center frequency of the project. EM.Cube generates an input file at this single frequency, and the Planar MoM simulation engine is run once. Upon completion of the planar MoM simulation, a number of data files are generated depending on the observables you have defined in your project. An analysis is a single-run simulation.
EM.Cube offers a number of multi-run simulation modes. In such cases, the Planar MoM simulation engine is run multiple times. At each engine run, certain parameters are varied and a collection of simulation data are generated. At the end of a multi-run simulation, you can graph the simulation results in EM.Grid or you can animate the 3D simulation data from the Navigation Tree. For example, in a frequency sweep, the frequency of the project is varied over its specified bandwidth. Port characteristics are usually plotted vs. frequency, representing your planar structure's frequency response. In an angular sweep, the θ ? or Ï f angle of incidence of a plane wave source is varied over their respective ranges. EM.Cube's [[Planar Module]] currently provides the following types of multi-run simulation modes:
* Frequency Sweep
Figure 1: Selecting a simulation mode in [[Planar Module]]'s Simulation Run dialog.
=== Running A Planar MoM Analysis ===
To run a planar MoM analysis of your project structure, open the Run Simulation Dialog by clicking the '''Run''' [[File:manuals/emagware/emcube/modules/planar/running-planar-mom-simulations/running-a-planar-mom-analysis/run_icon.png]] button on the '''Simulate Toolbar''' or select '''Menu''' '''>''' '''Simulate >''' '''Run''' or use the keyboard shortcut '''Ctrl+R'''. The '''Analysis''' option of the '''Simulation Mode''' dropdown list is selected by default. Once you click the '''Run''' button, the simulation starts. A new window, called the '''Output Window''', opens up that reports the different stages of simulation and the percentage of the tasks completed at any time. After the simulation is successfully completed, a message pops up and reports the end of simulation. In certain cases like calculating scattering parameters of a circuit or reflection / transmission characteristics of a periodic surface, some results are also reported in the Output Window. At the end of a simulation, you need to click the '''Close''' button of the Output Window to return to the project workspace.
Figure 1: [[Planar Module]]'s Simulation Run dialog.
=== Stages Of A Planar MoM Analysis ===
EM.Cube's Planar MoM simulation engine uses a particular formulation of the method of moments called mixed potential integral equation (MPIE). Due to high-order singularities, the dyadic Green's functions for electric fields generated by electric currents as well as the dyadic Green's functions for magnetic fields generated by magnetic currents have very slow convergence behaviors. Instead of using these slowly converging dyadic Green's function, the MPIE formulation uses vector and scalar potentials. These include vector electric potential '''A(r)''', scalar electric potential K<sup>&PHI;</sup>'''(r)''', vector magnetic potential '''F(r)''' and scalar magnetic potential K<sup>Ψ?</sup>'''(r)'''. These potentials have singularities of lower orders. As a result, they coverage relatively faster. The speed of their convergence is further increased drastically using special singularity extraction techniques.
A planar MoM simulation consists of two major stages: matrix fill and linear system inversion. In the first stage, the moment matrix and excitation vector are calculated. In the second stage, the MoM system of linear equations is inverted using one of the several available matrix solvers to find the unknown coefficients of all the basis functions. The unknown electric and magnetic currents are linear superpositions of all these elementary solutions. These can be visualized in EM.Cube using the current distribution observables. Having determined all the electric and magnetic currents in your planar structure, EM.Cube can then calculate the near fields on prescribed planes. These are introduced as field sensor observables. The near-zone electric and magnetic fields are calculated using a spectral domain formulation of the dyadic Green's functions. Finally the far fields of the planar structure are calculated in the spherical coordinate system. These calculations are performed using the asymptotic form of the dyadic Green's functions using the "stationary phase method".
=== Setting Numerical Parameters ===
A planar MoM simulation involves a number of numerical parameters that take preset default values unless you change them. You can access these parameters and change their values by clicking the '''Settings''' button next to the '''Select Engine''' dropdown list in the [[Planar Module]]'s Simulation Run dialog. In most cases, you do not need to open this dialog and you can leave all the default numerical parameter values intact. However, it is useful to familiarize yourself with these parameters, as they may affect the accuracy of your numerical results.
The Planar MoM Engine Settings Dialog is organized in a number of sections. Here we describe some of the numerical parameters. The "'''Matrix Fill'''" section of the dialog deals with the operations involving the dyadic Green's functions. You can set a value for the '''Convergence Rate for Integration''', which is 1E-5 by default. This is used for the convergence test of all the infinite integrals in the calculation of the Hankel transform of spectral-domain dyadic Green's functions. When the substrate is lossy, the surface wave poles are captured in the complex integration plane using contour deformation. You can change the maximum number of iterations involved in this deformed contour integration, whose default value is 20. When the substrate is very thin with respect to the wavelength, the dyadic Green's functions exhibit numerical instability. Additional singularity extraction measures are taken to avoid numerical instability but at the expense of increased computation time. By default, a thin substrate layer is defined to a have a thickness less than 0.01λ01?<sub>eff</sub>, where λ?<sub>eff</sub> is the effective wavelength. You can modify the definition of "Thin Substrate" by entering a value for '''Thin Substrate Threshold''' different than the default 0.01. The parameter '''Max Coupling Range''' determines the distance threshold in wavelength between the observation and source points after which the Green's interactions are neglected. This distance by default is set to 1,000 wavelengths. For electrically small structures, the phase variation across the structure may be negligible. In such cases, a fast quasi-static analysis can be carried out. You can set this threshold in wavelengths in the box labeled '''Max Dimensions for Quasi-Static Analysis'''.
In the "Spectral Domain Integration" section of the dialog, you can set a value to '''Max Spectral Radius in k0''', which has a default value of 30. This means that the infinite spectral-domain integrals in the spectral variable k<sub>Ï?</sub> are pre-calculated and tabulated up to a limit of 30k<sub>0</sub>, where k<sub>0</sub> is the free space propagation constant. These integrals may converge much faster based on the specified Convergence Rate for Integration described earlier. However, in certain cases involving highly oscillatory integrands, much larger integration limits like 100k<sub>0</sub> might be needed to warrant adequate convergence. For spectral-domain integration along the real k<sub>Ï?</sub> axis, the interval [0, Nk<sub>0</sub>] is subdivided into a large number of sub-intervals, within each an 8-point Gauss-Legendre quadrature is applied. The next parameter, '''No. Radial Integration Divisions per k<sub>0</sub>''', determines how small these intervals should be. By default, 2 divisions are used for the interval [0, k<sub>0</sub>]. In other words, the length of each integration sub-interval is k<sub>0</sub>/2. You can increase the resolution of integration by increasing this value above 2. Finally, instead of 2D Cartesian integration in the spectral domain, a polar integration is performed. You can set the '''No. of Angular Integration Points''', which has a default value of 100.
[[File:PMOM79.png]]
Figure 1: The Planar MoM Engine Settings dialog.
=== Planar Module's Linear System Solvers ===
After the MoM impedance matrix '''[Z]''' (not to be confused with the impedance parameters) and excitation vector '''[V]''' have been computed through the matrix fill process, the planar MoM simulation engine is ready to solve the system of linear equations:
Figure 1: Setting the check box for "Use Optimzied Solvers for Intel CPU" in the Preferences dialog.
=== Visualizing Current Distributions ===
Electric and magnetic currents are the fundamental output data of a planar MoM simulation. After the numerical solution of the MoM linear system, they are found using the solution vector '''[I]''' and the definitions of the electric and magnetic vectorial basis functions:
Figure 3: Vectorial (cone) visualization of the current distribution on a patch antenna.
=== Computing The Near Fields ===
Once all the current distributions are known in a planar structure, the electric and magnetic fields can be calculated everywhere in that structure using the dyadic Greens's functions of the background structure:
[[File:PMOM93(1).png]]
Calculation of the near-zone fields (fields at the vicinity of the unknown currents) is done at the post-processing stage and in a Cartesian coordinate systems. These calculations involve doubly infinite spectral-domain integrals, which are computed numerically. As was mentioned earlier, EM.Cube's planar MoM engine rather uses a polar integration scheme, where the radial spectral variable k<sub>Ï?</sub> is integrated over the interval [0, Mk<sub>0</sub>], M being a large enough number to represent infinity, and the angular spectral variable Ï t is integrated over the interval [0, 2Ï2p]. You also saw some of the numerical parameters related to this spectral-domain integration scheme. '''Note that when the observation plane is placed very close to the radiating J and M currents, the Green's functions exhibit singularities, which translate to very slow convergence or divergence of the integrals.''' You need to be careful to place field sensors at adequate distances from these radiating sources.
=== Visualizing The Near Fields ===
In order to view the near field distributions, you must first define field sensor observables before running the planar MoM simulation. To do that, right click on the '''Field Sensors''' item in the '''Observables''' section of the Navigation Tree and select '''Insert New Observable...'''. The Field Sensor Dialog opens up. At the top of the dialog and in the section titled '''Sensor Plane Location''', first you need to set the plane of near field calculation. In the dropdown box labeled '''Direction''', you have three options X, Y, and Z, representing the"normals" to the XY, YZ and ZX planes, respectively. The default direction is Z, i.e. XY plane parallel to the substrate layers. In the three boxes labeled '''Coordinates''', you set the coordinates of the center of the plane. Then, you specify the '''Size''' of the plane in project units, and finally set the '''Number of Samples''' along the two sides of the sensor plane. The larger the number of samples, the smoother the near field map will appear.
Figure 3: Near-zone magnetic field map above a microstrip-fed patch antenna.
=== Computing The Far Fields ===
Unlike differential-based methods, MoM simulators do not need a radiation box to calculate the far field data. The far-zone fields are calculated directly by integrating the currents on the traces and across the embedded objects using the asymptotic form of the background structureâs dyadic Green's functions:
[[File:PMOM112.png]]
where η?<sub>0</sub> = 120Ï 120p is the characteristic impedance of the free space. As can be seen from the above equations, the far fields have the form of a TEM wave propagating in the radial direction away from the origin of coordinates. This means that the far-field magnetic field is always perpendicular to the electric field and the propagation vector, which in this case happens to be the radial unit vector in the spherical coordinate system. In other words, one only needs to know the far-zone electric field and can easily calculate the far-zone magnetic field from it. In EM.Cube's mixed potential integral equation formulation, the far-zone electric field can be expressed in terms of the asymptotic form of the vector electric and magnetic potentials '''A''' and '''F''':
[[File:PMOM113.png]]
The asymptotic form of these vector potentials are calculated using the "'''Method of Stationary Phase'''" when k<sub>0</sub>r â â? 8. In that case, one can use the approximation:
[[File:PMOM115.png]]
After applying the stationary phase method, one can extract the spherical wave factor exp(-jk<sub>0</sub>r)/r from the far-zone electric field, leaving the rest as functions of the spherical angles θ ? and Ïf. In other words, the far field is normalized to r, the distance from the field observation point to the origin. It is customary to express the far fields in spherical components E<sub>θ?</sub> and E<sub>Ïf</sub>. Note that the outward propagating, TEM-type, far fields do not have radial components, i.e. E<sub>r</sub> = 0.
[[File:PMOM114.png]]
=== Visualizing The Far Fields ===
Even though the planar MoM engine does not need a radiation box, you still have to define a "Far Field" observable for radiation pattern calculation. This is because far field calculations take time and you have to instruct EM.Cube to perform these calculations. To define a far field, right click the '''Far Fields''' item in the '''Observables''' section of the Navigation Tree and select '''Insert New Radiation Pattern...'''. The Radiation Pattern Dialog opens up. You may accept the default settings, or you can change the value of '''Angle Increment''', which is expressed in degrees. You can also choose to '''Normalize 2D Patterns'''. In that case, the maximum value of a 2D paten graph will have a value of 1; otherwise, the actual far field values in V/m will be used on the graph.
Once a planar MoM simulation is finished, three far field items are added under the Far Field item in the Navigation Tree. These are the far field component in θ ? direction, the far field component in Ï f direction and the "Total" far field. The 3D plots can be viewed in the project workspace by clicking on each item. The view of the 3D far field plot can be changed with the available view operations such as rotate view, pan, zoom, etc. If the structure blocks the view of the radiation pattern, you can simply hide or freeze the whole structure or parts of it. In a 3D radiation pattern plot, the fields are always normalized to the maximum value of the total far field for visualization purpose:
[[File:PMOM89.png]]<br />
The 2D radiation pattern graphs can be plotted from EM.Cube's '''Data Manager'''. A total of eight 2D radiation pattern graphs are available: 4 polar and 4 Cartesian graphs for the XY, YZ, ZX and user defined plane cuts.
=== Radar Cross Section of Planar Structures ===
When a planar structure is excited by a plane wave source, the calculated far field data indeed represent the scattered fields of that planar structure. EM.Cube can also calculate the radar cross section (RCS) of a planar target:
[[File:PMOM123.png]]
'''Note that in this case the RCS is defined for a finite-sized target in the presence of an infinite background structure.''' The scattered θ ? and Ï f components of the far-zone electric field are indeed what you see in the 3D far field visualization of radiation (scattering) patterns. Instead of radiation or scattering patterns, you can instruct EM.Cube to plot 3D visualizations of Ïs<sub>θ?</sub>, Ïs<sub>Ïf</sub> and the total RCS. To do so, you must define an RCS observable instead of a radiation pattern. Follow these steps:
* Right click on the '''Far Fields''' item in the '''Observables''' section of the Navigation Tree and select '''Insert New RCS...''' to open the Radar Cross Section Dialog.
* The resolution of RCS calculation is specified by '''Angle Increment''' expressed in degrees. By default, the θ ? and Ï f angles are incremented by 5 degrees.* At the end of a planar MoM simulation, besides calculating the RCS data over the entire (spherical) 3D space, a number of 2D RCS graphs are also generated. These are RCS cuts at certain planes, which include the three principal XY, YZ and ZX planes plus one additional constant Ïf-cut. This fourth plane cut is at Ï f = 45° by default. You can assign another Ï f angle in degrees in the box labeled '''Non-Principal Phi Plane'''.
At the end of a planar MoM simulation, in the far field section of the Navigation Tree, you will have the θ ? and Ï f components of RCS as well as the total radar cross section. You can view a 3D visualization of these quantities by clicking on their entries in the Navigation Tree. The RCS values are expressed in m<sup>2</sup>. The 3D plots are normalized to the maximum RCS value, which is also displayed in the legend box.<br />
[[File:PMOM124.png]]
Figure 2: An example of the 3D mono-static radar cross section plot of a patch antenna.
=== Running a Frequency Sweep ===
In a frequency sweep, the operating frequency of a planar structure is varied during each sweep run. EM.Cube's [[Planar Module]] offers two types of frequency sweep: Uniform and Adaptive. In a uniform frequency sweep, the frequency range and the number of frequency samples are specified. The samples are equally spaced over the frequency range. At the end of each individual frequency run, the output data are collected and stored. At the end of the frequency sweep, the 3D data can be visualized and/or animated, and the 2D data can be graphed in EM.Grid.
Figure 1: [[Planar Module]]'s Frequency Settings dialog.
=== Adaptive Frequency Sweep ===
Frequency sweeps are often performed to study the frequency response of a planar structure. In particular, the variation of scattering parameters like S<sub>11</sub> (return loss) and S<sub>21</sub> (insertion loss) with frequency are of utmost interest. When analyzing resonant structures like patch antennas or planar filters over large frequency ranges, you may have to sweep a large number of frequency samples to capture their behavior with adequate details. The resonant peaks or notches are often missed due to the lack of enough resolution. EM.Cube's [[Planar Module]] offers a powerful adaptive frequency sweep option for this purpose. It is based on the fact that the frequency response of a physical, causal, multiport network can be represented mathematically using a rational function approximation. In other words, the S parameters of a circuit exhibit a finite number of poles and zeros over a given frequency range. EM.Cube first starts with very few frequency samples and tries to fit rational functions of low orders to the scattering parameters. Then, it increases the number of samples gradually by inserting intermediate frequency samples in a progressive manner. At each iteration cycle, all the possible rational functions of higher orders are tried out. The process continues until adding new intermediate frequency samples does not improve the resolution of the "S<sub>ij</sub>" curves over the given frequency range. In that case, the curves are considered as having converged.
Figure 1: Settings adaptive frequency sweep parameters in [[Planar Module]]'s Frequency Settings Dialog.
=== Examining Port Characteristics ===
If your planar structure is excited by gap sources or probe sources or de-embedded sources, and one or more ports have been defined, the planar MoM engine calculates the scattering, impedance and admittance (S/Z/Y) parameters of the designated ports. The scattering parameters are defined based on the port impedances specified in the project's Port Definition dialog. If more than one port has been defined in the project, the S/Z/Y matrices of the multiport network are calculated. Note that the S/Z/Y matrices of an N-port structure are related to each other through the following equations:
[[File:PMOM121.png]]
where ['''U'''] is the identity matrix of order N, ['''Z<sub>0</sub>'''] and ['''Y<sub>0</sub>'''] are diagonal matrices whose diagonal elements are the port characteristic impedances and admittances, respectively, and ['''âZvZ<sub>0</sub>'''] is a diagonal matrix whose diagonal elements are the square roots of port characteristic impedances. The voltage standing wave ratio (VSWR) of the structure at the first port is also computed:
[[File:PMOM122.png]]
Figure 4: The S<sub>11</sub> parameter plotted on a Smith Chart graph in EM.Grid.
=== Rational Interpolation Of Scattering Parameters ===
The adaptive frequency sweep described earlier is an iterative process, whereby the Planar MoM simulation engine is run at a certain number of frequency samples at each iteration cycle. The frequency samples are progressively built up, and rational fits for these data are found at each iteration cycle. A decision is then made whether to continue more iterations. At the end of the whole process, a total number of scattering parameter data samples have been generated, and new smooth data corresponding to the best rational fits are written into new data files for graphing. EM.Cube's [[planar Module]] also allows you to generate a rational fit for all or any existing scattering parameter data as a post-processing operation without a need to run additional simulation engine runs.
Figure 3: The smoothed version of the S<sub>11</sub> parameter plot of the two-port structure using EM.Cube's Smart Fit.
=== Planar Module's Output Simulation Data ===
Depending on the source type and the types of observables defined in a project, a number of output data are generated at the end of a planar MoM simulation. Some of these data are 2D by nature and some are 3D. The output simulation data generated by EM.Cube's [[Planar Module]] can be categorized into the following groups:
At the end of an analysis, the 2D quantities usually have a single value that is written into an ASCII data file. Complex-valued quantities are written into complex data files with a "'''.CPX'''" extension. Real-valued quantities are written into real data files with a "'''.DAT'''" extension. Polar 2D radiation pattern data and some other radiation characteristics are written into angular data files with a "'''.ANG'''" extension. In this latter file type, polar data are stored as functions of an angle expressed in degrees. At the end of a sweep simulation of one of the many types available (frequency, angular, parametric, etc.), the ASCII output data files are populated with rows that correspond to the samples of the sweep variable(s). If a sweep simulation involves N sweep variables, then the first N columns of the output data files show the samples of those sweep variables. All the 2D data files are listed in the '''2D Data Files''' tab of EM.Cube's '''Data Manager'''. You can view the contents of these ata files by selecting their row in the data manager and clicking the '''View''' button of the dialog.
3D output data, on the other hand, are defined as functions of the space coordinates and are usually of vectorial nature. Cartesian-type and mesh-type data such as current distributions and near-field field distributions are expressed as functions of the Cartesian (X, Y, Z) coordinates. Spherical-type data like far-field radiation patterns and RCS are expressed as functions of the spherical angles (θ?, Ïf). The 3D radiation patterns are written into a file with a "'''.RAD'''" extension. This file contains the complex values of the θ?- and Ïf-components of the far-zone electric field (E<sub>θ?</sub> and E<sub>Ïf</sub>) as well as the total far field magnitude as functions of the spherical observation angles θ ? and Ïf. The 3D RCS patterns are written into a file with a "'''.RCS'''" extension. This file contains the real values of the θ?- and Ïf-polarized RCS values as well as the total RCS as functions of the spherical observation angles θ ? and Ïf. The current distributions are written into data files with a "'''.CUR'''" extension. They contain the real and imaginary parts of the X, Y and Z components of electric ('''J''') and magnetic ('''M''') current on each cells together with the definition of all the node coordinates and node indices of the cells. The near-filed distributions are written into data files with a "'''.SEN'''" extension. They contain the amplitude and phase of the X, Y and Z components of electric ('''E''') and magnetic ('''H''') fields as functions of the coordinates of sampling points. All the 3D data files are listed in the 3'''D Data Files'''tab of EM.Cube's '''Data Manager'''. You can view the contents of these data files by selecting their row in the data manager and clicking the '''View''' button of the dialog.
[[File:PMOM138.png]]
Figure 2: Viewing the contents of a mesh-type 3D data file in Data Manager.
=== Standard vs. Custom Output ===
At the end of a planar MoM simulation, a number of computed quantities are designated as "Standard Output" parameters and can be used for various post-processing data operations. For example, you can define design objectives based on them, which you need for optimization. The table below gives a list of all the currently available standard output parameters in EM.Cube's [[Planar Module]]:
</table>
In the table above, SijM, etc. means the scattering parameter observed at port i due to a source excited at port j. Similar definitions apply to all the S, Z and Y parameters. If your planar structure has N ports, there will be a total of N<sup>2</sup> scattering parameters, a total of N<sup>2</sup> impedance parameters, and a total of N<sup>2</sup> admittance parameters. Additionally, there are four standard output parameters associated with each of the individual S/Z/Y parameters: magnitude, phase (in radians), real part and imaginary part. The same is true for the reflection and transmission coefficients of a periodic planar structure excited by a plane wave source. Each coefficient has four associated standard output parameters. These parameters, of course, are available only if your planar structure has a periodic domain and is also excited by a plane wave source incident at the specified θ ? and Ï f angles.
All the radiation- and scattering-related standard outputs are available only if you have defined a radiation pattern far field observable or an RCS far field observable, respectively. The standard output parameters DGU and ARU are the directive gain and axial ratio calculated at the certain user defined direction with spherical observation angles (θ?, Ïf). These angles are specified in degrees as '''User Defined Azimuth & Elevation''' in the "Output Settings" section of the '''Radiation Pattern Dialog'''. The standard output parameters HPBWU, SLLU, FNBU and FNLU are determined at a user defined Ïf-plane cut. This azimuth angle is specified in degrees as '''Non-Principal Phi Plane''' in the "Output Settings" section of the '''Radiation Pattern Dialog''', and its default value is 45°. The standard output parameters BRCS and MRCS are the total back-scatter RCS and the maximum total RCS of your planar structure when it is excited by an incident plane wave source at the specified θ?<sub>s</sub> and Ïf<sub>s</sub> source angles. FRCS, on the other hand, is the total forward-scatter RCS measured at the predetermined θ?<sub>o</sub> and Ïf<sub>o</sub> observation angles. These angles are specified in degrees as '''User Defined Azimuth & Elevation''' in the "Output Settings" section of the '''Radar Cross Section Dialog'''. The default values of the user defined azimuth and elevation are both zero corresponding to the zenith.
If you are interested in calculating certain quantities at the end of a simulation, which you do not find among EM.Cube's standard output data, you can define your own custom output. EM.Cube allows you to define new custom output as any mathematical expression that involves the available standard output parameters, numbers, variables and all of EM.Cube's mathematical functions. For a list of legitimate mathematical functions, click the '''Functions [[File:manuals/emagware/cubecad/computing-with-cad-objects/mathematical-functions/functions_icon.png]]'''button of the '''Simulate Toolbar''' or select '''Simulate > Functions...'''from the menu bar, or use the keyboard shortcut '''Ctrl+I''' to open the Function Dialog. Here you can see a list of all the available EM.Cube functions with their syntax and a brief description. To define a custom output, click the '''Custom Output [[File:manuals/emagware/emcube/modules/planar/running-simulations/defining-custom-output-parameters/custom_icon.png]]'''button of the '''Simulate Toolbar''' or select '''Simulate > Custom Output...'''from the menu bar, or use the keyboard shortcut '''Ctrl+K''' to open the Custom Output Dialog. This dialog has a list of all of your custom output parameters. Initially, the list empty. You can define a new custom output by clicking the '''Add''' button of the dialog to open up the '''Add Custom Output Dialog'''. In this dialog, first you have to choose a new label for your new parameter and then define a mathematical expression for it. At the bottom of the dialog you can see a list of all the available standard output parameters, whose number and variety depends on your project's source type as well as the defined project observables. When you close the Add Custom Output dialog, it returns you to the Custom Output dialog, where the parameter list now reflects your newly defined custom output. You can edit an existing parameter by selecting its row in the table and clicking the '''Edit''' button, or you can delete any parameter from the list using the '''Delete''' button.
Figure 2: Defining a new custom output using the available standard output parameters.
=== Viewing & Visualizing Various Output Data Types ===
At the end of a planar MoM simulation, a variety of 2D and 3D output data are generated. Some of these can be visualized or graphed directly from the Navigation Tree, while the others can only be accessed from the Data Manager. All of EM.Cube's simulation data are always written into ASCII data files that you can open and inspect or edit. Lists of these 2D and 3D data files appear under Data Manager's various tabs. The generated data also include all of [[Planar Module]]'s legitimate standard outputs that the simulation engine can compute given the specified source and observable types as well as all of your own previously defined custom output parameters. Note that in this release of EM.Cube, all the custom outputs are real-type data. Each custom output is written into a separate real data file with the same name as the parameter's given label and a "'''.DAT'''" file extension. To open data manager, click the '''Data Manager''' [[File:manuals/emagware/emcube/modules/planar/running-simulations/defining-custom-output-parameters/data_manager_icon.png]] button of the '''Simulate Toolbar''' or select '''Simulate > Data Manager''' from the menu bar, or right click on the '''Data Manager''' item of the Navigation Tree and select '''Open Data Manager'''... from the contextual menu. You can also use the keyboard shortcut '''Ctrl+D''' at any time. Select any data file by clicking and highlighting its row in the table and then click the '''Plot''' button to plot its graph in '''EM.Grid'''. You can also view the contents of a data file by selecting its row in th file list and clicking the '''View''' button of the dialog or by simply double-clicking the highlighted row. This opens up a new window containing a convenient spreadsheet that gives a tabular view of the contents of the selected data file. There are a large number of data operations and manipulations that you can perform on the data content including matrix, calculus and statistical calculations as well as computing and plotting new datasets using the "Compute" feature of the spreadsheet. You can make multiple file selection using the keyboard's '''Ctrl''' and '''Shift''' keys.
Figure 2: EM.Cube's Animation Controls dialog.
=== Running a Parametric Sweep ===
Parametric sweep is EM.Cube's most versatile sweep type. During a parametric sweep, the values of one or more sweep variables are varied over their specified ranges, and the planar MoM simulation is run for each combination of variable samples. If you define two or more sweep variables, the process will then involve nested sweep loops that follow the order of definition of the sweep variables. The topmost sweep variable in the list will form the outermost nested loop, and the sweep variable at the bottom of the list will form the innermost nested loop. Note that you can alternatively run either a frequency sweep or an angular sweep as parametric sweep, whereby the project frequency or the angles of incidence of a plane wave source are designated as sweep variables. Unlike optimization which will be discussed later, parametric sweeps are simple and straightforward and do not required careful advance planning.
Figure 5: EM.Cube's Variable Dry Run dialog.
=== Optimizing Planar Structures ===
Optimization is a process in which the values of one or more variables are varied in a systematic way until one or more design objectives are met. The design objectives are typically defined based on the output simulation data and are mathematically translated into an error (objective) function that is to be minimized. Running a successful optimization requires careful advance planning. First you have to make sure that your optimization problem does have a valid solution within the range of your optimization variables. In other words, the design objectives must be achievable for at least one combination of the optimization variable values within the specified ranges. Otherwise, the optimization process will not converge or will exhaust the maximum allowed number of iteration cycles and exit unsuccessfully.
A design objective is a logical expression that consists of two mathematical expressions separated by one of the logical operators: ==, <, <=, > or >=. These are called the left-hand-side (LHS) and right-hand-side (RHS) mathematical expressions and both must have computable numerical values. They may contain any combination of numbers, constants, variables, standard or custom output parameters as well as EM.Cube's legitimate functions. Objectives that involve the logical operator "'''=='''" are regarded a "'''Goals'''". The RHS expression of a goal is usually chosen to be a number, which is often known as the "'''Target Value'''". In the logical expression of a goal, one can bring the two RHS and LHS expressions to one side establish an equality of the form "(LHS - RHS) == 0". Numerically speaking, this is equivalent to minimizing the quantity | LHS - RHS |. During an optimization process, all the project goals are evaluated numerically and they are used collectively to build an error (objective) function whose value is tried to be minimized. Objectives that involve "non-Equal" logical operators are regarded a "'''Constraints'''". Unlike goals which lead to minimizable numerical values, constraints are rather conditions that should be met while the error function is being minimized.
To define an objective, open the '''Objectives Dialog''' either by clicking the '''Objectives''' [[File:manuals/emagware/emcube/modules/planar/running-simulations/optimization-defining-design-objectives/objective_icon.png]] button of the '''Simulate Toolbar''', or by selecting '''Menu > Simulate > Objectives...''' from the Menu Bar, or using the keyboard shortcut '''Ctrl+J'''. The objectives list is initially empty. To add a new objective, click the '''Add''' button to open up the '''Add Objective Dialog'''. At the bottom of this dialog, you can see a list of all the available EM.Cube output parameters including both standard and custom output parameters. This list may vary depending on the types of sources and observables that you have already defined in your project. You can enter any mathematical expressions in the two boxes labeled '''Expression 1''' and '''Expression 2'''. The Available Output Parameter List simply helps you remember the syntax of these parameters. You should also select one of the available options in the dropdown list labeled '''Logical Operator'''. The default operator is '''"=== (Equal To)"'''. As soon as you finish the definition of an objective, its full logical expression is added to the Objective List. You can always modify the project objectives after they have been created. Select a row in the Objective List and click the '''Edit''' button of the dialog and change the expressions or the logical operator. You can also remove an objective from the list using the '''Delete''' button.
[[File:PMOM151.png]]
= Periodic Planar Structures & Antenna Arrays =
=== Finite Arrays vs. Infinite Periodic Structures ===
A periodic structure is one that exhibits a repeated geometric pattern. It is made up of identical elements that are arranged in the form of a periodic lattice. The spacing between the elements is denoted by Sx along the X direction and Sy along the Y direction. The number of elements is denoted by Nx along the X direction and Ny along the Y direction (i.e. a total of Nx.Ny elements). If Nx and Ny are finite numbers, you have a finite-sized periodic structure, which is constructed using an "'''Array Object'''" in EM.Cube. If Nx and Ny are infinite, you have an infinite periodic structure with periods Sx and Sy along the X and Y directions, respectively. An infinite periodic structure in EM.Cube is represented by a "'''Periodic Unit Cell'''". Periodic structures have many applications including phased array antennas, frequency selective surfaces (FSS), electromagnetic bandgap structures (EBG), metamaterial structures, etc. EM.Cube allows you to model both finite and infinite periodic structures.<br /> <br /> Real practical periodic structures obviously have finite extents. You can easily and quickly construct finite-sized arrays of arbitrary complexity using EM.Cube's "Array Tool". However, for large values of Nx and Ny, the size of the computational problem may rapidly get out of hand and become impractical. For very large periodic arrays, you can alternatively analyze a unit cell subject to the periodic boundary conditions and calculate the current distribtutions and far fields of the periodic unit cell. For their radiation patterns, you can multiply the "Element Pattern" by an "Array Factor" that captures the finite extents of the structure. In many cases, an approximation of this type works quite well. But in some other cases, the edge effects and particularly the field behavior at the corners of the finite-sized array cannot be modeled accurately. Periodic surfaces like FSS, EBG and metamaterials are also modeled as infinite periodic structures, for which one can define reflection and transmission coefficients. For this purpose, the periodic structure is excited using a plane wave source. Reflection and transmission coefficients are typically functions of the angles of incidence.
=== Modeling Finite Antenna Arrays ===
The straightforward approach to the modeling of finite-sized antenna arrays is to use the full-wave method of moments (MoM). This requires building an array of radiating elements using EM.Cube's '''Array Tool''' and feeding the individual array elements using some type of excitation. For example, if the antenna elements are excited using a gap source or a probe source, you can assign a certain array weight distribution among the elements as well as phase progression among the elements along the X and Y directions. EM.Cube currently offers uniform, binomial, Chebyshev and (arbitrary) data file-based weight distribution types. The full-wave MoM approach is very accurate and takes into account all the inter-element coupling effects. At the end of a planar MoM simulation of the array structure, you can plot the radiation patterns and other far field characteristics of the antenna array just like any other planar structure.
Another approach to modeling a finite-sized antenna array is to analyze one of its elements and use the "Array Factor" concept to calculate its radiation patterns. This method ignores any inter-element coupling effects. In other words, you can regard the structure in the project workspace as a single isolated radiating element. To define an array factor, open the '''Radiation Pattern Dialog''' of the project. In the section titled "'''Impose Array Factor'''", you will see a default value of 1 for the '''Number of Elements''' along the X and Y directions. This implies a single radiator, representing the structure in the project workspace. There are also default zero values for the '''Element Spacing''' along the X and Y directions. You should change both the number of elements and element spacing in the X and Y directions to define a finite array lattice. For example, you can define a linear array by setting the number of elements to 1 in one direction and entering a larger value for the number of elements along the other direction. Keep in mind that when using an array factor for far field calculation, you cannot assign non-uniform amplitude or phase distributions to the array elements. For that purpose, you have to define an array object with a source array.
=== Defining A Periodic Domain ===
In general, a planar structure in EM.Cube's [[Planar Module]] is assumed to have open boundaries. This means that the structure has infinite dimensions along the X and Y directions. In other words, the layers of the background structure extend to infinity, while the traces and embedded object sets have finite sizes. Along the Z direction, a planar structure can be open-boundary, or it may be truncated by PEC ground planes from the top or bottom or both. You can define a planar structure to be infinitely periodic along the X and Y directions. In this case, you only need to define the periodic unit cell. EM.Cube automatically reproduces the unit cell infinitely and simulates it using a spectral domain periodic version of the Green's functions of your project's background structure.
Figure 1: [[Planar Module]]'s Periodicity Settings dialog.
=== Regular vs. Generalized Periodic Lattices ===
Besides conventional rectangular lattices, EM.Cube's [[Planar Module]] can also handle complex non-rectangular periodic lattices. For example, many frequency selective surfaces have skewed grids. In order to simulate skewed-grid periodic structures, the definition of the grid has to be generalized. A periodic structure is a repetition of a basic structure (unit cell) at pre-determined locations. Let these locations be described by (x<sub>mn</sub>, y<sub>mn</sub>), where m and n are integers ranging from -â 8 to â8. For a general skewed grid, x<sub>mn</sub> and y<sub>mn</sub> can be described by:
x<sub>mn</sub> = m&DELTA;x + n&DELTA;x'<br /> y<sub>mn</sub> = n&DELTA;y + m&DELTA;y'
Figure 1: Diagram of an equilateral triangular periodic lattice.
From the figure, it is obvious that the y coordinate of each row is fixed and identical, thus &DELTA;y = L and &DELTA;y' = 0. While in each row the spacing between adjacent elements is L, there is an offset of L/2 between the consecutive rows. This results in &DELTA;x = L and &DELTA;x' = L/2. To sum up, an equilateral triangular grid can be described by &DELTA;x = L, &DELTA;x' = L/2, &DELTA;y = L and &DELTA;y' = 0. In an EM.Cube [[Planar Module]] project, the secondary offsets are equal to zero by default, implying a rectangular lattice. You can change the values of the secondary offsets using the boxes labeled '''X Offset''' and '''Y Offset''' in the '''Periodicity Settings Dialog''', respectively. Triangular and Hexagonal lattices are popular special cases of the generalized lattice type. In a triangular lattice with alternating Rows, &DELTA;x' = &DELTA;x/2 and &DELTA;y'=0. A Hexagonal lattice (with alternating rows) is a special case of triangular lattice in which &DELTA;y = â3v3&DELTA;x/2.
=== Interconnectivity Among Unit Cells ===
In many cases, your planar structure's traces or embedded objects are entirely enclosed inside the periodic unit cell and do not touch the boundary of the unit cell. In EM.Cube's [[Planar Module]], you can define periodic structures whose unit cells are interconnected. Interconnectivity applies only to PEC, PMC and conductive sheet traces, and embedded object sets are excluded. Note that in a periodic planar structure, your objects cannot cross the periodic domain. However, you can arrange objects with linear edges such as one or more flat edges line up with the domain's bounding box. In such cases, EM.Cube's planar MoM mesh generator will take into account the continuity of the currents across the adjacent connected unit cells and will create the connection basis functions at the right and top boundaries of the unit cell. It is clear that due to periodicity, the basis functions do not need to be extended at the left or bottom boundaries of the unit cell.
Figure 3: The PEC cross unit cell and its planar mesh. Notice the cell extensions at the unit cell's boundaries.
=== Periodic MoM Simulation ===
In the case of an infinite periodic planar structure, the field equations can be written in the following form:
[[File:PMOM96(1).png]]
where θ ? and Ï f are the beam scan angles in the case of periodic excitation of lumped sources, or they are the spherical angles of incidence in the case of a plane wave source illuminating the periodic structure. Using the infinite summations, one can define periodic dyadic Green's functions in the spectral domain in the following manner:
[[File:PMOM97.png]]
Figure 1: Changing the number of Floquet modes from the Planar MoM Engine Settings dialog.
=== Modeling Periodic Phased Arrays ===
Earlier, it was argued that you can calculate the radiation pattern of a finite antenna array by modeling a single isolated element and multiplying its "Element Pattern" by the "Array Factor". This method gives acceptable results only when the inter-element coupling effects are negligible, as it does not take into account such effects. Planar antennas printed on dielectric substrates usually exhibit inter-element coupling effects due to the propagation of the substrate surface wave modes. If your finite-sized array is very large and you cannot afford a straightforward full-wave MoM simulation of it, you can alternatively model it as an infinite array represented by a periodic unit cell. In this case, you calculate the radiation pattern of the unit cell structure and use it as the "Element Pattern" in conjunction with the "Array Factor". The periodic Green's functions, in this case, capture the inter-element coupling effects. What is missing from this picture is the finite edge effects and/or corner effects, if any.
Figure 2: The 3D radiation pattern of a beam-steered periodic printed dipole array.
=== Exciting Periodic Structures Using Plane Waves ===
When a periodic structure is excited using a plane wave source, it acts as a periodic surface that reflects or transmits the incident wave. You can model frequency selective surfaces, electromagnetic band-gap structures and metamaterials in this way. EM.Cube calculates the reflection and transmission coefficients of periodic surfaces or planar structures. If you run a single plane wave simulation, the reflection and transmission coefficients are reported in the Output Window at the end of the simulation. Note that these periodic characteristics depend on the polarization of the incident plane wave. You set the polarization (TMz or TEz) in the '''Plane Wave Dialog''' when defining your excitation source. In this dialog you also set the values of the incident '''Theta''' and '''Phi''' angles.
Figure 1: A periodic planar layered structure with slot traces excited by a normally incident plane wave source.
=== Characterizing Periodic Surfaces Using Angular Sweeps ===
The reflection and transmission characteristics of a period surface as functions of the incidence angle are often of great interest. For that purpose, you can run an angular sweep of your periodic structure, where you normally fix the Ï f angle and sweep the θ ? angle from 180 to 90 degrees for one-sided surfaces and from 180 to 0 degrees for two-sided surface. To run an angular sweep, open the [[Planar Module]]'s '''Simulation Run Dialog''' and select the '''Angular Sweep''' option from its '''Simulation Mode''' dropdown list. This enables the '''Settings''' button, which opens up the '''Angle Settings Dialog'''. First, you must choose either Theta or Phi as the '''Sweep Angle'''. Then you can set the '''Start''' and '''End''' values of the selected incidence angle as well as the '''Number of Samples'''. At the end of an angular sweep simulation, you can plot the reflection and transmission coefficients from the Navigation Tree. To do so, right click on the '''Periodic Characteristics''' item in the '''Observables''' section of the Navigation Tree and select '''Plot Reflection Coefficients''' or '''Plot Transmission Coefficients'''. The reflection and transmission coefficients of the structure are saved into two complex data files called "reflection.CPX" and "transmission.CPX". These data files are also listed in EM.Cube's '''Data Manager''', where you can view or plot them.
[[File:PMOM103.png]]
Figure 1: [[Planar Module]]'s Angle Settings dialog.
=== Modeling Periodic Structures Using Adaptive Frequency Sweeps ===
You learned earlier how to use EM.Cube's powerful, adaptive frequency sweep utility to study the frequency response of a planar structure. Adaptive frequency sweep uses rational function interpolation to generate smooth curves of the scattering parameters with a relatively small number of full-wave simulation runs in a progressive manner. Therefore, you need a port definition in your planar structure to be able to run an adaptive frequency sweep. This is clear in the case of an infinite periodic phased array, where your periodic unit cell structure must be excited using either a gap source or a probe source. You run an adaptive frequency sweep of an infinite periodic phased array in exactly the same way to do for regular, aperiodic, planar structures.
EM.Cube's Planar Modules also allows you to run an adaptive frequency sweep of periodic surfaces excited by a plane wave source. In this case, the planar MoM engine calculates the reflection and transmission coefficients of the periodic surface. Note that you can conceptually consider a periodic surface as a two-port network, where Port 1 is the top half-space and Port 2 is the bottom half-space. In that case, the reflection coefficient R is equivalent to S<sub>11</sub> parameter, while the transmission coefficient T is equivalent to S<sub>21</sub> parameter. This is, of course, the case when the periodic surface is illuminated by the plane wave source from the top half-space, corresponding to 90°< θ ⤠? = 180°. You can also illuminate the periodic surface by the plane wave source from the bottom half-space, corresponding to 0° ⤠θ = ? < 90°. In this case, the reflection coefficient R and transmission coefficient T are equivalent to S<sub>22</sub> and S<sub>12</sub> parameters, respectively. Having these interpretations in mind, EM.Cube enables the "'''Adaptive Frequency Sweep'''" option of the '''Frequency Settings Dialog''' when your planar structure has a periodic domain together with a plane wave source.
=== Modeling Finite-Sized Periodic Arrays Using NCCBF Technique ===
Previously, you saw how the concept of "Array Factor" is used to approximate the far field radiation pattern of a finite-sized array of radiators. The total radiation pattern can be expressed as the product of the array factor and the "Element Pattern". The array factor captures the topology of the array lattice and depends on the number of elements along the X and Y directions as well as the element spacing along those directions. As for the choice of element pattern, you saw two extreme cases. In the "'''Isolated Element'''" option, you compute the radiation pattern of a single stand-alone radiator and completely ignore any coupling effects from the neighboring elements. This option is readily available in the Radiation Pattern Dialog of the Far Field observable. In the "'''Periodic Element'''" option, you analyze a periodic version of the radiating element with periods equal to the element spacing. The computed radiation pattern of the periodic unit cell in this case captures the coupling effects from an infinite number of elements.
EMAG Technologies Inc. has recently developed a novel technique, called '''Numerically Constructed Characteristic Basis Functions (NCCBF)''', which generates physics-based entire-domain basis functions for the elements of a finite-sized array. These "sophisticated" basis functions are linear combinations of the "'''Isolated Element'''" solutions and "'''Periodic Element'''" solutions. Unlike the array factor method, which is a post-processing calculation of far-field data, the NCCBF method generate a full-wave MoM solution with entire-domain basis functions. Considering the same example of the patch antenna array discussed earlier, the NCCBF method generates a total of N<sub>B</sub>= 4 entire-domain basis functions on each patch element: an isolated X-directed solution, a periodic X-directed solution, an isolated Y-directed solution, and a periodic Y-directed solution. The same approach applies equally well to triangular RWG basis functions and is not limited to rectangular cells. As a result, the new MoM linear system has a dimension of N = N<sub>B</sub>. N<sub>F</sub> = (4)(64) = 256. In other words, the NCCBF method compresses the original MoM matrix of size N = 30,720 to one of significantly reduced size N = 256 (i.e. a compression factor of 120x).
=== Running a NCCBF Simulation ===
In the current release of EM.Cube's [[Planar Module]], the NCCBF MoM solver works with any number of distinct, finite-sized arrays if they are excited with one of the following three source types:
Figure 2: Planar MoM's "Add Unit Cell" dialog.
=== Symmetries, Array Objects & Composite Arrays ===
EM.Cube's [[Planar Module]] treats array objects in a special way. That is why you need to use array objects with certain rules for NCCBF simulations. In general, if the mesh of your planar structure involves a total of N vectorial basis functions, the MoM matrix will contain a total of N<sup>2</sup> elements. Instead of computing the entire N<sup>2</sup> basis interactions, the Planar MoM simulation engine takes advantage of the inherent symmetry properties of the dyadic Green's functions and camputes the diagonal elements of the matrix and all the elements below the diagonal. This amounts to N.(N+1)/2 basis interactions. In many cases, the MoM matrix is symmetric, and the elements above the diagonal are simply mirror-image of the below-diagonal elements. In planar structures that involve both metal and slot traces, there will be sign reversals for some interactions.