# Sliding Mode Real-Time Control of Photovoltaic Systems Using Neural Estimators

Authors: J. A. Ramos-Hernanz; O. Barambones; J. M. Lopez-Guede; I. Zamora; P. Eguia; M. Farhat
Journal: International Journal of Photoenergy
 (2016)

---

## Abstract

The maximum power point tracking (MPPT) problem has attracted the attention of many researchers, because it is convenient to obtain the maximum power of a photovoltaic module regardless of the weather conditions and the load. In this paper, a novel control for a boost DC/DC converter has been introduced. It is based on a sliding mode controller (SMC) that takes a current signal as reference instead of a voltage, which is generated by a neuronal reference current generator. That reference current indicates the current (I
M
P
P) at the maximum power point (MPP) for given weather conditions. In order to test the designed control system, a photovoltaic module model based on a second artificial neuronal network (ANN) has been obtained from experimental data gathered during 18 months in the Faculty of Engineering Vitoria-Gasteiz (Spain). We have analyzed the performance of such model and we found that it is very accurate (MSE = 0.062 A and R = 0.991 with test dataset). We also have tested the performance of the overall SMC design with both simulated and real tests, concluding that it guarantees that the power in the output of the converter is very close to the power of the photovoltaic module output.


---

## Body

## 1. Introduction

In the recent Paris Conference [1], we can find important initiatives for supporting green energies. With regard to photovoltaic energy, two main initiatives stand out: the former, the creation of the “Alliance for Solar Energy” promoted by the Government of India and signed by 120 countries, and the latter, the creation of the “Global Solar Council,” mainly composed by associations devoted to renewable and solar energy from the five continents. The council was created with the aim of promoting photovoltaic energy worldwide through a unique interlocutor of the sector with the international organizations, increasing collaboration between different countries and supporting emerging solar markets.Due to its simplicity of operation, robustness, and cheapness, photovoltaic solar energy is a very appropriate source of energy, especially for emerging countries, where the construction of large electrical infrastructures is infeasible in some areas. Moreover, in recent years, great progress in this area, better efficiency, and improved performance of photovoltaic modules have been achieved. These factors, along with the advancement of electronic technology, make this type of energy even more valued.The optimal operation of a photovoltaic system depends on two types of variables; the first type is those that are imposed and depend on weather conditions, that is, irradiance and temperature. The second type of variables is those that can be modified to search for the desired performance of the system, given the weather conditions. This is the case that we are facing in this paper, that is, working at the maximum power point. In order to get it, it is mandatory to get an appropriate performance of the converter.The search of control algorithms for improving converters performance in photovoltaic systems has a considerable significance for many researchers [2, 3]. Among different control algorithms, the sliding mode control is successful due to its many advantages [4–6], the most outstanding being its easy implementation, simplicity, robustness, and high performance in many fields such as robotics [7] or photovoltaic energy [8].When a sliding mode controller is tuned by scientists or practitioners, it is desired to have a model of the photovoltaic module to control in order to carry out preliminary analytic or simulated tests instead of using the actual module. In the literature, there are a number of models of different complexities to explain the electrical behavior of photovoltaic modules. In order to clarify such variety, we can make a first division into theoretical and empirical models. Theoretical models use a characteristic equation [9] (see Section 2.1), among them being a number of models which use different degrees of freedom; that is, some of them are very complete but in other cases researchers determine/approximate them in several practical ways in order to get these models being useful.The most complete model used in the literature is based on a double diode equivalent circuit which leads to a 7-parameter model, that is,a
1, a
2, R
S, R
S
H, I
01, I
02, and I
P
H. Two-diode model has been used around the fifties [10, 11]. Later, Gow and Manning, using the same model, adjusted the parameters through Levenberg-Marquardt and Newton-Raphson algorithms [12]. This model is still being used in more recent literature [13, 14].In [15], the approach used by Villalva et al. is to modify the value of R
S and R
S
H and adjust them by means of an iterative algorithm to fit the theoretical curve to experimental data in the MPP, implementing the complete model under Simulink-SimPowerSystem assisted by Simulink. De Soto et al. used this 5-parameter approach building three versions: from a basic model with two approximations of five magnitudes to a model where they are calculated [16]. They compared the results generated by this model with experimental data obtained from a facility by other researchers and studied the effect of changing R
S and R
S
H.A number of researchers make some approximations of the characteristic parameters. The most usual of them is to assume thatR
S
H
=
∞, so I
S
H
=
0 A and the third term of the characteristic equation is discarded leading to a 4-parameter model. In [17, 18], this simplification is carried out when the model of the exact same module is built following almost the same procedure. These works are quite similar to [19]. However, there are several differences: the first calculates the temperature coefficient k
0 used to calculate the short circuit current I
S
C, while the last one uses the value provided by the manufacturer; and the used numeric value of ideality factor of the diode is different between [17, 18] and [19]. A model where the ideality factor can be varied to fit it to different PV technologies is proposed in [20]. As a last 4-parameter model, Bayrak and Cebeci formulate a distinct model from the previous ones and develop the model of a microgrid facility and hybrid PV and fuel system [21].Ramos-Hernanz et al. use polynomial interpolation and describe a model which allows obtaining only theI
V and P
V curves and provides further insight into the behavior of the photovoltaic module, but it is suited only for a range of temperatures and irradiances [22].Another approach to the empirical methods is modeling the behavior of the photovoltaic elements by means of artificial neuronal networks [23]. In [24], an interesting review of different approaches is presented, while [25, 26] developed a practical model, but with very narrow amplitudes for irradiance and temperature. Lopez-Guede et al. are seeking to expand these limits [27], but in spite of expanding the range of magnitudes, they still obtain partial models with data captured during quite small time range (two months). Bonanno et al. use RFB neural networks to generate two models [28]. The former is to obtain I
P
V from irradiance and voltage and uses 5,600 real samples. The second one is devoted to obtain P
P
V, again from irradiance and voltage using 4,600 real samples.Researchers reported a relative MSE of 2% and 1%, respectively, but the test has been done with training data, so in fact they have reported the training accuracy. In this paper, a new sliding mode controller (SMC) for maximum power point tracking in a photovoltaic module is introduced, and its performance is demonstrated in a real installation. Its main characteristic is that as reference generator it uses an artificial neural network which will seek for a reference currentI
R
E
F corresponding to the maximum power operating point (I
M
P
P). Gow and Manning have been developing works related to this paper; for example, in [12], they have used the facilities with a different photovoltaic module to design a control system that uses a voltage reference generator implemented through a polynomic equation.In order to design the SMC controller, we have carried out several tasks related to the three main elements of the autonomous photovoltaic system (photovoltaic module, converter, and load):(i)
A model of the Mitsubishi Electric PV-TD185MF5 185 W photovoltaic module has been developed based on neural networks, using actual measurements taken during 18 months, with an approximate average duration of ten minutes for each measure. A total of 62,912 samples (I
P
V, V
P
V, temperature T, and irradiance G) have been obtained, covering a broad number of different weather situations.
(ii)
These real data have been used to draw the characteristic curves of the module and calculate the MPP in each one of them. These points were learned by a second artificial neural network in order to obtain the reference current at which that the module operates at its optimum point, given the power supplied by the module and the temperature. That is, a neuronal reference current generator implementation has been obtained.
(iii)
A SMC has been designed, so that, given a reference current, the photovoltaic module will work at its point of maximum power.
(iv)
And finally, the joint behavior of all these components has been validated through simulated and real tests using the installation that is at the Faculty of Engineering Vitoria-Gasteiz (University of the Basque Country, Spain).The document is structured as follows: in Section2, we give a short background on some basic concepts used in this paper as photovoltaic generators, characteristic curves of photovoltaic modules, boost converters DC/DC, artificial neural networks, and sliding mode control. Section 3 describes how the model of a photovoltaic module has been obtained using artificial neural networks. In Section 4, we describe the sliding mode control, as well as the modeling process of the reference current generator, while the results obtained are discussed in Section 5. Finally, Section 6 gives our main conclusions.


## 2. Background

### 2.1. Photovoltaic Generator

