Antenna Lab Manual 2
Antenna Lab Manual 2
Prepared by
Asst Prof Dr. Zeeshan Zahid (Lab OIC)
Page 1
Microwave Communications Laboratory
Department of Electrical Engineering
Military College of Signals
1. Objectives
Page 2
The radiation pattern can be expressed mathematically as a function of polar or Cartesian
coordinates. For example
U = Bo cos2 θ 0 ≤ θ ≤ π/2, 0 ≤ φ ≤ 2π
The functions can be plotted in MATLAB using 2D or 3D plots. See polar function in
MATLAB.
Page 3
Radiation Pattern Plot in MATLAB
Open MATLAB .
Consider 2D radiation patterns, represented by functions f = sin(θ) and y = sin3(θ). Write down
the following code to see the polar plots.
>> theta=[0:.01:2*pi];
>> f = sin(theta);
>> y = sin(theta).^3;
>> polar(theta, f), figure(2), polar(theta, y)
Data cursor
(a) (b)
3
Figure 2.2 (a) plot of sin(θ) (b) plot of sin (θ)
Observe that the plot of sin3(θ) is narrower than that of sin(θ). Click on data cursor and click on
the plot to find the value at arbitrary location on the plot. Note that the ticks of theta are not in
accordance with the standard orientation of theta where 0o is at the top and 180o is at the bottom.
Page 4
Similarly, plot the pattern of function f = cos(θ) and f = cos3(θ) as follows
(a) (b)
Figure 2.3 (a) plot of cos(θ) (b) plot of cos3(θ)
Consider a radiation pattern is represented by function f = sin2(θ) and y = cos2(θ). Write down the
following code in MATLAB editor to see the following polar plot.
(a) (b)
Figure 2.4 (a) plot of sin(θ) (b) plot of cos(θ)
Page 5
Step 4: (Generate 3D omni-directional pattern)
Rotate 3D
Click ‘Rotate 3D’ button and rotate the graph using mouse to see its features. Observe that the
plot of sin2(θ) is a donut like pattern with null at top and bottom and maximum along the sides.
Note: Change the range of phi to ‘pi’ instead of “2.1*pi” and observe the change in pattern.
Page 6
Step 5: (Generate 3D isotropic radiation pattern)
Import the S11 data in MATLAB from excel file (S11 data). The file is available in the folder of
lab manual.
Page 7
The following window pops up. Select complete Freq column as shown and copy it.
Type f = [ ]’; in the command prompt and paste the data within the brackets. Repeat the process
for other columns as well. Typing Sim = [ ]’; and Meas = [ ]’; Don’t forget to add apostrophe at
the end of each command.
Plot the data using the plot command as shown,
Simulated
Measured
Page 8
3. Introduction to Ansys HFSS
Ansys HFSS (high frequency structure simulator) is high performance full-wave electromagnetic
(EM) simulation software for design and simulation of high-frequency electronic products such as
antennas, antenna arrays, RF or microwave components, high-speed interconnects, filters,
connectors, IC packages and printed circuit boards. It integrates simulation, visualization, 3D
modeling, and automation in an easy-to-learn environment where solutions to your 3D EM
problems are quickly and accurately obtained. HFSS employs the Finite Element Method (FEM),
adaptive meshing, and brilliant graphics giving insight to 3D EM problems. HFSS can be used to
calculate parameters such as S-parameters, resonance frequency, radiation patterns and radiated
fields etc. Engineers worldwide use HFSS to design high-frequency, high-speed electronics found
in communications systems, radar systems, advanced driver assistance systems, satellites,
internet-of-things (IoT) products and other high-speed RF and digital devices.
Simulating a design in HFSS involves the following:
Page 9
Introduction to Ansys HFSS Interface and Creation of 3D Geometry
Start Ansys Electronic Desktop → click on “New File” → click on “Project” → “Insert
HFSS Design” as shown in Figure below. Note the panels of the software.
Menu bar
Tool bars
Project
Manager 3D-Modeler
with project window
tree
Properties
Window
Properties Progress
window Window
Message
Manager
Page 10
Step 9: (Selection of solution type)
In “HFSS” menu → click on “Solution Type” → select the solution type to be “Driven Modal”,
click OK. This solution type is chosen for calculating mode-based S-parameters of passive high
frequency structures such as antennas or waveguides.
Page 11
Step 11: (Rename the project)
In tool bar click on Cylinder button → click at the origin of coordinates, → click in XY plane →
click in z-axis to draw a cylinder → click again along z-axis to draw a cylinder with arbitrary
dimensions as shown.
Page 12
Step 13: (Specify dimensions)
Double click on “CreateCylinder” in project manager → Enter radius and height → change the
units to cm → Change the center position to 0, 0, -5 with unit cm as shown → click OK. The
geometry of cylinder will be changed. Zoom out using mouse scroll to see the cylinder in full
scale.
In tool bar click on “Draw Box” button → click at the origin of coordinates, → click in XY plane
→ click again along z-axis to draw a box with arbitrary dimensions as shown.
Page 13
Step 15: (Specify dimensions)
Double click on “CreateBox” in project manager → Enter X, Y and Z sizes → change the units to
cm → Change the center position to -0.5, -0.5, -0.25 (the half of X, Y and Z sizes) with unit cm as
shown → click OK. Note that the center of the box coincides with the origin of coordinate system.
Press Ctrl key and click on Cylinder1 and then Box1 → Click on subtract button → new dialog
box appears with Cylinder1 written on left side and Box1 written on right side → Press OK.
Page 14
Observe that a segment of the cylinder has been removed. Press Alt key and drag the mouse to
rotate the geometry to see its features.
Draw a box towards x-axis. Give its values as shown and click OK.
Page 15
Step 18: (Draw feed line 2)
Draw another box towards x-axis. Give its values as shown and click OK.
Page 16
Step 20: (Assign material)
Note that the default material of the structure is vacuum. Right click on Cylinder1 → Click on
assign material → Select copper from the list → and click OK.
Press Ctrl key and click on Taurus → Click at the origin of coordinates, → Click in XY plane →
click in XY plane again to draw a circular loop with arbitrary dimensions → Specify the
dimensions as shown.
Page 17
Step 22: (Draw radiation box)
Draw a box of size 50 cm × 50 cm × 50 cm with its center at the origin, as shown. It can be a
sphere also.
Page 18
Step 24: (Assign radiation boundary)
Right click on selected “Radiation” → Select “Far Field Setup” → Select “Infinite Sphere..”
→ in Far Field Sphere Setup, plug in the values of Phi and Theta as shown → Press OK.
Right click on “Analysis” → click on “Add Solution Setup..” → in Solution Setup window give
solution frequency → press OK.
Page 19
Step 26: (Add frequency sweep)
Right click on “Setup” → click on “Add Frequency Sweep..” → in Edit Sweep window select
sweep type “Fast” → give start and stop frequency → Click “Display>>” press OK.
Press “Validate” (tick button) to see if there is any error in the geometry. Make the corrections if
a red cross appears in the list. Click “Analyze” (!) button to simulate the design. Do not press this
button now, as we will use it in upcoming experiments. However, once pressed the Progress bar
will indicate simulation progress.
Validate Analyze
Page 20
Task 1
1.19 cm
0.91 cm
1.6 cm
Task 2
Page 21
Answer the following questions:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Page 22
Department of Electrical Engineering
Page 23