Next Article in Journal
EE-ACML: Energy-Efficient Adiabatic CMOS/MTJ Logic for CPA-Resistant IoT Devices
Next Article in Special Issue
High-Performance Breaking and Intelligent of Miniature Circuit Breakers
Previous Article in Journal
A 0.8 V, 5.3–5.9 GHz Sub-Sampling PLL with 196.5 fsrms Integrated Jitter and −251.6 dB FoM
Previous Article in Special Issue
Smart Control and Energy Efficiency in Irrigation Systems Using LoRaWAN
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Technical Note

Configurable IoT Open-Source Hardware and Software I-V Curve Tracer for Photovoltaic Generators

by
Isaías González
*,
José María Portalo
and
Antonio José Calderón
Department of Electrical Engineering, Electronics and Automation, University of Extremadura, Avenida de Elvas, s/n, 06006 Badajoz, Spain
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(22), 7650; https://doi.org/10.3390/s21227650
Submission received: 25 September 2021 / Revised: 30 October 2021 / Accepted: 16 November 2021 / Published: 18 November 2021
(This article belongs to the Special Issue Smart IoT System for Renewable Energy Resource)

Abstract

:
Photovoltaic (PV) energy is a renewable energy resource which is being widely integrated in intelligent power grids, smart grids, and microgrids. To characterize and monitor the behavior of PV modules, current-voltage (I-V) curves are essential. In this regard, Internet of Things (IoT) technologies provide versatile and powerful tools, constituting a modern trend in the design of sensing and data acquisition systems for I-V curve tracing. This paper presents a novel I-V curve tracer based on IoT open-source hardware and software. Namely, a Raspberry Pi microcomputer composes the hardware level, whilst the applied software comprises mariaDB, Python, and Grafana. All the tasks required for curve tracing are automated: load sweep, data acquisition, data storage, communications, and real-time visualization. Modern and legacy communication protocols are handled for seamless data exchange with a programmable logic controller and a programmable load. The development of the system is expounded, and experimental results are reported to prove the suitability and validity of the proposal. In particular, I-V curve tracing of a monocrystalline PV generator under real operating conditions is successfully conducted.

1. Introduction

