Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Emulation of a Low Power Wind Turbine with a DC

motor in Matlab/Simulink
R. II. Ovando, J. Aguayo, M. Cotorogea
Centro Nacional de Investigación y Desarrollo Tecnológico (CENIDET)
Departamento de Ingeniería Electrónica
Interior Internado Palmira s/n Apdo. 5-164.
C.P. 62050, Cuernavaca, Morelos, México
Tel.: +52 (777) 3 62 77 70

Abstract - In this paper the experimental implementation of a complex and the dynamics of the wind turbine (WT) in [6] it
wind turbine emulator (WTE) for wind energy conversion is not modeled.
systems (WECS), using a separately excited DC motor are
presented. The model of the wind turbine (WT) and the control A Wind Turbine Emulator (WTE) using a DC motor to
of the DC motor are implemented in MATLAB/SIMULINK. The characterize the real WT is presented in [7] where both the
developed WTE allows a WECS to be analyzed without the need static and dynamic characteristics are modeled. The
of real wind turbines. The WECS consider in this work is experimental implementation is the best ones of all the
composed by a DC motor coupled with a double fed induction reviewed documents, but it is possible to improve the
machine (DFIM). The DC motor and its control actuate as the
WT and the DFIM actuates as the generator. The simulations performance using a DSP.
and experimental results are obtained for a 300W prototype. This paper proposes a novel scheme of implementation in a
DSP using MATLAB/SIMULINK to generate the processor
code. In this way, a robust implementation is obtained, since
I. INTRODUCTION MATLAB/SIMULINK offers a friendly and a powerful
graphic environment. When it is required to change the
Electric energy has been the booster of world-wide industry
parameters in the model of the WT or in the DC motor control
development in the last two hundred years. It has been
any user can realize it without problem.
commonly generated by means of combustion of fossil fuels.
However, because this generation type is pollutant, expensive
and in some years it will be insufficient; it becomes necessary II. WIND TURBINE MODEL
to find alternative sources of electric generation, as the The WT model is divided in two parts. The first part is the
renewable energy. static model, which consists in the CP (Current vs. Power)
Among the different types of renewable energies, the main curve and the generated torque. The inputs for this model are
ones are: hydroelectric, solar and wind energy. Today, the cost the wind speed Vw, the angular speed Ȧr, and the pitch angle ȕ
of energy (CoE) from wind generation at good wind sites which in this case remain fixed. The output is the rotor torque
(>8.5 m/s annual wind velocity) is lower than the CoE from T m.
the best fossil fuel generation technology. It is clear that with The second part is the dynamic model, which takes into
further technology advancements, CoE for alternative energy account the inertia, damping and stiffness in the shafts of the
sources will continue to decline, and demand for alternative WT and the double fed induction machine (DFIM). A gearbox
energy generation equipment will continue to grow rapidly [1]. is considered to multiply the speed rate between the low and
For the massive use of wind energy conversion systems high speed shaft. The inputs for this model are the rotor torque
(WECS) the study of the grid connected systems is important. Tm, and the generator torque Tg. The outputs are the speed in
However, the development and tests of new technologies must the low speed shaft Ȧr and the speed in the high speed shaft Ȧg.
be performed using an isolated and controlled test bench. In
the literature different systems of this kind have been A. Static Model
presented, but the majority of them are focused in the control
and modelling of the generator. In [2] a brief description of the The three most important currently applied wind generation
different kinds of WECS is presented, but this document refers systems are the following:
to the initialization problem and do not report the x A constant speed wind turbine.
implementation of any prototype. In [3] and [4] a review of x A variable speed wind turbine with DFIG (this case
the main kinds of generators and static converters is presented. is presented in the paper).
In [5] and [6] use a DC motor and an induction motor x A variable speed wind turbine with a direct drive
respectively, the implementation in both documents is rather synchronous generator [2].

1-4244-0655-2/07/$20.00©2007 IEEE 859


