Photovoltaic module arrangement method, device and storage medium

By obtaining the target image of the area to be installed during the photovoltaic power station design process, using the target proportion coefficient and detection algorithm to determine the real size, and automatically arrange the photovoltaic modules, solving the problems of high design cost, long cycle and low efficiency, achieving high efficiency and automatic photovoltaic module arrangement.

CN114996779BActive Publication Date: 2025-02-18HEFEI SUNGROW RENEWABLE ENERGY SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210459460.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-27
Publication Date
2025-02-18
Estimated Expiration
2042-04-27

AI Technical Summary

Technical Problem

In the design process of photovoltaic power stations, there are problems such as high design costs, long design cycles and low design efficiency, especially in the survey and component arrangement links.

Method used

By obtaining the target image of the photovoltaic module area to be installed, the target proportion coefficient and target detection algorithm are used to determine the real size information of the obstacles and the photovoltaic module area, and combining the true height of the obstacles, the arrangement information of the photovoltaic module is automatically determined.

Benefits of technology

It has achieved the reduction of manual participation in photovoltaic power plant design, shorten the design cycle, and automatically generate optimized arrangement information for photovoltaic modules, thereby improving design efficiency and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114996779B_ABST
    Figure CN114996779B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and storage medium for arranging photovoltaic components. The method includes: obtaining a target image and a target scale factor of the area where the photovoltaic components are to be installed; determining the second target outline size information of the obstacle in the target image and the third target outline size information of the area where the photovoltaic components are to be installed; obtaining the second real size of the obstacle in the real physical space according to the target scale factor and the second target outline size information, and obtaining the third real size of the area where the photovoltaic components are to be installed in the real physical space according to the target scale factor and the third target outline size information; obtaining the real height of the obstacle, and determining the arrangement information of the photovoltaic components in the area where the photovoltaic components are to be installed according to the second real size, the third real size, and the real height. The present application solves the technical problems in the related art of high design cost, long design cycle and low design efficiency in the design process of photovoltaic power stations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of photovoltaic power station design, and more specifically, to a photovoltaic component arrangement method, device and storage medium. Background Art

[0002] When designing a photovoltaic power station in a certain area, for example, when designing a photovoltaic power station on a roof, there are two main methods used in the survey process: the first is to use manual surveying, and the second is to use drone aerial photography and three-dimensional modeling. Among them, the main problem of manual survey is that it is necessary to climb the roof during the survey, which is dangerous, the survey process is time-consuming and labor-intensive, and the survey efficiency is low; and for drone aerial photography and three-dimensional modeling, because three-dimensional modeling requires very high computer performance and the modeling time is too long, the efficiency of this method is also low, and the three-dimensional reconstruction software is expensive and the cost is high. In the above two methods, manual arrangement is generally used in the component arrangement link. This method is inefficient and has certain technical requirements for designers. It is difficult to guarantee the optimal component arrangement method.

[0003] Therefore, in the related technologies, in the design process of photovoltaic power stations, there are technical problems such as high cost, low design efficiency and long design cycle in the survey and component arrangement links.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a method, device and storage medium for arranging photovoltaic components, so as to at least solve the technical problems of high design cost, long design cycle and low design efficiency in the design process of photovoltaic power stations in the related art.

[0006] According to one aspect of an embodiment of the present application, a method for arranging photovoltaic components is provided, comprising: obtaining a target image of an area where photovoltaic components are to be installed, wherein a reference object is arranged in the area where photovoltaic components are to be installed; obtaining a target scale factor, wherein the target scale factor is used to indicate a ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in a real physical space; determining second target outline size information of an obstacle in the target image and third target outline size information of the area where photovoltaic components are to be installed; obtaining a second real size of the obstacle in the real physical space according to the target scale factor and the second target outline size information, and obtaining a third real size of the area where photovoltaic components are to be installed in the real physical space according to the target scale factor and the third target outline size information; obtaining a real height of the obstacle, and determining photovoltaic component arrangement information of the area where photovoltaic components are to be installed according to the second real size, the third real size, and the real height.

[0007] Optionally, acquiring a target image in the area where the photovoltaic components are to be installed includes: collecting a plurality of overhead images corresponding to the area where the photovoltaic components are to be installed at a plurality of moments, wherein the plurality of moments at least include moments when sunlight can produce shadows after irradiating an object, and determining the plurality of overhead images as target images;

[0008] Optionally, determining the second target outline size information of the obstacle in the target image and the third target outline size information of the area to be installed photovoltaic components includes: determining, according to a first target detection algorithm, a first area range to which the obstacle belongs in each of a plurality of overhead images, and a second area range to which the photovoltaic components to be installed belong; calling a corresponding second target detection algorithm according to a type of the first area range and a type of the second area range to obtain multiple second outline size information of the obstacle and multiple third outline size information of the area to be installed photovoltaic components; and determining an average value of the multiple second outline size information as the second target outline size information and an average value of the multiple third outline size information as the third target outline size information.

[0009] Optionally, determining the second target outline size information of the obstacle object in the target image and the third target outline size information of the area to be installed of the photovoltaic components includes: determining the first area range to which the obstacle belongs in each of the multiple overhead images and the second area range to which the photovoltaic components to be installed belong according to the first target detection algorithm; calling the corresponding second target detection algorithm according to the type of the first area range and the type of the second area range to obtain multiple second outline size information of the obstacle and multiple third outline size information of the area to be installed of the photovoltaic components; determining a first weight value corresponding to each second outline size information in the multiple second outline size information, and determining the second target outline size information according to each second outline size information and the first weight value, wherein the first weight value is positively correlated with the light intensity of the sunlight; determining a second weight value corresponding to each third outline size information in the multiple third outline size information, and determining the third target outline size information according to each third outline size information and the second weight value, wherein the second weight value is positively correlated with the light intensity of the sunlight.

[0010] Optionally, obtaining the true height of the obstacle includes: obtaining the image shadow length of the obstacle in each of the multiple overhead images; obtaining multiple true shadow lengths of the obstacle based on the multiple image shadow lengths and a target proportional coefficient; calling a preset functional relationship, wherein the functional relationship is used to indicate a mathematical relationship between the true shadow length and the true height; and obtaining the true height based on the multiple true shadow lengths and the preset functional relationship.

