Distributed photovoltaic cleaning robot and control method thereof

By collecting and analyzing photovoltaic module surface images in real time on the photovoltaic cleaning robot, using deep neural networks to detect defects and suspend cleaning, the problem of detecting photovoltaic module surface defects in the existing technology is solved, and safe and efficient photovoltaic module cleaning and inspection are achieved. The efficiency and quality of power generation are ensured.

CN118493416BActive Publication Date: 2024-10-22HAINING YUTIAN NEW ENERGY TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410476646.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2024-10-22
Estimated Expiration
2044-04-19

AI Technical Summary

Technical Problem

Existing photovoltaic cleaning robots are difficult to capture tiny defects on the surface of photovoltaic modules, and there are safety risks during the cleaning process, making it impossible to effectively ensure power generation efficiency and quality.

Method used

By installing a camera on the photovoltaic cleaning robot, the photovoltaic module surface image is collected in real time, and the image processing and analysis algorithm based on machine vision is used to extract the surface features through the deep neural network model, combined with the gated attention switch network and the feature explicit interaction module , detect defects on the surface of photovoltaic modules, and generate a prompt signal to suspend the cleaning operation when a defect is detected.

Benefits of technology

It realizes automated cleaning and inspection of photovoltaic modules, avoids safety hazards caused by surface defects, and ensures the maintenance of power generation efficiency and quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118493416B_ABST
    Figure CN118493416B_ABST
Patent Text Reader

Abstract

The present application discloses a distributed photovoltaic cleaning robot and a control method thereof, which collects the surface image of the photovoltaic module in real time through a camera installed on the distributed photovoltaic cleaning robot during the cleaning process of the distributed photovoltaic cleaning robot, and uses the image processing and analysis algorithm based on machine vision at the back end to analyze the surface image of the photovoltaic module, so as to use the semantic features of the different levels of the surface image of the photovoltaic module to more fully and accurately capture the defect features of the surface of the photovoltaic module, so as to perform defect detection of the photovoltaic module, and generate a prompt signal and suspend the cleaning operation when a defect problem is detected. In this way, the automatic cleaning and inspection of the photovoltaic module can be realized, so as to avoid the safety hazards caused by the surface defects of the photovoltaic module during the cleaning process, and timely cleaning and maintenance services can be performed on the photovoltaic module, so as to ensure the power generation efficiency and quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control, and more specifically, to a distributed photovoltaic cleaning robot and a control method thereof. Background Art

[0002] With the rapid development of renewable energy, photovoltaic power generation has been widely used as an important form of clean energy. However, photovoltaic modules will be affected by various environmental factors during long-term operation. For example, dust, dirt, bird droppings, etc. will accumulate on the surface of photovoltaic modules, resulting in a decrease in photovoltaic power generation efficiency. Therefore, regular cleaning and inspection of the surface of photovoltaic modules is one of the important measures to ensure the efficiency of photovoltaic power generation.

[0003] However, traditional photovoltaic module cleaning and inspection work is usually done manually. Manual inspection and cleaning work is not only inefficient and difficult to adapt to large-scale photovoltaic module surface cleaning work, but also has great safety hazards. The emergence of some existing distributed photovoltaic cleaning robots can replace manual work to clean and inspect photovoltaic modules, improving the efficiency and accuracy of cleaning and inspection. However, since some photovoltaic modules may have defects, cleaning defective photovoltaic modules may cause safety hazards. At the same time, existing photovoltaic cleaning robots can only detect surface dirt on photovoltaic modules, and it is difficult to capture surface defects on photovoltaic modules, especially for minor defects. Traditional photovoltaic module cleaning and inspection work is difficult to adapt.

[0004] Therefore, an optimized distributed photovoltaic cleaning robot is desired. Summary of the invention

