Wi-SUN rate adaptive method and system based on time delay

By calculating the delay of each PHY mode of Wi-SUN and combining the packet loss rate and collision probability, the Wi-SUN rate adaptation algorithm is optimized, which solves the problem of failure to evaluate the delay and competition impact in the existing technology, and improves Wi- -SUN performance.

CN118632306APending Publication Date: 2024-09-10LEHE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410902871.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing Wi-SUN rate adaptation algorithm fails to effectively evaluate the impact of PHY mode selection on transmission delay and channel competition, resulting in Wi-SUN performance not reaching the highest level.

Method used

By calculating the delay required for each PHY mode to successfully send a data frame, select the mode with the smallest delay, and combine the changes in packet loss rate and collision probability to perform mode update and selection to ensure that the transmission rate is optimized under restrictive conditions.

Benefits of technology

It improves the rationality of the Wi-SUN rate adaptation algorithm, balances low packet loss rate and high transmission rate, and improves the performance of Wi-SUN.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632306A
    Figure CN118632306A
Patent Text Reader

Abstract

The invention relates to a Wi-SUN rate self-adaption method and system based on time delay in the technical field of communication, and the method comprises the following steps: based on a Wi-SUN protocol mode switching process, calculating the time delay required by each PHY mode for successfully sending a data frame, and obtaining the PHY mode with the minimum time delay as a PHY initial selection mode; meanwhile, judging whether a packet loss probability drop mark or a collision probability drop mark exists in the current channel, if so, performing mode updating, and judging whether the number of times of mode updating reaches an upper limit, otherwise, selecting a PHY initial selection mode; when the number of mode updating times reaches the upper limit, cancelling the packet loss probability drop mark or the collision probability drop mark, and selecting a PHY initial selection mode; and when the number of mode updating times does not reach the upper limit, switching the PHY updating mode after mode updating, thereby solving the problem that the existing Wi-SUN rate adaptive algorithm cannot evaluate the influence of PHY mode selection on transmission delay and channel competition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a Wi-SUN rate adaptation method and system based on delay. Background Art

[0002] Wi-SUN has been widely used in environmental monitoring, intelligent transportation, health care and other application fields. The sensor nodes in Wi-SUN are responsible for sensing data and transmitting the collected data to the system. Wi-SUN is an open specification based on IEEE 802.15.4g, IEEE 802 and IETF IPv6 standards. The physical layer (PHY) is based on the IEEE 802.15.4g standard, supports 24-hop large-scale self-organizing networks, and has long-distance, low-power communication performance, which is well in line with the communication needs of Wi-SUN.

[0003] The Wi-SUN protocol provides multiple PHY operation modes and supports multiple transmission rates to meet different data transmission rate requirements. The PHY mode mainly includes modulation method, transmission rate and modulation index. The Wi-SUN protocol stipulates the process of mode switching, and the specific switching conditions and scenarios can be designed according to the needs.

[0004] The existing rate adaptation algorithm mainly selects the PHY mode according to the channel quality. For the same modulation method, the transmission rate is increased when the channel quality is good, and the transmission rate is reduced when the channel quality is poor.

[0005] The methods for obtaining channel quality information are mainly divided into two categories: direct measurement and statistical information-based. The direct measurement method usually measures the channel quality by measuring the signal-to-noise ratio (SNR) or received signal strength (RSSI) of the signal at the receiving end, and feeds back the channel quality to the transmitting end through a message. The transmitting end can estimate the channel packet loss rate (PLR) based on the channel quality and PHY mode, and select the maximum allowed rate as the transmission rate under the condition of limiting the channel PLR. Based on this, the transmitting end can construct a mapping table of channel quality and PHY mode. When the channel quality changes, the rate adaptation can be achieved by looking up the table.