[0011] Optionally, the real height is obtained according to a plurality of real shadow lengths and a preset functional relationship, including: obtaining a plurality of initial real heights according to a plurality of real shadow lengths and a preset functional relationship; determining an average of the plurality of initial real heights as the real height; or determining a third weight value corresponding to each of the plurality of initial real heights; and determining the real height according to each initial real height and the third weight value.

[0012] Optionally, photovoltaic component arrangement information of the area to be installed is determined based on the second real size, the third real size, and the real height, including: obtaining the first position coordinates of the obstacle and the second position coordinates of the area to be installed according to the second real size and the third real size, respectively; establishing a rectangular coordinate system, and generating an electronic design image based on at least the first position coordinates and the second position coordinates; determining the shadow area of ​​the obstacle in the electronic design image according to the second target outline size information of the obstacle and the real height; determining the photovoltaic component arrangement information of the area to be installed according to the second target outline size information of the obstacle and the shadow area of ​​the obstacle.

[0013] Optionally, photovoltaic component arrangement information of the photovoltaic component area to be installed is determined according to the second target outline size information of the obstacle and the shadow area of ​​the obstacle, including: determining the obstacle area according to the second target outline size information of the obstacle; fitting the regional shape of the photovoltaic component area to be installed in the electronic design image to obtain the target shape of the photovoltaic component area to be installed; calling the installation rules corresponding to the photovoltaic component area to be installed, and obtaining the initial arrangement diagram of the photovoltaic components in the photovoltaic component area to be installed with the target shape based on the installation rules; wherein the installation rules are at least used to indicate the number of photovoltaic components in the horizontal axis direction and the vertical axis direction of the photovoltaic component area to be installed; and determining the photovoltaic component arrangement information according to the shadow area of ​​the obstacle, the obstacle area and the initial arrangement diagram.

[0014] Optionally, the photovoltaic module arrangement information is determined according to the shadow area of ​​the obstacle, the obstacle area and the initial arrangement diagram, including: determining the vacant area in the initial arrangement diagram; determining the vacant area, the obstacle area and the shadow area of ​​the obstacle as invalid areas; adjusting the initial arrangement diagram based on the invalid area to obtain the photovoltaic module arrangement information.

[0015] According to another aspect of an embodiment of the present application, a photovoltaic component arrangement device is also provided, including: a first acquisition module, used to acquire a target image of an area where photovoltaic components are to be installed, wherein a reference object is arranged in the area where photovoltaic components are to be installed; a second acquisition module, used to acquire a target scale coefficient, wherein the target scale coefficient is used to indicate the ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in the real physical space; a first determination module, used to determine second target outline size information of an obstacle in the target image and third target outline size information of the area where photovoltaic components are to be installed; a second determination module, used to obtain a second real size of the obstacle in the real physical space according to the target scale coefficient and the second target outline size information, and to obtain a third real size of the area where photovoltaic components are to be installed in the real physical space according to the target scale coefficient and the third target outline size information; a third acquisition module, used to acquire the real height of the obstacle, and determine the photovoltaic component arrangement information of the area where photovoltaic components are to be installed according to the second real size, the third real size, and the real height.

[0016] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided. The non-volatile storage medium includes 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 photovoltaic component arrangement methods.

[0017] According to another aspect of an embodiment of the present application, a processor is further provided, and the processor is used to run a program, wherein the program executes any one of the photovoltaic component arrangement methods when running.

[0018] In an embodiment of the present application, a target image of an area where photovoltaic components are to be installed is obtained, wherein a reference object is arranged in the photovoltaic components to be installed, and a target proportional coefficient indicating the ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in the real physical space is obtained, and then the second real size of the obstacle and the third real size of the area where photovoltaic components are to be installed are obtained according to the target proportional coefficient, the second target outline size and the third target outline size, respectively. Finally, the photovoltaic component arrangement information of the area where photovoltaic components are to be installed can be determined based on the real height of the obstacle, the second real size and the third real size, thereby achieving the purpose of determining the real size of the obstacle and the area where photovoltaic components are to be installed based on a two-dimensional image, and determining the arrangement information of the photovoltaic components based on each real size, thereby achieving the technical effect of reducing manual participation in the design of photovoltaic power stations, shortening the design cycle, and automatically generating the arrangement information of photovoltaic components, thereby solving the technical problems of high design cost, long design cycle and low design efficiency in the design process of photovoltaic power stations in the related technologies. 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 A method for arranging photovoltaic modules according to an embodiment of the present application;

[0021] Figure 2a , Figure 2b It is a corresponding processing schematic diagram of calling the target detection algorithm twice to perform image recognition in an exemplary embodiment of the present application;

[0022] Figure 3 is a schematic diagram of a calculation method for determining the actual true height of an obstacle according to the image shadow length of the obstacle in an exemplary embodiment;

[0023] Figure 4 is a schematic diagram of a roof in a satellite image in an exemplary embodiment of the present application;

[0024] Figure 5 It is a schematic diagram of calculating the center point of a roof after selecting the roof in an exemplary embodiment of the present application;

[0025] Figure 6 is a schematic diagram of drone aerial photography at time t in an exemplary embodiment of the present application;

[0026] Figure 7 is a schematic diagram of measuring the length of the shadow of an obstacle in an exemplary embodiment of the present application;

[0027] Figure 8 It is a schematic diagram of various arbitrary polygonal shapes in an exemplary embodiment of the present application;

[0028] Fig. 9 is a schematic diagram of each polygon after fitting in an exemplary embodiment of the present application;

[0029] Fig.10 is a schematic diagram of the arrangement of components of a roof obtained in an exemplary embodiment of the present application;

[0030] Fig.11 is a simplified schematic diagram of the shaded area in an exemplary embodiment of the present application;

[0031] Fig.12 is a schematic diagram of the distribution of component areas, vacant areas, obstacle areas, and obstacle shadow areas in an exemplary embodiment of the present application;

[0032] Fig.13 is a schematic diagram of the final component arrangement in an exemplary embodiment of the present application;

[0033] Fig.14 It is a schematic structural diagram of an optional photovoltaic assembly arrangement device according to an embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present 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 sequence. 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 an order 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] According to an embodiment of the present application, an embodiment of a method for arranging photovoltaic components 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.

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

