Detection method of white-out defects in main grid lines of photovoltaic modules

The photovoltaic module detection method based on the convolutional neural network model solves the problem of difficulty in efficiently detecting the main grid line exposure defects of photovoltaic modules in the existing technology, achieves efficient and accurate detection in different scenarios, and improves detection accuracy and reliability.

CN114596240BActive Publication Date: 2024-10-15ZHEJIANG CHINT ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011393487.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-03
Publication Date
2024-10-15
Estimated Expiration
2040-12-03

AI Technical Summary

Technical Problem

Existing photovoltaic module defect detection methods work well under controlled conditions, but it is difficult to efficiently and accurately detect small defects such as exposed main grid lines, and there is considerable interference from external environmental factors.

Method used

The detection method based on the convolutional neural network model is used to obtain the initial image of the photovoltaic module, convert it into a grayscale image, calculate the tilt angle of the cell, construct constraints, locate and cut the main grid line image, and input it into the convolutional neural network The model is used to determine exposed defects to reduce the impact of human factors.

Benefits of technology

It achieves efficient and accurate detection of photovoltaic module main grid line exposure defects in different scenarios, improves the detection rate and accuracy, and reduces the influence of subjective factors of personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114596240B_ABST
    Figure CN114596240B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of photovoltaic module busbar detection, and specifically to a method for detecting white-exposed defects in photovoltaic module busbars. The inherent process rules of the busbars are added to an image cutting algorithm based on image processing to construct an adaptive photovoltaic module busbar cutting algorithm to cut out separate busbars. A convolutional neural network model is used to determine whether a white-exposed defect exists, and whether a busbar has a white-exposed defect can be detected efficiently and accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of photovoltaic module busbar detection, and in particular to a method for detecting white-out defects in photovoltaic module busbars, in particular to a method for detecting white-out defects in photovoltaic module busbars based on a convolutional neural network model. Background Art

[0002] As a renewable and clean energy, solar energy is increasingly favored and valued by the market. As the core components of solar power generation, the quality of solar cell photovoltaic modules is directly related to the power loss of the cells. Serious quality problems of the cells may cause the entire photovoltaic module to be scrapped; therefore, defect detection of photovoltaic module cells has very important research significance and economic value.

[0003] Existing methods for detecting defects in photovoltaic modules only work well under controlled conditions or in complex image capture systems. However, they cannot achieve efficient and accurate detection of certain minor defects in photovoltaic modules, especially defects such as white exposure of the main grid line. In addition, external environmental factors such as interference from EVA film, mechanical vibration of the conveyor belt, and different lighting conditions greatly interfere with the detection of white exposure defects of the main grid line. Summary of the invention

[0004] The purpose of the present invention is to overcome the defects of the prior art and provide a method for detecting white-exposed defects of the main grid lines of a photovoltaic module, which can efficiently and accurately detect whether the main grid lines have white-exposed defects.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] A method for detecting white-out defects of main grid lines of photovoltaic modules comprises the following steps:

[0007] Step A, obtaining an initial photovoltaic module image I of the photovoltaic module O And convert it into a photovoltaic module grayscale image I G , based on the grayscale image I of the photovoltaic module G Get the image I of the individual cell area S ;

[0008] Step B: based on the individual cell area image I S , calculate the cell tilt angle A of the cell T ; According to the battery cell tilt angle A of the battery cell T For a single cell area image I S Correction is performed to obtain the corrected individual cell area image I C ;

[0009] Step C, constructing constraint conditions based on the pre-stored specification parameters of the photovoltaic module and the inherent properties of the main grid line of the solar cell;

[0010] Step D: according to the constraint condition, the image I of the individual cell area is C Processing is performed to locate the main grid lines according to the constraint conditions and cut out a main grid line image containing the complete main grid lines;

[0011] Step E: inputting the busbar image into a convolutional neural network model, and the convolutional neural network model outputs a white spot defect determination result, wherein the white spot defect determination result is the presence of a white spot defect or the absence of a white spot defect.

[0012] Preferably, the detection method further comprises the following steps:

[0013] Step F: If the busbar image has a white defect, then the length and width of the white defect are calculated based on the busbar image.

[0014] Preferably, step A comprises the following sub-steps:

[0015] Step A1, obtaining an initial photovoltaic component image I of the photovoltaic component O , convert the photovoltaic module initial image I into the photovoltaic module grayscale image I G ;

