Anda di halaman 1dari 6

Analysis and Emulation of a Photovoltaic Solar

System Using a MATLAB/Simulink Model and


the DS1104 Unit
Maria A. Mazuera #1, Johnny Posada #2, Paul Manrique *3
#
Department of Automatic and Electronics, Autonoma de Occidente University
Calle 25 No 115-85 Cali - Colombia
1
marialejandra_c91@hotmail.com
2
jposada@uao.edu.co
*
Department of Energy and Mechanics, Autónoma de Occidente University
Calle 25 No 115-85 Cali - Colombia
3
pmanrique@uao.edu.co

Abstract— The purpose of this paper is to show the generated. Thus, PV systems are considered to provide
emulation and analysis of a photovoltaic solar system by clean power and help cut global carbon emissions.
modelling its behavior in Matlab/Simulink. The emulation
process is done by using the DS1104 dspace real-time platform. Many models of PV solar panels have been designed and
The PV system is made up of a PV solar array, a DC-DC
power converter working on a buck-boost topology, and a
tested, [1] - [3] are only some works in this topic. However,
perturb and observe MPPT algorithm. The PV array model is creating tools to study the performance of different PV
based on the characteristics of a real PV panel, Yingli 265c- arrays allow a wide study of the different components in the
30b, and it is capable of delivering around 7 kW under optimal PV generation process. Several PV emulators in the market
ambient conditions and operating at its maximum power point. are capable of reproducing the I-V and P-V characteristics
The power curves of the system are shown to illustrate the of a real solar panel under static environmental conditions.
behavior of the MPPT algorithm as it works along with the However, not too many testing schemes are able to emulate
buck-boost converter to force the PV array voltage and a PV energy generation system under dynamic atmospheric
current to be at its highest value. conditions. The focus of this paper is to emulate, in real
Resumen— El propósito de este artículo es mostrar la
time, the behavior of the components of a PV system as it
emulación y el análisis de un sistema solar fotovoltaico tracks the maximum power point under uniform
modelando su comportamiento en Matlab/Simulink. El atmospheric conditions.
proceso de emulación del sistema se realiza en tiempo real
mediante la plataforma dSPACE DS1104. El sistema The PV model designed in this work would be able to
fotovoltaico está conformado por un arreglo de paneles solares, predict a c-Si PV cell behavior under varying atmospheric
un convertidor DC-DC con topología buck-boost y un conditions (irradiance and temperature) and for different
algoritmo de rastreo de máximo punto de potencia, perturbar values of loads. The analysis includes the variation of
y observar. El arreglo fotovoltaico está basado en las ambient temperature and irradiance conditions as well as the
características de operación de un panel real de referencia
Yingli 265c-30b. Este arreglo es capaz de entregar una
MPPT controller performance for these conditions,
potencia máxima de aproximadamente 7 kW cuando está all these in an emulation process. The emulation process is
trabajando bajo condiciones ambientales óptimas y su punto dedicated to reply the characteristic features of a PV system.
de operación coincide con en el máximo punto de potencia. Las Nevertheless, the emulator does not count with a power-
curvas de potencia del sistema se muestran para ilustrar el electronics stage. The voltage, current, and power
comportamiento del algoritmo MPPT trabajando en conjunto parameters represent real-life values.
con el convertidor buck-boost para llevar al arreglo a entregar
su máximo nivel de tensión y de corriente. II. PV SOLAR CELL MODEL
The PV model of the panels was obtained by taking into
I. INTRODUCTION
account the characteristics of the Yingli 265c-30b PV panel.
The increasing concern about the global warming, the Table I lists the electric specifications of the Yingli´s PV
exponential growth of the population of the world and the module at STC.
fact that it is getting harder and more expensive to extract
oil from fossil fuels is making people more aware of the use TABLE I
ELECTRIC CHARACTERISTICS FOR THE YINGLI 265C-30B SOLAR PANEL
of renewable energy sources. Solar energy is one of the
most important sources of energy in the world since it can C-Maximum power 265 W
be converted into other sources of energy such as chemical Maximum Power Voltage 30.1 V
(fuel cells), thermal (heat collectors) and electricity Maximum Power Current 8.79 A
(photovoltaic). Photovoltaic solar panels use the Short circuit Current 9.37 A
photovoltaic effect in order to transform solar energy into Open circuit Voltage 38.3 V
electricity. During this process, no pollutant emissions are Module efficiency 16.3%
An equivalent electronic circuit was used to model the = − −1 − , (4)
PV cell behavior; Fig. 1 shows the circuit model.
Based on Eq. (4), a Matlab/Simulink model was
constructed and properly analyzed for different atmospheric
and physic conditions of the equivalent model of the solar
cell. This model is divided into two main parts; the first one
is a script that calculates the current by Rsh, and the current
of the load I. The script considers equations (1)-(6) in order
to model the performance of a real solar cell by considering
Fig. 1. PV solar cell Equivalent model. the effects of the irradiance, the temperature, and the p-n
junction characteristics. The data obtained from the script is
The electronic circuit from Fig. 1 corresponds to the five- then coupled to a controlled current source. The second part
parameter equivalent circuit. The current source represents contains the power losses, and the combined effect of Rsh
the current generated by the sunlight absorption and Rs. A complete figure of the described PV Cell model is
(photocurrent). The diode represents the p-n junction of the shown in Fig. 2.
solar cell, the series resistance represents the voltage loss in
the metal contacts of the PV panel, and the parallel or shunt A. Operation of a PV Cell under Different Environmental
resistance represents a crack through the semiconductor Conditions
layer or a current path at the edge of the solar cell, Eq. (1) Solar irradiance is one of the most important atmospheric
describes the diode behavior. conditions since a photocurrent is obtained from the
absorption of photons coming from the sunlight. The
irradiance is the power per unit area and is usually
= −1 , (1)
expressed in unit. The STC to prove a solar cell
Where: indicate an irradiance of 1000 . Eq. (5), shows a
- represents the current at a certain voltage value linear behavior of the photocurrent in relation to the
- is the extreme small current under reverse bias irradiance and the temperature.
conditions or leakage current of a p-n junction (diode)
V- Diode voltage = + − 298.15 , (5)
- Electron charge = 1.6e-19 C
- Boltzmann’s constant = 1.38e-23 J/K Where:
- Temperature in Kelvin
is the solar cell’s short circuit current at 1000
When the p-n junction is illuminated with light, a large = when the cell is operating under STC.
current is generated. This current generated by the light is the solar cell’s short circuit current temperature, and is
absorption is represented with the current source of Fig. 1. equal to 0.0017 °
The equation (2) describes the solar cell behavior, where is temperature in Kelvin
is the photocurrent generated by light excited charge
carriers. Based on Eq. (4) and modifying the irradiance value
in Eq. (5), the I-V and P-V curves of Fig. 3 were
− = − −1, (2) obtained. Figure 3 shows that the higher the irradiance, the
larger the current gets. Since the current and the voltage
increase when the irradiance is greater, it is expected that
There are two important conditions in a solar cell. The
the power also increases, dotted line on the Fig. 3. In the
open-circuit voltage and the short-circuit current. The open-
same way, Eq. (3) shows the direct relation between the
circuit voltage occurs when there is no load at the cell’s
temperature and the voltage of the PV solar cell. The
terminals and no current is produced, this condition can be
characteristic I-V and P-V curves from Fig. 4. were
expressed by Eq. (3), where n is the ideality factor of the
obtained by varying the temperature value from 25 to 70 °C.
diode, in general equal to 0.98117.
Equation (6) describes how the module´s saturation current
varies with the cell temperature.
= ln +1 , (3)
_

