introduction to ansys hfss

51
ELCT 361 Introduction to ANSYS HFSS Brandon Gore 1 st Edition Sam Wang 2 nd Edition

Upload: arcimag

Post on 26-Nov-2015

618 views

Category:

Documents


46 download

DESCRIPTION

Introduction to ANSYS HFSS by Brandon Gore and Sam Wang from University of South Carolina.

TRANSCRIPT

Page 1: Introduction to ANSYS HFSS

ELCT 361 Introduction to ANSYS HFSS

Brandon Gore 1st Edition

Sam Wang 2nd Edition

Page 2: Introduction to ANSYS HFSS

Special Thanks

Thanks to ANSYS Corporation for

donation of HFSS licenses to University of

South Carolina classrooms

Content from HFSS 14.0 help files: <install>\Ansoft\HFSS14.0\Help\HFSSinto.pdf where

<install> is typically C:\Program Files\

Page 3: Introduction to ANSYS HFSS

Agenda

Introduction and Applications

Microstrip Start to End Tutorial

Extras as backup

Page 4: Introduction to ANSYS HFSS

What is HFSS?

High Frequency Structure Simulator

A full wave electromagnetic field simulator for 3D

volumetric modeling of passive devices

Finite Element Method (FEM)

– Structure is subdivided into finite elements

– One element is a tetrahedra (tet)

– Entire collection of tets called the mesh

– Electromagnetic fields are found within each tet

– Maxwell’s equations are satisfied across element

boundaries

Page 5: Introduction to ANSYS HFSS

What is HFSS? (continued)

Adaptive meshing: automatically tuned

most accurate and efficient mesh possible

Model arbitrary shapes

Visualize in Windows based GUI

– 3D Model

– Field Results

– S-matrix Results

Page 6: Introduction to ANSYS HFSS

What is HFSS? (continued)

Page 7: Introduction to ANSYS HFSS

Possible HFSS Modeling

Package Modeling – BGA, QFP, flip-chip

PCB Board Modeling – ground planes, vias

Silicon/GaAs – spiral inductors, transformers

EMC/EMI – coupling, near/far field radiation

Antennas/Mobile Communications – patches, dipoles, horns, cell phone antennas

Connectors – coax, backplanes, SFP/XFP, vias

Waveguides – filters, resonators, couplers

Filters – cavity filters, microstrip, dielectric

Page 8: Introduction to ANSYS HFSS

Signal Integrity Uses

Typical server board

Page 9: Introduction to ANSYS HFSS

Signal Integrity Uses

PCIe

Device

CAP

CPU

SL

OT

PCIe

Connector

Socket

DIEPackage

CAP

PCIe link between CPU and

connector

2-D

representation

of PCIe link

Page 10: Introduction to ANSYS HFSS

Signal Integrity Uses

PCIe

Device

CAP

CPU

SL

OT

PCIe

Connector

Socket

DIEPackage

CAP

PCIe link between CPU and

connector

Red Dash:

modeled in 3D

simulator

Page 11: Introduction to ANSYS HFSS

HFSS GUI

progress

properties

Project

manager

3D modeler Design tree

messages

Page 12: Introduction to ANSYS HFSS

Microstrip Example

The purpose of this segment is to use a

simple microstrip example as a walk-

through for discussion of basic concepts

and terminology such as

– boundaries and excitations

– model creation (drawing)

– analysis setup

– data reporting

Page 13: Introduction to ANSYS HFSS

5 Step for HFSS

Page 14: Introduction to ANSYS HFSS

Microstrip

Wave

ports

Trace Ground

FR4

Air

Page 15: Introduction to ANSYS HFSS

Microstrip Design

Simple stack up

– trace

– dielectric

– ground

1.3 mil

5 mil

1.3 mil

These can be made

variables to facilitate

optimization or quick

redraw

Page 16: Introduction to ANSYS HFSS

Project Settings

Open HFSS and click insert HFSS design icon from the toolbar

File save as “Project Examples”

Rename design “single microstrip”

From menu HFSS > Solution Type > Driven Terminal – Driven Modal

– Driven Terminal

– Eigen mode

– Transient

Menu: Modeler > Units > mils

Page 17: Introduction to ANSYS HFSS

Draw Ground Plane Place a 200mil x 200mil x 1.3mil ground

Select 3D box from toolbar

Click once on the origin, and twice

more at arbitrary points in space Right Click

(on CreateBox) >

Properties

Can add as variable instead

of static number

Page 18: Introduction to ANSYS HFSS

Ground Plane Properties

Attribute Tab:

Set attributes:

Name: ground

Material: copper

Transparent 0