[0016] Step A2: respectively process the photovoltaic module grayscale image I by row and column G The pixel values ​​are summed to obtain the row histogram I of the corresponding photovoltaic module H1 and column histogram I H2 ;

[0017] Step A3, according to the row histogram I of the photovoltaic module H1 and column histogram I H2 The peaks and valleys of the photovoltaic module are removed. G The top, bottom, left and right blank areas;

[0018] Step A4, according to the pre-stored specification parameters of the photovoltaic module, obtaining the arrangement rules of the cells in the photovoltaic module; according to the row histogram I of the photovoltaic module H1 and column histogram I H2 The peaks and valleys of the wave are cut out to form the image of the individual cell area I S .

[0019] Preferably, step B comprises the following sub-steps:

[0020] Step B1: image I of the individual cell area S Perform binarization processing to obtain a single cell binary image I of the cell area B;

[0021] Step B2, calculating the binary image I of the individual cell B The peak values ​​in the marginalized Randon transformation matrix are arranged from small to large, and the average point angle of the first n0 peak values ​​that are smaller than the average value of all peak values ​​is taken as the cell tilt angle A of the cell. T ; 5≤n0≤10;

[0022] Step B3: according to the battery cell tilt angle A T And rotation algorithm, rotate the individual cell area image I S , and obtain the corrected individual cell area image I C .

[0023] Preferably, the inherent properties of the main grid line of the cell include the center position of the main grid line, the length of the main grid line and the width of the main grid line;

[0024] The constraints include:

[0025] Condition 1: the center position of each busbar is located at a preset ratio in the height direction of the battery cell;

[0026] Condition 2: The busbar length of a half-cell is 1 / 2 of the busbar length of a full-cell.

[0027] Condition 3: the main grid line width is a preset fixed value.

[0028] Preferably, the battery cell is a 5BB battery cell, and the constraint condition is:

[0029] Condition 1: The center positions of the main grid lines are located at 0.1, 0.3, 0.5, 0.7, and 0.9 of the cell height respectively;

[0030] Condition 2: The busbar length of a half-cell is half of the busbar length of a full-cell.

[0031] Condition 3, the busbar width is 0.55-0.85mm.

[0032] Preferably, the main grid line width of the 5BB battery cell is 0.7 mm.

[0033] Preferably, the battery cell is a 9BB battery cell, and the constraint condition is:

[0034] Condition 1: The center positions of the main grid lines are located at 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, and 0.9 of the cell height respectively;

[0035] Condition 2: The busbar length of a half-cell is 1 / 2 of the busbar length of a full-cell.

[0036] Condition 3, the main grid line width is 0.2-0.3mm.

[0037] Preferably, the main grid line width of the 9BB battery cell is 0.25 mm.

[0038] Preferably, in step D, according to the constraint condition, the individual cell area image I C The upper and lower pixels are expanded by 1.8-2.2% of the size of the battery cell, so that the cut main grid line image includes the complete main grid line.

[0039] Preferably, the convolutional neural network model performs the following processing on the busbar line image:

[0040] (1) Input the busbar image with a size of 1×512×8 into the convolutional neural network model, and after two 3×3 convolution groups, output the first image with a size of 24×512×8;

[0041] (2) The first image is passed through three 3×3 convolution groups, where the convolution step size in the first convolution group is 2, and the second image is output with a size of 48×256×4;

[0042] (3) The second image is passed through four 3×3 convolution groups, where the convolution step size in the first convolution group is 2, and the third image is output with a size of 96×128×2;

[0043] (4) The third image undergoes a 1×1 convolution with a step size of 1, outputting the fourth image with a size of 192×128×2;

[0044] (5) The fourth image passes through a binary adaptive mean pooling layer, a random dropout layer, and a fully connected layer to output the final image with a size of 2×1×1.

[0045] Preferably, each 3×3 convolution group includes a 3×3 convolution, a batch normalization layer and an activation layer.

[0046] Preferably, the step F further comprises the following sub-steps:

[0047] Step F1, summing the pixel values ​​of the busbar line image determined to have white spot defects in step E by row and column, respectively, to obtain corresponding busbar line row and column histograms;

[0048] Step F2, removing the upper, lower, left and right blank areas of the busbar line image according to the peaks and valleys of the busbar line row and column histograms;

