Fuzzy Control for DFIG in Micro-grids
Fuzzy Control for DFIG in Micro-grids
[Link]
400
play mode (Nikkhajoei& Lasseter, 2009). The Micro-grid Central Controller (MGCC)
optimizes the micro-grid operation and the Distribution Management Systems (DMS)
optimizes multiple MGCC which are interfaced in. As the proposed controller in this
chapter is based on local information it comprises the MC of the micro-grid.
The usual peer-to-peer controller of the DGs converters uses the power vs. frequency droop
characteristics in order to produce the active and reactive power reference combined with
classical PI controllers, as it is mentioned in the review of state-of the- art controllers in
(Meiqin et al., 2008). In (Shahabi et al., 2009), the classical active power regulation takes into
account the phase-locked loop (PLL) dynamics in order to prevent major oscillations from
happening when a transition between grid connected mode and autonomous operation
mode takes place. In (Brabandere et al., 2007) the primary, secondary and tertiary control
algorithms are designed and tested in an experimental setup. The local controller uses the
classical droop equation while the secondary and tertiary controllers aim at power quality
and economic optimization respectively. The converters of the DGs communicate via the
Internet. In (Nikkhajoei& Lasseter, 2009) the classical control is applied giving emphasis to
the storage device algorithm, so that all micro sources have unified dynamic performance.
In (Nishikawa et al., 2008) the classical local controller applied to the converters of a DFIG is
combined with a pitch controller for a better dynamic response of a micro-grid at the mean
voltage side. In (Katirarei & Iravani, 2006), the active power regulation is achieved through
the classical controller combined with a frequency restoration strategy while three different
strategies for reactive power regulation are adopted. The micro-grid dynamic behavior and
the parameters of the DGs are mathematically investigated.
The droop equation combined with classical control can lead, under certain operational
conditions, the micro-grid to instability while the stability enhancement for these cases
needs sophisticated calculations (Mohamed& El- Saadany, 2008). In addition, the nonlinearity of the micro-grid makes the implementation of fuzzy logic controllers at the DGs
converters an attractive proposal. Moreover, fuzzy logic facilitates the plug and play
operation for the DGs as the needed adjustments are minor due to the flexibility of fuzzy
logic and easier due to the linguistic variables used.
This chapter presents a fuzzy based local controller so that a WT with DFIG is integrated
into a micro-grid which is connected to a weak distribution grid. The micro-grid under
study is simulated with Matlab/Simulink software, considering a micro-grid as it is
described in (Meiqin et al., 2008). The micro-grid includes a hybrid fuel cell-battery system
and a WT with DFIG. Firstly the micro-grid response is recorded, when a local disturbance
(step load change) happens and secondly, when a transition from interconnected mode to
islanding operating mode occurs. In a few seconds the grid is reconnected and the
controllers performance is evaluated again.
In the following section the micro-grid architecture is presented. In the fourth section the
WT with the DFIG system is presented and some key points about its operation are
discussed. In the fifth section, the designed controller based on fuzzy logic is analyzed. In
the sixth section the simulation results are presented and the last section concludes the
chapter.
2. Micro-grid structure
The micro-grid concept was put forward in 2001. Since then several micro-grids with multienergy generators (MGMEG) and storages have been built in labs in universities and
[Link]
401
institutes all over the world (Meiqin et al., 2008). The majority of the DGs are connected to
the micro-grid via electronic converters e.g. voltage source inverters (VSI). Internal
combustion engines, gas turbines, micro turbines, photovoltaic, fuel cells and wind turbines
constitute different technology micro sources. Micro sources have different dynamics
depending on the prime mover size and the technology used. In this chapter the structure of
the simulated micro-grid resembles those developed in the labs and includes two different
micro sources (Fuel Cell System (FCS)-Battery and WT with DFIG). The reasons that led to
the selection of these micro sources and especially of the WT with the DFIG will be
explained later in details. As seen in (Bathaee & Abdollahi, 2007), the micro-grid architecture
that combines different DGs is more practical as the storage device equipment or
controllable loads can be reduced. The FCS (with proton exchange membranes (PEM)), that
is combined with a battery bank forming a hybrid system, is connected to the AC feeder via
a VSI and the WT with DFIG is connected directly to the feeder. In both DGs the peer-topeer controller is based on fuzzy logic and the VSI local controllers are designed in plug
and play operation mode. The designed controllers for the hybrid system are presented in
a former paper of the authors and the controllers of the WT with DFIG are presented in
section 5 of this chapter. The peer-to-peer controllers imply that through the electronic
interface the DGs can provide the local grid with the demanded active and reactive power in
absence of a central controller and communication links among micro sources. The plug
and play operation mode implies that a micro source can be added to the micro-grid
without reengineering the control and protection of units that are already part of the system.
It is expected that in steady state a micro-grid central controller should coordinate DG to
optimize operation, minimizing active power losses and maintaining flat voltage profile.
The structure of the micro-grid under study is presented in Fig. 1. The micro-grid data are
given in the following.
[Link]
402
WT with DFIG: The parameters of the electric models were adopted from SimPowerSystems
library of Matlab/Simulink.
Doubly Fed Induction Generator: 75 kW, 400 V, 50 Hz, 1484 rpm, H=0.2, F=0.012, p=2.
WT: nominal mechanical output power: 80 kW, base wind speed: 12 m/sec, nominal rotor
speed: 18rpm.
Distribution lines: AAAC type (4*185), X=0.236 /km, R=0.204 /km
AC system: 380 V, 50 Hz, base p.u.:100 kW, 380 V.
R-L load1: 37kW, 13kVar, 380 V
R-L load2: 36kW, 10kVar, 380 V
Squirrel- Cage Induction Motor: 20hp, 400 V, 50 Hz, 1460 rpm
The active and reactive power can be controlled independently via the current of the
rotor.
The magnetization of the generator can be achieved via the rotor circuit and not
necessarily via the grid.
The DFIG is capable of producing reactive power that it is delivered through the gridside converter. Usually, this converter operates under constant unity power factor and
it is not involved in reactive power trading with the grid. Also, the DFIG can be
regulated in order to produce or consume a certain amount of reactive power. This way,
the voltage control is achieved in cases of weak distribution grids.
The converter size is not determined according to the total power of the generator but
according to the decided speed range of the machine and therefore the slip range. For
example, if the speed range is controlled between 30% of the nominal speed, the
nominal power of the converter is equal to the 30% of the nominal power of the
generator. The selected speed range is decided according to the economical
optimization and the increased performance of the system.
In the present study, the WT with the DFIG has been selected for integration into the microgrid whose structure has already been presented. Beyond the technical advantages that the
DFIG system presents, the practical reasons that led to this selection are the following:
The micro-grid can operate under islanding mode either because of a fault at the mean
voltage side or because of grid maintenance. Therefore, the microsources have to
support the local grid in active and reactive power without stalling. But the
microsources based on different technologies, have varying time constants. So, slow
response microsources co-exist with fast response microsources in the same micro-grid
structure for reliability purposes. In this study, the hybrid FCS has large time constant.
The existence of the WT with the DFIG in the same micro-grid prevents the hybrid
system from stalling during disturbances as the kinetic energy stored in the moving
parts of the WT is exploited.
As already mentioned, the control of DFIG is remarkably flexible through the electronic
devices supporting the frequency and the voltage of the local grid. A well designed
control can lead to greater power delivery (exploiting the machine inertia) than in any
other type of WT.
[Link]
403
The DFIG technology decouples the electrical from the mechanical parts. So, in cases of
frequency fluctuations of the grid, the operation of the WT with the DFIG is not affected
except from the case that the control imposes a different operation. This way, the WT
with DFIG can change smoothly through different operating modes when this is asked
by the control system. The last is useful in the micro-grid concept.
R2v3Cp( , )
(1)
with being the air density, R the effective area covered by the turbine blades, v the mean
value of the wind speed at the height of the rotor axis, Cp the power coefficient of the wind
turbine and the pitch angle.
The tip speed ratio is defined as:
=wR/
[Link]
(2)
404
(3)
(4)
[Link]
405
Fig. 4. Active power and rotation speed during the deceleration technique (Janssens et al.,
2007).
On the contrary, during the acceleration technique, the desirable active power is delivered
immediately. This advantage is of great significance as it prevents the stalling of micro
sources with large time constants such as FCS during transients. This phenomenon is
presented in Fig.5. The active power overshooting is noticed due to the absorption of the
kinetic energy during acceleration.
[Link]
406
Fig. 5. Active power and rotation speed during the acceleration technique (Janssens et al.,
2007).
subsystems establish a non linear FCS. In addition, the presence of non linear and crosscoupling terms of the DFIG dynamics form a micro-grid intensively non linear. Some key
points of great significance for the system efficiency and performance outlined below
enhance the application of a fuzzy based intelligent control. As for the hybrid FCS, it is
significant for the compressor motor controller to have a good dynamic response during fast
load changes so that the FCS voltage does not drop dramatically leading to oxygen
starvation. Secondly, the controller for the system self-powering has to act simultaneously
with the fuel flow control achieving stability and accuracy while minimizing overshooting
and current rippling. The VSI controllers of the WT with DFIG and of the hybrid FCS have
to meet the same requirements too. The design of the fuzzy controllers does not require a
precise mathematical modeling or sophisticated computations that in many cases lack of
efficiency and good performance. The last remark makes fuzzy logic suitable and practical
in real systems where the engineer tunes the local controller easier via the linguistic
variables (easy engineering).
The fuzzy controllers are designed from a heuristic knowledge of the system. Of course,
they are thoroughly iterated by a system simulation study in order to be fine tuned. The
advantage of this method is the fast convergence as it provides adaptively decreasing step
size in the search of the adequate output. Besides, noisy and varying input signals do not
affect the search. So, the weights of the membership functions (MFs) of every controller
were chosen after qualitative knowledge of the simulation system. Triangular MFs were
chosen as the most popular type providing satisfactory results. It can be seen in the
following section that the MFs are asymmetrical, giving more sensitivity as the variables
approach zero values. The defuzzification method that is followed is the Centre of Area
(COA) defuzzifier.
4.2 Fuzzy local controllers
The current control of a machine is achieved mainly by means of vector control in a dq
frame. The same technique is adopted in this chapter. The desired dimensions are firstly
converted into vector components and secondly they are converted in AC components in
order to be used in the PWM technique. In order to control the rotor current of a WT with
DFIG by means of vector control, the reference frame has to be aligned with a flux linkage.
One common way is to control the rotor currents with stator-flux orientation. If the stator
resistance is considered to be small, stator-flux orientation is aligned with stator voltage. The
[Link]
407
3
3
3
L
uds i ds + u qs i qs = u qsi qs = - u qs m i qr
2
2
2
Ls
-L i
3
3
3
Q s = u qsi ds - uds i qs = u qsi ds = u qs ds m dr
2
2
2
Ls
Ps =
(5)
As it can be seen, the active power is regulated via the q component of the rotor current and
the reactive power via the corresponding d component. The control configuration is shown
in Fig.6. Three fuzzy controllers (Fc) were designed in order to accomplish the desired
control. Due to the flexibility of the fuzzy logic the same fuzzy controller (Fc5a) with the
same membership functions (MFs), controls both d and q component of the rotor voltage.
The MFs weights are different though.
Fig. 6. General configuration of the control for the Rotor side Converter.
The classical maximum power point tracking control of the WT determines the reference
value of the power so that the generator speed has its optimum value for certain wind
speed. In this study, the deviation of the frequency measured at the DFIG output has been
incorporated into the active power controller and the generator speed is different from its
optimum value. Therefore the WT with DFIG can instantly supply more power to the local
grid in case of emergency by losing speed.
Fc3a: As seen in Fig. 6 the input of this controller is the deviation of the angular velocity
measured at the DFIG output from its reference. The output of the Fc3a is the deviation of
the q component (Iqrref) of the reference value of the rotor current, Iqrref. The Iqrref signals
are added together in every simulation step in order to comprise the Iqrref value (in p.u.)
according to the following equation:
[Link]
408
(6)
new
being the new value of the control signal and I old
where I qrref
qrref being the old value of the
control signal.
The fuzzy input variables of the Fc3a are expressed by the following linguistic variables: :
very positive (VP), medium positive (MP), positive (P), ok (OK), negative (NEG),
medium negative (MNEG), very negative (VNEG). The fuzzy variables of the output of
the Fc3a are expressed by the following linguistic variables: high positive (POS_H),
medium positive (POS_M), low positive (POS_L), ok (OK) ,high negative
(NEG_H), medium negative (NEG_M), low negative (NEG_L). The membership
functions of the input and the output are shown in Figs. 7 and 8 respectively.
V N E G
- 0 .5
- 0 .4
M N E G
- 0 .3
- 0 .2
N E G
O K
- 0 .1
M P
0 .1
0 .2
V P
0 .3
0 .4
0 .5
- 0 .2
N E G _ M
N E G _ L
- 0 .1 5
- 0 .1
O K
- 0 .0 5
P O S _ M
P O S _ L
0 .0 5
0 .1
P O S _ H
0 .1 5
0 .2
VP
MP
OK
NEG
MNEG
VNEG
Fc3a
Output
POS_H
POS_M
POS_L
OK
NEG_L
NEG_M
NEG_H
[Link]
409
Vrd). The Vrq or Vrd signals are added together in every simulation step in order to
comprise the Vrq or Vrd value (in p.u.) according to an equation similar to equation (6).
The fuzzy variables of the Fc5a are expressed by the same linguistic variables as [Link]
membership functions of the input and the output are shown in Figs. 9 and 10 respectively.
The 7 fuzzy rules of the Fc5a are the same as those of the Fc3a.
V N E G
-1
- 0 .8
M N E G
- 0 .6
N E G
- 0 .4
- 0 .2
O K
M P
0 .2
0 .4
V P
0 .6
0 .8
N E G _ H
-1
- 0 .8
N E G _ M
- 0 .6
N E G _ L
- 0 .4
- 0 .2
O K
P O S _L
0 .2
P O S _ M
0 .4
0 .6
P O S _ H
0 .8
M N E G
N E G
O K
M P
V P
- 0 .2
- 0 .1 5
- 0 .1
- 0 .0 5
0 .0 5
[Link]
0 .1
0 .1 5
0 .2
410
N EG _H
-1
-0 .8
N EG _M
- 0 .6
N EG _L
-0 .4
- 0 .2
O K
PO S_L
0 .2
PO S_M
0 .4
0 .6
PO S _H
0 .8
Ps
3
3
ugd i gd ugq i gq ugd i gd
2
2
3
3
Qs ugq i gd ugd i gq ugd i gq
2
2
(7)
The control configuration is shown in Fig.13. Two fuzzy controllers (Fc) were designed in
order to accomplish the desired control. Due to the flexibility of the fuzzy logic the same
fuzzy controller (Fc2a) with the same membership functions (MFs), controls both d and q
component of the grid voltage. The MFs weights are different though. This control regulates
the independent exchange of active and reactive power between the converter and the local
grid. The local controllers focus on regulating the dc link voltage and the ac grid voltage.
The d component of the converter current regulates the dc-link voltage and the q component
of the converter current regulates the reactive power.
Fig. 13. General Configuration of the control for the Grid side Converter.
[Link]
411
Fc1a: As seen in Fig.13 the input of this controller is the difference between the measured dc
link voltage and the reference value (Vdc,ref-Vdc). The output of this controller is the deviation
of the reference value of the d component of the output current (from the grid side) dgref.
The signal dgref is formed as already described.
The membership functions of the input and the output are shown in Figs. 14 and 15
respectively.
O K
N E G
4 0 0
3 0 0
2 0 0
-1 0 0
1 0 0
2 0 0
3 0 0
4 0 0
N E G _ M
N E G _ H
O K
P O S _ L
P O S _ M
P O S _ H
- 0 .2
- 0 .1 5
- 0 .1
- 0 .0 5
0 .0 5
0 .1
0 .1 5
0 .2
OK
NEG
NEG
NEG
Fc1
Output
POS_H
POS_M
POS_L
OK
NEG_L
NEG_M
NEG_H
[Link]
412
The membership functions of the input and the output are shown in Figs. 16 and 17
respectively.
O K
N E G
-1
- 0 .8
- 0 .6
- 0 .4
- 0 .2
0 .2
0 .4
0 .6
0 .8
N E G _ H
-1
N E G _ M
- 0 .8
- 0 .6
N E G _ L
- 0 .4
O K
- 0 .2
P O S _ L
0 .2
P O S _ M
0 .4
0 .6
P O S _ H
0 .8
5. Simulation results
The data for the micro-grid are already given. In steady state the micro-grid is
interconnected with the distribution grid and the initial steady state is the same for both
cases studied. The R-L loads absorb their nominal active and reactive power and the
induction motor operates at a slip of 2% and absorbs 10kW and 3kVar. 14% of the active
power and almost a 100% of the reactive power of the loads are fed by the distribution grid.
The DFIG feeds almost the 65% of the demanded active power and the hybrid system feeds
the rest 21%. The DGs dont provide the loads reactive power during the interconnected
mode of operation. The p.u. bases are: P =100 kW, V =380 V.
5.1 Local disturbances under grid-connected mode
At 0.5 sec, a step change of the mechanical load of the induction generator is imposed. The
mechanical load is tripled and the DGs are offering ancillary services. The load sharing
between the two DGs depends firstly on the dynamic response of each micro source and
secondly on the weights of the MFs of the local controllers. In Fig.18, the measured
frequency in steady state and during transient is presented. At 0.5 sec, the frequency drops
due to the unbalance of active and reactive power in the system and returns to its nominal
value after some oscillations within less than 0.5 sec. In Fig.19, the measured voltage at the
point of common coupling (PCC) in steady state and during transient is presented. At the
0.5 sec, the voltage drops due to the unbalance of active and reactive power in the system
and returns to its nominal value after some oscillations within 0.5 sec.
[Link]
413
Fig. 20. The delivered active power by the weak distribution grid.
[Link]
414
Fig. 21. The delivered active power by the WT with the DFIG.
Fig. 23. The delivered reactive power by the weak distribution grid.
[Link]
415
hybrids FCS output is presented. Note that the fast response of the hybrid FCS is due to the
existence of the battery at the dc-side. In the new steady-state the power demand has raised
almost 26%. In total, the distribution grid covers the 29% of the active power demand, the
WT covers the 51% and the hybrid FCS covers the remaining 20 %.
In Figs.23-25 the delivered reactive power by the grid, by the WT with the DFIG and by the
hybrid FCS at the inverters output are presented.
Fig. 24. The delivered reactive power by the WT with the DFIG.
Fig. 26. The battery bank current in steady state and transient period.
[Link]
416
In Fig.26 the battery bank current is presented. The battery bank current increases rapidly,
in order to supply the battery the demanded power and returns to zero within 2 sec. In
Fig.27, the FCS active power is presented. The FCS active power increases slowly in order to
cover the total load demand and reaches a new steady state within 2 sec.
Fig. 28. The WT rotor speed in steady state and during transients.
In Fig.29, the control signals of the rotor side controller are presented in the same graph.
[Link]
417
5.2 Transition from grid-connected mode to islanding operating mode and transition
from islanding operating mode to grid-connected mode
The initial steady state is the same as in the previous study case. At 0.5 sec, the grid is
disconnected due to a fault at the mean voltage side or because of an intentional
disconnection (e.g. maintenance work) and the micro sources cover the local demand. At 1.5
sec, while the system has reached a new steady state, the distribution grid is re-connected
and finally a new steady state is reached. Note that, a micro-grid central control should lead
the system to an optimal operation later.
In Fig.30, at 0.5 sec, the frequency drops due to the unbalance of active and reactive power
in the system caused by the grid disconnection. The signal returns to its nominal value after
some oscillations within 1sec. A small static error from the nominal value occurs but it is
within the acceptable limits. At 1.5 sec. the distribution grid is re-connected with the microgrid. An overshooting of this signal can be observed due to the magnitude and phase
difference of the frequency of the two systems. Within 0.2 sec the micro-grid is synchronized
with the distribution grid and the frequency reaches its nominal value of 50 Hz.
[Link]
418
In Fig. 32-34 the delivered active power by the grid, by the WT with the DIFG and by the
hybrid FCS at the inverters output are presented. In Fig.32 the distribution grid is
disconnected at 0.5 sec and is reconnected at 1.5 sec. In Fig.33 and 34, at 0.5 sec, the WT with
the DFIG and the hybrid FCS increases the delivered power in order to eliminate the
unbalance of power. At 1.5 sec, the grid is reconnected and the microsources are forced to
regulate their delivered power so that the voltage and the frequency return to their nominal
values.
Fig. 32. The delivered active power by the weak distribution grid.
Fig. 33. The delivered active power by the WT with the DFIG.
[Link]
419
In Figs.35-37 the delivered reactive power by the grid, by the WT with the DFIG and by the
hybrid FCS at the inverters output are presented.
Fig. 35. The delivered reactive power by the weak distribution grid.
Fig. 36. The delivered reactive power by the WT with the DFIG.
[Link]
420
Fig. 38. The battery bank current in steady state and transient period.
Fig. 40. The WT rotor speed in steady state and during transients.
In Fig.41, the control signals of the rotor side controller are presented in the same graph.
6. Conclusion
This chapter proposes a local controller based in fuzzy logic for the integration of a WT with
DFIG into a micro-grid according to the plug and play operation mode. The designed
[Link]
421
7. Acknowledgment
The authors thank the European Social Fund (ESF), Operational Program for EPEDVM and
particularly the Program Herakleitos II, for financially supporting this work.
8. References
Bathaee, S.M.T.; Abdollahi, M.H.(2007). Fuzzy-Neural Controller Design for Stability
Enhancement of Microgrids, Proceedings of UPEC 2007 42nd International Conference
on Power Engineering, pp. 562-569, ISBN 978-1-905593-36-1, Brighton, Sept. 4-6, 2007
Bousseau, P; Belhomme, R.; Monnot, E; Laverdure, N; Boda, D; Roye, D; Bacha, S.(2006).
Contribution of Wind Farms to Ancillary Services. CIGRE 2006 Plenary Session,
Paris, report C6-103
Brabandere, [Link]; Vanthournout, K.; Driesen, J.; Deconinck, G & Belmans, R. (2007). Control
of Microgrids, Proceedings of Power Engineering Society General Meeting IEEE, pp. 1-7,
ISBN 1-4244-1296-X, Tampa, June 24-28, 2007
Janssens, N. A.; Lambin, G; Bragard, N. (2007). Active Power Control Strategies of DFIG
Wind Turbines, Proceedings of IEEE Power Tech 2007, pp. 516-521, ISBN 978-1-42442189-3, Lausanne Switzerland, July 1-5, 2007
Katirarei, F. & Iravani, M. R. (2006). Power Management Strategies for a Microgrid With
Multiple Distributed Generation Units. IEEE Transactions on Power Systems, vol.21,
No.4, (November 2006), pp.1821 1831, ISSN 0885-8950
Meiqin, M.; Chang, L.; Ming, D. (2008). Integration and Intelligent Control of Micro-Grids
with Multi-Energy Generations: A Review, Proceedings of ICSET 2008 on Sustainable
Energy Technologies,pp.777-780, ISBN 978-1-4244-1887-9, Singapore, Nov.24-27, 2008
[Link]
422
[Link]
ISBN 978-953-307-508-2
Hard cover, 422 pages
Publisher InTech
How to reference
In order to correctly reference this scholarly work, feel free to copy and paste the following:
Christina N. Papadimitriou and Nicholas A. Vovos (2011). Fuzzy Control of WT with DFIG for Integration into
Micro-grids, Fundamental and Advanced Topics in Wind Power, Dr. Rupp Carriveau (Ed.), ISBN: 978-953-307508-2, InTech, Available from: [Link]
InTech Europe
InTech China