with very few changes: In the case of the EP, the
individual x is x = {d
1
, d
2
, Z
1
, Z
2
, σ
d
1
, σ
d
2
, σ
Z
1
, σ
Z
2
}.
If the PSO algorithm is used, each particle x is x =
{d
1
, d
2
, Z
1
, Z
2
}. The objective function for the opti-
mization process is given, in both cases, by the fol-
lowing expression:
g(x) = |S
11
|
2
+ (|S
41
|
2
− P)
2
, (10)
where P stands for the desired coupling and S
11
, S
41
are given by Equations (6) and (9), respectively.
4 ORGANIZATION AND
EDUCATIONAL ASPECTS OF
THE PROPOSED EXPERIENCE
The structure of the presented method, as it has been
implemented in Universidad de Alcal´a, is the follow-
ing: First, the students are given a brief summarize
of what they have to do (including the analysis given
in Section 2), an outline of the directional coupler
they have to design (similar to the Figure 1), a small
tutorial on evolutionary computation and finally the
source code (in Matlab) of the EP and PSO algo-
rithms. In this experience it is not intended that the
students learn to program the EP and PSO algorithms,
but they must understand their principles, and how to
apply them to design a given circuit. The students are
requested to theoretically design the coupler by opti-
mizing the objective function given by Equation (10)
using the EP or the PSO, and then to construct a pro-
totype to be analyzed, using the values given by the
EP or PSO. This is the most interesting part of the ex-
perience, where the students must analyze the results
obtained.
4.1 Prototype Construction and its
Analysis
After obtaining the best set of values for the couples,
the students must construct a prototype, according to
the values obtained by optimization algorithm. The
students can choose the value of the design frequency
and the coupling ratio. Figure 2 shows a picture of
the coupler that was constructed in the preparation
of the experience. In this case the design frequency
has been set up to 1 GHz, and the coupling ratio P
has been fixed to 0.75. The prototype was made us-
ing a low-cost FR-4 substrate, the same available for
the students. With this P, the EP obtained the fol-
lowing values of x = {d
1
, d
2
, Z
1
, Z
2
}: d
1
= 69.41,
d
1
= 26.78, Z
1
= Z
2
= 51.43 Ω. Using these val-
ues a simulation of the circuit with lossy transmission
lines, but without considering interconnection effects
can be carried out using the Monolithic Microwave
Integrated-Circuit Analysis and Design (MMICAD)
simulator (Safwat et al., 1997). The analysis of the
differences between the constructed and the simulated
coupler is very interesting, and may help the students
to understand the behavior of the circuit.
Figure 2: Picture of the constructed coupler.
Different analysis can be done at this point. For
example it is possible to compare the measured and
simulated responses of the coupler (Figure 3). Figure
3 (a) displays |S
11
| and |S
31
|, and Figure 3 (b) |S
21
|
and |S
41
|. At f
0
= 1 GHz, the simulated |S
11
|, |S
21
|,
|S
31
| and |S
41
| values are 0.05, 0.476, 0.039, 0.79, and
the measured |S
11
|, |S
21
|, |S
31
| and |S
41
| are 0.11, 0.14,
0.13, 0.84, respectively. As shown in Figure 3 (b)
there is a good agreement between the ideal and mea-
sured coupling value (S
41
). Its behavior is not so good
at high frequencies however, where there are signifi-
cant differences between the expected (simulated) and
measured behavior. This is due to the extremely sim-
ple transmission line model used for the simulations,
which do not take into account the effects of disconti-
nuities and joints. The students must extract their own
conclusions out of this analysis, and it is an important
part of the mark of the laboratory.
4.2 Educational Aspects of the
Experience
The proposed experience has several educational as-
pects which makes it appealing to be implemented in
University courses. First, the main characteristic of
the experience is that it allows the students to have a
first contact with advanced computational techniques
(evolutionary-based), applied to an interesting prob-
lem of circuit design in this case. Second, these al-
gorithms introduce a point of novelty to the classical
practices of laboratories. This usually encourages the
students to work harder in the practice, which is also
useful from the lecturer’s point of view. The possi-
bility of extending this experience to other subjects,
AN EXPERIENCE TO INCLUDE ADVANCED OPTIMIZATION TECHNIQUES IN MICROWAVE
UNDERGRADUATE LABORATORIES
165