[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a distributed photovoltaic cleaning robot and a control method thereof, which collects the surface image of the photovoltaic module in real time through the camera installed on the distributed photovoltaic cleaning robot during the cleaning process of the distributed photovoltaic cleaning robot, and uses the image processing and analysis algorithm based on machine vision at the back end to analyze the surface image of the photovoltaic module, so as to use the semantic features of the photovoltaic module surface image at different levels to more fully and accurately capture the defect features of the photovoltaic module surface, so as to perform defect detection of the photovoltaic module, and generate a prompt signal and suspend the cleaning operation when a defect problem is detected. In this way, the automated cleaning and inspection of the photovoltaic module can be realized to avoid the safety hazards caused by the surface defects of the photovoltaic module during the cleaning process, and the photovoltaic module can be cleaned and maintained in time to ensure the power generation efficiency and quality.

[0006] According to one aspect of the present application, a distributed photovoltaic cleaning robot is provided, which includes: a photovoltaic component surface image acquisition module, which is used to obtain a photovoltaic component surface image acquired by a camera of the distributed photovoltaic cleaning robot; a photovoltaic component surface image preprocessing module, which is used to perform size standardization and grayscale processing on the photovoltaic component surface image to obtain a grayscale standardized photovoltaic component surface image; a surface feature extraction module, which is used to perform surface shallow layer and surface semantic feature extraction on the grayscale standardized photovoltaic component surface image by a surface feature extractor based on a deep neural network model to obtain a photovoltaic component surface shallow layer feature map and a photovoltaic component surface semantic feature map; a photovoltaic component surface feature screening module A block is used to pass the shallow feature map of the photovoltaic module surface and the semantic feature map of the photovoltaic module surface through a feature filter based on a gated attention switch network to obtain a shallow purified feature vector of the photovoltaic module surface and a semantic purified feature vector of the photovoltaic module surface; a feature explicit interaction module is used to perform feature explicit interaction on the shallow purified feature vector of the photovoltaic module surface and the semantic purified feature vector of the photovoltaic module surface to obtain multi-scale interactive fusion features of the photovoltaic module surface; a photovoltaic module surface defect detection and cleaning control module is used to determine whether there are defects on the photovoltaic module surface based on the multi-scale interactive fusion features of the photovoltaic module surface, and determine whether to generate a prompt signal and suspend the cleaning operation.

[0007] According to another aspect of the present application, a control method for a distributed photovoltaic cleaning robot is provided, which includes: acquiring a photovoltaic module surface image collected by a camera of the distributed photovoltaic cleaning robot; performing size standardization and grayscale processing on the photovoltaic module surface image to obtain a grayscale standardized photovoltaic module surface image; performing surface shallow and surface semantic feature extraction on the grayscale standardized photovoltaic module surface image by a surface feature extractor based on a deep neural network model to obtain a photovoltaic module surface shallow feature map and a photovoltaic module surface semantic feature map; passing the photovoltaic module surface shallow feature map and the photovoltaic module surface semantic feature map through a feature filter based on a gated attention switch network to obtain a photovoltaic module surface shallow purification feature vector and a photovoltaic module surface semantic purification feature vector; performing feature explicit interaction on the photovoltaic module surface shallow purification feature vector and the photovoltaic module surface semantic purification feature vector to obtain a photovoltaic module surface multi-scale interactive fusion feature; based on the photovoltaic module surface multi-scale interactive fusion feature, determining whether there is a defect on the photovoltaic module surface, and determining whether to generate a prompt signal and suspend the cleaning operation.

[0008] Compared with the prior art, the distributed photovoltaic cleaning robot and its control method provided by the present application collects the surface image of the photovoltaic module in real time through the camera installed on the distributed photovoltaic cleaning robot during the cleaning process of the distributed photovoltaic cleaning robot, and uses the image processing and analysis algorithm based on machine vision at the back end to analyze the surface image of the photovoltaic module, so as to use the semantic features of the different levels of the surface image of the photovoltaic module to more fully and accurately capture the defect features of the surface of the photovoltaic module, so as to detect the defects of the photovoltaic module, and generate a prompt signal and suspend the cleaning operation when the defect problem is detected. In this way, the automatic cleaning and inspection of the photovoltaic module can be realized, so as to avoid the safety hazards caused by the surface defects of the photovoltaic module during the cleaning process, and the photovoltaic module can be cleaned and maintained in time, so as to ensure the power generation efficiency and quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0010] Figure 1 It is a block diagram of a distributed photovoltaic cleaning robot according to an embodiment of the present application.

[0011] Figure 2 This is a system architecture diagram of a distributed photovoltaic cleaning robot according to an embodiment of the present application.

[0012] Figure 3 It is a block diagram of the training phase of the distributed photovoltaic cleaning robot according to an embodiment of the present application.

[0013] Figure 4 It is a block diagram of a surface feature extraction module in a distributed photovoltaic cleaning robot according to an embodiment of the present application.

[0014] Figure 5 This is a flow chart of a control method for a distributed photovoltaic cleaning robot according to an embodiment of the present application. DETAILED DESCRIPTION

[0015] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0016] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0017] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules can be used and run on the user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.

[0018] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. Meanwhile, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.

[0019] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0020] Traditional photovoltaic module cleaning and inspection work is usually done manually. Manual inspection and cleaning work is not only inefficient and difficult to adapt to large-scale photovoltaic module surface cleaning work, but also has great safety hazards. The emergence of some existing distributed photovoltaic cleaning robots can replace manual work to clean and inspect photovoltaic modules, improving the efficiency and accuracy of cleaning and inspection. However, since some photovoltaic modules may have defects, cleaning defective photovoltaic modules may cause safety hazards. At the same time, existing photovoltaic cleaning robots can only detect surface dirt on photovoltaic modules, and it is difficult to capture surface defects on photovoltaic modules, especially for minor defects. Traditional photovoltaic module cleaning and inspection work is difficult to adapt. Therefore, an optimized distributed photovoltaic cleaning robot is expected.

[0021] In the technical solution of the present application, a distributed photovoltaic cleaning robot is proposed. Figure 1 It is a block diagram of a distributed photovoltaic cleaning robot according to an embodiment of the present application. Figure 2 : is a system architecture diagram of a distributed photovoltaic cleaning robot according to an embodiment of the present application. Figure 1 and Figure 2As shown, the distributed photovoltaic cleaning machine 300 according to the embodiment of the present application includes: a photovoltaic component surface image acquisition module 310, which is used to obtain the photovoltaic component surface image acquired by the camera of the distributed photovoltaic cleaning robot; a photovoltaic component surface image preprocessing module 320, which is used to perform size standardization and grayscale processing on the photovoltaic component surface image to obtain a grayscale standardized photovoltaic component surface image; a surface feature extraction module 330, which is used to perform surface shallow and surface semantic feature extraction on the grayscale standardized photovoltaic component surface image through a surface feature extractor based on a deep neural network model to obtain a photovoltaic component surface shallow feature map and a photovoltaic component surface semantic feature map; a photovoltaic component surface feature screening module 340, used for respectively passing the shallow feature map of the photovoltaic module surface and the semantic feature map of the photovoltaic module surface through a feature filter based on a gated attention switch network to obtain a shallow purified feature vector of the photovoltaic module surface and a semantic purified feature vector of the photovoltaic module surface; a feature explicit interaction module 350, used for performing feature explicit interaction on the shallow purified feature vector of the photovoltaic module surface and the semantic purified feature vector of the photovoltaic module surface to obtain a multi-scale interactive fusion feature of the photovoltaic module surface; a photovoltaic module surface defect detection and cleaning control module 360, used for determining whether there is a defect on the photovoltaic module surface based on the multi-scale interactive fusion feature of the photovoltaic module surface, and determining whether to generate a prompt signal and suspend the cleaning operation.

