A grid-connected control method for a grid-connected inverter

By loading preset network configuration files and dynamic routing mechanisms, the automatic configuration and efficient coordinated control of grid-connected inverters in complex distributed networks are realized, which solves the problems of low grid stability and energy conversion efficiency, and improves the system Robustness and self-protection.

CN118611258BActive Publication Date: 2024-12-24ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID QINGHAI ELECTRIC POWER COMPANY +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410681260.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-12-24
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

Existing grid-connected inverter control technology is difficult to achieve automatic configuration and efficient coordinated control in complex distributed energy networks, resulting in low grid stability and energy conversion efficiency, and lack of standardized network communication protocols and control strategies, affecting large-scale deployment. and inverter stability.

Method used

By loading preset network configuration files, clustering and election of inverter nodes, dynamically establishing multi-hop routing, forming cluster head nodes to summarize and transmit data packets in a unified format, adjusting control strategies to achieve network connection synchronization, and in exceptions Automatic load adjustment in case of

Benefits of technology

Improve network stability and efficiency, enhance system robustness and self-healing capabilities, reduce information transmission delay, improve overall stability of the power grid and energy conversion efficiency, reduce operation and maintenance costs, and enhance self-protection of the inverter ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611258B_ABST
    Figure CN118611258B_ABST
Patent Text Reader

Abstract

The present invention discloses a grid-connected control method for a grid-connected inverter, which relates to the field of communication and network technology, including loading a preset network configuration file after the inverter is powered on; configuring the inverter node during network initialization, clustering the inverter nodes, and obtaining the inverter candidate node; electing all the inverter candidate nodes, and selecting a cluster head node through election logic; the cluster head node summarizes all the information of the inverters in the cluster, and encapsulates them into data packets according to a unified data format; dynamically establishes a multi-hop route, and transmits the data packets in a unified format from the cluster head node to other cluster head nodes, and each cluster head node parses the received data packets; and adjusts the control strategy of the local inverter according to the parsed data content to form grid-connected synchronization. The grid-connected inverter control method of the present invention significantly improves the system's configuration efficiency, communication efficiency, data reliability, grid-connected synchronization accuracy, and exception handling capabilities through a series of intelligent and automated strategies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication and network technology, and in particular to a grid-connected control method for a grid-connected inverter. Background Art

[0002] Driven by the new energy revolution, distributed power generation systems have become a key component of the global energy structure transformation. Grid-connected inverters serve as a bridge connecting these renewable energy systems with the power grid. The maturity and efficiency of their control technology directly affect the energy conversion efficiency and the stability of the power grid. Although grid-connected inverter technology has made significant progress, existing solutions still face several challenges that limit their effectiveness and application scope. First, most existing control strategies are too focused on single-point optimization, simply pursuing power output maximization, but ignoring the coordination between multiple inverters and the balance of power grid stability, especially in distributed systems; second, the integration of network communication protocols and control strategies is not yet unified and lacks standardization, resulting in interoperability and compatibility issues, affecting large-scale deployment; finally, the existing system is not adaptable enough to complex power grid conditions, and frequency fluctuations and voltage instability make it difficult to accurately control in real time, affecting the stable grid-connected performance of the inverter. Summary of the invention

[0003] In view of the above existing problems, the present invention is proposed.

[0004] Therefore, the present invention provides a grid-connected control method for a grid-connected inverter to solve the problem of automatic configuration and efficient collaborative control of the grid-connected inverter in a complex distributed energy network, especially in a dynamic network environment, how to quickly self-organize, optimize resource allocation and information sharing, and ensure stable, efficient and synchronous operation of the grid.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0006] In a first aspect, an embodiment of the present invention provides a grid-connected control method for a grid-connected inverter, which includes, after the inverter is powered on, loading a preset network configuration file;

[0007] When the network is initialized, inverter nodes are configured and clustered to obtain candidate inverter nodes;

[0008] All inverter candidate nodes are elected and a cluster head node is selected through election logic;

[0009] The cluster head node summarizes all the information of the inverters in the cluster and encapsulates it into data packets according to a unified data format;