[0038] Solar altitude angle, a geographical term, refers to the angle between the incident direction of sunlight at a certain location on the earth and the ground plane. Professionally speaking, the solar altitude angle refers to the angle between the sunlight at a certain location and the surface section connecting the location to the center of the earth. When the solar altitude angle is 90°, the solar radiation intensity is the highest; the greater the degree of oblique sun shining on the ground (that is, the smaller the solar altitude angle), the smaller the solar radiation intensity.

[0039] Photovoltaic modules, single solar cells cannot be used directly as power sources. To use them as power sources, several single cells must be connected in series and parallel and tightly sealed into modules. Solar cell modules (also called solar panels) are the core and most important part of solar power generation systems. Their function is to convert solar energy into electrical energy, or to store it in batteries, or to drive loads.

[0040] The Canny edge detection operator is a multi-level detection algorithm. It was proposed by John F. Canny in 1986, and three criteria for edge detection were proposed: 1. Edge detection with low error rate: The detection algorithm should accurately find as many edges as possible in the image, and minimize missed detection and false detection. 2. Optimal positioning: The detected edge point should be accurately located at the center of the edge. 3. Any edge in the image should be marked only once, and image noise should not produce false edges. In order to meet these requirements, Canny used the 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 the Gaussian function. Among the commonly used edge detection methods, the Canny edge detection algorithm is one of the methods with strict definitions that can provide good and reliable detection. Because it has the advantages of meeting the three criteria for edge detection and a simple implementation process, it has become one of the most popular algorithms for edge detection.

[0041] Light intensity is a physical term that refers to the luminous flux of visible light received per unit area. It is also called illuminance in short, and its unit is lux (Lux or lx). It is used to indicate the intensity of light and the degree of illumination of the surface area of ​​an object. In photometry, "luminosity" is the density of luminous intensity in a specified direction, but it is often misunderstood as illuminance. The international unit of luminosity is the candlelight received per square meter (called candela in China). Light intensity has a great influence on the photosynthesis of organisms. It can be measured by a illuminance meter.

[0042] Three-dimensional modeling, or 3D modeling, is to use 3D production software to build a model with 3D data through a virtual 3D space. 3D modeling can be roughly divided into two categories: NURBS and polygonal mesh. NURBS has a good application for models that require fineness, flexibility and complexity, and is suitable for quantitative production purposes. Polygonal mesh modeling relies on the noodle method and is suitable for renderings and complex scene animations. Generally speaking, each has its own advantages.

[0043] Figure 1 According to the photovoltaic module arrangement method of the present application, Figure 1 As shown, the method comprises the following steps:

[0044] Step S10, acquiring a target image of the area where the photovoltaic components are to be installed, wherein a reference object is arranged in the area where the photovoltaic components are to be installed;

[0045] In the technical solution of step S10, by acquiring image information of the area where the photovoltaic components are to be installed, the photovoltaic component arrangement design can be further analyzed based on the image information.

[0046] Optionally, the above method of obtaining the target image of the area where the photovoltaic components are to be installed may be to use a drone to collect the target image, or to query a video image of the area where the photovoltaic components are to be installed from a server and capture the target image from the video image.

[0047] For example, when it is necessary to install photovoltaic modules on a roof, a drone can be used to take multiple aerial photos of the roof from a bird's-eye view to obtain multiple bird's-eye views of the roof, and then the target image can be determined based on the bird's-eye views.

[0048] Step S12, obtaining a target scale coefficient, wherein the target scale coefficient is used to indicate a ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in the real physical space;

[0049] In the technical solution of step S12, the target scale coefficient is used to indicate the ratio of the first target outline size of the reference object in the target image to the actual size of the reference object in the real physical space. The target scale coefficient provided by this solution can be used to determine the size of each object in the target image in the real physical space.

[0050] Optionally, the reference object may be an existing object of the photovoltaic assembly to be installed, or a specially set reference object, and the reference object may be a three-dimensional cylinder, cone, tetrahedron, etc. The present application does not limit the specific shape of the reference object.

[0051] Step S14, determining the second target outline size information of the obstacle in the target image and the third target outline size information of the area where the photovoltaic components are to be installed;

[0052] Step S16, obtaining a second real size of the obstacle in the real physical space according to the target scale factor and the second target outline size information, and obtaining a third real size of the area to be installed photovoltaic components in the real physical space according to the target scale factor and the third target outline size information;

[0053] Through the technical solutions of steps S14 to S16 above, the outline size information of the obstacle in the target image and the current area where the photovoltaic components are to be installed can be obtained, and the second real size of the obstacle and the third real size of the area where the photovoltaic components are to be installed can be obtained based on the target scale coefficient and the second target outline size information and the third target outline size information, that is, the real sizes of the obstacle and the area where the photovoltaic components are to be installed can be obtained through the acquired target image and the target scale coefficient, thereby avoiding measurement based on manual on-site measurement and reducing labor costs.

[0054] For example, assuming that the above-mentioned target image is an image collected by a drone in a top-down direction, the above-mentioned second target outline size information is the length and width information of the obstacle in the target image, and the above-mentioned third target outline size information is the length and width information of the area where the photovoltaic components are to be installed in the target image.

[0055] Step S18, obtaining the real height of the obstacle, and determining the photovoltaic component arrangement information of the photovoltaic component installation area according to the second real size, the third real size, and the real height.

[0056] It is easy to notice that in the technical solution of step S18, the second real size is the length and width information of the obstacle in the real physical environment, and the third real size is the length and width information of the area to be installed with photovoltaic components in the real physical environment. By obtaining the real height of the obstacle, as well as the second real size and the third real size, the arrangement of photovoltaic components in the area to be installed with photovoltaic components can be automatically designed to obtain the required photovoltaic component arrangement information. It should be noted that the display methods of the above photovoltaic component arrangement information include but are not limited to: pictures and texts.

