Information collection-oriented AUV path optimization method based on maximum information value

By using the KK++_LEACH algorithm to divide nodes in the hydroacoustic sensor network and combining the Dijkstra and DDPG algorithms for AUV path planning, the problem of uneven energy consumption of sensor nodes and low efficiency of AUV path planning is solved, and the value of network information is improved. and the improvement of AUV information collection efficiency.

CN118798456APending Publication Date: 2024-10-18SHENYANG LIGONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410777583.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The energy consumption of sensor nodes in existing hydroacoustic sensor networks is unbalanced, resulting in reduced network value and shortened lifespan. AUV path planning efficiency is low, making it difficult to achieve effective information collection in complex ocean environments.

Method used

The hydroacoustic clustering KK++_LEACH algorithm based on the largest information value is used to divide the sensor nodes, and the Dijkstra algorithm and the improved DDPG algorithm are combined for AUV path planning. Through the combination of local and global planning, the election energy consumption is uniform and the value is large. cluster head nodes to achieve network information value increase and AUV effective risk avoidance.

Benefits of technology

Through evenly distributed cluster head nodes and optimized path planning, the information value of the hydroacoustic sensor network and the efficiency of AUV information collection are improved, the network life is extended, and the working ability of AUVs in complex ocean environments is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798456A_ABST
    Figure CN118798456A_ABST
Patent Text Reader

Abstract

The invention provides an AUV (Autonomous Underwater Vehicle) path optimization method oriented to information acquisition and based on maximum information value, and relates to the technical field of AUV information acquisition of an underwater acoustic sensor network. The method specifically comprises the following steps: dividing underwater sensor nodes in an underwater acoustic sensor network by adopting an underwater acoustic clustering KK + + LEACH algorithm based on the maximum information value, wherein the underwater acoustic clustering KK + + LEACH algorithm comprises a K-Means + + algorithm, a KNN algorithm and a network residual energy balance strategy; constructing an AUV information acquisition path planning model by adopting an AUV information acquisition path planning algorithm DIDDPG based on a Dijkstra algorithm and an improved DDPG algorithm; based on the division result of the underwater sensor nodes in the underwater acoustic sensor network, performing path planning on the AUV by using an AUV information acquisition path planning model; on the basis of maximizing the information value of the underwater sensor node in the underwater acoustic sensor network, effective risk avoiding of the AUV is realized, so that the information acquisition efficiency of the AUV is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of AUV information collection of an underwater acoustic sensor network, and in particular to an AUV path optimization method based on maximum information value for information collection. Background Art

[0002] Due to the continuous reduction of land resources, the ocean contains a large number of rare resources, and people have begun to turn to the exploration and development of seabed resources. However, the harsh underwater environment makes it difficult for people to work underwater, so so far, less than 10% of the ocean has been explored and utilized by humans. The development of artificial intelligence, the Internet of Things, computer fusion, and underwater communications technologies has made it possible for people to use sensors to build underwater networks to monitor the marine environment. As a country with strong marine resources, my country's research on underwater acoustic sensor networks (UASN) technology plays an important role in improving my country's development and utilization rate of the ocean, monitoring and protecting the ocean, and is of great significance to promoting the development of my country's national economy and improving its comprehensive national strength.

[0003] UASN mainly realizes underwater environment perception, monitoring and control by collecting information from underwater sensor nodes in the target waters through technologies such as autonomous underwater vehicles (AUV). Each underwater sensor node is equipped with an acoustic modem and a corresponding battery. However, once the node is deployed, it will be difficult to replace the battery due to the harsh underwater environment. Since the existing underwater acoustic communication technology has the characteristics of limited bandwidth capacity, high bit error rate, variable delay and high communication power, it will lead to an increase in the energy consumption of underwater nodes, and the exhaustion of energy of most nodes means the death of the entire underwater acoustic sensor network, which cannot provide more information value (VoI) for the AUV information collection task. In order to improve the efficiency of AUV information collection, balance node energy consumption, and improve network VoI, experts and scholars have simplified and studied the network structure of UASN and proposed a UASN clustering algorithm, which has been widely used in UASN. The algorithm divides the nodes in the underwater network into different clusters according to certain rules. Each cluster consists of a cluster head node and several member nodes. The cluster head node is responsible for collecting and summarizing the data of the member nodes, and then transmitting the summarized data to the base station or other cluster head nodes. The member nodes are responsible for collecting the data they perceive and sending it to the cluster head node. Due to the challenges faced by underwater acoustic sensor networks such as the complexity of the underwater environment, the limitation of node energy, and the large scale of the network, how to use an effective clustering algorithm to reduce and balance the energy consumption of underwater nodes, extend the network lifetime, and improve the network VoI is an urgent problem to be solved.

[0004] AUV can overcome the complex and changeable marine environment, and can complete various information collection tasks efficiently and excellently with limited energy. It has attracted great attention from countries around the world and has been rapidly developed. Path planning is equivalent to the brain of AUV, guiding the movement of AUV. Therefore, the prerequisite for AUV to successfully complete the task is to have the ability of path planning, that is, to be able to plan a path from the starting position to the target point that meets the requirements. The evaluation indicators of the quality of path planning include the shortest walking route and the shortest walking time, which can reflect the performance indicators of AUV work efficiency, thereby reflecting the intelligence level of AUV. Therefore, path planning has always been one of the core technologies of AUV. In recent years, experts and scholars at home and abroad have made great progress in the research of AUV path planning algorithms, but facing the complex and changeable marine environment, AUV path planning algorithms are still a huge challenge. Therefore, how to develop a clustering algorithm that can reduce and balance the energy consumption of underwater nodes, improve network VoI, and a path planning algorithm that can improve the efficiency of AUV information collection has become the focus of current research by scholars, which has important theoretical significance and practical value for the application of UASN. Summary of the invention

[0005] In view of the shortcomings of the above-mentioned prior art, the present invention is based on the idea of ​​combining local planning with global planning, and proposes an AUV path optimization method based on maximum information value for information collection. The purpose is to achieve effective risk avoidance of AUV on the basis of maximizing the information value of underwater sensor nodes in Underwater Acoustic Sensor Networks (UASN), thereby improving the efficiency of AUV information collection.

[0006] The present invention proposes an AUV path optimization method based on maximum information value for information collection, comprising the following steps:

[0007] Step 1: Use the underwater acoustic clustering KK++_LEACH algorithm based on the maximum information value to divide the underwater sensor nodes in the underwater acoustic sensor network;

[0008] Step 2: Use the AUV information collection path planning algorithm DIDDPG based on the Dijkstra algorithm and the improved DDPG algorithm to build an AUV information collection path planning model;

[0009] Step 3: Based on the division results of underwater sensor nodes in the hydroacoustic sensor network, the AUV information collection path planning model is used to plan the path of the autonomous underwater vehicle AUV;

[0010] The step 1 further comprises:

[0011] Step 1.1: Obtain the energy of all underwater sensor nodes in the current underwater acoustic sensor network, and determine whether the energy of each underwater sensor node is higher than a preset threshold. If so, the underwater sensor node is regarded as a surviving node, otherwise, the underwater sensor node is regarded as a dead node;

[0012] Step 1.2: Use the threshold formula in the LEACH algorithm to calculate the threshold T, count the number of surviving nodes in the underwater acoustic sensor network, and use the product of the threshold T and the number of surviving nodes as the k value;

[0013] Step 1.3: Update the k value using the network residual energy balance strategy;

[0014] Step 1.4: Based on the updated k value, the K-Means++ algorithm is used to cluster all underwater sensor nodes in the underwater acoustic sensor network to obtain k cluster centers;

[0015] Step 1.5: Based on the k cluster centers, use the K nearest neighbor algorithm to determine the k cluster head nodes;