A solar cell can be modeled as a PN semiconductor junction which when exposed to light converts light energy into electrical energy, generating a DC current which will mainly depend on the existing solar irradiance and temperature.Electric generators are usually classified as current or voltage sources. A photovoltaic device shows a functional mixed behavior, which is a source of current or voltage depending on the operating point in which the device is working.Most manufacturers provide few experimental data on the performance of solar cells working at ideal operating conditions. These data are typically provided in Standard Test Conditions (STC) (1,000 W/m2, 25° (±2)°C, AM 1.5 according to EN 6090-4). There are manufacturers that also provide these data for other conditions (800 W/m2, Nominal Operating Cell Temperature (NOCT), AM 1.5). Usually the provided data are short circuit current (I
S
C), open circuit voltage (V
O
C), current at the maximum power point (I
M
P
P), voltage at the maximum power point (V
M
P
P), temperature coefficient of open circuit voltage V
O
C (K
V) [%/K], and temperature coefficient of short circuit current I
S
C (K
I) [%/K].The basic model of a photovoltaic generator is a photovoltaic cell. The cell can be modeled as a diode, usually made of silicon and designed to maximize the absorption of photons and to minimize the reflection, converting a part of the received solar energy to electric energy. The ideal cell model is presented in the dotted area of Figure1.Figure 1
Two-diode model of a photovoltaic cell.However, there are some recombination phenomena in the material, specifically in the depletion layer of the semiconductor which can be modeled through a second diode, leading to a two-diode model. The typical two-diode equivalent circuit of a photovoltaic cell is shown in Figure1.Analyzing the schema of Figure1, we define the following equations: (1)
I
=
I
P
V
=
I
P
H
-
I
D
1
-
I
D
2
-
I
S
H
I
=
I
P
H
︷
I
P
H
-
I
01
·
e
q
V
+
I
R
S
/
a
k
T
-
1
︷
I
D
1
-
I
02
·
e
q
V
+
I
R
S
/
a
k
T
-
1
︷
I
D
2
-
V
+
I
R
S
R
S
H
︷
I
S
H
,where I
01 is a saturation current of diode 1 (A), I
02 is a saturation current of diode 2 (A), V is a cell voltage (V), q is the charge of an electron (1.6 × 10−19 C), a is the diode ideality constant, k is Boltzmann’s constant 1.38 × 10−23 (J/K), and T is the cell temperature.Many researchers use some simplifications obtaining equations that define the model of a single diode [17–20] due to its simplicity and reliability.Analyzing the schema of Figure2, we define the following equations: (2)
I
=
I
P
V
=
I
P
H
-
I
D
-
I
S
H
,
(3)
I
=
I
P
H
︷
I
P
H
-
I
0
·
e
q
V
+
I
R
S
/
a
k
T
-
1
︷
I
D
-
V
+
I
R
S
R
S
H
︷
I
S
H
.Figure 2
One-diode model of a photovoltaic cell.There are a number of data which cannot be found in data sheets as series resistance (R
S), shunt resistance (R
S
H), diode ideality constant (
a
), and saturation current of the diode (
I
0
).Both (2) and (3) are similar, but (3) has been expanded representing the output current generated by the module (I
P
V) which depends on the voltage of the photovoltaic module (V
P
V) and on solar radiation and temperature on the photovoltaic module.We define the current produced between electrodes of a photocell as the photogenerated current or photocurrent according to(4)
I
P
H
=
G
G
R
E
F
I
S
C
_
R
E
F
+
K
I
s
c
T
-
T
R
E
F
,where G is working irradiance (W/m2), G
R
E
F is the reference irradiance (usually 1,000 W/m2), I
S
C
_
R
E
F is the short circuit current of reference (A), K
I
s
c is the temperature coefficient of short circuit current (%/°C), T is the cell temperature (°C), and T
R
E
F is the reference temperature (usually 25°C).Moreover, the reverse saturation current of the diode (I
0) can be defined as shown:(5)
I
0
_
R
E
F
=
I
S
C
_
R
E
F
e
q
V
O
C
_
R
E
F
/
a
k
T
R
E
F
-
1
I
0
=
I
0
_
R
E
F
T
T
R
E
F
3
e
q
E
g
/
a
k
1
/
T
-
1
/
T
R
E
F
,where V
O
C
_
R
E
F is the open circuit reference voltage and E
g is the band gap energy (for silicon it has a value of 1.11 eV at 300°K).In order to apply these concepts to the development of a solar cell model, we have chosen the PV-Mitsubishi TD1185MF5 PV module for its modeling. This module has 50 polycrystalline cells connected in series. Its main characteristics are specified in Table1.Table 1
Key specifications of the Mitsubishi PV module.
Manufacturer
Mitsubishi
Model
PV-TD185-MF5
Cell type
Polycrystalline
Maximum power [W]
185
Open circuit voltageV
O
C [V]
30.60
Short circuit currentI
S
C [A]
8.13
Voltage atP
M
P
P [V]
24.40
Current atP
M
P
P [A]
7.58
Temperature coefficient ofV
O
C [%/°C]
−0.346
Temperature coefficient ofI
S
C [%/°C]
0.057
Nominal operating cell temperature (NOCT) [°C]
47.5


### 2.2. Characteristic Curves

One of the best tools to describe the operation of a photovoltaic module is the current-voltage (I-V) relationship, that is, theI-V,P-V, andP-I characteristic curves. TheIV curve of an ideal solar cell is superimposing theI-V curve of the diode and the photogenerated current. These curves result from mathematical expressions that describe the behavior of the photovoltaic cells which constitute the module.Conceptually, theI-V curve represents the current and voltage combinations in which the cell might work if the irradiance and cell temperature could be maintained constant. The same applies toP-I curves (power-current) andP-V (power-voltage).In order to evaluate the performance of solar cells and the photovoltaic systems design, we will rely on the electrical characteristics, that is, in the relations of voltage-current of the cells under different levels of radiation and temperatures. This requires understanding how solar radiation, the cell temperature, and electrical loads affect the behavior of the characteristic curves. The particular point of current and voltage of the curve at which the photovoltaic device works is determined by the load to which it is connected. If we have a high knowledge of these curves we can make a correct photovoltaic system design and an appropriate evaluation.Figure3 shows the characteristic curvesI-V (black),P-V (blue), andP-I (magenta) of a module operating at a given temperature and irradiation. If these factors are changed, the obtained curves will be different. The inferior abscissa axis represents the working voltage (V) of the module and, in the upper one, the current (A). The current (A) is shown in the left ordinate axis, while the obtained power (W) is in the right one.Figure 3
Characteristic curves of a photovoltaic module.


### 2.3. Boost DC/DC Converter

A DC converter must provide at its output a regulated DC voltage of a desired value. It must be done in the most efficient way and with as fewer losses as possible.The most commonly used method to control the output voltage is the pulse width modulation (PWM), which consists in using a constant switching time (T). This time is the sum of driving time (T
O
N) plus the blocking time (T
O
F
F), and varying the driving time (T
O
N), it is possible to control the output average voltage.The power given to the load is a function of the duty cycle (δ), which is defined as the relation between the time in which the converter is driving (T
O
N) and the switching time (T
=
T
O
N
+
T
O
F
F), that is, δ
=
T
O
N
/
T.In photovoltaic systems, the DC/DC converter is placed between the PV generator and load, being responsible for adapting the energy produced by the generator following a defined control strategy, which usually tries that the system works at the maximum power point to increase the efficiency of the installation.A concrete type of converter that we have used in our installation due to its characteristics is the boost converter. It provides an average output voltage exceeding the input value. We can see the converter topology in Figure4(a).Figure 4
BOOST converter.
(a)
(b)
(c)These converters are nonlinear circuits, so in order to study them as linear circuits it is usual to decompose them into two subcircuits. Its linear operation mode depends on the state of the switch(
S
):(i)
When the switch(
S
) is closed (see Figure 4(b)) during T
O
N, the diode (
D
) is reversing biased, isolating the input and the output stages. The primary source voltage (V
S) is applied to the coil (
L
), which causes the (I
L) current to increase and thus the energy is stored in the coil (
L
). The load (
R
O
) is fed only by the capacitor (
C
).
(ii)
When the switch(
S
) is open (see Figure 4(c)) during T
O
F
F, the diode is polarized. The voltage of the coil (
L
) is then added to the voltage of the primary source (
V
S
), providing at the output a larger voltage (
V
O
), larger than that of the primary source (
V
S
) and with the same polarity. In this way, the load (
R
O
) is fed by the coil (
L
) and the primary source (
V
S
).In the case of a boost converter in continuous driving operating mode, the relations between the input (V
S, I
S, and R
P
V) and output (V
O, I
O, and R
O) variables are given by(6)
V
O
=
V
S
1
-
δ
,
I
O
=
I
S
1
-
δ
,
R
O
=
R
P
V
1
-
δ
2
.Analyzing (6), we can notice that as δ
∈
0,1, the converter increases the voltage and reduces the current.The dynamic model of a circuit of a boost converter is defined by(7)
d
I
L
d
t
=
V
S
L
+
1
L
u
-
1
V
O
d
V
O
d
t
=
1
C
I
L
-
I
O
-
1
C
u
I
L
,where u
∈
{
0,1
} represents the operation mode of the circuit when u
=
1 (Figure 4(b)) and when u
=
0 (Figure 4(c)). Finally, we can rewrite (7) as(8)
x
˙
=
f
x
+
g
x
u
,
x
=
I
L
V
O
;
f
x
=
V
S
L
1
C
I
L
-
V
O
R
;
g
x
=
-
V
O
L
-
I
L
C
.


### 2.4. Artificial Neural Networks

Artificial neural networks (ANNs) are based on the operation mode of biological neural networks, although they have different functions and structures. ANNs try to mimic the human brain which is a very complex, nonlinear, and parallel system. In other words, it can perform many simultaneous operations unlike traditional computers, which only can perform one sequential operation at the same time.The basic component of calculation is usually called neuron, node, or unit. It receives one or more inputs (x
i) from other units or from an external data source. Each input has an associated weight (w
i
j), which is modified during the training process. The output (y
i) of each unit is a function of the sum of the weighted inputs, as shown in Figure 5:(9)
y
i
=
f
∑
j
w
i
y
j
.The main characteristics of the ANNs are the following:(i)
Adaptive Learning. It is the process by which ANN can change their weights in response to input information. They learn to carry out tasks by means of training with examples or by an initial experience. They differentiate patterns by examples and can change their behavior depending on the environment, having a natural suitability to acquire knowledge through experience.
(ii)
Self-Organization. They use their learning ability to organize the information that they receive during the learning and/or operation. They can change their internal structure in order to perform a specific task.
(iii)
Nonlinear Processing. It allows them to process information from nonlinear phenomena. It increases network capacity to approximate functions and sorting patterns and increase their immunity to noise.
(iv)
Parallel Processing. Usually, a large number of processing nodes are used, with a high level of interconnectivity.
(v)
High Level of Fault Tolerance. If a fault occurs even in a small number of neurons, although the system might be influenced, it does not suffer a sudden drop; that is, they can suffer considerable damage and continue to have an acceptable behavior. They have this capability because the information is stored in a distributed way.
(vi)
Real-Time Operation. They can face large processes quite quickly because ANNs are perfectly suited due to their parallel implementation.
(vii)
Easy Insertion into Existing Technologies. Thanks to the ease and speed that they can be trained and validated, ANNs can be transferred easily to an implementation in specific applications within existing or legacy systems.Figure 5
Generic artificial neural network structure.


### 2.5. Sliding Mode Control

The sliding mode control (SMC) is defined as using a control signal, switching at high frequency in order to carry the system state to a scalar field. The structure of the controller varies so that a representative point of the system follows a defined trajectory in the state space. It is based on the fact that it is easier to control first-order systems than those of ordern. For this purpose, systems of order n are replaced by first-order equivalent systems.The advantages of SMC are great accuracy, good stability, simplicity, and ruggedness, especially when the dynamics of the system in closed loop slides by the sliding surface, because it remains insensitive to variations in the model parameters and to external perturbations.


#### 2.5.1. Sliding Surface

If in a system there is a sliding mode, the trajectories that intersect the sliding region remain onS
(
x
) except when they reach the end of the sliding surface. If the trajectory goes on the surface, it is said that the system is in sliding mode, as in Figure 6.Figure 6
Sliding surface.In order to analyze this technique, we will consider a nonlinear dynamical system defined by the following equations:(10)
x
˙
=
f
x
+
g
x
u
,
x
∈
R
n
,
u
∈
R
,where x is the output of interest, u is the discontinuous control input which can take the values 0 and 1 (their discontinuity points correspond with the shape changes of the converter), X
=
x
,
x
˙
,
…
T is the state vector, f
(
X
) is the function that describes the system, and g
(
X
) is the control gain.The variable sliding surface in time domain is defined in the state spaceR
n by the equation S
(
X
)
=
0 in which(11)
S
X
=
d
d
t
+
λ
n
-
1
e
X
,where λ is a strictly positive constant corresponding to the bandwidth of the control system, n is the number of times that must be derived to the surface to gain control, and e
(
X
)
=
x
∗
-
x, where x is the control variable and x
∗ its reference value.The purpose of the control is to keep the surface to zero. This is a linear differential equation whose unique solution ise
(
X
)
=
0 for a proper choice of λ regarding the convergence condition.We define the following control signal:(12)
u
t
=
u
=
0
⟺
S
X
<
0
⟺
d
S
d
t
>
0
,
u
=
1
⟺
S
X
>
0
⟺
d
S
d
t
≤
0
.We say that the converter is controlled in sliding mode when the law described by (12) is enforced and there is a region where there is a sliding mode. Then S is a sliding region.If the dynamics of the system are out of the sliding region and they are above it, the control will switch to the valueu
=
1 in order to bring the system dynamics into the sliding region S
(
X
). Otherwise, if they are below the sliding region, the control system changes to the value u
=
0 to bring again the system dynamics to the sliding surface.The execution of the control law to get the system to slide across the surface means that the switching frequency is infinite, which is physically impossible. Therefore, we will use a modified control law expressed in(13)
u
t
=
u
=
0
⟺
S
X
≤
-
Δ
u
=
1
⟺
S
X
≥
Δ
,where Δ is a positive constant. When Δ tends to zero, it is said that the system tends to ideal sliding dynamics. The switching frequency is not kept constant, but changes could be finite when it does on the surface.


#### 2.5.2. Invariance Conditions

The sliding surface is characterized by the following conditions of invariance or ideal sliding dynamics of (14), and the state trajectories evolve on it:(14)
S
X
=
0
,
d
S
X
d
t
=
0
.These conditions guarantee that the trajectory of the system state is addressed to the sliding surface (S
=
0) and slides on it.System stability can be analyzed using the method of Lyapunov stability. The Lyapunov function is a scalar positive function. The desired function is one that ensures monitoring of the variable to control the reference value. We define the positive function of the formV in(15)
V
=
1
2
S
2
>
0
.If the function is derived, (16) is obtained: (16)
V
˙
=
S
·
d
S
d
t
=
S
·
S
˙
.The function decreases if the derivative is negative.A system meets the slip condition when the scalarS
(
X
) is zero and it met the condition of(17)
d
d
t
S
2
≤
-
η
S
,where η is a strictly positive constant indicating the force of attraction of the path to the sliding surface. Once the system is on the surface, the system trajectories remain on it.


## 2.1. Photovoltaic Generator

A solar cell can be modeled as a PN semiconductor junction which when exposed to light converts light energy into electrical energy, generating a DC current which will mainly depend on the existing solar irradiance and temperature.Electric generators are usually classified as current or voltage sources. A photovoltaic device shows a functional mixed behavior, which is a source of current or voltage depending on the operating point in which the device is working.Most manufacturers provide few experimental data on the performance of solar cells working at ideal operating conditions. These data are typically provided in Standard Test Conditions (STC) (1,000 W/m2, 25° (±2)°C, AM 1.5 according to EN 6090-4). There are manufacturers that also provide these data for other conditions (800 W/m2, Nominal Operating Cell Temperature (NOCT), AM 1.5). Usually the provided data are short circuit current (I
S
C), open circuit voltage (V
O
C), current at the maximum power point (I
M
P
P), voltage at the maximum power point (V
M
P
P), temperature coefficient of open circuit voltage V
O
C (K
V) [%/K], and temperature coefficient of short circuit current I
S
C (K
I) [%/K].The basic model of a photovoltaic generator is a photovoltaic cell. The cell can be modeled as a diode, usually made of silicon and designed to maximize the absorption of photons and to minimize the reflection, converting a part of the received solar energy to electric energy. The ideal cell model is presented in the dotted area of Figure1.Figure 1
Two-diode model of a photovoltaic cell.However, there are some recombination phenomena in the material, specifically in the depletion layer of the semiconductor which can be modeled through a second diode, leading to a two-diode model. The typical two-diode equivalent circuit of a photovoltaic cell is shown in Figure1.Analyzing the schema of Figure1, we define the following equations: (1)
I
=
I
P
V
=
I
P
H
-
I
D
1
-
I
D
2
-
I
S
H
I
=
I
P
H
︷
I
P
H
-
I
01
·
e
q
V
+
I
R
S
/
a
k
T
-
1
︷
I
D
1
-
I
02
·
e
q
V
+
I
R
S
/
a
k
T
-
1
︷
I
D
2
-
V
+
I
R
S
R
S
H
︷
I
S
H
,where I
01 is a saturation current of diode 1 (A), I
02 is a saturation current of diode 2 (A), V is a cell voltage (V), q is the charge of an electron (1.6 × 10−19 C), a is the diode ideality constant, k is Boltzmann’s constant 1.38 × 10−23 (J/K), and T is the cell temperature.Many researchers use some simplifications obtaining equations that define the model of a single diode [17–20] due to its simplicity and reliability.Analyzing the schema of Figure2, we define the following equations: (2)
I
=
I
P
V
=
I
P
H
-
I
D
-
I
S
H
,
(3)
I
=
I
P
H
︷
I
P
H
-
I
0
·
e
q
V
+
I
R
S
/
a
k
T
-
1
︷
I
D
-
V
+
I
R
S
R
S
H
︷
I
S
H
.Figure 2
One-diode model of a photovoltaic cell.There are a number of data which cannot be found in data sheets as series resistance (R
S), shunt resistance (R
S
H), diode ideality constant (
a
), and saturation current of the diode (
I
0
).Both (2) and (3) are similar, but (3) has been expanded representing the output current generated by the module (I
P
V) which depends on the voltage of the photovoltaic module (V
P
V) and on solar radiation and temperature on the photovoltaic module.We define the current produced between electrodes of a photocell as the photogenerated current or photocurrent according to(4)
I
P
H
=
G
G
R
E
F
I
S
C
_
R
E
F
+
K
I
s
c
T
-
T
R
E
F
,where G is working irradiance (W/m2), G
R
E
F is the reference irradiance (usually 1,000 W/m2), I
S
C
_
R
E
F is the short circuit current of reference (A), K
I
s
c is the temperature coefficient of short circuit current (%/°C), T is the cell temperature (°C), and T
R
E
F is the reference temperature (usually 25°C).Moreover, the reverse saturation current of the diode (I
0) can be defined as shown:(5)
I
0
_
R
E
F
=
I
S
C
_
R
E
F
e
q
V
O
C
_
R
E
F
/
a
k
T
R
E
F
-
1
I
0
=
I
0
_
R
E
F
T
T
R
E
F
3
e
q
E
g
/
a
k
1
/
T
-
1
/
T
R
E
F
,where V
O
C
_
R
E
F is the open circuit reference voltage and E
g is the band gap energy (for silicon it has a value of 1.11 eV at 300°K).In order to apply these concepts to the development of a solar cell model, we have chosen the PV-Mitsubishi TD1185MF5 PV module for its modeling. This module has 50 polycrystalline cells connected in series. Its main characteristics are specified in Table1.Table 1
Key specifications of the Mitsubishi PV module.
Manufacturer
Mitsubishi
Model
PV-TD185-MF5
Cell type
Polycrystalline
Maximum power [W]
185
Open circuit voltageV
O
C [V]
30.60
Short circuit currentI
S
C [A]
8.13
Voltage atP
M
P
P [V]
24.40
Current atP
M
P
P [A]
7.58
Temperature coefficient ofV
O
C [%/°C]
−0.346
Temperature coefficient ofI
S
C [%/°C]
0.057
Nominal operating cell temperature (NOCT) [°C]
47.5


## 2.2. Characteristic Curves

One of the best tools to describe the operation of a photovoltaic module is the current-voltage (I-V) relationship, that is, theI-V,P-V, andP-I characteristic curves. TheIV curve of an ideal solar cell is superimposing theI-V curve of the diode and the photogenerated current. These curves result from mathematical expressions that describe the behavior of the photovoltaic cells which constitute the module.Conceptually, theI-V curve represents the current and voltage combinations in which the cell might work if the irradiance and cell temperature could be maintained constant. The same applies toP-I curves (power-current) andP-V (power-voltage).In order to evaluate the performance of solar cells and the photovoltaic systems design, we will rely on the electrical characteristics, that is, in the relations of voltage-current of the cells under different levels of radiation and temperatures. This requires understanding how solar radiation, the cell temperature, and electrical loads affect the behavior of the characteristic curves. The particular point of current and voltage of the curve at which the photovoltaic device works is determined by the load to which it is connected. If we have a high knowledge of these curves we can make a correct photovoltaic system design and an appropriate evaluation.Figure3 shows the characteristic curvesI-V (black),P-V (blue), andP-I (magenta) of a module operating at a given temperature and irradiation. If these factors are changed, the obtained curves will be different. The inferior abscissa axis represents the working voltage (V) of the module and, in the upper one, the current (A). The current (A) is shown in the left ordinate axis, while the obtained power (W) is in the right one.Figure 3
Characteristic curves of a photovoltaic module.


## 2.3. Boost DC/DC Converter

A DC converter must provide at its output a regulated DC voltage of a desired value. It must be done in the most efficient way and with as fewer losses as possible.The most commonly used method to control the output voltage is the pulse width modulation (PWM), which consists in using a constant switching time (T). This time is the sum of driving time (T
O
N) plus the blocking time (T
O
F
F), and varying the driving time (T
O
N), it is possible to control the output average voltage.The power given to the load is a function of the duty cycle (δ), which is defined as the relation between the time in which the converter is driving (T
O
N) and the switching time (T
=
T
O
N
+
T
O
F
F), that is, δ
=
T
O
N
/
T.In photovoltaic systems, the DC/DC converter is placed between the PV generator and load, being responsible for adapting the energy produced by the generator following a defined control strategy, which usually tries that the system works at the maximum power point to increase the efficiency of the installation.A concrete type of converter that we have used in our installation due to its characteristics is the boost converter. It provides an average output voltage exceeding the input value. We can see the converter topology in Figure4(a).Figure 4
BOOST converter.
(a)
(b)
(c)These converters are nonlinear circuits, so in order to study them as linear circuits it is usual to decompose them into two subcircuits. Its linear operation mode depends on the state of the switch(
S
):(i)
When the switch(
S
) is closed (see Figure 4(b)) during T
O
N, the diode (
D
) is reversing biased, isolating the input and the output stages. The primary source voltage (V
S) is applied to the coil (
L
), which causes the (I
L) current to increase and thus the energy is stored in the coil (
L
). The load (
R
O
) is fed only by the capacitor (
C
).
(ii)
When the switch(
S
) is open (see Figure 4(c)) during T
O
F
F, the diode is polarized. The voltage of the coil (
L
) is then added to the voltage of the primary source (
V
S
), providing at the output a larger voltage (
V
O
), larger than that of the primary source (
V
S
) and with the same polarity. In this way, the load (
R
O
) is fed by the coil (
L
) and the primary source (
V
S
).In the case of a boost converter in continuous driving operating mode, the relations between the input (V
S, I
S, and R
P
V) and output (V
O, I
O, and R
O) variables are given by(6)
V
O
=
V
S
1
-
δ
,
I
O
=
I
S
1
-
δ
,
R
O
=
R
P
V
1
-
δ
2
.Analyzing (6), we can notice that as δ
∈
0,1, the converter increases the voltage and reduces the current.The dynamic model of a circuit of a boost converter is defined by(7)
d
I
L
d
t
=
V
S
L
+
1
L
u
-
1
V
O
d
V
O
d
t
=
1
C
I
L
-
I
O
-
1
C
u
I
L
,where u
∈
{
0,1
} represents the operation mode of the circuit when u
=
1 (Figure 4(b)) and when u
=
0 (Figure 4(c)). Finally, we can rewrite (7) as(8)
x
˙
=
f
x
+
g
x
u
,
x
=
I
L
V
O
;
f
x
=
V
S
L
1
C
I
L
-
V
O
R
;
g
x
=
-
V
O
L
-
I
L
C
.


## 2.4. Artificial Neural Networks

Artificial neural networks (ANNs) are based on the operation mode of biological neural networks, although they have different functions and structures. ANNs try to mimic the human brain which is a very complex, nonlinear, and parallel system. In other words, it can perform many simultaneous operations unlike traditional computers, which only can perform one sequential operation at the same time.The basic component of calculation is usually called neuron, node, or unit. It receives one or more inputs (x
i) from other units or from an external data source. Each input has an associated weight (w
i
j), which is modified during the training process. The output (y
i) of each unit is a function of the sum of the weighted inputs, as shown in Figure 5:(9)
y
i
=
f
∑
j
w
i
y
j
.The main characteristics of the ANNs are the following:(i)
Adaptive Learning. It is the process by which ANN can change their weights in response to input information. They learn to carry out tasks by means of training with examples or by an initial experience. They differentiate patterns by examples and can change their behavior depending on the environment, having a natural suitability to acquire knowledge through experience.
(ii)
Self-Organization. They use their learning ability to organize the information that they receive during the learning and/or operation. They can change their internal structure in order to perform a specific task.
(iii)
Nonlinear Processing. It allows them to process information from nonlinear phenomena. It increases network capacity to approximate functions and sorting patterns and increase their immunity to noise.
(iv)
Parallel Processing. Usually, a large number of processing nodes are used, with a high level of interconnectivity.
(v)
High Level of Fault Tolerance. If a fault occurs even in a small number of neurons, although the system might be influenced, it does not suffer a sudden drop; that is, they can suffer considerable damage and continue to have an acceptable behavior. They have this capability because the information is stored in a distributed way.
(vi)
Real-Time Operation. They can face large processes quite quickly because ANNs are perfectly suited due to their parallel implementation.
(vii)
Easy Insertion into Existing Technologies. Thanks to the ease and speed that they can be trained and validated, ANNs can be transferred easily to an implementation in specific applications within existing or legacy systems.Figure 5
Generic artificial neural network structure.


## 2.5. Sliding Mode Control

The sliding mode control (SMC) is defined as using a control signal, switching at high frequency in order to carry the system state to a scalar field. The structure of the controller varies so that a representative point of the system follows a defined trajectory in the state space. It is based on the fact that it is easier to control first-order systems than those of ordern. For this purpose, systems of order n are replaced by first-order equivalent systems.The advantages of SMC are great accuracy, good stability, simplicity, and ruggedness, especially when the dynamics of the system in closed loop slides by the sliding surface, because it remains insensitive to variations in the model parameters and to external perturbations.


### 2.5.1. Sliding Surface

If in a system there is a sliding mode, the trajectories that intersect the sliding region remain onS
(
x
) except when they reach the end of the sliding surface. If the trajectory goes on the surface, it is said that the system is in sliding mode, as in Figure 6.Figure 6
Sliding surface.In order to analyze this technique, we will consider a nonlinear dynamical system defined by the following equations:(10)
x
˙
=
f
x
+
g
x
u
,
x
∈
R
n
,
u
∈
R
,where x is the output of interest, u is the discontinuous control input which can take the values 0 and 1 (their discontinuity points correspond with the shape changes of the converter), X
=
x
,
x
˙
,
…
T is the state vector, f
(
X
) is the function that describes the system, and g
(
X
) is the control gain.The variable sliding surface in time domain is defined in the state spaceR
n by the equation S
(
X
)
=
0 in which(11)
S
X
=
d
d
t
+
λ
n
-
1
e
X
,where λ is a strictly positive constant corresponding to the bandwidth of the control system, n is the number of times that must be derived to the surface to gain control, and e
(
X
)
=
x
∗
-
x, where x is the control variable and x
∗ its reference value.The purpose of the control is to keep the surface to zero. This is a linear differential equation whose unique solution ise
(
X
)
=
0 for a proper choice of λ regarding the convergence condition.We define the following control signal:(12)
u
t
=
u
=
0
⟺
S
X
<
0
⟺
d
S
d
t
>
0
,
u
=
1
⟺
S
X
>
0
⟺
d
S
d
t
≤
0
.We say that the converter is controlled in sliding mode when the law described by (12) is enforced and there is a region where there is a sliding mode. Then S is a sliding region.If the dynamics of the system are out of the sliding region and they are above it, the control will switch to the valueu
=
1 in order to bring the system dynamics into the sliding region S
(
X
). Otherwise, if they are below the sliding region, the control system changes to the value u
=
0 to bring again the system dynamics to the sliding surface.The execution of the control law to get the system to slide across the surface means that the switching frequency is infinite, which is physically impossible. Therefore, we will use a modified control law expressed in(13)
u
t
=
u
=
0
⟺
S
X
≤
-
Δ
u
=
1
⟺
S
X
≥
Δ
,where Δ is a positive constant. When Δ tends to zero, it is said that the system tends to ideal sliding dynamics. The switching frequency is not kept constant, but changes could be finite when it does on the surface.


### 2.5.2. Invariance Conditions

