A fault photovoltaic panel numbering positioning method and device, electronic equipment and storage medium
By calculating the GPS coordinates of the photovoltaic panel and comparing them with the database, combined with UAV flight path data and image attributes, the photovoltaic panel was accurately positioned, solving the problem of inaccurate positioning, improving operation and maintenance efficiency and reducing costs.
Patent Information
- Application Number
- CN202310144479.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2043-02-21
AI Technical Summary
Existing technologies do not provide precise positioning of photovoltaic panels, resulting in low operation and maintenance efficiency of photovoltaic power plants and complex processes, making it difficult to accurately identify the actual location of defective photovoltaic panels.
By calculating the GPS coordinates of the defective photovoltaic panels and comparing them with the GPS coordinates of photovoltaic panels in the database, the nearest photovoltaic panel is found. The actual location of the defective photovoltaic panel is accurately located using the photovoltaic panel number. The photovoltaic panel number is then identified by combining UAV flight path data and image attributes.
It improves the efficiency of photovoltaic panel operation and maintenance, reduces maintenance costs, reduces manpower input, and can monitor the operation of multiple photovoltaic power stations at the same time with accurate positioning.
Smart Images

Figure CN116192044B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of photovoltaic panel positioning, and specifically relates to a fault photovoltaic panel number positioning method and device, an electronic device and a storage medium. BACKGROUND
[0002] A photovoltaic power station is a solar photovoltaic power generation system, and a photovoltaic panel is a new type of power generation system for directly converting solar radiation energy into electric energy by using the photovoltaic effect of a semiconductor material. After the photovoltaic power station operates for a period of time, the power generation capacity decreases due to problems of the photovoltaic panel itself or other problems, and the photovoltaic panel needs to be inspected. At present, the highest efficiency is achieved by using an unmanned aerial vehicle to take infrared and visible light pictures for inspection. After the photovoltaic panel detection is completed, the photovoltaic panel with defects needs to be replaced and repaired. The capacity of a general power station is dozens of MW, hundreds of MW or even GW. The number of photovoltaic panels is hundreds of thousands, millions or even more. The number of pictures taken by the unmanned aerial vehicle is up to thousands. It is not easy to accurately identify the actual position of the photovoltaic panel with defects in each picture.
[0003] In addition, since there is no obvious reference object in the taken pictures, most of the pictures are similar, and the specific position cannot be determined by referring to the reference object. Some operation and maintenance personnel use software such as LocaSpaceViewer to drag the picture of the photovoltaic panel with problems into a map. The LocaSpaceViewer automatically locates the position in the map according to the GPS information of the picture, and can estimate the actual position of the photovoltaic panel with defects. This processing method requires that the satellite map can see the photovoltaic panel in the region, and this requirement cannot be met in most areas. Moreover, the detailed position such as a subarray, a row and a column cannot be accurately matched. Most of the time, the operation and maintenance personnel need to determine the approximate position of the photovoltaic panel according to their own experience, which is prone to errors and needs to be corrected multiple times.
[0004] Therefore, a method is needed to accurately locate the actual position of the photovoltaic panel with defects to solve the above technical problems and improve the operation and maintenance efficiency of the photovoltaic power station. SUMMARY
[0005] In view of the problem that the existing photovoltaic panel positioning position is not accurate enough and the process is complex, the application calculates the GPS coordinates of the photovoltaic panel with defects, compares the GPS coordinates with the GPS coordinates of the photovoltaic panel in the database, finds the nearest photovoltaic panel, and accurately locates the actual position of the photovoltaic panel with defects according to the photovoltaic panel number, thereby improving the operation and maintenance efficiency of the photovoltaic panel.
[0006] To solve the above problems, the application adopts the following technical scheme.
[0007] The first aspect of the application provides a fault photovoltaic panel number positioning method, which comprises the following steps:
[0008] Acquire image of predetermined target area, segment photovoltaic string and photovoltaic panel corresponding to the photovoltaic string from the image of the predetermined target area;
[0009] According to pixel coordinates of the photovoltaic panel and pixel coordinates of the photovoltaic string, label the photovoltaic panel and the photovoltaic string to obtain pixel label set;
[0010] According to attribute information of the photovoltaic panel in the image of the predetermined target area, calculate corresponding GPS coordinates of the photovoltaic panel, group pixel label set corresponding to any photovoltaic panel and corresponding GPS coordinates, and construct initial data;
[0011] Identify any defective photovoltaic panel in the predetermined target area, acquire GPS coordinates of the defective photovoltaic panel, and find photovoltaic panel label corresponding to the GPS coordinates of the defective photovoltaic panel in the initial data.
[0012] As an example, the step of obtaining pixel label set according to pixel coordinates of the photovoltaic panel and pixel coordinates of the photovoltaic string, and labeling the photovoltaic panel and the photovoltaic string includes:
[0013] Calculate center point pixel coordinates of the photovoltaic string, and number the photovoltaic string;
[0014] Calculate center point pixel coordinates of the photovoltaic panel corresponding to the photovoltaic string, number the photovoltaic panel under the number of the photovoltaic string, and obtain pixel label set.
[0015] As an example, the step of calculating corresponding GPS coordinates of the photovoltaic panel includes:
[0016] Acquire center point pixel coordinates of the photovoltaic panel, calculate distance L p from the pixel point of the photovoltaic panel to the center point pixel coordinates of the photovoltaic panel;
[0017] According to distance L g from the GPS coordinates of the photovoltaic panel to the center point pixel coordinates of the photovoltaic panel and distance L p from the pixel point of the photovoltaic panel to the center point pixel coordinates of the photovoltaic panel, determine corresponding GPS coordinates of the defective photovoltaic panel.
[0018] As an example, the formula for calculating corresponding GPS coordinates of the photovoltaic panel is as follows:
[0019]
[0020]
[0021] wherein, G x1 represents longitude of the defective photovoltaic panel; G y1 represents latitude of the defective photovoltaic panel; and G xlongitude of the image center point of the predetermined target region; G y latitude of the image center point of the predetermined target region; β represents the northward angle of the UAV shooting direction; angle between the photovoltaic panel and the vertical direction of the picture.
[0022] As an example, the step of searching for the photovoltaic panel label corresponding to the GPS coordinates of the defective photovoltaic panel in the initial data includes:
[0023] traversing any photovoltaic panel in the initial data, calculating the distance between the GPS coordinates of any photovoltaic panel and the GPS of the defective photovoltaic panel;
[0024] selecting the label of the photovoltaic panel closest to the distance as the photovoltaic panel label corresponding to the GPS coordinates of the defective photovoltaic panel.
[0025] The second aspect of the present application provides a defective photovoltaic panel numbering positioning device, the device comprises:
[0026] an image segmentation module for acquiring an image of a predetermined target region, segmenting the photovoltaic panel corresponding to the photovoltaic string from the photovoltaic string in the predetermined target region image;
[0027] an image labeling module for labeling the photovoltaic panel and the photovoltaic string according to the pixel coordinates of the photovoltaic panel and the pixel coordinates of the photovoltaic string, and obtaining a pixel label set;
[0028] a coordinate calculation module for calculating the corresponding GPS coordinates of the photovoltaic panel according to the attribute information of the photovoltaic panel in the image of the predetermined target region, grouping the pixel label set corresponding to any photovoltaic panel and the corresponding GPS coordinates, and constructing initial data;
[0029] a number recognition module for identifying any defective photovoltaic panel in the predetermined target region, acquiring the GPS coordinates of the defective photovoltaic panel, and searching for the photovoltaic panel label corresponding to the GPS coordinates of the defective photovoltaic panel in the initial data.
[0030] As an example, the image labeling module includes:
[0031] a first numbering unit for calculating the center point pixel coordinates of the photovoltaic string, and numbering the photovoltaic string;
[0032] a second numbering unit for calculating the center point pixel coordinates of the photovoltaic panel corresponding to the photovoltaic string, numbering the photovoltaic panel under the number of the photovoltaic string, and obtaining a pixel label set.
[0033] The third aspect of the present application provides an electronic device, comprising a processor, an input device, an output device and a memory, which are connected in sequence, the memory is used for storing a computer program, the computer program comprises program instructions, the processor is configured to invoke the program instructions, and the method described above is executed.
[0034] The fourth aspect of the present application provides a readable storage medium, the storage medium stores a computer program, the computer program comprises program instructions, and the program instructions make the processor execute the method described above when the processor executes.
[0035] The fifth aspect of the present application provides a UAV, comprising a UAV body, and a camera, a GPS positioning device, a processor and a memory carried on the UAV body.
[0036] The camera is used to shoot images of a predetermined area according to external control instructions;
[0037] The GPS positioning device is used to determine the location of the current UAV according to external control instructions;
[0038] The memory stores a computer program, and the processor and the memory are electrically connected, and are used for executing the computer program stored in the memory to realize the photovoltaic panel fault detection and identification method described above.
[0039] Compared with the prior art, the present application has the following beneficial effects:
[0040] The present application finds the nearest photovoltaic panel by calculating the GPS coordinates of the defective photovoltaic panel and comparing them with the GPS coordinates of the photovoltaic panels in the database, and accurately locates the actual position of the defective photovoltaic panel according to the photovoltaic panel number, thereby improving the photovoltaic panel operation and maintenance efficiency. In addition, the present application can use the latitude and longitude coordinates of the UAV route data and image attributes to intelligently identify the order of the photovoltaic panel numbers, so that the staff of the photovoltaic power station can timely determine the fault information and perform photovoltaic panel maintenance; the photovoltaic panel fault detection and identification method has a short time consumption, low hardware requirements and high processing precision, does not need to invest a large amount of manpower, can simultaneously supervise the working conditions of multiple photovoltaic power stations, and reduces the maintenance cost. BRIEF DESCRIPTION OF DRAWINGS
[0041] The above and other objects, features and advantages of the present application will become more apparent from the following detailed description of embodiments of the present application, taken in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification, which together with the embodiments of the present application serve to explain the present application, and do not constitute a limitation on the present application. In the drawings, the same reference numerals generally represent the same components or steps.
[0042] Figure 1 A flow chart of a method for locating a failed photovoltaic panel according to an embodiment of the present application is provided.
[0043] Figure 2 A photovoltaic panel distribution diagram according to an embodiment of the present application is provided.
[0044] Figure 3 A diagram for calculating the GPS distance corresponding to the position of a photograph taken by a UAV according to an embodiment of the present application is provided.
[0045] Figure 4 A diagram for calculating the GPS coordinates of a photovoltaic panel using image recognition technology according to an embodiment of the present application is provided.
[0046] Figure 5 A block diagram of a device for locating a failed photovoltaic panel according to an embodiment of the present application is provided. DETAILED DESCRIPTION
[0047] In the following, example embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the example embodiments described herein.
[0048] Example method
[0049] As shown in the figure, the present example provides a method for locating a failed photovoltaic panel, comprising the following steps: Figure 1 S110: Obtain an image of a predetermined target area, and segment the photovoltaic panel corresponding to the photovoltaic panel string from the image of the predetermined target area.
[0050] Specifically, the predetermined target area here refers to a panoramic image of the subarray photovoltaic panel in the photovoltaic power station, or a part of the image of the subarray photovoltaic panel. In one way, a UAV can be used to fly along a predetermined flight line to obtain the subarray photovoltaic panel in the photovoltaic power station, and the inspection route of the UAV can be planned according to the distribution shape and geographical position of the photovoltaic panel in the photovoltaic power station and the type of the UAV; for example, the UAV can be set to take pictures in the north direction with a deviation angle of 0°, so that each picture can clearly distinguish the photovoltaic panel. The inspection route should meet the coverage requirements of the photovoltaic panel image, and the type of the UAV includes fixed-wing UAV and rotary-wing UAV.
[0051] S120: Label the photovoltaic panel and the photovoltaic panel string according to the pixel coordinates of the photovoltaic panel and the pixel coordinates of the photovoltaic panel string, and obtain a pixel label set.
[0052]
[0053] Specifically, the pixel coordinates of the photovoltaic panel and the pixel coordinates of the photovoltaic string refer to the pixel coordinates of the center point of the photovoltaic panel or the photovoltaic string in the picture.
[0054] In an embodiment, parameters of the image of the predetermined target region are obtained first, including the pixel size (W*H) of the panoramic picture of the photovoltaic power station, wherein W represents the pixel width and H represents the pixel height. According to the picture attribute captured by the UAV, the center point GPS coordinate and the shooting height of the picture are obtained.
[0055] Then, the image recognition technology is used to segment the photovoltaic strings and the photovoltaic panels in the panoramic picture, and the numbers of the photovoltaic strings and the photovoltaic panels are calculated according to the pixel coordinates.
[0056] Specifically, the center point pixel coordinates of the photovoltaic string are calculated, the photovoltaic string is numbered, the center point pixel coordinates of the photovoltaic panel corresponding to the photovoltaic string are calculated, the photovoltaic panel is numbered under the number of the photovoltaic string, and a pixel label set is obtained.
[0057] For example, the photovoltaic string is automatically numbered according to the center point pixel coordinates of the photovoltaic string, and the numbering rule is S_R_C (subarray_row_string). The photovoltaic subarray can be manually specified, and the row and string in the photovoltaic subarray are calculated according to the pixel. For example, 1#_1_2 represents the first row and the second string of the first subarray.
[0058] The segmented photovoltaic string is further segmented into photovoltaic panels using the image recognition technology, and the center point pixel coordinates of the photovoltaic panel are calculated. The photovoltaic panel is numbered according to the pixel coordinates, and the number of the photovoltaic panel is stored in the database. The numbering rule is S_R_C_P_K (subarray_row_string_row_block), and for example, 1#_1_2_1_3 represents the first row, the second string, the first row, and the third block of the first photovoltaic subarray.
[0059] S130: According to the attribute information of the photovoltaic panel in the image of the predetermined target region, the corresponding GPS coordinate of the photovoltaic panel is calculated, the pixel label set corresponding to any photovoltaic panel and the corresponding GPS coordinate are grouped, and the initial data is constructed.
[0060] Specifically, the center point pixel coordinates of the photovoltaic panel are obtained first, and the distance between the pixel point of the photovoltaic panel and the center point pixel coordinates of the photovoltaic panel is calculated. Then, the corresponding GPS coordinate of the defective photovoltaic panel is determined according to the distance between the GPS coordinate of the photovoltaic panel and the center point pixel coordinates of the photovoltaic panel and the distance between the pixel point of the photovoltaic panel and the center point pixel coordinates of the photovoltaic panel.
[0061] As an example, refer to Figure 3 As shown, the FOV angles of the camera in each direction are obtained according to the camera model, including the horizontal angle, the vertical angle, and the DFOV (diagonal angle). Further refer toFigure 3 and Figure 4 In this example, the horizontal angle is used, i.e. Figure 4 the angle a; the height (L) and the angle of declination (β) of the panoramic picture of the predetermined target area, and the GPS coordinates of the center point of the picture of the predetermined target area, including the longitude (G x ) and the latitude (G y ) are read. It should be noted that the angle of declination of the camera when the unmanned aerial vehicle takes a picture, generally, the camera needs to be kept consistent with the angle of the north (i.e. the angle of declination 0°) when the unmanned aerial vehicle takes a picture, but there will be a little angle deviation β in practice; if the angle of declination is 0°, the horizontal direction of the picture should be parallel to the longitude, and the vertical direction should be parallel to the latitude.
[0062] The actual physical distance D w corresponding to the width of the panoramic picture of the predetermined target area is calculated.
[0063]
[0064] The relationship v between the pixel distance and the GPS coordinate distance is calculated.
[0065] v = D w ÷ W
[0066] wherein W refers to the pixel width of the image.
[0067] As shown in Figure 4 , given the pixel point coordinates of a photovoltaic panel: (P x1 , P y1 ), the corresponding GPS coordinates of the photovoltaic panel are calculated.
[0068] The pixel coordinates (P x , P y ) of the center point of a photovoltaic panel picture are calculated.
[0069] P x = W ÷ 2
[0070] P y = H ÷ 2
[0071] The distance L p from the pixel point of a photovoltaic panel to the pixel center point of the photovoltaic panel picture is calculated.
[0072]
[0073] The angle θ between the photovoltaic panel and the pixel center point of the photovoltaic panel picture is calculated.
[0074]
[0075] Calculate the distance L between the GPS coordinates of the photovoltaic panel and the pixel center point of the photovoltaic panel image g :
[0076] L g = L p *v
[0077] Calculate the longitude and latitude (G x1 ,G y1 ) of the photovoltaic panel.
[0078]
[0079]
[0080] Where G x1 represents the longitude of the defective photovoltaic panel; G y1 represents the latitude of the defective photovoltaic panel; G x represents the longitude of the image center point of the predetermined target area; G y represents the latitude of the image center point of the predetermined target area; β represents the northward angle of the UAV shooting direction; represents the angle between the photovoltaic panel and the vertical direction of the picture.
[0081] Finally, group the pixel label set corresponding to any photovoltaic panel and the corresponding GPS coordinates to construct the initial data, and store it in the database.
[0082] S140: Identify any defective photovoltaic panel in the predetermined target area, obtain the GPS coordinates of the defective photovoltaic panel, and find the photovoltaic panel label corresponding to the GPS coordinates of the defective photovoltaic panel in the initial data.
[0083] Specifically, use DJI UAV to patrol the photovoltaic area, take visible light and infrared pictures of the photovoltaic panel, and keep shooting in the north direction (northward angle 0°); loop through the pictures taken by the UAV, and identify the defective photovoltaic panel using image recognition technology combined with the defect library. Calculate the GPS coordinates (G x2 ,G y2 ) of the defective photovoltaic panel using step S130; access the database, loop through the photovoltaic panels in the initial data, obtain the GPS coordinates (G x3 ,G y3 ) of any photovoltaic panel, and calculate the distance between the photovoltaic panels in the database and the defective photovoltaic panel.
[0084] Calculate the distance L d between the two photovoltaic panels
[0085] Wherein the nearest photovoltaic panel can be considered as the same photovoltaic panel with the defective photovoltaic panel, and the photovoltaic panel number is obtained to analyze the actual physical position, that is, the row, string, row and block of a certain subarray, so as to facilitate the staff of the photovoltaic power station to determine the fault information in time and maintain the photovoltaic panel.
[0086] Exemplary apparatus
[0087] As Figure 1 shown, a defective photovoltaic panel number positioning device, the device comprises:
[0088] An image segmentation module 20 for obtaining an image of a predetermined target area, segmenting the photovoltaic string and the photovoltaic panel corresponding to the photovoltaic string from the predetermined target area image;
[0089] An image labeling module 30 for labeling the photovoltaic panel and the photovoltaic string according to the pixel coordinates of the photovoltaic panel and the pixel coordinates of the photovoltaic string, and obtaining a pixel label set;
[0090] A coordinate calculation module 40 for calculating the corresponding GPS coordinates of the photovoltaic panel according to the attribute information of the image of the photovoltaic panel in the predetermined target area, grouping the pixel label set corresponding to any photovoltaic panel and the corresponding GPS coordinates, and constructing initial data;
[0091] A number identification module 50 for identifying any defective photovoltaic panel in the predetermined target area, obtaining the GPS coordinates of the defective photovoltaic panel, and searching for the photovoltaic panel label corresponding to the GPS coordinates of the defective photovoltaic panel in the initial data.
[0092] Specifically, the image labeling module comprises:
[0093] A first numbering unit for calculating the center point pixel coordinates of the photovoltaic string, and numbering the photovoltaic string;
[0094] A second numbering unit for calculating the center point pixel coordinates of the photovoltaic panel corresponding to the photovoltaic string, numbering the photovoltaic panel under the number of the photovoltaic string, and obtaining a pixel label set.
[0095] As an example, a UAV is also provided, which comprises a UAV body, a camera device, a GPS positioning device, a processor and a memory carried on the UAV body;
[0096] The camera device is used to shoot a predetermined area image according to an external control instruction;
[0097] The GPS positioning device is used to determine the current position of the UAV according to an external control instruction;
[0098] The memory stores a computer program, and the processor and the memory are electrically connected, and are configured to execute the computer program stored in the memory to implement the photovoltaic panel fault detection and identification method as described above.
[0099] Exemplary electronic device
[0100] An electronic device according to embodiments of the present application will be described below with reference to Figure 1 The electronic device can be the mobile device itself, or a stand-alone device independent of the mobile device, which can communicate with the mobile device to receive the collected input signals therefrom and send selected target decision behaviors thereto.
[0101] Figure 4 A block diagram of an electronic device according to embodiments of the present application is shown.
[0102] As shown in Figure 4 The electronic device 10 includes one or more processors 11 and a memory 12.
[0103] The processor 11 can be a central processing unit (CPU) or other form of processing unit that has data processing and / or instruction execution capabilities, and can control other components in the electronic device 10 to perform desired functions.
[0104] The memory 12 can include one or more computer program products that can include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory, for example, can include random access memory (RAM), cache memory, and / or the like. The non-volatile memory, for example, can include read-only memory (ROM), hard disk, flash memory, and / or the like. One or more computer program instructions can be stored on the computer-readable storage media, and the processor 11 can execute the program instructions to implement the decision behavior decision method of various embodiments of the present application described above and / or other desired functions.
[0105] In one example, the electronic device 10 can further include an input device 13 and an output device 14, which are interconnected through a bus system and / or other forms of connection mechanisms (not shown). For example, the input device 13 can include various devices such as an on-board diagnostic system (OBD), a unified diagnostic service (UDS), an inertial measurement unit (IMU), a camera, a laser radar, a millimeter wave radar, an ultrasonic radar, a vehicle-to-everything (V2X) communication, and / or the like. The input device 13 can also include, for example, a keyboard, a mouse, and / or the like. The output device 14 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and / or the like.
[0106] Of course, for simplicity,Figure 4 Only some of the components of the electronic device 10 related to the present application are shown, and components such as buses, input / output interfaces, and the like are omitted. In addition to these, the electronic device 10 can include any other appropriate components according to the specific application.
[0107] Exemplary computer program product and computer readable storage medium
[0108] In addition to the above method and device, an embodiment of the present application can also be a computer program product, which includes computer program instructions, which, when executed by a processor, cause the processor to perform the steps of the decision-making behavior decision-making method according to various embodiments of the present application described in the above “Exemplary Method” section of the present specification.
[0109] The computer program product can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++, etc., and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device or entirely on the remote computing device or server.
[0110] In addition, an embodiment of the present application can also be a computer readable storage medium, which stores computer program instructions, which, when executed by a processor, cause the processor to perform the steps of the decision-making behavior decision-making method according to various embodiments of the present application described in the above “Exemplary Method” section of the present specification.
[0111] The computer readable storage medium can be any combination of one or more computer readable media. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination of the above. More specific examples (a non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable disc, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0112] The above describes the basic principles of the present application in combination with specific embodiments, but it should be noted that the advantages, benefits, effects and the like mentioned in the present application are only examples and are not limiting, and these advantages, benefits, effects and the like cannot be considered as necessary for each embodiment of the present application. In addition, the above specific details disclosed are only for the purpose of example and understanding, and are not limiting, and the above details do not limit the present application to be necessarily implemented with the above specific details.
[0113] The block diagrams of the devices, apparatuses, equipment, systems involved in the present application are only illustrative examples and are not intended to require or imply the connection, arrangement, configuration as shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, equipment, systems can be connected, arranged, configured in any manner. Words such as "include", "contain", "have" and the like are open-ended words, mean "including but not limited to", and can be used interchangeably. The words "or" and "and" used herein mean the word "and / or", and can be used interchangeably unless the context clearly indicates otherwise. The word "such as" used herein means the phrase "such as but not limited to", and can be used interchangeably.
[0114] It should also be noted that in the devices, equipment and methods of the present application, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions of the present application.
[0115] The above description of the disclosed aspects is provided so that any person skilled in the art can make or use the present application. Various modifications to these aspects will be apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0116] The above description has been given for the purpose of illustration and description. Furthermore, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain modifications, alterations, changes, additions and sub-combinations thereof.
Claims
1. A method for numbering and locating faulty photovoltaic panels, characterized in that, The method includes the following steps: Acquire an image of a predetermined target area, and segment the image of the predetermined target area into photovoltaic strings and photovoltaic panels corresponding to the photovoltaic strings; Based on the pixel coordinates of the photovoltaic panel and the pixel coordinates of the photovoltaic string, the photovoltaic panel and the photovoltaic string are labeled to obtain a pixel label set; Based on the attribute information of the photovoltaic panel in the predetermined target area, calculate the GPS coordinates corresponding to the photovoltaic panel, group the pixel label set corresponding to any photovoltaic panel and the corresponding GPS coordinates, and construct the initial data. Identify any defective photovoltaic panel in a predetermined target area, obtain the GPS coordinates of the defective photovoltaic panel, and find the photovoltaic panel number corresponding to the GPS coordinates of the defective photovoltaic panel in the initial data; The step of labeling the photovoltaic panel and the photovoltaic string according to their pixel coordinates to obtain a pixel label set includes: Calculate the pixel coordinates of the center point of the photovoltaic string and number the photovoltaic strings; Calculate the center point pixel coordinates of the photovoltaic panel corresponding to the photovoltaic string, and number the photovoltaic panel under the number of the photovoltaic string to obtain a pixel label set.
2. The method for numbering and locating faulty photovoltaic panels according to claim 1, characterized in that, The step of calculating the GPS coordinates corresponding to the photovoltaic panel includes: Obtain the center pixel coordinates of the photovoltaic panel and calculate the distance from the center pixel coordinates of the photovoltaic panel. ; Based on the distance between the GPS coordinates of the photovoltaic panel and the pixel coordinates of the center point of the photovoltaic panel and the distance between the pixels of the photovoltaic panel and the center pixel of the photovoltaic panel. Determine the GPS coordinates corresponding to the defective photovoltaic panel.
3. The method for numbering and locating faulty photovoltaic panels according to claim 2, characterized in that, The formula for calculating the GPS coordinates of the photovoltaic panel is as follows: ; in, Indicates the longitude of the defective photovoltaic panel; Indicates the latitude of the defective photovoltaic panel; Indicates the longitude of the image center point of the predetermined target area; β represents the latitude of the image center point of the predetermined target area; β represents the northward angle of the drone's shooting direction; φ represents the angle between the photovoltaic panel and the perpendicular direction of the image.
4. The method for numbering and locating faulty photovoltaic panels according to claim 1, characterized in that, The step of finding the photovoltaic panel number corresponding to the GPS coordinates of the defective photovoltaic panel in the initial data includes: Traverse any photovoltaic panel in the initial data and calculate the distance between the GPS coordinates of any photovoltaic panel and the GPS coordinates of the defective photovoltaic panel; The label of the photovoltaic panel closest to the defective photovoltaic panel is selected as the label of the photovoltaic panel corresponding to the GPS coordinates of the defective photovoltaic panel.
5. A faulty photovoltaic panel numbering and locating device, characterized in that, The device includes: An image segmentation module is used to acquire an image of a predetermined target area and segment the image of the predetermined target area into photovoltaic strings and photovoltaic panels corresponding to the photovoltaic strings. Image labeling module; it is used to label the photovoltaic panel and the photovoltaic string according to the pixel coordinates of the photovoltaic panel and the pixel coordinates of the photovoltaic string, and obtain a pixel label set; The coordinate calculation module is used to calculate the GPS coordinates corresponding to the photovoltaic panel based on the attribute information of the image of the photovoltaic panel in the predetermined target area, and to group the pixel label set corresponding to any photovoltaic panel and the corresponding GPS coordinates to construct the initial data. The numbering and identification module is used to identify any defective photovoltaic panel in a predetermined target area, obtain the GPS coordinates of the defective photovoltaic panel, and find the photovoltaic panel number corresponding to the GPS coordinates of the defective photovoltaic panel in the initial data. The image labeling module includes: The first numbering unit is used to calculate the pixel coordinates of the center point of the photovoltaic string and to number the photovoltaic string. The second numbering unit is used to calculate the center point pixel coordinates of the photovoltaic panels corresponding to the photovoltaic string, and to number the photovoltaic panels under the number of the photovoltaic string to obtain a pixel label set.
6. An electronic device, characterized in that, The system includes a processor, an input device, an output device, and a memory, which are connected in sequence. The memory is used to store a computer program, which includes program instructions. The processor is configured to invoke the program instructions to execute the method as described in any one of claims 1-4.
7. A readable storage medium, characterized in that, The storage medium stores a computer program, the computer program including program instructions that, when executed by a processor, cause the processor to perform the method as described in any one of claims 1-4.
8. A drone, the drone comprising a drone body, and a camera device, a GPS positioning device, a processor, and a memory mounted on the drone body; characterized in that, The camera device is used to capture images of a predetermined area according to external control commands; The GPS positioning device is used to determine the current location of the drone based on external control commands. The memory stores a computer program, and the processor is electrically connected to the memory for executing the program stored in the memory. The stored computer program is used to implement the faulty photovoltaic panel numbering and location method as described in any one of claims 1-4.
Citation Information
Patent Citations
Photovoltaic power station logic diagram-based array automatic detection and numbering method
CN107423501A
Fault positioning method, device and system
CN110823899A
Photovoltaic panel positioning method and device based on deep learning image segmentation
CN115661466A