Method and system for monitoring quality of photovoltaic module based on computer vision

Through the photovoltaic module quality monitoring method based on computer vision, texture and color features are extracted, a three-dimensional model is constructed, and defect coefficients are identified, which solves the problem of difficulty in identifying small defects in the existing technology and improves monitoring accuracy and effect.

CN118570141AInactive Publication Date: 2024-08-30SHENZHEN SKYWORTH PHOTOVOLTAIC TECHNOLOGY CO LTD +1

Patent Information

Application Number
CN202410619206.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-18
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing photovoltaic module quality monitoring is difficult to effectively identify structural defects and small texture defects, resulting in inaccurate monitoring.

Method used

A method based on computer vision is used to obtain photovoltaic module images, perform denoising processing and co-occurrence probability matrix construction, extract texture features and color features, build a three-dimensional simulation model, and combine the trained defect recognition model to identify defect coefficients and generate a quality report.

Benefits of technology

It improves the accuracy and effect of photovoltaic module quality monitoring, enables more intuitive identification of spatial data and color defects of photovoltaic modules, provides detailed quality reports, and extends the service life of modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570141A
    Figure CN118570141A
Patent Text Reader

Abstract

The invention relates to the field of quality monitoring, and discloses a photovoltaic module quality monitoring method and system based on computer vision, and the method comprises the steps: carrying out the de-noising processing of a photovoltaic module image, obtaining a filtered photovoltaic module image, constructing a symbiotic probability matrix of the filtered photovoltaic module image, and obtaining a symbiotic probability matrix of the filtered photovoltaic module image; photovoltaic module texture features of the grayed photovoltaic module image are extracted; constructing a color histogram of the filtered photovoltaic module image, and extracting color features of the filtered photovoltaic module image; constructing a space coordinate system of the photovoltaic module, identifying space point cloud data of the photovoltaic module, and constructing a three-dimensional simulation model of the photovoltaic module; and identifying component level characteristics of the three-dimensional simulation model, identifying a photovoltaic component defect coefficient of the photovoltaic component by using the trained defect identification model, and constructing a quality report of the photovoltaic component. According to the invention, the quality monitoring effect of the photovoltaic module can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of quality monitoring, and in particular to a method and system for photovoltaic module quality monitoring based on computer vision. Background Art

[0002] PV module quality monitoring refers to the real-time or regular detection and evaluation of the performance and status of PV modules to ensure that they can operate normally and meet the design requirements. The purpose of PV module quality monitoring is to identify potential problems and defects, prevent failures, extend the service life of modules, and ensure the stability and efficiency of the PV system.

[0003] At present, the quality monitoring of photovoltaic modules mainly collects images of photovoltaic modules in different scenes, and uses machine scanning and human viewing to identify defects in the modules. This method is easy to identify obvious defects such as cracks, damage, and color loss on the module surface. It cannot effectively identify structural defects and small texture defects, resulting in inaccurate quality monitoring of photovoltaic modules. Summary of the invention

[0004] The present invention provides a method and system for photovoltaic module quality monitoring based on computer vision, the main purpose of which is to improve the effect of quality monitoring on photovoltaic modules.

[0005] To achieve the above object, the present invention provides a method for photovoltaic module quality monitoring based on computer vision, comprising:

[0006] Acquire a photovoltaic assembly, construct a visual monitoring environment for the photovoltaic assembly, and collect a photovoltaic assembly image of the photovoltaic assembly through the visual monitoring environment;

[0007] De-noising the photovoltaic assembly image to obtain a filtered photovoltaic assembly image, constructing a co-occurrence probability matrix of the filtered photovoltaic assembly image, and extracting photovoltaic assembly texture features of the grayscale photovoltaic assembly image based on the co-occurrence probability matrix;

[0008] Constructing a color histogram of the filtered photovoltaic assembly image, and extracting color features of the filtered photovoltaic assembly image based on the color histogram;

[0009] Constructing a spatial coordinate system of the photovoltaic assembly, identifying spatial point cloud data of the photovoltaic assembly based on the spatial coordinate system and the filtered photovoltaic assembly image, and constructing a three-dimensional simulation model of the photovoltaic assembly based on the spatial point cloud data;

[0010] Identify component-level features of the three-dimensional simulation model, identify photovoltaic component defect coefficients of the photovoltaic components using a trained defect recognition model based on the photovoltaic component texture features, the color features and the component-level features, and construct a quality report of the photovoltaic components based on the photovoltaic component defect coefficients.

[0011] Optionally, the step of constructing a visual monitoring environment for the photovoltaic assembly includes:

[0012] Identifying a visual impact factor of the photovoltaic module;

[0013] Analyzing visual impact factor characteristics of the visual impact factor;

[0014] Based on the characteristics of the visual influencing factors, a visual monitoring environment for the photovoltaic assembly is constructed.

[0015] Optionally, the performing denoising on the photovoltaic assembly image to obtain a filtered photovoltaic assembly image includes:

[0016] identifying image attributes of the photovoltaic assembly image;

[0017] Determining a filter function of the photovoltaic assembly image based on the image attribute;

[0018] marking image pixel values ​​of the photovoltaic assembly image;