[0006] Methods based on statistical information usually measure channel quality by counting the PLR ​​of the transmitter over a period of time. For example, methods based on the MRAA (Minstrel Rate Adaptation Algorithm) algorithm or the HA-RRAA (History-Aware Robust Rate Adaptation Algorithm) algorithm measure channel quality by counting the transmission throughput and packet loss rate corresponding to the rate respectively, so as to perform rate adaptation; or use the DR-CA (Data Rate Adaptive Channel Assignment) algorithm, considering the impact of the transmission rate on the wireless channel competition, assigning links with the same or equivalent transmission rate to the same channel, and adjusting the transmission rate so that the sum of the ETTs of all links on each channel is roughly equal, so as to obtain better performance.

[0007] Among the above algorithms, the MRAA algorithm / HA-RRAA algorithm mainly uses PLR as the rate adjustment indicator, and does not consider the impact of channel contention on Wi-SUN performance; and the DR-CA algorithm cannot perform fixed channel allocation design in the frequency hopping scenario. Therefore, there is a problem that the PHY mode selection during the final channel rate adaptation cannot maximize the performance of Wi-SUN. Summary of the invention

[0008] In view of the shortcomings in the prior art, the present invention provides a Wi-SUN rate adaptation method and system based on delay, which solves the problem that the existing Wi-SUN rate adaptation algorithm fails to evaluate the impact of PHY mode selection on transmission delay and channel contention.

[0009] In order to solve the above technical problems, the present invention is solved by the following technical solutions:

[0010] A Wi-SUN rate adaptation method based on delay includes the following steps:

[0011] Based on the Wi-SUN protocol mode switching process, the delay required for each PHY mode to successfully send a data frame is calculated, and the PHY mode with the minimum delay is obtained as the initial PHY selection mode;

[0012] Determine whether there is a packet loss rate reduction mark or a collision probability reduction mark on the current channel. If so, perform a mode update and determine whether the number of mode updates reaches an upper limit. Otherwise, select the PHY initial selection mode.

[0013] When the number of mode updates reaches the upper limit, the packet loss rate reduction mark or the collision probability reduction mark is cancelled, and the PHY initial selection mode is selected; when the number of mode updates does not reach the upper limit, the PHY update mode after the mode update is switched.

[0014] Optionally, the Wi-SUN protocol mode switching process includes the following steps:

[0015] Start mode switching and evaluate the idle channel. If the idle channel evaluation is successful, send a mode switching frame and determine whether the bandwidth changes in the new mode. If the idle channel evaluation fails, return to the basic mode for carrier sense multiple access and send data frames after success.

[0016] If the bandwidth changes in the new mode, the idle channel is evaluated again. If there is no change, the data frame is sent directly;

[0017] If the idle channel is successfully evaluated again, the data frame is sent directly, otherwise it returns to the basic mode.

[0018] Optionally, the formula for calculating the delay required for each PHY mode to successfully send a data frame is:

[0019] delay k =α base *(ETT base +ACD base +WT base )+(1-α base )

[0020] *α k *(MST k +ACD base +ETT base +WT base )

[0021] +(1-α base )*(1-α k )*(MST k +ETT k +WT k ), where α k is the collision probability of selecting the kth PHY mode; α base is the collision probability of selecting the basic PHY mode; ETT k Indicates the transmission delay required for the link to select the kth PHY mode; ACD base Indicates the contention channel delay required to select the basic PHY mode; ETT base Indicates the transmission delay required for link selection basic PHY mode; WT base Indicates the time it takes to wait for ACK to successfully transmit a frame in the link selection basic PHY mode; WT k Indicates the time required to wait for ACK to successfully transmit a frame in the kth PHY mode; MST kIndicates the mode switching time required to select the kth PHY mode.

[0022] Optionally, after selecting the PHY initial selection mode, the following steps are further included:

[0023] After selecting the PHY initial selection mode, update the channel packet loss cumulative update parameter and collision probability cumulative update parameter;

[0024] Set the packet loss threshold and collision threshold, determine whether the packet loss cumulative update parameter exceeds the packet loss threshold, and whether the packet loss cumulative update parameter decreases. If so, mark the packet loss rate decrease flag, otherwise do not mark;

[0025] Determine whether the cumulative update parameter of the collision probability exceeds the collision threshold and whether the cumulative update parameter of the collision probability decreases. If so, mark the collision probability decrease flag, otherwise do not mark it.

