Optimetrics enables you to determine the best design variation among a model’s possible varia-
tions. You create the original model, the nominal design, and then define the design parameters that
vary, which can be nearly any design parameter assigned a numeric value in Ansoft Designer. (See
the online help topic for the specific parameter you want to vary.) For example, you can parameter-
ize the model geometry, material properties, or component values. You can then perform the fol-
lowing types of analyses on your nominal Ansoft Designer design:
Parametric Define one or more variable sweep definitions, each specifying a series of
variable values within a range. Optimetrics solves the design at each variation.
You can then compare the results to determine how each design variation
affects the performance of the design. Parametric analyses are often used as
precursors to optimization solutions because they help to determine a
reasonable range of variable values for the optimization analysis.
Optimization Identify the cost function and the optimization goal. Optimetrics changes the
design parameter values to meet that goal. The cost function can be based on
any solution quantity that Ansoft Designer can compute, such as field values,
S-parameters, and eigenmode data.
Sensitivity Optimetrics explores the vicinity of the design point to determine the
sensitivity of the design to small changes in variables.
Tuning Variable values are changed interactively and the performance of the design is
monitored.
Statistical Optimetrics determines the distribution of a design's performance, which is
caused by a statistical distribution of variable values.
Related Topics
Setting up a Parametric Analysis
Optimetrics -1
HFSS Online Help
-2 Optimetrics
HFSS Online Help
1. On the Ansoft Designer menu, point to Optimetrics Analysis, and then click Add Paramet-
ric .
• Alternatively, right-click Optimetrics in the project tree, and then click Add>Parametric
on the shortcut menu.
The Setup Sweep Analysis dialog box appears.
2. Under the Sweep Definitions tab, click Add.
The Add/Edit Sweep dialog box appears.
All of the independent variables associated with the design are listed in the Variable pull-
down list.
3. Click the variable for which you are defining the sweep definition in the Variable pull-down
list.
If you do not define a sweep definition for a variable in the list, the variable’s current value in
the nominal design will be used in the parametric analysis.
4. Specify the variable values to be included in the sweep.
5. Click Add, and then click OK.
Optimetrics -3
HFSS Online Help
You return to the Setup Sweep Analysis dialog box. The variable sweep is listed in the top
half of the window.
View the design variations that will be solved in table format under the Table tab. Viewing the
sweep definition in table format enables you to visualize the design variations that will be solved
and manually adjust sweep points if necessary.
Related Topics
Synchronizing Variable Sweep Definitions
Specifying Variable Values for a Sweep Definition
To specify the variable values to include in a sweep definition:
1. Select one of the following in the Add/Edit Sweep dialog box:
Single Value Specify a single value for the sweep definition.
Linear Step Specify a linear range of values with a constant step size.
Linear Count Specify a linear range of values and the number, or count, of points within
the variable range.
Decade Count
Octave Count
Exponential
Count
2. If you selected Single Value, type the value of the sweep definition in the Value text box.
If you selected another sweep type, do the following:
a. Type the starting value of the variable range in the Start text box.
b. Type the final value of the variable range in the Stop text box.
3. If you selected Linear Step as the sweep type, type the step size in the Step text box.
The step size is the difference between variable values in the sweep definition. The step size
determines the number of design variations between the start and stop values. Ansoft Designer
will solve the model at each step in the specified range, including the start and stop values.
If you selected another sweep type, type the number of points, or variable values, in the sweep
definition in the Count text box. The total number of points includes the start and stop values.
Synchronizing Variable Sweep Definitions
By default, variable sweep definitions are nested. Alternatively, you can synchronize the variable
sweep definitions if they have the same number of sweep points.
For example, if you synchronize a sweep definition that includes values of 1, 2, and 3 inches with a
second sweep definition that includes values of 4, 5, and 6 inches, Ansoft Designer will solve 3
design variations. The first variation is solved at the variable values of 1 and 4; the second variation
is solved at the variable values 2 and 5; and the third variation is solved at the final variable values
3 and 6.
-4 Optimetrics
HFSS Online Help
Warning If you want to modify an original sweep definition using the Add/Edit Sweep
dialog box after you have manually modified its table of design variations, your
manual modifications will become invalid and will be removed.
Note Alternatively, you can select the Override option first, and then type a new variable
value in the Value text box.
Note The calculation you specify must be able to be evaluated into a single, real number.
-6 Optimetrics
HFSS Online Help
Optimetrics -7
HFSS Online Help
-8 Optimetrics
HFSS Online Help
is reached or until the optimizer cannot proceed as a result of other optimization setup constraints,
such as when it searches for a variable value with a step size smaller than the minimum step size.
To set the maximum number of iterations for an optimization analysis:
• Under the Goals tab of the Setup Optimization dialog box, type a value in the Max. No. of
Iterations text box.
Adding a Cost Function
A cost function can include one or more goals for an optimization analysis. Optimetrics
manipulates the model’s design variable values to fulfill the cost function.
Following is the general procedure for adding a cost function with a single goal.
1. Under the Goals tab of the Setup Optimization dialog box, click Add.
A new row is added to the Cost Function table.
2. In the Solution column, click the solution from which the cost function will be extracted.
3. Specify a solution quantity on which to base the cost function goal.
4. In the Calc. Range text box, set the range within which the cost function will be computed.
5. In the Condition text box, click a condition from the pull-down list:
<= less than or equal to
= equal to
>= greater than or equal to
6. In the Goal text box, type the value of the solution quantity that you want to be achieved dur-
ing the optimization analysis. If the solution quantity is a complex calculation, the goal value
must be complex; two goal values must be specified.
7. Optionally, if you have multiple goals and you want to assign higher or lower priority to a
goal, type a different value for the goal’s weight in the Weight text box. The goal with the
greater weight is given more importance. If the goal is a complex value, the weight value must
be complex; two weight values must be specified. The weight value cannot be variable depen-
dent.
The optimization will stop when the solution quantity meets the acceptable cost criterion.
Related Topics
Technical Notes: Setting a Goal Value
Specifying a Solution Quantity for a Cost Function Goal
When setting up a cost function, you must identify the solution quantity on which to base each goal.
Solution quantities are specified by mathematical expressions that are composed of basic
quantities, such as S-parameters, and output variables.
1. Add a row (a goal) to the cost function table:
a. Under the Goals tab of the Setup Optimization dialog box, click Add.
A new row is added to the Cost Function table.
b. In the Solution column, click the solution from which the cost function will be extracted.
2. In the Solution text box, click the solution from which the solution quantity will be extracted.
3. In the Calculation text box, specify the solution quantity in one of the following ways:
• If you know the syntax of the mathematical expression or the output variable’s name, type
it in the Calculation text box.
• If you want to create an output variable that represents the solution quantity, do the fol-
lowing:
a. Click Edit Calculation.
The Output Variables dialog box appears.
b. Add the expression you want to evaluate, and then click Done.
Ansoft Designer entered the most recently created output variable in the Calculation
text box.
c. To specify a different defined output variable, click the Calculation text box. It
becomes a pull-down list that displays all of the defined output variables. Click an
output variable in the pull-down list.
Setting the Calculation Range of a Cost Function Goal
The calculation range is the range within which you want a cost function goal to be calculated. It
can be a single value or a range of values, depending on the solution or solution quantity selected
for the goal.
1. Under the Goals tab in the Setup Optimization dialog box, click Edit Calc. Range.
2. In the Variable pull-down list, click a variable.
If you chose to solve a parametric setup during the optimization analysis, the variables swept
in that parametric setup are available in the Variable pull-down list. If you sweep a variable in
the parametric setup that is also being optimized, that variable will be excluded from the opti-
mization.
Other examples of available variables include frequency, if the solution quantity is an S-
parameter quantity, and phi or theta, if the solution quantity is a radiated field quantity.
3. After you select a variable in the Variable pull-down list, you can select a range of values for
the calculation range as follows:
a. Select Range.
b. In the Start text box, type the starting value of the range.
c. In the Stop text box, type the final value of the range.
4. To select a single value for the calculation range:
a. Select Single Value.
b. In the Value text box, type the value of the variable at which the cost function goal will be
extracted.
5. Click Update, and then click OK.
Ansoft Designer has entered the most recently created output variable in the text box
below the Goal Value heading.
4. Click OK.
The goal value you specified appears in the Goal text box.
Specifying a Variable-Dependent Goal Value
1. Under the Goals tab in the Setup Optimization dialog box, click Edit Goal/Weight.
The Edit Goal/Weight dialog box appears.
2. Under the Goal Value tab, click Variable Dependent in the Type list.
3. Click a variable in the pull-down list to the left of the table.
4. Type the value of that variable in the first column of the table.
5. Type a corresponding goal value for that variable value in the text box below the Goal
Value heading.
6. Click Add to add another row to the reference curve.
7. Repeat steps 4, 5, and 6 until you have specified the reference curve.
8. Click OK.
The goal value is listed as being variable dependent in the Goal text box.
Modifying the Starting Variable Value
A variable’s starting value is the first value that will be solved during the optimization analysis.
Optimetrics automatically sets the starting value of a variable to be the current value set for the
nominal design. You can modify this value for each optimization setup.
Note If you choose to solve a parametric setup before an optimization analysis, a variable’s
starting value will be ignored if a more appropriate starting value is calculated for it
during the parametric analysis.
Note To revert to the default starting value, clear the Override option.
Note The parametric setup must include sweep definitions for the variables you are
optimizing.
Note The solution quantity you specify must be able to be evaluated to a single, real number.
approximately one-half its starting value. (The starting value is the variable’s current value set for
the nominal design.) Optimetrics sets the variable’s maximum value equal to approximately 1 1/2
the starting value. During sensitivity analysis, variable values that lie outside of this range will not
be considered.
What do you want to do?
Override the default minimum and maximum variable values for a single sensitivity setup.
Change the default minimum and maximum variable values for every sensitivity setup.
Overriding the Min. and Max. Variable Values for a Single Sensitivity Setup
1. In the Setup Sensitivity Analysis dialog box, click the Variables tab.
All of the variables that were selected for sensitivity analysis are listed.
2. Type a new value in the Min or Max text box for the value you want to override, and then
press Enter.
The Override option is now selected. This indicates that the value you entered will be used for
this sensitivity analysis; the variable’s current Min or Max value set in the nominal design is
ignored.
• Alternatively, you can select the Override option first, and then type a new value in the
Min or Max text box.
3. Optionally, click a new unit system in one of the Units text boxes.
To revert to the default minimum and maximum values, clear the Override option.
Changing the Min. and Max. Variable Values for Every Sensitivity Setup
1. Make sure that the variable’s minimum and maximum values are not being overridden in any
sensitivity setup.
2. If the variable is a design variable, do the following: On the Ansoft Designer menu, click
Design Properties.
If the variable is a project variable, do the following: On the Project menu, click Project Vari-
ables.
The Properties dialog box appears.
3. Select Sensitivity.
4. Type a new value in the Min or Max text box for the value you want to override, and then
press Enter.
When Optimetrics solves a sensitivity setup, it will not consider variable values that lie outside
of this range.
Note The parametric setup must include sweep definitions for the sensitivity variables.
Note The solution quantity you specify must be able to be evaluated into a single, real number.
extracted from the last adaptive solution, Optimetrics uses the adaptive frequency defined in the
solution setup. If you specified that the solution quantity be extracted from a frequency sweep
solution, Optimetrics will use the starting frequency in the sweep by default.
1. Under the Calculations tab of the Setup Statistical Analysis dialog box, click Edit Calc.
Range.
The Edit Calculation Range dialog box appears.
2. In the Variable pull-down list, click a variable.
If you chose to solve a parametric setup during the statistical analysis, the variables swept in
that parametric setup are available in the Variable pull-down list. If you sweep a variable in
the parametric setup that is also a statistics variable, that variable will be excluded from the sta-
tistics analysis.
Other examples of available variables include frequency, if you selected an S-parameter solu-
tion quantity; and phi or theta, if the solution quantity is a radiated field quantity.
3. Single Value is selected by default. In the Value text box, type the value of the variable at
which the solution quantity will be extracted.
4. Click Update, and then click OK.
Setting the Distribution Criteria
For every statistical setup, Optimetrics automatically sets the distribution criteria to be uniform
within a 10% tolerance of the variable’s starting value. You can modify the distribution type and
criteria for a single statistical setup or for every statistical setup.
What do you want to do?
Override the default distribution criteria for a single statistical setup.
Change the default distribution criteria for every statistical setup.
Overriding the Distribution Criteria for a Single Statistical Setup
To override the default distribution criteria for a single statistical setup:
1. In the Setup Statistical Analysis dialog box, click the Variables tab.
All of the variables that were selected for statistical analysis are listed.
2. Select Uniform or Gaussian in the Distribution column for the variable you want to override.
If you changed the distribution type, the Override option is now selected. This indicates that
the distribution type you selected will be used for this Optimetrics analysis; the current distri-
bution type selected for the variable in the nominal design will be ignored in this statistical
analysis.
• Alternatively, you can select the Override option first, and then select a different distribu-
tion type in the Distribution text box.
3. Optionally, if you want to change the distribution criteria, click in Distribution Criteria col-
umn for the variable you want to override.
The Edit Distribution dialog box appears.
4. If the distribution type is Gaussian, do the following:
12-24 Setting up an Optimetrics Analysis
HFSS Online Help
8. Click OK.
Statistical Cutoffs
The low and high cutoff values multiply the tolerance values. That is, for the variable “cl”, a
uniform distribution from -20% to +30% around 50pf will be used. For the variable “lc”, a
Gaussian distribution that extends three standard deviations below 10nH and four standard
deviations above 10nH will be used.
Outside these values, the Gaussian distribution is truncated, effectively giving a Gaussian
distribution on a pedestal.
Modifying the Starting Variable Value
A variable’s starting value is the first value that will be solved during the statistical analysis.
Optimetrics automatically sets the starting value of a variable to be the current value set for the
nominal design. You can modify this value for each statistical setup.
1. In the Setup Statistical Analysis dialog box, click the Variables tab.
All of the variables that were selected for the statistical analysis are listed.
2. Type a new value in the Starting Value text box for the value you want to override, and then
press Enter.
The Override option is now selected. This indicates that the value you entered will be used for
this statistical analysis; the current value set for the nominal model will be ignored.
• Alternatively, you can select the Override option first, and then type a new variable value
in the Starting Value text box.
3. Optionally, click a new unit system in one of the Units text boxes.
To revert to the default starting value, clear the Override option.
Solving a Parametric Setup During a Statistical Analysis
(Nexxim and Planar EM only)
Solving a parametric setup during a statistical analysis is useful when you want Optimetrics to
solve every design variation in the parametric setup at each statistical analysis iteration.
Tuning a Variable
(Circuit, System, Nexxim and Planar EM only)
1. Before a variable can be tuned, you must specify that you intend for it to be used during a tun-
ing analysis in the Properties dialog box.
2. On the Circuit, System, or Planar EM menu, point to Optimetrics Analysis, and then click
Tune .
The Tune dialog box appears.
3. Clear the Real Time option.
If this option is selected, a simulation begins immediately after you move the slider.
4. In the Sim. Setups column, select the solution setup you want Ansoft Designer to use when it
solves the specified design variation.
Ansoft Designer will solve the analysis using the solution setup you select. If you select more
than one, results are generated for all selected solution setups.
5. In the Nominal text box for the variable you want to tune, type the value of the variable you
want Ansoft Designer to solve, or drag the slider to increase or decrease its value.
Alternatively, if you want Ansoft Designer to solve a range of values, specify a linear range of
values with a constant step size:
a. Select Sweep.
b. In the text box below the Step value, type the starting value in the variable range.
c. Type the step size, or difference between variable values in the sweep definition, in the
Step text box. The step size determines the number of design variations between the start
and stop values. Ansoft Designer will solve the model at each step in the specified range,
including the start and stop values.
d. In the text box just below the variable name, type a stopping value in the variable range.
6. Click Tune.
Related Topics
Technical Notes: Applying a Tuned State to a Design
Technical Notes: Resetting Variable Values after Tuning
Applying a Tuned State to a Design
You can apply the variable values solved during a tuning analysis to the nominal design in one of
the following three ways:
• When closing the Tune dialog box:
1. Click Close to exit the Tune dialog box.
The Apply Tuned Variation dialog box appears.
2. Click the design variation you want to apply, and then click OK.
The variable values from the solved design variation become the current variable values
Note Alternatively, you can select the Override option first, and then clear the Include option
for the variable you want to exclude.
Note Alternatively, you can select the Override option first, and then type a new value in the
Value text box.
射 频 和 天 线 设 计 培 训 课 程 推 荐
易迪拓培训(www.edatop.com)由数名来自于研发第一线的资深工程师发起成立,致力并专注于微
波、射频、天线设计研发人才的培养;我们于 2006 年整合合并微波 EDA 网(www.mweda.com),现
已发展成为国内最大的微波射频和天线设计人才培养基地,成功推出多套微波射频以及天线设计经典
培训课程和 ADS、HFSS 等专业软件使用培训课程,广受客户好评;并先后与人民邮电出版社、电子
工业出版社合作出版了多本专业图书,帮助数万名工程师提升了专业技术能力。客户遍布中兴通讯、
研通高频、埃威航电、国人通信等多家国内知名公司,以及台湾工业技术研究院、永业科技、全一电
子等多家台湾地区企业。
易迪拓培训课程列表:http://www.edatop.com/peixun/rfe/129.html
射频工程师养成培训课程套装
该套装精选了射频专业基础培训课程、射频仿真设计培训课程和射频电
路测量培训课程三个类别共 30 门视频培训课程和 3 本图书教材;旨在
引领学员全面学习一个射频工程师需要熟悉、理解和掌握的专业知识和
研发设计能力。通过套装的学习,能够让学员完全达到和胜任一个合格
的射频工程师的要求…
课程网址:http://www.edatop.com/peixun/rfe/110.html
ADS 学习培训课程套装
课程网址: http://www.edatop.com/peixun/ads/13.html
HFSS 学习培训课程套装
课程网址:http://www.edatop.com/peixun/hfss/11.html
`
专注于微波、射频、天线设计人才的培养
易迪拓培训 网址:http://www.edatop.com
CST 学习培训课程套装
HFSS 天线设计培训课程套装
我们的课程优势:
※ 成立于 2004 年,10 多年丰富的行业经验,
※ 一直致力并专注于微波射频和天线设计工程师的培养,更了解该行业对人才的要求
※ 经验丰富的一线资深工程师讲授,结合实际工程案例,直观、实用、易学
联系我们:
※ 易迪拓培训官网:http://www.edatop.com
※ 微波 EDA 网:http://www.mweda.com
※ 官方淘宝店:http://shop36920890.taobao.com
专注于微波、射频、天线设计人才的培养
易迪拓培训 官方网址:http://www.edatop.com
淘宝网店:http://shop36920890.taobao.com