Professional Documents
Culture Documents
Pontificia Universidad Católica del Perú, Av. Universitaria 1801, Lima 32, Peru
3IDEA Research Group, Electronics and Automation Engineering Department,
*Correspondence: japalominot@pucp.edu.pe
Abstract. The rapid development of renewable energy sources, such as photovoltaic solar
energy, makes it possible to sustainably cover part of the energy demand in different parts of the
world. Thus, higher efficiency of photovoltaic systems is sought to provide higher yields,
security, and stability in their operation and energy production. Therefore, it is crucial to monitor
the variables of interest and verify the correct operation of photovoltaic systems. This article
presents the development of a monitoring system that allows the acquisition and recording of the
main electrical parameters, both in direct and alternating current, enabling the evaluation of the
array and final yield of grid-connected photovoltaic systems. The developed monitoring system
follows the concept of the Internet of Things for remote data analysis. In addition, it allows local
data logging in a computer for data acquisition over a long period. The measurements of the
developed monitoring system comply with the International Electrotechnical Commission
standards specified in IEC 61724-1. This validation is performed after contrasting the
measurements obtained by the developed system with those obtained by the high-precision
WT5000 power analyzer, where the relative differences of each electrical parameter analysed
are less than 2%. Finally, the system developed is characterised by its low cost, which is less
than US$ 140.
1. Introduction
It is a fact that the economy is driven by energy. That is why the energy sector is an essential pillar in
the economic development of a country. In this sense, the abundance and availability of low-priced
energy support the economy of countries, aiming to achieve greater economic growth and improved
productivity [1]. Electricity is the most demanded form of energy [2], which has become an essential
service for developing the various activities people perform in their daily tasks [3]. However, the current
structure of electric power generation is not entirely sustainable since it is based on the burning of fossil
fuels [4], which emit greenhouse gases in an uncontrolled manner. In the face of this, renewable energy
sources stand out as the energy forms that can avoid the accelerated pace of this future threat, particularly
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
Peruvian Workshop on Solar Energy 2022 (JOPES 2022) IOP Publishing
Journal of Physics: Conference Series 2538 (2023) 012004 doi:10.1088/1742-6596/2538/1/012004
solar photovoltaic energy, whose capacity is projected to surpass that of coal by 2027, becoming the
largest in the world [5].
In order to know the performance and energy production of photovoltaic systems, it is necessary to
develop technologies that track their generation. Thus, monitoring systems are presented as the solution
to maximize the PV array’s reliability and inform about the factors influencing production below the
expected levels [2]. A review of the literature has revealed that several applications for data
measurement, acquisition, and monitoring have been carried out. These existing acquisition systems are
based on software requiring operating licenses [6]. In addition, these systems are relatively complex and
costly to use and in some cases, are also distinguished by the limited number of monitored parameters
they offer in DC or AC [6][7]. There are even commercial solutions with drawbacks in the
communication protocols and knowledge of these systems, as they make it difficult for the user to add
new functions [8], such as the monitoring systems included in the most popular commercial inverters.
In [9], a prototype of a PV module energy monitoring system developed in India is shown, which is
remote and applies the Internet of Things (IoT) concept but only measures DC electrical parameters. In
[7], a SEM-LoRaWAN smart energy meter was proposed to measure energy consumption and monitor
various parameters such as voltage, current, power, energy, light intensity, temperature, and humidity
and send them to the cloud using LoRaWAN technology. However, this technology has not yet been
widely used to monitor PV systems, its performance is not yet known with certainty, and it can only
acquire DC electrical parameters. The system developed in [10] can measure PV modules’ voltage,
current, and temperature parameters. It also sends data to the internet through mobile networks so the
user can review it, but it only monitors DC electrical parameters. In [11], a system integrated by a
wireless sensor network for monitoring AC current, AC voltage, AC power, and active energy was
proposed in Thailand, which is low-cost and sends the measured data to a web platform where users can
review the information in real-time. However, it only provides information on AC electrical parameters.
Thus, many monitoring systems developed are limited to acquiring a limited number of electrical
parameters according to the monitoring needs or objectives of grid-connected PV systems or stand-alone
PV systems or do not perform experimental validation.
This paper aims to develop a monitoring system that acquires electrical parameters in direct and
alternating currents and provides information on the energy production of grid-connected photovoltaic
systems under exposed climatic conditions. This developed system will meet the requirements of the
IEC 61724-1 standard [12], tested on a 1.5 kWp grid-connected PV system at the Pontificia Universidad
Católica del Perú.
2
Peruvian Workshop on Solar Energy 2022 (JOPES 2022) IOP Publishing
Journal of Physics: Conference Series 2538 (2023) 012004 doi:10.1088/1742-6596/2538/1/012004
Figure 1. Design of the block diagram of the data acquisition system (DAQ).
3
Peruvian Workshop on Solar Energy 2022 (JOPES 2022) IOP Publishing
Journal of Physics: Conference Series 2538 (2023) 012004 doi:10.1088/1742-6596/2538/1/012004
terminals. The methodology employed through a calibration process that includes code adaptations and
mathematical adjustments makes it possible to overcome the drift and uncertainty problems that sensors
operating under the Hall effect principle may present.
2.2.5. Transceiver
An RS485 to UART protocol converter is required for the logic-level conversion. This MAX485
converter module made it possible to obtain the alternate electrical values in a format, such as UART,
compatible with the microcontroller.
2.2.6. Microcontroller
The ESP32 microcontroller was selected for its processing power, low cost, and low power
consumption. In addition, the ESP32 microcontroller-based board has the advantage of integrating a
WiFi module, which is useful for sending data to the remote platform. Also, its flexibility to be
programmed in different programming languages and with an open-source integrated development
environment makes it ideal for acquiring DC and AC electrical parameters in a less complex and space-
saving way due to its small dimensions [19].
4
Peruvian Workshop on Solar Energy 2022 (JOPES 2022) IOP Publishing
Journal of Physics: Conference Series 2538 (2023) 012004 doi:10.1088/1742-6596/2538/1/012004
has a power precision of ± 0.03%. The measurements were simultaneously performed every minute.
The data was saved on a local computer through LabVIEW software and sent to the Thingspeak platform
for remote monitoring.
800 30 800 30
DC Power - DAQ AC Power - DAQ
DC Power - WT5000 27 AC Power - WT5000 27
700 700
Rel. Difference (%) Rel. Difference (%)
24 24
Relative Difference (%)
AC Power (W)
500 500
18 18
400 15 400 15
12 12
300 300
9 9
200 200
6 6
100 100
3 3
0 0 0 0
07:30 09:00 10:30 12:00 13:30 15:00 16:30 07:30 09:00 10:30 12:00 13:30 15:00 16:30
Hour Hour
700
700
600
600
500
500
400 400
300 300
0 100 200 300 400 500 600 700 800 0 100 200 300 400 500 600 700 800
DC POWER - WT5000 (W) AC POWER - WT5000 (W)
Figure 4. DC power WT5000 (W) vs. corrected Figure 5. AC power WT5000 vs. corrected AC
DC power DAQ (W) (measurement: power DAQ (W) (measurement: 06/26/2022).
06/26/2022).
The relative differences with respect to the WT5000 standard instrument for an exemplary day were
calculated using equation (1).
|𝑀𝐷𝐴𝑄 𝑠𝑦𝑠𝑡𝑒𝑚𝑖 − 𝑀𝑟𝑒𝑓 𝑠𝑦𝑠𝑡𝑒𝑚𝑖 |
𝑅𝑒𝑙𝑎𝑡𝑖𝑣𝑒 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑐𝑒 (%) = × 100% (1)
𝑀𝑟𝑒𝑓 𝑠𝑦𝑠𝑡𝑒𝑚𝑖
5
Peruvian Workshop on Solar Energy 2022 (JOPES 2022) IOP Publishing
Journal of Physics: Conference Series 2538 (2023) 012004 doi:10.1088/1742-6596/2538/1/012004
The values of all the average relative differences related to each electrical parameter are shown in
table 2. An average relative difference of 0.06% for the DC current parameter was calculated. DC voltage
presented an average relative difference of 0.12%, and DC power was obtained with an average relative
difference of 0.10%. In AC, the electrical parameters such as RMS current, RMS voltage, and active
power were obtained with average relative differences of 0.09%, 0.08%, and 0.15%, respectively.
√ 1 × ∑𝑁
𝑖 (𝑀𝐷𝐴𝑄 𝑠𝑦𝑠𝑡𝑒𝑚𝑖 − 𝑀𝑟𝑒𝑓 𝑠𝑦𝑠𝑡𝑒𝑚𝑖 )
2
𝑁 (2)
𝑁𝑅𝑀𝑆𝐸(%) = 100 ×
1
∑𝑁
𝑁 × 𝑖 𝑀𝑟𝑒𝑓 𝑠𝑦𝑠𝑡𝑒𝑚𝑖
1
𝑁 × ∑𝑁
𝑖 (𝑀𝐷𝐴𝑄 𝑠𝑦𝑠𝑡𝑒𝑚𝑖 − 𝑀𝑟𝑒𝑓 𝑠𝑦𝑠𝑡𝑒𝑚𝑖 ) (3)
𝑁𝑀𝐵𝐸(%) = 100 ×
1
∑𝑁
𝑁 × 𝑖 𝑀𝑟𝑒𝑓 𝑠𝑦𝑠𝑡𝑒𝑚𝑖
Table 3 shows the NRMSE and NMBE values calculated for each of the electrical parameters
required by IEC 61724-1 after the calibration process. The NRMSE values showed that for the whole
measurement range a good result was achieved, as there is a remarkable closeness and agreement
between the values measured by the developed system (DAQ) and the reference system (WT5000). In
addition, positive MBE values were obtained, indicating that the data from the monitoring system are
slightly overestimated with respect to the reference. Due to the high precision of the WT5000 power
analyzer, it can be stated that the developed monitoring system shows suitable results in accordance with
the IEC 61724-1.
6
Peruvian Workshop on Solar Energy 2022 (JOPES 2022) IOP Publishing
Journal of Physics: Conference Series 2538 (2023) 012004 doi:10.1088/1742-6596/2538/1/012004
Finally, the monitoring system developed can be considered accurate according to the requirements
specified by IEC 61724-1 and low-cost compared to commercial measurement systems. Table 4 shows
the costs of the main components used to implement the final system.
4. Conclusions
This paper presented the design of an electrical parameter monitoring system that acquires DC and AC
electrical variables of grid-connected PV systems. Likewise, the components that make up the developed
system and the advantage of using them according to the objectives set for the design of this system
were indicated. In addition, the block diagram highlighting how the measurement devices are connected
was detailed. The way in which the measured variables are acquired and the recording of all the data
every minute both in the computer and in the Thingspeak remote monitoring platform was also
explained. For testing, measurements were made during one day with a PV system made up of
photovoltaic modules of HIT technology located at the facilities of the Pontificia Universidad Católica
del Perú in Lima, Peru. The measured data were compared with a high-precision power analyzer
Yokogawa WT5000 as a reference device, with an precision of ± 0.03%. Given the precision of the
standard instrument certified by the manufacturer, the results obtained after the calibration process
showed that the electrical parameters acquired by the monitoring system reached values very close to
those provided by the WT5000 power analyzer. Therefore, it is ensured that the developed system
complies with the IEC 61724-1 standard for a class A system, making the developed system reliable for
performing electrical monitoring of small-scale unmonitored photovoltaic installations. Finally, the
developed monitoring system is portable and low-cost because the elements used for the measurements
were mostly acquired in the local market, without affecting the quality of the complete system.
Acknowledgments
This work received financial support from PROCIENCIA and The World Bank through contract 013-
2020-FONDECYT-BM. The authors also acknowledge the financial support from the Vice-Rectorate
for Research of the Pontificia Universidad Católica del Perú through contract 2021-A-0028/PI0737.
References
[1] Vasquez A, Tamayo J and Salvador J La industria de la energía renovable en el Perú: 10 años
de contribuciones a la mitigación del cambio climático (Lima: Osinergmin book)
7
Peruvian Workshop on Solar Energy 2022 (JOPES 2022) IOP Publishing
Journal of Physics: Conference Series 2538 (2023) 012004 doi:10.1088/1742-6596/2538/1/012004
[2] Madeti S R and Singh S N 2017 Monitoring system for photovoltaic plants: A review Renewable
and Sustainable Energy Reviews 67 pp 1180–207
[3] Tamayo J, Salvador J, Vasquez A, and Vilches C La industria de la electricidad en el Perú: 25
años de aportes al crecimiento económico del país (Lima: Osinergmin book)
[4] International Energy Agency (IEA) 2012 Energy Technology Perspectives 2012: Pathways to a
Clean Energy System Second Edition (Accessed: Apr 21, 2022)
[5] International Energy Agency (IEA) 2022 Renewables 2022 – Analysis and forecast to 2027
https://www.iea.org/reports/renewables-2022 (Accessed: Jan 04, 2023)
[6] Gupta V, Sharma M, Pachauri R K and Babu K D 2020 A Low-Cost Real-Time IOT Enabled
Data Acquisition System for Monitoring of PV System Energy Sources, Part A: Recovery,
Utilization, and Environmental Effects pp 1-16
[7] Jabbar W A, Annathurai S, Rahim T A A and Fauzi M F M 2022 Smart energy meter based on a
long-range wide-area network for a stand-alone photovoltaic system Expert Systems With
Applications 197 pp 1-18
[8] Dupont I M, Carvalho P C, Jucá S C and Neto J S 2019 Novel methodology for detecting non-
ideal operating conditions for grid-connected photovoltaic plants using Internet of Things
architecture Energy Conversion and Management 200 pp 1-18
[9] Khan M S, Sharma H and Haque A 2019 IoT Enabled Real-Time Energy Monitoring for
Photovoltaic Systems International Conference on Machine Learning, Big Data, Cloud and
Parallel Computing (COMITCon) pp 323-27
[10] Kekre A and Gawre S K 2017 Solar photovoltaic remote monitoring system using IOT
International Conference on Recent Innovations in Signal processing and Embedded Systems
(RISE) pp 619-23
[11] Hlaing W, Thepphaeng S, Nontaboot V, Tangsunantham N, Sangsuwan T and Pira C 2017
Implementation of wifi-based single phase smart meter for internet of things (IoT)
International Electrical Engineering Congress (iEECON) pp 1-4
[12] IEC 61724-1 2021 Photovoltaic system performance – Part 1: Monitoring, 2nd ed., International
Electrotechnical Commission (IEC) Switzerland
[13] Schweiger M, Herrmann W, Gerber A and Rau U 2017 Understanding the energy yield of
photovoltaic modules in different climates by linear performance loss analysis of the module
performance ratio IET Renewable Power Gener. 11(5) pp 558–65
[14] Satpathy P R and Sharma R 2020 Reliability and losses investigation of photovoltaic power
generators during partial shading Energy Conversion and Management 223 pp 1-13
[15] Aghaei M, Kumar N M, Eskandari A, Ahmed H, De Oliveira A K V and Chopra S S 2020 Solar
PV systems design and monitoring Photovoltaic Solar Energy Conversion chapter 5 pp 117-
45
[16] Texas Instruments 2020 AMC3330-Q1 Precision, ±1-V Input, Reinforced Isolated Amplifier With
Integrated DC/DC Converter, Datasheet
[17] Gómez A 2021 Diseño y desarrollo de un inversor de corriente trifásico de 5 kW conectado a la
red (Cantabria: Master thesis)
[18] Texas Instruments 2018 ADS111x Ultra-Small, Low-Power, I 2C-Compatible, 860-SPS, 16-Bit
ADCs With Internal Reference, Oscillator, and Programmable Comparator, Datasheet
[19] Sutikno T, Purnama H S, Pamungkas A, Fadlil A, Alsofyani I M and Jopri M H 2021 Internet of
things-based photovoltaics parameter monitoring system using NodeMCU ESP8266
International Journal of Electrical and Computer Engineering (IJECE) 11(6) pp 5578-87
[20] Muñoz J V, Nofuentes G, Fuentes M, De la Casa J and Aguilera J 2016 DC energy yield prediction
in large monocrystalline and polycrystalline PV plants: Time-domain integration of
Osterwald’s model Energy 114 pp 951-60