Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Quality (ICREPQ’09)
European Association for the
Development of Renewable Energies,
Environment and Power Quality Valencia (Spain), 15th to 17th April, 2009
Artificial Intelligence Techniques for Controlling PV- Wind Powered Rural Zone
in Egypt
Abstract. In remote areas, electricity could still be available Artificial intelligence (AI) techniques are becoming
if stand-alone renewable electricity power sources are used . useful as alternate approaches to conventional techniques
One of the most promising applications of renewable energy or as components of integrated systems. They have been
technology is the installation of hybrid energy systems, where used to solve complicated practical problems in various
the cost of grid extension is prohibitive and the price of fuel areas and are becoming more and more popular
increases drastically with the remoteness of the location. It has nowadays. AI-techniques have the following features:
been demonstrated that hybrid energy systems can significantly can learn from examples; are fault tolerant in the sense
reduce the total life cycle cost of stand-alone power supply, that they are able to handle noisy and incomplete data;
while at the same time providing a more reliable supply of are able to deal with non-linear problems; and once
electricity .Due to the high nonlinearity characterizing the PV-
Wind hybrid system it would be impractical to develop rigorous
trained can perform prediction and generalization at high
mathematical model and at the same time obtain a simple and speed. AI-based systems are being developed and
effective controller. deployed worldwide in a myriad of applications, mainly
In this paper, a control system, which includes either the Neural because of their symbolic reasoning, flexibility and
Network Controller (NNC) or the Fuzzy Logic. Controller explanation capabilities. AI have been used and applied
(FLC) controller is developed for achieving the coordination in different sectors, such as engineering, economics,
between the components of a PV-Wind hybrid system as well medicine, military, marine, etc. They have also been
as control the energy flows. The performance of the system is applied for modeling, identification, optimization,
evaluated by comparing the performance of the system using prediction, forecasting, and control of complex systems .
the NNC and the FLC. Also, this work presents a complete
mathematical modeling and MATLAB simulink model for the
Nowadays, considerable attention has been focused on
different components of the hybrid system. use of artificial neural network (ANN) on system
modeling and control applications. Neural networks, with
Key words their remarkable ability to derive meaning from
complicated or imprecise data, can be used to extract
patterns and detect trends which are too complex to be
Hybrid system, photovoltaic system, wind system, battery bank.
noticed by either humans or other computer techniques.
Neural controller, fuzzy logic controller. A trained neural network can be thought of as an "expert"
in the category of information it has been given to
1. Introduction
analyze. The ANN has several key features include
Adaptive learning and Self-Organization .Also NNs are
Due to intermittent natural energy resources and energy characterized by the rapidity of response and robustness,
resources seasonal unbalance, a PV-wind hybrid which make them attractive to control [2].
electrical power supply system was developed for many Recently the concept of fuzzy logic control (FLC) has
remote locations where a conventional grid connection is been employed in many industrial applications. The use
inconvenient or expensive [1]. .Due to the high of FLC significantly changes the control approach
nonlinearity characterizing the PV-Wind hybrid system it compared with that of conventional control approaches.
would be impractical to develop rigorous mathematical A conventional controller adjusts the system control
model and at the same time obtain a simple and effective parameters on the basis of an accurate mathematical
controller model of the process dynamics. In the case of a fuzzy
rules-based expert system, it is a logical model of the ambient temperature and wind speed. Rs, Rsh and A are
human behavior of the process operator (linguistic constant values for a particular PV module. A PV module
information). Also FLC usually leads to better results manufacturer can provide the necessary information, which
than those of the conventional controllers, in terms of needs to be used to estimate most of the parameters in the
response time, settling time and robustness [3]. above equation.
The emphasis of this paper is concerned with the control From the above equation, under the short-circuit
of the energy flow of PV-Wind hybrid system using condition, the panel output voltage
either the NN or the FL techniques. The PV-Wind is zero, and the panel output current is a maximum and is
hybrid system is applicable in three buildings (i.e. school, called the short-circuit current, Isc. In this condition, the
home & emergency hospital) in a remote area in the light-generated current becomes equal to the short circuit
Eastern Desert for supplying the required electrical loads. current since Rs is very small unless the light is
Also, a complete mathematical modeling and MATLAB concentrated.
simulink model for the different components of the This model expresses Isc as a function of solar irradiance
hybrid system is presented in this paper. and temperature.
I l = I S C = P1G[1 − P2 (G − Gr ) + p3 (TC − Tr )] (2)
2. System Description and Modeling
Where P1, P2, P3:constant coefficients for Isc, Gr
The block diagram of the system adopted in this paper is :reference solar irradiance
shown in Fig. 1. It consists of a PV generator, battery (W/m2),
bank and wind turbine. An overall power management G: solar irradiance (W/m2), and Tr :reference temperature
controller is designed for the system to coordinate the (K)..
power flows among the different energy sources. Normally, 1000 W/m2 and 298 K are selected as the
reference solar irradiance and reference temperature,
respectively
∆I battery p 0 Battery
charge The reverse saturation current is a small current flowing
back through the PV arrays all the time. To estimate this
∆I battery f 0
current, an exponential expression which is a function of
Iload ref Error cell temperature is used
Controller
Battery
⎡ ⎛ Eg 0 ⎞⎤ (3)
I 0 = BTC3 ⎢exp⎜⎜ − ⎟⎟⎥
discharge
NNC +
FLC +
+ ⎣ ⎝ KTC ⎠⎦
Insolation
ILoad PV
+
generator
where Ego :band gap energy at 0 K (1.16 eV for silicon)
Wind
and B :a material constant which has to be estimated by
speed Wind
generator
using both the manufacturer’s data and the I-V curve
characteristic of PV module.
The PV cell temperature, TC, is a parameter that affects
Fig. 1 Proposed Control system of the hybrid PW/wind system the PV output current. To solve for TC, a thermodynamic
analytical model is used based on the overall energy
A. The Photovoltaic Array Model balance of the photovoltaic panel. The absorbed solar
energy is converted into electrical energy output, thermal
The output current of the PV array consisting of several radiative and convective energy losses, and thermal
PV modules can be expressed as [4]: energy stored in the PV module, causing the change in
⎡ ⎛ ⎛ I R N ⎞ ⎞ ⎤⎡ I PV RS N ⎤ (1) TC. The rate of change of TC is suggested by
⎜ q⎜ NV + PV S ⎟ ⎟
⎢ ⎥ NV +
⎠ ⎟ − 1⎥ ⎢ PV ⎥
PV
⎜
I PV = MI l − MI 0 ⎢exp⎜ ⎝
M M
⎟ ⎥⎢ ⎥
⎢
⎢ ⎜⎜
⎣ ⎝
NAKTC
⎟⎟ ⎥ ⎣⎢
⎠ ⎦
⎢ NRS h
M
⎥
⎦⎥
(mC p mod ule ) dTdt
C
= Qi n − Qconv − Qelect (4)
Table 1 PV module coefficients used in the PV array model C. Wind Energy Conversion System
Coefficient Values
The power extraction of wind turbine is a function of
three main factors: the wind power available, the power
Diode factor( A ) 38.59 curve of the machine and the ability of the machine to
Series resistance (Rs) 2.58 ohm respond to wind fluctuation. The expression for power
Shunt rssistance (Rsh) 250 ohm produced by the wind is given by [6-8]
Total surface area of the PV module 0.617 m2
1
p (u ) = C (λ , β )ρπR 2u 3
(14)
m p
(SP) 2
Total surface area of cells in module 0.5625 m2
(Sc) Where ρ is air density, R is radius of rotor, u is wind
Coefficients of ISC speed, Cp denotes power coefficient of wind turbine, λ is
P1 4.1*10-3 m2/V the tip-speed ratio and β represents pitch angle.
P2 -3.73*10-4 m2/W
P3 -2.44*10-3K-1 The tip speed ratio is defined as
Coefficient of I0 (B) 7100 A/K 3 Rω (15)
λ =
u
module efficiency at reference 12%
teffectivet thermal
( ) capacity of the PV 9250 J/K Where u is the rotor speed. It is seen that if the rotor
module (mCp module) speed is kept constant, then any change in the wind speed
Temperature coefficient ( γ ) 0.0045 K-1 will change the tip-speed ratio, leading to the change of
power coefficient Cp as well as the generated power out
Overall absorption coefficient ( α abs ) 0.73
of the wind turbine. If, however, the rotor speed is
B. Battery Modeling adjusted according to the wind speed variation, then the
tip-speed ratio can be maintained at an optimal point,
The following equations are derived empirically from the which could yield maximum power output from the
manufacturer's data [5] system.
From Eqs. (14) and (15) we can see that K = Km + γ 2Ke (26)
Pm (ω ) = k wω 3 (16)
Where Where Pm denotes the wind power given by Eq. (3) and
5
1 R (17) Pe represents the electric power generated by the system.
k = C ρπ
w
2
p
λ 3 It is well known that Pe is related to the excitation current
of the generator via
Pe = K φ ω e c ( I f ) (27)
For a typical wind power generation system, the
Where K φ is a machine-related constant, c(If) is the flux
following simplified block diagram (Fig. 2) is used to
illustrate the fundamental work principle. We see that in the generating system, and If is the field current. The
such a system primarily consists of an aero turbine, exciter dynamics of the system is governed by
which converts wind energy into mechanical energy, a LI& f + I f R f = v f (28)
gearbox, which serves to increase the speed and decrease
the torque and a generator to convert mechanical energy Where ¸ L is the inductance of the circuit, If the field current, Rf
into electrical energy. the resistance of the rotor field, and vf the field voltage.
3. Control strategy
900
PB ZE PS PM PB PB PB PB 800
700
Insolation (W/m2)
600
500
400
300
time
S1
Clock1
load To Workspace2
To Workspace5 200
ref
-1
i in Out1 100
Product2
Gain1
SOC
inverter Tair 0
VBC
0 5 10 15 20
Daily_Temp2 Time (hours)
IB
VBD
inputs
To Workspace
Battery
Scope12
Fig. 7 Actual daily solar insolation profile .
Scope9
Switch
L Wind speed 10
Clock Wind speed current
To Workspace8 switch wind
9
Wind turbine subsystem
8
wind speed1
V
ppv To Workspace4
7
radiation
Windspeed (m/s)
solar radiation
6
To Workspace1 Tair
Ipv
target Daily_Temp 5
switch pv
PV1 4
Relay
U
Product
To Workspace7
3
2
p{1} y {1}
Neural Network2 S
1
To Workspace3
0
0 5 10 15 20
Time (hours)
NNC.
30
time S1
Clock1
load To Workspace 2
To Workspace5
ref
-1
25
i in Out1
Product 2
Gain 1
Temperature (C)
inverter SOC
Tair 20
VBC
Daily _Temp 2
IB
VBD
15
Scope 12
Battery
Scope 9
Switch
10
L Wind speed
Clock Wind speed current
To Workspace8 switch wind
V
wind speed1
Fuzzy logic controller
ppv To Workspace4 0
0 5 10 15 20
radiation
Time (hours)
e delta IB solar radiation
Ipv
Daily _Temp
switch pv
Relay
PV 1
U
60
Product
To Workspace 7
50
S
PVgeneration(A)
To Workspace3 40
>
4
Relational >0
Operator 1
Compare
30
To Zero
FLC. 10
0
Fig. 7 shows the real daily variation of the solar 0 5 10
Time (hours)
15 20
insolation profile. The corrected real daily wind speed Fig.10 PV generator current over the simulation period.
profile and air temperature on the day the data were
collected are shown in Figs. 8 & 9. The output power
50 Fig. 15 shows the NNC outputs through 24 hours on the
45 day the data were collected. These are, as given, the
controller output current ∆I battery , the PV Array
40
Overall PVcell temperature(°C)
35
30
switching, the wind turbine switching. It is cleared that
25
20
the used PV is able to generate electricity, whenever
15
there is solar illumination; as the electric power is
10 proportional to the incident insolation level. The NNC
5 switch PV on in the morning when sufficient solar
0
0 5 10 15 20 radiation is available. While it is switched off in the
evening after sunset. The wind turbine begins to produce
Time (hours)
Fig. 11 The PV temperature response over the simulation output when the wind speed is greater than the cut-in
period speed until furling speed VF is reached, at which point the
machine shuts down. So the switching signal of the wind
50 turbine exists whenever the wind speed is in that range.
40
2
Windgeneration (A)
Second
30 Third NNC output
1.5 NNC
output
20 1
NNCoutputs
10 0.5
0
0
0 5 10 15 20
Time (hours) -0.5
1.5
80
1
Battery power (W)
60 First NNC
0.5 output
40
0
NNCoutput (A)
20
-0.5
0
-1
-20
-1.5
0 5 10 15 20
Time (hours) -40
B. FLC Results
atterystateofcharge(soc)
1.2
0.9
the photovoltaic cells and winding turbines power when
0 5 10 15
Time (hours)
20
the generating power exceeds the load power.
There are three parameters, used as scaling factors for the
Fig. 14 The lead acid battery state of charge versus time. FLC design, two input parameters Ke, and K∆e and one
output parameter K∆u. These parameters are adjusted,
A. NNC Results using the knowledge about the nature of e, ∆e, and ∆u
and also by using trial and error, until best performance is
One of the important aspects of applying a NN to any achieved. The Scaling factors are set as follows Ke= 0.01
particular , K∆e = 0.02 , and K∆u =2
problem is to formulate the inputs and outputs of the NN Fig. 16 illustrates the resulting controller output over 24
structure under study. Off line training for the proposed hours.
NNC was applied. Data for off-line training can be
obtained either by simulation or experiment. For this
present work, the data is obtained by simulating the
proposed system in an open-loop system. The simulation
is carried out for different values of wind speeds, solar
insolation and ambient temperature along one day
6. Conclusion
Fuzzyoutput control signal (A)
80
60
In this paper, a complete mathematical modeling and
40
20
MATLAB simulink model for the different components
0
of the PV-Wind hybrid system are developed and the
-20
system results are indicated a control system, which
-40
includes either the NNC or the FLC controller, is
-60
developed for coordinating the power flows among the
0 5 10
Time (hours)
15 20
different components of the PV-Wind hybrid system
Simulation studies have been carried out to verify the
Fig. 16 Fuzzy controller output PV-Wind hybrid system performance using an estimated
. electrical and load profiles and real weather data. The
C. The Best Controller results show that the overall power management strategy
is effective and the power flows among the different
Fig.17 illustrates a comparison between the responses of energy sources and the load demand is balanced
control output generation under the effect of several successfully. The performance of the system is evaluated
insolation levels, wind speed through 24 hours using by comparing the performance of the system using the
either the FLC or the NNC controller. Also this figure Neural Network Controller (NNC) and the Fuzzy Logic
shows the reference load, which is the total electrical load Controller (FLC). The response of output generation
of the three buildings. It is clear that the FLC has a better using FLC is more accurate and better than using NNC.
response than NNC. The error between the generation
and load resulting with NNC &FLC is shown in Figs. 18
&19 respectively. It is cleared that the error resulting References
with FLC approximately zero during the whole day.
While the error resulting with NNC is reaching zero at [1] Timur Gül, “Integrated Analysis of Hybrid Systems
most time except the period (12 p.m. to 3 p.m.). This for Rural Electrification in Developing Countries”,
indicates the more accuracy of FLC than NNC. M.Sc.Thesis, Stockholm 2004.
[2] Fukuda T, Shibata T. Theory and applications of
100
neural networks for industrial control systems. IEEE
90
Neural IE 1992;39:472–89.
[3] Zurada JM, Marks RJ, Robinson CJ. Computational
Fuzzy
P o w e r g e n e ra tio n (A )
80 Ref load
70
Intelligence Imitating Life. New York: IEEE Inc. Press,
60
1994.
50
[4] Y. Sukamongkol, S. Chungpaibulpatana,
40
W.Ongsakul," A simulation model for predicting the
30
performance of a solar photovoltaic system with
20
alternating current loads", Renewable Energy, Vol.27,pp.
0 5 10
Time(hours)
15 20
237–258, 2002.
Fig. 17 current generating with NNC and FLC over the [5] F. Lasnier and T.G .Ang , Photovoltaic Engineering
Handbook, New York, 1990
simulation period [6] Mike Robinson, Paul Veers, Wind Turbine Control
Workshop, Santa Clara University, Santa Clara,
100 CA, June, 1997.
[7] S.A. Salle, D. Reardon, W.E. Leithead, M.J. Grimble,
50
Review of wind turbine control, Int. J. Control
Vol.52 ,pp.1295-1310, 1990.
E rro r (A )
0
[8] E. Muljadi, C.P. Butter"eld, P. Migliore, Variable
-50
speed operation of generators with rotor-speed
feedback in wind power applications, Fifteenth ASME
-100
Wind Energy Symposium, Houston, Texas,
0 5 10
Time (hours)
15 20
1996.
[9] SIMULINK. MathWorks, 3 Apple Hill Drive, Natick,
Fig.18 Error resulting with NNC MA 01760-2098, USA. URL: http://
www.mathworks.com.
[10] K. Ogata, Modern Control Engineering, Prentice-
Hall Inc., Englewood Cliffs, N. J., 1990.
[11]. D. Driankov, H. Hellendoorn, and M. Reinfrank,
An Introduction to Fuzzy Control, Springer-Verlag,
Berlin, Heidelberg, 1993.