[0010] Dynamically establish multi-hop routing to transmit the data packets in a unified format from the cluster head node to other cluster head nodes, and each cluster head node will parse the received data packets;

[0011] The control strategy of the local inverter is adjusted according to the parsed data content to achieve grid-connected synchronization.

[0012] As a preferred solution of the grid-connected control method of the grid-connected inverter described in the present invention, loading the preset network configuration file includes reading the network ID, channel number, key, and security policy, loading the read configuration parameters into the corresponding network protocol stack and starting the encryption engine, and configuring the read key parameters to the encryption engine to ensure encryption when communication is immediately enabled to protect data security.

[0013] As a preferred solution of the grid-connected control method of the grid-connected inverter described in the present invention, configuration of the inverter node includes device ID embedding, GPS module integration, location calibration, signal strength evaluation, device type and performance parameter configuration.

[0014] As a preferred solution of the grid-connected control method of the grid-connected inverter of the present invention, the inverter nodes are clustered to obtain inverter candidate nodes, which is specifically as follows:

[0015] Define each inverter that has not been selected as the centroid as i, and use the Euclidean distance formula to calculate the shortest distance D(i) from the inverter that has not been selected as the centroid to the inverter that has been selected as the centroid;

[0016] Calculate the probability of selecting the next centroid;

[0017] The next centroid is selected according to the calculated probability until m centroids are selected. The m centroids are used as candidate nodes for inverter i. For each inverter i, the shortest distance to all centroids is calculated again, and each inverter i is assigned to the candidate node to which the nearest centroid belongs. The final clustering result is generated to obtain the inverter candidate node.

[0018] As a preferred solution of the grid-connected control method of the grid-connected inverter of the present invention, wherein: all candidate inverter nodes are elected, and a cluster head node is selected through election logic, as follows:

[0019] Collect real-time data of each candidate node, including signal strength, remaining energy storage and computing power indicators;

[0020] Normalize the real-time data, convert it into a standardized score, set the weight coefficient, and calculate the weight value through the inverter execution formula;

[0021] Based on the calculated weights, the inverter performs weight screening on other inverters in the candidate node, summarizes the received weight screening results, and the inverter with the highest total weight is elected as the cluster head node. If there are multiple nodes with the same total weight, they are sorted again according to signal strength, and the one with the strongest signal is elected as the cluster head node.

[0022] As a preferred solution of the grid-connected control method of the grid-connected inverter of the present invention, the cluster head node summarizes the detailed information of the inverters in the cluster and encapsulates them into a data packet according to a unified data format, as follows:

[0023] The cluster head node collects the latest status information by formulating an information collection request format, and broadcasts it to all inverters in the cluster, along with request parameters and timestamps, requiring a response time window. After receiving the request, the inverter candidate node quickly checks its own status, extracts the required detailed information, and transmits it back to the cluster head node. The cluster head node collects all inverter responses, verifies data integrity, and encapsulates them into data packets in a unified data format.

[0024] As a preferred solution of the grid-connected control method of the grid-connected inverter of the present invention, wherein: by dynamically establishing a multi-hop route, the data in a unified format is transmitted from the cluster head node to other cluster head nodes, as follows:

[0025] Initialize the local routing table at each node and record direct neighbors and known path information. When the cluster head node needs to communicate with other cluster head nodes, it initiates a routing request message carrying the target address and source address. The node receiving the routing request checks the local routing table and forwards it if a valid path exists; otherwise, it generates a new routing request and diffuses it until it reaches the target cluster head node. After receiving the routing request, the target cluster head node sends a routing reply routing request message. Nodes along the way establish or update routing tables to form a path from the source to the destination.

[0026] As a preferred solution of the grid-connected control method of the grid-connected inverter of the present invention, each cluster head node parses the received data packet, adjusts the control strategy of the local inverter according to the data content, and forms grid-connected synchronization, which is specifically as follows:

[0027] Each cluster head node uses the private key to decrypt the encrypted data packet, and compares the checksum contained in the data packet with the checksum calculated from the decrypted data to verify the integrity of the data packet;

