Professional Documents
Culture Documents
Emulation of A Low Power Wind Turbine With A DC Motor in Matlab/Simulink
Emulation of A Low Power Wind Turbine With A DC Motor in Matlab/Simulink
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].
860
TABLE I. WT PARAMETERS TABLE II. DC MOTOR PARAMETERS
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.
862
Fig. 7. Real Wind Profile, La Venta (Jan-06).
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