[0022] In particular, the photovoltaic module surface image acquisition module 310 and the photovoltaic module surface image preprocessing module 320 are used to obtain the photovoltaic module surface image collected by the camera of the distributed photovoltaic cleaning robot; and the photovoltaic module surface image is size-standardized and gray-scaled to obtain a gray-scale standardized photovoltaic module surface image. Considering that in the working process of the distributed photovoltaic cleaning robot, it is necessary to monitor the surface dirt and defects of the photovoltaic module in real time, it is necessary to ensure the size consistency of the photovoltaic module surface image collected in real time. In addition, in order to facilitate the subsequent detection of the surface defects of the photovoltaic module, in the technical solution of the present application, it is necessary to size-standardize and gray-scale the photovoltaic module surface image to obtain a gray-scale standardized photovoltaic module surface image. Through the size standardization process, different photovoltaic module surface images can be adjusted to the same size, ensuring that the image has a consistent size in the subsequent processing process. The gray-scale process can convert a color image into a gray-scale image, and convert the image from the RGB (red, green, and blue) channel to a gray-scale channel. Because the gray-scale image has a single channel, it can make the subsequent processing more efficient, and in some cases, it can better highlight the details and texture of the image, so as to facilitate the surface defect detection of the photovoltaic module.

[0023] In particular, the surface feature extraction module 330 is used to extract superficial and surface semantic features of the grayscale standardized photovoltaic module surface image through a surface feature extractor based on a deep neural network model to obtain a superficial feature map of the photovoltaic module surface and a semantic feature map of the photovoltaic module surface. A convolutional neural network model with excellent performance in implicit feature extraction of images is used to perform feature analysis of the grayscale standardized photovoltaic module surface image, so as to capture surface defects and problem features of the photovoltaic module in the image. In particular, considering that in the actual process of surface quality and defect detection of photovoltaic modules, it may be affected by the surrounding environment and equipment noise, resulting in reduced detection accuracy of defect problems. Therefore, in order to improve the recognition accuracy of surface quality defect problems of photovoltaic modules, in the technical solution of the present application, it is necessary to capture and fuse features of different levels for the grayscale standardized photovoltaic module surface image. In particular, in a specific example of the present application, such as Figure 4 As shown, the surface feature extraction module 330 includes: a photovoltaic component surface shallow feature extraction unit 331, which is used to pass the grayscale standardized photovoltaic component surface image through a surface shallow feature extractor based on a first convolutional neural network model to obtain the photovoltaic component surface shallow feature map; a photovoltaic component surface semantic feature extraction unit 332, which is used to pass the grayscale standardized photovoltaic component surface image through a surface semantic feature extractor based on a second convolutional neural network model to obtain the photovoltaic component surface semantic feature map.

[0024] Specifically, the photovoltaic module surface shallow feature extraction unit 331 is used to pass the grayscale standardized photovoltaic module surface image through the surface shallow feature extractor based on the first convolutional neural network model to obtain the photovoltaic module surface shallow feature map. Among them, the surface shallow feature extractor based on the first convolutional neural network model can effectively learn various shallow features from the image, including feature information such as edges and textures, which helps to capture the local detail semantics of the photovoltaic module surface in the image. More specifically, each layer of the surface shallow feature extractor based on the first convolutional neural network model is used to perform the following operations on the input data in the forward pass of the layer: convolution processing on the input data to obtain a convolution feature map; pooling based on the local feature matrix on the convolution feature map to obtain a pooled feature map; and nonlinear activation on the pooled feature map to obtain an activation feature map; wherein the output of the last layer of the surface shallow feature extractor based on the first convolutional neural network model is the photovoltaic module surface shallow feature map, and the input of the first layer of the surface shallow feature extractor based on the first convolutional neural network model is the grayscale standardized photovoltaic module surface image.

[0025] Convolutional Neural Network (CNN) is a deep learning model that is particularly suitable for processing data with grid structures, such as images and videos. Below is the general structure and step-by-step expansion of the convolutional neural network model: Input layer: Accepts input data, usually images, audio, or text; Convolution layer: The convolution layer is one of the core components of CNN. It extracts local features from the input data by applying a series of filters (also called convolution kernels). The convolution operation multiplies the filter by the input data element by element and sums them to generate a feature map; Activation function: After the convolution layer, a nonlinear activation function such as ReLU is usually applied to introduce nonlinear features; Pooling layer: The pooling layer is used to reduce the spatial size of the feature map and retain the most important features. Common pooling operations include maximum pooling and average pooling; Fully connected layer: The fully connected layer connects the output of the pooling layer to one or more fully connected layers to map the features to the final output category or regression value. Each neuron in the fully connected layer is connected to all neurons in the previous layer; Output layer: The output layer selects appropriate activation functions according to different tasks, such as softmax function for multi-classification tasks and linear activation function for regression tasks; Loss function: Select appropriate loss functions according to different tasks, such as cross entropy loss function for classification tasks and mean square error loss function for regression tasks; Back propagation and optimization: Through the back propagation algorithm and gradient descent optimization algorithm, the gradient of the model parameters is calculated according to the loss function, and the parameters are updated to minimize the loss function.

[0026] Specifically, the photovoltaic module surface semantic feature extraction unit 332 is used to pass the grayscale standardized photovoltaic module surface image through the surface semantic feature extractor based on the second convolutional neural network model to obtain the photovoltaic module surface semantic feature map. The surface semantic feature extractor based on the second convolutional neural network model can capture more advanced semantic information in the image, such as the shape and structure of the object, which helps to capture the overall and structural semantics of the photovoltaic module surface in the image. In this way, the robot can understand the photovoltaic module surface image more comprehensively, thereby improving the accuracy of defect detection.