The short-circuit current occurs when the solar cell _ = exp (6)
produces no voltage, this means = 0, in this case I is
equal to IL, the short-circuit current depends on many
Where:
factors, but mainly on the irradiance. The PV solar Cell can
is the temperature reference in Kelvin
be seen as a current source controlled by irradiance,
temperature, and strongly dependent on the load´s current is the band gap energy = 1.21 eV for silicon
since it determines the cell’s voltage evolution. Returning to
Fig. 1, the equation that best describes the PV Cell
operation is Eq. (4).
Fig. 2. Full PV Cell model for simulation.

In order to make the extension of the PV cell´s model


into a complete PV solar array, Equation 4 needs to be
modified by multiplying the photocurrent and the leakage
current by a variable that represents the number of cells
connected in parallel. Besides, the exponential expression
should be multiplied by where represents the amount
of cells connected in series.

= − −1 − , (7)

III. THE BUCK-BOOST CONVERTER AND MPPT ALGORITHM


As it is commonly known, the PV panels by themselves
Fig. 3. IV and PV curves, the lower curve in booth Y axis represents the do not have an efficiency greater than 22%. Besides the
lower irradiance value.
irradiance and temperature conditions as well as variations
of the load also affect the efficiency of the PV modules. It
means that the operating point does not always work on the
maximum power point. The maximum power point
corresponds to a particular I-V pair that corresponds to the
highest values on the P-V curve. MPPT algorithms modify
either the operating voltage or current of the PV system.
MPPT methods work along with a DC-DC converter by
modifying its duty cycle trough a pulse width modulation
technique. This converter modifies the panel´s voltage by
either making it higher or lower. There are many different
methods to find the MPP. However, the Perturb and
Observe algorithm will be used for purpose of this work.
This paper does not intend to prove the efficiency of
different MPPT techniques or propose a new method to
Fig. 4. IV and PV curves, the lower curve in booth Y axis answer to the track the maximum power point. The main purpose is to
lower temperature value observe and analyze the behavior of the PV system and its
components under emulation conditions. Therefore, the
B. Model Extension to a PV Array and a PV System
P&O algorithm was chosen due to its simplicity, its reliable
A PV solar cell is able to generate by itself a voltage of performance, and because it is broadly used in literature.
about 0.5 to 0.7 volts depending on the technology and the Figure 5 shows the flowchart for the P&O algorithm.
materials. Therefore, most of the PV solar modules in the
market are made up of many cells connected in series, A. Buck Boost Topology and the Perturb and Observe
usually 36, 60 or 72. These modules are then connected in Algorithm
series or parallel in order to form an array. In this case, a The P&O algorithm acts directly on the duty cycle of the
total of 60 PV cells are connected in series to make a PV buck-boost converter, which modifies the panel´s voltage
solar panel, this panel has the capacity to supply a total Voc and therefore the operating point of the PV system. Despite
of 38.3V, and a short circuit current Isc of 9.37A. Two the boost converter is less complex and cheaper, the buck-
strings connected in parallel of 13 series PV solar panels boost converter was selected to work along with the MPPT
each make a complete PV solar system, reaching up a algorithm in the PV system. According to [4] and [5], one of
voltage of 497.9 V in open circuit, and a short current of the most convenient topologies to use along with the MPPT
18.74A under STC. algorithms is the Buck-Boost converter because of its ability
to track the MPP under low irradiance conditions and analog inputs. The output signals were processed through
variations of temperature and loading effects. Moreover, the isolation amplifiers AD202. The isolated signals were
among non-isolated converters (buck and boost) it presents used as inputs to the second DS1104 platform where the PV
the most efficient topology. In [4] a simplified analysis of panel is emulated. A graphic interface was designed using
buck, boost, and buck-boost converters is developed and it ControlDesk 5.2 software. The output signals are visualized
indicates that the buck and boost topologies have a non- in ControlDesk. It is also possible to change the irradiance
operating region in the I-V characteristic curve, while the and temperature values from the graphic interface in
buck-boost converter operates in the entire region of the I-V ControlDesk.
curve. [6] to [8] implement different MPPT algorithms
using a buck-boost converter as the power device interface
with the PV panel design. The dynamic equations that
describe the behavior of the DC-DC converter are shown in
(8), and the resulting steady-state equation for the buck-
boost regulator is shown in (9).


