A clustering adaptive routing method and system for wireless terminals in a virtual power plant

By adopting the clustering adaptive routing method in the virtual power plant, selecting the cluster head node according to the remaining energy of the terminal node and selecting the optimal transmission mode, the problems of uneven energy consumption and low transmission stability of the wireless terminal network are solved, and the problem of Reduced energy consumption and improved stability.

CN118317399BActive Publication Date: 2024-09-24ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410726254.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-24
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

Uneven energy consumption and non-adaptive single-mode routing transmission of wireless terminal networks in virtual power plants lead to high network energy consumption and transmission stability problems.

Method used

The clustering adaptive routing method is used to select cluster head nodes by calculating the remaining energy of terminal nodes, perform message broadcast and data aggregation, and select the optimal transmission mode based on distance to reduce energy consumption.

Benefits of technology

Effectively reduce and balance the energy consumption of each data collection node in the virtual power plant, and improve the transmission stability of the wireless terminal network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118317399B
    Figure CN118317399B
Patent Text Reader

Abstract

The present invention relates to the technical field of virtual power plants, and discloses a clustering adaptive routing method and system for wireless terminals of a virtual power plant. The method collects energy from multiple terminal nodes and transmits energy to a base station, calculates the residual energy of each terminal node during the energy transmission process, calculates the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node, determines the terminal node that becomes the cluster head node according to the probability, broadcasts messages to all common nodes through the cluster head node, performs clustering by comparing the signal strength of messages received from each cluster head node through the common node, determines the preset transmission mode with the lowest energy consumption of each cluster head node based on the distance between each cluster head node and the base station and the distance between each cluster head node as a criterion, thereby adaptively selecting the optimal transmission mode for multi-mode transmission to the base station, so as to reduce and balance the energy consumption of each data acquisition node terminal of the virtual power plant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of virtual power plants, and in particular to a clustering adaptive routing method and system for wireless terminals of virtual power plants. Background Art

[0002] The virtual power plant is driven by new-generation digital technologies such as cloud computing, big data, the Internet of Things, mobile Internet, artificial intelligence, and blockchain, with data as the key production factor, and is based on modern power energy networks and new-generation information networks. It deeply integrates digital technologies with energy companies' business and management, and continuously improves the level of digitalization, networking, and intelligence. This new energy ecosystem has the characteristics of flexibility, openness, interactivity, economy, and sharing, making the power grid more intelligent, safe, reliable, green, and efficient.

[0003] With the development of the Internet of Things, low-cost wireless terminal network equipment has been extended to the status monitoring link of virtual power plants. A large number of wireless terminals are used in virtual power plants to monitor the status information of each node in the virtual power plant in real time. With the development of energy harvesting technology, the nodes of the wireless terminal network can continuously collect energy from the outside world, and then transmit it to the base station or receiver through a certain routing algorithm, thereby completing the energy collection and transmission. However, when the wireless terminal network with energy harvesting function is working, since the energy consumption of each node of the wireless terminal network is usually uneven, it will cause the nodes with high energy consumption to terminate their work prematurely. In addition, non-adaptive single-mode routing transmission will also lead to high network energy consumption, which is likely to cause the transmission stability of the wireless terminal network to be greatly affected. Summary of the invention

[0004] The present invention provides a clustering adaptive routing method and system for wireless terminals of a virtual power plant, which solves the technical problems that when a wireless terminal network with an energy harvesting function is working, the energy consumption of each node in the wireless terminal network is usually uneven, resulting in the early termination of the work of nodes with high energy consumption, and non-adaptive single-mode routing transmission also leads to high network energy consumption, which easily leads to a significant impact on the transmission stability of the wireless terminal network.

[0005] In view of this, a first aspect of the present invention provides a clustering adaptive routing method for wireless terminals in a virtual power plant, which is applied to a wireless terminal network deployed in the virtual power plant, wherein the wireless terminal network includes a plurality of terminal nodes, each terminal node is communicatively connected to a base station, and the terminal nodes are communicatively connected to each other. The method includes the following steps:

[0006] When collecting energy and transmitting energy to the base station, calculating the remaining energy of each terminal node during the energy transmission process;

[0007] The probability of each terminal node being selected as a cluster head node is calculated according to the residual energy of each terminal node, and the terminal node that becomes the cluster head node is determined according to the probability;

[0008] Broadcasting a message to all common nodes through the cluster head node, wherein the common nodes are non-cluster head nodes;

[0009] Comparing the signal strength of the messages received by the common node from each cluster head node, determining the cluster head node with the highest signal strength of the message, and adding the common node to the cluster to which the corresponding cluster head node belongs;

[0010] The data collected by all terminal nodes in each cluster are sent to the cluster head node in the corresponding cluster for data aggregation;

[0011] Taking the distances between each cluster head node and the base station and the distances between each cluster head node as criteria, determining a preset transmission mode with the lowest energy consumption of each cluster head node;

[0012] All the data after data aggregation is transmitted to the next hop node or base station through each cluster head node through a preset transmission mode determined by each cluster head node, until all the data after data aggregation in the cluster head node is transmitted to the base station.

[0013] Preferably, the step of collecting energy through multiple terminal nodes and transmitting energy to the base station, and calculating the remaining energy of each terminal node during the energy transmission process specifically includes:

[0014] Multiple rounds of energy transmission are performed to the base station through each terminal node, wherein the energy is collected by the terminal node through solar energy, and the remaining energy of each terminal node during the energy transmission process is calculated by the following formula:

[0015]

[0016] Where i represents the terminal node index, Indicates the transmission round index, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The energy collected by terminal node i during the round transmission, Indicates The energy consumption of terminal node i during round transmission, where

[0017]

[0018] In the formula, represents the average energy harvesting capability of terminal node i, represents the average duration of a unit round, where , where is the area of ​​the solar panel at terminal node i, is the average solar irradiance, is the opacity coefficient, represents the energy collection efficiency coefficient, e i ∈ [0,1] .

[0019] Preferably, the step of calculating the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node, and determining the terminal node to become the cluster head node according to the probability specifically includes:

[0020] According to the residual energy of each terminal node, the probability of each terminal node being selected as the cluster head node is calculated by the following formula:

[0021]

[0022] In the formula, represents the probability that terminal node i is selected as the cluster head node, represents the initial probability of terminal node i being selected as the cluster head node, express right The model, and are control factors, + , represents the initial residual energy of terminal node i, represents the total initial energy of the wireless terminal network, represents the average distance between the historical cluster head node and the base station, represents the distance between terminal node i and the base station, represents the set of terminal nodes that are not currently selected as cluster head nodes; among them, the initial probability of terminal node i being selected as cluster head node The calculation formula is:

[0023]

[0024] In the formula, represents the predetermined probability, N represents the number of terminal nodes, It represents the multiple of the energy of terminal node i relative to the minimum initial energy. represents the average remaining energy of the wireless terminal network; where,

[0025]

[0026] Among them, the total initial energy of the wireless terminal network The calculation formula is:

[0027]

[0028] In the formula, represents the minimum initial energy;

[0029] The terminal nodes are sorted from large to small according to the probability of each terminal node being selected as the cluster head node, and the terminal nodes with the first preset number of digits are selected as the cluster head nodes.

[0030] Preferably, the step of determining the preset transmission mode with the lowest energy consumption of each cluster head node by taking the distance between each cluster head node and the base station and the distance between each cluster head node as a criterion specifically includes:

[0031] Get the distance between cluster head node i and base station And the distance between cluster head node i and cluster head node j ;

[0032] The distance between cluster head node i and base station and the distance between cluster head node i and cluster head node j Make comparisons;

[0033] when > ,and When , cluster head node i selects the single-hop non-cooperative transmission mode;

[0034] when > ,and When , cluster head node i selects single-hop cooperative transmission mode;

[0035] when ,and When , cluster head node i selects the multi-hop non-cooperative transmission mode;

[0036] when ,and When , cluster head node i selects multi-hop cooperative transmission mode;

[0037] in, is the distance threshold between the cluster head node and the base station, is the distance threshold between cluster head nodes.

[0038] Preferably, the step of transmitting all data after data aggregation to the next hop node or the base station through each cluster head node through a preset transmission mode determined by each cluster head node until all data after data aggregation in the cluster head node is transmitted to the base station includes:

[0039] When all data after data aggregation is transmitted through the cluster head node through the multi-hop cooperative transmission mode, the next hop point of the cluster head node is selected from the set of candidate cluster head nodes through the following selection criteria, wherein the set of candidate cluster head nodes is composed of all cluster head nodes that select the multi-hop cooperative transmission mode, and the selection criteria are:

[0040]

[0041] In the formula, is the next hop point of the cluster head node, Candidate cluster head node The remaining energy, is the cluster head node i and the candidate cluster head node The distance between is the distance between candidate cluster head node m and the base station, where m , is the set of candidate cluster head nodes;

[0042] The next hop point of the cluster head node is The selected collaboration node in the cluster is:

[0043]

[0044] In the formula, A node in the cluster The distance between the cluster head node and is the maximum distance between the nodes in the cluster and the cluster head node, is the minimum distance between the nodes in the cluster and the cluster head node, To constrain;

[0045] All data after data aggregation is transmitted to the next hop through the cluster head node The cluster to which Collaboration nodes, among which, is the number of all cooperative nodes including the cluster head node;

[0046] The data is encoded using collaborative nodes and transmitted through The cooperating nodes transmit the encoded data to the next hop. , the next jump point The cluster head node of the current transmission is updated, and the preset transmission mode determined by the current transmission cluster head node is selected to continue transmission to the next hop node or base station until all data after data aggregation in the cluster head node is transmitted to the base station.

[0047] In a second aspect, the present invention further proposes a clustered adaptive routing system for wireless terminals of a virtual power plant, which is applied to a wireless terminal network deployed in the virtual power plant, wherein the wireless terminal network includes a plurality of terminal nodes, each terminal node is communicatively connected to a base station, and the terminal nodes are communicatively connected to each other. The system includes:

[0048] A residual energy calculation module, used to calculate the residual energy of each terminal node during the energy transmission process when collecting energy and transmitting energy to the base station;

[0049] The cluster head node determination module is used to calculate the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node, and determine the terminal node that becomes the cluster head node according to the probability;

[0050] A message notification module, used for broadcasting messages to all common nodes through the cluster head node, wherein the common nodes are non-cluster head nodes;

[0051] A clustering module, used for comparing the signal strength of the messages received by the common node from each cluster head node, determining the cluster head node with the highest signal strength of the message, and adding the common node to the cluster to which the corresponding cluster head node belongs;

[0052] The data aggregation module is used to send the data collected by all terminal nodes in each cluster to the cluster head node in the corresponding cluster for data aggregation;

[0053] The transmission mode determination module is used to determine the preset transmission mode with the lowest energy consumption of each cluster head node based on the distance between each cluster head node and the base station and the distance between each cluster head node as a criterion;

[0054] The adaptive transmission module is used to transmit all the data after data aggregation to the next hop node or base station through each cluster head node through the preset transmission mode determined by each cluster head node, until all the data after data aggregation in the cluster head node is transmitted to the base station.

[0055] Preferably, the remaining energy calculation module specifically includes:

[0056] The remaining energy calculation submodule is used to transmit energy to the base station in multiple rounds through each terminal node, wherein the energy is collected by the terminal node through solar energy, and the remaining energy of each terminal node during the energy transmission process is calculated by the following formula:

[0057]

[0058] Where i represents the terminal node index, Indicates the transmission round index, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The energy collected by terminal node i during the round transmission, Indicates The energy consumption of terminal node i during round transmission, where

[0059]

[0060] In the formula, represents the average energy harvesting capability of terminal node i, represents the average duration of a unit round, where , where is the area of ​​the solar panel at terminal node i, is the average solar irradiance, is the opacity coefficient, represents the energy collection efficiency coefficient, e i ∈ [0,1] .

[0061] Preferably, the cluster head node determination module specifically includes:

[0062] The probability calculation submodule is used to calculate the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node through the following formula:

[0063]