[0027] It is worth mentioning that in other specific examples of the present application, the grayscale standardized photovoltaic component surface image can also be subjected to surface shallow and surface semantic feature extraction by a surface feature extractor based on a deep neural network model in other ways to obtain a shallow feature map of the photovoltaic component surface and a semantic feature map of the photovoltaic component surface, for example: input the grayscale standardized photovoltaic component surface image; use a deep neural network model as a surface feature extractor; select a shallow feature extraction layer in the neural network, usually the first few convolutional layers or feature extraction parts of the network; extract these shallow features through forward propagation, and these features usually contain more basic texture, edge and other information; select a semantic feature extraction layer in the neural network, usually the subsequent convolutional layer or fully connected layer of the network; extract these semantic features through forward propagation, and these features usually contain higher-level semantic information, such as object parts, shapes, etc.; to obtain the shallow feature map of the photovoltaic component surface and the semantic feature map of the photovoltaic component surface.

[0028] In particular, the photovoltaic module surface feature screening module 340 is used to pass the photovoltaic module surface shallow feature map and the photovoltaic module surface semantic feature map through a feature filter based on a gated attention switch network to obtain a photovoltaic module surface shallow purification feature vector and a photovoltaic module surface semantic purification feature vector. It should be understood that since the photovoltaic module surface shallow feature map and the photovoltaic module surface semantic feature map not only contain feature information about the surface state of the photovoltaic module, but also contain feature distribution information that is irrelevant to surface defect detection, this will affect the surface state and defect detection of the photovoltaic module. Therefore, in order to highlight the surface quality and defect characteristics of the photovoltaic module and reduce the influence of noise and redundant information, in the technical solution of the present application, the photovoltaic module surface shallow feature map and the photovoltaic module surface semantic feature map are further passed through a feature filter based on a gated attention switch network to obtain a photovoltaic module surface shallow purification feature vector and a photovoltaic module surface semantic purification feature vector. It should be understood that the feature filter based on the gated attention switch network can weight different features according to the input feature map, so that the network can focus on the feature part that is meaningful to the current task. That is to say, through the feature filter based on the gated attention switch network, the network can adaptively learn the importance of different features in the feature map, and dynamically learn the weights of the features, so as to select the most useful features for the current defect detection task, and achieve feature purification and refinement. In this way, the key features focusing on the surface state of the photovoltaic module in the shallow feature map of the photovoltaic module surface and the semantic feature map of the photovoltaic module surface can be captured respectively, reducing the influence of noise and redundant information. Specifically, the shallow feature map of the photovoltaic module surface is processed by the feature filter based on the gated attention switch network with the following feature screening formula to obtain the shallow purified feature vector of the photovoltaic module surface; wherein, the feature screening formula is: ;in, and are respectively the first and second in the sequence of the shallow feature vectors of the photovoltaic module surface obtained by quantizing the feature matrices along the channel dimension in the shallow feature map of the photovoltaic module surface. and The shallow feature vector of the photovoltaic module surface, is the sequence of shallow feature vectors of the photovoltaic module surface, represents the logarithmic function value with base 2, is the length of the shallow characteristic vector of each photovoltaic module surface, is the number of vectors in the sequence of shallow feature vectors of the photovoltaic module surface - 1, is the eigenvalue of each position in the shallow local difference eigenvector of the surface of the photovoltaic module, For masking operation, is the eigenvalue of each position in the shallow local difference eigenvector of the masked PV module surface, is the length of the shallow local difference feature vector of the masked photovoltaic module surface, is the exponential operation, is the shallow purification feature vector of the photovoltaic module surface.

[0029] In particular, the feature explicit interaction module 350 is used to perform feature explicit interaction on the shallow purified feature vector of the photovoltaic component surface and the semantic purified feature vector of the photovoltaic component surface to obtain the multi-scale interactive fusion feature of the photovoltaic component surface. Considering that the shallow purified feature vector of the photovoltaic component surface and the semantic purified feature vector of the photovoltaic component surface respectively contain the shallow and semantic feature information of the photovoltaic component surface after feature purification, and different hierarchical features have different aspects of the photovoltaic component surface, and also contain different scale information, such as local details and global structure. Based on this, in order to enable the model to better understand the surface characteristics of the photovoltaic component, in the technical solution of the present application, it is necessary to use the feature distribution eigenvalue granularity interaction module to perform feature explicit interaction on the shallow purified feature vector of the photovoltaic component surface and the semantic purified feature vector of the photovoltaic component surface to obtain the multi-scale interactive fusion feature vector of the photovoltaic component surface. The feature distribution eigenvalue granularity interaction module can help to effectively interact the shallow surface features and semantic features of the photovoltaic component, so as to obtain a more representative and rich feature vector. In other words, the feature explicit interaction method can help to effectively exchange and integrate information between features and improve the expression ability of features. By interacting the shallow purification features and the semantic purification features, the complex features in the image can be better captured, and the characterization capability of the surface state features of the photovoltaic module can be improved. Specifically, the feature distribution eigenvalue granularity interaction module is used to perform feature explicit interaction on the shallow purification feature vector of the photovoltaic module surface and the semantic purification feature vector of the photovoltaic module surface using the following eigenvalue granularity interaction formula to obtain the multi-scale interactive fusion feature vector of the photovoltaic module surface as the multi-scale interactive fusion feature of the photovoltaic module surface; wherein the eigenvalue granularity interaction formula is: ;in, and are the feature values ​​of each position in the shallow purified feature vector of the photovoltaic module surface and the semantic purified feature vector of the photovoltaic module surface, respectively. represents a constant bias, is the bias vector, is the bias matrix, is the number of eigenvalues ​​in the shallow layer purified feature vector of the photovoltaic module surface or the semantically purified feature vector of the photovoltaic module surface, is the multi-scale interactive fusion feature vector of the photovoltaic module surface.

