A method and electronic device for determining a distributed photovoltaic power station inspection route

By acquiring photovoltaic power station images and dividing them into sub-areas for equidistant expansion processing, the interval between drone inspection points is determined, which solves the problem of low efficiency of manual mapping routes and missed detection by drones, and realizes the high efficiency of distributed photovoltaic power stations. Comprehensive inspection.

CN114935942BActive Publication Date: 2024-08-23WUXI HAINA INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210553883.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-20
Publication Date
2024-08-23
Estimated Expiration
2042-05-20

AI Technical Summary

Technical Problem

In the existing technology, manual mapping of photovoltaic power station inspection routes is inefficient, and drones are prone to missed inspections when inspecting according to the route.

Method used

By acquiring photovoltaic power station images, dividing sub-areas and performing equidistant expansion processing, the interval of inspection waypoints is determined based on the overlapping degree of the drone camera view, uniform waypoints are planned, and an inspection route covering all sub-areas is generated to ensure that no one is present The machine can fully cover distributed photovoltaic power stations.

Benefits of technology

It improves the efficiency of waypoint generation, avoids missed inspections, and ensures comprehensive coverage and efficient inspection of distributed photovoltaic power stations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114935942B
    Figure CN114935942B
Patent Text Reader

Abstract

The present invention provides a method for determining a distributed photovoltaic power station inspection route and an electronic device, the method comprising: acquiring an image of a photovoltaic power station; dividing the photovoltaic power station in the image of the photovoltaic power station to obtain multiple sub-areas; performing equidistant expansion processing on the multiple sub-areas to generate multiple sub-areas after expansion; determining the interval of the drone inspection waypoints according to the overlap of the drone camera framing; performing uniform waypoint planning in each sub-area after expansion according to the interval to generate multiple groups of waypoints, wherein each group of waypoints corresponds to an expanded sub-area, and the inspection route generated by each group of waypoints covers the expanded sub-area corresponding to each group of waypoints. The method solves the technical problems of low efficiency of manual route mapping in the prior art and easy omission of drones when inspecting along the route.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of photovoltaic inspection, and in particular to a method for determining an inspection route of a distributed photovoltaic power station and electronic equipment. Background Art

[0002] A distributed photovoltaic power station usually refers to a power generation system that utilizes decentralized resources, has a smaller installed capacity, and is located near users. It is generally connected to a power grid with a voltage level of less than 35 kV or lower.

[0003] Photovoltaic power station inspection is to monitor the operation of photovoltaic power station equipment, so as to timely discover and eliminate equipment defects and unsafe factors, prevent accidents, and is an important task to ensure the safe operation of equipment. With the development of drone technology, most drones are currently used for inspection. After obtaining aerial images of photovoltaic power stations, drone routes are manually mapped and then sent to the drone flight control module.

[0004] It should be noted that, on the one hand, the efficiency of manual route mapping in the existing technology is low, and on the other hand, distributed power stations are relatively scattered, and drones are prone to miss inspections when patrolling along the routes.

[0005] In view of this, the present invention is proposed. Summary of the invention

[0006] The present invention provides a method for determining a distributed photovoltaic power station inspection route and an electronic device to solve the technical problems in the prior art of low efficiency of manual route mapping and easy omission of inspections by unmanned aerial vehicles when inspecting along the route.

[0007] According to a first aspect of the present invention, a method for determining an inspection route of a distributed photovoltaic power station is provided, the method comprising: acquiring an image of the photovoltaic power station; dividing the photovoltaic power station in the image into a plurality of sub-areas; performing equidistant expansion processing on the plurality of sub-areas to generate a plurality of expanded sub-areas; determining the intervals of drone inspection waypoints according to the overlap of the drone camera's framing; and performing uniform waypoint planning in each expanded sub-area according to the intervals to generate a plurality of groups of waypoints, wherein each group of waypoints corresponds to an expanded sub-area, and the inspection route generated by each group of waypoints covers the expanded sub-area corresponding to each group of waypoints.

