Parameter Optimization Based On GA and HFSS
Parameter Optimization Based On GA and HFSS
Abstract A new project based on genetic algorithm (GA) and high frequency simulation software
(HFSS) is proposed to optimize microwave passive devices effectively. This project is realized with a
general program named as optimization program. The program is compiled by Matlab and the macro
language of HFSS which is a fast and effective way to accomplish tasks. In the paper, two examples are
used to show the project’s feasibility.
Key words GA; HFSS; Matlab; macro language
There are a lot of optimization and self-adaptive the optimization of microwave passive devices by
problems in the field of computational combining the merits of GA with HFSS. The project
electromagnetics. It is difficult to solve these problems includes two processes: one is that HFSS simulates
in large and complex systems except for some simple each structure whose parameters are produced and
applications. optimized by GA and returns the results of simulation
Genetic algorithm (GA) is essentially a search to GA, and another is that GA optimizes the structure’s
algorithm based on the mechanics of nature (e.g. parameters continually according to the data returned
natural selection, survival of the fittest) and natural from HFSS. The two processes are being run
genetics. It combines solution evaluation with alternately until a satisfying optimization is obtained.
randomized and structural exchanges of information A program named as optimization program has
among solutions to obtain optimization. GA is been compiled to realize the project. We complete the
considered to be a robust method because no work with two softwares, Matlab and HFSS. Our
restrictions on the solution space are made during the optimization program shown in Fig.1 includes two
process. The power of this algorithm comes from its parts: genetic algorithm module and fitness module.
ability to exploit historical information structures from
previous solution guesses in an attempt to increase Optimization program
performance of future solution structures[1].
High frequency simulation software (HFSS) is an
interactive software package for calculating Exchange data
each other
electromagnetic behavior of a structure. The software Genetic algorithm module Fitness module
Received 2004-03-08
* Supported by the Specialized Research Fund for the Doctored Program of Higher Education (No.20010614003) and the Key Project of Chinese Ministry of
Education (No.104166)
46 Journal of Electronic Science and Technology of China Vol.3
2 Examples
Initialization
of parameters 2.1 Impedance Converter of Rectangular
Waveguides
Encode and generate
The size of a section of impedance convertor of
an initial population
Output one the rectangular waveguides shown in Fig.4 has been
individual’s
parameters optimized to reduce S11 at 10 GHz. The parameters of
Evaluate fitness Fitness module optimization include the length c, the width a, and the
Return the
individual’s height b of the middle section of the rectangular
fitness
waveguides. Tab.1 shows the ranges for parameter
Whether the terminate-
condition is satisfied
Stop the running optimization. Without the middle section, S11 is equal
Y and show the result
to 0.24076 at 10 GHz. After inserting the middle
N
section and optimizing its parameters, S11 is equal to
Generate new population
0.004 93 at 10 GHz and the optimized results are also
by genetic operation
shown in Tab.1. The S parameter curves are shown in
Fig.2 The framework of the genetic algorithm module Fig.5 respectively.
20
The fitness module shown in Fig.3 is made up of 9
several subprograms compiled by Matlab and the a 15
b
macro language of HFSS[4]. It has two functions as
c
follows. 16 36 15
1) It receives each structure’s parameters from the
genetic algorithm module and then sends them to Fig.4 The rectangular waveguides
HFSS.
2) It calls HFSS to simulate the structure after Tab.1 The ranges for parameter optimization and
the optimized results
sending a structure’s parameters to HFSS and returns
the results of simulation to the genetic algorithm Parameters a/mm b/mm c/mm
module as the structure’s fitness after simulation. Minimum 21 10 1
Maximum 35 15 30
Input one Optimized results 34.835 294 12.333 333 22.266 667
individual’s
parameters
Genetic algorithm
Call subprogram
module 0
Return the
Call individual’s
ANSOFT fitness −10
HFSS
−20
Magnitude of S11/dB
0
0
−0.01
−0.05
−0.02
−0.03 −0.10
Best value of fitness
h a References
[1] David C W, Gerald B S. Genetic algorithm solution of
Fig.7 A microstrip antenna economic dispatch with valve point loading[J]. IEEE Trans.
Power Systems, 1993, 8(3): 1 325-1 332
Tab.2 The ranges for parameter optimization and [2] Wang B Z. Computational Electromagnetics[M]. Beijing:
the optimized results
Science Press, 2002. (in Chinese)
Parameters a/mm h/mm [3] Zhou M, Sun S D. Genetic Algorithms: Theory and
Minimum 25 2 Applications[M]. Beijing: National Defense Industry Press,
Maximum 40 8 1999. (in Chinese)
Optimized results 29.823 529 7.811 765 [4] Introduction to the Ansoft Macro Language[Z]. Ansoft
Corporation, 2001
0