[0064] In the formula, represents the probability that terminal node i is selected as the cluster head node, represents the initial probability of terminal node i being selected as the cluster head node, express right The model, and are control factors, + , represents the initial residual energy of terminal node i, represents the total initial energy of the wireless terminal network, represents the average distance between the historical cluster head node and the base station, represents the distance between terminal node i and the base station, represents the set of terminal nodes that are not currently selected as cluster head nodes; among them, the initial probability of terminal node i being selected as cluster head node The calculation formula is:

[0065]

[0066] In the formula, represents the predetermined probability, N represents the number of terminal nodes, It represents the multiple of the energy of terminal node i relative to the minimum initial energy. represents the average remaining energy of the wireless terminal network; where,

[0067]

[0068] Among them, the total initial energy of the wireless terminal network The calculation formula is:

[0069]

[0070] In the formula, represents the minimum initial energy;

[0071] The cluster head node selection submodule is used to sort the terminal nodes from large to small according to the probability of each terminal node being selected as a cluster head node, and select the terminal nodes with a preset number of digits as cluster head nodes.

[0072] Preferably, the transmission mode determination module specifically includes:

[0073] Distance acquisition submodule, used to obtain the distance between cluster head node i and the base station And the distance between cluster head node i and cluster head node j ;

[0074] The distance comparison submodule is used to compare the distance between cluster head node i and the base station and the distance between cluster head node i and cluster head node j Make comparisons;

[0075] The first selection submodule is used when > ,and When , cluster head node i selects the single-hop non-cooperative transmission mode;

[0076] The second selection submodule is used when > ,and When , cluster head node i selects single-hop cooperative transmission mode;

[0077] The third selection submodule is used when ,and When , cluster head node i selects the multi-hop non-cooperative transmission mode;

[0078] The fourth selection submodule is used when ,and When , cluster head node i selects multi-hop cooperative transmission mode;

[0079] in, is the distance threshold between the cluster head node and the base station, is the distance threshold between cluster head nodes.

[0080] Preferably, the adaptive transmission module comprises:

[0081] The hop selection submodule is used to select the next hop of the cluster head node from the set of candidate cluster head nodes by the following selection criteria when all the data after data aggregation is transmitted through the cluster head node through the multi-hop cooperative transmission mode, wherein the set of candidate cluster head nodes is composed of all cluster head nodes that select the multi-hop cooperative transmission mode, and the selection criteria are:

[0082]

[0083] In the formula, is the next hop point of the cluster head node, Candidate cluster head node The remaining energy, is the cluster head node i and the candidate cluster head node The distance between is the distance between candidate cluster head node m and the base station, where m , is the set of candidate cluster head nodes;

[0084] The assisting node selection submodule is used to select the next hop point at the cluster head node through the following formula The selected collaboration node in the cluster is:

[0085]

[0086] In the formula, A node in the cluster The distance between the cluster head node and is the maximum distance between the nodes in the cluster and the cluster head node, is the minimum distance between the nodes in the cluster and the cluster head node, To constrain;

[0087] The collaborative transmission submodule is used to transmit all data after data aggregation to the next hop through the cluster head node. The cluster to which Collaboration nodes, among which, is the number of all cooperative nodes including the cluster head node;

[0088] The data transmission submodule is used to encode data using cooperative nodes and transmit it through The cooperating nodes transmit the encoded data to the next hop. , the next jump point The cluster head node of the current transmission is updated, and the preset transmission mode determined by the current transmission cluster head node is selected to continue transmission to the next hop node or base station until all data after data aggregation in the cluster head node is transmitted to the base station.

[0089] It can be seen from the above technical solutions that the present invention has the following advantages:

[0090] The present invention collects energy through multiple terminal nodes and transmits energy to a base station, calculates the residual energy of each terminal node during the energy transmission process, calculates the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node, determines the terminal node to be the cluster head node according to the probability, broadcasts messages to all common nodes through the cluster head node, and performs clustering by comparing the signal strength of messages received from each cluster head node through the common nodes, sends the data collected by all terminal nodes in each cluster to the cluster head node in the corresponding cluster for data aggregation, and determines the preset transmission mode with the lowest energy consumption of each cluster head node based on the distance between each cluster head node and the base station and the distance between each cluster head node as a criterion, thereby adaptively selecting the optimal transmission mode for multi-mode transmission to the base station, so as to reduce and balance the energy consumption of each data acquisition node terminal of the virtual power plant and improve the transmission stability of the wireless terminal network. BRIEF DESCRIPTION OF THE DRAWINGS

[0091] Figure 1 A flow chart of a clustering adaptive routing method for wireless terminals of a virtual power plant provided by an embodiment of the present invention;

[0092] Figure 2 A schematic diagram of the structure of the terminal node clustering of the virtual power plant provided by an embodiment of the present invention;

[0093] Figure 3 It is a flow chart of applying a clustering adaptive routing method of a virtual power plant wireless terminal to perform data transmission in the calculation example of the present invention;

[0094] Figure 4 A schematic diagram of the relationship between the number of surviving nodes and the number of transmission rounds of a wireless sensor in different transmission modes provided by an embodiment of the present invention;

[0095] Figure 5 A schematic structural diagram of a clustered adaptive routing system for wireless terminals of a virtual power plant provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0096] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0097] The present invention provides a clustering adaptive routing method for wireless terminals in a virtual power plant, which is applied to a wireless terminal network deployed in the virtual power plant. The wireless terminal network includes multiple terminal nodes, each terminal node is communicatively connected to a base station, and the terminal nodes are communicatively connected to each other.

[0098] It should be noted that the wireless terminal may be a wireless sensor, and a wireless sensor network may be formed by a plurality of wireless sensors.

[0099] Virtual power plant Terminal nodes are randomly deployed in a square area. These terminal nodes need to transmit data to the base station, which is usually far away from the monitoring area. After the virtual power plant is deployed, each terminal node is fixed in position, and each terminal node has a unique identifier and runs synchronously; the terminal node has an energy collection function, the initial energy of the terminal node is limited and different, and the terminal node can collect energy through solar energy.

[0100] The terminal node can adjust the transmission power according to the transmission distance; given the transmission power, the node can calculate the distance between two nodes based on the received signal strength; each terminal node can communicate directly with the base station, and the terminal nodes can also communicate with each other.