[0019] Based on the filtering function, the image pixel values ​​corresponding to the photovoltaic assembly image are filtered to obtain a filtered photovoltaic assembly image.

[0020] Optionally, filtering the image pixel values ​​corresponding to the photovoltaic assembly image based on the filtering function to obtain a filtered photovoltaic assembly image includes:

[0021] Based on the filtering function, the image pixel values ​​corresponding to the photovoltaic assembly image are filtered using the following formula to obtain the filtered pixel values ​​of the photovoltaic assembly image:

[0022]

[0023] Among them, τ filtrerd (a, c) represents the filtered pixel value of the corresponding pixel point (a, c) of the photovoltaic module image, (a, c) represents the coordinates of the corresponding pixel point of the photovoltaic module image, f(i, j) represents the filtering function, and m represents the standard deviation of the filtering function

[0024] Optionally, constructing the co-occurrence probability matrix of the filtered photovoltaic assembly image includes:

[0025] converting the filtered photovoltaic assembly image into a grayscale photovoltaic assembly image;

[0026] Constructing a grayscale histogram of the grayscale photovoltaic module image;

[0027] Traversing the grayscale histogram to obtain an initial co-occurrence matrix of the grayscale photovoltaic module image;

[0028] The initial co-occurrence matrix is ​​normalized to obtain the co-occurrence probability matrix.

[0029] Optionally, constructing a grayscale histogram of the grayscale photovoltaic module image includes:

[0030] identifying a grayscale level of the grayscale photovoltaic module image;

[0031] The grayscale coefficient corresponding to the grayscale level of the grayscale photovoltaic module image is calculated using the following formula:

[0032]

[0033] Among them, σ(r) represents the grayscale coefficient of the rth grayscale level in the grayscale photovoltaic module image, ρ(r) represents the number of times the rth grayscale level appears in the grayscale photovoltaic module image, and N represents the number of grayscale levels corresponding to the grayscale photovoltaic module image;

[0034] Based on the grayscale coefficients, a grayscale histogram of the grayscale photovoltaic assembly image is constructed.

[0035] Optionally, constructing a color histogram of the filtered photovoltaic assembly image includes:

[0036] determining a color analysis space of the filtered photovoltaic assembly image;

[0037] Based on the color analysis space, color conversion is performed on the filtered photovoltaic component image to obtain a converted component image;

[0038] Calculate pixel color values ​​of the converted component image; and construct a color histogram of the filtered photovoltaic component image based on the pixel color values.

[0039] Optionally, constructing a three-dimensional simulation model of the photovoltaic assembly based on the spatial point cloud data includes:

[0040] Analyze the modeling weight coefficients of the data points corresponding to the spatial point cloud data;

[0041] Based on the modeling weight coefficient, calculating the surface coordinates of the data points corresponding to the spatial point cloud data;

[0042] Based on the surface coordinates, construct a reconstructed surface of the photovoltaic module;

[0043] Based on the reconstructed curved surface, a three-dimensional simulation model of the photovoltaic module is constructed.

[0044] Optionally, calculating the surface coordinates of the data points corresponding to the spatial point cloud data based on the modeling weight coefficient includes:

[0045] Based on the modeling weight coefficient, the surface coordinates of the data points corresponding to the spatial point cloud data are calculated using the following formula:

[0046]

[0047] Among them, (x, y, z) represents the curve coordinates of the sth data point in the spatial coordinate system in the spatial point cloud data, x s Represents the value of the sth data point in the spatial point cloud data on the x-axis of the spatial coordinate system, y s Represents the value of the sth data point in the spatial point cloud data on the y-axis of the spatial coordinate system, z s Represents the value of the sth data point in the spatial point cloud data on the z-axis of the spatial coordinate system, μ s represents the modeling weight coefficient of the sth data point in the spatial point cloud data, and D represents the number of data points corresponding to the spatial point cloud data.

[0048] In order to solve the above problems, the present invention also provides a system for photovoltaic module quality monitoring based on computer vision, the system comprising:

[0049] A photovoltaic image acquisition module, used to acquire photovoltaic components, construct a visual monitoring environment for the photovoltaic components, and acquire photovoltaic component images of the photovoltaic components through the visual monitoring environment;

[0050] A texture feature extraction module is used to perform denoising on the photovoltaic module image to obtain a filtered photovoltaic module image, construct a co-occurrence probability matrix of the filtered photovoltaic module image, and extract photovoltaic module texture features of the grayscale photovoltaic module image based on the co-occurrence probability matrix;

[0051] A color feature extraction module, used to construct a color histogram of the filtered photovoltaic component image, and extract color features of the filtered photovoltaic component image based on the color histogram;

[0052] A three-dimensional model construction module is used to construct a spatial coordinate system of the photovoltaic assembly, identify spatial point cloud data of the photovoltaic assembly based on the spatial coordinate system and the filtered photovoltaic assembly image, and construct a three-dimensional simulation model of the photovoltaic assembly based on the spatial point cloud data;

[0053] A quality report construction module is used to identify the component hierarchy features of the three-dimensional simulation model, identify the photovoltaic component defect coefficient of the photovoltaic component based on the photovoltaic component texture features, the color features and the component hierarchy features using a trained defect recognition model, and construct a quality report of the photovoltaic component based on the photovoltaic component defect coefficient.