The sliding surface is characterized by the following conditions of invariance or ideal sliding dynamics of (14), and the state trajectories evolve on it:(14)
S
X
=
0
,
d
S
X
d
t
=
0
.These conditions guarantee that the trajectory of the system state is addressed to the sliding surface (S
=
0) and slides on it.System stability can be analyzed using the method of Lyapunov stability. The Lyapunov function is a scalar positive function. The desired function is one that ensures monitoring of the variable to control the reference value. We define the positive function of the formV in(15)
V
=
1
2
S
2
>
0
.If the function is derived, (16) is obtained: (16)
V
˙
=
S
·
d
S
d
t
=
S
·
S
˙
.The function decreases if the derivative is negative.A system meets the slip condition when the scalarS
(
X
) is zero and it met the condition of(17)
d
d
t
S
2
≤
-
η
S
,where η is a strictly positive constant indicating the force of attraction of the path to the sliding surface. Once the system is on the surface, the system trajectories remain on it.


## 2.5.1. Sliding Surface

If in a system there is a sliding mode, the trajectories that intersect the sliding region remain onS
(
x
) except when they reach the end of the sliding surface. If the trajectory goes on the surface, it is said that the system is in sliding mode, as in Figure 6.Figure 6
Sliding surface.In order to analyze this technique, we will consider a nonlinear dynamical system defined by the following equations:(10)
x
˙
=
f
x
+
g
x
u
,
x
∈
R
n
,
u
∈
R
,where x is the output of interest, u is the discontinuous control input which can take the values 0 and 1 (their discontinuity points correspond with the shape changes of the converter), X
=
x
,
x
˙
,
…
T is the state vector, f
(
X
) is the function that describes the system, and g
(
X
) is the control gain.The variable sliding surface in time domain is defined in the state spaceR
n by the equation S
(
X
)
=
0 in which(11)
S
X
=
d
d
t
+
λ
n
-
1
e
X
,where λ is a strictly positive constant corresponding to the bandwidth of the control system, n is the number of times that must be derived to the surface to gain control, and e
(
X
)
=
x
∗
-
x, where x is the control variable and x
∗ its reference value.The purpose of the control is to keep the surface to zero. This is a linear differential equation whose unique solution ise
(
X
)
=
0 for a proper choice of λ regarding the convergence condition.We define the following control signal:(12)
u
t
=
u
=
0
⟺
S
X
<
0
⟺
d
S
d
t
>
0
,
u
=
1
⟺
S
X
>
0
⟺
d
S
d
t
≤
0
.We say that the converter is controlled in sliding mode when the law described by (12) is enforced and there is a region where there is a sliding mode. Then S is a sliding region.If the dynamics of the system are out of the sliding region and they are above it, the control will switch to the valueu
=
1 in order to bring the system dynamics into the sliding region S
(
X
). Otherwise, if they are below the sliding region, the control system changes to the value u
=
0 to bring again the system dynamics to the sliding surface.The execution of the control law to get the system to slide across the surface means that the switching frequency is infinite, which is physically impossible. Therefore, we will use a modified control law expressed in(13)
u
t
=
u
=
0
⟺
S
X
≤
-
Δ
u
=
1
⟺
S
X
≥
Δ
,where Δ is a positive constant. When Δ tends to zero, it is said that the system tends to ideal sliding dynamics. The switching frequency is not kept constant, but changes could be finite when it does on the surface.


## 2.5.2. Invariance Conditions

The sliding surface is characterized by the following conditions of invariance or ideal sliding dynamics of (14), and the state trajectories evolve on it:(14)
S
X
=
0
,
d
S
X
d
t
=
0
.These conditions guarantee that the trajectory of the system state is addressed to the sliding surface (S
=
0) and slides on it.System stability can be analyzed using the method of Lyapunov stability. The Lyapunov function is a scalar positive function. The desired function is one that ensures monitoring of the variable to control the reference value. We define the positive function of the formV in(15)
V
=
1
2
S
2
>
0
.If the function is derived, (16) is obtained: (16)
V
˙
=
S
·
d
S
d
t
=
S
·
S
˙
.The function decreases if the derivative is negative.A system meets the slip condition when the scalarS
(
X
) is zero and it met the condition of(17)
d
d
t
S
2
≤
-
η
S
,where η is a strictly positive constant indicating the force of attraction of the path to the sliding surface. Once the system is on the surface, the system trajectories remain on it.


## 3. Module Developed

This section will describe the steps taken for modeling the Mitsubishi PV-TD185-MF5 module. It is located on the roof of the Faculty of Engineering of Vitoria-Gasteiz (University of the Basque Country, Spain). The model is obtained from experimental data (32,916 samples), taken during 18 months. The measurements were made randomly with an approximate average duration of ten minutes, during which four magnitudes were measured (temperature, irradiance, current, and voltage) varying the load resistance.


### 3.1. Data Acquisition

Figure7 shows a schematic diagram with all the devices involved to capture the four relevant magnitudes, that is, V
P
H, I
P
H, temperature T, and irradiance G in the surroundings of the photovoltaic module. The voltmeter is placed in parallel with the module to obtain V
P
H, while the ampere meter is placed in series to obtain I
P
H.Figure 7
Scheme of measurement elements for data logging.Besides, there is a variable resistance to act as a variable load and obtain different pairs of voltage and current with the same irradiance and temperature. The variable resistance value is controlled according to our convenience, but the temperature and the irradiance depend on the climatological conditions.The involved measurement elements for data logging are the following:(i)
Irradiance and Temperature Sensor (Si-420TC-T-K). This sensor provides the irradiance (W/m2) and the temperature (°C) of its cell (placed next to the photovoltaic module) along the duration of the data acquisition process, which usually is not long. Once the sensor acquires a stable working temperature, both irradiance and temperature values have usually a very small variation; therefore, they are assumed as constants by manufacturers when providing theI-V andP-V characteristic curves of their photovoltaic modules. The sensor provides its output expressed as current. With regard to the accuracy of the device, it is ±5% when it measures irradiance and ±1.5°C when it measures temperature.
(ii)
Clamp Current Chauvin Arnoux PAC 12. The current clamp is used to measure the direct current provided by the photovoltaic module, providing at its output a voltage proportional to the measured current. This clamp has two working scales: one with a narrow input range (0.4 to 60 A DC) but more accurate readings (precision ±1.5%) and a second one with a broader input range (0.5 to 600 A DC) but with less accurate readings (precision ±2%). Since the expected value of I
P
V is less than 10 A, we have chosen the first working mode, which leads to measurements with a maximum error of ±150 mA.
(iii)
Programmable Amplifier with Insulation SINEAX TV809. The functions of this device are to isolate electrically the input/output signals and amplify and/or convert the signal level or type (current to voltage or vice versa) of the input DC signals. In the experiments described in this paper, we have used two independent devices. Since the value of both V
P
V and the output of the current clamps I
P
V are expressed in volts, and the used data logger only can read currents at its input, it is mandatory to use two independent devices to transform these magnitudes into current values. The configuration of the transformations to carry out is done through the TV800plus (V1.11) software, and the main function of both amplifiers is to convert the voltage and current signals of the photovoltaic module into a 4–20 mA current signal proportional to the input. The accuracy of this device is ±0.2% of the maximum value of the input. In the case of V
P
V, the maximum value is set to 50 V, leading to maximum error of ±0.1 V, while the maximum value of I
P
V is set to 10 A, leading to maximum error of ±20 mA.
(iv)
SINEAX CAM Data Logger. This device is devoted to collect and register the four physical magnitudes that later will be used to elaborate the datasets to obtain different approximations as realistic as possible, that is, irradiance, temperature, V
P
H, and I
P
H. It is designed for long-term measurements in industrial installations, and it allows continuous measurement and recording of data. In our case, the logging frequency was set to 0.5 Hz. The data logger is supplied with the CB-Manager software, which integrates several useful functions to configure theI/O interface according to specific requirements and to display the measured values. The accuracy of this device is ±0.1% of the maximum value of the input configuration (full scale) which is set to 20 mA, so the measurement error is negligible.The data measured and recorded using the CB-Manager are saved in plain ASCII files. After some minor modifications as changing decimal sign (. by  ,) and separator (, by  ;) and eliminating unnecessary data, these files are imported into a Microsoft Excel file in order to obtain graphics which allow detecting outliers or corrupted data, so that a single file with 62,916 samples of measured data (currentI
P
V, voltage V
P
V, irradiance G, and temperature T) is obtained.


### 3.2. Obtaining Photovoltaic Module Model

We import these data into the MathWorks Matlab environment and generate four vectors, one for each measured magnitude. Since we will use an artificial neural network to generate the model, with these vectors we form the network input and output, in such a way that the generated neural network will have three-dimensional input patterns (T, G, and V
P
V) and a single output value I
P
V associated with each combination of inputs. Once we have defined the model to learn, we must fix the structure of the ANN and train and validate the learned model.During the structure design phase, we heuristically chose a one-layer feed-forward artificial neural network composed of three inputs, one output, and 15 nodes in the hidden layer. Once the network architecture was designed, we proceed to train it to learn the desired behavior defined through the input and output correspondences. In this phase, the ANN calculates its predictions and compares them with the actual values of the variable that had tried to predict them, so that the network learns that there were erroneous predictions and modifies the synaptic weights in order to reduce that error. This process is driven by a training algorithm, which presents sequentially the training data at the input layer of the ANN. In this case, the Levenberg-Marquardt algorithm has been used. We call “epoch” to a complete presentation of all training data during the learning process. Learning occurs epoch to epoch until the weights and thresholds are stabilized and the error criterion on the complete training set converges to a minimum value following a metric, in our case, the Mean Square Error (MSE).After training phase, it is expected that the ANN shows a behavior similar to the actual photovoltaic module, even when new inputs are presented at its input layer.Of the total number of 62,916 samples of experimental data obtained, we use 44,042 samples pairs for training (70%), 9,437 for validation (15%), and the remaining 9,437 for test (15%). The network was trained with backpropagation Levenberg-Marquardt algorithm during 1000 epochs, obtaining a network with a Mean Squared Error (MSE) of 6.1553 × 10−2 A and with a training correlation coefficient R
=
0.99075, as shown in Figure 8.Figure 8
Training correlation coefficient.


