PDF (Thesis) - Nottingham eTheses - University of Nottingham
PDF (Thesis) - Nottingham eTheses - University of Nottingham
PDF (Thesis) - Nottingham eTheses - University of Nottingham
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
CHAPTER 3: HF MODELLING STRATEGY<br />
Re(Z)<br />
Fitness Function<br />
ref<br />
f 1 f 2 f 3 f 4<br />
sim<br />
Figure 3.1: Example <strong>of</strong> error integration for impedance<br />
Log(f)<br />
The goodness <strong>of</strong> every individual is evaluated by the Fitness Function that associates a<br />
numerical value to each <strong>of</strong> them; this function is the way to map how far each individ-<br />
ual is from the desired goal. It can weight in different ways many aspects <strong>of</strong> the final<br />
result, i.e. giving more importance to solutions generating a better match in a certain<br />
range <strong>of</strong> frequencies or penalizing more the individuals that do not produce a desired<br />
characteristic, such as a resonating frequency if the goal is to match an impedance with<br />
that behaviour.<br />
The Fitness Function used for the impedance matching in this work consists <strong>of</strong> the in-<br />
tegral <strong>of</strong> the error between the measured reference impedance versus the frequency<br />
and the relative simulated one with the parameters chosen by the GA, this is visually<br />
represented by the area between the reference and the simulated impedance. Because<br />
the impedance is a complex number, this area is calculated twice, once for the real and<br />
once for the imaginary part, these two numbers are successively added to get the final<br />
error. Fig. 3.1 shows the area so calculated, in this case just for the real part <strong>of</strong> the<br />
impedance. The reference and the simulated impedance points might not be sampled<br />
at the same frequency, so a process <strong>of</strong> interpolation takes place and subdivide the se-<br />
ries <strong>of</strong> data at all the vertex <strong>of</strong> either <strong>of</strong> the two curves, to obtain eventually two set<br />
<strong>of</strong> values sampled at the same frequencies. In this example the algorithm for the error<br />
integration calculates the total area given by the five subsections shown in alternate<br />
colors and patterns, every area can only be either a trapezium (third and fifth case) or<br />
the double opposite triangle (first, second and fourth case); this is because it is defined<br />
by 4 segments, two <strong>of</strong> witch have to be parallel, representing the frequency subdivision<br />
in the impedances, that have been adjusted to be the same. To distinguish between the<br />
two cases and pick the right formula, the algorithm simply checks if the reference and<br />
the simulated impedance values cross each other or not.<br />
34