A method and apparatus for obtaining a positioning layout of a photovoltaic module

By selecting wireless communication devices as base stations at the edge of the photovoltaic module monitoring area and optimizing the iterative algorithm using RSSI values ​​and trilateration methods, the problem of low positioning accuracy of photovoltaic modules was solved, achieving efficient and low-cost photovoltaic module positioning and maintenance.

CN117221823BActive Publication Date: 2026-05-19STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED
Filing Date
2023-09-25
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing technologies, the positioning accuracy of photovoltaic modules is not high, and traditional Bluetooth RSSI positioning methods are difficult to meet the high-precision requirements, while manual recording methods are cumbersome and prone to errors.

Method used

By selecting wireless communication devices at the edge of the photovoltaic module monitoring area as base stations, the distance is calculated using RSSI values. Combined with trilateration method and optimization iterative algorithm, a planar layout map of the photovoltaic modules is constructed. Base stations with high positioning reliability are selected for iterative optimization to improve positioning accuracy.

Benefits of technology

It achieves high-precision photovoltaic module positioning, improves positioning and maintenance efficiency, reduces costs, and is suitable for rapid and accurate positioning and maintenance of large batches of photovoltaic modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117221823B_ABST
    Figure CN117221823B_ABST
Patent Text Reader

Abstract

The application provides a photovoltaic module positioning method, device and medium, the method comprises the following steps: S01. Selecting a plurality of wireless communication devices of photovoltaic modules as initial wireless communication base stations; S02. Calculating the distance between each wireless communication device and the current wireless communication base station; S03. Calculating the positioning information of each wireless communication device and constructing a photovoltaic module layout plan; S04. Calculating the positioning reliability of each wireless communication device, selecting a plurality of wireless communication devices with the highest positioning reliability as the current wireless communication base stations together with the initial wireless communication base stations, returning to step S02 to reconstruct the photovoltaic module layout plan until the positioning reliability of each wireless communication device meets the preset requirement, and obtaining the final photovoltaic module layout plan. The application has the advantages of high positioning accuracy, simple implementation, low cost and the like, and can effectively improve the photovoltaic module maintenance processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of photovoltaic equipment positioning technology, and in particular to a method and apparatus for obtaining the positioning layout of photovoltaic modules. Background Technology

[0002] Solar energy, as an important renewable energy source, has become a key focus of clean energy applications. With the continuous development of photovoltaic (PV) power generation technology and the large-scale application of PV modules, the need for malfunction repair and replacement during PV module use is increasing. Therefore, it is necessary to pinpoint the specific location of each PV module to facilitate later maintenance and upgrades of the PV power plant. Traditionally, the method for determining the location of PV modules involves manually recording installation data in a logbook. However, PV power plants typically have a large number of PV modules; for example, a 1MW power plant usually has at least 2000 PV modules. Manually recording installation data is not only tedious but also prone to errors.

[0003] Although monitoring devices are typically installed in photovoltaic modules, and these devices have the function of recording the device's ID and location information, they usually use Bluetooth RSSI (Received Signal Strength Indication) positioning technology to locate the photovoltaic modules. However, Bluetooth RSSI achieves positioning by relating the strength of the Bluetooth signal transmitted to the distance between the transmitting and receiving points. Its positioning accuracy is not high (generally 2-5 meters), while the distance between photovoltaic modules is usually 0.5-1 meter. Therefore, directly using Bluetooth RSSI positioning method to locate photovoltaic modules will lead to positioning errors in some devices and cannot meet the actual needs of high-precision positioning. Summary of the Invention

[0004] The technical problem to be solved by the present invention is: in view of the technical problems existing in the prior art, the present invention provides a method, device and medium for obtaining the positioning layout of photovoltaic modules with high positioning accuracy and efficiency, simple implementation and low cost, which can be applied to the acquisition of high-precision positioning layout of large batches of photovoltaic modules, thereby improving the efficiency of photovoltaic module maintenance and upgrading.

[0005] To solve the above-mentioned technical problems, the technical solution proposed by this invention is: a method for obtaining the positioning and layout of photovoltaic modules, comprising the following steps:

[0006] S01. Select wireless communication devices of multiple photovoltaic modules at different edges of the photovoltaic module monitoring area as the initial wireless communication base station;

[0007] S02. Obtain the location information of the current wireless communication base station, as well as the ID information of the wireless communication devices of other photovoltaic modules besides the current wireless communication base station, and the RSSI value information of the received wireless signal. Calculate the distance between each wireless communication device and the current wireless communication base station based on the obtained information.