Photovoltaic (PV) technology is one of the most widespread renewable energy sources (RES) [1,2] and contributes to reducing greenhouse gas emissions and fighting against climate change [3]. In intelligent energy facilities conceived under the paradigm of smart grids and microgrids, PV generators are commonly the main source of renewable energy [4]. In these facilities, PV can be combined with other equipment for energy production and consumption such as wind turbines, batteries, and hydrogen-related devices (fuel cells and electrolyzers).
In PV-based grids, it is required to monitor the state and operation of the PV devices. In this regard, the efficiency of PV cells under natural conditions is measured using current-voltage (I-V) characteristic curves [5]. Consequently, to evaluate the performance of PV modules, it is necessary to measure their I-V output characteristics [6].
I-V curves are obtained by performing a voltage sweep on the PV module, while measuring the output current which is delivered to a connected load [5]. Such curves display maximum voltage and current values of a module in a given setting [5]. This way, the analysis of the curves provides direct information on the electrical state of the module, allowing the researcher to obtain data on the expected performance under different conditions of irradiance and load [7]. The measurement system used to acquire data of the PV modules and to visualize the I-V curve is commonly known as the I-V curve tracer.
In the context of RES, monitoring and data acquisition are essential to recognize the resources available on-site, evaluate electrical conversion efficiency, detect failures, and optimize electrical production [8]. In particular, the characterization of PV modules through I-V curves is required for different purposes, and the applicability of such curves has been widely reported in the literature. For instance, I-V curve tracing is the most commonly applied technique for the electrical characterization of PV modules [9]. An in situ measurement system of PV characteristics can provide valuable information for optimized power generation [10]. I-V curves are widely used to evaluate power generation performance and detect fault conditions of PV generators [11].
Aging effects of PV cells affect the I-V curve [10], and the consequent degradation is usually assessed by means of such I-V characteristics [6]. It must be noted that failures in PV modules may be caused by several reasons such as corrosion failures, cell cracks, hot-spots, encapsulation failures, electrical or mechanical connection failures, potential induced degradation, accumulation of dust or soiling, or partial shading, among others [12].
In the context of degradation and failure analyses, detailed parameter fitting can be carried out using the I-V characteristics of the strings or modules for a deeper understanding of degradation mechanisms prior to failure [13]. According to [14], the I-V curve measurement method is time-consuming, but it is very reliable and considered a paramount step in fault detection. For diagnosis, electrical parameters are extracted from the measured I-V curves such as the short circuit current, the open-circuit voltage, the maximum power-point, and the fill factor [6,14]. Indeed, decisions on the replacement of faulty or degraded devices are better taken based on a direct measurement than based on estimation [15].
In addition, another application of I-V curves is related to the modeling of PV modules, which requires estimating or measuring certain parameters. In this regard, a data-acquisition system is essential to collect and store I-V curves so simulated I-V curves can be plotted based on different models [16]. Namely, the well-known single diode model (SDM) requires estimating the values of series and parallel resistances which can be calculated from the I-V curves [17].
However, the manufacturer provides curves measured at laboratory conditions, obtained under standard conditions of temperature and irradiance (standard test conditions, STC), which do not correspond to real operation in physical facilities. These differences affect the I-V characteristic and, thus, the module production, so it is crucial to use an I-V curve tracer [6].
The relevance of I-V tracing can be witnessed in the literature; the instrumentation and monitoring equipment for such a task have received important research efforts. For example, in-depth reviews of curve tracers according to their topologies can be found in [7,11]. Additionally, diverse equipment is available in the market and in the scientific literature. On the one hand, commercial curve tracers can be found in the market, such as in [18,19,20]. Their main advantage is the reliable measurements that are performed, guaranteed by the manufacturer of the device. On the contrary, the most noticeable drawbacks are that commercial systems are generally expensive and closed for modifications [8]. Furthermore, another important disadvantage is that the control software of commercial tracers is not prepared for an automatic experimental campaign of measurements [21].
On the other hand, custom-designed I-V curve tracers constitute an important trend in recent years. Diverse works have designed curve tracers using general purpose electronic boards such as microcontrollers and digital signal processors (DSP). For example, in [22,23], a portable I-V curve tracer is based on a DSP, being connected to a personal computer (PC) through serial communication. Vega et al. [6] combine a peripheral interface controller (PIC) and an electronic load (MOSFET) to implement an I-V curve tracer. Acquired data are stored on a PC or a smartphone. A low-cost PIC is used by Ortega et al. [12] to develop a prototype of an I-V curve tracer for individual modules in large photovoltaic systems. A curve tracer developed around a commercial low-cost embedded microcontroller (TivaC) is presented in [24]. Additionally, a low-cost microcontroller is the core of the curve tracer presented in [15], where measurements are stored in local memory and downloaded through a universal synchronous asynchronous receiver transmitter (USART) connected to a Bluetooth device.
Moreover, within custom-designed curve tracers, new developments are progressively including Internet of Things (IoT) open-source technology. Namely, open-source hardware platforms such as Arduino and Raspberry Pi (RPi) are being introduced in research projects and facilities. In the scope of PV energy, these devices are applied for data acquisition and monitoring tasks. For example, Arduino is used in [25,26] to sense the temperature of PV modules. With higher computation capabilities, the RPi microprocessor is used to implement monitoring systems for PV-based microgrids in [4,27,28] and for PV plants in [5,29,30].
In particular, to deploy I-V curve tracers, there are still scarce developments involving such IoT open-source technology, so the most recent research works will now be discussed. Within the open-source community, there is information publicly available about I-V curve tracers using Python and the Arduino microcontroller [31]. In the curve tracer proposed in [21], Arduino is responsible for managing a capacitive load, while data storage and visualization are performed by a PC. Arduino is used together with a commercial data logger in [32] to handle a MOSFET load in order to trace I-V curves of PV modules. An Arduino together with a PC is used in [33] to deploy an I-V curve tracer, the PC acting as a storage means for the measured data. The work reported in [34] applies an Arduino board with data storage on an SD card to collect the data of PV modules under shading conditions. Papageorgas et al. [10] develop a low-cost curve tracer involving an open-source platform with an embedded microcontroller called Polytropon and message queueing telemetry transport (MQTT) as a communication protocol.
Regarding the use of RPi, the following works are found. In [35], an IoT-based remote I-V tracing system is developed using an RPi and a cloud-based server aimed at analyzing soiling losses in distributed solar facilities. An RPi is used in [36] to implement a plug and play I-V curve tracer oriented toward the diagnosis of PV modules. A power MOSFET transistor is used as the electronic load during characterization, the data being recorded on the RPi and on an intermediate file transfer protocol (FTP) server. In [37], an RPi is used as the main component in a so-called outdoor test facility (OTF) with IoT capabilities employed to capture I-V and P-V curves of PV modules. Python scripts are used, and experimental validation is reported.
Some relevant requirements and trends of curve tracers have been identified in the previous literature. For example, in [33], it is pointed out that the measure of the entire I-V curve in a short time requires a suitable data acquisition device. Reference [7] identifies various trends in the advancement of curve tracers, among which low-cost measurement systems and low-cost communications are highlighted. In the same sense, the important role that reliable low-cost communications play is emphasized in [15].
The utilization of open-source and IoT technologies for curve tracing and monitoring constitutes another new trend [16,38]. Furthermore, such technologies encourage the previously mentioned trends of low-cost measurements and communication systems. These technologies provide rapid development and cost-effective solutions for smart monitoring systems [16]. Related to costs, as pointed out in [24], the low-cost characteristic of open-source platforms provides greater accessibility to I-V curve tracing equipment for any research or academic center.
An issue of the existing literature is signaled in [38]: there are papers that do not offer information either about the measurement performance or about the equipment used, showing only the results. Moreover, as it is asserted in [7], most of the curve tracers found in the literature are complex and difficult to integrate in real scenarios.
Aiming at overcoming the aforesaid drawbacks and integrating the identified trends, this paper presents the development of a novel IoT open-source hardware and software I-V curve tracer to characterize PV generators. The RPi microcomputer composes the hardware level; concerning software, Python, MariaDB, and Grafana are applied for data acquisition, storage, and visualization. Open communication protocols, such as Modbus TCP, enable seamless data exchange with proprietary equipment. The program coded in Python is responsible for automating the curve tracing of the PV modules through the modification of the current demanded by an electronic programmable load. The developed system is oriented towards the I-V curve tracing for already existent functioning facilities that require diagnostics, analyses, and/or modeling. In such a situation, this curve tracer is coupled to the facility by means of open protocols and shares data without altering the installation.
For the sake of clarity, a table summarizing the aforementioned literature as well as the present proposal has been elaborated (Table 1). The considered categories are the following: Device, referred to as the equipment used to collect data from PV modules; Load, to indicate the type of load; Data storage means, to discriminate if local (within the Device) or remote accumulation is applied; Language, for a clear identification of the programming language used to gather data; and Communication, in order to specify the protocols for data sharing. In the cases where the information has not been found, Unspecified has been written.
In view of the previous table, it can be derived that the presented curve tracer is a novelty due to the fact that it is a unique proposal which combines open-source components (hardware and software) and open communication protocols, all being managed by the RPi. In other words, in most of the literature, an IoT open-source device is used to gather data from sensors and handle the load, data storage and visualization being performed by external equipment or services such as PCs or cloud servers. The present work is the only proposal where the RPi is responsible for automating all the tasks involved in the I-V tracing: load sweep, data acquisition, data storage, communications, and visualization in real-time.
Moreover, as can be observed in Table 1, some works do not report information about certain aspects such as the programming language or data storage means (software or hardware), as it has been previously indicated in [38]. Moreover, none of the surveyed references apply a programmable electronic load to perform the I-V tracing. Resistive, capacitive, or electronic loads (power MOSFET) are among the common methods [7], but they require designing specific electronic circuitry for the curve tracing process and only serve for such a purpose. On the contrary, programmable loads are commonly used in microgrids and PV facilities [4,20,39,40,41] to emulate the behavior of DC or AC loads in order to test control algorithms and energy management strategies under different load profiles. In this regard, the target groups of this paper are scientists and practitioners in the scope of PV-based microgrids and facilities involved in research and development (R&D) activities.
In addition, the validation of the proposal is performed with a medium-scale PV generator under real conditions, which constitutes a requirement to demonstrate the suitability of open-source technologies [4].
It must be remarked that the presented curve tracer is used to characterize and diagnose a PV generator integrated in a smart microgrid (SMG) which combines renewable sources with hydrogen. Such a facility is framed in an R&D project envisioned to develop a digital replica of the subsystems of the microgrid.
The main contributions of the work are now summarized:
  • Open-source hardware and software is applied for data storage and visualization. As a consequence, easy and low-cost deployment and replication are feasible;
  • Open communication protocols are used to provide a seamless data exchange;
  • The curve tracer can be coupled to an already existent PV generator and gather operational data;
  • Experimental results achieved on a medium-scale PV generator, not only for a laboratory scale, are reported to prove the suitability of the developed curve tracer;
  • Capability of configuration for facilities with a larger number of sensors to manage as well as different communication protocols;
  • Utilization of proprietary medium-scale programmable electronic load providing accurate and reliable measurements;
  • IoT-enabled remote monitoring of real-time data in the form of time-series;
  • Automated data acquisition under programmed conditions without requiring operator intervention.
The structure of the rest of the paper is as follows. The Section 2 describes the developed I-V curve tracer concerning hardware, software, and communications. Section 3 deals with the achieved results from a PV generator of 1100 W, whereas the associated discussion is carried out in Section 4. Finally, the main conclusions of the reported work and further research guidelines are addressed.