### 3.3. Validation of the Model

In Figure9, there are the characteristicI-V curves of three different days in different weather conditions: the experimental values (blue) and the predicted values by the ANN-based model (red). We can see that the model provides a prediction very similar to the actual values obtained through experimental measurements.Figure 9
Model validation.Moreover, using a test dataset of 9,437 samples a test correlation coefficientR
=
0.99069 has been achieved as shown in Figure 10.Figure 10
Test correlation coefficient.With these results, we can state that the model is accurate enough to be used in those studies where the Mitsubishi PV-TD185MF module is implied.


## 3.1. Data Acquisition

Figure7 shows a schematic diagram with all the devices involved to capture the four relevant magnitudes, that is, V
P
H, I
P
H, temperature T, and irradiance G in the surroundings of the photovoltaic module. The voltmeter is placed in parallel with the module to obtain V
P
H, while the ampere meter is placed in series to obtain I
P
H.Figure 7
Scheme of measurement elements for data logging.Besides, there is a variable resistance to act as a variable load and obtain different pairs of voltage and current with the same irradiance and temperature. The variable resistance value is controlled according to our convenience, but the temperature and the irradiance depend on the climatological conditions.The involved measurement elements for data logging are the following:(i)
Irradiance and Temperature Sensor (Si-420TC-T-K). This sensor provides the irradiance (W/m2) and the temperature (°C) of its cell (placed next to the photovoltaic module) along the duration of the data acquisition process, which usually is not long. Once the sensor acquires a stable working temperature, both irradiance and temperature values have usually a very small variation; therefore, they are assumed as constants by manufacturers when providing theI-V andP-V characteristic curves of their photovoltaic modules. The sensor provides its output expressed as current. With regard to the accuracy of the device, it is ±5% when it measures irradiance and ±1.5°C when it measures temperature.
(ii)
Clamp Current Chauvin Arnoux PAC 12. The current clamp is used to measure the direct current provided by the photovoltaic module, providing at its output a voltage proportional to the measured current. This clamp has two working scales: one with a narrow input range (0.4 to 60 A DC) but more accurate readings (precision ±1.5%) and a second one with a broader input range (0.5 to 600 A DC) but with less accurate readings (precision ±2%). Since the expected value of I
P
V is less than 10 A, we have chosen the first working mode, which leads to measurements with a maximum error of ±150 mA.
(iii)
Programmable Amplifier with Insulation SINEAX TV809. The functions of this device are to isolate electrically the input/output signals and amplify and/or convert the signal level or type (current to voltage or vice versa) of the input DC signals. In the experiments described in this paper, we have used two independent devices. Since the value of both V
P
V and the output of the current clamps I
P
V are expressed in volts, and the used data logger only can read currents at its input, it is mandatory to use two independent devices to transform these magnitudes into current values. The configuration of the transformations to carry out is done through the TV800plus (V1.11) software, and the main function of both amplifiers is to convert the voltage and current signals of the photovoltaic module into a 4–20 mA current signal proportional to the input. The accuracy of this device is ±0.2% of the maximum value of the input. In the case of V
P
V, the maximum value is set to 50 V, leading to maximum error of ±0.1 V, while the maximum value of I
P
V is set to 10 A, leading to maximum error of ±20 mA.
(iv)
SINEAX CAM Data Logger. This device is devoted to collect and register the four physical magnitudes that later will be used to elaborate the datasets to obtain different approximations as realistic as possible, that is, irradiance, temperature, V
P
H, and I
P
H. It is designed for long-term measurements in industrial installations, and it allows continuous measurement and recording of data. In our case, the logging frequency was set to 0.5 Hz. The data logger is supplied with the CB-Manager software, which integrates several useful functions to configure theI/O interface according to specific requirements and to display the measured values. The accuracy of this device is ±0.1% of the maximum value of the input configuration (full scale) which is set to 20 mA, so the measurement error is negligible.The data measured and recorded using the CB-Manager are saved in plain ASCII files. After some minor modifications as changing decimal sign (. by  ,) and separator (, by  ;) and eliminating unnecessary data, these files are imported into a Microsoft Excel file in order to obtain graphics which allow detecting outliers or corrupted data, so that a single file with 62,916 samples of measured data (currentI
P
V, voltage V
P
V, irradiance G, and temperature T) is obtained.


## 3.2. Obtaining Photovoltaic Module Model

We import these data into the MathWorks Matlab environment and generate four vectors, one for each measured magnitude. Since we will use an artificial neural network to generate the model, with these vectors we form the network input and output, in such a way that the generated neural network will have three-dimensional input patterns (T, G, and V
P
V) and a single output value I
P
V associated with each combination of inputs. Once we have defined the model to learn, we must fix the structure of the ANN and train and validate the learned model.During the structure design phase, we heuristically chose a one-layer feed-forward artificial neural network composed of three inputs, one output, and 15 nodes in the hidden layer. Once the network architecture was designed, we proceed to train it to learn the desired behavior defined through the input and output correspondences. In this phase, the ANN calculates its predictions and compares them with the actual values of the variable that had tried to predict them, so that the network learns that there were erroneous predictions and modifies the synaptic weights in order to reduce that error. This process is driven by a training algorithm, which presents sequentially the training data at the input layer of the ANN. In this case, the Levenberg-Marquardt algorithm has been used. We call “epoch” to a complete presentation of all training data during the learning process. Learning occurs epoch to epoch until the weights and thresholds are stabilized and the error criterion on the complete training set converges to a minimum value following a metric, in our case, the Mean Square Error (MSE).After training phase, it is expected that the ANN shows a behavior similar to the actual photovoltaic module, even when new inputs are presented at its input layer.Of the total number of 62,916 samples of experimental data obtained, we use 44,042 samples pairs for training (70%), 9,437 for validation (15%), and the remaining 9,437 for test (15%). The network was trained with backpropagation Levenberg-Marquardt algorithm during 1000 epochs, obtaining a network with a Mean Squared Error (MSE) of 6.1553 × 10−2 A and with a training correlation coefficient R
=
0.99075, as shown in Figure 8.Figure 8
Training correlation coefficient.


## 3.3. Validation of the Model

In Figure9, there are the characteristicI-V curves of three different days in different weather conditions: the experimental values (blue) and the predicted values by the ANN-based model (red). We can see that the model provides a prediction very similar to the actual values obtained through experimental measurements.Figure 9
Model validation.Moreover, using a test dataset of 9,437 samples a test correlation coefficientR
=
0.99069 has been achieved as shown in Figure 10.Figure 10
Test correlation coefficient.With these results, we can state that the model is accurate enough to be used in those studies where the Mitsubishi PV-TD185MF module is implied.


## 4. Sliding Mode Control

### 4.1. Reference Current Generator

Boost converter function is to take the output of the photovoltaic module and transform it to obtain the maximum power. The behavior of the converter depends on the sliding control which obtains the reference (δ) necessary for the IGBT inverter to find the maximum power point. In turn, the sliding mode controller needs a reference current (I
∗) to compare with the current of the photovoltaic generator and to obtain such pulse (δ). The reference current generator is which is going to give us this reference current I
∗.In order to obtain the reference current generator (I
R
E
F), we rely on theP-I characteristic curve. As can be seen in Figure 11, maximum power points at different irradiance conditions form a straight blue line, instead of the quadratic equation that results ifP-V characteristic curve is used.Figure 11
P-I characteristic curves of the module at different irradiance conditions.Knowing this line, for any power value, it is straight to know which current value, at the maximum power point, that should be used as reference current. Since the power generated by the module also depends on the temperature, it is necessary to obtain these straight lines at different temperature values.


### 4.2. Experimental Current Reference Generator Design

In order to design the reference current generator, we will use the same experimental data used to obtain the model of the photovoltaic module in Section3.In this case, the 62,192 samples will be divided into groups of temperature of 5°C, going from 5°C to 50°C. Each one of these groups is divided again into irradiance groups with values from 100 to 1,000 W/m2 and step 100 W/m2. With the values of each group (combination of temperature and irradiance), the characteristic curves P-I have been obtained and their MPPs have been found. For example, Figure 11 shows a characteristic curve P-I for each irradiance, all of them at a constant temperature of 25°C. With all the MPP points of Figure 11, a curve of Figure 12 has been created using interpolation, specifically the curve corresponding to 25°C. That is, each curve of Figure 12 contains the MPPs for all irradiances (implicitly as one moves in the abscissa axis) of a given temperature, expressing it as I
M
P
P
=
f
(
G
). With the triplets (I
M
P
P, P
M
P
P, and T), an interpolation is carried out in order to obtain a function I
M
P
P
=
f
(
P
M
P
P
,
T
) that gives the value of the current at the MPP for given values of power and temperature. Finally, Figure 13 is created interpolating the curves shown in Figure 12 and it gives us the reference current for the maximum power point at given temperature and irradiance.Figure 12
Lines of MPP for different temperatures (°C).Figure 13
P-T-I characteristic surface of the MPPs.With these values, we trained an ANN to learn the functionI
M
P
P
=
F
(
P
M
P
P
,
T
). The process to obtain the neural network is similar to that followed when learning the photovoltaic module model carried out in Section 3.2, taking into account that in this case it has two inputs (
P
M
P
P
,
T
) and one output (I
M
P
P or I
R
E
F).We obtained the maximum power points data to carry out the ANN training calculating them for power values ranging from 15 to 110 W with step of 5 W, while for temperature values range from from 15 to 50°C with step of 5°C. In this way, we got a set of 160 triplets (P
M
P
P, T, and I
M
P
P), of which 112 samples were used for training (70%), 24 for validation (15%), and the remaining 24 for the test (15%).An ANN of four hidden nodes was trained with backpropagation Levenberg-Marquardt algorithm. After 489 iterations, a network with a Mean Squared Error (MSE) of 2.036 × 10−3 A and a training correlation coefficient R
=
0.99992 was achieved as shown in Figure 14, while its test correlation coefficient was R
=
0.99986, as shown in Figure 15. So, we can state that the ANN has learned properly the behavior of the sliding mode controller.Figure 14
Train correlation coefficient.Figure 15
Test correlation coefficient.