[0008] S03. Based on the location information of the current wireless communication base station and the distance between other wireless communication devices and the current wireless communication base station, obtain the location information of each wireless communication device and construct the photovoltaic module plan layout diagram;

[0009] S04. Calculate the location confidence of each wireless communication device based on the distance between the interconnected wireless communication devices in the photovoltaic module plan layout diagram, select the multiple wireless communication devices with the highest location confidence and use them together with the initial wireless communication base station as the current wireless communication base station, return to step S02 to reconstruct the photovoltaic module plan layout diagram, until the location confidence of each wireless communication device meets the preset requirements, and obtain the final photovoltaic module plan layout diagram.

[0010] As a further improvement to the method of the present invention, the calculation formula for calculating the distance between each wireless communication device and each current wireless communication base station based on the acquired information in step S02 is as follows:

[0011] P(d i )=P(d0)-10nlg(d i / d0)+Xσ

[0012] Where, d i To monitor the distance from the device to different wireless communication base stations, P(d) i ) is the distance d from the wireless communication base station i The signal strength of the monitoring device at a distance of d0 is P(d0), which is the signal strength at a distance of d0 from the wireless communication base station; n is the path attenuation index, and Xσ is a random variable with a zero mean and normal distribution and a standard deviation of σ.

[0013] As a further improvement to the method of the present invention, in step S03, the three target wireless communication base stations with the strongest received signal strength are selected from the current wireless communication base stations, and the location information of each wireless communication device is obtained by using a three-point positioning method based on the location information of the three target wireless communication base stations and the distance between other wireless communication devices and the three target wireless communication base stations.

[0014] As a further improvement to the method of the present invention, the positioning coordinates of the wireless communication device are obtained using the trilateration method according to the following formula:

[0015] (x i -x1) 2 +(y i-y1) 2 =d1 2 ;

[0016] (x i -x2) 2 +(y i -y2) 2 =d2 2 ;

[0017] (x i -x3) 2 +(y i -y3) 2 =d3 2