2. Developed I-V Curve Tracer

The developed curve tracer is solved by a software application made in Python and executed on an RPi, as well as a database and a data visualization interface. The version of the microcomputer is the RPi 3 model B+. As commented in the previous section, the proposed curve tracer is applied to an existing SMG equipped with an automation system based on a Programmable Logic Controller (PLC) model S7_1516, which is in charge of the energy management of the SMG. Figure 1 shows the interconnection of all the devices used in the I-V curve tracer. This figure shows the sensors involved (irradiance, voltage, current) together with the PLC, the RPi, and a programmable electronic load. The proposed platform takes advantage of an electronic programmable load model Prodigit 32612A (New Taipei City, Taiwan). This legacy device accepts communication through an RS232 interface in order to exchange commands and is used to configure the current profiles demanded by the photovoltaic panels.
The communications diagram of the deployed system can be seen in Figure 2. The RPi acts as a Grafana server, so the user/operator can visualize and download the data processed by the curve tracer through a web browser running on a computer or smartphone connected to the Internet. Namely, the Grafana software provides a user-friendly graphical user interface (GUI) for real-time access to numerical and graphical information about the measurements of the PV system during the tracing.
Among other elements, the RPi includes serial communication through universal serial bus (USB) ports, so a protocol converter from USB to RS232 has been required to establish communication between the load and the RPi.
Concerning sensors, Table 2 summarizes the magnitudes that are measured and the corresponding sensor. It must be noted that the required sensors could be connected to the RPi in a direct manner or through proper electronic boards. In this sense, the presented solution is applicable to already existing automation and monitoring systems or for new facilities without such systems. Using open protocols, such as Modbus TCP, enables easy communication given the widespread availability of this protocol in automation and energy-related equipment [28]. In addition, Modbus TCP has been pointed out as an industrial IoT communication protocol [42] and is supported by both open-source and proprietary equipment.
A block diagram with the functionalities associated with each component is illustrated in Figure 3. From a functional viewpoint, it is interesting to note that all the tasks required for the process of I-V curve tracing rely on the RPi. On the one hand, this microprocessor acquires data from the PLC and stores them in a database (mariaDB). Data backup is also handled by the RPi together with other system tasks. On the other hand, the programmable load is managed through Python commands. Lastly, the Grafana server is hosted to establish Internet-enabled data visualization in real-time.
Figure 4 shows the flow diagram of the algorithm that implements the I-V tracer. First of all, the irradiance existing at a given time is measured. It is verified whether the measured irradiance exceeds the preset threshold of 100 W/m2 to initiate the current profile generation and data acquisition processes. Once the minimum irradiance condition is met, a profile of the current demanded by the electronic load is created, which progressively increases from zero to the maximum possible current that the PV module(s) can deliver for the sensed irradiance. The maximum value is calculated based on the existing modules configuration and the irradiance at each moment. This ensures that the PV generator will not be required to provide currents that cannot be achieved for this irradiance value. In particular, the following equation has been used to determine the maximum current, Imax:
Imax = np × (0.0055 × G + 0.1),
where np is the number of paired modules, and G is the incident irradiance on the plane of the modules.
The following step consists of establishing communication via RS232 from the RPi to the programmable electronic load, so the current value corresponding to each instant is sent. Next, the RPi takes the sensor data obtained by the PLC through a Modbus TCP channel, as well as from the electronic load itself through the RS232 connection. After this, the retrieved data are stored in a mariaDB database specifically designed for this purpose (Figure 5). This process is carried out continuously for each PV module current until the maximum current set is reached.
In this way, all the necessary data for the characterization of the photovoltaic panels are acquired and stored. As a sample, Figure 6 shows the data taken for the characterization of the PV modules.
To achieve representative data, the irradiance should change as little as possible during the characterization. Each acquisition cycle can vary from 24 s, for an irradiance of 200 W/m2 and a single panel configuration (12 samples), to 320 s, considering an irradiance of 1000 W/m2 for the whole group of panels (320 samples), keeping the step sampling rate at 0.1 A. During these short intervals, irradiance is scarcely altered.
On the other hand, Figure 7 shows a screenshot of part of the Python code running to automate the labeled stages and, hence, the I-V curve tracing.
Aiming to illustrate the described sequence, the main code of Python concerning the load management is shown in Algorithm 1. To begin with, an instance for communication is created, specifying parameters such as port, transmission bit rate, parity bit, etc. After that, the connection is open, and the commands to determine the load current are sent. Namely, the load is activated, the operation mode is selected, and the current demanded to the PV module(s) is established. Moreover, the reached voltage and current values are retrieved. Finally, the connection is closed.
Algorithm 1 RS232 Communication through Python
1: while (inclirradiance_d>=G):
2:  ser = serial.Serial(
3:   port = ‘COM4’,
4:   baudrate = 9600,
5:   parity = serial.PARITY_NONE,
6:   stopbits = serial.STOPBITS_ONE,
7:   bytesize = serial.EIGHTBITS
8:  )
9:  ser.isOpen()
10:  ser.write(b”LOAD ON\r\n”)
11:…
12:   cadena = “LIN:A “+str(i/10)[0:5]+”;\r\n”
13:   ser.write(cadena.encode())
14:   ser.write(b”LIN:A?\r\n”)
15:   out = ser.readline()
16:   ser.write(b”MEAS:CURR?\r\n”)
17:   out1 = ser.readline()
18:   ser.write(b”MEAS:VOLT?\r\n”)
19:   out2 = ser.readline()
20:…
21:  ser.close()

3. Results

In this section, the experimental results of applying the I-V curve tracer are reported to demonstrate its successful operation. Namely, a PV generator hybridized with hydrogen in a stand-alone SMG, placed at the University of Extremadura (Spain), is fully characterized.

3.1. Experimental Setup

The PV generator (Figure 8) consists of six monocrystalline modules, each one with maximum output of 185 W, providing a total power of 1110 W. These modules have a fixed inclination angle, the irradiance measured being in the same plane. The main parameters of the PV modules are listed in Table 3. Note that electric characteristics are given for STC by the manufacturer.
The curve tracer is coupled to the PLC and the load of the SMG in the laboratory as can be observed in Figure 9a. Note that an Ethernet switch allows data exchange between the RPi and the PLC. The programmable load can be seen in Figure 9b, also placed in the laboratory setup. On the other hand, the block diagram of the SMG is depicted in Figure 10. As can be observed, the PV array is linked to a DC voltage bus through a solar charger. A battery acts as electrochemical energy storage whilst the programmable load conducts the energy consumer role. Regarding hydrogen generation and consumption, an electrolyzer (EL) produces hydrogen, harnessing the surplus of PV energy, and a fuel cell (FC) performs the opposite process, converting hydrogen into electricity when there is no renewable energy availability. A more detailed description of the SMG components can be found in [4,28].

3.2. Data Visualization