[0028] From the decrypted and verified data, the current power, expected power and adjustment coefficient α, current frequency, reference frequency and adjustment coefficient β, current voltage, rated voltage and adjustment coefficient γ are extracted, and the power, frequency and voltage are adjusted to ensure synchronization with the power grid;

[0029] As a preferred solution of the grid-connected control method of the grid-connected inverter of the present invention, the calculated adjusted output power and adjusted frequency are compared with the actual output power and frequency data collected in real time by the inverter sensor, and α and β are adjusted according to the positive and negative deviations. After the inverter performs the adjustment, the actual output power and frequency are fed back to the monitoring system in real time, abnormal conditions are detected, and the control strategy is executed, which is specifically as follows:

[0030] The ideal operating temperature range for configuring the inverter is -10°C to 60°C;

[0031] If the temperature reaches 65°C, a yellow prompt will be displayed, indicating that the temperature is about to exceed the normal range, and an early warning prompt will appear, requiring continued attention from operations and maintenance;

[0032] If the temperature reaches 70°C, a red icon will be displayed and flash continuously, indicating that a faulty inverter has occurred. This will be automatically fed back to the operation and maintenance personnel, who will then take emergency measures.

[0033] When the temperature reaches 85°C, the cluster head node sends a command to the inverter to automatically reduce the load to a safe level. The cluster head node automatically resumes the inverter operation according to the preset program.

[0034] The beneficial effects of the present invention are as follows: loading the preset network configuration file after the inverter is powered on reduces network congestion and improves the stability and efficiency of the overall network. The election mechanism of the inverter candidate node enhances the robustness and self-healing ability of the system, reduces information transmission delay, and improves the real-time performance of grid-connected control. The cluster head node aggregates information and encapsulates data packets, which promotes the transparency of information and the scientific nature of decision-making, and helps to improve the overall stability and efficiency of the power grid. Multi-hop routing is dynamically established, and data packets in a unified format are transmitted from the cluster head node to other cluster head nodes. Each cluster head node parses the received data packets, realizing accurate grid-connected control, improving energy conversion efficiency and grid stability, and the abnormal temperature monitoring and automatic load adjustment functions enhance the self-protection ability of the inverter, reduce operation and maintenance costs, and improve the overall reliability and safety of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0036] Figure 1 Flow chart of the grid-connected control method of the grid-connected inverter in Example 1.

[0037] Figure 2This is a diagram for determining the risk level of the user behavior pattern in Example 1. DETAILED DESCRIPTION

[0038] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0039] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0040] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0041] Example 1

[0042] Reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, and which provides a grid-connected control method for a grid-connected inverter, comprising the following steps:

[0043] S1. After the inverter is powered on, load the preset network configuration file;

[0044] When the network is initialized, inverter nodes are configured and clustered to obtain candidate inverter nodes;

[0045] All inverter candidate nodes are elected and a cluster head node is selected through election logic;

[0046] The cluster head node summarizes all the information of the inverters in the cluster and encapsulates it into data packets according to a unified data format;

[0047] Dynamically establish multi-hop routing to transmit the data packets in a unified format from the cluster head node to other cluster head nodes, and each cluster head node will parse the received data packets;

[0048] The control strategy of the local inverter is adjusted according to the parsed data content to achieve grid-connected synchronization.

[0049] Furthermore, loading the preset network configuration file includes reading the network ID, channel number, key, and security policy, loading the read configuration parameters into the corresponding network protocol stack and starting the encryption engine, and configuring the read key parameters into the encryption engine to ensure that encryption is enabled immediately when the communication is enabled to protect data security.

[0050] S2. Configuring inverter nodes includes device ID embedding, GPS module integration, location calibration, signal strength evaluation, device type and performance parameter configuration.

[0051] Furthermore, the inverter nodes are clustered to obtain inverter candidate nodes, as follows:

[0052] Define each inverter that has not been selected as the centroid as i, and use the Euclidean distance formula to calculate the shortest distance D(i) from the inverter that has not been selected as the centroid to the inverter that has been selected as the centroid. The expression is:

[0053]