[0008] Furthermore, the intervals of the drone inspection waypoints are determined based on the overlap of the drone camera's framing, including: determining the drone's heading range based on the drone's camera's focal length, the size parameters of the camera's framing image, and the drone's flight altitude; determining the intervals of the inspection waypoints based on the overlap of the drone camera's framing and the drone's heading range.

[0009] Furthermore, after waypoint planning is performed in each expanded sub-area at intervals, the method includes controlling the UAV to perform inspections along the inspection route, wherein the method also includes: acquiring infrared images and orthophotos collected by the UAV through the inspection route; segmenting the orthophotos into strings to obtain an actual string range, wherein the actual string range includes multiple strings; performing image recognition on the infrared image to obtain multiple defect locations in the infrared image; and determining the actual location of the defect based on the multiple defect locations and the actual string range.

[0010] Furthermore, the orthophoto is modeled through the visible light image collected by the drone, wherein the actual position of the defect is determined based on the multiple defect positions and the actual string range, including: mapping the multiple defect positions into the visible light image; mapping the multiple defect positions in the visible light image into the orthophoto; and determining the actual position of the defect based on the multiple defect positions in the orthophoto and the actual string range.

[0011] Furthermore, the actual position of the defect is determined based on multiple defect positions in the orthophoto and the actual string range, including: when the position of the first defect in the orthophoto belongs to the actual string range, the position of the first defect is directly determined as the actual position of the defect; when the position of the second defect in the orthophoto does not belong to the actual string range, the adjacent string closest to the position of the second defect within a preset range is obtained, and the offset position of the second defect is determined as the actual position of the defect.

[0012] Furthermore, the position of the second defect is offset to the adjacent string closest to the position of the second defect, including: when there are multiple adjacent strings, obtaining operation and maintenance records of the photovoltaic power station and the defect type of the second defect; determining the defect type of a first adjacent string among the adjacent strings according to the operation and maintenance records; when the defect type of the first adjacent string is the same as the defect type of the second defect, the position of the second defect is offset to the first adjacent string.

[0013] Furthermore, the preset range is determined according to the distribution density of the strings of the photovoltaic power station.

[0014] Furthermore, the sub-region is a polygonal shape, and the multiple sub-regions include a first sub-region, wherein the multiple sub-regions are equidistantly expanded to generate multiple sub-regions after expansion, including: obtaining the coordinates of a first endpoint in the polygon of the first sub-region; obtaining the vectors of two adjacent edges passing through the first endpoint in the polygon of the first sub-region according to the coordinates of the first endpoint; determining the angle between the two adjacent edges according to the vectors of the two adjacent edges; generating a second endpoint according to the angle between the two adjacent edges, a preset expansion distance, the coordinates of the first endpoint, and the vectors of the two adjacent edges; determining the second endpoint as the endpoint of the sub-region after expansion; and generating multiple sub-regions after expansion according to the endpoints of the sub-region after expansion.

[0015] According to a third aspect of the present invention, there is provided a non-transitory computer-readable storage medium, wherein when a computer program is executed by a processor, it causes any one of the methods in the first aspect to be performed.

[0016] According to a fourth aspect of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein the memory stores computer instructions, and when the computer instructions are executed by the processor, any one of the methods in the second aspect is executed.

[0017] The present invention provides a method for determining a distributed photovoltaic power station inspection route and an electronic device, the method comprising: acquiring an image of a photovoltaic power station; dividing the photovoltaic power station in the image of the photovoltaic power station to obtain multiple sub-areas; performing equidistant expansion processing on the multiple sub-areas to generate multiple sub-areas after expansion; determining the interval of the drone inspection waypoints according to the overlap of the drone camera framing; performing uniform waypoint planning in each sub-area after expansion according to the interval to generate multiple groups of waypoints, wherein each group of waypoints corresponds to an expanded sub-area, and the inspection route generated by each group of waypoints covers the expanded sub-area corresponding to each group of waypoints. The method solves the technical problems of low efficiency of manual route mapping in the prior art and easy omission of drones when inspecting along the route. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 is a flow chart of a method for determining a distributed photovoltaic power station inspection route according to an embodiment of the present invention;