[0054] The embodiment of the present invention can ensure the integrity of the collected visual data of the photovoltaic component by constructing the visual monitoring environment of the photovoltaic component; the embodiment of the present invention can collect the complete visual image of the photovoltaic component by collecting the photovoltaic component image of the photovoltaic component through the visual monitoring environment, thereby improving the reliability of subsequent image recognition; the embodiment of the present invention can improve the quality of the image by performing denoising on the photovoltaic component image to obtain a filtered photovoltaic component image, thereby providing a data basis for subsequent image analysis; further, the embodiment of the present invention can provide a data basis for the subsequent extraction of texture features of the image by constructing a co-occurrence probability matrix of the filtered photovoltaic component image, optionally, the embodiment of the present invention extracts the color features of the filtered photovoltaic component image based on the color histogram, which can provide a data basis for the subsequent identification of photovoltaic component color defects, further, the embodiment of the present invention constructs a three-dimensional simulation model of the photovoltaic component based on the spatial point cloud data, which can more intuitively identify the photovoltaic component spatial data, thereby improving the quality monitoring effect of the photovoltaic component, finally, the embodiment of the present invention can identify the photovoltaic component defect coefficient of the photovoltaic component based on the texture features of the photovoltaic component, the color features and the component hierarchical features, thereby identifying the degree of defects in the photovoltaic component, thereby providing a data basis for the subsequent quality report analysis. Therefore, the method and system for photovoltaic module quality monitoring based on computer vision proposed in the present invention can improve the effect of quality monitoring of photovoltaic modules. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 A schematic flow chart of a method for photovoltaic module quality monitoring based on computer vision provided by an embodiment of the present invention;

[0056] Figure 2 A functional module diagram of a system for photovoltaic module quality monitoring based on computer vision provided by an embodiment of the present invention;

[0057] Figure 3 A schematic diagram of the structure of an electronic device of a system for monitoring the quality of photovoltaic modules based on computer vision provided by an embodiment of the present invention;

[0058] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0059] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0060] The embodiment of the present application provides a method for monitoring the quality of photovoltaic modules based on computer vision. The execution subject of the method for monitoring the quality of photovoltaic modules based on computer vision includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided in the embodiment of the present application. In other words, the method for monitoring the quality of photovoltaic modules based on computer vision can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0061] Reference Figure 1 FIG. 1 is a flow chart of a method for monitoring the quality of photovoltaic modules based on computer vision according to an embodiment of the present invention. In this embodiment, the method for monitoring the quality of photovoltaic modules based on computer vision includes:

[0062] S1. Acquire a photovoltaic assembly, construct a visual monitoring environment for the photovoltaic assembly, and collect a photovoltaic assembly image of the photovoltaic assembly through the visual monitoring environment.

[0063] In the embodiment of the present invention, the photovoltaic component refers to a device that directly converts solar energy into electrical energy.

[0064] Furthermore, the embodiment of the present invention can ensure the integrity of the collected visual data of the photovoltaic assembly by constructing a visual monitoring environment of the photovoltaic assembly, wherein the visual monitoring environment refers to an environment for collecting visual data of the photovoltaic assembly.

[0065] As an embodiment of the present invention, constructing a visual monitoring environment for the photovoltaic component includes: identifying a visual influencing factor of the photovoltaic component; analyzing a visual influencing factor feature of the visual influencing factor; and constructing a visual monitoring environment for the photovoltaic component based on the visual influencing factor feature.

[0066] The visual influencing factor refers to the factor that affects the visual data collection of the photovoltaic module, such as factors such as illumination and angle, and the visual influencing factor characteristic refers to the characteristic attribute of the visual influencing factor, such as controllability and sustainability.

[0067] Optionally, the embodiment of the present invention can collect the complete visual image of the photovoltaic component by collecting the photovoltaic component image of the photovoltaic component through the visual monitoring environment, thereby improving the reliability of subsequent image recognition. The photovoltaic component image refers to the photovoltaic component image data of the photovoltaic component, and these data should cover various lighting conditions, angles and backgrounds. The photovoltaic component image of the photovoltaic component can be obtained by adjusting different lighting conditions, photovoltaic component angles, photovoltaic component backgrounds and other parameters in the visual monitoring environment.

[0068] S2. De-noising the photovoltaic assembly image to obtain a filtered photovoltaic assembly image, constructing a co-occurrence probability matrix of the filtered photovoltaic assembly image, and extracting photovoltaic assembly texture features of the grayscale photovoltaic assembly image based on the co-occurrence probability matrix.

[0069] The embodiment of the present invention can improve the image quality by performing denoising on the photovoltaic module image to obtain a filtered photovoltaic module image, thereby providing a data basis for subsequent image analysis. The filtered photovoltaic module image refers to an image obtained after filtering the photovoltaic module image.

[0070] As an embodiment of the present invention, the denoising process is performed on the photovoltaic component image to obtain a filtered photovoltaic component image, including: identifying image attributes of the photovoltaic component image; determining a filtering function of the photovoltaic component image based on the image attributes; marking image pixel values ​​of the photovoltaic component image; and filtering corresponding image pixel values ​​of the photovoltaic component image based on the filtering function to obtain a filtered photovoltaic component image.