= + , (8)

=− , (9)

Figure 6 shows the PV system modeled in


MatLab/Simulink and the step-time used for each subsystem.
This model contains the vectors that represent the real Fig. 5. P&O Flowchart.
atmospheric changing conditions, the PV array model, the
buck-boost converter and the P&O algorithm. From Fig. 6. The emulation process was designed to realize a smooth
it is possible to observe that the simulation of the PV system transition between the interconnection of each of the
is made up of different subsystems. Each subsystem work elements. The PV panel is enabled when the irradiance
under the same clock frequency of 1 kHz. However, all of value is greater than zero. When the irradiance value is
them have different characteristics and dynamics and thus above 300 the P&O algorithm and the buck-boost
they need to update their outputs at different rates in order converter are activated. Finally, when the irradiance value
to obtain the needed values that represent their features in decreases below 320 , both the PV panel and the
an optimum way. Therefore, each subsystem has its own
converter are disabled. To achieve the goal of an optimum
trigger signal. The vectors and the MPPT algorithm have to
stable operation of a PV system, the coordination between
work at a slower rate than the buck-boost converter and the
all active components is imperative. The Simulink/DSP
PV model.
signal exchange is accomplished as follows: The real-time
IV. EMULATION RESULTS simulation of the PV panel is deployed in one of the
DS1104 platforms, the outcoming analog signals are
As the main objective of this work is to develop a real-
conditioned as mentioned above and feedback to the second
time emulation process, two DS1104 platforms were used in
DS1104, which besides implementing I/O functions, also
order to reply the PV model, the ambient conditions and the
executes the test vectors and buck-boost converter with the
DC-DC converter stage with the MPPT algorithm. Fig. 7
P&O control algorithm. The outcoming signals are
shows the schematic diagram of the emulation process. The
proportional to the simulated magnitudes. In order to
emulation process applied in this work is a signal level
validate the behavior of the PV system, the actual plant
emulation system, which involves low-power signals (0-5
models and control algorithms were tested under real-time
V), rather than high-power level signals. Therefore, it does
conditions. The PV system was proved under real irradiance
not include a power stage that connects the real-time
and temperature conditions. These atmospheric conditions
simulation environment to a real hardware under test.
were obtained from a PV facility database that collects real
environmental data for different days of the year.
However, two different RTI1104 dSPACE platforms
were used to emulate the complete process of the PV system.
Fig. 8. shows different IV curves that were obtained by
The irradiance and temperature vectors that contain the real
varying the irradiance value while keeping the temperature
atmospheric settings were deployed in one of the computers
constant. The emulation process was done by using the D/A
using the DS1104 platform in order to properly reproduce
and A/D multiplexed channels (16-bit) of the DS1104
the physical environment of the PV array. These test vectors
dSPACE platform. Using the two different DS1104
repeatedly reproduce a daily profile of ambient conditions.
platforms, the irradiance and temperature vectors are
Signal conditioner elements were used in order to isolate the
connected to the panel using the multiplexed A/D
input/output signals. Moreover, these elements adjust the
converters because they allow to read each signal separately
voltage levels to be properly interpreted by the DS1104
at different times.
Fig. 6. PV solar system modeled in Matlab/Simulink and DS1104 system with the step-times used for each subsystem.

