Академический Документы
Профессиональный Документы
Культура Документы
Tutorial in
Electromagnetics #1
DRAFT
Sponsored by NSF Grant #05-559: Finite Element Method
Exercises for use in Undergraduate Engineering Programs
Outline of Tutorial
1.
2.
Introduction
Overview of computational electromagnetics (CEM)
3.
4.
Overview
Methods of CEM
Problems and Limitations
6.
7.
Step-by-Step Solution
8.
Introduction
Using HFSS to create and improve designs
Tutorial Objectives
Overview of Computational
Electromagnetics (CEM)
Electromagnetics
The study of electrical and magnetic fields and their interaction
Governed by Maxwells Equations (Faradays Law, Ampres Circuital Law, and Gauss Laws)
Maxwells Equations
Faradays Law:
E =
B
t
Gauss Laws:
B = 0
D =
H = J+ D
t
Constitutive Equations:
B = H
D=E
Applications of CEM
Over the past five decades CEM has been successfully applied to several engineering
areas, including:
Antennas
Biological electromagnetic (EM) effects
Medical diagnosis and treatment
Electronic packaging and high speed circuits
Superconductivity
Microwave devices and circuits
Law enforcement
Environmental issues
Avionics
Communications
Energy generation and conservation
Surveillance and intelligence gathering
Homeland Security
Signal Integrity
This tutorial deals with the finite element method a full-wave technique. Full-wave
techniques have the potential to be the most accurate of all numerical
approximations because they incorporate all higher order interactions and do not
make any initial physical approximations
Examples include:
The FDTD, MoM and FEM are the most popular today!
The amplitude and phase of the unknown quantity is determined by the application
of the particular CEM
9
Finite Discretization
Is the mesh fine enough to properly so that the basis functions can adequately represent the
fields?
Does double precision provide enough accuracy for your problem, especially if it is ill
conditioned?
10
First application in electromagnetics appeared in literature in the late 1960s but did
not see widespread adoption until the 1980s
A problem of spurious modes was not solved until the 1980s through a theoretical
breakthrough with edge elements
Widespread availability of powerful main-frame and personal computers also aided the
expansion
Starts with the partial differential equation (PDE) form of Maxwells Equations
11
Antenna Patch
Artificial absorbing
region
(box surrounding the
antenna)
Substrate Material
12
Weaknesses
13
Ansys, Inc.
Emag
Comsol, Inc.
COMSOL Multiphysics with Electromagnetics Module
SolidWorks Corporation
COSMOSEMS
14
Ansoft HFSS
Overview
HFSS is a high-performance full-wave electromagnetic field simulator for arbitrary
3D volumetric passive device modeling that takes advantage of the familiar Microsoft
Windows graphical user interface. It integrates simulation, visualization, solid
modeling, and automation in an easy-to-learn environment.
HFSS includes:
Problem Definition
The Probe Feed Patch Antenna
The following tutorial is intended to show how to create, simulate, and analyze a
probe feed patch antenna using the Ansoft HFSS Design Environment
This tutorial leads you step-by-step through the design of a Probe Feed Patch
Antenna. By following the steps in this tutorial you will be able to:
16
Problem Background
17
Basic Characteristics
A metallic strip or patch mounted on a dielectric layer (substrate) which is supported by a
ground plane
Typically, the both the thickness of the metallic strip and the spacing between the patch and
the ground plane are small , as compared to the free space wavelength (t << and h << ).
Recall =v/f where v is the velocity of propagation in free space (3x108 m/s) and f is the
frequency of operation
Typically designed for broadside radiation (radiation pattern is normal to the patch
For rectangular patches, the length is usually between one-third and one-half of the free
space wavelength
18
W=
c
2 fr
2
r +1
19
eff =
r +1 r 1
+
h
1
12
+
1
2
0.258 + 0.8
h
L=
c
2 f r eff
2L
20
Design Example
Design a rectangular Microstrip antenna using Rogers RT/duroid 5880 with a
dielectric constant of 2.2 with a height of 3.2 mm so as to resonate at 2.97 GHz.
Solution:
W=
3 10
2 2.97 10
2
100 = 4.0 cm
2 .2 + 1
eff =
2.2 + 1 2.2 1
0.32
+
1 + 12
2
2
4.0
1
2
= 2.0284
4.0
( 2.0284 + 0.3)
+ 0.264
0.32
= 0.166 cm
L = ( 0.32)(0.412)
4.0
( 2.0284 0.258)
+ 0.8
0.32
L=
3 108
2 2.97 10
21
The plus (+) sign is used between keyboard keys to indicate that you should press the
keys at the same time. For example, Press ctrl+u means to press the ctrl key and
the u key at the same time.
22
There are numerous ways to perform most tasks. This tutorial will show you one way.
Keep in mind that with experience you will learn the other ways.
There is no required sequence of events when creating a design. Design steps can be
performed in any logical order.
You can quickly modify design properties at any time. For example, you can change
dimensions through the Properties window.
You can easily track modifications to your design in the history tree and the project
tree.
You can use HFSSs extensive post-processing features to evaluate solution results.
23
A Project Manager contains the design tree which outlines the structure of the project
A Message Manager the allows you to view errors or warning
A Property Window that displays and allows you to change model parameters
A Progress Window that displays solution progress
A 3-D Modeler Window which contains the model and model tree for the active design
}
}
Project
Design
Design Setup
Design
Automation
Design Results
Other Designs
24
Menu Bar
Project
Manager
with Project
Tree
3-D Modeler
Window
Properties
Window
Message
Manager
Status Bar
Progress
Window
Coordinate Entry Fields (not highlighted)
25
This solution calculates the modal-based S-Parameters. The Scattering Matrix or S-matrix solutions
will be expressed in terms of the incident and reflected powers of waveguide modes
Driven Terminal
This solution calculates the terminal-based S-parameters of multi-conductor transmission line ports.
The Scattering or S-matrix solutions will be expressed in terms of terminal voltages and currents
Eigenmode
This solution calculates the eigenmodes, or resonances, of a structure. The eigenmode solver finds the
resonant frequencies of the structure and the fields at those resonant frequencies
Driven Terminal
Eigenmode
26
27
Simulation-Step-by-Step Procedure
Outline of Simulation
1.
Set up the Design
2.
Launch Ansoft HFSS, Set the Tool Option, Rename the open a New Project, Set Solution
Type, Set the Units
3.
4.
Compare Solutions
28
To access Ansoft HFSS, click the Microsoft Start button, select Programs, and select the
Ansoft>HFSS 10 program group. Click HFSS 10.
3.
4.
Use wizards for data entry when creating new boundaries: Checked
29
Click File>Save As
Use the file browser to locate the folder in which you want to save the project and then
double click the folders name
Type Antenna and File Name text box and then click Save.
Do not forget to save your design periodically throughout the tutorial.
2.
The design is already listed in the project tree when HFSS opens. It is named HFSS
Designn by default. The 3-D Modeler window appears to the right of the Project
Manager. To rename the design: Right-click HFSSDesignn in the project tree, and then
click Rename on the shortcut menu.
Type AntennaProbe and then press Enter.
As you set up the design for analysis, available settings depend on the solution type. For
this design, you will choose Driven Model as the solution type. To specify the design
solution type, click HFSS>Solution Type
In the Solution Type dialog box, select Driven Terminal and then click OK.
30
To set the units of measurement for drawing the geometric model. Click 3D Model>Units
Select cm for the Select units pull-down list and then click OK
31
32
The Properties window appears, with the Command tab selected, enabling you to Modify the dimensions and position
of the box. While the Properties window is open, you will use it to assign a name to the box, confirm its material
assignment, an make it more or less transparent, depending on your preferences. You will notice the Properties box
remains on the left hand of the screen.
Name
Material
33
3.
Using the coordinate entry fields, enter the opposite corner of the rectangle:
dX: 10.0, dY: 9.0, dZ:0.0, Press the Enter key
4.
5.
6.
34
3.
4.
5.
6.
To selet the objects Inf_GND and Cut_Out, select the menu item Edit>Select>By
Name
With the Select Object dialog open, select the objects Inf_GND and Cut_Out by
holding the Shift key down and click the OK button.
Select the menu item 3D Modeler>Boolean>Subtract
With the Subtract window open, move Inf_GND to Blank Parts and Cut_Out to Tool
Parts if they are in the wrong column, make sure that Clone tool objects before subtract
is NOT checked and click the OK button.
35
36
3.
4.
5.
6.
7.
8.
37
3.
4.
5.
6.
7.
8.
9.
To set the name, select the Attribute tab from the Properties window
For the Value of Name type: coax_pin
To set the material, click the vacuum button that is in the value of the Material row.
Type pec in the Search by name field and select pec (perfect electrical conductor) from
the list and then click OK
Click the OK button to close the Properties dialog
38
To create a circle that represents the port, select the menu item Draw>Circle
Using the coordinate entry fields, enter the circle position:
X: -5.0, Y: 0.0, Z: -0.5, Press the Enter Key
Using the coordinate entry fields, enter the circle radius:
dX: 0.16, dY: 0.0, dZ: 0.0, Press the Enter Key
To set the name, select the Attribute tab from the Properties window
For the Value of Name type: port1
Click the OK button to close the Properties dialog
Wave Port
Close-up of Coaxial Antenna Feed
39
4.
5.
6.
Number of Terminals: 1
For T1: click Undefined column and select New Line
Using the coordinate entry fields, enter the vector position
X: -0.34, Y: 0.0, Z: -0.5, Press the Enter key
Using the coordinate entry fields, enter the vertex
dX: -0.09, dY: 0.0, dZ: 0.0, Press the Enter key
In Wave Port: Differentials: leave settings and press the Next button
In Wave Port: Post Processing set the Reference Impedance to 50
Click the Finish button
Bottom View
of Coaxial Feed
Vector defining
the polarity
40
41
42
3.
Using the coordinate entry fields, enter the opposite corner of the box:
dX: 10.0, dY: 9.0, dZ: 3.32, Press the Enter Key
4.
5.
6.
7.
8.
9.
10.
To set the name, select the Attribute tab from the Properties window
For the Value of Name type: air
Make sure the material is set at vacuum in the value of the Material row.
Click the Edit box in the Transparent row.
Move the slider to transparency level to 1 and then click OK.
Click the OK button to close the Properties dialog
Select the menu item View>Fit All>Active View to fit the view
43
3-D View
44
3.
4.
5.
6.
To define a radiation setup, select the menu item HFSS>Radiation>Insert Far Field
Setup>Infinite Sphere
In the Far Field Radiation Sphere Setup dialog, make the following settings:
Name: ff_2d
Phi: Start: 0, Stop: 90, Step Size: 90
Theta: Start: -180, Stop: 180, Step Size: 2
Click the OK button to close the dialog
Define another radiation field, select the menu item HFSS>Radiation>Insert Far
Field Setup>Infinite Sphere again
In the Far Field Radiation Sphere Setup dialog, make the following settings:
Name: ff_3d
Phi: Start: 0, Stop: 360, Step Size: 2
Theta: Start: 0, Stop: 180, Step Size: 2
Click the OK button to close the dialog
45
3.
To create an analysis setup, select the menu item HFSS>Analysis Setup> Add Solution
Setup
In the Solution Setup window, click the General tab and enter
Solution Frequency: 2.5 GHz
Maximum Number of Passes: 20
Maximum Delta S per Pass: 0.02
Click the OK button
46
4.
5.
To add a frequency sweep, select the menu item HFSS>Analysis Setup>Add Sweep
Select Solution Setup: Setup1 and Click the OK button.
Edit the Sweep Window by entering the following values:
Sweep Type: Fast
Frequency Setup Type: Linear Count
Start: 1.0 GHz
Stop: 3.5 GHz
Count: 201
Save Fields: Checked
Click the OK Button Save Project
If you have not been saving your file, select File>Save
Model Validation
1.
2.
Analyze
1.
Congratulations you are ready to analyze. To start the solution process, select the menu
item HFSS>Analyze
47
4.
5.
To view the Solution Data, select the menu item HFSS>Results>Solution Data
Click the Profile tab to view the solution profile
(elapsed time, mesh generation statistics, etc.)
Click the Convergence tab
to view solution convergence as
a function of pass number and the
number of tetrahedra used.
Note the total number of passes.
Click Plot.
Click the Matrix Data
tab to view the data.
Click the Close button
48
Create Reports
Create a report that plots the input return loss vs. frequency
1.
2.
3.
4.
5.
6.
7.
8.
49
1. To create a 2-D polar far field plot, select the menu item HFSS>Results>Create Report
2. In the Create Report Window, select:
Report Type: Far Fields
Display Type: Radiation Pattern
5. In the Sweeps tab, select Phi under the Name column, and on the drop list, select Theta.
This changes the primary sweep to Theta.
6. In the Sweeps tab, select the row labeled Freq and select the resonant frequency 2.3375
from the list
7. In the Mag tab,select:
Category: Gain
Quantity: Gain Total
Function: dB
50
To create a 3-D polar far field plot, select the menu item HFSS>Results>Create
Report
In the Create Report Window, select:
3.
4.
1.
Solution: Setup1:Sweep1
Geometry: ff_3d
6.
In the Sweeps tab, select the row labeled Freq and select the resonant frequency 2.3375
from the list
In the Mag tab,select:
7.
8.
5.
Category: rE
Quantity: rE Total
Function: <none>
51
2.
3.
4.
5.
6.
To create a Magnetic Field Plot, return to the 3-D Modeler Window by selecting
HFSS>3D Model Editor. Note: This step is only necessary if you have a Plot window
open.
Switch to face selection mode by clicking Edit>Select>Faces
Select the top face of the substrate. You may need to use the B button to select the face
behind the current selection.
To open the Create Field Plot window, click HFSS>Fields>Fields>H>Mag_H
Select Setup1:LastAdaptive as the solution to plot in Solution pull-down list
Accept the default settings by clicking Done
52
3.
4.
53
2.
3.
4.
5.
6.
7.
To create a Magnetic Field Plot, return to the 3-D Modeler Window by selecting
HFSS>3D Model Editor. Note: This step is only necessary if you have a Plot window
open.
Switch to face selection mode by clicking Edit>Select>Faces
Select the top face of the substrate. You may need to use the B button to select the face
behind the current selection.
To open the Create Field Plot window, click HFSS>Fields>Plot Mesh
Select Setup1:LastAdaptive as the solution to plot in Solution pull-down list
Accept the default settings by clicking Done
You may wish to delete the previous Field Plot from the figure by right clicking the H
field under Field Overlays in the Project Manager Tree.
54
Electromagnetics
N.N. Rao, Elements of Engineering Electromagnetics, Pearson Prentice Hall, Upper Saddle
River, NJ, 2004
W.H. Hayt and J.A. Buck, Engineering Electromagnetics, McGraw-Hill, New York, NY, 2006
Computational Electromagnetics
A. Taflove and S. Hagness, Computational Electrodynamics: The Finite Difference Time
Domain Method, Artech House, Boston, MA, 2000
J.Jin, The Finite Element Method in Electromagnetics, 2nd edition, Wiley, New York, NY,
2002
P.P Silvester and R.L. Ferrari, Finite Elements for Electrical Engineers, 3rd edition,
Cambridge University Press, Cambridge, 1996
Antennas
C.A. Balanis, Antenna Theory, Analysis and Design, 3rd edition, Wiley, New York, NY, 2005
J.D. Kraus and R.J. Marhefka, Antennas for All Applications, 3rd edition, McGraw-Hill, New
York, NY, 2002
55