[0026] Optionally, after switching the PHY update mode, the following steps are further included:

[0027] Update mode update count.

[0028] A delay-based Wi-SUN rate adaptation system includes a delay calculation unit, a first mode switching analysis unit, and a second mode switching analysis unit;

[0029] The delay calculation unit is used to calculate the delay required for each PHY mode to successfully send a data frame based on the Wi-SUN protocol mode switching process, and obtain the PHY mode with the minimum delay as the PHY initial selection mode;

[0030] The first mode switching analysis unit is used to determine whether there is a packet loss rate reduction mark or a collision probability reduction mark on the current channel, and if so, perform a mode update and determine whether the number of mode updates reaches an upper limit, otherwise select the PHY initial selection mode;

[0031] The second mode switching analysis unit is used to cancel the packet loss rate reduction mark or the collision probability reduction mark and select the PHY initial selection mode when the number of mode updates reaches the upper limit; when the number of mode updates does not reach the upper limit, switch the PHY update mode after the mode update.

[0032] Optionally, the delay calculation unit calculates the delay required for each PHY mode to successfully send a data frame as follows:

[0033] delay k =α base *(ETT base +ACD base +WT base )+(1-α base)

[0034] *α k *(MST k +ACD base +ETT base +WT base )

[0035] +(1-α base )*(1-α k )*(MST k +ETT k +WT k ), where α k is the collision probability of selecting the kth PHY mode; α base is the collision probability of selecting the basic PHY mode; ETT k Indicates the transmission delay required for the link to select the kth PHY mode; ACD base Indicates the contention channel delay required to select the basic PHY mode; ETT base Indicates the transmission delay required for link selection basic PHY mode; WT base Indicates the time it takes to wait for ACK to successfully transmit a frame in the link selection basic PHY mode; WT k Indicates the time required to wait for ACK to successfully transmit a frame in the kth PHY mode; MST k Indicates the mode switching time required to select the kth PHY mode.

[0036] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects:

[0037] By comprehensively considering the impact of packet loss rate and collision probability in PHY mode switching, the Wi-SUN rate adaptation algorithm takes into account the impact of channel contention, thereby improving the rationality of the Wi-SUN rate adaptation algorithm;

[0038] The performance impact of PHY mode adjustment on Wi-SUN is evaluated through the average end-to-end transmission delay of Wi-SUN, which balances low packet loss rate and high transmission rate. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0040] Figure 1This is a delay-based Wi-SUN rate adaptation flow chart proposed in the first embodiment;

[0041] Figure 2 This is a flow chart of the Wi-SUN protocol mode switching proposed in the first embodiment;

[0042] Figure 3 This is a flow chart of data frame sending situation 1 proposed in the first embodiment;

[0043] Figure 4 This is a flow chart of data frame sending situation 2 proposed in the first embodiment;

[0044] Figure 5 This is a flow chart of data frame sending situation 3 proposed in the first embodiment;

[0045] Figure 6 This is a diagram of the CSMA / CA strategy in Wi-SUN proposed in the first embodiment. DETAILED DESCRIPTION

[0046] The present invention is further described in detail below in conjunction with embodiments. The following embodiments are for explanation of the present invention but the present invention is not limited to the following embodiments.

[0047] Embodiment 1

[0048] like Figure 1 As shown, a Wi-SUN rate adaptation method based on delay includes the following steps: based on the Wi-SUN protocol mode switching process, calculating the delay required for each PHY mode to successfully send a data frame, and obtaining the PHY mode with the minimum delay as the PHY initial selection mode; judging whether there is a packet loss rate reduction mark or a collision probability reduction mark in the current channel, if so, performing a mode update, and judging whether the number of mode updates reaches an upper limit, otherwise selecting the PHY initial selection mode; when the number of mode updates reaches the upper limit, canceling the packet loss rate reduction mark or the collision probability reduction mark, and selecting the PHY initial selection mode; when the number of mode updates does not reach the upper limit, switching the PHY update mode after the mode update.