[0054] Where j is the traversal variable, min is the minimum function used to find the shortest distance from inverter i to all selected centroids, m is the total number of currently selected centroids, and x i is the horizontal coordinate of the inverter’s geographical location, y i is the vertical coordinate of the inverter’s geographical location, C j is the jth centroid, x Cj is the horizontal coordinate of the jth centroid, y Cj is the ordinate of the jth centroid;

[0055] Calculate the probability of selecting the next centroid, the expression is:

[0056]

[0057] in, is the sum of the distances from j=1 to all centroids;

[0058] Select the centroid according to the calculated probability until m centroids are selected, and use the m centroids as candidate nodes for inverter i. For each inverter i, calculate the shortest distance to all centroids again, assign each inverter i to the candidate node to which the nearest centroid belongs, generate the final clustering result, and obtain the inverter candidate node.

[0059] S3: Elect all candidate inverter nodes and select a cluster head node through election logic, as follows:

[0060] Collect real-time data of each candidate node, including signal strength, remaining energy storage and computing power indicators;

[0061] Normalize the real-time data, convert it into a standardized score, set the weight coefficient, and calculate the weighted value through the inverter execution formula. The expression is:

[0062]

[0063] Among them, W is the comprehensive weight of each inverter, which is used to compare the relative importance of inverters in the cluster. a is the weight coefficient of signal strength, which is used to measure the importance of signal strength in the comprehensive score. If the value of a is higher, it means that the signal strength contributes more to the weight, and the communication capability of the inverter is more valued. b is the weight coefficient of the remaining energy storage, which determines the proportion of energy storage in the comprehensive score. The larger the b is, the more important the amount of remaining energy storage is to the evaluation of the inverter, reflecting its energy supply stability. l is the weight coefficient of computing power. A high l value means that inverters with strong computing power are more favored, which is beneficial to the execution of complex control strategies and response speed. S is the signal strength, which measures the communication capability of the inverter. Strong signals usually represent better data transmission capabilities, which is beneficial to network communication. E remaining It is the current remaining energy storage, reflecting its energy supply capacity, which is very important for maintaining stable power supply and emergency response to grid needs. max is the maximum energy storage, used to standardize E remaining , making the energy storage of inverters of different capacities comparable, C is the computing power;

[0064] Based on the calculated weights, the inverter performs weight screening on other inverters in the candidate node, summarizes the received weight screening results, and the inverter with the highest total weight is elected as the cluster head node. If there are multiple nodes with the same total weight, they are sorted again according to signal strength, and the one with the strongest signal is elected as the cluster head node.

[0065] Furthermore, the real-time data is normalized and converted into standardized scores, which means that for signal strength, remaining energy storage and computing power, we use the minimum-maximum normalization method to convert them into a range of 0 to 1, as follows:

[0066] Define the signal strength, remaining energy storage and computing power indicators as X, and the normalized expressions are:

[0067]

[0068] Among them, X normalized is the normalized score, X min is the minimum value of the index among all candidate nodes, which is used as the lower bound for normalization. max It is the maximum value of the index among all candidate nodes and is used as the upper bound for normalization.

[0069] S4. The cluster head node summarizes the detailed information of the inverters in the cluster and encapsulates them into data packets according to a unified data format, as follows:

[0070] The cluster head node collects the latest status information by formulating an information collection request format, and broadcasts it to all inverters in the cluster, along with request parameters and timestamps, requiring a response time window. After receiving the request, the inverter candidate node quickly checks its own status, extracts the required detailed information, and transmits it back to the cluster head node. The cluster head node collects all inverter responses, verifies data integrity, and encapsulates them into data packets in a unified data format.

[0071] Furthermore, the information collection request format is formulated to include key indicators such as inverter ID, current power, energy storage status, computing task load, fault code, temperature, etc.

[0072] S5. Transmit the data in a unified format from the cluster head node to other cluster head nodes by dynamically establishing multi-hop routing, as follows:

[0073] Initialize the local routing table at each node and record direct neighbors and known path information. When the cluster head node needs to communicate with other cluster head nodes, it initiates a routing request message carrying the target address and source address. The node receiving the routing request checks the local routing table and forwards it if a valid path exists; otherwise, it generates a new routing request and diffuses it until it reaches the target cluster head node. After receiving the routing request, the target cluster head node sends a routing reply routing request message. Nodes along the way establish or update routing tables to form a path from the source to the destination.