[0071] Among them, the image attributes refer to the attributes of the photovoltaic component image, such as format, resolution, size and other attributes; the filter function refers to a function for filtering the photovoltaic component image, such as a mean filter function, a box filter function, a Gaussian filter function and other functions; the image pixel value refers to the value of the image pixel corresponding to the photovoltaic component image.

[0072] Optionally, as an optional embodiment of the present invention, filtering the image pixel values ​​corresponding to the photovoltaic component image based on the filtering function to obtain a filtered photovoltaic component image includes: filtering the image pixel values ​​corresponding to the photovoltaic component image based on the filtering function using the following formula to obtain filtered pixel values ​​of the photovoltaic component image:

[0073]

[0074] Among them, τ filtrerd(a, c) represents the filtered pixel value of the pixel point (a, c) corresponding to the photovoltaic component image, (a, c) represents the coordinates of the pixel point corresponding to the photovoltaic component image, f(i, j) represents the filtering function, and m represents the standard deviation of the filtering function.

[0075] Wherein, the filter function f(i, j) refers to a two-dimensional Gaussian function used for image filtering, and its mathematical expression is based on Gaussian distribution (normal distribution). In Gaussian filtering, a kernel function is used to perform weighted processing on each pixel in an image to reduce noise and smooth the image.

[0076] Furthermore, the embodiment of the present invention can provide a data basis for the subsequent extraction of texture features of the image by constructing the co-occurrence probability matrix of the filtered photovoltaic module image. The co-occurrence probability matrix refers to a mathematical tool for describing the texture features of an image. It reveals the local structure and texture information of the image by counting the correlation of the gray values ​​of pixels at different positions in the image in a certain direction and distance.

[0077] As an embodiment of the present invention, constructing the symbiosis probability matrix of the filtered photovoltaic component image includes: converting the filtered photovoltaic component image into a grayscale photovoltaic component image; constructing a grayscale histogram of the grayscale photovoltaic component image; traversing the grayscale histogram to obtain an initial symbiosis matrix of the grayscale photovoltaic component image; and normalizing the initial symbiosis matrix to obtain the symbiosis probability matrix.

[0078] Among them, the grayscale photovoltaic component image refers to an image after the corresponding pixels of the filtered photovoltaic component image are converted into grayscale, the grayscale histogram refers to a histogram describing the number of times each grayscale appears in the image, and the initial co-occurrence matrix refers to an initialized co-occurrence probability matrix, whose dimension is the number of grayscales multiplied by the number of grayscales.

[0079] Optionally, as an optional embodiment of the present invention, the constructing the grayscale histogram of the grayscale photovoltaic module image includes: identifying the grayscale level of the grayscale photovoltaic module image; and calculating the grayscale coefficient of the grayscale level corresponding to the grayscale level of the grayscale photovoltaic module image using the following formula:

[0080]

[0081] Among them, σ(r) represents the grayscale coefficient of the rth grayscale level in the grayscale photovoltaic module image, ρ(r) represents the number of times the rth grayscale level appears in the grayscale photovoltaic module image, and N represents the number of grayscale levels corresponding to the grayscale photovoltaic module image;

[0082] Based on the grayscale coefficients, a grayscale histogram of the grayscale photovoltaic assembly image is constructed.

[0083] Optionally, as an optional embodiment of the present invention, the initial co-occurrence matrix is ​​normalized to obtain the co-occurrence probability matrix. This can be achieved by dividing each element by the value of the corresponding gray level histogram.

[0084] In the embodiment of the present invention, based on the co-occurrence probability matrix, the photovoltaic component texture features of the grayscale photovoltaic component image are extracted, which can provide a basis for the subsequent photovoltaic component quality identification. The photovoltaic component texture features of the grayscale photovoltaic component image can be extracted by calculating statistics such as contrast, correlation, energy, and entropy according to the co-occurrence probability matrix to describe the texture features of the image.

[0085] S3. Constructing a color histogram of the filtered photovoltaic assembly image, and extracting color features of the filtered photovoltaic assembly image based on the color histogram.

[0086] The embodiment of the present invention can more intuitively identify the color state of the filtered photovoltaic component image by constructing the color histogram of the filtered photovoltaic component image, thereby providing data basis for the subsequent color feature extraction of the image. The color histogram refers to a display diagram describing the image state of the filtered photovoltaic component image.

[0087] As an embodiment of the present invention, constructing the color histogram of the filtered photovoltaic component image includes: determining a color analysis space of the filtered photovoltaic component image; performing color conversion on the filtered photovoltaic component image based on the color analysis space to obtain a converted component image; calculating pixel color values ​​of the converted component image; and constructing a color histogram of the filtered photovoltaic component image based on the pixel color values.

[0088] Among them, the color analysis space refers to a space that is convenient for analyzing the distribution of colors, such as the HSV (hue, saturation, brightness) or HSL (hue, saturation, brightness) color space, the converted component image refers to the image after the color space conversion of the filtered photovoltaic component image, and the pixel color value refers to the value of the pixel in the converted component image.

