getting started with hfss: matching network using tuning

44
Getting Started with HFSS: Matching Network – Using Tuning in Circuits ANSYS, Inc. Southpointe 2600 ANSYS Drive Canonsburg, PA 15317 [email protected] https://www.ansys.com (T) 724-746-3304 (F) 724-514-9494 Release 2020 R1 January 2020 ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001:2015 com- panies.

Upload: others

Post on 18-Dec-2021

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: MatchingNetwork – Using Tuning in Circuits

ANSYS, Inc.Southpointe2600 ANSYS DriveCanonsburg, PA [email protected]://www.ansys.com(T) 724-746-3304(F) 724-514-9494

  Release 2020 R1  January 2020

ANSYS, Inc. andANSYS Europe,Ltd. are ULregistered ISO9001:2015 com-panies.

Page 2: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

Copyright and Trademark Information

© 1986-2020 ANSYS, Inc. Unauthorized use, distribution or duplication is prohibited.

ANSYS, ANSYSWorkbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand,product, service and feature names, logos and slogans are registered trademarks or trademarks ofANSYS, Inc. or its subsidiaries located in the United States or other countries. ICEMCFD is atrademark used by ANSYS, Inc. under license. All other brand, product, service and feature namesor trademarks are the property of their respective owners. FLEXlm and FLEXnet are trademarks ofFlexera Software LLC.

Disclaimer Notice

THIS ANSYS SOFTWARE PRODUCT AND PROGRAMDOCUMENTATION INCLUDETRADE SECRETS AND ARE CONFIDENTIAL AND PROPRIETARY PRODUCTS OFANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products and doc-umentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software licenseagreement that contains provisions concerning non-disclosure, copying, length and nature of use,compliance with exporting laws, warranties, disclaimers, limitations of liability, and remedies, andother provisions. The software products and documentationmay be used, disclosed, transferred,or copied only in accordance with the terms and conditions of that software license agreement.

ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO9001: 2015 companies.

U.S. Government Rights

For U.S. Government users, except as specifically granted by the ANSYS, Inc. software licenseagreement, the use, duplication, or disclosure by the United StatesGovernment is subject to restric-tions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non-DODlicenses).

Third-Party Software

See the legal information in the product help files for the complete Legal Notice for ANSYS pro-prietary software and third-party software. If you are unable to access the Legal Notice, please con-tact ANSYS, Inc.

2

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 3: Getting Started with HFSS: Matching Network Using Tuning

Conventions Used in this Guide

Please take amoment to review how instructions and other useful information are presented in thisguide.

l Procedures are presented as numbered lists. A single bullet indicates that the procedurehas only one step.

l Bold type is used for the following:o Keyboard entries that should be typed in their entirety exactly as shown. For example,“copy file1” means the word copymust be typed, then a spacemust be typed, andthen file1must be typed.

o On-screen prompts andmessages, names of options and text boxes, andmenu com-mands. Menu commands are often separated by carats. For example, “clickHFSS>Excitations>Assign>Wave Port.”

o Labeled keys on the computer keyboard. For example, “PressEnter” means to pressthe key labeledEnter.

l Italic type is used for the following:o Emphasis.o The titles of publications.o Keyboard entries when a name or a variablemust be typed in place of the words in ital-ics. For example, “copy file name” the word copymust be typed, then a spacemustbe typed, and then name of the file must be typed.

l The plus sign (+) is used between keyboard keys to indicate that you should press the keysat the same time. For example, “Press Shift+F1” means to press the Shift key and the F1key at the same time.

Ribbons, menu bars, and short-cut menus are threemethods that can be used to see whatcommands 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 atypical user interaction is as follows:

"On theDraw ribbon tab, click theBox primitive" means you can click theBox icon on theDraw tab and execute theBox command to draw a box.

l Themenu bar (located above the ribbon) is a group of themain commands of an applicationarranged by category such File, Edit, View, Project, etc. An example of a typical user inter-action is as follows:

"On the Filemenu, click theOpen Examples command"means you can click the Filemenuand then clickOpen Examples to launch the dialog box.