[0016] Step 1.6: Divide all underwater sensor nodes in the underwater acoustic sensor network into k clusters according to the k cluster head nodes;

[0017] Step 1.7: The cluster head node in each cluster creates a TDMA schedule and broadcasts it to all member nodes in the cluster. All member nodes send data to the cluster head node according to the received TDMA schedule.

[0018] The step 1.3 further comprises:

[0019] Step 1.3.1: Construct a node energy consumption model of the underwater acoustic sensor network, including an energy consumption model for underwater sensor nodes to send data and an energy consumption model for underwater sensor nodes to receive data;

[0020] Step 1.3.2: Using the node energy consumption model of the underwater acoustic sensor network, calculate the ratio of the average residual energy of the current underwater acoustic sensor network to the initial node energy of the underwater sensor nodes in the underwater acoustic sensor network. If the ratio is lower than the set threshold f, update the k value by multiplying the current k value by the hyperparameter δ;

[0021] The expression for updating the k value is:

[0022]

[0023] Where k′ represents the updated k value; f is the set threshold; aver_E represents the average residual energy of the current underwater acoustic sensor network; E0 represents the initial node energy of the underwater sensor node; δ is a hyperparameter;

[0024] Step 1.3.3: Determine whether the updated k value is greater than the product of the number of surviving nodes in the current underwater acoustic sensor network and the set hyperparameter L. If so, the updated k value is the product of the number of surviving nodes in the current underwater acoustic sensor network and the set hyperparameter L. If not, the updated k value remains unchanged;

[0025] The energy consumption model of the underwater sensor node sending data in step 1.3.1 is:

[0026]

[0027] Where E Tx (h, d) represents the energy required by the underwater sensor node to send h bits of data; d represents the transmission distance between the underwater sensor node sending data and the underwater sensor node receiving data; E elec Represents the energy required to receive and send a unit bit of data; ε fs represents the free space model coefficient; ε amp represents the multipath attenuation model coefficient; d0 represents the threshold of the transmission distance, and

[0028] The energy consumption model of the underwater sensor node receiving data is:

[0029] E Rx (h) = E elec *h

[0030] Where E Rx (h) represents the energy required by the underwater sensor node to receive h bits of data;

[0031] The step 1.4 further comprises:

[0032] Step 1.4.1: Randomly select a surviving node from all surviving nodes in the underwater acoustic sensor network as the initial cluster center C1;

[0033] Step 1.4.2: Calculate the distances between all surviving nodes in the underwater acoustic sensor network except the initial cluster center C1 and the initial cluster center C1 respectively;

[0034] Step 1.4.3: Arrange all calculated distances in descending order to obtain the sorting result;

[0035] Step 1.4.4: Select the surviving node with the largest distance from the sorting results as a new cluster center;

[0036] Step 1.4.5: Remove the new cluster center from all surviving nodes in the underwater acoustic sensor network except the initial cluster center C1, and repeat steps 1.4.2-1.4.4 until k cluster centers are obtained;

[0037] The step 1.5 further comprises:

[0038] Step 1.5.1: For any cluster center among the k cluster centers, calculate the Euclidean distance from the cluster center to each underwater sensor node in the underwater acoustic sensor network;

[0039] Step 1.5.2: sort the Euclidean distances from the cluster center to each underwater sensor node in the underwater acoustic sensor network from small to large to obtain a sorting result;

[0040] Step 1.5.3: Select the underwater sensor nodes corresponding to the first m Euclidean distances in the sorting results as the m nearest neighbor underwater sensor nodes of the cluster center;

[0041] Step 1.5.4: Select the underwater sensor node with the largest residual energy from the m nearest neighbor underwater sensor nodes of the cluster center as the cluster head node corresponding to the cluster center;

[0042] Step 1.5.5: Repeat steps 1.5.1-1.5.4 until a cluster head node is selected for each cluster center;

[0043] The step 1.6 further comprises:

[0044] Step 1.6.1: Treat each underwater sensor node except the cluster head node in the underwater acoustic sensor network as an ordinary node, and broadcast the k cluster head nodes to all ordinary nodes;

[0045] Step 1.6.2: For any common node, calculate the Euclidean distance between the common node and the k cluster head nodes respectively, and select the cluster head node with the closest distance according to the calculated Euclidean distance, and then add the common node as a member node to the cluster with the cluster head node as the cluster head;

[0046] Step 1.6.3: Select a cluster for each common node to join, and divide all underwater sensor nodes in the underwater acoustic sensor network into k clusters;

[0047] The AUV information collection path planning model in step 2 is composed of an Actor network, a first Critic network and a second Critic network, wherein the Actor network includes: an Online Actor network and a Target Actor network; the first Critic network includes: a first Online Critic network and a first Target Critic network; the second Critic network includes: a second Online Critic network and a second Target Critic network;

[0048] The step 3 further comprises:

[0049] Step 3.1: Consider the AUV as an intelligent agent and the k cluster head nodes as k local points;

[0050] Step 3.2: Select a starting point from the k local points and use the Dijkstra algorithm to perform global path planning for the AUV to obtain a driving path that includes all local points;

[0051] Step 3.3: Randomly initialize the AUV information collection path planning model, including: respectively initialize the Actor network μ(s|θ μ ), First Online Critic Network First Target Critic Network Second Online Critic Network And the second Target Critic network Where s represents the state of the agent; θ μ Represents the network parameters of the Online Actor network in the Actor network; t represents the state of the agent at the current time t; a t represents the action of the agent at the current time t; Represents the network parameters of the first Critic network; s t+1 represents the state of the agent at the next moment t+1; a t+1 Indicates the action of the agent at the next moment t+1; Represents the network parameters in the second Critic network;

[0052] Step 3.4: Initialize the experience playback area R and random noise ∈;

[0053] Step 3.5: The AUV drives along the path obtained in step 3.2, and uses the hydroacoustic sensor network to collect the speed and position of the AUV at the current moment as the state s of the agent at the current moment t t ;

[0054] Step 3.6: Set the state s of the agent at the current time t t Input the initialized Actor network and get the action a of the agent at the current time t t ;

[0055] Step 3.7: Correct the position of the AUV according to the preset AUV position constraints, and use the corrected position of the AUV at the next moment to obtain the state s of the agent at the next moment t+1 t+1 ;

[0056] Step 3.8: Construct a reward function and obtain the agent's reward r at the current moment t ;

[0057] Step 3.9: Set the state s of the agent at the current time t t , the action a of the agent at the current time t t , the state s of the agent at the next moment t+1 t+1 and the current agent’s reward r t Composed of four groups (s t ,a t ,r t ,s t+1 ) and store it in the experience playback area R;

[0058] Step 3.10: Select a specified batch number of quadruplets from the experience playback area R according to the priority sampling strategy based on the TD error;

[0059] Step 3.11: Input the selected quadruple into the initialized Actor network, and use the target strategy smoothing method to calculate the target values ​​of the initialized first Target Critic network and the second Target Critic network respectively;

[0060] y t =r t +γmin k=1,2 (Q′ k (s t+1 ,μ′(s t+1 |θ μ′ )+ε) k=1,2 )

[0061] ε~clip(N(0,σ),-c,c)

