Micro-inverter self-organizing network method, device, terminal and storage medium
By acquiring data packets from microinverters, determining their location in the power grid, and generating grid connection instructions, the problem of low communication networking efficiency of microinverters is solved, and efficient and accurate self-organizing networks and power grid control are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-05
- Publication Date
- 2026-04-03
AI Technical Summary
Existing technologies for micro-inverter communication networking are inefficient and cumbersome to operate when the inverter access nodes change.
By acquiring multiple data packets, the location of the micro-inverter in the power grid is determined, and a grid access instruction is generated based on the location to achieve self-organizing network. The period coefficient is calculated using the communication channel and formula, and a suitable transmission interval is selected to make a location request. The clock is calibrated to ensure communication reliability.
It enables efficient inverter positioning and grid connection without human intervention, improving the accuracy of grid regulation and the reliability of communication.
Smart Images

Figure CN116599989B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of new energy power generation technology, and in particular to a method, device, terminal and storage medium for micro inverter self-organizing network. Background Technology
[0002] A micro-inverter generally refers to a photovoltaic (PV) power generation system with a power output of 2000 watts or less and featuring module-level MPPT (Maximum Power Point Tracking). Its full name is micro-PV grid-connected inverter. "Micro" is in contrast to traditional centralized inverters. Traditional PV inverters connect all the direct current (DC) generated by the PV cells under sunlight in series and parallel, then use a single inverter to convert the DC to AC and connect it to the grid. Micro-inverters, however, invert each module individually. Micro-inverters are particularly suitable for residential PV power stations. For example, in complex rooftop PV systems, they allow for flexible arrangement of PV panels according to the roof structure. Their advantages include independent MPPT control for each module, significantly improving overall efficiency, and avoiding the problems of high DC voltage, poor performance in low light, and the "weakest link" effect inherent in centralized inverters.
[0003] When a microinverter performs grid-connected inversion, it needs to be connected to the main power source. Its output is determined by the upper-level system based on the topology of the entire power grid and the node of the microinverter in the grid. The upper-level system then sends instructions through communication technology, and the microinverter generates electricity according to the instructions.
[0004] In existing technologies, before an inverter can be connected to the grid, it is necessary to first establish a communication connection with the upstream system and locate the inverter's node in the grid topology. These operations are performed manually, which is inefficient. Moreover, in existing technologies, when the inverter's access node changes, adaptive adjustments are required, which is cumbersome.
[0005] Therefore, it is necessary to develop and design a self-organizing network method for micro-inverters. Summary of the Invention
[0006] The present invention provides a method, apparatus, terminal and storage medium for self-organizing micro-inverters, which solves the problem of low efficiency in the communication networking process of micro-inverters in the prior art.
[0007] In a first aspect, embodiments of the present invention provide a method for self-organizing a micro-inverter network, comprising:
[0008] Acquire multiple data packets, wherein the multiple data packets are sent from multiple target micro-inverters, and the data packets represent the network access information of the target micro-inverters, indicating that the target inverters have joined the communication network;
[0009] The current location is determined based on the multiple data packets, wherein the current location represents the position of the microinverter to be connected to the grid in the power grid;
[0010] Send the current location and join the communication network according to the received network entry instruction, wherein the network entry instruction is generated based on the current location.
[0011] In one possible implementation, acquiring multiple data packets includes:
[0012] A communication channel is acquired, through which the microinverter communicates with the site;
[0013] Multiple transmission intervals are obtained based on the communication channel, wherein the transmission interval represents the time difference between two adjacent communications on the communication channel;
[0014] Initialize the interval value;
[0015] Coefficient calculation steps: Determine the periodic coefficient based on the first formula, the interval value, and the plurality of transmission intervals, wherein the first formula is:
[0016]
[0017] In the formula, For periodic coefficients, For the first of multiple transmission intervals One interval, For interval values;
[0018] If the period coefficient is less than the period coefficient threshold, the interval value is adjusted, and the process jumps to the coefficient calculation step.
[0019] Based on the interval value, select the sending interval with the largest interval to send the location request.
[0020] In one possible implementation, the plurality of data packets includes a plurality of first data packets and a plurality of second data packets, wherein determining the current location based on the plurality of data packets includes:
[0021] Based on the plurality of first data packets, a plurality of first datasets corresponding to the plurality of first data packets are extracted respectively, wherein the first dataset includes the sending time of the first data packet and the location coordinates of the target inverter;
[0022] Multiple second formulas are constructed based on the multiple first datasets, wherein the second formulas are:
[0023]
[0024] In the formula, To receive the first The moment of each data packet To send the first The moment of each data packet The speed at which an electrical signal travels in a wire. For the first The first coordinate value of the target inverter For the first The second coordinate value of the target inverter To receive the first The moment of each data packet To send the first The moment of each data packet For the first The first coordinate value of the target inverter For the first The second coordinate value of the target inverter The first coordinate of the inverter to be connected to the grid. The second coordinate of the inverter to be connected to the grid;
[0025] Solving the multiple second formulas yields four undetermined positions;
[0026] Sending the four pending locations and receiving a plurality of second data packets, wherein the plurality of second data packets are generated based on the four pending locations;
[0027] Based on the plurality of second data packets, select one of the four pending locations as the current location.
[0028] In one possible implementation, solving the plurality of second formulas to obtain four undetermined positions includes:
[0029] The third formula is generated based on the second formula, wherein the third formula is:
[0030] ;
[0031] The two first coordinate solutions of the first coordinate of the inverter to be connected to the grid are determined according to the third formula;
[0032] Substitute each of the two first coordinate solutions into the second formula to obtain the two second coordinate solutions of the inverter to be connected to the grid.
[0033] Based on the two first coordinate solutions and the two second coordinate solutions corresponding to each of the two first coordinate solutions, four undetermined positions are determined.
[0034] In one possible implementation, the plurality of second data packets are generated based on the four pending locations, including:
[0035] Based on the four undetermined locations, four target inverters are determined as four target test inverters, wherein the four target test inverters are located at the minimum distance from the four undetermined locations.
[0036] Four second data packets are generated based on the first coordinate value, the second coordinate value, and the data packet transmission time of the four target test inverters.
[0037] In one possible implementation, after the step of selecting a location as the current location from the four pending locations based on the plurality of second data packets, the method further includes:
[0038] Based on the current location and the fifth formula, the time difference is determined, wherein the fifth formula is:
[0039]
[0040] In the formula, Time difference;
[0041] The clock is calibrated based on the time difference.
[0042] In one possible implementation, the network entry indication is generated based on the current location, including:
[0043] Generate an identification code and communication time node based on the current location;
[0044] The network access indication is generated based on the communication cycle, the identification code, and the communication time node.
[0045] Secondly, embodiments of the present invention provide a micro-inverter self-organizing network device for implementing the micro-inverter self-organizing network method as described in the first aspect or any possible implementation thereof, the micro-inverter self-organizing network device comprising:
[0046] The data packet acquisition module is used to acquire multiple data packets, wherein the multiple data packets are sent from multiple target micro-inverters, and the data packets represent the network access information of the target micro-inverters, indicating that the target inverters have joined the communication network;
[0047] The positioning module is used to determine the current location based on the multiple data packets, wherein the current location represents the position of the micro-inverter to be connected to the grid in the power grid;
[0048] as well as,
[0049] The network entry module is used to send the current location and join the communication network according to the received network entry instruction, wherein the network entry instruction is generated based on the current location.
[0050] Thirdly, embodiments of the present invention provide a terminal, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the steps of the method as described in the first aspect or any possible implementation of the first aspect.
[0051] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method as described in the first aspect or any possible implementation thereof.
[0052] The beneficial effects of the embodiments of the present invention compared with the prior art are as follows:
[0053] This invention discloses a self-organizing network method for micro-inverters. First, it acquires multiple data packets from multiple target micro-inverters, each packet representing the target micro-inverter's network access information, indicating that the target inverter has already joined the communication network. Then, it determines the current location based on the data packets, where the current location represents the position of the micro-inverter to be connected to the network within the power grid. Finally, it sends the current location and a received network access instruction to join the communication network, where the network access instruction is generated based on the current location. This invention uses the location information sent by already connected inverters to locate the inverter to be connected. After the connected inverter completes its location, it sends the location information to the master station, which assigns an identifier code and communication time node. The entire process requires no manual intervention, resulting in high efficiency. Because the grid node where the inverter is located can be determined, the master station can adjust the grid operation status based on the inverter's state, leading to more accurate control. This invention can also perform time calibration on the inverter, ensuring communication reliability. Attached Figure Description
[0054] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0055] Figure 1 This is a flowchart of the micro-inverter self-organizing network method provided in the embodiments of the present invention;
[0056] Figure 2 This invention provides a power grid topology diagram for applications with multiple new energy power plants.
[0057] Figure 3This is a functional block diagram of the micro inverter self-organizing network device provided in the embodiments of the present invention;
[0058] Figure 4 This is a terminal function block diagram provided by an embodiment of the present invention. Detailed Implementation
[0059] In the following description, specific details such as particular system structures and techniques are set forth for illustrative purposes and not for limitation, so as to provide a thorough understanding of embodiments of the invention. However, those skilled in the art will understand that the invention can be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, and methods are omitted so as not to obscure the description of the invention with unnecessary detail.
[0060] To make the objectives, technical solutions, and advantages of the present invention clearer, specific embodiments will be described below in conjunction with the accompanying drawings.
[0061] The embodiments of the present invention will be described in detail below. This example is implemented based on the technical solution of the present invention, and provides detailed implementation methods and specific operation processes. However, the protection scope of the present invention is not limited to the following embodiments.
[0062] Figure 1 A flowchart of a micro-inverter self-organizing network method provided for an embodiment of the present invention.
[0063] like Figure 1 As shown, a flowchart illustrating the implementation of the micro-inverter self-organizing network method provided by an embodiment of the present invention is illustrated below:
[0064] In step 101, multiple data packets are acquired, wherein the multiple data packets are sent from multiple target micro-inverters, and the data packets represent the network access information of the target micro-inverters, indicating that the target inverters have joined the communication network.
[0065] In some embodiments, step 101 includes:
[0066] A communication channel is acquired, through which the microinverter communicates with the site;
[0067] Multiple transmission intervals are obtained based on the communication channel, wherein the transmission interval represents the time difference between two adjacent communications on the communication channel;
[0068] Initialize the interval value;
[0069] Coefficient calculation steps: Determine the periodic coefficient based on the first formula, the interval value, and the plurality of transmission intervals, wherein the first formula is:
[0070]
[0071] In the formula, For periodic coefficients, For the first of multiple transmission intervals One interval, For interval values;
[0072] If the period coefficient is less than the period coefficient threshold, the interval value is adjusted, and the process jumps to the coefficient calculation step.
[0073] Based on the interval value, select the sending interval with the largest interval to send the location request.
[0074] For example, such as Figure 2 As shown in the figure, the power grid topology diagram of the application of multiple new energy power plants provided by the embodiment of the present invention is illustrated. In the figure, the main power source 201 acts as the master station and communicates with multiple terminals through power line communication (PLC). In this power grid, the main power source 201 is connected to multiple feeders 203 through bus 202. The load 205 obtains power through feeders 203. The inverters 204 of the distributed generation (DG) are connected to the grid through feeders 203. The main power source 201 is equipped with a master station communication module, which communicates with multiple inverters 204 through bus 202 and feeders 203. Since there are many nodes and terminals in the power grid, communication needs to comply with predetermined rules to ensure the reliability and timeliness of communication. When a new distributed generation inverter 206 is connected to the power grid, it needs to address the issues of joining the communication network and informing the master station of its location to facilitate joining the communication network. In addition, based on the network topology and overall power flow, control instructions are given to multiple distributed generation sources.
[0075] Based on this, the present invention first provides a communication rule in which a communication time node is allocated to each inverter that has been connected to the network. In addition, some time nodes are reserved so that newly connected inverters can send handshake signals. These time nodes are periodic, for example, with a period of 0.5 seconds and a time node every 5 milliseconds, multiple inverters are given communication time nodes. The remaining 20 millisecond gap is for newly connected inverters to send handshake signals.
[0076] To determine this period, embodiments of the present invention capture multiple time intervals on the communication channel and calculate the period coefficient using a first formula:
[0077]
[0078] In the formula, For periodic coefficients, For the first of multiple transmission intervals One interval, For interval values;
[0079] When the interval value in the first formula matches the period, the period coefficient reaches its maximum, which is close to 1. Based on the interval value and multiple transmission intervals, the period is determined, and then the longest interval is selected from the period to send the positioning request (handshake request).
[0080] In step 102, the current location is determined based on the plurality of data packets, wherein the current location represents the position of the micro-inverter to be connected to the grid in the power grid.
[0081] In some embodiments, the plurality of data packets includes a plurality of first data packets and a plurality of second data packets, and step 102 includes:
[0082] Based on the plurality of first data packets, a plurality of first datasets corresponding to the plurality of first data packets are extracted respectively, wherein the first dataset includes the sending time of the first data packet and the location coordinates of the target inverter;
[0083] Multiple second formulas are constructed based on the multiple first datasets, wherein the second formulas are:
[0084]
[0085] In the formula, To receive the first The moment of each data packet To send the first The moment of each data packet The speed at which an electrical signal travels in a wire. For the first The first coordinate value of the target inverter For the first The second coordinate value of the target inverter To receive the first The moment of each data packet To send the first The moment of each data packet For the first The first coordinate value of the target inverter For the first The second coordinate value of the target inverter The first coordinate of the inverter to be connected to the grid. The second coordinate of the inverter to be connected to the grid;
[0086] Solving the multiple second formulas yields four undetermined positions;
[0087] Sending the four pending locations and receiving a plurality of second data packets, wherein the plurality of second data packets are generated based on the four pending locations;
[0088] Based on the plurality of second data packets, a position is selected as the current position from the four undetermined positions.
[0089] In some implementations, solving the plurality of second formulas to obtain four undetermined positions includes:
[0090] The third formula is generated based on the second formula, wherein the third formula is:
[0091] ;
[0092] The two first coordinate solutions of the first coordinate of the inverter to be connected to the grid are determined according to the third formula;
[0093] Substitute each of the two first coordinate solutions into the second formula to obtain the two second coordinate solutions of the inverter to be connected to the grid.
[0094] Based on the two first coordinate solutions and the two second coordinate solutions corresponding to each of the two first coordinate solutions, four undetermined positions are determined.
[0095] In some implementations, the plurality of second data packets are generated based on the four pending locations, including:
[0096] Based on the four undetermined locations, four target inverters are determined as four target test inverters, wherein the four target test inverters are located at the minimum distance from the four undetermined locations.
[0097] Four second data packets are generated based on the first coordinate value, the second coordinate value, and the data packet transmission time of the four target test inverters.
[0098] In some implementations, after the step of selecting a location as the current location from the four pending locations based on the plurality of second data packets, the method further includes:
[0099] Based on the current location and the fifth formula, the time difference is determined, wherein the fifth formula is:
[0100]
[0101] In the formula, Time difference;
[0102] The clock is calibrated based on the time difference.
[0103] For example, after receiving a location request, the master station will issue a command to several grid-connected inverters to send data packets. These data packets include the location information of these grid-connected inverters and the time of data packet transmission. Based on these data packets, a second formula can be constructed:
[0104]
[0105] In the formula, To receive the first The moment of each data packet To send the first The moment of each data packet The speed at which an electrical signal travels in a wire. For the first The first coordinate value of the target inverter For the first The second coordinate value of the target inverter To receive the first The moment of each data packet To send the first The moment of each data packet For the first The first coordinate value of the target inverter For the first The second coordinate value of the target inverter The first coordinate of the inverter to be connected to the grid. The second coordinate of the inverter to be connected to the grid.
[0106] This formula expresses the relationship between the locations of newly connected inverters and existing grid-connected inverters. By solving this formula, four possible location points can be obtained. One solution method is to generate the third formula based on the second formula:
[0107]
[0108] In this third formula, the first coordinate of the inverter to be connected to the grid is determined by the time difference. This can avoid the positioning deviation caused by the inaccuracy of the inverter's clock. For example, if the current time is eight o'clock, but the inverter to be connected to the grid is seven o'clock, if the second formula is used, the calculation deviation on the left side of the formula will be large. However, if the time difference method is used, and the clock accuracy of the inverter to be connected to the grid is guaranteed, then the accuracy of the above data can be guaranteed.
[0109] Solving the third formula yields two possible first coordinate solutions. Solving these two first coordinate solutions further determines four second coordinate solutions, thus obtaining four undetermined positions.
[0110] The four pending locations are sent to the main station. The main station will find the four grid-connected inverters that are closest to the four pending locations. These inverters will then send location messages again. The inverters to be connected to the grid are arranged according to the order in which they receive the location messages. The first grid-connected inverter to receive the message is taken as the neighboring inverter. Based on the location of this neighboring inverter, one of the four locations is determined as the current location.
[0111] Furthermore, after determining the location of the inverter to be connected to the grid, the time difference between the inverter and the master station can be determined using the fifth formula:
[0112]
[0113] In the formula, Time difference;
[0114] Based on this time difference, the clock of the inverter to be connected to the grid is corrected so that the clock of the inverter to be connected to the grid is consistent with the clock in the communication network.
[0115] In step 103, the current location is sent and the network is joined according to the received network entry instruction, wherein the network entry instruction is generated based on the current location.
[0116] In some embodiments, step 103 includes:
[0117] Generate an identification code and communication time node based on the current location;
[0118] The network access indication is generated based on the communication cycle, the identification code, and the communication time node.
[0119] For example, once the current location is determined, it can be sent to the master station. The master station determines the feeder and the specific location on the feeder based on the location, assigns an identification code based on this location, and adds communication time nodes to the aforementioned communication cycle. These communication cycles, identification codes, and communication time nodes are added to the network access instruction and sent to the inverter to be connected to the network. The inverter to be connected to the network joins the communication network based on these instruction information.
[0120] This invention discloses a method for self-organizing micro-inverters. First, it acquires multiple data packets from multiple target micro-inverters, each packet representing the target micro-inverter's network access information, indicating that the target inverter has joined the communication network. Then, it determines the current location based on the data packets, where the current location represents the position of the micro-inverter to be connected to the network within the power grid. Finally, it sends the current location and a received network access instruction to join the communication network, generated based on the current location. This invention uses the location information sent by already connected inverters to locate the inverter to be connected. After the inverter completes its location, it sends the location information to the master station, which assigns an identifier and communication time node. The entire process requires no manual intervention, resulting in high efficiency. Because the grid node where the inverter is located can be determined, the master station can adjust the grid operation status based on the inverter's state, leading to more accurate control. This invention also allows for time calibration of the inverter, ensuring communication reliability.
[0121] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0122] The following are embodiments of the apparatus of the present invention. For details not described in detail, please refer to the corresponding method embodiments described above.
[0123] Figure 3 This is a functional block diagram of the micro inverter self-organizing network device provided in the embodiments of the present invention, with reference to... Figure 3 The micro inverter self-organizing network device includes: a data packet acquisition module 301, a positioning module 302, and a network access module 303, wherein:
[0124] The data packet acquisition module 301 is used to acquire multiple data packets, wherein the multiple data packets are sent from multiple target micro-inverters, and the data packets represent the network access information of the target micro-inverters, indicating that the target inverters have joined the communication network.
[0125] The positioning module 302 is used to determine the current position based on the multiple data packets, wherein the current position represents the position of the micro inverter to be connected to the grid in the power grid;
[0126] The network entry module 303 is used to send the current location and join the communication network according to the received network entry instruction, wherein the network entry instruction is generated based on the current location.
[0127] Figure 4 This is a functional block diagram of the terminal provided in an embodiment of the present invention. For example... Figure 4As shown, the terminal 4 in this embodiment includes a processor 400 and a memory 401, wherein the memory 401 stores a computer program 402 that can run on the processor 400. When the processor 400 executes the computer program 402, it implements the steps of the various micro-inverter self-organizing network methods and embodiments described above, for example... Figure 1 Steps 101 to 103 are shown.
[0128] For example, the computer program 402 may be divided into one or more modules / units, which are stored in the memory 401 and executed by the processor 400 to complete the present invention.
[0129] The terminal 4 can be a computing device such as a desktop computer, laptop, handheld computer, or cloud server. The terminal 4 may include, but is not limited to, a processor 400 and a memory 401. Those skilled in the art will understand that... Figure 4 This is merely an example of terminal 4 and does not constitute a limitation on terminal 4. It may include more or fewer components than shown, or combine certain components, or different components. For example, terminal 4 may also include input / output devices, network access devices, buses, etc.
[0130] The processor 400 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0131] The memory 401 can be an internal storage unit of the terminal 4, such as a hard disk or memory of the terminal 4. The memory 401 can also be an external storage device of the terminal 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the terminal 4. Furthermore, the memory 401 can include both internal storage units and external storage devices of the terminal 4. The memory 401 is used to store the computer program 402 and other programs and data required by the terminal 4. The memory 401 can also be used to temporarily store data that has been output or will be output.
[0132] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the aforementioned method embodiments, and will not be repeated here.
[0133] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0134] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0135] In the embodiments provided by this invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0136] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0137] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0138] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above-described embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various methods and apparatus embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0139] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method for self-organizing a micro-inverter network, characterized in that, include: Acquire multiple data packets, wherein the multiple data packets are sent from multiple target micro-inverters, the data packets represent the network access information of the target micro-inverters, the target inverters have joined the communication network, and the multiple data packets include multiple first data packets and multiple second data packets; Determining the current location based on the multiple data packets includes: Based on the plurality of first data packets, a plurality of first datasets corresponding to the plurality of first data packets are extracted respectively, wherein the first dataset includes the sending time of the first data packet and the location coordinates of the target inverter; Multiple second formulas are constructed based on the multiple first datasets, wherein the second formulas are: In the formula, To receive the first The moment of each data packet To send the first The moment of each data packet The speed at which an electrical signal travels in a conductor. For the first The first coordinate value of the target inverter For the first The second coordinate value of the target inverter To receive the first The moment of each data packet To send the first The moment of each data packet For the first The first coordinate value of the target inverter For the first The second coordinate value of the target inverter The first coordinate of the inverter to be connected to the grid. The second coordinate of the inverter to be connected to the grid; Solving the multiple second formulas yields four undetermined positions; Sending the four pending locations and receiving a plurality of second data packets, wherein the plurality of second data packets are generated based on the four pending locations; Based on the plurality of second data packets, a position is selected from the four pending positions as the current position, wherein the current position represents the position of the micro-inverter to be connected to the grid in the power grid; Send the current location and join the communication network according to the received network entry instruction, wherein the network entry instruction is generated based on the current location; The plurality of second data packets are generated based on the four undetermined locations, including: Based on the four undetermined locations, four target inverters are determined as four target test inverters, wherein the four target test inverters are located at the minimum distance from the four undetermined locations. Four second data packets are generated based on the first and second coordinate values of the four target test inverters and the data packet transmission time.
2. The micro-inverter self-organizing network method according to claim 1, characterized in that, The acquisition of multiple data packets includes: A communication channel is acquired, through which the microinverter communicates with the site; Multiple transmission intervals are obtained based on the communication channel, wherein the transmission interval represents the time difference between two adjacent communications on the communication channel; Initialize the interval value; Coefficient calculation steps: Determine the periodic coefficient based on the first formula, the interval value, and the plurality of transmission intervals, wherein the first formula is: In the formula, For periodic coefficients, For the first of multiple transmission intervals One interval, For interval values; If the period coefficient is less than the period coefficient threshold, the interval value is adjusted, and the process jumps to the coefficient calculation step. Based on the interval value, select the sending interval with the largest interval to send the location request.
3. The micro-inverter self-organizing network method according to claim 1, characterized in that, Solving the plurality of second formulas yields four undetermined positions, including: The third formula is generated based on the second formula, wherein the third formula is: ; The two first coordinate solutions of the first coordinate of the inverter to be connected to the grid are determined according to the third formula; Substitute each of the two first coordinate solutions into the second formula to obtain the two second coordinate solutions of the inverter to be connected to the grid. Based on the two first coordinate solutions and the two second coordinate solutions corresponding to each of the two first coordinate solutions, four undetermined positions are determined.
4. The micro-inverter self-organizing network method according to claim 1, characterized in that, After the step of selecting a location as the current location from the four pending locations based on the plurality of second data packets, the method further includes: Based on the current location and the fifth formula, the time difference is determined, wherein the fifth formula is: In the formula, Time difference; The clock is calibrated based on the time difference.
5. The micro-inverter self-organizing network method according to any one of claims 1-4, characterized in that, The network access instruction is generated based on the current location and includes: Generate an identification code and communication time node based on the current location; The network access indication is generated based on the communication cycle, the identification code, and the communication time node.
6. A micro inverter self-organizing network device, characterized in that, For implementing the micro-inverter self-organizing network method as described in any one of claims 1-5, the micro-inverter self-organizing network device comprises: The data packet acquisition module is used to acquire multiple data packets, wherein the multiple data packets are sent from multiple target micro-inverters, and the data packets represent the network access information of the target micro-inverters, indicating that the target inverters have joined the communication network; The positioning module is used to determine the current location based on the multiple data packets, wherein the current location represents the position of the micro-inverter to be connected to the grid in the power grid; as well as, The network entry module is used to send the current location and join the communication network according to the received network entry instruction, wherein the network entry instruction is generated based on the current location.
7. A terminal comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 5 above.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 5 above.
Citation Information
Patent Citations
Distributed power distribution network and node device in distributed power grid
CN108494001A
Network coverage data processing method and device, medium and electronic equipment
CN113365305A