A photovoltaic module testing system and method
By combining photovoltaic module testing methods with IV characteristic curves, electroluminescence, and infrared thermal imaging technologies, cross-modal deep fusion of photovoltaic module electrical performance parameters and defect characteristics has been achieved. This solves the problems of accuracy and quantification in defect detection in existing technologies and improves the uniformity and reproducibility of test results.
Patent Information
- Application Number
- CN202611505775.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-24
- Publication Date
- 2026-11-27
AI Technical Summary
Existing photovoltaic module testing technologies lack collaborative analysis mechanisms, making it impossible to quantify the specific impact of various defects on electrical performance parameters. Furthermore, defect detection relies on human experience, making it difficult to achieve accurate classification and quantification of severity.
A photovoltaic module testing method is adopted, which acquires IV characteristic curve data by applying a programmable voltage scanning signal, generates image data by combining electroluminescence and infrared thermal imaging technologies, performs data preprocessing and image registration, and uses a multi-source data fusion model to achieve cross-modal deep fusion and quantify the impact of various defects on electrical performance.
It achieves cross-modal deep fusion of photovoltaic module electrical performance parameters, EL image features and temperature features, accurately quantifies the impact of defects, identifies defects such as hidden cracks, broken grids and poor solder joints, and quantitatively classifies the severity of defects, thereby improving the uniformity and reproducibility of the test results.
Smart Images