[0074] Furthermore, the direct neighbor information recorded includes the neighbor ID, the adjacent link status (active / failed), and the hop count (initial 1).

[0075] Furthermore, when cluster head node A needs to communicate with another cluster head B, a routing request message is constructed, including source ID (A), destination ID (B), source sequence number (for loop prevention), and routing request ID (uniquely identifies this request).

[0076] Furthermore, A broadcasts the request message through all available interfaces (except the interface that receives the request). After receiving the request, the neighbor node checks whether the message has been recorded (to prevent loops). If it has been recorded, it will be discarded and the local routing table will be checked. If there is a path to B, it will directly reply to A through unicast reply routing. If there is no direct path, the node will add a temporary entry to its routing table to record the source A and forward the request through all its non-receiving interfaces, while increasing the number of hops. After receiving the request, the target cluster head node B constructs a reply message. B sends a reply to A through reverse unicast via the path recorded in the request message. When the nodes along the way receive the reply, they convert the corresponding temporary entries in their routing tables into stable entries and record the complete path information.

[0077] S6. Each cluster head node parses the received data packet and adjusts the control strategy of the local inverter according to the data content to form grid-connected synchronization, as follows:

[0078] Each cluster head node uses the private key to decrypt the encrypted data packet, and compares the checksum contained in the data packet with the checksum calculated from the decrypted data to verify the integrity of the data packet;

[0079] From the decrypted and verified data, the current power, expected power and adjustment coefficient α, current frequency, reference frequency and adjustment coefficient β, current voltage, rated voltage and adjustment coefficient γ are extracted, and the power, frequency and voltage are adjusted to ensure synchronization with the power grid;

[0080] The adjusted output power expression is:

[0081] P adjusted =P current +α·(P target -P current )

[0082] Among them, P adjusted is the adjusted output power level, P current is the actual output power level at present, P target is the desired power level, α is the power factor controlling the regulation rate;

[0083] The adjusted frequency expression is:

[0084] f adjusted =f current +β·(f reference -f current )

[0085] Among them, f adjusted is the adjusted frequency, f current is the current operating frequency, P target is the reference frequency, β is the frequency adjustment coefficient;

[0086] The adjusted output voltage expression is:

[0087] V adjusted = +γ·(V nominal -V current )

[0088] Among them, V adjusted is the adjusted output voltage, V current is the current output voltage, V nominal is the rated voltage and γ is the voltage adjustment factor.

[0089] Furthermore, the calculated adjusted output power and adjusted frequency are compared with the actual output power and frequency data collected in real time by the inverter sensor. According to the positive and negative deviations, α and β are adjusted. After the inverter performs the adjustment, the actual output power and frequency are fed back to the monitoring system in real time to detect abnormal conditions and execute control strategies, as follows:

[0090] The ideal operating temperature range for configuring the inverter is -10°C to 60°C;

[0091] If the temperature reaches 65°C, a yellow prompt will be displayed, indicating that the temperature is about to exceed the normal range, and an early warning prompt will appear, requiring continued attention from operations and maintenance;

[0092] If the temperature reaches 70°C, a red icon will be displayed and flash continuously, indicating that a faulty inverter has occurred. This will be automatically fed back to the operation and maintenance personnel, who will then take emergency measures.

[0093] When the temperature reaches 85°C, the cluster head node sends a command to the inverter to automatically reduce the load to a safe level. The cluster head node automatically resumes the inverter operation according to the preset program.

[0094] This embodiment also provides a computer device, which is suitable for the grid-connected control method of the grid-connected inverter, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the grid-connected control method of the grid-connected inverter proposed in the above embodiment.