The static model of the WT presented in this paper
corresponds to the horizontal lift based designs. The equations In this work two dynamic models are presented. Equation (6)
that represent the static behavior of the WT are included models the inertia-damping-stiffness of the WT shaft Jr, Br
below. and Kr respectively and the inertia-damping-stiffness of the
Equation (1) defines the ratio of the angular speed of the DFIM Jg, Bg and Kg respectively. Where N is the gearbox rate,
blade tip and the shaft rotating speed. this model will be further referred to as case I. Fig. 2 shows
the dynamic model with the considered parameters.
Zr rr
O (1) When case I is modeled a set of complex equations is
Vw obtained. Therefore certain basic equations must be
Where: rr is the rotor radius in meters (m), Ȧr is the angular considered in order to reduce the complexity of the system.
speed in the low speed shaft in (rad/s) and Vw the wind speed Finally, the set of equations (6) is obtained that describes the
in (m/s). behavior of the dynamic system.
d
The power extracted from of the wind is limited by the Tre J re Zre  Beq Zre  Zg  Keq Tre  T g
aerodynamic design. The power curve of a turbine is defined dt
by (2) where CP is the power coefficient and ȕ the pitch angle d
of the WT blades. c1, c2, c3, c4, c5 and c6 are power coefficients Tg J g Zg  Beq Zg  Zre  Keq T g  Tre
and depend on each WT design. dt
c d (6)
§ c2 · Oi5 Zg Tg
CP O , E c1 ¨  c3 E  c4 ¸ e  c6O (2) dt
© Oi ¹ d
Zre Tre
dt
1 1 0.035
 3 (3)
Oi O  0.08E E  1 For simulation purposes and for cases where it is necessary
to emulate the dynamic characteristics of the DFIM the
The torque coefficient is defined in (4), and is necessary to equations system (6) is used. However, in the experimental
determine the mechanic torque Tm of the WT given in (5). implementation developed in this work only the dynamic of
CP the WT is considered. Neglecting the DFIM and the stiffness
CM (4) of the shaft the reduced set of equations (7) is obtained.
O
d
1 Tm Jr Zr  BrZr
Tm U ArrVw2CM (5) dt
2
Where ȡ is air density in (kg/m3) and A is the area spanned d (7)
Zr Tr
by the rotor blades in (m2) [1]-[6]. Fig. 1 shows the static dt
characteristic of the modeled WT.
Where Tm is the mechanic torque by the WT, Jr is the inertia
B. Dynamic Model of the WT rotor; Br is the damping coefficient of the WT shaft
All existing systems changing with a rate of time and when and Ȧr is the angular speed of the WT shaft [8].
this rate is significant they are called dynamic systems. The Since a commercial WT of the low power required by the
main characteristic is that the output at any time instant double-fed induction generator considered in this work does
depends of the previous state and not only on the current input. not exist, a power scaling must be performed in accord to
WT’s commercially available. Table I presents the parameters
used in the experimental implementation.

Fig. 2. Dynamic characteristics of the WT.


Fig.1. Static characteristics of the WT.

860
TABLE I. WT PARAMETERS TABLE II. DC MOTOR PARAMETERS

Parameter Value Parameter Value


rr 1m Armature resistance, Ra 1.276Ÿ
ȡ 1.225kg/m3 Field resistance, Rf 163.39Ÿ
Jr 0.3Nms2 Armature inductance, La 23.62mH
Br 0.024Nms Field inductance, Lf 23.13H
N 4 Mutual inductance, LAF 821.6mH
Pn 300W Inertia, Jm 25e-3Nms2
Damping, Bm 1e-3Nms
III. DC MOTOR CONTROL Power ¾ HP

The DC motor with its control is the basic stage of the WTE
system, since it is the responsible to reproduce the behavior of As can be seen in Fig. 3, the control scheme contains a
a real WT. The model of the DC motor used in this work is block called Embedded MATLAB function, which is
omitted, since it can be found in any basic book of electrical implemented in SIMULINK. It is mandatory to use this kind
machinery. To drive the DC motor two chopper converters of block, since the application contains a program algorithm
(class “A”) are used. and it is the only supported block to generate executable code
Prior to selecting the control scheme of the DC motor, its for the TI board (TI=Texas Instruments) and by means of
operating region must be defined. It is known that the nominal which we can develop any program algorithm.
speed of the DFIM is 3600rpm and the DC motor must be able In this particular case, the block Embedded MATLAB
to reach a 30% higher speed. Function has an algorithm that enables the motor to operate
However, the nominal operating region of the motor is below or above its nominal speed, i.e. in the interval from 0 to
hardly 1800rpm. In order to achieve the required speed, the 1800rpm and from 1800 to 4600rpm, respectively. In the first
motor must be operated in the field weakening region. This interval, the algorithm selects the converter that drives the
operating scheme allows achieving two or three times the armature circuit, and sets the required conditions in the
nominal speed. converter that drives the field circuit. In the second interval
To obtain this kind of operation the armature circuit and the the algorithm selects the converter that drives the field circuit,
field circuit must be controlled independently. A class “A” and sets the required conditions in the converter that drives the
chopper converter was designed for the armature circuit and a armature circuit.
second chopper converter for the field circuit. The root locus method was used to calculate the gain of
The DC motor control uses a cascaded scheme (Fig. 3) with each controller. The calculated parameters and summarizes the
an inner current loop and an outer speed control loop, for the Table III.
nominal controller region. The field weakening controller uses
only a speed control loop. Both of them are PI controllers. TABLE III. DC MOTOR CONTROLLER PARAMETERS
The DC motor parameters were obtained by a motor
Controller Kp Ki ts
characterization using the standard IEEE 113 [9]. Table II
Armature current controller 0.0732 43.92 157ms
presents the required parameters of the DC motor used to
emulated the behavior of a real WT. Discrete Armature speed controller 1.15 23 387ms
Field speed controller 0.0181 0.2715 2.98s