[0089] Optionally, in an embodiment of the present invention, based on the color histogram, the color features of the filtered photovoltaic component image are extracted to provide a data basis for later identification of photovoltaic component color defects. The color features refer to the color feature attributes of the photovoltaic components in the filtered photovoltaic component image, such as color distribution, color combination and other features. The color features of the filtered photovoltaic component image can be obtained by identifying the distribution of different colors in the color histogram.

[0090] S4, constructing a spatial coordinate system of the photovoltaic assembly, identifying spatial point cloud data of the photovoltaic assembly based on the spatial coordinate system and the filtered photovoltaic assembly image, and constructing a three-dimensional simulation model of the photovoltaic assembly based on the spatial point cloud data.

[0091] The embodiment of the present invention can unify the coordinate space by constructing the spatial coordinate system of the photovoltaic assembly, thereby improving the reliability of the image spatial information. The spatial coordinate system refers to the coordinate system of the space where the photovoltaic assembly is located. The spatial coordinate system can be constructed based on a certain photovoltaic assembly as the origin.

[0092] Optionally, in an embodiment of the present invention, the spatial point cloud data refers to data describing the spatial coordinates of the photovoltaic assembly.

[0093] Furthermore, the embodiment of the present invention constructs a three-dimensional simulation model of the photovoltaic module based on the spatial point cloud data, which can more intuitively identify the spatial data of the photovoltaic module and improve the quality monitoring effect of the photovoltaic module. The three-dimensional simulation model refers to a simulated three-dimensional model of the photovoltaic module.

[0094] As an embodiment of the present invention, constructing a three-dimensional simulation model of the photovoltaic component based on the spatial point cloud data includes: analyzing the modeling weight coefficients of the data points corresponding to the spatial point cloud data; calculating the surface coordinates of the data points corresponding to the spatial point cloud data based on the modeling weight coefficients; constructing a reconstructed surface of the photovoltaic component based on the surface coordinates; and constructing a three-dimensional simulation model of the photovoltaic component based on the reconstructed surface.

[0095] Among them, the modeling weight coefficient refers to the contribution degree of the data points corresponding to the spatial point cloud data in the modeling process, the surface coordinates refer to the coordinates of the data points corresponding to the spatial point cloud data in the spatial coordinate system during the modeling process, and the reconstructed surface refers to the modeling surface of the photovoltaic component constructed by the surface coordinates.

[0096] Optionally, as an optional embodiment of the present invention, the calculating the surface coordinates of the data points corresponding to the spatial point cloud data based on the modeling weight coefficient includes: calculating the surface coordinates of the data points corresponding to the spatial point cloud data based on the modeling weight coefficient using the following formula:

[0097]

[0098] Among them, (x, y, z) represents the curve coordinates of the sth data point in the spatial coordinate system in the spatial point cloud data, x s Represents the value of the sth data point in the spatial point cloud data on the x-axis of the spatial coordinate system, y s Represents the value of the sth data point in the spatial point cloud data on the y-axis of the spatial coordinate system, zs Represents the value of the sth data point in the spatial point cloud data on the z-axis of the spatial coordinate system, μ s represents the modeling weight coefficient of the sth data point in the spatial point cloud data, and D represents the number of data points corresponding to the spatial point cloud data.

[0099] S5. Identify the component-level features of the three-dimensional simulation model, identify the photovoltaic component defect coefficient of the photovoltaic component based on the photovoltaic component texture features, the color features and the component-level features using the trained defect recognition model, and construct a quality report of the photovoltaic component based on the photovoltaic component defect coefficient.

[0100] In the embodiment of the present invention, the component hierarchical features refer to the spatial hierarchical feature attributes of the components corresponding to the three-dimensional simulation model, such as component position, component structure, etc. The identification of the component hierarchical features of the three-dimensional simulation model can be achieved by scanning technology.

[0101] Optionally, the embodiment of the present invention can identify the photovoltaic module defect coefficient of the photovoltaic module based on the texture features, the color features and the component hierarchical features of the photovoltaic module using a trained defect recognition model to identify the degree of defects in the photovoltaic module, thereby providing a data basis for subsequent quality report analysis. Among them, the photovoltaic module defect coefficient refers to the degree of defects in the photovoltaic module. The defect recognition model refers to a model used to identify defects in the photovoltaic module. The defect recognition model can be trained using an image data set with labeled information. The defect recognition model can be a support vector machine, a random forest, a convolutional neural network or other models.

[0102] Furthermore, the embodiment of the present invention constructs a quality report of the photovoltaic module based on the photovoltaic module defect coefficient to evaluate the quality of the photovoltaic module, and the quality report includes defect points of the photovoltaic module, defect causes of the defect points of the photovoltaic module, and the like.

