Photovoltaic module displacement judgment method, device, storage medium and electronic equipment

By combining the ground elevation model and location information and elevation image analysis of electronic maps, the shift of photovoltaic modules is quickly and accurately identified, solving the problem of time-consuming and inaccurate identification in the prior art, and improving the efficiency and safety of photovoltaic module inspection.

CN114998372BActive Publication Date: 2025-09-02SUNGROW POWER SUPPLY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210669640.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-14
Publication Date
2025-09-02
Estimated Expiration
2042-06-14

AI Technical Summary

Technical Problem

In the prior art, the identification of photovoltaic module shift phenomenon based on machine learning algorithms has the problem of large data processing, long time and inaccurate identification results.

Method used

By obtaining the ground elevation model and electronic map of the predetermined area, the position information of the photovoltaic array is determined, the sub-regions of the photovoltaic module are identified, and the elevation image analysis is used to determine whether there is a shift phenomenon in the photovoltaic module.

Benefits of technology

It realizes the rapid and accurate identification of photovoltaic module shifts, solves the problems of large data processing volume and inaccurate identification results, and improves inspection efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114998372B_ABST
    Figure CN114998372B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, storage medium, and electronic device for determining the displacement of photovoltaic modules. The method comprises: obtaining a ground elevation model and an electronic map corresponding to a predetermined area; determining first position information corresponding to a target area where a photovoltaic array is located within the predetermined area based on the ground elevation model; obtaining a target image corresponding to the target area from the electronic map based on the first position information; identifying each sub-area corresponding to each photovoltaic module within the target image, determining second position information corresponding to each sub-area, and an elevation image corresponding to each sub-area; and determining whether each photovoltaic module within the target area has a displacement phenomenon based on the second position information and the elevation image. The present application solves the technical problems in related technologies of identifying the displacement phenomenon of photovoltaic modules based on machine learning algorithms, which result in large amounts of data processing, long processing time, and inaccurate identification results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of photovoltaic applications, and in particular, to a method, device, storage medium, and electronic device for determining the displacement of a photovoltaic module. Background Art

[0002] Domestic photovoltaic power stations are typically built on large hillsides, deserts, plains, swamps, water bodies, plant rooftops, and residential rooftops. These stations vary significantly in size, form, and distribution, leading to significant inconvenience during later-stage operations and maintenance inspections. The larger the photovoltaic power generation project, the more complex the inspections. Conventional manual inspections of these types of power station projects are not only labor-intensive and time-consuming, leading to untimely inspections of power station equipment and impacting the plant's economic benefits, but also pose certain risks to the inspectors.

[0003] Currently, drone-mounted cameras can be used to inspect photovoltaic panels. Based on image analysis and detection, machine learning and other algorithms are used to detect faulty components. Common component failures include hot spots, component displacement, and component detachment. However, identifying photovoltaic panel faults using machine learning and other algorithms requires a large amount of sample data for model training. This data processing process is complex and time-consuming. Furthermore, the small amount of sample data often leads to significant deviations between the recognition results and the actual situation, resulting in poor recognition accuracy.

[0004] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0005] The embodiments of the present application provide a method, device, storage medium, and electronic device for determining the displacement of photovoltaic modules, so as to at least solve the technical problems in the related art of identifying the displacement of photovoltaic modules based on machine learning algorithms, which involve large data processing volume, long time consumption, and inaccurate identification results.

[0006] According to one aspect of an embodiment of the present application, a method for determining the displacement of a photovoltaic component is provided, comprising: obtaining a ground elevation model and an electronic map corresponding to a predetermined area, wherein the ground elevation model is used to indicate the elevation information of each object on the surface of the predetermined area, and the electronic map is used to indicate the map information of the predetermined area; determining first position information corresponding to a target area where a photovoltaic array is located within the predetermined area according to the ground elevation model, wherein the photovoltaic array includes a plurality of photovoltaic components; obtaining a target image corresponding to the target area from the electronic map according to the first position information; identifying each sub-area corresponding to each photovoltaic component in the target image, determining second position information corresponding to each sub-area, and an elevation image corresponding to each sub-area; and determining whether each photovoltaic component in the target area has been displaced according to the second position information and the elevation image.

[0007] Optionally, determining whether each photovoltaic component in the target area has a displacement phenomenon is performed based on the second position information and the elevation image, including: determining the coordinates of each target point corresponding to each sub-area based on the second position information; fitting the coordinates of each target point to obtain a target reference line; determining the distance between the coordinates of each target point and the target reference line, and determining that the photovoltaic components with a distance greater than a preset threshold are suspected displaced photovoltaic components; obtaining the target elevation image corresponding to the suspected displaced photovoltaic components, and determining whether the suspected displaced photovoltaic components have a displacement phenomenon based on the target elevation image.

[0008] Optionally, determining whether the suspected shifted photovoltaic component has shifted based on the target elevation image includes: obtaining the number of first pixel points in the target elevation image that is smaller than a preset component height; when it is determined that the number of first pixel points is greater than a first preset threshold, determining that the suspected shifted photovoltaic component has shifted; when it is determined that the number of first pixel points is less than the first preset threshold, determining that the suspected shifted photovoltaic component has not shifted.

[0009] Optionally, determining whether a suspected shifted photovoltaic component has shifted is performed based on a target elevation image, including: obtaining the number of first pixel points in the target elevation image that are smaller than a preset component height; obtaining the number of second pixel points corresponding to the target elevation image, wherein the second number of pixel points is the total number of pixel points of the target elevation image obtained based on the height information and width information of the target elevation image; determining a ratio of the first number of pixel points to the second number of pixel points, and when the ratio is greater than a second preset threshold, determining that the suspected shifted photovoltaic component has shifted; and when the ratio is less than the second preset threshold, determining that the suspected shifted photovoltaic component has not shifted.