[0030] In particular, the photovoltaic module surface defect detection and cleaning control module 360 ​​is used to determine whether there are defects on the surface of the photovoltaic module based on the multi-scale interactive fusion features of the photovoltaic module surface, and determine whether to generate a prompt signal and suspend the cleaning operation. In particular, in a specific example of the present application, the multi-scale interactive fusion feature vector of the photovoltaic module surface is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether there are defects on the surface of the photovoltaic module. In other words, the multi-scale interactive fusion feature information of the surface state of the photovoltaic module is used for classification processing to more fully and accurately monitor the defects on the surface of the photovoltaic module, and then, in response to the classification result that there are defects on the surface of the photovoltaic module, a prompt signal is generated and the cleaning operation is suspended. In this way, the automated cleaning and inspection of the photovoltaic module can be realized to avoid the safety hazards caused by the surface defects of the photovoltaic module during the cleaning process, and the photovoltaic module can be cleaned and maintained in a timely manner, thereby ensuring the power generation efficiency and quality.

[0031] That is, in the technical solution of the present application, the labels of the classifier include the presence of defects on the surface of the photovoltaic module (first label), and the absence of defects on the surface of the photovoltaic module (second label), wherein the classifier determines to which classification label the multi-scale interactive fusion feature vector of the surface of the photovoltaic module belongs through a soft maximum function. It is worth noting that the first label p1 and the second label p2 here do not contain artificially set concepts. In fact, during the training process, the computer model does not have the concept of "whether there are defects on the surface of the photovoltaic module". It only has two classification labels and the probability of the output feature under these two classification labels, that is, the sum of p1 and p2 is one. Therefore, the classification result of whether there are defects on the surface of the photovoltaic module is actually converted into a binary classification class probability distribution that conforms to the laws of nature through the classification label. In essence, the physical meaning of the natural probability distribution of the label is used, rather than the linguistic text meaning of "whether there are defects on the surface of the photovoltaic module".

[0032] It should be understood that before using the above-mentioned neural network model for inference, it is necessary to train the surface shallow feature extractor based on the first convolutional neural network model, the surface semantic feature extractor based on the second convolutional neural network model, the feature filter based on the gated attention switch network, the feature distribution feature value granularity interaction module and the classifier. That is to say, according to the distributed photovoltaic cleaning robot 300 of the present application, it also includes a training stage 400 for training the surface shallow feature extractor based on the first convolutional neural network model, the surface semantic feature extractor based on the second convolutional neural network model, the feature filter based on the gated attention switch network, the feature distribution feature value granularity interaction module and the classifier.

[0033] Figure 3 FIG. 1 is a block diagram of the training phase of the distributed photovoltaic cleaning robot according to an embodiment of the present application. Figure 3As shown, according to the distributed photovoltaic cleaning robot 300 of the embodiment of the present application, it includes: a training stage 400, including: a training data acquisition unit 410, which is used to acquire a training photovoltaic component surface image collected by a camera of the distributed photovoltaic cleaning robot; a training surface image preprocessing unit 420, which is used to size-standardize and grayscale the training photovoltaic component surface image to obtain a training grayscale standardized photovoltaic component surface image; a training surface shallow feature extraction unit 430, which is used to pass the training grayscale standardized photovoltaic component surface image through a surface shallow feature extractor based on a first convolutional neural network model to obtain a training photovoltaic component surface shallow feature map; a training surface semantic feature extraction unit 440, which is used to pass the training grayscale standardized photovoltaic component surface image through a surface semantic feature extractor based on a second convolutional neural network model to obtain a training photovoltaic component surface semantic feature map; a training surface feature screening unit 450, which is used to respectively pass the training photovoltaic component surface shallow feature map and the training photovoltaic component surface semantic feature map through a gated attention switch network based on the ... A feature filter is used to obtain a shallow purified feature vector of the surface of a training photovoltaic component and a semantic purified feature vector of the surface of a training photovoltaic component; a training feature explicit interaction unit 460 is used to perform feature explicit interaction on the shallow purified feature vector of the surface of the training photovoltaic component and the semantic purified feature vector of the surface of the training photovoltaic component to obtain a multi-scale interactive fusion feature vector of the surface of the training photovoltaic component; an optimization unit 470 is used to perform clustering optimization on each feature value of the multi-scale interactive fusion feature vector of the surface of the training photovoltaic component to obtain an optimized multi-scale interactive fusion feature vector of the surface of the training photovoltaic component; a classification loss unit 480 is used to pass the optimized multi-scale interactive fusion feature vector of the surface of the training photovoltaic component through a classifier to obtain a classification loss function value; a training unit 490 is used to train the surface shallow feature extractor based on the first convolutional neural network model, the surface semantic feature extractor based on the second convolutional neural network model, the feature filter based on the gated attention switch network, the feature distribution feature value granularity interaction module and the classifier based on the classification loss function value.

[0034] Among them, the optimization unit is used to: cluster the eigenvalues ​​of the training photovoltaic component surface multi-scale interactive fusion feature vector based on the distance between the eigenvalues ​​to obtain a cluster feature set; based on the cluster feature set, optimize the photovoltaic component surface multi-scale interactive fusion feature vector based on the clustered feature in-class and out-of-class characterization to obtain the optimized training photovoltaic component surface multi-scale interactive fusion feature vector.