[0020] Figure 2 is a schematic diagram of the division of regions of a photovoltaic power station according to an embodiment of the present invention;

[0021] Figure 3-4 is a schematic diagram of a route generated in a sub-area according to an embodiment of the present invention;

[0022] Figure 5 to Figure 7 is a schematic diagram of a defect point of an embodiment of the present invention;

[0023] Figure 8 It is a schematic diagram of generating endpoints of an area after expansion according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the above and other features and advantages of the present invention more clear, the present invention is further described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are only exemplary and not restrictive.

[0025] In the following description, many specific details are set forth to provide a thorough understanding of the present invention. However, it is apparent to one of ordinary skill in the art that specific details need not be adopted to practice the present invention. In other cases, well-known steps or operations are not described in detail to avoid obscuring the present invention.

[0026] Embodiment 1

[0027] The present invention provides a method for determining a distributed photovoltaic power station inspection route, combining Figure 1 , the method may include:

[0028] Step S11, acquiring an image of the photovoltaic power station.

[0029] Specifically, in this solution, a device with data processing function, such as a drone or a server of a photovoltaic power station, may be used as the executor of this solution, and the image of the photovoltaic power station in the above step S11 may be a satellite image.

[0030] Step S13: dividing the image of the photovoltaic power station into multiple sub-areas of the photovoltaic power station.

[0031] Specific, combined Figure 2 , a basic area can be first divided from the above image, and then multiple sub-areas can be obtained based on the basic area. Each sub-area includes multiple photovoltaic strings. It should be noted that the distance between adjacent photovoltaic strings included in each sub-area is less than the preset threshold, that is, the strings in each sub-area are gathered in the area where they are located. It should be noted that in the above division scheme, the photovoltaic strings in different areas are accurately divided by first demarcating the basic area and then dividing the basic area into multiple sub-areas in a two-step division method.

[0032] It should be noted here that this solution can divide different areas according to the longitude and latitude in the above image.

[0033] Step S15, performing equidistant expansion processing on the multiple sub-regions to generate multiple expanded sub-regions.

[0034] Specifically, in this solution, since distributed photovoltaic power stations are different from centralized photovoltaic power stations in terms of flat terrain and uniform distribution of photovoltaic strings, distributed photovoltaic power stations have complex terrain and uneven distribution of photovoltaic strings. Therefore, in the prior art, drones flying along manually drawn routes are prone to missed detections. Therefore, this solution will expand multiple sub-areas at equal distances to ensure that the multiple sub-areas after expansion can cover all photovoltaic strings in the distributed photovoltaic power station.

[0035] Step S17, determining the interval of the drone inspection waypoints according to the overlap of the drone camera views.

[0036] Step S19, uniform waypoint planning is performed in each expanded sub-area at intervals to generate multiple groups of waypoints, wherein each group of waypoints corresponds to an expanded sub-area, and the inspection route generated by each group of waypoints covers the expanded sub-area corresponding to each group of waypoints.

[0037] Specifically, in this solution, a drone framing overlap can be obtained in advance, and the framing overlap can be the overlap of images that the solution plans to have the drone obtain at two adjacent waypoints, so as to obtain comprehensive and complete images of the photovoltaic strings. The interval between two adjacent inspection waypoints in the horizontal or vertical direction among multiple inspection waypoints can be determined by the framing overlap, and then this solution performs uniform waypoint planning in each expanded sub-area according to the above interval to generate multiple groups of waypoints. It should be noted here that in the prior art, after obtaining the image of the photovoltaic power station, the drawing personnel are required to manually plan the inspection on the image, that is, to draw multiple waypoints. When manually planning the waypoints, the drawing personnel often first plan the direction of the drone's flight, and then draw multiple waypoints based on the direction of the drone's flight. This type of drawing efficiency is low. In the present scheme, the actual flight direction of the drone is not considered, but only the above-mentioned interval is obtained to automatically plan the waypoints, as long as the waypoints planned for each sub-area can cover the current sub-area. Optionally, this scheme can be based on the above-mentioned interval and monitor the coverage route generation algorithm to automatically generate multiple waypoints covering each sub-area, and then generate a drone inspection path for each sub-area by splicing the waypoints, which greatly improves the waypoint generation efficiency.