[0062] where y t represents the target value; μ′(s t+1 |θ μ′ ) means to convert s t+1 Input the action obtained in the Target Actor network; θ μ′Represents the network parameters of the Target Actor network; clip() represents the Gaussian distribution function; ε is the noise that obeys the Gaussian distribution N(0,σ) and has a value range of (-c,c), where σ is the standard deviation; c is a positive constant; min k=1,2 (Q′ k (s t+1 ,μ′(s t+1 |θ μ′ )+ε) k=1,2 ) represents the action μ′(s after adding noise ε t+1 |θ μ′ ) Input Target Critic network; Q′ k (s t+1 ,μ′(s t+1 |θ μ′ ) represents the action μ′(s t+1 |θ μ′ ) Input the minimum value obtained in the Target Critic network;

[0063] Step 3.12: According to the target values ​​of the first Target Critic network and the second Target Critic network, the loss function values ​​of the first Critic network and the second Critic network are calculated by minimizing the loss function and the Online Actor network is updated using the sampling strategy gradient;

[0064] Step 3.13: Use the soft update method to update the network parameters of the first Target Critic network, the second Target Critic network and the Target Actor network;

[0065] Step 3.14: Repeat steps 3.5-3.13 until the AUV drives to the end point according to the driving path obtained in step 3.2, completing the path planning of the AUV;

[0066] The reward function described in step 3.8 is expressed as: If the AUV collides with an obstacle, take flag = 1, then:

[0067] reward+=(distance(q,obstacle)-r obstacle ) / r obstacle -1

[0068] Where reward is the reward value; += means adding the expressions on both sides of the equation and reassigning the value to the expression on the left side of the equation; distance(·) is a function to find the distance between two points; obstacle is the position of the obstacle that collides with the AUV; r obstacle Indicates the radius of the obstacle;

[0069] If the AUV does not collide with the obstacle, flag = 0, then:

[0070]

[0071] Where qtarget represents the location of the target cluster head node during the AUV's driving process; q0 represents the starting point of the AUV.

[0072] The beneficial effects of adopting the above technical solution are:

[0073] In order to solve the problem of uneven energy consumption of sensor nodes in underwater acoustic sensor networks, as well as to improve network value and prolong network life, the method of the present invention proposes an improved clustering algorithm based on K-means++and Knn method with LEACH (KK++_LEACH) based on the maximum information value. By selecting cluster head nodes with uniform energy consumption and large value, the network information value is increased, thereby providing more optimized data support for AUV path planning.

[0074] The method of the present invention also proposes an AUV path planning algorithm based on Dijkstra's algorithm and improved DDPG algorithm (DIDDPG), which can effectively avoid risks for AUV while ensuring the energy consumption balance of sensor nodes in UASN to maximize the value of network information, thereby improving the efficiency of AUV information collection. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 This is a flow chart of an AUV path optimization method based on maximum information value for information collection in this embodiment;

[0076] Figure 2 Flow chart of the underwater acoustic clustering KK++_LEACH algorithm based on the maximum information value in this implementation manner;

[0077] Figure 3Schematic diagrams of the results of the 10th and 20th iterative clustering of the KK++_LEACH algorithm, the K-Means LEACH algorithm and the LEACH algorithm in this implementation manner; wherein Figure (a) is a schematic diagram of the results of the 10th iterative clustering of the LEACH algorithm; Figure (b) is a schematic diagram of the results of the 10th iterative clustering of the K-Means LEACH algorithm; Figure (c) is a schematic diagram of the results of the 10th iterative clustering of the KK++_LEACH algorithm; Figure (d) is a schematic diagram of the results of the 20th iterative clustering of the LEACH algorithm; Figure (e) is a schematic diagram of the results of the 20th iterative clustering of the K-Means LEACH algorithm; Figure (f) is a schematic diagram of the results of the 20th iterative clustering of the KK++_LEACH algorithm;

[0078] Figure 4 Schematic diagram for comparing the effects of the KK++_LEACH algorithm, the K-Means LEACH algorithm and the LEACH algorithm in this implementation manner; wherein Figure (a) is a schematic diagram for comparing the node mortality rates of the KK++_LEACH algorithm, the K-Means LEACH algorithm and the LEACH algorithm; Figure (b) is a schematic diagram for comparing the number of surviving nodes of the KK++_LEACH algorithm, the K-Means LEACH algorithm and the LEACH algorithm; Figure (c) is a schematic diagram for comparing the total energy in the AUV of the KK++_LEACH algorithm, the K-Means LEACH algorithm and the LEACH algorithm;

[0079] Figure 5 This is a framework diagram of the AUV information collection path planning algorithm in this implementation mode;

[0080] Figure 6 This is a structural diagram of the DDPG algorithm in this implementation mode;

[0081] Figure 7 : is a structural diagram of the improved DDPG algorithm in this implementation;

[0082] Figure 8 The cluster head node distribution diagrams obtained by the KK++_LEACH algorithm in this embodiment after the 10th iteration and the 20th iteration respectively; Figure (a) is the cluster head node distribution diagram obtained by the KK++_LEACH algorithm after the 10th iteration; Figure (b) is the cluster head node distribution diagram obtained by the KK++_LEACH algorithm after the 20th iteration;

[0083] Fig. 9Schematic diagram of the path of the cluster head node global path planning using the Dijkstra algorithm in this implementation mode; wherein Figure (a) is a schematic diagram of the path of the cluster head node global planning using the Dijkstra algorithm after the 10th iteration of the KK++_LEACH algorithm; Figure (b) is a schematic diagram of the path of the cluster head node global planning using the Dijkstra algorithm after the 20th iteration of the KK++_LEACH algorithm;

[0084] Fig.10 This is the motion state diagram of the AUV in this embodiment;

[0085] Fig.11 The figure is a comparison diagram of the effect of using different AUV information collection path planning algorithms to perform path planning on the cluster head node in this embodiment; Figure (a) is a comparison diagram of the effect of using different AUV information collection path planning algorithms to perform path planning on the cluster head node obtained by the 10th iteration of the KK++_LEACH algorithm; Figure (b) is a comparison diagram of the effect of using different AUV information collection path planning algorithms to perform path planning on the cluster head node obtained by the 20th iteration of the KK++_LEACH algorithm;

[0086] Fig.12 Schematic diagram of rewards for using different AUV information collection path planning algorithms in this implementation; wherein Figure (a) is a schematic diagram of rewards for using different AUV information collection path planning algorithms to perform path planning on the cluster head node obtained after the 10th iteration of the KK++_LEACH algorithm; Figure (b) is a schematic diagram of rewards for using different AUV information collection path planning algorithms to perform path planning on the cluster head node obtained after the 20th iteration of the KK++_LEACH algorithm. DETAILED DESCRIPTION

[0087] In order to facilitate the understanding of the present application, the specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and embodiments. The following embodiments are used to illustrate the present invention, but are not intended to limit the scope of the present invention. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thoroughly understood.

[0088] The core idea of ​​the present invention is: firstly, a KK++_LEACH algorithm for underwater acoustic clustering based on the maximum information value is proposed. Based on the K-Means LEACH algorithm, the algorithm adopts the K-Means++ algorithm to select cluster head nodes based on the principle that the distance between cluster centers is as far as possible, so that the distribution of cluster head nodes is more uniform, wherein the k value is equal to the product of the threshold in the LEACH algorithm and the number of nodes surviving in the current round; the K-Nearest Neighbor (KNN) algorithm is used to extract m sensor nodes around each cluster center using Euclidean distance, and the node with the largest residual energy is selected as the cluster head node; the residual energy balance strategy of the underwater acoustic sensor network UASN is used to adjust the k value to make the number of cluster head nodes reasonable. In this way, cluster head nodes with uniform energy consumption and large value are selected. More optimized data support is provided for AUV path planning. Then, in order to solve the problem of low information collection efficiency caused by the inability of AUV to effectively avoid risks in the existing AUV path planning algorithm, an AUV path planning algorithm based on Dijkstra's algorithm and improved DDPG algorithm (DIDDPG) was proposed by combining the idea of ​​local and global planning. The algorithm adopts a dual network design in the value network, using two sets of Critic networks, taking the smaller value of the target Critic network to avoid overestimation; secondly, a priority sampling strategy based on TD error is adopted to improve the sample utilization efficiency and accelerate the convergence speed of the algorithm; then, a target policy smoothing method is adopted to add a noise that obeys normal distribution to the action of the target policy network to reduce the variance of the target estimation; finally, through delayed update, the policy network is delayed to increase the stability of the algorithm model.

[0089] In this embodiment, an AUV path optimization method based on maximum information value for information collection is provided, such as Figure 1 As shown, the method comprises the following steps:

[0090] Step 1: Use the improved clustering algorithm based on K-means++and Knn method with LEACH (KK++_LEACH) algorithm to divide the underwater sensor nodes in the underwater acoustic sensor network.

[0091] In this embodiment, the Low-Energy Adaptive Clustering Hierarchy (LEACH) algorithm is a clustering protocol for wireless sensor networks, which aims to effectively manage energy through clustering, thereby extending the life of the entire network. The basic idea of ​​the algorithm is to randomly select cluster head nodes in a cyclic manner and evenly distribute the energy load of the entire network to each sensor node, thereby achieving the purpose of reducing network energy consumption and increasing the overall survival time of the network. The execution process of the LEACH algorithm is shown in Table 1.

[0092] Table 1 LEACH algorithm flow

[0093]

[0094] As a classic clustering algorithm, the LEACH algorithm does improve the robustness of the network by randomly selecting cluster head nodes. However, this method of randomly selecting cluster head nodes easily leads to nodes with low residual energy being selected as cluster head nodes, causing premature death of network nodes, seriously affecting the value and life of the network. On this basis, Tadros et al. proposed a WSN clustering algorithm based on unsupervised learning, namely the K-Means LEACH algorithm. The execution process of the K-Means LEACH algorithm is shown in Table 2.

[0095] Table 2 K-Means LEACH algorithm process

[0096]

[0097]

[0098] The K-Means LEACH algorithm combines the advantages of the K-Means clustering algorithm and the LEACH algorithm. Specifically, first, the network is divided into several clusters. Second, the number and position of clusters are dynamically adjusted and a node is randomly selected in each cluster as the cluster head node, which is responsible for collecting and forwarding data from other nodes in the cluster, thereby achieving balanced node energy consumption and extending network life, thereby increasing the value of network information.

[0099] Although the K-Means LEACH algorithm can extend the life of the network and increase the value of network information, the randomness of the selection of cluster head nodes in the cluster can easily lead to the selection of nodes with small residual energy as cluster heads, causing premature death of network nodes and reduced network value. In order to solve the problem of uneven energy consumption of sensor nodes in underwater acoustic sensor networks, as well as to improve network value and extend network life, this implementation proposes an underwater acoustic clustering algorithm based on the maximum information value—KK++_LEACH algorithm, such as Figure 2As shown in the figure, K-Means++ is used to divide the clusters, where the k value is calculated by the threshold formula T(n) in the LEACH algorithm and the number of nodes that survived in the current round. K-Means++ uses the farthest point sampling algorithm to ensure that the k cluster centers are evenly distributed in the underwater sensor network; the KNN algorithm is used to select m sensor nodes around the k cluster centers, and the one with the largest residual energy is selected as the cluster head node; the network residual energy balance strategy is used, and the network average residual energy is taken as an important consideration to adjust the k value. When the ratio of the network average residual energy to the initial node energy is lower than the threshold, the k value is increased. When the k value is greater than 0.2 times the number of surviving nodes, the k value is equal to 0.2 times the number of surviving nodes. The execution process of the algorithm is shown in Table 3.

[0100] Table 3 KK++_LEACH algorithm flow

[0101]

[0102] Step 1.1: Obtain the energy of all underwater sensor nodes in the underwater acoustic sensor network, and determine whether the energy of each underwater sensor node is higher than a preset threshold. If so, the underwater sensor node is regarded as a surviving node, otherwise, the underwater sensor node is regarded as a dead node.

[0103] Step 1.2: Use the threshold formula in the LEACH algorithm to calculate the threshold T, count the number of surviving nodes in the underwater acoustic sensor network, and take the product of the threshold T and the number of surviving nodes as the k value.

[0104] In this implementation, in order to make the cluster head nodes more evenly distributed, the k value is set equal to the product of the threshold in the LEACH algorithm and the number of surviving nodes in the acoustic sensor network in the current round.

[0105] Step 1.3: Update the k value using the network residual energy balance strategy.

[0106] Step 1.3.1: Construct a node energy consumption model of the underwater acoustic sensor network, including an energy consumption model for underwater sensor nodes to send data and an energy consumption model for underwater sensor nodes to receive data.

[0107] The energy consumption model of the underwater sensor node sending data is:

[0108]

[0109] Where E Tx (h, d1) represents the energy required by the underwater sensor node to send h bits of data; d1 represents the transmission distance between the underwater sensor node sending data and the underwater sensor node receiving data; E elecRepresents the energy required to receive and transmit unit bit data; ε fs Represents the free space model coefficient; ε amp Represents the multipath attenuation model coefficient; d0 represents the threshold of the transmission distance, and

[0110] In this embodiment, when d1 < d0, the free space model amplification coefficient is ε fs , when d1 ≥ d0, the multipath attenuation model amplification coefficient is ε amp .

[0111] The energy consumption model for the underwater sensor node to receive data is:

[0112] E Rx (h) = E elec *h (2)

[0113] where E Rx (h) represents the energy required for the underwater sensor node to receive h bits of data.

[0114] In this embodiment, the model parameters of the node energy consumption model of the underwater acoustic sensor network are set as shown in Table 4.

[0115] Table 4 Parameter Table of the Node Energy Consumption Model of the Underwater Acoustic Sensor Network

[0116]

[0117]

[0118] Step 1.3.2: Using the node energy consumption model of the underwater acoustic sensor network, calculate the ratio of the average remaining energy of the current underwater acoustic sensor network to the initial node energy of the underwater sensor nodes in the underwater acoustic sensor network. If this ratio is lower than the set threshold f, update the k value by multiplying the current k value by the hyperparameter δ.

[0119] The expression for updating the k value is:

[0120]

[0121] where k′ represents the updated k value; f is the set threshold, which is taken as 0.2 in this embodiment; aver_E represents the average remaining energy of the current underwater acoustic sensor network; E0 represents the initial node energy of the underwater sensor node; δ is the hyperparameter, which is taken as 1.5 in this embodiment.

[0122] In this embodiment, the average remaining energy in the hydroacoustic sensor network is calculated using the total remaining energy and the number of surviving nodes in the hydroacoustic sensor network. The initial node energy of the underwater sensor nodes in the hydroacoustic sensor network can be directly obtained. When the average remaining energy of the network is lower than the initial node energy, the k value should be increased, because the main energy consumption of the network nodes comes from data transmission, and data transmission is proportional to the distance. Increasing the number of k means reducing the transmission distance, and the number of cluster head nodes is reasonable by adjusting the k value. But at the same time, the k value should not be too large. When the k value is too large, the network degenerates into the original network, and each sensor node is a cluster head node. Since the energy consumption of the cluster head node is higher than that of the ordinary node, in order to prevent the k value from being too large and causing the network node to die prematurely, it is necessary to constrain the k value.

[0123] Step 1.3.3: Determine whether the updated k value is greater than the product of the number of surviving nodes in the current underwater acoustic sensor network and the set hyperparameter L. If so, the updated k value is the product of the number of surviving nodes in the current underwater acoustic sensor network and the set hyperparameter L. If not, the updated k value remains unchanged.

[0124]

[0125] Wherein alive_nums represents the number of surviving nodes in the current underwater acoustic sensor network; L represents a hyperparameter, which is 0.2 in this implementation.

[0126] Step 1.4: Based on the updated k value, the K-Means++ algorithm is used to cluster all underwater sensor nodes in the Underwater Acoustic Sensor Networks (UASN) to obtain k cluster centers;

[0127] Step 1.4.1: Randomly select a surviving node from all surviving nodes in the underwater acoustic sensor network as the initial clustering center C1.

[0128] Step 1.4.2: Calculate the distances between all surviving nodes in the underwater acoustic sensor network except the initial cluster center C1 and the initial cluster center C1 respectively.

[0129]

[0130] Where X i represents any surviving node in the underwater acoustic sensor network except the initial cluster center C1; D(X i ) represents the surviving node X i The distance from the initial cluster center C1.

[0131] Step 1.4.3: Arrange all calculated distances in descending order to obtain the sorting result.

[0132] In this embodiment, the sorting result is recorded as sort(D(X i )).

[0133] Step 1.4.4: Select the surviving node with the largest distance from the sorting results as a new cluster center;

[0134]

[0135] Where max(·) represents the maximum value function; Represents the new cluster center.

[0136] Step 1.4.5: Remove the new cluster center from all surviving nodes in the underwater acoustic sensor network except the initial cluster center C1, and repeat steps 1.4.2-1.4.4 until k cluster centers are obtained.

[0137] In this embodiment, the KK++_LEACH algorithm includes: a clustering algorithm obtained by replacing the K-Means clustering algorithm in the K-Means LEACH algorithm with the K-Means++ algorithm, a KNN algorithm, and a network residual energy balance strategy. The K-Means++ algorithm is an algorithm that is optimized and improved based on the random initialization centroid method of the K-Means algorithm. The process code of the K-Means++ clustering algorithm is shown in Table 5. This algorithm overcomes the problem of slow algorithm convergence caused by completely random selection of centroids. The selected centroids are obtained based on the farthest distance sampling. The basic principle is to make the intervals between the initial cluster centers as far as possible, so that they can represent the entire network nodes, so that the cluster centers can be evenly distributed in the sensor network, avoiding the problem of uneven distribution of cluster head nodes in LEACH.

[0138] Table 5 K-Means++ algorithm flow

[0139]

[0140] Step 1.5: Based on the k cluster centers, the K-Nearest Neighbor (KNN) algorithm is used to determine the k cluster head nodes.

[0141] Step 1.5.1: For any cluster center among the k cluster centers, calculate the Euclidean distance from the cluster center to each underwater sensor node in the underwater acoustic sensor network.

[0142]

[0143] Where d represents the Euclidean distance between the cluster center and the underwater sensor nodes in the underwater acoustic sensor network; C i represents any cluster center among the k cluster centers; X j represents the jth underwater sensor node in the underwater acoustic sensor network.

[0144] Step 1.5.2: Sort the Euclidean distances from the cluster center to each underwater sensor node in the underwater acoustic sensor network from small to large to obtain a sorting result.

[0145] In this embodiment, the distances d are sorted from small to large to obtain a sorting result sort(d).

[0146] Step 1.5.3: Select the underwater sensor nodes corresponding to the first m Euclidean distances in the sorting results as the m nearest neighbor underwater sensor nodes of the cluster center.

[0147] P m =min m (X j ) (8)

[0148] Where P m represents the m nearest neighbor underwater sensor nodes of the cluster center; min m (·) indicates selecting m underwater sensor nodes with the smallest distance.

[0149] Step 1.5.4: Select the underwater sensor node with the largest residual energy from the m nearest neighbor underwater sensor nodes of the cluster center as the cluster head node corresponding to the cluster center.

[0150] Step 1.5.5: Repeat steps 1.5.1-1.5.4 until a cluster head node is selected for each cluster center.

[0151] In this embodiment, the K-Nearest Neighbor (KNN) algorithm is a classification and regression method based on eigenvalue intervals. The process code of the KNN algorithm is shown in Table 6. In the classification problem, the KNN algorithm determines the category of the sample by calculating the distance between different eigenvalues. In this embodiment, the KNN algorithm extracts m underwater sensor nodes around k cluster centers using the Euclidean distance after obtaining them by the K-Means++ clustering algorithm, and selects the node with the largest residual energy as the cluster head node, which is conducive to extending the network life and increasing the network value.

[0152] Table 6 KNN algorithm flow

[0153]

[0154] Step 1.6: Divide all underwater sensor nodes in the underwater acoustic sensor network into k clusters according to the k cluster head nodes.

[0155] Step 1.6.1: Treat each underwater sensor node except the cluster head node in the underwater acoustic sensor network as an ordinary node, and broadcast the k cluster head nodes to all ordinary nodes.

[0156] Step 1.6.2: For any common node, calculate the Euclidean distance between the common node and the k cluster head nodes respectively, and select the cluster head node with the closest distance according to the calculated Euclidean distance, and then add the common node as a member node to the cluster with the cluster head node as the cluster head.

[0157] Step 1.6.3: Select a cluster for each common node to join, and divide all underwater sensor nodes in the underwater acoustic sensor network into k clusters.

[0158] Step 1.7: The cluster head node in each cluster creates a TDMA schedule and broadcasts it to all member nodes in the cluster. All member nodes send data to the cluster head node according to the received TDMA schedule.

[0159] In this embodiment, the clustering results of KK++_LEACH, K-Means LEACH and LEACH algorithms at the 10th and 20th iterations are compared, as shown in FIG. Figure 3 As shown in the figure, dots represent ordinary sensor nodes, and stars represent cluster head nodes. Figure 3 It can be seen from the figure that the LEACH algorithm has a uniform distribution of cluster head nodes in the 10th and 20th iterations. Compared with the other two algorithms, KK++_LEACH has a more uniform distribution of cluster head nodes in the 10th and 20th iterations. Figure 4 As shown in Table 7, the node mortality rate, number of surviving nodes and total energy of the underwater acoustic sensor network of the KK++_LEACH algorithm, K-Means LEACH algorithm and LEACH algorithm are compared. The local point information of the KK++_LEACH algorithm at the 10th iteration and the 20th iteration are shown in Table 8, respectively, where the local point information includes: the number of nodes in the cluster and the value of the cluster head node.

[0160] Table 7 Local point information of the 10th iteration of KK++_LEACH algorithm

[0161]

[0162] Table 8 Local point information of the 20th iteration of KK++_LEACH algorithm

[0163]

[0164] It can be seen from Table 9 that the network information value under the K-Means LEACH algorithm is 44% higher than that of the LEACH algorithm, and the network information value under the KK++_LEACH algorithm is 50% higher than that of the LEACH algorithm and 4.2% higher than that of the K-Means LEACH algorithm. This verifies that the KK++_LEACH algorithm can improve the value of the network.

[0165] Table 9 Network information value under clustering algorithm

[0166]

[0167] Step 2: Use the AUV information collection path planning algorithm based on Dijkstra's algorithm and improved DDPGalgorithm (DIDDPG) to build an AUV information collection path planning model.

[0168] In this embodiment, if Figure 5 As shown in the figure, in order to construct the information collection path optimization of the AUV-based hydroacoustic sensor network, after all the underwater sensor nodes in the hydroacoustic sensor network are divided into k clusters based on the hydroacoustic clustering KK++_LEACH algorithm with the maximum information value, due to the existence of obstacles in the hydroacoustic sensor network, an AUV information collection path planning algorithm based on the Dijkstra algorithm and the DDPG algorithm is proposed and used as the benchmark model for AUV information collection path planning. The structure of the DDPG algorithm is shown in Figure 6 As shown in FIG. 1 , it includes an Actor network and a Critic network. However, since the DDPG algorithm has the problem of overestimation, this implementation method improves the DDPG algorithm, as shown in FIG. Figure 7 As shown, the structure of the improved DDPG algorithm is as follows Figure 7 As shown, it includes an Actor network and two sets of Critic networks, each of which includes an Online Critic network and a Target Critic network. Based on the above improvements, this embodiment proposes an AUV information collection path planning algorithm based on Dijkstra's algorithm and improved DDPGalgorithm (DIDDPG), and visualizes the reward values ​​of the baseline model and the improved model.

[0169] The AUV information collection path planning model is composed of an Actor network, a first Critic network and a second Critic network, wherein the Actor network includes: an Online Actor network and a Target Actor network; the first Critic network includes: a first Online Critic network and a first Target Critic network; the second Critic network includes: a second Online Critic network and a second Target Critic network.

[0170] In this embodiment, if Figure 7 As shown in the figure, a dual network design is adopted in the value network, using two sets of Critic networks, taking the smaller value of the target Critic network to avoid overestimation. The dual network is an effective way to solve the problem of network overestimation by using two sets of Critic networks including the online value network and the target value network.

[0171] Step 3: Based on the division results of underwater sensor nodes in the hydroacoustic sensor network, the AUV information collection path planning model is used to plan the path of the autonomous underwater vehicle (AUV).

[0172] Step 3.1: Consider the AUV as an intelligent agent and the k cluster head nodes as k local points.

[0173] Step 3.2: Select a starting point and an end point from the k local points, and use the Dijkstra algorithm to perform global path planning for the AUV to obtain a driving path that includes all local points.

[0174] In this embodiment, if Figure 8 As shown in Figure 1, the first cluster nodes obtained by the 10th and 20th iterations of the KK++_LEACH algorithm are respectively obtained for AUV information collection path planning. First, the Dijkstra algorithm is used for global path planning. According to the driving requirements of the AUV, the 0th local point is used as the starting point and the last local point is used as the end point, as shown in Figure 1. Fig. 9 As shown, a driving path containing all local points is obtained.

[0175] Step 3.3: Randomly initialize the AUV information collection path planning model, including: respectively initialize the Actor network μ(s|θ μ ), First Online Critic Network First Target Critic Network Second Online Critic Network And the second Target Critic network Where s represents the state of the agent; θ μ Represents the network parameters of the Online Actor network in the Actor network; t represents the state of the agent at the current time t; a t represents the action of the agent at the current time t; Represents the network parameters in the first Critic network; s t+1 represents the state of the agent at the next moment t+1; a t+1 Indicates the action of the agent at the next moment t+1; Represents the network parameters in the second Critic network.

[0176] Step 3.4: Initialize the experience replay region R and random noise ∈.

[0177] Step 3.5: The AUV drives along the path obtained in step 3.2, and uses the hydroacoustic sensor network to collect the speed and position of the AUV at the current moment as the state s of the agent at the current moment t t .

[0178] Step 3.6: Set the state s of the agent at the current time t t Input the initialized Actor network and get the action a of the agent at the current time t t .

[0179] a t =μ(s t |θ μ )+∈ (9)

[0180] Step 3.7: Correct the position of the AUV according to the preset AUV position constraints, and use the corrected position of the AUV at the next moment to obtain the state s of the agent at the next moment t+1 t+1 .

[0181] The AUV position constraints include: yaw angular velocity, climb angular velocity, maximum climb angle and maximum dive angle;

[0182] The method for correcting the position of the AUV is as follows: obtaining the position q_before of the AUV at the previous moment, the position q at the current moment, and the position q_next at the next moment, and using q_before and q to calculate the yaw angle Hangle1 and the climb angle Vangle1 of the AUV from the previous moment to the current moment, recorded as (Hangle1, Vangle1); using q and q_next to calculate the yaw angle Hangle2 and the climb angle Vangle2 of the AUV from the current moment to the next moment, recorded as (Hangle2, Vangle2). ngle2); based on the earth coordinate system, the yaw angle Hangle1 and the yaw angle Hangle2 are corrected according to the quadrant where the AUV is located and constrained to [0,2π], and the constrained yaw angle is calculated using the yaw angular velocity, the climb angular velocity, the corrected Hangle1 and the corrected Hangle2; according to the dynamic formula, the constrained climb angle is calculated using the maximum climb angle, the maximum dive angle, the climb angle Vangle1 and the climb angle Vangle2; the constrained yaw angle and the constrained climb angle are used to calculate the corrected position of the AUV at the next moment.

