Название: Smart Grids and Micro-Grids
Автор: Umashankar Subramaniam
Издательство: John Wiley & Sons Limited
Жанр: Физика
isbn: 9781119760603
isbn:
Figure 2.5 Waveforms under the condition when battery-converter system is connected to microgrid.
Figure 2.6 Waveforms under the condition when battery-converter system is in islanded mode.
Figure 2.7 Three-phase inverter interfacing battery to grid.
Figure 2.8 Controller for inverter interfacing battery to grid.
In order to address the above requirements, the controller should have a provision to work under the mode dictated by EMS. One typical configuration of such a controller is shown in Figure 2.8. For an AC system, the variables to be regulated are a sinusoidal function of time and hence the closed-loop control system must have a sufficiently large bandwidth for tracking the variables. To transform variables to dc quantities for achieving zero steady-state error by using a PI controller and decoupling the regulation of real power and reactive power, the converter is controlled in the synchronous frame (d-q) [14].
When Modecommand = 1 (the converter is in grid-connected mode), the battery is supposed to supply active or reactive power to the grid. The reference power (Pref, Qref) that has to be supplied by the battery-converter system is obtained from the energy management system of the microgrid. The instantaneous active (P) and reactive powers (Q) supplied by the converter system can be expressed in a d-q frame as
(2.17)
(2.18)
Where Vs, id, and iq are PCC voltage on d-axis, output current on d-axis, and output current on q-axis, respectively. As the grid-connected converter act as current source, the reference grid current (id(ref), iq(ref)) to be fed can be obtained using relation
(2.19)
(2.20)
The inner current loop is designed to track the reference current (id(ref), iq(ref)) and it generates the PWM gating signal for switches of the converter. The current loop needs angle ρ ( to convert quantities from the d-q frame back to abc frame) information, which is obtained from the Phase-locked loop of the system. When the battery SOC is low, then the reference active power is negative (Pref = -ve and Qref = 0) to charge the battery.
When Modecommand = 0, the microgrid is in islanded mode and the voltage at PCC has to be regulated to a reference voltage. The battery is supposed to supply active or reactive power to the grid to maintain the PCC voltage. The current reference ( (id(ref), iq(ref)) is obtained from an outer voltage loop. The outer voltage loop ensures that the PCC voltage is maintained at its reference value. The modeling of the converter and design of the controller under different modes is discussed in the next section.
2.5.2.1 Modelling and Control of the VSI
The AC voltage of the PCC is expressed as
(2.21)
Applying Kirchhoff ’s voltage equation in the phase, we get
(2.22)
(2.23)
(2.24)
To transfer the above system to synchronous reference frame, the following transformation need to be performed
(2.25)
Where Tabc2αβ, Tαβ2dq and θ are known as Clark transformation, Park transformation, and the phase angle of the grid which is obtained from PLL, respectively. The resulting system after transformation is given by
(2.26)
(2.27)
Where vsd, ud and id are PCC voltage, VSC output voltage and output current on d-axis, respectively. uq and iq are VSC output voltage and output current on the q-axis, respectively. One can notice from equation (2.26) and (2.27) that the system is converted to an LTI system having some coupling states. A simple control law to decouple the term is given by
(2.28)
Where vid and viq are the feedback control input. for obtaining zero steady-state error, PI controller is applied to control input
(2.29)
Where eid = (id(ref) – id), eiq = (iq(ref) – iq), Kpi,d, Kii,d, Kpi,q and Kii,q are parameters/gains of PI controller for d-axis current and q-axis current controller. Since the system model is LTI, it can be easily analysed and the current controller can be easily designed using linear control techniques.
For the case when the microgrid in islanded mode, the converter has to regulate the voltage at PCC. By applying Kirchhoff’s law at the PCC voltage and applying the d-q transform on the resulting equations, one would obtain
(2.30)