EEL ITJ Projeto EDA Tutorial 11
EEL ITJ Projeto EDA Tutorial 11
2
ANSYS Electromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
information of ANSYS, Inc. and its subsidiaries and affiliates.
Getting Started with HFSS: Matching Network – Using Tuning in Circuits
Ribbons, menu bars, and short-cut menus are three methods that can be used to see what
commands are available in the application.
l Ribbons are the rectangular area on top of the application window and contain multiple tabs.
Each tab has relevant commands that are organized, grouped, and labeled. An example of a
typical user interaction is as follows:
"On the Draw ribbon tab, click the Box primitive" means you can click the Box icon on the
Draw tab and execute the Box command to draw a box.
l The menu bar (located above the ribbon) is a group of the main commands of an application
arranged by category such File, Edit, View, Project, etc. An example of a typical user inter-
action is as follows:
"On the File menu, click the Open Examples command" means you can click the File menu
and then click Open Examples to launch the dialog box.
l Another alternative is to use the short-cut menu that appears when you click the right-mouse
button. An example of a typical user interaction is as follows:
3
ANSYS Electromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
information of ANSYS, Inc. and its subsidiaries and affiliates.
Getting Started with HFSS: Matching Network – Using Tuning in Circuits
“Right-click and select Assign Excitation> Wave Port” means when you click the right-
mouse button with an object face selected, you can execute the excitation commands from
the short-cut menu (and the corresponding sub-menus).
Getting Help: ANSYS Technical Support
For information about ANSYS Technical Support, go to the ANSYS corporate Support website,
https://www.ansys.com/Support. You can also contact your ANSYS account manager in order to
obtain this information.
All ANSYS software files are ASCII text and can be sent conveniently by e-mail. When reporting dif-
ficulties, it is extremely helpful to include very specific information about what steps were taken or
what stages the simulation reached, including software files as applicable. This allows more rapid
and effective debugging.
Help Menu
To access help from the menu bar, click Help and select from the menu:
l HFSS Contents - click here to open the contents of the help.
l HFSS Search - click here to open the search function of the online help.
Context-Sensitive Help
To access help from the user interface, do one of the following:
l To open a help topic about a specific menu command, press Shift+F1, and then click the
command or toolbar icon.
l To open a help topic about a specific dialog box, open the dialog box, and then press F1.
4
ANSYS Electromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
information of ANSYS, Inc. and its subsidiaries and affiliates.
Getting Started with HFSS: Matching Network – Using Tuning in Circuits
Table of Contents
Table of Contents Contents-1
1 - Introduction 1-1
2 - Set Up the Project 2-1
Launch ANSYS Electronics Desktop 2-1
Open Project File 2-2
Insert Chip Antenna 2-3
Set HPC Analysis Options 2-5
3 - Validate and Analyze HFSS Design 3-1
4 - Set Up and Analyze Circuit Design 4-1
Insert Circuit Design 4-1
Add HFSS Model to Circuit 4-1
Add Port to Schematic 4-3
Add Components to Schematic 4-5
Connect Components in Schematic 4-8
Configure Circuit Excitation 4-10
Add Frequency Sweep and Analyze 4-11
5 - Tune Matching Network 5-1
Create S-Parameter Report 5-1
Prepare Report for Tuning 5-2
Select Variables for Tuning 5-5
Tune Component Values 5-5
6 - Push Excitations 6-1
7 - Verify Excitation Data in HFSS 7-1
8 - Create and Overlay Gain Plots 8-1
Contents-1
ANSYS Electromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
information of ANSYS, Inc. and its subsidiaries and affiliates.
Getting Started with HFSS: Matching Network – Using Tuning in Circuits
Contents-2
ANSYS Electromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
information of ANSYS, Inc. and its subsidiaries and affiliates.
Getting Started with HFSS: Matching Network – Using Tuning in Circuits
1 - Introduction
In this Getting Started guide, you will learn about dynamic linking capabilities between HFSS and
Circuit designs in the ANSYS Electronics Desktop application. Specifically, the guide provides an
example of a matching network for a Bluetooth chip antenna.
By following the procedures in this guide, you will learn how to perform the following tasks:
l Dynamically link an HFSS design to a Circuit simulation
l Use the tuning feature in the Circuit design to match the antenna using lumped components
(you will tune the component values)
l Create an S-parameter plots
l Apply a marker to a plot to assist in component tuning
l Push excitations from the Circuit design to the HFSS design
l Create gain plots (radiation pattern) and overlay them on the model geometry
You will begin with a partially completed project file containing a model of a Johanson evaluation
board, to which you will add a Johanson 2450AT18D0100 Bluetooth chip antenna. There is a com-
pleted example model of this evaluation board and antenna included with the ANSYS Electronics
Desktop installation (in the Examples subfolder). However, you will use an incomplete version of
this model as your starting point for this exercise.
The antenna is designed to work at a frequency in the range of 2.4 to 2.48 GHz. The following
images show the evaluation board with the chip antenna mounted to it and the matching network
circuit:
Introduction 1-1
ANSYS Electromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
information of ANSYS, Inc. and its subsidiaries and affiliates.
Getting Started with HFSS: Matching Network – Using Tuning in Circuits
Introduction 1-2
ANSYS Electromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential
information of ANSYS, Inc. and its subsidiaries and affiliates.
Getting Started with HFSS: Matching Network – Using Tuning in Circuits
1. Double-click the ANSYS Electronics Desktop shortcut on your desktop (or the
same shortcut on your Start Menu).
Note:
When you launch the application, a new, blank project is created automatically. For
this exercise, you will not start with a new project. Therefore, you will close it in the
next step.
2. Right-click Projectx at the top of the Project Manager and choose Close from the shortcut
menu.
Note:
This project is deliberately incomplete. You need to add the chip antenna to com-
plete the HFSS model. Additionally, you must insert a circuit design, add a port and
lumped components, configure the Circuit design excitation, add a frequency
sweep, tune the component values, push excitations from Circuit to HFSS, and
generate reports. For this reason, the project file is located in the Help folder
instead of the Examples folder.
Since you will not be constructing geometry for this exercise, the drawing grid and ruler are
hidden in the project file.
3. Navigate to a working folder of your choice. (Do not attempt to write to the program install-
ation path.)
Note:
Optionally, you can click the Create New Folder icon ( ) within the Save As dia-
log box to create a new working folder in a suitable location.
4. Click Save to place a copy of the model in your working folder using the same file name.
Note:
The Johanson evaluation board model is protected. You cannot move, copy, delete, or
otherwise modify any of the objects that comprise it. However, you can add objects to the
model.
1. Under Coordinate Systems in the History Tree, ensure that AntCS is the working coordin-
ate system. (A red "W" appears in the lower right corner of the icon when it is active.) If not,
select AntCS to make it active.
2. If the Component Libraries window is not already visible, use the menu bar to toggle its vis-
ibility. (Click View> Component Libraries.)
3. Expand the HFSS Components> Johanson> Bluetooth_Zigbee_Wifi folder in the Com-
ponent Libraries window.
4. Right-click 2450AT18D0100 and choose Place Component from the shortcut menu:
5. Ensure that the AntCS is selected from the Target Coordinate System drop-down menu.
6. Click OK to place the antenna on the board.
Note:
Alternatively, you could click and drag the antenna from the library to the Modeler
window, bypassing the Insert CD Component dialog box. You can drop the com-
ponent anywhere in the Modeler window. It will be automatically positioned at the
correct insertion point (the origin of the currently active coordinate system) and cor-
rectly oriented.
8. Save your project. (This command is available from all ribbon tabs and from the File
menu.)
Note:
The number of cores is determined based on hardware and licensing options. For the pur-
pose of this exercise, use four cores, which is the supported number of cores for a basic
software license.
2. If the configuration named Local does not say YES in the Active column, select this con-
figuration and click Make Active.
3. With Local still selected, click Edit.
4. In the Analysis Configuration dialog box that appears, specify the following settings:
a. Select Use Automatic Settings
b. In the Cores column for localhost, specify 4.
5. Click OK twice to close the Analysis Configuration and HPC and Analysis Options dialog
boxes.
The Validation Check window appears, and it should show no warnings or errors:
Note:
The Validate and Analyze All commands are also available from the HFSS menu
and from the shortcut menu that appears when you right-click the HFSS design in
the Project Manager.
3. If the Message Manager and Progress windows are not displayed, click Show Messages
and Show Progress, at the right end of the status bar, to see the solution messages and
progress.
4. Optionally, click and drag the borders to resize these windows as preferred.
The HFSS solution takes less than 15 minutes to solve on a reasonably current computer work-
station.
1. When the HFSS analysis has finished solving, Save the project.
2. On the Desktop ribbon tab, choose Circuit from the Circuits & Systems
drop-down menu.
3. In the list at the right side of the Workflow dialog box, ensure that None is selected and click
OK.
An empty Schematic window appears and a Circuit1 branch is added to the tree in the Pro-
ject Manager.
2. On the left side of the dialog box, under Chip_Antenna_Design> HFSSDesign1, select the
frequency sweep (Bluetooth : 1_4GHz):
3. Click OK.
A subcircuit model of the HFSS design is inserted into the Circuit design Matching_Network
in the Program Manager. The number at the end of the HFSS design name has been incre-
mented:
4. On the Schematic ribbon tab, click Fit All. Then, click Zoom Out once or twice to
make room in the Schematic window for adding some lumped components.
Note:
Zoom in or out and scroll in the Schematic window as needed while completing the
circuit. The mouse buttons and scroll wheel work somewhat differently in the
Schematic window than they do in the 3D Modeler. Roll the mouse wheel to zoom
in or out, as in the 3D Modeler. Press Shift while rolling the wheel, or use the scroll
bar on the right edge of the window, to scroll the schematic vertically. Use the bot-
tom scroll bar to scroll horizontally.
3. Right-click and choose Finish to exit the Interface port command (alternatively, press
Space or Esc).
4. Point to the bottom end of the Port1 pin (but do not click yet).
The Wire command is started automatically, and the start point of the wire snaps to the
Port1 pin.
6. In the same manner, click the mouse at the pin labeled 1:1. (A small circle indicates the snap-
ping point.)
Because the line completes a connection to a pin, the segment is terminated. Otherwise, if
you clicked at a non-connection point (say to change directions) you can continue to draw
line segments until a valid termination point is reached.
3. Click and drag the component labeled CAP_: Capacitor onto the left side of the schematic.
Then move the cursor and click again to place a second one on the right side. Locate the two
capacitors at the approximate positions shown below:
4. Right-click and choose Finish (or press Space or Esc) to terminate the component place-
ment operation.
5. Click the capacitor on the left side of the schematic to select it.
The settings associated with this component appear in the docked Properties window.
6. In the Param Values tab of the docked Properties window, change the default numerical
value of C to the variable Shunt1 and press Enter
7. In the Add Variable dialog box that appears, do the following:
a. Select Capacitance from the Unit Type drop-down menu
b. Select pF from the Units drop-down menu.
c. Type 1 in the Value text box.
d. Click OK.
8. In the Component tab of the docked Properties window, change the InstanceName value
to C1 if it is not already specified as such.
9. Repeat steps 5 through 8 for the capacitor on the right side of the schematic. This time, spe-
cify the variable Shunt2 with the same value (1 pF) and name it C2.
10. Under Nexxim Circuit Elements, expand the Inductor branch.
13. Click the inductor you just placed on the schematic to select it.
14. In the Param Values tab of the docked Properties window, change the default numerical
value of L to the variable Series and press Enter.
15. In the Add Variable dialog box that appears, do the following:
a. Select Inductance from the Unit Type drop-down menu.
b. Select nH from the Units drop-down menu.
c. Type 1 in the Value text box.
d. Click OK.
16. In the Component tab of the docked Properties window, change the InstanceName value
to L1 if it is not already specified as such.
17. In the Schematic window, click and drag the Design Properties legend to your preferred loc-
ation.
18. Click in the background to clear the current selection.
Note:
2. In the same manner, connect the left end of C2 to pin parallel_2:1 and the left end of L1 to
pin series:1:
3. Connect the left end of C1 and the right ends of C2 and L1 to each other, as shown below:
The Configure ports and sources dialog box appears. Port1 is already selected because it's
the only item in the Ports List.
2. With the drop-down menus in the Add New Source section of the dialog box set to Power
and Sinusoidal (if not already selected); then click Add to selected port:
Note:
This voltage is the peak magnitude of the AC signal, not peak-to-peak. The peak-
to-peak amplitude = 2 * ACMAG, and the amplitude = ACMAG / √2.
1. On the Simulation ribbon tab, click LNA. (If LNA is not shown as the default action for
any of the simulation type drop-down menus, select it from the first drop-down menu.)
After clicking the icon, the default action is to set up a Nexxim, Linear Network Analysis
(LNA).
The Y axis becomes bold, and the associated settings appear in the docked Properties win-
dow.
2. In the Scaling tab of the docked Properties window, make the following changes:
a. Select the Specify Min option.
b. Change the Min value to -50 and press Enter.
3. Right-click in the S Parameter Plot 1 window and choose Marker > Add X Marker.
A vertical marker line is added to the plot. The bottom yellow box indicates the frequency
value and the top one the corresponding S-parameter value.
5. In the X Marker tab of the docked Properties window, scroll down to the properties under
the Selected heading (if necessary) and make the following changes:
a. Select the Lock Drag option.
b. Change XValue to 2.44 GHz.
c. Change Line Width to 2 and press Enter.
3. Click OK to accept the settings and close the Properties dialog box.
2. Under Matching_Network in the Project Manager, right-click Optimetrics and choose Tun-
ing from the shortcut menu. Alternatively, using the menu bar, click Circuit> Tune.
3. To provide an unobstructed view of the S Parameter plot, particularly in the area around
2.44 GHz, reposition the Tune dialog box that appears. (Do this by clicking and dragging its
title bar.)
4. Clear the Browse available variations option in the Tune dialog box.
5. For each of the three variables in the Variations section, slowly drag the sliding pointers
upward and downward to adjust the values within the Min to Max range. Allow sufficient time
for the plot to update at each component value step. The goal is to minimize the value at the
point of intersection of the plot trace and the X marker line. This set of adjustments is tricky
because the three components have a complex interaction. You can't alter one variable
without affecting the optimal setting for the other two variables.
The Tune dialog box and updated S Parameter Plot 1 should resemble the following two
images when you reach the optimal settings:
7. Click OK to apply the selected variation, which represents the current slider positions.
6 - Push Excitations
Push the excitation information from the Circuit design to the HFSS design as follows:
1. Bring the Schematic window back to the foreground using one of the following methods:
l If the Schematic window is partially visible, just click anywhere in the window or on its
title bar.
l Using the Window menu, select Chip_Antenna_Board - Matching_Network -
Schematic.
l Using the menu bar, click Circuit> Schematic Editor.
l In the Project Manager, double-click Matching_Network.
2. In the Schematic window, right-click the HFSS design component (evaluation board) and
choose Push Excitations from the shortcut menu.
3. Click OK.
3. In the Spectral Fields tab of the dialog box, ensure that the Specify System Power option is
selected under System power for gain calculations:
The system power value has been updated to reflect the excitation defined in the circuit
schematic, as explained below:
Also, notice that the Magnitude and Phase columns contain references to frequency-depend-
ent magnitude and phase datasets. Prior to pushing the excitation information from the Cir-
cuit design, this dialog box would have shown 1 W magnitude at 0° phase for the first port
and all zeros for the magnitude and phase values of the other three ports.
4. Click OK.
5. Using the menu bar, click HFSS> Design Datasets.
6. Select any of the listed datasets to see a graph of the frequency-dependent magnitude or
phase data.
7. Click Done.
1. On the Results ribbon tab, click Far Fields Report> Mag/Ang Polar.
2. In the Report dialog box that appears, specify the following settings:
a. Select Elevation from the Geometry drop-down menu.
b. Ensure that all settings under the Trace tab are as shown below:
5. In the Families tab of the Report dialog box, select the Phi value of 90deg.
6. Click New Report and click Close.
To differentiate the appearance of the two gain plot curves, you will next change the color of
the trace in Gain Plot 2.
9. Use the Window menu to bring the Modeler window to the foreground (Chip_Antenna_
Board - HFSSDesignx - Modeler).
10. Right-click in the Modeler window and choose Plot Fields> Radiation Field.
11. In the Overlay radiation field dialog box that appears, specify the following settings:
Next, rotate the model viewpoint for the best view of the two overlays, as follows:
Note:
This viewpoint prevents a significant portion of the red and blue traces from being
hidden by the evaluation board.
You have completed the Matching Network exercise. You can now close the project.