[0049] Step F3, calculating the area larger than the bus bar specification parameters on the bus bar line row and column histograms after removing the blank area, and obtaining the length and width of the white defect.

[0050] The present invention provides a method for detecting white-out defects in the main grid lines of photovoltaic modules. The method adds inherent process rules of the main grid lines into an image cutting algorithm based on image processing to construct an adaptive main grid line cutting algorithm for photovoltaic modules, so as to cut out separate main grid lines. The method determines whether white-out defects exist through a convolutional neural network model. The method can adaptively process characteristic information of white-out defects in the main grid lines under different scenarios, avoid artificially designing the characteristics of white-out defects in the main grid lines, reduce the influence of subjective factors of personnel, and effectively improve the detection rate and accuracy of white-out defects. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 is the grayscale image I of the photovoltaic module of the present invention G Schematic diagram of

[0052] Figure 2 This is the image I of the individual cell area of ​​the present invention. S Schematic diagram of the structure;

[0053] Figure 3 is a schematic diagram of a main grid line image of the present invention, which has no white exposure defect;

[0054] Figure 4 is a schematic diagram of a main grid line image of the present invention, which has a white spot defect;

[0055] Figure 5 It is a basic flow chart of the method for detecting white-out defects of the main grid lines of photovoltaic modules of the present invention;

[0056] Figure 6 It is a schematic diagram of the detection result of white spot defects output by the convolutional neural network model of the present invention. DETAILED DESCRIPTION

[0057] The following is combined with Figure 1-4 The examples given further illustrate the specific implementation of the method for detecting the whitening defect of the main grid line of a photovoltaic module of the present invention. The method for detecting the whitening defect of the main grid line of a photovoltaic module of the present invention is not limited to the description of the following examples.

[0058] The present invention provides a method for detecting white-out defects of main grid lines of photovoltaic modules, which comprises the following steps:

[0059] Step A, obtaining an initial photovoltaic module image I of the photovoltaic module O And convert it into a photovoltaic module grayscale image I G , based on the grayscale image I of the photovoltaic module G Get the image I of the individual cell area S ;

[0060] Step B: based on the individual cell area image I S , calculate the cell tilt angle A of the cell T ; According to the battery cell tilt angle A of the battery cell T For a single cell area image I S Correction is performed to obtain the corrected individual cell area image I C ;

[0061] Step C, constructing constraint conditions based on the pre-stored specification parameters of the photovoltaic module and the inherent properties of the main grid line of the solar cell;

[0062] Step D: according to the constraint condition, the image I of the individual cell area is C Processing is performed to locate the main grid lines according to the constraint conditions and cut out a main grid line image containing the complete main grid lines;

[0063] Step E: inputting the busbar image into a convolutional neural network model, and the convolutional neural network model outputs a white spot defect determination result, wherein the white spot defect determination result is the presence of a white spot defect or the absence of a white spot defect.

[0064] The present invention provides a method for detecting white-out defects in the main grid lines of photovoltaic modules. The method adds inherent process rules of the main grid lines into an image cutting algorithm based on image processing to construct an adaptive main grid line cutting algorithm for photovoltaic modules, so as to cut out separate main grid lines. The method determines whether white-out defects exist through a convolutional neural network model. The method can adaptively process characteristic information of white-out defects in the main grid lines under different scenarios, avoid artificially designing the characteristics of white-out defects in the main grid lines, reduce the influence of subjective factors of personnel, and effectively improve the detection rate and accuracy of white-out defects.

[0065] Preferably, the method for detecting the white-out defect of the main grid line of a photovoltaic module of the present invention further comprises the following steps: Step F, if the main grid line image has a white-out defect, the length and width of the white-out defect are calculated based on the main grid line image. The length and width of the white-out defect can be used for subsequent product grading of photovoltaic modules.

[0066] The following is an embodiment of a method for detecting white-out defects of main grid lines of a photovoltaic module according to the present invention.

[0067] like Figure 5 As shown, the basic process of the method for detecting white-exposed defects of the main grid lines of photovoltaic modules of the present invention is shown.

[0068] The present invention provides a method for detecting white-out defects of main grid lines of photovoltaic modules, comprising the following steps:

[0069] Step A, obtaining an initial photovoltaic module image I of the photovoltaic module OAnd convert it into a photovoltaic module grayscale image I G , based on the grayscale image I of the photovoltaic module G Get the image I of the individual cell area S .

[0070] Preferably, the step A further comprises the following sub-steps:

[0071] Step A1, obtaining an initial photovoltaic component image I of the photovoltaic component O , convert the photovoltaic module initial image I into the photovoltaic module grayscale image I G .

[0072] Step A2: respectively process the photovoltaic module grayscale image I by row and column G The pixel values ​​are summed to obtain the row histogram I of the corresponding photovoltaic module H1 and column histogram I H2 .

[0073] Step A3, according to the row histogram I of the photovoltaic module H1 and column histogram I H2 The peaks and valleys of the photovoltaic module are removed. G The top, bottom, left and right blank areas of the .

[0074] Assume that the photovoltaic module grayscale image I G There are 10,000 rows of pixels in total. The 1st to 300th rows of pixels are the upper blank area, and the 9700th to 10,000th rows of pixels are the lower blank area, corresponding to the row histogram I of the photovoltaic module. H1 The sum of each column of pixels is the row histogram I H1 The Y value is , and the number of rows is the X value. Then the sum of the pixels in the 300th row and the sum of the pixels in the 301st row will have a significant difference, thereby determining the boundary of the upper blank area. Similarly, the sum of the pixels in the 9700th row and the sum of the pixels in the 9701st row will have a significant difference, thereby determining the boundary of the lower blank area.

[0075] Assume that the photovoltaic module grayscale image I G There are 50,000 columns of pixels in total. The 1st to 300th columns are blank areas, and the 49,700th column of pixels is the right blank area, which corresponds to the column histogram I of the photovoltaic module. H2 The sum of each row of pixels is the column histogram I H2 The Y value of the pixel is , and the number of columns is the X value. Then the sum of the pixels in the 300th column and the sum of the pixels in the 301st column will have a significant difference, thereby determining the boundary of the left blank area. Similarly, the sum of the pixels in the 49700th column and the sum of the pixels in the 49701st column will have a significant difference, thereby determining the boundary of the right blank area.

[0076] Step A4, according to the pre-stored specification parameters of the photovoltaic module, obtaining the arrangement rules of the cells in the photovoltaic module; according to the row histogram I of the photovoltaic module H1 and column histogram I H2 The peaks and valleys of the wave are cut out to form the image of the individual cell area I S It should be noted that the principle of step A4 is similar to that of step A3.

[0077] Preferably, the pre-stored specification parameters of the photovoltaic module include:

[0078] 1. The arrangement of cells on the photovoltaic module: 6×10 or 6×12 or 6×20 or 6×24;

[0079] 2. The distance between the frame of the photovoltaic module image and the edge of the solar cell;

[0080] 3. The spacing between cells;

[0081] 4. Component dimensions;

[0082] 5. Crystal type of the cell: monocrystalline cell or polycrystalline cell;

[0083] 6. Number of main grid lines per cell: 3BB, 5BB, 9BB or 12BB;

[0084] 7. Is the battery cell a full cell or a half cell?

[0085] 8. The length and width of each busbar of the cell, as well as the position of the busbar on the cell (the proportional position in the height direction of the cell).

[0086] Specifically, Figure 1 As shown, it is the grayscale image I of the photovoltaic module G An example of includes multiple individual battery cell areas; Figure 2 As shown, the image I of the single cell area S An example of .

[0087] Step B: based on the individual cell area image I S , calculate the cell tilt angle A of the cell T ; According to the battery cell tilt angle A of the battery cell T For a single cell area image I S Correction is performed to obtain the corrected individual cell area image I C .

[0088] Preferably, step B further comprises the following sub-steps:

[0089] Step B1: image I of the individual cell area SPerform binarization processing to obtain a single cell binary image I of the cell area B .

[0090] Step B2, calculating the binary image I of the individual cell B The peak values ​​in the marginalized Randon transformation matrix are arranged from small to large, and the average point angle of the first n0 peak values ​​that are smaller than the average value of all peak values ​​is taken as the cell tilt angle A of the cell. T ; 5≤n0≤10. Further, n0 is 10.

[0091] Step B3: according to the battery cell tilt angle A T And rotation algorithm, rotate the individual cell area image I S , and obtain the corrected individual cell area image I C .

