Professional Documents
Culture Documents
Cheddadi2020 Article DesignAndImplementationOfAnInt
Cheddadi2020 Article DesignAndImplementationOfAnInt
Cheddadi2020 Article DesignAndImplementationOfAnInt
Received: 15 October 2019 / Accepted: 30 May 2020 / Published online: 4 June 2020
© Springer Nature Switzerland AG 2020
Abstract
Smart grids exploit the capability of information and communication technologies especially internet of things, to
improve the sustainability, quality and the performance of energy production and demand previsions, whereas reducing
resource consumption and increasing renewable energies integration. This paper aims to present a cost-effective and
open source internet of things solution that could collect in intelligent manner and monitor in real-time the produced
power and environmental conditions of solar stations. The solution is designed as a laboratory prototype that could be
extended to monitor large scale photovoltaic stations using small adjustments. The system also provides an alert to a
remote user, when there is a deviation of solar power generation quality parameters from the predefined set of standard
values.
Keywords Photovoltaic station · IoT · Cloud · Sensor network · Real-time monitoring · ESP32 microcontroller · Data-
acquisition system
Vol.:(0123456789)
Research Article SN Applied Sciences (2020) 2:1165 | https://doi.org/10.1007/s42452-020-2997-4
that refer to the IoT enabling technologies, protocols, and data, weather information are considered essential for ana-
applications. They have explained the link between the IoT lysing PV station state. This is why supervising the perfor-
technology and the other emerging technologies includ- mance of every PV systems is very important [13, 19].
ing cloud services, big data analytics and fog computing. From the studied state of the art, we notice many IoT
The purpose of PV monitoring systems is to offer con- solutions for monitoring PV systems based on low cost
tinuously a clear information about various parameters, processing boards such as raspberry, Arduino boards,
namely the energy potential, extracted energy, fault detec- but the common point between these solutions is the
tion, historical analysis of the plant, and associated energy utilization of expensive pyranometers in the entry of the
loss. Furthermore, the monitored data can be used for photovoltaic system to measure irradiance. In this paper,
preventive maintenance, early detection of warning and a low-cost lux meter is utilized instead in intelligent man-
evaluating the weather variations …etc. [1, 5]. Many clas- ner. The proposed IoT solution embraces the data acquisi-
sifications of PV monitoring systems based on the internet tion, processing functions, data analysis and visualization
technology, data acquisition systems used and monitoring of the PV station performances. Moreover, an alert system
system methods have overviewed in detail in [2]. based on the monitored parameters is included. All these
The remote supervising technology could be used features with an effective cost of the instruments and
in numerous applications related to solar field, namely: monitoring system. The concept of the proposed solution
Solar plants, solar stations for charging electric vehicles is based on open source and low-cost technology in sens-
[6], micro grids [7] and solar street lights and so on. Also ing, data acquisition, processing, and transmission system
in many other vital applications such as the monitoring of using ESP32 board. A data-driven estimation of irradiance
the water quality [8], and the monitoring and control of was extracted from a pyranometer and a lux meter in order
solar thermal station with solar collector [9]. to validate the global luminous efficacy relationship and
Since we are interested in photovoltaic part of the solar then lower the cost of instruments used by replacing an
energy, we have studied the state of the art of wireless expensive pyranometer by a low cost illuminance sensor.
remote monitoring related to PV applications during the The rest of the paper is organized as follow: Sect. 2 pre-
last decade. Starting by a comprehensive review on moni- sents the architecture of the proposed IoT based photovol-
toring systems for photovoltaic plants; the communication taic data monitoring. Section 3 presents the hardware and
and storage in data acquisition systems, challenges and software of the designed system. Results are described in
opportunities in existing and futuristic systems have dis- Section 4 and a discussion is investigated in Sect. 5.
cussed in [1]. PV performance metrics was monitored and
processed ubiquitously using cloud data logging with a
LabVIEW based monitoring system was presented in many 2 Proposed system design
researches [10–13].
Researchers in [14] have elaborated a low cost IoT appli- Since the data needs to be collected, processed, stored
cation based on embedded solar PV monitoring system and analyzed in an IoT setup, a low cost data pipeline for
using a GPRS module and a microcontroller to send the monitoring the electrical and environmental parameters
data measured. However, authors in [15] have reported in a photovoltaic station is designed in this work.
a real-time monitoring of solar home systems based on In the proposed monitoring system, the ESP32 DEVKIT
Arduino microcontroller with 3G Connectivity. Whereas, a V1 board acts as the microcontroller that acquires and
remote monitoring for solar photovoltaic systems in rural processes the incoming data from various sensors, then it
application using GSM voice channel have presented in transmits the processed data to the cloud and servers via
[16]. built-in Wi-Fi. Data communication occurs in two steps:
An IoT-based experimental prototype for monitoring of The first step is the communication between sensors, and
photovoltaic arrays has been developed in [17]. Further- the controller via inter-integrated circuit protocol (I2C),
more, a cost effective IoT technique in order to remotely then the second step is the communication between con-
supervise the maximum power point (MPP) of a photovol- troller and the cloud service application via Wi-fi protocol.
taic system has described in [18]. The data collected by the various sensors is stored in
A health monitoring system of a solar farm has been the cloud (web server) or locally. The exchange is based
developed in [4], with a validation concept using eight on client and server requests. A client launches an HTTP
solar panels to monitor the string voltage, string current, request, and the server returns an answer. This protocol
temperature and humidity. The system is controlled by defines the communication between the different parts
CC3200 microcontroller with ARM Cortex-M4 architecture. of the web. The bloc diagram of the proposed IoT solution
Since PV panels are sensitive to environmental param- that used to monitor photovoltaic plants, is illustrated in
eters, specifically irradiance and temperature, the electric Fig. 1 bellow:
Vol:.(1234567890)
SN Applied Sciences (2020) 2:1165 | https://doi.org/10.1007/s42452-020-2997-4 Research Article
The experimental setup of the system hardware, drawn 3.1.1.2 Regulator TP4056 To harvest the maximum of
with fritzing software is illustrated in Fig. 2. generated PV energy and reduce the power losses, a stage
The developed experimental prototype consists mainly of adaptation is necessary. For this reason, a dc–dc con-
of the PV system including the battery, sensors and the verter is placed between the PV generator and the load
dual core ESP32 controller (Figs. 3, 4, 5): to adjust the maximum power point MPP using an MPPT
control [20]. Since a lithium ion battery is used as a load,
3.1.1 Photovoltaic System an associated commercial regulator TP4056 that incorpo-
rates protection features is also used, but it is important
The photovoltaic system in this experimental setup con- to note that this regulator does not incorporate the MPPT
sists of three PV panels, a DC–DC Buck converter and a algorithm in its features.
Lithium ion battery as a load.
3.1.1.3 DC load The Lithium-ion battery used in mobile
3.1.1.1 PV panel The PV panels consist of a set of parallel phone applications, is employed as a load in this monitor-
and series PV cells that convert the sun light into DC elec- ing prototype. This battery of 3.7 V nominal voltage is pro-
trical energy. Three small polycrystalline PV panels with a tected by the regulator that controls the charging current
Vol.:(0123456789)
Research Article SN Applied Sciences (2020) 2:1165 | https://doi.org/10.1007/s42452-020-2997-4
3.1.2 Measurement Sensors
Vol:.(1234567890)
SN Applied Sciences (2020) 2:1165 | https://doi.org/10.1007/s42452-020-2997-4 Research Article
Vol.:(0123456789)
Research Article SN Applied Sciences (2020) 2:1165 | https://doi.org/10.1007/s42452-020-2997-4
3.2 Software design
Vol:.(1234567890)
SN Applied Sciences (2020) 2:1165 | https://doi.org/10.1007/s42452-020-2997-4 Research Article
4 Results
Vol.:(0123456789)
Research Article SN Applied Sciences (2020) 2:1165 | https://doi.org/10.1007/s42452-020-2997-4
Vol:.(1234567890)
SN Applied Sciences (2020) 2:1165 | https://doi.org/10.1007/s42452-020-2997-4 Research Article
Figure 13 shows the alert notification displayed in the Then, the light sensor BH1170 which is a lux meter, was
dashboard and send to the mail adress due to decreased used in innovative way to measure solar irradiance after
value of power (upper side). Before this time, the produced deducing an accurate data-driven approximation between
power was within the standard values i.e. higher than the the lux meter and a calibrated pyranometer. These solu-
predefined threshold (bottom side). tions lead to decrease the total cost of the system. For the
electrical parameters, the power/current sensor INA219
was empoyed to measure the current, voltage and the
5 Discussion power generated by PV array.
Owing to its high computation performances, simple
In this paper, a cost effective IoT system to gather and programing and low-cost, the ESP32 controller is chosen
monitor in real-time both environmental and electric data to acquire, process and transmit in real time the gathered
of a PV solar station is proposed. The low-cost of this solu- data. Besides its high calculation capabilities, this control-
tion comes from the accurate choice of the controller and ler incorporates a built-in WiFi technology, which means
the instruments used. Two low-cost sensors are used to that our application will not require aditionnal ethernet
measure the enviremental variation: the DHT11 was used or wifi shields to ensure its connection to the internet and
for temperature after its calibration with a thermometer. the transmission of data to the cloud.
The table thereafter summarizes the cost comparison
of controllers used in IoT solutions of PV monitoring in
litterature.
As shown in Table 5, the micro-computers such as Rasp-
berry Pi and Beaglebone black provide a very high compu-
tation performances, but on the other hand, they require
external ADC devices to acquire analog measurements,
then they are more expensive and consume an impor-
tant amount of energy to operate compared to the ESP32
board. Moreover, the ESP32 controller offers the advan-
tages of the arduino boards in easy to use programming
tools, analog reading capabilities and their low-cost, then
it completes their weaknesses in IoT application in terms
Fig. 13 A caption of alerts in event occurrence of high computation and connectivity.
Vol.:(0123456789)
Research Article SN Applied Sciences (2020) 2:1165 | https://doi.org/10.1007/s42452-020-2997-4
In addition to the low cost of the controller used in Acknowledgements The authors would like to thank the Design-
this work, Grafana is an open-source platform with user- Tronik sarl, Morocco, for providing the materials and the computer
facilities used to develop some parts of the work presented in the
friendly pattern to visualize graphs and dashboards in paper.
interactive way. Compared to many works that monitor
PV systems, have used LABVIEW [10, 12, 28], which is Compliance with ethical standards
an expenssive commercial software, with its hardware
instruments.Thus, the software of this solution may be Conflict of interest The authors declare that they have no conflict of
also considered low-cost for energy monitoring of a interest.
large PV systems.
The proposed system is able to update the measured
data every second in grafana dashboards, but it worth
to mention that a delay take places when sending alerts References
by mails.
On the other side, in a large scale solar PV farms, the 1. Madeti SR, Singh SN (2017) Monitoring system for photovol-
taic plants: a review. Renew Sustain Energy Rev 67:1180–1207.
required electrical sensors will be much expensive and https://doi.org/10.1016/j.rser.2016.09.088
powerful than those used in this prototype since the 2. Rahman MM, Selvaraj J, Rahim NA, Hasanuzzaman M (2018)
range of the current/voltage requirements will be higher. Global modern monitoring systems for PV based power gen-
But, there are many powerful current and voltage sen- eration: a review. Renew Sustain Energy Rev 82:4142–4158.
https://doi.org/10.1016/j.rser.2017.10.111
sors existing in the market which are known for their 3. Al-Fuqaha A, Guizani M, Mohammadi M, Aledhari M, Ayyash
accuracy and low demand for energy such as the Hall M (2015) Internet of things: a survey on enabling technolo-
Effect Current Transducer (HCT0036) that can sense up gies, protocols, and applications. IEEE Commun Surv Tutor
to 500 A…etc. 17(4):2347–2376. https://doi.org/10.1109/comst.2015.24440
95
To summrize, the proposed IoT application is able to 4. Badave PM, Karthikeyan B, Badave SM, Mahajan SB, Sanjeeviku-
continuously supervise and maintain the PV plant in a mar P, Gill GS (2018) Health monitoring system of solar photo-
safe state and high working performances, monitor the voltaic panel: an internet of things application. In: Advances in
weather conditions of the station and alert the user to con- smart grid and renewable energy, pp 347–355
5. Adhya S, Saha D, Das A, Jana J, Saha H (2016) An IoT based
trol the effect of the failure when it occurs, all these fea- smart solar photovoltaic remote monitoring and control unit.
tures in an effective cost with a capability to perform well In: 2016 2nd International conference on control, instrumen-
in monitoring large scale solar farms, with small changes tation, energy communication (CIEC), pp 432–436. https://doi.
in the used electrical sensors. org/10.1109/ciec.2016.7513793
6. Youssef C, Fatima E, Najia E, Chakib A (2018) A technological
review on electric vehicle DC charging stations using photovol-
taic sources. IOP Conf Ser Mater Sci Eng 353(1):012014. https://
doi.org/10.1088/1757-899x/353/1/012014
6 Conclusion 7. Cheddadi Y, Gaga A, Errahimi F, Sbai NE (2015) Design of an
energy management system for an autonomous hybrid micro-
grid based on Labview IDE. In: Renewable and sustainable
The paper investigates studies on the tools and tech- energy conference (IRSEC), 2015 3rd international, pp 1–6
niques used in existing solar plant monitoring systems. 8. Geetha S, Gouthami S (2017) Internet of things enabled real time
Furthermore, a smart low cost IoT solution for monitoring water quality monitoring system. Smart Water 2(1):1. https: //doi.
org/10.1186/s40713-017-0005-y
the electrical and environmental parameters of photovol- 9. Saravia MWD, Salvador R, Palencia CM, Zepeda AEP (2017)
taic system is proposed. An implementation of a labora- Monitoring system for solar thermal station with IoT and M2M.
tory prototype is established to demonstrate the perfor- In: 2017 IEEE 37th Central America and Panama Convention
mance of the developed solution. Several smart sensors, (CONCAPAN XXXVII), pp 1–6. https://doi.org/10.1109/conca
pan.2017.8278533
a cutting-edge controller and an algorithm for solar array 10. Touati F, Al-Hitmi MA, Chowdhury NA, Hamad JA, San Pedro
monitoring are described in this work to provide real time Gonzales AJR (2016) Investigation of solar PV performance
data to stakeholders. Besides, a low-cost indirect meas- under Doha weather using a customized measurement and
urement method is proposed to decrease the cost of the monitoring system. Renew Energy 89:564–577. https://doi.
org/10.1016/j.renene.2015.12.046
measurement instruments. The experimental test bench is 11. Forero N, Hernández J, Gordillo G (2006) Development of
enhanced by integrating alerts for anomaly detections in a monitoring system for a PV solar plant. Energy Convers
PV stations. Finally, the cost effectiveness of the proposed Manag 47(15):2329–2336. https: //doi.org/10.1016/j.encon
solution has found essentially in the low-cost edge sensing man.2005.11.012
12. Rezk H, Tyukhov I, Al-Dhaifallah M, Tikhonov A (2017) Per-
methods, open source software and processing technolo- formance of data acquisition system for monitoring PV sys-
gies used. The study is validated by an economical study of tem parameters. Measurement 104:204–211. https : //doi.
the proposed acquisition and monitoring system. org/10.1016/j.measurement.2017.02.050
Vol:.(1234567890)
SN Applied Sciences (2020) 2:1165 | https://doi.org/10.1007/s42452-020-2997-4 Research Article
13. Chouder A, Silvestre S, Taghezouit B, Karatepe E (2013) Monitor- and zenith luminance with weather conditions—description of
ing, modelling and simulation of PV systems using LabVIEW. Sol a potential method to generate key daylight availability data
Energy 91:337–349 from existing solar radiation data bases. Sol Energy 38(1):33–44.
14. Kekre A, Gawre SK (2017) Solar photovoltaic remote monitoring https://doi.org/10.1016/0038-092X(87)90068-5
system using IOT. In: 2017 International conference on recent 22. Wright J, Perez R, Michalsky JJ (1989) Luminous efficacy of direct
innovations in signal processing and embedded systems (RISE), irradiance: variations with insolation and moisture conditions.
pp 619–623. doi:10.1109/RISE.2017.8378227 Sol Energy 42(5):387–394
15. López-Vargas A, Fuentes M, Vivar M (2019) IoT application for 23. ESP32 Overview | Espressif Systems. [Online]. Available: https
real-time monitoring of solar home systems based on Arduino™ ://www.espressif.com/en/products/hardware/esp32/overview.
with 3G connectivity. IEEE Sens J 19(2):679–691. https://doi. Accessed 19 Jan 2019
org/10.1109/JSEN.2018.2876635 24. Grafana Features, Grafana Labs. [Online]. Available: https: //grafa
16. Tejwani R, Kumar G, Solanki C (2014) Remote monitoring for na.com/grafana/#alert. Accessed 09 Oct 2019
solar photovoltaic systems in rural application using GSM voice 25. Pereira RI, Dupont IM, Carvalho PC, Jucá SC (2018) IoT embed-
channel. Energy Procedia 57:1526–1535 ded linux system based on Raspberry Pi applied to real-time
17. Hamied A, Mellit A, Zoulid M, Birouk R (2018) IoT-based experi- cloud monitoring of a decentralized photovoltaic plant. Meas-
mental prototype for monitoring of photovoltaic arrays. In: 2018 urement 114:286–297
International conference on applied smart systems (ICASS). pp 26. Benghanem M (2009) Measurement of meteorological data
1–5. doi: 10.1109/ICASS.2018.8652014 based on wireless data acquisition system monitoring. Appl
18. Rouibah N, Barazane L, Mellit A, Hajji B, Rabhi A (2019) A low-cost Energy 86(12):2651–2660. https: //doi.org/10.1016/j.apene
monitoring system for maximum power point of a photovoltaic rgy.2009.03.026
system using IoT technique. In: 2019 International conference 27. Ngo GC, Floriza JKI, Creayla CMC, Garcia FCC, Macabebe EQB
on wireless technologies, embedded and intelligent systems (2015) Real-time energy monitoring system for grid-tied Pho-
(WITS), pp 1–5. https://doi.org/10.1109/wits.2019.8723724 tovoltaic installations. In: TENCON 2015-2015 IEEE Region 10
19. Han J, Lee I, Kim S-H (2015) User-friendly monitoring system for conference, pp 1–4
residential PV system based on low-cost power line communi- 28. Torres M, Muñoz FJ, Muñoz JV, Rus C (2012) Online monitoring
cation. IEEE Trans Consum Electron 61(2):175–180. https://doi. system for stand-alone photovoltaic applications: analysis of
org/10.1109/TCE.2015.7150571 system performance from monitored data. J Sol Energy Eng.
20. Cheddadi Y, Cheddadi F, Errahimi F, Es-Sbai N (2017) Extremum https://doi.org/10.1115/1.4005448
seeking control-based global maximum power point tracking
algorithm for PV array under partial shading conditions. In: Wire- Publisher’s Note Springer Nature remains neutral with regard to
less technologies, embedded and intelligent systems (WITS), jurisdictional claims in published maps and institutional affiliations.
2017 international conference on, pp 1–6
21. Perez R, Webster K, Seals R, Stewart R, Barron J (1987) Varia-
tions of the luminous efficacy of global and diffuse radiation
Vol.:(0123456789)