[0183] In this embodiment, when the AUV is moving, the parameters of the AUV are set as shown in Table 10, where the yaw angular velocity, climb angular velocity, maximum climb angle, and maximum dive angle are used to constrain the position of the AUV at the next moment.

[0184] Table 10 AUV parameter settings

[0185]

[0186] Step 3.8: Construct a reward function and obtain the agent's reward r at the current moment t .

[0187] The reward function is expressed as follows: if the AUV collides with an obstacle, flag = 1, then:

[0188] reward+=(distance(q,obstacle)-r obstacle ) / r obstacle -1 (10)

[0189] Where reward is the reward value; += means adding the expressions on both sides of the equation and reassigning the value to the expression on the left side of the equation; distance(·) is a function to find the distance between two points; obstacle is the position of the obstacle that collides with the AUV; r obstacle Indicates the radius of the obstacle.

[0190] If the AUV does not collide with the obstacle, flag = 0, then:

[0191]

[0192] Where qtarget represents the location of the target cluster head node during the AUV's driving process; q0 represents the starting point of the AUV.

[0193] The reward function is an important part of the reinforcement learning algorithm and is related to the effectiveness of the reinforcement learning algorithm. Therefore, this implementation method designs a distance-based reward function, which is mainly divided into two situations. If the AUV collides with an obstacle, a relatively large negative feedback is required. Since the obstacle has a radius, the closer the distance between the AUV and the center point of the obstacle is, the greater the penalty is; if the AUV does not collide with the obstacle, the distance between the AUV and the next target cluster head node to be reached in the driving path is calculated, and the closer the distance, the greater the reward value. When the distance is less than the arrival threshold, it is considered that the AUV has reached the target cluster head node, and the reward value is greater at this time.