Fig. 3. DC motor control scheme. Fig. 4. Test bench with the DC motor.

861
IV. EXPERIMENTAL RESULTS The Embedded Target for the TI C2000 DSP uses the Real-
To understand the structure of the WTE should be kept in Time Workshop (RTW) tool to automatically generate, pack
mind the parts that compose it and the operation they should and compile the source code of the SIMULINK model,
have. The system shown in Fig 5 consists in a personal creating software applications in real time in a variety of
computer with the real wind profile, a DSP card with the wind systems; RTW compiles a project Code Composer Studio
turbine model and the DC motor control, a DC motor and the (CCS) starting from the C code generated from the
power converter to drive it, and signal conditioning block. SIMULINK pattern, where the whole system should be
Each block that composes the WTE should fulfill certain discretized, since the RTW does not support continuous
function: models.
The implementation of the wind turbine emulator in
x The vector of data that contains the profile of wind are MATLAB/SIMULINK is represented in Fig. 6, where the
like one of the entrances that excites the pattern of the speed control block that can be observed corresponds to the
turbine, will be a correspondent to the card diagram in Fig. 3.
eZdspF2812 by means of the tool of communication One of the reaches obtained in this work was the
Real-Time Exchange it Dates (RTDX). implementation of a WTE able to accept real wind data
x The turbine model generates the reference for the DC profiles. Therefore, it was investigated what institutions in
motor control. Mexico are devoted to carry out measurements of the natural
x The DC motor control sends the appropriate control wind resource. It was found that the Mexican Electric
signs to the power converter. Research Institute (IIE) has a database where information of
x The power converter drives the DC motor such that it wind measurements is available. These measurements come
reproduces the behavior of a wind turbine. from the different stations installed along the Mexican
x The eZdspF2812 card carries out the digital signals Republic.
processing of the turbine model, the DC motor control The evaluation of the wind resource is carried out based on
and the MATLAB wind profile. international recommendations that indicate that wind speed
x Finally, the signal conditioning block modifies the data should be acquired starting from samples each 2s as
signs of the current sensors and of the DC motor speed minimum which are averaged in a 10min period[10].
at the level required by the analog-digital converters In the Fig. 7 is shown the wind profile corresponding to the
(ADC) of the eZdspF2812 card. month of January 2006 (744 hrs. duration) in La Venta,
Oaxaca in Mexico. It represents the average wind at 32m of
An important characteristic for in the implementation of the height.
WTE is that the system should be robust and of easy handling Due to the low power characteristics of the wind turbine
for the user. In this way, if it is required to make some emulated in this work (Table I), the averaged wind profile is
changes in any of the turbine model, the controllers gain or the not appropriate, since the dynamic behavior of the turbine is
wind profile data, the user has not to be an expert in the topic. faster than the changes in the wind speed values of the
This is achieved by using MATLAB/SIMULINK which is a averaged profile acquired by the IIE, whose characteristics are
powerful software and of common use among students. adapted for large wind turbines.
The tool of SIMULINK that allows the implementation of
the wind turbine emulator in the eZdspF2812 card is the
Embedded Target for TI C2000 DSP that
MATLAB/SIMULINK integrates with the tools eXpressDSP
of TI.

Fig. 6. Implemented WTE system.

Fig. 5. Block diagram of the WTE system.

862
Fig. 7. Real Wind Profile, La Venta (Jan-06).

In order to observe the dynamic behavior of the systems