[0010] Optionally, the target point coordinates include: center point coordinates, and fitting each target point coordinate to obtain a target reference line includes: calling a least squares method, and fitting each center point coordinate based on the least squares method to obtain a target reference line.

[0011] Optionally, identifying each sub-region corresponding to each photovoltaic component in the target image and determining the second position information corresponding to each sub-region includes: converting the target image into a grayscale image, calling an edge detection algorithm to obtain an edge image corresponding to the grayscale image, wherein the edge image includes at least: an edge line; calling a Hough transform algorithm to search for all straight lines in the edge image; obtaining four grid boundary lines corresponding to each photovoltaic component based on the spacing between the straight lines; obtaining each sub-region based on the four grid boundary lines; and determining the coordinates of the intersection of the four grid boundary lines as the second position information.

[0012] Optionally, obtaining a target image corresponding to the target area from an electronic map according to the first location information includes: obtaining a map image corresponding to a predetermined area according to the electronic map; and acquiring a target image corresponding to the target area from the map image according to the first location information.

[0013] Optionally, the first position information corresponding to the target area where the photovoltaic array is located in the predetermined area is determined according to the ground elevation model, including: obtaining an elevation threshold, cutting out each continuous area in the map image whose elevation information is greater than the elevation threshold; obtaining shape features of each continuous area, and determining that the continuous area whose shape features meet preset features is the target area; calling a preset image recognition algorithm to identify the target area to obtain the first position information.

[0014] According to another aspect of an embodiment of the present application, a method for determining the displacement of a photovoltaic component is also provided, including: obtaining first position information corresponding to a target area where a photovoltaic array is located in a predetermined area, and determining a target image corresponding to the target area based on the first position information, wherein the photovoltaic array includes multiple photovoltaic components; identifying each sub-area corresponding to each photovoltaic component in the target image, and determining second position information corresponding to each sub-area; and determining whether each photovoltaic component in the target area has a displacement phenomenon based on the second position information and the elevation image.

[0015] According to another aspect of an embodiment of the present application, a device for determining the displacement of photovoltaic components is also provided, including: a first acquisition module, used to acquire a ground elevation model and an electronic map corresponding to a predetermined area, wherein the ground elevation model is used to indicate the elevation information of each object on the surface within the predetermined area, and the electronic map is used to indicate the map information of the predetermined area; a first determination module, used to determine the first position information corresponding to the target area where the photovoltaic array is located within the predetermined area based on the ground elevation model, wherein the photovoltaic array includes multiple photovoltaic components; a second acquisition module, used to obtain a target image corresponding to the target area from the electronic map based on the first position information; an identification module, used to identify each sub-area corresponding to each photovoltaic component in the target image, determine the second position information corresponding to each sub-area, and the elevation image corresponding to each sub-area; a second determination module, used to determine whether each photovoltaic component in the target area has a displacement phenomenon based on the second position information and the elevation image.

[0016] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided, the storage medium including a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the methods for determining the displacement of a photovoltaic component.

[0017] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any method for determining the displacement of a photovoltaic component.

[0018] In an embodiment of the present application, the position information and elevation image of each sub-area corresponding to each photovoltaic component are used to determine whether the photovoltaic component is displaced. By obtaining the corresponding ground elevation model and electronic map in the predetermined area, the first position information of the target area where the photovoltaic array is located in the predetermined area is determined according to the ground elevation model. The target image of the target area is extracted from the electronic map using the first position information, and the target image is identified to obtain the second position information and elevation image of each sub-area corresponding to each photovoltaic component. The purpose of determining whether each photovoltaic component is displaced based on the second position information and elevation image of each sub-area is achieved, thereby realizing the technical effect of quickly and accurately identifying the displacement phenomenon of the photovoltaic component, and further solving the technical problems in the related art of identifying the displacement phenomenon of the photovoltaic component based on the machine learning algorithm, which has a large amount of data processing, a long time consumption and inaccurate identification results. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0020] Figure 1 This is a flow chart of an optional method for determining photovoltaic module displacement according to an embodiment of the present application;

[0021] Figure 2 This is a flow chart of an optional method for determining photovoltaic module displacement according to an embodiment of the present application;

[0022] Figure 3 This is a schematic diagram of an optional panoramic electronic map of a power station according to an embodiment of the present application;

[0023] Figure 4 is a schematic diagram of an optional ground elevation model DSM according to an embodiment of the present application;

[0024] Figure 5 This is a schematic diagram of an optional method of obtaining a predetermined area where a photovoltaic array is located by segmenting the area using an elevation threshold in an embodiment of the present application;

[0025] Figure 6 This is a schematic diagram of an optional method of obtaining a target area where a photovoltaic module is located after screening a connected domain in an embodiment of the present application;

[0026] Figure 7 This is an optional method of cropping a visible light image of the component area from the panoramic electronic map A of the power station in the embodiment of the present application;

[0027] Figure 8 This is a schematic diagram of an optional component area visible light image segmentation effect in an embodiment of the present application;

[0028] Figure 9 is a schematic diagram of a straight line obtained by least squares fitting according to an embodiment of the present application;

[0029] Figure 10 The left half is the visible light image of the components in the panoramic electronic map of the power station, and the right half is the component elevation map in the ground elevation model DSM;