[0092] Step C: constructing constraint conditions based on the pre-stored specification parameters of the photovoltaic module and the inherent properties of the main grid line of the solar cell.

[0093] Preferably, the inherent properties of the main grid lines of the cell include the center position of the main grid lines, the length of the main grid lines and the width of the main grid lines.

[0094] Preferably, the constraints include:

[0095] Condition 1: The center position of each busbar is located at a preset ratio in the height direction of the battery cell.

[0096] It should be pointed out that when the battery cells are produced, the positions of the main grid lines are preset and are located at preset proportions in the height direction of the battery cells. The spacing between adjacent main grid lines is the same and the main grid lines are parallel to each other.

[0097] Condition 2: The busbar length of a half-cell is half of the busbar length of a full-cell.

[0098] Condition 3: the main grid line width is a preset fixed value.

[0099] Specifically, the battery cell is a 5BB battery cell, and the constraint condition is:

[0100] Condition 1: The center positions of the main grid lines are located at 0.1, 0.3, 0.5, 0.7, and 0.9 of the height of the battery cell respectively.

[0101] Condition 2: The busbar length of a half-cell battery is 1 / 2 of the busbar length of a full-cell battery.

[0102] Condition 3: The busbar width is 0.55-0.85 mm. Furthermore, the busbar width of the 5BB cell is 0.7 mm.

[0103] Specifically, the battery cell is a 9BB battery cell, and the constraint condition is:

[0104] Condition 1: The center positions of the main grid lines are located at 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, and 0.9 of the height of the battery cell respectively.

[0105] Condition 2: The busbar length of a half-cell battery is 1 / 2 of the busbar length of a full-cell battery.

[0106] Condition 3: The busbar width is 0.2-0.3 mm. Furthermore, the busbar width of the 9BB cell is 0.25 mm.

[0107] It should be pointed out that photovoltaic module cells are divided into single crystal and polycrystalline silicon types, and the common cell sizes are 156×156m 2 、157×157m 2 and 158×158m 2 , the number of cells is 60 (6×10) and 72 (6×12) connected in series, and the cells are divided into 3BB, 5BB, 9BB and 12BB types according to the number of busbars. The number before BB represents the number of busbars of the cell. Figure 1 As shown, the number of cells in the photovoltaic module is 72 (6×12) connected in series, and the type of cell is 5BB.

[0108] Step D: image I of the individual cell region according to the constraint condition C Processing is performed to locate the main grid lines according to the constraint conditions and cut out a main grid line image containing the complete main grid lines.

[0109] Preferably, in step D, according to the constraint condition, the individual cell area image I C The upper and lower pixels are expanded by 1.8-2.2% of the size of the cell, so that the cut busbar line image includes the complete busbar line. Further, according to the constraint conditions, the individual cell area image I C The pixels of the upper and lower cells are expanded by 2% of the cell size. C Expand 20 pixels up and down

[0110] Step E: inputting the busbar image into a convolutional neural network model, and the convolutional neural network model outputs a white spot defect determination result, wherein the white spot defect determination result is the presence of a white spot defect or the absence of a white spot defect.

[0111] Preferably, the convolutional neural network model performs the following processing on the busbar line image:

[0112] (1) The main grid line image with a size of 1×512×8 is input into the convolutional neural network model, and after two 3×3 convolution groups, the first image with a size of 24×512×8 is output.

[0113] (2) The first image is processed through three 3×3 convolution groups, where the convolution step size in the first convolution group is 2, and the second image is output with a size of 48×256×4.

[0114] (3) The second image passes through four 3×3 convolution groups, where the convolution step size in the first convolution group is 2, and the third image is output with a size of 96×128×2.

[0115] (4) The third image undergoes a 1×1 convolution with a step size of 1, outputting the fourth image with a size of 192×128×2.

[0116] (5) The fourth image passes through a binary adaptive mean pooling layer, a random dropout layer, and a fully connected layer to output the final image with a size of 2×1×1. Further, 2×1×1 means that there are two output structures, 0 represents the presence of white defect and 1 represents the absence of white defect. Further, if Figure 6 As shown, the final detection result of the main grid line image with white defect output by the convolutional neural network model.

[0117] Preferably, each 3×3 convolution group includes a 3×3 convolution, a batch normalization layer and an activation layer.

[0118] Specifically, the following is an embodiment of processing a busbar image using a convolutional neural network model.