[0049] Among them, after selecting the PHY initial selection mode, the following steps are also included: after selecting the PHY initial selection mode, updating the packet loss cumulative update parameters and collision probability cumulative update parameters of the channel; setting the packet loss threshold and the collision threshold, judging whether the packet loss cumulative update parameters exceed the packet loss threshold, and whether the packet loss cumulative update parameters are reduced, if so, marking the packet loss rate decrease mark, otherwise not marking; judging whether the collision probability cumulative update parameters exceed the collision threshold, and whether the collision probability cumulative update parameters are reduced, if so, marking the collision probability decrease mark, otherwise not marking, after switching the PHY update mode, the following steps are also included: updating the number of mode updates.

[0050] Specifically, you first need to make preparations for rate adaptive adjustment, such as Figure 2 As shown, a Wi-SUN delay model needs to be established according to the Wi-SUN mode switching process.

[0051] At this time Figure 2 In the Wi-SUN mode switching process shown, assuming there are k PHY modes in total, the following situations may occur when the kth PHY mode is selected to send a data frame:

[0052] Case 1: If Figure 3 As shown, the first CCA (Clear Channel Assessment) fails, the mode switching is turned off, and the basic PHY mode (base PHY mode) is used for carrier sense multiple access / collision avoidance (CSMA / CA), and the data frame is sent after success.

[0053] Case 2: If Figure 4 As shown, the first CCA succeeds, and after mode switching, CCA fails again. At this time, the mode switching is turned off and the base PHY mode is returned to perform CSMA / CA. After success, the data frame is sent.

[0054] Case 3: If Figure 5 As shown, both CCAs are successful and the data frame can be sent using the selected kth PHY mode.

[0055] Among them, the CSMA / CA strategy in Wi-SUN is as follows Figure 6 As shown in the figure, NB is the backoff number, M is the maximum backoff number. BE is the backoff index, with an initial value of b and a maximum value of B. The Wi-SUN device randomly delays 0 to 2 seconds before sending each data frame. BE -1 backoff time slot, CCA is executed again. If the channel is idle, the data frame is sent successfully. If the channel is not idle, the backoff index is increased and a random delay is performed. If the backoff number is greater than M, the transmission fails.

[0056] Based on the above, it can be determined that the delay required to successfully send a data frame by selecting the kth PHY mode is as follows:

[0057] delay k =α base *(ETT base +ACD base +WT base )+(1-α base )

[0058] *α k *(MST k +ACD base +ETTbase +WT base )

[0059] +(1-α base )*(1-α k )*(MST k +ETT k +WT k ), where α k is the collision probability of selecting the kth PHY mode, α base is the collision probability of selecting base PHY mode.

[0060] ETT k The transmission delay required for the link to select the kth PHY mode is the mathematical expectation of the time required to successfully transmit a frame. It is obtained by multiplying the average number of frames required to successfully send a frame by the time required to transmit a frame. The calculation formula is: Among them, PLR k represents the packet loss rate of the link selecting the kth PHY mode, R k represents the kth PHY mode transmission rate, and L represents the average frame length. base Indicates the transmission delay required by base PHY mode.

[0061] The link PHY mode has an impact on the link ETT. For the same modulation method, increasing the transmission rate will reduce the time to transmit a frame, but will increase the PLR, thereby increasing the number of retransmissions. According to the packet loss rate of different PHY modes, the optimal PHY mode can be found to minimize ETT.

[0062] ACD base Indicates the contention channel delay required to select the base PHY mode. It is the mathematical expectation of the time required for the link to successfully contend for the wireless channel. It is obtained by multiplying the average number of frames required to successfully transmit a frame by the average backoff time for sending a frame. The calculation formula is: Where τ represents the duration of a single CSMA / CA backoff slot, E(NB) base Indicates the average number of backoff slots in base PHY mode. You can multiply the probability corresponding to each backoff number of CSMA / CA by the corresponding average number of backoff slots, and then sum all the multiplied results to get:

[0063]