The measurement process was carried out during different days due to the variability of weather conditions (cloudy and rainy days, etc.). More than 194,000 samples were recorded during the whole measurement campaign. The stored data are represented through the GUI created in Grafana, which displays the involved magnitudes in the form of time-series.
As a proof of the visualization capabilities, Figure 11 depicts the aspect of the GUI showing the measurements during a day of the PV generator characterization, in particular, 16 March 2021 from 8:00 to 19:00. The typical curve of solar irradiance along the day can be appreciated in the lower graph, reaching a maximum value of 1031.48 W/m2 at 13:17. During this day, the procedure begins at 8:18 once the irradiance threshold of 100 W/m2 is exceeded and lasts until 18:47. The top chart represents the current delivered by the PV generator, which fluctuates according to the management performed by the Python program of the curve tracer.
Figure 12 contains a detailed view of the GUI during the same day for a better observation of the magnitude evolution. In the top graph, it can be seen that the current delivered by the PV generator (blue color) and the load current (red color) are coincident and both exhibit a saw tooth-shaped evolution, coherent with the implemented algorithm. The sensed irradiance during the viewed interval is 1027 W/m2.
In order to verify the capabilities of the curve tracer, the computational resources of the RPi are also monitored by means of Grafana. To this aim, the GUI includes a dashboard based on Telegraf [43] to visualize the central processing unit (CPU) temperature and load, memory usage, and network statistics. Figure 13 shows this dashboard during the characterization experiments on the same day shown in the previous figures. There are some relevant aspects to discuss in this sense. The usage of CPU is observable in the graph placed in the top left position, and its nominal value is around 4%. There are certain intervals during which the usage rises up to 17% for the system (yellow color) and up to 54% for the user (green color), respectively. These increments are due to Grafana operations, e.g., access for online monitoring and requests to the database. Another parameter is the memory usage (graph in the low and left part) where less than 1 GB is used (yellow line) and around 1 GB is cached (blue line), leaving 2 GB free (orange line), showing a stable behavior. Concerning the CPU temperature, it has a stable value around 35 °C, being an appropriate level to avoid overheating issues.

3.3. I-V Curves of PV Generator

To achieve a proper validation, I-V curves have been obtained under real operating conditions for the PV generator. In addition, three configurations of the modules have been applied: a single module, a pair of modules connected in series, and the whole generator, consisting of the parallel connection of three pairs.
For the curve tracing, it has been required to select the data for the different irradiances close to the values commonly provided by manufacturers and reported in the literature, namely 200 W/m2, 400 W/m2, 600 W/m2, 800 W/m2, and 1000 W/m2. Due to the short duration of the data acquisition intervals, the initial and final values of irradiance are averaged. Table 4 shows the measurements of the incident irradiance and the temperature of the modules during the characterization campaign for each one of the described electrical configurations. Moreover, electrical parameters of the generator can be measured in the I-V curves, such as short circuit current, open-circuit voltage, fill factor, etc.; hence, in Table 4, such parameters are also included.
Figure 14 shows the I-V curves obtained for a single module. The shape and trend of the curves correspond to those expected, matching the information provided by the manufacturer. As can be observed, the open circuit voltage (Voc) decreases whilst the irradiation increases. This effect is due to the associated temperature increase, which causes the curves to move to the left. In particular, the open circuit voltage strongly depends on temperature, while its dependence on irradiance has a modest effect [17]. This relationship can be expressed through Equation (2) [17]:
Voc(T) = Voc,STC + µVoc (T − TSTC),
where Voc,STC is the open circuit voltage for STC, TSTC corresponds to the STC temperature, and µVoc is the voltage temperature coefficient, found in the PV module datasheet. For the LDK Solar 185D-24S, such a coefficient has a value of −0.34%/°C, so it is easy to check that temperature increments give place to decrements of Voc.
In a similar sense, the power-voltage (P-V) curve can also be plotted from the acquired data; for instance, Figure 15 shows such a curve for the single PV module. Valuable information such as the maximum power point values (power, current, and voltage) for sensed irradiances can be studied through these curves.
The maximum power produced (165 W) by the module is lower than that reported by the manufacturer (185 W) given the fact that the existing conditions differ from the STC. Moreover, the degradation of the module also contributes to reducing the peak power that can be delivered.
Following the validation procedure reported in [23,33,34,36,37], the experimental measurements are reproduced by means of a simulator of PV modules based on the SDM. This model is based on the equivalent circuit and is the most widely used method to provide an estimation of the current generated by a PV cell. The circuit consists of a single diode connected in parallel with a photo-generated current source (IPH), a series resistance (RS) to represent voltage drops and internal losses, and a shunt resistance (RSH) to take into account the leakage currents. Equation (3) describes the model for a module of NS cells in series:
I = I P H I o [ e x p ( V + I R S n N S V T H ) 1 ] V + I R S R S H
where Io is the saturation current of the diode, V is the output voltage, and VTH is the thermal equivalent voltage. The last variable is given in terms of the electron charge, q; the Boltzmann constant, K; the cell temperature, T; and the diode ideality factor, n, according to Equation (4):
VTH = KT/q,
The I-V curve experimentally measured with the curve tracer at an irradiance of 1019 W/m2 and temperature of 45.1 °C is plotted in Figure 16 (black color) together with the curve provided by the SDM simulator (orange color). As can be observed, the curves show the same trend with very scarce differences. Namely, the ideality factor of the SDM explains the difference appreciated in the knee of the curve [36].
For a better appreciation, the difference between the currents (simulated and measured) can be used to illustrate the achieved fitting [44,45]. In this regard, Figure 17 shows the difference of currents for the characterized module versus the voltage at the reported irradiance levels. The errors are small, reaching a maximum value of 0.21 A for 870 W/m2. In Figure 14 and Figure 17, it can be seen that the maximum values of these differences are located in a reduced range between the maximum power point (voltage higher than 29 V) and the Voc. These results exhibit proper agreement with the well-known SDM.
The traced I-V curves for a pair of modules connected in series are depicted in Figure 18. The shape observed in the traced curves allows diagnosing or detecting diverse effects in the PV modules, as pointed out in previous works [7,36]. In this case, the curves show a certain alteration in the inflection point and slopes, which indicate the degradation of one of the modules. Therefore, these curves serve for fault detection and diagnostics; namely, aging effects, cell cracking, hot spots, potential induced degradation, and other deterioration situations can be detected. In fact, the modules have been working for 10 years, so aging effects can be expected. Nonetheless, in-depth diagnosis and fault analyses are out of the scope of this paper. On the other hand, Figure 19 contains the traced P-V curves for the pair of modules.
Finally, the I-V curves captured for the whole PV generator are shown in Figure 20. The corresponding P-V curves are depicted in Figure 21. As in the previous figures, the curves display the expected operation of the generator and can be applied for diagnostics purposes.

4. Discussion