[0101] The present invention provides a clustering adaptive routing method for virtual power plant wireless terminals, such as Figure 1 As shown, Figure 1 The present invention illustrates a flow chart of a clustering adaptive routing method for a virtual power plant wireless terminal. The method includes the following steps:

[0102] S1. When collecting energy and transmitting energy to the base station, the remaining energy of each terminal node during the energy transmission process is calculated.

[0103] It is understandable that energy is collected through terminal nodes. The terminal nodes will consume energy during the energy transmission process, so it is necessary to calculate the remaining energy of each terminal node during the energy transmission process.

[0104] S2. Calculate the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node, and determine the terminal node that becomes the cluster head node according to the probability.

[0105] S3. Broadcast messages to all common nodes through the cluster head node, where the common nodes are non-cluster head nodes.

[0106] It is understandable that when a terminal node becomes a cluster head node, it will broadcast a message to other terminal nodes and declare itself as a cluster head node, wherein the message broadcasting method can be broadcast in the form of a message to inform all ordinary nodes that it serves as a cluster head node. Among them, the ordinary node is the terminal node that is not selected to become a cluster head node.

[0107] S4. Compare the signal strengths of the messages received by the common nodes from the cluster head nodes, determine the cluster head node with the highest signal strength of the message, and add the common node to the cluster to which the corresponding cluster head node belongs.

[0108] S5. Send the data collected by all terminal nodes in each cluster to the cluster head node in the corresponding cluster for data aggregation.

[0109] Among them, after the cluster head node aggregates the data, the cluster head node includes the data collected by all the terminal nodes in the cluster including the cluster head node.

[0110] S6, using the distances between each cluster head node and the base station, and the distances between each cluster head node as criteria, determining a preset transmission mode with the lowest energy consumption for each cluster head node;

[0111] The preset transmission modes include single-hop cooperative transmission, multi-hop cooperative transmission, single-hop non-cooperative transmission, and multi-hop non-cooperative transmission. The distance between each cluster head node and the base station and the distance between each cluster head node are used as the criterion to adaptively select the preset transmission mode with the lowest energy consumption from the preset transmission modes, thereby reducing and balancing the energy consumption of the terminal nodes of each data collection of the virtual power plant, thereby extending the service life of the entire network.

[0112] S7. All the data after data aggregation is transmitted to the next hop node or the base station through each cluster head node through the preset transmission mode determined by each cluster head node, until all the data after data aggregation in the cluster head node is transmitted to the base station.

[0113] It should be noted that the present invention collects energy through multiple terminal nodes and transmits energy to the base station, calculates the residual energy of each terminal node during the energy transmission process, calculates the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node, determines the terminal node to become the cluster head node according to the probability, broadcasts messages to all ordinary nodes through the cluster head node, and clusters the ordinary nodes by comparing the signal strength of the messages received from each cluster head node, sends the data collected by all terminal nodes in each cluster to the cluster head node in the corresponding cluster for data aggregation, and determines the preset transmission mode with the lowest energy consumption of each cluster head node based on the distance between each cluster head node and the base station and the distance between each cluster head node as a criterion, thereby adaptively selecting the optimal transmission mode for multi-mode transmission to the base station, so as to reduce and balance the energy consumption of each data acquisition node terminal of the virtual power plant and improve the transmission stability of the wireless terminal network.

[0114] In one possible implementation, step S1 specifically includes:

[0115] Multiple rounds of energy transmission are performed from each terminal node to the base station, wherein the energy is collected by the terminal node through solar energy. The remaining energy of each terminal node during the energy transmission process is calculated by the following formula:

[0116]

[0117] Where i represents the terminal node index, Indicates the transmission round index, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The energy collected by terminal node i during the round transmission, Indicates The energy consumption of terminal node i during round transmission, where

[0118]

[0119] In the formula, represents the average energy harvesting capability of terminal node i, represents the average duration of a unit round, where , where is the area of ​​the solar panel at terminal node i, is the average solar irradiance, is the opacity coefficient, represents the energy collection efficiency coefficient, e i ∈ [0,1] .

[0120] It should be noted that all terminal nodes are exposed to the same intensity of solar radiation, but each terminal node has a different energy collection efficiency. The energy collection efficiency coefficient is e i ∈ [0,1] .when =0, , Represents the multiple of the energy of terminal node i relative to the minimum initial energy.

[0121] In one possible implementation, step S2 specifically includes:

[0122] 201. According to the residual energy of each terminal node, the probability of each terminal node being selected as the cluster head node is calculated by the following formula:

[0123]

[0124] In the formula, represents the probability that terminal node i is selected as the cluster head node, represents the initial probability of terminal node i being selected as the cluster head node, express right The model, and are control factors, + , represents the initial residual energy of terminal node i, represents the total initial energy of the wireless terminal network, represents the average distance between the historical cluster head node and the base station, represents the distance between terminal node i and the base station, represents the set of terminal nodes that are not currently selected as cluster head nodes; among them, the initial probability of terminal node i being selected as cluster head node The calculation formula is:

[0125]

[0126] In the formula, represents the predetermined probability, N represents the number of terminal nodes, It represents the multiple of the energy of terminal node i relative to the minimum initial energy. represents the average remaining energy of the wireless terminal network; where,

[0127]

[0128] Among them, the total initial energy of the wireless terminal network The calculation formula is:

[0129]

[0130] In the formula, represents the minimum initial energy.

[0131] Among them, considering the distance factor and the fact that some nodes have been selected as cluster head nodes before, the initial probability of terminal node i being selected as cluster head node can be improved to the probability of terminal node i being selected as cluster head node in the above.

[0132] In the multi-level energy non-uniform sensor virtual power plant considered, the initial energy of the terminal node in the power grid is uniformly distributed within is the minimum initial energy, Indicates the multiple of the maximum initial energy relative to the minimum initial energy.

[0133] 202. Sort the terminal nodes from large to small according to the probability of each terminal node being selected as a cluster head node, and select the terminal nodes with a preset number of digits as cluster head nodes.

[0134] In a specific embodiment, step S6 specifically includes:

[0135] 601. Obtain the distance between cluster head node i and base station And the distance between cluster head node i and cluster head node j ;

