Dipole Design Based On Ansys HFSS
Dipole Design Based On Ansys HFSS
LAB
Dipole design
based on Ansys HFSS
Delivery: 20/03/2024
Table of Contents
1. LAB objectives: ................................................................................................................. 2
2. Access to HFSS: ................................................................................................................. 2
3. Previous requirements: .................................................................................................... 2
4. Design steps...................................................................................................................... 3
4.1. Draw the different structures and assign materials .............................................................. 3
4.2. Adjust excitations and boundary conditions ......................................................................... 4
4.3. Set analysis setups and frequency sweep ............................................................................. 5
4.4. Validate and simulate ............................................................................................................ 6
4.5. Results and post-processing .................................................................................................. 7
5. Delivery:............................................................................................................................ 8
6. Material: ........................................................................................................................... 9
1. LAB objectives:
• Design and simulate a half-wavelength dipole antenna that you studied in the theoretical
classes
• Analyze its behavior from different points of view such as
o Reflection coefficient (S11)
o Antenna impedance (Z11)
o Gain and efficiency vs. frequency
o 3D Directivity (D) and gain (G)
o 2D radiation patterns (at Elevation and Azimuth planes)
o Fields inside the antenna (such as electric field, magnetic fields, or surface current)
2. Access to HFSS:
You can access the HFSS program (known also as “Ansys Electronics Desktop”) through two main
methods
• From anywhere using your university email through the virtual computer provided by UC3M
(the program is already installed, just select “Ansys2023” then at the desktop you will find
"Ansys Electronics Desktop")
https://aulavirtual.uc3m.es/uds/page/services
• Or download the student version from this link (follow the default options during all steps of
the installation)
https://www.ansys.com/academic/students/ansys-electronics-desktop-student
3. Previous requirements:
You need to be familiar with the HFSS program, we had the previous session to see the different steps
to simulate an object which can be summarized into these 5 steps as
1) Draw the different structures and assign materials
2) Adjust excitations and boundary conditions
3) Set analysis setups and frequency sweep
4) Validate and simulate
5) Results and post-processing: Investigate the different results and make possible post-
processing
In the link below, you can watch the official program introduction video prepared by the Ansys team
with all the previous discussions, it is 40 minutes and divided into 5 short videos (the first 23 minutes
are extremely important). You can return to it anytime to be sure that you have the necessary
knowledge to work with the program.
https://www.youtube.com/playlist?app=desktop&list=PLtt6-
ZgUFmMK20h31TLirmaXglxsrKBxA&cbrd=1
4. Design steps
The first antenna type you need to test in this subject is a half-wavelength dipole antenna. First, you
need to specify the solution type of the program, right-click on the design “HFSSDesign1” then choose
“Solution Type” and choose “HFSS” as the solution type and “Modal” in the options. You can save these
options as default if you are using HFSS locally on your laptop.
Then similar to what we did for a metallic rectangular waveguide, we need to follow the main 5 steps:
Assign a material to be copper (or any metal you prefer). Finally, draw a rectangle in the middle
as in the picture shown below to be used as the excitation (signal source).
If you remember for the waveguide example, we only had to draw our structure (the
waveguide itself), and then for the surrounding parts, we did not need to do anything as HFSS
by default assigns a perfect conductor “PEC” to the background. For the waveguide case, it is
ok because all fields were inside our structure so does not matter the surrounding parts.
However, here we are in an “open” case which is the antenna so we need to set the
background or the surrounding parts to be free-space. Hence, we need to draw an air box
surrounding the antenna and assign its boundary condition as “Radiation” so the program will
ensure that the radiated fields will not be reflected back and affect our structure.
To do so, you can right-click on the drawing place and select “Create Open Region” then
introduce your frequency, leave the default boundary condition of “Radiation” and press OK.
You can use also “PML” boundaries too which stand for Perfect Matched Layer which gives
higher accuracies compared to Radiation boundary, however, for our example, Radiation is
more than enough.
With this, the program will automatically create an air box and assign it a space of λ/3 far away
from each edge of your structure. Additionally, at the project manager part at left, you will find
that it automatically creates three objects under the “Radiation option” which represent the
change in the Theta and Phi coordinate axes that you want to see the far field parameters
(such as directivity or gain) based on them. These 3 cuts represent the 3D complete space and
the 3 possible 2D cuts as summarized in the table below.
Radiation cut name Phi range Theta range Cut
3D -180<φ<180 0<θ<180 Complete space
Azimuth -180<φ<180 Θ=90 XY plane
Elevation Φ=0,90 -180<θ<180 XZ and YZ planes
After that, right-click on the setup 1 you created and select “Add > Frequency Sweep” and add
2 of them around your frequency so you can see the behavior of your antenna in and out of
You can try-and-error to change the value of the length until you adjust your resonance correctly
(shifting the minimum of your curve located at your frequency). However, the more professional way
to do so is to use a parametric sweep and directly you can provide different values for this length and
see whole results at once. To do so, first multiply your length with a new parameter which is the tuning
factor as below. Keep in mind that this is just a factor so do not assign any units to it, for example, if it
is 0.5, this means taking half of the current length (so theoretically, this is equivalent to double the
frequency), and so on. Then go to “Optometric” and press right-click and choose “Add < Parametric”.
Consider the following figure and adjust your tuning factor (for example smaller than 1 if you want to
shift the resonance toward higher frequency or larger for smaller frequencies).
See the whole results of these variable values and repeat the previous step as many times as possible
to have a proper adjustment of the resonance frequency (let's say S11<-15dB). Once you adjust
correctly the resonance frequency, continue with the other parameters and plot them.
5. Delivery:
Include the HFSS design file with a pdf containing all results as indicated in Sec. 1, with short comments
(1 or 2 sentences for each) about these parameters that you can extract for this antenna.
• Reflection coefficient (S11)
o Plot a rectangle plot for the reflection coefficient vs. frequency and put a marker at
the resonance, you will find this parameter under the option of “Create Model
Solution Data Report”.
o Measure the fractional impedance bandwidth you get (the band where S11<-10dB).
• Antenna impedance (Z11)
o Plot a rectangle plot for the input impedance (Z11) (both real and imaginary) vs.
frequency.
o Measure the Z11 of your antenna at the resonance.
o Is it pure real?
• Gain and efficiency vs. frequency
o Plot a rectangle plot for the peak realized gain and total efficiency, you will find these
parameters under the option of “Create Antenna Parameters Report”
o What is the 3-dB gain bandwidth you get?
• 3D Directivity (D) and gain (G)
o Draw two plots, one for each parameter, you will find these parameters under the
option of “Create Far Fields Report” then “3D Polar Plot”.
o Compare the values you get to the theoretical estimations.
• 2D radiation patterns (at Elevation and Azimuth planes)
o Plot in dB the 2D radiation patterns (you can select gain or directivity), you will find
these parameters under the option of “Create Far Fields Report” then “Radiation
patterns”.
o In “Geometry”, select “Elevation” and plot total gain in dB vs theta.
o Add in the same graph, the other cut plane so select “Azimuth” and plot total gain in
dB vs Phi.
o Measure half-power beam width (HPBW), you can find it when you right click then
choose “Trace Characteristics < All < xdb10Beamwidth with x=3”.
6. Material:
[1] You can watch these short videos from the “Ansys How To” channel for “Designing a Dipole
Antenna”:
1. Steps I, 2, 3 and 4 (7min)
https://www.youtube.com/watch?v=dUC720AJvK0
2. Step 5 (7/5/6min), you can skip the first 3 minutes as they are dedicated to how to run the
simulations faster using High Performance Computing (HPC) or remote simulations.
https://www.youtube.com/watch?v=92myzcUSwcg
https://www.youtube.com/watch?v=grvDUxa-e5I
https://www.youtube.com/watch?v=lz7nwLmtotw
[2] C. A. Balanis, “Antenna theory: analysis and design,” John Wiley & sons, 2016. (Sec. 4.5 “FINITE
LENGTH DIPOLE” and Sec. 4.6 “HALF-WAVELENGTH DIPOLE”).