Anomaly detection in IR images of PV modules using supervised contrastive learning

Lukas Bommes,Mathis Hoffmann,Claudia Buerhop‐Lutz,Tobias Pickel,Jens Hauch,Christoph Brabec,Andreas Maier,Ian Marius Peters
DOI: https://doi.org/10.1002/pip.3518
2022-03-28
Progress in Photovoltaics: Research and Applications
Abstract:Increasing deployment of photovoltaic (PV) plants requires methods for automaticdetection of faulty PV modules in modalities, such as infrared (IR) images. Recently,deep learning has become popular for this. However, related works typically sampletrain and test data from the same distribution ignoring the presence of domain shiftbetween data of different PV plants. Instead, we frame fault detection as more realis-tic unsupervised domain adaptation problem where we train on labeled data of onesource PV plant and make predictions on another target plant. We train a ResNet-34convolutional neural network with a supervised contrastive loss, on top of which weemploy ak-nearest neighbor classifier to detect anomalies. Our method achieves asatisfactory area under the receiver operating characteristic (AUROC) of 73.3% to96.6% on nine combinations of four source and target datasets with 2.92 million IRimages of which 8.5% are anomalous. It even outperforms a binary cross-entropyclassifier in some cases. With a fixed decision threshold, this results in 79.4% and77.1% correctly classified normal and anomalous images, respectively. Most mis-classified anomalies are of low severity, such as hot diodes and small hot spots. Ourmethod is insensitive to hyperparameter settings, converges quickly, and reliablydetects unknown types of anomalies making it well suited for practice. Possible usesare in automatic PV plant inspection systems or to streamline manual labeling of IRdatasets by filtering out normal images. Furthermore, our work serves the communitywith a more realistic view on PV module fault detection using unsupervised domainadaptation to develop more performant methods with favorable generalizationcapabilities.
What problem does this paper attempt to address?