[0030] Figure 11 is a schematic diagram of component displacement in an exemplary embodiment of the present application;

[0031] Figure 12 is a flow chart of another method for determining photovoltaic module displacement according to an embodiment of the present application;

[0032] Figure 13 1 is a schematic structural diagram of a photovoltaic module displacement determination device according to an embodiment of the present application;

[0033] Figure 14 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present application is shown. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0036] In order to facilitate those skilled in the art to better understand the embodiments of the present application, the following technical terms or some nouns that may be involved in the present application are explained:

[0037] A Digital Surface Model (DSM) is a ground elevation model that includes the heights of surface buildings, bridges, and trees.

[0038] Connected components are adjacent image regions with the same pixel values. Connected component analysis (Connected component labeling) involves finding and labeling connected components in an image.

[0039] Grayscale image: In the RGB model, if R=G=B, the color represents a grayscale color, where the value of R=G=B is called the grayscale value. Therefore, each pixel of the grayscale image only needs one byte to store the grayscale value (also known as intensity value, brightness value), and the grayscale range is 0-255.

[0040] Elevation refers to the height of a point relative to a reference plane. Currently, there are four commonly used elevation systems: orthometric height, normal height, forced height and geoid height. Each country has different definitions of elevation datums.

[0041] Photovoltaic modules, or individual solar cells, cannot be used directly as power sources. To do so, they must be connected in series or parallel and tightly packaged into modules. Solar modules (also called solar panels) are the core and most important component of a solar power generation system. Their function is to convert solar energy into electrical energy, either for storage in batteries or to power a load.

[0042] The Canny edge detection operator is a multi-stage detection algorithm. Proposed by John F. Canny in 1986, it also outlined three key criteria for edge detection: 1. Low-error edge detection: The detection algorithm should accurately locate as many edges as possible in the image, minimizing missed and false detections. 2. Optimal localization: The detected edge point should be precisely located at the edge's center. 3. Any edge in the image should be marked only once, and image noise should not produce false edges. To meet these requirements, Canny used a variational method. The optimal function in the Canny detector is described by the sum of four exponential terms, which can be approximated by the first-order derivative of a Gaussian function. Among the commonly used edge detection methods, the Canny edge detection algorithm is one that is rigorously defined and provides reliable detection. Because it meets the three criteria for edge detection and is simple to implement, it has become one of the most popular edge detection algorithms.

[0043] According to an embodiment of the present application, an embodiment of a method for determining the displacement of a photovoltaic component is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0044] Figure 1 The method for determining the displacement of a photovoltaic module according to an embodiment of the present application is as follows: Figure 1 As shown, the method includes the following steps:

[0045] Step S102: Acquire a ground elevation model and an electronic map corresponding to a predetermined area, wherein the ground elevation model is used to indicate elevation information of various objects on the ground surface within the predetermined area, and the electronic map is used to indicate map information of the predetermined area;

[0046] In the technical solution of step S102 of the present application, the elevation information and map information of each object in the predetermined area can be obtained by acquiring the ground elevation model and electronic map corresponding to the predetermined area.

[0047] Optionally, the ground elevation model and electronic map corresponding to the predetermined area can be obtained by collecting image data of the predetermined area and then processing the image data using relevant software to obtain the ground elevation model and the electronic map.

[0048] For example, drones can be used to inspect photovoltaic panels according to a planned route, collect image data of a predetermined area, and record the GPS coordinates of the collection points. Then, software such as pix4dMapper can be used to generate electronic maps and ground elevation models.

[0049] Step S104, determining first position information corresponding to a target area where a photovoltaic array is located within a predetermined area according to a ground elevation model, wherein the photovoltaic array includes a plurality of photovoltaic modules;

[0050] In the technical solution of step S104 of the present application, the first position information corresponding to the target area where the photovoltaic array is located in the predetermined area can be determined based on the ground elevation model. It should be noted that the above-mentioned first position information is the position of the photovoltaic array composed of all photovoltaic components, and the above-mentioned first position information can be GPS coordinates.

[0051] For example, if the target area where the photovoltaic array is located is a rectangle, the first position information may be the GPS coordinates corresponding to the upper left vertex and the GPS coordinates corresponding to the lower right vertex of the rectangle.

[0052] Step S106, obtaining a target image corresponding to the target area from the electronic map according to the first location information;

[0053] In the technical solution of step S106 of the present application, after obtaining the first location information of the photovoltaic array, the target image corresponding to the target area where the photovoltaic array is located can be obtained from the electronic map. It can be seen that through this step, the area where the photovoltaic array is located can be separated from the predetermined area, eliminating the influence of erroneous detection targets such as other objects and buildings other than photovoltaic components.

[0054] Step S108, identifying each sub-region corresponding to each photovoltaic module in the target image, determining second position information corresponding to each sub-region, and an elevation image corresponding to each sub-region;

[0055] In the technical solution of step S108 of the present application, each sub-region corresponding to each photovoltaic component can be identified to obtain the second position information and elevation image corresponding to each sub-region.

[0056] Optionally, the above process of identifying each sub-region corresponding to each photovoltaic module in the target image can be implemented by the following algorithms: YOLOv4 target detection algorithm, YOLOv5 target detection algorithm, Faster RCNN target detection algorithm, SSD target detection algorithm, etc.

[0057] For example, the YOLOv4 target detection algorithm can be used to identify the target image and determine the sub-regions corresponding to the photovoltaic modules. Similarly, if the sub-region where the photovoltaic modules are located is a rectangle, the second location information can be the GPS coordinates corresponding to the upper left and lower right vertices of the rectangle.