[0038] In this embodiment, through the above steps, this scheme first divides the photovoltaic power station into each sub-area for expansion, and plans multiple waypoints in each sub-area according to the waypoint interval for the expanded sub-area, and plans a separate inspection path in each sub-area, and then controls the drone to inspect each inspection path. Different from the prior art, in which only one inspection path is planned in the image, the multiple inspection paths generated by this scheme can realize the comprehensive inspection of the distributed photovoltaic power station and avoid missing inspections. It should be noted here that after each sub-area is expanded, the increase in the area after the expansion increases the number of waypoints that can be planned in the expanded sub-area, and the inspection path generated thereby has more comprehensive coverage. It is precisely because of the expansion of the sub-area that this scheme can plan a separate inspection path in each sub-area, so this scheme ensures that there are no inspection omissions in the inspection of the distributed photovoltaic power station.

[0039] In an optional embodiment, the present solution may generate multiple inspection routes for each group of waypoints, each inspection route corresponds to a path, and multiple different inspection paths are generated in each sub-area. Figure 3 to Figure 4 That is, each group of the same waypoints can generate multiple different "snake" inspection paths, each inspection path will cover the sub-area where it is located, but the inspection paths are different. Figure 3 The inspection path in is from A to B. Figure 4 The inspection path in is from C to D.

[0040] It should be noted here that the present solution simultaneously plans multiple paths in the sub-areas at intervals for the drone to choose from. If an unexpected obstacle occurs during the inspection process, the drone can immediately switch from the multiple paths to ensure the smooth progress of the inspection. Therefore, the present embodiment increases the flexibility of the inspection path. In addition, since the present solution plans an inspection path in each of the multiple sub-areas, after the inspection of one sub-area is completed, the drone will fly to the next sub-area for a new inspection. Therefore, in another optional embodiment, when the drone completes the inspection of the current sub-area, it first obtains multiple inspection paths of the next sub-area planned for inspection, and determines the target inspection path of the next sub-area from the multiple inspection paths of the next sub-area according to the end point of the inspection path of the current sub-area, that is, first obtains the starting point of the multiple inspection paths in the next sub-area, and uses the inspection path with the starting point closest to the end point of the inspection path of the current sub-area as the target inspection path of the next sub-area, so as to achieve the effect of the drone quickly switching to the next sub-area to continue the inspection after the current sub-area is completed.

[0041] In an optional embodiment, each of the above-mentioned sub-areas is a polygon, and the shape of the polygon is determined according to the contour of the distribution of the photovoltaic strings. Therefore, it can be seen that this scheme takes into account the contour of the distribution of the photovoltaic strings when dividing the area of ​​the photovoltaic power station, so that the division of each sub-area is more accurate, and the invalid areas in the photovoltaic power station are largely eliminated, thereby improving the inspection efficiency.

[0042] Optionally, step S17 determines the interval of the drone inspection waypoints according to the overlap of the drone camera views, including:

[0043] Step S171, determining the heading range of the drone according to the focal length f of the drone camera, the size parameter W of the camera view image, and the flight altitude h of the drone.

[0044] Specifically, the heading range can be calculated by the following formula: heading range=f / h*W.

[0045] Step S173, determining the interval d of the inspection waypoints according to the overlap r of the drone camera framing and the heading range of the drone.

[0046] Specifically, the interval d is the distance between two adjacent inspection waypoints in the sub-area, which can be achieved by the following formula: d = (1-r) * heading range. Optionally, the overlap degree can be 30%.

[0047] The above scheme can automatically generate the interval of inspection waypoints after obtaining relevant parameters. Compared with the existing technology, the interval of inspection waypoints generated by the above calculation can ensure that the minimum inspection waypoints are set on the basis of collecting the complete image of the photovoltaic power station, thereby improving the efficiency of inspection.