[0119] (1) The tensor size of the main grid line image input into the convolutional neural network model is 1×512×8;

[0120] (2) The main grid line image passes through two 3×3 convolution groups. Each 3×3 convolution group includes a 3×3 convolution, a batch normalization layer, and an activation layer, and outputs the first image with a tensor size of 24×512×8;

[0121] (3) The first image is passed through three 3×3 convolution groups. Each 3×3 convolution group includes a 3×3 convolution, a batch normalization layer, and an activation layer. The convolution step size in the first convolution group is 2, and the second image is output with a tensor size of 48×256×4.

[0122] (4) The second image is passed through four 3×3 convolution groups, each of which includes a 3×3 convolution, a batch normalization layer, and an activation layer. The convolution stride in the first convolution group is 2, and the third image is output with a tensor size of 96×128×2.

[0123] (5) The third image undergoes a 1×1 convolution with a stride of 1, outputting the fourth image with a tensor size of 192×128×2;

[0124] (6) The fourth image passes through a binary adaptive mean pooling layer to output the fifth image with a tensor size of 192×1×1;

[0125] (7) The fifth image passes through a random dropout layer with a random dropout probability of 0.2, and the sixth image is output;

[0126] (8) The sixth image passes through a fully connected layer and outputs the final image with a tensor size of 2×1×1.

[0127] It should be noted that before the convolutional neural network model is used to determine whether the main grid line image has a white defect, it is first trained using a model training database, which contains a large number of main grid line images (all manually marked as having white defects or not), to obtain trained weights. The training process of the convolutional neural network model belongs to the conventional technology in this field and will not be repeated here.

[0128] Specifically, Figure 3 As shown in the figure, it is an image of the main grid line without white defect; Figure 4 As shown, an image of a main grid line with white defect is shown.

[0129] Step F: If the busbar image has a white defect, the length and width of the white defect are calculated based on the busbar image.

[0130] Preferably, the step F further comprises the following sub-steps:

[0131] Step F1, summing the pixel values ​​of the busbar line image determined to have white spot defects in step E by row and column respectively, to obtain a corresponding busbar line row histogram and busbar column histogram.

[0132] Step F2, removing the upper, lower, left and right blank areas of the busbar line image according to the peaks and valleys of the busbar line row histogram and the busbar line column histogram.

[0133] Step F3, calculating the area larger than the bus bar specification parameters on the bus bar row histogram and the bus bar column histogram after removing the blank area, and obtaining the length and width of the white defect.

[0134] Preferably, the busbar specification parameters include the width of the busbar. Further, the busbar width of the 5BB cell is 0.7 mm, and the busbar width of the 9BB cell is 0.25 mm.

[0135] It should be noted that the busbar specification parameters are determined by the specifications of the battery cell (eg 5BB or 9BB).

[0136] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A method for detecting white-out defects in the main grid lines of photovoltaic modules. It is characterized in that It includes the following steps: Step A, obtaining an initial photovoltaic module image I of the photovoltaic module O And convert it into a photovoltaic module grayscale image I G , based on the grayscale image I of the photovoltaic module G Get the image I of the individual cell area S ; Step B: based on the individual cell area image I S , calculate the cell tilt angle A of the cell T ; According to the battery cell tilt angle A of the battery cell T For a single cell area image I S Correction is performed to obtain the corrected individual cell area image I C ; Step C, constructing constraint conditions based on the pre-stored specification parameters of the photovoltaic module and the inherent properties of the main grid line of the solar cell; Step D: according to the constraint condition, the image I of the individual cell area is C Processing is performed to locate the main grid lines according to the constraint conditions and cut out a main grid line image containing the complete main grid lines; Step E: inputting the busbar image into a convolutional neural network model, and the convolutional neural network model outputs a white spot defect determination result, wherein the white spot defect determination result is the presence of a white spot defect or the absence of a white spot defect.

2. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 1, Features: The detection method further comprises the following steps: Step F: If the busbar image has a white defect, then the length and width of the white defect are calculated based on the busbar image.

3. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 1 or 2, Features: The step A comprises the following sub-steps: Step A1, obtaining an initial photovoltaic component image I of the photovoltaic component O , the initial image I of the photovoltaic module O Convert to photovoltaic module grayscale image I G ; Step A2: respectively process the photovoltaic module grayscale image I by row and column G The pixel values ​​are summed to obtain the row histogram I of the corresponding photovoltaic module H1 and column histogram I H2 ; Step A3, according to the row histogram I of the photovoltaic module H1 and column histogram I H2 The peaks and valleys of the photovoltaic module are removed. G The upper, lower, left and right blank areas; Step A4, according to the pre-stored specification parameters of the photovoltaic module, obtaining the arrangement rules of the cells in the photovoltaic module; according to the row histogram I of the photovoltaic module H1 and column histogram I H2 The peaks and valleys of the wave are cut out to form the image of the individual cell area I S .

4. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 1 or 2, Features: The step B comprises the following sub-steps: Step B1: image I of the individual cell area S Perform binarization processing to obtain a single cell binary image I of the cell area B ; Step B2, calculating the binary image I of the individual cell B The peak values ​​in the marginalized Randon transform matrix are arranged from small to large, and the first n peak values ​​are taken. 0 The average angle of the peak points that are smaller than the average of all peaks is taken as the cell tilt angle A of the cell. T ; 5≤n 0 ≤10; Step B3: according to the battery cell tilt angle A T And rotation algorithm, rotate the individual cell area image I S , and obtain the corrected individual cell area image I C .

5. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 1 or 2, Features: The inherent properties of the main grid line of the cell include the center position of the main grid line, the length of the main grid line and the width of the main grid line; The constraints include: Condition 1: The center position of each busbar is located at a preset ratio in the height direction of the battery cell; Condition 2: The busbar length of a half-cell is 1 / 2 of the busbar length of a full-cell. Condition 3: the main grid line width is a preset fixed value.

6. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 5, Features: The battery cell is a 5BB battery cell, and the constraints are: Condition 1: The center positions of the main grid lines are located at 0.1, 0.3, 0.5, 0.7, and 0.9 of the cell height respectively; Condition 2: The busbar length of a half-cell is 1 / 2 of the busbar length of a full-cell. Condition 3, the busbar width is 0.55-0.85mm.

7. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 6, Features: The main grid line width of the 5BB cell is 0.7 mm.

8. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 5, Features: The battery cell is a 9BB battery cell, and the constraints are: Condition 1: The center positions of the main grid lines are located at 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, and 0.9 of the cell height respectively; Condition 2: The busbar length of a half-cell is 1 / 2 of the busbar length of a full-cell. Condition 3, the main grid line width is 0.2-0.3mm.

9. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 8, Features: The main grid line width of the 9BB battery cell is 0.25 mm.

10. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 1 or 2, Features: In step D, according to the constraint conditions, the individual cell area image I C The upper and lower pixels are expanded by 1.8-2.2% of the size of the battery cell, so that the cut main grid line image includes the complete main grid line.

11. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 1 or 2, Features: The convolutional neural network model performs the following processing on the busbar line image: (1) Input the busbar image with a size of 1×512×8 into the convolutional neural network model, and after two 3×3 convolution groups, output the first image with a size of 24×512×8; (2) The first image is passed through three 3×3 convolution groups, where the convolution step size in the first convolution group is 2, and the second image is output with a size of 48×256×4; (3) The second image is passed through four 3×3 convolution groups, where the convolution step size in the first convolution group is 2, and the third image is output with a size of 96×128×2; (4) The third image undergoes a 1×1 convolution with a step size of 1, outputting the fourth image with a size of 192×128×2; (5) The fourth image passes through a binary adaptive mean pooling layer, a random dropout layer, and a fully connected layer to output the final image with a size of 2×1×1.

12. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 11, Features: Each 3×3 convolution group consists of a 3×3 convolution, a batch normalization layer, and an activation layer.

13. The method for detecting white-out defects of main grid lines of photovoltaic modules according to claim 2, Features: The step F also includes the following sub-steps: Step F1, summing pixel values ​​of the busbar line image determined to have white spot defects in step E by row and column, respectively, to obtain a corresponding busbar line row histogram and busbar line column histogram; Step F2, removing the upper, lower, left and right blank areas of the busbar line image according to the peaks and valleys of the busbar line row histogram and the busbar line column histogram; Step F3, calculating the area larger than the bus bar specification parameters on the bus bar row histogram and the bus bar column histogram after removing the blank area, and obtaining the length and width of the white defect.