[0194] Step 3.9: Set the state s of the agent at the current time t t , the action a of the agent at the current time t t , the state s of the agent at the next moment t+1 t+1 and the current agent’s reward r t Composed of four groups (s t ,a t ,r t ,s t+1 ) and stored in the experience replay area R.

[0195] In this implementation, the process of the improved DDPG algorithm is shown in Table 10.

[0196] Table 10 Improved DDPG algorithm flow

[0197]

[0198]

[0199] Step 3.10: Select a specified batch number of quadruplets from the experience replay area R according to the priority sampling strategy based on the TD error.

[0200] The priority sampling strategy based on TD error is: add up the TD values ​​of all quaternaries in the experience playback area R, and calculate the quaternary group (s t ,a t ,r t ,s t+1 The ratio of the TD value of ) to the summation result is taken as the quaternion (s t ,a t ,r t ,s t+1) is selected.

[0201]

[0202] Among them TD t Represents a quaternion (s t ,a t ,r t ,s t+1 ), i.e., the time difference error value; γ is the discount factor, and γ is a constant; represents the kth Online Critic network; represents the minimum value of the Target Critic network, where k represents the sequence number of the Target Critic network. When k=1, it represents the minimum value of the first Target Critic network; when k=2, it represents the minimum value of the second Target Critic network; p t Represents a quaternion (s t ,a t ,r t ,s t+1 ) is selected; when p t The larger the value, the greater the probability of being selected, which improves the sample utilization efficiency and speeds up the convergence of the algorithm. m represents the TD value of the mth quadruple in the experience replay area R; N is the number of samples in the experience replay pool.

