Optimization Using CST Tool Box
Optimization Using CST Tool Box
in
CST STUDIO SUITE
Vratislav Sokol, CST
www.cst.com
Agenda
Optimization algorithms in CST STUDIO SUITE
Classic Powell
Interpolated Quasi-Newton
Trust Region Framework
Nelder-Mead Simplex
Genetic Algorithm
Particle Swarm Optimization
General suggestions for optimizer setting
Examples
Waveguide corner
Dual-band matching circuit network
Planar filter tuning
Antenna array side lobes suppression
2
www.cst.com
Solver Selection
Optimizer Choice
Automatically
choose parameter
boundaries
Parameter space
definition
Termination
criterion
Goals are 0D, and can be derived from any 1D or 0D Result Template
A range of the
1D result can be
defined for goal
value calculation
also in DS
local
Initial parameters already
give a good estimate of the
optimum, parameter ranges
are small
global
Initial parameters give a
poor estimate of the
optimum, parameter
ranges are large
Classic Powell
Quasi Newton
Simplex (Nelder-Mead)
Genetic Algorithm
Particle Swarm
Classic Powell
Optimization terminates
if two consecutive goal
values g1 and g2 yield
2( g1 g 2 )
g1 g 2
Accuracy
If a normalized variation of
the parameters becomes
smaller than this value, the
optimization terminates
12
Repeat:
Go to the minimizer (predicted optimum) of
the model inside the trust-region
Verify: Does the error decrease?
If true, and if the model is very good, go
further until quality gets worse, take last
point as new center. Reduce trust region
radius and calculate new model
If just true, keep trust region radius and
calculate new model
If not true, reduce size of trust region.
13
Repeat:
Go to the minimizer (predicted optimum) of
the model inside the trust-region
Verify: Does the error decrease?
If true, and if the model is very good, go
further until quality gets worse, take last
point as new center. Reduce trust region
radius and calculate new model
If just true, keep trust region radius and
calculate new model
If not true, reduce size of trust region.
14
Repeat:
Go to the minimizer (predicted optimum) of
the model inside the trust-region
Verify: Does the error decrease?
If true, and if the model is very good, go
further until quality gets worse, take last
point as new center. Reduce trust region
radius and calculate new model
If just true, keep trust region radius and
calculate new model
If not true, reduce size of trust region.
15
Repeat:
Go to the minimizer (predicted optimum) of
the model inside the trust-region
Verify: Does the error decrease?
If true, and if the model is very good, go
further until quality gets worse, take last
point as new center. Reduce trust region
radius and calculate new model
If just true, keep trust region radius and
calculate new model
If not true, reduce size of trust region.
16
Repeat:
Go to the minimizer (predicted optimum) of
the model inside the trust-region
Verify: Does the error decrease?
If true, and if the model is very good, go
further until quality gets worse, take last
point as new center. Reduce trust region
radius and calculate new model
If just true, keep trust region radius and
calculate new model
If not true, reduce size of trust region.
17
18
19
Particle Swarm
A global optimizer that
uses a higher number of
evaluations to explore
the search space, also
suited for larger
numbers of parameters
(hint: use distributed
computing).
Genetic Algorithm
A global optimizer that
uses a high number of
evaluations to explore
the search space, suited
for large numbers of
parameters or very
complex problem
domains (hint: use
distributed computing).
General Suggestions
1. Try to use a concise parameterization.
2. Try to keep the number of goal functions low.
3. Monitor parameter changes throughout optimization to gain
insight into convergence behavior.
4. Sometimes, re-formulating your goal function makes the
difference (e.g., min vs. move min).
5. You can use coarse parameter sweeps to determine good
initial values and boundaries, and to support the right choice
of optimization algorithm.
6. If possible, use face constraints together with sensitivities in
combination with the trust region optimizer.
20
Goal: Best impedance matching in bands 890-960 MHz and 1710-1880 MHz.
21
22
23
24
www.cst.com
25
www.cst.com
Post-Processing Optimisation
Radiation pattern of 8x1 antenna
array is constructed from the
farfield of one element by
applying so called array factor
using template based postprocessing (TBPP).
8x
26
a1
a2
a3
a4
a5
a6
a7
original an=1 SLL = -13.7 dB
27
a8
a1
a2
a3
a4
a5
a6
a7
original an=1 SLL = -13.7 dB
optimised an SLL = -20 dB
28
a8
a1
5 min
5 min
a2
40
a3
a4
30 sec 30 sec
a5
Optimisation
steps
40
40
Total
simulation
time
200
min
60
min
a6
a7
a8
original an=1 SLL = -13.7 dB
29
Summary
1. CST STUDIO SUITE 2011 offers a complete portfolio
of optimization methods for various application.
2. A new Trust Region Framework algorithm is very
efficient tool for a direct 3D EM optimization
especially in conjunction with the sensitivity
analysis.
3. New visualization of goals and parameter values
4. Post-processing optimization without a need of any
EM or circuit solver
5. A new Minimax goal function definition is now
available.
30