- A research team in China has developed a novel real-time shadow detection method for PV modules.
- It uses computer vision for the task, with techniques that enhance the information of the live feed to identify the shadow in changing lighting conditions.
โThis method has a significant reference value for shadow monitoring of large PV arrays. It provides new technical means for intelligent and accurate operation and maintenance of PV systems,โ the researchers said. โWe believe this work can potentially monitor the shadow of PV arrays in real-time, and we look forward to further research to extend it to more application scenarios.โ
Starting with a live video feed, the novel method analyzes each frame, first by extracting the PV module area. Then, to address the problem of illumination variation, the technique uses gamma transformation, which is a computer vision method based on an algorithm that corrects image brightness without any references.
In the next step, the image contrast is enhanced with histogram matching, another computer vision technique that brightens an image by looking at the histogram of a reference image. It then uses gray-level slicing to segment the shaded part of the PV modules, from which the actual shade output is obtained.
โTo simulate the actual working environment better, the validation experiment in this paper was designed as a fixed-position camera, with the environment around the PV module,โ the group said. โThe image capture device consists of a mechanical bracket, a camera with a frame rate of 30FPS, and an adjusting device. The PV module comprises 36 solar cells of 220 mm x 770 mm, arranged in 4 columns and 9 rows, pasted on the white back sheet, and covered with tempered glass.โ
The experimental setup was located in Harbin, China, for the entirety of August 2023 and captured 90 videos of one hour each. In total, 4,815 minutes of video were taken, representing different lighting conditions and occlusion levels. About half of the recorded time was used to analyze and train the model, while the rest was used to test it. It was also compared to four other shadow detection models, namely the Canny edge detection, multilevel thresholding, random forest, and convolutional neural network (CNN).
Real-time monitoring with the system
Image: Northeast Agricultural University, Scientific Reports, CC BY 4.0
โThe average recognition accuracy (ACC) of this method is verified to be 0.98 by the test set, which is higher than the existing Canny edge detection recognition method,โ the results show. โThe method’s F0.5 and F2 values are 0.87 and 0.85, respectively, which are good in terms of precision and recall. In addition, the average time required by the method to process an image frame is 0.721 s, which has good real-time performance.โ
For compression, the Canny method had an ACC of 0.95, F0.5 of 0.76 and F2 of 0.79, and a frame processing time of 0.684 s. Multilevel thresholding performed with an ACC of 0.94, F0.5 of 0.75 and F2 of 0.77, and a frame processing time of 0.934 s, while random forest had an ACC of 0.89, F0.5 of 0.31 and F2 of 0.35 and a frame processing time of 1.067 s. Finally, CNN had an ACC of 0.82, F0.5 of 0.38 and F2 of 0.62, and a frame processing time of 0.603 s.
Their findings were presented in โThe realโtime shadow detection of the PV module by computer vision based on histogram matching and gamma transformation method,โ published in Scientific Reports. The research team included academics from China’s Northeast Agricultural University and Shenzhen University.
Author: Lior Kahana
This article was originally published inย pv magazineย and is republished with permission.