CN116599989A - Micro inverter ad hoc network method, device, terminal and storage medium - Google Patents
Micro inverter ad hoc network method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN116599989A CN116599989A CN202310657705.XA CN202310657705A CN116599989A CN 116599989 A CN116599989 A CN 116599989A CN 202310657705 A CN202310657705 A CN 202310657705A CN 116599989 A CN116599989 A CN 116599989A
- Authority
- CN
- China
- Prior art keywords
- inverter
- data packets
- micro
- network
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000004891 communication Methods 0.000 claims abstract description 62
- 230000005540 biological transmission Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 17
- 238000012360 testing method Methods 0.000 claims description 9
- 230000006855 networking Effects 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 6
- 238000010248 power generation Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000001902 propagating effect Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000007935 neutral effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Power Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application relates to the technical field of new energy power generation, in particular to a micro-inverter ad hoc network method, a device, a terminal and a storage medium; then determining the current position according to the data packets; and finally, sending the current position and joining the communication network according to the received network access instruction. According to the embodiment of the application, the inverter to be network-connected is positioned through the position information sent by the inverter which is network-connected, after the network-connected inverter is positioned, the positioning information is sent to the master station, the master station allocates the identification code and the communication time node, manual intervention is not needed in the whole process, the efficiency is high, and the master station can adjust the running state of the power grid according to the state of the inverter because the power grid node where the inverter is located can be determined, and the regulation and control are more accurate.
Description
Technical Field
The application relates to the technical field of new energy power generation, in particular to a micro-inverter ad hoc network method, a micro-inverter ad hoc network device, a micro-inverter terminal and a storage medium.
Background
The micro inverter is generally referred to as a micro grid-connected photovoltaic inverter, and the micro inverter is an inverter with power of 2000 watts or less and module level MPPT (Maximum Power Point Tracking ) in a photovoltaic power generation system. The "mini" is relative to a conventional centralized inverter. The traditional photovoltaic inversion mode is to connect all direct currents generated by all photovoltaic cells under the irradiation of sunlight in series and parallel, and then invert the direct currents into alternating currents through an inverter to be connected into a power grid; the micro inverter inverts each module. The micro inverter is particularly suitable for a photovoltaic power station for household use, for example, the micro inverter is applied to a complex roof photovoltaic system, and photovoltaic power generation plates can be freely arranged according to the structure of a roof.
When the micro inverter performs networking inversion, the micro inverter needs to be connected with a main power supply in a grid mode, the output of the micro inverter is determined by a superior system according to the topological structure of the whole power grid and nodes of the micro inverter in the power grid, the superior system sends an instruction through a communication technology means, and the micro inverter performs grid-connected power generation according to the instruction.
In the prior art, the inverter needs to be connected with an upper system in a communication way and the problem of positioning the inverter at a topological node of a power grid before grid connection is solved, the operations are performed by a manual means, the efficiency is low, and in the prior art, when the access node of the inverter is changed, the inverter needs to be adaptively adjusted and the operation is complex.
Based on the above, a micro inverter ad hoc network method needs to be developed and designed.
Disclosure of Invention
The embodiment of the application provides a micro-inverter ad hoc network method, a device, a terminal and a storage medium, which are used for solving the problem of low efficiency in the communication networking process of the micro-inverter in the prior art.
In a first aspect, an embodiment of the present application provides a micro inverter ad hoc network method, including:
acquiring a plurality of data packets, wherein the data packets are sent out from a plurality of target micro-inverters, the data packets represent network access information of the target micro-inverters, and the target inverters are added into a communication network;
determining a current position according to the data packets, wherein the current position represents the position of a micro inverter to be connected to a network in a power grid;
and sending the current position and joining the communication network according to the received network access instruction, wherein the network access instruction is generated according to the current position.
In one possible implementation manner, the acquiring a plurality of data packets includes:
acquiring a communication channel, wherein the micro inverter communicates with a station through the communication channel;
acquiring a plurality of transmission intervals based on the communication channel, wherein the transmission intervals characterize a time difference between two adjacent communications on the communication channel;
initializing an interval value;
and a coefficient calculating step: determining a period coefficient according to a first formula, an interval value and the plurality of transmission intervals, wherein the first formula is that
Wherein PC is a period coefficient, interval () is an a-th interval of a plurality of transmission intervals, and A is an interval value;
if the period coefficient is smaller than the period coefficient threshold value, the interval value is adjusted, and the step of calculating the coefficient is skipped;
and selecting a transmission interval with the largest interval to transmit a positioning request according to the interval value.
In one possible implementation manner, the plurality of data packets includes a plurality of first data packets and a plurality of second data packets, and determining the current position according to the plurality of data packets includes:
respectively extracting a plurality of first data sets corresponding to the plurality of first data packets according to the plurality of first data packets, wherein the first data sets comprise the sending time of the first data packets and the position coordinates of a target inverter;
constructing a plurality of second formulas according to the plurality of first data sets, wherein the second formulas are as follows:
wherein Tn is the time of receiving the nth data packet, tn is the time of transmitting the nth data packet, V is the speed of the electric signal propagating in the wire, xn is the first coordinate value of the nth target inverter, yn is the second coordinate value of the nth target inverter, tm is the time of receiving the mth data packet, tm is the time of transmitting the mth data packet, xm is the first coordinate value of the mth target inverter, ym is the second coordinate value of the mth target inverter, X is the first coordinate of the inverter to be network-connected, and Y is the second coordinate of the inverter to be network-connected;
solving the plurality of second formulas to obtain four undetermined positions;
transmitting 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;
and selecting one position from the four undetermined positions as a current position according to the data packets.
In one possible implementation manner, the solving the plurality of second formulas to obtain four pending positions includes:
generating a third formula according to the second formula, wherein the third formula is:
(n-m-n+m)×V=|Yn|-|Ym|±(2X-Xm-n);
determining two first coordinate solutions of the first coordinates of the to-be-networked inverter according to the third formula;
substituting each coordinate solution in the two first coordinate solutions into the second formula to obtain two second coordinate solutions of the to-be-networked inverter;
and determining four undetermined positions according to the two first coordinate solutions and two second coordinate solutions corresponding to each of the two first coordinate solutions.
In one possible implementation, the generating the plurality of second data packets based on the four pending locations includes:
determining four target inverters as four target test inverters based on the four undetermined positions, wherein the four target test inverters are respectively the smallest in distance from the four undetermined positions;
and generating four second data packets according to the one coordinate value, the second coordinate value and the data packet sending time of the four target test inverters.
In one possible implementation manner, after the step of selecting one location from the four pending locations according to the plurality of data packets as the current location, the method further includes:
determining a time difference according to the current position and a fifth formula, wherein the fifth formula is as follows:
wherein Δt is the time difference;
and checking the clock according to the time difference.
In one possible implementation, the network entry indication is generated according to the current location, including:
generating an identification code and a communication time node according to the current position;
and generating the network access instruction according to the communication period, the identification code and the communication time node.
In a second aspect, an embodiment of the present application provides a micro-inverter ad hoc network device, configured to implement the micro-inverter ad hoc network method according to the first aspect or any one of the possible implementation manners of the first aspect, where the micro-inverter ad hoc network device includes:
the data packet acquisition module is used for acquiring a plurality of data packets, wherein the data packets are sent out from a plurality of target micro-inverters, the data packets represent network access information of the target micro-inverters, and the target inverters are added into a communication network;
the positioning module is used for determining the current position according to the data packets, wherein the current position represents the position of the micro inverter to be accessed into the network in the power grid;
the method comprises the steps of,
and the network access module is used for sending the current position and joining the communication network according to the received network access instruction, wherein the network access instruction is generated according to the current position.
In a third aspect, an embodiment of the present application provides a terminal, including a memory and a processor, where the memory stores a computer program executable on the processor, and where the processor implements the steps of the method according to the first aspect or any one of the possible implementations of the first aspect when the processor executes the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method as described above in the first aspect or any one of the possible implementations of the first aspect.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
the application discloses a micro-inverter ad hoc network method, which comprises the steps of firstly, acquiring a plurality of data packets, wherein the data packets are sent out from a plurality of target micro-inverters, the data packets represent network access information of the target micro-inverters, and the target inverters are added into a communication network; then, determining a current position according to the data packets, wherein the current position represents the position of the micro inverter to be connected to the network in the power grid; and finally, sending the current position and adding the current position into the communication network according to the received network access instruction, wherein the network access instruction is generated according to the current position. The embodiment of the application can also perform time calibration on the inverter, and ensure the reliability of communication.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments or the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a micro inverter ad hoc network method according to an embodiment of the present application;
FIG. 2 is a diagram of a power grid topology using a plurality of new energy power plants according to an embodiment of the present application;
FIG. 3 is a functional block diagram of a micro-inverter ad hoc network device according to an embodiment of the present application;
fig. 4 is a functional block diagram of a terminal according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following description will be made with reference to the accompanying drawings.
The following describes in detail the embodiments of the present application, and the present embodiment is implemented on the premise of the technical solution of the present application, and a detailed implementation manner and a specific operation procedure are given, but the protection scope of the present application is not limited to the following embodiments.
Fig. 1 is a flowchart of a micro inverter ad hoc network method according to an embodiment of the present application.
As shown in fig. 1, a flowchart for implementing the micro-inverter ad hoc network method according to the embodiment of the present application is shown in detail as follows:
in step 101, a plurality of data packets are acquired, wherein the plurality of data packets are sent from a plurality of target micro-inverters, the data packets represent network access information of the target micro-inverters, and the target micro-inverters are added to a communication network.
In some embodiments, the step 101 includes:
acquiring a communication channel, wherein the micro inverter communicates with a station through the communication channel;
acquiring a plurality of transmission intervals based on the communication channel, wherein the transmission intervals characterize a time difference between two adjacent communications on the communication channel;
initializing an interval value;
and a coefficient calculating step: determining a period coefficient according to a first formula, an interval value and the plurality of transmission intervals, wherein the first formula is that
Wherein PC is a period coefficient, interval () is an a-th interval of a plurality of transmission intervals, and A is an interval value;
if the period coefficient is smaller than the period coefficient threshold value, the interval value is adjusted, and the step of calculating the coefficient is skipped;
and selecting a transmission interval with the largest interval to transmit a positioning request according to the interval value.
As shown in fig. 2, an embodiment of the present application provides a power network topology structure diagram of a power station with multiple new energy sources, in which a main power source 201 is used as a main station, and is communicated with multiple terminals through a form of a power line carrier (PLC, power line Communication), in this power network, the main power source 201 is connected to multiple feeder lines 203 through a bus 202, loads 205 obtain electric energy through the feeder lines 203, inverters 204 of distributed power sources (DG, distributed Generation) are connected to each other through the feeder lines 203, a main power source 201 end is provided with a main station communication module, and communicates with multiple inverters 204 through the bus 202 and the feeder lines 203, because there are multiple nodes and multiple terminals in the power network, when the inverter 206 of a new distributed power source accesses the power network, it is required to face the problem of joining the communication network and informing the node where the main station is located, so as to facilitate joining the communication network, and according to the network topology and the overall power flow situation, a regulation and control instruction is required for the multiple distributed power sources.
Based on this, the embodiment of the present application provides a communication rule, in which a communication time node is allocated to each of the network-connected inverters, and further, some time nodes are reserved so as to facilitate the new network-connected inverter to send out handshake signals, where the time nodes are periodic, for example, with a period of 0.5 seconds, and each 5 milliseconds is a time node, and a plurality of inverter communication time nodes are given, where a neutral of 20 milliseconds remains so as to facilitate the new network-connected inverter to send out handshake signals.
To determine this period, embodiments of the present application capture a plurality of time intervals over a communication channel, calculate a period coefficient by a first equation:
wherein PC is a period coefficient, interval () is an a-th interval of a plurality of transmission intervals, and A is an interval value;
when the interval value of the first formula coincides with the period, the period coefficient reaches the maximum, and is a value close to 1. Based on the interval value and the plurality of transmission intervals, a period is determined, and a positioning request (handshake request) is transmitted at a selected maximum interval from the period.
In step 102, a current position is determined from the plurality of data packets, wherein the current position characterizes a position of a micro-inverter to be networked in a power grid.
In some embodiments, the plurality of data packets includes a plurality of first data packets and a plurality of second data packets, and the step 102 includes:
respectively extracting a plurality of first data sets corresponding to the plurality of first data packets according to the plurality of first data packets, wherein the first data sets comprise the sending time of the first data packets and the position coordinates of a target inverter;
constructing a plurality of second formulas according to the plurality of first data sets, wherein the second formulas are as follows:
wherein Tn is the time of receiving the nth data packet, tn is the time of transmitting the nth data packet, V is the speed of the electric signal propagating in the wire, xn is the first coordinate value of the nth target inverter, yn is the second coordinate value of the nth target inverter, tm is the time of receiving the mth data packet, tm is the time of transmitting the mth data packet, xm is the first coordinate value of the mth target inverter, ym is the second coordinate value of the mth target inverter, X is the first coordinate of the inverter to be network-connected, and Y is the second coordinate of the inverter to be network-connected;
solving the plurality of second formulas to obtain four undetermined positions;
transmitting 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;
selecting one position from the four undetermined positions as a current position according to the data packets
In some embodiments, the solving the plurality of second formulas to obtain four pending positions includes:
generating a third formula according to the second formula, wherein the third formula is:
(n-m-n+m)×V=|Yn|-|Ym|±(2X-Xm-n);
determining two first coordinate solutions of the first coordinates of the to-be-networked inverter according to the third formula;
substituting each coordinate solution in the two first coordinate solutions into the second formula to obtain two second coordinate solutions of the to-be-networked inverter;
and determining four undetermined positions according to the two first coordinate solutions and two second coordinate solutions corresponding to each of the two first coordinate solutions.
In some embodiments, the plurality of second data packets are generated based on the four pending locations, including:
determining four target inverters as four target test inverters based on the four undetermined positions, wherein the four target test inverters are respectively the smallest in distance from the four undetermined positions;
and generating four second data packets according to the one coordinate value, the second coordinate value and the data packet sending time of the four target test inverters.
In some embodiments, after the selecting one of the four pending locations as the current location based on the plurality of data packets, further comprising:
determining a time difference according to the current position and a fifth formula, wherein the fifth formula is as follows:
wherein Δt is the time difference;
and checking the clock according to the time difference.
For example, the master station, after receiving the positioning request, may send a command for a certain number of the network-connected inverters to send data packets, where the data packets include the location information of the several network-connected inverters, and the time of sending the data packets, and according to the data packets, may construct a second formula:
wherein Tn is the time of receiving the nth data packet, tn is the time of transmitting the nth data packet, V is the speed of the electric signal propagating in the wire, xn is the first coordinate value of the nth target inverter, yn is the second coordinate value of the nth target inverter, tm is the time of receiving the mth data packet, tm is the time of transmitting the mth data packet, xm is the first coordinate value of the mth target inverter, ym is the second coordinate value of the mth target inverter, X is the first coordinate of the inverter to be network-connected, and Y is the second coordinate of the inverter to be network-connected.
The formula is the relation between the expressed new network access inverter and the position of the network access inverter, four possible position points can be obtained by solving the formula, and in one solving mode, a third formula is generated according to the second formula:
(n-m-n+m)×V=|Yn|-|Ym|±(2X-Xm-n)
in the third formula, the first coordinate of the to-be-network-connected inverter is determined through the time difference, so that the problem of positioning deviation caused by inaccurate to-be-network-connected inverter clock can be avoided, for example, the current time is eight o 'clock, but the to-be-network-connected inverter is seven o' clock, if the second formula is adopted, the calculation deviation on the left side of the formula is large, and if the time difference mode is adopted, the accuracy of the data can be ensured if the clock accuracy of the to-be-network-connected inverter is ensured.
Solving the third formula can obtain two possible first coordinate solutions, and solving the two first coordinate solutions can determine four second coordinate solutions, so that four undetermined positions are obtained.
The four pending positions are sent to the master station, the master station can find four network-entered inverters closest to the four pending positions from the four positions, the inverters send position messages again respectively, the network-entered inverters are arranged according to the time of receiving the position messages, the network-entered inverter which is received first is used as an adjacent inverter, and one position is determined as the current position from the four positions according to the positions of the adjacent inverters.
In addition, after the position of the to-be-networked inverter is determined, the time difference between the to-be-networked inverter and the master station can be determined through a fifth formula:
wherein Δt is the time difference;
according to the time difference, the clock of the to-be-network-connected inverter is corrected so that the clock of the to-be-network-connected inverter is consistent with the clock in the communication network.
In step 103, the current location is sent and the communication network is joined according to a received network entry indication, wherein the network entry indication is generated according to the current location.
In some embodiments, the step 103 includes:
generating an identification code and a communication time node according to the current position;
and generating the network access instruction according to the communication period, the identification code and the communication time node.
When the current position is determined, the current position can be transmitted to the master station, the master station determines the feeder line where the master station is located according to the position, the specific position of the feeder line is located, the identification code is allocated according to the position, the communication time node is added in the communication period, the identification code and the communication time node are added in the network access instruction, the network access instruction is transmitted to the inverter to be accessed, and the network access inverter is added in the communication network according to the instruction information.
The application relates to an implementation mode of a micro-inverter ad hoc network method, which comprises the steps of firstly, acquiring a plurality of data packets, wherein the data packets are sent out from a plurality of target micro-inverters, the data packets represent network access information of the target micro-inverters, and the target inverters are added into a communication network; then, determining a current position according to the data packets, wherein the current position represents the position of the micro inverter to be connected to the network in the power grid; and finally, sending the current position and adding the current position into the communication network according to the received network access instruction, wherein the network access instruction is generated according to the current position. The embodiment of the application can also perform time calibration on the inverter, and ensure the reliability of communication.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
The following are device embodiments of the application, for details not described in detail therein, reference may be made to the corresponding method embodiments described above.
Fig. 3 is a functional block diagram of a micro-inverter ad hoc network device according to an embodiment of the present application, and referring to fig. 3, the micro-inverter ad hoc network device includes: a data packet acquisition module 301, a positioning module 302 and a network access module 303, wherein:
a data packet obtaining module 301, configured to obtain a plurality of data packets, where the plurality of data packets are sent from a plurality of target micro-inverters, and the data packets represent network access information of the target micro-inverters, and the target micro-inverters have joined a communication network;
the positioning module 302 is configured to determine a current position according to the plurality of data packets, where the current position represents a position of a micro inverter to be networked in a power grid;
and a network access module 303, configured to send the current location and join the communication network according to a received network access instruction, where the network access instruction is generated according to the current location.
Fig. 4 is a functional block diagram of a terminal according to an embodiment of the present application. As shown in fig. 4, the terminal 4 of this embodiment includes: a processor 400 and a memory 401, said memory 401 having stored therein a computer program 402 executable on said processor 400. The processor 400 implements the steps of the micro-inverter ad hoc networking method and embodiments described above, such as steps 101 through 103 shown in fig. 1, when executing the computer program 402.
By way of example, the computer program 402 may be partitioned into one or more modules/units that are stored in the memory 401 and executed by the processor 400 to accomplish the present application.
The terminal 4 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The terminal 4 may include, but is not limited to, a processor 400, a memory 401. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the terminal 4 and is not limiting of the terminal 4, and may include more or fewer components than shown, or may combine some components, or different components, e.g., the terminal 4 may further include input-output devices, network access devices, buses, etc.
The processor 400 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 401 may be an internal storage unit of the terminal 4, for example, a hard disk or a memory of the terminal 4. The memory 401 may also be an external storage device of the terminal 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal 4. Further, the memory 401 may also include both an internal storage unit and an external storage device of the terminal 4. The memory 401 is used for storing the computer program 402 and other programs and data required by the terminal 4. The memory 401 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, and will not be described herein again.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the details or descriptions of other embodiments may be referred to for those parts of an embodiment that are not described in detail or are described in detail.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other manners. For example, the apparatus/terminal embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on this understanding, the present application may also be implemented by implementing all or part of the procedures in the methods of the above embodiments, or by instructing the relevant hardware by a computer program, where the computer program may be stored in a computer readable storage medium, and the computer program may be implemented by implementing the steps of the embodiments of the methods and apparatuses described above when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
The above embodiments are only for illustrating the technical solution of the present application, and are not limited thereto; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and they should be included in the protection scope of the present application.
Claims (10)
1. A micro-inverter ad hoc network method, comprising:
acquiring a plurality of data packets, wherein the data packets are sent out from a plurality of target micro-inverters, the data packets represent network access information of the target micro-inverters, and the target inverters are added into a communication network;
determining a current position according to the data packets, wherein the current position represents the position of a micro inverter to be connected to a network in a power grid;
and sending the current position and joining the communication network according to the received network access instruction, wherein the network access instruction is generated according to the current position.
2. The micro-inverter ad hoc network method according to claim 1, wherein said obtaining a plurality of data packets comprises:
acquiring a communication channel, wherein the micro inverter communicates with a station through the communication channel;
acquiring a plurality of transmission intervals based on the communication channel, wherein the transmission intervals characterize a time difference between two adjacent communications on the communication channel;
initializing an interval value;
and a coefficient calculating step: determining a period coefficient according to a first formula, an interval value and the plurality of transmission intervals, wherein the first formula is that
Wherein PC is a period coefficient, interval (a) is an a-th interval of a plurality of transmission intervals, and A is an interval value;
if the period coefficient is smaller than the period coefficient threshold value, the interval value is adjusted, and the step of calculating the coefficient is skipped;
and selecting a transmission interval with the largest interval to transmit a positioning request according to the interval value.
3. The micro-inverter ad hoc network method according to claim 1, wherein said plurality of data packets comprises a plurality of first data packets and a plurality of second data packets, said determining a current location according to said plurality of data packets comprising:
respectively extracting a plurality of first data sets corresponding to the plurality of first data packets according to the plurality of first data packets, wherein the first data sets comprise the sending time of the first data packets and the position coordinates of a target inverter;
constructing a plurality of second formulas according to the plurality of first data sets, wherein the second formulas are as follows:
wherein t is n For the moment of receiving the nth data packet, T n For the time of transmitting the nth packet, V is the speed of propagation of the electrical signal in the wire, X n For the first coordinate value of the nth target inverter, Y n Is the second coordinate value, t, of the nth target inverter m For the moment of receiving the mth data packet, T m To transmit the mth packet, X m Is the first coordinate value of the mth target inverter, Y m For the second coordinate value of the mth target inverter, X is the first coordinate of the inverter to be networked, Y is the first coordinate of the inverter to be networkedA second coordinate of the inverter;
solving the plurality of second formulas to obtain four undetermined positions;
transmitting 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;
and selecting one position from the four undetermined positions as a current position according to the data packets.
4. The method of claim 3, wherein solving the plurality of second formulas to obtain four pending locations comprises:
generating a third formula according to the second formula, wherein the third formula is:
(t n -t m -T n +T m )×V=|Y n |-|Y m |±(2X-X m -X n );
determining two first coordinate solutions of the first coordinates of the to-be-networked inverter according to the third formula;
substituting each coordinate solution in the two first coordinate solutions into the second formula to obtain two second coordinate solutions of the to-be-networked inverter;
and determining four undetermined positions according to the two first coordinate solutions and two second coordinate solutions corresponding to each of the two first coordinate solutions.
5. The micro-inverter ad hoc networking method of claim 3, wherein the plurality of second data packets are generated based on the four pending locations, comprising:
determining four target inverters as four target test inverters based on the four undetermined positions, wherein the four target test inverters are respectively the smallest in distance from the four undetermined positions;
and generating four second data packets according to the one coordinate value, the second coordinate value and the data packet sending time of the four target test inverters.
6. The micro-inverter ad hoc network method according to claim 3, further comprising, after said selecting one of said four pending positions as a current position based on said plurality of data packets:
determining a time difference according to the current position and a fifth formula, wherein the fifth formula is as follows:
wherein Δt is the time difference;
and checking the clock according to the time difference.
7. The micro-inverter ad hoc network method according to any one of claims 1-6, wherein said network entry indication is generated according to said current location, comprising:
generating an identification code and a communication time node according to the current position;
and generating the network access instruction according to the communication period, the identification code and the communication time node.
8. A micro-inverter ad hoc network device for implementing the micro-inverter ad hoc network method according to any one of claims 1-7, comprising:
the data packet acquisition module is used for acquiring a plurality of data packets, wherein the data packets are sent out from a plurality of target micro-inverters, the data packets represent network access information of the target micro-inverters, and the target inverters are added into a communication network;
the positioning module is used for determining the current position according to the data packets, wherein the current position represents the position of the micro inverter to be accessed into the network in the power grid;
the method comprises the steps of,
and the network access module is used for sending the current position and joining the communication network according to the received network access instruction, wherein the network access instruction is generated according to the current position.
9. A terminal comprising a memory and a processor, the memory having stored therein a computer program executable on the processor, characterized in that the processor implements the steps of the method according to any of the preceding claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any of the preceding claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310657705.XA CN116599989A (en) | 2023-06-05 | 2023-06-05 | Micro inverter ad hoc network method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310657705.XA CN116599989A (en) | 2023-06-05 | 2023-06-05 | Micro inverter ad hoc network method, device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116599989A true CN116599989A (en) | 2023-08-15 |
Family
ID=87593658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310657705.XA Pending CN116599989A (en) | 2023-06-05 | 2023-06-05 | Micro inverter ad hoc network method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116599989A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117439970A (en) * | 2023-10-10 | 2024-01-23 | 深圳市佳合丰新能源科技有限公司 | Equipment address allocation method, battery energy storage system and related equipment |
CN117439972A (en) * | 2023-10-10 | 2024-01-23 | 深圳市佳合丰新能源科技有限公司 | Equipment address allocation method, battery energy storage system and related equipment |
-
2023
- 2023-06-05 CN CN202310657705.XA patent/CN116599989A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117439970A (en) * | 2023-10-10 | 2024-01-23 | 深圳市佳合丰新能源科技有限公司 | Equipment address allocation method, battery energy storage system and related equipment |
CN117439972A (en) * | 2023-10-10 | 2024-01-23 | 深圳市佳合丰新能源科技有限公司 | Equipment address allocation method, battery energy storage system and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Alfergani et al. | Networked control of AC microgrid | |
CN111709107A (en) | Power network simulation method and system containing large-scale power electronic equipment | |
CN108710060A (en) | A kind of taiwan area recognition methods and device | |
CN116599989A (en) | Micro inverter ad hoc network method, device, terminal and storage medium | |
CN112615365B (en) | Smart power grid vulnerability key point identification method and device | |
CN102193058A (en) | Test apparatus and test module | |
CN114881379B (en) | Method, device and equipment for estimating power generation capacity of wind power plant and storage medium | |
CN203491973U (en) | System for measuring generation power of photovoltaic assemblies | |
CN106169771B (en) | A kind of gird-connected inverter of predictable generated energy data | |
CN111371088B (en) | Method and system for correcting SVG control strategy based on BP neural network | |
CN113726592B (en) | Transmission delay test method, system and related components of edge server | |
CN110740085B (en) | Communication method, communication device and terminal based on parallel operation system | |
CN111884751A (en) | Smart grid time synchronization method and device based on PTP | |
CN115664005A (en) | Rapid communication point establishing method and system based on new energy electrical equipment model | |
CN113030648B (en) | Power cable fault point position determining method and device and terminal equipment | |
CN114021388A (en) | Large-scale power grid full-electromagnetic transient and SIMULINK joint simulation method and system | |
CN115225982A (en) | Data transmission method and device of distributed energy transaction system | |
CN114722547A (en) | Photovoltaic module serial line arrangement determining method and device, electronic equipment and storage medium | |
CN113659658A (en) | Battery management device and data interaction method | |
CN113468729A (en) | Method and system for measuring and calculating operation errors of electric power station metering device without calibration mode | |
CN112366713A (en) | AC-DC series-parallel power grid static voltage stability calculation method and device and storage medium | |
CN111783279A (en) | Joint simulation method and device of system, electronic equipment and readable storage medium | |
CN118214458B (en) | Method, device and medium for identifying areas of high-speed power carrier communication system | |
CN116979997B (en) | Dual-mode communication-based power distribution network automation method and system | |
CN116506130B (en) | Internet of things security authentication chip system and access control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |