Smart Solar Panel Monitoring, Fault Detection and Automated Maintenance System
Solar photovoltaic (PV) panel output falls because of dust accumulation and changing environmental conditions such as irradiance, temperature, humidity, rain and shading. This paper presents the design and partial implementation of a smart solar panel monitoring, fault detection and automated maintenance system. An ESP32 microcontroller acquires voltage, current and power data using a voltage sensor and an INA219 current sensor, together with environmental data from LDR, DHT22 and rain sensors. A Raspberry Pi 4 with a USB webcam runs a lightweight MobileNetV3Small convolutional neural network that classifies the panel as clean or dusty. When cleaning is required, a command is sent to the ESP32, which drives a dry brush/roller cleaning mechanism through an L298N motor driver, and the panel condition is verified again after cleaning. All data is sent over Wi-Fi to ThingSpeak for real-time IoT monitoring. The model, trained on 4,102 images and evaluated on 616 unseen images, achieved 88.15% accuracy, 92.20% precision, 76.83% recall and an 83.81% F1-score. The sensing and monitoring module has been integrated and tested, while the cleaning mechanism and IoT integration are under development. Keywords: Solar panel monitoring, dust detection, fault detection, MobileNetV3Small, ESP32, Raspberry Pi, IoT, ThingSpeak, automated cleaning 1. Introduction Solar energy is a clean, renewable and widely used source of power. However, the output of a PV panel is not constant: it depends on the incident light and on the condition of the panel surface. Dust accumulation, rain, humidity, high temperature and partial shading all reduce the power delivered by a panel, and such losses often go unnoticed because the panel keeps producing some power. Manual inspection and cleaning are time-consuming, costly and unsuitable for large or remote installations. A smart system that continuously measures the electrical and environmental parameters, recognises dust on the panel surface using image-based AI, cleans the panel only when necessary and reports everything to a remote dashboard can therefore keep the panels operating efficiently. This paper presents such a system. The main contributions are: (i) real-time monitoring of voltage, current and power of multiple panels together with light, temperature, humidity and rain; (ii) a lightweight MobileNetV3Small-based classifier that detects dust on the panel; (iii) an automated dry-cleaning mechanism with post-cleaning verification; and (iv) IoT-based real time monitoring through ThingSpeak. 1.1 Literature survey and related work Rahman [1] used deep learning to classify solar panels as clean, dusty or damaged and reported over 95% accuracy, but the approach needs powerful computing hardware and may struggle under unusual weather. Alatwi et al. [2] built a low-cost deep-learning dust detector with nearly 87% accuracy; it is hard to adapt to different weather conditions and to integrate into physical hardware. Al Faris [3] proposed a sensorless method that estimates dust level from sunlight, temperature and power data without a camera, but it depends heavily on accurate weather forecasts. Olorunfemi et al. [4] systematically reviewed IoT-based smart cleaning systems, and noted that their benefits still need confirmation through field testing. Hesham et al. [5] used a small camera and power data to trigger automated cleaning and prevent up to 30% energy loss, but the method fails if the data connection from the camera or inverter is lost. Table 1.0 summarises these works. Table 1.0: Summary of related work Ref. (Year) Observation / Result Limitation [1] (2025) Over 95% accuracy classifying clean, dusty and damaged panels Needs powerful computers; weak in extreme weather [2] (2024) Low-cost AI dust detector, about 87% accuracy Poor adaptation to weather; hard to build into hardware [3] (2023) Sensorless dust estimation from light, temperature and power data Depends on accurate weather forecasts [4] (2022) Systematic review of IoT smart cleaning systems Needs future field testing to confirm benefits [5] (2026) Camera and power data trigger cleaning; up to 30% energy loss prevented Fails if camera or inverter data link drops 1.2 Gaps identified 1) Limited integration of electrical, environmental and visual monitoring for identifying the causes of reduced panel performance. 2) Lack of AI-based visual detection that identifies dust accumulation and relates it to panel performance. 3) Limited availability of automated cleaning mechanisms that respond to detected contamination. 4) Limited integration of real-time IoT monitoring with panel condition and maintenance status. 5) Absence of an integrated system combining monitoring, AI-based dust detection, automated cleaning and post-cleaning verification. 1.3 Problem statement To implement a smart solar panel fault detection and monitoring system for detecting performance reduction in solar panels, enabling automated maintenance and providing real time IoT monitoring. 1.4 Objectives 1) To implement a smart system for monitoring the voltage, current and power output of multiple solar panels. 2) To monitor environmental conditions and use AI-based visual detection to identify dust-related performance degradation. 3) To implement an automated dry-cleaning mechanism that operates when cleaning is required and verifies the panel condition afterwards. 4) To develop an IoT-based real-time monitoring system for panel performance, environmental conditions, dust status and cleaning activity. 2. MATERIALS AND METHODS 2.1 System overview The block diagram of the proposed system is shown in Fig.1.0. The solar panels are monitored through two parallel paths: electrical monitoring (voltage and current) and environmental monitoring (light, temperature, humidity and rain). Both paths feed an ESP32, which performs data acquisition and processing, shows the values on a local display and transmits them over Wi-Fi. A Raspberry Pi 4 with a webcam handles image capture and AI-based dust detection, and its decisions and the sensor data are displayed and logged through ThingSpeak. 2.2 Electrical monitoring A 0–25 V voltage sensor and an INA219 current sensor [7] measure the panel voltage and current. The ESP32 calculates the instantaneous power as P = V × I (1) for each monitored panel. Performance reduction is flagged by threshold-based fault detection on these electrical parameters, interpreted together with the environmental readings so that a drop caused by low light is not confused with one caused by dust. 2.3 Environmental monitoring Two LDR modules measure light intensity, a DHT22 sensor measures temperature and humidity, and a rain sensor module detects wet or dry conditions. These readings give the context needed to decide whether a power drop is due to the environment or to the panel condition, and whether cleaning is sensible (for example, not during rain). 2.4 AI-based dust detection A USB webcam connected to the Raspberry Pi 4 captures images of the panel surface. The images are processed with OpenCV and classified as clean or dusty by a MobileNetV3Small model [6] built with TensorFlow/Keras. MobileNetV3Small was chosen because it is lightweight and suitable for edge deployment; it was trained using transfer learning followed by fine-tuning on a combined dataset of clean and dusty solar-panel images. The outcome of the classification is passed to a decision-making stage: if cleaning is not required, only the status is updated on the dashboard; if cleaning is required, a cleaning command is sent to the ESP32. 2.5 Automated cleaning and verification On receiving the cleaning command, the ESP32 drives a 12 V DC geared motor through an L298N driver. The motor moves a dry cleaning brush/roller across the panel using a chain-and sprocket and threaded rod/lead screw mechanism. Two roller-lever limit switches sense the end positions of the travel, and the motor is stopped when an end position is reached. After cleaning, the webcam captures a new image and the AI model verifies the panel condition; the status is then updated and, as shown in Fig.1.0, the flow returns to the cleaning stage if dust is still detected. Dry cleaning is used so that no water is required. 2.6 IoT monitoring The ESP32 sends the measured data over Wi-Fi to the ThingSpeak cloud [8], where a real-time dashboard visualises panel voltage, current and power, environmental conditions, dust status and cleaning activity, enabling remote monitoring. 2.7 Hardware and software specifications The main hardware components and their roles are listed in Table 2.0. Additional items are the 12 V DC power supply, an LM2596 buck converter for voltage regulation, the mechanical frame/supports, connecting wires and connectors/terminal blocks. Table 2.0: Main hardware components Component Function Solar panels Power source under monitoring ESP32 Data acquisition, processing, Wi-Fi link, motor control Raspberry Pi 4 Camera interface and AI inference USB webcam Panel image capture INA219 Panel current (and power) sensing Voltage sensor (0–25 V) Panel voltage sensing 2 × LDR modules Light intensity DHT22 Temperature and humidity Rain sensor module Wet/dry detection Display Local display of readings (OLED in design; I²C LCD in prototype) L298N driver Motor driving 12 V DC geared motor Cleaning mechanism drive 2 × limit switches End-position sensing Brush/roller, chain and sprocket, lead screw Dry cleaning mechanism The software tools used are Arduino IDE with the ESP32 Arduino core and libraries for sensor interfacing, Raspberry Pi OS with Python, OpenCV and TensorFlow/Keras for image processing and
Authors
- Sangeetha KN
- Sujan Raj D L
- Nikitha G
- Disha M
- H A Harshitha
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-27
- DOI
- https://doi.org/10.5281/zenodo.24602326
- Primary Topic
- Photovoltaic System Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00