18.07.2013 Views

PDF (Thesis) - Nottingham eTheses - University of Nottingham

PDF (Thesis) - Nottingham eTheses - University of Nottingham

PDF (Thesis) - Nottingham eTheses - University of Nottingham

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 3: HF MODELLING STRATEGY<br />

Figure 3.3: HF Motor model in Simulink with topology toggling resistors<br />

It is clear that it will take quite some time when the number <strong>of</strong> variables is more than<br />

10, as in the case <strong>of</strong> the HF model <strong>of</strong> an induction motor. Furthermore, in the case that<br />

a different circuit topology needs to be considered, the equations need to be re-written<br />

all over again even if just a single component has to be added or removed.<br />

A good compromise solution finally adopted was to use the Simulink tool PowerSim<br />

to implement the HF circuit and, rather than recalling iteratively the simulink circuit<br />

simulations, theÐÒÑÓcommand has been used in the GA script. This method pro-<br />

duces the state space matrices <strong>of</strong> the network between an input and an output port.<br />

Therefore adding to this network a voltage controlled source as input and measuring<br />

a current as an output, and eventually using Ohm’s law, will generate exactly the required<br />

transfer function that represents the impedance <strong>of</strong> a function <strong>of</strong> frequency (Fig.<br />

ÑÔ×ÖÕ℄Ó ℄ÐÒÑÓÅÓÐÆÑ ×ØØ×Ô×× Ø×ØØ×ÔÖ Ô <br />

3.3). So, providing that the HF circuit model is in a simulink file, the following three<br />

lines <strong>of</strong> code will implement the procedure previously described:<br />

Here the ss function initializes the "statespace" variable with the state-space model ob-<br />

tained from the four matrices and the tf function transforms again this model into a<br />

transfer-function one. This latter model, together with the frequency reference "Fref",<br />

is eventually passed to the bode function giving three vectors as results: magnitude<br />

and phase <strong>of</strong> the impedance and a vector with the values <strong>of</strong> frequency for each <strong>of</strong> the<br />

37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!