Page 19: Introduction to ANSYS HFSS

Viewing and Rotating

Mouse + Hot Keys

Rotate

– Hold ALT

Zoom

– Hold ALT+SHIFT

Pan

– Hold SHIFT

Fit to screen (no mouse

click)

– Control + D

Predefined views

– Hold ALT, and double

click one of 9 regions

Page 20: Introduction to ANSYS HFSS

Dielectric

Draw another box on top the ground plane

Set properties – Position 0,0,0

– X size 200 mil

– Y size 200 mil

– Z size 5 mil

Set attributes – Name Sub

– Material fr4_eproxy

– Transparency 0.5

To open attributes and properties again…

Click for properties

Click for attributes

Page 21: Introduction to ANSYS HFSS

Signal Trace

Draw a 3D box at an arbitrary location

Set properties – Position 0, 95, 6.3

– X size 200 or Ground_x

– Y size 10 or Line_y

– Z size 1.3

Set attributes – Name trace_a

– Material copper

– Color orange

– Transparency 01

What if these

were variables? (0,($y/2-$w/2),$vss+$die_h)

Page 22: Introduction to ANSYS HFSS

Draw Ports

Select YZ from the

drawing plane drop down

Draw a 2D rectangle

with the following

Properties

– Position 0, 50, 1.3

– Y size 100

– Z size 50

Attributes

– Name port1

– Transparency 0.9

Create another 2D

rectangle

Properties

– Position 200, 50, 1.3

– Y size 100

– Z size 50

Attributes

– Name port2

– Transparency 0.9

Possible to make a copy

of port1

Page 23: Introduction to ANSYS HFSS

5 Step for HFSS

Page 24: Introduction to ANSYS HFSS

Assign Port 1

Right click on port1 from design tree. Assign excitation, wave port

To create name, next

Select ground as

reference, OK Repeat for port2

Page 25: Introduction to ANSYS HFSS

Air Box

Draw 3D box

Properties – Position 0,0,0

– X size 200

– Y size 200

– Z size 100

Attributes – Name Air BOX

– Material air

– Transparency 1

Page 26: Introduction to ANSYS HFSS

Removing Intersections

Two 3D geometries cannot overlap or intersect within one another

The signal trace is currently intersecting the air box!(In HFSS 14, this is not considered to be intersection)

– But how do you know!? Press Validate Design

Use the design tree to select both the Air BOX and wire

Right click in the design window and select edit > boolean > subtract or press

Page 27: Introduction to ANSYS HFSS

Removing Intersections(Not right

in HFSS14 for this case) Trace is the tool part. It will tool a hole in

AirBOX, the size of wire.

To keep trace as part of the design, be sure to

check “clone tool objects before

subtracting”!(Just learn how to do it but do not

really do it in HFSS14)

Default

material

override also

available

Validate again!

Is the intersection

fixed?

Page 28: Introduction to ANSYS HFSS

Assigning Boundaries

Select Airbox from

the Design Tree

Right Click >

Boundaries > Radiation

Page 29: Introduction to ANSYS HFSS

5 Step for HFSS

Page 30: Introduction to ANSYS HFSS

Analysis Settings

In the project manager,

right click Analysis to Add

Solution Setup

General Tab

– Solution Freq 20 GHz

– Max number of passes 25

– Maximum Delta S 0.01

Everything else is default

20Ghz

Page 31: Introduction to ANSYS HFSS

Analysis Sweep

Right click setup1 to

add Add Sweep

Sweep type

interpolating

Freq Step

– Linear Count

– 50Mhz to 20Ghz

– Step size: 0.01GHz

Page 32: Introduction to ANSYS HFSS

Analysis Sweep

Interpolation Setup

New window in HFSS v14

New setting in HFSS v14

Page 33: Introduction to ANSYS HFSS

5 Step for HFSS

Page 34: Introduction to ANSYS HFSS

Solve

Validate

– This is ok. The wave port boundary will over-

ride the radiation boundary

– No such warnings for this case in HFSS 14

Right click setup1 … Solve

Page 35: Introduction to ANSYS HFSS

Check Convergence

HFSS menu > Results > Solution Data

Convergence Tab

Did solution converge in less than the maximum

number of passes, below my delta S target?

S-Parameters can be

extracted from here. Make sure to select your sweep

Page 36: Introduction to ANSYS HFSS

S-Parameters

Scattering parameter models are one of HFSS’s output capabilities – R,L,G,C, time delay, and impedance can be extracted

from s-parameters

– S-parameters can be used as equivalent circuits in simulation

– Characteristics of s-parameters can be used to gain intuition about circuit behavior for signal integrity problems