[0058] Step S110 : determining whether there is displacement of each photovoltaic module in the target area based on the second position information and the elevation image.

[0059] In the technical solution of steps S102 to S110, the position information and elevation image of each sub-area corresponding to each photovoltaic component are used to determine whether the photovoltaic component is shifted. By obtaining the corresponding ground elevation model and electronic map in the predetermined area, the first position information of the target area where the photovoltaic array is located in the predetermined area is determined according to the ground elevation model. The target image of the target area is extracted from the electronic map using the first position information, and the target image is identified to obtain the second position information and elevation image of each sub-area corresponding to each photovoltaic component. The purpose of determining whether each photovoltaic component is shifted based on the second position information and elevation image of each sub-area is achieved, thereby achieving the technical effect of quickly and accurately identifying the displacement phenomenon of the photovoltaic component, and further solving the technical problems in the related art of identifying the displacement phenomenon of the photovoltaic component based on the machine learning algorithm, which has a large amount of data processing, a long time consumption and inaccurate identification results.

[0060] As an optional implementation, determining whether each photovoltaic component in the target area is displaced is performed based on the second position information and the elevation image, including: determining the coordinates of each target point corresponding to each sub-area based on the second position information; fitting the coordinates of each target point to obtain a target reference line; determining the distance between the coordinates of each target point and the target reference line, and determining that the photovoltaic components with a distance greater than a preset threshold are suspected displaced photovoltaic components; obtaining the target elevation image corresponding to the suspected displaced photovoltaic components, and determining whether the suspected displaced photovoltaic components are displaced based on the target elevation image.

[0061] Optionally, the target point coordinates include: center point coordinates, and each target point coordinate is fitted to obtain a target reference line. The target reference line can be obtained by calling the least squares method and fitting each center point coordinate based on the least squares method.

[0062] In some embodiments of the present application, determining whether a suspected displaced photovoltaic assembly is displaced based on a target elevation image can be achieved by the following methods, specifically:

[0063] The number of first pixel points in the target elevation image that are smaller than the preset component height can be obtained; when it is determined that the number of first pixel points is greater than a first preset threshold, it is determined that the suspected shifted photovoltaic component has shifted; when it is determined that the number of first pixel points is less than the first preset threshold, it is determined that the suspected shifted photovoltaic component has not shifted.

[0064] It can be understood that the displacement of photovoltaic components is mostly sliding. After the photovoltaic components are displaced, the height of the displaced components will be lower than the height of normal components. Therefore, by judging the number of first pixel points in the target elevation image that are smaller than the preset component height, when the first pixel point is greater than the first preset threshold, it is determined that the photovoltaic component has been displaced.

[0065] In some other optional embodiments of the present application, determining whether a suspected displaced photovoltaic assembly is displaced based on a target elevation image may also be achieved by:

[0066] The number of first pixel points in the target elevation image that are smaller than the preset component height can be obtained; the number of second pixel points corresponding to the target elevation image is obtained, wherein the second number of pixel points is the total number of pixel points of the target elevation image obtained based on the height information and width information of the target elevation image; the ratio of the first number of pixel points to the second number of pixel points is determined, and when the ratio is greater than a second preset threshold, it is determined that the suspected shifted photovoltaic component has shifted; when the ratio is less than the second preset threshold, it is determined that the suspected shifted photovoltaic component has not shifted.

[0067] It is understandable that since the displacement of photovoltaic components is mostly caused by sliding, when the photovoltaic components are displaced, the number of first pixel points in the target elevation image corresponding to the photovoltaic components that are smaller than the preset component height will increase. Therefore, it is possible to determine whether the photovoltaic component has been displaced by the ratio of the first pixel point to all the pixel points corresponding to the target elevation image, and determine that the photovoltaic component has been displaced when the ratio is greater than a second preset threshold. It should be noted that the above-mentioned preset component height can be the average height of all components within the area where the photovoltaic component is located. It should also be noted that the above-mentioned preset component height can also be set to other values, for example, it can be the product of the average height and a preset coefficient. In the relevant embodiments of the present application, the value of the preset component height is not limited.

[0068] In an exemplary embodiment of the present application, identifying each sub-region corresponding to each photovoltaic component in the target image and determining the second position information corresponding to each sub-region can be achieved by the following steps: converting the target image into a grayscale image, calling an edge detection algorithm to obtain an edge image corresponding to the grayscale image, wherein the edge image includes at least: an edge line; calling a Hough transform algorithm to search for all straight lines in the edge image; obtaining four grid boundary lines corresponding to each photovoltaic component based on the spacing between the straight lines; obtaining each sub-region based on the four grid boundary lines; and determining the coordinates of the intersection of the four grid boundary lines as the second position information.

[0069] Optionally, obtaining a target image corresponding to the target area from an electronic map according to the first location information includes: obtaining a map image corresponding to a predetermined area according to the electronic map; and acquiring a target image corresponding to the target area from the map image according to the first location information.

[0070] It should be noted that the first position information corresponding to the target area where the photovoltaic array is located in the predetermined area can be determined based on the ground elevation model. Specifically, the elevation threshold can be obtained, and each continuous area in the map image whose elevation information is greater than the elevation threshold can be cut out; the shape features of each continuous area are obtained, and the continuous area whose shape features meet the preset features is determined to be the target area; the preset image recognition algorithm is called to identify the target area to obtain the first position information.

