Photovoltaic power station drone inspection method and system

By using ground-based flight route planning and Bayesian optimization to predict meteorological conditions, combined with the Mask R-CNN network to identify photovoltaic module defects, the problem of poor adaptability to altitude and weather conditions in UAV photovoltaic inspections is solved, and the efficiency of inspections is improved. and defect identification accuracy.

CN115755965BActive Publication Date: 2024-10-22STATE GRID INTELLIGENCE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211426219.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-15
Publication Date
2024-10-22
Estimated Expiration
2042-11-15

AI Technical Summary

Technical Problem

Existing drone photovoltaic inspection technology is difficult to adapt to different altitudes and weather conditions, resulting in low inspection efficiency and inaccurate defect identification.

Method used

It adopts ground-like flight route planning and combines Bayesian optimized LSTM algorithm to predict meteorological conditions, and uses Mask R-CNN network to identify photovoltaic module defects and adapt to different shapes and weather conditions.

Benefits of technology

It improves the efficiency of drone inspections and the accuracy of defect identification, ensuring the smooth execution of tasks and the accuracy of defect classification under different weather conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115755965B_ABST
    Figure CN115755965B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for unmanned aerial vehicle inspection of photovoltaic power stations, including: planning the inspection route of unmanned aerial vehicles of photovoltaic power stations; controlling the unmanned aerial vehicles to perform photovoltaic inspections according to the set scheduled inspection tasks; when a scheduled inspection task starts, obtaining real-time meteorological data information, predicting the meteorological data prediction results on the inspection route within the scheduled inspection time period, and dividing the future meteorological level based on the prediction results; judging whether the unmanned aerial vehicle can perform this inspection task; if it can, performing the inspection task, and identifying the defects of the photovoltaic panels based on the inspection images; otherwise, judging whether the meteorological level after the set time is postponed meets the inspection requirements, and if the postponement time reaches the set value, canceling this inspection task. The present invention takes into account the weather conditions during the inspection process, and can formulate different inspection task execution strategies for different weather conditions, thereby improving the efficiency of the unmanned aerial vehicle in completing the inspection tasks under different meteorological conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of drone inspection technology, and in particular to a method and system for drone inspection of photovoltaic power stations. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] In recent years, with the rapid development of the photovoltaic industry, the demand for photovoltaic operation and maintenance inspections has also increased year by year. The traditional inspection method for photovoltaic panels is for operation and maintenance personnel to hold up scanners or use vehicles to inspect solar photovoltaic panels. Since photovoltaic power stations are generally built in mountaintops with high altitudes and abundant sunshine resources, traditional manual inspection commuting is difficult and the inspection efficiency is low.

[0004] Using drones for PV inspections can greatly improve inspection efficiency and reduce costs. The main process of drone PV inspections is: determining the flight route - formulating the flight mission - executing the mission - and identifying PV module defects. During this process, the following technical issues often arise:

[0005] (1) Existing drone automatic inspections often use isometric flights, which do not take into account the different heights of photovoltaic panels in the flight routes. This may result in different sizes of photovoltaic panels in the pictures taken during the inspection, which will cause inconvenience to subsequent defect analysis and positioning.

[0006] (2) When the drone is performing a scheduled PV inspection mission, it may encounter weather conditions that are not suitable for flight. If the mission is carried out as originally planned, the drone will be damaged. If the mission is canceled, the inspection volume required for the PV inspection cannot be met. The drone inspection mission cannot adapt to changes in different weather conditions in a timely manner.

[0007] (3) When identifying defects based on inspection images, the operation and maintenance of photovoltaic power stations usually relies mainly on infrared equipment. Equipment failures are judged by abnormal temperature displays in infrared images, and subsequent maintenance is then carried out. In infrared images, photovoltaic module defects mainly include hot spots, diode failures, and module open circuits. However, the causes of hot spots include internal module defects, obstructions, broken glass, reflections, etc. Because infrared images are based on the radiation imaging of objects, the external manifestation characteristics of defects in infrared images are relatively similar, and the specific cause of the defect cannot be clearly identified. Summary of the Invention

[0008] To address the above issues, the present invention proposes a photovoltaic power station drone inspection method and system. During route planning, the height of the photovoltaic panels is taken into consideration to achieve ground-simulating flight. A Bayesian-optimized LSTM algorithm is used to predict weather conditions within the time period of scheduled task execution. Furthermore, based on photovoltaic visible light images, component defect types are meticulously classified to provide information support for subsequent photovoltaic power station operation and maintenance decisions.