Experimental results provide I-V curves for different electrical configurations and environmental conditions, emphasizing the suitability of the designed curve tracer.
The main strength is that the developed system is not limited to data acquisition of PV modules for I-V curves, but data recording and visualization in real-time during the characterization are also entirely approached. Indeed, once the desired conditions are programmed, the fully autonomous operation of the curve tracer is achieved without requiring the intervention of the operator.
The deployed curve tracer consists of the RPi and the associated software, whilst a PLC and a programmable load of an experimental SMG are used to validate the operation of such curve tracer.
The computational capabilities of the microprocessor are proven to be adequate to resolve for data acquisition, storage, and visualization. It must be emphasized that none of the previous literature provides information in this regard.
Using an in-house database (mariaDB) and a web-enabled user interface (Grafana) avoids dependencies on external servers and the associated hosting or licensing costs. Hosting on one’s own databases even implies a total control of administration aspects [4].
As a proof of concept, in the reported application case, Modbus TCP and RS232 have been used. However, the curve tracer can manage virtually any communication protocol given the wide availability of libraries on the Internet. Furthermore, this ability to support many other protocols provides features such as configurability and modularity, facilitating interoperability [46].
In particular, the use of open communication protocols such as Modbus TCP together with the ability of the open-source equipment allows for the establishment of seamless data exchange. This way, proprietary equipment (PLC) is combined with the curve tracer without interoperability issues. In fact, logical connections through communication protocols enable measurement information sharing and facilitate integration in real scenarios, which constitutes a disadvantage in most of the curve tracers in the literature [5]. In this regard, the deployed system is focused on PV facilities already existent, so the coupling is made through the aforementioned open protocol. The curve tracer even makes use of already existing sensors, which is a benefit since the PV generator can be re-characterized when required without essential alterations in the electrical and communications schemes.
Instead of using a variable resistor, capacitive load, or a power MOSFET, the proposal employs a real electronic programmable load to perform the I-V tracing. In addition, the used load is legacy equipment which does not support modern communication interfaces, so being able to manage such valuable equipment is an important advantage. In fact, IoT technologies must contribute to solve compatibility and interoperability issues with legacy devices [47,48].
Regarding economic assessments, the cost of the curve tracer is very low given the inexpensive nature of the IoT open-source equipment, which constitutes an advantage of scientific equipment based on this type of technology [49]. Namely, taking into account that all the software is free (Python, mariaDB, Grafana), only the RPi involves expenses; the overall cost is around EUR 70. Auxiliary elements such as a memory card, heatsink and fan for cooling, and power adapter are also included.
Analyses of the retrieved I-V curves allow decision making with respect to operation and maintenance of the PV modules as well as implementing accurate models. Moreover, further experiments will include partial shading of the PV modules in order to obtain and analyze the measured I-V curves.
Thanks to the flexibility and availability of open-source equipment, the system can be customized to fulfill particular requirements in research or academic contexts. The RPi provides a large number of analogue and digital inputs, allowing the connection of additional sensors or instruments. Indeed, advances in IoT technology, both hardware and software, can be integrated in the presented system.
Despite the obtained results, the presented system has some limitations which are now briefly described. To begin with, managing open-source technology does not imply ease of configuration when advanced functions are required. For example, programming skills and a certain expertise in communication protocols and networks are needed. In addition, the proposal does not allow online measurements of the PV modules; it is only devoted to offline characterization. For a proper data exchange, it is necessary that the automation unit (PLC or similar device) and the programmable load provide communication interfaces that the RPi can handle. It is not a probable boundary in modern devices, but for legacy equipment, it must be carefully tackled. Finally, the representation of the I-V curves requires manual data extraction from the files that Grafana stores and provides. This can be a time-consuming task when a large number of measurements have been conducted.

5. Conclusions

RES are key enablers for the evolution towards a more sustainable energetic global scenario, PV technology being one of the most applied RES in microgrids. In order to characterize and study the behavior of PV modules, an I-V curve tracer based on IoT open-source technologies has been presented. Namely, software such as Python, MariaDB, and Grafana run on an RPi are responsible for automating all the required tasks: load sweep, data acquisition, data storage, communications, and visualization in real-time. An open communication protocol (Modbus TCP) has been applied to exchange information with a PLC, whilst an RS232 allows for managing a legacy programmable load. Both proprietary devices belong to a research-oriented microgrid facility and serve as proof of concept to prove the suitability of the curve tracer.
It must be emphasized that this development is a novelty in the existing literature, addresses trends, and overcomes limitations identified in previous works, among which short-time measurements, low-cost measurement systems, low-cost communications, and IoT open-source technology can be highlighted.
Experimental results under real operating conditions are used to validate the proposal. Namely, a PV generator of 1110 W integrated into an SMG is characterized by means of the developed curve tracer.
Future research includes diagnostics and fault detection of the PV modules. Furthermore, another interesting topic deals with the development of an on-line characterization procedure using the presented system.

Author Contributions

Conceptualization, J.M.P., I.G. and A.J.C.; Methodology, I.G. and A.J.C.; Validation, J.M.P. and A.J.C.; Investigation, I.G. and A.J.C.; Data Curation, J.M.P. and A.J.C.; Writing—Original Draft Preparation, J.M.P. and I.G.; Writing—Review and Editing, I.G. and A.J.C.; Supervision, A.J.C. All authors have read and agreed to the published version of the manuscript.

Funding

This project was co-financed by European Regional Development Funds FEDER and by the Junta de Extremadura (IB18041).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CPUCentral Processing Unit
DSPDigital Signal Processor
ELElectrolyzer
FCFuel cell
FTPFile Transfer Protocol
GUIGraphical User Interface
I-VCurrent-Voltage
IoTInternet of Things
MQTTMessage Queue Telemetry Transport
OTFOutdoor Test Facility
P-VPower-Voltage
PCPersonal Computer
PLCProgrammable Logic Controller
PVPhotovoltaic
R&DResearch and Development
RESRenewable Energy Sources
RPiRaspberry Pi
SMGSmart MicroGrid
STCStandard Test Conditions
TCP/IPTransmission Control Protocol/Internet Protocol
USARTUniversal Synchronous Asynchronous Receiver Transmitter
USBUniversal Serial Bus