[0136] 602. The distance between cluster head node i and base station and the distance between cluster head node i and cluster head node j Make comparisons;

[0137] 603. When > ,and When , cluster head node i selects the single-hop non-cooperative transmission mode;

[0138] 604 When > ,and When , cluster head node i selects single-hop cooperative transmission mode;

[0139] 605 When ,and When , cluster head node i selects the multi-hop non-cooperative transmission mode;

[0140] 606. When ,and When , cluster head node i selects multi-hop cooperative transmission mode;

[0141] in, is the distance threshold between the cluster head node and the base station, is the distance threshold between cluster head nodes.

[0142] It should be noted that the distance threshold between the cluster head node and the base station The distance threshold between each cluster head node It can be set based on experience or by the following formula:

[0143]

[0144]

[0145] In the formula, is the number of bits that the node needs to transmit, is the maximum distance between the nodes in the cluster and the cluster head node, is the number of collaborative nodes including the cluster head node, is the number of bits transmitted by the cooperating nodes, and is the circuit loss constant at the receiving and transmitting ends, represents the transmission energy consumption per bit per unit distance of non-cooperative transmission, It is the transmission energy consumption per bit per unit distance during cooperative transmission.

[0146] It should be noted that the sufficient conditions for using multi-hop transmission based on energy consumption settings are:

[0147]

[0148] In the formula, Cluster head node Energy consumption of transmission in collaboration with base stations, Cluster head node Energy consumption of non-cooperative transmission with base stations, Cluster head node Cluster head node Energy consumption of cooperative transmission, Cluster head node Cluster head node Energy consumption of non-cooperative transmission, Cluster head node Energy consumption of transmission in collaboration with base stations, Cluster head node Energy consumption of non-cooperative transmission with base stations.

[0149] The above four criteria are derived from the sufficient conditions for using multi-hop transmission, namely:

[0150] like > ,and , then cluster head node i selects single-hop non-cooperative transmission mode;

[0151] like > ,and , then cluster head node i selects single-hop cooperative transmission mode;

[0152] like ,and , then cluster head node i selects the multi-hop non-cooperative transmission mode;

[0153] like ,and , then cluster head node i selects the multi-hop cooperative transmission mode.

[0154] For example, if and , then the cluster head node C i →Base station BS, cluster head node C i →Cluster head node C j and cluster head node C j → All three links of the base station BS are suitable for non-cooperative transmission mode.

[0155] like and , then the cluster head node C i →Base station BS, cluster head node C i →Cluster head node C j and cluster head node C j → All three links of the base station BS are suitable for the cooperative transmission mode.

[0156] In one possible implementation, step S7 includes:

[0157] 701. When all data after data aggregation is transmitted through the cluster head node through the multi-hop cooperative transmission mode, the next hop point of the cluster head node is selected from the set of candidate cluster head nodes through the following selection criteria, wherein the set of candidate cluster head nodes is composed of all cluster head nodes that select the multi-hop cooperative transmission mode, and the selection criteria are:

[0158]

[0159] In the formula, is the next hop point of the cluster head node, Candidate cluster head node The remaining energy, is the cluster head node i and the candidate cluster head node The distance between is the distance between candidate cluster head node m and the base station, where m , is the set of candidate cluster head nodes;

[0160] 702. The next hop point at the cluster head node is obtained by the following formula: The selected collaboration node in the cluster is:

[0161]

[0162] In the formula, A node in the cluster The distance between the cluster head node and is the maximum distance between the nodes in the cluster and the cluster head node, is the minimum distance between the nodes in the cluster and the cluster head node, To constrain;

[0163] 703. All data after data aggregation is transmitted to the next hop through the cluster head node. The cluster to which Collaboration nodes, among which, is the number of all cooperative nodes including the cluster head node;

[0164] 704. Encode the data using the collaborative nodes and The cooperating nodes transmit the encoded data to the next hop. , the next jump point The cluster head node of the current transmission is updated, and the preset transmission mode determined by the current transmission cluster head node is selected to continue transmission to the next hop node or base station until all data after data aggregation in the cluster head node is transmitted to the base station.

[0165] The following is a calculation example of a clustering adaptive routing method for wireless terminals of a virtual power plant provided by the present invention.

[0166] like Figure 2 As shown, Figure 2 The structure of the sensor node clustering of the virtual power plant is illustrated. By using the clustering adaptive routing method of the wireless sensor of the virtual power plant proposed by the present invention to perform data transmission, such as Figure 3 As shown, Figure 3 The example illustrates the process of data transmission using a clustering adaptive routing method for wireless terminals in a virtual power plant. For each round of transmission, the process of data transmission using the proposed adaptive routing method is as follows:

[0167] 1) Initialization of energy-heterogeneous wireless sensor networks. First, the cluster head node selection phase is entered, followed by the cluster setting phase, in which the public nodes in the cluster collect data and transmit them to the cluster head node.

[0168] 2) Set the cluster head node index .

[0169] 3) Set the index ,in Along the transmission path The starting cluster head node on .

[0170] 4) Determine the cluster set of the next hop according to (11) .

[0171] 5) If is empty, By selecting the appropriate mode (8), the data is sent to the BS; at this time, if the node Complete the task, jump to 8). Otherwise, jump to 6).

[0172] 6) Search according to (12) . And through (9), Select an appropriate mode and transfer the data to .

[0173] 7) Update , then go to 4).

[0174] 8) Update i=i+1.

[0175] 9) If , then end this process; otherwise, jump to 3), where is the total number of cluster head nodes.

[0176] In the simulation experiment, the deployment range of sensor nodes in the virtual power plant is , the number of nodes is 100, and the coordinates of the base station are , the initial energy of the node is ,The size of the data packet owned by each node is 1800 bits. Each cluster head node selects a cooperative node. For comparison, four benchmark schemes are included: single-hop non-cooperative, multi-hop non-cooperative, single-hop cooperative and multi-hop cooperative transmission.

