Difference between revisions of "EM.Picasso Tutorial Lesson 10: Optimizing A Microstrip Patch Antenna Design"

From Emagtech Wiki
Jump to: navigation, search
(Setting Up the Optimization Process)
Line 136: Line 136:
 
</table>
 
</table>
  
Keep the default optimization '''Algorithm''' type as "Powell". Next, you need to define the optimization variables. Similar to the case of a parametric sweep, on the left side of the dialog you will see a list of all the available independent variables already defined in your project. Select and highlight "recess_dep" and click the right arrow {{key|-->}} button in the middle of the dialog to move the selected variable to the '''Optimization Variables''' list on the right. A new dialog titled "Edit Optimization Variable" opens up. Enter 2 and 16 for the minimum and maximum values, respectively. Keep the default tolerance of 0.01. Similarly, move "recess_wid" to the optimization variables table and enter 1 and 8 for its minimum and maximum values, respectively.   
+
Keep the default optimization '''Algorithm Type''', which is "Powell's Method". Next, you need to define the optimization variables. Similar to the case of a parametric sweep, on the left side of the dialog you will see a list of all the available independent variables already defined in your project. Select and highlight "recess_dep" and click the right arrow {{key|-->}} button in the middle of the dialog to move the selected variable to the '''Optimization Variables''' list on the right. A new dialog titled "Edit Optimization Variable" opens up. Enter 2 and 16 for the minimum and maximum values, respectively. Keep the default '''Variable Precision''' value of 0.1. Similarly, move "recess_wid" to the optimization variables table and enter 1 and 8 for its minimum and maximum values, respectively.   
  
 
<table>
 
<table>
Line 145: Line 145:
 
</table>
 
</table>
  
Back in the optimization settings dialog, you will see the specifications of the two optimization variables in the table on the right.  
+
Back in the optimization settings dialog, you will see the specifications of the two optimization variables in the table on the right. Set the value of '''Maximum Error''' equal to 0.1. This is used for the convergence of the objective function or error function. You can see from the figure below that the error function or "goal" has been defined by the mathematical expression:
 +
 
 +
----
 +
 
 +
|20*log10(S11M) - (-20)|   
 +
 
 +
----
  
 
<table>
 
<table>

Revision as of 15:06, 30 September 2016

Tutorial Project: Optimizing A Microstrip Patch Antenna Design
Picasso L2 Fig title.png

Objective: In this project, you will use one of EM.Cube's optimziers to design a patch antenna with a recessed microstrip feed line.

Concepts/Features:

  • Wizard
  • Scattering Wave Port
  • Scattering Parameters
  • Design Variable
  • Design Objective
  • Optimization
  • Error Function

Minimum Version Required: All versions

'Download2x.png Download Link: EMPicasso_Lesson10


What You Will Learn

In this tutorial you will revisit the rectangular patch antenna design with a recessed feed, which you explored earlier in Tutorial Lesson 2. This time, however, you will define a design objective and will use EM.Picasso's optimization utility to optimize the values of designated design variables to achieve your goal.

Getting Started

Open the EM.Cube application and switch to EM.Picasso. Start a new project with the following parameters:

Starting Parameters
Name EMPicasso_Lesson10
Length Units Millimeters
Frequency Units GHz
Center Frequency 2.4GHz
Bandwidth 0.5GHz

Creating the Patch Geometry with a Recessed Feed

Follow a similar procedure as in Tutorial Lesson 2 and use the Microstrip-Fed Patch Wizard to create the parameterized geometry of a patch antenna with a recessed feed.

The patch antenna geometry with the recessed feed in the project workspace.

Open the variables dialog and make the following changes:

Variable Name Original Definition New Definition
patch_len floor(0.5*lambda0_unit*100/sqrt(er))/100 42
recess_dep 0.015*to_meters 15
recess_wid 0.005*to_meters 5
The variables dialog showing the new definitions of some variables.

Defining the Design Objective

In this project, you will fix the side dimensions of the patch ("patch_len"), and will optimize the two feed variables: "recess_dep" and "recess_wid". But first you need to define a design objective for your project. The goal here is to achieve a good impedance match by varying the design variables. A return loss of -20dB typically represents a very good impedance match.

To define a design objective, click on the Objectives Objective icon.png button of the Simulate Toolbar or select the menu item Simulate → Objectives... EM.Cube's Objectives dialog opens up, which is initially empty.

EM.cube's Objective dialog initially being empty.

Click the Add button of this dialog to open "Add Objective" dialog. At the bottom of this dialog you will see a list of EM.Cube's available standard output parameters. The contents of this list varies depending on the observables you have already define for your project. Since the wizard created a port definition for this project, you will see a number of standard output parameters related to the S/Z/Y parameters. A design objective is defined as a logical statement:

expression_1 logical operator expression_2

The first and second expressions can be any mathematical expression involving the standard output parameters, variables, Python functions, etc. The logical operators are "==", "<", "<=", ">", ">=" and "!=" (Not Equal To). If you set the mouse focus at one of the expression boxes and then double-click on the name of one of the output parameters in the list, it will be inserted in that box. Set up the following design objective as shown in the figure below:



20*log10(S11M) == -20


Defining a new design objective in the "Add Objective" dialog.

Close the "Add Objective" dialog to return to the Objectives dialog. You will see your new design objective added to the current objectives list. Close this dialog, too, and return to the project workspace.

EM.cube's Objective dialog showing the newly defined design objective.

Setting Up the Optimization Process

Open the simulation run dialog and select Optimization from the drop-down list labeled Simulation Mode.

Setting optimization as the simulation mode in EM.Picasso's run dialog.

Click the Settings button next to this drop-down list to open the Optimization Settings dialog.

EM.Picasso's optimization settings dialog before designating the optimization variables.

Keep the default optimization Algorithm Type, which is "Powell's Method". Next, you need to define the optimization variables. Similar to the case of a parametric sweep, on the left side of the dialog you will see a list of all the available independent variables already defined in your project. Select and highlight "recess_dep" and click the right arrow --> button in the middle of the dialog to move the selected variable to the Optimization Variables list on the right. A new dialog titled "Edit Optimization Variable" opens up. Enter 2 and 16 for the minimum and maximum values, respectively. Keep the default Variable Precision value of 0.1. Similarly, move "recess_wid" to the optimization variables table and enter 1 and 8 for its minimum and maximum values, respectively.

Defining the bounds of the optimization variable "recess_dep".
Defining the bounds of the optimization variable "recess_wid".

Back in the optimization settings dialog, you will see the specifications of the two optimization variables in the table on the right. Set the value of Maximum Error equal to 0.1. This is used for the convergence of the objective function or error function. You can see from the figure below that the error function or "goal" has been defined by the mathematical expression:


|20*log10(S11M) - (-20)|


The optimization settings dialog after designating the optimization variables.

Close the parametric sweep settings dialog and return to the run dialog. Click the Run key to start the parametric sweep. After the completion of the sweep simulation, open the data manager and plot the data file "S11_Sweep.CPX" in EM.Grid. Note that the return loss is minimized for the value recess_dep = 14mm.

Plots of the magnitude and phase of the S11 parameter of the patch antenna as a function of the feed recess depth at f = 2.4GHz.

Running a Parametric Sweep of the Feed Recess Width

Open the variable dialog and change the value of the variable "recess_dep" to 14mm.

Adjusting to the optimal value of the feed recess depth.

Next, you are going to vary the width of the feed recess to see how far you can improve the return loss (|S11|). Open the simulation run dialog and then the parametric sweep settings dialog. Select and highlight "recess_dep" in the sweep variables table on the right side of the dialog. Click the left arrow <-- button in the middle of the dialog to move the selected sweep variable back to the Independent Variables list on the left. Now, select "recess_wid" from the left table and move it to the right table to make it the active sweep variable. In the "Edit Sweep Variable" dialog, accept the Uniform variable type and enter 1, 8, 1, for the start, stop and step values of the sweep variable, respectively. This will create a list of sweep variable values. Return to the parametric sweep settings dialog as shown in the figure below.

The parametric sweep settings dialog showing "recess_wid" as the active sweep variable.

Run the new parametric sweep and then plot the data file "S11_Sweep.CPX" in EM.Grid. Note that the return loss is minimized for a value of recess_dep between 2mm and 3mm.

Plots of the magnitude and phase of the S11 parameter of the patch antenna as a function of the feed recess width (recess_dep = 14mm) at f = 2.4GHz.

Analyzing the Patch Antenna with the Optimal Recessed Feed

You already set the value of the variable "recess_dep" to 14mm in the previous part. Now open the variables dialog again and change the value of the variable "recess_wid" to 2.5mm.

The variables dialog showing the optimal values of the design variables "recess_dep" and "recess_wid".

After the above changes, your patch antenna structure should look like this:

The geometry of the patch antenna structure with the optimal recessed feed.

Run a quick single-frequency PMOM analysis of the optimal structure. At the end of the simulation, the port characteristics are reported as follows:

S11: 0.011933 +0.142894j

S11(dB): -16.869538

Z11: 49.134305 +14.336804j

Y11: 0.018756 -0.005473j

The return loss has dramatically improved down to -16.87dB. Visualize the current distribution and 3D radiation pattern of the antenna as shown in the figures below. Notice how the standing wave pattern has diminished on the microstrip feed line due to the improved impedance match.

The plot of total electric current (JTOT) distribution of the patch antenna.
The 3D radiation pattern plot of the patch antenna.

Finally, run an adaptive frequency sweep of your patch antenna with the optimal recessed feed over the frequency range [2GHz, 3GHz]. After the completion of the sweep simulation, open the data manager and plot the data files "S11_RationalFit.CPX" and "Z11_RationalFit.CPX" in EM.Grid. The graphs of the S and Z parameters are shown in the figures below. A very good resonance and impedance match is accomplished at 2.4GHz.

Plots of the magnitude and phase of the S11 parameter of the patch antenna with the optimal recessed feed.
Plots of the real and imaginary parts of the Z11 parameter of the patch antenna with the optimal recessed feed.

 

Back icon.png Back to EM.Picasso Tutorial Gateway