[0009] In some embodiments, the following technical solutions are adopted:

[0010] A method for inspecting a photovoltaic power station using a drone, comprising:

[0011] Plan inspection routes for drones in photovoltaic power plants;

[0012] Control the drone to perform PV inspections according to the set scheduled inspection tasks; when a scheduled inspection task begins, obtain real-time meteorological data information, and based on the real-time meteorological data, use the trained general meteorological prediction model and specific meteorological prediction model to predict the meteorological data forecast results for the inspection route during the scheduled inspection period, and classify the future meteorological level based on the prediction results;

[0013] Based on the weather level of real-time meteorological data and future weather levels, determine whether the drone can perform the current inspection mission; if it can, perform the inspection mission and identify photovoltaic panel defects based on the inspection image; otherwise, determine whether the weather level after the set delay time meets the inspection requirements. If the delay time reaches the set value, cancel the inspection mission.

[0014] As a further solution, when planning the inspection route of the photovoltaic power station drone, a flight altitude is set for each waypoint in the inspection route.

[0015] The flight altitude is: H F =H G +H P -H0, where H G The height relative to the take-off point set for the inspection personnel, H P It is the highest altitude within the waypoint setting range, and H0 is the take-off point altitude.

[0016] As a further solution, the specific weather forecast model is a weather forecast model for the region where the photovoltaic power station is located; and the general weather forecast model is a weather forecast model for the city where the photovoltaic power station is located and its surrounding areas.

[0017] As a further solution, the trained general weather forecast model and specific weather forecast model are used to predict the weather data forecast results for the inspection route during this scheduled inspection period. The specific process is as follows:

[0018] Using the trained general meteorological prediction model and specific meteorological prediction model, the corresponding specific meteorological data and general meteorological data are predicted respectively;

[0019] For specific meteorological data, a pre-trained first SVM model is used to obtain the level of each meteorological value in the meteorological data; if the difference between the level of a certain meteorological value and the levels of other meteorological values ​​reaches a set value, the meteorological value is determined to be an abnormal value;

[0020] The first pre-trained SVM model is used to obtain the level of each meteorological value in the general meteorological data; the same method is used to determine whether the meteorological value is still an outlier. If so, the value is retained; otherwise, the meteorological value in the general meteorological data is replaced by the meteorological value in the specific meteorological data;

[0021] The specific meteorological data finally obtained is used as the meteorological data forecast result for the inspection route during this scheduled inspection period.

[0022] As a further solution, the future weather levels are divided based on the forecast results, specifically:

[0023] The weather forecast results are input into the trained second SVM classification model to output the weather grade classification results. Here, based on previous flight experience, the weather grade is calibrated for each set of historical weather data. Then, the calibrated historical weather data is used as the training set, and the weather grade is used as the output to train the second SVM classification model.

[0024] As a further solution, based on the weather level of real-time weather data and future weather levels, it is determined whether the drone can perform this inspection mission. Specifically:

[0025] Determine the weather level of the real-time weather data. If the weather level is within the set flight-suitable weather level range, continue to determine whether the future weather level is within the set flight-suitable weather level range. If so, perform this inspection task. Otherwise, determine whether the weather level after the set time is postponed meets the inspection requirements.

[0026] As a further solution, the weather level after the set time is postponed is determined by predicting weather data after the set time.

[0027] As a further solution, we can perform inspection tasks and identify photovoltaic panel defects based on inspection images. The specific process is as follows:

[0028] During drone inspections, visible light images of photovoltaic modules are acquired;

[0029] After preprocessing, the visible light image is input into the trained Mask R-CNN network model to obtain the photovoltaic panel defect category and mask.

[0030] As a further solution, the Mask R-CNN network model processes the input image as follows:

[0031] The preprocessed image is first input into the backbone network, which outputs a high-level semantic feature map. A sliding window method is used to slide on the high-level semantic feature map to generate multiple suggestion boxes. These suggestion boxes are input into the RPN network for classification and regression to determine whether the suggestion box contains the defect target, and the suggestion boxes that do not contain the defect target are filtered out.