l Another alternative is to use the short-cut menu that appears when you click the right-mousebutton. An example of a typical user interaction is as follows:

3

ANSYSElectromagnetics 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

Page 4: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

“Right-click and selectAssign Excitation> Wave Port” meanswhen you click the right-mouse button with an object face selected, you can execute the excitation commands fromthe 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 toobtain 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 stepswere taken orwhat stages the simulation reached, including software files as applicable. This allowsmore rapidand effective debugging.

Help Menu

To access help from themenu bar, clickHelp and select from themenu:

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 specificmenu command, pressShift+F1, and then click thecommand or toolbar icon.

l To open a help topic about a specific dialog box, open the dialog box, and then pressF1.

4

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 5: Getting Started with HFSS: Matching Network Using Tuning

Table of ContentsTable 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 HFSSModel 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

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

Contents-1

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 6: Getting Started with HFSS: Matching Network Using Tuning

Contents-2

ANSYSElectromagnetics 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

Page 7: Getting Started with HFSS: Matching Network Using Tuning

1 - IntroductionIn thisGetting Started guide, you will learn about dynamic linking capabilities betweenHFSS andCircuit designs in theANSYS Electronics Desktop application. Specifically, the guide provides anexample of amatching 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 simulationl Use the tuning feature in the Circuit design tomatch the antenna using lumped components(you will tune the component values)

l Create an S-parameter plotsl Apply amarker to a plot to assist in component tuningl Push excitations from the Circuit design to the HFSS designl Create gain plots (radiation pattern) and overlay them on themodel geometry

You will begin with a partially completed project file containing amodel of a Johanson evaluationboard, to which you will add a Johanson 2450AT18D0100 Bluetooth chip antenna. There is a com-pleted examplemodel of this evaluation board and antenna included with the ANSYS ElectronicsDesktop installation (in theExamples subfolder). However, you will use an incomplete version ofthismodel as your starting point for this exercise.

The antenna is designed to work at a frequency in the range of 2.4 to 2.48GHz. The followingimages show the evaluation board with the chip antennamounted to it and thematching networkcircuit:

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

Introduction 1-1

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 8: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

Introduction 1-2

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 9: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

2 - Set Up the ProjectIn this chapter, you will perform the following tasks:

l Launch the ANSYS Electronics Desktop applicationl Open the evaluation board project filel Insert the chip antenna from theComponents Librariesl Rename the predefined lumped port excitation

Launch ANSYS Electronics DesktopFor convenience, a shortcut to the ANSYS Electronics Desktop (EDT) application is placed onyour desktop during program installation. Optionally, youmaywant to pin the shortcut to your Win-dowsStart Menu too. Before proceeding to the next topic, launch EDT and add a blank project, asfollows:

1. Double-click the ANSYS Electronics Desktop shortcut on your desktop (or thesame shortcut on your Start Menu).

The ANSYS Electronics Desktop application opens:

Note:

When you launch the application, a new, blank project is created automatically. Forthis exercise, you will not start with a new project. Therefore, you will close it in thenext step.

2. Right-clickProjectx at the top of the Project Manager and chooseClose from the shortcutmenu.

Set Up the Project 2-1

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 10: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

Open Project FileThe project file for this exercise is located in the Help subfolder within the ANSYS ElectronicsDesktop installation path. TheProgramFiles folders have restricted access permissions, andbesides, you shouldn't overwrite the samplemodels. Therefore, you will save the project to a suit-able working folder after opening it.

1. On theDesktop ribbon tab, click Open Examples. Then:a. In theOpen dialog box that appears, click the parent folder icon ( ) once tomove up

one level above theExamples folder.b. Double-click theHelp folder and then theHFSS folder.c. Select the fileChip_Antenna_Board.aedt and clickOpen.

Themodel appears in theModeler window:

Note:

This project is deliberately incomplete. You need to add the chip antenna to com-plete the HFSSmodel. Additionally, youmust insert a circuit design, add a port andlumped components, configure the Circuit design excitation, add a frequencysweep, tune the component values, push excitations fromCircuit to HFSS, andgenerate reports. For this reason, the project file is located in theHelp folderinstead of theExamples folder.

