Hfss Basics
Hfss Basics
Hfss Basics
电子科技大学
贾宝富 博士
2-1
HFSS Boundary List
Perfect E and Perfect H/Natural
Ideal Electrically or Magnetically Conducting Boundaries
Finite Conductivity
Lossy Electrically Conducting Boundary, with user-provided conductivity
and permeability
Impedance
Used for simulating ‘thin film resistor’ materials, with user-provided
resistance and reactance in Ω/Square
Radiation
An ‘absorbing boundary condition,’ used at the periphery of a project in
which radiation is expected such as an antenna structure
Symmetry
A boundary which enables modeling of only a sub-section of a structure
in which field symmetry behavior is assured.
“Perfect E” and “Perfect H” subcategories
Perfect H
2-4
Perfect H for 2D Aperture (II)
Perfect H
2-5
HFSS Boundary Descriptions: Finite Conductivity
2-6
HFSS Boundary Descriptions: Impedance
2-7
HFSS Boundary Descriptions: Radiation
Ø Parameters: None
A Radiation boundary is an absorbing
boundary condition, used to mimic
continued propagation beyond the
boundary plane
Absorption is achieved via a second-
order impedance calculation
Boundary is λ/4 away from Boundary should be constructed correctly
horn aperture in all directions. for proper absorption
Distance: For strong radiators (e.g.
antennas) no closer than λ/4 to any
structure. For weak radiators (e.g. a
bent circuit trace) no closer than λ/10
to any structure
Orientation: The radiation boundary
Note boundary does not absorbs best when incident energy
follow ‘break’ at tail end
flow is normal to its surface
of horn. Doing so
would result in a convex Shape: The boundary must be
surface to interior concave to all incident fields from
radiation.
within the modeled space
2-8
HFSS Boundary Descriptions: Radiation, cont.
0
Any incident energy not absorbed is
-20 reflected back into the model,
-40 altering the resulting field solution!
-60
Implication: For steered-beam arrays,
the standard radiation boundary may
-80
be insufficient for proper analysis.
-100
0 10 20 30 40 50 60 70 80 90 Solution: Use a Perfectly Matched
theta (deg)
Layer (PML) construction instead.
ETM Incorporation of PMLs is covered in
the Advanced HFSS training course.
θ
Details available upon request.
2-9
HFSS Boundary Descriptions: Symmetry
2-10
HFSS Boundary Descriptions: Symmetry, cont.
2-11
HFSS Boundary Descriptions: Master/Slave Boundaries
Perfectly Matched Layer
(top)
Ø Parameters: Coordinate system,
master/slave pairing, and phasing
Master and Slave boundaries are used
to model a unit cell of a repeating
structure
Master Boundary Slave Boundary Also referred to as linked boundaries
Master and Slave boundaries are
V-axis
always paired: one master to one slave
The fields on the slave surface are
constrained to be identical to those on
the master surface, with a phase shift.
Origin
Constraints:
U-axis
The master and slave surfaces must be
of identical shapes and sizes
WG Port
Ground Plane A coordinate system must be identified
(bottom)
on the master and slave boundary to
identify point-to-point correspondence
Unit Cell Model of End-Fire Waveguide Array
2-12
HFSS Source List
Port
Most Commonly Used Source. Its use results in S-parameter output
from HFSS.
Two Subcategories: ‘Standard’ Ports and ‘Gap Source’ Ports
Apply to Surface(s) of solids or to sheet objects
Incident Wave
Used for RCS or Propagation Studies (e.g. Frequency-Selective
Surfaces)
Results must be post-processed in Fields Module; no S-parameters
can be provided
Applies to entire volume of modeled space
Voltage Drop or Current Source
‘Ideal’ voltage or current excitations
Apply to Surface(s) of solids or to sheet objects
Magnetic Bias
Internal H Field Bias for nonreciprocal (ferrite) material problems
Applies to entire solid object representing ferrite material
2-13
HFSS Source Descriptions: Port (I)
2-14
HFSS Source Descriptions: Port (II)
2-15
Impedance, Calibration and Polarization Lines
Ø Impedance line, calibration line and polarization line are optional in port
setup.
Ø They are located in the port and have a starting point and an end point.
2-16
Impedance Line
2-17
Calibration Line
2-18
Polarization Line
2-19
HFSS Source Descriptions: Incident Wave (I)
2-20
HFSS Source Descriptions: Incident Wave (II)
Voltage Drop
Current Drop
2-22
HFSS Source Descriptions: Voltage Drop and Current
Source (II)
Example Current
Source (along trace Ø Parameters: Direction and Magnitude
or across gap)
A voltage drop would be used to
excite a voltage between two metal
structures (e.g. a trace and a ground)
A current source would be used to
excite a current along a trace, or
across a gap (e.g. across a slot
Example Voltage antenna)
Drop (between
trace and ground)
Both are ‘ideal’ source excitations,
without impedance definitions
No S-Parameter Output
User applies condition to a 2D or 3D
object created in the geometry
Vector identifying the direction of the
voltage drop or the direction of the
current flow is also required
2-23
Sources/Boundaries and Eigenmode Solutions
2-24
HFSS Source Descriptions: Magnetic Bias
2-27
HFSS Ports: Sizing
2-31
HFSS Ports: Sizing Handbook III
Ø Slotline Port Guidelines
Assume slot width is g
Assume dielectric height is h
Ø Port Height:
Approx 7g minimum Should be at least 4h, or 4g (larger)
Remember to include air below the
Larger of 4h or 4g
substrate as well as above!
g If ground plane is present, port should
terminate at ground plane
h Ø Port Width:
Should contain at least 3g to either side
of slot, or 7g total minimum
Port boundary must intersect both side
ground planes, or they will ‘float’ and
become signal conductors relative to
outline ‘ground’
2-32
HFSS Ports: Sizing Handbook IV
Ø CPW Port Guidelines
Assume slot width is g
Assume dielectric height is h
Larger of approx. 10g or 10s Assume center strip width is s
Ø Port Height:
Larger of 4h or 4g Should be at least 4h, or 4g (larger)
s Remember to include air below the substrate
as well as above!
h g
If ground plane is present, port should
terminate at ground plane
Ø Port Width:
Should contain 3-5g or 3-5s of the side
grounds, whichever is larger
Total about 10g or 10s
Port outline must intersect side grounds, or
they will ‘float’ and become additional signal
conductors along with the center strip. 2-33
CPW Wave Ports: Starting Recommendations
Wave Port Size
The standard recommendation for most CPW wave ports is a rectangular aperture
Port width should be no less than 3 x the overall CPW width, or 3 x (2g + w)
Port height should be no less than 4 x the dielectric height, or 4h
Wave Port Location
The wave port should be centered horizontally on the CPW trace
If the port is on GCPW, the port bottom edge should lie on the substrate bottom ground plane
If the port is on ungrounded CPW, the port height should be roughly centered on the CPW metal layer
Wave Port Restrictions
As with all wave ports, there must be only one surface normal exposed to the field volume
Port should be on exterior model face, or capped by a perfect conductor block if internal
The wave port outline must contact the side grounds (all CPWs) and bottom ground (GCPW)
The wave port size should not exceed lambda/2 in any dimension, to avoid permitting a rectangular waveguide
modal excitation
3 (2g + w) 3 (2g + w)
4h minimum 4h minimum
w
w
h g
h g
Ungrounded CPW Grounded CPW
2-34
(Port height centered on trace) (Port height begins at lower ground)
HFSS Ports: Sizing Handbook V; Gap Source
Ports
Perfect E
Ø Gap Source ports behave differently from
Standard Ports
Perfect H Any port edge not in contact with metal structure
Perfect H
or another port assumed to be a Perfect H
conductor
Ø Gap Source Port Sizing (microstrip example):
Perfect E
“Strip-like”: [RECOMMENDED] No larger than
necessary to connect the trace width to the
ground
Perfect H
“Wave-like”: No larger than 4 times the strip
width and 3 times the substrate height
Perfect H
The Perfect H walls allow size to be smaller than
a standard port would be
Perfect H
However, in most cases the strip-like application
should be as or more accurate
Perfect E
Ø Further details regarding Gap Source Port
sizing available as a separate presentation
2-35
HFSS Port Selection Example: Parallel Traces
Spaced by 8 or more times Trace Width
Inputs sufficiently isolated that no coupling behavior should occur
Sufficient room for Wave port apertures around each trace
Use Wave Ports as shown
2-37
HFSS Ports: Single-Direction Propagation
2-38
HFSS Ports: Mode Count
Ports should solve for all propagating modes
Ignoring a mode which does propagate will result
in incorrect S-parameters, by neglecting mode-
to-mode conversion which could occur at
discontinuities
However, requesting too many modes in the full
solution also negatively impacts analysis
Modes in cutoff are more difficult to calculate; S-
parameters for interactions between propagating
and non-propagating modes may not converge
well
What if I don’t know how many modes exist?
Circular waveguide, showing two
orthogonal TE11 modes and TM01 Build a simple model of a transmission line only,
mode (radial with Z-component). or run your model in “Ports Only” mode, and
Neglecting the TM01 mode from check!
your solution would cause incorrect
results. You can alter the mode count before running the
full solution.
Degenerate mode ordering is controlled with
calibration lines (see next slide)
2-39
HFSS Ports: Degenerate Modes
Degenerate modes have identical impedance,
propagation constants
Port solver will arbitrarily pick one of them to
be ‘mode(n)’ and the other to be ‘mode(n+1)’
Thus, mode-to-mode S-parameters may be
In circular or square waveguide, use the
calibration line to force (polarize) the mode referenced incorrectly
numbering of the two degenerate TE11
modes. This is also useful because without
To enforce numbering, use a calibration line
a polarization orientation, the two modes and polarize the first mode to the line
may be rotated to an arbitrary angle inside
circular WG. OR, introduce a dielectric change to slightly
perturb the mode solution and separate the
degenerate modes
Example: A dielectric bar only slightly higher in
permittivity than the surrounding medium will
concentrate the E-fields between parallel
wires, forcing the differential mode to be
For parallel lines, a virtual object
dominant
between them aids mode ordering. If dielectric change is very small (approx. 0.001
Note virtual object need not extend or less), impedance impact of perturbation is
entire length of line to help at port.
negligible
2-40
HFSS Ports: Impedance Definitions
HFSS provides port characteristic
impedances calculated using the power-
current definition (Zpi)
Incident power is known excitation quantity
Port solver integrates H-field around port
boundary to calculate current flow
For many transmission line types, the power-
voltage or voltage-current definition is
preferred
Slot line, CPW: Zpv preferred
For a Coax, the impedance line extends TEM lines: Zvi preferred
radially from the center to outer conductor (or
vice versa). Integrating the E-field along the
HFSS can provide these characteristic
radius of the coaxial dielectric provides the impedance values, as long as an impedance
voltage difference.
In many instances, the impedance and
line is identified
calibration lines are the same! The impedance line defines the line along
which the E-field is integrated to obtain a
voltage
Often it can be identical to the calibration line
2-41
HFSS Ports: Phase Calibration
A second purpose of the calibration line is to
control the port phase references
The 2D port eigensolver finds propagating
modes on each port independently
The zero degree phase reference is chosen at
a point of maximum E-field intensity on the port
face.
Which of the above field
orientations is the zero This occurs twice, with 180 degrees
degree phase reference? separation, for each 360 degree cycle
Calibration Line defines...
Therefore the possibility exists for the software
to select inconsistent phase references from
port to port, resulting in S-parameter errors
All port-to-port S-parameter phases, e.g.
S21, will be off by 180 degrees
Solution: The calibration line defines the
preferred direction for the zero degree
reference on each port.
2-42
HFSS Ports: Impedance Multiplier
When symmetry is used in a model, the
automatic Zpi and impedance line-
dependant Zpv and Zvi calculations will
Whole Rectangular WG
(No Symmetry) be incorrect, since the entire port
Impedance Mult = 1.0 aperture is not represented.
Split the model with a Perfect E
symmetry case, and the impedance is
Half Rectangular WG
halved.
(Perfect E Symmetry) Split the model with a Perfect H
Impedance Mult = 2.0
symmetry case, and the impedance is
doubled.
The port impedance multiplier is just a
Half Rectangular WG renormalizing factor, used to obtain the
(Perfect H Symmetry)
Impedance Mult = 0.5 correct impedance results regardless of
the symmetry case used.
The impedance multiplier is applied to
all ports, and is set during the
...and for Quarter Rectangular WG?
(Both Perfect E and H Symmetry) assignment of any port in the model.
Impedance Mult. = 1.0
2-43