[0018] Among them, (x i y i Let (x1, y1), (x2, y2) and (x3, y3) be the coordinates of the wireless communication device to be located, (x1, y1), (x2, y2) and (x3, y3) be the coordinates of the three target wireless communication base stations, and d1, d2 and d3 be the distances between the wireless communication device to be located and the three target wireless communication base stations.

[0019] As a further improvement to the method of the present invention, step S04 includes:

[0020] S401. Calculate the distance between each target monitoring device in the photovoltaic module layout diagram and the monitoring device directly adjacent to that target monitoring device;

[0021] S402. Compare each distance calculated in step S401 with a preset distance to obtain a distance deviation value, and calculate the positioning reliability of each monitoring device based on the distance deviation value corresponding to each monitoring device;

[0022] S403. Determine whether the location confidence of each monitoring device is less than the preset confidence value. If so, select the multiple wireless communication devices with the highest location confidence and use them together with the initial wireless communication base station as the current wireless communication base station, and return to step S02. Otherwise, output the currently obtained photovoltaic module planar layout as the optimal photovoltaic module planar layout.

[0023] As a further improvement to the method of the present invention, in step S402, when the wireless communication device has multiple distance deviation values, the average value of all distance deviation values ​​or the total value of all distance deviation values ​​is used as the positioning reliability of the wireless communication device.

[0024] As a further improvement to the method of the present invention, the photovoltaic module planar layout diagram includes the ID number and location of each monitoring device. After step S04, when abnormal data is received, the specific location of the monitoring device that sent the abnormal data is marked and displayed in the photovoltaic module planar layout diagram according to the ID number of the monitoring device that sent the abnormal data.

[0025] The present invention also provides a photovoltaic module positioning and layout acquisition device, comprising:

[0026] The base station acquisition module is used to select the wireless communication devices of multiple photovoltaic modules at different edges of the photovoltaic module monitoring area as the initial wireless communication base stations.

[0027] The distance calculation module is used to obtain the location information of the current wireless communication base station, as well as the ID information of the wireless communication devices of other photovoltaic modules besides the current wireless communication base station and the RSSI value information of the received wireless signal. Based on the obtained information, the distance between each wireless communication device and the current wireless communication base station is calculated.

[0028] The initial base station determination module obtains the positioning information of each wireless communication device based on the location information of the current wireless communication base station and the distance between other wireless communication devices and the current wireless communication base station, and constructs a photovoltaic module plan layout diagram.

[0029] The optimization iteration module calculates the location confidence of each wireless communication device based on the distance between the interconnected wireless communication devices in the photovoltaic module plan layout diagram. It then selects the multiple wireless communication devices with the highest location confidence and uses them together with the initial point wireless communication base station as the current wireless communication base station. The module returns to the positioning calculation module to reconstruct the photovoltaic module plan layout diagram until the location confidence of each wireless communication device meets the preset requirements, thus obtaining the final photovoltaic module plan layout diagram.

[0030] The present invention also provides a computer device, including a processor and a memory, the memory being used to store a computer program, and the processor being used to execute the computer program to perform the method for obtaining the photovoltaic module positioning and layout.

[0031] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed, implements the method for obtaining the positioning and layout of photovoltaic modules.

[0032] Compared with the prior art, the advantages of the present invention are as follows: The present invention first identifies multiple wireless communication devices of photovoltaic modules as wireless communication base stations, then calculates the distance between the wireless communication devices of each photovoltaic module and the wireless communication base stations based on the magnitude of the received signal RSSI value, and then locates the position of each photovoltaic module based on the location information of the wireless communication base stations and the distance between the base stations and other communication devices. At the same time, the corresponding location confidence is determined based on the distance between each wireless communication device and its adjacent wireless communication devices. The location confidence is used to re-select new wireless communication base stations for optimization and iteration, so that the distance between each wireless communication device can gradually approach the actual preset distance. In this way, a positioning layout map of photovoltaic modules that approximates the actual layout map can be obtained, which effectively improves the positioning accuracy of photovoltaic modules and enables the rapid positioning and layout of large batches of photovoltaic modules. This facilitates the rapid and accurate positioning and repair of problematic photovoltaic modules, and greatly improves the efficiency of large-scale photovoltaic module repair, upgrading, etc. Attached Figure Description

[0033] Figure 1 This is a schematic diagram illustrating the implementation process of the photovoltaic module positioning and layout acquisition method in an embodiment of the present invention.

[0034] Figure 2 This is a detailed flowchart illustrating the process of obtaining the positioning and layout of photovoltaic modules in a specific application embodiment of the present invention.

[0035] Figure 3 This is a schematic diagram of the trilateration algorithm in an embodiment of the present invention. Detailed Implementation

[0036] The present invention will be further described below with reference to the accompanying drawings and specific preferred embodiments, but this does not limit the scope of protection of the present invention.

[0037] like Figure 1 As shown, the photovoltaic module positioning and layout acquisition method in this embodiment includes the following steps:

[0038] S01. Select wireless communication devices of multiple photovoltaic modules at different edges of the photovoltaic module monitoring area as the initial wireless communication base station;

[0039] S02. Obtain the location information of the current wireless communication base station, as well as the ID information of the wireless communication devices of other photovoltaic modules besides the current wireless communication base station, and the RSSI value information of the received wireless signal. Calculate the distance between each wireless communication device and the current wireless communication base station based on the obtained information.

[0040] S03. Based on the location information of the current wireless communication base station and the distance between other wireless communication devices and the current wireless communication base station, obtain the location information of each wireless communication device and construct the photovoltaic module plan layout diagram;

[0041] S04. Calculate the location confidence of each wireless communication device based on the distance between the interconnected wireless communication devices in the photovoltaic module plan layout diagram. Select the multiple wireless communication devices with the highest location confidence and use them together with the initial wireless communication base station as the current wireless communication base station. Return to step S02 to reconstruct the photovoltaic module plan layout diagram until the location confidence of each wireless communication device meets the preset requirements, and obtain the final photovoltaic module plan layout diagram.

[0042] This embodiment fully utilizes the wireless communication devices in each photovoltaic module for positioning. First, the wireless communication devices of multiple photovoltaic modules with known actual locations are identified as wireless communication base stations. Then, the distance between other wireless communication devices and the wireless communication base station is calculated based on the RSSI magnitude of the signals received by the wireless communication devices of each photovoltaic module. Subsequently, the position of each photovoltaic module is located based on the location information of the wireless communication base station and the distance between the base station and other wireless communication devices. Then, the corresponding positioning confidence level is determined based on the distance between each wireless communication device and its neighboring wireless communication devices. Multiple wireless communication devices with positioning confidence levels are selected and used as wireless communication base stations for optimization and iteration. This allows the distance between each wireless communication device to gradually approach the actual preset distance, effectively improving the positioning accuracy of photovoltaic modules and obtaining a photovoltaic module positioning layout map that approximates the actual layout map. It also effectively improves the efficiency of positioning large batches of photovoltaic modules, quickly realizing the positioning layout of large batches of photovoltaic modules. Therefore, when a photovoltaic module fails, it is convenient to quickly and accurately locate and repair the faulty photovoltaic module, greatly improving the efficiency of fault repair, upgrading, etc.

[0043] Typically, photovoltaic (PV) modules are equipped with monitoring devices. These devices typically contain Bluetooth modules to record the device's ID and location information. Multiple Bluetooth base stations are set up in the PV area. The Bluetooth modules in the PV module monitoring devices work in conjunction with these base stations to locate each PV module using the Bluetooth RSSI positioning method. Specifically, the Bluetooth modules send the received Bluetooth signal strength values ​​to a processor for RSSI positioning calculations or to a server for further processing to obtain location information. In this embodiment, the Bluetooth modules within the PV module monitoring devices are fully utilized as wireless communication devices. Multiple Bluetooth modules are first identified as Bluetooth base stations. Then, the location of each Bluetooth module is determined based on its distance from the base stations, thus locating the PV module. This eliminates the need for external Bluetooth base stations. By continuously adjusting the transmission positions of the base stations, the positioning positions of other Bluetooth modules are gradually adjusted, ultimately obtaining the precise location of the PV module. This improves the positioning accuracy of the PV module while effectively reducing costs.

[0044] In a specific application embodiment, the monitoring devices in three designated photovoltaic modules at different edges of the photovoltaic power station installation area are wirelessly controlled as the initial Bluetooth base station. The monitoring devices are equipped with Bluetooth modules and the Bluetooth broadcast mode is enabled.

[0045] In step S02 of this embodiment, the ID numbers of other monitoring devices and their received RSSI values ​​are obtained wirelessly. The distance from each wireless communication device to each current wireless communication base station is calculated using the RSSI algorithm. The calculation formula is as follows:

[0046] P(d i )=P(d0)-10nlg(d i / d0)+Xσ (1)

[0047] Where, d i To monitor the distance from the device to different wireless communication base stations, P(d) i ) is the distance d from the wireless communication base station i The signal strength of the monitoring device at a distance of d0 is P(d0), which is the signal strength at a distance of d0 from the wireless communication base station; n is the path attenuation index, and Xσ is a random variable with a zero mean and normal distribution and a standard deviation of σ.