[0057] Through the technical solutions of the above steps S10 to S18 of the present application, a target image of the area where photovoltaic components are to be installed can be obtained, wherein a reference object is arranged in the photovoltaic component to be installed, and a target proportional coefficient indicating the ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in the real physical space is obtained. Then, the second real size of the obstacle and the third real size of the area where photovoltaic components are to be installed are obtained according to the target proportional coefficient, the second target outline size and the third target outline size. Finally, the photovoltaic component arrangement information of the area where photovoltaic components are to be installed can be determined based on the real height of the obstacle, the second real size and the third real size, thereby achieving the purpose of determining the real size of the obstacle and the area where photovoltaic components are to be installed based on the two-dimensional image, and determining the arrangement information of the photovoltaic components based on each real size, thereby achieving the technical effect of reducing manual participation in the design of photovoltaic power stations, shortening the design cycle, and automatically generating the arrangement information of photovoltaic components, thereby solving the technical problems of high design cost, long design cycle and low design efficiency in the design process of photovoltaic power stations in related technologies.

[0058] It should be noted that the above obstacles include but are not limited to: watchtowers, chimneys, water towers, solar energy, air conditioners, etc. The area to be installed with photovoltaic modules may be a roof, wherein the types of roofs include but are not limited to: flat roofs, sloping roofs, etc. The above contour dimensions in the overlooking direction are two-dimensional images, i.e., the length and width of the upper contour in the overlooking direction. Therefore, the method can avoid the use of three-dimensional images, thereby reducing the amount of data processing and saving hardware usage costs.

[0059] As an optional implementation, obtaining a target image of the area where photovoltaic components are to be installed can be achieved in the following way: multiple overhead images corresponding to the area where photovoltaic components are to be installed can be collected at multiple moments, and the multiple overhead images can be determined as target images. It should be noted that the above-mentioned multiple moments at least include moments when sunlight can produce shadows after irradiating objects.

[0060] It is understandable that the reason why it is necessary to obtain the target image at the moment when sunlight can produce a shadow after irradiating the object is to further reduce the degree of human intervention and quickly determine the true height of the obstacle. Specifically, the shadow of the obstacle is obtained after the sunlight irradiates the obstacle, and then the shadow of the obstacle is measured to obtain the length of the shadow. Finally, the functional relationship between the shadow length and the true height is used to obtain the true height of the obstacle.

[0061] It should be noted that determining the second target outline size information of the obstacle object in the target image and the third target outline size information of the area to be installed of the photovoltaic components can be achieved through the following steps: the first area range to which the obstacle belongs in each of the multiple overhead images and the second area range to which the photovoltaic components to be installed belong can be determined according to the first target detection algorithm; then, according to the type of the first area range and the type of the second area range, the corresponding second target detection algorithm is called to obtain multiple second outline size information of the obstacle and multiple third outline size information of the area to be installed of the photovoltaic components; finally, the average value of the multiple second outline size information is determined as the second target outline size information and the average value of the multiple third outline size information is determined as the third target outline size information.

[0062] It is easy to notice that due to the large number of obstacle types and sizes, as well as the large number of types of areas to be installed, the target detection algorithm was used twice in the process of determining the second target outline size information of the obstacle object in the area to be installed with photovoltaic components and the third target outline size information of the area to be installed with photovoltaic components.

[0063] It can be understood that the first target detection algorithm is a general algorithm used to determine the approximate outline of the area where the obstacle belongs and the area where the photovoltaic components are to be installed, while the second target detection algorithm is a targeted image processing algorithm, which is determined according to the specific type of the obstacle or the photovoltaic components to be installed after the approximate outlines of the obstacle and the area where the photovoltaic components are to be installed are determined.

[0064] Specifically, for targets with simple contours and large sizes, such as roofs and turrets, image gradients, Canny edge detection algorithms, etc. can be used to process and extract the edges of the targets; for objects with complex contours and small sizes, template matching algorithms can be used for processing. Specifically, a predetermined number of templates of various roofs and obstacles can be pre-configured, and then the templates are used in turn to perform template matching on the detection area, and the matched contour information is recorded, and then the average value of each contour information is calculated as the final target contour position size information.

[0065] Figure 2a , Figure 2b is a schematic diagram of corresponding processing of calling the target detection algorithm twice for image recognition in an exemplary embodiment of the present application, such as Figure 2a As shown in the figure, the rectangular wireframe is the prediction frame detected by the first target detection algorithm, such as Figure 2b As shown, the outline frames of the turret and the water tower (such as the dotted outline part in the figure) are the target outlines detected by the second target detection algorithm, wherein the outline position size information is the length, width, and position of each edge point of the detected target outline in the image.

[0066] In another optional embodiment, the second target outline size information of the obstacle in the area where the photovoltaic components are to be installed and the third target outline size information of the area where the photovoltaic components are to be installed are determined in the following manner. Specifically, the first area range to which the obstacle belongs in each of the multiple overhead images and the second area range to which the photovoltaic components are to be installed belong are determined according to the first target detection algorithm; the corresponding second target detection algorithm is called according to the type of the first area range and the type of the second area range to obtain multiple second outline size information of the obstacle and multiple third outline size information of the area where the photovoltaic components are to be installed; a first weight value corresponding to each second outline size information in the multiple second outline size information is determined, and the second target outline size information is determined according to each second outline size information and the first weight value, wherein the first weight value is positively correlated with the light intensity of the sunlight; a second weight value corresponding to each third outline size information in the multiple third outline size information is determined, and the third target outline size information is determined according to each third outline size information and the second weight value, wherein the second weight value is positively correlated with the light intensity of the sunlight.

[0067] It can be understood that, unlike determining the average value as the outline size, the above process of determining the outline size introduces a weight value, that is, different weight values ​​are assigned to the outline sizes at different times. It is easy to notice that the lighting time generally only needs to focus on 9:00-15:00, and the light intensity from 12:00 to 15:00 at noon is generally higher than other time periods. Therefore, a larger weight value can be assigned to 12:00-15:00, and a smaller weight value can be assigned to 9:00-12:00, that is, different weight values ​​can be assigned to different time periods, thereby obtaining more accurate outline sizes of obstacles and roofs.

[0068] Furthermore, in order to obtain a more accurate outline size, each time period can be more accurately subdivided, and then different weight values ​​can be assigned according to the subdivision results. It should be noted that the greater the light intensity, the greater the weight value.