[0103] The embodiment of the present invention can ensure the integrity of the collected visual data of the photovoltaic component by constructing the visual monitoring environment of the photovoltaic component; the embodiment of the present invention can collect the complete visual image of the photovoltaic component by collecting the photovoltaic component image of the photovoltaic component through the visual monitoring environment, thereby improving the reliability of subsequent image recognition; the embodiment of the present invention can improve the quality of the image by performing denoising on the photovoltaic component image to obtain a filtered photovoltaic component image, thereby providing a data basis for subsequent image analysis; further, the embodiment of the present invention can provide a data basis for the subsequent extraction of texture features of the image by constructing a co-occurrence probability matrix of the filtered photovoltaic component image, optionally, the embodiment of the present invention extracts the color features of the filtered photovoltaic component image based on the color histogram, which can provide a data basis for the subsequent identification of photovoltaic component color defects, further, the embodiment of the present invention constructs a three-dimensional simulation model of the photovoltaic component based on the spatial point cloud data, which can more intuitively identify the photovoltaic component spatial data, thereby improving the quality monitoring effect of the photovoltaic component, finally, the embodiment of the present invention can identify the photovoltaic component defect coefficient of the photovoltaic component based on the texture features of the photovoltaic component, the color features and the component hierarchical features, thereby identifying the degree of defects in the photovoltaic component, thereby providing a data basis for the subsequent quality report analysis. Therefore, the method for photovoltaic module quality monitoring based on computer vision proposed in the present invention can improve the effect of quality monitoring of photovoltaic modules.

[0104] like Figure 2 , is a functional module diagram of a system for photovoltaic module quality monitoring based on computer vision provided by an embodiment of the present invention.

[0105] The system 200 for monitoring the quality of photovoltaic modules based on computer vision of the present invention can be installed in an electronic device. According to the functions to be implemented, the system 200 for monitoring the quality of photovoltaic modules based on computer vision can include a photovoltaic image acquisition module 201, a texture feature extraction module 202, a color feature extraction module 203, a three-dimensional model construction module 204 and a quality report construction module 205. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0106] In this embodiment, the functions of each module / unit are as follows:

[0107] The photovoltaic image acquisition module 201 is used to acquire photovoltaic components, build a visual monitoring environment for the photovoltaic components, and acquire photovoltaic component images of the photovoltaic components through the visual monitoring environment;

[0108] The texture feature extraction module 202 is used to perform denoising on the photovoltaic module image to obtain a filtered photovoltaic module image, construct a co-occurrence probability matrix of the filtered photovoltaic module image, and extract photovoltaic module texture features of the grayscale photovoltaic module image based on the co-occurrence probability matrix;

[0109] The color feature extraction module 203 is used to construct a color histogram of the filtered photovoltaic component image, and extract color features of the filtered photovoltaic component image based on the color histogram;

[0110] The three-dimensional model construction module 204 is used to construct a spatial coordinate system of the photovoltaic assembly, identify spatial point cloud data of the photovoltaic assembly based on the spatial coordinate system and the filtered photovoltaic assembly image, and construct a three-dimensional simulation model of the photovoltaic assembly based on the spatial point cloud data;

[0111] The quality report construction module 205 is used to identify the component hierarchy features of the three-dimensional simulation model, identify the photovoltaic component defect coefficient of the photovoltaic component based on the photovoltaic component texture features, the color features and the component hierarchy features using the trained defect recognition model, and construct a quality report of the photovoltaic component based on the photovoltaic component defect coefficient.

[0112] In detail, each module described in the system 200 for photovoltaic module quality monitoring based on computer vision described in the embodiment of the present invention adopts the same technical means as the method for photovoltaic module quality monitoring based on computer vision described in the accompanying drawings when used, and can produce the same technical effects, which will not be repeated here.

[0113] An embodiment of the present invention provides an electronic device for implementing a method for photovoltaic module quality monitoring based on computer vision.

[0114] See also Figure 3 As shown, the electronic device may include a processor 30, a memory 31, a communication bus 32 and a communication interface 33, and may also include a computer program stored in the memory 31 and executable on the processor 30, such as a method program for photovoltaic module quality monitoring based on computer vision.

[0115] In some embodiments, the processor may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect the various components of the entire electronic device, and executes or executes programs or modules stored in the memory (for example, a program for executing photovoltaic module quality monitoring based on computer vision, etc.), and calls data stored in the memory to execute various functions of the electronic device and process data.

[0116] The memory includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory may also include both an internal storage unit of the electronic device and an external storage device. The memory can be used not only to store application software and various types of data installed in the electronic device, such as the code of a program for photovoltaic module quality monitoring based on computer vision, but also to temporarily store data that has been output or is to be output.

[0117] The communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory and at least one processor, etc.

[0118] The communication interface is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0119] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor through a power management system, so that the power management system can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0120] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0121] The computer vision-based photovoltaic module quality monitoring program stored in the memory of the electronic device is a combination of multiple instructions. When running in the processor, the following can be achieved:

[0122] Acquire a photovoltaic assembly, construct a visual monitoring environment for the photovoltaic assembly, and collect a photovoltaic assembly image of the photovoltaic assembly through the visual monitoring environment;

[0123] De-noising the photovoltaic assembly image to obtain a filtered photovoltaic assembly image, constructing a co-occurrence probability matrix of the filtered photovoltaic assembly image, and extracting photovoltaic assembly texture features of the grayscale photovoltaic assembly image based on the co-occurrence probability matrix;

[0124] Constructing a color histogram of the filtered photovoltaic assembly image, and extracting color features of the filtered photovoltaic assembly image based on the color histogram;