[0048] In this embodiment, each monitoring device further filters the multiple Bluetooth signal RSSI values ​​received from any Bluetooth base station before sending them to the server. This effectively reduces the impact of external interference and improves the accuracy of the Bluetooth signal RSSI values. The filtering process can employ Gaussian filtering and / or mean filtering. When both are used together, the average value can be calculated from the two results, further improving the accuracy of the Bluetooth signal RSSI values.

[0049] In step S03 of this embodiment, the three target wireless communication base stations with the strongest received signal strength are selected from the current wireless communication base stations. Based on the location information of the three target wireless communication base stations and the distance between other wireless communication devices and the three target wireless communication base stations, the trilateration method is used to obtain the location information of each wireless communication device.

[0050] like Figure 3 As shown, the location coordinates of each wireless communication device are obtained using the trilateration method with three base stations R1 to R3, specifically according to the following formula:

[0051] (x i -x1) 2 +(y i -y1) 2 =d1 2 (2)

[0052] (x i -x2) 2 +(y i -y2) 2 =d2 2 (3)

[0053] (x i -x3) 2 +(y i -y3) 2 =d3 2 (4)

[0054] Among them, (x i y i Let (x1, y1), (x2, y2), and (x3, y3) be the coordinates of the wireless communication device to be located, and (x1, y1), (x2, y2), and (x3, y3) be the coordinates of the three target wireless communication base stations, respectively. Then, d1, d2, and d3 are the distances from the wireless communication device to the three target base stations, respectively. Through the above calculations, the position coordinates (x1, y1), i.e., the location point, can be obtained. i y i ).

[0055] In a specific application embodiment, the server first performs base station localization based on the preset location information between initial Bluetooth base stations (i.e., the actual measured location information) and a preset coordinate plane layout diagram to obtain the coordinate information of the corresponding Bluetooth base station, thus obtaining the initial coordinate plane layout diagram of each photovoltaic module within the photovoltaic power station. Then, it determines whether iterative optimization is needed based on the location reliability of the wireless communication devices of each photovoltaic module. The preset coordinate plane layout diagram uses any initial Bluetooth base station as the coordinate origin.

[0056] Step S04 in this embodiment includes:

[0057] S401. Calculate the distance between each target monitoring device in the photovoltaic module layout diagram and the monitoring device directly adjacent to that target monitoring device;

[0058] S402. Compare each distance calculated in step S401 with a preset distance to obtain a distance deviation value, and calculate the positioning reliability of each monitoring device based on the distance deviation value corresponding to each monitoring device;

[0059] S403. Determine whether the location confidence of each monitoring device is less than the preset confidence value. If so, select the multiple wireless communication devices with the highest location confidence and use them together with the initial wireless communication base station as the current wireless communication base station, and return to step S02. Otherwise, output the currently obtained photovoltaic module planar layout as the optimal photovoltaic module planar layout.

[0060] This embodiment compares the distance between each monitoring device and its adjacent monitoring devices with a preset actual distance to determine whether the photovoltaic module is closer to the actual preset distance, thereby obtaining the corresponding positioning confidence. Then, by judging the positioning confidence of each monitoring device, it is determined whether the positioning confidence of all monitoring devices (i.e., positioning points) meets the requirement of approximating the actual preset distance. If it meets the requirement, a positioning layout map of each photovoltaic module is obtained, which can approximate the actual photovoltaic module layout map. If it does not meet the requirement, multiple Bluetooth base stations with the highest confidence are selected for optimization and iteration, so that the obtained positioning layout map gradually approximates the actual layout map, realizing high-precision positioning of photovoltaic modules and meeting the needs of rapid and accurate positioning and repair of problematic photovoltaic modules.

[0061] In step S402 of this embodiment, when the wireless communication device has multiple distance deviation values, the average value of all distance deviation values ​​or the total value of all distance deviation values ​​is used as the positioning reliability of the wireless communication device.

[0062] In this embodiment, the photovoltaic module planar layout diagram includes the ID number and location of each monitoring device. After step S04, when abnormal data is received, the server can mark and display the specific location of the monitoring device that sent the abnormal data in the photovoltaic module planar layout diagram according to the ID number of the monitoring device that sent the abnormal data. Staff can view the photovoltaic module planar layout diagram through a mobile terminal APP for rapid repair and location processing, improving the efficiency of repairing abnormal photovoltaic modules.

[0063] like Figure 2 As shown, the following example illustrates the method for obtaining the positioning and layout of photovoltaic modules using a monitoring device (with an internal Bluetooth module) configured in the photovoltaic module as a wireless communication device in a specific application embodiment. The detailed steps are as follows:

[0064] Step 1: Power on all photovoltaic module monitoring devices (monitors) and wirelessly connect them to the backend server. The server wirelessly controls three designated monitoring devices in the photovoltaic modules (designated by preset monitoring device IDs) as initial Bluetooth base stations and enables Bluetooth broadcast mode. The initial Bluetooth base stations are located at different edges of the photovoltaic module installation area, i.e., controlling three monitoring devices at different edges of the photovoltaic power station installation area as Bluetooth base stations.

[0065] Step 2: The backend server issues a command to the location base station to activate Bluetooth broadcast mode, and other terminals report their RSSI values ​​with the three base stations respectively. The server obtains the ID number of other monitoring devices and their received Bluetooth signal RSSI values ​​wirelessly, and calculates the distance from the other monitoring devices to the different Bluetooth base stations using the RSSI algorithm.

[0066] Step 3: After importing the actual layout diagram of the photovoltaic modules of the power station into the background, first mark the location of the positioning base station, and then locate the intersection of the distance from each terminal (monitor) to the base station (three-point positioning / triangulation algorithm) onto the layout diagram to generate the photovoltaic module plan layout diagram.

[0067] Step 4: Calculate the distance between each monitoring device in the photovoltaic module layout diagram and its directly adjacent monitoring device, and compare each distance with a preset distance. This involves calculating the deviation between the distance between two positioning points and the preset distance, and obtaining the positioning reliability of each monitoring device using the absolute value of the deviation. The deviation values ​​are then plotted; a smaller deviation indicates higher positioning reliability. Higher positioning reliability or a smaller deviation indicates a more accurate distance between the monitoring device and other monitoring devices, and a closer approximation to the actual preset distance (0.5–1 meter).

[0068] Step 5: Determine if the confidence level of all positioning points is greater than the preset value. If yes, end the iteration. If no, select the three monitoring devices with the highest positioning confidence levels (excluding the base station) as the current Bluetooth base stations and return to Step 2 to perform iterative optimization. During each positioning adjustment (Step 2 and Step 3) calculation in the iterative optimization process, select the three with the strongest received signal strength from the six Bluetooth base stations received by the monitoring device (including three Bluetooth base stations and three Bluetooth base stations selected according to confidence level) for positioning calculation. Through iterative optimization calculation, gradually optimize the positioning position of the monitoring device in the photovoltaic module plan layout diagram, so that the detection distance is close to the actual preset distance, and finally obtain the optimal photovoltaic module plan layout diagram.

[0069] Step 6: The photovoltaic module layout diagram includes the ID number and location of each monitoring device. When an anomaly occurs, the server can mark the photovoltaic module layout diagram according to the ID of the monitoring device that sent the abnormal data. This allows staff to view the photovoltaic module layout diagram through a mobile terminal APP for quick repair and location processing, thereby improving the efficiency of repairing abnormal photovoltaic modules.

[0070] This invention also provides a photovoltaic module positioning and layout acquisition device, comprising:

[0071] The initial base station determination module is used to select the wireless communication devices of multiple photovoltaic modules at different edges of the photovoltaic module monitoring area as the initial wireless communication base stations.

[0072] The distance calculation module is used to obtain the location information of the current wireless communication base station, as well as the ID information of the wireless communication devices of other photovoltaic modules besides the current wireless communication base station and the RSSI value information of the received wireless signal. Based on the obtained information, the distance between each wireless communication device and the current wireless communication base station is calculated.

[0073] The positioning calculation module obtains the positioning information of each wireless communication device based on the current location information of the wireless communication base station and the distance between other wireless communication devices and the current wireless communication base station, and constructs a planar layout diagram of the photovoltaic module.

[0074] The optimization and iteration module calculates the location confidence of each wireless communication device based on the distance between the interconnected wireless communication devices in the photovoltaic module plan layout diagram. It then selects the multiple wireless communication devices with the highest location confidence and uses them together with the initial point wireless communication base station as the current wireless communication base station. The module returns to the location calculation module to reconstruct the photovoltaic module plan layout diagram until the location confidence of each wireless communication device meets the preset requirements, thus obtaining the final photovoltaic module plan layout diagram.

[0075] The photovoltaic module positioning and layout acquisition device in this embodiment corresponds one-to-one with the photovoltaic module positioning and layout acquisition method described above, and will not be described in detail here.

[0076] The present invention also provides a computer device, including a processor and a memory, the memory for storing a computer program and the processor for executing the computer program to perform a method such as a photovoltaic module positioning and layout acquisition method.

[0077] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed, implements a method for obtaining the positioning and layout of photovoltaic modules.

[0078] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the invention. Therefore, any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention should fall within the protection scope of the present invention.

Claims

1. A method for obtaining the positioning and layout of photovoltaic modules, characterized in that, Includes the following steps: S01. Select the wireless communication devices of multiple photovoltaic modules at different edges of the photovoltaic module monitoring area as the initial wireless communication base station; S02. Obtain the location information of the current wireless communication base station, as well as the ID information of the wireless communication devices of other photovoltaic modules besides the current wireless communication base station, and the RSSI value information of the received wireless signal. Calculate the distance between each wireless communication device and the current wireless communication base station based on the obtained information. S03. Based on the location information of the current wireless communication base station and the distance between other wireless communication devices and the current wireless communication base station, obtain the location information of each wireless communication device and construct the photovoltaic module plan layout diagram; S04. Calculate the location confidence of each wireless communication device based on the distance between the interconnected wireless communication devices in the photovoltaic module plan layout diagram, select the multiple wireless communication devices with the highest location confidence and use them together with the initial wireless communication base station as the current wireless communication base station, return to step S02 to reconstruct the photovoltaic module plan layout diagram, until the location confidence of each wireless communication device meets the preset requirements, and obtain the final photovoltaic module plan layout diagram.