[0071] Figure 2 This is a flow chart of a method for determining the displacement of a photovoltaic module according to an embodiment of the present application. Figure 2 As shown, the process mainly includes:

[0072] Based on the collected visible light images of the components, software such as pix4dMapper is used to generate a panoramic electronic map of the power plant and a ground elevation model (DSM). The DSM is then used to segment the component areas, eliminating any false detection targets in areas outside the components, and obtaining the coordinates of the component areas. Based on the coordinates of the component areas, image processing methods are used to segment the component areas in the panoramic electronic map of the power plant, obtaining the coordinates of all component rectangles. The least squares method is then used to fit the coordinates of the center points of each component within the component area into a straight line, thereby identifying suspected displaced components whose center point coordinates exceed a threshold distance from the straight line. Finally, based on the coordinates of the suspected displaced components, an elevation map of the suspected displaced components is clipped from the DSM, and component displacement is determined by analyzing and calculating the elevation map.

[0073] The above steps are described in detail below with reference to an exemplary embodiment.

[0074] 1. The drone collects visible light images. The drone inspects the photovoltaic modules according to the planned path, collects visible light images, and records the GPS coordinates of the collection points, which correspond to the GPS coordinates of the center point of the visible light image.

[0075] 2. Based on the collected visible light images of the components, the panoramic electronic map (electronic map) of the power station and the ground elevation model DSM (ground elevation model) can be generated using pix4dMapper and other related software, as shown in the figure. Figure 3 This is a schematic diagram of the panoramic electronic map of the power station. Figure 4 It is a schematic diagram of the ground elevation model DSM.

[0076] 3. The area where the components are located is segmented by the ground elevation model DSM, and the false detection targets in the area outside the components are eliminated to obtain the GPS coordinates (first location information) of the area where all photovoltaic components (i.e., photovoltaic arrays) are located.

[0077] (1) According to the elevation information in the ground elevation model DSM, an elevation threshold is set, and the area where the photovoltaic array is located in the DSM-A diagram is segmented according to the elevation threshold. Figure 5 It is a schematic diagram of the approximate area (ie, predetermined area) where all photovoltaic modules (ie, photovoltaic arrays) are located, obtained by segmentation using elevation thresholds.

[0078] (2) Combine image processing to segment the area where the component is located.

[0079] According to all the continuous areas segmented, the characteristics of each continuous area are analyzed, the areas that meet the rectangular characteristics are retained, and the irregular areas that do not meet the rectangular characteristics are deleted, and the target area where the photovoltaic components in the power station are located is obtained. Figure 6 This is a schematic diagram of the target area where the photovoltaic modules are located after filtering the connected domain. In addition, the average height High of all modules within the module area can be calculated.

[0080] 4. Based on the GPS coordinates of the target area where the photovoltaic array is located (first location information), the component areas in the panoramic electronic map A of the power station are segmented by an image processing algorithm to obtain the rectangular frame GPS coordinates corresponding to each photovoltaic component (second location information).

[0081] (1) According to the GPS coordinates of the target area where the photovoltaic array is located, the visible light image of the component area can be cut out from the panoramic electronic map A of the power station, such as Figure 7 shown.

[0082] (2) Use image processing algorithms to segment the components within the visible light image of the component area. The specific steps are as follows:

[0083] (a) The visible light image of the component area is grayscaled and then subjected to Canny edge processing to obtain an edge image.

[0084] (b) Search all possible straight lines in the edge image using HoughLines transform.

[0085] (c) After finding all possible straight lines, determine the grid boundary lines of each component in the visible light image of the component area.

[0086] (d) Determine the four grid boundary lines for each component based on the spacing between the lines.

[0087] (e) Calculate the coordinates of the four intersection points where the four grid boundary lines of each component intersect, thereby achieving segmentation of all components in the visible light image of the component area. Figure 8 This is a schematic diagram of the visible light image segmentation effect in the component area, where the thick straight line represents the segmentation line. Figure 8 As shown, the segmentation of all components in the visible light image of the component area is achieved through the coordinates of the four intersection points where the four grid boundary lines of each component intersect.

[0088] 5. The coordinates of the center points of each component in the component area are fitted into a straight line through the least squares method, so as to determine the suspected shifted components whose center point coordinates and the straight line distance exceed the threshold.

[0089] (1) Principle of least squares method

[0090] The least squares method is as follows:

[0091] Objective function = ∑(observed value - theoretical value) 2

[0092] The observed values ​​are our multiple groups of samples, the theoretical values ​​are our hypothesized fitting functions, and the objective function is also known as the loss function in machine learning. The goal is to obtain the fitting function that minimizes the objective function.

[0093] For example, suppose there are m samples with only one feature:

[0094] (x i ,y i )(i=1,2,3...,m);

[0095] The sample adopts the general h θ (x) is a polynomial fit of degree n;

[0096] h θ (x)=θ0+θ1x+θ2x 2 +...θ n x n,θ(θ0,θ1,θ2,...,θ n )

[0097] The least squares method is to find a set of parameters θ (θ0, θ1, θ2, ..., θ n )

[0098] Make

[0099] (2) The coordinates of the center points of each component in the area where the component is located are fitted into a straight line using the least squares method. Figure 9 is the straight line obtained by least squares fitting, such as Figure 9 As shown, the long straight line along the length direction and the short straight line along the width direction are both fitted straight lines.

[0100] (3) Components whose center point coordinates and straight line distance exceed the threshold are determined as suspected shifted components, such as Figure 9 As shown, the components in the circles represent suspected displaced components.

