Adaptive Control and Parameter Identification of A DFIG For Wind Power
Adaptive Control and Parameter Identification of A DFIG For Wind Power
POSTGRADUATE
SCHOOL
MONTEREY, CALIFORNIA
THESIS
ADAPTIVE CONTROL AND PARAMETER
IDENTIFICATION OF A DOUBLY-FED INDUCTION
GENERATOR FOR WIND POWER
by
Stamatios Orfanos - Pepainas
September 2011
Thesis Co-Advisors:
Second Reader:
Roberto Cristi
Alexander L. Julian
Xiaoping Yun
Public reporting burden for this collection of information is estimated to average 1 hour per response, including the time for reviewing instruction,
searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Send
comments regarding this burden estimate or any other aspect of this collection of information, including suggestions for reducing this burden, to
Washington headquarters Services, Directorate for Information Operations and Reports, 1215 Jefferson Davis Highway, Suite 1204, Arlington, VA
22202-4302, and to the Office of Management and Budget, Paperwork Reduction Project (0704-0188) Washington DC 20503.
2. REPORT DATE
September 2011
The use of Doubly-Fed Induction Generators (DFIG) for wind energy conversion is addressed in this thesis. It is well
known that when the stator is connected to the electric grid, the rotor voltage can control both mechanical torque and
reactive electric power.
To guarantee efficient wind energy conversion, it is important to research and design more advanced control
schemes. In this thesis, we first review the basic theory behind DFIGs and Adaptive Control. Next we design an
adaptive controller for a wind turbine using a DFIG and model and simulate the system. In order to create a valid
assessment on the results of this method, we compare the systems performance with a standard control scheme based
on proportional integral (PI) controllers as proposed in standard approaches.
14. SUBJECT TERMS
Wind Energy, DFIG, Adaptive Control
17. SECURITY
CLASSIFICATION OF
REPORT
Unclassified
15. NUMBER OF
PAGES
103
16. PRICE CODE
18. SECURITY
CLASSIFICATION OF THIS
PAGE
Unclassified
NSN 7540-01-280-5500
19. SECURITY
CLASSIFICATION OF
ABSTRACT
Unclassified
20. LIMITATION OF
ABSTRACT
UU
ii
ADAPTIVE CONTROL AND PARAMETER IDENTIFICATION OF A DOUBLYFED INDUCTION GENERATOR FOR WIND POWER
Stamatios Orfanos-Pepainas
Lieutenant, Hellenic Navy
BS, Hellenic Naval Academy, June 2001
ELECTRICAL ENGINEER
and
MASTER OF SCIENCE IN ELECTRICAL ENGINEERING
from the
Author:
Stamatios Orfanos-Pepainas
Approved by:
Roberto Cristi
Thesis Co-Advisor
Alexander L. Julian
Thesis Co-Advisor
Xiaoping Yun
Second Reader
R. Clark Robertson
Chair, Department of Electrical and Computer Engineering
iii
iv
ABSTRACT
The use of Doubly-Fed Induction Generators (DFIG) for wind energy conversion is
addressed in this thesis. It is well known that when the stator is connected to the electric
grid, the rotor voltage can control both mechanical torque and reactive electric power.
To guarantee efficient wind energy conversion, it is important to research and
design more advanced control schemes. In this thesis, we first review the basic theory
behind DFIGs and Adaptive Control. Next we design an adaptive controller for a wind
turbine using a DFIG and model and simulate the system. In order to create a valid
assessment on the results of this method, we compare the systems performance with a
standard control scheme based on proportional integral (PI) controllers as proposed in
standard approaches.
vi
TABLE OF CONTENTS
I.
INTRODUCTION........................................................................................................1
A.
BACKGROUND ..............................................................................................1
B.
THESIS OBJECTIVES...................................................................................2
C.
RELATED WORK ..........................................................................................2
D.
APPROACH.....................................................................................................4
E.
THESIS OUTLINE..........................................................................................4
A.
WIND TURBINE THEORY...........................................................................4
1.
Energy in the Wind..............................................................................5
2.
Wind Turbine Aerodynamics Disc Actuator Model......................6
3.
Torque and Power on the Rotor .......................................................10
4.
Regions of Control .............................................................................13
B.
DOUBLY-FED INDUCTION GENERATOR (DFIG) ..............................14
1.
Reference Frames Dynamic Models..............................................15
2.
DFIG Model........................................................................................18
C.
CHAPTER SUMMARY................................................................................19
III.
IV.
D.
V.
b.
Simulation Model....................................................................48
c.
Simulation Results ..................................................................52
2.
Second Approach: Adaptive Control of Torque, PI Control of
the Reactive Power.............................................................................55
a.
Dynamic Model of the Controller...........................................55
b.
Simulation Model....................................................................57
c.
Simulation Results ..................................................................58
3.
Performance Comparison .................................................................62
CHAPTER SUMMARY................................................................................66
APPENDIX:
MATLAB CODES - SIMULINK MODEL .....................................69
A.
MATLAB CODE FOR INITIALIZATION OF THE SIMULATIONS ..69
B.
SIMULINK BLOCKS ...................................................................................71
1.
First Adaptive Control Approach ....................................................71
a.
Overall System View................................................................71
b.
Aerodynamic Torque Input ....................................................72
c.
General View of the Controller ..............................................72
d.
Preprocess................................................................................73
e.
Parameter Estimation ...............................................................73
f.
Control.....................................................................................74
2.
Second Approach ...............................................................................74
a.
Preprocess................................................................................74
b.
Control.....................................................................................75
LIST OF REFERENCES ......................................................................................................77
INITIAL DISTRIBUTION LIST .........................................................................................81
viii
LIST OF FIGURES
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 15.
Figure 16.
Figure 17.
Figure 18.
Figure 19.
Figure 20.
Figure 21.
Figure 22.
Figure 23.
Figure 24.
Figure 25.
Figure 26.
Figure 27.
Figure 28.
Figure 29.
Figure 30.
Figure 31.
Figure 32.
Figure 33.
Figure 34.
Figure 35.
Figure 36.
Figure 37.
Figure 38.
Figure 39.
Figure 40.
Figure 41.
Magnified plot of output torque Te and reference torque Tref during the
simulation of a wind gust.................................................................................64
Typical DFIG torque versus time curve for different values of rr. ..................65
Comparison of the variation of the output torque curves during simulation
of a variation of rr. ...........................................................................................65
Comparison of the variation of the DFIG speed during the simulation of a
variation of rr. ...................................................................................................66
LIST OF TABLES
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
xi
xii
Alternating Current
COE
Cost of Energy
Cp
Cq
DFIG
DMRAC
Ek
Kinetic Energy
FD
Force that is applied from the air flow on the actuator disc
HAWT
iqd0r
iqd0s
Llr
Lls
MIMO
MMF
MRAC
PD
Per
Pes
PI
Proportional Integral
Pv
PWM
Qer
Qes
RE
Renewable Energy
xiii
rr
rs
SM
Sliding Mode
Te
Tr
Tref
Vqd0r
Vqd0s
WE
Wind Energy
WECS
WT
Wind Turbine
opt
Tip speed to wind speed ratio of the Wind Turbine for maximum power
qd0r
qd0s
xiv
EXECUTIVE SUMMARY
The possibility of fossil fuel shortages in the near future and environmental concerns
about power generation has lead to an increasing demand for renewable energy (RE)
installations worldwide. Among them, wind energy (WE) is one of the fastest growing.
This form of energy production is suitable for electricity production since wind is
available everywhere. However, the random nature of the wind and the need to provide a
stable source for the grid calls for the design of effective control systems for wind energy
conversion systems (WECS). This would improve both the reliability of the energy
captured and the overall efficiency of the system.
Many large wind power generators today are based on the doubly-fed induction
generator (DFIG). The DFIG is capable of controlling both the active and reactive power
simultaneously and keeping the generator at its maximum efficiency, even in the
presence of wind speed variations. To take advantage of these features, the DFIG requires
proper control in terms of its power electronics and computer algorithms.
Standard controllers, such as proportional integral (PI) controllers for pulse width
modulation (PWM) converters at the rotor and source side of the system are the most
commonly used to provide independent control of active and reactive power output.
A different control approach based on adaptive control theory is investigated in
this thesis. The motivation for this research is the fact that WECS operate in
environments with extreme variations in the operating conditions, and their operation
depends on the wind speed, which, in general is a random process that cannot be
controlled. Adaptive control systems, on the other hand, have the ability to adapt to
variations in the systems parameters, which is a very attractive feature. Among the
various kinds of adaptive control methods, the one examined in this thesis is direct model
reference adaptive control (DMRAC). The basic idea behind this approach is to make the
system behave as closely as possible to a reference model in the presence of uncertain
and/or time-varying dynamics of the system to be controlled. To achieve this, the system
is modeled in terms of a vector of parameters c(t) that may be known or approximately
xv
known. This parameter vector is updated by an adaptive law using input and output data.
The goal of the controller is to continuously estimate the parameters creating a vector
$ c (t ) to drive the error of the output vector z%(t) between the reference model and the
actual plant to zero.
A number of methods for system modeling and parameter identification, in terms
of effectiveness and complexity, are investigated in this thesis. To improve the systems
overall performance and stability under various operating conditions and faults, the
results of the parameter identification are applied to the design of an adaptive controller
for a power grid connected WECS. A basic view of the overall system is illustrated in the
following figure.
xvi
Since there are two independent control channels, one for the active and one for
the reactive power, and they both have different requirements, the effectiveness of using
either two independent adaptive controllers or a combination of one adaptive and one
classical PI controller is considered. One can reason that the reactive power has simple
control requirements since it has to be kept to a constant value. The active power, on the
other hand, has to follow a profile for maximum torque, which changes with wind
velocity and the aerodynamics of the turbine.
To test and assess the effectiveness of the proposed techniques and their ability to
adapt to changes in dynamics, a number of different cases have been simulated, such as
changes in internal resistances and wind gusts.
It was found that DMRAC can be effectively applied in a WECS, which can
significantly improve the performance of the overall system. To that end, a physical
implementation to validate the results of this thesis is recommended.
xvii
xviii
ACKNOWLEDGMENTS
First, I would like to express my gratitude to my parents, Dimitrio and Eleni for
teaching me the importance of education and for all the sacrifices they made to raise me
and teach me all their principles in life.
I would like to thank my thesis advisor, Professor Roberto Cristi, for his
continuous support and motivation not only throughout my research, but though the
whole period of my studies here in NPS. I would also like to thank professors Xiaoping
Yun and Alexander Julian, for their advice and the expansive knowledge that they passed
on to me during my pursuit of graduate education.
I dedicate this work to my wife, Lina, and my daughter Danae, who have always
been patient and supportive and provide me with the courage and inspiration needed to
achieve my goals in life.
xix
xx
I.
A.
INTRODUCTION
BACKGROUND
The possibility of a shortage in fossil fuels in the near future in conjunction with
the continuously increasing demand for energy [1], [2] and environmental concerns about
high emissions has contributed to a high interest in renewable energy (RE) worldwide.
Among the various sources of RE, one of the fastest growing and most promising is wind
power.!New wind power capacity added globally during 2010 reached 39 GW, which is
more than any other renewable technology and over three times higher than the 11.5 GW
of wind power added worldwide in 2005. As a result, existing capacity increased more
than 24% relative to 2009, with total global capacity close to 198 GW by the end of 2010
[3]. The growth of the global wind power installations over the past 15 years is
demonstrated in Figure 1.
Figure 1.
In the U.S., the wind industry started to grow in the 1980s; by 1986, the installed
capacity in California was close to 90% of the global installed wind power. It later hit a
plateau during an electricity restructuring period in the 1990s and regained momentum in
the past decade [4].
The spread of wind energy (WE) installations indicates the need to develop wind
turbines (WT) with higher efficiency. This involves technology advances that reduce the
initial cost of the WT or allow the capture of more energy during operation, which results
in a cost-of-energy (COE) decrease [5]. One approach that can lead to more effective WT
is the design of more sophisticated controllers. The problem of designing an adaptive
controller for a variable speed horizontal axis WT (HAWT) using a doubly-fed induction
generator (DFIG) is addressed in this thesis.
B.
THESIS OBJECTIVES
The objective of this thesis is to apply various methods of system identification to
a DFIG and investigate the design of an adaptive controller for a power grid connected
wind energy conversion system (WECS) to improve the systems overall performance
and stability under various operating conditions and faults. To achieve those goals,
attempts are made to control both mechanical torque and reactive electric power
independently using the rotor voltage components as a control input.
C.
RELATED WORK
Various researchers over the past several years have addressed the problem of
efficient control of WECSs. The complexity of the overall system and the random
conditions under which WTs operate have led scientists to investigate different control
approaches to improve performance and stability under various fault conditions. A novel
control method for smoothing the stator active or reactive power ripple components under
unbalanced grid voltage is proposed in [6]. In [7], the design of a multi-input multi-output
(MIMO) sliding mode (SM) nonlinear control strategy for a WECS is presented. The
resulting robust control law guarantees finite time convergence, whereas smoothing
discontinuities at the basis of sliding mode control achieves chattering reduction. The
2
paper concludes that this type of control is a particularly suitable option to deal with
electronically controlled variable speed operating WECS. Furthermore, SM control has
proven to be robust with respect to system parameter variations and external disturbances
as well as poorly known operating environments [8], [9]. In [10], direct model reference
adaptive control (DMRAC) was used to design an adaptive collective pitch controller for
a HAWT. The objective of the adaptive pitch controller was to regulate generator speed
for wind speeds higher than the rated value for the generator and to reject step
disturbances. This objective was accomplished by collectively pitching the turbine
blades. The results were compared in simulations with a classical proportional integrator
(PI) collective pitch controller. In the simulations, the adaptive pitch controller showed
better speed regulation for high wind speeds.
A different approach of optimal adaptive control is presented in [11] for a
permanent magnet synchronous generator driven by a pulse width modulation (PWM)
inverter. The controller focused on optimization of the system by minimizing Joule losses
in the inverter and generator. To achieve this, the paper proposed the operation of the
system at an operating point with minimum phase current, considering fixed torque.
Other, more classical approaches include the independent control of active and
reactive power using back-to-back PWM voltage source converters in the rotor circuit. A
vector control scheme on the supply side PWM ensures independent control of active and
reactive power drawn from the supply, while vector control of the rotor side PWM results
in a wide speed - range operation. The control is achieved using PI controllers to enable
maximum speed tracking for maximum power extraction from the wind. This approach,
presented in [12], presents two different controls, a current-mode control and a speedmode control. A similar approach was presented in [13], where a Stator-Flux Oriented
vector control approach is deployed for both stator and rotor side converters to provide
independent control of active and reactive power using a decoupled design based on
internal model control.
D.
APPROACH
In the first part of this research, the analytical design of an online identification
algorithm is presented, with the intent of constructing a Simulink model of the physical
system. In the second part, an adaptive control scheme to compensate for dynamic
variations of the generator is proposed and its effectiveness is evaluated by computer
simulations. In the simulations, various fault conditions are implemented, and the results
are discussed subsequently.
E.
THESIS OUTLINE
This thesis is organized as follows: the concept of the basic theory of WTs and
DFIGs is covered in Chapter II, and the model created for the system in the Simulink
environment is described. The theory of online system identification including modeling
and simulation results for different estimation algorithms, is covered in Chapter III. A
basic introduction to adaptive control theory and the design and simulation of two
different adaptive controllers, along with simulation results under different operational
conditions of the system, are presented in Chapter IV. A comparison with simulation
results from other control approaches is also presented. Finally, the conclusions based on
the results from the previous chapters, along with some recommendations for future
research in the area of adaptive control for WTs, are presented in Chapter V. The
Appendix includes Matlab code for initialization of the simulation of the controllers as
well as the basic model blocks in the Simulink environment.II.
WIND TURBINES
DFIG
A.
convert it to usable energy [14] in the form of electricity. This section presents a brief
explanation of the basic operating principles of WTs.
1.
Wind speed is a random process that depends on several factors. The main
parameter that describes the ability to extract power is the mean wind speed for the
specific area of interest. The probability distribution function (PDF) of the mean wind
speed Vm over an area is modeled as a Weibull distribution [14] of the form:
k V (Vm )
P(Vm ) = m e c
c c
k 1
(0.0)
where the parameters k and c are called the shape and scale factor, respectively, and are
both positive real numbers.
Figure 2.
If one takes a volume of air Ax flowing with speed V as shown in Figure 2, the
kinetic energy stored in the wind is
1
E k = mV 2 ,
2
(0.0)
1
E k = (Ax)V 2 ,
2
(0.0)
and from Equation (2.3) one can determine the wind energy per unit volume x = 1 as
1
Ek = V 2 .
2
(0.0)
Since the power is defined as the derivative of the energy with respect to time,
one can derive an expression for the power of the wind:
1
(Ax)V 2 1
2
=
= AV 3 .
PV =
t
t
2
2.
(0.0)
Figure 3.
Furthermore, for the stream tube just enclosing the disc, the upstream cross
sectional area A is smaller than the disc area AD, which in turn is smaller than the
downstream cross-sectional area A-. This happens because, by definition, due to the law
of mass conservation, the mass flow must remain constant within the stream tube [14].
The above statement implies:
= cons tant ,
t
(0.0)
where M is the air mass going through a surface during time t. Now one can derive the
following expression:
x
= A
= AV = cons tant.
t
t
(0.0)
Therefore, if one takes ideal points away from the turbine ( and + infinity) and
on the turbine, one obtains:
V = DVD = V .
(0.0)
Since the air that passes through the disc undergoes a speed reduction equal to
V V , this implies a reduction in its kinetic energy. This results in a force FD developed
by the actuator disc on the incident airflow, which is given by Newton's second law of
motion as the product of mass M and acceleration a:
FD = AD x
(V V )
= (V V ) ADVD .
t
(0.0)
The force FD originated by the pressure drop introduced by the actuator disc can
also be expressed as:
FD = (pD+ pD )AD ,
(0.0)
where, pD+ and pD are the values of the air pressure immediately before and after the disc,
as shown in Figure 4.
Figure 4.
Since VD is smaller than V, one can write the speed at the disc as
VD = (1 )V ,
(0.0)
where one defines , with 0 1 , which is referred to as the axial flow interference
factor. Substituting Equation (2.11) in Equation (2.9), one gets the force FD as:
FD = (V V ) ADV (1 ) .
8
(0.0)
(V V )V (1 ) = (pD+ pD ) .
(0.0)
(0.0)
(0.0)
and, since V has to be non-negative, Equation (2.15) gives us the upper bound of ,
which is 0.5.
Substituting Equation (2.15) in Equation (2.12), one gets an expression for the
force that is applied from the airflow on the disc:
FD = 2 ADV 2 (1 ) .
(0.0)
The power that the actuator disc extracts from the wind is given by
PD = FDVD = 2 ADV 3 (1 )2 .
(0.0)
This gives an idea of the maximum power available to the turbine from the flow
of the wind.
A conventional way of characterizing the ability of a wind turbine to capture wind
energy is the power coefficient Cp [14], which is defined as the ratio of extracted power
divided by the total wind power:
Cp =
PD
.
PV
(0.0)
Substituting Equations (2.2) and (2.11) in (2.12), one gets the following
expression for Cp:
Cp =
2 ADV 3 (1 )2
= 4 (1 )2 .
0.5 ADV 3
(0.0)
The power coefficient Cp is a function of the axial flow interference factor . The
maximum theoretical value of the power coefficient can be found from Equation (2.19)
by taking its first and second derivatives. The result, which is called the Betz limit, is
Cp _max = 0.593 for equal t 1/3 [17]. This limit is valid for all kinds of wind turbines, but
the actual efficiency is usually lower, and for most commercial wind turbines, a good
value is between 0.40-0.50.
In practice three effects that lead to a decrease in the maximum achievable
power coefficient [18]:
3.
The relation between the energy of the wind flowing through the windmill and the
mechanical power available at the rotor is discussed in this section. The parameter is
the pitch angle of the turbine blades, and the tip speed to wind speed ratio :
r R
.
V
(0.0)
10
Figure 5.
Turbine disc.
Substituting the expression for the power coefficient Cp from Equation (2.19) into
Equation (2.17), one gets the following expression for the aerodynamic wind power:
PD = 2 ADV 3
C p ( , )
4
1
= ADC p ( , )V 3 .
2
(0.0)
Substituting the expression for the disc area AD = R2 into Equation (2.21), one
gets:
1
PD = R 2C p ( , )V 3 .
2
(0.0)
From Equation (2.22), one can easily derive an expression for the aerodynamic
torque produced by a turbine of radius R rotating at an angular rate r with wind speed V:
2
3
Pr 1 R C p ( , )V
.
Tr =
=
r 2
r
(0.0)
(0.0)
CQ =
CP
(0.0)
In Equations (2.21) and (2.22), it can be seen that CQ and Cp are written as
functions of and . However, it ia assumed in this thesis that the pitch angle =0, and
the above coefficients are used as functions of the ratio only.
A parametric approximation of the torque coefficient CQ is given by the following
expression in terms of [7]
CQ ( ) =
ab
c/
1 e ,
(0.0)
where , b, c are dimensionless parameters that characterize the rotor of the wind turbine.
If one substitutes Equation (2.26) in Equation (2.25), then
b
Cp ( ) = a 1 e c / .
(0.0)
Figure 6.
The speed ratio is a very important parameter in the dynamic model of the WT.
Since one wants to operate as closely as possible to maximum efficiency to have
12
maximum power capture and given that the wind speed cannot be controlled and the
radius of the blades is fixed, one needs to vary the rotational speed of the wind turbine to
keep close to its optimal value opt. This is one of the advantages of variable speed WTs
over fixed speed WTs, since they operate close to optimal efficiency only for a small
range of wind speed values.
For a typical wind speed profile with a Weibull distribution having a shape
parameter k = 2 and scale parameter c = 8.5, the variable-speed turbine captures 2.3%
more energy per year than the constant-speed turbine. This is considered a significant
difference in the wind industry [18].
4.
Regions of Control
There are three different operational regions for the variable speed WTs, which
are shown in Figure 7.
Figure 7.
13
In region 1, the section of the solid curve, usually located to the left of 4 to 5 m/s
wind speed, the power available in the wind is low compared to the losses in the turbine
system; therefore, the turbine is usually not operating in this region. The use of modern
control strategies is not usually critical in region 1 [5].
Region 2, illustrated by the cubic section of the red curve, is generally for winds
speeds between 4 to 5 m/s up to the WT's rated wind speed, usually between 12 to 15
m/s. In this area, the WT is in operational mode, and it is desirable for it to capture as
much power from the wind as possible. The goal in this region is to approach the Betz
Limit curve as closely as possible.
Region 3 is for operation above rated wind speed of the WT, i.e., the wind speed
above which maximum peak power is produced. The goal of control strategies applied in
this region is to limit the wind power captured so as not to exceed the designed electrical
and mechanical load limits of the system.
All research in this thesis centers on Region 2.
B.
Induction machines are used in a wide variety of applications and are, without
doubt, the workhorse of the electric power industry [19].
An induction motor is an electric motor that is driven by alternating current (AC).
It consists of two basic parts: the stator, which is on the outside and has windings
supplied with AC to produce a rotating magnetic field, and the rotor, which is attached to
the output shaft on the inside. When balanced multi-phase currents flow through the
stator windings, a rotating air-gap magnetomotive force (MMF) is produced, and, if the
rotor rotates at different speed than the speed of the rotating MMF, balanced multi-phase
currents are induced in the rotor windings. There are two different types of rotor
windings: wound and squirrel cage. In Figure 8 the cross section of a typical three-phase
induction machine with a squirrel cage rotor is illustrated.
14
Figure 8.
15
(0.0)
,
where v, i, refer to voltages, current, and flux linkages in the qd0 reference frame of the
stator (subscript s) and the rotor (subscript r). The parameter is the electrical angular
rate of the reference frame, determined by the line frequency (say 60 Hz in the USA); r
is the electrical frequency of the rotor circuit; rs ,rr are the stator and rotor resistances;
and p stands for the differential operator d/dt.
Any qd0 variable, say f, can be expressed in a complex form as:
fqd 0 = fq jfd + 0 .
(0.0)
(dq 0 s )T = [ds
qs
0]
0 r )T = [dr
(dq
qr
0]
(0.0)
where the flux components are related to the currents by standard equations [19]
(0.0)
16
rs + X ss
b
X ss
vqs
b
ds
0
v0 s
=
vqr
p
vdr
X
b
v0 r
r
X
b
X
b ss
rs +
X
b
p
X
where
rs +
X
b
X
b
X ss
rr' +
X ls
0
0
0
0
X 'rr
r '
X rr
b
0
b
p
rr' +
b
0
0
'
X rr
X 'rr
rr' +
0
0
p
iqs
ids
i
0s
iqr
i
dr
i0 r
X lr
. (0.0)
X ss = X ls + XM
X rr' = X lr' + X M
X ls = bLls
(0.0)
X lr' = bL'lr
X M = bLM
express all the impedances. In the above equations, b is the base or rated frequency (say
the standard 60 Hz); r is the electrical rotational frequency of the rotor; and e is the
electrical rotational frequency of the stator. The variables Lls and LM are the leakage and
magnetizing inductances of the stator windings, and L'lr is the leakage inductance for the
rotor windings. Also, as mentioned, rs and r'r are the stator and the rotor resistances.
The electromagnetic torque of the generator is given by the following expressions
[19], which are all equivalent:
3 P
Te = LM (iqs idr' ids iqr' ) ,
2 2
(0.0)
3 P
Te = LM (qr' idr' dr' iqr' )
2 2
.
3 P
Te = LM (ds iqs qs ids )
2 2
(0.0)
In the above expressions, P is the number of magnetic poles of the generator, and
Te is positive for motor action and negative for generator action.
17
The total real and reactive power of a three-phase balanced DFIG in steady state
conditions is given by [19]:
3
Pe = (VqsIqs + VdsIds )
2
.
3
Qe = (VqsIds VdsIqs )
2
2.
(0.0)
DFIG Model
Equations (2.28) clearly define a nonlinear dynamic system where the fluxes are
the states and the voltages are the control signals. Equivalently, from [19], one can
redefine the states in terms of the qd0 current components of the stator and the rotor.
The whole system is a nonlinear dynamic system and was implemented by
Professor A. Julian in Simulink [21], as shown in Figure 9. The time domain voltage
components va, vb, vc of the stator and the rotor are explicitly shown, together with the
state variables ia, ib, ic of stator and rotor, in the time domain. In addition, other physical
quantities, like the torque on the load TL, are shown, along with all relevant power
components Pe (active) and Qe (reactive). The model of the DFIG is described in more
detail in [21].
Figure 9.
This model is used extensively in the next chapters, both as a benchmark for
simulating the dynamics of the DFIG and as the basis of the analytical design of the
proposed algorithms.
C.
CHAPTER SUMMARY
The basic theory behind WTs and DFIGs was presented in this chapter, and a
description of the simulation model for a DFIG was provided. The quality of the model is
of great importance, because the effectiveness of the controller depends on it. In the next
chapter, three different algorithms of online parameter identification will be presented.
19
20
III.
A.
INTRODUCTION
The mathematical model described in the Chapter II, with its Simulink
model
in
Chapter
II,
and
it
is
adjusted
continuously
so
that
y( ,t) approaches y(t) as t increases. Under certain input conditions, y( ,t) being close
to y(t) implies that (t ) is close to the unknown parameter vector (t) of the plant model.
The online estimation procedure, therefore, involves three steps [22]:
Properly excite the plant such that the parameter estimates approach the
actual expected values as t .
21
y(t ) = (t ) (t )
(0.0)
.
. .
yn (t ) n1 (t )
.
(t )
. . . 1m (t ) 1
(t )
. . .
. 2
.
. . .
.
,
.
. . .
.
.
. . . nm (t )
m (t )
(0.0)
where the nx1 vector y(t) consists of the observed variables; the mx1 vector (t) consists
of the unknown parameters to be determined; and the nxm matrix (t) consists of known
functions that describe the plant model, which are called regression variables[23]. In this
thesis, as one can see later on, n=6 and m=5.
It is shown in [22], [23] that under conditions of persistency of excitation, the
estimated parameters converge to the true parameters. Loosely speaking, this is satisfied
when the signal is sufficiently excited so that the input-output behavior can be modeled
by a unique parameter vector.
B.
SYSTEM EQUATIONS
Based on what was discussed in the previous section, one needs to rewrite the
dynamic equations in terms of parameters and regression vectors. In particular, the five
quantities that form the parameter vector to be estimated are the following:
= rs
rr'
Lls
L'lr
LM .
(0.0)
The vector y(t) of observations is defined by the stator and rotor voltages:
y (t ) = v (t ) = v qs
vds
v0 s
vqr
vdr
v 0 r .
22
(0.0)
iqs
ids
i
v(t ) = 0 s
0
0
0
0
piqs + ids
pids iqs
0
0
0
iqr'
pi0 s
0
pi + ( r )idr'
idr'
i0' r
0
0
pi ( r )iqr'
pi0' r
0
'
qr
'
dr
0
(t ) , (0.0)
p(iqs + iqr' ) + ( r )(ids + idr' )
p(ids + idr' ) ( r )(iqs + iqr' )
(0.0)
and is the angular velocity of the arbitrary reference frame that was chosen.
C.
ESTIMATORS
In order to estimate the machine parameters vector (t), three different
The first estimation algorithm is based on the Least Mean Squares (LMS) method.
This was initially formulated at the end of the 18th century by the German mathematician
and scientist K. F. Gauss to calculate the orbits of planets and asteroids. From [23], using
the above method, the parameters of the model should be chosen in such a way that the
sum of squares of the differences between the observed and computed values, multiplied
by numbers that measure the degree of precision, is a minimum.
23
a.
Equations Setup
Based on the model described in Equation (3.1), one can define the
prediction or estimation error e(t) [23], as the difference between y$ (t ) and y (t ) :
(0.0)
(0.0)
Thus, from Equations (3.1), (3.7) and (3.8), one can derive the following
expression for e(t):
e(t) =(t)%( ) .
(0.0)
(0.0)
By the standard steepest descent algorithm, one can obtain the following
expression for the derivative of %(t ) with respect to time:
&%(t ) = (t )e(t ) ,
(0.0)
where is an arbitrarily chosen strictly positive parameter called the adaptation gain and
allows for a variable rate of adaptation of the parameters. The greater the value of , the
faster the convergence, but the response is more sensitive to noise and might induce
oscillations in the system.
To analyze the behavior of this system, one can define a Lyapunov
function:
V ( (t )) =
1 % 2
(t ) .
2
24
(0.0)
dV ( (t )) % T %
= (t ) (t ) .
V& ( (t )) =
dt
.
(0.0)
(0.0)
(0.0)
(t) $(t) 0 .
(0.0)
(0.0)
Integrating Equation (3.17), one gets the expression needed for the
estimates:
25
(0.0)
where the initial condition can be arbitrarily chosen based on any a priori knowledge of
the plant.
b.
Implementation
Figure 10.
The Simulink blocks that provide the vectors (t) and V(t) are common
for all the different methods and were implemented using Equations (3.6). These are the
equations for reference frame transformation described in [19]. The estimator block for
the LMS is shown in more detail in Figure 11.
26
Figure 11.
It can be seen in Figure 11 that instead of using the same adaptation gain
for all the parameters, different values of for the different channels were employed. The
adaptation matrix in Figure 11 is a diagonal matrix of the form:
11
0
_ atrix = 0
0
0
22
0
0
33
44
0
0
0
0
55
The reason behind this is to compensate for different scaling factors and
bring all the signals to a similar order of magnitude. This seems to improve the
convergence rate and prevent instability.
The values of the non-zero terms in the matrix were chosen to create a
relatively fast convergence without affecting the stability of the system. Large values of
the parameters ii lead to fast convergence, but the estimates are oscillating. Very small
values lead to very slow but stable convergence. To illustrate, the values chosen for the
above parameters that gave a stable output are shown in Table 1.
27
Table 1.
2.
Value
11
130
22
820
33
0.007
44
0.38
55
0.0135
Equations Setup
1 n
[y (iTs ) (iTs )$ ]2 ,
2 i =1
(0.0)
$(n + 1) = $(n)
y(n) = (n)$(n) + e(n)
(0.0)
where y(n) (n) are given by Equation (3.4) and Equation (3.6), respectively, by
substituting t with n.
The recursive equations for the RLS can then be derived from the Kalman
filter equations used in [27]:
28
(0.0)
>
n
where the matrix (n) has to be full rank, which means that it has to be nonsingular for
all
P(0) = 2 mm
(0.0)
where is a positive number, much higher than the parameters, and m is the dimension of
y(t), which in this case is six.
b.
Implementation
Figure 12.
A more detailed view of the inside of the RLS block is shown in Figure
13. The inputs to the block are (n) and v(n), and the output is the parameter vector
estimates $ ( n + 1) .
29
Figure 13.
3.
In the above estimations, the parameters are assumed constant or slowly changing.
Now consider the case of varying parameters from either environmental or operational
conditions or a change in the parameters due to a fault in the system. The case that is of
more interest is when the parameters are slowly changing in time. In this case, one needs
to design an algorithm with a forgetting factor which discounts data exponentially
further back in time.
a.
Equations Setup
V ( ,t ) =
1 t t i
[y(i) (i)$(i)]2 ,
2 i =1
30
(0.0)
where is a parameter such that 0 < 1 and is called the forgetting factor. The meaning
of Equation (3.23) is that one weights the last data by 1, with a factor of n for data that
are n time units old. This means that one reduces exponentially the weight of each set of
measurements. Thus, the equation for the RLS with exponential forgetting becomes:
b.
K (t ) =
P(t )
P(t + 1) =
P(t )
(t + 1)[ (t + 1)
K (t )[ (t + 1)
P(t )
P(t )
(t + 1) + I]1
(0.0)
(t + 1) + I]1 K T (t )
Implementation
Equipment
The three estimators described in the previous pages were simulated using
Simulink software. A Matlab code was created to initialize the models. The code used for
initialization of the simulation models in Simulink is presented in the Appendix. To
determine how well the estimators perform, one has to choose a DFIG with known
parameters for comparison. The DFIG that was used is the Lab-Volt model 8231, which
is a 175 W, 120 V, 60 Hz, 4-pole machine. The system parameters were used to
effectively model the system in Simulink. Both the stator and rotor of that machine
consist of 3-phase wye-connected windings and a stator to rotor turns ratio Ns/Nr = 10.
To have an input to determine the values of the estimated parameters required use
of the values that were measured in [28] after a DC test, a no load test, and a blocked
rotor test on the generator mentioned above. The results are given in Table 2.
31
Table 2.
2.
Parameters (t)
Values
rs
12[]
rr '
15[]
Lls
0.0241[]
L'lr
0.0241[]
LM
0.3342[]
Simulation Results
After conducting a large number of simulations, varying the conditions and some
parameters of the system, it turned out that only the first two methods gave satisfactory
results. The simulation using RLS-EF method was leading the estimator to an unstable
output after a period. The next section describes the results of the first two methods.
a.
The results for the parameter convergence using LMS are shown in
Figures 14, 15 and 16, where the initial condition for the estimator was set to zero. The
sampling time for all the simulations was set equal to 0.1 ms.
32
Figure 14.
Figure 15.
33
Figure 16.
One can see that the parameter estimates converge to the expected values,
but it takes a while for them to settle down. This is a result that depends on the non zero
values of the adaptation matrix given in Table 1. If one sets the values of initial condition
vector closer to the measured values, then the convergence is much faster.
b.
The results of the simulation using RLS are shown in Figures 17, 18 and
19.
34
Figure 17.
Figure 18.
Figure 19.
From Figures 17 to 19, one can conclude that the parameter convergence
using RLS is almost instantaneous, but for the inductances, the estimates oscillate around
the expected values. On the other hand, the estimates for the resistances are extremely
close to the experimentally measured parameter values.
E.
CHAPTER SUMMARY
In this chapter, different algorithms for system identification were presented
analytically and simulated. Based on the results and given the fact that the nature of the
system is relatively slow, one can say that the LMS is more suitable in this application
since it performs well and provides relatively fast convergence. In the next chapter, a
basic introduction to adaptive control theory and the design and simulation of two
36
different adaptive controller approaches, along with simulation results under different
operational conditions of the system, will be presented. A comparison with simulation
results obtained from classical control approaches will also be presented.
37
38
IV.
A.
ADAPTIVE CONTROL
INTRODUCTION
According to Webster's dictionary, the definition of adapt is "to change (oneself)
so that one's behavior will conform to new or changed circumstances" [22]. According to
another definition, an adaptive system is any physical system that has been designed with
an adaptive viewpoint [23]. From the above expressions, one can say that an adaptive
controller is a controller that has the ability to change its behavior to adapt to changes in
the systems dynamics. That means that to be adaptive, the controller has to have
adjustable parameters.
Research on adaptive control systems was introduced during the 1950s, mostly for
the design of high performance flight control systems. For many years, there has been
skepticism among scientists about the use of adaptive control, since, in spite of the fact
that the adaptation feature sounds very attractive, its performance and reliability may be
questionable. In particular, when one applies it to a dynamic system, the designer should
be aware that adaptation adds another loop, which might make the overall system
unstable. Some important issues are the following [29]:
In the last few years, new applications of adaptive control have started to appear,
and some of these issues have been addressed with a degree of success [31].
39
An adaptive control system can be thought as having two loops. One loop is a
normal feedback loop, with the process and the controller. The second is the parameter
adjustment loop.
The system is modeled in terms of a vector of parameters that may be known or
approximately known. The goal of the controller is to continuously produce a vector of
estimates for the above parameters % and control the output vector.
B.
adaptive control (MRAC) and, more specifically, the direct MRAC (DMRAC), is used in
this thesis. In this control scheme, the system is modeled in terms of a vector of
parameters c that may be known or approximately known. This parameter vector is
updated by an adaptive law using input and output data. A general view of the direct
MRAC is shown in Figure 20.
Figure 20.
As shown in Figure 20, the output of the system z(t) is compared to the output of a
reference model zref(t). The reference model is chosen to generate the desired trajectory
for the plant output to follow [22]. The controller parameters are updated continuously,
depending on the output error:
40
(0.0)
These approaches are described in the following sections and the results obtained
from simulation are discussed.
1.
In this approach, the controller was designed using adaptive control for both rotor
currents components, iqr and idr, which form the z(t) vector. The overall design is
described in the following section.
a.
Dynamic Model
(0.0)
rs = 0 .
(0.0)
ps = jdqs + jVs .
The solution of Equation (4.4), if the initial condition is s (0) =
(0.0)
Vs
, is a
constant given by
s (t ) =
Vs
(0.0)
qs (t ) =
Vs
, cons tant
(0.0)
ds (t ) = 0
The fact that the flux is a constant in this reference frame leads to the
definition of a constant magnetizing current ims. The goal of the rest of this section is to
rewrite the dynamic model of the DFIG in terms of the rotor current components iqr and
idr and the magnetizing current ims only.
Therefore, using Equations (2.31) from Chapter II relating the fluxes with
the currents, one can obtain:
LM is
s Lls + LM
.
= L
Llr + LM ir
r M
42
(0.0)
Vs
(0.0)
LM
idr .
Lls + LM
(0.0)
LM ims = qs ims =
qs
LM
ims =
Vs
,
LM
(0.0)
and substituting Equation (4.10) in Equation (4.8a) and solving for iqs, one obtains:
LM ims =
Vs
L
L
iqs = M ims M iqr
Lls + LM
Lls + LM
(0.0)
Now one can easily rewrite all the equations in terms of ims and i'r.
Substituting Equations (4.9), (4.10) and (4.11) in Equations (4.7) and expanding the
expressions for qr and dr , one obtains:
LM
L
ims M iqr ) + (Llr + LM )iqr
Lls + LM
Lls + LM
(0.0)
LM 2
LM 2
ims + (1
)(Llr + LM )iqr
Lls + LM
(Lls + LM )(Llr + LM )
and
LM
)idr + (Llr + LM )idr
Lls + LM
LM 2
)(Llr + LM )idr
(Lls + LM )(Llr + LM )
43
(0.0)
The flux linkages equations can then be summarized from Equations (4.6),
(4.12) and (4.13) as:
qs =
Vs
ds = 0
L 2
qr = M ims + (Llr + LM )iqr
Lls + LM
dr = (Llr + LM )idr
(0.0)
=1
LM 2
,0 < < 1 .
(Lls + LM )(Llr + LM )
(0.0)
In most cases, LM is significantly larger than Lls and Llr, which means that
is very small.
From Equations (2.28) in Chapter II, after ignoring the 0 components,
which are negligible and defining
r = % ,
(0.0)
one gets:
% dr + vqr
pqr = rr iqr
% qr + vdr
pdr = rr iqr +
(0.0)
rr
1
iqr % idr +
v
(Lr + LM )
(Lr + LM ) qr
rr
LM 2
1
pidr =
idr + % iqr + %
ims +
v
(Lr + LM )
(Lr + LM )(Ls + LM )
(Lr + LM ) dr
44
(0.0)
a0 =
rr
(Lr + LM )
LM 2
i .
(Lr + LM )(Ls + LM ) ms
1
b=
(Lr + LM )
a1 =
(0.0)
(0.0)
iqr
vqr
By defining the state vector z = and the control vector v = and
vdr
idr
choosing two arbitrary positive constants m, m, one can rewrite Equations (4.20) in
terms of the state vector and a desired dynamic model:
idr
z&(t ) = am z(t ) + m v(t ) + (t ) + % ,
iqr
(0.0)
with
i
(t ) = qr
idr
0 vqr
% vdr
(0.0)
0 + m
= 1
b m
idr
m v(t) = % (t)
45
(0.0)
with (t ) an estimate of the system parameter vector (t) , the closed loop system
becomes
(0.0)
where
%(t) = $(t) .
(0.0)
(0.0)
z% (t ) = z(t ) zref (t ) .
(0.0)
z%(t ) = m z% (t ) + (t )%(t ) .
(0.0)
(0.0)
Using the steepest descent algorithm, we ensure that the parameter error
.
&
(t ) = (t )z% (t),
(0.0)
where >0 is the adaptation gain of the controller. The definition of the following
Lyapunov function is:
46
V ( ,t ) =
1 % 2 1 % 2
(t ) .
z(t ) +
2
2
(0.0)
As also stated in Chapter III, for the system to be stable, the Lyapunov
function described in Equation (4.31) has to be positive definite, and its derivative with
respect to time must be negative semi-definite. By definition, it is positive definite, since
in this case the parameters are positive real numbers and the norm of the parameter
vectors are used. The derivative with respect to time of V ( (t )) is
.
1 T .
V& ( (t )) = z% (t ) z% (t ) + % (t )%(t ) ,
(0.0)
&(t ) = %(t ) .
(0.0)
In Equation (4.32), if one substitutes Equations (4.28) and (4.30), one gets:
2
(0.0)
V (t ) V (0)t
1 % 2 1 % 2 1 % 2 1 % 2
(t ) z(0) +
(0)
z(t ) +
2
2
2
2
(0.0)
47
(0.0)
z% (t )
%(0)
(0.0)
Simulation Model
A Simulink model for the controller was created using the above equations
for the system. The inputs to the controller are the following quantities, all expressed in
the abc reference frame: stator voltages Vabcs, stator and rotor currents iabcs and iabcr
respectively, r and the reference currents iqr_ref and idr_ref. The outputs of the controller
are the rotor voltages that go into the DFIG model. A general block diagram of the
controller is shown in Figure 21.
Figure 21.
48
This model was created using Equations (4.18) to (4.37). A detailed view
of the controller block, which gives the values of the control vector vqr
vdr according
to Equation (4.23), is shown in Figure 22. The output is then transformed back to the abc
reference frame to supply the rotor with the proper control voltage.
Figure 22.
The reference model shown in Figure 21 has a first order transfer function
of the form
T (s) =
am
.
s + am
(0.0)
(0.0)
which means that Qe is proportional to iqs, so to have Qe = 0 , iqs has to be equal to zero;
i.e.,
49
i q s _ re f = 0 .
(0.0)
From equation (4.11), substituting the above value for iqs _ ref from
Equation (4.40), one gets:
(0.0)
which means that iqr should be equal to the magnetizing current, which is constant after
the system reaches steady-state, and is given by Equation (4.10).
On the other hand, keeping the power output maximum requires that the
electric torque of the DFIG be equal to the aerodynamic torque that gives the maximum
power output of the WT for each wind speed, which is given by [12]
Te _ ref = Taero _ optimal = K opt r 2 ,
(0.0)
C ( )
1
K opt = R 5 p 3 opt
opt
2
(0.0)
where
and r is the rotational speed of the WT in revolutions per minute (RPM). This is given
by
r =
1
2
r ,
Gear _ Ratio P
(0.0)
where Gear_Ratio is the gear box ratio, P is the number of poles of the DFIG, and r is
the electrical rotational speed of the rotor in radians per second.
The expression of the electric torque output of the DFIG is given by
Equation (2.35). Substituting the values of the flux linkages from Equation (4.6), one gets
3 P V
Te = LM ( s ids ) ,
2 2 b
and by substituting ids from Equation (4.9) into Equation (4.45), one obtains
50
(0.0)
L
3 P V
Te = LM s ( M idr ) .
Lls + LM
2 2 b
(0.0)
idr _ ref =
Te _ ref
LM Vs
3 P
LM
2 2 Lls + LM b
(0.0)
Running the model required the inclusion of a block that takes the current
wind speed as input and gives the instant aerodynamic torque as output, which is the
excitation of the DFIG. The WT turbine speed is then given by
& = T T ,
J
r
aero
e
(0.0)
where J is the combined inertia of the WT and the DFIG rotor. In this thesis, the rotor
inertia was neglected due to its very small value compared to the inertia of the WT.
The comparison of the control approaches presented here with other
controllers required the use of the parameters of the DFIG and the WT described in [7],
which are shown in Table 3.
Table 3.
Wind Turbine
R =3.8 m
J =3.362 kgm2
a=19.346
b=9.4117
c=20
Gear_Ratio 16:1
opt=6.4
51
c.
Simulation Results
After a large number of simulations, the system parameters that gave the
best results are shown in Table 4. The sampling time for the simulation was chosen equal
to 0.8 ms. For these values, the system was stable and tracked the reference model for
wind speeds from 3.2 m/s to 10.8 m/s, which is a good range. This covered almost all the
operational range of the WT.
Table 4.
Parameter
am
bm
11
22
33
In Table 4, it can be seen that the adaptation gain for the parameter
estimation was chosen to be a diagonal matrix as seen in Chapter III to improve the
convergence of the estimates. The initial condition for the estimates was chosen equal to
70% of the expected values calculated using Equation (4.22).
The wind speed profile used is shown in Figure 23 along with a plot of the
absolute values of the actual output torque Te and the reference torque Tref. The wind
speed profile was chosen in order to prove the performance of the controller even for
large rapid changes in wind speed, greater than 5 m/s, which can be considered wind
gusts according to [33].
The output torque is tracking the reference value for a range of wind
speeds from 3.2 m/s to 10.7 m/s as shown in Figure 23.
52
Figure 23.
Zooming in on the torque plot from time 90 s to 120 s in Figure 24, one
can see that even for wind changes of 6.8 m/s, the difference between reference and
actual output is less than 1.65 %. For lower wind speeds, the difference is always less
than 0.7 %, which is a very satisfactory result.
Figure 24.
The plots of the real power Pe and reactive power Qe during the simulation are
shown in Figures 25 and 26, respectively.
53
Figure 25.
Figure 26.
In Figures 25 and 26, one can see that the ratio of Qe over Pe is very small
and remains less than 0.2% for most the simulation time. This result indicates that the
second goal of the design is also satisfied. The only time that Qe increases, but still with
values less than 1% of Pe, is during extreme changes in wind speed, and that happens for
a very short period.
The rotor currents during the simulation are shown in Figure 27.
54
Figure 27.
Comparison of the rotor currents iqr and idr with their reference values
during simulation of the first approach.
2.
A second approach was attempted to simplify the controller with only one
adaptive loop for torque control. The difference in this approach is that instead of
controlling both iqs and idr adaptively, a PI controller was used for iqs and the adaptive
control for idr was kept.
a.
Equations (4.2) to (4.18) are valid for this approach. From Equation
(4.11), solving for iqr, one gets
iqr = ims
LM + Lls
iqs .
LM
(0.0)
pidr =
L +L
rr
LM 2
1
idr + % (ims M ls iqs ) + %
i +
v
LM
(Llr + LM )
(Llr + LM )(Lls + LM ) ms (Llr + LM ) dr
. (0.0)
pidr =
L +L
rr
LM 2
1
idr % ( M ls )iqs + % (1
v
)ims +
LM
(Llr + LM )
(Llr + LM )(Lls + LM )
(Llr + LM ) dr
LM 2
a2 = (1
)i
(Llr + LM )(Lls + LM ) ms
1
b=
(Llr + LM )
(0.0)
(0.0)
respectively, which in this approach are scalars. Then, for any arbitrary constant m, m
one can write Equation (4.52) in the form
(0.0)
where
(t ) = idr
% iqs % vdr
(0.0)
and
0 + m
a
1
.
=
a2
b m
(0.0)
m v(t ) = (t ) + W ref (t ) .
(0.0)
Now substitute Equation (4.56) into Equation (4.53), and one gets:
(0.0)
Simulation Model
Figure 28.
Equations (4.30) to (4.37), which were used in the first approach for the
parameter estimates, were also used for this case.
For iqs, a PI controller was used with the transfer function
TPI (s) =
K1 s + K 0
,
s
57
(0.0)
where K0, K1 are the gains of the PI controller. The input of this controller, the error
between the reference and the actual measured value of iqs and the output is vqr.
Furthermore, Equations (4.42) to (4.48) that give the expression for idr_ref
and r were again used here.
In this approach, the output of the adaptive controller is vdr according to
Equation (4.57); two low pass (LP) filters were added in the output of the adaptive part to
filter higher frequency components that might affect the stability of the system. A
detailed view of the control block diagram is shown in Figure 29.
Figure 29.
The cutoff frequency ac in the LP filter shown in Figure 29 was 100, and
for the second filter, which is a 12th order Butterworth filter, the cutoff frequency was 10
times higher.
c.
Simulation Results
After a large number of simulations, the system parameters that gave the
best results for this approach are those shown in Table 5. The sampling time for the
58
simulation was equal to 0.8 ms. For these values, the system was stable and tracked the
reference model for wind speeds from 3.2 m/s to 10.8 m/s.
Table 5.
Parameter
am
bm
11
In Table 5, it can be seen that the adaptation gain for the parameter
estimation in this case was a single value, which is about two orders of magnitude larger
than the adaptation gains for the first approach given in Table 4. This value was chosen
because comparable results could not be achieved between the two control approaches
with smaller values of . The initial condition for the estimates was chosen equal to 70%
of the expected values calculated using Equations (4.56).
The wind speed profile is the same as the one used in the previous
approach, which allows for a comparison between approaches in the next chapter. This
plot, along with a plot of the absolute actual output torque Te and the reference (optimal)
torque Tref , is shown in Figure 30.
Figure 30.
From Figure 30, it can be seen that the output torque tracks the reference
value pretty well for a range of wind speeds from 3.2 m/s to 10.7 m/s, but during the
sudden wind changes, the actual output torque spikes for a few moments. A zoomed in
view of the torque plot from time 97 s to 119 s is illustrated in Figure 31.
Figure 31.
It can be seen in Figure 31 that for large and fast wind changes that
simulate wind gusts, the torque tends to lose tracking for few moments. This is especially
true when the wind decreases, e.g. at 100 s or at 117 s of simulation time, where the
difference between the two values even reaches 100% but recovers quickly.
The plots of the real power Pe and reactive power Qe during the simulation
of the second approach are shown in Figures 32 and 33, respectively.
Figure 32.
Figure 33.
Figure 34.
Comparison between real and reactive power Pe and Qe, respectively, for
part of the simulation during the second approach.
Finally, the plots of the currents iqs and idr are shown in Figure 35.
61
Figure 35.
Comparison of the currents iqs and idr with their reference values during
simulation of the second approach.
It can be seen in Figure 35 that idr is tracking its reference value very well,
but iqs seems to lose tracking during sudden wind speed changes.
3.
Performance Comparison
a wind gust, i.e., a sudden increase in the wind speed from 6 to 10 m/sec,
62
Figure 36.
The output torque of the three different control approaches during simulation is
shown in Figure 37.
Figure 37.
Magnifying Figure 37 for about 10 s during the top of the wind gust provides
Figure 38.
63
Figure 38.
Magnified plot of output torque Te and reference torque Tref during the
simulation of a wind gust.
From Figure 38, one can see that even though the performance of all the
approaches considered is very good, the output torque of the first approach and the
classical approach with the PI controllers are identical and almost identical, respectively,
to the reference torque throughout the simulation, while the second approach shows some
oscillation during sudden wind speed changes. Furthermore, the torque of the classical
approach is slightly closer to the reference value, but has more overshoot compared to the
first approach.
The resistance of the rotor is a parameter that affects the shape of the torque
output of the DFIG [19] and is illustrated in Figure 39.
64
Figure 39.
Typical DFIG torque versus time curve for different values of rr.
For the purposes of this thesis, in order to investigate the performance of the
controllers that we proposed in previous sections, the rotors resistance rr was increased
to twice its initial value at t=15 s of the simulation, and all the control approaches where
simulated. The output torque plots during the above change in rr from the simulations are
shown in Figure 40.
Figure 40.
As seen in Figure 40, Te for the second approach has a high overshoot and even
after three seconds does not completely track the reference torque Tref. Between the other
two cases, the first approach appears to have the best performance since it has a small
spike in Te but recovers faster than the PID approach. This can also be seen in Figure 41,
where the speed of the DFIG for the three approaches is presented around the step change
in rr; it is clear that the first adaptive approach gives the smoother speed curve among the
three different cases.
Figure 41.
D.
CHAPTER SUMMARY
In this chapter, the analytical design, modeling and simulation of two MRAC
approaches for a DFIG-based WECS were presented. The simulation results were
compared with results from simulation of a more classical control approach for this kind
of system, which was presented in [12]. The conclusions from these comparisons along
with recommendations for future research are discussed in Chapter V.
66
V.
A.
SUMMARY - CONCLUSIONS
The problem of the control of a doubly-fed induction generator based wind energy
conversion system with fixed pitch horizontal axis wind turbine was addressed in this
thesis. The adaptive control used was direct model reference adaptive control. This
research effort addressed issues relative to the identification of the systems parameters
and the design of adaptive control techniques in order to compensate for uncertain or
time-varying dynamics.
In particular three system identification algorithms were presented based on
standard techniques such as least mean squares (LMS) or recursive least squares (RLS)
with and without exponential forgetting. The significance of these techniques is that a
dynamic system of the DFIG can be properly parameterized on the basis of experimental
results.
Furthermore, two different adaptive control approaches were introduced and
simulated for application in wind power generation. In this case it turns out that the
parameterized dynamic model, based on the magnetic fluxes of stator and rotor, can be
simplified considerably and only a few parameters have to be estimated. This is due to
the stator being connected to the grid so that the stator voltage is constant in magnitude,
frequency and phase. Given this characteristic, the magnetizing current becomes one of
the parameters to be estimated, which results in considerable simplification of the
dynamic model.
These approaches have been tested in numerous simulations and seem to present
an attractive solution to the problem of compensating for uncertain dynamics such as
varying resistances and impedances in the circuitry.
67
B.
RECOMMENDATIONS-FUTURE RESEARCH
Extensive computer simulations demonstrate that the algorithms presented for
adaptive control work as expected. Next step in this research will be the implementation
of the proposed controllers in a laboratory environment using a direct current motor to
simulate the wind turbine and building the controllers using Xilinx software in Simulink
and field programmable gate arrays to establish bidirectional communication between the
software and the equipment.
This effort will involve not only actual real-time implementation but also the
design of an appropriate model for the wind profile so that wind effects can be simulated
by the generation of appropriate torque by the DC motor. The ultimate benefit of this
research will be more efficient wind power generators.
68
APPENDIX:
In this Appendix, the code that was used for the initialization of the simulations,
as well as the basic block of the Simulink models for the controllers are presented.
A.
69
70
theta(5)=(Ls+Lm)/Lm;
theta(6)=(1+(Lm^2)/(sigma*(Ls+Lm)*(Lr+Lm)))*im0;
theta(7)=b-bm;
% Estimation bounds
rho_theta=50; % parameter error in "percent"
d_theta=abs(theta)*rho_theta/100;
theta_min=theta-d_theta;
theta_max=theta+d_theta;
% initial estimates
theta0=theta+d_theta.*(2*rand(1,7)-1);
B.
SIMULINK BLOCKS
1.
71
b.
c.
72
d.
Preprocess
e.
Parameter Estimation
73
f.
2.
Control
Second Approach
approaches. Those which are different for the second approach follow.
a.
Preprocess
74
b.
Control
PID Controller
iqs_error
vqdr
Matrix
M ultiply
Analog
Filter Design
theta
Phi_trans(t)theta_ c_ hat(t)
bm'Vqdor
LP FILTERIN G
75
76
LIST OF REFERENCES
[1]
[2]
F. Birol, Power to the People, The World Outlook for Electricity Investment,
International Atomic Energy Agency Bulletin, Bulletin 46/1, pp. 912, June 2004.
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
S. A. Frost, M. J. Balas, and A. D. Wright, Direct Adaptive Control of a Utilityscale Wind Turbine for Speed Regulation, Int. J. of Robust and Nonlinear
Control, vol.19, issue 1, pp. 5971, January 2009.
[11]
77
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19]
[20]
[21]
[22]
[23]
[24]
[25]
J. J. E. Slotline and W. Li, Applied Nonlinear Control, Prentice Hall, New Jersey,
1991.
78
[26]
[27]
[28]
[29]
[30]
[31]
[32]
[33]
R. Cristi, Notes for EC4300 (Advanced Topics in Control Systems: Wind Turbine
Control), NPS, 2010 (unpublished).
79
80
2.
3.
4.
5.
6.
7.
Embassy of Greece
Office of Naval Attach
Washington, District of Columbia
8.
81