Since you will not be constructing geometry for this exercise, the drawing grid and ruler arehidden in the project file.

2. On theDesktop ribbon tab, click Save As.

Set Up the Project 2-2

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 11: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

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 theCreate New Folder icon ( ) within theSave As dia-log box to create a new working folder in a suitable location.

4. ClickSave to place a copy of themodel in your working folder using the same file name.

Insert Chip AntennaThe chip antenna evaluation board has a coordinate system predefined (AntCS), which has its ori-gin specified at the antenna insertion point. For this particular model, that point corresponds to theglobal origin, and theGlobal andAntCS coordinate systems are identical. However, that is oftennot the case. You will use the predefined AntCS coordinate system to add the antenna to theboard, demonstrating the requiredmethod for cases in which the antenna insertion point does notcorrespond to the global origin.

Note:

The Johanson evaluation boardmodel is protected. You cannot move, copy, delete, orotherwisemodify any of the objects that comprise it. However, you can add objects to themodel.

1. UnderCoordinate Systems in the History Tree, ensure thatAntCS is the working coordin-ate system. (A red "W" appears in the lower right corner of the icon when it is active.) If not,selectAntCS to make it active.

2. If theComponent Librarieswindow is not already visible, use themenu bar to toggle its vis-ibility. (ClickView> Component Libraries.)

3. Expand theHFSS Components> Johanson> Bluetooth_Zigbee_Wifi folder in theCom-ponent Librarieswindow.

Set Up the Project 2-3

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 12: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

4. Right-click 2450AT18D0100 and choosePlace Component from the shortcut menu:

The Insert 3D Component dialog box appears.

5. Ensure that theAntCS is selected from the Target Coordinate System drop-downmenu.6. ClickOK to place the antenna on the board.

The antenna appears at the correct position on the evaluation board:

Set Up the Project 2-4

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 13: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

Note:

Alternatively, you could click and drag the antenna from the library to theModelerwindow, bypassing the Insert CD Component dialog box. You can drop the com-ponent anywhere in theModeler window. It will be automatically positioned at thecorrect insertion point (the origin of the currently active coordinate system) and cor-rectly oriented.

7. Click in theModeler window's background area to clear the selection.

8. Save your project. (This command is available from all ribbon tabs and from the Filemenu.)

Set HPC Analysis OptionsThe high performance computing (HPC) capabilities of ANSYS Electronics Desktop enable you totake advantage of multiple processing cores, which are common on all high-end computer work-stations. Different portions of the analysis can thereby be solved in parallel, shortening the solutiontime.

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 basicsoftware license.

1. On theSimulation ribbon tab, click HPC Options.

TheHPC and Analysis Options dialog box appears.

2. If the configuration named Local does not sayYES in theActive column, select this con-figuration and clickMake Active.

3. With Local still selected, clickEdit.4. In the Analysis Configuration dialog box that appears, specify the following settings:

a. SelectUse Automatic Settingsb. In theCores column for localhost, specify 4.

Set Up the Project 2-5

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 14: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

5. ClickOK twice to close theAnalysis Configuration andHPC and Analysis Options dialogboxes.

6. Save your project.

Set Up the Project 2-6

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 15: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

3 - Validate and Analyze HFSS DesignAn analysis setup namedBluetooth and a 1 to 4GHz frequency sweep (1_4GHz) are alreadydefined in the HFSS design. If desired, you can double-click either of these two entries under Ana-lysis in the Project Manager to review the settings. ClickCancel in each dialog box to close themwithout modification before proceeding further.

Additionally, an open region, radiation boundary, ground boundary, and four lumped port excit-ations are already defined. Do not modify any of the boundaries or excitations.

Verify that there are nomodel setup errors and run the HFSS simulation, as follows:

1. On theSimulation ribbon tab, click Validate.

TheValidation Checkwindow appears, and it should show nowarnings or errors:

2. On theSimulation ribbon tab, click Analyze All.