acts along with the buck-boost converter to adjust the


The PV array model sends the output voltage to a operating point of the PV array to be as close as possible to
conditioning circuit that allows the connection between the the MPP for the entire day.
PV model and the buck-boost converter. At the same time,
the current demanded by the DC-DC converter is feedback
to the PV array in order for the current that is being
produced to match the current extracted by the power
converter.

The characteristic curves were extracted from the


ControlDesk graphic interface. It can be observed that the
lower the irradiance the less amount of current the PV array
can produce. This is because the PV current is mainly
related to this ambient condition. The simulation curves
described above verified this behavior. When the short-
circuit current exceeds the nominal value for the
corresponding irradiance level, the PV voltage drops and the
PV model stops working. This behavior makes it evident
why it is important for the operating point to be at its
highest level. If the PV array was to be connected to a grid-
tied inverter, the voltage level in the dc-link should be at all
times greater than the line-voltage from the utility grid so an Fig. 7. Schematic diagram of the emulation process
appropriate power transfer can occur.
The initial voltage of this system is approximately 400
The behavior of the P&O MPPT algorithm working volts. However, the PV array model and the P&O algorithm
along with the buck-boost converter is validated in Fig. 9. are enabled only when the irradiance value is greater than
This figure shows how the P&O algorithm forces the PV 300 ; the power produced by the system for lower
system to reach the maximum power point under a constant
irradiance values is not significant and can cause
irradiance value of 1 and a constant temperature level
convergence problems in the algorithm. The PV system is
of 25 °C . The graphic shows that the MPPT algorithm takes disabled for lower values. The MPPT technique has an
approximately 5 seconds to track the maximum power point initial duty cycle of 0.5 in order for the output and input
of the PV array and keeps the value stable at 6850 W, power to be the same. Therefore, at the beginning of the
approximately. This time is significantly fast taking into simulation the output power value is close to 2000 W. After
account the slow variation of the atmospheric conditions. a positive voltage perturbation, the algorithm starts tracking
the MPP. As the real irradiance highest value is
Figure 10 shows the variation of the PV array power for a
approximately 900 , the corresponding maximum power
real daily irradiance and temperature profile (October 5th,
2014, near to Cali city - Colombia). As the atmospheric point is around 6 kW. The output power of the PV model is
values change during the day, the P&O MPPT algorithm similar to the shape of the irradiance vector when it is
connected to the MPP algorithm and the buck-boost As a result of the work, the models of all the components
converter. This is because the performance of the PV model present a satisfactory accurate performance and simple real-
is mainly affected by the solar irradiance. time control. The emulation process developed in this work
allows the testing of different MPPT algorithms and power
electronic devices. The constructed PV system emulator
presents moderate complexity and slew rates.