### 4.3. Stability Demonstration

As we have seen in the previous section, the neural network will help us determine currents of reference required by the system at all times; then the converter will force the photovoltaic system to work with the reference value obtained and thus in the area of the maximum power(18)
S
=
e
=
I
R
E
F
-
I
p
,
u
=
∫
0
t
k
·
sign
⁡
S
t
d
t
.In order to limit the control signal of operating range for the duty cycle of our DC/DC converter, the integral of the control signal is limited between 0.1 and 0.9.The demonstration of stability of the proposed controller is based on the theory of Lyapunov stability. For this purpose a Lyapunov function is defined by(19)
V
=
1
2
S
2
>
0
,whose derivative with respect to time is given by(20)
V
˙
=
S
d
S
d
t
=
S
·
S
˙
<
0
.Taking into account the expression of(21)
S
=
e
=
I
M
P
P
∗
-
I
P
V
S
˙
=
e
˙
=
-
I
˙
P
Vand using Lyapunov stability theory, it can be shown that when V
˙
<
0, the value of S tends to zero and therefore the system state converges to MPP.When
S
>
0. It means that the reference current provided by the reference generator is larger than the current provided by the module. For this reason and to make the tracking error be zero (S
=
0), I
P
V has to increase and therefore, the V
P
V must decrease. For this purpose, R
P
V has to decrease, which is achieved increasing the duty cycle (δ) as we can deduce from (6). In Figure 16, we see the behavior of the R
P
V magnitude.Figure 16
Behavior of theR
P
V related to the characteristic curve.We check stability because ifI
P
V increases, S
˙ will be negative and also the product S
·
S
˙
<
0, which implies that the system is stable and converges to the maximum power point.When
S
<
0. Using the same procedure, we have I
R
E
F
<
I
P and then S
˙ is positive and the product S
·
S
˙
<
0, which implies that the system is stable and converges to the maximum power point.For this reason and to make the tracking error be zero (S
=
0), I
P
V current has to decrease and therefore V
P
V must increase. For this purpose, R
P
V has to increase, which is achieved by decreasing the duty cycle (δ), as we can deduce from (6).


## 4.1. Reference Current Generator

Boost converter function is to take the output of the photovoltaic module and transform it to obtain the maximum power. The behavior of the converter depends on the sliding control which obtains the reference (δ) necessary for the IGBT inverter to find the maximum power point. In turn, the sliding mode controller needs a reference current (I
∗) to compare with the current of the photovoltaic generator and to obtain such pulse (δ). The reference current generator is which is going to give us this reference current I
∗.In order to obtain the reference current generator (I
R
E
F), we rely on theP-I characteristic curve. As can be seen in Figure 11, maximum power points at different irradiance conditions form a straight blue line, instead of the quadratic equation that results ifP-V characteristic curve is used.Figure 11
P-I characteristic curves of the module at different irradiance conditions.Knowing this line, for any power value, it is straight to know which current value, at the maximum power point, that should be used as reference current. Since the power generated by the module also depends on the temperature, it is necessary to obtain these straight lines at different temperature values.


## 4.2. Experimental Current Reference Generator Design

In order to design the reference current generator, we will use the same experimental data used to obtain the model of the photovoltaic module in Section3.In this case, the 62,192 samples will be divided into groups of temperature of 5°C, going from 5°C to 50°C. Each one of these groups is divided again into irradiance groups with values from 100 to 1,000 W/m2 and step 100 W/m2. With the values of each group (combination of temperature and irradiance), the characteristic curves P-I have been obtained and their MPPs have been found. For example, Figure 11 shows a characteristic curve P-I for each irradiance, all of them at a constant temperature of 25°C. With all the MPP points of Figure 11, a curve of Figure 12 has been created using interpolation, specifically the curve corresponding to 25°C. That is, each curve of Figure 12 contains the MPPs for all irradiances (implicitly as one moves in the abscissa axis) of a given temperature, expressing it as I
M
P
P
=
f
(
G
). With the triplets (I
M
P
P, P
M
P
P, and T), an interpolation is carried out in order to obtain a function I
M
P
P
=
f
(
P
M
P
P
,
T
) that gives the value of the current at the MPP for given values of power and temperature. Finally, Figure 13 is created interpolating the curves shown in Figure 12 and it gives us the reference current for the maximum power point at given temperature and irradiance.Figure 12
Lines of MPP for different temperatures (°C).Figure 13
P-T-I characteristic surface of the MPPs.With these values, we trained an ANN to learn the functionI
M
P
P
=
F
(
P
M
P
P
,
T
). The process to obtain the neural network is similar to that followed when learning the photovoltaic module model carried out in Section 3.2, taking into account that in this case it has two inputs (
P
M
P
P
,
T
) and one output (I
M
P
P or I
R
E
F).We obtained the maximum power points data to carry out the ANN training calculating them for power values ranging from 15 to 110 W with step of 5 W, while for temperature values range from from 15 to 50°C with step of 5°C. In this way, we got a set of 160 triplets (P
M
P
P, T, and I
M
P
P), of which 112 samples were used for training (70%), 24 for validation (15%), and the remaining 24 for the test (15%).An ANN of four hidden nodes was trained with backpropagation Levenberg-Marquardt algorithm. After 489 iterations, a network with a Mean Squared Error (MSE) of 2.036 × 10−3 A and a training correlation coefficient R
=
0.99992 was achieved as shown in Figure 14, while its test correlation coefficient was R
=
0.99986, as shown in Figure 15. So, we can state that the ANN has learned properly the behavior of the sliding mode controller.Figure 14
Train correlation coefficient.Figure 15
Test correlation coefficient.


## 4.3. Stability Demonstration

As we have seen in the previous section, the neural network will help us determine currents of reference required by the system at all times; then the converter will force the photovoltaic system to work with the reference value obtained and thus in the area of the maximum power(18)
S
=
e
=
I
R
E
F
-
I
p
,
u
=
∫
0
t
k
·
sign
⁡
S
t
d
t
.In order to limit the control signal of operating range for the duty cycle of our DC/DC converter, the integral of the control signal is limited between 0.1 and 0.9.The demonstration of stability of the proposed controller is based on the theory of Lyapunov stability. For this purpose a Lyapunov function is defined by(19)
V
=
1
2
S
2
>
0
,whose derivative with respect to time is given by(20)
V
˙
=
S
d
S
d
t
=
S
·
S
˙
<
0
.Taking into account the expression of(21)
S
=
e
=
I
M
P
P
∗
-
I
P
V
S
˙
=
e
˙
=
-
I
˙
P
Vand using Lyapunov stability theory, it can be shown that when V
˙
<
0, the value of S tends to zero and therefore the system state converges to MPP.When
S
>
0. It means that the reference current provided by the reference generator is larger than the current provided by the module. For this reason and to make the tracking error be zero (S
=
0), I
P
V has to increase and therefore, the V
P
V must decrease. For this purpose, R
P
V has to decrease, which is achieved increasing the duty cycle (δ) as we can deduce from (6). In Figure 16, we see the behavior of the R
P
V magnitude.Figure 16
Behavior of theR
P
V related to the characteristic curve.We check stability because ifI
P
V increases, S
˙ will be negative and also the product S
·
S
˙
<
0, which implies that the system is stable and converges to the maximum power point.When
S
<
0. Using the same procedure, we have I
R
E
F
<
I
P and then S
˙ is positive and the product S
·
S
˙
<
0, which implies that the system is stable and converges to the maximum power point.For this reason and to make the tracking error be zero (S
=
0), I
P
V current has to decrease and therefore V
P
V must increase. For this purpose, R
P
V has to increase, which is achieved by decreasing the duty cycle (δ), as we can deduce from (6).


## 5. Results

In this section, we present our results divided into two subsections attending to their nature:(a)
Simulation Results. They are obtained using the photovoltaic module model in the MathWorks Matlab/Simulink environment. Due to the ease to change the weather dependent parameters, we tested the operation of the controller when abrupt changes in irradiance and temperature.
(b)
Experimental Results. They are obtained operating on the actual system making real measurements. In this case, we present the operation of the controller when there are load variations.


### 5.1. Simulation Results

The first test carried out in order to test the performance of the controller analyzes its response when there are sudden irradiance changes. As shown in Figure17, we have used a constant temperature of 33°C and an irradiance step from 400 to 700 W/m2 after two seconds of simulation.Figure 17
Temperature (constant) and irradiance (step) input values.As we can see in Figure18, the obtained power at the output of the converter (blue line), that is, the power absorbed by the load, follows the power value of the output of the module (red line). This shows that the controller has a good performance when dealing with irradiance changes.Figure 18
Power response when sudden irradiance changes.The second test is devoted to study the behavior of the controller when there are sudden temperature changes. In this case, the irradiance is constant (800 W/m2), while the temperature changes suddenly from 10 to 45°C, as shown in Figure 19.Figure 19
Temperature (step) and irradiance (constant) input values.In this case, we also can see in Figure20 that the converter output power (blue line) again follows the power value of the output of the module (red line). So we can state that the converter has a good performance when dealing with temperature changes.Figure 20
Power response when sudden temperature changes.


