1. Introduction
Microstrip resonators are traditionally used to build on their basis high-frequency frequency-selective devices with high-quality electrical characteristics, which are distinguished by manufacturability and low cost in mass production [
1]. In addition, they are used in microstrip devices for measuring the electrical characteristics of various materials and substances, that is, they can be used as microwave sensor designs [
2,
3,
4].
The rapid development of telecommunication technologies for the needs of tropospheric and space communications, radar and navigation systems [
5], unmanned vehicles [
2] is accompanied by a constant increase in the frequency-selective properties of microwave devices, such as bandpass filters, high and low pass filters, diplexers [
6,
7].
Such microwave bandpass filters [
5,
8,
9,
10] are also traditionally used in radio equipment. However, the development of these promising designs implies not only a constant improvement in their electrical characteristics and a reduction in size, but also a significant expansion of the operating bandwidth, which, accordingly, can significantly expand information transmission channels, or, on the contrary, cut off interference in a wide range. Therefore, the study of multimode microstrip resonators is an urgent and important task. Using the design features of a microstrip conductor, it is possible to significantly bring together several of its lowest oscillation modes in frequencies, which will form a wide bandwidth. It is important that, in terms of such parameters as miniaturization, reliability, manufacturability, and cost, devices based on such resonators [
11], including ultra-wideband (UWB) ones, are among the best.
On the basis of microstrip resonators, it is possible to effectively implement both bandpass filters and notch filters (stop band filters) [
12,
13]. At the same time, the scope of microstrip resonators is not limited to frequency-selective designs. Microwave sensors designed on their basis are of high interest [
14,
15,
16]. The concept of microwave sensors based on microstrip resonators is based on changes in their frequency response depending on the dielectric permittivity of the samples under test which are considered as an additional dielectric layer [
14,
17,
18,
19,
20,
21] or are introduced in the cleft of the proposed sensor [
16,
22].
Microwave sensors based on microstrip resonators [
23] are used for measuring complex permittivity of materials, dielectric measurements of solids and liquids [
24,
25,
26], gas sensing [
15], non-invasive medical measurements [
26,
27,
28,
29] and other applications [
30,
31,
32]. Permittivirt measurement methods of dielectric materials available in sheet, liquid, paste, powder, etc., forms by microwave resonators used as sensors were summarized in [
33,
34].
Moreover, the rapid development of the Internet of Things and sensor networks requires many miniature devices to work together in a limited frequency range without mutual interference [
35]. Microstrip filter is an important component of wireless sensor network nodes, which selects useful signals and suppresses clutter interference signals. Multi-mode microstrip filters are required to prevent signal crosstalk between adjacent channels [
36]. This requires high frequency selectivity and out-of-band rejection of the filters.
Particularly noteworthy are the designs of bandpass filters based on two-mode [
1,
22], three-mode [
37] and multimode resonators. In the formation of the passband of such devices, in contrast to one-mode microstrip filters, the resonances of multiple lowest oscillation modes from each resonator are involved. As a result, the order of the filter multiplies, which is known to determine its selectivity. Due to the small number of links in such filters, not only the overall dimensions are significantly reduced in comparison with traditional designs, but the losses in the passband are also reduced. Strip conductors of multi-mode resonators in a microstrip filter are usually in the form of a square, a square or rectangular frame, sometimes they are made in a form of a closed meander line, which also has a fourth-order symmetry axis [
5]. The natural frequencies of the first two oscillation modes in such resonators are degenerate, and the spatial distributions of the amplitudes of high-frequency fields are orthogonal. In this case, in a bandpass filter, the required amount of coupling between the resonances of two oscillation modes is provided either by etching one of the corners of a conductor in the shape of a square or square frame, or by adding a segment of a slotted line or a strip coupling element, which, as a rule, are located at an angle of 45° to the resonator axes [
1].
Two-mode resonators with a regular strip conductor partially split at one end by a narrow slit [
38] are more miniature. In this case, the value of the link between the first two modes of resonator oscillations is small, and it is implemented by a small difference in the length of the conductors in its split section. This circumstance does not allow us to develop the broadband filters based on such resonators; however, filters with a narrow passband on them have sufficiently high frequency-selective properties even in designs consisting of only two or three resonators [
39].
Such frequency-selective devices allow us to implement them in multiple operation modes when a certain form of their strip conductors is set. As a result, the natural frequencies of several lowest oscillation modes could be brought together and miniaturize the structure [
40].
Requirements for resonators may differ. In some cases (filters, radar antennas, etc.), the topology is required to cover a wide range of frequencies. At the same time, the prospects for designing sensor elements based on multimode microstrip resonators may be due to the ability to cover a wide range of interference when measuring the dielectric properties of substances. Specific types of sensors (e.g., gas sensors) require the use of a resonator with a very narrow bandwidth. Nevertheless, the problem of searching for a resonator design with a given center frequency, as well as with a given bandwidth, considered in this paper, is relevant for most types of devices
Due to their small circuit sizes (up to several millimeters in each dimension), such resonators can be used in hybrid integration with small wireless networking and radar devices [
41,
42]. Ultra-wideband (multi-mode) microwave filters are an essential part of the radar sensor systems [
4,
43,
44] and antenna sensors [
2] which are of high interest due to the development of unmanned vehicles and robotics. Such systems include both microstrip resonators with the simplest geometric configuration [
45,
46,
47] and more complex designs [
48,
49].
For the sensor network nodes, it is essential that the central frequency points of the filter has a certain capacity bandwidth [
35,
50].
We consider the problem of computer-aided design of microstrip structures of multi-mode resonators with the strip conductors in the form of a combination of rectangles [
1,
37]. Filters based on such multi-mode resonators are implemented not only on substrates with a high dielectric constant, but also with a low one [
1]. Such designs, due to the attenuation poles existing near the passband, are distinguished by an increased steepness of the amplitude-frequency characteristic (AFC) slopes, wide barrage bands and a high level of microwave power suppression in them which is essential for their application in sensor network nodes.
Well-known standard mathematical optimization methods such as the random search method, the Davidon-Fletcher-Powell algorithm, the similex Nelder-Mead method and genetic algorithms are implemented as subprograms in all popular software products for the design of microwave devices. An experienced user of these products can successfully optimize single mode resonator filters. Some promising results have been achieved in the development of methods for optimizing the designs of two-mode resonators [
51]. Since it was stated that standard methods of mathematical programming were unsuitable even for the optimization of two-mode constructions, for the development of such devices, special optimization methods based on taking into account the physical principles and features of each specific design were proposed, thus not being in any way universal. In the computer-aided development of such systems, expert systems are widely used.
Modern software products designed for the numeric electrodynamic analysis of microwave device structures make it possible to simulate the amplitude-frequency response of a microstrip resonators of various types with high accuracy. The capabilities of modern computing systems enables us to perform electrodynamic analysis many times, while changing the geometric parameters of the microwave device. Electrodynamic analysis software products provide an application programming interface through which an external program can set the required device configuration.
The concept of this work is to develop evolutionary methods for optimizing the designs of microwave microstrip resonators including multimode ones, in which the well-known methods of electrodynamic analysis, implemented in modern software products, are used to assess the AFC, which, in turn, is used to calculate the fitness function in the evolutionary algorithms.
The recent advances in the area of optimization methods that are capable of solving a variety of problems, such as evolutionary algorithms (EAs) [
52], open new possibilities for automation of many routines, including those present in the area of microwave filters design. In particular, the existing EAs, such as genetic algorithms (GAs) [
53], particle swarm optimization (PSO) [
54], differential evolution (DE) [
55] and many others [
56] do not require specific information about the type of the problem to be solved or information about the derivative of the fitness function. Nevertheless, when combined with certain constraint handling techniques, they enable us to efficiently solve many problems, which arise in industrial applications [
57].
This study is focused on the application of one of the variants of DE, namely the L-SHADE algorithm [
58] with several modifications, including mutation strategy, crossover operators and constraint handling technique, to the problem of designing the microstrip resonator topology. For this purpose, we propose an encoding method, allowing different topologies to be tested, and the specific settings for the optimization algorithm to be set.
The rest of the paper is organized as follows. The second section describes the methods used in our research and includes a description microstrip microwave resonators and their properties, description of the existing DE algorithm version and other real-coded evolutionary algorithms, and the proposed approach to the automated microwave device design. The experimental setup and results are demonstrated in the third section, and the last section concludes this study.
2. Materials and Methods
2.1. Microstrip Microwave Resonators
When calculating the amplitude-frequency characteristics (AFC) of all the considered resonators, we used monolithic substrates made of materials widely used in microwave technology (TBNS and Policor) with the same plate thickness mm but different relative permittivity ε = 80 and ε = 9.8, respectively.
The microwave resonators are characterized by certain criteria, which are functionals of the AFC. In this study, we propose an approach to the automated design of the resonators and implement it for three types of devices, namely the U-shaped, U-shaped with an additional cut and W-shaped resonators. The strip conductors of the resonators have the following geometric shapes: slot-split rectangular (U-shaped), twice slot-split rectangular (U-shaped with an additional cut), and studs with a plume (W-shaped), respectively. However, our approach does not depend on the shape of a flat microstrip resonator and can be implemented to the resonators of various shapes.
The bandwidth of the first considered resonator type (
Figure 1) can be formed both by its two lowest oscillation modes [
38] and by three ones (
Figure 2) [
39]. Changing the width and depth of the cut in the conductor makes it possible to bring these lower natural frequencies closer together in such a resonator. In this case, the relative bandwidth
of such a two-mode resonator does not exceed 40%, where
is the bandwidth measured at the level of −3 dB from the level of the minimum loss in the bandwidth,
is the center frequency of the bandwidth. For the design of devices with a wide frequency range, a three-mode resonator is more promising. Our studies using Policor dielectric plates, at a fixed central frequency of the resonator
GHz show that its minimum bandwidth is 45%, and the maximum bandwidh is 71%. The first resonator was set to operate in a three-resonance mode [
39], its structure is shown in
Figure 1. Such a U-shaped resonator is a very simple construction which is one of the most widely used in various microwave devices including sensors [
3,
59,
60,
61,
62]. Depending on the dimensions, such devices have various AFCs and purposes. Similar forms such as Y-shaped resonators are also popular [
63]. The theoretically calculated data for a three-mode resonator implemented on a TBNS dielectric plate, obtained using a numerical electrodynamic analysis of its 3D model, are in almost ideal agreement with the data taken on an actually manufactured prototype [
39].
When splitting the strip conductor of the MPR by a narrow slit [
38], it is possible to bring the natural frequencies of its first two oscillation modes closer together. This allows such two-mode resonators to create not only band-pass filters with high frequency-selective properties, but also two-band filters, as well as diplexers. However, the relative bandwidth of such filters does not exceed 20%, while the investigated resonators make it possible to develop filters with bandwidths up to 70%, and such devices have high frequency-selective properties.
In addition,
Figure 1 shows the main geometrical parameters required to encode such a resonator for the optimization algorithm. The top and the lower gaps are
and
, respectively, and the horizontal gap is
, which is the same on both sides. Mentioned gaps are fixed during experiments: if the resonator size changes, then the enclosure size also changes to keep the same gaps. The resonator has the following geometrical properties:
- 1.
—half of resonator width, in mm (only one side is encoded and then mirrored);
- 2.
—resonat’s height, in mm;
- 3.
—relative width of the upper part, , i.e., if then the width is equal to ;
- 4.
—relative height of the upper part, , i.e., if then the height is equal to 0 (no central cut);
- 5.
—relative height of the position of the side conductors to ports, , i.e., if , then the conductors are located at the top.
The following parameters of the resonator are shown in
Figure 1:
mm,
mm,
mm,
mm,
mm,
,
,
. Depending on the ratio of these parameters, devices with completely different amplitude-frequency characteristics and purposes can be obtained [
3,
60,
62].
Figure 2 shows the results of the AFC measurement performed using the electrodynamic numerical analysis for the resonator presented in
Figure 1.
Figure 2 shows the frequency dependence of the forward loss for the passage of microwave power (transmission factor S21), as well as the frequency dependence of the reflection loss of microwave power (transmission factor S11). The most important parameters that characterize the resonator are the bandwidth
, where
and
are the high-frequency and low-frequency boundaries of the bandwidth measured at the level of −3 dB from the level of minimum losses in the bandwidth, and also the center frequency of the passband
. For the resonator in
Figure 1, these parameters were as follows:
GHz. Therelative bandwidth
, measured as
is more convenient for the use in optimization algorithm than
. In our case,
. Both
and
are functionals of the AFC.
Figure 3 shows the topology of the 6-mode microstrip resonator with a doubly slotted strip conductor. All theoretical and experimental studies for this resonator were carried out using a substrate with a relative permittivity
(Polycor). In this case, just as for a three-mode resonator implemented on a substrate with a high dielectric constant, the data for a six-mode resonator (Figuse
Figure 4) obtained by numerical electrodynamic analysis of its 3D model are in good agreement with the data taken on a really manufactured prototype. This allows us to confine ourselves in further studies of microstrip resonators to only numerical experiments, and, moreover, conduct such experiments in an automated mode under control of an optimization algorithm.
At a fixed center frequency GHz, its minimum bandwidth is 79%, and the maximum one is 81%, which is significantly wider than that of a three-mode resonator.
The 6-mode resonator, considered in this study, is similar to the 3-mode one, however, it has an additional cut in the middle. The parameters used to describe this resonator are similar to those of the previous one:
- 1.
—half of resonator width, in mm (only one side is encoded and then mirrored);
- 2.
—resonator height, in mm;
- 3.
—relative width of the upper part, , i.e., if then the width is equal to ;
- 4.
—relative height of the upper part, , i.e., if then the height is equal to 0 (no central cut);
- 5.
—relative width of the small central cut, , i.e., if then the width is equal to ;
- 6.
—relative height of the small central cut, , i.e., if then the height is equal to 0 (no central cut);
- 7.
—relative height of the position of the side conductors to ports, , i.e., if , then the conductors are located at the top.
The following parameters of the resonator are shown in
Figure 3:
mm,
mm,
mm,
mm,
mm,
,
,
,
,
.
Figure 4 shows the results of the AFC measurement performed using the electrodynamic numerical analysis for the resonator presented in
Figure 3. The study was carried out using a substrate with a relative permittivity
.
In
Figure 4, the frequency dependence of direct losses from port 1 to port 2 and frequency dependence of losses in reflection, from port 1 to port 1, are shown. For this case,
is around
GHz, and
.
Figure 5 shows the topology of the 5-mode W-shaped (studs with a plume) microstrip resonator. Variation in the length of the stripe segment of the plume is accompanied by a decrease in the frequencies of the even modes of oscillation of this resonator, while the frequencies of its odd modes remain unchanged. This makes it possible to form the passband of this resonator by its five lowest resonances, while the relative width of its passband is 91%. We point out that
can be varied from 74% to 97%, which allows us to recognize it as the most promising for building ultra-wideband devices, among the resonators considered in this paper.
The 5-mode resonator considered in this study has a W-shaped topology. The following parameters are used to describe this resonator:
- 1.
—half of resonator width, in mm (only one side is encoded and then mirrored);
- 2.
—resonator height (without central part), in mm;
- 3.
—relative width of the side part, , i.e., if then the width is equal to ;
- 4.
—relative height of the side part, , i.e., if then the height is equal to 0;
- 5.
—relative width of the small central cut, , i.e., if then the width is equal to ;
- 6.
—relative height of the small central cut, , i.e., if then the height is equal to 0 (no central cut);
- 7.
—relative height of the position of the side conductors to ports, , i.e., if , then the conductors are located at the top.
Thus, the following parameters of the resonator are demonstrated
Figure 5:
mm,
mm,
mm,
mm,
mm,
,
,
,
,
.
Figure 6 shows the results of the AFC measurement performed with use of electrodynamic numerical analysis for the resonator presented in
Figure 5.
The described microstrip resonators will be further considered in this study for tuning their passband frequency by changing the topology parameters. The search of optimal resonator topology will be performed with the purpose of tuning the known topology to work in a different frequency ranges: for example, the resonator shown in
Figure 3 has
GHz with
, and the goal will be to increase the frequency to
GHz with the same relative bandwidth
. A simple scaling of the resonator geometrical properties does not give a proper result in most cases: the resulting frequency range is different from the desired as well as the width
. Moreover, the number of modes could be changed.
2.2. Evolutionary Continuous Optimization Methods
Among the existing optimization methods for continuous search spaces, the evolutionary algorithms are considered as the most efficient global optimization techniques, as long as they are capable of finding global optimum even for complicated landscapes due to their population-based structure and randomized search. Various evolutionary algorithms are a popular and efficient tool for microelectronic device design [
64,
65,
66] as well as data processing for evaluation of their quality [
67,
68]. Therefore, in this study, two evolutionary optimizers were considered: the differential evolution algorithm and the genetic algorithm (GA). The next two subsections provide a brief description of these methods.
2.3. Differential Evolution
The Differential Evolution is a population-based optimization method, originally proposed by Storn and Price in [
69]. The main idea of the DE approach was to use the difference vectors between individuals in the population and apply these scaled vectors to the existing points in the search space to sample new solutions. DE appeared to be very efficient and easy to implement, although it has a small number of parameters. Such algorithms are of a high demand in various areas including sensor design [
70]. The algorithm starts with a set of
initial points in a
D-dimensional search space,
,
,
, generated using uniform distribution within
,
. After initialization, the main loop starts, which includes mutation, crossover and selection.
There are several mutation strategies used in DE, with rand/1, used in [
69], and current-to-pbest/1, proposed for the JADE [
71] algorithm, being the most popular ones. The current-to-pbest/1 strategy is described with the following equation:
where
is an index of one of the
best individuals,
and
are randomly chosen indexes, and
,
F is the scaling factor parameter, usually in range
,
v is the set of mutant vectors, and
x are called target vectors.
After the mutant vectors
v are generated by mutation, the crossover is performed to generate trial vectors
u. The most used method is the binomial crossover, in which the trial vector receives coordinates from mutant vector with probability
. The binomial crossover could be described as follows:
where
is a randomly generated index in
. It is needed to make sure that at least one component of the trial vector is different from the target vector. Otherwise, the trial vector would be exactly the same as target vector, which would lead to unnecessary calculations. After the set of trial vectors is generated, the bound constraint handling (BCH) method is applied. One of the widely used bound constraint handling methods [
72] is described as follows:
Here, if the newly generated point is out of bounds, its parent is used to set the new position. However, in this study the following BCH approach was used:
Here,
and
are the lower and the upper boundaries for the
j-th variable. After the fitness values
are calculated, the selection step is performed:
If the newly generated solution is not worse than its parent individual from the population, then the replacement occurs. Such a selection operator is greedy, and it allows DE to solve multimodal problems efficiently.
2.4. L-SHADE Algorithm
One of the main problems of the DE algorithm is its sensitivity to three main parameters: scaling factor
F, crossover rate
and population size
. Therefore, in many studies, the parameter adaptation techniques have been proposed for DE, for example, the previously mentioned JADE algorithm [
71]. Based on the JADE parameter adaptation, the SHADE [
73] and L-SHADE [
58] approaches were developed, which appeared to be highly competitive and popular nowadays, according to recent studies [
74]. Below, the L-SHADE approach will be described.
The SHADE and the L-SHADE algorithms use the Success-History Adaptation (SHA) with a set of
memory cells [
73], each containing a pair of
and
values. These values are used to sample new parameters for
F and
used in mutation and crossover, respectively. The sampling is performed by using the values in a randomly chosen historical cell with index
in the following way:
where
is the Cauchy distributed random value and
is a normally distributed random value, with position and scale parameters
m and
s respectively. If the value generated for
is outside
, it is truncated to this range. If the generated value
, then it is set to 1, however, in case if
, it is generated again, until it gets within the range
, as
means no mutation.
The successful values of
F and
, i.e., those giving an improvement in terms of fitness value, are stored into
and
arrays, as well as the improvement values
. These values are used to update the memory cell with index
h, which is incremented by 1 every generation, and when
h exceeds memory size
H, it is reset back to 1. The memory cells for both
F and
are updated in a similar way with weighted Lehmer mean:
where
and
S is either
or
. The previous values in the memory cells are replaced by new ones.
In addition to the success-history adaptation for
F and
parameters, the L-SHADE algorithm uses the Linear Population Size Reduction (LPSR) technique. In this method the population size
is initially set relatively large, and it is recalculated at the end of each generation. The new population size follows the linear function, depending on the available computational resource:
where
and
are the minimal and initial population sizes,
and
are the current and maximal number of function evaluations. At the end of each generation none, one or several worst individuals are removed from the population.
The standard L-SHADE algorithm also maintains an archive of inferior solutions A, which contains parent solutions replaced by better offspring. The archive is initially empty, and it is filled during the selection step: if an offspring is better than its parent, then the parent is stored in the archive. Once the archive reaches its maximum size , usually equal to the population size , its update scheme is changed: the parent individuals that should be put into the archive replace randomly chosen archive members. The archive size is reduced in the same manner as the population size .
2.5. Genetic Algorithm for Continuous Optimization
The Genetic Algorithms were originally proposed for binary or discrete optimization; however, there were multiple attempts to make them work in continuous search spaces. In one of the earliest studies [
75], the Simulated Binary Crossover (SBX) was proposed: it imitates the behaviour of the single-point binary crossover operator. Among the existing crossover schemes the SBX has received significant attention and is widely used together with the polynomial mutation strategy [
76]. Further on the description of a classical scheme of the GA approach with mentioned search operators will be given.
The continuous genetic algorithm starts with randomly initializing a set of solutions within the borders . After fitness calculation and remembering the best solution the main loop of the algorithm starts. The main loop contains the following steps:
- 1.
selection of parents for crossover;
- 2.
crossover of parents to generate offspring solutions;
- 3.
mutation of the offspring solutions;
- 4.
replacement of parents with the offspring.
There are several known selection schemes, such as proportional selection, rank-based selection and tournament selection. The last one is used more often due to its simplicity: a set of T individuals is randomly chosen from the population, and the individual having the best fitness value (winner of the tournament) becomes one of the parents. Typically, (binary tournament selection). For each crossover two parents and are chosen.
The SBX is performed on a pair of parents to produce offspring solutions using the following procedure [
77]. First, a uniformly distributed random number
u is generated in
, next the
value is calculated as follows:
where η is the non-negative crossover rate parameter that is responsible for the offspring spread, smaller η leads to larger spread. The value
is used to calculate two offspring solutions:
where
and
are the offspring coordinates for variable
. The generated offspring solutions are symmetric about their parents, so no bias towards one of them is present. One of the offspring solutions is randomly chosen to be mutated and moved to the text generation.
Although the SBX generates solutions following a specified probability distribution, i.e., the offspring solutions are sampled around parents, the mutation step could be also used. The polynomial mutation [
78] works in a similar way. First a random value
u is sampled uniformly within
. Next, the
parameter is calculated:
where
and
is the non-negative distribution parameter (smaller values result in smaller dispersion). The mutated individual’s coordinate is calculated as follows:
The polynomial mutation is applied to each component of the offspring vector with a probability of . After the mutation, the replacement of parents with the offspring is performed. There are several well-known replacement schemes, for example:
- 1.
offspring only;
- 2.
offspring plus the copy of the best individual;
- 3.
the best of offspring solutions and parents.
In the first case, all the offspring solutions t are copied to the parents x population regardless of their fitness values. This may lead to premature convergence and even loss of genetic diversity as well as losing the best known solution, if it is not stored separately. The second scheme makes sure that the best solution, either from the parents or the offspring, is copied to the new population. The third scheme is more conservative: it sorts the joined set of parents and offspring by fitness and selects the best solutions. This ensures that the best solution is always in the population, and if all the offspring solutions were unsuccessful, they will not be copied to the new population.
The described general scheme of GA is not the only one possible, and there are numerous known implementations of this algorithm, however, the given description is sufficient for this study.
2.6. Proposed Approach
As long as this study is focused on applying optimization methods to a specific real-world engineering problem, i.e., optimizing resonators topology, several optimization techniques were implemented. The algorithms proposed here are based on both GA and DE, described above, and have several modifications. First of all, there will be two search schemes used: based on differential evolution search operators and based on SBX and polynomial mutation. These two search schemes are based on DE and GA, although they do not fully follow the description given above. The main difference is the replacement mechanism, for which there will be three different scenarios considered, namely:
- 1.
the best of the offspring and parents (replacement type );
- 2.
random fitness-based replacement (replacement type );
- 3.
pairwise comparison (DE selection, replacement type ).
The first and third schemes have been already discussed. The second is performed as follows: after the best solution is saved to the population, for each offspring solution, a random parent index is generated in , and if the offspring is better than the -th parent, the replacement occurs. This replacement scheme combines the first and the third ones.
In the case if the GA approach is used, the linear population size reduction (LPSR) is applied in the same manner as in L-SHADE algorithm. Both η and parameters are fixed during the algorithm run. GA applies SBX and polynomial mutation to parents, selected by tournament selection with . The crossover rate , i.e., the ratio of parent vectors components altered by SBX, was set to a constant value. The was used to sample values as the mean parameter in normal distribution with , i.e., the sampling was similar to the one used in the L-SHADE algorithm. This algorithm will be further called L-CGA - Continuous Genetic Algorithm with LPSR (algorithm type ).
In the case if the DE is used, the L-SHADE algorithm with current-to-pbest mutation is applied, however, instead of the crossover operator the SBX from GA is applied for target vector and trial vectror , . Next, the polynomial mutation is applied with a probability of . The SHA is used to tune only F parameter, without tuning ηand for SBX and polynomial mutation. The crossover probability was sampled using parameter as described above. This algorithm will be further referred to as L-SHADGA: Success-History Adaptive Differential Genetic Algorithm with LPSR (algorithm type ). In our algorithms, we use no archive ().
As it was mentioned above, the goal of the resonator topology optimization in this study is to perform tuning to the different frequency, while keeping the desired parameters. This is a constrained optimization problem, as it is required that the frequency dependence of losses in reflection should not exceed dB in the area between and . Moreover, the number of modes should be the same as defined: not smaller and larger than that of the basic topology. Thus, there should be 3 modes for the first resonator, 6 for the second and 5 for the third resonators respectively.
The constrained optimization problems could be solved with evolutionary algorithms in several ways. One of the most popular methods consists in the implementation of the penalty-based constraint handling techniques: the fitness function contains not only the difference between actual and desired frequency and bandwidth, but also a penalty on the number of modes with frequency dependence of losses exceeding
in reflection. In this study the dynamic penalties method will be used to calculate fitness values as follows:
where
g is the current generation number,
is the penalty magnitude parameter,
,
and
are the desired values for frequency, bandwidth and number of modes respectively,
,
and
are the actual values for solution
.
Although the scaling of the resonator does not allow simple frequency tuning, it is possible to use the scaled solution as the baseline during initialization. To figure out the required scaling to tune the resonator to the area of desired frequency
, a set of measurements has been made for the 3-mode U-shaped resonator. The result of
measurements for different
values is shown in
Figure 7.
Based on the observed dependence the following scaling procedure is proposed:
where
and
are baseline parameters of the given resonator,
and
are scaled values used during initialization,
is the frequency of the baseline topology. It should be noted that although in
Figure 7 only the dependence on
is shown, for all three resonators in this study
does not have such significant influence, however, scaling it as well as
enables us to find better solutions simpler.
The initialization is performed not uniformly, but close to the scaled solution. In particular, the first individual has the scaled and values, while the rest individuals are generated with normal distribution: , where is a normally distributed random value with mean equal to 1 and standard deviation ς. The parameter value is sampled until it falls within interval. This initialization allows most of the population to be sampled near the scaled solution, resulting in sufficient diversity, allowing an efficient start of the search process.
In the next section, the details of the performed computational experiments are given, including parameter settings of the used algorithms as well as the final results, approaches comparison, and the applicability of the results for constructing various devices.
3. Results and Discussion
One of the most important problems with optimizing the microstrip resonator topology is the computational complexity of the fitness function: modeling the AFC of the resonator in a specified frequency range may take from 5 to 60 s. Resonators used as sensors may have very simply [
15,
16,
45,
46,
79] or rather sophisticated topology [
17,
18,
80]. For more complex topology, the modelling can take more time. Therefore, this should be considered as expensive optimization problem, where every evaluated solution is gained through significant amount of calculations.
The search algorithms were implemented in Matlab and ran on a Windows 10 system with 8-core AMD Ryzen 3700X processor.
One of the problems addressed during the investigation was the development of recommendations about the algorithmic schemes, which would be preferable for resonator topology optimization. In particular, the sensitivity analysis was performed for each of the three baseline resonator topologies. The sensitivity analysis included varying three main parameters for two search algorithms (L-CGA, and L-SHADGA, ) with three replacement schemes (), including:
- 1.
penalty Magnitude ();
- 2.
crossover and mutation distribution parameters ();
- 3.
crossover rate parameter ().
Not all the possible combinations were considered due to the significant computational complexity. In particular, for all three baseline resonator topologies, first two combinations of search algorithm () and three combinations of replacement type () were considered, resulting in a total of six experiments. After this the scheme involving the L-CGA () and replacement with the best of offspring and parents () was determined as more preferable one. For this scheme the sensitivity analysis was performed, varying the three parameters mentioned above.
The rest of the algorithm parameters were set as follows: initial population size
, final population size
, number of function evaluations
, historical memory size
, initial values for memory cells
,
, tournament size
. There were 5 independent runs made for every considered case. The optimization problem settings, such as dimensionality
D and search ranges, were set depending on the resonator type, shown in
Table 1:
bas stands for baseline value, and
des means desired value that should be reached after optimization.
Table 2,
Table 3 and
Table 4 contain the mean and standard deviation of best achieved values after 5 runs for the first, the second and the third case, i.e., 3-mode U-shaped resonator, 7-mode U-shaped resonator with additional cut and 5-mode W-shaped resonator. The experiments with different algorithm types and replacement types were made with
,
and
. For cases when one of these parameters was varied, the other two were set to these values.
For the case of 3-mode resonator, the best results were achieved with both L-CGA and L-SHADGA with the first replacement scheme, i.e., the best of parents and the offspring. The worst case is the usage of L-CGA with the pairwise comparison replacement scheme. The penalty magnitude does not show any significant influence on the performance, however, the mutation and crossover distribution parameters do, in particular, smaller η values result in larger spread of sampled values and worse results. As for the crossover rate, it does not have any significant influence as well.
For the case of 6-mode resonator, the best results were achieved with L-CGA and with the second replacement scheme, i.e., random replacement with comparison. The worst case is the usage of L-SHADGA with the pairwise comparison replacement scheme. Again, the penalty magnitude does not influence the results very much. Larger η values usually result in better fitness values and the crossover rate does not have any significant influence.
For the case of 5-mode resonator, the best results were achieved with L-CGA and with the first replacement scheme, the best of parents and offspring. The worst case is again the usage of L-CGA with the pairwise comparison. The sensitivity analysis for three other parameters has similar results: larger η values are better, penalty magnitude does not show any significant influence, however, smaller values appear to be better.
The fitness values, which are close to 1 or even smaller, are achieved usually due to small inaccuracy in
frequency tuning, because the smallest possible step for
is 0.5. In all cases the considered algorithms were able to find solutions that satisfied the constraints.
Figure 1 and
Figure 2 show the tuned topology of the 3-mode resonator, where all the parameters were found with the L-CGA algorithm using first replacement scheme.
Figure 8,
Figure 9 and
Figure 10 show that all the considered algorithms were able to converge after around 300 generations in most cases. For the 3-mode resonator case, the difference between baseline and the desired frequency was larger, so the search for the optimal topology took longer. For the 6-mode and 5-mode cases the difference was not so large, and the solutions were found earlier.
In addition to the performed experiments, the optimization methods available in Matlab optimization toolbox were considered. Due to the fact that the considered problem is not smooth in terms of fitness values and cannot be differentiated, some of the methods were not able to solve such problem. The only method that was able to show competitive results was the Simulated Annealing (SA) algorithm, which was tested for all three cases with a computational resource of 500 function evaluations and recommended parameters. The same scaling of resonator size was applied to initialize the algorithm.
Table 5 contains the fitness values achieved by the SA algorithm.
The SA algorithm was able to solve only the second problem, which appeared to be relatively simple, considering the convergence graphs in
Figure 9. The best solutions for the first problem are significantly worse, and have much larger standard deviation, probably due to the large difference between baseline and the desired bandwidth. Comparing one of the best variants of evolutionary algorithms, L-CGA with the first replacement scheme, it should be noted that the fitness level achieved by simulated annealing (
) is reached after around 120 function evaluations, i.e.,
of the total computational resource for the 3-mode resonator case. For the 6-mode case the results are comparable and reached almost with the same resource, but for 5-mode resonator case the L-CGA was able to get to the same fitness values level at around 75 generations, or
of the total computational resource.
For the practical use of our approach, it is much more important for the algorithm to achieve the desired values of the criteria (
and
). For other types of microwave devices which can be used as sensors, in radars, antennas and sensor network nodes, these criteria may differ. In our research, we consider
and
as examples of possible criteria. Our approach requires these criteria to be functionals of the AFC. Nevertheless, the central frequency and the width of the passband are essential for the majority of sensors and resonators regardless of their purpose. For example, for the gas sensors, the central frequency
is determined by the properties of the gas to be detected. For a deeper comparison of approaches, the achieved frequency parameters are considered. In
Table 6,
Table 7 and
Table 8 the best
and
of both L-CGA with first replacement scheme and SA algorithm are given for all program runs.
For the 3-mode resonator case, both algorithms were able to get the desired , however the L-CGA obtained much better values, i.e., closer to the desired . Moreover, the standard deviation of values was smaller.
In the 6-mode case, the average of the results received by SA is exactly 150, however, the standard deviation is larger, while L-CGA got more stable results. As for the values, the mean and standard deviations in this case are similar, which explains similar performance in this case.
For the case of 5-mode W-shaped resonator, the average of L-CGA is not as close to the desired 150 as that of the SA, however, the standard deviation is again smaller. At the same time the achieved by L-CGA are closer to the desired, and the standard deviations are comparable. In general, the L-CGA appears to show more stable results and is able to get to the optimal values or very close to them for both frequency and delta.
Considering these results, it can be concluded, that the developed approaches could be used for multimode resonator topology optimization when tuning a known structure to the new frequency range. The approaches presented in this study are general, and could be used for any other type of structure optimization, i.e., other resonators, filters, sensors, radars, antennas etc.
Although the proposed algorithms have shown to perform better than some classical approaches, it is important to consider and discuss the complexity of the optimization problems involving resonator topology optimization. To visualize the landscape of the main parameters, an additional experiment with the 5-mode resonator was performed: the two main parameters responsible for the size, namely
and
were varies within
margin from the scaled solution, i.e., the one used during initialization.
Figure 11 shows the dependence of
on the resonator size.
As can be seen from
Figure 11, the landscape of the function is rather rough, that is there are many local optima, and even a small change in geometrical characteristics may cause significant change in
, which jumps from 150 to 170.
Figure 12 and
Figure 13 show similar graphs for
and number of modes.
Considering the landscape in
Figure 12 and
Figure 13, the value of
again has multiple local optima, but the difference between worst and best parameters is not so signficiant. As for the number of modes, changing either
or
may cause the resonator switch to 4-mode, and it may be quite difficult to get 5 modes.
Figure 14 demonstrates the
values, resposible for penalizing the solutions.
The landscape of measured with different or around the scaled solution shows that this constraint, i.e., it should be less then , could be difficult to satisfy, as some of the points may get up to .
The analysis of landscape near the scaled solutions shows that searching for the appropriate configuration of parameter values may be difficult, as even small changes may result in very different solutions. Here, only or were considered, and the landscape analysis of other parameters, such as or could give some additional insights. However, considering the dimensionality and the computational complexity of the problem, it can be concluded that applying developed algorithms justified.
Our research is focused on optimization of flat resonator constructions. However, the described approach does not require the resonator structure to be planar only. The only difference is that the process of electrodynamic modelling of the 3D resonators is much more time consuming which limits the usage of our approach because of the need to run such a simulation many times. Nevertheless, the rapid growth of the computing facilities gives us a reasonable hope to use similar approach to a wider variety of shapes including 3D ones in future. The progress in the development of the 3D printing technology enables us to fabricate special microwave devices including sensors and their parts [
81,
82,
83] for specific needs, according to individual orders. The use of biocompatible materials makes it possible to use such 3D printed devices [
84] as immunosensors [
85], toxicity [
86] and other types of sensors. These types of sensors include both 3D spatial designs and planar designs. Our approach can be directly implemented to the planar ones.
The proposed approach to the automatic design of microwave devices includes the following stages:
Stage 1: Definition of the criteria and their desired values, and the constraints (both the criteria and left parts of the constraints must be functionals of the AFC);
Stage 2: Drawing a perspective device topology with arbitrary geometric dimensions in a specialized software tool for electrodynamic modeling;
Stage 3: Defining the variable geometric parameters to be adjusted and feasible ranges of their values;
Stage 4: Running the optimization algorithm;
Stage 5: investigation and validation of the AFC and achieved values of the criteria, return to Stage 2 if the desired values of the criteria are not achieved or the solution is infeasible;
Stage 6: Manufacturing and testing a prototype of the device.
The filters and other microwave devices used in radar sensors and sensor network nodes may be composed of several resonators [
24,
46]. The properties of the device depend on the topology of the resonators, number of resonators and their interconnections. Thus, for such complex cases, the optimization problem must contain both real and discrete variables. Since the DE algorithms are aimed at optimization of continuous functions, such problems may require more complex algorithms to be developed and implemented in future research. Nevertheless, the parameter adjustment of the existing topologies for the desired frequency and bandpass is an important problem, and our study greatly facilitates the solution of this problem.
The proposed algorithmic approach involves electrodynamic analysis systems of microwave device structures which is capable of simulating the amplitude-frequency response with high accuracy [
12,
87]. For the planar microstrip filters, electrodynamic analysis shows a good agreement of the measured and calculated characteristics of the devices (the error in the response does not exceed 3–6% (see
Figure 2,
Figure 4 and
Figure 6) which allows us to use the results of the proposed algorithm as an accurate estimation of the characteristics of the frequency-selective properties for a device to be manufactured.