[0101] 6. Based on the coordinates of the suspected displaced components, the elevation map of the suspected displaced components is cut out from the ground elevation model DSM, and the component displacement is determined by analyzing and calculating the elevation map.

[0102] (1) Based on the coordinates of the suspected displaced components, the elevation map of the suspected displaced components is cut out from the ground elevation model DSM. Figure 10 The left half is the visible light image of the components in the panoramic electronic map of the power station, and the right half is the component elevation map in the ground elevation model DSM.

[0103] (2) Calculate the number of pixels in the elevation map of the suspected shifted component that are less than 0.7×High (i.e., the preset component height) and record it as N <

[0104]

[0105] Among them, the average height of all components within the area where the component is located is High (calculated by (2) in 3).

[0106]

[0107] Among them, rate represents the ratio of low elevation in the elevation map of the suspected displacement component, M and N represent the height and width of the component elevation map, and H i,j Represents the elevation of the coordinate point (i, j) in the component elevation map, I{...} indicates that if H i,j If <0.7×High holds, the result is 1, otherwise it is 0.

[0108] (3) Based on the ratio rate of low elevation in the elevation map of the suspected shifted component and the threshold thre=0.2 (i.e., the second preset threshold), component shift is judged. If rate>thre, it means that the component has shifted. Figure 11 is a schematic diagram of component displacement in this embodiment, such as Figure 11 As shown, the area marked in the circle indicates that component displacement has occurred.

[0109] (4) It can be understood that by repeating the above steps, the elevation map of the suspected displaced components is cut out from the ground elevation model DSM according to the coordinates of the suspected displaced components, and the displacement of all photovoltaic components in the electronic map can be determined by analyzing and calculating the elevation map.

[0110] Figure 12 Another method for determining the displacement of a photovoltaic module according to an embodiment of the present application is as follows: Figure 12 As shown, the method includes:

[0111] S202, obtaining first position information corresponding to a target area where a photovoltaic array is located within a predetermined area, and determining a target image corresponding to the target area based on the first position information, wherein the photovoltaic array includes a plurality of photovoltaic modules;

[0112] S204, identifying each sub-region corresponding to each photovoltaic module in the target image, and determining second position information corresponding to each sub-region;

[0113] S206: Determine whether each photovoltaic module in the target area is displaced according to the second position information and the elevation image.

[0114] In the method for judging the displacement of photovoltaic components, first position information corresponding to a target area where a photovoltaic array is located in a predetermined area is obtained, and a target image corresponding to the target area is determined according to the first position information, wherein the photovoltaic array includes a plurality of photovoltaic components; then, each sub-area corresponding to each photovoltaic component in the target image is identified, and second position information corresponding to each sub-area is determined; finally, whether each photovoltaic component in the target area has been displaced is determined according to the second position information and the elevation image, thereby achieving the purpose of determining whether each photovoltaic component has been displaced based on the second position information of each sub-area and the elevation image, thereby realizing the technical effect of quickly and accurately identifying the displacement phenomenon of photovoltaic components, and further solving the technical problems in the related art of identifying the displacement phenomenon of photovoltaic components based on machine learning algorithms, such as large data processing volume, long time consumption and inaccurate identification results.

[0115] Figure 13 A photovoltaic module displacement determination device according to an embodiment of the present application is provided. Figure 13 As shown, the device includes:

[0116] A first acquisition module 40 is configured to acquire a ground elevation model and an electronic map corresponding to a predetermined area, wherein the ground elevation model is used to indicate elevation information of various objects on the ground surface within the predetermined area, and the electronic map is used to indicate map information of the predetermined area;

[0117] A first determining module 42 is configured to determine first position information corresponding to a target area where a photovoltaic array is located within a predetermined area according to a ground elevation model, wherein the photovoltaic array includes a plurality of photovoltaic modules;

[0118] A second acquisition module 44 is configured to obtain a target image corresponding to the target area from the electronic map according to the first location information;

[0119] an identification module 46 for identifying each sub-region corresponding to each photovoltaic module in the target image, determining second position information corresponding to each sub-region, and an elevation image corresponding to each sub-region;

[0120] The second determining module 48 is configured to determine whether each photovoltaic module in the target area is displaced according to the second position information and the elevation image.

[0121] In the photovoltaic module displacement determination device, a first acquisition module 40 is configured to acquire a ground elevation model and an electronic map corresponding to a predetermined area, wherein the ground elevation model indicates elevation information of each object on the ground surface within the predetermined area, and the electronic map indicates map information of the predetermined area. A first determination module 42 is configured to determine first position information corresponding to a target area where a photovoltaic array is located within the predetermined area based on the ground elevation model, wherein the photovoltaic array includes a plurality of photovoltaic modules. A second acquisition module 44 is configured to obtain a target image corresponding to the target area from the electronic map based on the first position information. An identification module 46 is configured to identify each sub-area corresponding to each photovoltaic module in the target image and an elevation image corresponding to each sub-area, and determine second position information corresponding to each sub-area. A second determination module 48 is configured to determine whether each photovoltaic module within the target area has shifted based on the second position information and the elevation image. This achieves the purpose of determining whether each photovoltaic module has shifted based on the second position information and the elevation image of each sub-area, thereby realizing the technical effect of quickly and accurately identifying photovoltaic module shifting, thereby solving the technical problems of large data processing volume, long time consumption, and inaccurate recognition results in the related art of identifying photovoltaic module shifting based on machine learning algorithms.

[0122] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided, the storage medium including a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the methods for determining the displacement of a photovoltaic component.