[0177] Figure 4The relationship between the number of surviving nodes and the number of transmission rounds of wireless sensors under different transmission modes is illustrated. The results show that the performance of adaptive transmission is the best, and the performance of the four benchmark modes is worse than that of adaptive transmission. The study shows that almost all transmission modes have no significant difference in the first 70 rounds; however, after 70 rounds, the performance of the proposed adaptive transmission is the best. This is because adaptive transmission combines the advantages of the four benchmark schemes and adaptively adopts transmission with lower energy consumption per hop. Therefore, the performance of the proposed adaptive transmission is better than the four benchmark schemes, thereby extending the service life of the entire network.

[0178] The above is a detailed description of an embodiment of a clustering adaptive routing method for a virtual power plant wireless terminal proposed by the present invention. The following is a detailed description of an embodiment of a clustering adaptive routing system for a virtual power plant wireless terminal proposed by the present invention.

[0179] The present invention also proposes a clustered adaptive routing system for wireless terminals in a virtual power plant, which is applied to a wireless terminal network deployed in the virtual power plant. The wireless terminal network includes multiple terminal nodes, each terminal node is communicatively connected to a base station, and the terminal nodes are communicatively connected to each other.

[0180] For easier understanding, see Figure 5 The present invention also proposes a clustering adaptive routing system for wireless terminals of a virtual power plant, comprising:

[0181] The remaining energy calculation module 100 is used to calculate the remaining energy of each terminal node during the energy transmission process when collecting energy and transmitting energy to the base station;

[0182] The cluster head node determination module 200 is used to calculate the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node, and determine the terminal node that becomes the cluster head node according to the probability;

[0183] The message notification module 300 is used to broadcast messages to all common nodes through the cluster head node, wherein the common nodes are non-cluster head nodes;

[0184] The clustering module 400 is used to compare the signal strength of the messages received by the common nodes from the cluster head nodes, determine the cluster head node with the highest signal strength of the message, and add the common node to the cluster to which the corresponding cluster head node belongs;

[0185] The data aggregation module 500 is used to send the data collected by all the terminal nodes in each cluster to the cluster head node in the corresponding cluster for data aggregation;

[0186] The transmission mode determination module 600 is used to determine the preset transmission mode with the lowest energy consumption of each cluster head node based on the distance between each cluster head node and the base station and the distance between each cluster head node as a criterion;

[0187] The adaptive transmission module 700 is used to transmit all the data after data aggregation to the next hop node or base station through each cluster head node through the preset transmission mode determined by each cluster head node, until all the data after data aggregation in the cluster head node is transmitted to the base station.

[0188] In a specific embodiment, the remaining energy calculation module specifically includes:

[0189] The remaining energy calculation submodule is used to transmit energy to the base station through each terminal node for multiple rounds, wherein the energy is collected by the terminal node through solar energy, and the remaining energy of each terminal node during the energy transmission process is calculated by the following formula:

[0190]

[0191] Where i represents the terminal node index, Indicates the transmission round index, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The energy collected by terminal node i during the round transmission, Indicates The energy consumption of terminal node i during round transmission, where

[0192]

[0193] In the formula, represents the average energy harvesting capability of terminal node i, represents the average duration of a unit round, where , where is the area of ​​the solar panel at terminal node i, is the average solar irradiance, is the opacity coefficient, represents the energy collection efficiency coefficient, e i ∈ [0,1] .

[0194] In a specific embodiment, the cluster head node determination module specifically includes:

[0195] The probability calculation submodule is used to calculate the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node through the following formula:

[0196]

[0197] In the formula, represents the probability that terminal node i is selected as the cluster head node, represents the initial probability of terminal node i being selected as the cluster head node, express right The model, and are control factors, + , represents the initial residual energy of terminal node i, represents the total initial energy of the wireless terminal network, represents the average distance between the historical cluster head node and the base station, represents the distance between terminal node i and the base station, represents the set of terminal nodes that are not currently selected as cluster head nodes; among them, the initial probability of terminal node i being selected as cluster head node The calculation formula is:

[0198]

[0199] In the formula, represents the predetermined probability, N represents the number of terminal nodes, It represents the multiple of the energy of terminal node i relative to the minimum initial energy. represents the average remaining energy of the wireless terminal network; where,

[0200]

[0201] Among them, the total initial energy of the wireless terminal network The calculation formula is:

[0202]

[0203] In the formula, represents the minimum initial energy;

[0204] The cluster head node selection submodule is used to sort the terminal nodes from large to small according to the probability of each terminal node being selected as a cluster head node, and select the terminal nodes with a preset number of digits as cluster head nodes.

[0205] In a specific embodiment, the transmission mode determination module specifically includes:

[0206] Distance acquisition submodule, used to obtain the distance between cluster head node i and the base station And the distance between cluster head node i and cluster head node j ;

[0207] The distance comparison submodule is used to compare the distance between cluster head node i and the base station and the distance between cluster head node i and cluster head node j Make comparisons;

[0208] The first selection submodule is used when > ,and When , cluster head node i selects the single-hop non-cooperative transmission mode;

[0209] The second selection submodule is used when > ,and When , cluster head node i selects single-hop cooperative transmission mode;

[0210] The third selection submodule is used when ,and When , cluster head node i selects the multi-hop non-cooperative transmission mode;

[0211] The fourth selection submodule is used when ,and When , cluster head node i selects multi-hop cooperative transmission mode;

[0212] in, is the distance threshold between the cluster head node and the base station, is the distance threshold between cluster head nodes.

[0213] In a specific embodiment, the adaptive transmission module includes:

[0214] The hop selection submodule is used to select the next hop point of the cluster head node from the set of candidate cluster head nodes when all the data after data aggregation is transmitted through the multi-hop cooperative transmission mode through the cluster head node through the following selection criteria, where the set of candidate cluster head nodes consists of all cluster head nodes that select the multi-hop cooperative transmission mode, and the selection criteria are:

[0215]

[0216] In the formula, is the next hop point of the cluster head node, Candidate cluster head node The remaining energy, is the cluster head node i and the candidate cluster head node The distance between is the distance between candidate cluster head node m and the base station, where m , is the set of candidate cluster head nodes;

[0217] The assisting node selection submodule is used to select the next hop point at the cluster head node through the following formula The selected collaboration node in the cluster is:

[0218]