[0032] Perform ROIAlign operation on the remaining suggestion boxes, align the suggestion boxes with the high-level semantic feature map, and align the high-level semantic feature map with the original image;

[0033] The remaining proposal boxes are classified, regressed and masked to obtain the category of photovoltaic module defects, defect coordinates and defect masks.

[0034] As a further solution, the RPN network part uses deformable convolution DCN v2 to replace the standard convolution.

[0035] As a further solution, the loss function of the Mask R-CNN network model is the sum of the category loss function, the target box regression loss function and the mask defect mask segmentation loss function; among them, the category loss adopts the multi-category cross entropy loss function, and the target box regression function adopts the CIOU loss function to calculate the position loss.

[0036] In other embodiments, the following technical solutions are adopted:

[0037] A photovoltaic power station drone inspection system, comprising:

[0038] Route planning module, used to plan inspection routes for photovoltaic power station drones;

[0039] The future weather grade prediction module is used to control the drone to perform photovoltaic inspections according to the set scheduled inspection tasks. When a scheduled inspection task begins, real-time weather data information is obtained. Based on the real-time weather data, the trained general weather prediction model and the specific weather prediction model are used to predict the weather data forecast results for the inspection route during the scheduled inspection period. The future weather grade is divided based on the prediction results.

[0040] The inspection task execution module is used to determine whether the drone can perform the inspection task based on the weather level of real-time meteorological data and future weather levels; if it can, the inspection task is executed and photovoltaic panel defects are identified based on the inspection image; otherwise, it is determined whether the weather level after the set delay time meets the inspection requirements. If the delay time reaches the set value, the inspection task is canceled.

[0041] In other embodiments, the following technical solutions are adopted:

[0042] A photovoltaic power station inspection drone uses the above-mentioned photovoltaic power station drone inspection method to inspect the photovoltaic power station.

[0043] Compared with the prior art, the present invention has the following beneficial effects:

[0044] (1) The present invention provides a method for drone inspection of photovoltaic power stations. Taking into account the weather conditions during the inspection process, different inspection task execution strategies are developed for different weather conditions, thereby improving the efficiency of drone inspection tasks under different meteorological conditions, solving the problem that drones are unable to independently determine inspection flight tasks when facing different meteorological conditions, and ensuring the smooth execution of drone inspection tasks.

[0045] (2) The present invention proposes a method for drone inspection of photovoltaic power stations by simulated ground flight, which achieves complete matching of the flight route with the position and height of photovoltaic strings, and solves the problem of inconsistent sizes of photovoltaic panels in inspection images due to different heights; it realizes the simulated ground flight of drone inspection, improves the quality of inspection images, and improves the inspection efficiency and defect recognition accuracy.

[0046] (3) The present invention provides an intelligent defect recognition method for unmanned aerial vehicle inspection of photovoltaic power stations. The method is based on visible light image processing and introduces deformable convolution DCN v2 to replace standard convolution in the RPN network part of the Mask R-CNN network, which can adapt to defect targets of components with different shapes. It realizes the effective extraction of the category of photovoltaic component defects, the coordinates of defects and the masks of defects.

[0047] Other features and advantages of additional aspects of the present invention will be given in part in the following description and in part will become obvious from the following description or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 This is a flow chart of a method for inspecting a photovoltaic power station using a drone in an embodiment of the present invention;

[0049] Figure 2 Schematic diagram of the photovoltaic module defect identification process in an embodiment of the present invention. DETAILED DESCRIPTION

[0050] It should be noted that the following detailed description is illustrative and is intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used in the present invention have the same meaning as commonly understood by those skilled in the art to which the present application belongs.

[0051] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof.

[0052] Example 1

[0053] In one or more embodiments, a method for inspecting a photovoltaic power station by using a drone is disclosed. Figure 1 , specifically including:

[0054] (1) Planning inspection routes for drones in photovoltaic power plants;

[0055] In this embodiment, when planning an inspection route, a two-dimensional orthographic panoramic image and three-dimensional altitude information of the photovoltaic power station to be inspected are first obtained to identify the positions of all photovoltaic panel strings. Then, an inspection direction of the photovoltaic panel strings is selected, such as horizontal or vertical, and an inspection route is planned for each row or column of photovoltaic panel strings. All inspection routes are connected end to end to obtain a total inspection route. Finally, a flight altitude is set for each waypoint in the inspection route.