[0069] In some embodiments of the present application, obtaining the true height of an obstacle includes: obtaining the image shadow length of the obstacle in each overhead image in a plurality of overhead images; obtaining multiple true shadow lengths of the obstacle based on the multiple image shadow lengths and a target proportional coefficient; calling a preset functional relationship, wherein the preset functional relationship is used to indicate a mathematical relationship between the true shadow length and the true height; and obtaining the true height based on the multiple true shadow lengths and the preset functional relationship.

[0070] Figure 3 FIG. 1 is a schematic diagram of a calculation method for determining the actual true height of an obstacle according to the image shadow length of the obstacle in an exemplary embodiment. Figure 3As shown, H is the true height of the obstacle (the height of the obstacle relative to the plane where the obstacle is located), α is the solar altitude angle, and the true shadow length is L, then Among them, the solar altitude angle α can be calculated by the following functional relationship:

[0071] in, is the local latitude, δ is the declination angle, and t is the solar hour angle. Therefore, after determining the longitude and latitude of the project roof, as well as the date and specific time, the length of the obstacle's shadow at that moment can be calculated based on the height of the obstacle relative to the plane where it is located. After determining the length of the obstacle's shadow, the true height of the obstacle can be obtained based on the length of the obstacle's shadow. The calculation formula is H=L*tanα.

[0072] It is obvious that the real shadow length L of the above obstacle can be obtained by the image shadow length and the target scale factor. For example, the image shadow length of the obstacle is Z, the target scale factor is λ, and the real shadow length L=Z / λ.

[0073] In an exemplary embodiment, the real height is obtained according to a plurality of real shadow lengths and a preset functional relationship, which can be determined in the following manner: a plurality of initial real heights are obtained according to a plurality of real shadow lengths and a preset functional relationship; and an average value of the plurality of initial real heights is determined as the real height.

[0074] In other optional embodiments, a third weight value corresponding to each of multiple initial real heights may be determined, and the real height may be determined based on each initial real height and the third weight value. For example, the real height may be determined based on the product of each initial real height and the third weight value corresponding to each initial real height.

[0075] In some optional embodiments of the present application, photovoltaic component arrangement information of the area to be installed photovoltaic components is determined according to the second real size, the third real size, and the real height, including the following steps: obtaining the first position coordinates of the obstacle and the second position coordinates of the area to be installed photovoltaic components according to the second real size and the third real size, respectively; establishing a rectangular coordinate system, and generating an electronic design image according to at least the first position coordinates and the second position coordinates; determining the shadow area of ​​the obstacle in the electronic design image according to the second target outline size information of the obstacle and the real height; determining the photovoltaic component arrangement information of the area to be installed photovoltaic components according to the second target outline size information of the obstacle and the shadow area of ​​the obstacle.

[0076] Specifically, determining the photovoltaic component arrangement information of the photovoltaic component area to be installed according to the second target outline size information of the obstacle and the shadow area of ​​the obstacle can be: determining the obstacle area according to the second target outline size information of the obstacle; fitting the regional shape of the photovoltaic component area to be installed in the electronic design image to obtain the target shape of the photovoltaic component area to be installed; calling the installation rules corresponding to the photovoltaic component area to be installed, and obtaining the initial arrangement diagram of the photovoltaic components in the photovoltaic component area to be installed with the target shape based on the installation rules; wherein the installation rules are at least used to indicate the number of components in the photovoltaic component area to be installed in the horizontal axis direction and the vertical axis direction; determining the photovoltaic component arrangement information according to the shadow area of ​​the obstacle, the obstacle area and the initial arrangement diagram.

[0077] Optionally, determining the photovoltaic module arrangement information according to the shadow area of ​​the obstacle, the obstacle area and the initial arrangement diagram includes: determining the vacant area in the initial arrangement diagram; determining the vacant area, the obstacle area and the shadow area of ​​the obstacle as invalid areas; adjusting the initial arrangement diagram based on the invalid area to obtain the photovoltaic module arrangement information. It should be noted that the output form of the above photovoltaic module arrangement information includes but is not limited to: text form and picture form.

[0078] It should be noted that adjusting the initial arrangement diagram based on the invalid area may be to filter out the invalid area, and then use the initial arrangement diagram after filtering out the invalid area as the photovoltaic module arrangement diagram.

[0079] In order to facilitate those skilled in the art to better understand the relevant embodiments of the present application, an exemplary embodiment is now listed to illustrate the present application. In this exemplary embodiment, the area to be installed with photovoltaic components is a roof as the technical background for explanation:

[0080] S101: Place an object with known size information (known length, width and height) on the roof in advance as a reference object. It can be understood that the main purpose of placing an object with known size information on the roof of the project in advance is to calculate the scale with the help of the real size of the reference object and its size in the top view, so as to calculate the real size of the roof, obstacles and obstacle shadows in the top view using the scale.

[0081] S102: Use a drone to take aerial photos of the rooftop view of the project at multiple times under sunlight conditions. The sunlight conditions refer to conditions where sunlight can produce clear shadows. The multiple times include but are not limited to 9 o'clock, 10 o'clock, 11 o'clock, 13 o'clock, 14 o'clock, and 15 o'clock.

[0082] The specific operation of using a drone to take aerial photos of the project rooftop view at multiple times is as follows: first, select the project rooftop from the satellite map, then calculate the center point of the selected project rooftop area, and finally, fly the drone above the center point to take a bird's-eye view. Figure 4 is a schematic diagram of a roof in a satellite image in this exemplary embodiment, Figure 5 is a schematic diagram of calculating the center point of the roof after selecting the roof in the exemplary embodiment. Figure 6 It is a schematic diagram of drone aerial photography at time t.

[0083] S103: Use the target detection algorithm to detect reference objects, roofs, and obstacles in the aerial view, and use a targeted image processing algorithm to obtain the outline position and size information of the reference objects, roofs, and obstacles in the aerial view.

[0084] The above target detection algorithms include but are not limited to: YOLOv4 target detection algorithm, YOLOv5 target detection algorithm, Faster RCNN target detection algorithm, SSD target detection algorithm, etc.

[0085] The above-mentioned use of the target detection algorithm to detect reference objects, roofs, and obstacles in the aerial view includes: establishing a training set, using a drone to take aerial photos of a large number of roofs, and using label annotation software to annotate the detection targets: reference objects, different types of roofs, and different types of obstacles, to establish a training set, and then train the model, and use the training set to train the target detection algorithm until the accuracy of the algorithm reaches the preset requirements. Finally, use the trained model to detect reference objects, roofs, and obstacles to obtain a prediction box.