[0095] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0096] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the grid-connected control method for the grid-connected inverter proposed in the above embodiment is implemented; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0097] In summary, the present invention reduces network congestion and improves the stability and efficiency of the overall network by loading a preset network configuration file after the inverter is powered on. The election mechanism of the inverter candidate node enhances the robustness and self-healing ability of the system, reduces information transmission delay, and improves the real-time performance of grid-connected control. Aggregating information and encapsulating data packets through the cluster head node helps to improve the overall stability and efficiency of the power grid, dynamically establish multi-hop routing, and transmit data packets in a unified format from the cluster head node to other cluster head nodes. Each cluster head node parses the received data packets, achieving accurate grid-connected control, improving energy conversion efficiency and grid stability, and abnormal temperature monitoring and automatic load adjustment functions enhance the self-protection ability of the inverter, reduce operation and maintenance costs, and improve the overall reliability and safety of the system.

[0098] Example 2

[0099] Referring to Table 1, which is the second embodiment of the present invention, in order to further verify the advancement of the present invention, experimental simulation data of the grid-connected control method of the grid-connected inverter are provided.

[0100] First, we deployed two groups of inverter systems, one group using the traditional grid-connected control method as the control group, and the other group using the grid-connected control method proposed in this invention as the experimental group. Both groups contained 10 inverters, each inverter was equipped with a GPS module, a signal strength monitor and a computing unit, and the network configuration was pre-set to ensure a fair comparison.

[0101] Next, we manually configured network parameters in the control group and automatically loaded the preset network configuration file in the experimental group to verify whether automatic configuration can significantly reduce deployment time.

[0102] Next, the control group manually allocated the inverter candidate node configurations, and the experimental group used a clustering algorithm based on Euclidean distance to automatically complete the division of inverter candidate nodes, and evaluate whether automatic clustering can allocate resources more efficiently and reasonably and optimize the network structure.

[0103] Then, the control group used a polling mechanism to select the cluster head point, and the experimental group used weighted calculation of the cluster head node based on real-time data to test whether it could respond to the network status more quickly, reduce communication delays, and improve the overall network response.

[0104] Secondly, the control group used static routing to transmit data packets, while the experimental group used dynamic multi-hop routing to transmit data, to observe whether it can effectively bypass faulty nodes, reduce transmission time, and improve the success rate of data packets.

[0105] Finally, the inverter adjustment in the control group relied on preset rules, while the inverter in the experimental group automatically adjusted the output parameters according to the decoded data to verify whether it could synchronize grid changes more accurately, improve inverter performance, and achieve intelligent response speed in abnormal management.

[0106] The details are shown in the following table:

[0107] Table 1 Experimental record table

[0108]

[0109] By analyzing the table data, it can be clearly observed that the experimental group (using the grid-connected inverter control method of the present invention) has the following advantages over the control group:

[0110] The configuration time of the experimental group was 36 seconds shorter than that of the control group, indicating that the automatic loading of preset network configuration files and instant startup of the encryption engine greatly improved the initialization efficiency, reduced human intervention, and increased the deployment speed; the clustering efficiency of the experimental group reached 100%, and the communication delay was greatly reduced, which not only improved the organizational efficiency of the network, but also optimized data transmission and enhanced the overall response speed and reliability of the system; the data transmission success rate of the experimental group was as high as 99.8%, eliminating the risk of data loss and ensuring the accuracy and continuity of information exchange; the inverter of the experimental group was able to synchronize with the power grid more quickly, and the synchronization efficiency was increased to 100%, reflecting the precise control of power, frequency and voltage by the automatic control strategy adjustment mechanism, thereby improving energy conversion efficiency and power grid stability.