Figure CN123184591A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of solar energy industry technology, specifically to a photovoltaic module testing system and testing method. Background Technology
[0002] Currently, photovoltaic module performance testing mainly includes three methods: electrical performance testing, defect detection, and comprehensive testing. Electrical performance testing uses a solar simulator or outdoor natural light to collect the module's IV characteristic curves, extracting key parameters such as open-circuit voltage, short-circuit current, and maximum power. Some systems rely on MPPT (Multi-Level Photovoltaic Testing) to complete voltage and current scanning detection. Defect detection is centered on EL (Elastic Electroluminescence) testing, which can identify internal defects such as microcracks, broken grids, and poor solder joints. Combined with infrared thermal imaging technology, it can effectively detect hot spot effects in modules. Existing technologies are also gradually developing integrated solutions that combine electrical performance, defect, and hot spot detection, and can incorporate digital twin models to achieve module degradation rate testing.
[0003] In practical testing, existing testing technologies suffer from different testing dimensions and a lack of collaborative analysis mechanisms, making it impossible to quantify the specific impact of various defects on electrical performance parameters. Furthermore, existing testing technologies are subjective in defect detection, relying on human experience or simplistic data judgments, making it difficult to accurately classify defects and quantify their severity. This results in inconsistent test data formats, scattered storage, and a lack of a unified data fusion and evaluation framework, ultimately hindering the quantitative assessment of the overall health status of components.
[0004] Therefore, in order to address the aforementioned technical issues, it is necessary to provide a photovoltaic module testing system and testing method. Summary of the Invention
[0005] In view of the shortcomings of the prior art, the purpose of this invention is to provide a photovoltaic module testing system and testing method to solve the problems mentioned in the background art.
[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: This invention provides a photovoltaic module testing method, comprising the following steps: Step S1: Apply a programmable voltage scanning signal to the photovoltaic module under test, collect the output current value of the photovoltaic module under test at each voltage scanning point, generate IV characteristic curve data, and extract the electrical performance parameter set based on the IV characteristic curve data; Step S2: Apply a forward bias current to the photovoltaic module under test, collect the near-infrared light signal emitted by the photovoltaic module under test under electroluminescence conditions, and generate the raw EL image; Step S3: Collect the surface infrared radiation signal of the photovoltaic module under test under a preset working state, and generate infrared thermal imaging temperature distribution data; Step S4: Perform denoising, enhancement, and battery cell segmentation processing on the original EL image to obtain the EL feature image and battery cell region segmentation mask; at the same time, perform temperature calibration and spatial interpolation processing on the infrared thermal imaging temperature distribution data to obtain the calibrated temperature distribution matrix. Step S5: Using the battery cell region segmentation mask as a reference, perform spatial transformation and pixel-level alignment on the EL feature image and the calibrated temperature distribution matrix to obtain the spatially registered EL feature image and the spatially registered temperature distribution matrix. Step S6: Delineate each battery cell region in the spatially registered EL feature image according to the battery cell region segmentation mask, extract the EL image feature vector of each battery cell region, delineate each battery cell region in the spatially registered temperature distribution matrix according to the battery cell region segmentation mask, and extract the temperature feature vector of each battery cell region. Step S7: Input the electrical performance parameter set, the EL image feature vector of each battery cell, and the temperature feature vector of each battery cell into a preset multi-source data fusion model, and output the comprehensive health status assessment vector of each battery cell. Step S8: Based on the comprehensive health status assessment vector of each solar cell, generate the overall health status score and defect diagnosis report of the photovoltaic module under test.
[0007] In one or more embodiments of the present invention, in step S1, in response to the received start test command, the central controller... Simultaneously transmit voltage scanning signals and thermal imaging integration trigger signals at all times; The programmable voltage scan signal is a unidirectional scan voltage signal from a short-circuit state to an open-circuit state or a unidirectional scan voltage signal from an open-circuit state to a short-circuit state. The scan step size of the voltage scan signal is adaptively adjusted according to the capacitance characteristics of the photovoltaic module under test. The adaptive adjustment method of the scan step size is as follows:
[0008] in, For the first Voltage scan step size of the step, The reference voltage step size, For adaptive coefficients, For the first The output current value collected step by step, This is the maximum current observed during this scan. The set of electrical performance parameters includes short-circuit current, open-circuit voltage, maximum power point voltage, maximum power point current, maximum power, and fill factor.
[0009] In one or more embodiments of the present invention, in step S2, when the programmable voltage scanning signal scans to the maximum power point voltage, the central controller automatically triggers a bias current loading command. The forward bias current is 1.1 to 2.0 times the nominal operating current of the photovoltaic module under test; the wavelength range of the near-infrared light signal is 900nm-1200nm; The raw EL image was acquired using an infrared camera.
[0010] In one or more embodiments of the present invention, step S4, which involves performing denoising, enhancement, and cell segmentation processing on the original EL image, specifically includes the following sub-steps: Step S4.1: Perform median filtering denoising on the original EL image to obtain a denoised EL image; Step S4.2: Perform contrast-limited adaptive histogram equalization enhancement processing on the denoised EL image to obtain an enhanced EL image; Step S4.3: Perform battery cell mesh segmentation processing based on edge detection and morphological operations on the enhanced EL image to obtain the EL feature image and the battery cell region segmentation mask. The battery cell region segmentation mask contains the contour boundary information and spatial location information of each battery cell.
[0011] In one or more embodiments of the present invention, step S5, which involves performing spatial transformation and pixel-level alignment, specifically includes the following sub-steps: Step S5.1: Extract corner features from the EL feature image to form a first feature point set, and extract corner features from the calibrated temperature distribution matrix to form a second feature point set; Step S5.2: Perform nearest neighbor matching and random sampling consistency screening on the first feature point set and the second feature point set to obtain matching feature point pairs; Step S5.3: Calculate the spatial transformation matrix based on the matched feature point pairs, wherein the spatial transformation matrix is an affine transformation matrix or a perspective transformation matrix; Step S5.4: Using the battery cell region segmentation mask as a spatial reference, apply the spatial transformation matrix to the EL feature image and the calibrated temperature distribution matrix respectively to obtain the spatially registered EL feature image and the spatially registered temperature distribution matrix.
[0012] In one or more embodiments of the present invention, in step S6 above, the EL image feature vector of each battery cell includes the mean gray level, gray level variance, texture feature value and the area ratio of the defect region of each battery cell region. The method for obtaining the area ratio of the defective region is as follows: set the first... Dynamic threshold of individual cell regions The dynamic threshold The method of obtaining it is:
[0013] in, For the first The average grayscale value of each battery cell region For the first The standard deviation of grayscale in each cell region This is an empirical threshold coefficient; The area of the defective region accounts for the proportion of... The area ratio of the defective region The calculation formula is:
[0014] in, For the first The total number of pixels in each battery cell region For the first Each battery cell area, For spatially registered EL feature images at pixel points grayscale value at that location This is an indicator function.
[0015] In one or more embodiments of the present invention, in step S6, the temperature feature vector of each battery cell includes the mean temperature, temperature variance, maximum temperature value, and temperature gradient feature value of each battery cell region. The method for obtaining the temperature gradient feature values is as follows:
[0016] in, The spatially registered temperature distribution matrix at the pixel level Temperature value at that location, and These are the first-order partial derivatives in the horizontal and vertical directions, respectively; The temperature feature vector of each battery cell also includes the relative temperature difference ratio. The formula for calculating the relative temperature difference ratio is:
[0017] in, For the first Average temperature of each cell region This represents the average temperature across all cell regions of the entire module.
[0018] In one or more embodiments of the present invention, in step S7, the preset multi-source data fusion model is a multi-modal fusion model constructed based on a deep neural network. Before performing splicing and fusion on the electrical performance embedding vector, the EL embedding vector and the temperature embedding vector, the multi-modal fusion model first calculates the EL mode contribution and the temperature mode contribution. The multimodal fusion model performs weighted fusion of the EL embedding vector and the temperature embedding vector based on the EL modal contribution and the temperature modal contribution, and then performs the splicing fusion; the comprehensive health status assessment vector includes the health score, defect type label and defect severity level of each cell.
[0019] A photovoltaic module testing system, comprising: The electrical performance testing module is used to apply a programmable voltage scanning signal to the photovoltaic module under test, collect the output current value of the photovoltaic module under test at each voltage scanning point, generate IV characteristic curve data, and extract the electrical performance parameter set based on the IV characteristic curve data. An electroluminescence imaging module is used to apply a forward bias current to the photovoltaic module under test, acquire the near-infrared light signal emitted by the photovoltaic module under test under electroluminescence conditions, and generate a raw EL image. The infrared thermal imaging module is used to collect the surface infrared radiation signal of the photovoltaic module under test under a preset working state and generate infrared thermal imaging temperature distribution data. The data preprocessing module is connected to the electrical performance testing module, the electroluminescence imaging module, and the infrared thermal imaging module, respectively. It is used to perform denoising, enhancement, and cell segmentation processing on the raw EL image to obtain the EL feature image and the cell region segmentation mask. At the same time, it performs temperature calibration and spatial interpolation processing on the infrared thermal imaging temperature distribution data to obtain the calibrated temperature distribution matrix. An image registration module, connected to the data preprocessing module, is used to perform spatial transformation and pixel-level alignment on the EL feature image and the calibrated temperature distribution matrix based on the battery cell region segmentation mask, to obtain a spatially registered EL feature image and a spatially registered temperature distribution matrix. The feature extraction module, which is connected to the image registration module, is used to delineate each battery cell region in the spatially registered EL feature image according to the battery cell region segmentation mask, and extract the EL image feature vector of each battery cell region. At the same time, it delineates each battery cell region in the spatially registered temperature distribution matrix according to the battery cell region segmentation mask, and extracts the temperature feature vector of each battery cell region. The data fusion module is connected to the feature extraction module and the electrical performance testing module. It is used to input the electrical performance parameter set, the EL image feature vector of each battery cell and the temperature feature vector of each battery cell into a preset multi-source data fusion model, and output the comprehensive health status evaluation vector of each battery cell. A comprehensive evaluation module, connected to the data fusion module, is used to generate an overall health status score and defect diagnosis report for the tested photovoltaic module based on the comprehensive health status evaluation vector of each solar cell.
[0020] In one or more embodiments of the present invention, the data preprocessing module includes: An image denoising unit is used to perform median filtering denoising on the original EL image to obtain a denoised EL image; An image enhancement unit, connected to the image denoising unit, is used to perform contrast-limited adaptive histogram equalization enhancement processing on the denoised EL image to obtain an enhanced EL image; An image segmentation unit, connected to the image enhancement unit, is used to perform battery cell mesh segmentation processing based on edge detection and morphological operations on the enhanced EL image to obtain the EL feature image and the battery cell region segmentation mask; The temperature calibration unit is used to perform temperature calibration and spatial interpolation processing on the infrared thermal imaging temperature distribution data to obtain the calibrated temperature distribution matrix.
[0021] The beneficial effects of this invention are as follows: 1. It can achieve cross-modal deep fusion of photovoltaic module electrical performance parameters, EL image features and temperature features, dynamically and adaptively adjust the weight of each modal feature, and accurately quantify the impact of various defects on the module's electrical performance; 2. It can connect to historical test databases to complete longitudinal comparative analysis of multiple time-series test data of the same photovoltaic module, providing quantitative and reliable data support for preventive operation and maintenance and remaining service life assessment of photovoltaic modules.
[0022] 3. It can identify typical photovoltaic defects such as hidden cracks, broken grids, poor solder joints, and hot spots, and quantitatively classify the severity of defects, avoiding subjective errors caused by manual visual interpretation, and significantly improving the uniformity and reproducibility of defect detection results. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a framework diagram of a photovoltaic module testing system according to an embodiment of the present invention; Figure 2 This is a flowchart of a photovoltaic module testing method according to an embodiment of the present invention; Figure 3 This is a flowchart of a multi-source data fusion model for a photovoltaic module testing method according to an embodiment of the present invention; Figure 4 This is a timing control and triggering logic diagram of a photovoltaic module testing method in one embodiment of the present invention. Detailed Implementation
[0025] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0026] like Figures 2 to 4 As shown, a photovoltaic module testing method according to an embodiment of the present invention includes the following steps: Step S1: Apply a programmable voltage scanning signal to the photovoltaic module under test, collect the output current value of the photovoltaic module under test at each voltage scanning point, generate IV characteristic curve data, and extract the electrical performance parameter set based on the IV characteristic curve data.
[0027] Specifically, after receiving the voltage scan signal from the central controller, the electrical performance testing module applies a programmable voltage scan signal to the photovoltaic module under test. This programmable voltage scan signal is either a unidirectional scan voltage signal from a short-circuit state to an open-circuit state, or a unidirectional scan voltage signal from an open-circuit state to a short-circuit state. Let the scan voltage sequence be... ,in , This represents the total number of scan steps. The electrical performance testing module collects the output current value of the photovoltaic module under test at each voltage scan point. This generates complete IV characteristic curve data.
[0028] To improve the fitting accuracy of the IV characteristic curve near the maximum power point and reduce the total scan time, this invention employs an adaptive step size adjustment mechanism. Specifically, the first... Voltage scan step size The output current is dynamically adjusted based on the rate of change between the current step and the previous step. Its mathematical expression is:
[0029] in, The reference voltage step size can be set according to the type of the component under test and the expected open-circuit voltage range. For example, it can be set to 0.01V to 0.05V for conventional crystalline silicon components. This is an adaptive coefficient, typically ranging from 0.5 to 2.0, used to control the sensitivity of the step size to the rate of change of current. For the first The output current value collected step by step, This is the output current value collected in the previous step. This represents the maximum current value observed up to the current step during this scan. From this formula, it can be seen that when the IV characteristic curve enters the region near the maximum power point, The value is relatively large (because the slope of the curve changes drastically in this region), therefore The sampling points are automatically reduced, making them more densely packed in that region, thus improving the accuracy of extracting the maximum power point. However, in flat regions of the curve (such as areas close to short-circuit current or open-circuit voltage), the rate of current change is smaller. The step size automatically increases, thereby reducing unnecessary sampling points and shortening the total scanning time. Compared with the traditional fixed step size scanning, this adaptive step size scanning method significantly improves testing efficiency without sacrificing or even improving curve fitting accuracy.
[0030] After completing the full voltage range scan, the electrical performance testing module extracts the electrical performance parameter set based on the collected IV characteristic curve data.
[0031] Specifically, short-circuit current By searching The current value is obtained from the scan point closest to 0. ; Open circuit voltage By searching The voltage value corresponding to (or the scan point closest to 0) is obtained, i.e. ; Maximum power point voltage and maximum power point current Calculate the power by traversing all scan points. Then, the voltage and current corresponding to the maximum values are obtained; Maximum power ; Fill factor According to the formula This calculated value reflects the quality of the photovoltaic module's output characteristics. (Electrical performance parameter set) As input parameters for subsequent multi-source data fusion models.
[0032] Step S2: Apply a forward bias current to the photovoltaic module under test, collect the near-infrared light signal emitted by the photovoltaic module under test under electroluminescence conditions, and generate the original EL image.
[0033] Specifically, while the electrical performance testing module performs voltage scanning, the central controller monitors the scanning progress in real time. When the programmable voltage scan signal reaches the maximum power point voltage, the central controller automatically triggers a bias current loading command and sends it to the electroluminescence imaging module. Upon receiving this command, the electroluminescence imaging module applies a forward bias current to the photovoltaic module under test. The magnitude of this forward bias current is 1.1 to 2.0 times the nominal operating current of the photovoltaic module under test. This current range ensures that the PN junction region of the photovoltaic module generates sufficiently strong near-infrared light emission while avoiding irreversible damage to the module caused by excessive current. Under the action of the forward bias current, the charge carriers in the effective PN junction region of the photovoltaic module under test undergo radiative recombination, emitting near-infrared light signals with wavelengths ranging from 900nm to 1200nm. The electroluminescence imaging module acquires this near-infrared light signal using a high-sensitivity InGaAs infrared camera to generate the raw EL image. In the original EL image, the normal cell area shows a higher gray value (bright area), while the area with defects such as hidden cracks, broken grids, and poor solder joints has a lower gray value (dark area) due to the reduced luminescence intensity caused by abnormal carrier recombination. This gray value difference constitutes the physical basis for subsequent defect identification and quantification.
[0034] Step S3: Collect the surface infrared radiation signal of the photovoltaic module under test in the preset working state and generate infrared thermal imaging temperature distribution data.
[0035] Specifically, in sync with electrical performance testing, the infrared thermal imaging module, based on the central controller's... A thermal imaging integration trigger signal is emitted continuously to begin acquiring the surface infrared radiation signal of the photovoltaic module under test in a preset operating state. The preset operating state refers to the actual operating state of the photovoltaic module under test during the electrical performance test, i.e., the temperature distribution state caused by internal power consumption under different voltage bias conditions. The infrared thermal imaging module receives the electromagnetic radiation signal emitted from the module surface through an infrared thermal imager and converts the radiation intensity into a temperature value according to Planck's blackbody radiation law, generating infrared thermal imaging temperature distribution data. It should be noted that due to differences in optical systems, sensor resolution, and spatial viewing angles between the InGaAs camera used for EL imaging and the infrared thermal imager, the initial EL raw image (IEL) and the infrared thermal imaging temperature distribution data (TIR) do not have a pixel-level spatial correspondence. This spatial inconsistency will be resolved by the subsequent image registration module.
[0036] Step S4: Perform denoising, enhancement, and cell segmentation processing on the original EL image to obtain the EL feature image and cell region segmentation mask; at the same time, perform temperature calibration and spatial interpolation processing on the infrared thermal imaging temperature distribution data to obtain the calibrated temperature distribution matrix.
[0037] Specifically, the data preprocessing module is connected to the electrical performance testing module, the electroluminescence imaging module, and the infrared thermal imaging module, respectively. It receives the raw EL image (IEL) and infrared thermal imaging temperature distribution data (TIR) as inputs and performs independent preprocessing on the two types of data.
[0038] For the original EL image (IEL), the image denoising unit in the data preprocessing module first performs median filtering denoising. Median filtering is a non-linear filtering method. Its basic principle is: for each pixel in the image, take the gray values of all pixels within its neighborhood window (usually 3×3 or 5×5 pixels), sort these gray values by size, and take the median as the new gray value of that pixel. Median filtering can effectively remove salt-and-pepper noise and random noise in the EL image while preserving the edge information of defective areas in the image, resulting in a denoised EL image. Subsequently, the image enhancement unit performs contrast-limited adaptive histogram equalization (CLAHE) enhancement processing on the denoised EL image. The core idea of the CLAHE algorithm is to divide the image into multiple non-overlapping sub-blocks, perform histogram equalization on each sub-block to enhance local contrast, and simultaneously crop the height of the histogram to prevent excessive noise amplification. Finally, bilinear interpolation is used to eliminate the boundary effects between sub-blocks. After CLAHE processing, the contrast between defective and normal areas in the EL image, which originally had small grayscale differences, is significantly enhanced, which is beneficial for subsequent defect identification. Finally, the image segmentation unit performs cell mesh segmentation processing on the enhanced EL image based on edge detection and morphological operations. Specifically, the Canny edge detection operator is first used to extract the grid line boundaries between cells in the enhanced EL image. Then, morphological dilation and erosion operations are used to connect broken edge segments and eliminate isolated noise points. Finally, connected component analysis is used to extract the closed contours of each cell to obtain the EL feature image. and cell segmentation mask Cell area segmentation mask It is a binary label matrix for each pixel in the image. , The value represents the cell number to which the pixel belongs (values are 1, 2, ...). ,in , which is the total number of solar cells in the photovoltaic module under test, thus including the outline boundary information and spatial location information of each solar cell.
[0039] For infrared thermal imaging temperature distribution data (TIR), the temperature calibration unit in the data preprocessing module first performs temperature calibration. The purpose of temperature calibration is to convert the raw radiation intensity values output by the infrared thermal imager into physically meaningful temperature values. This conversion is typically achieved using a pre-established blackbody radiation calibration curve. Subsequently, the temperature calibration unit performs spatial interpolation on the calibrated data. Since the spatial resolution of an infrared thermal imager is usually lower than that of an EL camera, a bicubic interpolation algorithm is used to upsample the infrared temperature distribution data to the same spatial size as the EL feature image for subsequent pixel-level registration, resulting in a calibrated temperature distribution matrix. Calibrated temperature distribution matrix Each pixel value in the graph represents the surface temperature value corresponding to that pixel.
[0040] Step S5: Using the cell region segmentation mask as a reference, perform spatial transformation and pixel-level alignment on the EL feature image and the calibrated temperature distribution matrix to obtain the spatially registered EL feature image and the spatially registered temperature distribution matrix.
[0041] The image registration module is connected to the data preprocessing module to receive EL feature images. Cell area segmentation mask and calibrated temperature distribution matrix As input, the core task of the image registration module is to establish a precise pixel-level spatial correspondence between the EL feature image and the temperature distribution matrix, so that the EL features and temperature features of the same solar cell can be spatially aligned.
[0042] Specifically, the image registration module first extracts the EL feature image. The corner features form the first feature point set. Corner feature extraction uses the Harris corner detection algorithm, which determines whether a point is a corner by calculating the feature value of the gray-level change matrix (i.e., autocorrelation matrix) of each pixel in the image within its neighborhood window: when the gray-level changes in two orthogonal directions are both large, the point is identified as a corner.
[0043] Meanwhile, the image registration module extracts the calibrated temperature distribution matrix. The corner features form the second feature point set. .
[0044] It is worth noting that although EL images and infrared images have different imaging principles, they both reflect the same physical structure of photovoltaic modules, specifically the grid-like arrangement of the cells. Therefore, both have a consistent spatial distribution of corner points at the edges of the cells and the intersections of the grid lines, which provides feasibility for image registration based on feature points.
[0045] Subsequently, the image registration module performs image registration on the first feature point set. Second feature point set Perform nearest neighbor matching and random sampling consistency screening to obtain matching feature point pairs.
[0046] Specifically, for the first feature point set Each feature point in the second feature point set The algorithm searches for the point closest to its feature descriptor (such as a SIFT or ORB descriptor) in the data as a candidate match. Then, iteratively filters out the correct matching point pairs that satisfy the same spatial transformation model using the RANSAC algorithm, while removing incorrect matching point pairs (i.e., outliers). The basic principle of the RANSAC algorithm is as follows: randomly select a minimum number of matching point pairs (3 pairs for affine transformations and 4 pairs for perspective transformations) to estimate a transformation model. Then, count the number of interior points in all matching point pairs that satisfy the model. Repeat the above process multiple times and select the model with the most interior points as the final model. The corresponding matching point pairs are the filtered matching feature point pairs.
[0047] Based on the selected matching feature point pairs, the image registration module calculates the spatial transformation matrix. The spatial transformation matrix can be either an affine transformation matrix or a perspective transformation matrix; the choice of which transformation to use depends on the degree of spatial distortion between the EL image and the infrared image. The form of the affine transformation matrix is:
[0048] in, , , , For rotation, scaling, and shearing parameters, and Here are the translation parameters. Affine transformations preserve the "flatness" (straight lines remain straight lines after transformation) and "parallelism" (parallel lines remain parallel lines after transformation), making them suitable for situations where the difference in imaging viewpoint is small. The perspective transformation matrix has the following form:
[0049] in, and For perspective distortion parameters, perspective transformation can correct trapezoidal distortion caused by different camera angles, and is suitable for situations where there is a large difference in angle between EL cameras and infrared thermal imagers.
[0050] Finally, the image registration module uses the battery cell region segmentation mask M as the spatial reference and applies the spatial transformation matrix to the EL feature images respectively. and calibrated temperature distribution matrix Spatially registered EL feature images are obtained through bilinear interpolation resampling. Temperature distribution matrix after spatial registration After the above registration process, the spatially registered EL feature image Temperature distribution matrix after spatial registration Precise alignment was achieved at the pixel level, meaning that EL grayscale values and temperature values located at the same pixel coordinates correspond to the same physical location on the photovoltaic module under test, providing a foundation for subsequent deep fusion of multi-source data.
[0051] Step S6: Delineate each battery cell region in the spatially registered EL feature image based on the battery cell region segmentation mask, and extract the EL image feature vector of each battery cell region; at the same time, delineate each battery cell region in the spatially registered temperature distribution matrix based on the battery cell region segmentation mask, and extract the temperature feature vector of each battery cell region.
[0052] The feature extraction module is connected to the image registration module and receives the spatially registered EL feature image. Temperature distribution matrix after spatial registration and cell area segmentation mask As input, the feature extraction module segments the mask based on the battery cell region. Each cell region is delineated in the EL feature image and the temperature distribution matrix, and then the EL image feature vector and temperature feature vector are extracted from each cell region.
[0053] For the Each battery cell area The feature extraction module first extracts features from the spatially registered EL feature image. Extracting feature vectors from EL images .
[0054] Specifically, EL image feature vector It includes the following four characteristic components: The first feature component is the mean gray level of the region. The calculation formula is as follows:
[0055] in, For the first The total number of pixels in each battery cell region The grayscale value (ranging from 0 to 255) at each pixel in the spatially registered EL feature image. The mean grayscale value of the region reflects the overall luminous intensity level of the solar cell and is a fundamental indicator for determining whether the solar cell has experienced performance degradation.
[0056] The second characteristic component is the regional gray-level variance. The calculation formula is as follows:
[0057] The regional grayscale variance reflects the degree of dispersion of grayscale values within the solar cell region. The larger the variance, the worse the uniformity of light emission at different locations within the solar cell, which may indicate the presence of local defects.
[0058] The third feature component is the texture feature value, extracted using the Local Binary Pattern (LBP) operator. For the region... For each pixel within the range, take a 3×3 neighborhood window centered on it (i.e., P=8 neighboring pixels), and record the gray value of the center pixel. grayscale values of neighboring pixels If a comparison is made, If the value is 1, it is recorded as 1; otherwise, it is recorded as 0, thus forming an 8-bit binary number. This binary number is then converted to a decimal number as the LBP value of that pixel. The texture feature value of the entire region is obtained by performing histogram statistics on the LBP values of all pixels. The LBP texture feature can effectively distinguish different types of defects. For example, microcrack defects usually exhibit a linear texture pattern, while hot spot defects usually exhibit a speckled texture pattern. Therefore, this feature provides an important comparative basis for the automatic classification of defect types.
[0059] The fourth feature component is the area ratio of the defect region. This is used to quantify the severity of internal defects in the solar cell. Specifically, the feature extraction module first sets the... Dynamic threshold of individual cell regions The calculation formula is as follows:
[0060] in, For the first The average grayscale value of each battery cell region For the first The standard deviation of grayscale in each cell region This is an empirical threshold coefficient; The area of the defective region accounts for 1 / 3 of the total area. The calculation formula is:
[0061] in, This is an indicator function that takes the value 1 when the condition within the parentheses is true, and 0 otherwise. Therefore, Indicates the first The higher the percentage of pixels with grayscale values below the dynamic threshold within a given cell area, the more severe the defect in that cell.
[0062] Meanwhile, the feature extraction module segments the mask according to the battery cell region. Temperature distribution matrix after spatial registration The regions of each solar cell are defined, and the temperature feature vectors of each solar cell are extracted. Temperature eigenvector It includes the following four characteristic components: The first characteristic component is the regional temperature mean. The calculation formula is as follows:
[0063] in, The spatially registered temperature distribution matrix at the pixel level The temperature value at that location.
[0064] The second characteristic component is the regional temperature variance. The calculation formula is as follows:
[0065] The third characteristic component is the highest temperature value. This feature provides an indication for detecting localized overheating spots.
[0066] The fourth characteristic component is the temperature gradient characteristic value. The calculation formula is as follows:
[0067] in, and These are the first-order partial derivatives in the horizontal and vertical directions, respectively. In practical calculations, the discrete difference approximation is used, for example... , The temperature gradient characteristic value reflects the degree of spatial variation of the temperature field within the cell region. A larger gradient value indicates the presence of a significant temperature abrupt change region, which is an important indicator of hot spot defects.
[0068] In addition, temperature eigenvectors It also includes the relative temperature difference ratio The calculation formula is as follows:
[0069] in, For the first Average temperature of each cell region The average temperature of all cell areas in the entire module, relative temperature difference ratio As a dimensionless parameter, it reflects the first The degree of deviation of a single cell's temperature from the average temperature of the entire module. When a particular cell's... When the value is significantly higher than that of other solar cells (e.g., exceeding 15%), it indicates that the solar cell has abnormal heat generation, triggering a hot spot warning.
[0070] Step S7: Input the electrical performance parameter set, the EL image feature vector of each cell, and the temperature feature vector of each cell into the preset multi-source data fusion model, and output the comprehensive health status assessment vector of each cell.
[0071] Specifically, the data fusion module is connected to the feature extraction module and the electrical performance testing module to receive the electrical performance parameter set. The EL image feature vector and temperature feature vector of each solar cell are used as inputs. The data fusion module inputs these multi-source heterogeneous data into a preset multi-source data fusion model and outputs a comprehensive health status assessment vector for each solar cell. .
[0072] The multi-source data fusion model is a multimodal fusion model built on a deep neural network. Its network architecture includes three parallel encoding branches and one fusion decoder. The first encoding branch is the electrical performance parameter encoding branch, which first encodes the electrical performance parameter set. Minimum-maximum normalization is performed to map the value range of each parameter to the [0,1] interval. Then, the normalized 6-dimensional electrical performance parameters are encoded into a 128-dimensional electrical performance embedding vector through a fully connected layer (containing 64 neurons). The second encoding branch is the EL image feature encoding branch. This branch inputs the 4D EL image feature vectors of each battery cell into a multilayer perceptron (MLP). This MLP contains two hidden layers with 64 and 128 neurons respectively, and outputs a 128-dimensional EL embedding vector. The third encoding branch is the temperature feature encoding branch. This branch inputs the 5-dimensional temperature feature vector of each cell into another MLP with the same structure, and outputs a 128-dimensional temperature embedding vector. .
[0073] After obtaining the embedding vectors of the three modalities, the multi-source data fusion model does not simply concatenate them. Instead, it first introduces a cross-modal attention mechanism to calculate the contribution weights of each modality. Specifically, for the first... Each solar cell, EL mode contribution The calculation formula is:
[0074] Temperature mode contribution The calculation formula is:
[0075] in, and The learnable weight matrices (1×128 in dimension) for the EL mode and the temperature mode are determined by optimization using the backpropagation algorithm during the model training phase. and All parameters are dimensionless, ranging from 0 to 1, representing the relative importance of EL image features and temperature features in the fusion process, respectively. Specifically, when a solar cell has obvious EL image defects (such as microcracks causing grayscale abnormalities), the model automatically increases the contribution weight of the EL mode. When a solar cell has obvious hot spot effects (such as abnormal temperature increases), the model automatically increases the contribution weight of the temperature mode, thereby achieving data-driven adaptive weighted fusion, which has stronger generalization ability and higher diagnostic accuracy compared to fixed-weight fusion methods.
[0076] Subsequently, the multi-source data fusion model embeds the electrical performance embedding vector and the weighted EL embedding vector. and weighted temperature embedding vector A concatenation and fusion operation is performed to obtain a 384-dimensional fused feature vector. This fused feature vector undergoes a non-linear transformation through a fully connected mapping layer (containing 256 neurons), and is finally mapped to a 3-dimensional comprehensive health status assessment vector through an output layer (containing 3 neurons).
[0077] Among them, the first dimension Indicates the first The health score of each solar cell is determined by a value closer to 1, indicating a healthier cell. The second dimension... The third dimension represents the probability distribution of defect types, which can be converted into probability values for various defects (such as microcracks, broken gates, cold solder joints, hot spots, etc.) using the Softmax function; This represents the severity index of the defect; the closer the value is to 1, the more severe the defect.
[0078] It should be noted that the training process of the aforementioned multi-source data fusion model was completed before system deployment. Specifically, a large amount of photovoltaic module test data with known defect types and severity was collected as training samples. Each training sample included a set of electrical performance parameters, EL image feature vectors, temperature feature vectors, and manually labeled health status tags. The model parameters were trained end-to-end using the cross-entropy loss function and the Adam optimization algorithm until the model's evaluation accuracy on the validation set reached a preset threshold.
[0079] Step S8: Based on the comprehensive health status assessment vector of each cell, generate the overall health status score and defect diagnosis report of the photovoltaic module under test.
[0080] Specifically, the comprehensive evaluation module is connected to the data fusion module to receive the comprehensive health status evaluation vector of each battery cell. As input, an overall health status score and defect diagnosis report of the tested photovoltaic module are generated.
[0081] The comprehensive assessment module first calculates the overall health status score of the tested photovoltaic module based on the health scores of each cell. This score ranges from 0 to 1, reflecting the average health level of the tested photovoltaic module. Simultaneously, the comprehensive assessment module maps the health scores of each cell according to its spatial location within the photovoltaic module into a health score distribution map. This distribution map visually displays the differences in the health status of each cell in the form of a heat map or contour map, facilitating maintenance personnel to quickly locate abnormal cells.
[0082] The comprehensive evaluation module also determines the defect type classification result for each solar cell based on the probability of each defect type. Specifically, for the first... For each solar cell, the defect type with the highest defect type probability value is selected as the defect type label for that cell. Simultaneously, the defect severity level of each cell is determined based on its defect severity index. For example, a defect severity index between 0 and 0.3 is classified as a minor defect, between 0.3 and 0.7 as a moderate defect, and between 0.7 and 1.0 as a severe defect.
[0083] Finally, the comprehensive evaluation module generates a complete defect diagnosis report. This report includes the overall health status score of the tested photovoltaic module, a health score distribution map for each cell, defect type classification results for each cell, defect severity level for each cell, and maintenance recommendations automatically generated based on the evaluation results. The generation of maintenance recommendations follows a preset decision-making logic: If the overall health status score is higher than 0.8, it is recommended to "continue normal operation and recheck during the next routine maintenance"; if the overall health status score is between 0.5 and 0.8, it is recommended to "schedule an upcoming maintenance, focusing on the battery cells with a health status score below 0.5"; if H_global is lower than 0.5, it is recommended to "immediately shut down for maintenance and consider replacing the battery cells with a health status score below 0.3".
[0084] like Figures 1 to 4 As shown, a photovoltaic module testing system includes a central controller, an electrical performance testing module, an electroluminescence imaging module, an infrared thermal imaging module, a data preprocessing module, an image registration module, a feature extraction module, a data fusion module, and a comprehensive evaluation module.
[0085] The central controller is connected to the electrical performance testing module, the electroluminescence imaging module, and the infrared thermal imaging module, respectively, to respond to the received start test command.
[0086] Specifically, the central controller responds to the received start test command, in The system synchronously sends voltage scan signals and thermal imaging integration trigger signals at all times, and automatically triggers a bias current loading command when the programmable voltage scan signal reaches the maximum power point voltage. The central controller integrates a high-precision clock source and timing logic control circuit, with timing control accuracy down to the microsecond level, ensuring strict synchronization between all test modules.
[0087] The electrical performance testing module is connected to the central controller and is used to apply a programmable voltage scanning signal to the photovoltaic module under test according to the voltage scanning signal issued by the central controller, collect the output current value of the photovoltaic module under test at each voltage scanning point, generate IV characteristic curve data, and extract the electrical performance parameter set based on the IV characteristic curve data.
[0088] The electrical performance testing module includes a programmable DC power supply, a high-precision current sensor, and an analog-to-digital converter (ADC). The programmable DC power supply generates a unidirectional scanning voltage signal from short-circuit to open-circuit or from open-circuit to short-circuit states. Its output voltage range is 0V to 1.2 times the open-circuit voltage of the photovoltaic module under test, and its output current capability is 1.5 times the short-circuit current of the photovoltaic module under test. The high-precision current sensor is connected in series in the test loop to acquire the output current value at each voltage scanning point, with a measurement accuracy of ±0.1% of full scale. The ADC converts the analog current signal into a digital signal with a sampling resolution of 16 bits and a sampling rate of 100 kSPS.
[0089] When performing voltage scanning, the electrical performance testing module adopts an adaptive step size adjustment mechanism. The specific parameter settings of this adaptive step size adjustment mechanism have been described in detail in step S1 of the method section, and will not be repeated here.
[0090] The electroluminescence imaging module is connected to the central controller and is used to apply a forward bias current to the photovoltaic module under test according to the bias current loading command issued by the central controller, collect the near-infrared light signal emitted by the photovoltaic module under test under electroluminescence conditions, and generate the raw EL image IEL.
[0091] The electroluminescence imaging module internally includes a programmable DC current source, an InGaAs infrared camera, and an optical filtering system. The programmable DC current source applies a forward bias current of 1.1 to 2.0 times the nominal operating current to the photovoltaic module under test, with an output current accuracy of ±0.5%. The InGaAs infrared camera is a high-sensitivity near-infrared camera with a spectral response range of 900 nm to 1700 nm, exhibiting particularly high quantum efficiency (>80%) for near-infrared light signals in the 900 nm to 1200 nm band. The camera resolution is 2048 × 2048 pixels, with a pixel size of 15 μm × 15 μm and dark current noise below 100 e⁻ / s. The optical filtering system includes a bandpass filter placed in front of the InGaAs infrared camera lens, with a center wavelength of 1050 nm and a full width at half maximum (FWHM) of 100 nm, used to filter out ambient light interference, ensuring that only near-infrared light signals generated by electroluminescence are acquired.
[0092] The infrared thermal imaging module is connected to the central controller and is used to collect the surface infrared radiation signal of the photovoltaic module under test in a preset working state according to the thermal imaging integration trigger signal issued by the central controller, and generate infrared thermal imaging temperature distribution data (TIR).
[0093] The infrared thermal imaging module internally includes an uncooled focal plane infrared thermal imager and a temperature calibration unit. The infrared thermal imager has a spectral response range of 7.5μm to 14μm, a detector resolution of 640×480 pixels, a thermal sensitivity better than 0.05℃ (at 30℃), a temperature measurement range of -20℃ to 150℃, and a temperature measurement accuracy of ±2℃ or ±2% of the reading (whichever is greater). The temperature calibration unit incorporates a blackbody reference source for real-time calibration of the infrared thermal imager's output drift, ensuring long-term stability of temperature data.
[0094] The data preprocessing module is connected to the electrical performance testing module, the electroluminescence imaging module, and the infrared thermal imaging module, respectively. It is used to perform denoising, enhancement, and cell segmentation processing on the raw EL image to obtain the EL feature image and the cell region segmentation mask. At the same time, it performs temperature calibration and spatial interpolation processing on the infrared thermal imaging temperature distribution data to obtain the calibrated temperature distribution matrix.
[0095] The data preprocessing module includes an image denoising unit, an image enhancement unit, an image segmentation unit, and a temperature calibration unit. The image denoising unit performs median filtering on the original EL image to obtain a denoised EL image. The window size for median filtering is adaptively determined based on the noise level in the EL image, typically 3×3 pixels or 5×5 pixels.
[0096] The image enhancement unit is connected to the image denoising unit and is used to perform contrast-limited adaptive histogram equalization enhancement processing on the denoised EL image to obtain the enhanced EL image. The specific parameters of the CLAHE algorithm are set as follows: sub-block size is 8×8 pixels, histogram cropping limit is 0.01, and interpolation method is bilinear interpolation.
[0097] The image segmentation unit is connected to the image enhancement unit to perform battery cell mesh segmentation processing on the enhanced EL image based on edge detection and morphological operations, obtaining the EL feature image and a battery cell region segmentation mask. Edge detection uses the Canny operator with high and low thresholds of 100 and 50 respectively (based on the relative values after normalization of image grayscale values). Morphological operations include dilation and erosion of 3×3 structuring elements to connect broken edges and eliminate isolated noise points. Connectivity analysis uses 8-neighborhood connectivity determination, with a minimum connected component area threshold set to 100 pixels to avoid misclassifying small noise points as battery cells.
[0098] The temperature calibration unit performs temperature calibration and spatial interpolation on the infrared thermal imaging temperature distribution data to obtain a calibrated temperature distribution matrix. Temperature calibration is based on a pre-established three-point blackbody calibration curve (0℃, 50℃, 100℃), using linear interpolation to convert the original radiation intensity values into temperature values. Spatial interpolation employs a bicubic interpolation algorithm to upsample the temperature distribution data to the same spatial size as the EL feature image.
[0099] The image registration module is connected to the data preprocessing module. It is used to extract corner features from the EL feature image to form a first feature point set based on the battery cell region segmentation mask, and extract corner features from the calibrated temperature distribution matrix to form a second feature point set. Nearest neighbor matching and RANSAC filtering are performed on the first and second feature point sets to obtain matching feature point pairs. The spatial transformation moment is calculated based on the matching feature point pairs. The spatial transformation matrix is applied to the EL feature image and the calibrated temperature distribution matrix respectively to obtain the spatially registered EL feature image and the spatially registered temperature distribution matrix.
[0100] The image registration module internally includes a corner detection unit, a feature matching unit, a transformation matrix calculation unit, and an image resampling unit. The corner detection unit uses the Harris corner detection algorithm with a response threshold of 1000. The transformation matrix calculation unit uses the RANSAC algorithm for iterative optimization, with a maximum of 2000 iterations and an interior point distance threshold of 3 pixels. The image resampling unit uses bilinear interpolation to resample the image to avoid jagged edges.
[0101] The feature extraction module is connected to the image registration module. It is used to delineate the regions of each battery cell in the spatially registered EL feature image based on the battery cell region segmentation mask, and extract the mean gray level, gray level variance, texture feature value, and defect area ratio of each battery cell region to form the EL image feature vector of each battery cell. At the same time, it delineates the regions of each battery cell in the spatially registered temperature distribution matrix based on the battery cell region segmentation mask, and extracts the mean temperature, temperature variance, maximum temperature value, temperature gradient feature value, and relative temperature difference ratio of each battery cell region to form the temperature feature vector of each battery cell.
[0102] The data fusion module is connected to the feature extraction module and the electrical performance testing module. It is used to input the electrical performance parameter set, the EL image feature vector of each battery cell and the temperature feature vector of each battery cell into the preset multi-source data fusion model, and output the comprehensive health status evaluation vector of each battery cell.
[0103] The data fusion module is equipped with a pre-trained multimodal fusion deep neural network model. During actual system operation, the data fusion module normalizes the received electrical performance parameter set, EL image feature vector, and temperature feature vector before inputting them into the model. Through the model's forward inference calculation, the comprehensive health status assessment vector of each battery cell is obtained. The feature extraction module includes a region delineation unit, an EL feature calculation unit, and a temperature feature calculation unit. The region delineation unit delineates each battery cell region in each registered data matrix based on the label values of the battery cell region segmentation mask. The EL feature calculation unit calculates each EL feature component according to the aforementioned formula, where the default value for the empirical threshold coefficient is 1.8. The temperature feature calculation unit calculates each temperature feature component.
[0104] The comprehensive evaluation module is connected to the data fusion module and is used to generate an overall health status score and defect diagnosis report for the tested photovoltaic module based on the comprehensive health status evaluation vector of each cell.
[0105] Furthermore, the comprehensive evaluation module includes a scoring calculation unit, a report generation unit, and a display output unit.
[0106] Obviously, the above-described embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention also intends to include these modifications and variations.
Claims
1. A method for testing photovoltaic modules, characterized in that, Includes the following steps: Step S1: Apply a programmable voltage scanning signal to the photovoltaic module under test, collect the output current value of the photovoltaic module under test at each voltage scanning point, generate IV characteristic curve data, and extract the electrical performance parameter set based on the IV characteristic curve data; Step S2: Apply a forward bias current to the photovoltaic module under test, collect the near-infrared light signal emitted by the photovoltaic module under test under electroluminescence conditions, and generate the raw EL image; Step S3: Collect the surface infrared radiation signal of the photovoltaic module under test under a preset working state, and generate infrared thermal imaging temperature distribution data; Step S4: Perform denoising, enhancement, and battery cell segmentation processing on the original EL image to obtain the EL feature image and battery cell region segmentation mask; at the same time, perform temperature calibration and spatial interpolation processing on the infrared thermal imaging temperature distribution data to obtain the calibrated temperature distribution matrix. Step S5: Using the battery cell region segmentation mask as a reference, perform spatial transformation and pixel-level alignment on the EL feature image and the calibrated temperature distribution matrix to obtain the spatially registered EL feature image and the spatially registered temperature distribution matrix. Step S6: Delineate each battery cell region in the spatially registered EL feature image according to the battery cell region segmentation mask, extract the EL image feature vector of each battery cell region, delineate each battery cell region in the spatially registered temperature distribution matrix according to the battery cell region segmentation mask, and extract the temperature feature vector of each battery cell region. Step S7: Input the electrical performance parameter set, the EL image feature vector of each battery cell, and the temperature feature vector of each battery cell into a preset multi-source data fusion model, and output the comprehensive health status assessment vector of each battery cell. Step S8: Based on the comprehensive health status assessment vector of each solar cell, generate the overall health status score and defect diagnosis report of the photovoltaic module under test.
2. The photovoltaic module testing method as described in claim 1, characterized in that, In step S1, in response to the received start test command, the central controller... Simultaneously transmit voltage scanning signals and thermal imaging integration trigger signals at all times; The programmable voltage scan signal is a unidirectional scan voltage signal from a short-circuit state to an open-circuit state or a unidirectional scan voltage signal from an open-circuit state to a short-circuit state. The scan step size of the voltage scan signal is adaptively adjusted according to the capacitance characteristics of the photovoltaic module under test. The adaptive adjustment method of the scan step size is as follows: in, For the first Voltage scan step size of the step, The reference voltage step size, For adaptive coefficients, For the first The output current value collected step by step, This is the maximum current observed during this scan. The set of electrical performance parameters includes short-circuit current, open-circuit voltage, maximum power point voltage, maximum power point current, maximum power, and fill factor.
3. The photovoltaic module testing method as described in claim 1, characterized in that, In step S2, when the programmable voltage scanning signal scans to the maximum power point voltage, the central controller automatically triggers the bias current loading command. The forward bias current is 1.1 to 2.0 times the nominal operating current of the photovoltaic module under test; the wavelength range of the near-infrared light signal is 900nm-1200nm; The raw EL image was acquired using an infrared camera.
4. The photovoltaic module testing method as described in claim 1, characterized in that, In step S4, the original EL image is subjected to denoising, enhancement, and battery cell segmentation processing, which specifically includes the following sub-steps: Step S4.1: Perform median filtering denoising on the original EL image to obtain a denoised EL image; Step S4.2: Perform contrast-limited adaptive histogram equalization enhancement processing on the denoised EL image to obtain an enhanced EL image; Step S4.3: Perform battery cell mesh segmentation processing based on edge detection and morphological operations on the enhanced EL image to obtain the EL feature image and the battery cell region segmentation mask. The battery cell region segmentation mask contains the contour boundary information and spatial location information of each battery cell.
5. The photovoltaic module testing method as described in claim 1, characterized in that, In step S5, spatial transformation and pixel-level alignment are performed, which specifically includes the following sub-steps: Step S5.1: Extract corner features from the EL feature image to form a first feature point set, and extract corner features from the calibrated temperature distribution matrix to form a second feature point set; Step S5.2: Perform nearest neighbor matching and random sampling consistency screening on the first feature point set and the second feature point set to obtain matching feature point pairs; Step S5.3: Calculate the spatial transformation matrix based on the matched feature point pairs, wherein the spatial transformation matrix is an affine transformation matrix or a perspective transformation matrix; Step S5.4: Using the battery cell region segmentation mask as a spatial reference, apply the spatial transformation matrix to the EL feature image and the calibrated temperature distribution matrix respectively to obtain the spatially registered EL feature image and the spatially registered temperature distribution matrix.
6. The photovoltaic module testing method as described in claim 1, characterized in that, In step S6, the EL image feature vector of each battery cell includes the mean gray level, gray level variance, texture feature value, and area ratio of the defect region of each battery cell region. The method for obtaining the area ratio of the defective region is as follows: set the first... Dynamic threshold of individual cell regions The dynamic threshold The method of obtaining it is: in, For the first The average grayscale value of each battery cell region For the first The standard deviation of grayscale in each cell region This is an empirical threshold coefficient; The area of the defective region accounts for the proportion of... The area ratio of the defective region The calculation formula is: in, For the first The total number of pixels in each battery cell region For the first Each battery cell area, For spatially registered EL feature images at pixel points grayscale value at that location This is an indicator function.
7. The photovoltaic module testing method as described in claim 1, characterized in that, In step S6, the temperature feature vector of each battery cell includes the mean temperature, temperature variance, maximum temperature value, and temperature gradient feature value of each battery cell region. The method for obtaining the temperature gradient feature values is as follows: in, The spatially registered temperature distribution matrix at the pixel level Temperature value at that location, and These are the first-order partial derivatives in the horizontal and vertical directions, respectively; The temperature feature vector of each battery cell also includes the relative temperature difference ratio. The formula for calculating the relative temperature difference ratio is: in, For the first Average temperature of each cell region This represents the average temperature across all cell regions of the entire module.
8. A photovoltaic module testing method as described in claim 1, characterized in that, In step S7, the preset multi-source data fusion model is a multi-modal fusion model built on a deep neural network. Before performing splicing and fusion on the electrical performance embedding vector, the EL embedding vector and the temperature embedding vector, the multi-modal fusion model first calculates the EL mode contribution and the temperature mode contribution. The multimodal fusion model performs weighted fusion of the EL embedding vector and the temperature embedding vector based on the EL modal contribution and the temperature modal contribution, and then performs the splicing fusion; the comprehensive health status assessment vector includes the health score, defect type label and defect severity level of each cell.
9. A photovoltaic module testing system for implementing the photovoltaic module testing method as described in any one of claims 1-8, characterized in that, include: The electrical performance testing module is used to apply a programmable voltage scanning signal to the photovoltaic module under test, collect the output current value of the photovoltaic module under test at each voltage scanning point, generate IV characteristic curve data, and extract the electrical performance parameter set based on the IV characteristic curve data. An electroluminescence imaging module is used to apply a forward bias current to the photovoltaic module under test, acquire the near-infrared light signal emitted by the photovoltaic module under test under electroluminescence conditions, and generate a raw EL image. The infrared thermal imaging module is used to collect the surface infrared radiation signal of the photovoltaic module under test under a preset working state and generate infrared thermal imaging temperature distribution data. The data preprocessing module is connected to the electrical performance testing module, the electroluminescence imaging module, and the infrared thermal imaging module, respectively. It is used to perform denoising, enhancement, and cell segmentation processing on the raw EL image to obtain the EL feature image and the cell region segmentation mask. At the same time, it performs temperature calibration and spatial interpolation processing on the infrared thermal imaging temperature distribution data to obtain the calibrated temperature distribution matrix. An image registration module, connected to the data preprocessing module, is used to perform spatial transformation and pixel-level alignment on the EL feature image and the calibrated temperature distribution matrix based on the battery cell region segmentation mask, to obtain a spatially registered EL feature image and a spatially registered temperature distribution matrix. The feature extraction module, which is connected to the image registration module, is used to delineate each battery cell region in the spatially registered EL feature image according to the battery cell region segmentation mask, and extract the EL image feature vector of each battery cell region. At the same time, it delineates each battery cell region in the spatially registered temperature distribution matrix according to the battery cell region segmentation mask, and extracts the temperature feature vector of each battery cell region. The data fusion module is connected to the feature extraction module and the electrical performance testing module. It is used to input the electrical performance parameter set, the EL image feature vector of each battery cell and the temperature feature vector of each battery cell into a preset multi-source data fusion model, and output the comprehensive health status evaluation vector of each battery cell. A comprehensive evaluation module, connected to the data fusion module, is used to generate an overall health status score and defect diagnosis report for the tested photovoltaic module based on the comprehensive health status evaluation vector of each solar cell.
10. A photovoltaic module testing system as described in claim 9, characterized in that, The data preprocessing module includes: An image denoising unit is used to perform median filtering denoising on the original EL image to obtain a denoised EL image; An image enhancement unit, connected to the image denoising unit, is used to perform contrast-limited adaptive histogram equalization enhancement processing on the denoised EL image to obtain an enhanced EL image; An image segmentation unit, connected to the image enhancement unit, is used to perform battery cell mesh segmentation processing based on edge detection and morphological operations on the enhanced EL image to obtain the EL feature image and the battery cell region segmentation mask; The temperature calibration unit is used to perform temperature calibration and spatial interpolation processing on the infrared thermal imaging temperature distribution data to obtain the calibrated temperature distribution matrix.