Note:

TheValidate andAnalyze All commands are also available from theHFSSmenuand from the shortcut menu that appears when you right-click the HFSS design inthe Project Manager.

3. If theMessageManager andProgresswindows are not displayed, clickShow MessagesandShow Progress, at the right end of the status bar, to see the solutionmessages andprogress.

4. Optionally, click and drag the borders to resize these windows as preferred.

The HFSS solution takes less than 15minutes to solve on a reasonably current computer work-station.

Validate and Analyze HFSSDesign 3-1

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 16: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

4 - Set Up and Analyze Circuit DesignIn this chapter, you will perform the following tasks:

l Insert a Circuit design into the projectl Add the HFSS design to the Circuit designl Add a port to the HFSSmodel's schematic in the Circuit designl Add lumped components to the Circuit designl Connect components in the schematicl Configure the Circuit design excitationl Review the port source properties

Insert Circuit DesignYouwill add thematching network components and perform their tuning in a Circuit design. Addone to the project as follows:

1. When the HFSS analysis has finished solving, Save the project.

2. On theDesktop ribbon tab, choose Circuit from the Circuits & Systemsdrop-downmenu.

TheWorkflow dialog box appears.

3. In the list at the right side of theWorkflow dialog box, ensure thatNone is selected and clickOK.

An emptySchematicwindow appears and aCircuit1 branch is added to the tree in the Pro-ject Manager.

4. In the Project Manager, right-clickCircuit1 and chooseRename.5. TypeMatching_Network and pressEnter.

Add HFSS Model to CircuitIn this procedure, you will copy the HFSS design of the evaluation board and chip antenna into theCircuit design.

1. In the Project Manager, right-clickMatching_Network and chooseAdd Subcircuit> AddHFSS Link from the shortcut menu.

Set Up and Analyze Circuit Design 4-1

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 17: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

TheHFSS Dynamic Link dialog box appears.

2. On the left side of the dialog box, underChip_Antenna_Design> HFSSDesign1, select thefrequency sweep (Bluetooth : 1_4GHz):

3. ClickOK.

A subcircuit model of the HFSS design is inserted into the Circuit designMatching_Networkin the ProgramManager. The number at the end of the HFSS design name has been incre-mented:

The HFSSmodel also appears in theSchematicwindow.

Set Up and Analyze Circuit Design 4-2

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 18: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

4. On theSchematic ribbon tab, click Fit All. Then, click Zoom Out once or twice tomake room in theSchematicwindow for adding some lumped components.

Note:

Zoom in or out and scroll in the Schematic window as needed while completing thecircuit. Themouse buttons and scroll wheel work somewhat differently in theSchematicwindow than they do in the 3D Modeler. Roll themouse wheel to zoomin or out, as in the 3D Modeler. PressShiftwhile rolling the wheel, or use the scrollbar on the right edge of the window, to scroll the schematic vertically. Use the bot-tom scroll bar to scroll horizontally.

Add Port to SchematicAdd an interface port to the schematic. Then, connect it to pin 1:1 of the HFSS evaluation boardmodel you added to the schematic in the last procedure.

1. On theSchematic ribbon tab, click Interface port.2. Place the port symbol on the schematic in the approximate position shown below.When you

click, the insertion point of the symbol will snap to the nearest grid point.

Set Up and Analyze Circuit Design 4-3

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 19: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

3. Right-click and choose Finish to exit the Interface port command (alternatively, pressSpace or Esc).

4. Point to the bottom end of thePort1 pin (but do not click yet).

The cursor changes to an X when near a valid connection point.

5. Click this point.

TheWire command is started automatically, and the start point of the wire snaps to thePort1 pin.

6. In the samemanner, click themouse at the pin labeled 1:1. (A small circle indicates the snap-ping point.)

The completed connection wire shouldmatch the following image:

Set Up and Analyze Circuit Design 4-4

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 20: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

Because the line completes a connection to a pin, the segment is terminated. Otherwise, ifyou clicked at a non-connection point (say to change directions) you can continue to drawline segments until a valid termination point is reached.