[0064] The link PHY mode has an impact on the ACD of the collision domain link. Increasing the transmission rate will increase the PLR ​​of this link, thereby increasing the ACD of this link, but it may reduce the E(NB) of the collision domain link, thereby reducing the ACD of the collision domain link. The "performance anomaly" problem is more serious in multi-rate networks with fierce channel competition, and the performance optimization brought by increasing the transmission rate of this low-rate link is more significant.

[0065] WT k The time to wait for ACK to successfully transmit a frame in the kth PHY mode is obtained by multiplying the average number of frames required to successfully send a frame by the time to wait for ACK after sending a data frame:

[0066] Among them, T wait Indicates the time required to wait for ACK after sending each data frame; WT base Indicates the time to wait for ACK when selecting base PHY mode.

[0067] MST k The mode switching time required to select the kth PHY mode is obtained by multiplying the average number of frames required to successfully send a frame by the time required for a data frame mode switching:

[0068] Among them, T ms Indicates the time required for mode switching.

[0069] On the other hand, it should be noted that the Wi-SUN protocol settings are shown in Table 1 below:

[0070] Table 1 Wi-SUN protocol mode switching time setting table

[0071]

[0072] The main fixed parameters of the delay model are as follows: average frame length L; CSMA / CA related parameters b, B, M, τ; the time T required to wait for ACK after sending each data frame wait ; The time required for mode switching T ms .

[0073] Furthermore, the main statistical parameters of the delay model are as follows:

[0074] First, the packet loss rate (PLR) of different PHY modes k

[0075] The Wi-SUN protocol mainly supports two modulation modes, FSK and OFDM, and supports multi-level transmission rates. There are four OFDM modulation modes, and each modulation mode has 7 MCS transmission levels. MCS0 and MCS1 are based on BPSK modulation, MCS2, MCS3 and MCS4 are based on QPSK modulation, and MCS5 and MCS6 are based on 16-QAM modulation.

[0076] The SNR-PLR curves under different PHY modes can be obtained by testing, and the PLR ​​corresponding to the SNR at the initial moment can be calculated. k As the initial value, the packet loss is counted during actual data transmission, and the PLR ​​is smoothly updated after a certain number of statistics. k .

[0077] Second, the collision probability α of different PHY modes k , α k Initially 0, count the collisions during actual data transmission and smoothly update α k .

[0078] Furthermore, if Figure 1 As shown in Figure 1, before mode selection, the link calculates the delay required for successfully sending a frame in all selectable PHY modes.

[0079] When the network channel quality and network channel competition situation do not change significantly, the PHY mode with the smallest calculation delay will be selected and the packet loss rate and collision probability of the selected PHY mode with the smallest calculation delay will be updated.

[0080] If the cumulative update of the packet loss rate exceeds the packet loss threshold, it means that the network channel quality has changed. If the packet loss rate increases and the channel quality deteriorates, the calculation delay of the selected PHY mode with the smallest calculation delay will be gradually updated and increased. There is no need to actively try other PHY modes, because the calculation delay of other PHY modes is smaller than the actual delay after the channel quality changes. If the calculation delay of the selected PHY mode with the smallest calculation delay is still smaller than all other PHY modes after the update, it means that the selected PHY mode is still the PHY mode with the smallest actual delay; if the calculation delay is larger than some other PHY modes after the update, the next transmission will automatically switch to other PHY modes.

[0081] If the packet loss rate decreases and the channel quality improves, the calculation delay of the selected PHY mode with the smallest calculation delay will gradually be updated and reduced, but the calculation delay of other PHY modes is larger than the actual delay after the channel quality changes. Therefore, you can try a new PHY mode with a higher packet loss rate than the currently selected PHY mode and update the statistical parameters of the new PHY mode. There is a maximum number of attempts to try a new PHY mode. If the calculation delay of the new PHY mode becomes the minimum calculation delay among all PHY modes before the number of attempts reaches the upper limit, you can continue to try a new PHY mode with a higher packet loss rate, otherwise the attempt ends.