[0125] Constructing a spatial coordinate system of the photovoltaic assembly, identifying spatial point cloud data of the photovoltaic assembly based on the spatial coordinate system and the filtered photovoltaic assembly image, and constructing a three-dimensional simulation model of the photovoltaic assembly based on the spatial point cloud data;

[0126] Identify component-level features of the three-dimensional simulation model, identify photovoltaic component defect coefficients of the photovoltaic components using a trained defect recognition model based on the photovoltaic component texture features, the color features and the component-level features, and construct a quality report of the photovoltaic components based on the photovoltaic component defect coefficients.

[0127] status and the risk coordinate points, and construct a monitoring and early warning report for the device to be monitored.

[0128] Specifically, the specific implementation method of the processor for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.

[0129] Furthermore, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or system capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0130] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0131] Acquire a photovoltaic assembly, construct a visual monitoring environment for the photovoltaic assembly, and collect a photovoltaic assembly image of the photovoltaic assembly through the visual monitoring environment;

[0132] De-noising the photovoltaic assembly image to obtain a filtered photovoltaic assembly image, constructing a co-occurrence probability matrix of the filtered photovoltaic assembly image, and extracting photovoltaic assembly texture features of the grayscale photovoltaic assembly image based on the co-occurrence probability matrix;

[0133] Constructing a color histogram of the filtered photovoltaic assembly image, and extracting color features of the filtered photovoltaic assembly image based on the color histogram;

[0134] Constructing a spatial coordinate system of the photovoltaic assembly, identifying spatial point cloud data of the photovoltaic assembly based on the spatial coordinate system and the filtered photovoltaic assembly image, and constructing a three-dimensional simulation model of the photovoltaic assembly based on the spatial point cloud data;

[0135] Identify component-level features of the three-dimensional simulation model, identify photovoltaic component defect coefficients of the photovoltaic components using a trained defect recognition model based on the photovoltaic component texture features, the color features and the component-level features, and construct a quality report of the photovoltaic components based on the photovoltaic component defect coefficients.

[0136] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0137] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0138] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0139] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0140] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0141] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0142] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or systems stated in a system claim can also be implemented by one unit or system through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0143] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for monitoring photovoltaic module quality based on computer vision, characterized in that: The method comprises: Acquire a photovoltaic assembly, construct a visual monitoring environment for the photovoltaic assembly, and collect a photovoltaic assembly image of the photovoltaic assembly through the visual monitoring environment; De-noising the photovoltaic assembly image to obtain a filtered photovoltaic assembly image, constructing a co-occurrence probability matrix of the filtered photovoltaic assembly image, and extracting photovoltaic assembly texture features of the grayscale photovoltaic assembly image based on the co-occurrence probability matrix; Constructing a color histogram of the filtered photovoltaic assembly image, and extracting color features of the filtered photovoltaic assembly image based on the color histogram; Constructing a spatial coordinate system of the photovoltaic assembly, identifying spatial point cloud data of the photovoltaic assembly based on the spatial coordinate system and the filtered photovoltaic assembly image, and constructing a three-dimensional simulation model of the photovoltaic assembly based on the spatial point cloud data; Identify component-level features of the three-dimensional simulation model, identify photovoltaic component defect coefficients of the photovoltaic components using a trained defect recognition model based on the photovoltaic component texture features, the color features and the component-level features, and construct a quality report of the photovoltaic components based on the photovoltaic component defect coefficients.

2. The method for photovoltaic module quality monitoring based on computer vision according to claim 1, characterized in that: The construction of the visual monitoring environment of the photovoltaic assembly includes: Identifying a visual impact factor of the photovoltaic module; Analyzing visual impact factor characteristics of the visual impact factor; Based on the characteristics of the visual influencing factors, a visual monitoring environment for the photovoltaic assembly is constructed.

3. The method for photovoltaic module quality monitoring based on computer vision according to claim 1, characterized in that: The denoising process is performed on the photovoltaic assembly image to obtain a filtered photovoltaic assembly image, including: identifying image attributes of the photovoltaic assembly image; Determining a filter function of the photovoltaic assembly image based on the image attribute; marking image pixel values ​​of the photovoltaic assembly image; Based on the filtering function, the image pixel values ​​corresponding to the photovoltaic assembly image are filtered to obtain a filtered photovoltaic assembly image.

4. The method for photovoltaic module quality monitoring based on computer vision according to claim 3, characterized in that: The filtering of the image pixel values ​​corresponding to the photovoltaic assembly image based on the filtering function to obtain a filtered photovoltaic assembly image includes: Based on the filtering function, the image pixel values ​​corresponding to the photovoltaic assembly image are filtered using the following formula to obtain the filtered pixel values ​​of the photovoltaic assembly image: Among them, τ filtrerd (a,c) represents the filtered pixel value of the pixel point (a,c) corresponding to the photovoltaic module image, (a,c) represents the coordinates of the pixel point corresponding to the photovoltaic module image, f(i,j) represents the filtering function, and m represents the standard deviation of the filtering function.