[0203] In this embodiment, the main core idea of ​​the priority sampling strategy based on TD error (Temporal Difference Error) is to select samples from the experience replay pool according to the probability of the samples, thereby improving the sample utilization efficiency and accelerating the convergence speed of the algorithm.

[0204] Step 3.11: Input the selected quadruple into the initialized Actor network, and use the target strategy smoothing method to calculate the target values ​​of the first Target Critic network and the second Target Critic network respectively.

[0205] y t =r t +γmin k=1,2 (Q′ k (s t+1 ,μ′(s t+1 |θ μ′ )+ε) k=1,2 ) (14)

[0206] ε~clip(N(0,σ),-c,c) (15)

[0207] where yt represents the target value; μ′(s t+1 |θ μ′ ) means to convert s t+1 Input the action obtained in the Target Actor network; θ μ′ Represents the network parameters of the Target Actor network; clip() represents the Gaussian distribution function; ε is the noise that obeys the Gaussian distribution N(0,σ) and has a value range of (-c,c), where σ is the standard deviation; c is a positive constant; min k=1,2 (Q′ k (s t+1 ,μ′(s t+1 |θ μ′ )+ε) k=1,2 ) represents the action μ′(s t+1 |θ μ′ ) Input Target Critic network; Q′ k (s t+1 ,μ′(s t+1 |θ μ′ ) represents the action μ′(s t+1 |θ μ′ ) Input the minimum value obtained in the Target Critic network.

[0208] In this embodiment, if Figure 7 As shown in Figure 1, the core of the target policy smoothing method is to reduce the variance of the target estimation by adding a normally distributed noise to the action output by the target policy network in the Actor network. The specific operation is to calculate the target value of the target network using the area around the target action determined by the regional approximation method, which is conducive to smooth estimation and reduces the error between the target value network and the online value network.

[0209] Step 3.12: According to the target values ​​of the first Target Critic network and the second Target Critic network, the loss function values ​​of the first Critic network and the second Critic network are calculated by minimizing the loss function and the Online Actor network is updated using the sampling strategy gradient.

[0210] The minimization loss function is expressed as:

[0211]

[0212] Where Loss represents the loss function value that minimizes the loss function.

[0213] In this implementation, the stability of the algorithm model is increased by delaying the update of the Actor network. The idea of ​​this strategy is to update the Online Actor network only after the Online Critic network has been updated several times. The Online Critic network is used to evaluate the expected return of the Online Actor network, and the Online Actor network is updated by maximizing the cumulative expected return. If the Online Critic network fluctuates greatly, then the Online Actor network will naturally fluctuate greatly.

[0214] Step 3.13: Use the soft update method to update the network parameters of the first Target Critic network, the second Target Critic network and the Target Actor network.

[0215] The update formula of the network parameters of the first Target Critic network and the second Target Critic network is:

[0216]

[0217] in represents the network parameters of the Online Critic network; τ represents the soft update coefficient; Represents the network parameters of the TargetCritic network; Represents the network parameters of the updated Target Critic network.

[0218] θ μ″ →τθ μ +(1-τ)θ μ′ (18)

[0219] where θ μ Represents the network parameters of the Online Actor network; θ μ′ Represents the network parameters of the Target Actor network; θ μ″ Represents the updated network parameters of the Target Actor network.

[0220] Step 3.14: Repeat steps 3.5-3.13 until the AUV drives to the end point according to the driving path obtained in step 3.2, completing the path planning of the AUV.

[0221] In this embodiment, the effects of the baseline model based on the DDPG algorithm and the improved model based on the improved DDPG algorithm on the AUV information collection path planning are compared. Fig.11The reward values ​​of the baseline model based on the DDPG algorithm and the improved model based on the improved DDPG algorithm are visualized as shown in Fig.12 As shown. The KK++_LEACH algorithm is used to obtain the 10th and 20th iteration information, including each local point, that is, the cluster head node, the number of ordinary nodes contained in the cluster, and the information value in the cluster head node, where the information value transmitted from each ordinary node to the cluster head node is 4000. Python simulation is used to verify the effect, and the measurement indicators of the underwater acoustic clustering algorithm based on the maximum information value - KK++_LEACH algorithm are set as the total number of rounds that the network can perform, the overall remaining energy of the network, and the number of surviving nodes. The distance between each two local points can be obtained through the AUV information collection path planning algorithm, as shown in Tables 11 and 12.

[0222] Table 11 Distance information between local points in the 10th iteration of KK++_LEACH algorithm

[0223]

[0224] Table 12 Distance information between local points in the 20th iteration of KK++_LEACH algorithm

[0225]

[0226] Since information is timely and effective, the value of local information will gradually decrease as time goes by, that is:

[0227] V=V-αt (16)

[0228] Among them, V represents the value, α=1000, t represents time, in seconds (s), and the speed of AUV is 10m / s. Due to the different lengths of local paths, the time it takes for AUV to reach each local point is also different. The information collected by the first arrival is of higher value, and the information collected by the later arrival is of lower value. When AUV collects information from a local point, it is immediately sent to the ground control center to prevent the emergency message from being processed in time, as shown in Tables 13 and 14.

[0229] Table 13 Information collection value and efficiency information of AUV in the 10th iteration of KK++_LEACH algorithm

[0230]

[0231] Table 14 Information collection value and efficiency information of AUV in the 20th iteration of KK++_LEACH algorithm

[0232]

[0233] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope defined by the claims of the present invention.

Claims

1. An AUV path optimization method based on maximum information value for information collection, characterized in that: The method comprises the following steps: Step 1: Use the underwater acoustic clustering KK++_LEACH algorithm based on the maximum information value to divide the underwater sensor nodes in the underwater acoustic sensor network; Step 2: Use the AUV information collection path planning algorithm DIDDPG based on the Dijkstra algorithm and the improved DDPG algorithm to build an AUV information collection path planning model; Step 3: Based on the division results of underwater sensor nodes in the hydroacoustic sensor network, the AUV information collection path planning model is used to plan the path of the autonomous underwater vehicle AUV.

2. The AUV path optimization method based on maximum information value for information collection according to claim 1 is characterized in that: The step 1 further comprises: Step 1.1: Obtain the energy of all underwater sensor nodes in the current underwater acoustic sensor network, and determine whether the energy of each underwater sensor node is higher than a preset threshold. If so, the underwater sensor node is regarded as a surviving node, otherwise, the underwater sensor node is regarded as a dead node; Step 1.2: Use the threshold formula in the LEACH algorithm to calculate the threshold T, count the number of surviving nodes in the underwater acoustic sensor network, and use the product of the threshold T and the number of surviving nodes as the k value; Step 1.3: Update the k value using the network residual energy balance strategy; Step 1.4: Based on the updated k value, the K-Means++ algorithm is used to cluster all underwater sensor nodes in the underwater acoustic sensor network to obtain k cluster centers; Step 1.5: Based on the k cluster centers, use the K nearest neighbor algorithm to determine the k cluster head nodes; Step 1.6: Divide all underwater sensor nodes in the underwater acoustic sensor network into k clusters according to the k cluster head nodes; Step 1.7: The cluster head node in each cluster creates a TDMA schedule and broadcasts it to all member nodes in the cluster. All member nodes send data to the cluster head node according to the received TDMA schedule.

3. The AUV path optimization method based on maximum information value for information collection according to claim 2 is characterized in that: The step 1.3 further comprises: Step 1.3.1: Construct a node energy consumption model of the underwater acoustic sensor network, including an energy consumption model for underwater sensor nodes to send data and an energy consumption model for underwater sensor nodes to receive data; Step 1.3.2: Using the node energy consumption model of the underwater acoustic sensor network, calculate the ratio of the average residual energy of the current underwater acoustic sensor network to the initial node energy of the underwater sensor nodes in the underwater acoustic sensor network. If the ratio is lower than the set threshold f, update the k value by multiplying the current k value by the hyperparameter δ; The expression for updating the k value is: Where k′ represents the updated k value; f is the set threshold; aver_E represents the average residual energy of the current underwater acoustic sensor network; E0 represents the initial node energy of the underwater sensor node; δ is a hyperparameter; Step 1.3.3: Determine whether the updated k value is greater than the product of the number of surviving nodes in the current underwater acoustic sensor network and the set hyperparameter L. If so, the updated k value is the product of the number of surviving nodes in the current underwater acoustic sensor network and the set hyperparameter L. If not, the updated k value remains unchanged.

4. The AUV path optimization method based on maximum information value for information collection according to claim 3 is characterized in that: The energy consumption model of the underwater sensor node sending data in step 1.3.1 is: Where E Tx (h, d) represents the energy required by the underwater sensor node to send h bits of data; d represents the transmission distance between the underwater sensor node sending data and the underwater sensor node receiving data; E elec Indicates the energy required to receive and send a unit bit of data; ε fs represents the free space model coefficient; ε amp represents the multipath attenuation model coefficient; d0 represents the threshold of the transmission distance, and The energy consumption model of the underwater sensor node receiving data is: E Rx (h)=E elec *h Where E Rx (h) represents the energy required by the underwater sensor node to receive h bits of data.

5. The AUV path optimization method based on maximum information value for information collection according to claim 3 is characterized in that: The step 1.4 further comprises: Step 1.4.1: Randomly select a surviving node from all surviving nodes in the underwater acoustic sensor network as the initial cluster center C1; Step 1.4.2: Calculate the distances between all surviving nodes in the underwater acoustic sensor network except the initial cluster center C1 and the initial cluster center C1 respectively; Step 1.4.3: Arrange all calculated distances in descending order to obtain the sorting result; Step 1.4.4: Select the surviving node with the largest distance from the sorting results as a new cluster center; Step 1.4.5: Remove the new cluster center from all surviving nodes in the underwater acoustic sensor network except the initial cluster center C1, and repeat steps 1.4.2-1.4.4 until k cluster centers are obtained.

6. The AUV path optimization method based on maximum information value for information collection according to claim 5 is characterized in that: The step 1.5 further comprises: Step 1.5.1: For any cluster center among the k cluster centers, calculate the Euclidean distance from the cluster center to each underwater sensor node in the underwater acoustic sensor network; Step 1.5.2: sort the Euclidean distances from the cluster center to each underwater sensor node in the underwater acoustic sensor network from small to large to obtain a sorting result; Step 1.5.3: Select the underwater sensor nodes corresponding to the first m Euclidean distances in the sorting results as the m nearest neighbor underwater sensor nodes of the cluster center; Step 1.5.4: Select the underwater sensor node with the largest residual energy from the m nearest neighbor underwater sensor nodes of the cluster center as the cluster head node corresponding to the cluster center; Step 1.5.5: Repeat steps 1.5.1-1.5.4 until a cluster head node is selected for each cluster center.

7. The AUV path optimization method based on maximum information value for information collection according to claim 6 is characterized in that: The step 1.6 further comprises: Step 1.6.1: Treat each underwater sensor node except the cluster head node in the underwater acoustic sensor network as an ordinary node, and broadcast the k cluster head nodes to all ordinary nodes; Step 1.6.2: For any common node, calculate the Euclidean distance between the common node and the k cluster head nodes respectively, and select the cluster head node with the closest distance according to the calculated Euclidean distance, and then add the common node as a member node to the cluster with the cluster head node as the cluster head; Step 1.6.3: Select a cluster for each common node to join, and divide all underwater sensor nodes in the underwater acoustic sensor network into k clusters.

8. The AUV path optimization method based on maximum information value for information collection according to claim 7 is characterized in that: The AUV information collection path planning model in step 2 is composed of an Actor network, a first Critic network and a second Critic network, wherein the Actor network includes: an Online Actor network and a Target Actor network; the first Critic network includes: a first Online Critic network and a first Target Critic network; the second Critic network includes: a second Online Critic network and a second Target Critic network.

9. The AUV path optimization method based on maximum information value for information collection according to claim 8 is characterized in that: The step 3 further comprises: Step 3.1: Consider the AUV as an intelligent agent and the k cluster head nodes as k local points; Step 3.2: Select a starting point from the k local points and use the Dijkstra algorithm to perform global path planning for the AUV to obtain a driving path that includes all local points; Step 3.3: Randomly initialize the AUV information collection path planning model, including: respectively initialize the Actor network μ(s|θ μ ), First Online Critic Network First Target Critic Network Second Online Critic Network And the second Target Critic network Where s represents the state of the agent; θ μ Represents the network parameters of the Online Actor network in the Actor network; t represents the state of the agent at the current time t; a t represents the action of the agent at the current time t; represents the network parameters of the first Critic network; s t+1 represents the state of the agent at the next moment t+1; a t+1 Indicates the action of the agent at the next moment t+1; Represents the network parameters in the second Critic network; Step 3.4: Initialize the experience playback area R and random noise ∈; Step 3.5: The AUV drives along the path obtained in step 3.2, and uses the hydroacoustic sensor network to collect the speed and position of the AUV at the current moment as the state s of the agent at the current moment t t ; Step 3.6: Set the state s of the agent at the current time t t Input the initialized Actor network and get the action a of the agent at the current time t t ; Step 3.7: Correct the position of the AUV according to the preset AUV position constraints, and use the corrected position of the AUV at the next moment to obtain the state s of the agent at the next moment t+1 t+1 ; Step 3.8: Construct a reward function and obtain the agent's reward r at the current moment t ; Step 3.9: Set the state s of the agent at the current time t t , the action a of the agent at the current time t t , the state s of the agent at the next moment t+1 t+1 and the current agent’s reward r t Composed of four groups (s t ,a t ,r t ,s t+1 ) and store it in the experience playback area R; Step 3.10: Select a specified batch number of quadruplets from the experience playback area R according to the priority sampling strategy based on the TD error; Step 3.11: Input the selected quadruple into the initialized Actor network, and use the target strategy smoothing method to calculate the target values ​​of the initialized first Target Critic network and the second Target Critic network respectively; y t =r t +γmin k=1,2 (Q′ k (s t+1 ,μ′(s t+1 |θ μ′ )+e) k=1,2 ) ε~clip(N(0,σ),-c,c) where y t represents the target value; μ′(s t+1 |θ μ′ ) means to convert s t+1 Input the action obtained in the Target Actor network; θ μ′ Represents the network parameters of the Target Actor network; clip() represents the Gaussian distribution function; ε is the noise that obeys the Gaussian distribution N(0,σ) and has a value range of (-c,c), where σ is the standard deviation; c is a positive constant; min k=1,2 (Q′ k (s t+1 ,μ′(s t+1 |θ μ′ )+ε) k=1,2 ) represents the action μ′(s t+1 |θ μ′ ) Input Target Critic network; Q′ k (s t+1 ,μ′(s t+1 |θ μ′ ) represents the action μ′(s t+1 |θ μ′ ) Input the minimum value obtained in the Target Critic network; Step 3.12: According to the target values ​​of the first Target Critic network and the second Target Critic network, the loss function values ​​of the first Critic network and the second Critic network are calculated by minimizing the loss function and the Online Actor network is updated using the sampling strategy gradient; Step 3.13: Use the soft update method to update the network parameters of the first Target Critic network, the second Target Critic network and the Target Actor network; Step 3.14: Repeat steps 3.5-3.13 until the AUV drives to the end point according to the driving path obtained in step 3.2, completing the path planning of the AUV.

10. The AUV path optimization method based on maximum information value for information collection according to claim 9 is characterized in that: The reward function described in step 3.8 is expressed as: If the AUV collides with an obstacle, take flag = 1, then: reward+=(distance(q,obstacle)-r obstacle ) / r obstacle -1 Where reward is the reward value; += means adding the expressions on both sides of the equation and reassigning the value to the expression on the left side of the equation; distance(·) is a function to find the distance between two points; obstacle is the position of the obstacle that collides with the AUV; r obstacle Indicates the radius of the obstacle; If the AUV does not collide with the obstacle, flag = 0, then: Where qtarget represents the location of the target cluster head node during the AUV's driving process; q0 represents the starting point of the AUV.