under realistic wind conditions, it was necessary to adjust the Fig. 9. Zoom of the Fig. 8, 2100s to 2300s interval.
wind profile of Fig. 7 that has a sampling period of 10min
The standard deviation is a measure of the degree of
(600s), to a smaller sampling rate of 5s. The durations of the
dispersion of the data of the stocking. Said otherwise, the
experiment was shorten to 1hr. with the wind profile shown in
standard deviation is simply the prospective variation
the dotted area of Fig. 7. The new scale corresponds to the
regarding the arithmetic stocking and therefore, it is measured
duration of the test carried out in the laboratory.
in the same units that the variable. A large standard deviation
The re-sampled wind profile was used to carry out a
indicates that the points are far from the stocking, and a small
simulation with the turbine model implemented in
deviation indicates that the data are contained near the
MATLAB/SIMULINK as well as experimental test with the
stocking. The Table IV presents the evaluation of the standard
WTE in the laboratory. Both results are illustrated in Fig. 8,
deviation for the laboratory test (Fig. 8). The Table V shows
representing the speed of the high speed shaft, dotted line for
the calculation for the approach of the Fig 8 (Fig. 9). By
the model, bold line for the experiment.
means of the presented data one can observe a good acting of
At the time scale of Fig. 8, the presented results of the WTE
the system WTE.
are in excellent agreement with the model, however by
analyzing standard deviation a certain error can be detected
due to different factors. TABLE IV. STANDARD DEVIATION OF THE FIG 8
A zoom in the interval between 2100s and 2300s is shown Average Standard
in Fig. 9 to observe the error in a smaller time scale. It can be Signal Variation
Deviation
seen that the obtained results are satisfactory. In Table IV and Proposed 2518.9 1176.4
V the quality of the system is evaluated, according to the 1.6
Real 2532 1174.8
results in Fig. 8 and 9, respectively.

TABLE V. STANDARD DEVIATION OF THE FIG 9.

Average Standard
Signal Variation
Deviation
Proposed 1567.9 150.705
9
Real 1570.7 141.70

V. CONCLUSIONS
The work presented in this paper contributes to the study of
alternative energy generation, which has a boom nowadays at
a word-wide level; in the particular case of wind energy
generation, this work will allow to carry out studies in regions
where the natural resource is unavailable, with test benches at
a low power scale.
Fig. 8. Simulated speed versus real speed.

863
A wind turbine emulator (WTE) has been developed that REFERENCES
reproduces the behavior of a WT using a real wind profile as [1] J.P Lyons and V. Vlatkovic, “Power Electronics and Alternative Energy
input. By implementing the emulator in a test bench for wind Generation”, Power Electronics Specialist Conference, PESC’04. 35th
energy conversion, it is possible to validate and analyze Annual IEEE, vol 1, pp. 16-21, June 20-25, 2004.
[2] J.G. Slootweg, H. Polinder and W.L. Kling, “Initialization of Wind
different control strategies in this kind of systems. The Turbine Models in Power System Dynamics Simulations”, Porto Power
MATLAB-SIMULINK software offers through the RTW Tech Conference, PPT’01, Porto, Portugal, 10th-13th September, 2001.
toolbox a viable form to develop and probe models in a simple [3] J. Marques, H. Pinheiro, H.A. Gründling, J.R. Pinheiro and H.L. Hey,
“A survey on Variable-Speed Wind Turbine System”, Power Electronics
way. Brazilian Congress, COBEP'03, pp. 732-738, Fortaleza 03.
In the laboratory of electrical machines in CENIDET it was [4] J.F. Manell, J.G. McGowan and A.L. Rogers “Wind Energy Explained
possible to operate the WTE with a lowest dynamic behavior Theory, Design and Application” Ed John Wiley & Sons.
[5] R. Cárdenas and R. Peña “Experimental emulation of wind turbines and
than usually presents the real wind turbines. In spite of the bad flywheels for wind energy applications”, EPE’01, Graz, Austria, 2001
speed sensor quality an acceptable following of the speed [6] H.M. Kojabadi, L. Chang and T. Boutot “Development of a Novel Wind
reference is achieved. Turbine Simulator for Wind Energy Conversion Systems Using an
Inverter-Controlled Induction Motor” IEEE Transactions on energy
Since the DC motor used to emulate the WT was unable to conversion, pp.547-552, 2004.
achieve the nominal speed of the double-fed induction [7] B. Rabelo and W Hofmann “Emulation of the Static and Dynamic
generator, an alternative operating scheme was developed. In Behavior of a Wind turbine with a DC Machine Drive” PESC’04,
Aachen, Germany, 2004, pp.2107-21.
this way, the performance of the motor was satisfactory in [8] A. Petersson “Analysis, Modeling and Control of Doubly-Fed, Induction
both operating regions (nominal and field weakening). Generators for Wind Turbines” Thesis of licentiate of engineering,
Chalmers University of Technology, Sweden, 2003.
[9] IEEE Guide: Test Procedures for Direct-Current Machines, IEEE
Power Engineering Society Std. 113, 1985.
[10] M. A. Borja, O. A. Jaramillo, and F. Mimiaga, Primer Documento del
Proyecto Eoloel¶ectrico del Corredor E¶olico del Istmo de Tehuantepec.
Cuernavaca, Morelos, M¶exico: IIE, 2005.

864

You might also like