[0123] Specifically, the above storage medium is used to store program instructions for the following functions to implement the following functions:

[0124] A ground elevation model and an electronic map corresponding to a predetermined area are obtained, wherein the ground elevation model is used to indicate elevation information of each object on the surface of the predetermined area, and the electronic map is used to indicate map information of the predetermined area; first position information corresponding to a target area where a photovoltaic array is located within the predetermined area is determined based on the ground elevation model, wherein the photovoltaic array includes a plurality of photovoltaic modules; a target image corresponding to the target area is obtained from the electronic map based on the first position information; each sub-area corresponding to each photovoltaic module in the target image is identified, and second position information corresponding to each sub-area and an elevation image corresponding to each sub-area are determined; and whether each photovoltaic module within the target area is displaced is determined based on the second position information and the elevation image.

[0125] Alternatively, in this embodiment, the storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any suitable combination thereof. More specific examples of the storage medium may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0126] In an exemplary embodiment of the present application, a computer program product is further provided, including a computer program. When the computer program is executed by a processor, it implements any of the above-mentioned methods for determining the displacement of a photovoltaic component.

[0127] Optionally, the computer program may implement the following steps when executed by a processor:

[0128] A ground elevation model and an electronic map corresponding to a predetermined area are obtained, wherein the ground elevation model is used to indicate elevation information of each object on the surface of the predetermined area, and the electronic map is used to indicate map information of the predetermined area; first position information corresponding to a target area where a photovoltaic array is located within the predetermined area is determined based on the ground elevation model, wherein the photovoltaic array includes a plurality of photovoltaic modules; a target image corresponding to the target area is obtained from the electronic map based on the first position information; each sub-area corresponding to each photovoltaic module in the target image is identified, and second position information corresponding to each sub-area and an elevation image corresponding to each sub-area are determined; and whether each photovoltaic module within the target area is displaced is determined based on the second position information and the elevation image.

[0129] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any method for determining the displacement of a photovoltaic component.

[0130] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0131] Figure 14 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.

[0132] like Figure 14 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the device 800 can also be stored in the RAM 803. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0133] Various components in device 800 are connected to I / O interface 805, including an input unit 806, such as a keyboard, mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows device 800 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0134] The computing unit 801 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as the method for determining photovoltaic component displacement. For example, in some embodiments, the method for determining photovoltaic component displacement can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the method for determining photovoltaic component displacement described above can be performed. Alternatively, in other embodiments, the calculation unit 801 may be configured to execute the method for determining the displacement of the photovoltaic assembly in any other appropriate manner (for example, by means of firmware).

[0135] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0136] The program code for implementing the methods of the present application can be written in any combination of one or more programming languages. Such program code can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the program code is executed by the processor or controller, the functions / operations specified in the flow charts and / or block diagrams are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0137] In the context of the present application, a machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0138] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0139] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0140] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises through computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.

[0141] In the relevant embodiments of the present application, the position information and elevation image of each sub-area of ​​the photovoltaic component are used to determine whether the photovoltaic component is displaced. By obtaining the corresponding ground elevation model and electronic map in the predetermined area, the first position information of the target area where the photovoltaic array is located in the predetermined area is determined according to the ground elevation model. The target image of the target area is extracted from the electronic map through the first position information, and the target image is identified to obtain the second position information and elevation image of each sub-area corresponding to each photovoltaic component. The purpose of determining whether each photovoltaic component is displaced based on the second position information and elevation image of each sub-area is achieved, thereby realizing the technical effect of quickly and accurately identifying the displacement phenomenon of the photovoltaic component, and further solving the technical problems in the related art of identifying the displacement phenomenon of the photovoltaic component based on the machine learning algorithm, which has a large amount of data processing, a long time consumption and inaccurate identification results.

[0142] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0143] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0144] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0145] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0146] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0147] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0148] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for determining the displacement of a photovoltaic module, characterized in that: include: Obtaining a ground elevation model and an electronic map corresponding to a predetermined area, wherein the ground elevation model is used to indicate elevation information of each object on the surface of the predetermined area, and the electronic map is used to indicate map information of the predetermined area; determining first position information corresponding to a target area where a photovoltaic array is located within the predetermined area according to the ground elevation model, wherein the photovoltaic array includes a plurality of photovoltaic modules; Obtaining a target image corresponding to the target area from the electronic map according to the first location information; Identifying each sub-region corresponding to each photovoltaic component in the target image, determining second position information corresponding to each sub-region, and an elevation image corresponding to each sub-region; Determining whether the photovoltaic components in the target area are displaced according to the second position information and the elevation image, including: determining the coordinates of each target point corresponding to each sub-area according to the second position information; fitting the coordinates of each target point to obtain a target reference line; determining the distance between the coordinates of each target point and the target reference line, and determining that the photovoltaic components with the distance greater than a preset threshold are suspected displaced photovoltaic components; obtaining the target elevation image corresponding to the suspected displaced photovoltaic components, and determining whether the suspected displaced photovoltaic components are displaced according to the target elevation image; Wherein, determining whether the suspected shifted photovoltaic component has shifted according to the target elevation image includes: obtaining the number of first pixel points in the target elevation image that is smaller than a preset component height; when determining that the first number of pixel points is greater than a first preset threshold, determining that the suspected shifted photovoltaic component has shifted; when determining that the first number of pixel points is less than a first preset threshold, determining that the suspected shifted photovoltaic component has not shifted.