[0035] In particular, in the above technical scheme, the shallow feature map of the training photovoltaic component surface and the semantic feature map of the training photovoltaic component surface respectively express the image semantic features of different scales and different depths of the grayscale standardized photovoltaic component surface image. In this way, the shallow feature map of the training photovoltaic component surface and the semantic feature map of the training photovoltaic component surface are respectively passed through a feature filter based on a gated attention switch network to obtain a shallow purified feature vector of the training photovoltaic component surface and a semantic purified feature vector of the training photovoltaic component surface. After the feature distribution eigenvalue granularity interaction module is used to perform feature explicit interaction on the shallow purified feature vector of the training photovoltaic component surface and the semantic purified feature vector of the training photovoltaic component surface, the multi-scale interactive fusion feature vector of the training photovoltaic component surface can further represent the cross-scale and cross-depth image semantic interaction features. However, while improving the multi-dimensional image semantic feature expression capability of the multi-scale interactive fusion feature vector of the training photovoltaic component surface, it will also lead to the discreteness of the feature distribution of the multi-scale interactive fusion feature vector of the training photovoltaic component surface, so that when the multi-scale interactive fusion feature vector of the training photovoltaic component surface is classified and regressed as a whole through a classifier, it will be difficult to converge to the predetermined class regression domain due to the discreteness of the feature distribution of the multi-scale interactive fusion feature vector of the training photovoltaic component surface, thereby affecting the training speed of the classifier and the accuracy of the final classification result. Based on this, the applicant of the present application clusters and optimizes the multi-scale interactive fusion feature vector of the training photovoltaic component surface at each iteration when the multi-scale interactive fusion feature vector of the training photovoltaic component surface is classified and trained through a classifier, that is, first clustering the eigenvalues ​​of the multi-scale interactive fusion feature vector of the training photovoltaic component surface, such as clustering based on the distance between eigenvalues, and then optimizing based on the in-class and out-of-class representations of the clustered features, expressed as: ;in, are the eigenvalues ​​of the multi-scale interactive fusion feature vector of the training photovoltaic module surface, is the number of feature sets corresponding to the multi-scale interactive fusion feature vector of the training photovoltaic module surface, that is, the length of the multi-scale interactive fusion feature vector of the training photovoltaic module surface, is the number of clustering features, represents the clustering feature set, is the natural exponential function value of the eigenvalues ​​at each position in the feature vector. Specifically, the class instance description based on the clustering ratio distribution is performed by taking the in-class features and out-of-class features of the multi-scale interactive fusion feature vector of the training photovoltaic component surface as different instance roles, and introducing the clustering response history based on the in-class and out-of-class dynamic context to maintain a coordinated global perspective on the in-class distribution and out-of-class distribution of the overall features of the multi-scale interactive fusion feature vector of the training photovoltaic component surface, so that the optimized feature clustering operation of the multi-scale interactive fusion feature vector of the training photovoltaic component surface can maintain a consistent response of the in-class and out-of-class features, so that the regression path based on feature clustering in the class regression process remains consistent, and the convergence of the multi-scale interactive fusion feature vector of the training photovoltaic component surface to the predetermined class regression domain is improved, thereby improving the training speed of the classifier and the accuracy of the final classification result. In this way, the different levels of features of the surface state of the photovoltaic component can be used to more fully and accurately detect defects on the surface of the photovoltaic component, and a prompt signal is generated and the cleaning operation is suspended when a defect problem is detected.

[0036] As described above, the distributed photovoltaic cleaning robot 300 according to the embodiment of the present application can be implemented in various wireless terminals, such as a server with a distributed photovoltaic cleaning algorithm. In a possible implementation, the distributed photovoltaic cleaning robot 300 according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the distributed photovoltaic cleaning robot 300 can be a software module in the operating system of the wireless terminal, or can be an application developed for the wireless terminal; of course, the distributed photovoltaic cleaning robot 300 can also be one of the many hardware modules of the wireless terminal.

[0037] Alternatively, in another example, the distributed photovoltaic cleaning robot 300 and the wireless terminal may also be separate devices, and the distributed photovoltaic cleaning robot 300 may be connected to the wireless terminal via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.

[0038] Furthermore, a control method for a distributed photovoltaic cleaning robot is also provided.

[0039] Figure 5 Flow chart of the control method of the distributed photovoltaic cleaning robot according to the embodiment of the present application. Figure 5As shown, according to the control method of the distributed photovoltaic cleaning robot of the embodiment of the present application, the steps include: S1, obtaining the surface image of the photovoltaic component collected by the camera of the distributed photovoltaic cleaning robot; S2, performing size standardization and grayscale processing on the surface image of the photovoltaic component to obtain a grayscale standardized photovoltaic component surface image; S3, performing surface shallow and surface semantic feature extraction on the grayscale standardized photovoltaic component surface image through a surface feature extractor based on a deep neural network model to obtain a photovoltaic component surface shallow feature map and a photovoltaic component surface semantic feature map; S4, respectively passing the photovoltaic component surface shallow feature map and the photovoltaic component surface semantic feature map through a feature filter based on a gated attention switch network to obtain a photovoltaic component surface shallow purification feature vector and a photovoltaic component surface semantic purification feature vector; S5, performing feature explicit interaction on the photovoltaic component surface shallow purification feature vector and the photovoltaic component surface semantic purification feature vector to obtain a photovoltaic component surface multi-scale interactive fusion feature; S6, based on the photovoltaic component surface multi-scale interactive fusion feature, determining whether there is a defect on the photovoltaic component surface, and determining whether to generate a prompt signal and suspend the cleaning operation.

