Method, device and equipment for generating position view of photovoltaic module and storage medium
By acquiring the positioning data and coding information of photovoltaic modules through scanning equipment and constructing a view coordinate system, the problems of time-consuming, labor-intensive, and error-prone drawing of photovoltaic module position views are solved, and efficient and accurate position view generation is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SUZHOU HEGUANG TONGYAO INTELLIGENT TECH CO LTD
- Filing Date
- 2026-01-23
- Publication Date
- 2026-06-05
AI Technical Summary
The traditional process of drawing photovoltaic module location views is time-consuming and labor-intensive, prone to human error, and difficult to adapt to the equipment management needs of large-scale photovoltaic power plants.
The location data and coding information of photovoltaic modules are obtained by scanning equipment, a view coordinate system is constructed, the location coordinates are determined, and the coding information is associated to generate a location view.
It improves the accuracy and efficiency of photovoltaic module location coordinates, reduces manual intervention, and adapts to the management of large-scale photovoltaic power plants.
Smart Images

Figure CN122156350A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of photovoltaic technology, and more specifically to a method, apparatus, equipment, and storage medium for generating position views of photovoltaic modules. Background Technology
[0002] In the equipment management of photovoltaic power plants, it is essential to clearly define the physical location of the modules to ensure operational efficiency. Traditionally, operators rely on manually checking the serial numbers (SNs) of each photovoltaic module and recording the location of each SN. After scanning the SNs, a site location view of the power plant is manually drawn. This process is time-consuming, labor-intensive, prone to recording and drawing errors due to human error, and inefficient, making it unsuitable for the equipment management needs of large-scale photovoltaic power plants. Summary of the Invention
[0003] This invention provides a method, apparatus, device, and storage medium for generating a position view of a photovoltaic module, in order to solve the problems of low accuracy and low efficiency in drawing the position view of a photovoltaic module.
[0004] In a first aspect, the present invention provides a method for generating a position view of a photovoltaic module, the method comprising: In response to a trigger operation on the scanning device, the positioning data and coding information corresponding to the photovoltaic module are obtained, wherein the positioning data is obtained through the navigation system configured in the scanning device; Based on the positioning data of each photovoltaic module, a view coordinate system for the photovoltaic modules is constructed, and the position coordinates of each photovoltaic module in the view coordinate system are determined. The location coordinates and coding information of each photovoltaic module are associated to construct a location view.
[0005] In one optional implementation, a view coordinate system for the photovoltaic modules is constructed based on the positioning data corresponding to each photovoltaic module, including: Based on the positioning data corresponding to the first photovoltaic module obtained by the scanning device, the origin of the view coordinate system is determined; Based on the positioning data of the first and second photovoltaic modules obtained by the scanning device, the relative position direction of the second photovoltaic module relative to the first photovoltaic module is determined, and the relative position direction is used as the first coordinate direction of the view coordinate system; The view coordinate system is constructed based on the origin and the first coordinate direction of the view coordinate system.
[0006] In one optional implementation, determining the position coordinates of each photovoltaic module in the view coordinate system includes: For each photovoltaic module, based on the positioning data of the photovoltaic module and the photovoltaic module preceding it, the positional offset of the photovoltaic module relative to the previous photovoltaic module is determined; The position coordinates of the photovoltaic module are determined based on the position coordinates of the previous photovoltaic module and the position offset of the photovoltaic module relative to the previous photovoltaic module.
[0007] In one optional implementation, the scanning device is equipped with an inertial navigation system and a satellite navigation system, and the positioning data includes first positioning data and second positioning data, wherein the first positioning data is acquired by the inertial navigation system and the second positioning data is acquired by the satellite navigation system. Based on the positioning data of the photovoltaic module and the previous photovoltaic module, the positional offset of the photovoltaic module relative to the previous photovoltaic module is determined, including: Based on the first positioning data of the photovoltaic module, determine the first position offset of the photovoltaic module relative to the previous photovoltaic module; Based on the second positioning data of the photovoltaic module and the previous photovoltaic module, the second position offset of the photovoltaic module relative to the previous photovoltaic module is determined; The positional offset of a photovoltaic module relative to its predecessor is obtained by weighting the first and second positional offsets of the photovoltaic module relative to the predecessor.
[0008] In one optional implementation, determining a first positional offset of the photovoltaic module relative to a previous photovoltaic module based on the first positioning data of the photovoltaic module includes: The gyroscope data in the first positioning data of the photovoltaic module is converted into Euler angles to obtain the attitude information of the photovoltaic module. Based on the attitude information corresponding to the photovoltaic module, the acceleration data in the first positioning data of the photovoltaic module is corrected to obtain the acceleration information corresponding to the photovoltaic module; The acceleration information corresponding to the photovoltaic module is integrated twice to obtain the first position offset of the photovoltaic module relative to the previous photovoltaic module.
[0009] In one optional implementation, determining a second positional offset of the photovoltaic module relative to the previous photovoltaic module based on second positioning data of the photovoltaic module and the previous photovoltaic module includes: Subtracting the second positioning data of the photovoltaic module from the second positioning data of the previous photovoltaic module yields the second position offset of the photovoltaic module relative to the previous photovoltaic module.
[0010] In one optional implementation, before determining the second positional offset of the photovoltaic module relative to the previous photovoltaic module based on the second positioning data of the photovoltaic module and the previous photovoltaic module, the method further includes: Based on the attitude information of the photovoltaic module, the directional deviation in the second positioning data of the acquired photovoltaic module is corrected.
[0011] In a second aspect, the present invention provides a position view generation device for photovoltaic modules, the device comprising: The information acquisition module is used to acquire the positioning data and coding information corresponding to the photovoltaic module in response to the trigger operation of the scanning device. The positioning data is acquired through the navigation system configured in the scanning device. The coordinate determination module is used to construct a view coordinate system for each photovoltaic module based on the positioning data corresponding to each photovoltaic module, and to determine the position coordinates of each photovoltaic module in the view coordinate system. The view building module is used to associate the location coordinates and coding information of each photovoltaic module to build a location view.
[0012] Thirdly, the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the photovoltaic module position view generation method of the first aspect or any corresponding embodiment described above.
[0013] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the method for generating a position view of a photovoltaic module according to the first aspect or any corresponding embodiment thereof.
[0014] Fifthly, the present invention provides a computer program product, including computer instructions for causing a computer to execute the method for generating a position view of a photovoltaic module according to the first aspect or any corresponding embodiment thereof.
[0015] The method for generating a position view of a photovoltaic module provided in this embodiment of the invention responds to a trigger operation on a scanning device by acquiring the positioning data corresponding to the photovoltaic module through a navigation system configured in the scanning device. Based on the positioning data corresponding to each photovoltaic module, a view coordinate system for the photovoltaic module is constructed, and the position coordinates of each photovoltaic module in the view coordinate system are determined. The position coordinates of each photovoltaic module are associated with the encoding information to construct a position view. On the one hand, the positioning data acquired by the navigation system can improve the accuracy of the determined position coordinates of the photovoltaic modules, thereby improving the accuracy of the position view. On the other hand, the position coordinates of each photovoltaic module can be determined directly based on the acquired positioning data without the need for manual recording of the position of the photovoltaic modules, thereby improving the drawing efficiency of the position view. Attached Figure Description
[0016] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0017] Figure 1 This is a schematic flowchart of a method for generating a position view of a photovoltaic module according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the layout of a photovoltaic module in the method for generating a position view of a photovoltaic module according to an embodiment of the present invention; Figure 3 This is a schematic diagram of a second process for generating a position view of a photovoltaic module according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the view coordinate system in the method for generating a position view of a photovoltaic module according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the position of a photovoltaic module in a view coordinate system in a method for generating a position view of a photovoltaic module according to an embodiment of the present invention; Figure 6 This is a schematic diagram showing the correspondence between the layout of a photovoltaic module and its position view in the photovoltaic module position view generation method according to an embodiment of the present invention; Figure 7 This is a structural block diagram of a photovoltaic module position view generation device according to an embodiment of the present invention; Figure 8 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.
[0020] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0021] In the equipment management of photovoltaic power plants, it is essential to clearly define the physical location of the modules to ensure operational efficiency. Traditionally, operators rely on manually checking the serial numbers (SNs) of each photovoltaic module and recording the location of each SN. After scanning the SNs, a site location view of the power plant is manually drawn. This process is time-consuming, labor-intensive, prone to recording and drawing errors due to human error, and inefficient, making it unsuitable for the equipment management needs of large-scale photovoltaic power plants.
[0022] Based on this, the present invention provides a method for generating a position view of photovoltaic modules. In response to a trigger operation on a scanning device, the method acquires positioning data and encoding information corresponding to the photovoltaic modules. The positioning data is obtained through a navigation system configured in the scanning device. Based on the positioning data corresponding to each photovoltaic module, a view coordinate system for the photovoltaic modules is constructed, and the position coordinates of each photovoltaic module in the view coordinate system are determined. The position coordinates and encoding information of each photovoltaic module are then associated to construct a position view. On the one hand, the positioning data acquired by the navigation system can improve the accuracy of the determined position coordinates of the photovoltaic modules, thereby improving the accuracy of the position view. On the other hand, it directly determines the position coordinates of each photovoltaic module based on the acquired positioning data without requiring manual recording of the photovoltaic module's position, thus improving the efficiency of position view generation.
[0023] The method for generating a position view of photovoltaic (PV) modules provided in this invention can be applied to PV power plants to draw position views of the PV modules configured therein. Specifically, this method can be applied to a server in the PV power plant. The server is communicatively connected to a scanning device equipped with a navigation system for acquiring positioning data corresponding to the PV modules. After receiving the positioning data from the scanning device, the server constructs a view coordinate system based on this data and sequentially determines the position coordinates of each PV module in the PV power plant. Simultaneously, it associates the position coordinates and encoding information of each PV module to construct the position view.
[0024] According to an embodiment of the present invention, a method for generating a position view of a photovoltaic module is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0025] This embodiment provides a method for generating a location view of a photovoltaic module, which can be used in the aforementioned photovoltaic power plant. Figure 1 This is a schematic flowchart of a first method for generating a position view of a photovoltaic module according to an embodiment of the present invention, as shown below. Figure 1 As shown, the process includes the following steps: Step S101: In response to the trigger operation of the scanning device, the positioning data and encoding information corresponding to the photovoltaic module are obtained.
[0026] In this embodiment of the invention, the scanning device is equipped with a navigation system that can record the positioning data of the scanning device in real time. The scanning device obtains the coding information of the photovoltaic module through a barcode scanning operation. Simultaneously, while performing the barcode scanning operation, the scanning device records the positioning data of the navigation system and uses it as the positioning data corresponding to the photovoltaic module. In response to a trigger operation on the scanning device, the barcode scanning operation of the scanning device is triggered, and the coding information and positioning data corresponding to the photovoltaic module are obtained through the scanning device.
[0027] For example, Figure 2 This is a schematic diagram of the layout of a photovoltaic module in the method for generating a position view of a photovoltaic module according to an embodiment of the present invention. Figure 2 Taking an example, this invention will explain how to obtain the positioning data and coding information corresponding to photovoltaic modules. Figure 2 As shown, the user scans photovoltaic modules A through H sequentially using a scanning device. Each time the user reaches the location of a photovoltaic module, the scanning device is triggered to scan the module, obtaining the module's encoding information and the scanning device's positioning data. At this time, the scanning device and the photovoltaic module are in the same location, so the scanning device's positioning data can be used as the corresponding positioning data for the photovoltaic module. The user scans all photovoltaic modules sequentially to obtain the positioning data and encoding information for all photovoltaic modules. Based on the photovoltaic module position view generation method of this invention, a position view is constructed in real time, thereby generating the position view simultaneously during the user's scanning process, achieving rapid generation of the position view.
[0028] In one alternative implementation, to avoid erroneous recording of the positioning data corresponding to the photovoltaic module due to accidental triggering of the scanning device, the scanning device only records the positioning data of the navigation system when it obtains the encoded information through the scanning operation.
[0029] In one specific implementation, the scanning device can be an RFID scanning device, and the encoding information of the photovoltaic module can be an SN device code.
[0030] Step S102: Based on the positioning data corresponding to each photovoltaic module, construct a view coordinate system for the photovoltaic modules and determine the position coordinates of each photovoltaic module in the view coordinate system.
[0031] In this embodiment of the invention, after obtaining the positioning data corresponding to each photovoltaic module, a view coordinate system is constructed based on the positioning data corresponding to the first photovoltaic module. After the view coordinate system is constructed, the position offset of each photovoltaic module in the view coordinate system is determined based on the positioning deviation between the positioning data corresponding to each photovoltaic module and the positioning data corresponding to other photovoltaic modules, thereby locating each photovoltaic module in the view coordinate system and determining the position coordinates of each photovoltaic module in the view coordinate system.
[0032] In one optional implementation, a view coordinate system is constructed based on the positioning data corresponding to the first photovoltaic module. This can be achieved by using the location corresponding to the positioning data of the first photovoltaic module as the origin of the view coordinate system and using latitude and longitude as the two coordinate axes of the view coordinate system. Alternatively, the view coordinate system can be constructed by using the relative position direction between the positioning data of the second photovoltaic module and the positioning data of the first photovoltaic module as one of the coordinate axes of the view coordinate system.
[0033] In one optional implementation, the position offset of each photovoltaic module in the view coordinate system is determined based on the positioning deviation between the positioning data corresponding to each photovoltaic module and the positioning data corresponding to other photovoltaic modules. This can be done by determining the position offset of each photovoltaic module in the view coordinate system based on the positioning deviation between the positioning data corresponding to each photovoltaic module and the positioning data corresponding to the first photovoltaic module. Alternatively, the position offset of each photovoltaic module in the view coordinate system can be determined sequentially based on the positioning deviation between the positioning data corresponding to two consecutive photovoltaic modules, thereby determining the position offset of the next photovoltaic module based on the position offset of the previous photovoltaic module.
[0034] Step S103: Associate the location coordinates and coding information of each photovoltaic module to construct a location view.
[0035] In this embodiment of the invention, the position coordinates of each photovoltaic module in the view coordinate system are associated with its corresponding coding information, thereby associating the coding information and position coordinates of each photovoltaic module in the view coordinate system to obtain a position view.
[0036] The method for generating a position view of a photovoltaic module provided in this embodiment of the invention responds to a trigger operation on a scanning device by acquiring the positioning data corresponding to the photovoltaic module through a navigation system configured in the scanning device. Based on the positioning data corresponding to each photovoltaic module, a view coordinate system for the photovoltaic module is constructed, and the position coordinates of each photovoltaic module in the view coordinate system are determined. The position coordinates of each photovoltaic module are associated with the encoding information to construct a position view. On the one hand, the positioning data acquired by the navigation system can improve the accuracy of the determined position coordinates of the photovoltaic modules, thereby improving the accuracy of the position view. On the other hand, the position coordinates of each photovoltaic module can be determined directly based on the acquired positioning data without the need for manual recording of the position of the photovoltaic modules, thereby improving the drawing efficiency of the position view.
[0037] This embodiment provides a method for generating a location view of a photovoltaic module, which can be used in the aforementioned photovoltaic power plant. Figure 3 This is a schematic diagram of a second process for generating a position view of a photovoltaic module according to an embodiment of the present invention, as shown below. Figure 3 As shown, the process includes the following steps: Step S301: In response to a trigger operation on the scanning device, acquire the positioning data and encoding information corresponding to the photovoltaic module. For details, please refer to [link to relevant documentation]. Figure 1 Step S101 of the illustrated embodiment will not be described again here.
[0038] Step S302: Based on the positioning data corresponding to each photovoltaic module, construct a view coordinate system for the photovoltaic modules and determine the position coordinates of each photovoltaic module in the view coordinate system.
[0039] In this embodiment of the invention, step S302, based on the positioning data corresponding to each photovoltaic module, constructs a view coordinate system for the photovoltaic modules, including: Step S3021: Based on the positioning data corresponding to the first photovoltaic module obtained by the scanning device, determine the origin of the view coordinate system.
[0040] In this embodiment of the invention, the location information of the first photovoltaic module is determined based on the location data corresponding to the first photovoltaic module, and the location information of the first photovoltaic module is used as the origin of the view coordinate system.
[0041] Step S3022: Based on the positioning data of the first photovoltaic module and the second photovoltaic module obtained by the scanning device, determine the relative position direction of the second photovoltaic module relative to the first photovoltaic module, and use the relative position direction as the first coordinate direction of the view coordinate system.
[0042] In this embodiment of the invention, in step S3021, the position information of the first photovoltaic module is determined. Based on the obtained positioning data corresponding to the first and second photovoltaic modules, the positional offset of the second photovoltaic module relative to the first photovoltaic module is determined, thereby determining the relative positional direction of the second photovoltaic module relative to the first photovoltaic module, and using this relative positional direction as the first coordinate direction of the view coordinate system. The specific direction of determining the positional offset of the second photovoltaic module relative to the first photovoltaic module can be shown in step S3024 below, which will not be described in detail here.
[0043] For example, Figure 4 This is a schematic diagram of the view coordinate system in the method for generating a position view of a photovoltaic module according to an embodiment of the present invention, as shown below. Figure 2 and Figure 4 As shown, the positioning data corresponding to the first photovoltaic module acquired by the scanning device is the positioning data corresponding to photovoltaic module A. The position information of photovoltaic module A is determined based on the positioning data corresponding to photovoltaic module A, and this is used as the origin of the view coordinate system. The positioning data corresponding to the second photovoltaic module acquired by the scanning device is the positioning data corresponding to photovoltaic module B. Based on the positioning data corresponding to photovoltaic module A and photovoltaic module B, the position offset of photovoltaic module B relative to photovoltaic module A is determined. The relative position direction of photovoltaic module B relative to photovoltaic module A is used as the first coordinate direction of the view coordinate system, that is, the direction of the line connecting the position point of photovoltaic module B and the position point of photovoltaic module A is used as the first coordinate direction of the view coordinate system. Figure 4 In the first coordinate direction, that is, the y-axis direction.
[0044] Step S3023: Construct the view coordinate system based on the origin and the first coordinate direction of the view coordinate system.
[0045] In this embodiment of the invention, based on the determined first coordinate direction, the second coordinate direction and the third coordinate direction of the view coordinate system are determined respectively, thereby constructing the view coordinate system based on the determined coordinate origin and the three coordinate directions.
[0046] In this embodiment of the invention, step S302, determining the position coordinates of each photovoltaic module in the view coordinate system, includes: Step S3024: For each photovoltaic module, based on the positioning data of the photovoltaic module and the photovoltaic module preceding it, determine the positional offset of the photovoltaic module relative to the previous photovoltaic module.
[0047] In this embodiment of the invention, for each photovoltaic module, after obtaining its corresponding positioning data, the positional offset of the photovoltaic module relative to the previous photovoltaic module is determined based on the positioning deviation between the positioning data of the photovoltaic module and the positioning data of the previous photovoltaic module.
[0048] In one optional implementation, the navigation system configured in the scanning device is an inertial navigation system. The positioning data acquired by the navigation system includes gyroscope data and acceleration data along the movement path from the previous photovoltaic module to the current photovoltaic module. The gyroscope data is converted into Euler angles to obtain the attitude information corresponding to the photovoltaic module. Based on the attitude information corresponding to the photovoltaic module, the acceleration data is corrected, thereby correcting the position data of the photovoltaic module in each direction based on the attitude information to obtain the acceleration information corresponding to the photovoltaic module. The acceleration information corresponding to the photovoltaic module is integrated twice. The velocity information corresponding to the photovoltaic module is obtained through the first integration calculation, and the displacement information corresponding to the photovoltaic module is obtained through the second integration calculation, that is, the position offset of the photovoltaic module relative to the previous photovoltaic module is obtained.
[0049] In one optional implementation, the navigation system configured in the scanning device is a satellite navigation system. The positioning data acquired by the navigation system includes the latitude and longitude data of the current photovoltaic module. Subtracting the positioning data of the previous photovoltaic module from the positioning data of the current photovoltaic module yields the positional offset of the photovoltaic module relative to the previous photovoltaic module.
[0050] In one optional implementation, the scanning device is equipped with an inertial navigation system and a satellite navigation system. The positioning data includes first positioning data and second positioning data, wherein the first positioning data is acquired through the inertial navigation system and the second positioning data is acquired through the satellite navigation system. Accordingly, in step S3024, the positional offset of the photovoltaic module relative to the previous photovoltaic module is determined based on the first positioning data and the second positioning data, respectively, and the two positional offsets are weighted to accurately determine the positional offset of the photovoltaic module relative to the previous photovoltaic module. Specifically, based on the first positioning data of the photovoltaic module, a first positional offset of the photovoltaic module relative to the previous photovoltaic module is determined; based on the second positioning data of the photovoltaic module and the previous photovoltaic module, a second positional offset of the photovoltaic module relative to the previous photovoltaic module is determined; and a weighted calculation is performed on the first and second positional offsets of the photovoltaic module relative to the previous photovoltaic module to obtain the positional offset of the photovoltaic module relative to the previous photovoltaic module.
[0051] In one optional implementation, the gyroscope data in the first positioning data of the photovoltaic module is converted into Euler angles to obtain the attitude information corresponding to the photovoltaic module; based on the attitude information corresponding to the photovoltaic module, the acceleration data in the first positioning data of the photovoltaic module is corrected, thereby correcting the position data of the photovoltaic module in various directions to obtain the acceleration information corresponding to the photovoltaic module; the acceleration information corresponding to the photovoltaic module is integrated twice. The acceleration information is integrated through the first integration calculation to obtain the velocity information corresponding to the photovoltaic module, and the velocity information is integrated through the second integration calculation to obtain the first position offset of the photovoltaic module relative to the previous photovoltaic module.
[0052] In one optional implementation, after acquiring the first positioning data, the gyroscope data therein is preprocessed by filtering the gyroscope data to eliminate zero-point drift and performing temperature compensation to eliminate temperature offset, thereby ensuring the accuracy of the gyroscope data, and thus ensuring the accuracy and reliability of correcting the acceleration data and the second positioning data based on the attitude information obtained from the gyroscope data.
[0053] In one optional implementation, after acquiring the first positioning data, the acceleration data is preprocessed by performing gravity separation and digital filtering to ensure the accuracy of the acceleration data. Specifically, gravity separation can be performed on the acceleration data using the following formula:
[0054]
[0055] in, It is the acceleration due to gravity. It is a weighting coefficient less than 1. The acceleration data is the component in the direction of gravity. This represents the value of the component of acceleration data in the direction of gravity after separation by gravity.
[0056] In one alternative implementation, the second positioning data of the photovoltaic module is subtracted from the second positioning data of the previous photovoltaic module to obtain the second position offset of the photovoltaic module relative to the previous photovoltaic module.
[0057] In one optional implementation, in order to improve the accuracy of the calculated second position offset, before subtracting the second positioning data of the photovoltaic module from the second positioning data of the previous photovoltaic module, the directional deviation in the obtained second positioning data of the photovoltaic module is corrected based on the attitude information corresponding to the photovoltaic module.
[0058] In one optional implementation, the positional offset of the photovoltaic module relative to the previous photovoltaic module is obtained by weighted calculation based on a first positional offset and a second positional offset of the photovoltaic module relative to the previous photovoltaic module, as shown in the following formula:
[0059] in, For photovoltaic modules The positional offset relative to the previous photovoltaic module For photovoltaic modules Relative to the first position offset of the previous photovoltaic module, For photovoltaic modules The second position offset relative to the previous photovoltaic module, The weighting coefficients corresponding to the first position offset are: The weighting coefficient corresponding to the second position offset is, and .
[0060] Step S3025: Determine the position coordinates of the photovoltaic module based on the position coordinates of the previous photovoltaic module and the position offset of the photovoltaic module relative to the previous photovoltaic module.
[0061] In this embodiment of the invention, the position coordinates of the photovoltaic module are obtained by superimposing the position offset of the photovoltaic module relative to the previous photovoltaic module on the position coordinates of the previous photovoltaic module, thereby locating and displaying the photovoltaic module in the view coordinate system. Figure 5 This is a schematic diagram of the position of a photovoltaic module in the view coordinate system according to an embodiment of the present invention, in the method for generating a position view of a photovoltaic module. Figure 2 and Figure 5 As shown, the user sequentially scans the photovoltaic module using the scanning device. Each time the scanning device triggers a scan operation on the photovoltaic module, it acquires the encoding information and positioning data. Based on the acquired positioning data, it calculates the position coordinates of the photovoltaic module in the view coordinate system and marks these position coordinates in the view coordinate system, resulting in the following... Figure 5 The coordinates of each photovoltaic module are marked in the view coordinate system shown. The distribution of these coordinate points is as follows: Figure 2 The layout of the photovoltaic modules shown is consistent.
[0062] Step S303: Associate the location coordinates and coding information of each photovoltaic module to construct a location view.
[0063] Figure 6 This is a schematic diagram illustrating the correspondence between the layout of photovoltaic modules and the position view in the photovoltaic module position view generation method according to an embodiment of the present invention, as shown below. Figure 6 As shown, according to the method for generating a position view of a photovoltaic module according to the present invention, by Figure 6 The layout of the photovoltaic modules on the left side is obtained Figure 6 The image on the right shows the location of the photovoltaic (PV) modules. The location coordinates and coding information of each PV module are associated in the view coordinate system. Based on the location coordinates of the PV modules in the view coordinate system, combined with the associated coding information, an image of the location view is generated. The distribution of PV modules in the location view and the relative positions of each PV module are consistent with the actual layout of the PV modules.
[0064] The method for generating a position view of a photovoltaic module provided in this invention determines the origin of the view coordinate system based on the positioning data of the first photovoltaic module obtained by the scanning device. It also determines the relative position direction of the second photovoltaic module relative to the first photovoltaic module based on the positioning data of the first and second photovoltaic modules obtained by the scanning device, and uses this relative position direction as the first coordinate direction of the view coordinate system. The view coordinate system is constructed based on the origin and the first coordinate direction, thus establishing a view coordinate system based on the actual distribution of photovoltaic modules in the photovoltaic power station. Furthermore, for each photovoltaic module, the position offset of the photovoltaic module relative to the previous photovoltaic module is determined based on the positioning data of the photovoltaic module and the previous photovoltaic module. Finally, the position coordinates of the photovoltaic module are determined based on the position coordinates of the previous photovoltaic module and the position offset. Therefore, the position coordinates of the photovoltaic module in the view coordinate system can be determined simultaneously with the acquisition of the photovoltaic module's positioning data, thereby synchronously generating a position view of the photovoltaic module during the scanning process of the photovoltaic module by the scanning device, improving the generation efficiency of the position view. Meanwhile, an inertial navigation system and a satellite navigation system are used to acquire first and second positioning data, respectively. By combining the first and second positioning data, the position of each photovoltaic module is accurately determined, thereby improving the accuracy of the position view.
[0065] This embodiment also provides a photovoltaic module position view generation device, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0066] This embodiment provides a device for generating a position view of a photovoltaic module, such as... Figure 7 As shown, it includes: The information acquisition module 701 is used to acquire the positioning data and coding information corresponding to the photovoltaic module in response to the trigger operation of the scanning device. The positioning data is acquired through the navigation system configured in the scanning device. The coordinate determination module 702 is used to construct a view coordinate system for the photovoltaic modules based on the positioning data corresponding to each photovoltaic module, and to determine the position coordinates of each photovoltaic module in the view coordinate system. The view construction module 703 is used to associate the location coordinates and coding information of each photovoltaic module to construct a location view.
[0067] In one optional implementation, the coordinate determination module 702 includes: The coordinate origin determination unit is used to determine the coordinate origin of the view coordinate system based on the positioning data corresponding to the first photovoltaic module obtained by the scanning device. The coordinate direction determination unit is used to determine the relative position direction of the second photovoltaic module relative to the first photovoltaic module based on the positioning data corresponding to the first and second photovoltaic modules obtained by the scanning device, and to use the relative position direction as the first coordinate direction of the view coordinate system. The coordinate system construction unit is used to construct the view coordinate system based on the origin and the first coordinate direction of the view coordinate system.
[0068] In one optional implementation, the coordinate determination module 702 includes: The position offset determination unit is used to determine the position offset of each photovoltaic module relative to the previous photovoltaic module based on the positioning data of the photovoltaic module and the photovoltaic module preceding it. The position coordinate determination unit is used to determine the position coordinates of the photovoltaic module based on the position coordinates of the previous photovoltaic module and the position offset of the photovoltaic module relative to the previous photovoltaic module.
[0069] In one optional implementation, the scanning device is equipped with an inertial navigation system and a satellite navigation system, and the positioning data includes first positioning data and second positioning data, wherein the first positioning data is acquired by the inertial navigation system and the second positioning data is acquired by the satellite navigation system. The position offset determination unit includes: The first offset determination subunit is used to determine the first position offset of the photovoltaic module relative to the previous photovoltaic module based on the first positioning data of the photovoltaic module. The second offset determination subunit is used to determine the second position offset of the photovoltaic module relative to the previous photovoltaic module based on the second positioning data of the photovoltaic module and the previous photovoltaic module; The weighted calculation subunit is used to perform weighted calculations based on the first and second positional offsets of the photovoltaic module relative to the previous photovoltaic module to obtain the positional offset of the photovoltaic module relative to the previous photovoltaic module.
[0070] In one alternative implementation, the first offset determining subunit includes: The attitude information determination submodule is used to convert the gyroscope data in the first positioning data of the photovoltaic module into Euler angles to obtain the attitude information of the photovoltaic module. The acceleration information determination submodule is used to correct the acceleration data in the first positioning data of the photovoltaic module based on the attitude information corresponding to the photovoltaic module, so as to obtain the acceleration information corresponding to the photovoltaic module. The integral calculation submodule is used to perform two integral calculations on the acceleration information corresponding to the photovoltaic module to obtain the first position offset of the photovoltaic module relative to the previous photovoltaic module.
[0071] In one alternative implementation, the second offset determining subunit includes: The position offset calculation submodule is used to subtract the second positioning data of the photovoltaic module from the second positioning data of the previous photovoltaic module to obtain the second position offset of the photovoltaic module relative to the previous photovoltaic module.
[0072] In one alternative implementation, the second offset determining subunit further includes: The deviation correction submodule is used to correct the directional deviation in the second positioning data of the photovoltaic module based on the attitude information corresponding to the photovoltaic module.
[0073] The photovoltaic module position view generation device provided in this embodiment of the invention can execute the photovoltaic module position view generation method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method. Further functional descriptions of the above modules and units are the same as in the corresponding embodiments described above, and will not be repeated here.
[0074] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.
[0075] The following is a detailed reference. Figure 8 This diagram illustrates a suitable structural schematic for implementing an electronic device according to embodiments of the present invention. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 801, which can perform various appropriate actions and processes based on a program stored in read-only memory (ROM) 802 or a program loaded from memory 808 into random access memory (RAM) 803. The RAM 803 also stores various programs and data required for the operation of the electronic device. The processor 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0076] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 8 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.
[0077] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a memory 808, or installed from a ROM 802. When the computer program is executed by the processor 801, it performs the functions defined in the photovoltaic module position view generation method of the embodiments of the present invention.
[0078] Figure 8 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0079] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the method for generating a position view of a photovoltaic module shown in the above embodiments is implemented.
[0080] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0081] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for generating a position view of a photovoltaic module, characterized in that, The method includes: In response to a trigger operation on the scanning device, the positioning data and encoding information corresponding to the photovoltaic module are acquired, wherein the positioning data is acquired through a navigation system configured in the scanning device; Based on the positioning data corresponding to each photovoltaic module, a view coordinate system for the photovoltaic modules is constructed, and the position coordinates of each photovoltaic module in the view coordinate system are determined. The location view is constructed by associating the position coordinates and coding information of each photovoltaic module.
2. The method according to claim 1, characterized in that, The step of constructing a view coordinate system for each photovoltaic module based on its corresponding positioning data includes: Based on the positioning data corresponding to the first photovoltaic module obtained by the scanning device, the origin of the view coordinate system is determined; Based on the positioning data corresponding to the first and second photovoltaic modules obtained by the scanning device, the relative position direction of the second photovoltaic module relative to the first photovoltaic module is determined, and the relative position direction is used as the first coordinate direction of the view coordinate system; The view coordinate system is constructed based on the origin and the first coordinate direction of the view coordinate system.
3. The method according to claim 1, characterized in that, Determining the position coordinates of each photovoltaic module in the view coordinate system includes: For each photovoltaic module, based on the positioning data of the photovoltaic module and the photovoltaic module preceding it, the positional offset of the photovoltaic module relative to the preceding photovoltaic module is determined; The position coordinates of the photovoltaic module are determined based on the position coordinates of the previous photovoltaic module and the position offset of the photovoltaic module relative to the previous photovoltaic module.
4. The method according to claim 3, characterized in that, The scanning device is equipped with an inertial navigation system and a satellite navigation system. The positioning data includes first positioning data and second positioning data, wherein the first positioning data is acquired through the inertial navigation system and the second positioning data is acquired through the satellite navigation system. The step of determining the positional offset of the photovoltaic module relative to the previous photovoltaic module based on the positioning data of the photovoltaic module and the previous photovoltaic module includes: Based on the first positioning data of the photovoltaic module, a first position offset of the photovoltaic module relative to the previous photovoltaic module is determined; Based on the second positioning data of the photovoltaic module and the previous photovoltaic module, a second position offset of the photovoltaic module relative to the previous photovoltaic module is determined; The positional offset of the photovoltaic module relative to the previous photovoltaic module is obtained by weighted calculation based on the first positional offset and the second positional offset of the photovoltaic module relative to the previous photovoltaic module.
5. The method according to claim 4, characterized in that, Determining the first positional offset of the photovoltaic module relative to the previous photovoltaic module based on the first positioning data of the photovoltaic module includes: The gyroscope data in the first positioning data of the photovoltaic module is converted into Euler angles to obtain the attitude information of the photovoltaic module. Based on the attitude information corresponding to the photovoltaic module, the acceleration data in the first positioning data of the photovoltaic module is corrected to obtain the acceleration information corresponding to the photovoltaic module. The acceleration information corresponding to the photovoltaic module is integrated twice to obtain the first position offset of the photovoltaic module relative to the previous photovoltaic module.
6. The method according to claim 4, characterized in that, The step of determining the second position offset of the photovoltaic module relative to the previous photovoltaic module based on the second positioning data of the photovoltaic module and the previous photovoltaic module includes: Subtracting the second positioning data of the photovoltaic module from the second positioning data of the previous photovoltaic module yields the second position offset of the photovoltaic module relative to the previous photovoltaic module.
7. The method according to any one of claims 4-6, characterized in that, Before determining the second position offset of the photovoltaic module relative to the previous photovoltaic module based on the second positioning data of the photovoltaic module and the previous photovoltaic module, the method further includes: Based on the attitude information corresponding to the photovoltaic module, the directional deviation in the second positioning data of the photovoltaic module is corrected.
8. A device for generating a position view of a photovoltaic module, characterized in that, The device includes: The information acquisition module is used to acquire the positioning data and encoding information corresponding to the photovoltaic module in response to the trigger operation of the scanning device, wherein the positioning data is acquired through the navigation system configured in the scanning device; The coordinate determination module is used to construct a view coordinate system for each photovoltaic module based on the positioning data corresponding to each photovoltaic module, and to determine the position coordinates of each photovoltaic module in the view coordinate system. The view construction module is used to associate the position coordinates and encoding information of each photovoltaic module to construct the position view.
9. An electronic device, characterized in that, include: A memory and a processor are communicatively connected, the memory storing computer instructions, and the processor executing the computer instructions to perform the method for generating a position view of a photovoltaic module according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the method for generating a position view of a photovoltaic module according to any one of claims 1 to 7.