2. The method according to claim 1, characterized in that Determining whether the suspected displaced photovoltaic assembly has displaced according to the target elevation image further includes: Obtaining the number of first pixel points in the target elevation image that are smaller than a preset component height; Acquire a second number of pixels corresponding to the target elevation image, wherein the second number of pixels is the total number of pixels of the target elevation image obtained according to the height information and width information of the target elevation image; determining a ratio of the number of the first pixel points to the number of the second pixel points, and determining that the suspected displaced photovoltaic assembly has displaced if the ratio is greater than a second preset threshold; When the ratio is less than a second preset threshold, it is determined that the suspected displaced photovoltaic component is not displaced.

3. The method according to claim 1, characterized in that The target point coordinates include: center point coordinates, and fitting the target point coordinates to obtain a target reference line includes: The least square method is called, and the coordinates of the center points are fitted based on the least square method to obtain a target reference line.

4. The method according to claim 1, wherein Identifying each sub-region corresponding to each photovoltaic component in the target image and determining second position information corresponding to each sub-region includes: Converting the target image into a grayscale image, and calling an edge detection algorithm to obtain an edge image corresponding to the grayscale image, wherein the edge image at least includes: an edge line; Calling the Hough transform algorithm to search for all straight lines in the edge image; Obtaining four grid boundary lines corresponding to each photovoltaic module according to the spacing between the straight lines; The sub-areas are obtained according to the four grid boundary lines; and the coordinates of the intersections of the four grid boundary lines are determined as the second position information.

5. The method according to claim 1, characterized in that Obtaining a target image corresponding to the target area from the electronic map according to the first location information includes: A map image corresponding to the predetermined area is obtained according to the electronic map; and a target image corresponding to the target area is acquired from the map image according to the first position information.

6. The method according to claim 5, characterized in that Determining first position information corresponding to a target area where a photovoltaic array is located within the predetermined area according to the ground elevation model includes: Obtaining an elevation threshold, and cutting out each continuous area in the map image where the elevation information is greater than the elevation threshold; The shape features of the respective continuous regions are acquired, and the continuous regions whose shape features satisfy preset features are determined to be the target regions; and a preset image recognition algorithm is called to identify the target regions to obtain the first position information.

7. A method for determining the displacement of a photovoltaic module, characterized in that: include: Acquiring first position information corresponding to a target area where a photovoltaic array is located within a predetermined area, and determining a target image corresponding to the target area according to the first position information, wherein the photovoltaic array includes a plurality of photovoltaic modules; Identifying each sub-region corresponding to each photovoltaic component in the target image, and determining second position information corresponding to each sub-region; Determining whether the photovoltaic components in the target area are displaced according to the second position information and the elevation image, including: determining the coordinates of each target point corresponding to each sub-area according to the second position information; fitting the coordinates of each target point to obtain a target reference line; determining the distance between the coordinates of each target point and the target reference line, and determining that the photovoltaic components with the distance greater than a preset threshold are suspected displaced photovoltaic components; obtaining the target elevation image corresponding to the suspected displaced photovoltaic components, and determining whether the suspected displaced photovoltaic components are displaced according to the target elevation image; Wherein, determining whether the suspected shifted photovoltaic component has shifted according to the target elevation image includes: obtaining the number of first pixel points in the target elevation image that is smaller than a preset component height; when determining that the first number of pixel points is greater than a first preset threshold, determining that the suspected shifted photovoltaic component has shifted; when determining that the first number of pixel points is less than a first preset threshold, determining that the suspected shifted photovoltaic component has not shifted.

8. A device for determining the displacement of a photovoltaic module, characterized in that: include: A first acquisition module is configured to acquire a ground elevation model and an electronic map corresponding to a predetermined area, wherein the ground elevation model is used to indicate elevation information of each object on the ground surface within the predetermined area, and the electronic map is used to indicate map information of the predetermined area; A first determining module is configured to determine first position information corresponding to a target area where a photovoltaic array is located within the predetermined area according to the ground elevation model, wherein the photovoltaic array includes a plurality of photovoltaic modules; a second acquisition module, configured to obtain a target image corresponding to the target area from the electronic map according to the first location information; an identification module, configured to identify each sub-region corresponding to each photovoltaic assembly in the target image, determine second position information corresponding to each sub-region, and an elevation image corresponding to each sub-region; a second determination module for determining whether the photovoltaic components in the target area are displaced based on the second position information and the elevation image, including: determining the coordinates of the target points corresponding to the sub-areas based on the second position information; fitting the coordinates of the target points to obtain a target reference line; determining the distance between the coordinates of the target points and the target reference line, and determining that the photovoltaic components with the distance greater than a preset threshold are suspected displaced photovoltaic components; obtaining a target elevation image corresponding to the suspected displaced photovoltaic components; determining whether the suspected displaced photovoltaic components are displaced based on the target elevation image; wherein, determining whether the suspected displaced photovoltaic components are displaced based on the target elevation image includes: obtaining the number of first pixels in the target elevation image that are less than a preset component height; when it is determined that the number of the first pixels is greater than a first preset threshold, determining that the suspected displaced photovoltaic components have been displaced; when it is determined that the number of the first pixels is less than the first preset threshold, determining that the suspected displaced photovoltaic components have not been displaced.

9. A non-volatile storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the photovoltaic component displacement judgment method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method for determining the displacement of a photovoltaic component according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Shake detection method and device of photovoltaic module and photovoltaic power station system

    CN113419260A

  • Fault positioning method and device of photovoltaic module and storage medium

    CN114140421A

  • Photovoltaic panel anomaly detection method, detection device and computer readable storage device

    CN114445326A