[0219] In the formula, A node in the cluster The distance between the cluster head node and is the maximum distance between the nodes in the cluster and the cluster head node, is the minimum distance between the nodes in the cluster and the cluster head node, To constrain;

[0220] The collaborative transmission submodule is used to transmit all data after data aggregation to the next hop through the cluster head node. The cluster to which Collaboration nodes, among which, is the number of all cooperative nodes including the cluster head node;

[0221] The data transmission submodule is used to encode data using cooperative nodes and transmit it through The cooperating nodes transmit the encoded data to the next hop. , the next jump point The cluster head node of the current transmission is updated, and the preset transmission mode determined by the current transmission cluster head node is selected to continue transmission to the next hop node or base station until all data after data aggregation in the cluster head node is transmitted to the base station.

[0222] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0223] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0224] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0225] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0226] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A clustering adaptive routing method for wireless terminals in a virtual power plant, using a wireless terminal network deployed in the virtual power plant, wherein the wireless terminal network includes a plurality of terminal nodes, each terminal node is communicatively connected to a base station, and the terminal nodes are communicatively connected to each other. It is characterized in that The method comprises the following steps: When collecting energy and transmitting energy to the base station, calculating the remaining energy of each terminal node during the energy transmission process specifically includes: Multiple rounds of energy transmission are performed to the base station through each terminal node, wherein the energy is collected by the terminal node through solar energy, and the remaining energy of each terminal node during the energy transmission process is calculated by the following formula: ; Where i represents the terminal node index, Indicates the transmission round index, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The energy collected by terminal node i during the round transmission, Indicates The energy consumption of terminal node i during round transmission, where ; In the formula, represents the average energy harvesting capability of terminal node i, represents the average duration of a unit round, where , where is the area of ​​the solar panel at terminal node i, is the average solar irradiance, is the opacity coefficient, represents the energy collection efficiency coefficient, ; The probability of each terminal node being selected as a cluster head node is calculated according to the residual energy of each terminal node, and the terminal node that becomes the cluster head node is determined according to the probability; Broadcasting a message to all common nodes through the cluster head node, wherein the common nodes are non-cluster head nodes; Comparing the signal strength of the messages received by the common node from each cluster head node, determining the cluster head node with the highest signal strength of the message, and adding the common node to the cluster to which the corresponding cluster head node belongs; The data collected by all terminal nodes in each cluster are sent to the cluster head node in the corresponding cluster for data aggregation; Taking the distances between each cluster head node and the base station and the distances between each cluster head node as criteria, determining a preset transmission mode with the lowest energy consumption of each cluster head node; All the data after data aggregation is transmitted to the next hop node or base station through each cluster head node through a preset transmission mode determined by each cluster head node, until all the data after data aggregation in the cluster head node is transmitted to the base station.

2. The clustering adaptive routing method for virtual power plant wireless terminals according to claim 1, It is characterized in that The steps of calculating the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node and determining the terminal node to be the cluster head node according to the probability specifically include: According to the residual energy of each terminal node, the probability of each terminal node being selected as the cluster head node is calculated by the following formula: ; In the formula, represents the probability that terminal node i is selected as the cluster head node, represents the initial probability of terminal node i being selected as the cluster head node, express right The model, and are control factors, + , represents the initial residual energy of terminal node i, represents the total initial energy of the wireless terminal network, represents the average distance between the historical cluster head node and the base station, represents the distance between terminal node i and the base station, represents the set of terminal nodes that are not currently selected as cluster head nodes; among them, the initial probability of terminal node i being selected as cluster head node The calculation formula is: ; In the formula, represents the predetermined probability, N represents the number of terminal nodes, It represents the multiple of the energy of terminal node i relative to the minimum initial energy. represents the average remaining energy of the wireless terminal network; where, ; Among them, the total initial energy of the wireless terminal network The calculation formula is: ; In the formula, represents the minimum initial energy; The terminal nodes are sorted from large to small according to the probability of each terminal node being selected as the cluster head node, and the terminal nodes with the first preset number of digits are selected as the cluster head nodes.

3. The clustering adaptive routing method for virtual power plant wireless terminals according to claim 1, It is characterized in that The step of determining the preset transmission mode with the lowest energy consumption of each cluster head node by taking the distance between each cluster head node and the base station and the distance between each cluster head node as a criterion specifically includes: Get the distance between cluster head node i and base station And the distance between cluster head node i and cluster head node j ; The distance between cluster head node i and base station and the distance between cluster head node i and cluster head node j Make comparisons; when > ,and When , cluster head node i selects the single-hop non-cooperative transmission mode; when > ,and When , cluster head node i selects single-hop cooperative transmission mode; when ,and When , cluster head node i selects the multi-hop non-cooperative transmission mode; when ,and When , cluster head node i selects multi-hop cooperative transmission mode; in, is the distance threshold between the cluster head node and the base station, is the distance threshold between cluster head nodes.

4. The clustering adaptive routing method for virtual power plant wireless terminals according to claim 3, It is characterized in that The step of transmitting all the data after data aggregation to the next hop node or the base station through the respective predetermined preset transmission modes by each cluster head node until all the data after data aggregation in the cluster head node is transmitted to the base station includes: When all data after data aggregation is transmitted through the cluster head node through the multi-hop cooperative transmission mode, the next hop point of the cluster head node is selected from the set of candidate cluster head nodes through the following selection criteria, wherein the set of candidate cluster head nodes is composed of all cluster head nodes that select the multi-hop cooperative transmission mode, and the selection criteria are: ; In the formula, is the next hop point of the cluster head node, Candidate cluster head node The remaining energy, is the cluster head node i and the candidate cluster head node The distance between is the distance between candidate cluster head node m and the base station, where m , is the set of candidate cluster head nodes; The next hop point of the cluster head node is The selected collaboration node in the cluster is: ; In the formula, For nodes in the cluster The distance between the cluster head node and is the maximum distance between the nodes in the cluster and the cluster head node, is the minimum distance between the nodes in the cluster and the cluster head node, To constrain; All data after data aggregation is transmitted to the next hop through the cluster head node The cluster to which Collaboration nodes, among which, is the number of all cooperative nodes including the cluster head node; The data is encoded using collaborative nodes and transmitted through The cooperating nodes transmit the encoded data to the next hop. , the next jump point The cluster head node of the current transmission is updated, and the preset transmission mode determined by the current transmission cluster head node is selected to continue transmission to the next hop node or base station until all data after data aggregation in the cluster head node is transmitted to the base station.