[0040] In summary, the control method of the distributed photovoltaic cleaning robot according to the embodiment of the present application is explained, which collects the surface image of the photovoltaic module in real time through the camera installed on the distributed photovoltaic cleaning robot during the cleaning process of the distributed photovoltaic cleaning robot, and uses the image processing and analysis algorithm based on machine vision at the back end to analyze the surface image of the photovoltaic module, so as to use the semantic features of the different levels of the surface image of the photovoltaic module to more fully and accurately capture the defect features of the surface of the photovoltaic module, so as to perform defect detection of the photovoltaic module, and generate a prompt signal and suspend the cleaning operation when a defect problem is detected. In this way, the automated cleaning and inspection of the photovoltaic module can be realized, so as to avoid the safety hazards caused by the surface defects of the photovoltaic module during the cleaning process, and timely cleaning and maintenance services can be performed on the photovoltaic module, so as to ensure the power generation efficiency and quality.

[0041] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A distributed photovoltaic cleaning robot, characterized in that: include: A photovoltaic module surface image acquisition module is used to obtain a photovoltaic module surface image acquired by a camera of a distributed photovoltaic cleaning robot; a photovoltaic module surface image preprocessing module is used to perform size standardization and grayscale processing on the photovoltaic module surface image to obtain a grayscale standardized photovoltaic module surface image; A surface feature extraction module, used to extract surface shallow and surface semantic features of the grayscale standardized photovoltaic module surface image through a surface feature extractor based on a deep neural network model to obtain a photovoltaic module surface shallow feature map and a photovoltaic module surface semantic feature map; a photovoltaic module surface feature screening module, used to pass the photovoltaic module surface shallow feature map and the photovoltaic module surface semantic feature map through a feature filter based on a gated attention switch network to obtain a photovoltaic module surface shallow purified feature vector and a photovoltaic module surface semantic purified feature vector; a feature explicit interaction module, used to perform feature explicit interaction on the photovoltaic module surface shallow purified feature vector and the photovoltaic module surface semantic purified feature vector to obtain a photovoltaic module surface multi-scale interactive fusion feature; a photovoltaic module surface defect detection and cleaning control module, used to determine whether there is a defect on the photovoltaic module surface based on the photovoltaic module surface multi-scale interactive fusion feature, and determine whether to generate a prompt signal and suspend the cleaning operation; The photovoltaic module surface feature screening module is used to: process the photovoltaic module surface shallow feature map through the feature filter based on the gated attention switch network with the following feature screening formula to obtain the photovoltaic module surface shallow purification feature vector; wherein the feature screening formula is: ;in, and are respectively the first and second in the sequence of the shallow feature vectors of the photovoltaic module surface obtained by quantizing the feature matrices along the channel dimension in the shallow feature map of the photovoltaic module surface. and The shallow feature vector of the photovoltaic module surface, is the sequence of shallow feature vectors of the photovoltaic module surface, represents the logarithmic function value with base 2, is the length of the shallow characteristic vector of each photovoltaic module surface, is the number of vectors in the sequence of shallow feature vectors on the surface of the photovoltaic module minus one, is the eigenvalue of each position in the shallow local difference eigenvector of the surface of the photovoltaic module, For masking operation, is the eigenvalue of each position in the shallow local difference eigenvector of the masked PV module surface, is the length of the shallow local difference feature vector of the masked photovoltaic module surface, is the exponential operation, is the shallow purification feature vector of the photovoltaic module surface.

2. The distributed photovoltaic cleaning robot according to claim 1, characterized in that: The surface feature extraction module includes: a photovoltaic component surface shallow feature extraction unit, which is used to pass the grayscale standardized photovoltaic component surface image through a surface shallow feature extractor based on a first convolutional neural network model to obtain the photovoltaic component surface shallow feature map; a photovoltaic component surface semantic feature extraction unit, which is used to pass the grayscale standardized photovoltaic component surface image through a surface semantic feature extractor based on a second convolutional neural network model to obtain the photovoltaic component surface semantic feature map.

3. The distributed photovoltaic cleaning robot according to claim 2, characterized in that: The feature explicit interaction module is used to: use the feature distribution eigenvalue granularity interaction module to perform feature explicit interaction on the shallow purification feature vector of the photovoltaic component surface and the semantic purification feature vector of the photovoltaic component surface with the following eigenvalue granularity interaction formula to obtain the multi-scale interactive fusion feature vector of the photovoltaic component surface as the multi-scale interactive fusion feature of the photovoltaic component surface; wherein the eigenvalue granularity interaction formula is: ;in, and are the feature values ​​of each position in the shallow purified feature vector of the photovoltaic module surface and the semantic purified feature vector of the photovoltaic module surface, respectively. represents a constant bias, is the bias vector, is the bias matrix, is the number of eigenvalues ​​in the shallow layer purified feature vector of the photovoltaic module surface or the semantically purified feature vector of the photovoltaic module surface, is the multi-scale interactive fusion feature vector of the photovoltaic module surface.

4. The distributed photovoltaic cleaning robot according to claim 3, characterized in that: The photovoltaic module surface defect detection and cleaning control module includes: a photovoltaic module surface defect detection unit, which is used to pass the multi-scale interactive fusion feature vector of the photovoltaic module surface through a classifier to obtain a classification result, and the classification result is used to indicate whether there are defects on the photovoltaic module surface; a cleaning operation control unit, which is used to generate a prompt signal and suspend the cleaning operation in response to the classification result that there are defects on the photovoltaic module surface.

5. The distributed photovoltaic cleaning robot according to claim 4, characterized in that: It also includes a training module for training the surface shallow feature extractor based on the first convolutional neural network model, the surface semantic feature extractor based on the second convolutional neural network model, the feature filter based on the gated attention switch network, the feature distribution feature value granularity interaction module and the classifier.