[0111] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A grid-connected control method for a grid-connected inverter, characterized in that: include: After the inverter is powered on, load the preset network configuration file; When the network is initialized, inverter nodes are configured and clustered to obtain candidate inverter nodes; All inverter candidate nodes are elected and a cluster head node is selected through election logic; The cluster head node summarizes all the information of the inverters in the cluster and encapsulates it into data packets according to a unified data format; Dynamically establish multi-hop routing to transmit unified formatted data packets from cluster head nodes to other cluster head nodes; Each cluster head node parses the received data packets and adjusts the control strategy of the local inverter according to the parsed data content to achieve grid-connected synchronization; The loading of the preset network configuration file includes reading the network ID, channel number, key, and security policy, loading the read configuration parameters into the corresponding network protocol stack and starting the encryption engine, and configuring the read key parameters into the encryption engine to ensure encryption when communication is immediately enabled to protect data security; The configuration of the inverter node includes device ID embedding, GPS module integration, location calibration, signal strength evaluation, device type and performance parameter configuration; The inverter nodes are clustered to obtain inverter candidate nodes, as follows: Define each inverter that has not been selected as the centroid as , use the Euclidean distance formula to calculate the shortest distance from the inverter that has not been selected as the centroid to the inverter that has been selected as the centroid ; Calculate the probability of selecting the next inverter as the centroid; Select the centroid according to the calculated probability until enough The centroid The center of mass acts as an inverter For each inverter , calculate the shortest distance to all centroids again, and convert each inverter Assign to the candidate node that the nearest centroid belongs to, generate the final clustering result, and obtain the inverter candidate node; All candidate inverter nodes are elected and a cluster head node is selected through election logic, as follows: Collect real-time data of each candidate node, including signal strength, remaining energy storage and computing power indicators; Normalize the real-time data, convert it into a standardized score, set the weight coefficient, and calculate the weight value through the inverter execution formula; Based on the calculated weights, the inverter performs weight screening on other inverters in the candidate node, summarizes the received weight screening results, and the inverter with the highest total weight is elected as the cluster head node. If there are multiple nodes with the same total weight, they are sorted again according to signal strength, and the one with the strongest signal is elected as the cluster head node; The cluster head node collects all the information of the inverters in the cluster and encapsulates them into data packets according to a unified data format, as follows: The cluster head node collects the latest status information by formulating an information collection request format, and broadcasts it to all inverters in the cluster, with request parameters and timestamps, and requires a response time window. After receiving the request, the inverter candidate node quickly checks its own status, extracts the required detailed information, and transmits it back to the cluster head node. The cluster head node collects all inverter responses, verifies data integrity, and encapsulates them into data packets in a unified data format. Initialize the local routing table at each node and record direct neighbors and known path information. When the cluster head node needs to communicate with other cluster head nodes, it initiates a routing request message carrying the target address and source address. The node receiving the routing request checks the local routing table and forwards it if a valid path exists; otherwise, a new routing request is generated and diffused until it reaches the target cluster head node. After receiving the routing request, the target cluster head node sends a routing reply routing request message. The nodes along the way establish or update the routing table to form a path from the source to the destination.

2. The grid-connected control method of the grid-connected inverter according to claim 1, characterized in that: Each cluster head node parses the received data packets and adjusts the control strategy of the local inverter according to the parsed data content to form grid-connected synchronization, including the following steps: Each cluster head node uses the private key to decrypt the encrypted data packet, and uses the checksum contained in the data packet to check and compare with the decrypted data to verify the integrity of the data packet; From the verified data, extract the current power, expected power and adjustment coefficient , current frequency, reference frequency and adjustment coefficient , current voltage, rated voltage and adjustment factor , adjust the power, frequency and voltage to ensure synchronization with the power grid.

3. The grid-connected control method of the grid-connected inverter according to claim 2, characterized in that: Compare the adjusted power and frequency with the actual output power and frequency data collected in real time by the local inverter, and adjust the power supply according to the positive and negative deviations. and After the inverter performs the adjustment, it feeds back the actual output power and frequency to the monitoring system in real time, detects abnormal conditions and executes the control strategy, as follows: The ideal operating temperature range for configuring the inverter is -10°C to 60°C; If the temperature reaches 65°C, a yellow prompt will be displayed, indicating that the temperature is about to exceed the normal range, and an early warning prompt will appear, requiring continued attention from operations and maintenance; If the temperature reaches 70°C, a red icon will be displayed and flash continuously, indicating that there is a problem with the inverter, which will be automatically fed back to the operation and maintenance personnel, who will implement emergency measures.

4. The grid-connected control method of the grid-connected inverter according to claim 3, characterized in that: If the temperature reaches 85°C, the cluster head node sends a command to the inverter to automatically reduce the load to a safe level, and the cluster head node automatically resumes the inverter operation according to the preset program.