References

  1. Gimeno-Sales, F.J.; Orts-Grau, S.; Escribá-Aparisi, A.; González-Altozano, P.; Balbastre-Peralta, I.; Martínez-Márquez, C.I.; Gasque, M.; Seguí-Chilet, S. PV Monitoring System for a Water Pumping Scheme with a Lithium-Ion Battery Using Free Open-Source Software and IoT Technologies. Sustainability 2020, 12, 10651. [Google Scholar] [CrossRef]
  2. Ansari, S.; Ayob, A.; Lipu, M.S.H.; Saad, M.H.M.; Hussain, A. A Review of Monitoring Technologies for Solar PV Systems Using Data Processing Modules and Transmission Protocols: Progress, Challenges and Prospects. Sustainability 2021, 13, 8120. [Google Scholar] [CrossRef]
  3. Gielen, D.; Boshell, F.; Saygin, D.; Bazilian, M.D.; Wagner, N.; Gorini, R. The role of renewable energy in the global energy transformation. Energy Strateg. Rev. 2019, 24, 38–50. [Google Scholar] [CrossRef]
  4. Portalo, J.M.; González, I.; Calderón, A.J. Monitoring System for Tracking a PV Generator in an Experimental Smart Microgrid: An Open-Source Solution. Sustainability 2021, 13, 8182. [Google Scholar] [CrossRef]
  5. Dupont, I.M.; Carvalho, P.C.M.; Jucá, S.C.S.; Neto, J.S.P. Novel methodology for detecting non-ideal operating conditions for grid-connected photovoltaic plants using Internet of Things architecture. Energy Convers. Manag. 2019, 200, 112078. [Google Scholar] [CrossRef]
  6. Vega, A.; Valiño, V.; Conde, E.; Ramos, A.; Reina, P. Double sweep tracer for I-V curves characterization and continuous monitoring of photovoltaic facilities. Sol. Energy 2019, 190, 622–629. [Google Scholar] [CrossRef]
  7. Morales-Aragonés, J.I.; Dávila-Sacoto, M.; González, L.G.; Alonso-Gómez, V.; Gallardo-Saavedra, S.; Hernández-Callejo, L. A Review of I–V Tracers for Photovoltaic Modules: Topologies and Challenges. Electronics 2021, 10, 1283. [Google Scholar] [CrossRef]
  8. Melo, G.C.G.D.; Torres, I.C.; Araújo, Í.B.Q.D.; Brito, D.B.; Barboza, E.D.A. A Low-Cost IoT System for Real-Time Monitoring of Climatic Variables and Photovoltaic Generation for Smart Grid Application. Sensors 2021, 21, 3293. [Google Scholar] [CrossRef]
  9. Quansah, D.A.; Adaramola, M.S.; Takyi, G.; Edwin, I.A. Reliability and Degradation of Solar PV Modules—Case Study of 19-Year-Old Polycrystalline Modules in Ghana. Technologies 2017, 5, 22. [Google Scholar] [CrossRef] [Green Version]
  10. Papageorgas, P.; Piromalis, D.; Valavanis, T.; Kambasis, S.; Iliopoulou, T.; Vokas, G. A low-cost and fast PV I-V curve tracer based on an open source platform with M2M communication capabilities for preventive monitoring. Energy Procedia 2015, 74, 423–438. [Google Scholar] [CrossRef] [Green Version]
  11. Zhu, Y.; Xiao, W. A comprehensive review of topologies for photovoltaic I–V curve tracer. Sol. Energy 2020, 196, 346–357. [Google Scholar] [CrossRef]
  12. Ortega, E.; Aranguren, G.; Jimeno, J.C. New monitoring method to characterize individual modules in large photovoltaic systems. Sol. Energy 2019, 193, 906–914. [Google Scholar] [CrossRef]
  13. Toledo, C.; Serrano-Lujan, L.; Abad, J.; Lampitelli, A.; Urbina, A. Measurement of Thermal and Electrical Parameters in Photovoltaic Systems for Predictive and Cross-Correlated Monitorization. Energies 2019, 12, 668. [Google Scholar] [CrossRef] [Green Version]
  14. Sarikh, S.; Raoufi, M.; Bennouna, A.; Ikken, B. Characteristic curve diagnosis based on fuzzy classification for a reliable photovoltaic fault monitoring. Sustain. Energy Technol. Assess. 2021, 43, 100958. [Google Scholar] [CrossRef]
  15. Morales-Aragonés, J.I.; Gallardo-Saavedra, S.; Alonso-Gómez, V.; Sánchez-Pacheco, F.J.; González, M.A.; Martínez, O.; Muñoz-García, M.A.; Alonso-García, M.d.C.; Hernández-Callejo, L. Low-Cost Electronics for Online I-V Tracing at Photovoltaic Module Level: Development of Two Strategies and Comparison between Them. Electronics 2021, 10, 671. [Google Scholar] [CrossRef]
  16. Mellit, A.; Kalogirou, S. Artificial intelligence and internet of things to improve efficacy of diagnosis and remote sensing of solar photovoltaic systems: Challenges, recommendations and future directions. Renew. Sustain. Energy Rev. 2021, 143, 110889. [Google Scholar] [CrossRef]
  17. Anani, N.; Ibrahim, H. Adjusting the Single-Diode Model Parameters of a Photovoltaic Module with Irradiance and Temperature. Energies 2020, 13, 3226. [Google Scholar] [CrossRef]
  18. Web of Commercial Curve Tracer of Manufacturer Atecorp. Available online: https://www.atecorp.com/products/tritec/tri-ka-iv (accessed on 15 September 2021).
  19. Web of Commercial Curve Tracer of Manufacturer LabX. Available online: https://www.labx.com/item/daystar-energy-engineering-ds-100c-photovoltaic-iv/LV41115631 (accessed on 16 September 2021).
  20. Web of Commercial Curve Tracer of Manufacturer Ht-Instruments. Available online: https://www.ht-instruments.com/es-es/productos/instrumentacion-fotovoltaica/medidores-curva-i-v/i-v500w/ (accessed on 17 September 2021).
  21. Montes-Romero, J.; Piliougine, M.; Muñoz, J.V.; Fernández, E.F.; De la Casa, J. Photovoltaic Device Performance Evaluation Using an Open-Hardware System and Standard Calibrated Laboratory Instruments. Energies 2017, 10, 1869. [Google Scholar] [CrossRef] [Green Version]
  22. Chen, Z.; Lin, W.; Wu, L.; Long, C.; Lin, P.; Cheng, S. A capacitor based fast I-V characteristics tester for photovoltaic arrays. Energy Procedia 2017, 145, 381–387. [Google Scholar] [CrossRef]
  23. Chen, Z.; Lin, Y.; Wu, L.; Cheng, S.; Lin, P. Development of a capacitor charging based quick I-V curve tracer with automatic parameter extraction for photovoltaic arrays. Energy Convers. Manag. 2020, 226, 113521. [Google Scholar] [CrossRef]
  24. Cáceres, M.; Firman, A.; Montes-Romero, J.; González Mayans, A.R.; Vera, L.H.; Fernández, F.E.; de la Casa Higueras, J. Low-Cost I–V Tracer for PV Modules under Real Operating Conditions. Energies 2020, 13, 4320. [Google Scholar] [CrossRef]
  25. González, I.; Calderón, A.J. Integration of open source hardware Arduino platform in automation systems applied to Smart Grids/Micro-Grids. Sustain. Energy Technol. Assess. 2019, 36, 100557. [Google Scholar] [CrossRef]
  26. Fuentes, M.; Vivar, M.; Burgos, J.M.; Aguilera, J.; Vacas, J.A. Design of an accurate, low-cost autonomous data logger for PV system monitoring using Arduino™ that complies with IEC standards. Sol. Energy Mater. Sol. Cells 2014, 130, 529–543. [Google Scholar] [CrossRef]
  27. Vargas-Salgado, C.; Aguila-Leon, J.; Chiñas-Palacios, C.; Hurtado-Pérez, E. Low-cost web-based Supervisory Control and Data Acquisition system for a microgrid testbed: A case study in design and implementation for academic and research applications. Heliyon 2019, 5, e02474. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  28. González, I.; Calderón, A.J.; Portalo, J.M. Innovative Multi-Layered Architecture for Heterogeneous Automation and Monitoring Systems: Application Case of a Photovoltaic Smart Microgrid. Sustainability 2021, 13, 2234. [Google Scholar] [CrossRef]
  29. Paredes-Parra, J.M.; Mateo-Aroca, A.; Silvente-Niñirola, G.; Bueso, M.C.; Molina-García, Á. PV module monitoring system based on low-cost solutions: Wireless raspberry application and assessment. Energies 2018, 11, 3051. [Google Scholar] [CrossRef] [Green Version]
  30. Pereira, R.I.S.; Dupont, I.M.; Carvalho, P.C.M.; Jucá, S.C.S. IoT embedded linux system based on Raspberry Pi applied to real-time cloud monitoring of a decentralized photovoltaic plant. Measurement 2018, 114, 286–297. [Google Scholar] [CrossRef]
  31. IV Swinger Documentation. Available online: https://github.com/csatt/IV_Swinger (accessed on 18 September 2021).
  32. Willoughby, A.A.; Osinowo, M.O. Development of an electronic load I-V curve tracer to investigate the impact of Harmattan aerosol loading on PV module pern2tkformance in southwest Nigeria. Sol. Energy 2018, 166, 171–180. [Google Scholar] [CrossRef]
  33. Amiry, H.; Benhmida, M.; Bendaoud, R.; Hajjaj, C.; Bounouar, S.; Yadir, S.; Rais, K.; Sidki, M. Design and implementation of a photovoltaic I-V curve tracer: Solar modules characterization under real operating conditions. Energy Convers. Manag. 2018, 169, 206–216. [Google Scholar] [CrossRef]
  34. Pachauri, R.K.; Mahela, O.P.; Khan, B.; Kumar, A.; Agarwal, S.; Alhelou, H.H.; Bai, J. Development of arduino assisted data acquisition system for solar photovoltaic array characterization under partial shading conditions. Comput. Electr. Eng. 2021, 92, 107175. [Google Scholar] [CrossRef]
  35. Shapsough, S.; Takrouri, M.; Dhaouadi, R.; Zualkernan, I. An IoT-based remote IV tracing system for analysis of city-wide solar power facilities. Sustain. Cities Soc. 2020, 57, 102041. [Google Scholar] [CrossRef]
  36. Sarikh, S.; Raoufi, M.; Bennouna, A.; Benlarabi, A.; Ikken, B. Implementation of a plug and play I-V curve tracer dedicated to characterization and diagnosis of PV modules under real operating conditions. Energy Convers. Manag. 2020, 209, 112613. [Google Scholar] [CrossRef]
  37. Sayyad, J.; Nasikkar, P.; Singh, A.P.; Ozana, S. Capacitive Load-Based Smart OTF for High Power Rated SPV Module. Energies 2021, 14, 788. [Google Scholar] [CrossRef]
  38. Cotfas, P.A.; Cotfas, D.T. Comprehensive Review of Methods and Instruments for Photovoltaic–Thermoelectric Generator Hybrid System Characterization. Energies 2020, 13, 6045. [Google Scholar] [CrossRef]
  39. Torres-Moreno, J.L.; Gimenez-Fernandez, A.; Perez-Garcia, M.; Rodriguez, F. Energy Management Strategy for Micro-Grids with PV-Battery Systems and Electric Vehicles. Energies 2018, 11, 522. [Google Scholar] [CrossRef] [Green Version]
  40. Elkazaz, M.; Sumner, M.; Pholboon, S.; Davies, R.; Thomas, D. Performance Assessment of an Energy Management System for a Home Microgrid with PV Generation. Energies 2020, 13, 3436. [Google Scholar] [CrossRef]
  41. Yerasimou, Y.; Kynigos, M.; Efthymiou, V.; Georghiou, G.E. Design of a Smart Nanogrid for Increasing Energy Efficiency of Buildings. Energies 2021, 14, 3683. [Google Scholar] [CrossRef]
  42. Jaloudi, S. Communication Protocols of an Industrial Internet of Things Environment: A Comparative Study. Future Internet 2019, 11, 66. [Google Scholar] [CrossRef] [Green Version]
  43. Grafana Dashboard for Monitoring System Metrics Based on Telegraf. Available online: https://grafana.com/grafana/dashboards/928 (accessed on 20 September 2021).
  44. Pindado, S.; Cubas, J.; Roibás-Millán, E.; Bugallo-Siegel, F.; Sorribes-Palmer, F. Assessment of Explicit Models for Different Photovoltaic Technologies. Energies 2018, 11, 1353. [Google Scholar] [CrossRef] [Green Version]
  45. Álvarez, J.M.; Alfonso-Corcuera, D.; Roibás-Millán, E.; Cubas, J.; Cubero-Estalrrich, J.; Gonzalez-Estrada, A.; Jado-Puente, R.; Sanabria-Pinzón, M.; Pindado, S. Analytical Modeling of Current-Voltage Photovoltaic Performance: An Easy Approach to Solar Panel Behavior. Appl. Sci. 2021, 11, 4250. [Google Scholar] [CrossRef]
  46. Hosseinzadeh, N.; Al Maashri, A.; Tarhuni, N.; Elhaffar, A.; Al-Hinai, A. A Real-Time Monitoring Platform for Distributed Energy Resources in a Microgrid—Pilot Study in Oman. Electronics 2021, 10, 1803. [Google Scholar] [CrossRef]
  47. Akerman, M.; Fast-Berglund, A.; Ekered, S. Interoperability for a dynamic assembly system. Procedia CIRP 2016, 44, 407–411. [Google Scholar] [CrossRef] [Green Version]
  48. Nițulescu, I.-V.; Korodi, A. Supervisory Control and Data Acquisition Approach in Node-RED: Application and Discussions. IoT 2020, 1, 76–91. [Google Scholar] [CrossRef]
  49. Pearce, J.M. Economic savings for scientific free and open source technology: A review. HardwareX 2020, 8, e00139. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Interconnection of the I-V curve tracer components together with equipment of the existing microgrid.