[0056] Specifically, the flight altitude is set as follows:

[0057] The altitude H0 of the take-off point of the route is obtained based on the three-dimensional terrain database of the power station; the initial altitude of the route relative to the take-off point is preset as H G The take-off point and landing point are each a waypoint. Set a checkpoint at every set distance (e.g. 5m) along the route, and perform the following operations on each checkpoint in turn:

[0058] The maximum altitude H with a radius of 10m and the detection point as the center is checked by 3D terrain data. P , as the maximum altitude of the detection point, calculate the altitude difference H with the previous waypoint SUB =H P –H P-1 , when the altitude difference H SUB When the absolute value is greater than the set distance (such as 5m), change the height of the detection point to H F =H G +HP -H0; and take this point as a waypoint; otherwise, continue to the next detection point.

[0059] After all detection points are judged, all waypoints are connected in sequence to obtain the final route.

[0060] (2) Control the UAV to perform photovoltaic inspections according to the set scheduled inspection tasks; when a scheduled inspection task begins, obtain real-time meteorological data information, and based on the real-time meteorological data, use the trained general meteorological prediction model and the specific meteorological prediction model to predict the meteorological data forecast results on the inspection route during the scheduled inspection period, and classify the future meteorological level based on the prediction results;

[0061] After the drone inspection route is planned, the drone can be controlled to perform photovoltaic inspections according to the set scheduled inspection tasks.

[0062] In this embodiment, a LSTM (long short-term memory network) based on Bayesian optimization is used to train a specific meteorological forecast model for the area through the historical meteorological data information of the photovoltaic station area transmitted back by the vector data center.

[0063] Using the LSTM (Long Short-Term Memory) network based on Bayesian optimization, a general meteorological forecast model is trained through the historical meteorological data information of the city and surrounding areas where the photovoltaic station is located, which is sent back by the vector data center.

[0064] The input data of the specific meteorological forecast model and the general meteorological forecast model in this embodiment are the same, both including historical data such as latitude and longitude, air temperature, air pressure, wind speed, wind direction, humidity, temperature and light intensity. The specific meteorological forecast model outputs the meteorological forecast results for a certain area in the county / district where the photovoltaic power station is located; the general meteorological forecast model outputs the meteorological forecast results for the prefecture-level city where the photovoltaic power station is located and the surrounding cities.

[0065] Two sets of meteorological forecast results are obtained through specific meteorological forecast models and general meteorological forecast models: specific meteorological data and general meteorological data; then the general meteorological data is used to correct the specific meteorological data to make the weather forecast results more accurate.

[0066] In this embodiment, a support vector machine (SVM) algorithm is used to train models for each set of historical data, including temperature, pressure, wind speed, wind direction, humidity, and temperature, to determine the corresponding classification for each meteorological value. Analysis of the historical data reveals that within the same meteorological classification, the difference in classification for each meteorological value generally does not exceed 2; values ​​exceeding 2 are considered outliers. Furthermore, there are rare cases in the historical data where the difference in classification exceeds 2. If the corresponding data value in the predicted general meteorological data is also an outlier, the value is retained.

[0067] Specifically, for specific meteorological data, the pre-trained first SVM model is used to obtain the level of each meteorological value in the specific meteorological data; if the difference between the level of a certain meteorological value and the levels of other meteorological values ​​reaches a set value, the meteorological value is determined to be an abnormal value;

[0068] The first pre-trained SVM model is used to obtain the level of each meteorological value in the general meteorological data; the same method is used to determine whether the meteorological value is still an outlier. If so, the value is retained; otherwise, the meteorological value in the general meteorological data is replaced by the meteorological value in the specific meteorological data;

[0069] The specific meteorological data finally obtained is used as the meteorological data forecast result for the inspection route during this scheduled inspection period.

[0070] The final weather forecast results are input into the trained second SVM classification model to output the weather grade classification results. According to previous flight experience, the weather grade is calibrated for each set of historical weather data, and then the calibrated historical weather data is used as the training set, and the weather grade is used as the output to train the second SVM classification model.

[0071] (3) Based on the meteorological level of real-time meteorological data and the future meteorological level, determine whether the drone can perform the inspection task; if it can, perform the inspection task and identify the defects of the photovoltaic panels based on the inspection image; otherwise, determine whether the meteorological level after the set delay time meets the inspection requirements. If the delay time reaches the set value, cancel the inspection task.