5. A clustering adaptive routing system for wireless terminals in a virtual power plant, using a wireless terminal network deployed in the virtual power plant, wherein the wireless terminal network includes a plurality of terminal nodes, each terminal node is connected to a base station for communication, and the terminal nodes are connected to each other for communication, It is characterized in that The system includes: A residual energy calculation module, used to calculate the residual energy of each terminal node during the energy transmission process when collecting energy and transmitting energy to the base station; The remaining energy calculation module specifically includes: The remaining energy calculation submodule is used to transmit energy to the base station in multiple rounds through each terminal node, wherein the energy is collected by the terminal node through solar energy, and the remaining energy of each terminal node during the energy transmission process is calculated by the following formula: ; Where i represents the terminal node index, Indicates the transmission round index, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The remaining energy of terminal node i at the end of the round transmission, Indicates The energy collected by terminal node i during the round transmission, Indicates The energy consumption of terminal node i during round transmission, where ; In the formula, represents the average energy harvesting capability of terminal node i, represents the average duration of a unit round, where , where is the area of ​​the solar panel at terminal node i, is the average solar irradiance, is the opacity coefficient, represents the energy collection efficiency coefficient, ; The cluster head node determination module is used to calculate the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node, and determine the terminal node that becomes the cluster head node according to the probability; A message notification module, used for broadcasting messages to all common nodes through the cluster head node, wherein the common nodes are non-cluster head nodes; A clustering module, used for comparing the signal strength of the messages received by the common node from each cluster head node, determining the cluster head node with the highest signal strength of the message, and adding the common node to the cluster to which the corresponding cluster head node belongs; The data aggregation module is used to send the data collected by all terminal nodes in each cluster to the cluster head node in the corresponding cluster for data aggregation; The transmission mode determination module is used to determine the preset transmission mode with the lowest energy consumption of each cluster head node based on the distance between each cluster head node and the base station and the distance between each cluster head node as a criterion; The adaptive transmission module is used to transmit all the data after data aggregation to the next hop node or base station through each cluster head node through the preset transmission mode determined by each cluster head node, until all the data after data aggregation in the cluster head node is transmitted to the base station.

6. The clustering adaptive routing system for virtual power plant wireless terminals according to claim 5, It is characterized in that The cluster head node determination module specifically includes: The probability calculation submodule is used to calculate the probability of each terminal node being selected as a cluster head node according to the residual energy of each terminal node through the following formula: ; In the formula, represents the probability that terminal node i is selected as the cluster head node, represents the initial probability of terminal node i being selected as the cluster head node, express right The model, and are control factors, + , represents the initial residual energy of terminal node i, represents the total initial energy of the wireless terminal network, represents the average distance between the historical cluster head node and the base station, represents the distance between terminal node i and the base station, represents the set of terminal nodes that are not currently selected as cluster head nodes; among them, the initial probability of terminal node i being selected as cluster head node The calculation formula is: ; In the formula, represents the predetermined probability, N represents the number of terminal nodes, It represents the multiple of the energy of terminal node i relative to the minimum initial energy. represents the average remaining energy of the wireless terminal network; where, ; Among them, the total initial energy of the wireless terminal network The calculation formula is: ; In the formula, represents the minimum initial energy; The cluster head node selection submodule is used to sort the terminal nodes from large to small according to the probability of each terminal node being selected as a cluster head node, and select the terminal nodes with a preset number of digits as cluster head nodes.

7. The clustering adaptive routing system for virtual power plant wireless terminals according to claim 5, It is characterized in that The transmission mode determination module specifically includes: Distance acquisition submodule, used to obtain the distance between cluster head node i and the base station And the distance between cluster head node i and cluster head node j ; The distance comparison submodule is used to compare the distance between cluster head node i and the base station and the distance between cluster head node i and cluster head node j Make comparisons; The first selection submodule is used when > ,and When , cluster head node i selects the single-hop non-cooperative transmission mode; The second selection submodule is used when > ,and When , cluster head node i selects single-hop cooperative transmission mode; The third selection submodule is used when ,and When , cluster head node i selects the multi-hop non-cooperative transmission mode; The fourth selection submodule is used when ,and When , cluster head node i selects multi-hop cooperative transmission mode; in, is the distance threshold between the cluster head node and the base station, is the distance threshold between cluster head nodes.

8. The clustering adaptive routing system for virtual power plant wireless terminals according to claim 7, It is characterized in that The adaptive transmission module comprises: The hop selection submodule is used to select the next hop of the cluster head node from the set of candidate cluster head nodes by the following selection criteria when all the data after data aggregation is transmitted through the cluster head node through the multi-hop cooperative transmission mode, wherein the set of candidate cluster head nodes is composed of all cluster head nodes that select the multi-hop cooperative transmission mode, and the selection criteria are: ; In the formula, is the next hop point of the cluster head node, Candidate cluster head node The remaining energy, is the cluster head node i and the candidate cluster head node The distance between is the distance between candidate cluster head node m and the base station, where m , is the set of candidate cluster head nodes; The assisting node selection submodule is used to select the next hop point at the cluster head node through the following formula The selected collaboration node in the cluster is: ; In the formula, For nodes in the cluster The distance between the cluster head node and is the maximum distance between the nodes in the cluster and the cluster head node, is the minimum distance between the nodes in the cluster and the cluster head node, To constrain; The collaborative transmission submodule is used to transmit all data after data aggregation to the next hop through the cluster head node. The cluster to which Collaboration nodes, among which, is the number of all cooperative nodes including the cluster head node; The data transmission submodule is used to encode data using cooperative nodes and transmit it through The cooperating nodes transmit the encoded data to the next hop. , the next jump point The cluster head node of the current transmission is updated, and the preset transmission mode determined by the current transmission cluster head node is selected to continue transmission to the next hop node or base station until all data after data aggregation in the cluster head node is transmitted to the base station.