[0082] Similarly, if the cumulative update of the collision probability exceeds the collision threshold and decreases, and the channel competition is reduced, a PHY mode with a higher collision probability can be tried, and the statistical parameters of the new PHY mode can be updated. There is a maximum number of attempts to try a new PHY mode. If the calculation delay of the new PHY mode update becomes the minimum calculation delay among all PHY modes before the number of attempts reaches the upper limit, the new PHY mode with a higher collision probability can be tried again, otherwise the attempt ends.

[0083] Embodiment 2

[0084] A delay-based Wi-SUN rate adaptation system includes a delay calculation unit, a first mode switching analysis unit, and a second mode switching analysis unit;

[0085] The delay calculation unit is used to calculate the delay required for each PHY mode to successfully send a data frame based on the Wi-SUN protocol mode switching process, and obtain the PHY mode with the minimum delay as the PHY initial selection mode;

[0086] The first mode switching analysis unit is used to determine whether there is a packet loss rate reduction mark or a collision probability reduction mark in the current channel. If so, the mode is updated and whether the number of mode updates reaches an upper limit. Otherwise, the PHY initial selection mode is selected;

[0087] The second mode switching analysis unit is used to cancel the packet loss rate reduction mark or the collision probability reduction mark and select the PHY initial selection mode when the number of mode updates reaches the upper limit; when the number of mode updates does not reach the upper limit, switch the PHY update mode after the mode update.

[0088] The formula for calculating the delay required for each PHY mode to successfully send a data frame by the delay calculation unit is:

[0089] delay k =α base *(ETT base +ACD base +WT base )+(1-α base )

[0090] *α k *(MST k +ACD base +ETT base +WT base )

[0091] +(1-α base )*(1-α k )*(MST k +ETT k +WT k ), where α k is the collision probability of selecting the kth PHY mode; α base is the collision probability of selecting the basic PHY mode; ETT k Indicates the transmission delay required for the link to select the kth PHY mode; ACD base Indicates the contention channel delay required to select the basic PHY mode; ETT base Indicates the transmission delay required for link selection basic PHY mode; WT base Indicates the time it takes to wait for ACK to successfully transmit a frame in the link selection basic PHY mode; WT k Indicates the time required to wait for ACK to successfully transmit a frame in the kth PHY mode; MST k Indicates the mode switching time required to select the kth PHY mode.

[0092] Since the delay-based Wi-SUN rate adaptation system in this embodiment uses the delay-based Wi-SUN rate adaptation method described in the first embodiment, the specific execution process will not be repeated.

[0093] The above is only a preferred embodiment of the present invention, and is not any formal or substantial limitation of the present invention. It should be pointed out that ordinary technicians in this technical field can make several improvements and supplements without departing from the method of the present invention, and these improvements and supplements should also be regarded as the protection scope of the present invention. Any technician familiar with this profession, without departing from the spirit and scope of the present invention, can make some changes, modifications and evolutions of the technical content disclosed above, which are equivalent embodiments of the present invention; at the same time, any changes, modifications and evolutions of any equivalent changes made to the above embodiments based on the essential technology of the present invention are still within the scope of the technical solution of the present invention.

Claims

1. A Wi-SUN rate adaptation method based on delay, characterized in that: The following steps are involved: Based on the Wi-SUN protocol mode switching process, the delay required for each PHY mode to successfully send a data frame is calculated, and the PHY mode with the minimum delay is obtained as the initial PHY selection mode; Determine whether there is a packet loss rate reduction mark or a collision probability reduction mark on the current channel. If so, perform a mode update and determine whether the number of mode updates reaches an upper limit. Otherwise, select the PHY initial selection mode. When the number of mode updates reaches the upper limit, the packet loss rate reduction mark or the collision probability reduction mark is cancelled, and the PHY initial selection mode is selected; When the number of mode updates does not reach the upper limit, the PHY update mode after the mode update is switched.

