Identification method and device of photovoltaic power generation equipment, electronic device and computer program product
By performing three-dimensional modeling and grid division of photovoltaic power generation areas, projecting points along the spatial coordinate axis to identify photovoltaic power generation equipment in the three-dimensional real-life map, the problems of low efficiency and insufficient accuracy in the existing technology are solved, and high efficiency is achieved , accurate and low-cost identification effect.
Patent Information
- Application Number
- CN202410992538.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-19
AI Technical Summary
There is a lack of a highly reliable, low-cost, automated method for identifying photovoltaic power generation equipment in three-dimensional real-life maps.
By performing three-dimensional modeling of the photovoltaic power generation area, obtain the target plane and grid division, project the grid points from positive to negative direction along the spatial coordinate axis to the three-dimensional model, and determine the projected coordinate points to identify the photovoltaic power generation equipment.
It realizes efficient identification of photovoltaic power generation equipment in three-dimensional real-life maps, simplifies the identification process, improves identification accuracy and efficiency, and reduces costs.
Smart Images

Figure CN118982823A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of surveying and mapping, and more specifically, to a method and device for identifying photovoltaic power generation equipment, an electronic device, and a computer program product. Background Art
[0002] As the installed capacity of photovoltaic power stations expands, the process of operation and maintenance management of photovoltaic power generation equipment also needs to meet the requirements of refinement and digitization. In the existing technology, high-precision three-dimensional real-life map modeling of photovoltaic power stations can be carried out through drone mapping. However, after the modeling is completed, it is necessary to further realize the identification and positioning of each model in the map. There are currently two ways to identify photovoltaic power generation equipment, one is through manual identification, and the other is through machine vision identification. Although manual identification is easy to implement, the recognition efficiency is low. Machine vision recognition requires a series of processes such as model training and tuning. The model development process is complicated, and the recognition accuracy needs to be improved. In this field, there is a lack of a highly reliable, low-cost, and automated recognition method to identify photovoltaic power generation equipment in a three-dimensional real-life map.
[0003] Therefore, in the related art, there is a problem of how to identify photovoltaic power generation equipment in a three-dimensional real-life map.
[0004] Regarding the problem of how to identify photovoltaic power generation equipment in three-dimensional real-life maps in related technologies, no effective solution has been proposed so far.
[0005] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology. Summary of the invention
[0006] The embodiments of the present application provide a method and device for identifying photovoltaic power generation equipment, an electronic device and a computer program product to at least solve the problem of how to identify photovoltaic power generation equipment in a three-dimensional real-life map in the related art.
[0007] According to one aspect of an embodiment of the present application, a method for identifying photovoltaic power generation equipment is provided, comprising: performing three-dimensional modeling on a photovoltaic power generation area to obtain a three-dimensional real-life map, wherein a plurality of photovoltaic power generation equipment are arranged in the photovoltaic power generation area, the three-dimensional real-life map includes three-dimensional models of the plurality of photovoltaic power generation equipment, and the three-dimensional coordinate system corresponding to the three-dimensional real-life map includes: a horizontal coordinate axis, a vertical coordinate axis, and a spatial coordinate axis; obtaining a plurality of grid points obtained by gridding a target plane, wherein the target plane represents a plane formed by the horizontal coordinate axis and the vertical coordinate axis; in the three-dimensional real-life map, projecting the plurality of grid points along the spatial coordinate axis from a positive to a negative direction onto a three-dimensional model of the three-dimensional real-life map to obtain a plurality of projection coordinate points; determining a target projection coordinate point from the plurality of projection coordinate points, and determining the three-dimensional models corresponding to the plurality of target projection coordinate points as the three-dimensional models of the plurality of photovoltaic power generation equipment.
[0008] In an exemplary embodiment, a target plane is gridded according to a preset spacing to obtain a plurality of grid points, including: drawing a plurality of horizontal lines on the target plane, wherein a distance between any two adjacent horizontal lines is equal to the preset spacing; drawing a plurality of vertical lines on the target plane, wherein a distance between any two adjacent vertical lines is equal to the preset spacing; and determining a plurality of intersection points of the plurality of horizontal lines and the plurality of vertical lines as the plurality of grid points.
[0009] In an exemplary embodiment, determining a target projection coordinate point from the multiple projection coordinate points includes: determining an arbitrary coordinate point, a first adjacent coordinate point, a second adjacent coordinate point, a third adjacent coordinate point, and a fourth adjacent coordinate point from the multiple projection coordinate points, wherein the first adjacent coordinate point represents a projection coordinate point adjacent to the arbitrary coordinate point in the positive direction of the horizontal coordinate axis, the second adjacent coordinate point represents a projection coordinate point adjacent to the arbitrary coordinate point in the negative direction of the vertical coordinate axis, the third adjacent coordinate point represents a projection coordinate point adjacent to the arbitrary coordinate point in the negative direction of the horizontal coordinate axis, and the fourth adjacent coordinate point represents a projection coordinate point adjacent to the arbitrary coordinate point in the negative direction of the vertical coordinate axis; when it is determined that the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point meet a preset condition, determining the arbitrary coordinate point as the target projection coordinate point.
[0010] In an exemplary embodiment, determining that the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point satisfy a preset condition includes: respectively calculating the slopes between the arbitrary coordinate point and the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point to obtain a first slope, a second slope, a third slope, and a fourth slope; and determining that the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point satisfy the preset condition when it is determined that the first slope and the third slope are both equal to a first preset slope value, and the second slope and the fourth slope are both equal to a second preset slope value.
[0011] In an exemplary embodiment, the first slope and the third slope are calculated in the following manner: the ratio of the first spatial distance to the first horizontal distance is determined as the first slope, wherein the first spatial distance represents the distance between the arbitrary coordinate point and the first adjacent coordinate point on the spatial coordinate axis, and the first horizontal distance represents the distance between the arbitrary coordinate point and the first adjacent coordinate point on the horizontal coordinate axis; the ratio of the second spatial distance to the second horizontal distance is determined as the third slope, wherein the second spatial distance represents the distance between the arbitrary coordinate point and the third adjacent coordinate point on the spatial coordinate axis, and the second horizontal distance represents the distance between the arbitrary coordinate point and the third adjacent coordinate point on the horizontal coordinate axis.
[0012] In an exemplary embodiment, the second slope and the fourth slope are calculated in the following manner: the ratio of the third spatial distance to the first vertical distance is determined as the second slope, wherein the third spatial distance represents the distance between the arbitrary coordinate point and the second adjacent coordinate point on the spatial coordinate axis, and the first vertical distance represents the distance between the arbitrary coordinate point and the second adjacent coordinate point on the vertical coordinate axis; the ratio of the fourth spatial distance to the second vertical distance is determined as the fourth slope, wherein the fourth spatial distance represents the distance between the arbitrary coordinate point and the fourth adjacent coordinate point on the spatial coordinate axis, and the second vertical distance represents the distance between the arbitrary coordinate point and the fourth adjacent coordinate point on the vertical coordinate axis.
[0013] According to another aspect of an embodiment of the present application, a photovoltaic power generation equipment identification device is also provided, including: a modeling module, used to perform three-dimensional modeling of a photovoltaic power generation area to obtain a three-dimensional real-life map, wherein a plurality of photovoltaic power generation equipment are arranged in the photovoltaic power generation area, the three-dimensional real-life map includes three-dimensional models of the plurality of photovoltaic power generation equipment, and the three-dimensional coordinate system corresponding to the three-dimensional real-life map includes: a horizontal coordinate axis, a vertical coordinate axis, and a spatial coordinate axis; an acquisition module, used to acquire a plurality of grid points obtained by gridding a target plane, wherein the target plane represents a plane formed by the horizontal coordinate axis and the vertical coordinate axis; a projection module, used to project the plurality of grid points along the spatial coordinate axis from positive to negative direction onto a three-dimensional model of the three-dimensional real-life map in the three-dimensional real-life map to obtain a plurality of projection coordinate points; a determination module, used to determine a target projection coordinate point from the plurality of projection coordinate points, and determine the three-dimensional model corresponding to the plurality of target projection coordinate points as the three-dimensional model of the plurality of photovoltaic power generation equipment.
[0014] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned photovoltaic power generation equipment identification method when running.
[0015] According to another aspect of the embodiments of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the photovoltaic power generation equipment identification method through the computer program.
[0016] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.
[0017] Through this application, a photovoltaic power generation area where multiple photovoltaic power generation equipment is arranged can be three-dimensionally modeled to obtain a three-dimensional real-life map with a three-dimensional coordinate system, and multiple grid points can be obtained by gridding the plane formed by the horizontal coordinate axis and the vertical coordinate axis, and then the multiple grid points are projected on the three-dimensional model of the three-dimensional real-life map to obtain multiple projection coordinate points, and the target projection coordinate points are determined from the multiple projection coordinate points. According to the multiple target projection coordinate points, the three-dimensional models of multiple photovoltaic power generation equipment are determined from the three-dimensional real-life map. This solves the problem of how to identify photovoltaic power generation equipment in a three-dimensional real-life map in the related art, and achieves the effect of efficiently identifying photovoltaic power generation equipment in a three-dimensional real-life map. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] Figure 1 It is a hardware structure block diagram of a computer terminal of a photovoltaic power generation equipment identification method according to an embodiment of the present application;
[0021] Figure 2 is a flow chart of a method for identifying photovoltaic power generation equipment according to an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of a photovoltaic power generation area according to an embodiment of the present application;
[0023] Figure 4 is a schematic diagram of a method for identifying photovoltaic power generation equipment according to an embodiment of the present application;
[0024] Figure 5 is a schematic flow chart of a method for identifying photovoltaic power generation equipment according to an embodiment of the present application;
[0025] Figure 6 It is a structural block diagram of an identification device for photovoltaic power generation equipment according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] 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.
[0027] 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.
[0028] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 1 is a hardware structure block diagram of a computer terminal of a photovoltaic power generation equipment identification method according to an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor (Central Processing Unit, MCU) or a programmable logic device (Field Programmable Gate Array, FPGA)) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0029] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the identification method of the photovoltaic power generation equipment in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0030] A wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0031] In this embodiment, a method for identifying a photovoltaic power generation device is provided. Figure 2 is a flow chart of a method for identifying photovoltaic power generation equipment according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps:
[0032] Step S202, three-dimensional modeling is performed on the photovoltaic power generation area to obtain a three-dimensional real scene map, wherein a plurality of photovoltaic power generation equipment are arranged in the photovoltaic power generation area, the three-dimensional real scene map includes three-dimensional models of the plurality of photovoltaic power generation equipment, and the three-dimensional coordinate system corresponding to the three-dimensional real scene map includes: a horizontal coordinate axis, a vertical coordinate axis, and a spatial coordinate axis;
[0033] Optionally, in the above step S202, the photovoltaic power generation equipment includes a photovoltaic panel, such as Figure 3 As shown, the photovoltaic power generation area includes multiple photovoltaic power generation equipment, and the photovoltaic panels of the photovoltaic power generation equipment are all set to the same tilt angle to obtain maximum power generation performance. In addition to the photovoltaic power generation equipment, the photovoltaic power generation area may also include other buildings and ground not covered by buildings.
[0034] Step S204, obtaining a plurality of grid points obtained by gridding a target plane, wherein the target plane represents a plane formed by the horizontal coordinate axis and the vertical coordinate axis;
[0035] Optionally, in the above step S204, in the three-dimensional real scene map, the target plane formed by the horizontal coordinate axis and the vertical coordinate axis is a plane parallel to the ground. The above grid points only have horizontal coordinates and vertical coordinates, not complete three-dimensional coordinates, and therefore do not represent specific coordinate points in the three-dimensional real scene map.
[0036] Step S206, in the three-dimensional real scene map, projecting the plurality of grid points along the spatial coordinate axis from the positive to the negative direction onto the three-dimensional model of the three-dimensional real scene map to obtain a plurality of projection coordinate points;
[0037] Optionally, in the above step S206, the spatial coordinates of the projection coordinate point, that is, the position corresponding to the horizontal coordinates and vertical coordinates of the grid point, traverse the spatial coordinates from positive to negative (that is, corresponding to the three-dimensional map from top to bottom) until it coincides with the point on the three-dimensional model. The coincident point is the projection coordinate point corresponding to the above grid point.
[0038] Step S208 , determining a target projection coordinate point from the multiple projection coordinate points, and determining the three-dimensional models corresponding to the multiple target projection coordinate points as the three-dimensional models of the multiple photovoltaic power generation devices.
[0039] Through the above steps, a photovoltaic power generation area with multiple photovoltaic power generation equipment can be three-dimensionally modeled to obtain a three-dimensional real-life map with a three-dimensional coordinate system, and multiple grid points are obtained by gridding the plane formed by the horizontal coordinate axis and the vertical coordinate axis, and then the multiple grid points are projected on the three-dimensional model of the three-dimensional real-life map to obtain multiple projection coordinate points, and the target projection coordinate points are determined from the multiple projection coordinate points. The three-dimensional models of multiple photovoltaic power generation equipment are determined from the three-dimensional real-life map according to the multiple target projection coordinate points. This solves the problem of how to identify photovoltaic power generation equipment in a three-dimensional real-life map in the related art, and achieves the effect of efficiently identifying photovoltaic power generation equipment in a three-dimensional real-life map.
[0040] In an exemplary embodiment, the above-mentioned step S204 can be performed in the following manner to grid the target plane according to a preset spacing to obtain multiple grid points, specifically including: drawing multiple horizontal lines on the target plane, wherein the distance between any two adjacent horizontal lines is equal to the preset spacing; drawing multiple vertical lines on the target plane, wherein the distance between any two adjacent vertical lines is equal to the preset spacing; and determining multiple intersection points of the multiple horizontal lines and the multiple vertical lines as the multiple grid points.
[0041] It should be noted that the above-mentioned multiple horizontal lines and multiple vertical lines divide the target plane into multiple grids. The above-mentioned preset spacing can be adjusted according to the recognition requirements. The smaller the preset spacing, the more grids are divided, the more corresponding grid points are, and the higher the recognition accuracy is.
[0042] In an exemplary embodiment, the specific execution process of determining the target projection coordinate point from the multiple projection coordinate points in the above step S208 includes: determining any coordinate point, a first adjacent coordinate point, a second adjacent coordinate point, a third adjacent coordinate point, and a fourth adjacent coordinate point among the multiple projection coordinate points, wherein the first adjacent coordinate point represents a projection coordinate point adjacent to the arbitrary coordinate point in the positive direction of the horizontal coordinate axis, the second adjacent coordinate point represents a projection coordinate point adjacent to the arbitrary coordinate point in the negative direction of the vertical coordinate axis, the third adjacent coordinate point represents a projection coordinate point adjacent to the arbitrary coordinate point in the negative direction of the horizontal coordinate axis, and the fourth adjacent coordinate point represents a projection coordinate point adjacent to the arbitrary coordinate point in the negative direction of the vertical coordinate axis; when it is determined that the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point meet a preset condition, the arbitrary coordinate point is determined as the target projection coordinate point.
[0043] Optionally, in the above embodiment, if Figure 4 As shown, Figure 4 The point O, point A, point B, point C, and point D in the figure correspond to the above-mentioned arbitrary coordinate point, the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point, respectively. Among them, the straight line formed by the point D, point O, and point B is parallel to the vertical coordinate axis, the direction of OD is the positive direction, and the direction of OB is the negative direction. The straight line formed by the point C, point O, and point A is parallel to the horizontal coordinate axis, the direction of OA is the positive direction, and the direction of OC is the negative direction.
[0044] In an exemplary embodiment, the above-mentioned execution process of determining that the preset conditions are satisfied between the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point specifically includes: respectively calculating the slopes between the arbitrary coordinate point and the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point to obtain a first slope, a second slope, a third slope, and a fourth slope; when it is determined that the first slope and the third slope are both equal to a first preset slope value, and the second slope and the fourth slope are both equal to a second preset slope value, determining that the preset conditions are satisfied between the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point.
[0045] Optionally, in the above embodiment, if Figure 4 As shown, Figure 4The spatial coordinates of point O, point A, point B, point C, and point D in the image may be different, so there may be a height difference between point O and point A, point B, point C, and point D. The slope between any two points can be calculated through the three-dimensional coordinates of point O, point A, point B, point C, and point D. When establishing the coordinate system, the direction of the vertical coordinate axis can be set to be consistent with the tilt direction of the photovoltaic panel. For example, when arranging photovoltaic panels, all photovoltaic panels are tilted 10° to the north, the east-west direction is kept horizontal, and the positive direction of the vertical coordinate axis can be kept consistent with the north. Let the slopes of OA, OB, OC, and OD be Ke, Ks, Kw, and Kn respectively. If Ke=Kw=0 (equivalent to the first preset slope value), Ks=Kn=tan(10°) (equivalent to the second preset slope value), it means that point O, point A, point B, point C, and point D are all located on the photovoltaic panel, and point O must also be located on the photovoltaic panel. At this time, point O can be determined as the coordinate point on the photovoltaic device in the three-dimensional real-life map.
[0046] In an exemplary embodiment, the first slope and the third slope can be calculated in the following manner: the ratio of the first spatial distance to the first horizontal distance is determined as the first slope, wherein the first spatial distance represents the distance between the arbitrary coordinate point and the first adjacent coordinate point on the spatial coordinate axis, and the first horizontal distance represents the distance between the arbitrary coordinate point and the first adjacent coordinate point on the horizontal coordinate axis; the ratio of the second spatial distance to the second horizontal distance is determined as the third slope, wherein the second spatial distance represents the distance between the arbitrary coordinate point and the third adjacent coordinate point on the spatial coordinate axis, and the second horizontal distance represents the distance between the arbitrary coordinate point and the third adjacent coordinate point on the horizontal coordinate axis.
[0047] In an exemplary embodiment, the second slope and the fourth slope can be calculated in the following manner: the ratio of the third spatial distance to the first vertical distance is determined as the second slope, wherein the third spatial distance represents the distance between the arbitrary coordinate point and the second adjacent coordinate point on the spatial coordinate axis, and the first vertical distance represents the distance between the arbitrary coordinate point and the second adjacent coordinate point on the vertical coordinate axis; the ratio of the fourth spatial distance to the second vertical distance is determined as the fourth slope, wherein the fourth spatial distance represents the distance between the arbitrary coordinate point and the fourth adjacent coordinate point on the spatial coordinate axis, and the second vertical distance represents the distance between the arbitrary coordinate point and the fourth adjacent coordinate point on the vertical coordinate axis.
[0048] Optionally, in the above embodiment, Figure 4For example, suppose the three-dimensional coordinates of point O are (0, 0, 5), the three-dimensional coordinates of point A are (1, 0, 7), the three-dimensional coordinates of point B are (0, -1, 5), the three-dimensional coordinates of point C are (-1, 0, 5), and the three-dimensional coordinates of point D are (0, 1, 3). Then the spatial distance between OA and OC is 0, the horizontal distance between OA and OC is 1, the spatial distance between OD and OB is 1, and the vertical distance between OD and OB is 2. The slopes of OA, OB, OC, and OD are calculated to be 0, 2, 0, and 2, respectively.
[0049] Obviously, the embodiments described above are only part of the embodiments of the present application, not all of the embodiments. In order to better understand the above-mentioned identification method of photovoltaic power generation equipment, the above-mentioned process is described below in conjunction with the embodiments, but it is not intended to limit the technical solutions of the embodiments of the present application, specifically:
[0050] In an alternative embodiment, Figure 5 is a schematic flow chart of a method for identifying a photovoltaic power generation device according to an embodiment of the present application, such as Figure 5 As shown, the specific process includes the following:
[0051] Step S501: gridding a target plane in a three-dimensional real-scene map of a photovoltaic power generation area according to a preset distance L to obtain a plurality of grid points;
[0052] Step S502: Projecting the grid points onto the three-dimensional model in the three-dimensional real scene map to obtain a plurality of projection coordinate points;
[0053] Step S503: traverse each projection coordinate point, such as Figure 4 O in the projection coordinate point, and obtain the adjacent coordinate points in four directions of the projection coordinate point, such as Figure 4 Point A, point B, point C, point D in the calculation, calculate the four-way slope of point O;
[0054] Optionally, in the above step S503, if Figure 4 As shown, Figure 4 The spatial coordinates of point O, point A, point B, point C, and point D may be different, so there may be a height difference between point O and points A, B, point C, and point D. The slope between point 0 and any point can be calculated through the three-dimensional coordinates of points O, point A, point B, point C, and point D.
[0055] Step S504: performing a slope analysis on the above-mentioned projection coordinate point. If the preset conditions are met, it means that the projection coordinate point is on the photovoltaic device;
[0056] It should be noted that in the above step S504, for example, when establishing a three-dimensional coordinate system, the direction of the vertical coordinate axis is set to be consistent with the inclination direction of the photovoltaic panel. For example, when arranging the photovoltaic panels, all photovoltaic panels are tilted 10° to the north, the east-west direction is kept horizontal, and the positive direction of the vertical coordinate axis is kept consistent with the north. The slopes of OA, OB, OC, and OD are Ke, Ks, Kw, and Kn, respectively. The preset conditions are Ke=Kw=0 (equivalent to the first preset slope value), Ks=Kn=tan(10°) (equivalent to the second preset slope value). If the preset conditions are met, it means that point O must be located on the photovoltaic panel. At this time, point O can be determined as the coordinate point on the photovoltaic device in the three-dimensional real-life map.
[0057] Step S505: Check whether all projection coordinate points have been traversed. If yes, execute step S506; otherwise, start traversing the next projection coordinate point and execute step S503;
[0058] Step S506: End the identification process.
[0059] Through the above embodiments, photovoltaic power generation equipment in a three-dimensional real-scene map can be accurately and efficiently identified, and the identification process is simple, the identification cost is low, and the reliability is high.
[0060] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0061] In this embodiment, a photovoltaic power generation equipment identification device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the equipment described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0062] Figure 6 : is a structural block diagram of a photovoltaic power generation equipment identification device according to an embodiment of the present application, the device comprising:
[0063] A modeling module 62 is used to perform three-dimensional modeling on the photovoltaic power generation area to obtain a three-dimensional real scene map, wherein a plurality of photovoltaic power generation equipment are arranged in the photovoltaic power generation area, the three-dimensional real scene map includes three-dimensional models of the plurality of photovoltaic power generation equipment, and the three-dimensional coordinate system corresponding to the three-dimensional real scene map includes: a horizontal coordinate axis, a vertical coordinate axis, and a spatial coordinate axis;
[0064] An acquisition module 64 is used to acquire a plurality of grid points obtained by gridding a target plane, wherein the target plane represents a plane formed by the horizontal coordinate axis and the vertical coordinate axis;
[0065] A projection module 66 is used to project the plurality of grid points on the three-dimensional model of the three-dimensional real scene map along the spatial coordinate axis from positive to negative in the three-dimensional real scene map to obtain a plurality of projection coordinate points;
[0066] The determination module 68 is used to determine a target projection coordinate point from the multiple projection coordinate points, and determine the three-dimensional models corresponding to the multiple target projection coordinate points as the three-dimensional models of the multiple photovoltaic power generation devices.
[0067] Through the above device, a photovoltaic power generation area where multiple photovoltaic power generation equipment is arranged can be three-dimensionally modeled to obtain a three-dimensional real-life map with a three-dimensional coordinate system, and multiple grid points can be obtained by gridding the plane formed by the horizontal coordinate axis and the vertical coordinate axis, and then the multiple grid points are projected on the three-dimensional model of the three-dimensional real-life map to obtain multiple projection coordinate points, and the target projection coordinate points are determined from the multiple projection coordinate points. The three-dimensional models of multiple photovoltaic power generation equipment are determined from the three-dimensional real-life map according to the multiple target projection coordinate points. This solves the problem of how to identify photovoltaic power generation equipment in a three-dimensional real-life map in the related art, and achieves the effect of efficiently identifying photovoltaic power generation equipment in a three-dimensional real-life map.
[0068] In an exemplary embodiment, the acquisition module 64 is further used to: draw a plurality of horizontal lines on the target plane, wherein the distance between any two adjacent horizontal lines is equal to the preset spacing; draw a plurality of vertical lines on the target plane, wherein the distance between any two adjacent vertical lines is equal to the preset spacing; and determine a plurality of intersection points of the plurality of horizontal lines and the plurality of vertical lines as the plurality of grid points.
[0069] In an exemplary embodiment, the above-mentioned determination module 68 is also used to: determine any coordinate point, a first adjacent coordinate point, a second adjacent coordinate point, a third adjacent coordinate point, and a fourth adjacent coordinate point among the multiple projection coordinate points, wherein the first adjacent coordinate point represents the projection coordinate point adjacent to the arbitrary coordinate point in the positive direction of the horizontal coordinate axis, the second adjacent coordinate point represents the projection coordinate point adjacent to the arbitrary coordinate point in the negative direction of the vertical coordinate axis, the third adjacent coordinate point represents the projection coordinate point adjacent to the arbitrary coordinate point in the negative direction of the horizontal coordinate axis, and the fourth adjacent coordinate point represents the projection coordinate point adjacent to the arbitrary coordinate point in the negative direction of the vertical coordinate axis; when it is determined that the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point meet a preset condition, the arbitrary coordinate point is determined as the target projection coordinate point.
[0070] In an exemplary embodiment, the above-mentioned determination module 68 is also used to: respectively calculate the slopes between the arbitrary coordinate point and the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point to obtain the first slope, the second slope, the third slope, and the fourth slope; when it is determined that the first slope and the third slope are both equal to the first preset slope value, and the second slope and the fourth slope are both equal to the second preset slope value, determine that the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point meet the preset conditions.
[0071] In an exemplary embodiment, the above-mentioned determination module 68 is also used to calculate the first slope and the third slope in the following manner: the ratio of the first spatial distance to the first horizontal distance is determined as the first slope, wherein the first spatial distance represents the distance between the arbitrary coordinate point and the first adjacent coordinate point on the spatial coordinate axis, and the first horizontal distance represents the distance between the arbitrary coordinate point and the first adjacent coordinate point on the horizontal coordinate axis; the ratio of the second spatial distance to the second horizontal distance is determined as the third slope, wherein the second spatial distance represents the distance between the arbitrary coordinate point and the third adjacent coordinate point on the spatial coordinate axis, and the second horizontal distance represents the distance between the arbitrary coordinate point and the third adjacent coordinate point on the horizontal coordinate axis.
[0072] In an exemplary embodiment, the above-mentioned determination module 68 is also used to calculate the second slope and the fourth slope in the following manner: the ratio of the third spatial distance to the first vertical distance is determined as the second slope, wherein the third spatial distance represents the distance between the arbitrary coordinate point and the second adjacent coordinate point on the spatial coordinate axis, and the first vertical distance represents the distance between the arbitrary coordinate point and the second adjacent coordinate point on the vertical coordinate axis; the ratio of the fourth spatial distance to the second vertical distance is determined as the fourth slope, wherein the fourth spatial distance represents the distance between the arbitrary coordinate point and the fourth adjacent coordinate point on the spatial coordinate axis, and the second vertical distance represents the distance between the arbitrary coordinate point and the fourth adjacent coordinate point on the vertical coordinate axis.
[0073] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0074] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0075] S1, performing three-dimensional modeling on a photovoltaic power generation area to obtain a three-dimensional real scene map, wherein a plurality of photovoltaic power generation equipment are arranged in the photovoltaic power generation area, the three-dimensional real scene map includes three-dimensional models of the plurality of photovoltaic power generation equipment, and the three-dimensional coordinate system corresponding to the three-dimensional real scene map includes: a horizontal coordinate axis, a vertical coordinate axis, and a spatial coordinate axis;
[0076] S2, obtaining a plurality of grid points obtained by gridding a target plane, wherein the target plane represents a plane formed by the horizontal coordinate axis and the vertical coordinate axis;
[0077] S3, in the three-dimensional real scene map, projecting the plurality of grid points along the spatial coordinate axis from the positive to the negative direction onto the three-dimensional model of the three-dimensional real scene map to obtain a plurality of projection coordinate points;
[0078] S4, determining a target projection coordinate point from the multiple projection coordinate points, and determining the three-dimensional models corresponding to the multiple target projection coordinate points as the three-dimensional models of the multiple photovoltaic power generation devices.
[0079] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0080] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0081] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0082] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0083] S1, performing three-dimensional modeling on a photovoltaic power generation area to obtain a three-dimensional real scene map, wherein a plurality of photovoltaic power generation equipment are arranged in the photovoltaic power generation area, the three-dimensional real scene map includes three-dimensional models of the plurality of photovoltaic power generation equipment, and the three-dimensional coordinate system corresponding to the three-dimensional real scene map includes: a horizontal coordinate axis, a vertical coordinate axis, and a spatial coordinate axis;
[0084] S2, obtaining a plurality of grid points obtained by gridding a target plane, wherein the target plane represents a plane formed by the horizontal coordinate axis and the vertical coordinate axis;
[0085] S3, in the three-dimensional real scene map, projecting the plurality of grid points along the spatial coordinate axis from the positive to the negative direction onto the three-dimensional model of the three-dimensional real scene map to obtain a plurality of projection coordinate points;
[0086] S4, determining a target projection coordinate point from the multiple projection coordinate points, and determining the three-dimensional models corresponding to the multiple target projection coordinate points as the three-dimensional models of the multiple photovoltaic power generation devices.
[0087] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0088] An embodiment of the present application further provides a computer program product, comprising a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program product, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.
[0089] Optionally, in this embodiment, the above computer program may be configured to implement the following steps when executed by a processor:
[0090] S1, performing three-dimensional modeling on a photovoltaic power generation area to obtain a three-dimensional real scene map, wherein a plurality of photovoltaic power generation equipment are arranged in the photovoltaic power generation area, the three-dimensional real scene map includes three-dimensional models of the plurality of photovoltaic power generation equipment, and the three-dimensional coordinate system corresponding to the three-dimensional real scene map includes: a horizontal coordinate axis, a vertical coordinate axis, and a spatial coordinate axis;
[0091] S2, obtaining a plurality of grid points obtained by gridding a target plane, wherein the target plane represents a plane formed by the horizontal coordinate axis and the vertical coordinate axis;
[0092] S3, in the three-dimensional real scene map, projecting the plurality of grid points along the spatial coordinate axis from the positive to the negative direction onto the three-dimensional model of the three-dimensional real scene map to obtain a plurality of projection coordinate points;
[0093] S4, determining a target projection coordinate point from the multiple projection coordinate points, and determining the three-dimensional models corresponding to the multiple target projection coordinate points as the three-dimensional models of the multiple photovoltaic power generation devices.
[0094] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0095] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0096] 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 identifying photovoltaic power generation equipment, characterized in that: include: Performing three-dimensional modeling on the photovoltaic power generation area to obtain a three-dimensional real scene map, wherein a plurality of photovoltaic power generation equipment are arranged in the photovoltaic power generation area, the three-dimensional real scene map includes three-dimensional models of the plurality of photovoltaic power generation equipment, and the three-dimensional coordinate system corresponding to the three-dimensional real scene map includes: a horizontal coordinate axis, a vertical coordinate axis, and a spatial coordinate axis; Acquire a plurality of grid points obtained by gridding a target plane, wherein the target plane represents a plane formed by the horizontal coordinate axis and the vertical coordinate axis; In the three-dimensional real scene map, projecting the multiple grid points along the spatial coordinate axis from positive to negative direction onto the three-dimensional model of the three-dimensional real scene map to obtain multiple projection coordinate points; A target projection coordinate point is determined from the multiple projection coordinate points, and the three-dimensional models corresponding to the multiple target projection coordinate points are determined as the three-dimensional models of the multiple photovoltaic power generation devices.
2. The method according to claim 1, characterized in that The target plane is meshed according to the preset spacing to obtain multiple mesh points, including: Drawing a plurality of horizontal lines on the target plane, wherein the distance between any two adjacent horizontal lines is equal to the preset spacing; Drawing a plurality of vertical lines on the target plane, wherein the distance between any two adjacent vertical lines is equal to the preset spacing; A plurality of intersection points of the plurality of horizontal lines and the plurality of vertical lines are determined as the plurality of grid points.
3. The method according to claim 1, characterized in that Determining a target projection coordinate point from the plurality of projection coordinate points includes: Determine an arbitrary coordinate point, a first adjacent coordinate point, a second adjacent coordinate point, a third adjacent coordinate point, and a fourth adjacent coordinate point among the plurality of projected coordinate points, wherein the first adjacent coordinate point represents a projected coordinate point adjacent to the arbitrary coordinate point in the positive direction of the horizontal coordinate axis, the second adjacent coordinate point represents a projected coordinate point adjacent to the arbitrary coordinate point in the negative direction of the vertical coordinate axis, the third adjacent coordinate point represents a projected coordinate point adjacent to the arbitrary coordinate point in the negative direction of the horizontal coordinate axis, and the fourth adjacent coordinate point represents a projected coordinate point adjacent to the arbitrary coordinate point in the negative direction of the vertical coordinate axis; When it is determined that the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point satisfy a preset condition, the arbitrary coordinate point is determined as the target projection coordinate point.
4. The method according to claim 3, characterized in that Determining that the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point satisfy a preset condition includes: Calculate the slopes between the arbitrary coordinate point and the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point respectively to obtain a first slope, a second slope, a third slope, and a fourth slope; When it is determined that the first slope and the third slope are both equal to a first preset slope value, and the second slope and the fourth slope are both equal to a second preset slope value, it is determined that the first adjacent coordinate point, the second adjacent coordinate point, the third adjacent coordinate point, and the fourth adjacent coordinate point satisfy a preset condition.
5. The method according to claim 4, characterized in that The first slope and the third slope are calculated in the following manner: Determine the ratio of the first spatial distance to the first horizontal distance as the first slope, wherein the first spatial distance represents the distance between the arbitrary coordinate point and the first adjacent coordinate point on the spatial coordinate axis, and the first horizontal distance represents the distance between the arbitrary coordinate point and the first adjacent coordinate point on the horizontal coordinate axis; The ratio of the second spatial distance to the second horizontal distance is determined as the third slope, wherein the second spatial distance represents the distance between the arbitrary coordinate point and the third adjacent coordinate point on the spatial coordinate axis, and the second horizontal distance represents the distance between the arbitrary coordinate point and the third adjacent coordinate point on the horizontal coordinate axis.
6. The method according to claim 4, characterized in that The second slope and the fourth slope are calculated by: Determine the ratio of the third spatial distance to the first vertical distance as the second slope, wherein the third spatial distance represents the distance between the arbitrary coordinate point and the second adjacent coordinate point on the spatial coordinate axis, and the first vertical distance represents the distance between the arbitrary coordinate point and the second adjacent coordinate point on the vertical coordinate axis; The ratio of the fourth spatial distance to the second vertical distance is determined as the fourth slope, wherein the fourth spatial distance represents the distance between the arbitrary coordinate point and the fourth adjacent coordinate point on the spatial coordinate axis, and the second vertical distance represents the distance between the arbitrary coordinate point and the fourth adjacent coordinate point on the vertical coordinate axis.
7. A photovoltaic power generation equipment identification device, characterized in that: include: A modeling module is used to perform three-dimensional modeling on the photovoltaic power generation area to obtain a three-dimensional real-scene map, wherein a plurality of photovoltaic power generation equipment are arranged in the photovoltaic power generation area, the three-dimensional real-scene map includes three-dimensional models of the plurality of photovoltaic power generation equipment, and the three-dimensional coordinate system corresponding to the three-dimensional real-scene map includes: a horizontal coordinate axis, a vertical coordinate axis, and a spatial coordinate axis; An acquisition module, used for acquiring a plurality of grid points obtained by gridding a target plane, wherein the target plane represents a plane formed by the horizontal coordinate axis and the vertical coordinate axis; A projection module is used to project the multiple grid points along the spatial coordinate axis from the positive to the negative direction onto the three-dimensional model of the three-dimensional real scene map in the three-dimensional real scene map to obtain multiple projection coordinate points; a determination module is used to determine the target projection coordinate point from the multiple projection coordinate points, and determine the three-dimensional model corresponding to the multiple target projection coordinate points as the three-dimensional model of the multiple photovoltaic power generation equipment.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 6 when executed.
9. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Pitching-combined real-scene surveying and mapping modeling method, program and look-up surveying and mapping device
CN121564198A
