Module 2: EMPro Basics
EMPro Workshop Version 2.0 1
Workspace Tool Bar
EMPro User Interface
Geometry, Grid, Component, Sensor Tools
Project Tree Toggle Buttons Geometry Tools
Project Tree:
Simulator Toggle Button
•Port/Feed •Sensors •Materials •Waveforms •Boundary •Grid/Mesh •Python Script
WorkSpace Window View Tools (Under View menu as well)
Basic Building Blocks
EMPro Workshop Version 2.0 2
1
Electro-Magnetic Simulation Flow in EMPro (1) Geometry Modeling
Port / Feed
Grid / Meshing
Start CAD Data
Internal Ports
FDTD Grid/Mesh
Port/Feed Setup
CAD File Import
FDTD FEM
Drawing in EMPro Geometry Data
FEM Mesh Setup
Material Editor
Waveguide Ports (only for FEM) EMPro Workshop Version 2.0
3
Electro-Magnetic Simulation Flow in EMPro (2) Sensors
Simulation Setup
Post-Processing Done FDTD
FDTD
Result Window
FEM
FEM
EMPro Workshop Version 2.0 4
2
Project Properties Editor / Application Preferences Project Properties
Application Preferences
• Setup EMPro project specific properties such as display units
• Setup EMPro preferences
EMPro Workshop Version 2.0 5
Viewing/Measure Tools
Zoom to Extents = View All
“3D View”
“2D View” Measure Tool Parts
Field Reader
Component Sensor Output
Visibility On/Off Transparency Setup
Mesh Viewing Control Bounding Box
EMPro Workshop Version 2.0 6
3
Instructor Demo for EMPro UI
EMPro Workshop Version 2.0 7
1. Importing CAD Files
EMPro Workshop Version 2.0 8
4
Importing CAD Files in EMPro
CAD Data
CAD File Import
o
EMPro allows to import various industry standard CAD formats
o
A fast way to bring existing design geometries to EMPro simulation space
Supported CAD formats
EMPro Workshop Version 2.0 9
ODB++ Import in EMPro
CAD Data
CAD File Import
o
ODB++ is a printed circuit board manufacturing database
o
EMPro can import ODB++ (from EMPro2010)
Imports odb++ directory
EMPro Workshop Version 2.0 10
5
Lab Example: QFN (Quad Flat No-Lead) Package PCB Vias from QFN to ground
Microstrip Line on ThinFilm Substrate Top View
Board Microstrip Feed
Bottom View
Double Bonding Wires Board
EMPro Workshop Version 2.0 11
Importing CAD Files o
Let’s exercise the EMPro importing capability with QFN package example
Step1: Set the display unit to “millimeters” in “Project Properties Editor”
Step2: Select “File / Import / CAD Files…”
Step3: Point to the directory where the SAT files located and select them all – “~/M2 – EMPro Basics/QFN_Sat_Files”
Step4: Click “OK”
Step5: Set the Interpret units as “millimeters” and turn “Heal” flag on
Step6: Click “OK”
EMPro Workshop Version 2.0 12
6
Geometry Check After Import o
Imported objects are assembled to an assembly part with a name “Multi - file import” and don’t have material assigned to them. They should be renamed for a better readability of object names and assigned to certain materials Warning message:
Hover on the symbol to view the message
Grey Color: No material Assigned
EMPro Workshop Version 2.0 13
Material Definitions and Assignments o
o
Use EMPro “Materials/Select from Default Library” or “Materials/New Material Definition” menu to copy or define material definitions Select from the library if available but you can create your own if necessary Default Library
Select and click “Add” button to add
EMPro Workshop Version 2.0 14
7
Creating Your Own Definition Library o
o
Users can customize their own library for materials, geometries, etc… for repeated use of them “Workspace Library Tool” allows users to add or access customized libraries
EMPro Workshop Version 2.0 15
Using Custom Workspace Library o
Directory from EMPro Workshop Labs
Add “EMPro_Workshop_Library” from “Libraries” dialog
Add/Open/Remove Libraries
Library Filter
Drag and Drop to add material definition
EMPro Workshop Version 2.0 16
8
Required Material Definitions and Assignment for QFN Package Lab Exercise o
o
Materials
Assignment: Just drag and drop the material to the designated part
Drag and Drop will assign and change the color of objects
In this exercise, the imported objects are renamed and reassembled shown to the right
EMPro Workshop Version 2.0 17
2. Geometry Modeling and Manipulation in EMPro
EMPro Workshop Version 2.0 18
9
Coordinate Systems in EMPro Global coordinate (X, Y, and Z)
o
X, Y, and Z based on the Global Triad
Does not change and remains the same
Reference coordinate (U, V, and W)
o
Global Triad
Refers to the orientation and location of objects within their native assembly 3D object
Local coordinate (U’, V’, and W ’)
o
It is a working coordinate system and initially the same as the Reference Coordinate System.
It is initiated when an editing session begins
The orientation is the Orientation Triad . Orientation Triad
EMPro Workshop Version 2.0 19
A bit Confusing? Let’s take an example of moving a cube If you want to reference to the global, then set the context to global
o
If you want to reference to the reference coordinate, then set the context to reference
o
W’
W Z
Translated Z Within an assembly
V’
V Y
X
Global Coordinate System
X
U
Y Reference Coordinate System
U’ Local or Working Coordinate System
EMPro Workshop Version 2.0 20
10
Example
Context of Local Coordinate System from Global Coordinate System View Origin of Local Coordinate System from Global Coordinate referenced
EMPro Workshop Version 2.0 21
Setting up the Coordinate System o
Use specify orientation menu or tab from either the geometry modeling menu or object created
EMPro Workshop Version 2.0 22
11
EMPro Geometry Modeling and Manipulation o
o
o
Users can also enter geometries by using EMPro drawing capabilities Users can also modify existing geometries which include imported objects, for example, move, copy, rotate, and Boolean operations Menus are: “Create, Modify, Boolean, Patterns”
EMPro Workshop Version 2.0 23
Easy-of-Use Primitives Building Blocks o
o
Some of common structures are configured as the primitives building blocks These blocks are placed at the center location (0,0,0) of drawing window
“Box”
“Pyramid” “Sphere”
“Cylinder”
“Torus”
“Helix”
“Cone”
EMPro Workshop Version 2.0 24
12
Standard Box Solid Modeling o
“Create../Extrude” command Makes 3D object from 2D object
Step1: Select “Create.../Extrude”
Step2: Set the orientation of the drawing plane. The default is XY plane
Step3: Draw 2D objects such as circle, rectangle, or polygons
Step4: Extrude it to make a 3D object
Step5: Name the object
“Step2”
“Step3” “Step4”
“Step5”
EMPro Workshop Version 2.0 25
Lab Exercise: Create a 10x10x10 [mm] cube or box Lab_10x10x10_Cube.ep o
Let’s create a 10x10x10 [mm] box on XY-plane
Step1: Select “Create.../Extrude”
Step2: Name it “mybox”
Step3: Select the rectangle from the shape tool
Step4: Select (0,0) for the lower left corner of the box or use “Tab” to active the coordinate entry dialog
“Step2”
EMPro Workshop Version 2.0 26
13
Lab Exercise : Create a 10x10x10 [mm] cube or box Continue…
Step5: Select (10,10) coordinate or use “Tab” button to bring the “Specify Position” dialog up
While the mouse is moving over the drawing plane, the dX and dY (or U and V) value will be displayed
When the dialog is used, enter 10 mm for the width and 10 mm for the height. Please remember that the space between the number and unit is required
Step6: Click OK button
EMPro Workshop Version 2.0 27
Lab Exercise : Create a 10x10x10 [mm] cube or box Continue…
Step7: Select the “Extrude” tab
There are two ways to make it a 3D object. One is to type the extrude distance and the other is to grab and move the arrow in the geometry space to change the distance.
Step8: Enter 10 mm in the Extrude Distance.
Step9: Click Done
The green check mark means that there is no problem with this object creation. EMPro Workshop Version 2.0
28
14
Simple, Isn’t It? o
Lab_10x10x10_Cube_With_3D_Library.ep
Then, let’s try another way which is using the primitives building blocks
Step1: Select the “Box”
Step2: Enter “Depth”, “Height”, and “Width”, all 10 mm
Step3: Click “Insert” button
Done! Now you have just created another 10x10x10 [mm] cube
The difference of this 3D box is that the center of object is located at (0,0,0) whereas the other is user definable, which was located at (5,5,0). However the box can be easily moved to another location by translating it
“Box”
EMPro Workshop Version 2.0 29
Advanced 3D Modeling Tools
“Extrude/ Advanced Option”
“Create/Revolve Revolve
Twist
Draft By Angle
Hole w/wo Draft
Draft By Law
Hole Special
EMPro Workshop Version 2.0 30
15
Making Waveguides Using Advanced Modeling Lab_WR229_Waveguides.ep Tools o
WR229 (3.3~4.9G) : a=2.29 [in] b=1.145 [in], thickness = 0.064 [in] length = 10 [in]
Step1: Set the project display unit to “Inch”
Step2: Use “Extrude” to draw two 2D rectangular boxes that represent the waveguide (Use Tab)
Step3: Enter 10 in for the extrude distance and make sure “Hole Draft Type: Against Periphery”, then click “Done”
EMPro Workshop Version 2.0 31
Advanced Topic: Parameters o
EMPro allows any arbitrary parameters for modeling and others
Name : Name of the parameter, Ex) width, length, height
Formula : Formula, Ex) sqrt(2)
Value : Value from the formula Ex) 1.414… from the above example
Description : Comments
“Add new parameters”
“Delete parameters”
EMPro Workshop Version 2.0 32
16
Lab Exercise: Using Parameters Lab_Parameterized_Solid_Modeling.ep o
Create a box with p_x, p_y, and p_z parameters that are all 10 mm
Step1: Open the parameter window
Step2: Define p_x, p_y, and p_z as shown below
Step3: Create a box but type the parameter instead a constant value
Step4: Done!
EMPro Workshop Version 2.0 33
Instructor Demo for Geometry Modeling
EMPro Workshop Version 2.0 34
17
3. Modify Existing 2D/3D Objects
EMPro Workshop Version 2.0 35
Resizing Existing 3D Objects o
o
Lab_10x10x10_Cube.ep
EMPro remembers modeling operations applied to the object so that user can go back to the operation and change it any time Example: Resize the height to 20 mm
Step1: Open Lab_10x10x10_Cube.ep project
Step2: Expand the Parts menu and double click Extrude
Step3: Go to the Extrude tab and change the Extrude Distance to 20 mm
Step4: Click Done
EMPro Workshop Version 2.0 36
18
Editing Existing Extruded 2D Object Lab_Edit_Objects.ep o
o
o
Double click of Extrude brings 2D drawing space back Click “Select/Manipulate” Button Hover the mouse over the edges or corners of rectangle, and click right mouse button to bring up the edit/delete menu User can delete the edges or select vertices to edit or lock the positions
EMPro Workshop Version 2.0 37
Moving (Translate)/Rotating Objects Lab_Translate_Objects.ep o
o
o
Use “Specify Orientation” menu or tab from either the geometry modeling menu or object created
Moving objects is Translating objects in EMPro Translation/Rotation work in the local coordinate system but it can be changed to other coordinate system in the Context menu “Move”
EMPro Workshop Version 2.0 38
19
Copying/Deleting 2D/3D Objects o
o
o
o
o
Copying objects is easy in EMPro, same process as in Windows Select object and use “Edit/Copy” Then use “Edit/Paste” under the Parts menu Since the copy commend copies it onto the same position as the one being copied, you may need to translate it to other position Delete follows the same or simple user can use Delete key
EMPro Workshop Version 2.0 39
Boolean Operations Lab_Boolean_Operations.ep o
Boolean operation in EMPro applies to two or multiple parts
o
Invoke “Boolean…/Two Parts”
o
o
Select blank object (the object that Boolean operation will be applied) and tool object (the object that Boolean operation will perform) from the Boolean operation tabs Select type of operation: Subtract, Union, Intersect and Chop
Blank Object
Subtract
Union
Tool Object
EMPro Workshop Version 2.0 40
20
Creating Patterns (Multiple Copies) Lab_Create_Patterns.ep o
o
Users can invoke the pattern menu either from the part itself or from the geometry menu “Patterns…” Linear/Rectangular or Circular/Elliptical patterns
Linear Pattern
Elliptical Pattern
EMPro Workshop Version 2.0 41
Advanced Modify Tools
Chamfer Edges
Blend Edges
Shell
Loft Faces
Offset Faces
EMPro Workshop Version 2.0 42
21
Instructor Demo for Modify Existing Objects
EMPro Workshop Version 2.0 43
Quiz: o
A Mug.ep
Coffee Break, so can we create a coffee mug?
EMPro Workshop Version 2.0 44
22
4. Export/Import ADS Projects to EMPro
EMPro Workshop Version 2.0 45
ADS to EMPro Exporter o
EMPro provides ADS to EMPro one-click exporter as an ADS design kit, which can be found from EMPro installation directory ”EMPro
Installation Directory\data\ADS_Integration\ads_empro_export_dk.zip"
o
The design kit will add a new menu selections under ADS Layout, ”FEM/Export to EMPro”
Opens EMPro and creates the EMPro design including material and ports setup Create a self-contained Python script that includes design, material, and ports setup
EMPro Workshop Version 2.0 46
23
Installation/Configuration of ADS to EMPro Exporter o
Install the design kit and edit “hpeesof.cfg” under ADS users directory to add a configuration variable ADS_EMPROHOME shown in the sample below ADS_EMPROHOME
= ~EMPro Installation Directory\bin\Win32.NET2005
o
This configuration variable allows users to start EMPro from ADS layout with the menu pick “Launch EMPro and import this design”
EMPro Workshop Version 2.0 47
Lab Exercise: Export ADS Design to EMPro Lab_QFN_ADS_prj o
Export ADS layout design “QFN”
Step1: Open ADS project, “Lab_QFN_ADS_prj”
Step2: Open ADS layout, “QFN.dsn”
Step3: Invoke “Launch EMPro and import this design” from FEM menu
Step4: Save the design and done!
EMPro Workshop Version 2.0 48
24
Exporting ADS Layout to a SAT File o
o
ADS layout can be exported to 2D drawing files such as DXF, etc. In this case, only metal structures (2D view) will be exported However the complete 3D geometries can be also exported to SAT files to be imported into EMPro through ADS 3DEM pre-viewer (only from ADS2009 Update1)
Define “EMPRO_SAT_MENU” environment variable and set it to “1” or “YES” in WINDOWS or Linux
Restart ADS and launch 3DEM Previewer
Under File menu, “Write SAT Files” menu is added
Create a folder and save the files
EMPro Workshop Version 2.0 49
Importing SAT Files from ADS to EMPro o
Importing the SAT files from ADS takes the same procedures described in the previous session
EMPro Workshop Version 2.0 50
25
Using Python Script Generator (1) o
o
o
From ADS2009 Update1, users can generate Python scripts for the design that can be used with EMPro However this is an unsupported feature with limitations such as no support for bondwires Required to setup Environment Variables
Define “MOM_MESHER_GENERATION” environment variable and set it to “2” in WINDOWS or Linux
Define “MOM_WRITE_PROJ_PY” environment variable and set it to “TRUE” in WINDOWS or Linux
Restart ADS
Enable “FEM/Pre- Processing/Enable”
EMPro Workshop Version 2.0 51
Using Python Script Generator (2) Run
“FEM/Pre-Processing/Precompute to New Design” to generate a python script for the design
Click
“Yes” when a question dialog is prompted
Save
to a new design name
o
o
Locate “proj.py” file under “~/mon_dsn/project_name/emprep/” Bring this python script into EMPro scripting window and run to generate the geometry drawing
EMPro Workshop Version 2.0 52
26