[0072] In this embodiment, real-time meteorological data is also input into the second SVM classification model to obtain a meteorological grade; the future meteorological grade refers to the predicted meteorological grade during the flight time period of this scheduled task; if both the meteorological grade of the real-time meteorological data and the future meteorological grade are within the set flight-suitable meteorological grade range, the current inspection classification task is executed; if either meteorological grade does not meet the set flight-suitable meteorological grade range, the meteorological grade after a set time (e.g., 1 hour) is determined. The method for determining the meteorological grade is the same as described above, that is, based on the real-time meteorological data, the meteorological data after a set time (e.g., 1 hour) is predicted, and then the meteorological grade is determined based on the predicted meteorological data. It is then determined whether the meteorological grade is within the flight-suitable grade range. If it is, the execution of the inspection flight task is postponed to a set time (e.g., 1 hour); if it is still not, the execution is further postponed for a set time (e.g., 1 hour). If the scheduled execution time of this task is less than the set value (e.g., 3 hours) from the time of the next scheduled inspection task, the inspection task can be canceled, and a notification of the postponement or cancellation of the inspection task is pushed to the control system or the user.

[0073] This embodiment takes into account the weather conditions during the inspection process and can formulate different inspection task execution strategies for different weather conditions, thereby improving the efficiency of the drone in completing inspection tasks under different meteorological conditions, solving the problem that the drone cannot make inspection flight mission judgments on its own when facing different meteorological conditions, and ensuring the smooth execution of the drone's inspection tasks.

[0074] When the inspection task is met, the drone performs the inspection task and identifies the defects of the photovoltaic panels based on the inspection images; Figure 2 , the specific defect identification method is as follows:

[0075] (3-1) During the drone inspection, visible light images of photovoltaic modules are obtained;

[0076] (3-2) After preprocessing, the visible light image is input into the trained Mask R-CNN network model to obtain the photovoltaic panel defect category and mask.

[0077] In this embodiment, the Mask R-CNN network model mainly includes the following components:

[0078] ① Backbone network

[0079] The backbone network is generally composed of a basic network and a feature pyramid FPN. The basic network is generally ResNet50 or ResNet101, which mainly extracts image features from images. This embodiment uses ResNet50 as the basic network.

[0080] ② Feature Pyramid FPN

[0081] Feature pyramid extracts features by applying convolutional neural networks on the basis of traditional image pyramids, and realizes multi-scale feature fusion through side connections and top-down connections, thereby making full use of feature information for learning;

[0082] ③Region Generation Network RPN

[0083] RPN mainly uses a sliding window method on the feature map to predict multiple suggestion boxes, and the output includes target location information and whether the target is contained in the suggestion box.

[0084] ④ROIAlign

[0085] The main function of the ROIAlign layer is to intercept the corresponding valid feature layer through the suggestion box and scale it to the same size, that is, to achieve the correspondence between the feature map and the suggestion box, and the correspondence between the original image and the feature map, and process the feature map to a uniform size and transmit it to the subsequent network;

[0086] ⑤Border return bbox reg

[0087] Bounding box regression allows for fine-tuning of the predicted box, thereby ensuring the accuracy of the predicted box position. Since there may be a gap between the predicted box and the ground-truth box of the target object, bounding box regression can achieve a close approximation of the predicted box and the ground-truth box, making the learning process more efficient.

[0088] ⑥Classifier

[0089] The main function of the classifier is to classify and predict the local feature layer and adjust the suggestion box corresponding to the local feature layer to obtain the final prediction box. Through the implementation of this part of the function, it can be determined whether the suggestion box contains the target area and the parameters of the suggestion box can be adjusted to obtain the prediction box;

[0090] ⑦Mask branch

[0091] The mask branch implements instance segmentation by building a semantic segmentation model for the predicted box area and classifying the pixels within the predicted box. The semantic segmentation model used is the FCN model. The FCN network is the first method to address semantic segmentation, capable of processing images of any size and featuring high practicality.

[0092] The parameters of the mask rcnn trained on the open source dataset COCO are used to initialize the training of the photovoltaic module defect recognition model, which facilitates rapid convergence of the model training.

[0093] Specifically, combined Figure 2 , the Mask R-CNN network model processes the input image as follows:

[0094] (3-2-1) The preprocessed image is first input into the backbone network ResNet50, which outputs a high-level semantic feature map;

[0095] (3-2-2) Use the sliding window method to slide on the high-level semantic feature map to generate multiple suggestion boxes, input these suggestion boxes into the RPN network for classification and regression, determine whether the suggestion box contains the defect target, and filter out the suggestion boxes that do not contain the defect target;

[0096] In this embodiment, due to factors such as foreign object occlusion or component glass cracking, the defect shapes vary. In order to enable the model's prediction box to adapt to the deformation of the defect target, the deformable convolution DCN v2 is introduced in the RPN part to replace the standard convolution. The obtained features are:

[0097]

[0098] Among them, x(p0) and y(p0) represent the input and output features at position p0 respectively, and w(p n ) represents p0 offset p n The weight at Δpn Represents p n The learnable offset, Δm n Used to control the magnitude of the offset.

[0099] For ordinary standard convolution calculations, only the pixel and other pixels within the matrix of the convolution kernel size around it participate in the calculation each time. No matter how deep the network is, the receptive field is always rectangular. However, in reality, the shapes of many objects can change. In order to make the convolution operation more adaptable to such geometric changes, deformable convolution is introduced, that is, an offset is added to the position of each sampling point of the convolution kernel. The deformable convolution in DCN v2 not only learns the offset Δp n , and can learn the change amplitude Δm by modulation n , is to better move the sampling position to the area of ​​interest, further enhancing the ability to resist spatial changes. Therefore, deformable convolution is introduced to enhance modeling capabilities and better adapt to defect targets of different shapes.

[0100] (3-2-2) Perform ROIAlign operation on the remaining suggestion boxes, align the suggestion boxes with the high-level semantic feature map, and align the high-level semantic feature map with the original image;

[0101] (3-2-3) Classify, regress and generate masks for the remaining suggestion boxes to obtain the category of photovoltaic module defects, defect coordinates and defect masks.

[0102] Among them, the classifier outputs defect categories, such as: broken glass, bird droppings occlusion, grass and tree occlusion, dust, reflection, missing components, etc.; the bounding box regression outputs the coordinate information of the defect; the mask branch performs semantic segmentation operations on the suggested box to segment the mask of the photovoltaic module defect.

[0103] As an optional implementation, the loss function of the Mask R-CNN network model in this embodiment is specifically:

[0104] L=L cls +L box +L mask

[0105] In order to avoid the phenomenon that one defect belongs to multiple categories, the category loss L cls The multi-category cross entropy loss function is adopted, and the formula is as follows:

[0106]

[0107] In the formula, M represents the number of categories, y ic Is a sign function, if the true category of sample i is equal to c, y ic Take 1, otherwise take 0, pic is the predicted probability that sample i belongs to category c.

[0108] Taking into account the three important geometric factors of overlapping area, center point distance and aspect ratio, the target box regression function L box The CIOU loss function is used to calculate the position loss, and the formula is as follows:

[0109]

[0110] Where, B.B gt Represent the predicted box and the real box respectively; b, b gt Represent B, B gt The center point of the predicted box; c represents the diagonal distance of the smallest rectangle that can cover both the predicted box and the real box; ρ(·) represents the calculated Euclidean distance; ν is a parameter used to describe the consistency of the aspect ratio of the predicted box and the real box. w、w gt Represent the width of the predicted box and the width of the real box, h and h respectively gt Represent the height of the predicted frame and the height of the real frame respectively; α is a parameter used to balance the ratio,

[0111] mask defect mask segmentation loss L mask Using the ordinary calculation method, the formula is as follows:

[0112] L mask =L cls *MaskIoU

[0113] Where, mask gt 、mas p k re Represent the real mask and the predicted mask respectively.

[0114] Through the processing of the Mask R-CNN network model of this embodiment, the recognition accuracy of photovoltaic visible light image component defects is improved.

[0115] Example 2

[0116] In one or more embodiments, a photovoltaic power station drone inspection system is disclosed, specifically comprising:

[0117] Route planning module, used to plan inspection routes for photovoltaic power station drones;

[0118] The future weather grade prediction module is used to control the drone to perform photovoltaic inspections according to the set scheduled inspection tasks. When a scheduled inspection task begins, real-time weather data information is obtained. Based on the real-time weather data, the trained general weather prediction model and the specific weather prediction model are used to predict the weather data forecast results for the inspection route during the scheduled inspection period. The future weather grade is divided based on the prediction results.

[0119] The inspection task execution module is used to determine whether the drone can perform the inspection task based on the weather level of real-time meteorological data and future weather levels; if it can, the inspection task is executed and photovoltaic panel defects are identified based on the inspection image; otherwise, it is determined whether the weather level after the set delay time meets the inspection requirements. If the delay time reaches the set value, the inspection task is canceled.

[0120] It should be noted that the specific implementation of the above modules is the same as the implementation disclosed in Example 1 and will not be repeated here.

[0121] Example 3

[0122] In one or more embodiments, a photovoltaic power station inspection drone is disclosed, which uses the photovoltaic power station drone inspection method described in Example 1 to inspect the photovoltaic power station.

[0123] Although the above describes the specific embodiments of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without any creative work are still within the scope of protection of the present invention.

Claims

1. A method for inspecting a photovoltaic power station by using a drone, characterized in that: include: Plan inspection routes for drones in photovoltaic power plants; Control the drone to conduct photovoltaic inspections according to the set scheduled inspection tasks; When a scheduled inspection task begins, real-time meteorological data information is obtained. Based on the real-time meteorological data, the trained general meteorological prediction model and the specific meteorological prediction model are used to predict the meteorological data forecast results on the inspection route during the scheduled inspection period, and the future meteorological level is divided based on the prediction results. The specific meteorological forecast model is a meteorological forecast model within the region where the photovoltaic power station is located; the general meteorological forecast model is a meteorological forecast model for the city where the photovoltaic power station is located and the surrounding areas; Using the trained general meteorological forecast model and specific meteorological forecast model, the meteorological data forecast results on the inspection route during the scheduled inspection period are predicted. The specific process is as follows: Using the trained general meteorological prediction model and specific meteorological prediction model, the corresponding specific meteorological data and general meteorological data are predicted respectively; For specific meteorological data, the level of each meteorological value in the meteorological data is obtained using a pre-trained SVM model; if the difference between the level of a certain meteorological value and the levels of other meteorological values ​​reaches a set value, the meteorological value is determined to be an abnormal value; The pre-trained SVM model is used to obtain the level of each meteorological value in the general meteorological data; the same method is used to determine whether the meteorological value is still an abnormal value, if so, the value is retained; otherwise, the meteorological value in the general meteorological data is replaced by the meteorological value in the specific meteorological data; The specific meteorological data finally obtained is used as the meteorological data forecast result on the inspection route during this scheduled inspection period; Based on the forecast results, the future weather levels are divided into: The weather forecast results are input into the trained SVM classification model, and the weather grade classification results are output; wherein, the weather grade is calibrated for each set of historical weather data according to previous flight experience, and then the calibrated historical weather data is used as a training set, and the weather grade is used as the output to train the SVM classification model; Based on the weather level of real-time weather data and future weather levels, determine whether the drone can perform this inspection task; if it can, perform the inspection task and identify photovoltaic panel defects based on the inspection image; otherwise, determine whether the weather level after the set delay time meets the inspection requirements. If the delay time reaches the set value, cancel this inspection task; Based on the weather level of real-time weather data and future weather levels, determine whether the drone can perform this inspection mission, specifically: Determine the weather level of the real-time weather data. If the weather level is within the set suitable weather level range, continue to determine whether the future weather level is within the set suitable weather level range. If so, perform the current inspection task. Otherwise, determine whether the weather level after the set time is postponed meets the inspection requirements. The weather level after the set time is postponed is determined by forecasting the weather data after the set time.

2. A photovoltaic power station drone inspection method as claimed in claim 1, characterized in that: When planning the inspection route of a PV power plant drone, set the flight altitude for each waypoint in the inspection route.

3. A photovoltaic power station drone inspection method as claimed in claim 2, characterized in that: The flight altitude is: H F =H G +H P -H0, where H G The height relative to the take-off point set for the inspection personnel, H P It is the highest altitude within the waypoint setting range, and H0 is the altitude of the take-off point.

4. A photovoltaic power station drone inspection method as claimed in claim 1, characterized in that: Perform inspection tasks and identify photovoltaic panel defects based on inspection images. The specific process is as follows: During the drone inspection, visible light images of photovoltaic modules are obtained; After preprocessing, the visible light image is input into the trained Mask R-CNN network model to obtain the defect category and mask of the photovoltaic panel.