### 5.2. Experimental Results

In this section, we will analyze the behavior of the proposed controller under real conditions.In order to carry out the experiments, we used a real-time digital sign processor (DSP) model dSPACE DSP1104 integrated with MathWorks Matlab/Simulink through its toolbox for real-time work and Real-Time Interface (RTI). This is widely used in industry and research because it reduces the time gap between the simulation and the development of real implementation, profiting from its capability to simulate failures and to analyze the behavior of the real system.The installation in which the experiments have been carried out consists of the Mitsubishi PV-TD185MF5 photovoltaic module, a boost converter, a DSP model dSPACE DSP1104, a variable load, and a personal computer for data storage, as shown in the schematics of Figure21, while Figures 22(a) and 22(b) show the actual installation. The used boost converter has been designed and manufactured by the TEP 192 Research Group of the University of Huelva (Spain), and its specifications are shown in Table 2.Table 2
Boost converter parameters.
Boost converter
Schottky
2x MURF1560GT
600 V, 15 A, 0.4 V to 10 A/150°C
IGBT
1x HGT40N60B3
600 V, 40 A, 1.5 V to 150°C
L
6x PCV-2-564-08
560μH, 7 A, 42 mΩ
C
2x TK Series
1500μF, 250 VFigure 21
System block diagram.Figure 22
Picture of the actual installation.
(a)
(b)The communication between the DSP and the computer has been done using the ControlDesk Next Generation 5.1 software, which allows display on the screen and manipulating real-time system variables through a graphical user interface.Once the experimental setup is fixed, the first step is to find out which is the maximum power point for the actual conditions in which the system is working. For this purpose, the variable load is connected directly to the photovoltaic module and its value is varied from its minimum to its maximum value (0–47 Ω) gathering pairs of(
P
,
I
) points with which theP-I characteristic curve is obtained (see Figure 23) and locates the maximum power point. In this real experiment case, that point corresponded to a current I
M
P
P of 3.6 A and a P
M
P
P power of approximately 68 W.Figure 23
P-I characteristic curve from experimental data.Now that the value that the converter should follow is known, the installation is prepared to make the measurements.The experiment is to vary the load and check that the power supplied to the load by the converter follows the power given by the photovoltaic module, in such a way that although the load varies, the converter continues operating at the maximum power point under the existing irradiance and temperature conditions at each moment.During the experiment the load was manually varied from 23 Ω to 39 Ω, so the change is not immediate as can be seen in Figure24 because the load needs some time to move from one value to other.Figure 24
Behavior of the load resistanceR
L
o
a
d.During the experiment, the temperature (blue line) and the irradiance (red line) are quite stable due to its short duration, remaining on approximate values of 33°C and 635 W/m2 as can be seen in Figure 25.Figure 25
Behavior of temperature(
T
) and irradiance (
G
).Figure26 shows the behavior of the power at the output of the converter (or in load) and at the output of the photovoltaic module which are compared, being very close and remaining around a mean value of 68.5 W. This value is approximately the same that the MPP provided theP-I characteristic curve as shown in Figure 23.Figure 26
P
P
V behavior versus P
L
o
a
d.Finally, the voltage and current values in the load can be seen in Figure27. It must be noted that the change of the load value implies a value change in these two variables, the product of both of them being the value of the power given to the load, which should be kept constant (as seen in Figure 27).Figure 27
Behavior of load voltageV
L
o
a
d and load current I
L
o
a
d.After this real experiment, we can state that the designed converter has also a good performance when the load value is changed.


## 5.1. Simulation Results

The first test carried out in order to test the performance of the controller analyzes its response when there are sudden irradiance changes. As shown in Figure17, we have used a constant temperature of 33°C and an irradiance step from 400 to 700 W/m2 after two seconds of simulation.Figure 17
Temperature (constant) and irradiance (step) input values.As we can see in Figure18, the obtained power at the output of the converter (blue line), that is, the power absorbed by the load, follows the power value of the output of the module (red line). This shows that the controller has a good performance when dealing with irradiance changes.Figure 18
Power response when sudden irradiance changes.The second test is devoted to study the behavior of the controller when there are sudden temperature changes. In this case, the irradiance is constant (800 W/m2), while the temperature changes suddenly from 10 to 45°C, as shown in Figure 19.Figure 19
Temperature (step) and irradiance (constant) input values.In this case, we also can see in Figure20 that the converter output power (blue line) again follows the power value of the output of the module (red line). So we can state that the converter has a good performance when dealing with temperature changes.Figure 20
Power response when sudden temperature changes.


## 5.2. Experimental Results

In this section, we will analyze the behavior of the proposed controller under real conditions.In order to carry out the experiments, we used a real-time digital sign processor (DSP) model dSPACE DSP1104 integrated with MathWorks Matlab/Simulink through its toolbox for real-time work and Real-Time Interface (RTI). This is widely used in industry and research because it reduces the time gap between the simulation and the development of real implementation, profiting from its capability to simulate failures and to analyze the behavior of the real system.The installation in which the experiments have been carried out consists of the Mitsubishi PV-TD185MF5 photovoltaic module, a boost converter, a DSP model dSPACE DSP1104, a variable load, and a personal computer for data storage, as shown in the schematics of Figure21, while Figures 22(a) and 22(b) show the actual installation. The used boost converter has been designed and manufactured by the TEP 192 Research Group of the University of Huelva (Spain), and its specifications are shown in Table 2.Table 2
Boost converter parameters.
Boost converter
Schottky
2x MURF1560GT
600 V, 15 A, 0.4 V to 10 A/150°C
IGBT
1x HGT40N60B3
600 V, 40 A, 1.5 V to 150°C
L
6x PCV-2-564-08
560μH, 7 A, 42 mΩ
C
2x TK Series
1500μF, 250 VFigure 21
System block diagram.Figure 22
Picture of the actual installation.
(a)
(b)The communication between the DSP and the computer has been done using the ControlDesk Next Generation 5.1 software, which allows display on the screen and manipulating real-time system variables through a graphical user interface.Once the experimental setup is fixed, the first step is to find out which is the maximum power point for the actual conditions in which the system is working. For this purpose, the variable load is connected directly to the photovoltaic module and its value is varied from its minimum to its maximum value (0–47 Ω) gathering pairs of(
P
,
I
) points with which theP-I characteristic curve is obtained (see Figure 23) and locates the maximum power point. In this real experiment case, that point corresponded to a current I
M
P
P of 3.6 A and a P
M
P
P power of approximately 68 W.Figure 23
P-I characteristic curve from experimental data.Now that the value that the converter should follow is known, the installation is prepared to make the measurements.The experiment is to vary the load and check that the power supplied to the load by the converter follows the power given by the photovoltaic module, in such a way that although the load varies, the converter continues operating at the maximum power point under the existing irradiance and temperature conditions at each moment.During the experiment the load was manually varied from 23 Ω to 39 Ω, so the change is not immediate as can be seen in Figure24 because the load needs some time to move from one value to other.Figure 24
Behavior of the load resistanceR
L
o
a
d.During the experiment, the temperature (blue line) and the irradiance (red line) are quite stable due to its short duration, remaining on approximate values of 33°C and 635 W/m2 as can be seen in Figure 25.Figure 25
Behavior of temperature(
T
) and irradiance (
G
).Figure26 shows the behavior of the power at the output of the converter (or in load) and at the output of the photovoltaic module which are compared, being very close and remaining around a mean value of 68.5 W. This value is approximately the same that the MPP provided theP-I characteristic curve as shown in Figure 23.Figure 26
P
P
V behavior versus P
L
o
a
d.Finally, the voltage and current values in the load can be seen in Figure27. It must be noted that the change of the load value implies a value change in these two variables, the product of both of them being the value of the power given to the load, which should be kept constant (as seen in Figure 27).Figure 27
Behavior of load voltageV
L
o
a
d and load current I
L
o
a
d.After this real experiment, we can state that the designed converter has also a good performance when the load value is changed.


## 6. Conclusions

In this paper, we have addressed one of the more outstanding problems when dealing with photovoltaic modules, that is, the maximum power point tracking problem when a boost DC/DC converter is used.In the first part of the paper, we have given a short background on some key topics regarding the paper, as the basic description of a photovoltaic generator and its characteristic curves, boost DC/DC converters, artificial neuronal networks, and sliding mode control.Later, we have detailed all the components of a real photovoltaic installation placed at the Faculty of Engineering Vitoria-Gasteiz (Basque Country University, Spain). That installation has been used to acquire data about the real operation of the Mitsubishi Electric PV-TD185MF5 185 W photovoltaic module. We have explained how the data have been gathered and the process used to train an artificial neural network to learn the behavior of the real module, obtaining a very accurate model with MSE = 0.062 A andR
=
0.991 when tested with a new dataset. So, the first finding of this paper is a very accurate neuronal model obtained from real data.Once we have got a validated model of the photovoltaic module, which allows us to make simulations, we design the sliding mode controller. The controller generates a pulse signal to control the boost DC/DC converter, but in turn, it needs a reference signal. In this work, we have used as reference a current signal, more specifically, the current at which the module gives maximum power for a given temperature and irradiance conditions. That information was obtained from the real gathered data and since we are dealing with a sliding mode controller, it has represented as a sliding surface.Finally, we have carried out several tests in order to validate the controller and its robustness when there are sudden changes in temperature, irradiance, and load. Simulated and real tests have shown that the controller that provides a good overall performance guaranteeing that the power in the output of the converter is very close to the power of the photovoltaic module output, this one being the second main contribution of the paper.



---

*Source: 5214061-2016-09-14.xml*