2. The delay-based Wi-SUN rate adaptation method according to claim 1, characterized in that: The Wi-SUN protocol mode switching process includes the following steps: Start mode switching and evaluate the idle channel. If the idle channel evaluation is successful, send a mode switching frame and determine whether the bandwidth changes in the new mode. If the idle channel evaluation fails, return to the basic mode for carrier sense multiple access and send data frames after success. If the bandwidth changes in the new mode, the idle channel is evaluated again. If there is no change, the data frame is sent directly; If the idle channel is successfully evaluated again, the data frame is sent directly, otherwise it returns to the basic mode.

3. The delay-based Wi-SUN rate adaptation method according to claim 2, characterized in that: The formula for calculating the delay required for each PHY mode to successfully send a data frame is: delay k =α base *(ETT base +ACD base +WT base )+(1-α base )*α k *(MST k +ACD base +ETT base +WT base )+(1-α base )*(1-α k )*(MST k +ETT k +WT k ), where α k is the collision probability of selecting the kth PHY mode; α base is the collision probability of selecting the basic PHY mode; ETT k Indicates the transmission delay required for the link to select the kth PHY mode; ACD base Indicates the contention channel delay required to select the basic PHY mode; ETT base Indicates the transmission delay required for link selection basic PHY mode; WT base Indicates the time it takes to wait for ACK to successfully transmit a frame in the link selection basic PHY mode; WT k Indicates the time required to wait for ACK to successfully transmit a frame in the kth PHY mode; MST k Indicates the mode switching time required to select the kth PHY mode.

4. The delay-based Wi-SUN rate adaptation method according to claim 1, characterized in that: After selecting the PHY initial selection mode, the following steps are also included: After selecting the PHY initial selection mode, update the channel packet loss cumulative update parameter and collision probability cumulative update parameter; Set the packet loss threshold and collision threshold, determine whether the packet loss cumulative update parameter exceeds the packet loss threshold, and whether the packet loss cumulative update parameter decreases. If so, mark the packet loss rate decrease flag, otherwise do not mark; Determine whether the cumulative update parameter of the collision probability exceeds the collision threshold and whether the cumulative update parameter of the collision probability decreases. If so, mark the collision probability decrease flag, otherwise do not mark it.

5. The delay-based Wi-SUN rate adaptation method according to claim 1, characterized in that: After switching the PHY update mode, the following steps are also included: Update mode update count.

6. A delay-based Wi-SUN rate adaptation system, characterized in that: It includes a delay calculation unit, a first mode switching analysis unit and a second mode switching analysis unit; The delay calculation unit is used to calculate the delay required for each PHY mode to successfully send a data frame based on the Wi-SUN protocol mode switching process, and obtain the PHY mode with the minimum delay as the PHY initial selection mode; The first mode switching analysis unit is used to determine whether there is a packet loss rate reduction mark or a collision probability reduction mark on the current channel, and if so, perform a mode update and determine whether the number of mode updates reaches an upper limit, otherwise select the PHY initial selection mode; The second mode switching analysis unit is configured to cancel the packet loss rate reduction mark or the collision probability reduction mark and select the PHY initial selection mode when the number of mode updates reaches an upper limit; When the number of mode updates does not reach the upper limit, the PHY update mode after the mode update is switched.

7. A delay-based Wi-SUN rate adaptation system according to claim 6, characterized in that: The formula for the delay calculation unit to calculate the delay required for each PHY mode to successfully send a data frame is: delay k =α base *(ETT base +ACD base +WT base )+(1-α base )*α k *(MST k +ACD base +ETT base +WT base )+(1-α base )*(1-α k )*(MST k +ETT k +WT k ), where α k is the collision probability of selecting the kth PHY mode; α base is the collision probability of selecting the basic PHY mode; ETT k Indicates the transmission delay required for the link to select the kth PHY mode; ACD base Indicates the contention channel delay required to select the basic PHY mode; ETT base Indicates the transmission delay required for link selection basic PHY mode; WT base Indicates the time it takes to wait for ACK to successfully transmit a frame in the link selection basic PHY mode; WT k Indicates the time required to wait for ACK to successfully transmit a frame in the kth PHY mode; MST k Indicates the mode switching time required to select the kth PHY mode.