5. The method for photovoltaic module quality monitoring based on computer vision according to claim 1, characterized in that: The constructing of the co-occurrence probability matrix of the filtered photovoltaic assembly image comprises: converting the filtered photovoltaic assembly image into a grayscale photovoltaic assembly image; Constructing a grayscale histogram of the grayscale photovoltaic module image; Traversing the grayscale histogram to obtain an initial co-occurrence matrix of the grayscale photovoltaic module image; The initial co-occurrence matrix is ​​normalized to obtain the co-occurrence probability matrix.

6. The method for photovoltaic module quality monitoring based on computer vision according to claim 5, characterized in that: The step of constructing a grayscale histogram of the grayscale photovoltaic module image comprises: identifying a grayscale level of the grayscale photovoltaic module image; The grayscale coefficient corresponding to the grayscale level of the grayscale photovoltaic module image is calculated using the following formula: Among them, σ(r) represents the grayscale coefficient of the rth grayscale level in the grayscale photovoltaic module image, ρ(r) represents the number of times the rth grayscale level appears in the grayscale photovoltaic module image, and N represents the number of grayscale levels corresponding to the grayscale photovoltaic module image; Based on the grayscale coefficients, a grayscale histogram of the grayscale photovoltaic assembly image is constructed.

7. The method for photovoltaic module quality monitoring based on computer vision according to claim 1, characterized in that: The step of constructing a color histogram of the filtered photovoltaic assembly image comprises: determining a color analysis space of the filtered photovoltaic assembly image; Based on the color analysis space, color conversion is performed on the filtered photovoltaic component image to obtain a converted component image; Calculate pixel color values ​​of the converted component image; and construct a color histogram of the filtered photovoltaic component image based on the pixel color values.

8. The method for photovoltaic module quality monitoring based on computer vision according to claim 1, characterized in that: The step of constructing a three-dimensional simulation model of the photovoltaic assembly based on the spatial point cloud data includes: Analyze the modeling weight coefficients of the data points corresponding to the spatial point cloud data; Based on the modeling weight coefficient, calculating the surface coordinates of the data points corresponding to the spatial point cloud data; Based on the surface coordinates, construct a reconstructed surface of the photovoltaic module; Based on the reconstructed curved surface, a three-dimensional simulation model of the photovoltaic module is constructed.

9. The method for photovoltaic module quality monitoring based on computer vision according to claim 8, characterized in that: The calculating, based on the modeling weight coefficient, the surface coordinates of the data points corresponding to the spatial point cloud data comprises: Based on the modeling weight coefficient, the surface coordinates of the data points corresponding to the spatial point cloud data are calculated using the following formula: Among them, (x, y, z) represents the curve coordinates of the sth data point in the spatial coordinate system in the spatial point cloud data, x s Represents the value of the sth data point in the spatial point cloud data on the x-axis of the spatial coordinate system, y s Represents the value of the sth data point in the spatial point cloud data on the y-axis of the spatial coordinate system, z s Represents the value of the sth data point in the spatial point cloud data on the z-axis of the spatial coordinate system, μ s represents the modeling weight coefficient of the sth data point in the spatial point cloud data, and D represents the number of data points corresponding to the spatial point cloud data.

10. A system for monitoring the quality of photovoltaic modules based on computer vision, characterized in that: A method for performing photovoltaic module quality monitoring based on computer vision as described in any one of claims 1 to 9, the system comprising: A photovoltaic image acquisition module, used to acquire photovoltaic components, construct a visual monitoring environment for the photovoltaic components, and acquire photovoltaic component images of the photovoltaic components through the visual monitoring environment; A texture feature extraction module is used to perform denoising on the photovoltaic module image to obtain a filtered photovoltaic module image, construct a co-occurrence probability matrix of the filtered photovoltaic module image, and extract photovoltaic module texture features of the grayscale photovoltaic module image based on the co-occurrence probability matrix; A color feature extraction module, used to construct a color histogram of the filtered photovoltaic component image, and extract color features of the filtered photovoltaic component image based on the color histogram; A three-dimensional model construction module is used to construct a spatial coordinate system of the photovoltaic assembly, identify spatial point cloud data of the photovoltaic assembly based on the spatial coordinate system and the filtered photovoltaic assembly image, and construct a three-dimensional simulation model of the photovoltaic assembly based on the spatial point cloud data; A quality report construction module is used to identify the component hierarchy features of the three-dimensional simulation model, identify the photovoltaic component defect coefficient of the photovoltaic component based on the photovoltaic component texture features, the color features and the component hierarchy features using a trained defect recognition model, and construct a quality report of the photovoltaic component based on the photovoltaic component defect coefficient.

Citation Information

Patent Citations

  • Method for diagnosing crop water deficit through hyperspectral image technology

    CN102495005A

  • Synthetic aperture sonar target detection method based on textural characteristics

    CN103425990A

  • Part surface defect identification and evaluation method based on three-dimensional measurement point cloud

    CN109658398A

  • A three-dimensional human body reconstruction method and system and a medium

    CN109816784A

  • 2D + 3D large aircraft shape defect detection and analysis method based on deep learning

    CN111080627A

Cited By

  • Fishing-light complementary photovoltaic module monitoring system based on power generation analysis

    CN119906006A

  • Fishery-solar complementary photovoltaic module monitoring system based on power generation analysis

    CN119906006B

  • Detection method and system for photovoltaic module

    CN120546593A