[0086] S104: Calculate the scale (i.e., target scale factor) based on the size information of the reference object in the aerial image, and calculate the real size information of the roof and obstacles based on the scale; the above calculation scale is: assuming that the size of the reference object in the aerial image is L1 and its real size is L, then the scale of the aerial image is:

[0087] The above-mentioned calculation of the real size information of the roof and the obstacle according to the scale can be: The outline size of the roof and the obstacle in the top view can be obtained by S103. Assuming that the outline size is R, then its real size should be: R / λ, so that the real outline size information of the roof and the obstacle can be obtained.

[0088] S105: measuring the length of the shadow of the obstacle in the aerial view, calculating the real length of the shadow according to the scale, and inferring the real height of the obstacle according to the real length of the shadow of the obstacle. This process has been described in the previous related embodiments and will not be repeated here. It should be noted that since it is difficult to identify the shadow, a manual method can be used here to measure the length of the shadow of the obstacle in the aerial view. Figure 7 This is a schematic diagram for measuring the length of the obstacle shadow. Figure 7 As shown, the thick straight line portion in the figure is the shadow length that needs to be measured.

[0089] S106: Counting the roof, the real outline position size information of the obstacle and the real height information of the obstacle obtained at each moment, accumulating them and calculating the average value as the final result of the roof, the obstacle outline position size information and the obstacle height information.

[0090] The above statistics of the real outline position size information of the roof and obstacles and the real height information of the obstacles obtained at each moment means that in step S102, the top view of the project roof at multiple moments is taken. Each top view can obtain a set of roof, obstacle outline position size information and obstacle height information through steps S103, S104, and S105, and the information obtained at each moment is counted.

[0091] The above accumulation and averaging means: adding and averaging the roof outline position size information obtained at each moment, and using the final roof outline position size information. Adding and averaging the obstacle outline position size information and height information obtained at each moment, and using the final obstacle outline position size information and height information.

[0092] S107: Establish a rectangular coordinate system, calculate the position coordinates of the roof and obstacles according to the contour position information, and generate a CAD drawing based on the coordinates. It should be noted that the above-mentioned establishment of the rectangular coordinate system can use the lower left corner of the roof as the coordinate origin, the east side as the positive direction of the x-axis, and the north side as the positive direction of the y-axis.

[0093] The above calculation of the position coordinates of the roof and obstacles means: the contour position information of the roof and obstacles has been obtained through step S106, and the position coordinates of the corner points of the roof and obstacles are generated according to the position of the contour position information in the rectangular coordinate system. The above generation of CAD drawings according to the coordinates means that the position coordinates of the corner points of the roof and obstacles that have been obtained are input into CAD to automatically generate CAD drawings.

[0094] S108: For any polygonal roof, fit it into a complete rectangle and arrange components according to preset rules. Figure 8 It is a schematic diagram of various arbitrary polygonal shapes, such as Figure 8 As shown, it should be noted that the figure is only exemplary, and in addition to the shape of the arbitrary polygon shown in the figure, the arbitrary polygon may also be other shapes. Fig. 9 is a schematic diagram of each polygon after fitting, such as Fig. 9 shown.

[0095] It should be noted that the above preset rules are to input the optimal installation inclination angle and component specifications of the project site. Assume that the installation inclination angle is: α, the long side of the component is: a, and the short side of the component is: b. For the north-south direction, how many vertical rows can be installed is calculated by the following formula: The north-south length of n vertical rows is:

[0096] N = (n × a + (n-1) × 20) × cos (α), n = 1, 2, 3, 4...; when N> the north-south length of the roof, the roof can be installed with n-1 vertical rows in the north-south direction, where N is the length required to place n rows of photovoltaic modules in the north-south direction.

[0097] For the east-west direction, the number of blocks to be installed can be calculated using the following formula:

[0098] W = (m × b + (m-1) × 20), m = 1, 2, 3, 4...; when W> the east-west length of the roof, m-1 panels can be installed in the east-west direction of the roof, and W is the length required to place m photovoltaic panels in the east-west direction.

[0099] Fig.10 This is a schematic diagram of the arrangement of roof components obtained by the above method, such as Fig.10 Shown is a schematic diagram of the distribution of roof areas, vacant areas, and obstacle areas.

[0100] S109: Perform shadow analysis on the obstacle to obtain the shadow area of ​​the obstacle. Performing shadow analysis on the obstacle to obtain the shadow area of ​​the obstacle includes: in step S106, the height information of the obstacle relative to the roof has been obtained, and the outline of the obstacle has been drawn in CAD in S107. Then, according to some general algorithms, the shadow length of the obstacle at a certain moment can be calculated.

[0101] To simplify shadow calculations, we only require that components are not shaded from 9 a.m. to 3 p.m. on the winter solstice, and simplify the outlines of shadow areas. Fig.11 is a simplified schematic diagram of the shaded area, such as Fig.11 As shown, the rectangular wireframe is the obstacle outline and the trapezoidal wireframe is the shaded area.

[0102] S110: Calculate the intersection of the component area and the vacant area, the obstacle area, and the obstacle shadow area, remove the components in the intersection, and obtain the final component layout diagram. Fig.12It is a distribution diagram of component area, vacant area, obstacle area, and obstacle shadow area, as shown in Fig.12 As shown, the component area can be recorded as A, the vacant area can be recorded as B, the obstacle area can be recorded as C, and the obstacle shadow area can be recorded as D.

[0103] The intersection of the above component area and the vacant area, obstacle area, and obstacle shadow area is: A∩(B∪C∪D), Fig.13 is the final component arrangement diagram obtained in the embodiment of the present application, such as Fig.13 As shown, by removing the components in the intersection, the final component layout diagram can be obtained.

[0104] Fig.14 A photovoltaic module arrangement device according to an embodiment of the present application is provided. Fig.14 As shown, the device comprises:

[0105] A first acquisition module 40 is used to acquire a target image of a region where photovoltaic components are to be installed, wherein a reference object is provided in the region where photovoltaic components are to be installed;

