Control and Design of Microgrid Components - Power Systems ...
Control and Design of Microgrid Components - Power Systems ...
Control and Design of Microgrid Components - Power Systems ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
works with an internal voltage level that can be ± 3.3 V or below <strong>and</strong> the internal oscillator can<br />
generate a frequencies up to 40MHz.<br />
The basic concept in the DSP implementing architecture is that there is a main routine that is<br />
executed once every period <strong>of</strong> the switching frequency, 4kHz. This routine implements the<br />
control <strong>and</strong> the gate pulse generator. The Interrupt controller is the overseeing scheduling<br />
manager that decides when a program starts running according to a preassigned priority. Figure<br />
6.8 shows the priority <strong>of</strong> the programs that are running inside the DSP.<br />
Interrupt<br />
<strong>Control</strong>ler<br />
Microsource <strong>Control</strong><br />
<strong>and</strong> Gate Pulse<br />
Generator<br />
Higher<br />
Priority<br />
NOP<br />
Figure 6.8 Interrupt Routine Queue.<br />
The lowest priority program is a No Operation (NOP) routine, substantially it is a main function<br />
with an empty body. The higher priority program returns control to the Interrupt controller after<br />
it is done. When the NOP routine ends, the Interrupt controller immediately starts it again: in this<br />
case the processor is kept in a st<strong>and</strong>-by, or busy-wait state. NOP has the lowest priority <strong>and</strong> can<br />
be interrupted at any time.<br />
The Interrupt control will generate a request to run the control block operation <strong>and</strong> gate pulse<br />
generation routine four thous<strong>and</strong> times every second. In this way, gate pulses are generated at a<br />
frequency <strong>of</strong> 4kHz: this is the frequency at which switching positions change. As soon as the<br />
gate pulses calculation is active the NOP is frozen in time <strong>and</strong> the processor stores the position in<br />
memory from where it was interrupted. The Interrupt control will generate a request to run the<br />
NOP routine from exactly the point where it was stopped as soon as the routine that implements<br />
the control <strong>and</strong> pulse generation has returned from execution.<br />
6.4 Gate Pulse Implementation with Space Vector Modulation<br />
This section describes the implementation based on the synthesization <strong>of</strong> a desired voltage<br />
vector. This operation results in a constant switching frequency <strong>and</strong> is typically referred in the<br />
literature as space vector modulation technique.<br />
The inverter is represented in Figure 6.9: it is the simplest configuration possible, with one single<br />
level <strong>of</strong> six power electronic devices connected to a DC ideal voltage source. The gates <strong>of</strong> the<br />
silicon devices can be controlled independently, but there are some constraints that limit the<br />
choices on the possible positions. For instance, two switches on the same leg (such as g 1 <strong>and</strong><br />
85