[0048] It should be noted that in the above formula, the overlap is the overlap of the infrared image. First, it can ensure that the infrared images are overlapped, so as to ensure that the components of the power station are not missed. Second, because in actual applications, the field of view of visible light images is much larger than that of infrared, if this overlapping shooting is carried out, the overlap requirement for establishing orthophotos from visible light images can be met.

[0049] Optionally, after performing waypoint planning in each expanded sub-area at intervals in step S19, the method includes controlling the drone to perform inspections along the inspection route, wherein the method further includes:

[0050] Step S21, obtaining infrared images and orthophotos collected by the drone through the inspection route.

[0051] Specifically, this solution can control the dual-light camera of the drone to collect infrared images and orthophotos of each sub-area.

[0052] Step S23, segmenting the orthophoto into strings to obtain an actual string range, wherein the actual string range includes a plurality of strings.

[0053] Specifically, this solution can segment the overlapping orthophotos, set the sliding window segmentation size to 512×512, and the step size to 128. During the segmentation process, it is ensured that every area of ​​the orthophoto is covered, and the position index of each segmented block is saved. This solution can use the UNet network to segment the above-mentioned segmented image blocks. UNet uses a fully convolutional neural network, performs 4 downsampling and 4 upsampling, and realizes the feature fusion of the feature map of the same size obtained during the downsampling process during the upsampling process. The loss function uses dice loss and cross entropy, and the output is a single-channel segmentation result. Then the segmentation result of UNet is binarized, and a simple morphological operation is performed to obtain the final segmentation result of a single image block. Each segmentation result is spliced ​​according to the index value stored in the first step, and the string segmentation result of the orthophoto is obtained. Finally, the rotated rectangle is extracted according to the segmentation result to obtain the actual position of the photovoltaic string, that is, the actual string range mentioned above.

[0054] Step S25, performing image recognition on the infrared image to obtain multiple defect locations in the infrared image.

[0055] Specifically, this solution obtains the defect type of the string and the actual location of the string where the defect occurs in the infrared image from the infrared image recognition. Optionally, the defect type of the string may be a hot spot, a diode defect, or the like.

[0056] Optionally, the specific method of identifying defects can be implemented by a deep learning model in the prior art.

[0057] Step S27, determining the actual position of the defect based on the multiple defect positions and the actual string range.

[0058] It should be noted here that the actual string range obtained through orthophoto segmentation includes all photovoltaic strings. This solution can be combined with multiple defect locations identified by infrared images and the actual range of photovoltaic strings to accurately locate the actual location of the defects.

[0059] Optionally, the orthophoto is obtained by modeling the visible light image collected by the drone, wherein step S27, determining the actual position of the defect according to the multiple defect positions and the actual string range, includes:

[0060] Step S271, mapping multiple defect locations into a visible light image.

[0061] Step S272, mapping multiple defect locations in the visible light image into the orthophoto.

[0062] Step S273, determining the actual position of the defect based on the multiple defect positions in the orthophoto and the actual string range.

[0063] Specifically, through the above three steps, the specific position of the defect point in the orthophoto can be obtained through the three-step coordinate transformation of the infrared image, the visible light image, and the orthophoto. It should be noted here that deviations are prone to occur during the three-step coordinate transformation. This solution needs to use the actual string range mentioned above to correct the mapped multiple defect positions.

[0064] Optionally, step S273, determining the actual position of the defect according to the multiple defect positions in the orthophoto and the actual string range, includes:

[0065] Step S2731, when the position of the first defect in the orthophoto image belongs to the actual string range, the position of the first defect is directly determined as the actual position of the defect.

[0066] Specific, combined Figure 5 , Figure 5 The multiple rectangular boxes in are the ranges of actual strings obtained by string segmentation in this solution. When the position of the first defect belongs to any string within the range of the actual string, this solution determines the position of the first defect as the actual position of the defect.

[0067] Step S2732, when the position of the second defect in the orthophoto image does not belong to the actual string range, the adjacent string closest to the position of the second defect within the preset range is obtained, and the offset position of the second defect is determined as the actual position of the defect.