[0106] A second acquisition module 42 is used to acquire a target scale factor, wherein the target scale factor is used to indicate a ratio of a first target outline size of the reference object to a first real size of the reference object under the condition of light in the area where the photovoltaic assembly is to be installed;

[0107] A first determination module 44 is used to determine second target outline size information of obstacles in the area where the photovoltaic components are to be installed and third target outline size information of the area where the photovoltaic components are to be installed;

[0108] A second determination module 46 is used to obtain a second real size of the obstacle according to the target scale factor and the second target outline size information, and to obtain a third real size of the area to be installed with photovoltaic components according to the target scale factor and the third target outline size information;

[0109] The third acquisition module 48 is used to acquire the real height of the obstacle, and determine the photovoltaic component arrangement information of the photovoltaic component installation area according to the second real size, the third real size, and the real height.

[0110] In the photovoltaic assembly arrangement device, a first acquisition module 40 is used to acquire a target image of a region where photovoltaic assemblies are to be installed, wherein a reference object is arranged in the region where photovoltaic assemblies are to be installed; a second acquisition module 42 is used to acquire a target scale factor, wherein the target scale factor is used to indicate a ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in a real physical space; a first determination module 44 is used to determine second target outline size information of obstacles in the region where photovoltaic assemblies are to be installed and third target outline size information of the region where photovoltaic assemblies are to be installed; a second determination module 46 is used to obtain a second real size of the obstacle according to the target scale factor and the second target outline size information, and obtain the second real size of the obstacle according to the target scale factor The third acquisition module 48 is used to obtain the real height of the obstacle, and determine the photovoltaic component arrangement information of the photovoltaic component area to be installed according to the second real size, the third real size, and the real height, so as to achieve the purpose of determining the real size of the obstacle and the photovoltaic component area to be installed based on the two-dimensional image, and determining the arrangement information of the photovoltaic components based on each real size, thereby achieving the technical effect of reducing manual participation in the design of the photovoltaic power station, shortening the design cycle, and automatically generating the arrangement information of the photovoltaic components, thereby solving the technical problems of high design cost, long design cycle and low design efficiency in the design process of the photovoltaic power station in the related technology.

[0111] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided. The non-volatile storage medium includes 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 photovoltaic component arrangement methods.

[0112] According to another aspect of an embodiment of the present application, a processor is further provided, and the processor is used to run a program, wherein the program executes any one of the photovoltaic component arrangement methods when running.

[0113] Specifically, the above storage medium is used to store program instructions for executing the following functions to achieve the following functions:

[0114] A target image of an area where photovoltaic components are to be installed is obtained, wherein a reference object is arranged in the area where photovoltaic components are to be installed, and a target scale coefficient is obtained, wherein the target scale coefficient is used to indicate the ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in the real physical space; second target outline size information of the obstacle in the target image and third target outline size information of the area where photovoltaic components are to be installed are determined; a second real size of the obstacle in the real physical space is obtained according to the target scale coefficient and the second target outline size information, and a third real size of the area where photovoltaic components are to be installed in the real physical space is obtained according to the target scale coefficient and the third target outline size information; a real height of the obstacle is obtained, and photovoltaic component arrangement information of the area where photovoltaic components are to be installed is determined according to the second real size, the third real size, and the real height.

[0115] Specifically, the processor is used to call the program instructions in the memory to implement the following functions:

[0116] A target image of an area where photovoltaic components are to be installed is obtained, wherein a reference object is arranged in the area where photovoltaic components are to be installed, and a target scale coefficient is obtained, wherein the target scale coefficient is used to indicate the ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in the real physical space; second target outline size information of the obstacle in the target image and third target outline size information of the area where photovoltaic components are to be installed are determined; a second real size of the obstacle in the real physical space is obtained according to the target scale coefficient and the second target outline size information, and a third real size of the area where photovoltaic components are to be installed in the real physical space is obtained according to the target scale coefficient and the third target outline size information; a real height of the obstacle is obtained, and photovoltaic component arrangement information of the area where photovoltaic components are to be installed is determined according to the second real size, the third real size, and the real height.

[0117] In a related embodiment of the present application, a target image of a region where photovoltaic components are to be installed is obtained, wherein a reference object is arranged in the region where photovoltaic components are to be installed, and a target proportional coefficient indicating the ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in the real physical space is obtained. Then, the second real size of the obstacle and the third real size of the region where photovoltaic components are to be installed are obtained according to the target proportional coefficient, the second target outline size and the third target outline size. Finally, the photovoltaic component arrangement information of the region where photovoltaic components are to be installed can be determined based on the real height of the obstacle, the second real size and the third real size. The purpose of determining the real size of the obstacle and the region where photovoltaic components are to be installed based on a two-dimensional image and determining the arrangement information of the photovoltaic components based on each real size is achieved, thereby achieving the technical effect of reducing manual participation in the design of photovoltaic power stations, shortening the design cycle, and automatically generating the arrangement information of photovoltaic components, thereby solving the technical problems of high design cost, long design cycle and low design efficiency in the design process of photovoltaic power stations in related technologies.

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

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

[0120] 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 schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, 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.

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

[0122] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0123] 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 to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.

[0124] The above is only a preferred implementation 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 arranging photovoltaic modules, characterized in that: include: Acquire a target image of a region where photovoltaic components are to be installed, wherein a reference object is disposed in the region where photovoltaic components are to be installed; Acquire a target scale factor, wherein the target scale factor is used to indicate a ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in a real physical space; Determine second target outline size information of the obstacle in the target image and third target outline size information of the area where the photovoltaic components are to be installed; Obtain a second real size of the obstacle in the real physical space according to the target scale coefficient and the second target outline size information, and obtain a third real size of the area to be installed photovoltaic components in the real physical space according to the target scale coefficient and the third target outline size information; Acquire the real height of the obstacle, and determine the photovoltaic component arrangement information of the photovoltaic component installation area according to the second real size, the third real size, and the real height; Among them, determining the photovoltaic component arrangement information of the photovoltaic component area to be installed according to the second real size, the third real size, and the real height includes: obtaining the first position coordinates of the obstacle and the second position coordinates of the photovoltaic component area to be installed according to the second real size and the third real size respectively; establishing a rectangular coordinate system, and generating an electronic design image according to at least the first position coordinates and the second position coordinates; determining the shadow area of ​​the obstacle in the electronic design image according to the second target outline size information of the obstacle and the real height; determining the photovoltaic component arrangement information of the photovoltaic component area to be installed according to the second target outline size information of the obstacle and the shadow area of ​​the obstacle.

