DOI: 10.6084/m9.figshare.15123655.v1
title: Online automatic anomaly detection for photovoltaic systems using thermography imaging and low rank matrix decomposition

description: Faults occurred during the operational lifetime of photovoltaic (PV) systems can cause energy loss, system shutdown, as well as possible fire risks. Therefore, it is crucial to detect anomalies and faults to control the system’s performance and ensure its reliability. Comparing to traditional monitoring techniques based on an on-site visual inspection and/ or electrical measuring devices, the combination of drones and infrared thermography imaging evidently provides the means for faster and less expensive PV monitoring. However, the literature in this area lacks automatic and implementable algorithms for PV fault detection, particularly, using raw aerial thermography, with precise performance evaluation. The objective of this paper is, thus, to build a fully automatic online monitoring framework. We propose an analytical framework for online analysis of the raw video streams of aerial thermography. This framework integrates image processing and statistical machine learning techniques. We validate the effectiveness of the proposed framework and provide sufficient details to facilitate its implementation by practitioners. Two challenges hinder direct fault detection on raw PV images. One is that raw PV images often have non-smooth backgrounds that can impact the detection performance. This background needs to be removed before fault detection. However, this is a daunting task given the perspective of images. To deal with this challenge, we utilize the Transform Invariant Low-rank Textures (TILT) method to orthogonalize the perspective before applying edge detection to crop out the background and aligning the cropped images. The other issue is that the regular hot spots at the bottom edges of the solar panels are normal and should not be detected as anomalies. This makes the intensity-based detection method in the literature fail. These hot spots are part of the low-rank pattern of the image sequence. On the other hand, the hot spots caused by anomalies deviate from the normal low-rank pattern of the PV cells. Therefore, we propose a methodology that relies on Robust Principal Component Analysis (RPCA), which can separate sparse corrupted anomalous components from a low-rank background. The RPCA is applied to the PV images for simultaneous detection and isolation of anomalies. In addition to RPCA, we suggest a set of post-processing procedures for image denoising, and segmentation. The proposed algorithm is developed using 20 normal (with no anomalies) training samples and 100 test samples. The results showed that the algorithm successfully detects the anomalies with a recall of 0.80 and detects the significant anomalies with the maximum recall of 1. Our method outperforms two benchmark methods in terms of F1 score by 44.5% and 114.3%. The small number of false alarms is mostly due to irregular image patterns at the end of a PV array or an extreme non-orthogonal perspective. Since the number of false alarms is not large, it does not disrupt the inspection process, and they can easily be identified by an appraiser offline. The average computation time is 6.32 sec/image, which enables online automatic inspection of PV panels.