Unmanned intelligent cleaning method and system for photovoltaic panels based on improved YOLOv8 model
By improving the YOLOv8 model and camera splicing technology, the problems of low automation and high cost of photovoltaic panel cleaning have been solved, low-cost, high-efficiency unmanned intelligent cleaning has been achieved, and detection accuracy and cleaning efficiency have been improved.
Patent Information
- Application Number
- CN202411139611.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-20
AI Technical Summary
Existing photovoltaic panel cleaning technology has low automation, high cost, and relies on drones and remote sensing information, making it difficult to accurately obtain photovoltaic panel distribution information, resulting in poor control accuracy.
Using the improved YOLOv8 model, combined with surveillance video and camera splicing technology, it can determine in real time whether the photovoltaic panels need to be cleaned and plan the cleaning path. It can realize unmanned intelligent automatic cleaning through low-cost surveillance video and replace the C2f module in the YOLOv8 model with C2f- The repghost module uses the MPDIoU loss function to improve the efficiency of the algorithm on industrial computers with insufficient computing power.
It realizes low-cost, high-efficiency, completely unmanned and intelligent automatic cleaning of photovoltaic panels, reduces costs, improves detection accuracy and cleaning efficiency, and avoids dependence on drones and remote sensing information.
Smart Images

Figure CN118649976B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of photovoltaic panel cleaning, and in particular to an unmanned intelligent cleaning method and system for photovoltaic panels based on an improved YOLOv8 model. Background Art
[0002] Photovoltaic panels in areas such as the tops of buildings are easily contaminated by dust, mud, catkins and other substances. Long-term accumulation will seriously affect the power generation efficiency and require regular cleaning.
[0003] In the related technology, drones are usually used for monitoring to determine whether cleaning is needed, and then small suction or track-type robots are manually controlled for cleaning. Manual control of drones and robots and other equipment is required, which not only has a low degree of automation and inefficient working methods, but also has high drone and labor costs, resulting in high cleaning costs. Alternatively, the robot's path is planned by using geodetic coordinates including longitude, latitude and elevation, and remote sensing information to control the robot for cleaning. However, photovoltaic panels are scattered on the top of the building, and it is difficult to obtain accurate and detailed distribution information from remote sensing information, which has poor feasibility and poor control accuracy. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0005] To this end, the purpose of the present invention is to provide an unmanned intelligent cleaning method and system for photovoltaic panels based on an improved YOLOv8 model, which can use low-cost monitoring videos to achieve highly efficient fully unmanned intelligent automatic cleaning of photovoltaic panels without relying on drones and remote sensing information, and without manually controlling robot equipment, which is lower in cost. At the same time, an improved YOLOv8 model is proposed, so that the instance segmentation algorithm can run quickly and accurately on industrial computers with insufficient computing power.
[0006] In order to achieve the above-mentioned purpose, the technical solution of the first aspect of the present invention provides an unmanned intelligent cleaning method for photovoltaic panels based on an improved YOLOv8 model, comprising the following steps: reading monitoring videos in real time, and collecting photovoltaic panel images using camera stitching technology; judging whether the photovoltaic panels need to be cleaned based on the collected photovoltaic panel images based on the improved YOLOv8 model; if it is determined that the photovoltaic panels need to be cleaned, establishing a navigation map planning path based on the monitoring video read in real time using camera stitching technology, and sending a cleaning signal to a cleaning robot, so that the cleaning robot moves to the position of the photovoltaic panel to be cleaned according to the navigation map planning path to perform the cleaning operation.
[0007] Preferably, the improved YOLOv8 model is pre-built and trained before being deployed to the industrial computer, specifically comprising the following steps: using surveillance video to collect photovoltaic panel images that need to be cleaned to produce a data set; based on the YOLOv8 model, constructing an improved YOLOv8 model, wherein the C2f module in the YOLOv8 model backbone network is replaced with a C2f-repghost module, and the loss function of the YOLOv8 algorithm is replaced with an MPDIoU loss function; using the produced data set to train the improved YOLOv8 model, and deploying the trained improved YOLOv8 model to the industrial computer.
[0008] Preferably, the C2f-repghost module includes a first Conv module, a Split module, a plurality of repghostbottleneck modules, a first Add module, and a second Conv module.
[0009] Among them, the input feature map is first convolved by the first Conv module and then enters the Split module to be split into two parts, recorded as the first part and the second part; the first part is directly passed to the Add module, and the second part is passed to the repghostbottleneck module for processing and then enters the first Add module; the processed first part and the second part are added in the first Add module, and then output after convolution processing by the second Conv module.
[0010] Preferably, the repghost bottleneck module includes: a third Conv module, a first Relu module, an SBlock layer, a first BN layer, a first DConv module, a second Add module, a second Relu module, a DS / SE module, a fourth Conv module, a second DConv module, a second BN layer, a third Add module, and a fourth Add module.
[0011] Among them, the input feature map synchronously jumps through the SBlock layer directly into the fourth Add module and the third Conv module; after convolution processing by the third Conv module, it enters the first Relu module; the feature map processed by the first Relu module is passed to the first BN layer for normalization and the first DConv module for deformation convolution, and then added in the second Add module; after processing by the second Relu module, it enters the DS / SE module, and then enters the fourth Conv module to generate a new feature map; the newly generated feature map is passed to the second BN layer for normalization and the second DConv module for deformation convolution, and then added in the third Add module, and then enters the fourth Add module to be added to the input feature map.
[0012] Preferably, the MPDIoU loss function includes:
[0013]
[0014] Among them, A represents the true box, which is manually annotated and stored in the annotation file; B represents the predicted box, which is processed by the backbone network and neck network of the improved YOLOv8 model and calculated in the output network; d1 represents the Euclidean distance between the upper left corner of the true box and the predicted box, and d2 represents the Euclidean distance between the true box and the lower right corner of the predicted box; (x1 A ,y1 A ) is represented by the coordinates of the upper left corner and lower right corner of the real box; (x2 B , y2 B ) is represented as the coordinates of the upper left and lower right corners of the prediction box; It is represented by the intersection and union ratio of the real box and the predicted box; w is represented by the length of the input image, and h is represented by the height of the input image.
[0015] It should be noted that the image is input into the improved YOLOv8 algorithm. After being processed by the backbone network and the neck network, the output network predicts the center point coordinates, width, height, existence probability of the object to be detected in each image, and the probability distribution of each object to be detected through regression prediction. The center point coordinates and size (width and height) predicted by the output network of the improved YOLOv8 algorithm will be combined with the predefined rectangular box (anchor box) in the improved YOLOv8 algorithm to finally generate a prediction box.
[0016] Preferably, the photovoltaic panel images to be cleaned are collected by monitoring video to produce a data set, which specifically includes the following steps:
[0017] Dedistort the acquired image and set the dedistorted image to a specified size;
[0018] Use the EISeg tool to annotate the dataset, use different labels to annotate photovoltaic panels with different pollution levels, and generate a dataset document in coco format containing annotation information;
[0019] Perform data enhancement on the labeled data set, including rotation, translation, and cropping;
[0020] The dataset is divided into training set, test set, and validation set according to 7:2:1 to train and improve the YOLOv8 model.
[0021] Preferably, the method further includes the following steps: after receiving a cleaning operation end signal fed back by the cleaning robot, retrieving a newly acquired photovoltaic panel image at the same position, and judging whether the photovoltaic panel at the position is cleaned based on an improved YOLOv8 model;
[0022] If it is determined that the photovoltaic panel at that position has not been cleaned up, a repeat cleaning signal is sent to the cleaning robot to continue the cleaning operation.
[0023] Preferably, the method further includes the following steps: if it is determined that the photovoltaic panel at the location has been cleaned, determining whether there are other photovoltaic panels that need to be cleaned;
[0024] If it is determined that there are other photovoltaic panels that need to be cleaned, a navigation map planning path is established based on the real-time monitoring video using camera stitching technology, and a cleaning signal is sent to the cleaning robot so that the cleaning robot can move directly to the next photovoltaic panel to be cleaned according to the navigation map planning path for cleaning operations.
[0025] Preferably, the method further comprises the following steps: if it is determined that the photovoltaic panel at the position has been cleaned, a reset signal is sent to the cleaning robot, so that the cleaning robot returns to the initial position according to the reset signal.
[0026] The technical solution of the second aspect of the present invention also provides an unmanned intelligent cleaning system for photovoltaic panels, which includes multiple surveillance cameras arranged near the photovoltaic panel area; an industrial computer, which is connected to the surveillance cameras via a local area network and deploys an improved YOLOv8 model to execute the unmanned intelligent cleaning method for photovoltaic panels based on the improved YOLOv8 model described in any one of the above technical solutions; and a cleaning robot, which is connected to the industrial computer.
[0027] The cleaning robot is an intelligent wheeled cleaning robot.
[0028] The technical solution of the third aspect of the present invention proposes a computer device, which includes a processor, and the processor is used to implement the steps of the unmanned intelligent cleaning method of photovoltaic panels based on the improved YOLOv8 model as proposed in any one of the technical solutions of the first aspect of the present invention when executing a computer program stored in a memory.
[0029] The technical solution of the fourth aspect of the present invention proposes a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the unmanned intelligent cleaning method of photovoltaic panels based on the improved YOLOv8 model proposed in any one of the technical solutions of the first aspect of the present invention are implemented.
[0030] The unmanned intelligent cleaning method and system of photovoltaic panels based on the improved YOLOv8 model proposed in the present invention have the following beneficial technical effects:
[0031] (1) The present invention proposes an unmanned intelligent cleaning method and system for photovoltaic panels based on an improved YOLOv8 model, which can use low-cost surveillance videos to achieve highly efficient, fully unmanned intelligent automatic cleaning of photovoltaic panels without relying on drones or remote sensing information, and without the need for manual control of robotic equipment, thus reducing costs.
[0032] (2) The present invention proposes an unmanned intelligent cleaning method and system for photovoltaic panels based on an improved YOLOv8 model. The improved YOLOv8 model is proposed, and the C2f module in the backbone network of the YOLOv8 model is replaced by the C2f-repghost module, and the loss function of the YOLOv8 algorithm is replaced by the MPDIoU loss function. While ensuring the detection accuracy of the algorithm, the algorithm is made more lightweight and the detection speed is significantly improved, so that the instance segmentation algorithm can run quickly and accurately on industrial computers with insufficient computing power.
[0033] (3) The present invention proposes an unmanned intelligent cleaning method and system for photovoltaic panels based on an improved YOLOv8 model, and proposes an improved YOLOv8 model. The C2f-repghost module in the improved YOLOv8 model includes multiple repghostbottleneck modules. The Repghost Bottleneck design paradigm is used to reconstruct the Bottleneck module in the YOLOv8 algorithm to achieve implicit feature reuse, reduce the network parameters of the YOLOv8 algorithm, and improve the algorithm's inference speed on hardware devices such as industrial computers with insufficient computing power.
[0034] (4) The present invention proposes an unmanned intelligent cleaning method and system for photovoltaic panels based on an improved YOLOv8 model. The method and system can establish a navigation map planning path through monitoring videos using camera stitching technology, and use a local area network to assign a cleaning robot to clean the photovoltaic panels. No remote sensing information is required, and the system has higher accuracy.
[0035] (5) The unmanned intelligent cleaning method and system of photovoltaic panels based on the improved YOLOv8 model proposed in the present invention will determine whether the photovoltaic panels are cleaned after receiving the cleaning operation end signal fed back by the cleaning robot, thereby ensuring the cleaning effect of the photovoltaic panels. At the same time, if the photovoltaic panels are not cleaned, the cleaning robot is controlled to continue cleaning, thereby saving costs and improving efficiency.
[0036] (6) The present invention proposes an unmanned intelligent cleaning method and system for photovoltaic panels based on an improved YOLOv8 model. After the photovoltaic panel at the current position is cleaned, it will determine whether there are other photovoltaic panels that need to be cleaned, and control the cleaning robot to go directly from the current position to the next position that needs to be cleaned, thereby saving costs and improving efficiency.
[0037] Additional aspects and advantages of the present invention will be given in part in the following description and, in part, will be obvious from the following description or learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0039] Figure 1 A schematic diagram of a process of an unmanned intelligent cleaning method for photovoltaic panels based on an improved YOLOv8 model according to an embodiment of the present invention is shown;
[0040] Figure 2 The network structure diagram of the improved YOLOv8 model is shown;
[0041] Figure 3 The network structure diagram of the improved YOLOv8 model C2f-repghost module is shown;
[0042] Figure 4 The network structure diagram of the repghost bottleneck module of the improved YOLOv8 model is shown;
[0043] Figure 5 The training effect curve of the YOLOv8 model is shown;
[0044] Figure 6 The training effect curve of the MPYOLOv8 model with only the MPDIoU function replaced is shown;
[0045] Figure 7 The training effect curve of the ReYOLOv8 model with only the C2f-repghost module replaced is shown;
[0046] Figure 8 A training effect curve diagram of the improved YOLOv8 model (ReMPYOLOv8) proposed according to the present invention is shown;
[0047] Fig. 9 A schematic diagram of a process of an unmanned intelligent cleaning method for photovoltaic panels based on an improved YOLOv8 model according to another embodiment of the present invention is shown;
[0048] Fig.10 A structural schematic diagram of an unmanned intelligent cleaning system for photovoltaic panels based on an improved YOLOv8 model according to an embodiment of the present invention is shown.
[0049] in, Fig.10 The corresponding relationship between the reference numerals and the components is as follows:
[0050] 1002 surveillance camera, 1004 industrial computer, 1006 cleaning robot, 1008 photovoltaic panel. DETAILED DESCRIPTION
[0051] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0052] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0053] Combine the following Figures 1 to 10 The unmanned intelligent cleaning method and system of photovoltaic panels based on the improved YOLOv8 model according to an embodiment of the present invention are specifically described.
[0054] like Figure 1 As shown, the unmanned intelligent cleaning method of photovoltaic panels based on the improved YOLOv8 model according to an embodiment of the present invention includes the following steps:
[0055] S102, reading the surveillance video in real time and collecting the photovoltaic panel image using camera stitching technology;
[0056] S104, based on the improved YOLOv8 model, judging whether the photovoltaic panel needs to be cleaned according to the collected photovoltaic panel image;
[0057] S106, if it is determined that the photovoltaic panels need to be cleaned, a navigation map planning path is established using camera stitching technology based on the real-time monitoring video, and a cleaning signal is sent to the cleaning robot so that the cleaning robot moves to the location of the photovoltaic panels to be cleaned according to the navigation map planning path to perform the cleaning operation.
[0058] The present invention can utilize low-cost monitoring videos to achieve highly efficient, fully unmanned, intelligent, and automatic cleaning of photovoltaic panels, without relying on drones or remote sensing information, and without the need for manual control of robotic equipment, and is much more cost-effective.
[0059] Furthermore, the improved YOLOv8 model is pre-built and trained before being deployed to the industrial computer, which specifically includes the following steps:
[0060] Use surveillance video to collect the photovoltaic panel images that need to be cleaned to create a data set;
[0061] Based on the YOLOv8 model, an improved YOLOv8 model is constructed, in which the C2f module in the backbone network of the YOLOv8 model is replaced by the C2f-repghost module, and the loss function of the YOLOv8 algorithm is replaced by the MPDIoU loss function. The network structure diagram of the improved YOLOv8 model is shown in the figure below. Figure 2 shown.
[0062] Use the prepared data set to train the improved YOLOv8 model, and deploy the trained improved YOLOv8 model to the industrial computer.
[0063] Improve the YOLOv8 model, replace the C2f module in the backbone network of the YOLOv8 model with the C2f-repghost module, and replace the loss function of the YOLOv8 algorithm with the MPDIoU loss function. While ensuring the detection accuracy of the algorithm, the algorithm is made more lightweight, and the detection speed is significantly improved, so that the instance segmentation algorithm can run quickly and accurately on industrial computers with insufficient computing power. It should be noted that only the C2f module in the backbone network is replaced here, and the C2f module of the neck network remains unchanged. Through this collaborative design of the network structure, while making the improved YOLOv8 model more lightweight, the algorithm detection accuracy and detection speed are also high.
[0064] Furthermore, if Figure 3 As shown, the C2f-repghost module includes a first Conv module (i.e., Conv (I)), a Split module, multiple repghost bottleneck modules, a first Add module (i.e., Add (I)), and a second Conv module (i.e., Conv (II)).
[0065] Among them, the input feature map is first convolved by the first Conv module and then enters the Split module to be split into two parts, recorded as the first part and the second part; the first part is directly passed to the Add module, and the second part is passed to the repghostbottleneck module for processing and then enters the first Add module; the processed first part and the second part are added in the first Add module, and then output after convolution processing by the second Conv module.
[0066] The Add operation can increase the information of each feature without increasing the image dimension through a simple pixel superposition operation. It is highly efficient, and the number of parameters and calculations are much lower than the Concat operation. Replacing the Concat operation with the Add operation makes the improved YOLOv8 model more lightweight and runs faster on industrial computers with insufficient computing power. The C2f-repghost module in the improved YOLOv8 model includes multiple repghost bottleneck modules. The Repghost Bottleneck design paradigm is used to reconstruct the Bottleneck module in the YOLOv8 algorithm to achieve implicit feature reuse, reduce the network parameters of the YOLOv8 algorithm, and improve the algorithm's inference speed on hardware devices such as industrial computers with insufficient computing power.
[0067] Furthermore, if Figure 4 As shown, the repghost bottleneck module includes: the third Conv module (i.e. Conv (III)), the first Relu module (i.e. Relu (I)), the SBlock layer, the first BN layer (i.e. BN (I)), the first DConv module (i.e. DConv (I)), the second Add module (i.e. Add (II)), the second Relu module (i.e. Relu (II)), the DS / SE module, the fourth Conv module (i.e. Conv (IV)), the second DConv module (i.e. DConv (II)), the second BN layer (i.e. BN (II)), the third Add module (i.e. Add (III)), and the fourth Add module (i.e. Add (IV)).
[0068] Among them, the input feature map synchronously jumps through the SBlock layer directly into the fourth Add module and the third Conv module; after convolution processing by the third Conv module, it enters the first Relu module; the feature map processed by the first Relu module is passed to the first BN layer for normalization and the first DConv module for deformation convolution, and then added in the second Add module; after processing by the second Relu module, it enters the DS / SE module, and then enters the fourth Conv module to generate a new feature map; the newly generated feature map is passed to the second BN layer for normalization and the second DConv module for deformation convolution, and then added in the third Add module, and then enters the fourth Add module to be added to the input feature map.
[0069] The Concat operation is replaced by the Add operation, and the ReLU operation is moved after the Add operation. At the same time, the BN operation is added to the Identity Mapping branch to obtain lower parameter volume and higher efficiency, thereby obtaining faster inference speed on hardware devices such as industrial computers with insufficient computing power. ReLU can improve the nonlinear expression ability of the algorithm and accelerate the training of the algorithm. The position design of the two ReLU modules is reasonable and reliable, which not only accelerates the algorithm training, but also reduces the number of parameters and the amount of calculation of the model; the BN layer can accelerate the convergence speed of the algorithm; DConv can extract the features of the input feature map; the feature map after the activation function ReLU enters the DS / SE module. The DS / SE module means that the compression and excitation network (SE, which is an attention mechanism that allows the algorithm to pay more attention to the important features in the special map) is introduced in the downsampling layer (DS), which can improve the expression ability and performance of the algorithm.
[0070] Furthermore, the MPDIoU loss function includes:
[0071]
[0072] Among them, A represents the true box, which is manually annotated and stored in the annotation file; B represents the predicted box, which is processed by the backbone network and neck network of the improved YOLOv8 model and calculated in the output network; d1 represents the Euclidean distance between the upper left corner of the true box and the predicted box, and d2 represents the Euclidean distance between the true box and the lower right corner of the predicted box; (x1 A , y1 A ) is represented by the coordinates of the upper left corner and lower right corner of the real box; (x2 B , y2 B ) is represented as the coordinates of the upper left and lower right corners of the prediction box; It is represented by the intersection and union ratio of the real box and the predicted box; w is represented by the length of the input image, and h is represented by the height of the input image.
[0073] MPDIoU can suppress algorithm oscillation, enabling the algorithm to achieve faster convergence and more accurate results.
[0074] Furthermore, the photovoltaic panel images to be cleaned are collected using surveillance videos to create a data set, which specifically includes the following steps: dedistort the collected images and set the dedistorted images to a specified size (generally set to 640*640); use the EISeg tool to annotate the data set, use different labels to annotate photovoltaic panels with different pollution levels, and generate a data set document in coco format containing annotation information; perform data enhancement on the annotated data set, including rotation, translation, and cropping; divide the data set into training set, test set, and validation set according to 7:2:1 to train and improve the YOLOv8 model. Therefore, the YOLOv8 model can be better trained and improved to ensure the model detection effect.
[0075] The training effects and detection effects of the YOLOv8 model, the MPYOLOv8 model with only the MPDIoU function replaced, the ReYOLOv8 with only the C2f-repghost module replaced, and the improved YOLOv8 model (ReMPYOLOv8) proposed in the present invention are compared, as shown in the figure below: Figures 5 to 8 And as shown in Table 1. Figure 5 This is the training effect curve of the YOLOv8 model. Figure 6 This is the training effect curve of the MPYOLOv8 model that only replaces the MPDIoU function. Figure 7 This is a training effect curve of the ReYOLOv8 model that only replaces the C2f-repghost module. Figure 8 This is a training effect curve diagram of the improved YOLOv8 model (ReMPYOLOv8) proposed according to the present invention.
[0076] Table 1 Comparison of detection effects of different models
[0077]
[0078] Depend on Figures 5 to 8 As can be seen from Table 1, the improved YOLOv8 model (ReMPYOLOv8) proposed in the present invention is consistent with the original YOLOv8 algorithm in terms of mAP@0.5 and mAP@0.5:0.95, and the algorithm detection accuracy remains unchanged, but the number of parameters is reduced by 13%, the video inference speed is increased by 19%, and the detection speed is improved to a certain extent.
[0079] Furthermore, the unmanned intelligent cleaning method for photovoltaic panels based on the improved YOLOv8 model also includes the following steps:
[0080] After receiving the cleaning operation completion signal fed back by the cleaning robot, the newly collected photovoltaic panel image at the same location is retrieved, and based on the improved YOLOv8 model, it is determined whether the photovoltaic panel at the location is cleaned;
[0081] If it is determined that the photovoltaic panel at that position has not been cleaned up, a repeat cleaning signal is sent to the cleaning robot to continue the cleaning operation.
[0082] If it is determined that the photovoltaic panel at the location has been cleaned, then it is determined whether there are other photovoltaic panels that need to be cleaned;
[0083] If it is determined that there are other photovoltaic panels that need to be cleaned, a navigation map planning path is established based on the real-time monitoring video using camera stitching technology, and a cleaning signal is sent to the cleaning robot so that the cleaning robot can move directly to the next photovoltaic panel to be cleaned according to the navigation map planning path for cleaning operations.
[0084] Or if it is determined that the photovoltaic panel at the position has been cleaned, a reset signal is sent to the cleaning robot so that the cleaning robot returns to the initial position according to the reset signal.
[0085] Thereby, the cleaning effect of the photovoltaic panels can be guaranteed, and the control of the cleaning robot is more reliable, and the path planning is more reasonable and simple, which is conducive to saving costs and improving efficiency.
[0086] like Fig. 9 As shown, according to an embodiment of the present invention, an unmanned intelligent cleaning method for photovoltaic panels based on an improved YOLOv8 model includes the following steps:
[0087] S902, industrial computer reads surveillance video in real time;
[0088] S904, multi-camera surveillance video stitching;
[0089] S906, stitching video dedistortion processing;
[0090] S908, the instance segmentation algorithm identifies and locates the photovoltaic panels that need to be cleaned; the instance segmentation algorithm is an improved YOLOv8 model;
[0091] S910, cleaning robot navigation map establishment;
[0092] S912, cleaning robot path planning;
[0093] S914, the cleaning robot moves to a designated position;
[0094] S916, cleaning robot arm control;
[0095] S918, start cleaning;
[0096] S920, the cleaning operation is completed;
[0097] S922, determining whether there is a next photovoltaic panel to be cleaned;
[0098] If the determination of S922 is no, S924 is executed and the cleaning robot returns to the initial position;
[0099] If the determination of S922 is yes, then S926 is executed to clear the robot path planning;
[0100] S928, the cleaning robot moves to a designated position;
[0101] S930, cleaning robot arm control;
[0102] S932, start cleaning;
[0103] S934, the cleaning operation is completed;
[0104] S924, the cleaning robot returns to the initial position.
[0105] like Fig.10 As shown, the unmanned intelligent cleaning system for photovoltaic panels according to an embodiment of the present invention includes: a plurality of monitoring cameras 1002 arranged near the photovoltaic panel 1008 area; an industrial computer 1004, which is connected to the monitoring camera 1002 through a local area network communication and deploys an improved YOLOv8 model to execute any one of the unmanned intelligent cleaning methods for photovoltaic panels based on the improved YOLOv8 model in the above embodiments; and a cleaning robot 1006, which is connected to the industrial computer for communication.
[0106] Therefore, it is possible to use low-cost surveillance videos to achieve highly efficient, fully unmanned, intelligent and automatic cleaning of photovoltaic panels, without relying on drones, remote sensing information, or manually controlling robotic equipment, which is much cheaper. Moreover, the judgment accuracy and detection speed of the photovoltaic panels to be cleaned are high.
[0107] The steps in the method of the present invention can be adjusted in order, combined or deleted according to actual needs.
[0108] The units in the device of the present invention can be combined, divided and deleted according to actual needs.
[0109] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0110] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0111] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An unmanned intelligent cleaning method for photovoltaic panels based on an improved YOLOv8 model, characterized in that: The following steps are involved: Read surveillance video in real time and use camera stitching technology to collect photovoltaic panel images; Based on the improved YOLOv8 model, the collected photovoltaic panel images are used to determine whether the photovoltaic panels need to be cleaned; If it is determined that the photovoltaic panels need to be cleaned, the camera stitching technology is used to establish a navigation map planning path based on the real-time monitoring video, and a cleaning signal is sent to the cleaning robot, so that the cleaning robot moves to the location of the photovoltaic panels to be cleaned according to the navigation map planning path to perform the cleaning operation. The improved YOLOv8 model is pre-built and trained before being deployed to the industrial computer. The specific steps include: Use surveillance video to collect the photovoltaic panel images that need to be cleaned to create a data set; Based on the YOLOv8 model, an improved YOLOv8 model is constructed, in which the C2f module in the backbone network of the YOLOv8 model is replaced by the C2f-repghost module, and the loss function of the YOLOv8 algorithm is replaced by the MPDIoU loss function; Use the prepared data set to train the improved YOLOv8 model, and deploy the trained improved YOLOv8 model to the industrial computer. The C2f-repghost module includes a first Conv module, a Split module, multiple repghost bottleneck modules, a first Add module, and a second Conv module. The input feature map is first processed by the first Conv module and then enters the Split module to be split into two parts, which are recorded as the first part and the second part. The first part is directly passed to the Add module, and the second part is passed to the repghostbottleneck module for processing and then enters the first Add module. The first Add module adds the processed first and second parts, and then outputs them after convolution processing by the second Conv module. The repghost bottleneck module includes: the third Conv module, the first Relu module, the SBlock layer, the first BN layer, the first DConv module, the second Add module, the second Relu module, the DS / SE module, the fourth Conv module, the second DConv module, the second BN layer, the third Add module, and the fourth Add module. Among them, the input feature map synchronously jumps through the SBlock layer directly into the fourth Add module and the third Conv module; after convolution processing by the third Conv module, it enters the first Relu module; the feature map processed by the first Relu module is passed to the first BN layer for normalization and the first DConv module for deformation convolution, and then added in the second Add module; after processing by the second Relu module, it enters the DS / SE module, and then enters the fourth Conv module to generate a new feature map; the newly generated feature map is passed to the second BN layer for normalization and the second DConv module for deformation convolution, and then added in the third Add module, and then enters the fourth Add module to be added to the input feature map.
2. The unmanned intelligent cleaning method for photovoltaic panels based on the improved YOLOv8 model according to claim 1 is characterized in that: The MPDIoU loss function includes: Among them, A represents the true box, which is manually annotated and stored in the annotation file; B represents the predicted box, which is processed by the backbone network and neck network of the improved YOLOv8 model and calculated in the output network; d1 represents the Euclidean distance between the upper left corner of the true box and the predicted box, and d2 represents the Euclidean distance between the true box and the lower right corner of the predicted box; (x1 A , y1 A ) is represented by the coordinates of the upper left corner and lower right corner of the real box; (x2 B , y2 B ) is represented as the coordinates of the upper left and lower right corners of the prediction box; It is represented by the intersection and union ratio of the real box and the predicted box; w is represented by the length of the input image, and h is represented by the height of the input image.
3. The unmanned intelligent cleaning method for photovoltaic panels based on the improved YOLOv8 model according to claim 1 is characterized in that: The data set is created by using surveillance video to collect the photovoltaic panel images that need to be cleaned, which includes the following steps: Dedistort the acquired image and set the dedistorted image to a specified size; Use the EISeg tool to annotate the dataset, use different labels to annotate photovoltaic panels with different pollution levels, and generate a dataset document in coco format containing annotation information; Perform data enhancement on the labeled data set, including rotation, translation, and cropping; The dataset is divided into training set, test set, and validation set according to 7:2:1 to train and improve the YOLOv8 model.
4. The unmanned intelligent cleaning method for photovoltaic panels based on the improved YOLOv8 model according to claim 1 is characterized in that: The following steps are also included: After receiving the cleaning operation completion signal fed back by the cleaning robot, the newly collected photovoltaic panel image at the same location is retrieved, and based on the improved YOLOv8 model, it is determined whether the photovoltaic panel at the location is cleaned; If it is determined that the photovoltaic panel at that position has not been cleaned up, a repeat cleaning signal is sent to the cleaning robot to continue the cleaning operation.
5. The unmanned intelligent cleaning method for photovoltaic panels based on the improved YOLOv8 model according to claim 4 is characterized in that: The following steps are also included: If it is determined that the photovoltaic panel at the location has been cleaned, then it is determined whether there are other photovoltaic panels that need to be cleaned; If it is determined that there are other photovoltaic panels that need to be cleaned, a navigation map planning path is established based on the real-time monitoring video using camera stitching technology, and a cleaning signal is sent to the cleaning robot so that the cleaning robot can move directly to the next photovoltaic panel to be cleaned according to the navigation map planning path for cleaning operations.
6. The unmanned intelligent cleaning method for photovoltaic panels based on the improved YOLOv8 model according to claim 4 is characterized in that: The following steps are also included: If it is determined that the photovoltaic panel at the position has been cleaned, a reset signal is sent to the cleaning robot so that the cleaning robot returns to the initial position according to the reset signal.
7. An unmanned intelligent cleaning system for photovoltaic panels, characterized in that: include: Multiple surveillance cameras set up near the photovoltaic panel area; An industrial computer is connected to the surveillance camera via a local area network and deploys an improved YOLOv8 model to execute the unmanned intelligent cleaning method for photovoltaic panels based on the improved YOLOv8 model described in any one of claims 1 to 6; and a cleaning robot is connected to the industrial computer via a local area network.
Citation Information
Patent Citations
Air-ground combined three-dimensional photovoltaic module intelligent operation and maintenance system
CN115776274A