6. The distributed photovoltaic cleaning robot according to claim 5, characterized in that: The training module includes: a training data acquisition unit, which is used to acquire a training photovoltaic component surface image collected by a camera of a distributed photovoltaic cleaning robot; a training surface image preprocessing unit, which is used to perform size standardization and grayscale processing on the training photovoltaic component surface image to obtain a training grayscale standardized photovoltaic component surface image; a training surface shallow feature extraction unit, which is used to pass the training grayscale standardized photovoltaic component surface image through a surface shallow feature extractor based on a first convolutional neural network model to obtain a training photovoltaic component surface shallow feature map; a training surface semantic feature extraction unit, which is used to pass the training grayscale standardized photovoltaic component surface image through a surface semantic feature extractor based on a second convolutional neural network model to obtain a training photovoltaic component surface semantic feature map; a training surface feature screening unit, which is used to pass the training photovoltaic component surface shallow feature map and the training photovoltaic component surface semantic feature map respectively through a feature filter based on a gated attention switch network to obtain a training photovoltaic component surface shallow feature map. The invention relates to a surface purification feature vector of a photovoltaic component and a semantic purification feature vector of a training photovoltaic component surface; a training feature explicit interaction unit, which is used to perform feature explicit interaction on the shallow purification feature vector of the training photovoltaic component surface and the semantic purification feature vector of the training photovoltaic component surface to obtain a multi-scale interactive fusion feature vector of the training photovoltaic component surface; an optimization unit, which is used to perform clustering optimization on each eigenvalue of the multi-scale interactive fusion feature vector of the training photovoltaic component surface to obtain an optimized multi-scale interactive fusion feature vector of the training photovoltaic component surface; a classification loss unit, which is used to pass the optimized multi-scale interactive fusion feature vector of the training photovoltaic component surface through a classifier to obtain a classification loss function value; a training unit, which is used to train the surface shallow feature extractor based on the first convolutional neural network model, the surface semantic feature extractor based on the second convolutional neural network model, the feature filter based on the gated attention switch network, the feature distribution eigenvalue granularity interaction module and the classifier based on the classification loss function value.

7. The distributed photovoltaic cleaning robot according to claim 6, characterized in that: The optimization unit is used to: cluster the eigenvalues ​​of the training photovoltaic component surface multi-scale interactive fusion feature vector based on the distance between the eigenvalues ​​to obtain a cluster feature set; based on the cluster feature set, optimize the photovoltaic component surface multi-scale interactive fusion feature vector based on the clustered feature in-class and out-of-class characterization to obtain the optimized training photovoltaic component surface multi-scale interactive fusion feature vector.

8. A control method for a distributed photovoltaic cleaning robot, characterized in that: include: Acquire a photovoltaic module surface image captured by a camera of a distributed photovoltaic cleaning robot; perform size standardization and grayscale processing on the photovoltaic module surface image to obtain a grayscale standardized photovoltaic module surface image; perform surface shallow and surface semantic feature extraction on the grayscale standardized photovoltaic module surface image through a surface feature extractor based on a deep neural network model to obtain a photovoltaic module surface shallow feature map and a photovoltaic module surface semantic feature map; pass the photovoltaic module surface shallow feature map and the photovoltaic module surface semantic feature map through a feature filter based on a gated attention switch network to obtain a photovoltaic module surface shallow purification feature vector and a photovoltaic module surface semantic purification feature vector; perform feature explicit interaction on the photovoltaic module surface shallow purification feature vector and the photovoltaic module surface semantic purification feature vector to obtain a photovoltaic module surface multi-scale interactive fusion feature; based on the photovoltaic module surface multi-scale interactive fusion feature, determine whether there is a defect on the photovoltaic module surface, and determine whether to generate a prompt signal and suspend the cleaning operation; The photovoltaic module surface shallow feature map and the photovoltaic module surface semantic feature map are respectively passed through a feature filter based on a gated attention switch network to obtain a photovoltaic module surface shallow purified feature vector and a photovoltaic module surface semantic purified feature vector, including: the photovoltaic module surface shallow feature map is passed through the feature filter based on the gated attention switch network to process the feature filter with the following feature screening formula to obtain the photovoltaic module surface shallow purified feature vector; wherein the feature screening formula is: ;in, and are respectively the first and second in the sequence of the shallow feature vectors of the photovoltaic module surface obtained by quantizing the feature matrices along the channel dimension in the shallow feature map of the photovoltaic module surface. and The shallow feature vector of the photovoltaic module surface, is the sequence of shallow feature vectors of the photovoltaic module surface, represents the logarithmic function value with base 2, is the length of the shallow characteristic vector of each photovoltaic module surface, is the number of vectors in the sequence of shallow feature vectors on the surface of the photovoltaic module minus one, is the eigenvalue of each position in the shallow local difference eigenvector of the surface of the photovoltaic module, For masking operation, is the eigenvalue of each position in the shallow local difference eigenvector of the masked PV module surface, is the length of the shallow local difference feature vector of the masked photovoltaic module surface, is the exponential operation, is the shallow purification feature vector of the photovoltaic module surface.

Citation Information

Patent Citations

  • Moving image deblurring method based on self-adaptive residual errors and recursive cross attention

    CN112164011A

  • Portable cleaning and detecting robot system and control method thereof

    CN112873242A

  • Photovoltaic module hot spot defect detection method based on multi-scale feature map inference network

    CN114283137A

  • Workpiece surface tiny defect detection method based on improved SSD (Solid State Disk) algorithm

    CN115937077A

  • Workpiece defect detection method based on deep neural network

    CN116071327A