Professional Documents
Culture Documents
CHAPTER 2
2.1 GENERAL
& Slemon 1989). Figure 2.1 shows the cross-sectional view of a four-pole
surface mounted PMSG.
Stator Core
Permanent
Magnets
Rotor Core
wind turbines. In addition, they controlled the system by the generator side
converter controller and the grid side converter controller and studied the
performance of the controllers, namely the vector controller and the pitch
controller.
link voltage control loop and the inner current control loop. The outer loop
maintains the DC-link voltage of the converter under different wind speeds
and provides the reference current amplitude for the inner current loop. The
inner current loop enables the coil current to be sinusoidal and track the
generator back-EMF. The grid side control is achieved by the cascaded H-
bridge converter through vector control.
boost chopper and the two PI regulators. They compared the effects of
reactive power control by the SSPDC and hysteresis control methods and
showed that the range of capacity for the reactive power compensation under
the SSPDC is wider than that under the hysteresis control.
the damper windings and capacitances neglected. Hence, the power losses
remain constant, when the magnetic hysteresis and saturation effects are
neglected (Kumar & Maheshan 2012). The circuit model starts with the
phase coordinate model. Equations (2.1) - (2.3) give the voltage equations of
the stator phases (Boldea 2006)
d a
va ia Rs (2.1)
dt
d b
vb ib R s (2.2)
dt
d c
vc ic R s (2.3)
dt
where, va, vb, and vc are the phase voltages of the stator phases ‘a’, ‘b’, and ‘c’
respectively; ia, ib, and ic are the stator currents of the phases ‘a’, ‘b’, and ‘c’
respectively; and a, b, and c are the flux linkages of the phases ‘a’, ‘b’,
and ‘c’ respectively. Equation (2.4) gives the flux linkages in the matrix form
a L L aa L L ca ia ma er
sl er ab er er
L L L L i
b ab er sl bb er bc er b mb er
L ca L L L cc ic
c er bc er sl er mc er
(2.4)
where, Laa, Lbb, Lcc are the self inductances of the stator phases ‘a’, ‘b’, and ‘c’
respectively; Lab, Lbc, Lca are the mutual inductances between phases ‘a’ and
‘b’, ‘b’ and ‘c’ and ‘c’ and ‘a’ respectively; Lsl is the leakage inductance while
ma, mb, and mc are the permanent magnet flux linkages of the phases ‘a’,
‘b’, and ‘c’ respectively. er (rotor position) is the angle between the
permanent magnet pole axis and the ‘a’ phase.
33
d
v Rs i d (2.5)
ds ds e q
dt
d q
v qs Rs iqs e d (2.6)
dt
where, e is the electrical speed in rad/s, d, and q are the d-axis and the q-
axis flux linkages respectively. vds, and vqs are respectively the stator d and q
axes voltages in the synchronously rotating reference frame. ids, and iqs are
respectively the d and q axes stator currents in the synchronously rotating
reference frame. Equations (2.7) and (2.8) give the flux linkages in the d-q
reference frame
L i m (2.7)
d d ds
q Lqiqs (2.8)
where, Ld, and Lq are the d and q-axes inductances respectively, and m is the
permanent magnet flux linkage.
Equations (2.9) and (2.10) respectively give the d-axis and the q-
axis voltage equations obtained by substituting the values of d and q.
d L i
v ds R s i ds d ds (2.9)
e L q i qs
dt
34
d L i
q qs
vqs Rs iqs e Ld ids (2.10)
dt m
3
Pem e i i (2.11)
2 d qs q ds
Equation (2.12) gives the relation between the electrical speed and
the mechanical speed
e p m (2.12)
where, p is the number of pole pairs and m is the mechanical speed of the
rotor in rad/s. Hence, Equation (2.13) gives the expression for the
electromagnetic torque. By substituting the d-axis and q-axis flux linkages
in Equation (2.13), we get the torque Equation (2.14).
Pem 3
Te p i i (2.13)
m 2 d qs q ds
Rs Ld Rs Lq
ids iqs
vds vqs
e q e d
Figure 2.2 (a) d-axis equivalent circuit, (b) q-axis equivalent circuit
35
Pem 3
Te p i L L i i (2.14)
m 2 m qs d q qs ds
For the surface mounted PMSG, the d and q axes inductances are
equal and hence Equation (2.15) gives the torque equation.
3
Te p i (2.15)
2 m qs
The d and q-axes currents have negative signs for the generating
machine; hence the electromagnetic torque and power are also negative.
Figure 2.3 shows the WECS with the PWM back-back converters.
The wind turbine, which converts the mechanical energy of the wind turbine
into electrical energy, is connected to the PMSG. The output of the PMSG is
connected to the PWM converter, which is called the generator side converter.
The generator side converter is a voltage source converter that converts the
PMSG voltage into the DC voltage. The generator side converter controller
regulates the speed by adjusting the speed of the PMSG to match the optimum
speed of the wind turbine. The optimum speed is that speed at which the wind
turbine captures the maximum power from wind. The grid side converter
converts the DC-link voltage into an AC voltage of desired frequency. The
grid side converter controller maintains the DC-link voltage constant by
controlling the power flow. This control strategy controls the DC bus voltage
at the constant value to regulate the power delivered by the PMSG to the grid
(Emna et al 2013).
36
Filter
PMSG AC/DC DC/AC
Grid
There are two control techniques for the PMSG for variable speed
applications, namely the field oriented control and the direct torque control.
The field oriented control technique has less current distortion and therefore
has better performance, more overall efficiency and higher power factor when
compared to the direct torque control technique.
T1 T3 T5
a
VDC
b C
T4 T6 T2
VDC
va 2Da Db Dc
3
VDC
vb 2Db Dc Da (2.16)
3
VDC
vc 2Dc Da Db
3
ia
I DC Da Db Dc ib (2.17)
ic
38
The SVM determines the duty cycles necessary for the control of
voltage, frequency and power. With SVM, three-phase quantities are
represented as vectors in a two-dimensional plane (stationary reference
frame) providing the duty cycles, which controls the power flow through the
converter. There are 8 states (6 active/non-zero states and 2 zero states)
available based on the switching states. The active states produce non-zero
voltages and the zero states produce zero voltages. The voltage of each
state depends on the space vector. Equation (2.18) gives the reference space
vector V *,
2 2
* 2 * j
*
j
V v jv va e 3
v b e 3
v c* (2.18)
3
va*, vb*, vc* are the reference phase voltages, v is real part of V *
which is
along the a-axis and v is imaginary part of V * . The active state space vectors
divide the plane into six sectors (S-I to S-VI). The reference vector V* in
any sector is obtained by switching any two adjacent vectors. Figure 2.5
shows the 8 space vectors and the six sectors. The reference space vector,
which has an angle from V1, is located in the first sector and is obtained by
switching the state vectors V1 and V2. The reference vector in sector 1 (S-I) is
bounded by four state vectors V1 (100), V2 (110), V7 (111) and V0 (000).
Figure 2.6 shows the state sequence for S-I for the three phase output
voltages, where t1, t2, t0, t7 are the time intervals of the vectors V1, V2, V0, V7
respectively. The time intervals of V0 and V7 are equal (t0= t7).
39
V3(010) V2(110)
S-II
S-I
S-III
V*
V4(011) V0(000) V1(100)
V7(111)
S-VI
S-IV
S-V
V5(001) V6(101)
vb
vc
t0 t1 t2 t7
Ti
Ti
t1 t2
V* V1 V2 (2.19)
Ti Ti
2 2 1 3
where, V1 V DC and V 2 V DC j
3 3 2 2
V*
t1 3 Ti sin (2.21)
VDC 3
V*
t2 3 Ti sin (2.22)
VDC
From the values of t1 and t2, the value of t0 can be found. The
values of the duty cycles can be calculated using t1, t2 and t0. Equations (2.23)
- (2.25) give the expressions for duty cycles for sector-1.
t0
t1 t2
Da 2 (2.23)
Ti
t0
t2
Db 2 (2.24)
Ti
41
t0
2 t0
Dc (2.25)
Ti 2Ti
The duty cycles for other sectors are found in the same way. The
switching signals are obtained from the duty cycle values.
Ist
q b e
d
t ids
iqs m
er a
t is the torque angle, er is the rotor position, Ist = ids + jiqs. Figure 2.8 shows
the block diagram for the FOC with sensor, which uses one speed loop and
two current loops. The rotor speed is compared with the reference speed and
the error in speed is processed by a PI controller to provide the reference
current for the q-axis current controller. The reference value for the d-axis
current is set to zero. The rotor position is used for converting the stator
currents in the abc frame to the d-q frame. The d-q currents are compared with
the reference currents and the errors in current are processed by the current
controllers. The reference d-q voltages are generated after adding the
compensating components to the outputs of the current controllers for having
the decoupling effect. The reference d-q voltages are transformed into the
frame voltages and given as reference voltages to the SVM block (Cimpoeru
2010). The DC-link voltage is also given to the SVM block to produce the
required PWM signals for the six switches of the VSC.
IDC
GSC
VDC
PMSG (VSC)
abc
dq
PWM
er
p 1
ids iqs
s
V SVM
m
i*ds=0 PI dq
&
PWM
PI PI
*
m
i*qs
Component I
m for max
Wind speed (v ) Component II
power w
Figure 2.8 Field oriented control of the PMSG with the sensor
43
Component I: e q e iqs Lq
Component II: e d e i ds L d e m
VDC and V are given to space vector modulation block to produce the gate
signals for the converter switches. The wind speed is fed to a block where the
rotational speed of the rotor corresponding to the maximum power capture is
found. When the PMSG is operated at this speed, the power obtained from
wind has a maximum value.
Figure 2.9 shows the block diagram for the design of the q-axis
current controller. The various blocks are the PI current controller block, the
delay introduced by the digital calculation with time constant T=1/fs, fs is
sampling frequency. (T is taken as 0.0002 s), the delay introduced by the
inverter with the time constant of 0.5Ti (Ti is taken as 0.0001 s), the plant or
the stator block, and the delay introduced by digital to analog conversion that
is taken to be equal to half of the delay introduced by the digital calculation.
i *qs 1 1 1 i
PI qs
sT 1 0.5sTi 1 sLq Rs
i Inverter
qs
Stator
Sampling
1
0.5sT 1
Figure 2.9 Block diagram for the design of the q-axis current controller
44
Lq and Rs are respectively 22 mH and 2.2 . Equation (2.26) gives the transfer
function of the q-axis current controller
1
Gq ( s ) K pq 1 (2.26)
sT
iq
where, Kpq is the proportional gain a n d Tiq is the integral time of the q-axis
current controller.
1
G ( s)
d
K
pd
1 (2.27)
sT
id
where, Kpd is the proportional gain of the d-axis current controller and Tid is
the integral time of the d-axis current controller.
1 1 1 1 1
GH ( s) K 1 (2.28)
q pq sT sT 1 0.5sT 1 sL R 0.5sT 1
iq i q s
1 1
GH ( s ) K 1 (2.29)
q pq sT sL R
iq q s
1 1
K pq 1
iqs sTiq sLq Rs
(2.30)
i * qs 1 1
1 K pq 1
sTiq sLq Rs
Current loop TT
*
i qs Te
i i qs 3p m
PI 1 qs m p
sT 1 sJ B
* i *
2
m Control qs
m
algorithm
1
1
sTf 1
0.5sT 1
Filter
Sampling
Figure 2.10 Block diagram for the design of the speed controller
46
1
G ( s) Kp 1 (2.31)
sT
i
3. The critical value of the proportional gain Kcr and the period
of the sustained oscillation Tcr are noted.
KP 0.45 K cr (2.32)
Tcr
Tin (2.33)
1. 2
KP
Ki (2.34)
Tin
47
Kp, Ki and Tin are respectively the proportional gain, integral gain
and integral time of PI controller. Table 2.1 shows the values of Kcr and Tcr
obtained and the corresponding proportional gains and integral gains obtained
for the current and the speed controllers. The effect of controller parameters
with stability analysis is given in Appendix 1.
Table 2.1 Kcr and Tcr values and the controller gains of the current and
speed controllers
current controller to produce the d-axis voltage. The voltages in d-q axes are
then transformed to axes which are given as reference voltages for the
SVM block. The speed and positions are estimated based on the flux linkage
estimation method. The various steps involved in flux linkage estimation
method are explained as follows.
This method is used for estimating the position of the rotor. The
estimation of the rotor position is based on the estimation of the flux linkages
with the initial rotor position obtained from the flux linkages using the
inductances and the stator currents (Mora 2009). The rotor position estimation
is implemented in five steps.
k T [v k 1 Rsi k ] k 1 (2.35)
k T [v k 1 Rsi k ] k 1 (2.36)
where, k is the present sampling interval and k-1 is the previous sampling
interval.
The currents i and i (i.e., the stator currents in the stationary reference
frame) are obtained by measuring the stator currents in phases a, b, and c
respectively.
49
IDC
GSC VDC
PMSG (VSC)
iabc
abc
dq
dq
i PWM
Position
and Speed
ids iqs er
Estimation
dq v SVM
PI
m
i*ds=0 &
PI PI PWM
*
* i qs
m
Component I
for max.
Wind speed (v w) Component II
power
Figure 2.11 Field oriented control of the PMSG without the sensor
The stator currents are estimated using the flux linkages estimated
in the Step 1 and the predicted rotor position in Step 5. Equations (2.37) and
(2.38) can be solved to estimate the stator currents (i , i )
Ld Lq Lq Ld
where, L and L =0 for the surface mounted PMSG.
2 2
er (k ) p (k ) (k ) (2.41)
Lq i q
where, is the position error and , er and p are the corrected
m
Current Estimation
Position Correction
In this step, the fluxes are recalculated using the corrected rotor
position and the measured stator currents. Equations (2.42) and (2.43) express
the fluxes in discrete time for the surface mounted PMSG.
k Li k m cos er k (2.42)
k Li k m sin er k (2.43)
2
p et ft g (2.44)
Grid Side
VDC Converter Grid
(VSC)
Pulses
iabcg
Hysteresis
Controller
i*abcg
V*DC 3- Reference
PI Current
Generator
Figure 2.13 Block diagram of the grid side converter control with the
hysteresis current controller
ii (current) Hysteresis
Band
Actual current
Reference current
t (time)
t
Gate 1
Signal
0
rotor speed ( w), turbine power (PT), turbine torque (TT) for three different
wind speeds (vw) (8.6 m/s, 12 m/s and 10 m/s) are calculated using
Equations (2.45) - (2.48) (Nantao Huang 2013).
* opt vw
Reference speed m w (2.45)
R
* 60
Reference speed in rpm N m
m (2.46)
2
1 3
Turbine power PT C p R 2 vw (2.47)
2
PT
Turbine torque TT (2.48)
w
1
1 x
c6
where, C p c1 c2 c3 c4 c5 e , c1=0.5, c2=116, c3=0.4,
1 1 0.035
c4=0, c5=5, c6=21, is pitch angle and . The torque
opt 0.08 1 3
should be negative for the machine to act as a generator. Since the machine is
a generator, power is delivered to the grid hence power is also negative. The
simulation is carried out based on the above values. The wind speed is
changed from 8.6 m/s to 12 m/s at 1 s and from 12 m/s to 10 m/s at 2 s. The
waveforms for the speed, torque, power, voltages of the PMSG, rotor
position, the DC-link voltage, the real and reactive powers fed to the grid are
shown for the changes in wind speed. The various parameters used for the
simulation are listed in Appendix 3.
57
Figures 2.15(a) shows the wind speed and Figure 2.15(b) shows the
reference and the measured speed of PMSG. Figures 2.16 and 2.17
respectively show, in the expanded scale, the reference speed and the
measured speed due to the increase and decrease in wind speeds.
Reference speed
Measured speed
Figure 2.15 (b) The reference speed and the measured speed of the
PMSG for the increase in the wind speed at 1 s and the
decrease in the wind speed at 2 s
58
Reference speed
Measured speed
Figure 2.16 The reference speed and the measured speed of the PMSG,
in the expanded scale, for the increase in the wind speed at 1 s
Reference speed
Measured speed
Figure 2.17 The reference speed and the measured speed of the PMSG,
in the expanded scale, for the decrease in wind speed at 2 s
Electromagnetic Torque
Figure 2.18 Electromagnetic torque of the PMSG and the turbine torque
for the increase in wind speed at 1 s and the decrease in
wind speed at 2 s
Figure 2.19 shows the stator voltages of the PMSG and Figures
2.20, and 2.21 show the stator voltages, in the expanded scale, for the increase
and decrease of the wind speeds, respectively. Figure 2.20 shows that with
the increase in speed at 1 s, the stator voltages also increase while Figure 2.21
shows that with the decrease in speed at 2 s, the stator voltages also decrease.
Figure 2.22 shows the measured and estimated rotor positions. Figure 2.23
shows the generator power and the mechanical (turbine) power for the
increase and decrease in wind speeds.
Figure 2.19 Stator voltages of the PMSG for the increase in wind speed at 1 s and the decrease in wind speed at 2 s
60
61
Figure 2.20 Stator voltages of the PMSG, in the expanded scale, for the
increase in the wind speed at 1 s
Figure 2.21 Stator voltages of the PMSG, in the expanded scale, for the
decrease in the wind speed at 2 s
Turbine/Mechanical power
Generator power
Figure 2.23 Generator and turbine power for the increase in wind speed
at 1s and the decrease in wind speed at 2s
Figure 2.25 shows the real and reactive powers fed to the grid. The
reference real power is set at the generator power and the reference reactive
power is taken as zero. It is found from the Figure 2.25, that the real power fed
to the grid is almost equal to the generator power and the reactive power fed is
zero.
63
Reference DC voltage
Measured DC voltage
Figure 2.24 The Reference and the measured DC-link voltages for the
increase in the wind speed at 1 s and the decrease in the
wind speed at 2 s
Figure 2.25 Real and the reactive powers fed into the grid
2.7 SUMMARY
The PI controllers for the generator side and the grid side converters
are designed using Zeigler-Nichol’s second method of tuning. It is found from
the simulated waveforms that the designed generator side controller is able to
control the speed and torque at the reference value while the designed grid
side controller is able to control the DC-link voltage, the real and reactive
powers fed to the grid at the set values.
-10.72 Nm. Hence, the generator side controllers are able to control the speed
and torque of the PMSG. Similarly the grid side controller is able to control
the DC-link voltage. The DC-link voltage increases at 1s with the increase in
PMSG voltage (due to the increase in wind speed) and is brought back to the
reference of 400V at 1.05s. At 2 s, the DC-link voltage decreases due to the
decrease in the PMSG voltage and is brought back to the 400 V at 2.05 s. The
generator power and the real power fed to the grid are almost equal and the
reactive power fed to the grid is zero.