[0068] Specific, combined Figure 6 If the position of the second defect does not belong to any of the actual strings, it means that a deviation occurred during the three-step coordinate transformation of the infrared image, visible light image, and orthophoto image. This solution will shift the distance from the second defect to the adjacent string closest to the second defect position. In this way, the defect positions through coordinate transformation are all shifted to the actual photovoltaic strings, thereby compensating for the deviation of the defect in coordinate transformation.

[0069] Optionally, step S2732 shifts the position of the second defect to an adjacent string closest to the position of the second defect, including:

[0070] Step S27321, when there are multiple nearest adjacent strings, obtaining operation and maintenance records of the photovoltaic power station and a defect type of the second defect;

[0071] Step S27322, determining the defect type of the first adjacent string among the adjacent strings according to the operation and maintenance record;

[0072] Step S27323, when the defect type of the first adjacent string is the same as the defect type of the second defect, the position of the second defect is shifted to the first adjacent string.

[0073] Specifically, steps S27321 to 27323 may be a further optimized solution of step S273, because when the defect point is offset, Figure 7 In the case where the defect point is at the same distance from multiple strings (such as the left and right sides in the figure), this solution obtains the operation and maintenance records of the photovoltaic power station, which include the positions and types of strings where the defect point occurs in the power station. This solution determines the strings that have the same type of defects as the target strings, and controls the position of the defects to shift to the target strings. Through this correction method, the technical problem of deviation in coordinate transformation of defects is more accurately solved.

[0074] It should be noted here that, in this solution, the second defect can be controlled to be offset to any position in the photovoltaic string (any position in the rectangular frame), because from the actual operation and maintenance work, the operation and maintenance personnel only need to know which string the defect belongs to.

[0075] Optionally, the preset range is determined according to the distribution density of the strings of the photovoltaic power station.

[0076] It should be noted here that, since the distribution of photovoltaic power station strings is relatively scattered, in order to quickly determine the strings around the defect, this solution can determine the preset range according to the distribution density of the photovoltaic power station strings.

[0077] Optionally, the sub-region is a polygonal shape, and the multiple sub-regions include the first sub-region, wherein step S15 performs equidistant expansion processing on the multiple sub-regions to generate multiple expanded sub-regions, including:

[0078] Step S151, combining Figure 8 , get the first endpoint P in the polygon of the first sub-area i The first endpoint is any point in the polygon.

[0079] Step S152: according to the coordinates P of the first endpoint i Get vectors v1 and v2 of two adjacent edges passing through the first endpoint in the polygon of the first sub-region.

[0080] Step S153, determining the angle θ between the two adjacent edges according to the vectors of the two adjacent edges.

[0081] Specifically,

[0082] Step S154: Generate a second endpoint Q according to the angle between the two adjacent edges, the preset outward expansion distance, the coordinates of the first endpoint, and the vectors of the two adjacent edges. i .

[0083] Specifically, the second endpoint can be obtained by the following formula:

[0084]

[0085] Wherein, the above L is the preset expansion distance, and is the vector normalized from v1 and v2.

[0086] Step S155: determine the second endpoint as the endpoint of the expanded sub-region.

[0087] Step S156, generating a plurality of expanded sub-regions according to the endpoints of the expanded sub-regions.

[0088] Specifically, the expanded endpoints corresponding to each endpoint of the sub-region may be generated according to the method of steps S151 to S155, and then all sub-regions may be generated according to all the expanded endpoints.

[0089] It can be seen from this that the user can set the expansion distance according to actual needs, and this solution quickly expands each sub-area according to the expansion distance preset by the user.

[0090] It should be noted here that this solution expands the field of view of the drone by evenly expanding the boundary points at equal intervals. This is different from the previous circumscribed rectangle method and manual route method. While ensuring that the collected data can meet the requirements of complete modeling and inspection, it does not waste waypoints, does not add additional routes, and reduces the flight distance.

[0091] In an optional embodiment, before the above step S154, the present application may include the following solutions:

[0092] Step S1531, receiving an initial expansion distance input by a user, obtaining the number of inspection waypoints associated with the initial expansion distance based on the initial expansion distance, obtaining a first preset power consumption based on the number of inspection waypoints, and determining the initial expansion distance as the preset expansion distance based on the first preset power consumption.

[0093] Specifically, users can customize the expansion distance to control the size of the area after expansion. However, if the expansion distance entered by the user is larger, more inspection waypoints will be planned after expansion. However, the drone must hover and take pictures at each inspection waypoint. If there are too many inspection waypoints, the drone will consume power too quickly and fail to complete the inspection. Therefore, this solution makes a judgment. Only when the user enters a suitable initial expansion distance, this solution will determine the initial expansion distance as the preset expansion distance, and then perform subsequent operations. In this way, when the user expands, the drone will not be affected by the excessive expansion to complete the inspection.

[0094] It should be understood that the specific features, operations and details described hereinabove about the method of the present invention may also be similarly applied to the device and system of the present invention, or, vice versa. In addition, each step of the method of the present invention described above may be performed by the corresponding parts or units of the device or system of the present invention.

[0095] It should be understood that each module / unit of the device of the present invention can be implemented in whole or in part by software, hardware, firmware or a combination thereof. Each of the modules / units can be embedded in the processor of the computer device in the form of hardware or firmware or independent of the processor, or can be stored in the memory of the computer device in the form of software for the processor to call to perform the operation of each module / unit. Each of the modules / units can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.

[0096] In one embodiment, a computer device is provided, which includes a memory and a processor, wherein the memory stores computer instructions executable by the processor, and the computer instructions instruct the processor to perform each step of the method of the embodiment of the present invention when executed by the processor. The computer device can be a server, a terminal, or any other electronic device with necessary computing and / or processing capabilities in a broad sense. In one embodiment, the computer device may include a processor, a memory, a network interface, a communication interface, etc. connected through a system bus. The processor of the computer device can be used to provide necessary computing, processing and / or control capabilities. The memory of the computer device may include a non-volatile storage medium and an internal memory. An operating system, a computer program, etc. may be stored in or on the non-volatile storage medium. The internal memory can provide an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface and the communication interface of the computer device can be used to connect and communicate with external devices through a network. The steps of the method of the present invention are executed by the processor.

[0097] The present invention may be implemented as a computer-readable storage medium having a computer program stored thereon, which causes the steps of the method of an embodiment of the present invention to be executed when executed by a processor. In one embodiment, the computer program is distributed on a plurality of computer devices or processors coupled to a network so that the computer program is stored, accessed and executed in a distributed manner by one or more computer devices or processors. A single method step / operation, or two or more method steps / operations, may be performed by a single computer device or processor or by two or more computer devices or processors. One or more method steps / operations may be performed by one or more computer devices or processors, and one or more other method steps / operations may be performed by one or more other computer devices or processors. One or more computer devices or processors may perform a single method step / operation, or perform two or more method steps / operations.

[0098] It will be appreciated by those skilled in the art that the method steps of the present invention may be performed by instructing related hardware such as a computer device or a processor through a computer program, and the computer program may be stored in a non-temporary computer-readable storage medium, which causes the steps of the present invention to be performed when the computer program is executed. Depending on the circumstances, any reference to memory, storage, database, or other media herein may include non-volatile and / or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.

[0099] The various technical features described above can be combined arbitrarily. Although all possible combinations of these technical features are not described, any combination of these technical features should be considered to be covered by this specification as long as there is no contradiction in such combination.