Add Components to SchematicNext, you will add two capacitors and one inductor to the schematic. You will also specify the appro-priate parameters and values.

1. Navigate to theComponents tab of theComponent Librarieswindow.2. UnderNexximCircuit Elements, expand theCapacitor branch.

3. Click and drag the component labeledCAP_: Capacitor onto the left side of the schematic.Thenmove the cursor and click again to place a second one on the right side. Locate the twocapacitors at the approximate positions shown below:

Set Up and Analyze Circuit Design 4-5

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 21: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

4. Right-click and choose Finish (or pressSpace 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 dockedPropertieswindow.

6. In theParam Values tab of the dockedPropertieswindow, change the default numericalvalue ofC to the variableShunt1 and pressEnter

7. In theAdd Variable dialog box that appears, do the following:a. SelectCapacitance from theUnit Type drop-downmenub. Select pF from theUnits drop-downmenu.c. Type 1 in theValue text box.d. ClickOK.

8. In theComponent tab of the dockedPropertieswindow, change the InstanceName valuetoC1 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 variableShunt2with the same value (1 pF) and name itC2.

10. UnderNexximCircuit Elements, expand the Inductor branch.

11. Double-click the component labeled IND_: Inductor.12. Right-click at the desired inductor insertion point (as shown below) and choosePlace and

Finish from the shortcut menu.

Set Up and Analyze Circuit Design 4-6

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 22: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

13. Click the inductor you just placed on the schematic to select it.14. In theParam Values tab of the dockedPropertieswindow, change the default numerical

value of L to the variableSeries and pressEnter.15. In theAdd Variable dialog box that appears, do the following:

a. Select Inductance from theUnit Type drop-downmenu.b. Select nH from theUnits drop-downmenu.c. Type 1 in theValue text box.d. ClickOK.

16. In theComponent tab of the dockedPropertieswindow, change the InstanceName valueto L1 if it is not already specified as such.

17. In the Schematic window, click and drag theDesign Properties legend to your preferred loc-ation.

18. Click in the background to clear the current selection.

The schematic should resemble the following image:

Set Up and Analyze Circuit Design 4-7

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 23: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

Connect Components in SchematicNext, you will connect the discrete components just added to the schematic to the appropriatepoints on the evaluation board.

1. Click the right end of capacitorC1 to start a connection line, click two intermediate points,and click pin parallel_1:1 to terminate the connection.

Note:

In a proper schematic, diagonal connection lines are avoided. The intermediatepoints enable amulti-segment connection in which all line segments are ortho-gonal. This connection should resemble the following image when completed:

Set Up and Analyze Circuit Design 4-8

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 24: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

2. In the samemanner, connect the left end ofC2 to pin parallel_2:1 and the left end of L1 topin series:1:

3. Connect the left end ofC1 and the right ends ofC2 and L1 to each other, as shown below:

.

4. On theSchematic ribbon tab, click Ground.5. Click to connect the Ground to any grid point along the connectionmade in step 3.6. PressSpace to exit theGround command.

Set Up and Analyze Circuit Design 4-9

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 25: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

7. Click in the background to clear the selection.

The finished schematic should resemble the image below:

8. Save the project.

Configure Circuit ExcitationIn this procedure, you will add a 1 volt peakmagnitude AC power source to the circuit'sPort1 con-figuration.

1. UnderMatching_Network in the Project Manager, right-clickExcitations and chooseCon-figure Sources from the shortcut menu.

TheConfigure ports and sources dialog box appears. Port1 is already selected because it'sthe only item in the Ports List.

2. With the drop-downmenus in theAddNew Source section of the dialog box set toPowerandSinusoidal (if not already selected); then clickAdd to selected port:

Set Up and Analyze Circuit Design 4-10

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 26: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

TheProperties dialog box appears.

3. For the parameterACMAG, specify a value of 1 V:

Note:

This voltage is the peakmagnitude of the AC signal, not peak-to-peak. The peak-to-peak amplitude = 2 * ACMAG, and the amplitude = ACMAG / √2.

4. ClickOK to close theProperties dialog box.5. ClickOK to close theConfigure ports and sources dialog box.

Add Frequency Sweep and AnalyzeYouwill now set up a frequency sweep in the Circuit design spanning from 1 to 4GHz in 0.005GHzincrements.

Set Up and Analyze Circuit Design 4-11

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 27: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

1. On theSimulation ribbon tab, click LNA. (If LNA is not shown as the default action forany of the simulation type drop-downmenus, select it from the first drop-downmenu.)

After clicking the icon, the default action is to set up aNexxim, Linear Network Analysis(LNA).

The Linear Network Analysis, FrequencyDomain dialog box appears.

2. Immediately below theSweep Variables table, clickAdd.3. In theAdd/Edit Sweep dialog box that appears, specify the following settings:

a. Select the Linear step option.b. Start = 1 GHzc. Stop = 4 GHzd. Step = 0.005 GHz

4. ClickAdd to populate theSweep Values box.

5. ClickOK to close theAdd/Edit Sweep dialog box.6. ClickOK to close the Linear Network Analysis, FrequencyDomain dialog box.

The Circuit design is ready to be analyzed.

7. On theSimulation ribbon tab, click Analyze.

The Circuit simulation only takes a second or two to finish.

Set Up and Analyze Circuit Design 4-12

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 28: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

5 - Tune Matching NetworkIn this chapter, you will tune the component values in thematching network tominimize the signalreflection at 2.44 GHz. The goal is for the circuit and antenna to be resonant at this frequency. Theprocess involves the following steps:

l Create an S-parameter plotl Prepare the S-parameter plot for circuit tuningl Select the variables to be tunedl Tune component values

Create S-Parameter ReportThe first step in tuning the circuit is to create an S-parameter report of the signal reflection at Port1.This plot will be used as the basis of the component tunings to be performed. The signal reflectionwill beminimal at the resonant frequency of the circuit. Varying the capacitance and inductance val-ueswill alter the resonant frequency of the circuit.

1. On theResults ribbon tab, click Standard Report> 2D.2. In theReport dialog box that appears, ensure that all settings are as shown in the following

image:

TuneMatching Network 5-1

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 29: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

3. ClickNew Report and clickClose.

S Parameter Plot 1 appears in a new window:

Prepare Report for TuningIn this procedure, you'll modify the Y scaling of the S-parameter plot and add an X-marker at thedesired resonant frequency of 2.44 GHz.

1. Click on theY axis of S Parameter Plot 1 to select it.

The Y axis becomes bold, and the associated settings appear in the dockedPropertieswin-dow.

2. In theScaling tab of the dockedPropertieswindow, make the following changes:a. Select theSpecify Min option.b. Change theMin value to -50 and pressEnter.

TuneMatching Network 5-2

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 30: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

3. Right-click in theS Parameter Plot 1window and chooseMarker > Add X Marker.

A vertical marker line is added to the plot. The bottom yellow box indicates the frequencyvalue and the top one the corresponding S-parameter value.

4. Click inside the bottom yellow marker box (frequency).

The X marker settings appear in the dockedPropertieswindow.

5. In theX Marker tab of the dockedPropertieswindow, scroll down to the properties undertheSelected heading (if necessary) andmake the following changes:

a. Select the Lock Drag option.b. ChangeXValue to 2.44 GHz.c. Change Line Width to 2 and pressEnter.

TuneMatching Network 5-3

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 31: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

6. Click in the plot background area to clear the selection.

Themodified plot should look like the following image:

TuneMatching Network 5-4

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 32: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

Select Variables for TuningYoumust specify which variables you want to include in the tuning process. You will include allthree of the previously defined variables:Shunt1, Shunt2, andSeries.

1. In the Project Manager, right-clickMatching_Network and chooseDesign Propertiesfrom the shortcut menu.

2. In the Local Variables tab of theProperties dialog box that appears, make the followingchanges:

a. Select the Tuning option.b. Select the check boxes in the Include column for all three variables (Shunt1,

Shunt2, andSeries).c. In theMin column, type 0.1 for all three variables. (TheUnits are pF for both of the

Shuntx capacitors and nH for theSeries inductor.)d. In theMax column, type 5 for all three variables. (TheUnits are the same as for the

Min values.)

3. ClickOK to accept the settings and close theProperties dialog box.

Tune Component ValuesIn this procedure, you will determine theShunt1, Shunt2, andSeries component values thatprovide theminimal S(Port1,Port1) parameter (signal reflection or return loss) at a frequency of2.44 GHz.

1. Bring theS Parameter Plot 1window back to the foreground using one of the followingmethods:

l If the plot window is partially visible, just click anywhere in the window or on its titlebar.

l Using theWindowmenu, selectChip_Antenna_Board - Matching_Network - SParameter Plot 1.

l UnderMatching_Network> Results in the Project Manager, double-clickS Para-meter Plot 1. (Thismethod will reopen the plot window if you previously closed it.)

TuneMatching Network 5-5

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 33: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

2. UnderMatching_Network in the Project Manager, right-clickOptimetrics and choose Tun-ing from the shortcut menu. Alternatively, using themenu bar, clickCircuit> Tune.

3. To provide an unobstructed view of the S Parameter plot, particularly in the area around2.44GHz, reposition the Tune dialog box that appears. (Do this by clicking and dragging itstitle bar.)

4. Clear theBrowse available variations option in the Tune dialog box.5. For each of the three variables in theVariations section, slowly drag the sliding pointers

upward and downward to adjust the valueswithin theMin toMax range. Allow sufficient timefor the plot to update at each component value step. The goal is to minimize the value at thepoint of intersection of the plot trace and the X marker line. This set of adjustments is trickybecause the three components have a complex interaction. You can't alter one variablewithout affecting the optimal setting for the other two variables.

The Tune dialog box and updatedS Parameter Plot 1 should resemble the following twoimageswhen you reach the optimal settings:

TuneMatching Network 5-6

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 34: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

6. Close the Tuning dialog box.

TheApply Tuned Variation dialog box appears.

7. ClickOK to apply the selected variation, which represents the current slider positions.

8. Save the project.

TuneMatching Network 5-7

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 35: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

6 - Push ExcitationsPush the excitation information from the Circuit design to the HFSS design as follows:

1. Bring theSchematicwindow back to the foreground using one of the followingmethods:l If theSchematicwindow is partially visible, just click anywhere in the window or on itstitle bar.

l Using theWindowmenu, selectChip_Antenna_Board - Matching_Network -Schematic.

l Using themenu bar, clickCircuit> Schematic Editor.l In the Project Manager, double-clickMatching_Network.

2. In theSchematicwindow, right-click the HFSS design component (evaluation board) andchoosePush Excitations from the shortcut menu.

ThePush Excitation Information dialog box appears:

3. ClickOK.

Push Excitations 6-1

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 36: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

7 - Verify Excitation Data in HFSSNext, verify that the excitation information has been transferred from the Circuit design to theHFSS design. This information includes the following items:

l Frequency-dependent port excitationmagnitude data (four datasets)l Frequency-dependent port excitation phase data (four datasets)l System power

1. In the Project Manager, double-clickHFSSDesignx (DrivenModal) to make it the activedesign and to bring theModeler window to the foreground.

2. UnderHFSSDesignx (DrivenModal) in the Project Manager, right-clickExcitations andchooseEdit Sources from the shortcut menu.

TheEdit post process sources dialog box appears.

3. In theSpectral Fields tab of the dialog box, ensure that theSpecify System Power option isselected under System power for gain calculations:

The system power value has been updated to reflect the excitation defined in the circuitschematic, as explained below:

Verify Excitation Data in HFSS 7-1

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 37: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

l The specified peak AC magnitude is 1 V with a 50 Ω generator impedance.l The chip antenna board's port impedance is also 50 Ω. Therefore, the voltage dividesin half across the two equal series impedances, resulting in a 0.5 V peakmagnitude atthe HFSS port.

l The system power is V2 / 2Z = 0.52 /100 = 0.0025Wl The peak current (J) is V / Z = 0.5 / 50 = 0.01 Al The system power can also be expressed as VJ / 2 = 0.5 * 0.01 / 2 = 0.0025W

Also, notice that theMagnitude andPhase columns contain references to frequency-depend-ent magnitude and phase datasets. Prior to pushing the excitation information from the Cir-cuit design, this dialog boxwould have shown 1Wmagnitude at 0° phase for the first portand all zeros for themagnitude and phase values of the other three ports.

4. ClickOK.5. Using themenu bar, clickHFSS> Design Datasets.

TheDatasets dialog box appears.

6. Select any of the listed datasets to see a graph of the frequency-dependent magnitude orphase data.

Two of the eight dataset graphs are shown below:

Verify Excitation Data in HFSS 7-2

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 38: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

7. ClickDone.

Verify Excitation Data in HFSS 7-3

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 39: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

8 - Create and Overlay Gain PlotsFinally, create two total gain plots, one for Phi = 0° and one for Phi = 90°. A gain plot is a far fieldsreport showing the antenna's radiation pattern. You could plot both Phi values as two traces on asingle plot. However, after creating the plots, you will overlay the radiation patterns on themodelgeometry to better visualize the radiation patterns in different directions. To qualify for overlaying, aplot cannot contain multiple Phi values. However, you can overlaymultiple individual plots, eachwith single Phi values.

1. On theResults ribbon tab, click Far Fields Report> Mag/Ang Polar.2. In theReport dialog box that appears, specify the following settings:

a. SelectElevation from theGeometry drop-downmenu.b. Ensure that all settings under the Trace tab are as shown below:

Create andOverlay Gain Plots 8-1

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 40: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

3. Under the Families tab, select thePhi value of 0deg:

4. ClickNew Report but keep the dialog box open.

Gain Plot 1 appears in a new window:

Create andOverlay Gain Plots 8-2

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 41: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

5. In the Families tab of theReport dialog box, select thePhi value of 90deg.6. ClickNew Report and clickClose.

Gain Plot 2 appears in a new window.

To differentiate the appearance of the two gain plot curves, you will next change the color ofthe trace inGain Plot 2.

7. Click the trace inGain Plot 2 to select it.8. In the dockedPropertieswindow, change theColor value from red tomedium blue

(column 6, row 1 of theBasic colors; Red: 0, Green: 128, Blue: 255) and clickOK.

Themodified plot should look like the following image:

Create andOverlay Gain Plots 8-3

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 42: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

9. Use theWindowmenu to bring theModelerwindow to the foreground (Chip_Antenna_Board - HFSSDesignx - Modeler).

10. Right-click in theModelerwindow and choosePlot Fields> Radiation Field.11. In the Overlay radiation field dialog box that appears, specify the following settings:

Create andOverlay Gain Plots 8-4

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 43: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

12. ClickClose.13. The open region surrounding themodel was initially hidden in the project file you used to

start the exercise. If, for whatever reason, the open region is now visible, click it (inObjectselectionmode), or select it from the History Tree (Model> Solids> vacuum> Radi-atingSurface). Then, on theDraw ribbon tab, click Hide selected objects in activeview.

Next, rotate themodel viewpoint for the best view of the two overlays, as follows:

14. On theDraw ribbon tab, click Orient> Back.15. Hold down themiddlemouse button and drag themouse slowly toward the left and down-

ward to produce an isometric view looking at themodel from the back corner.

Note:

This viewpoint prevents a significant portion of the red and blue traces from beinghidden by the evaluation board.

The overlaid plots should resemble the following image:

Create andOverlay Gain Plots 8-5

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.

Page 44: Getting Started with HFSS: Matching Network Using Tuning

Getting Started with HFSS: Matching Network – Using Tuning in Circuits

16. Save the project.

You have completed theMatching Network exercise. You can now close the project.

Create andOverlay Gain Plots 8-6

ANSYSElectromagnetics Suite 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential

information of ANSYS, Inc. and its subsidiaries and affiliates.