An unmatched GPS Bluetooth antenna is created and simulated to determine how the antenna's length affects its performance.
This tutorial begins by adding the necessary materials and parameters and using them to create device geometry, including an unmatched feed that connects the printed circuit board (PCB) to the antenna using a ground connection and tab. The antenna radiator is parameterized in order to evaluate each antenna length from 20 to 30 mm in 1.25 mm increments, and is connected to a voltage source with 50 ohm resistor and automatic waveform to match the project's frequency range of interest from 1 to 3 GHz.
The grid is then defined with smaller cell sizes for increased accuracy, and port, surface current, and far zone sensors collect data during simulation. S-parameter, VSWR, and far zone results are analyzed to see the impact of the parameterized antenna length.
This tutorial utilizes the following skills:
- Importing copper from XF's materials library and using it to define the device's electromagnetic properties.
- Adding an FR4 nondispersive electric material and assigning it to the substrate.
- Creating a ground plane from an extrude by using the trim edges and fillet vertex tools.
- Creating a substrate by thickening a sheet body from faces and assigning an FR4 material.
- Defining both a cylinder and sheet body to connect the ground plane to the excitation.
- Adding antenna length and antenna width parameters to define the antenna, and then modifying it with cutouts.
- Adding a contact by performing a boolean union operation to combine a cylinder and frustum and then blending their joined edge.
- Connecting the antenna and contact using a tab created from an extrude, modified with two bends, and positioned relative to the PCB.
- Adding a voltage source with 50 ohm resistor and automatic waveform between two pads.
- Discretizing CAD geometry into cell edges to create a smaller grid for increased accuracy.
- Using surface current and far zone sensors to save surface current density, and 2-D and 3-D radiation patterns during simulation.
- Running a simulation that performs a parameter sweep of the antenna length from 20 to 30 mm in 1.25 mm increments.
- Viewing the simulation's port, surface current, and far zone results in the GPS and Bluetooth bands.
Step 1: Set the Project Properties
Setting the frequency range of interest is the first step in the workflow because XFdtd uses this information when constructing the grid, creating a waveform, and setting the bounds of output plots. This simulation focuses on the antenna's performance from 1 GHz to 3 GHz.
- In the upper-left corner of XF, click Edit, then select Project Properties to open the editor.
- Under the Frequency Range of Interest tab, enter 1 GHz as the Minimum.
- Enter 3 GHz as the Maximum.
- Click Done to close the editor.
Step 2: Add the Materials
A material must be associated with each part in order to define its electromagnetic properties, so the necessary materials are first defined and then assigned to each part. The copper material is added to the project from the library, and the FR4 material is created in XF. The project tree's materials node allows users to define a set of electromagnetic properties once and use it in multiple places.
First, add the copper material.
- Click on the Libraries button on the right side of XF to open the Libraries window.
- In the Libraries section on the left side of the window, select Materials- Pure Metals.
- In the Filters section, select Materials.
- In the lower portion of the window, click on Copper (Pure) [ND] and drag it to the Materials node of the Project Tree.
- Close the Libraries window.
- Double-click on Copper (Pure) [ND] in the Project Tree to open the Material Editor.
Next, add a parameter to make the copper material valid.
- Click the Parameters button on the right side of XF.
- Click the button in the upper-left corner of the Parameters window.
- Enter the Name by typing materialFrequency into the highlighted field.
- Press Tab and type 1.575 GHz into the Formula field.
- Click Apply to populate the Value field and apply the Parameter to the project.
- Close the Parameters window.
- Click Done to close the Material Editor.
Then, create the FR4 material.
- Right-click on the Materials node in the Project Tree and select New Material Definition.
- Name the material by typing FR4 into the highlighted field.
- Press Enter to save the name to the project.
- In the Project Tree, double-click on FR4 to open the Material Editor.
- Under the Electric tab, change the Entry Method by selecting Loss Tangent from the drop-down menu.
- Enter 3.4 as the Relative Permittivity.
- Enter 0.014 as the Loss Tangent.
- Enter materialFrequency as the Evaluation Frequency.
- If desired, navigate to the Appearance tab and change the FR4 material’s display color.
- Click Done to close the Material Editor.
Step 3: Create the PCB Geometry
This tutorial focuses on antenna analysis, and requires a simplified PCB containing only a ground plane and substrate made of copper and FR4, respectively.
First, create a ground plane.
- In the Project Tree, right-click on the Parts branch and select Create New ❯ Extrude to open the editor.
- Under the Edit Cross Section tab, use the drop-down arrow to choose the Rectangle tool in the toolbar.
- In the Geometry window, click on (0, 0, 0) to select the first corner.
- Click on (60 mm, 120 mm, 0 mm) to select the second corner and close the rectangle
Create a cutout in the ground plane.
- Click again on (60 mm, 120 mm, 0 mm) to select the first corner of the smaller rectangle.
- Drag the mouse left 3 mm and down 20 mm, then click to select the second point and close the rectangle.
- Click on the Trim Edges tool on the left side of the toolbar.
- In the Geometry window, click on one of the overlapping lines to remove it.
- Click again to remove the second line.
- Click on the other pair of overlapping lines to remove one of them.
- Click again to remove the second line.
Round the corners of the ground plane.
- Click the Fillet Vertex tool.
- In the Geometry window, click on the vertex located at (0 mm, 120 mm, 0 mm) and drag it inward 1 mm.
- Click again to apply the rounded edge.
- Click on the vertex located at (0 mm, 0 mm, 0 mm) and drag it inward 1 mm.
- Click again to apply the rounded edge.
- Click on the vertex located at (60 mm, 0 mm, 0 mm) and drag it inward 1 mm.
- Click again to apply the rounded edge.
- Click on the vertex located at (60 mm, 100 mm, 0 mm) and drag it inward 1 mm.
- Click again to apply the rounded edge.
- Click on the vertex located at (57 mm, 100 mm, 0 mm) and drag it outward 1 mm.
- Click again to apply the rounded edge.
- Click on the vertex located at (57 mm, 120 mm, 0 mm) and drag it inward 8 mm.
- Click again to apply the rounded edge.
- Name the extrude by typing Ground Plane into the Name field.
Give the ground plane thickness.
- Under the Extrude tab, enter 0.1 mm as the Extrude Distance.
- Enter -1 as the W′ value.
- Click Done to add the Ground Plane to the project.
Then, assign the copper material to the ground plane.
- Click on Copper (Pure) [ND] in the Definitions branch of the Project Tree and drag it to the Ground Plane in the Parts branch.
Then, create a substrate.
- In the Project Tree, right-click on the Parts branch and select Create New ❯ Sheet Body from Faces to open the editor.
- Select the face in the XY plane by clicking in the Geometry window.
- Name the part by typing Substrate into the Name field.
- Click Done to add the Substrate to the project.
Give the substrate thickness.
- In the Project Tree, right-click on Substrate and select Modify ❯ Thicken Sheet to open the editor.
- Type 0.7 mm into the Distance field.
- Uncheck the Thicken Both Sides option.
- Click Done to apply the modifications to the project.
Finally, assign the FR4 material to the substrate.
- Click on FR4 in the Definitions branch of the Project Tree and drag it to the Substrate in the Parts branch.
Step 4: Add the Ground Connection Assembly
An assembly organizes a project's geometry by grouping parts together in the project tree, and users can assign a material to either the entire assembly or the individual parts within it. For this project, a ground connection assembly is created and the via and pad are defined within it. The assembly is then moved into the correct position relative to the PCB.
First, create an assembly and add the via.
- In the Parts branch of the Project Tree, press Ctrl while clicking on Ground Plane and Substrate to select both parts, then right-click and choose Set Invisible.
- Right-click on Parts and select Create New ❯ Assembly.
- Enter the name by typing Ground Connection into the highlighted field.
- Press Enter to apply the name change.
- Right-click on the Ground Connection assembly and select Create New ❯ Cylinder to open the editor.
- Under the Edit Cylinder tab, type 0.7 mm into the Height field.
- Enter 0.15 mm as the Radius.
- Name the cylinder by typing Via into the Name field.
- Click Done to add the Via to the project.
Next, create the pad and add it to the assembly.
- In the Project Tree, right-click on the Ground Connection assembly and select Create New ❯ Sheet Body to open the editor.
- Under the Specify Orientation tab, enter 0.7 mm as the Z value.
- Under the Edit Profile tab, select the Rectangle tool in the toolbar.
- Press Tab to specify the position of the first point.
- Enter -0.25 mm as the U′ value.
- Enter -0.25 mm as the V′ value.
- Click OK.
- Press Tab to specify the position of the second point.
- Enter 0.25 mm as the U′ value.
- Enter 0.25 mm as the V′ value.
- Click OK to close the rectangle.
- Name the Sheet Body by typing Pad into the Name field.
- Click Done to close the editor and add the Pad to the project.
Then, assign a material to the assembly.
- In the Definitions branch of the Project Tree, click on Copper (Pure) [ND] and drag it to the Ground Connection assembly in the Parts branch.
Finally, move the geometry into place.
- In the Project Tree, press Ctrl while clicking Ground Plane and Substrate to select both parts, then right-click and choose Set Visible.
- Right-click on the Ground Connection assembly, then select Modify ❯ Specify Orientation to open the editor.
- Enter 41.3 mm as the X value.
- Enter 118.85 mm as the Y value.
- Enter 0 mm as the Z value.
- Click Done to close the editor and apply the changes to the project.
Step 5: Create the Antenna Radiator
Parameters applied to a project can be used to define geometry. For this tutorial, both a length and a width parameter are added and then used to define the antenna radiator. The antenna is created from an extrude with both a rectangle and circle cutout, modified, and rotated.
First, add parameters to the project.
- In the Parts branch of the Project Tree, press Ctrl while clicking on Ground Plane, Substrate, and Ground Connection to select the three parts, then right-click and choose Set Invisible.
- Click on the Parameters button on the right side of XF.
- Click the button in the upper-left corner of the Parameters window.
- Enter the parameter name by typing antennaLength into the highlighted field.
- Press Tab and type 21.25 mm into the Formula field.
- Click the button to add another parameter.
- Type antennaWidth into the highlighted Name field.
- Press Tab and type 5.16 mm into the Formula field.
- Click Apply to apply the parameters to the project.
- Close the Parameters window.
Next, define the antenna.
- In the Project Tree, right-click on the Parts branch and select Create New ❯ Assembly.
- Name the Assembly by typing Antenna and Contact into the highlighted field.
- Press Enter to apply the name change.
- Right-click on the Antenna and Contact assembly, then select Create New ❯ Extrude to open the editor.
- Under the Edit Cross Section tab, use the drop-down arrow to choose the Rectangle tool in the toolbar.
- Select the first corner by clicking (0 mm, 0 mm, 0 mm) in the Geometry window.
- Select the second corner by clicking on any coordinates to close the rectangle.
- Click on the Select tool in the toolbar.
- In the Geometry window, click on (0 mm, 0 mm, 0 mm) to select the vertex.
- Right-click on the vertex and select Lock Position.
- On the right side of the toolbar, use the drop-down arrow to select the Distance constraint.
- In the Geometry window, click on a long edge of the rectangle.
- Move the cursor outward, then click to place a length indicator away from the selected edge.
- Enter antennaLength into the highlighted field.
- Press Enter to apply the parameter and display the length label.
- Click on the short edge of the rectangle.
- Move the cursor outward, then click to place a width indicator away from the selected edge.
- Enter antennaWidth into the highlighted field.
- Press Enter to apply the parameter and display the width label.
Then, add cutouts.
- Select the Rectangle tool in the toolbar.
- Press Tab to specify the first corner position.
- Enter 3.264 mm as the U′ value.
- Enter 1.384 mm as the V′ value.
- Click OK to close the editor.
- Press Tab to specify the second corner position.
- Enter 9.68 mm as the U′ value.
- Enter 2.584 mm as the V′ value.
- Click OK.
- Select the Circle Center, Radius tool in the toolbar.
- Press Tab to specify the circle center's position.
- Enter 16.55 mm as the U′ value.
- Enter 1.9 mm as the V′ value.
- Click OK.
- Press Tab to specify the radius position.
- Enter 0.6 mm as the Radius value.
- Click OK.
- Name the antenna by typing Antenna into the Name field in the upper-right corner of the editor.
Give the antenna thickness.
- Under the Extrude tab, enter 0.01 mm as the Extrude Distance.
- Click Done to close the editor and add the Antenna to the project.
Blend the antenna's edges.
- In the Project Tree, right-click on Antenna and select Modify ❯ Blend Edges to open the editor.
- Click to select a vertical edge of the cutout rectangle.
- Press Ctrl while clicking on the second vertical edge of the cutout rectangle .
- Press Ctrl while clicking on the third vertical edge of the cutout rectangle.
- Press Ctrl while clicking on the fourth vertical edge of the cutout rectangle.
- In the sidebar, use the button's drop-down arrow to select View from +Z (Top).
- Press Ctrl while clicking on one of the vertical edges on the right side of the large rectangle.
- Press Ctrl while clicking on the other vertical edge on the right side of the large rectangle.
- Under the Specify Radius tab, enter 0.5 mm as the Blend Radius.
- Click Done to save the changes to the project.
- In the Project Tree, right-click on Antenna and select Modify ❯ Blend Edges to open the editor.
- Click to select a vertical edge on the left side of the large rectangle.
- Press Ctrl while clicking on the second vertical edge on the left side of the large rectangle.
- Under the Specify Radius tab, enter 2 mm as the Blend Radius.
- Click Done to save the changes to the project.
Then, bend the antenna.
- In the Project Tree, right-click on Antenna and select Modify ❯ Bend to open the editor.
- Under the Specify Bend tab, enter -1 as the U′ value in the Bend Axis (red) section.
- Enter 0 as the V′ value.
- Enter 0 as the W′ value.
- In the Normal (yellow) section, enter 0 as the U′ value.
- Enter 0 as the V′ value.
- Enter 1 as the W′ value
- In the Origin section, enter 0 mm as the U′ value.
- Enter 3.16 mm as the V′ value.
- Enter 0 mm as the W′ value.
- Enter 2 mm as the Radius value.
- Enter 2 mm as the Width.
- Uncheck the Centered Bend option.
- Check the Localized, View bend region, and Apply bend options.
- Click Done to apply the changes and close the editor.
- In the Project Tree, right-click on Antenna and select Modify ❯ Bend to open the editor.
- Under the Specify Bend tab, enter 0 as the U′ value in the Bend Axis (red) section.
- Enter 1 as the V′ value.
- Enter 0 as the W′ value.
- In the Normal (yellow) section, enter 0 as the U′ value.
- Enter 0 as the V′ value.
- Enter 1 as the W′ value.
- In the Origin section, enter 8.3 mm as the U′ value.
- Enter 2.584 mm as the V′ value.
- Enter 0.01 mm as the W′ value.
- Enter 90 degrees as the Angle.
- Enter 15 mm as the Radius.
- Verify that Centered Bend is unchecked.
- Verify that the Localized, View bend region, and Apply bend options are checked.
- Click Done to save the changes to the project.
Assign a material to the antenna.
- Click on Copper (Pure) [ND] in the Definitions branch of the Project Tree, and drag it to the Antenna in the Parts branch.
Finally, rotate the antenna.
- In the Project Tree, right-click on Antenna and select Modify ❯ Specify Orientation to open the editor.
- Right-click on the U-axis' red arrow in the geometry window and select Rotate Around U′.
- Enter 90 degrees.
- Click Done to save the changes to the project.
Verify that the Antenna is in the correct plane relative to the Substrate by clicking on Substrate in the Project Tree and looking in the Geometry window.
Step 6: Create the Antenna Contact Geometry
Geometry added to the antenna and contact assembly includes a pad created from a sheet body, and a contact that combines a cylinder and frustum. A copper material is assigned to these parts, and the pad attaches them to the substrate.
First, create the large pad.
- In the Parts branch of the Project Tree, right-click on Antenna and select Set Invisible.
- Right-click on the Antenna and Contact assembly and select Create New ❯ Sheet Body to open the editor.
- Under the Edit Profile tab, select the Rectangle tool in the toolbar.
- Press Tab to specify the first point.
- Enter -0.5 mm as the U′ value.
- Enter -0.5 mm as the V′ value.
- Click OK.
- Press Tab to specify the second point.
- Enter 0.5 mm as the U′ value.
- Enter 0.5 mm as the V′ value.
- Click OK to close the rectangle.
- Name the rectangle by typing Large Pad into the Name field.
- Click Done to save the changes to the project.
Then, assign a material to the large pad.
- Click on Copper (Pure) [ND] in the Definitions branch of the Project Tree, and drag it to the Large Pad in the Parts branch.
Next, create the contact.
- In the Project Tree, right-click on the Antenna and Contact assembly and select Create New ❯ Cylinder to open the editor.
- Under the Edit Cylinder tab, enter 0.75 mm as the Height.
- Enter 0.25 mm as the Radius.
- Click Done to save the Cylinder to the project.
Then, create the frustum.
- In the Project Tree, right-click on the Antenna and Contact assembly and select Create New ❯ Frustum to open the editor.
- Under the Specify Orientation tab, enter 0.75 mm as the Z value.
- Under the Edit Frustum tab, enter 0.25 mm as the Height.
- Enter 0.25 mm as the Radius 1 value.
- Enter 0.25 mm as the Radius 2 value.
- Enter 0.125 mm as the Top value.
- Click Done to save the Frustum to the project.
Combine the cylinder and frustum into one part.
- Press Ctrl while clicking to select both the Cylinder and Frustum in the Project Tree, then right-click and select Boolean ❯ Union to open the dialog box.
- Click OK to apply the default settings and combine the two parts.
- In the Project Tree, right-click on the modified Cylinder and select Rename.
- Enter Contact into the highlighted field.
- Press Enter to apply the name change.
Next, smooth the edge.
- Right-click on Contact and select Modify ❯ Blend Edges to open the editor.
- In the Geometry window, click on the edge that separates the cylindrical portion from the narrowed end.
- Under the Specify Radius tab, enter 0.3 mm as the Blend radius.
- Click Done to save the rounded profile to the project.
Finally, assign a material to the contact.
- Click on Copper (Pure) [ND] in the Definitions branch of the Project Tree and drag it to the Contact in the Parts branch.
Step 7: Create the Antenna Tab and Reposition
The antenna tab is created from an extrude, then modified, and assigned the copper material. The tab connects the antenna and contact, and the entire assembly is moved to the correct position relative to the substrate.
First, create the antenna tab.
- In the Project Tree, right-click on the Antenna and Contact assembly and select Create New ❯ Extrude to open the editor.
- Under the Specify Orientation tab, use the Select tool's drop-down arrow to choose Origin.
- Mouse over the face at the narrow end of the Contact, then press c and click.
- Verify that the Origin coordinates round to (0 mm, 0 mm, 1 mm).
- Under the Edit Cross Section tab, select the Rectangle tool in the toolbar.
- Press Tab to specify the first point.
- Enter -0.5 mm as the U′ value.
- Enter -0.5 mm as the V′ value.
- Click OK.
- Press Tab to specify the second point.
- Enter 0.5 mm as the U′ value.
- Enter 2.7 mm as the V′ value.
- Click OK to close the rectangle.
- Select the Fillet Vertex tool in the toolbar.
- Select the first corner by clicking on (-0.5, -0.5, 0) in the Geometry window.
- Press Tab to specify the radius.
- Enter 0.5 mm as the Radius.
- Click OK to apply the bend.
- Select the second corner by clicking on (0.5, -0.5, 0) in the Geometry window.
- Press Tab to specify the radius.
- Enter 0.5 mm as the Radius.
- Click OK to apply the bend.
- Name the part by typing Tab into the Name field.
- Under the Extrude tab, enter 0.01 mm as the Extrude Distance.
- Click Done to save the changes to the project.
Next, bend the tab.
- In the Project Tree, right-click on Tab and select Modify ❯ Bend to open the editor.
- Under the Specify Bend tab, enter -1 as the U′ value in the Bend Axis (red) section.
- Enter 0 as the V′ value.
- Enter 0 as the W′ value.
- In the Normal (yellow) section, enter 0 as the U′ value.
- Enter 0 as the V′ value.
- Enter 1 as the W′ value.
- In the Origin section, enter 0 mm as the U′ value.
- Enter 1.5 mm as the V′ value.
- Enter 0.01 mm as the W′ value.
- Verify that the Centered Bend option is unchecked.
- Verify that the Localized, View bend region, and Apply bend options are checked.
- Enter -32 degrees as the Angle.
- Enter 1 mm as the Radius.
- Click Done to save the changes to the project.
- Right-click on Tab in the Project Tree, then select Modify ❯ Bend to open the editor.
- Under the Specify Bend tab, enter 0.5 mm as the V′ value in the Origin section.
- Enter 32 degrees as the Angle.
- Click Done to save the changes to the project.
Then, assign a material to the tab.
- Click on Copper (Pure) [ND] in the Definitions branch of the Project Tree, and drag it to the Tab in the Parts branch.
Attach the antenna to the contact.
- In the Project Tree, right-click on Antenna and select Set Visible.
- Right-click on Antenna and select Modify ❯ Specify Orientation to open the editor.
- Uncheck the Construction Grid option in the middle of the editor.
- Use the Alignment Tools drop-down arrow to select Match Points.
- In the Geometry window, select the first point by clicking on the Antenna vertex positioned along the top of the antenna's blended edge (located at approximately 2.0 mm, 4.8 mm, 0.9 mm).
- Select the second point by clicking on the closest edge of the tab's left vertex (located at approximately -0.5 mm, 2.5 mm, 0.5 mm).
- Click Done to save the changes to the project.
Finally, move the antenna and contact assembly into position.
- Press Ctrl while clicking in the Project Tree to select the Ground Plane, Substrate, and the Ground Connection assembly, then right-click and select Set Visible.
- Right-click on the Antenna and Contact assembly and select Modify ❯ Specify Orientation to open the editor.
- Enter 42.55 mm as the X value.
- Enter 118.85 mm as the Y value.
- Enter 0.7 mm as the Z value.
- Click Done to save the changes to the project.
Step 8: Add an Unmatched Feed
The feed circuitry serves as the point where the source connects to the antenna. For this tutorial, it will consist of a voltage source in series with a resistor that is added between the two pads.
- In the Project Tree, right-click on Circuit Components and select New Circuit Component with ❯ New Feed Definition to open the editor.
- Click the button next to the first endpoint's y coordinate.
- Press v to select only vertices.
- Click on the vertex along the edge of the Pad to select the first endpoint, located at (41.55 mm, 118.85 mm, 0.7 mm).
- Click on the adjacent vertex along the edge of the Large Pad to select the second endpoint, located at (42.05 mm, 118.85 mm, 0.7 mm).
- Click Done to apply the changes.
- In the Circuit Components branch of the Project Tree, right-click on Component [Port 1] and select Rename.
- Type Unmatched Feed into the highlighted field.
- Press Enter to apply the name change.
Verify that a 50 ohm Voltage Source has been added to the Circuit Component Definitions node of the Project Tree. Double-clicking on the definition will open the editor, where users can change the component's properties. The Waveform setting defaults to Automatic, which can be viewed by double-clicking in the Project Tree.
Step 9: Define the Grid
XF's gridding and meshing controls are used to discretize the CAD geometry into cell edges. This discretized representation is passed to the calculation engine, so it is important to update and define the grid before creating a simulation.
- In the Project Tree, double-click on the Grid node to open the editor.
- Double-click on Mesh to open the controls.
- On the left side of the Mesh controls, check the XY Plane option.
- In the sidebar, use the button's drop-down arrow to select View from +Z (Top).
- In the Mesh controls, click and drag the Z Slice sliding control all the way to the right.
- In the gridding editor, enter 40 as the Min Cells Per Wavelength.
- In the Min Feature Size section, uncheck the Ratio option to the right of the Good Conductors field.
- Enter 0.5 mm as the Good Conductors value.
- In the Cells Across section, enter 5 in the upper field.
- In the sidebar, use the button's drop-down arrow to select View from -X (Left).
- In the Mesh controls, check the YZ Plane option.
- Uncheck the Ratio option to the right of the Poor Conductors field.
- Enter 0.7 mm as the Poor Conductors value.
- Enter 7 in the lower Cells Across field.
- Click Apply to see the changes in the Geometry window.
- Click Done to close the editor.
- In the Project Tree, right-click on Substrate and select Gridding/Meshing ❯ Gridding Properties to open the editor.
- In the Fixed Points section, check the Use Automatic Fixed Points option.
- Click Apply.
- Click Done to close the editor.
- In the sidebar, use the button’s drop-down arrow to select View from +Z (Top).
- In the Project Tree, right-click on Antenna and select Gridding/Meshing ❯ Gridding Properties to open the editor.
- In the Grid Regions section, check the Custom Min Cells Per Wavelength option.
- Enter 250 as the minimum cells per wavelength.
- Click Apply.
- Click Done to close the editor.
- In the Project Tree, double-click on Mesh to close the controls.
- In the upper-left corner of XF, click View and select Parts List (All Parts) to open the editor.
- Press Ctrl to select the Antenna, Contact, and Tab, then right-click to choose Gridding/Meshing ❯ Enable XACT Mesh.
- Right-click on Substrate and select Gridding/Meshing ❯ Enable dielectric volume averaging.
- Close the Parts List - Parts window.
Step 10: Request Results
The last step before running a simulation is requesting results, which is done through sensors. This project utilizes two sensors: surface current and far zone. The surface current sensor records the surface current density on conductive parts at each steady-state frequency. The far zone sensor saves the antenna's far-zone radiation pattern at certain frequencies once the simulation is performed. The desired frequencies will be input when the simulation is launched.
First, create a surface current sensor.
- In the Project Tree, right-click on the Near Field Sensors node and select New Surface Current Sensor to open the editor.
- Under the Properties tab, type Surface Currents into the Name field.
- Use the Sensor Definition drop-down arrow to select Surface Current Sensor Definition.
- Verify that the Enable Surface Current Sensor option is checked.
- Under the Parts tab, check the Enable Part List option.
- Click on the Antenna in the Geometry window.
- Press Ctrl while clicking on the Tab.
- In the Project Tree, press Ctrl while selecting the Ground Plane.
- Under the Bounding Box tab, check the Enable Bounding Box option.
- Enter the first corner's X value by typing 30 mm into the field.
- Press Tab and enter 95 mm as the Y value.
- Press Tab and enter -5 mm as the Z value.
- Enter the second corner's X value by typing 70 mm into the field.
- Press Tab and enter 125 mm as the Y value.
- Press Tab and enter 5 mm as the Z value.
- Click Done to close the editor.
Edit the surface current sensor definition.
- Expand the Sensor Data Definitions node in the Project Tree and double-click on Surface Current Sensor Definition to open the editor.
- Uncheck the Transient Js option.
- Check the Steady State Js option.
- Click Done to save the changes to the project.
Then, create a far zone sensor.
- In the Project Tree, right-click on Far Zone Sensors and select New Far Zone Sensor to open the editor.
- Under the Geometry tab, use the Coordinate System Type drop-down arrow to select Theta, Phi.
- In Theta section, verify that the Start Angle and Stop Angle are set to 0 degrees and 180 degrees, respectively.
- Enter 2 degrees as the Increment value.
- In the Phi section, verify that the Start Angle and Stop Angle are set to 0 degrees and 360 degrees, respectively.
- Enter 2 degrees as the Increment value.
- Under the Properties tab, type Far Zone - 3D into the Name field.
- Verify that the Enable Far Zone Sensor, Use Project Value, and Collect Steady State Data options are checked.
- Click Done to save the changes to the project.
Step 11: Create and Run a Simulation
Once the project is complete, it must be saved in order to create a new simulation and write output files. When creating a simulation, XF provides options for creating a parameter sweep, collecting S-parameters, and specifying the frequencies at which the surface current and far zone patterns will be saved.
First, save the project.
- Save the project by selecting File ❯ Save Project As.
- Enter the Project Name by typing GPS-BT-Unmatched into the field.
- Click Save.
Then, create and run a simulation.
- Click the Simulations button in the upper-right corner of XF to open the Simulations window.
- Use the Create Simulation drop-down menu to select FDTD to open the editor.
- In the Create FDTD Simulation window, enter the simulation Name by typing Unmatched Antenna 20-30 mm into the field.
- Under the Setup Parameter Sweep tab, check the Perform Parameter Sweep option.
- On the left side of the tab, click the button to add a new parameter sequence.
- In the left pane, select antennaLength from the available options.
- On the right side of the tab, use the Sweep Type drop-down menu to select Start, Incr., Count.
- Enter 9 as the Count value.
- Enter 20 mm as the Starting Value.
- Enter 1.25 mm as the Increment.
- Under the Setup S-Parameters tab, verify that the Compute S-Parameters option is checked.
- Verify that the Unmatched Feed is selected in the Active Port(s) pane.
- Under the Frequencies of Interest tab, check the Collect Steady-State Data option.
- Click the button on the right side of the tab.
- Enter 1575.42 MHz as the first frequency.
- Click the button to enter a second frequency.
- Enter 2.402 GHz into the highlighted field.
- Click Create & Queue Simulation.
- Close the Simulations window once the Status changes to Completed.
Step 12: View Port Results
Once the simulation is complete, the results are available to view through the results browser. S-parameter computation was enabled when the simulation was created, so the port sensor saved data to compute S-parameters and VSWR for the unmatched feed. By exporting the results to a Touchstone file, users can view them in a circuit simulator and create a matching network. Net input power and system efficiency is also viewed.
View S-parameter results.
- Click the Results button on the right side of the XF window to open the Results browser.
- Select Unmatched Feed as the Sensor.
- Select Frequency as the Domain.
- Select S-Parameters as the Result Type.
- Click on the first result line in the lower portion of the window, and press Shift while clicking on the last result line to select all S-parameter results from the parameter sweep.
- Right-click on the selected results and select View (default) to open the graph.
Highlight the operating bands.
- Click the Create Region Highlight button on the right side of the toolbar to open the editor.
- Type GPS into the Name field.
- Use the drop-down arrow to select Bound X.
- In the X-Axis section, enter 1563 MHz as the lower value.
- Press Tab and enter 1587 MHz as the upper value.
- Click OK to apply the change.
- Click the Create Region Highlight button on the right side of the toolbar to open the editor.
- Type BT into the Name field.
- Use the drop-down arrow to select Bound X.
- In the X-Axis section, enter 2.402 GHz as the lower value.
- Press Tab and enter 2.480 GHz as the upper value.
- Click OK to apply the change.
View VSWR results.
- Click the Results button on the right side of the XF window to open the Results browser.
- Select VSWR as the Result Type.
- Click on the first result line in the lower portion of the window, and press Shift while clicking on the last result line to select all VSWR results from the parameter sweep.
- Right-click on the selected results and select View (default) to open the graph.
Export to a Touchstone file.
- Click the Results button on the right side of the XF window to open the Results browser.
- Select S-Parameters as the Result Type.
- In the lower portion of the window, right-click on the Run0001 result line to select the 0.02 antennaLength, and choose Export ❯ Export to Touchstone file to open the file directory.
- Choose a location and name the file as desired.
- Click Save to save the file.
Users can load the saved file in a circuit simulator where they can design a matching network.
View system sensor results.
- Click the Results button on the right side of the XF window to open the Results browser.
- Select System as the Sensor.
- Select Discrete Frequencies as the Domain.
- In the lower portion of the window, double-click on any Run0001 result line.
- In the upper-left corner of XF, click Edit, then Project Properties to open the editor.
- Under the Display Units tab, change the Power by selecting milliwatt decibels (dBmW, dBm) from the drop-down menu.
- Click Done to save the changes to the project.
- In the table, change the Net Available Power by clicking in the GPS frequency column on the left and entering 23 dBmW.
- Click in the Bluetooth frequency column on the right and enter 23 dBmW.
Click outside the active Bluetooth frequency field to see the other adjusted values, then close the editor and any open windows.
Step 13: View Surface Currents
Surface current results can be viewed for each swept value in the parameter specified when creating the simulation. Users can display the data in different modes and animate the sequence to watch the fields change.
Orient the geometry to view the antenna.
- Click the Geometry button on the right side of XF to bring the Geometry window to the front of the other editors that are open.
- In the Project Tree, select the Antenna and Contact assembly.
- Click the Zoom to selection button in the right sidebar.
View currents on the ground plane beneath the substrate.
- Click the Results button on the right side of XF to open the Results browser.
- Select Surface Currents as the Sensor.
- In the lower portion of the Results browser, double-click on the result line associated with an antenna length of 21.25 mm.
- In the Project Tree, right-click on Substrate and select Set Invisible.
Display the field data.
- In the controls at the bottom of the Geometry window, change the Display Mode by selecting Vector Field from the drop-down menu.
- Enter 3 as the Size Factor.
- Click Apply to view the change in the Geometry window.
- Change the Display Mode by selecting Flat from the drop-down menu.
- Click Apply to view the change in the Geometry window.
- Change the Frequency by selecting 2.402 GHz from the drop-down menu.
- Click Apply to view the change in the Geometry window.
- Under the Sequence tab, enter 1 degree as the Increment.
Edit the scale bar.
- Right-click on the scale bar at the top of the Geometry window and select Properties to open the Scale Bar Editor.
- In the Limits section, uncheck Automatic Range.
- Enter -42 dB as the Minimum.
- In the Units section, uncheck Automatic.
- In the Colors section, double-click on the blue color in row 4 of the Color column.
- Use the Preset drop-down arrow to select White.
- Click Apply to see the change in the color bar.
- Click Done to close the editor.
Play the sequence.
- Under the Sequence tab, uncheck Compute Bounds.
- Click the Play the given sequence button in the lower-right corner of the Sequence tab controls.
- Click Unload at the top of the tab controls.
Once the surface current results are removed from the window, users can set the Substrate visible through its right-click menu in the Project Tree.
Step 14: View Far Zone Results
Far zone results can be viewed for each swept value in the parameter specified when creating the simulation. Users can display 2-D and 3-D gain patterns and view different polarizations.
View a 3-D gain pattern.
- Click the Results button on the right side of the XF window to open the Results browser.
- Select Far Zone - 3D as the Sensor.
- Select Gain as the Result Type.
- In the lower portion of the browser, double-click the result line associated with an antenna length of 21.25 mm.
- Click Zoom to selection in the right sidebar.
View different polarizations.
- Under the Setup tab of the controls, select Theta from the Viewing drop-down menu.
- Change the Frequency by selecting 2.402 GHz from the drop-down menu.
- Click Apply to update the pattern.
View the power and efficiency.
- Under the Statistics tab, change from Full Pattern to Open Sky using the drop-down arrow.
- Use the Change Output Global Opacity button in the sidebar to change the Output Opacity to 50.
Define a rotated coordinate system.
- Under the Coordinate System tab, right-click on Phi in the Geometry window and select Rotate by, then enter 90 degrees.
- Click Apply.
View the updated radiated power.
- Click on the Statistics tab to view the results for the rotated coordinate system.
Verify that the power and efficiencies reflect the device's performance with the rotated coordinate system.
- Click Unload to close the controls.
View a 2-D polar plot.
- Click the Results button on the right side of the XF window to open the Results browser.
- In the lower portion of the window, click on the first result line and then press Shift while clicking on the last result line to select all available results.
- Right-click on the selected results, then select Create Line Graph to open the editor.
- Change the Graph Type to Polar.
- Change the Independent Axis to Phi using the drop-down arrow.
- Change the Theta index to 45.
- Click View to display the Gain vs. Angle graph.