[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for determining a distributed photovoltaic power station inspection route, characterized in that: The method comprises: Acquire images of the photovoltaic power station; Dividing the image of the photovoltaic power station to obtain a plurality of sub-areas of the photovoltaic power station; Performing equidistant expansion processing on the multiple sub-regions to generate multiple expanded sub-regions; Determine the interval of the drone inspection waypoints based on the overlap of the drone camera views; Uniform waypoint planning is performed in each expanded sub-area according to the interval to generate multiple groups of waypoints, wherein each group of waypoints corresponds to an expanded sub-area, and the inspection route generated by each group of waypoints covers the expanded sub-area corresponding to each group of waypoints; wherein each group of waypoints generates multiple inspection routes, each inspection route corresponds to a path, and multiple different inspection paths are generated in each sub-area; wherein, when the drone completes the inspection of the current sub-area, it first obtains multiple inspection paths of the next sub-area planned to be inspected, and uses the inspection path with the starting point closest to the end point of the inspection path of the current sub-area as the target inspection path of the next sub-area, so that the drone switches to the next sub-area after completing the inspection of the current sub-area; the sub-area is a polygonal shape, and the multiple sub-areas include a first sub-area, wherein the multiple sub-areas are expanded equidistantly. Processing to generate multiple sub-areas after expansion, including: obtaining the coordinates of the first endpoint in the polygon of the first sub-area; obtaining the vectors of two adjacent edges passing through the first endpoint in the polygon of the first sub-area according to the coordinates of the first endpoint; determining the angle between the two adjacent edges according to the vectors of the two adjacent edges; receiving an initial expansion distance input by a user, obtaining the number of inspection waypoints associated with the initial expansion distance according to the initial expansion distance, obtaining a first preset power consumption according to the number of inspection waypoints, and determining the initial expansion distance as the preset expansion distance according to the first preset power consumption; generating a second endpoint according to the angle between the two adjacent edges, the preset expansion distance, the coordinates of the first endpoint, and the vectors of the two adjacent edges; determining the second endpoint as the endpoint of the sub-area after expansion; generating multiple sub-areas after expansion according to the endpoints of the sub-area after expansion.

2. The method according to claim 1, characterized in that: The interval of the drone inspection waypoints is determined based on the overlap of the drone camera views, including: Determine the heading range of the drone according to the focal length of the drone camera, the size parameters of the camera view image, and the flight altitude of the drone; The interval of the inspection waypoints is determined according to the overlap of the drone camera views and the heading range of the drone.

3. The method according to claim 1, characterized in that After waypoint planning is performed in each expanded sub-area according to the interval, the method includes controlling the drone to perform inspections according to the inspection route, wherein the method further includes: Obtain infrared images and orthophotos collected by the drone through the inspection route; Segment the orthophoto into strings to obtain an actual string range, wherein the actual string range includes a plurality of strings; Performing image recognition on the infrared image to obtain multiple defect locations in the infrared image; The actual position of the defect is determined according to the multiple defect positions and the actual string range.

4. The method according to claim 3, characterized in that The orthophoto is obtained by modeling the visible light image collected by the drone, wherein the actual position of the defect is determined according to the multiple defect positions and the actual string range, including: mapping the plurality of defect locations into the visible light image; Mapping a plurality of defect locations in the visible light image into the orthophoto; The actual position of the defect is determined according to the multiple defect positions in the orthophoto and the actual string range.

5. The method according to claim 4, characterized in that Determining the actual position of the defect according to the multiple defect positions in the orthophoto and the actual string range includes: When the position of the first defect in the orthophoto image belongs to the actual string range, the position of the first defect is directly determined as the actual position of the defect; When the position of the second defect in the orthophoto image does not belong to the actual string range, the adjacent string closest to the position of the second defect within the preset range is obtained, and the offset position of the second defect is determined as the actual position of the defect.

6. The method according to claim 5, characterized in that Shifting the position of the second defect to an adjacent string closest to the position of the second defect includes: When there are multiple nearest adjacent strings, obtaining an operation and maintenance record of the photovoltaic power station and a defect type of the second defect; Determining a defect type of a first adjacent string among the adjacent strings according to the operation and maintenance record; When the defect type of the first adjacent string is the same as the defect type of the second defect, the position of the second defect is shifted to the first adjacent string.

7. The method according to claim 5, characterized in that The preset range is determined according to the distribution density of the strings of the photovoltaic power station.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program, when executed by a processor, causes the method of any one of claims 1 to 7 to be performed.

9. An electronic device, comprising a memory and a processor, wherein the memory stores computer instructions, characterized in that: The computer instructions, when executed by the processor, cause the method of any one of claims 1 to 7 to be performed.