Changes
{{projectinfo|Tutorial| Optimizing A Microstrip Patch Antenna Design|Picasso L2 L10 Fig title.png|In this project, you will use one of EM.Cube's optimziers to design a patch antenna with a recessed microstrip feed line.|
*Wizard
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.
[[Image:Back_icon.png|30px]] '''[[EM.Picasso | Back to EM.Picasso Manual]]'''
[[Image:Back_icon.png|30px]] '''[[EM.Cube#EM.Picasso_Documentation | Back to EM.Picasso Tutorial Gateway]]'''
[[Image:Download2x.png|30px]] '''[http://www.emagtech.com/downloads/ProjectRepo/EMPicasso_Lesson10.zip Download projects related to this tutorial lesson]'''
== Getting Started ==
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''' [[File: 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. Click the {{key|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 ---- == Running a Frequency Sweep of the Resonant Patch Antenna == Open the simulation run dialog and select '''Frequency Sweep''' from the drop-down list labeled '''Simulation Mode'''.
<table>
<tr>
<td> [[Image:Picasso L2 L10 Fig4.png|thumb|left|480px|Setting frequency sweep as the simulation mode in EM.Picassocube's run Objective dialoginitially being empty.]] </td>
</tr>
</table>
Click the {{key|Settings}} '''Add''' button next to of this drop-down list dialog to open "Add Objective" dialog. At the Frequency Sweep Settings bottom of this dialogyou will see a list of [[EM. The default frequency sweep type is Cube]]'''Uniform''', which you keep intacts available standard output parameters. Enter 2.15GHz and 2.65GHz The contents of this list vary depending on the observables you have already defined for your project. Since the start and stop frequencieswizard created a port definition for this project, respectively, and keep the you will see a number of frequency samples at standard output parameters related to the default value of 11S/Z/Y parameters. A design objective is defined as a logical statement:
<table>
<tr>
<td> [[Image:Picasso L2 Fig8L10 Fig5.png|thumb|left|480px|Plots of Defining a new design objective in the magnitude and phase of the S<sub>11</sub> parameter at the end of an adaptive frequency sweep"Add Objective" dialog.]] </td>
</tr>
</table>
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.
<table>
<tr>
<td> [[Image:Picasso L2 Fig9L10 Fig6.png|thumb|left|480px|Plots of the real and imaginary parts of the Z<sub>11</sub> parameter at EM.cube's Objective dialog showing the end of an adaptive frequency sweepnewly defined design objective.]] </td>
</tr>
</table>
== Running a Parametric Sweep of Setting Up the Feed Recess Depth Optimization Process ==
<table>
<tr>
<td> [[Image:Picasso L2 Fig12L10 Fig7.png|thumb|left|480px|Setting parametric sweep optimization as the simulation mode in EM.Picasso's run dialog.]] </td>
</tr>
</table>
Click the {{key|Settings}} button next to the '''Simulation ModeSettings''' button next to this drop-down list to open the Parametric Sweep Optimization Settings dialog.
<table>
<tr>
<td> [[Image:Picasso L2 Fig13L10 Fig8.png|thumb|left|720px|EM.Picasso's parametric sweep optimization settings dialogbefore designating the optimization variables.]] </td>
</tr>
</table>
<table>
<tr>
<td> [[Image:Picasso L2 Fig14L10 Fig9.png|thumb|left|480px|Setting Defining the bounds and number of samples the optimization variable "recess_dep".]] </td><td> [[Image:Picasso L10 Fig9A.png|thumb|left|480px|Defining the bounds of the sweep optimization variable"recess_wid".]] </td>
</tr>
</table>
<table>
<tr>
<td> [[Image:Picasso L2 Fig17L10 Fig10.png|thumb|left|480px720px|Adjusting to The optimization settings dialog after designating the optimal value of the feed recess depthoptimization variables.]] </td>
</tr>
</table>
<table>
<tr>
<td> [[Image:Picasso L2 Fig19L10 Fig11.png|thumb|left|480px550px|Plots of The variables dialog showing the magnitude and phase optimal values of the S<sub>11</sub> parameter of the patch antenna as a function of the feed recess width (design variables "recess_dep = 14mm) at f = 2.4GHz" and "recess_wid".]] </td>
</tr>
</table>
<table>
<tr>
<td> [[Image:Picasso L2 Fig20L10 Fig12.png|thumb|left|550px640px|The variables dialog showing the optimal values geometry of the design variables "recess_dep" and "recess_wid"optimized patch antenna with the recessed microstrip feed line.]] </td>
</tr>
</table>
S11(dB): 0-20.011933 +0.142894j109976