5. A photovoltaic power station drone inspection method as claimed in claim 4, characterized in that: The Mask R-CNN network model processes the input image as follows: The preprocessed image is first input into the backbone network to output a high-level semantic feature map. A sliding window method is used to slide on the high-level semantic feature map to generate multiple suggestion boxes, which are then input into the RPN network for classification and regression to determine whether the suggestion box contains defective targets and filter out suggestion boxes that do not contain defective targets. Perform ROIAlign operation on the remaining suggestion boxes, align the suggestion boxes with the high-level semantic feature maps, and align the high-level semantic feature maps with the original image; The remaining proposal boxes are classified, regressed and masked to obtain the category of photovoltaic module defects, the coordinates of the defects and the masks of the defects.

6. A photovoltaic power station drone inspection method as claimed in claim 5, characterized in that: The RPN network part uses deformable convolution DCN v2 to replace the standard convolution.

7. A photovoltaic power station drone inspection method as claimed in claim 4, characterized in that: The loss function of the Mask R-CNN network model is the sum of the category loss function, the target box regression loss function and the mask defect mask segmentation loss function; among them, the category loss adopts the multi-category cross entropy loss function, and the target box regression function adopts the CIOU loss function to calculate the position loss.

8. A photovoltaic power station drone inspection system, characterized in that: include: The route planning module is used to plan the inspection route of the photovoltaic power station drone; The future weather grade prediction module is used to control the UAV to perform photovoltaic inspections according to the set scheduled inspection tasks; when a scheduled inspection task starts, real-time weather data information is obtained, and based on the real-time weather data, the trained general weather prediction model and the specific weather prediction model are used to predict the weather data prediction results on the inspection route during the scheduled inspection period, and the future weather grade is divided based on the prediction results; The specific meteorological forecast model is a meteorological forecast model within the region where the photovoltaic power station is located; the general meteorological forecast model is a meteorological forecast model for the city where the photovoltaic power station is located and the surrounding areas; Using the trained general meteorological forecast model and specific meteorological forecast model, the meteorological data forecast results on the inspection route during the scheduled inspection period are predicted. The specific process is as follows: Using the trained general meteorological prediction model and specific meteorological prediction model, the corresponding specific meteorological data and general meteorological data are predicted respectively; For specific meteorological data, the level of each meteorological value in the meteorological data is obtained using a pre-trained SVM model; if the difference between the level of a certain meteorological value and the levels of other meteorological values ​​reaches a set value, the meteorological value is determined to be an abnormal value; The pre-trained SVM model is used to obtain the level of each meteorological value in the general meteorological data; the same method is used to determine whether the meteorological value is still an abnormal value, if so, the value is retained; otherwise, the meteorological value in the general meteorological data is replaced by the meteorological value in the specific meteorological data; The specific meteorological data finally obtained is used as the meteorological data forecast result on the inspection route during this scheduled inspection period; Based on the forecast results, the future weather levels are divided into: The weather forecast results are input into the trained SVM classification model, and the weather grade classification results are output; wherein, the weather grade is calibrated for each set of historical weather data according to previous flight experience, and then the calibrated historical weather data is used as a training set, and the weather grade is used as the output to train the SVM classification model; The inspection task execution module is used to determine whether the drone can perform the inspection task based on the meteorological level of real-time meteorological data and future meteorological levels; if it can, the inspection task is executed to identify photovoltaic panel defects based on the inspection image; otherwise, it is determined whether the meteorological level after the set delay time meets the inspection requirements. If the delay time reaches the set value, the inspection task is canceled; Based on the weather level of real-time weather data and future weather levels, determine whether the drone can perform this inspection mission, specifically: Determine the weather level of the real-time weather data. If the weather level is within the set suitable weather level range, continue to determine whether the future weather level is within the set suitable weather level range. If so, perform the current inspection task. Otherwise, determine whether the weather level after the set time is postponed meets the inspection requirements. The weather level after the set time is postponed is determined by forecasting the weather data after the set time.

9. A photovoltaic power station inspection drone, characterized in that: The photovoltaic power station drone inspection method according to any one of claims 1 to 7 is used to inspect the photovoltaic power station.