Figure 1. Interconnection of the I-V curve tracer components together with equipment of the existing microgrid.
Sensors 21 07650 g001
Figure 2. Communications diagram of the I-V curve tracer.
Figure 2. Communications diagram of the I-V curve tracer.
Sensors 21 07650 g002
Figure 3. Functionalities implemented by the curve tracer.
Figure 3. Functionalities implemented by the curve tracer.
Sensors 21 07650 g003
Figure 4. Flowchart of operations performed by the curve tracer.
Figure 4. Flowchart of operations performed by the curve tracer.
Sensors 21 07650 g004
Figure 5. Database created with mariaDB for characterization of PV modules.
Figure 5. Database created with mariaDB for characterization of PV modules.
Sensors 21 07650 g005
Figure 6. Data taken during characterization of PV modules.
Figure 6. Data taken during characterization of PV modules.
Sensors 21 07650 g006
Figure 7. Python code for I-V curve tracing.
Figure 7. Python code for I-V curve tracing.
Sensors 21 07650 g007
Figure 8. PV generator for experimentation.
Figure 8. PV generator for experimentation.
Sensors 21 07650 g008
Figure 9. Setup in laboratory: (a) detailed view of curve tracer; (b) entire view including the programmable load.
Figure 9. Setup in laboratory: (a) detailed view of curve tracer; (b) entire view including the programmable load.
Sensors 21 07650 g009
Figure 10. Block diagram of SMG where the PV modules are installed.
Figure 10. Block diagram of SMG where the PV modules are installed.
Sensors 21 07650 g010
Figure 11. Grafana GUI displaying time-series of PV current and irradiance during a day of characterization.
Figure 11. Grafana GUI displaying time-series of PV current and irradiance during a day of characterization.
Sensors 21 07650 g011
Figure 12. Detailed view of Grafana GUI to observe PV current and irradiance during characterization.
Figure 12. Detailed view of Grafana GUI to observe PV current and irradiance during characterization.
Sensors 21 07650 g012
Figure 13. Dashboard devoted to monitoring the resources of RPi during experiments.
Figure 13. Dashboard devoted to monitoring the resources of RPi during experiments.
Sensors 21 07650 g013
Figure 14. I-V curves for a single PV module.
Figure 14. I-V curves for a single PV module.
Sensors 21 07650 g014
Figure 15. P-V curves for a single PV module.
Figure 15. P-V curves for a single PV module.
Sensors 21 07650 g015
Figure 16. Experimental and simulated I-V curves for a single PV module at 871 W/m2.
Figure 16. Experimental and simulated I-V curves for a single PV module at 871 W/m2.
Sensors 21 07650 g016
Figure 17. Difference of measured and simulated currents for the single PV module.
Figure 17. Difference of measured and simulated currents for the single PV module.
Sensors 21 07650 g017
Figure 18. I-V curves for two PV modules connected in series.
Figure 18. I-V curves for two PV modules connected in series.
Sensors 21 07650 g018
Figure 19. P-V curves of a pair of PV modules.
Figure 19. P-V curves of a pair of PV modules.
Sensors 21 07650 g019
Figure 20. I-V curves of PV generator.
Figure 20. I-V curves of PV generator.
Sensors 21 07650 g020
Figure 21. P-V curves of PV generator.
Figure 21. P-V curves of PV generator.
Sensors 21 07650 g021
Table 1. Table comparative of previous literature dealing with custom-made curve tracers.
Table 1. Table comparative of previous literature dealing with custom-made curve tracers.
ReferencesDeviceLoadData StorageLanguageCommunication
[6]PICMOSFETExternal (PC or smart device)UnspecifiedBluetooth/USB
[10]MicrocontrollerMOSFETLocal database (NoSQL)UnspecifiedMQTT
[12]PICCapacitiveUnspecifiedUnspecifiedPower line communication
[15]MicrocontrollerMOSFETLocal memoryUnspecifiedUSART/Bluetooth
[22,23]DSPCapacitiveExternal (PC)UnspecifiedSerial
[24]MicrocontrollerCapacitiveUnspecifiedUnspecifiedUnspecified
[21]ArduinoCapacitiveExternal (PC)Arduino sketchUSB
[32]ArduinoMOSFETExternal (datalogger)Arduino sketchNo
[33]ArduinoMOSFETExternal (PC)Arduino sketchUSB
[34]ArduinoResistiveLocal SD cardArduino sketchUSB
[35]RPiCapacitiveExternal cloud serverUnspecifiedMQTT
[36]RPiMOSFETFTP server or local SD cardPythonEthernet
[37]RPiCapacitiveUnspecifiedPythonEthernet/Wi-Fi
Present workRPiProgrammable electronic loadLocal database (mariaDB)PythonModbus TCP
Table 2. Magnitudes and sensors used in the curve tracer.
Table 2. Magnitudes and sensors used in the curve tracer.
MagnitudeSensor
CurrentHall-effect sensor
VoltagePotentiometric voltage divider
IrradiancePyranometer
TemperaturePt-100
Table 3. Main parameters of PV modules.
Table 3. Main parameters of PV modules.
ParameterValue
ModelLDK Solar 185D-24S
Maximum power (Pmax)185 W
Voltage at max power (Vmp)36.9 V
Current at max power (Imp)5.02 A
Open circuit voltage (Voc)45.1 V
Short-circuit current (Isc)5.48 A
Nominal voltage24 V
Number of solar cells72
Cell efficiency17.77%
Module efficiency14.49%
Table 4. Irradiance, temperature, and electrical parameters measured during characterization for different configurations of the PV modules.
Table 4. Irradiance, temperature, and electrical parameters measured during characterization for different configurations of the PV modules.
ConfigurationG (W/m2)T (°C)Voc (V)Isc (A)Vmp (V)Imp (A)Pmax (W)
Single module19511.4642.230.8437.380.7427.07
40119.7042.491.9135.501.7963.72
60326.0642.393.1234.752.8398.41
87141.3941.015.1729.084.78139.03
101945.140.936.2029.205.68165.89
Two modules in series198.346.4485.490.8677.550.7457.23
396.5914.7185.711.9274.871.74130.66
608.4528.7583.913.4669.443.10215.27
799.6339.0582.575.0764.504.42283.80
1001.6850.9680.077.0558.026.45374.11
Whole PV generator190.1811.4680.652.6367.692.46166.59
389.9419.7084.176.1869.575.82404.89
603.6826.0682.899.3566.748.96597.85
776.2941.3981.8412.4564.0611.83757.94
878.3045.180.8213.8162.1213.16820.19
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

González, I.; Portalo, J.M.; Calderón, A.J. Configurable IoT Open-Source Hardware and Software I-V Curve Tracer for Photovoltaic Generators. Sensors 2021, 21, 7650. https://doi.org/10.3390/s21227650

AMA Style

González I, Portalo JM, Calderón AJ. Configurable IoT Open-Source Hardware and Software I-V Curve Tracer for Photovoltaic Generators. Sensors. 2021; 21(22):7650. https://doi.org/10.3390/s21227650

Chicago/Turabian Style

González, Isaías, José María Portalo, and Antonio José Calderón. 2021. "Configurable IoT Open-Source Hardware and Software I-V Curve Tracer for Photovoltaic Generators" Sensors 21, no. 22: 7650. https://doi.org/10.3390/s21227650

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop