MGS Paper54
MGS Paper54
By signing this document, each member of the group confirms that all participated in the project
work and thereby all members are collectively liable for the content of the report.
Preface
This 10th semester report is conducted at The Institute of Energy Technology in Aalborg Univer-
sity. It is written by group WPS4-1050 during the period from 2nd of February to 3rd of June
2009. The project theme with the title "Vector control of PMSG for grid-connected wind turbine
applications" is the continuation of the 9th semester project which was proposed by SIEMENS
Wind Power. The motivation of choosing this project is the increasing wind energy penetration
into the power networks and therefore the necessity to implement proper control systems.
The authors are especially grateful to Mihai Ciobotaru, the supervisor of this project, which pro-
vided great help to the development of this work. Furthermore the help of Florin Iov is appreciated.
We also acknowledge the help of our college Anca Maria Julean.
I
Nomenclature
List of symbols
III
vd vq dq-axis voltages [V]
id iq dq-axis currents [A]
θ PLL output angle [rad]
γ grid angle [rad]
ωgrid grid angular frequency [rad/s]
Kp Proportional gain []
Ti Integral time []
Ka Anti-windup gain []
e(t) error in time domain []
Kpv Proportional gain of voltage controller []
Kpc Proportional gain of current controller []
Tsw Switching period [s]
m Modulation index []
Ts Period of the sampling frequency [s]
Tpwm Period of the switching frequency of the PWM [s]
fs Sampling frequency [Hz]
IV
Abbreviations
V
Contents
1 Introduction 1
1.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Problem definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Project goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4 Project limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.5 Project outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
5 Experimental setup 81
5.1 Setup description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
5.2 Study cases and results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
6 Conclusions 87
A Matlab models 90
A.1 Voltage Source Converter model . . . . . . . . . . . . . . . . . . . . . . . . . . 90
A.2 Space Vector Modulation model . . . . . . . . . . . . . . . . . . . . . . . . . . 91
A.3 Grid model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
A.4 PLL tuning model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
A.5 dq and αβ control models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
VII
CONTENTS
B Project proposal 97
VIII CONTENTS
Introduction
1
In this chapter, the background gives to the reader a general vision of the project. The problem
is defined, the goals are listed, project limitations are mentioned and finally the project outline
summarizes the structure and content of the report.
1.1 Background
The renewable energy sources are one of the biggest concerns of our times. High prices of oil
and global warming make the fossil fuels less and less attractive solutions. Wind power is a very
important renewable energy source. It is free and not polluter unlike the traditional fossil energy
sources. It obtains clean energy from the kinetic energy of the wind by means of the wind turbine.
The wind turbine transforms the kinetic wind energy into mechanical energy through the drive
train and then into electrical energy by means of the generator.
Although the principles of wind turbines are simple, there are still big challenges regarding the ef-
ficiency, control and costs of production and maintenance.Wind power is growing and most of the
wind turbine manufactures are developing new larger wind turbines. The power of wind turbines
built in 1980 was 50 kW and the rotor diameter was 15 m long. In 2003 they had the power of 5
MW and the size of the rotor diameter was 124 m [7].
There are different wind turbine configurations. They can have or not gearbox, the generator can
be synchronous or asynchronous and finally the connection with the grid can be through a power
converter or be directly connected. Different modes of operation can be used depending on the
wind turbine configuration. They are classified in variable-speed and fixed-speed. For fixed-speed
operation, the system is very simple and thus the cost is usually low. As a drawback, the conver-
sion efficiency is far from optimal. Normally an asynchronous generator is used and it is directly
connected to the grid. For the variable-speed operation, maximum efficiency is obtained; the sys-
tem is controlled to maximize the power extracted from the wind. Normally they are connected to
the grid by means of a power converter. It increases the cost of the whole system but allows full
controllability of the system. Among all these configurations, the trend is to use variable-speed
wind turbines because they offer more efficiency and control flexibility which is becoming very
important to comply with the grid requirements.
The generator is directly connected to the grid through a full scale back-to-back power converter.
The power converter decouples the generator from the grid. With a full scale power converter,
there are more losses which may be a drawback but it allows a full controllability of the system.
With the use of the power converter it is possible to comply with the grid connection requirements.
1
1.2 Problem definition
The full scale back-to-back converter can be divided in two parts: the generator side converter
and the grid side converter. The generator side converter is mainly used to control the speed of
the generator in order to maximize the output power at low wind speeds. The grid side converter
is mainly used to keep the voltage in the DC-link capacitor constant and also to control the reac-
tive power delivered to the grid. Nowadays different techniques are used to control the grid side
converters. In this project vector control has been used.
In the first part of the project, 9th semester, the focus was on the speed control of the PMSG
and to maximize the obtained power. In this project, 10th semester, the focus is on the control
of the grid side converter, in order to control the power delivered to the grid and to comply with
the grid requirements. PMSG studied in the previous project works in variable speed range and
it is connected to a full scale power converter. The power converter is controlled so that the
output power is maximized and the power delivered to the grid complies with the interconnection
requirements. Consequently it is clear the importance of an efficient control strategy. This is very
much important especially in the case of wind power applications in which the wind varies quickly
and in an unpredictable way. With a full scale back-to-back power converter is possible to have
the generator running at any speed within some certain range and to have a fixed frequency on the
grid side.
2 1. Introduction
1.5 Project outline
The system implementation chapter describes the components of the system. The generator is
connected to the grid through a back-to-back converter, a filter and a transformer. The basics of
each one are explained by means of the main equations and schemes. Finally this chapter ends
with an overview of the Danish grid codes.
The control system chapter describes the two main control strategies used in the project. Later the
method used to synchronize the grid voltage with the control is explained and tested. Finally, the
procedure to tune the controllers in both strategies is explained and the obtained results are shown.
The analysis and simulation chapter is composed of a 2.4 MW model which is analyzed accord-
ing to grid requirements. Next, it will be shown the analysis and comparison of the two control
strategies for a 11 kW model, ending with a table which shows which strategy suits better in each
study case.
The experimental setup chapter, shows the implementation of the control strategies in the labora-
tory setup and the analysis of the obtained results.
Finally, the project ends with the conclusions and future work.
1. Introduction 3
1.5 Project outline
4 1. Introduction
System description
and implementation
2
In this chapter the main components of the system together with equations and schemes are ex-
plained. The system description contains the power converter, the Space Vector Modulation (SVM)
and the components of the grid connection. Finally the chapter ends with the explanation of some
grid requirements based on Danish grid codes.
2.1 Premise
The vector control of PMSG is divided in two parts, the generator side control and the grid side
control by considering a constant value for the DC-link voltage. The scheme of the wind turbine
system is shown in Fig. 2.1.
PMSG
DC AC
In the first semester of this academic year, the first part, which includes is the generator side
control, has been treated. The DC-link voltage has been considered constant [13]. In the second
semester the grid side control is treated.
As it can be seen in Fig. 2.2 the power flow can be bidirectional, either it can go to the generator
or to the grid. Therefore the VSC can work as a rectifier or as an inverter. At first step the AC is
converted to DC through the generator side converter. Next, the DC is converted to AC through
the grid side converter. Therefore in this case the generator side converter works as a rectifier and
the grid side converter works as an inverter. The DC-link voltage must be higher than the peak
main voltage and it is regulated by controlling the power flow to the AC grid. In fact one important
5
2.2 Power converter
Generator Grid
side converter side converter
AC + AC
Cdc Vdc
-
AC DC DC AC
property of the back-to-back converter is the possibility of fast control of the power flow [15].
With the generator side converter it is possible to control the torque and the speed of the generator,
while the grid side converter keeps the DC-link voltage constant. The capacitor acts as filter for
the voltage variations or ripple produced by the VSCs [3].
The equivalent circuit of a VSC is shown in Fig. 2.3. In the circuit there is a full-bridge converter
having ideal IGBT’s as devices switches. The switching status variable D can have two values,
either 1 or 0. Conventionally in the conduction state the value of the switching function is 1 and
in the block state its value is 0. Based on the state of the switches, the VSC can assume eight
different configurations.
Grid
side converter
iDC
+
Generator Grid
side converter DA DB DC
Filter Transformer impedance V. source
AC ia
A
CDC VDC ib
B Y Δ
ic
C
-
0 VON
Based on the equivalent circuit in Fig. 2.3, for a star connected transformer in the low voltage
side, the line-to-line voltages are described by the equations 2.1-2.3.
The equation 2.4 is based on the assumption that the system is balanced. Next, the equation 2.5
shows the relation between phase voltages and the DC-link voltage.
vAN DA
vBN = vDC DB (2.5)
vCN DC
where vAN , vBN and vCN are the average phase voltages and DA , DB and DC are the switches status
at each leg respectively. The voltage between the star connection point N and the neutral point 0
is defined as in the following:
1 vDC
v0N = (vAN + vBN + vCN ) = (DA + DB + DC ) (2.6)
3 3
Regarding the equations 2.1-2.3, the phase voltages can be written as follows [11]:
vAN 1 0 −1 vAB
1
vBN = −1 1 0 · vBC (2.7)
3
vCN 0 −1 1 vCA
The current iDC is expressed in function of phase currents:
Regarding the simulations in MATLAB/Simulink, the model of the converter has been taken from
the Wind Turbine Blockset in MATLAB/Simulink [9]. In Fig. 2.4 it can be seen the black box of
the VSC with its inputs and outputs. In order to complete a back-to-back converter, two VSC are
put together through a DC-link. However, for the purpose of this project only the grid side con-
verter is considered. The MATLAB/simulink model and the mask of the converter is represented
Dabc i DC
v DC VSC
v abc
iabc
in appendix A.1. The modulation strategy used in this project is Space Vector Modulation (SVM)
with Pulse-Width Modulation (PWM) which is explained in the following section.
a two-dimensional α-β plane providing the duty cycles necessary for the control of the power
flow through the converter. SVM is very suitable for field-oriented control, since provides accu-
rate control of voltage amplitude, frequency and phase within every switching period. Furthermore
does not require separate modulators and calculation of zero-sequence signals as in third harmonic
PWM and it has higher utilization of the DC voltage than the sinusoidal PWM method [12].
With SVM all three-phase waveforms are generated simultaneously which is a good advantage
compared with when the phases are considered separately. The reference voltage vector is shown
in the following equation:
2 0
α van + α1 vbn + α2 vcn
V re f = (2.9)
3
where α is - 12 +j 23 and van , vbn and vcn are the phase reference voltages.
As mentioned in the previous section there are eight possible configurations for a three-leg VSC.
Six of them produce a non-zero output voltage and the other two produce zero output voltage [16].
The six non-zero voltage vectors can be represented as shown in Fig. 2.5.
Each voltage vector corresponds to a switch combination of the three switching status DA , DB and
DC explained previously. In Fig. 2.5 are depicted the six state voltage vectors with the needed
switching status to perform them. The areas between two state vectors are sectors, hence six
sectors are present. In this way the output voltage of the converter could be represented by an
equivalent rotating vector V re f with a counter clockwise direction, whose angle is represented by
θ [16]. Fig. 2.6 shows the switching pattern for the first sector.
where Tsw is the switching period. T0 is the time period left from a half switching period used
by the null voltage vectors. In sector 1 The pattern used is [0 0 0],[1 0 0], [1 1 0], [1 1 1] which
reduces the number of switching commutations in each transition. The time duration equation is
shown as follows:
T0 Tsw
= − T1 − T2 (2.10)
2 2
This reference voltage vector can be considered constant, for each switching period, if there is a
high switching frequency.
Finally, in Fig. 2.7 can be seen the three duty cycles a,b,c, in a complete period. The black box
shows the inputs as voltages in α-β reference frame and vDC as well as the duty cycles as the
outputs.
1
0.9
0.8
v *α 0.7
Duty cycles
0.6
S abc 0.5
v*β 0.4
SVM 0.3
v DC 0.2
0.1
0
0.8 0.81 0.82 0.83 0.84
Time [s]
Figure 2.7: Black box and the provided duty cycles from the SVM.
In order to obtain the switching functions necessary to feed the VSC gates, PWM is necessary.
PWM produces the gate signals or switching functions, by comparing the duty cycles with a car-
rier signal. In Fig 2.8 can be seen the black box of the PWM and the signal gates to apply the VSC.
1.5
1
Gate Signal leg A
0.5
S abc H abc 0
PWM -0.5
-1
-1.5
0.6 0.602 0.604 0.606 0.608 0.61
Time [s]
Figure 2.8: Black box and signal gates supplied by the PWM.
The Models of SVM and PWM are taken from the Wind Turbine Blockset in MATLAB/Simulink
[9]. The subsystems of the models and the masks are shown in the Appendix A.2.
Grid
Grid Side
Converter Voltage
Transformer
PCC source
DC Filter Impedance
AC
The output currents of the grid side converter contain the ripple caused by the switching. There-
fore, it has to pass through a filter in order to have a lower current THD (Total Harmonic Distor-
tion). After the filter a transformer brings the voltage to a proper value for the connection to the
transmission line.
2.4.1 Filter
L-filter
In case of a simple L-filter, it will be represented by an inductance and a small resistance which
takes into account the losses of the inductance. The filter is shown in Fig. 2.10.
Grid Side
Converter
VPCC
DC Lf Rf
If
AC PCC
Vf
1
F(s) = (2.13)
(sL f + R f )
LCL-filter
The filter scheme used to filter the grid currents is shown in Fig. 2.11.
Grid Side
Converter
VPCC
DC Lfi Rfi Lfg Rfg
Ii Ig
AC PCC
Rd
Vi
Cf
sRd C f + 1
H=
s3 L f g L f iC f + s2 L f g C f R f i + Rd + L f i C f R f g + Rd + s C f R f g R f i + R f g Rd + Rd R f i + L f g + L f i + R f g + R f i
(2.16)
In this this filter configuration, there is a resonance frequency and it occurs when the impedance
of the inductances becomes equal to the impedance of the capacitor. It can be calculated by using
the following equation:
s
Lfi + Lfg
ωres = (2.17)
L f i L f gC f
2.4.2 Transformer
At this point the voltage level has to be increased in order to be connected to the transmission line.
Therefore a transformer is used and it is connected to the PCC (Point of Common Coupling). The
ideal transformer has the following characteristics:
where LL and LH are the self-inductance of the primary and secondary. Lm is the mutual inductance
between the primary and secondary. In this project the primary is considered to be the low voltage
side and the secondary the high voltage side. Another important parameter of the transformer is
the turn ratio k which is given by the following expression [15]:
VH IL NH
k= = = (2.20)
VL IH NL
where NL and NH are the number of turns in the primary and secondary winding respectively. A
more detailed representation of the transformer is the equivalent circuit of the linear transformer
which is shown in Fig. 2.12.
IL RL LL LH RH IH
VL RM LM VH
In this report, for the simulations and calculations, all the plant parameters are considered on the
low voltage side of the transformer. Fig. 2.13 shows the equivalent circuit of the linear transformer
when the impedances of the high voltage side are brought on the low voltage side.
IL RL LL L’H R’H IH
VL RM LM VH
Figure 2.13: The equivalent circuit of the linear transformer with all the parameters on the low
voltage side.
The new values of the resistance and the inductance on the low voltage side are calculated in the
following way:
RH
R0H = (2.21)
k2
0 LH
LH = 2 (2.22)
k
A three-phase transformer can be considered as three separate single-phase transformers. Further-
more, depending on the type of the connection of the windings in the primary and secondary, there
are 4 different possibilities depending on if the connections are delta or star. Another important
factor to consider is the phase shift that occurs in some of three-phase transformer connections
which consists of a phase shift between the primary and secondary line-to-line voltages [3].
2.4.3 Grid
The grid can be presented with the Thevenin equivalent circuit. Each of the three phases can be
presented by the equivalent circuit shown in Fig. 2.14. The equivalent impedance (R-L) takes into
account the distribution lines.
Lg Rg
Ig
VPCC
Vg
dIg
Vg = Rg Ig + Lg +VPCC (2.23)
dt
where Vg is the grid voltage and Vpcc is the voltage of the PCC. When there is a connection to the
grid many considerations have to be taken. There are important factors regarding the control of
the important values and the grid requirements that regulate the operations. The amount of wind
energy penetration in the network is always increasing which brings big challenges to grid oper-
ators. Especially with the growing of the big wind farms of large capacity, the network is more
dependent on the wind energy which is fluctuating and not completely predictable.
For the simulations in MATLAB/Simulink, the model of the grid has been taken from the Wind
Turbine Blockset in MATLAB/Simulink [9]. In Fig. 2.15 it can be seen the black box of the grid
model with its inputs and outputs.
f
Grid model V pcc
Phase
I abc
The inputs are A which is the amplitude of the grid voltage, f the frequency, phase the phase and
Iabc the grid current. The output Vpcc is the voltage of the PCC. The MATLAB/simulink model
and the mask of the grid model is represented in the appendix A.3.
Finally, all Simulink models explained through this chapter has been connected in order to build
the grid side wind turbine model and therefore to be able to perform the simulations and analysis
of the system. The SVM and PWM models are included in the grid side controller. The model is
shown in Fig. 2.16.
GRID
Vw Twt ωm
Vw v abc
Wind Wind Turbine ω wt Drive-train PMSG
ω wt Filter
Pe habc habc
GENERATOR
GRID SIDE
SIDE
CONVERTER
CONVERTER
CONTROL
CONTROL
~
Vw ω m isd isq v DC iabc v abc
In this section the interconnection requirements based on the Danish grid codes will be explained.
Topics that will be treated are local frequency control, active and reactive power control, design
voltages and frequencies, fault ride-through capability and finally power quality.
Fig. 2.17 presents the frequency control characteristics. The continuous line shows the range
where the wind turbine can operate. It can also be decided to set a down-regulation operation. The
figure shows an example where it has been decided a 50% down-regulation. It means that under
normal operation the wind turbine will deliver 50% of the rated power. If the network operator
needs more power due to a frequency drop, the wind turbine can deliver more power in order to
stabilize the frequency of the grid. It will act in the opposite way if the frequency of the grid
increases. Dead-band is the frequency between 49.85 and 50.15 Hz.
In Fig. 2.18 the blue band represents the working zone of the wind turbine. Depending on the
active power production, the reactive power has to be between -0.1 and 0.1 in p.u. values.
Figure 2.18: The reactive power exchange between the wind turbine and grid [8].
A wind turbine has to be designed to give power for voltages and frequencies as it is shown in
Fig. 2.19. It is observed that a wind turbine will be working in normal operation when the values
of frequency are between 47 and 53 Hz and the voltage values are between 95% and a bit above
105%. If in some moment the frequency and voltage values change and go out of the above
mentioned range, the wind turbine will be disconnected from electrical network after the time
indicated in Fig. 2.19.
Figure 2.19: Voltages versus frequencies for design a Wind Turbine [8].
In normal operation a wind turbine will be disconnected from the grid when it will be working out
of the white area, although, there is a vertical lines area where it is possible to choose if it will be
or not disconnect of the grid, as it shown in Fig. 2.20.
Figure 2.20: Requirements for disconnection of wind turbines under voltage dips/sags [8].
In case of fault, a wind turbine shall not be disconnected from the electrical grid in the following
situations because after the time of short circuit it will be working in a normal operation:
In Fig. 2.21 the following notation is used: UHF as the upper-limit full-load and ULF as the
lower-limit full-load.
A wind turbine should have sufficient capacity to satisfy the mentioned requirements for the next
sequences:
Figure 2.21: Fault ride-through capabilities of wind turbines connected to the distribution system
[8].
For this case it is the same as before, after the time of short-circuit will be working in a normal
operation.
• Voltage quality
The limits of rapid voltage variations and long term flicker severity for different levels of voltages
are shown in Fig. 2.22.
In Fig. 2.23 the limits which can not be exceeded when the wind turbine is connected are pre-
sented. The first, third, ninth, fifteenth and twenty-first harmonics do not appear due to the fact
that the generator is using delta connection.
So far the main components of the system have been explained, grid connection requirements
according to danish grid codes have been included and they will be taken into consideration in the
chapter 4. The following chapter will explain the grid side converter control.
In this chapter two types of grid control strategies are explained. Then the PLL method to syn-
3
chronize the control with the grid is introduced and tested. Finally, the PI and PR controllers as
well as the process of tunning are described.
3.1 Introduction
The control system is an important issue for the wind turbine performance. It maximizes the
extracted power from the wind through all the components and also makes sure that the deliv-
ered power to the grid complies with the interconnection requirements. The control strategies are
applied in different parts of the wind turbine and they have different aims. The general control
scheme is shown in Fig. 3.1.
DC PCC
wind AC Filter
PMSG
DC AC
I v DC I
β ωm CONVERTER CONTROL
ω m* PG*
*
v DC QG*
One of the control strategies is located in the rotor blades. This control modifies the angle of
attack of the rotor blades so that the output power of the wind turbine can be controlled. This is
performed by the pitch control technique.
The other control strategy is applied to the converter. The PMSG is driven by advanced power
electronics. A back-to-back VSC is used to connect the generator to the grid and it allows the
full controllability of the system. It can be divided in two parts: the generator side and the grid
side. Both have different purposes. The first one controls the speed of the rotor so that the power
is maximized. The second one controls the voltage on the DC-link and also the reactive power
delivered to the grid. This project will focus on the control of the grid side converter.
19
3.2 Grid side converter control
They can be classified depending on the reference frame used in the control structure. They are
shown in Fig. 3.2. In this project the focus is on the synchronous and stationary reference frame
control strategies.
VECTOR CONTROL
In both cases, the control strategy contains two cascaded loops. The inner loops control the grid
currents and the outer loops control the DC-link voltage and the reactive power. The current loops
are responsible of the power quality, thus harmonic compensation can be added to the action of
the current controllers to improve it. The outer loops regulate the power flow of the system by
controlling the active and reactive power delivered to the grid [2].
The strategy used to control the power flow in both cases is the same. The equations of the active
and reactive power in dq-reference frame assuming that the reference frame is oriented along the
supply voltage are [5]:
3
P= (vd id ) (3.1)
2
3
Q = (vd iq ) (3.2)
2
Equations 3.1 and 3.2 show how to control the active and reactive power. It can be seen that
by changing the d and q-components of the current, the active and reactive power are controlled
respectively. Basically, the aim of the control is to transfer all the active power produced by
the wind turbine to the grid and also to produce no reactive power so that unity power factor is
obtained, unless the grid operator requires reactive power compensation. In order to transfer all
the active power generated by the wind turbine the DC-link voltage must remain constant. It can
be derived from the following equation [1]:
dvDC Pt Pg
C = − (3.3)
dt vDC vDC
where subscript g refers to the grid and t to the wind turbine.
If the two powers, the wind turbine and the grid, are equal there will be no change in the DC-link
voltage and all the power will be transferred to the grid.
The difference between the two control schemes is in the inner loops where they use different
reference frames to perform the current control. In the first case, the currents are controlled in
the synchronous rotating reference frame using PI controllers. In the second case the currents and
voltages are transformed into the stationary reference frame and PR controllers are used instead.
The structure of the synchronous rotating reference frame control is shown in Fig. 3.3.
va
θ vb
PLL
vc
vd dq
vq
abc
θ
Filter
θ
id dq
ia
ib
vd iq ic
* abc
vDC id* vd*
PI PI
iq dq
vDC id − ωL
SVM PWM
id
ωL αβ
Q* 2 iq* vq*
PI vDC
3vd θ vDC
iq vq
PMSG
Figure 3.3: General structure for synchronous rotating reference frame control [2].
This is the classical control structure, it is also known as dq-control. It transforms the grid voltages
and currents from the abc to the dq reference frame. In this way the variables are transformed to
DC values which can be controlled more easely. This structure uses PI controllers since they have
good performance for controlling DC variables.
In the output of the current controllers, cross-coupling term and voltage feed-forward are added
to improve the response of the system. The resultant value is the voltage reference for the SVM
technique [2].
The structure of the stationary reference frame control is shown in Fig. 3.4.
In this second case, the voltages and currents are transformed from abc to αβ reference frame. In
this reference frame, the variables are sinusoidal instead of constant. Therefore, as the PI con-
trollers are not able to remove the steady-state error, PR controllers are used instead. With the PR
va
θ vb
PLL
vc
vα αβ
vβ
abc
θ
Filter
θ
iα αβ
ia
ib
iβ ic
* abc
vDC id* iα*
PI dq PR
vDC iα vα*
SVM PWM
PMSG
Figure 3.4: General structure for stationary reference frame control [2].
~
~ controllers the feed-forwardVis
w not needed [2].
ωm
w *
vsd
Wind Turbine Twt Speed controller
wt The implementation of the two control strategies have been done* in MATLAB/Simulink as the rest
isd vsq
of the models. The control has been modeled based on the theoretical explanation seen previously
in this section. The box which
isq contains the model is presented in Fig. 3.5. The subsystem of the
model is shown in Appendix A.5.
v DC
Twt ω wt
i ABC
Drive Train Model
Control model gate _ signals
Te ωm v ABC
Enable
The model has as inputs, the voltage of the DC-link vDC , the grid currents iABC , the grid voltages
vABC and the enable signal. The output is the gate signals that will feed the power converter.
The criterion to chose a suitable method is based on the best response in front of grid disturbances,
for instance notches, harmonics and voltage drops [2].
PLL can be described basically as a device which is used to obtain the phase angle from the grid
voltages. PLL output signal tracks the input one. Therefore PLL provides the inverter with fre-
quency and phase angle. The purpose of that is to synchronize the inverter current angle with the
grid voltage angle in order to obtain a power factor as close to 1 as possible. In Fig. 3.6 the PLL
diagram is shown.
v*q = 0 ωgrid
PI
va vq ⎛ 1 ⎞ 1 θ
abc -
Kp⎜⎜1 + ⎟⎟
⎝ Ti s ⎠ s
vb
vc vd
dq
The inputs of the PLL model are the grid phase voltages and the output is the tracked phase angle.
The Vq∗ component is nothing but symbolic, to make clear that the reference of q-axis voltage is
set to zero, which locks the grid voltage phase. PLL model is implemented in dq synchronous
reference frame which means that a Park transform from abc to dq reference frame is needed. The
Park transform requires the output angle in order to synchronize the dq reference frame. A PI is
used to control the system by reducing to zero the difference between the sinus of grid phase angle
(γ) and inverter phase angle θ based on equation 3.4. Therefore the value of Vq is equal to zero and
Vd is the positive voltage magnitude [10]. The magnitude of the controlled variable Vq determines
the phase difference between the grid voltage and the inverter phase angle. Hence the PI input is
Vq [19].
γ−θ ∼
= sin(γ − θ) = ∆θ (3.4)
This approximation made in the previous equation linearizes the function of the sinus and it is
reliable when γ and θ are almost equal. In other words, for small values of ∆θ.
The transfer function of the PLL is of second order as shown in the following expression:
θinv Kp s + KTip
H(s) = = K (3.5)
γ s2 + Kp s + Tip
Some components have been set to tune the PI controller. The desired settling time is to be around
two periods of the grid frequency, 0.04s, and the damping ratio ξ= √12 .
To obtain the parameters of the PI a MATLAB/simulink model has been implemented to design
the PI as it is shown in Appendix A.4, which provides Kp and Ti in function of settling time and
damping ratio [17]. Finally, Kp and Ti are obtained, whose values are Kp = 230 and Ti = 0.008693.
To prove the reliability of the PLL some tests have been done by means of frequency and angle
shift steps in the applied voltage grid. The response of the PLL is checked in time domain.
The frequency of the grid is 50Hz and the voltage is changed at the time 0.1s from 50Hz to 51Hz
by a step. The test of the PLL focuses on two responses, the frequency and the tetha angle.
a
51.5
Frequency [Hz]
51
50.5
50
49.5
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
b
400
300
Angle [deg]
200
100
0
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
c
1.5
Error of angle [deg]
0.5
-0.5
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
Time [s]
Figure 3.7: Frequency and angle response for 1Hz frequency step.
The analyzed time frame is 0.2s. Fig. 3.7.a. shows the frequency step as well as the response
obtained by the PLL. It can be noticed that the transient time is 0.04s as it was set.
Fig. 3.7.b. shows the angle of the grid voltages γ and the θ angle provided by the PLL by cycles
from zero to 360 degrees. Both curves are almost overlapped due to the small difference between
both angles. Therefore Fig. 3.7.c. is attached to show the small error between both angles previ-
ously called ∆θ.
a
400
300
Angle [deg]
200
100
0
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
b
100
Error of angle [deg]
50
-50
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
Time [s]
Fig. 3.8 is composed by two graphs. In Fig. 3.8.a. it can be seen the angle shift applied in the
voltage utility. At the time 0.11s, a 60 degrees step is shown as well as the θ angle tracking this
step.
Fig. 3.8.b. shows the error between both angles (∆θ). The shift angle starts from 60 degrees at the
time 0.11s and responds according to the settling time.
3.4 PI controllers
The PI (proportional-integral) algorithm computes and transmits a signal which is desired to be
controlled. The computed output signal o (t) from the PI depends on the parameters, which are the
proportional gain Kp , the integral time Ti and the error e (t). Fig 3.9 shows the general scheme of
the PI controller [14].
The proportional gain Kp makes a change to the output that is proportional to the current error
value. If the value of the proportional gain is too high, the system can become unstable. On the
other hand, a small value gives a small output response to a large input error making the controller
less sensitive. A pure proportional controller would not be able to drive the signal at its target
value. There would remain a steady state error usually called offset. In order to make the offset
zero, the integral term is needed.
The integral term contribution is proportional to the magnitude and the duration of the error. The
integral gives the accumulated offset which is then multiplied by the inverse of the integral time
and added to the controller output. The magnitude of the contribution of the integral term to
the overall control action is determined by the integral time Ti . The integral term accelerates the
response of the controller and eliminates the residual steady-state error that occurs with a pure
proportional controller. However, since the integral term is responding to accumulated errors from
the past, it can cause the present value to overshoot the reference value.
3.5 PR controllers
In the stationary reference frame control, the grid currents are transformed into αβ reference frame.
In this case the variables are sinusoidal, thus PI controller cannot be used due to the fact that they
are not able to track a sinusoidal reference without a steady state error. Therefore, another con-
troller must be used instead.
Proportional Resonant (PR) controllers has gained a large popularity for current regulation of the
grid-tied systems [2]. The general scheme of the PR controller is shown in Fig. 3.10.
PR
i* v*
Kp
i
Ki s
s2 + ω 2
In the scheme shown in Fig. 3.10, ω is the resonance frequency of the controller, Kp and Ki are the
proportional gain and the integral gain respectively. This controller has a very high gain around
the resonance frequency which it eliminates the steady state error between the reference and the
measured signal. The width of the frequency band around the resonance point depends on the
integral gain value. A small value produce a very narrow band, whereas a large value produce a
wider band [2] [20]. The Bode plots of the resonant controller for different integral gains Ki and
ω set to 50Hz as shown in Fig. 3.11.
Harmonic compensation can also be easily implemented by adding to the PR controller several
generalized integrators tuned at the frequency of the harmonics which have to be compensated.
The transfer function of the harmonic compensator for the 3rd , 5th and 7th would be as follows
[20]:
s
Ghc = ∑ Kih (3.6)
h=3,5,7 s2 + (hω)2
300
Ki=100
250
Magnitude (dB)
Ki=500
200 Ki=1500
Ki=3000
150
100
50
0
-270
-315
Phase (Deg)
-360
-405
-450
0 1 2 3
10 10 10 10
Frequency (Hz)
The control loop system of d-axes is shown in Fig. 3.12, where two controllers are present. One
controller is for the outer loop which is the DC-link voltage loop and the other is for the inner
loop, which is the current loop. For the tuning of the PI, the compensation term and the voltage
feed-forward are considered as disturbances and are neglected. However, both terms will defi-
nitely improve the dynamic of the system when they are included after the tuning process.
Firstly, the inner current loop is considered. The following blocks are present in the current loop:
• PI controller with the following transfer function: GPI = Kp 1 + T1i s = Kp TiTs+1
is
The inner loop block can be moved as shown in Fig. 3.13 [4].
*
vDC id* vd* id vDC
1 1
PI PI
Ls + R Cs
vDC id
Plant
1
Ts s + 1
Inner currrent loop Sampling
1
Ts s + 1
Outer DC-link voltage loop Sampling
G1
id* vd* id
1 1
PI Ts s + 1
Ls + R Ts s + 1
id Plant Sampling
Tic s + 1 R1 1
G1 = Kpc L (3.7)
Tic s R s + 1 Ts s + 1
The transfer function can be simplified as follows [4]:
Tic s + 1 1 Ke
G1 = Kpc (3.8)
Tic s T∑ 1 s + 1 Te s + 1
where Ke = R1 , Te = RL and T∑ 1 = Ts .
Based on the optimal modulus, the next relation is satisfied [4]:
Tic s + 1 1 Ke 1
Kpc = (3.9)
Tic s T∑ 1 s + 1 Te s + 1 2T∑ 1 s (T∑ 1 s + 1)
Therefore, by comparing the two sides of the equation 3.9, the proportional gain and the integral
time of the controller can be calculated with the following equations:
L
Tic = Te = (3.10)
R
and
Te L
Kpc = = (3.11)
2T∑ 1 Ke 2T∑ 1
24.768e−6 24.768e−6
Using the values of each variable, yields Kpc = 2·0.1e−3 = 0.1238 and Tic = 0.8e−3 = 0.031.
Sisotool has been used to verify the performance of the current controller where these parameters
are used. Root locus, bode diagram and the step response are used to analyze the performance of
the controller. The root locus as well as the bode diagram are shown in Fig. 3.14.
Root Locus Editor for Open Loop 1 (OL1) Open-Loop Bode Editor for Open Loop 1 (OL1)
5000 60
0.86 0.76 0.64 0.5 0.34 0.16
0.94
40
0.985 20
4e+003
1.2e+003 1e+003 800 600 400 200
0 0
0.985 -20
0.94 -40
-10
-20 -135
0
-45
P.M.: 65.5 deg
Freq: 724 Hz
-90 -180
0 1 2 3 4 0 1 2 3 4 5
10 10 10 10 10 10 10 10 10 10 10
Frequency (Hz) Frequency (Hz)
Figure 3.14: Root locus and bode diagrams of the current controller design.
The location of the poles gives a damping of 0.707 which is the standard value. The phase and
gain margin are 65.5 degrees and infinite respectively, thus the loop is stable. The step response is
shown in Fig. 3.15. The overshoot is 6.7% and the settling time is 0.746 ms.
Step Response
1.4
System: Closed Loop r to y
I/O: r to y
Peak amplitude: 1.07
1.2 Overshoot (%): 6.7
At time (sec): 0.000466
1
System: Closed Loop r to y
I/O: r to y
Settling Time (sec): 0.000746
0.8
Amplitude
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1 1.2
Time (sec) -3
x 10
Therefore Sisotool has verified the values obtained with the the analytical calculations.
Once the parameters of the controller have been found and verified in s-domain, the block diagram
has been changed to z-domain. The parameters of the controller have been readjusted using the
graphical tuning in Sisotool. The new value of the proportional gain is Kpc = 0.0602, the integral
time remains equal, thus Tic = 0.031. The root locus as well as the bode diagram are shown in Fig.
3.16.
Root Locus Editor for Open Loop 1 (OL1) Open-Loop Bode Editor for Open Loop 1 (OL1)
1 60
3e3 2.5e3 2e3
3.5e3 0.1
0.21.5e3 50
0.3
0.5 4e3 0.4 1e3
0.5 40
0.6
0.7
4.5e3 0.8 500 30
0.9
5e3
0 20
5e3
4.5e3 500
10
-0.5 4e3 1e3 0
3.5e3 1.5e3
-10
3e3 2.5e3 2e3
-1 G.M.: 12.3 dB
-1 -0.5 0 0.5 1 -20 Freq: 1.3e+003 Hz
Stable loop
Bode Editor for Closed Loop 1 (CL1) -30
10
-90
0 -135
-10 -180
-225
-20
0 -270
-90 -315
Figure 3.16: Root locus and bode diagrams of the current controller design.
The location of the poles gives a damping of 0.707 which is the standard value. The phase and
gain margin are 61.9 degrees and 12.3dB respectively, thus the loop is stable also in z-domain.
The step response is shown in Fig. 3.17. The overshoot is 5.17% and the settling time is 1.19ms.
Step Response
1.4
System: Closed Loop r to y
I/O: r to y
Peak amplitude: 1.05
1.2
Overshoot (%): 5.17
At time (sec): 0.0008
1
System: Closed Loop r to y
I/O: r to y
Settling Time (sec): 0.00119
0.8
Amplitude
0.6
0.4
0.2
0
0 0.5 1 1.5 2 2.5
Time (sec) -3
x 10
Once the controller values for the inner loop are found, the outer loop can be tuned. First the inner
closed loop transfer function is found [4]:
1 Ts s + 1
G= Ts s + 1 ≈ (3.12)
2T∑2 1 s2 + 2T∑ 1 s + 1 2T∑ 1 s + 1
After finding the values for the current loop, the block diagram is shown in Fig. 3.18.
*
vDC id* Ts s + 1
id
1
vDC
PI
2T 1 s + 1 Cs
∑
vDC Current closed loop
1
Ts s + 1
Sampling
*
vDC id* Ts s + 1
id
1
vDC
1
PI Ts s + 1
2T 1s + 1 Cs Ts s + 1
∑
vDC Current closed loop Sampling
Tiv s + 1 Ts s + 1 1 1
G2 = Kpv (3.13)
Tiv s 2T∑ 1 s + 1 Cs Ts s + 1
The transfer function can be simplified as follows [4]:
Tiv s + 1 1
G2 = Kpv (3.14)
Tiv s Cs (T∑ 2 s + 1)
where T∑ 2 = 2T∑ 1 + Ts − Ts .
Now, based on the symmetry optimum, the next relation is satisfied [4]:
Tiv s + 1 1 4T∑ 2 s + 1
Kpv = 2
(3.15)
Tiv s Cs (T∑ 2 s + 1) 8T∑ 2 s2 (T∑ 2 s + 1)
Therefore, by comparing the two sides of the equation 3.15, the proportional gain and the integral
time of the controller can be calculated with the following equations:
and
TivC C
Kpv = 2
= (3.17)
8T∑ 2 2T∑ 2
0.232
Using the values of each variable yields Kpv = 2·0.2e−3 = 580 and Tiv = 4 · 0.2e − 3 = 0.8e − 3.
As in the previous case, Sisotool has been used to verify the performance of the DC-link voltage
controller. The root locus as well as the bode diagram are shown in Fig. 3.20.
Root Locus Editor for Open Loop 1 (OL1) Open-Loop Bode Editor for Open Loop 1 (OL1)
6000 60
0.89 0.81 0.68 0.5 0.3
0.945
4000 40
0.976
20
2000
0.994
0
2e+003 1.5e+003 1e+003 500
0
-20
0.994
-2000
-40
0.976
-4000
-60
0.945
0.89 0.81 0.68 0.5 0.3
-6000 G.M.: -Inf dB
-15000 -10000 -5000 0 5000 -80 Freq: 0 Hz
Stable loop
Bode Editor for Closed Loop 1 (CL1) -100
20
-140
P.M.: 36.9 deg
0 Freq: 398 Hz
-20
-150
-40
-60 -160
90
0
-170
-90
-180 -180
1 2 3 4 5 1 2 3 4 5
10 10 10 10 10 10 10 10 10 10
Frequency (Hz) Frequency (Hz)
Figure 3.20: Root locus and bode diagrams of the DC-link voltage controller design.
The location of the poles gives a damping of 0.5 which is not a standard value. The position of the
zero has been moved in order to modify the root locus of the system and thus to obtain a better
damping. This has been carried out by using the graphical tuning in Sisotool. The new position
of the zero gives a value of the integral time Tiv = 0.025. The new root locus as well as the bode
diagram are shown in Fig. 3.21.
Root Locus Editor for Open Loop 1 (OL1) Open-Loop Bode Editor for Open Loop 1 (OL1)
3000 150
0.968 0.94 0.88 0.76 0.5
0.986
2000
0.994 100
1000
0.999
0.999
-1000
0
0.994
-2000
0.986
0.968 0.94 0.88 0.76 0.5 -50
-3000 G.M.: -Inf dB
-15000 -10000 -5000 0 5000 Freq: 0 Hz
Stable loop
Bode Editor for Closed Loop 1 (CL1) -100
20
-90
P.M.: 64.5 deg
0 Freq: 362 Hz
-20
-40 -120
-60
90
-150
0
-90
-180 -180
0 1 2 3 4 5 -2 0 2 4 6
10 10 10 10 10 10 10 10 10 10 10
Frequency (Hz) Frequency (Hz)
Figure 3.21: Root locus and bode diagrams of the DC-link voltage controller design.
The new location of the zeros and poles gives a damping of 0.707 which is the standard value. The
phase and gain margin are 64.5 degrees and infinite respectively, thus the loop is stable.
The step response is shown in Fig. 3.22. The overshoot is 5.88% and the settling time is 1.97ms.
Step Response
1.4
System: Closed Loop r to y
I/O: r to y
Peak amplitude: 1.06
1.2 Overshoot (%): 5.88
At time (sec): 0.00128
1
System: Closed Loop r to y
I/O: r to y
Settling Time (sec): 0.00197
0.8
Amplitude
0.6
0.4
0.2
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
Time (sec) -3
x 10
Therefore Sisotool has verified and improved the values obtained using the analytical calculations.
As in the previous case, the block diagram has been changed to z domain. The parameters of
the controller have been readjusted using the graphical tuning in Sisotool. The new value of the
proportional gain is Kpc = 379.5, the integral time remains equal, thus Tiv = 0.025. The root locus
as well as the bode diagram are shown in Fig. 3.23.
Root Locus Editor for Open Loop 1 (OL1) Open-Loop Bode Editor for Open Loop 1 (OL1)
1 120
3e3 2.5e3 2e3
3.5e3 0.1
0.21.5e3 100
0.3
0.5 4e3 0.4 1e3
0.5
0.6 80
0.7
4.5e3 0.8 500
0.9
60
5e3
0
5e3
40
4.5e3 500
-0.5 20
4e3 1e3
3.5e3 1.5e3 0
3e3 2.5e3 2e3
-1 G.M.: 15.6 dB
-1 -0.5 0 0.5 1 -20 Freq: 995 Hz
Stable loop
Bode Editor for Closed Loop 1 (CL1) -40
10
-90
0
-135
-10
-180
-20
-225
-30
90 -270
0
-315
-90
-360 P.M.: 61.5 deg
-180
Freq: 248 Hz
-270 -405
0 1 2 3 4 -2 0 2 4
10 10 10 10 10 10 10 10 10
Frequency (Hz) Frequency (Hz)
Figure 3.23: Root locus and bode diagrams of the DC-link voltage controller design.
The new location of the poles gives a damping of 0.707 which is the standard value. The phase
and gain margin are 61.5 degrees and 15.6dB respectively, thus the loop is stable also in z-domain.
The step response is shown in Fig. 3.24. The overshoot is 7.1% and the settling time is 6.31ms.
Step Response
1.4
System: Closed Loop r to y
I/O: r to y
Peak amplitude: 1.07
1.2 Overshoot (%): 7.1 System: Closed Loop r to y
At time (sec): 0.0015 I/O: r to y
Settling Time (sec): 0.00631
0.8
Amplitude
0.6
0.4
0.2
0
0 0.001 0.002 0.003 0.004 0.005 0.006 0.007 0.008 0.009 0.01
Time (sec)
The q-axis control loop is simpler than the d-axis control loop. It only has a current loop. As the
block diagram of the current controller is the same in both cases, the same values for the propor-
tional gain and integral time have been used.
The parameters for the current and DC-voltage controller have been found and analyzed using
analytical and graphical approaches. The final values used in the model are presented all together
as a brief in the Fig. 3.25.
Kp Ti
PI id 0.0602 0.031
PI iq 0.0602 0.031
PIVDC 379.5 0.025
3.6.2 11 kW model
Comparing this model to the previous one, there are two big differences: the power converter
model is fed with a switching signal instead of the average and in the plant an LCL filter is used
instead of an L filter. These differences affect to the tunning of the controllers and so they have to
be carefully analyzed. The LCL filter has a resonance frequency which can affect the performance
of the system. The bode plot of the plant including the grid impedance is shown in Fig. 3.26.
50
Magnitude (dB)
-50
Magnitude (dB): 7.87
Frequency (kHz): 2.39
-100
-150
0
-45
-90
Phase (deg)
-135
-180
-225
-270
-1 0 1 2 3 4 5
10 10 10 10 10 10 10
Frequency (Hz)
It can be seen that for this plant the resonance frequency is placed in 2.39kHz. Therefore the
switching frequency must be two times bigger according to the Shannon limit.
Before selecting the switching frequency, the tunning of the controllers have to be done. The same
procedure as for the 2.4 MW model has been used. For the inner current loop the first obtained
values for the proportional gain and the integral time are Kpc = 17.75 and Tic = 0.047. The value
of the integral time has been decreased to Tic = 0.01, in order to improve the dynamics of the
system. Fig. 3.27 shows the different root locus of the system for different values of switching
frequency.
Figure 3.27: Root locus of the system for different switching frequencies.
From the table, 7kHz has been chosen as the switching frequency of the model. The higher and
lower frequencies does not allow to tune the system in order to get a good performance.
The root locus of the system and the bode diagram are shown in Fig. 3.28. The phase and gain
margin are 59.7 and 7.66 degrees respectively, thus the loop is stable. The poles have been adjusted
in order to get a damping of 0.707. The new value for the proportional gain is Kpc = 17.35.
Root Locus Editor for Open Loop 1 (OL1) Open-Loop Bode Editor for Open Loop 1 (OL1)
1
1.75e3
2.1e3 1.4e3 60
0.8 2.45e3 1.05e3
40
0.6
2.8e3 700
0.4 20
3.15e3 350
0.2 0 G.M.: 7.66 dB
Freq: 1.17e+003 Hz
3.5e3 Stable loop
0
3.5e3 -20
0.9 0
-0.2
3.15e3 0.8 350 -90
0.7
-0.4 0.6 -180
0.5
2.8e3 0.4 700 -270
-0.6 0.3 -360
0.2
2.45e3 1.05e3
0.1 -450
-0.8
2.1e3 1.4e3 -540 P.M.: 59.7 deg
1.75e3 Freq: 397 Hz
-1 -630
-1 -0.5 0 0.5 1 -2 0 2 4
10 10 10 10
Real Axis Frequency (Hz)
Figure 3.28: Root locus and bode diagrams of the current controller design.
Step Response
1.4 System: Closed Loop r to y
I/O: r to y
Peak amplitude: 1.11
Overshoot (%): 11.3
1.2 At time (sec): 0.000714
1
System: Closed Loop r to y
I/O: r to y
0.8 Settling Time (sec): 0.00174
Amplitude
0.6
0.4
0.2
0
0 0.5 1 1.5 2 2.5 3 3.5
Time (sec) -3
x 10
For the outer DC-link voltage loop the values of the proportional gain and the integral time are
Kpv = 1.17 and Tiv = 0.02. After adjusting the Kpv = 1.01 in order to get a damping of 0.707, the
root locus and the bode plots of the system are shown in Fig. 3.30.
Root Locus Editor for Open Loop 1 (OL1) Open-Loop Bode Editor for Open Loop 1 (OL1)
1 120
1.75e3
2.1e3 1.4e3
100
0.8 2.45e3 1.05e3
80
0.6
2.8e3 700 60
0.4 40
3.15e3 350 20
0.2 G.M.: 7.59 dB
0 Freq: 1.16e+003 Hz
3.5e3 Stable loop
0
3.5e3 -20
0.9 -90
-0.2
3.15e3 0.8 350 -180
0.7
-0.4 0.6
-270
0.5
2.8e3 0.4 700 -360
-0.6 0.3
0.2 -450
-0.8 2.45e3 1.05e3
0.1
-540 P.M.: 58.3 deg
2.1e3 1.4e3
1.75e3 Freq: 400 Hz
-1 -630
-1 -0.5 0 0.5 1 -2 0 2 4
10 10 10 10
Real Axis Frequency (Hz)
Figure 3.30: Root locus and bode diagrams of the DC-link voltage controller design.
The phase and gain margin are 58.3 and 7.59 degrees respectively, thus the loop is stable. The step
response of the system is shown in Fig. 3.31.
Step Response
1.4 System: Closed Loop r to y
I/O: r to y
Peak amplitude: 1.14
Overshoot (%): 13.5
1.2 At time (sec): 0.000714 System: Closed Loop r to y
I/O: r to y
Settling Time (sec): 0.00244
0.8
Amplitude
0.6
0.4
0.2
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
Time (sec) -3
x 10
The final values used in the model are presented all together as a brief in the Fig. 3.32.
Kp Ti Ki
PI id 17.35 0.01 --
PI iq 17.35 0.01 --
PRα 17.35 -- 1735
PRβ 17.35 -- 1735
PIVDC 1.01 0.02 --
Through this chapter the grid side control has been explained as well as the methods used to tune
the controllers. In the next chapter different study cases have been carried out, in order to analyse
the performance of the system.
In this chapter the response of the system will be analyzed for the 2.4 MW model. For this purpose
4
different study cases have been performed. In addition a scale down of the model has been pre-
pared for an 11 kW system. In this case it has been decided to make the comparison between dq
and αβ strategies.
First simulation is performed for a number of wind speed steps. From the project of last semester
the generator side control model has been used to obtain the DC-link current which corresponds
to different wind speeds in steady state. Therefore these different currents are the inputs in this
study case. The purpose of the Fig. 4.1 is to show the response of active and reactive power flow
during this simulation.
a
0.7
Active power [p.u.]
0.6
0.5
0.4
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
0.1
Reactive power [p.u.]
0.05
-0.05
-0.1
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Figure 4.1: Active power steps and reactive power set to zero.
Fig. 4.1 is composed by two graphs. Fig 4.1.a. shows the active power delivered to the grid. At
the time 0.7s the power step corresponds to a wind step from 10m/s to 11m/s, later at the second
0.9 there is another negative step to 10m/s of wind speed. Finally, the steps are opposite and they
39
4.1 Simulation and analysis of 2.4 MW model
In this simulation the reactive power reference is set to zero. In every step, it can be observed that
small bumps of reactive power are almost negligible compared to the rated power as shown in Fig.
4.1.b. The reactive power transient is positive or negative, when active power step is upward or
downward respectively, that means delivering or absorbing reactive power from the grid. To check
if the system is really working and delivering power to the grid the Fig. 4.2 shows the DC-link
voltage transient.
1.02
DC link voltage [p.u.]
reference
1.01 measured
0.99
0.98
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Fig. 4.2 shows at the time 0.7s and 1.3s two positive bumps of the voltage in the DC-link, which
return after a transient to the reference value. According to the equation 3.3, when the difference
between input power and output power in DC-link is positive, the current coming from the recti-
fier is bigger than the current going to the inverter. Therefore all the exceeding current is flowing
through the capacitor, thus the capacitor is charging. When the inverter current reaches the rectifier
current, the voltage goes back to the reference value.
In the case of negative steps of active power at second 0.9 and 1.1 the response is opposite. The
difference between both currents are negative and the capacitor supplies the needed current. There-
fore it discharges itself, the voltage in the DC-link drops until the control makes both currents
equal.
0.7
DC-link currents [p.u.]
0.65 rectifier
inverter
0.6
0.55
0.5
0.45
0.4
0.35
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Fig 4.3 shows both currents, rectifier inverter side where it can be seen the transient response of
the control system.
The importance of this graph is in the relation between active and reactive with d and q-axis cur-
rents respectively. Fig 4.4.a. depicts the d-axis current reference and measured, and the second
graph shows q-axis current reference and measured. The relation between active power and d-axis
a
0.7
0.5
0.4
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
0.1
Q-axis current [p.u.]
reference
0.05 measured
-0.05
-0.1
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Figure 4.4: D and q-axis currents reference and measured from active power steps.
current is clear in Fig 4.4.a. as well as the relation between reactive power and q-axis current as
shown in the Fig 4.4.b.
a
Voltage at the PCC [p.u.]
1.02
1.01
0.99
0.98
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
1
Grid currents [p.u.]
0.5
-0.5
-1
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Fig 4.5 shows the voltage of the PCC and grid currents. In Fig 4.5.a. it can be noticed that the
voltage of the PCC above one, which means that power is being delivered to the grid. Finally, in
Fig 4.5.b. shows the grid currents with smalls variations according to the power steps.
In this study case it can be verified one of the grid requirements which focuses on the relation
between active and reactive power flow. It can be seen in Fig. 4.1 that the system keeps reactive
power under grid requirement limitations 10% for rated value of active power as it was shown in
Fig. 2.18. Besides, it is worth of remark that the variation of the applied voltage at the PCC does
not reach 0.5% which is under limits of grid requirement shown in Fig. 2.19.
B. Reactive power steps with active power reference set to 0.9 of the rated value
In this simulation active power is set to 0.9 of the rated value. The control in this case will be
focused on changes of ±20% of reactive power by keeping constant the active power.
a
1
Active power [p.u.]
0.9
0.8
0.7
0.6
0.5
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
0.4
Reactive power [p.u.]
0.2
-0.2
-0.4
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Figure 4.6: Reactive power steps and active power set to 0.9 of the rated value.
Fig. 4.6.a. shows the active power. Fig. 4.6.b. shows the reference reactive steps which are applied
to the current controllers. The 0.9 of the rated power is not reached due to the small power losses.
As it was explained in the previous subsection, DC-link voltage response helps to verify the power
flow.
1.01
DC link voltage [p.u.]
reference
1.005 measured
0.995
0.99
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Fig. 4.7 shows the DC-link voltage response and its reference. It can be seen that the curves are
overlapped and there are no significant bumps.
a
1
0.7 measured
0.6
0.5
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
0.4
Q-axis current [p.u.]
0.2
0
reference
-0.2
measured
-0.4
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Figure 4.8: D-axis currents and q-axis currents reference and measured.
Fig. 4.8.a. shows the reference and the measured d-axis currents. Fig. 4.8.b. shows the response
of the system in q-axis. Next the voltages of the PCC and grid are shown in Fig. 4.9.
a
Voltage at the PCC [p.u.]
1.1
1.05
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
1.1
Grid currents [p.u.]
0.9
0.8
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Fig. 4.9.a. shows the voltages of the PCC where it can be seen the changes at the times 0.7, 0.9,
1.1 and 1.3 seconds, where the magnitude of the voltage rises when reactive power is applied. Fig.
4.9.b. depicts the grid currents which rise when is applied an either positive or negative reactive
power.
For this analysis it is known that Danish grid requirements do not allow more than 10% of reactive
power flow. however this simulation pursuits the limits of nowadays wind turbines reactive power
flow. It is noticeable that the voltage of the PCC is on the limits between normal operation and
disconection.
1.15
1.1
1.05
1
0.95
0.9
0.85
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Instantaneous variation of the grid voltage causes an initial variation of the power, which can be
seen in Fig. 4.11. For example when the voltage increases there is a sudden increase in the power
which will be brought back to the original value thanks to the action of the control system. It can
be also be noticed that the reactive power is able to go back to the reference value which in this
case is zero.
a
1.3
Active power [p.u.]
1.1
0.9
0.7
0.5
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
0.1
Reactive power [p.u.]
0.05
-0.05
-0.1
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
In Fig. 4.12 the DC-link voltage is shown. Because of the sudden variation of the voltage, the
power varies as well which makes the currents of the DC-link unbalanced. This causes the charge
or the discharge of the capacitor in the DC-link and therefore the variation of the DC-link voltage.
It is possible to see in the graph that for example when the voltage rises, the power rises as well
which causes the DC current of the inverter to increase. This means that the capacitor of the
DC-link is discharging and therefore the DC-link voltage decreases.
1.01
DC-link voltage [p.u.]
reference
measured
1.005
0.995
0.99
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
In Fig. 4.13 the dq currents are shown. The variation in the dq reference currents are made in a
way to bring back the power and voltage to the desired values.
a
1,3
D-axis current [p.u.]
reference
measured
1,1
0,9
0,7
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
0.1
Q-axis current [p.u.]
reference
measured
0.05
-0.05
-0.1
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
In Fig. 4.14 the PCC voltage and the grid currents are shown. It is possible to see that for example
when the grid voltage increases, the grid current decreases. This can be explained by the fact that
the power flowing to the grid is constant. When the grid voltage decreases the output voltage of
the converter decreases in order to bring back the current to the desired value.
0.5
-0.5
-1
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
1
Grid current [p.u.]
0.5
-0.5
-1
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
According to the grid requirements, when the frequency is 50Hz and the voltage varies between
110% and 90% of the rated value, The system can remain connected for one minute as shown in
Fig. 2.19. Therefore ít can be seen that in this study case the system is complying with this grid
requirement. It can be observed that the values of the active and reactive powers are within the
accepted range according to the grid requirement shown in Fig. 2.18.
Through this section the response of the system will be analyzed in the case of grid frequency
changes, by keeping the active power at 0.9 of its rated value and reactive power to zero. Grid
voltage frequency varies ±3Hz of its rated value considering that each step lasts 200ms as shown
in Fig. 4.15.
Grid voltage frequency [Hz]
55
54
53
52
51
50
49
48
47
46
45
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
a
1
0.9
0.85
0.8
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
0.2
Reactive power [p.u.]
0.1
-0.1
-0.2
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Fig. 4.16.a. shows the active power. As it was said before the 0.9 of rated value is not reached
due to the filter losses. Fig. 4.16.b. shows the reactive power where it can be noticed that is more
sensible than the active power. This is because the reactive power is related with q-axis current
control as shown in Fig 4.18.
1.01
DC link voltage [p.u.]
1.005 reference
measured
0.995
0.99
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
In can be noticed that the voltage bumps are negligible compared to the rated value. Fig. 4.18
shows the reference and measured dq currents.
a
1
0.9
0.85
0.8
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
0.1
Q-axis current [p.u.]
reference
measured
0.05
-0.05
-0.1
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
In this case q-axis current is more sensible than d-axis current. It can be seen that after a short
transient both currents go back to the reference values. In this simulation there are not big changes
in the dq currents as they are below 1%. Finally, the PCC voltage and the grid currents are shown
in Fig. 4.19.
a
Voltage at the PCC [p.u.]
1.01
1.005
0.995
0.99
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
0.9
Grid currents [p.u.]
0.895
0.89
0.885
0.88
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
It can be observed that during the simulation, the PCC voltage is larger than the grid voltage when
the active power is being delivered to the grid. Thus, it is worth to remark that the voltage of
PCC has fluctuations which produces the transients in the grid currents. It is necessary to zoom
in to realize the grid current transients. Another important point is that in spite of the fact that the
frequency excursions of 3Hz are significants, the reactive power flow does not reach the limits of
grid requirements. The voltage of the PCC is within the acceptable range of the grid requirement.
80
Grid voltage angle [Deg]
60
40
20
0
-20
-40
-60
-80
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Fig. 4.21 shows the active and reactive power flow. In Fig. 4.21.a. it can be seen that the active
power flow decreases when the change in the phase angle of the voltage is applied. This is because
the active power is related to the d-axis current and voltage reference, which is shown in Fig. 4.23.
a
1.5
Active power [p.u.]
1.2
0.9
0.6
0.3
0
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
1.5
Reactive power [p.u.]
1
0.5
0
-0.5
-1
-1.5
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Fig. 4.21.b. shows that the reactive power flow reaches the reference value of zero after the
transients. Due to the relation between reactive power and phase angle, these transients have
abrupt starts. Therefore, depending on the sign of this shifted angle, the peak of power will be
negative or positive. The response of the DC-link voltage is shown in Fig. 4.22.
1.1
0.95
0.9
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
The graph shows how the DC-link voltage arrives at steady state after a small transient, whose
maximum peak for each angle variation is below 1% of the rated value. Fig. 4.23 shows the dq
currents of the grid.
a
1.6
D-axis current [p.u.]
reference
1.4
measured
1.2
0.8
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
b
0.4
Q-axis current [p.u.]
0.2 reference
measured
-0.2
-0.4
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
Fig. 4.23.a. shows reference and measured d-axis current where it can be seen that after a small
transient they become overlapped. It can be noticed that during the transient, the maximum value
is below 20% of the rated value. Fig. 4.23.b. shows the reference and measured of the q-axis
current. Fig. 4.24 shows the PCC voltage and the grid current.
a b c d
e f g h
1.5 1.5 1.5 1.5
Grid currents [p.u.]
1 1 1 1
0.5 0.5 0.5 0.5
0 0 0 0
-0.5 -0.5 -0.5 -0.5
-1 -1 -1 -1
-1.5 -1.5 -1.5 -1.5
0.68 0.7 0.72 0.88 0.9 0.92 1.08 1.1 1.12 1.28 1.3 1.32
Time [s] Time [s] Time [s] Time [s]
4.1.5 Unbalanced
Another situation could be the case of an unbalanced three-phase sinusoidal waveform in the grid
voltage. In a balanced sinusoidal supply system the three line-neutral voltages are equal in magni-
tude and are phase displaced from each other by 120 degrees. A system is called unbalanced when
there is a difference between the voltage magnitudes and/or when there is phase shift different than
120 degrees. In this study case the unbalanced percentage is chosen to be 3%. In other words the
amplitude of one phase is 3% more than the other two, as shown in Fig. 4.25.
Voltage unbalance is considered as a power quality problem of significant importance. The volt-
ages can become unbalanced when there are unequal impedances and unequal distribution of
single-phase loads [6].
1.2
Grid voltage [p.u.]
1
0.8
0.6
0.4
0.2
0
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
In Fig. 4.26 the active and reactive power are shown. Here as in all other graphs of this study case,
the situation is the same. The values fluctuate around the desired value. The same situation can be
seen for dq currents as shown in Fig. 4.28.
a
1.3
0.9
0.7
0.5
0.5 0.51 0.52 0.53 0.54 0.55 0.56
b
0.4
Reactive power [p.u.]
0.2
-0.1
-0.4
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
Fig. 4.27 shows the DC-link voltage. It can be noticed that there are small fluctuations over the
reference value. These small fluctuations can be seen in all the graphs presented here for this study
case. They are caused by the dq transformation.
1.01
DC-link voltage [p.u.]
reference
measured
1.005
0.995
0.99
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
The dq currents are shown in Fig. 4.28. We can see that the currents are slightly oscillating around
the reference value.
a
1.3
0.9
0.8
0.6
0.5 0.51 0.52 0.53 0.54 0.55 0.56
b
0.1
q-axis current [p.u.]
reference
0.05
measured
-0.02
-0.04
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
In Fig. 4.29 it is possible to see the grid current. Where one of the phases has a bigger amplitude
compare to the other two.
1
0.9
Grid current [p.u.]
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
4.1.6 Short-circuit
Electrical systems are susceptible to short circuits and to the abnormal current levels they create.
These currents can produce considerable thermal and mechanical stresses in electrical distribution
equipment. Therefore, it is important to protect people and equipment by calculating short-circuit
currents during system upgrade and design. Because these calculations are life-safety related,
they’re mandated by 110.9 of the NEC, which states:
“Equipment intended to interrupt current at fault levels shall have an interrupting rating sufficient
for the nominal circuit voltage and the current that is available at the line terminals of the equip-
ment. Equipment intended to interrupt current at other than fault levels shall have an interrupting
rating at nominal circuit voltage sufficient for the current that must be interrupted.”
When you apply these requirements to a circuit breaker, you must calculate the maximum 3-phase
fault current the breaker will be required to interrupt. This current can be defined as the short-
circuit current available at the terminals of the protective device [18].
A. Three-phase short-circuit
A three-phase short-circuit can be considered as a balanced load, which means it is possible to use
a single-phase circuit to analyze the fault. In this study case a three-phase short-circuit occurs at
second 0.5 and it last for 150 ms.
a
Grid voltage [p.u.]
-1
b
Grid current [p.u.]
-1
In Fig. 4.30 the voltage and current of the PCC are shown. The value of the short-circuit resistance
is chosen so that the voltage drop will be equal to 90% of the rated value which can be seen in Fig.
4.30.a. After the short-circuit the grid voltage has a short transient, where the value is temporarily
higher than the rated value, before going back to the rated value. This temporarily raise does not
happend if the system is connected to a stronger grid with a higher short-circuit power. The grid
current is kept at the same value thanks to the control system which acts on the power references.
a
2
-1
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
b
2
Reactive power [p.u.]
1.5
1
0.5
0
-0.5
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
Time [s]
In Fig. 4.31 the active and the reactive power are shown. It is possible to see the action of the
control system. At second 0.5, when the fault happens, the active power reference is set to zero,
because otherwise considering the small value of the voltage the current would be extremely high.
In the same moment the reactive power reference is set to maximum. This is required by the grid
and helps to maintain the voltage.
1.1
DC-link voltage [p.u.]
reference
1.05 measured
0.95
0.9
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
In Fig. 4.32 The DC-link voltage is shown. It can be noticed that when the short-circuit occurs
there is a temporary drop in the DC-link voltage. At the end of the short-circuit the DC-link volt-
age rises temporarily before reaching the reference value.
In Fig. 4.33 dq currents are shown. After the short-circuit, the d-axis component of the current
goes to zero as the active power reference is set to zero. In the same moment the q-axis component
of the current rises since the reactive power is set to maximum.
According to the grid requirements, when the voltage drops to less than 2% of the rated value,
within the first 10 seconds "may be disconnected" and after that "shall disconnected" as shown in
a
1
-0.5
0.5
reference
0 measured
-0.5
-1
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
Time [s]
Fig. 2.20. Therefore in this situation for the first 10 seconds it can be choose to keep the wind
turbine connected to grid.
B. Two-phase short-circuit
In this study case a two-phase short-circuit occurs in second 0.5 and it lasts 150 ms. In Fig. 4.34
the voltage and currents of the PCC are shown. In the two phases affected by the short-circuit the
voltage drops to half of the original value as shown in Fig. 4.34.a.
a
Grid voltage [p.u.]
-1
-1
-2
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
Time [s]
In Fig. 4.35 the active and the reactive power are shown. The active power goes to zero as required
a
1
Active power [p.u.]
0.5
-0.5
-1
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
b
1
Reactive power [p.u.]
0.5
-0.5
-1
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
Time [s]
In Fig. 4.36 The DC-link voltage is shown. It can be noticed that when the short-circuit occurs,
the DC-link voltage decreases slightly and then reaches the reference value.
1.1
DC-link voltage [p.u.]
reference
1.05 measured
0.95
0.9
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
In Fig. 4.37 dq currents are shown. After the short-circuit, the d-axis component of the current
goes to zero as the active power reference is set to zero. In the same moment the q-axis component
of the current rises since the reactive power is set to maximum.
a
1
0.5 reference
measured
0
-0.5
-1
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
Time [s]
The voltage drop of the two phases affected by the fault, in this case, is around 50% of the rated
value. Therefore according to the grid requirements, Fig. 2.20, during this fault the wind turbine
"shall remain connected".
C. One-phase short-circuit
In this study case the short-circuit occurs in one of the phases. In Fig. 4.38 the voltage and current
of the PCC are shown. It can be seen that one phase of the grid voltage drops to 10% of the initial
value. The current rises to almost three times of the rated value.
a
Grid voltage [p.u.]
-1
b
4
Grid current [p.u.]
-2
-4
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
Time [s]
In Fig. 4.39 the active and reactive powers are shown where it is possible to see the action of the
control system. After the fault the active power reference is set to zero. In the same moment the
reactive power reference is set to maximum.
a
1.5
Active power [p.u.]
1
0.5
0
-0.5
-1
-1.5
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
b
1.5
Reactive power [p.u.]
1
0.5
0
-0.5
-1
-1.5
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
Time [s]
In Fig. 4.40 the DC-link voltage is shown. It can be noticed that when the short-circuit occurs the
DC-link voltage decreases slightly and then reaches the reference value.
1.1
DC-link voltage [p.u.]
1.05 reference
measured
0.95
0.9
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
In Fig. 4.41 dq currents are shown. After the short-circuit, the d-axis component of the current
goes to zero as the active power reference is set to zero. In the same moment the q-axis component
of the current rises since the reactive power is set to maximum.
a
1
0 reference
measured
-0.5
0.5
reference
measured
0
-0.5
-1
0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
Time [s]
The voltage drop of the phase affected by the fault, in this case, is around 90% of the rated value.
Therefore according to the grid requirements, when the voltage drops to less than 20% of the rated
value, within the first 10 seconds "may be disconnected" and after that "shall disconnected" as
shown in Fig. 2.20. Therefore in this situation for the first 10 seconds it can be choose to keep the
wind turbine connected to grid.
In this section the model has been scaled down in order to control a 11kW system. The control
has been carried out in αβ and dq reference frame. The procedure is to analyze the system under
different grid conditions in both types of control strategies and to compare the results at the end
of the subsection. The comparison is made for active and reactive power flow, voltage of the
PCC, grid currents and the DC-link voltage responses. The rated values of the main variables are
presented in Fig. 4.42.
The summary of the study cases as well as the obtained results are presented in the following table
Fig. 4.43.
This analysis is performed for a number of active power excursions by setting reactive power to
zero value. The active power starts at 60% of the rated value, later it rises to 90% and at the end it
goes down to 40%.
Active power inputs [p.u.]
1
0.8
0.6
0.4
0.2
0
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
B. Reactive power flow steps and active power set to 0.9 of rated value
In this analysis positive and negative reactive power steps of 20% of the rated value, will be
applied. The active power flow is set to 90% of the rated value.
C. Voltage excursion
In this analysis voltage excursions in the grid voltage are considered as shown in Fig. 4.46. The
voltage in this case is varying between ±10% of the rated value.
Grid voltage amplitude [p.u.]
1.15
1.1
1.05
1
0.95
0.9
0.85
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
D. Unbalanced
In this study case the grid voltage is an unbalanced three-phase sinusoidal waveform, where one
of the phases is 3% bigger in amplitude as shown in Fig. 4.47.
1.1
1
Grid voltage [p.u.]
0.8
0.6
0.4
0.2
0
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
E. Voltage phase angle steps for active power set to 0.9 of rated value
This study case considers that the system is delivering 90% of the rated active power. Besides, a
few steps in the voltage phase angle are applied. These steps are 60 degrees positive and negative
respectively.
80
Grid voltage angle [Deg] 60
40
20
0
-20
-40
-60
-80
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
F. Voltage frequency steps for active power set to 0.9 of rated value
Frequency excursions of ±3Hz are taken into consideration in this analysis. During the frequency
variations the system is delivering 90% of the rated value.
Grid voltage frequency [Hz]
55
54
53
52
51
50
49
48
47
46
45
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1.4
reference
1.2
Active power [p.u.]
measured
1
0.8
0.6
0.4
0.2
0
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1
Reactive power [p.u.]
0.8 reference
0.6 measured
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1.25
Voltage at the PCC [p.u.]
1
0.75
0.5
0.25
0
-0.25
-0.5
-0.75
-1
-1.25
0.6 0.7 0.8 0.9 1 1.1
Time [s]
1
0.8
1.01
DC link voltage [p.u.]
reference
measured
1.005
0.995
0.99
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
B. αβ reactive power flow steps and active power set to 0.9 of rated value
1.5
reference
1.25 measured
Active power [p.u.]
1
0.75
0.5
0.25
0
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
0.4
Reactive power [p.u.]
reference
0.3
measured
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1.5
1.25
Grid currents [p.u.]
0.75
0.25
-0.25
-0.75
-1.25
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1.01
reference
DC link voltage [p.u.]
1.005 measured
0.995
0.99
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
C. αβ voltage excursion
1.3
reference
Active power [p.u.]
1.1 measured
0.9
0.7
0.5
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
0.4
-0.2
-0.4
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1.2
Voltage of the PCC [p.u.]
1
0.8
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-1.2
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1
0.8
Grid currents [p.u.]
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1.03
DC-link voltage [p.u.]
1.02 reference
measured
1.01
1
0.99
0.98
0.97
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
D. αβ unbalanced voltage
1.3
reference
Active power [p.u.] 1.1 measured
0.9
0.7
0.5
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
0.4
Reactive power [p.u.]
reference
0.2 measured
-0.2
-0.4
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
1.2
Voltage of the PCC [p.u.]
1.1
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
1.2
Grid currents [p.u.]
1
0.8
0.6
0.4
0.2
0
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
1.01
0.995
0.99
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
E. αβ voltage phase angle steps for active power set to 0.9 of rated value
3
2.5
Active power [p.u.]
2
1.5
1
0.5
0
-0.5
-1 reference
-1.5 measured
-2
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
2.5
Reactive power [p.u.]
2 reference
1.5 measured
1
0.5
0
-0.5
-1
-1.5
-2
-2.5
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
2
Voltage at the PCC [p.u.]
1.5
1
0.5
0
-0.5
-1
-1.5
-2
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
3
2
1.4
1.3
DC link voltage [p.u.]
reference
1.2 measured
1.1
1
0.9
0.8
0.7
0.6
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
F. αβ voltage frequency steps for active power set to 0.9 of rated value
1.3
reference
measured
Active power [p.u.]
1.1
0.9
0.7
0.5
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1
Reactive power [p.u.]
0.8 reference
0.6 measured
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1.25
1
0.75
Grid currents [p.u.]
0.5
0.25
0
-0.25
-0.5
-0.75
-1
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1.02
reference
DC link voltage [p.u.]
measured
1.01
0.99
0.98
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1.4
1.2
Active power [p.u.]
reference
1 measured
0.8
0.6
0.4
0.2
0
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
2
Voltage at the PCC [p.u.]
1.5
1
0.5
0
-0.5
-1
-1.5
-2
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1
0.8
Grid currents [p.u.]
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1.01
DC link voltage [p.u.]
reference
1.005 measured
0.995
0.99
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
B. Dq reactive power flow steps and active power set to 0.9 of rated value
1.5
reference
1.25 measured
0.4
Reactive power [p.u.]
0.3 reference
measured
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1.5
Voltage at the PCC [p.u.]
1
0.5
0
-0.5
-1
-1.5
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1.25
Grid currents [p.u.]
0.75
0.25
-0.25
-0.75
-1.25
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1.01
reference
0.995
0.99
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
C. Dq voltage excursion
1.3
reference
Active power [p.u.]
1.1 measured
0.9
0.7
0.5
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
0.4
Reactive power [p.u.]
reference
0.2 measured
-0.2
-0.4
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1.2
Voltage of the PCC [p.u.]
1
0.8
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-1.2
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
-0.5
-1
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1.03
DC-link voltage [p.u.]
1.02 reference
measured
1.01
1
0.99
0.98
0.97
0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
E. Dq unbalanced voltage
1.3
reference
Active power [p.u.]
1.1 measured
0.9
0.7
0.5
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
0.4
Reactive power [p.u.]
reference
0.2 measured
-0.2
-0.4
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
1.2
1.2
Grid currents [p.u.]
1
0.8
0.6
0.4
0.2
0
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
1.01
DC-link voltage [p.u.]
reference
1.005 measured
0.995
0.99
0.5 0.51 0.52 0.53 0.54 0.55 0.56
Time [s]
E. Dq voltage phase angle steps for active power set to 0.9 of rated value
3
reference
2.5 measured
Active power [p.u.]
2
1.5
1
0.5
0
-0.5
-1
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
2.5
1.5
Voltage at the PCC [p.u.]
1
0.5
0
-0.5
-1
-1.5
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
3
2
Grid currents [p.u.]
1
0
-1
-2
-3
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1.05
DC link voltage [p.u.]
1.025
reference
0.975 measured
0.95
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
F. Dq voltage frequency steps for active power set to 0.9 of rated value
1.3
0.9
0.7
0.5
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1
Reactive power [p.u.]
0.8 reference
0.6 measured
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
Time [s]
1.25
Voltage at the PCC [p.u.]
1
0.75
0.5
0.25
0
-0.25
-0.5
-0.75
-1
-1.25
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1
0.75
Grid currents [p.u.]
0.5
0.25
0
-0.25
-0.5
-0.75
-1
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
1.02
0.99
0.98
0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5
CONTROL STRATEGY
αβ dq
STUDY CASES P and Q V and I at PCC DC-link voltage P and Q V and I at PCC DC-link voltage
Voltage excursion
Volage unbalanced
It can be observed that the performance of both strategies is very good for most of the study cases.
However, the results of voltage phase angle shift and voltage frequency excursions cases are poor,
being poorer in αβ than in dq.
The simulations and analysis for the 2.4 MW model under different voltage disturbances, power
flow fluctuations and faults in the grid have been carried out, taking into consideration the grid
requirements. The comparison between αβ and dq has been performed. Next chapter will show
the laboratory tests and its results compared with the model.
The setup used in the laboratory to carry out the experimental tests is presented in Fig. 5.1. It
emulates the grid side connection of the wind turbine system. The system contains a DC voltage
supply, a power inverter, a LC filter, a three-phase transformer, the grid, the dSPACE system and
the PC computer.
4 3
5
6
7
2
Figure 5.1: Laboratory setup components: 1:PC computer, 2:dSPACE Hardware, 3:LC filter,
4:Power Inverter, 5:Main supply, 6:DC voltage connection, 7:three-phase trans-
former.
The power inverter is controlled by a Graphical User Interface (GUI) from the PC computer
through the dSPACE system. The dSPACE system sends the needed pulses to the converter gates
in order to generate the active and reactive power set in the control system. It is composed by
the software, the expansion box which contains the main boards as the processor and I/O boards
and finally the panels with BNC connectors to read and send the signal from the computer to the
system and vice versa.
81
5.1 Setup description
AC grid
Power Inverter
LC filter
Transformer
DC supply
I/O panel
PC computer
dSPACE
Expansion Box
Basically, from the GUI, it is possible to enable and disable the converter, to set the active and
reactive power and to modify the parameters of the controller during the tests. Furthermore the
main variables of the system are shown by means of different graphs. Behind the GUI both control
strategies (dq and αβ) are implemented. The results of the laboratory tests are analyzed and
compared with the results obtained in the previous chapter for the power flow study case.
82 5. Experimental setup
5.2 Study cases and results
In this section the load flow study case that was analyzed in the section 4.2, is carried out in the
laboratory for both control strategies.
5.2.1 αβ active power flow steps and reactive power set to zero
reference
1.2
measured
Active power [p.u.]
1
0.8
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1 1.2
Time [s]
0.5
0.4 reference
Reactive power [p.u.]
0.3 measured
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
-0.5
0 0.2 0.4 0.6 0.8 1
Time [s]
1.5
1
Grid voltages [p.u.]
0.5
-0.5
-1
-1.5
0.4 0.41 0.42 0.43 0.44 0.45 0.46
Time [s]
5. Experimental setup 83
5.2 Study cases and results
1
0.8
1 alpha-ref.
Alpha-beta currents [p.u.]
0.8 alpha-meas.
0.6 beta-ref.
0.4 beta-meas.
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0.4 0.41 0.42 0.43 0.44 0.45 0.46
Time [s]
1 voltage
0.8 current
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0.4 0.41 0.42 0.43 0.44 0.45 0.46
Time [s]
84 5. Experimental setup
5.2 Study cases and results
5.2.2 Dq active power flow steps and reactive power set to zero
reference
1.2
Active power [p.u.] measured
1
0.8
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1 1.2
Time [s]
0.5
0.4 reference
Reactive power [p.u.]
0.3 measured
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
-0.5
0 0.2 0.4 0.6 0.8 1 1.2
Time [s]
1.5
1
Grid voltages [p.u.]
0.5
-0.5
-1
-1.5
0.4 0.42 0.44 0.46 0.48 0.5
Time [s]
5. Experimental setup 85
5.2 Study cases and results
1.2
1
0.8
1.2
1 d-axis ref.
0.8 d-axis meas.
Dq currents [p.u.]
1 voltage
0.8 current
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0.4 0.41 0.42 0.43 0.44 0.45 0.46
Time [s]
As it can be seen in the previous graphs, the laboratory results are very close to the results obtained
in the simulations. This confirms the expected performance of the grid side wind turbine system.
86 5. Experimental setup
Summary
Conclusions
6
It is possible to state that the main objectives of the project have been achieved. The main objec-
tive was to implement the control system of the grid side converter for a large wind turbine system
connected to the grid. Therefore good knowledge about control systems has been necessary. Be-
sides, to perform the simulations, the models of the components have been prepared and therefore
good skills about MATLAB/Simulink and modeling was required.
Power systems connected to the grid have to comply with the grid requirements. In the case of
the wind turbines, considering that the amount of wind energy penetrating to the grid is increasing
considerably, it is very important to develop reliable and quality control systems. In this project
Danish grid codes have been taken into consideration.
The control strategy used to control the wind turbine model of 2.4 MW is dq reference frame strat-
egy. The control system has been implemented and in order to analyze the results, different study
cases under various grid conditions have been performed. By analyzing the results it is possible to
conclude that the main objective of the project has been reached. In fact thought the simulations it
is possible to see that the system responds well and fast in front of different conditions.
In addition it has been decided to compare two different control strategies, αβ and dq. Considering
that αβ uses PR controllers and dq PI controllers, it is interesting to compare this two methods.
For this purpose a small-scale model of 11 kW has been implemented. Simulations have been
performed on this model and different study cases have been analyzed. The reason for making
the simulation on a small-scale system was to be able to verify the results with experimental tests
in the laboratory. By comparing the results of the two control strategies it has been possible to
observe that both of them have good performances and they are quite similar.
The laboratory tests are very important. In this way it is possible to verify the results of the simu-
lations. Besides that, the experimental work is useful to familiarize with the real components and
have a better understanding of the systems. For this purpose, it was necessary to acquire good
knowledge about the components of the setup, specially dSPACE.
Future work
• Different control strategies could be studied to improve the performance of the system as a
future work.
• The complete wind turbine system, containing the generator side and the grid side of the
system can be studied and analyzed more in detail.
• The laboratory work could be done also for the generator side control and for the complete
wind turbine system.
87
Bibliography
[1] A. Abedini and A. Nasiri, “Pmsg wind turbine performance analysis during short circuit
faults,” IEEE Canada Electrical Power Conference, pp. 160–165, 2007.
[2] F. Blaabjerg, R. Teodorescu, M. Liserre, and A. V. Timbus, “Overview of control and grid
synchronization for distributed power generation systems,” IEEE Transactions on Industrial
Electronics, vol. 53, pp. 1398–1409, 2006.
[8] F. Iov and F. Blaabjerg, “Advanced power converters for universal and flexible power
managment in future electricity network,” Tech. Rep., 2007.
[10] V. Kaura and V. Blasko, “Operation of a phase locked loop system under utility conditions,”
IEEE Transactions on Industry Applications, vol. 33, 1997.
[12] A. R. Massimo Valentini, Thordur Ofeigsson, “Control of a variable speed variable pitch
wind turbine with full scale power converter,” Tech. Rep., 17. December 2007.
[13] D. Mehrzad, J. Luque, and M. capella Cuenca, “Vector control of pmsg for wind turbine
applications,” Tech. Rep., 2008.
[14] K. Ogata, Modern Control Engineering. Tom Robbins, 2002, no. ISBN: 0-13-043245-8.
[15] A. Petersson, “Analysis, modeling and control of doubly-fed induction generators for
wind,” 2007.
88
BIBLIOGRAPHY
[16] V. H. Prasad, “Analysis and comparison of space vector modulation schemes for three-leg
and four-leg voltage source inverters,” 9th Semester Report, Institute of Energy Technology,
Aalborg University, May 15, 1997.
[17] M. L. R. Teodorescu and P. Rodríguez, “Linearized small signal pll model,” Power
Electronics for Renewable Energy Systems Course, Institute of Energy Technology,
Aalborg University, May 13-15, 2008.
[18] R. Roeper, Short-circuit currents in three-phase systems. Siemens, John Wiley & Sons,
1985, no. ISBN 0-471-90707-3.
[19] R. Teodorescu and F. Blaabjerg, “Flexible control of small wind turbine with grid failure
detection operating in stand-alone and grid connected mode,” IEEE Transactions on Power
Electronics, vol. 19, 2004.
BIBLIOGRAPHY 89
Matlab models
A
A.1 Voltage Source Converter model
3
iABC
u(1)+u(2)+u(3) 1
idc
DC_link current
1 u*K
gate _signals
Matrix
Commutation functions 2
Gain
vABC
2
Output voltage
vdc
DC-link voltage
90
A.2 Space Vector Modulation model
vdref
Avoid
Weight
1 Saturation
vdref
vAlpha /Beta _ref
vqref
Weight Avoid saturation
2 vdc
vdc
Vdc
if (..)
vd vd if { }
duty _ABC
vd u1
vq vq
1st quadrant
elseIf (..)
vd vd elseif { }
duty _ABC
vq vq
2nd quadrant
elseIf (..) duty _ABC duty _abc 1
duty _ABC
vd vd elseif { } pulse dropping
duty _ABC
vq u2
vq vq
3rd quadrant
elseIf (..)
vd vd elseif { }
duty _ABC
If vq vq
4th quadrant
A. Matlab models 91
A.3 Grid model
1 ampl
|A|
2 freq vRST 1
fq vpcc
3 phase
phase
Harmonic
Voltage Source
4 IRST
iRST
Vpcc Isc
Ground
Local Load
Grid Impedance
92 A. Matlab models
A.4 PLL tuning model
9.2
Kp
Tset
1 1
Input Output
K Ts
psi u(1)^2 z-1
Ti
2.3
A. Matlab models 93
A.5 dq and αβ control models
94 A. Matlab models
A.5 dq and αβ control models
A. Matlab models 95
A.6 Complete model
96 A. Matlab models
Project proposal
B
Siemens Wind Power A/S 22-08-2008
In order to obtain full control possibilities and in order to minimize the generator size, a
full scale 4Q frequency converter can be applied between the generator and the grid.
The converter can e.g. consist of two Voltage Source Inverters (VSI) connected back to
back and with an intermediate DC link. The generator torque and the generator terminal
voltage can be controlled by the generator side VSI. The DC link voltage and the
reactive power/grid voltage can be controlled by the grid side VSI. At nominal power, the
speed of the generator can be controlled by pitching the blades.
Objectives:
It is the objective of the project to design, analyze and optimize controllers for the
converter for a 2 - 3 MW non-salient pole PMSG. The controllers shall be based on
vector control theory and shall be able to operate independently of each other. The
controllers shall be well damped and have a fast response time in the whole operation
area both during normal operation and during grid faults. The controllers shall be
designed and analyzed using Matlab/Simulink.
Contents:
- Modeling of drive train, PMSG, converter, filter and grid
- Design and optimization of torque and voltage/flux vector controllers for the
generator side VSI
- Design and optimization of DC link and reactive power vector controllers for the
grid side VSI.
- Simulation of controller performance during normal operation and during grid
faults
Suggested by:
Erik Grøndahl, Siemens Wind Power A/S
97