For more on s-parameters, refer to Frequency Domain slides from ELCT 762 & 865

Page 37: Introduction to ANSYS HFSS

View S11, S21

Create Report by right clicking

on results in project manager

Report type is Terminal S Parameters on

Rectangular Plot

Click St(wire_T1,wire_T1) and hold Ctrl and then

click St(wire_T2_T1)

Double

click

Page 38: Introduction to ANSYS HFSS

Plot E-Fields

Eye Candy

Select trace

Right click in drawing window. Select plot fields, E, magE.

Press Done, notice you are plotting at at 20GHz

You can animate

Page 39: Introduction to ANSYS HFSS

Extra

Page 40: Introduction to ANSYS HFSS

Frequency Sweeps

Discrete: full solution at every freq.

Fast: adaptive solver to extrapolate solution from center frequency. Good for high Q-devices; but not for devices that pass through a cut-off. Fields can be displayed at any frequency.

Interpolating: solves at discrete points that are fit by interpolating. The field solution is available only at the last solved fequency.

Page 41: Introduction to ANSYS HFSS

Definitions of Excitation Boundaries

Excitation – permits energy to flow into

and out of a structure

Perfect E/H – perfect electrical or

magnetic conductor

Radiation –The wave is absorbed,

essentially modeling the boundary as an

infinitely open space

Page 42: Introduction to ANSYS HFSS

Definitions of Excitation Boundaries

Wave Port – assumed to be a semi-

infinitely long waveguide to the solver.

Each wave port is individually excited and

contains one watt of time-averaged power.

It is used to calculate impedance, complex

propagation constant, and s-parameters

Page 43: Introduction to ANSYS HFSS

Solution Types

HFSS > solution type

Driven Modal – Modal based s-parameters where matrix solutions are

expressed in terms of incident and reflected powers of waveguide modes

Driven Terminal – Terminal based s-parameters of multi-conductor

transmission line ports that are expressed in terms of voltages and currents

Eigenmode – Calculates the Eigen modes – that is the resonant

frequencies and fields of a structure

Page 44: Introduction to ANSYS HFSS

History Tree

Organization by material

Expand design tree to undo an operation

The last operation on an object must be undone first

Select multiple objects that are hard to select in design view, and properties of all selected objects

Page 45: Introduction to ANSYS HFSS

To Clone, Copy, or Paste

You can copy and paste designs in a project – Warning (you will do this): when you copy a design, CLOSE the

drawing window. For example, you think you are editing your new design but you are still using the original!

You can copy and paste in the design tree – Now there are two traces, but they are overlap, occupying the

same space! You must move it!

An alternative to copy: duplicate (clone)

Page 46: Introduction to ANSYS HFSS

Clones

To clone, select object: edit>duplicate

Along Line option allows you to draw a vector on which to duplicate objects

The image created here, by selecting a vector of two points and selecting 3 total number when prompted

The vector drawn…

Page 47: Introduction to ANSYS HFSS

Clones_1

A copy is independent of it’s original

For a clone, what happens to the original, happens to the clone!

Notice the naming convention – John

– John1 (copy of john)

– John_1 (clone of john)

Even though the clone

operation has been

completed, you edit it in the

history tree. For example,

edit the vector and increase

the amount of space

between the original and

clone.

Page 48: Introduction to ANSYS HFSS

Miscellaneous Topics

When drawing any 2D line or 3D box, you

can enter the coordinates manually at the

lower right corner of the screen by hitting

tab

You can control what vertices your mouse

snaps to by opening menu Modeler >

Snap Mode

Page 49: Introduction to ANSYS HFSS

Miscellaneous Topics

Relative Coordinate Systems – One use is to ‘split’ or remove all objects on one side of an axis

If HFSS crashes, a .lock file is created that prevents you from opening the project. You may need to delete this file.

Dembedding under wave port allows you to remove a length transmission line from the model

Design List under HFSS menu is useful for operating on all objects with in the design

Differential S21:

(S(Port2,Port1)-S(Port4,Port1)-S(Port2,Port3)+S(Port4,Port3))/2

Page 50: Introduction to ANSYS HFSS

Visibility

To select a hard-to-reach face of an

object, hold the mouse above the desired

face and press “b” until that face is

selected

Don’t forget the View menu has a handy

render>wireframe option and a visibility

menu to turn objects on and off in the

drawing window

Page 51: Introduction to ANSYS HFSS

Uniting Intersecting Parts

Touching conductors should be united to

simplify design for solver

– Unite trace_top, via1, and trace_top_2

– Repeat for the second trace

The vias are intersecting with all 3

dielectric layers and possibly the air box

– Subtract