This work represents the initial stage of a hardware in the


loop emulation process. Therefore, it is a signal level
emulator. At first instance, the simulator/emulator system
was developed using two RTI 1104 dSPACE platforms and
two host computers in order to simulate the real world
conditions and signals that trigger the control systems and
other components.

The emulation process of this PV system is being


completed by connecting a grid-tied inverter and analyzing
the behavior and performance of each of the components as
the inverter takes energy from the PV array and delivers AC
Fig. 8. IV characteristic curves of the PV array for different irradiance
conditions
energy to the grid. The implementation of the power stage
and the real hardware under test is part of a future work that
is in the initial phase of development.

REFERENCES
[1] W. De Soto, S.A. Klein, W.A. Becham. “Improvement and
validation of a model for photovoltaic array performance”. Available
online at www.sciencedirect.com
[2] Tarak Salmi, Mounir Bouzguenda, Adel Gastli, Ahmed Masmoudi.
“MATLAB/Simulink Based Modelling of Solar Photovoltaic Cell,”
International journal of renewable energy research. Vol.2, No.2,
2012.
[3] D.L. King, W.E. Boyson, J.A. Kratochvill. “Photovoltaic Array
Performance Model,” SANDIA REPORT. Available online at
http://prod.sandia.gov/techlib/access-control.cgi/2004/043535.pdf
[4] Roberto F. Coelho, Filipe Concer, Denizar C. Martins. “A Study of
the Basic DC-DC Converters Applied in Maximum Power Point
Tracking”. Power Electronics Conference, 2009. COBEP '09.
Brazilian, Bonito-Mato Grosso do Sul, 2009, pp. 673-678.
[5] Subhadeep Bhattacharjeea, Barnam Jyoti Saharia. “A Comparative
Fig. 9. PV system power curve at 1000W/m2 of irradiance and 25°C. Study on Converter Topologies for Maximum Power Point Tracking
Application in Photovoltaic Generation,” Journal of Renewable and
Sustainable Energy. 2014.
[6] Tey Kok Soon, Saad Mekhilef , Azadeh Safari. “Simple and low
cost incremental conductance maximum power point tracking using
buck-boost converter”. Journal of Renewable and Sustainable
Energy, 2013. Available online at
http://dx.doi.org/10.1063/1.4794749
[7] M.S Sivagamasundari, Melba Mary, V.K. Velvizhi. “Maximum
Power Point Tracking for Photovoltaic System by Perturb and
Observe Method Using Buck Boost Converter,” International
Journal of Advanced Research in Electrical, Electronics and
Instrumentation Engineering. 2013. Available online at
http://www.ijareeie.com/upload/june/42_Maximum.pdf.
[8] Patil Sahebro N, R.C. Prasad. “Design and Simulation of MPPT
Algorithm for Solar Energy System Using Simulink Model,”
International Journal of Research in Engineering and Applied
Sciences (IJREAS). 2014. Available online at
http://www.mgijournal.com/PDF/DESIGN%20AND%20SIMULAT
ION%20OF%20MPPT%20ALGORITHM%20FOR%20SOLAR%2
Fig. 10. MPPT under changing atmospheric conditions using the P&O 0ENERGY%20SYSTEM.pdf
agorithm. [9] Signal Level Hardware in the Loop Test Platform for MVDC Power
Systems. Consulted on May 20, 2016. Available online at
V. CONCLUSIONS https://www.acs.eonerc.rwth-aachen.de/cms/E-ON-ERC-
S/Forschung/Projekte/~fbfk/Signallevel-Hardware-in-the-Loop-
This paper presents an emulation tool and process to TEstplt/lidx/1/
predict and analyze the behavior of a complete PV system. [10] Development of a Hardware in the Loop Platform for Microgrid
The emulator is implemented using dSPACE RTI1104 Energy Management System. Consulted on May 20, 2016. Available
controller board, and MATLAB/SIMULINK for modeling online at https://www.acs.eonerc.rwth-aachen.de/go/id/eqaj/lidx/1
solar PV characteristics.

Anda mungkin juga menyukai