2. The method for obtaining the positioning and layout of photovoltaic modules according to claim 1, characterized in that, In step S02, the formula for calculating the distance between each wireless communication device and each current wireless communication base station based on the acquired information is as follows: P(d i )=P(d0)-10nlg(d i / d0)+Xσ Where, d i To monitor the distance from the device to different wireless communication base stations, P(d) i ) is the distance d from the wireless communication base station i The signal strength of the monitoring device at a distance of d0 is P(d0), which is the signal strength at a distance of d0 from the wireless communication base station; n is the path attenuation index, and Xσ is a random variable with a zero mean and normal distribution and a standard deviation of σ.

3. The method for obtaining the positioning and layout of photovoltaic modules according to claim 1, characterized in that, In step S03, the three target wireless communication base stations with the strongest received signal strength are selected from the current wireless communication base stations. Based on the location information of the three target wireless communication base stations and the distance between other wireless communication devices and the three target wireless communication base stations, the location information of each wireless communication device is obtained using a three-point positioning method.

4. The method for obtaining the positioning and layout of photovoltaic modules according to claim 3, characterized in that, The location coordinates of the wireless communication device are obtained using the trilateration method according to the following formula: (x i -x1) 2 +(y i -y1) 2 =d1 2 ; (x i -x2) 2 +(y i -y2) 2 =d2 2 ; (x i -x3) 2 +(y i -y3) 2 =d3 2 Among them, (x i y i Let (x1, y1), (x2, y2) and (x3, y3) be the coordinates of the wireless communication device to be located, (x1, y1), (x2, y2) and (x3, y3) be the coordinates of the three target wireless communication base stations, and d1, d2 and d3 be the distances between the wireless communication device to be located and the three target wireless communication base stations.

5. The method for obtaining the positioning and layout of photovoltaic modules according to claim 1, characterized in that, The steps in step S04 include: S401. Calculate the distance between each target monitoring device in the photovoltaic module plan layout diagram and the monitoring device directly adjacent to that target monitoring device; S402. Compare each distance calculated in step S401 with a preset distance to obtain a distance deviation value, and calculate the positioning reliability of each monitoring device based on the distance deviation value corresponding to each monitoring device; S403. Determine whether the location confidence of each monitoring device is less than the preset confidence value. If so, select the multiple wireless communication devices with the highest location confidence and use them together with the initial wireless communication base station as the current wireless communication base station, and return to step S02. Otherwise, output the currently obtained photovoltaic module planar layout as the optimal photovoltaic module planar layout.

6. The method for obtaining the positioning and layout of photovoltaic modules according to claim 5, characterized in that, In step S402, when the wireless communication device has multiple distance deviation values, the average value of all distance deviation values ​​or the total value of all distance deviation values ​​is used as the positioning reliability of the wireless communication device.

7. The method for obtaining the positioning and layout of photovoltaic modules according to any one of claims 1 to 5, characterized in that, The photovoltaic module plan layout diagram includes the ID number and location of each monitoring device. After step S04, when abnormal data is received, the specific location of the monitoring device that sent the abnormal data is marked and displayed in the photovoltaic module plan layout diagram according to the ID number of the monitoring device that sent the abnormal data.

8. A photovoltaic module positioning and layout acquisition device, characterized in that, include: The initial base station determination module is used to select the wireless communication devices of multiple photovoltaic modules at different edges of the photovoltaic module monitoring area as the initial wireless communication base stations. The distance calculation module is used to obtain the location information of the current wireless communication base station, as well as the ID information of the wireless communication devices of other photovoltaic modules besides the current wireless communication base station and the RSSI value information of the received wireless signal. Based on the obtained information, the distance between each wireless communication device and the current wireless communication base station is calculated. The positioning calculation module obtains the positioning information of each wireless communication device based on the current location information of the wireless communication base station and the distance between other wireless communication devices and the current wireless communication base station, and constructs a planar layout diagram of the photovoltaic module. The optimization iteration module calculates the location confidence of each wireless communication device based on the distance between the interconnected wireless communication devices in the photovoltaic module plan layout diagram. It then selects the multiple wireless communication devices with the highest location confidence and uses them together with the initial point wireless communication base station as the current wireless communication base station. The module returns to the positioning calculation module to reconstruct the photovoltaic module plan layout diagram until the location confidence of each wireless communication device meets the preset requirements, thus obtaining the final photovoltaic module plan layout diagram.

9. A computer device comprising a processor and a memory, the memory being used to store a computer program, characterized in that, The processor is used to execute the computer program to perform the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed, it implements the method as described in any one of claims 1 to 7.