2. The method according to claim 1, characterized in that: Acquire target images of the area where PV panels are to be installed, including: Collecting a plurality of overhead images corresponding to the area where the photovoltaic components are to be installed at a plurality of moments, wherein the plurality of moments at least include moments when sunlight can produce shadows after irradiating an object; The plurality of overhead images are determined as the target images.

3. The method according to claim 2, characterized in that Determining second target outline size information of the obstacle in the target image and third target outline size information of the area where the photovoltaic components are to be installed includes: Determine, according to a first target detection algorithm, a first area range to which the obstacle belongs in each of the plurality of overhead images, and a second area range to which the photovoltaic assembly area to be installed belongs; Calling a corresponding second target detection algorithm according to the type of the first area range and the type of the second area range to obtain a plurality of second outline size information of the obstacle and a plurality of third outline size information of the area to be installed with photovoltaic components; An average value of the plurality of second outline size information is determined as the second target outline size information and an average value of the plurality of third outline size information is determined as the third target outline size information.

4. The method according to claim 2, characterized in that: Determining second target outline size information of the obstacle in the target image and third target outline size information of the area where the photovoltaic components are to be installed includes: Determine, according to a first target detection algorithm, a first area range to which the obstacle belongs in each of the plurality of overhead images, and a second area range to which the photovoltaic assembly area to be installed belongs; Calling a corresponding second target detection algorithm according to the type of the first area range and the type of the second area range to obtain a plurality of second outline size information of the obstacle and a plurality of third outline size information of the area to be installed with photovoltaic components; Determine a first weight value corresponding to each second outline size information in the plurality of second outline size information, and determine the second target outline size information according to each second outline size information and the first weight value, wherein the first weight value is positively correlated with the illumination intensity of sunlight; Determine a second weight value corresponding to each third outline size information among the multiple third outline size information, and determine the third target outline size information according to each third outline size information and the second weight value, wherein the second weight value is positively correlated with the illumination intensity of sunlight.

5. The method according to claim 2, characterized in that: Obtaining the real height of the obstacle, including: Acquire the image shadow length of the obstacle in each of the plurality of overhead images; Obtaining multiple real shadow lengths of the obstacle according to the multiple image shadow lengths and the target proportional coefficient; Calling a preset functional relationship, wherein the functional relationship is used to indicate a mathematical relationship between the real shadow length and the real height; The actual height is obtained according to the relationship between the multiple actual shadow lengths and the preset function.

6. The method according to claim 5, characterized in that Obtaining the real height according to the relationship between the multiple real shadow lengths and the preset function includes: Obtaining a plurality of initial true heights according to the plurality of true shadow lengths and the preset functional relationship; Determine an average value of the multiple initial true altitudes as the true altitude; or Determine a third weight value corresponding to each of the multiple initial true heights; The actual height is determined according to each initial actual height and the third weight value.

7. The method according to claim 1, characterized in that Determining the photovoltaic assembly arrangement information of the photovoltaic assembly area to be installed according to the second target outline size information of the obstacle and the shadow area of ​​the obstacle includes: Determining an obstacle area according to the second target outline size information of the obstacle; Fitting the region shape of the photovoltaic component region to be installed in the electronic design image to obtain a target-shaped photovoltaic component region to be installed; Calling the installation rules corresponding to the photovoltaic assembly area to be installed, and obtaining an initial arrangement diagram of photovoltaic assemblies in the photovoltaic assembly area to be installed of the target shape based on the installation rules; wherein the installation rules are at least used to indicate the number of photovoltaic assemblies in the horizontal axis direction and the vertical axis direction of the photovoltaic assembly area to be installed; The photovoltaic assembly arrangement information is determined according to the shadow area of ​​the obstacle, the obstacle area and the initial arrangement diagram.

8. The method according to claim 7, characterized in that Determining the photovoltaic assembly arrangement information according to the shadow area of ​​the obstacle, the obstacle area, and the initial arrangement diagram includes: Determining a vacant area in the initial arrangement diagram; Determine the vacant area, the obstacle area, and the shadow area of ​​the obstacle as invalid areas; The initial arrangement diagram is adjusted based on the invalid area to obtain the photovoltaic assembly arrangement information.

9. A photovoltaic module arrangement device, characterized in that: include: A first acquisition module is used to acquire a target image of a region where photovoltaic components are to be installed, wherein a reference object is arranged in the region where photovoltaic components are to be installed; A second acquisition module is used to acquire a target scale factor, wherein the target scale factor is used to indicate a ratio of a first target outline size of the reference object in the target image to a first real size of the reference object in a real physical space; A first determination module is used to determine second target outline size information of the obstacle in the target image and third target outline size information of the area where the photovoltaic components are to be installed; A second determination module is used to obtain a second real size of the obstacle in the real physical space according to the target scale coefficient and the second target outline size information, and to obtain a third real size of the area to be installed photovoltaic components in the real physical space according to the target scale coefficient and the third target outline size information; A third acquisition module is used to acquire the real height of the obstacle, and determine the photovoltaic component arrangement information of the photovoltaic component installation area according to the second real size, the third real size, and the real height; Among them, determining the photovoltaic component arrangement information of the photovoltaic component area to be installed according to the second real size, the third real size, and the real height includes: obtaining the first position coordinates of the obstacle and the second position coordinates of the photovoltaic component area to be installed according to the second real size and the third real size respectively; establishing a rectangular coordinate system, and generating an electronic design image according to at least the first position coordinates and the second position coordinates; determining the shadow area of ​​the obstacle in the electronic design image according to the second target outline size information of the obstacle and the real height; determining the photovoltaic component arrangement information of the photovoltaic component area to be installed according to the second target outline size information of the obstacle and the shadow area of ​​the obstacle.

10. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the photovoltaic assembly arrangement method according to any one of claims 1 to 8.

11. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the photovoltaic assembly arrangement method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Photovoltaic array arrangement method and photovoltaic array arrangement scheme automatic generation system

    CN110851945A

  • Building roof photovoltaic panel arrangement system

    CN113223151A