Cluster escort task allocation method and system for optimizing K-means threat target clustering
By optimizing the K-means algorithm and the Hungarian algorithm, combined with sea surface movement threat assessment and interception point clustering, the problem of sea surface movement threat targets not being considered is solved, and the efficiency and safety of maritime escort missions are improved.
Patent Information
- Application Number
- CN202310811303.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-04
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-07-04
AI Technical Summary
Existing target clustering and task allocation methods do not consider the motion characteristics of sea surface threatening targets and their threat to escort missions, resulting in poor target clustering effects and low task allocation efficiency.
By optimizing the K-means algorithm, we conduct threat assessment based on the shortest encounter distance and time of targets moving on the sea, predict interception points, and perform clustering based on the similarity of escort threats to establish a mathematical model for task allocation of marine robot clusters. The Hungarian algorithm is used to solve the problem, and the minimum interception cost of each ocean robot is the optimization goal to complete the task allocation.
It improves the accuracy of target clustering and the efficiency of task allocation, reduces maritime escort safety risks, and improves maritime escort efficiency.
Smart Images

Figure CN117726089B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of unmanned cluster task allocation. Background Art
[0002] Compared with conventional fleets performing escort missions, the use of marine robot clusters to perform escort missions can greatly reduce escort operation costs, improve escort efficiency, and reduce casualties. For complex escort missions, a single marine robot cannot meet the mission requirements due to its limited capabilities, so multiple marine robots are required to perform escort missions in coordination.
[0003] During the escort process, in order to ensure the maritime safety of the escorted object, the marine robot cluster needs to process the situation and make threat judgments and assessments on the moving targets on the sea surface. When there are a large number of threatening targets, it is necessary to cluster the targets with similar threat levels, so as to facilitate the escort marine robot cluster to assign tasks to the threatening targets.
[0004] The patent name is: "A K-means algorithm for optimizing cluster centers" (CN113361616A), which proposes a method for optimizing the initial cluster centers. This method selects the sample with the smallest variance as the initial center of the first cluster, makes a circle with R as the radius, and searches for the sample with the smallest variance among the samples outside the circle as the initial center of the subsequent clusters until the required k initial cluster centers are found. The patent name is: "DHSSA optimized K-means complementary iterative vehicle information data clustering method" (CN114970728 A), which proposes a cluster center improvement method with a fitness function as a distribution rule. This method selects the minimum fitness value through continuous iteration to update the cluster center. The above patent takes into account the problem that the K-means algorithm has a great influence on the initial setting value and allocation rules of the cluster center. However, for threat targets moving on the sea surface, the above improved method does not take into account the motion characteristics of threat targets moving on the sea surface, and does not take the threat level of the target into account in the iterative update allocation principle of the cluster center. The clustering results obtained may have problems such as a certain threat target in the cluster has a greater threat level, or the threat levels of threat targets in each cluster vary too much, which is not conducive to the next step of reasonable and efficient task allocation of the marine robot cluster.
[0005] The patent name is "A method and system for task allocation in a random environment of a heterogeneous unmanned cluster based on improved k-means clustering" (CN115509710A). This method improves the k-means clustering algorithm by establishing an index function to group heterogeneous aircraft, establishes a range cost matrix by a differential evolution algorithm, and solves the mathematical model of task allocation in the range cost matrix by the Hungarian algorithm, thereby obtaining the tasks to be performed corresponding to each aircraft formation. However, this method clusters aircraft according to the flight capability of the aircraft and the adaptability of the aircraft to the tasks to be performed. It does not take into account the motion characteristics and threat level of the threat targets on the sea surface, and is not suitable for clustering sea surface threat targets by marine robot clusters.
[0006] The patent name is "Unmanned Cluster Dynamic Task Assignment Method and System Based on Improved Bionic Wolf Pack" (CN116185035A), which improves a dynamic task assignment method for target coverage search of unmanned clusters. This method calculates the cost function for each agent's assigned task and constructs a cost matrix, establishes an assignment problem model, and uses the improved Hungarian algorithm to solve it, and obtains an assignment scheme for each agent's assigned task set. However, the calculation of the cost function of this method only considers the target's range and threat, and the threat estimation is calculated through a pre-defined threat table, which only considers the agent type, target type and task type, without the physical characteristics of the target such as speed and heading, and the threat level of the target is not quantitatively analyzed and calculated, and is not suitable for clustering and assigning sea surface threat targets.
[0007] In view of the shortcomings of existing target clustering and task allocation methods, the problems that unmanned swarm escort urgently needs to solve are as follows: the existing target clustering and task allocation methods do not take into account the motion characteristics of sea surface moving threat targets and their threat level to escort missions, resulting in poor target clustering effect and low task allocation efficiency. Summary of the invention
[0008] The purpose of the present invention is to solve the problem that the existing target clustering and task allocation methods do not take into account the motion characteristics of sea surface moving threat targets and their threat degree to escort missions, resulting in poor target clustering effect and low task allocation efficiency; the present invention provides a cluster escort task allocation method and system for optimizing K-means threat target clustering.
[0009] The cluster escort task allocation method for optimizing K-means threat target clustering includes the following steps:
[0010] Step 1: According to the shortest encounter distance and shortest encounter time between each target to be evaluated moving on the sea surface and each marine robot in the escort marine robot cluster, target threat assessment and judgment are performed on the target to be evaluated to determine whether the target to be evaluated is a threat target, and the threat target set is identified; the interception point of each threat target by the escort object is predicted by the parallel approach method; the threat target and the interception point are in one-to-one correspondence;
[0011] Step 2: Cluster the interception points corresponding to the threat targets by using the optimized cluster center K-means algorithm based on the escort threat similarity, divide the m interception points into n clusters, m>n, and determine the clustering results of each cluster; the clustering result of each cluster is a cluster center set, which includes the cluster center and each interception point in the cluster; the number of clusters is the same as the number of marine robots in the escort marine robot cluster;
[0012] Step 3: Calculate the interception cost of each marine robot for each interception point in each cluster center set based on the comprehensive threat value of each threat target to each marine robot and the comprehensive interception cost of each marine robot for each interception point;
[0013] Step 4: According to the interception cost of each marine robot for the interception point in each cluster center set, a mathematical model of the escort marine robot cluster task allocation problem is established and solved by the Hungarian algorithm. The optimization goal is to minimize the interception cost of each marine robot for the interception point in each cluster center set, so that each marine robot matches a cluster center corresponding to the minimum interception cost to complete the cluster escort task allocation.
[0014] As a preferred embodiment, in step 1, the shortest encounter distance and shortest encounter time between each marine robot in the escort marine robot cluster according to each target to be evaluated are implemented as follows:
[0015] DCPA j′i =d j′i ·sin(ψ j′i -q j′i ) Formula 1;
[0016] TCPA j′i =d j′i ·cos(ψ j′i -q j′i ) / V j′i Formula 2;
[0017] in, k j′i =V tj′ / V ui ;
[0018] DCPA j′i and TCPA j′iThey are the target to be evaluated T j′ Compared with the marine robot U i The shortest encounter distance and shortest encounter time, T j′ is the j′th target to be evaluated, U i is the i-th marine robot, d j′i is the target to be evaluated T j′ Compared with the marine robot U i The distance, q j′i is the target to be evaluated T j′ Compared with the marine robot U i The side angle, ψ j′i and V j′i They are the target to be evaluated T j′ Compared with the marine robot U i The heading and speed, ψ ui and V ui Marine Robot U i The initial heading and initial speed, ψ tj′ and V tj′ They are the target to be evaluated T j′ The heading and speed, k j′i is an intermediate variable.
[0019] Preferably, in step 1, target threat assessment and determination are performed on the target to be assessed, and whether the target to be assessed is a threat target is determined. The implementation method of identifying the threat target set includes:
[0020] When the shortest distance DCPA is encountered j′i <Δd or shortest encounter time DCPA j′i <Δt, the target to be evaluated is considered to be T j′ With the Ocean Robot i There is a risk of collision between the target and the target to be evaluated. j′ is the threat target, and then the threat target set consisting of all threat targets is obtained;
[0021] DCPA j′i and TCPA j′i They are the target to be evaluated T j′ Compared with the marine robot U i The shortest encounter distance and shortest encounter time, T j′ is the j′th target to be evaluated, U i is the i-th marine robot, Δd is the safe collision avoidance distance, Δt is the safety time, i=1,2…n.
[0022] Preferably, the implementation method of predicting the interception point of each threat target by the escort object by the parallel approach method in step 1 includes:
[0023] Define escort object U h For the threat target T j Relative speed and relative position in,
[0024] Since the escort object U is set h The speed of the ship remains unchanged, by changing the escort object U h The heading makes the relative speed The velocity direction and relative position parallel to the direction of
[0025] According to the escort object U after changing the course h The speed and course of the ship, as well as the threat target T j The speed and heading of the escort object U h The navigation trajectory and threat target T j The intersection point of the navigation tracks is used as the interception point;
[0026] in, All are vectors, T j is the jth threat target, For the escort object U h Speed V h Vector, Threat target T j Speed V tj Vector, P h For the escort object U h The position of P tj Threat target T j position, j=1,2…m.
[0027] Preferably, in step 2, the interception points corresponding to the threat targets are clustered by using the optimized cluster center K-means algorithm based on the escort threat similarity, and the m interception points are divided into n clusters, where m>n, and the clustering results of each cluster are determined by:
[0028] Step 21, set the initial value of the number of clusters k to 1, select the interception point with the smallest escort threat as the cluster center C1 of the first cluster, where all interception points belong to the first cluster where the cluster center C1 is located;
[0029] Step 22: Update the number of cluster centers:
[0030] Let k = k + 1, calculate the cluster center C of the k-1th cluster k-1 The Euclidean distance between each of the interception points is used to select the cluster center C of the k-1th cluster. k-1 The intercept point corresponding to the maximum value of the Euclidean distance between all intercept points is taken as the cluster center C of the kth cluster.k ;
[0031] Step 23: Update the interception points in the cluster where each cluster center is located:
[0032] Calculate the cluster center and interception point P of each cluster in k clusters respectively Lj The similarity of escort threats between the two interception points P Lj The cluster where the cluster center corresponding to the minimum value among the obtained k escort threat similarities is located; P Lj is the interception point numbered j on the sea surface, j = 1, 2...m;
[0033] Step 24: Update the cluster center position:
[0034] The position mean point of all interception points in each cluster is taken as the cluster center of the cluster, and it is determined whether k is equal to n. If the result is yes, step 25 is executed, and if the result is no, step 22 is executed;
[0035] Step 25: Optimize the interception points and cluster centers within each cluster:
[0036] Calculate the cluster center and interception point P of each cluster in k clusters respectively Lj The similarity of escort threats between the two interception points P Lj Re-divide them into clusters corresponding to the minimum values of the k escort threat similarities, so as to realize the redivision of all interception points; and use the position mean point of all interception points in each re-divided cluster as the new cluster center of the cluster;
[0037] Step 26: Repeat step 25 until the preset number of iterations is reached or the position of each cluster center no longer changes, and output the cluster center of each cluster and each interception point in the cluster as the clustering result of the corresponding cluster.
[0038] Preferably, in step 21, the implementation method of selecting the interception point with the smallest escort threat as the cluster center C1 of the first cluster includes:
[0039] Calculate the interception points of the first cluster for the escort object U h Escort threat level jh , select the interception point corresponding to the minimum value of all escort threat degrees as the cluster center C1 of the first cluster;
[0040] Said
[0041] in,
[0042] s jh The intercept point P Lj To the escort object U h Escort threat level, P Ljis the interception point numbered j on the sea surface, j = 1, 2...m, The intercept point P Lj The threat distance similarity ratio coefficient, The intercept point P Lj With escort object U h The distance between qj The intercept point P Lj The threat side angle similarity ratio coefficient, q jh The intercept point P Lj Relative to the escort object U h The side angle, k αj The intercept point P Lj The threat direction similarity ratio coefficient, α jh The intercept point P Lj Relative to the escort object U h azimuth.
[0043] Preferably, in step 23 or step 25, the cluster center and the interception point P of each of the k clusters are calculated. Lj The implementation method of the escort threat similarity between is as follows:
[0044]
[0045] in,
[0046] is the cluster center of the i′th cluster relative to the interception point P Lj The threat distance similarity ratio coefficient, is the cluster center and escort object U of the i′th cluster h The distance between The intercept point P Lj With escort object U h The distance between
[0047] k qi′j is the cluster center of the i′th cluster relative to the interception point P Lj The threat side angle similarity ratio coefficient, q i′h is the cluster center of the i′th cluster relative to the escort object U h The side angle, q jh The intercept point P Lj Relative to the escort object U h side angle;
[0048] k αi′j is the cluster center of the i′th cluster relative to the interception point P Lj The threat direction similarity ratio coefficient, α i′h is the cluster center of the i′th cluster relative to the escort object U h The azimuth angle, αjh The intercept point P Lj Relative to the escort object U h The azimuth of is the cluster center and interception point P of the i′th cluster Lj The distance between.
[0049] As a preferred embodiment, the comprehensive threat value of each threat target to each marine robot in step 3 is realized as follows:
[0050]
[0051] Among them, W(U i ,T k,λ ) is the threat target T k,λ U i The comprehensive threat value, T k,λ is the threat target corresponding to the interception point with sequence number λ in the kth cluster, U i is the i-th marine robot, w1, w2, w3, w4, w5 are the comprehensive threat values W(U i ,T k,λ ) Weight coefficients for individual threat values p1, p2, p3, p4 and p5, i = 1, 2 ... n, k = 1, 2 ... n;
[0052] p1 is the threat target T k,λ The category threat value, k′ λ Threat target T k,λ The fire threat level, f λ Threat target T k,λ Defense, M k is the total number of interception points in the kth cluster, k′ λ -f λ >0;λ=1,2……M k , M k <n;
[0053] p2 is the threat target T k,λ With the Ocean Robot i The relative threat value of the position, ψ λi Threat target T k,λ Compared with the marine robot U i The heading, q λi Threat target T k,λ Compared with the marine robot U i side angle;
[0054] p3 is the threat target T k,λ U iThe ship speed ratio threat value, V tλ Threat target T k,λ The speed, V ui For the marine robot i speed;
[0055] p4 is the threat target T k,λ With the Ocean Robot i The shortest encounter distance threat value, DCPA λi Threat target T k,λ Compared with the marine robot U i The shortest encounter distance, Δd is the safe collision avoidance distance;
[0056] p5 is the threat target T k,λ With the Ocean Robot i The shortest encounter time threat value, TCPA λi Threat target T k,λ Compared with the marine robot U i The shortest encounter time, Δt is the safety time, V λi Threat target T k,λ Compared with the marine robot U i speed;
[0057] In step 3, the comprehensive interception cost of each marine robot for each interception point is realized as follows:
[0058]
[0059] Among them, L(U i ,P k,Lλ ) is the marine robot U i For interception point P k,Lλ The comprehensive interception cost, U i is the i-th marine robot, P k,Lλ is the interception point P with sequence number λ in the kth cluster Lλ , w6, w7, w8 are the comprehensive interception costs L(U i ,P k,Lλ ) Weight coefficients for individual interception costs p6, p7, p8;
[0060] p6 is a marine robot i To the threat target T k,λ The corresponding intercept point P k,Lλ The interception range cost, L is the escort warning distance of the escort marine robot cluster, x Lλ and Lλ The interception points Pk,Lλ The horizontal and vertical coordinates, x ui and ui Marine Robot U i The horizontal and vertical coordinates of
[0061] p7 is a marine robot i To the threat target T k,λ The corresponding intercept point P k,Lλ The interception and steering cost, ψ ui For the marine robot i The initial heading, ψ c ui For the marine robot i Towards interception point P k,Lλ The heading at the time;
[0062] p8 is a marine robot i Arrival at interception point P k,Lλ Intercept threat target T k,λ When the threat target T k,λ To the escort object U h Escort threat cost, x tλ and tλ They are threat targets T k,λ The horizontal and vertical coordinates, x h and h They are respectively the escort objects U h The horizontal and vertical coordinates of
[0063] In step 3, the interception cost of each marine robot for the interception point in each cluster center set is:
[0064]
[0065] Among them, f ik For the marine robot i For M in the kth cluster k The interception cost of each interception point, U i is the i-th marine robot, M k is the total number of interception points in the kth cluster, L(U i ,P k,Lλ ) is the marine robot U i For interception point P k,Lλ The comprehensive interception cost, W(U i ,T k,λ ) is the threat target T k,λ U i The comprehensive threat value, T k,λ is the threat target corresponding to the interception point with sequence number λ in the kth cluster, P k,Lλis the interception point P with sequence number λ in the kth cluster Lλ .
[0066] As a preferred method, the mathematical model of the task allocation problem of the escort marine robot cluster is:
[0067]
[0068] Among them, f ik For the marine robot i For M in the kth cluster k The interception cost of each interception point, U i is the i-th marine robot, i = 1, 2...n, k = 1, 2...n, r ik For the marine robot i For the task decision variable of the kth cluster, r ik =0 means the ocean robot U i Do not execute task C′ k , r ik =1 indicates that the ocean robot U i Execute task C′ k , C′={C′1,C′2,…C′ n} is the set of tasks to be assigned, C′ k Assign the kth task in the task set C′, C′ k represents the cluster center C of the kth cluster assigned to the marine robot k .
[0069] Optimize the cluster escort task allocation system for K-means threat target clustering, including:
[0070] The threat target assessment and prediction module is used to conduct target threat assessment and judgment on the target to be assessed based on the shortest encounter distance and shortest encounter time between each target to be assessed moving on the sea surface and each marine robot in the escort marine robot cluster, determine whether the target to be assessed is a threat target, and identify the threat target set; predict the interception point of the escort object for each threat target through the parallel approach method; the threat target and the interception point are in one-to-one correspondence;
[0071] The interception point clustering module is used to cluster the interception points corresponding to the threat targets through the optimized clustering center K-means algorithm based on the escort threat similarity, divide the m interception points into n clusters, m>n, and determine the clustering results of each cluster; the clustering result of each cluster is a cluster center set, which includes the cluster center and each interception point in the cluster; the number of clusters is the same as the number of marine robots in the escort marine robot cluster;
[0072] The interception cost prediction module is used to calculate the interception cost of each marine robot for each interception point in each cluster center set according to the comprehensive threat value of each threat target to each marine robot and the comprehensive interception cost of each marine robot for each interception point;
[0073] The mathematical model establishment and solution module of the task allocation problem is used to establish a mathematical model of the escort marine robot cluster task allocation problem according to the interception cost of each marine robot for the interception point in each cluster center set, and solve it through the Hungarian algorithm. The optimization goal is to minimize the interception cost of each marine robot for the interception point in each cluster center set, so that each marine robot matches a cluster center corresponding to the minimum interception cost.
[0074] Principle analysis:
[0075] First, the present invention conducts threat assessment and judgment on the target to be assessed moving on the sea surface through the shortest encounter distance and the shortest encounter time, and predicts the interception point of the sea surface threat target through the parallel approach method; secondly, the initialization strategy is improved, and the interception point with the smallest escort threat is used as the initial cluster center, and the interception point farthest from the previous cluster center is used as the next cluster center. The escort threat similarity is established by considering the threat distance, threat side angle and threat direction between the interception point of the threat target and the escort object, and the iterative update rule with the highest escort threat similarity as the optimized cluster center is used to cluster the interception points corresponding to the sea surface threat targets, and obtain the clustering task cluster set of the interception points of the threat targets with the closest escort threat similarity to the interception points in the same cluster;
[0076] Then, a mathematical model of the marine robot swarm escort mission is established, and the threat value of the threat target to the marine robot in terms of category, relative orientation, ship speed ratio, shortest encounter distance and shortest encounter time, as well as the interception range cost, interception turning cost and escort threat cost of the marine robot to the interception point of the threat target are considered respectively, to construct a comprehensive threat value and a comprehensive interception cost; then, according to the accumulation and average of the difference between the comprehensive interception cost and the comprehensive threat value of each interception point in the clustering task cluster of the interception point, the interception cost of each marine robot for the interception point in each cluster center set is calculated, and based on this, a mathematical model of the task allocation problem of the escort marine robot swarm is established; finally, the interception cost matrix in the task allocation mathematical model is solved by the Hungarian algorithm, and the assignment scheme of the task cluster corresponding to the minimum interception cost of each marine robot is obtained.
[0077] Advantages of the present invention:
[0078] In view of the shortcomings of the existing target clustering and task allocation methods, the unmanned swarm escort urgently needs to solve the following problems: How to consider the motion characteristics of the threat targets moving on the sea surface and their threat level to the escort mission, and conduct threat assessment, judgment and prediction. And considering the motion characteristics and threat level of the threat targets moving on the sea surface, improve the iterative allocation rule of the cluster center, divide the interception points of threat targets with similar threat levels into task clusters, and allocate tasks accordingly, so that each marine robot obtains the optimal allocation plan for the threat target task cluster.
[0079] The present invention provides a cluster escort task allocation method and system for optimizing K-means threat target clustering, which performs threat assessment, judgment and prediction on targets to be assessed moving on the sea surface, and effectively identifies and predicts escort threats; reduces the influence of initial cluster centers and outliers on clustering results, optimizes cluster center iterative update rules, improves iterative clustering convergence speed and clustering accuracy and effect of interception points; establishes an interception cost function to quantitatively analyze the comprehensive threat value and comprehensive interception cost of intercepting threat targets by marine robots, and effectively measures escort safety risks and interception task execution costs; and assigns tasks through the Hungarian algorithm under the mathematical model of task allocation problems, so that the interception cost of each marine robot is minimized, and the efficiency of task allocation is effectively improved.
[0080] The cluster escort task allocation method and system for optimizing K-means threat target clustering provided by the present invention can be applied to maritime unmanned escort task scenarios for maritime threat target assessment, clustering and task allocation, which can reduce maritime escort safety risks and improve maritime escort efficiency, and has obvious engineering and military application value. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 It is a schematic diagram of the principle of cluster escort task allocation based on optimizing K-means threat target clustering of the present invention;
[0082] Figure 2 It is a schematic diagram of the principle of target threat assessment and determination;
[0083] Figure 3 It is a predicted schematic diagram of the interception point corresponding to the threat target;
[0084] Figure 4 It is a flow chart for clustering the interception points corresponding to the threat targets. DETAILED DESCRIPTION
[0085] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0086] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0087] The existing target clustering and task allocation methods do not take into account the motion characteristics of the threat targets on the sea surface and their threat level to the escort mission, resulting in poor target clustering effect and low task allocation efficiency, and cannot be applied to the marine robot cluster escort mission scenario. The present invention provides a cluster escort task allocation method and system for optimizing K-means threat target clustering. The purpose of the present invention is to conduct qualitative and quantitative threat assessment, judgment and prediction of the threat targets on the sea surface by establishing threat assessment judgment rules, taking into account the motion characteristics of the threat targets on the sea surface and their threat level to the escort mission, and optimizing the clustering based on the escort threat similarity improvement. The K-means algorithm is used to cluster the interception points of threat targets, and a mathematical model of the marine robot cluster escort mission is established to construct the comprehensive threat value and comprehensive interception cost. Based on this, the interception cost of each marine robot for the interception points in each cluster set is calculated, and a mathematical model of the escort marine robot cluster task allocation problem is established according to the interception cost matrix. The mathematical model of the task allocation problem is solved by the Hungarian algorithm to obtain the threat task assignment plan, which ultimately enables the marine robot escort cluster to achieve accurate threat target assessment and judgment and interception point prediction, reasonable threat target interception point clustering, and efficient cluster escort task allocation.
[0088] In order to achieve the above invention object, Figure 1 As shown, the cluster escort task allocation method for optimizing K-means threat target clustering described in this embodiment 1 includes the following steps:
[0089] Step 1: According to the shortest encounter distance and shortest encounter time between each target to be evaluated moving on the sea surface and each marine robot in the escort marine robot cluster, target threat assessment and judgment are performed on the target to be evaluated to determine whether the target to be evaluated is a threat target, and the threat target set is identified; the interception point of each threat target by the escort object is predicted by the parallel approach method; the threat target and the interception point are in one-to-one correspondence;
[0090] Step 2: Cluster the interception points corresponding to the threat targets by using the optimized cluster center K-means algorithm based on the escort threat similarity, divide the m interception points into n clusters, m>n, and determine the clustering results of each cluster; the clustering result of each cluster is a cluster center set, which includes the cluster center and each interception point in the cluster; the number of clusters is the same as the number of marine robots in the escort marine robot cluster;
[0091] Step 3: Calculate the interception cost of each marine robot for each interception point in each cluster center set based on the comprehensive threat value of each threat target to each marine robot and the comprehensive interception cost of each marine robot for each interception point;
[0092] Step 4: According to the interception cost of each marine robot for the interception point in each cluster center set, a mathematical model of the escort marine robot cluster task allocation problem is established and solved by the Hungarian algorithm. The optimization goal is to minimize the interception cost of each marine robot for the interception point in each cluster center set, so that each marine robot matches a cluster center corresponding to the minimum interception cost to complete the cluster escort task allocation.
[0093] The motion characteristics of threat targets moving on the sea surface and their threat degree to the escort mission are taken into consideration. The threat targets among the targets to be evaluated are identified according to the shortest encounter distance and the shortest encounter time, and the interception points of the escort object for each threat target are predicted. The number of threat targets is the same as the number of interception points, and there is a one-to-one correspondence. The m interception points are divided into n clusters, and each cluster corresponds to a cluster center. The number of marine robots is the same as the number of clusters and the number of cluster centers. According to the requirements of the escort mission, the threat value of the threat target to the marine robot and the interception cost of the marine robot at the interception point corresponding to the threat target are considered respectively, and a mathematical model of the marine robot cluster escort mission is established. Finally, the task is assigned to the task cluster with the minimum interception cost and the maximum profit of the interception mission of each marine robot, that is, a cluster center is assigned to each marine robot, so that the marine robot goes to the cluster center to intercept the threat target.
[0094] The present invention takes into account the motion characteristics of threatening targets moving on the sea surface and their threat degree to escort missions, performs clustering by optimizing the K-means algorithm to improve the clustering effect, and considers the threat degree of escort missions to improve the efficiency of task allocation. It can reduce the safety risk of maritime escort and improve the efficiency of maritime escort, and has obvious engineering and military application value.
[0095] This embodiment uses the shortest encounter distance and the shortest encounter time to evaluate and determine the target threat to be evaluated, and predicts the interception point of the escort object for each threat target by the parallel approach method. Specifically, the implementation method of step 1 is as follows:
[0096] DCPA j′i =d j′i ·sin(ψ j′i -q j′i ) Formula 1;
[0097] TCPA j′i =d j′i ·cos(ψ j′i -q j′i ) / V j′i Formula 2;
[0098] in, k j′i =V tj′ / V ui ;
[0099] DCPA j′i and TCPA j′i They are the target to be evaluated T j′ Compared with the marine robot U i The shortest encounter distance and shortest encounter time, T j′ is the j′th target to be evaluated, U i is the i-th marine robot, d j′i is the target to be evaluated T j′ Compared with the marine robot U i The distance, q j′i is the target to be evaluated T j′ Compared with the marine robot U i The side angle, ψ j′i and V j′i They are the target to be evaluated T j′ Compared with the marine robot U i The heading and speed, ψ ui and V ui Marine Robot U i The current heading and current speed, ψ tj′ and V tj′ They are the target to be evaluated T j′ The heading and speed, k j′i is an intermediate variable.
[0100] See also Figure 2 , when the shortest distance DCPA j′i <Δd or shortest encounter time DCPA j′i <Δt, the target to be evaluated is considered to be T j′ With the Ocean Robot i There is a risk of collision between the target and the target to be evaluated. j′is the threat target, and then the threat target set consisting of all threat targets is obtained; Δd is the safe collision avoidance distance, Δt is the safety time, i=1,2……n.
[0101] See also Figure 3 ,The implementation methods of predicting the interception points of the escort object for each threat target by the parallel approach method include:
[0102] Define escort object U h For the threat target T j Relative speed and relative position in,
[0103] Since the escort object U is set h The speed of the ship remains unchanged, by changing the escort object U h The heading makes the relative speed The velocity direction and relative position parallel to the direction of
[0104] According to the escort object U after changing the course h The speed and course of the ship, as well as the threat target T j The speed and heading of the escort object U h The navigation trajectory and threat target T j The intersection of the navigation tracks is used as the interception point; in specific applications, when the escort object U is known h Under the condition of the speed and heading, the escort object U h The navigation track of the known threat target T j When the speed and heading are fixed, the threat target T j The intersection of the two navigation trajectories is taken as the interception point;
[0105] in, All are vectors, T j is the jth threat target, For the escort object U h Speed V h Vector, Threat target T j Speed V tj Vector, P h For the escort object U h The position of P tj Threat target T j position, j=1,2…m.
[0106] This implementation method accurately clusters the interception points corresponding to the threat target by optimizing the cluster center optimization K-means algorithm, and determines the clustering results of each cluster. The clustering result is a cluster center set, which includes the cluster center and each interception point in the cluster. Specifically, in step 2, the interception points corresponding to the threat target are clustered by the optimized cluster center K-means algorithm improved based on the escort threat similarity, and m interception points are divided into n clusters, m>n. The implementation method of determining the clustering results of each cluster includes:
[0107] Step 21, set the initial value of the number of clusters k to 1, select the interception point with the smallest escort threat as the cluster center C1 of the first cluster, wherein all interception points belong to the first cluster where the cluster center C1 is located; specifically, the implementation method of the cluster center C1 of the first cluster includes: respectively calculating the impact of each interception point in the first cluster on the escort object U h Escort threat level jh , select the interception point corresponding to the minimum value of all escort threat degrees as the cluster center C1 of the first cluster;
[0108] Said
[0109] in,
[0110] s jh The intercept point P Lj To the escort object U h Escort threat level, P Lj is the interception point numbered j on the sea surface, j = 1, 2...m, k Dj The intercept point P Lj The threat distance similarity ratio coefficient, The intercept point P Lj With escort object U h The distance between qj The intercept point P Lj The threat side angle similarity ratio coefficient, q jh The intercept point P Lj Relative to the escort object U h The side angle, k αj The intercept point P Lj The threat direction similarity ratio coefficient, α jh The intercept point P Lj Relative to the escort object U h azimuth;
[0111] Step 22: Update the number of cluster centers:
[0112] Let k = k + 1, calculate the cluster center C of the k-1th cluster k-1The Euclidean distance between each of the interception points is used to select the cluster center C of the k-1th cluster. k-1 The intercept point corresponding to the maximum value of the Euclidean distance between all intercept points is taken as the cluster center C of the kth cluster. k ;
[0113] Step 23: Update the interception points in the cluster where each cluster center is located:
[0114] Calculate the cluster center and interception point P of each cluster in k clusters respectively Lj The similarity of escort threats between the two interception points P Lj The cluster where the cluster center corresponding to the minimum value among the obtained k escort threat similarities is located; P Lj is the interception point numbered j on the sea surface, j = 1, 2...m;
[0115] Step 24: Update the cluster center position:
[0116] The position mean point of all interception points in each cluster is taken as the cluster center of the cluster, and it is determined whether k is equal to n. If the result is yes, step 25 is executed, and if the result is no, step 22 is executed;
[0117] Step 25: Optimize the interception points and cluster centers within each cluster:
[0118] Calculate the cluster center and interception point P of each cluster in k clusters respectively Lj The similarity of escort threats between the two interception points P Lj Re-divide them into clusters corresponding to the minimum values of the k escort threat similarities, so as to realize the redivision of all interception points; and use the position mean point of all interception points in each re-divided cluster as the new cluster center of the cluster;
[0119] Step 26: Repeat step 25 until the preset number of iterations is reached or the position of each cluster center no longer changes, and output the cluster center of each cluster and each interception point in the cluster as the clustering result of the corresponding cluster.
[0120] In the implementation method of clustering the interception points corresponding to the threat targets by using the optimized cluster center K-means algorithm based on the escort threat similarity, the smaller the escort threat similarity value is, the closer the threat similarity is, and the cluster center of each cluster is calculated to be respectively related to the interception point P Lj The interception point with the closest threat similarity to the cluster center (i.e., the interception point with the smallest escort threat similarity) is assigned to the corresponding cluster. Specifically, in step 23 or step 25, the cluster center of each of the k clusters and the interception point P are calculated. Lj The implementation method of the escort threat similarity between is as follows:
[0121]
[0122] in,
[0123] k Di′j is the cluster center of the i′th cluster relative to the interception point P Lj The threat distance similarity ratio coefficient, is the cluster center and escort object U of the i′th cluster h The distance between The intercept point P Lj With escort object U h The distance between
[0124] k qi′j is the cluster center of the i′th cluster relative to the interception point P Lj The threat side angle similarity ratio coefficient, q i′h is the cluster center of the i′th cluster relative to the escort object U h The side angle, q jh The intercept point P Lj Relative to the escort object U h side angle;
[0125] k αi′j is the cluster center of the i′th cluster relative to the interception point P Lj The threat direction similarity ratio coefficient, α i′h is the cluster center of the i′th cluster relative to the escort object U h The azimuth angle, α jh The intercept point P Lj Relative to the escort object U h The azimuth of is the cluster center and interception point P of the i′th cluster Lj The distance between.
[0126] The above is to optimize the cluster center by constructing the escort threat similarity, with cluster center C k (x Ck ,y Ck ) and the location of the escort object P h (x h ,y h ), interception point P Lj (x Lj ,y Lj ) and the location of the escort object P h (x h ,y h ) to evaluate the cluster center C k (x Ck ,y Ck ) and interception point P Lj (x Lj ,y Lj) For the location P of the escort object h (x h ,y h ) threat level, based on cluster center C k (x Ck ,y Ck ) and the interception point P Lj (x Lj ,y Lj ) to measure the correlation of the threat degree of the cluster center and interception point samples to the escort object. Ck and Ck Cluster center C k The horizontal and vertical coordinates of .
[0127] The smaller the escort threat similarity value is, the interception point with the highest escort threat similarity is taken as the initial cluster center, and the interception point farthest from the previous cluster center is taken as the next cluster center, so that the interception point P Lj The s with the highest escort threat similarity ij The corresponding cluster C k As an optimized cluster center iterative update allocation principle.
[0128] The higher the escort threat similarity, that is, s i′j The smaller the value, the closer the threat level of the cluster center and the interception point is, that is, the higher the similarity of the escort threat between the two, the greater the correlation between the two samples, the smaller the intra-class distance, and the better the clustering effect. Therefore, the final output cluster center cluster center set C = {C1, C2, ... C n The cluster centers C of each cluster center in k The higher the threat similarity of the interception points included, the more favorable it is for the marine robot cluster U = {U1,U2,…,U n} in each marine robot U i It can more effectively combat multiple threat targets when performing interception missions.
[0129] According to the escort mission requirements, the comprehensive threat value (category, relative position, ship speed ratio, shortest encounter distance, shortest encounter time) of each threat target to each marine robot and the interception cost (interception range cost, interception turning cost, escort threat cost) of the marine robot to each interception point are considered respectively, and the comprehensive threat value function W (U i ,T k,λ ) and the comprehensive interception cost function L(U i ,P k,Lλ ), to calculate the interception cost f of each marine robot for each interception point in each cluster center set ik , specifically:
[0130] According to the escort mission, the comprehensive threat value W(U i ,T k,λ );
[0131]
[0132] Among them, W(U i ,T k,λ ) is the threat target T k,λ U i The comprehensive threat value, T k,λ is the threat target corresponding to the interception point with sequence number λ in the kth cluster, U i is the i-th marine robot, w1, w2, w3, w4, w5 are the comprehensive threat values W(U i ,T k,λ ) Weight coefficients for individual threat values p1, p2, p3, p4 and p5, i = 1, 2 ... n, k = 1, 2 ... n;
[0133] p1 is the threat target T k,λ The category threat value, k′ λ Threat target T k,λ The fire threat level, f λ Threat target T k,λ Defense, M k is the total number of interception points in the kth cluster, k′ λ -f λ >0;λ=1,2……M k , M k <n;
[0134] p2 is the threat target T k,λ With the Ocean Robot i The relative threat value of the position, ψ λi Threat target T k,λ Compared with the marine robot U i The heading, q λi Threat target T k,λ Compared with the marine robot U i side angle;
[0135] p3 is the threat target T k,λ U i The ship speed ratio threat value, V tλ Threat target T k,λ The speed, V ui For the marine roboti speed;
[0136] p4 is the threat target T k,λ With the Ocean Robot i The shortest encounter distance threat value, DCPA λi Threat target T k,λ Compared with the marine robot U i The shortest encounter distance, Δd is the safe collision avoidance distance;
[0137] p5 is the threat target T k,λ With the Ocean Robot i The shortest encounter time threat value, TCPA λi Threat target T k,λ Compared with the marine robot U i The shortest encounter time, Δt is the safety time, V λi Threat target T k,λ Compared with the marine robot U i speed;
[0138] According to the escort mission, the comprehensive interception cost L(U i ,P k,Lλ );
[0139]
[0140] Among them, L(U i ,P k,Lλ ) is the marine robot U i For interception point P k,Lλ The comprehensive interception cost, U i is the i-th marine robot, P k,Lλ is the interception point P with sequence number λ in the kth cluster Lλ , w6, w7, w8 are the comprehensive interception costs L(U i ,P k,Lλ ) Weight coefficients for individual interception costs p6, p7, p8, i = 1, 2 ... n, k = 1, 2 ... n, λ = 1, 2 ... M k , M k <n;M k is the total number of interception points in the kth cluster;
[0141] p6 is a marine robot i To the threat target T k,λ The corresponding intercept point P k,LλThe interception range cost, L is the escort warning distance of the escort marine robot cluster, x Lλ and Lλ The interception points P k,Lλ The horizontal and vertical coordinates, x ui and ui Marine Robot U i The horizontal and vertical coordinates of
[0142] p7 is a marine robot i To the threat target T k,λ The corresponding intercept point P k,Lλ The interception and steering cost, ψ ui For the marine robot i The current heading, ψ c ui For the marine robot i Towards interception point P k,Lλ The heading at the time;
[0143] p8 is a marine robot i Arrival at interception point P k,Lλ Intercept threat target T k,λ When the threat target T k,λ To the escort object U h Escort threat cost, x tλ and tλ They are threat targets T k,λ The horizontal and vertical coordinates, x h and h They are respectively the escort objects U h The horizontal and vertical coordinates of
[0144] Calculate the interception cost f of each marine robot for each interception point in each cluster center set ik ;
[0145]
[0146] Among them, f ik For the marine robot i For M in the kth cluster k The interception cost of each interception point, U i is the i-th marine robot, M k is the total number of interception points in the kth cluster, L(U i ,P k,Lλ ) is the marine robot U i For interception point P k,Lλ The comprehensive interception cost, W(U i ,T k,λ ) is the threat target T k,λU i The comprehensive threat value, T k,λ is the threat target corresponding to the interception point with sequence number λ in the kth cluster, P k,Lλ is the interception point P with sequence number λ in the kth cluster Lλ ,λ=1,2……M k , M k <n;M k is the total number of interception points in the kth cluster.
[0147] The mathematical model of the task allocation problem of escort marine robot cluster is:
[0148]
[0149] Among them, f ik For the marine robot i For M in the kth cluster k The interception cost of each interception point, U i is the i-th marine robot, i = 1, 2...n, k = 1, 2...n, r ik For the marine robot i For the task decision variable of the kth cluster, r ik =0 means the ocean robot U i Do not execute task C′ k , r ik =1 indicates that the ocean robot U i Execute task C′ k , C′={C′1,C′2,…C′ n} is the set of tasks to be assigned, C′ k Assign the kth task in the task set C′, C′ k represents the cluster center C of the kth cluster assigned to the marine robot k The number of marine robots is equal to the number of clusters and the number of tasks in the task set.
[0150] In step 4, the mathematical model of the escort marine robot cluster task allocation problem is solved by the Hungarian algorithm, with the minimum interception cost of each marine robot for the interception points in each cluster center set as the optimization goal, so that each marine robot matches a cluster center corresponding to the minimum interception cost, and the cluster escort task allocation is completed. The mathematical model is solved by the Hungarian algorithm, which can be achieved by existing technologies, and the specific solution process may include:
[0151] Step 4.1: For each marine robot, the interception cost f of the interception point in each cluster center set is ik The matrix formed Perform the transformation, subtract the minimum element of the row from each element, so that each row has an element with a value of 0, and subtract the minimum element of each column from each element, so that each row has an element with a value of 0. Finally, each row and column of the matrix has at least one element with a value of 0, and a new matrix is obtained;
[0152] Step 4.2: Preliminary search for the optimal solution: In the matrix where each row and each column has at least one element with a value of 0, start by finding the row with the least number of 0 elements, circle this 0 element, and cross out the other 0 elements in the column where this 0 element is located; similarly, find the column with the least number of 0 elements, circle this 0 element, and cross out the other 0 elements in the row where this 0 element is located;
[0153] Step 4.3: If the matrix obtained in step 4.2 has n zero elements in different rows and columns, proceed to step 4.6. Otherwise, proceed to step 4.4;
[0154] Step 4.4: For the matrix obtained in step 4.2, mark the rows without circles with √, mark the columns with all the elements with values 0 in the rows with √, and then mark the rows with all the circled 0 elements in the columns with √. Draw horizontal lines for the rows without √ and vertical lines for all the columns with √, that is, make a set of the minimum number of straight lines covering all zero elements.
[0155] Step 4.5: Find the minimum element among the elements not covered by horizontal or vertical lines, add the minimum element to all elements in the column marked with √, and subtract the minimum element from all elements in the row marked with √ to get a new matrix. Return to step 4.2.
[0156] Step 4.6: For a matrix with n zero elements located in different rows and columns, each row of the matrix represents a marine robot cluster U = {U1, U2, ..., U n Every marine robot i , each column represents a task set C′={C′1,C′2,…C′ n The assignment task C′ of the kth cluster in k , if the value of the element in the i-th row and k-th column is 0, then the ocean robot U i Cluster center C k The interception cost is the smallest, indicating that the marine robot U i The optimal task with the largest profit of the assigned interception task is C′ k , and finally output a set of optimal assignment solutions (U i ,C k ), represents the ocean robot U i Assigned to cluster center C k .
[0157] like Figure 1 As shown, this embodiment 2 is described. The cluster escort task allocation system for optimizing K-means threat target clustering described in this embodiment 2 includes:
[0158] The threat target assessment and prediction module is used to conduct target threat assessment and judgment on the target to be assessed based on the shortest encounter distance and shortest encounter time between each target to be assessed moving on the sea surface and each marine robot in the escort marine robot cluster, determine whether the target to be assessed is a threat target, and identify the threat target set; predict the interception point of the escort object for each threat target through the parallel approach method; the threat target and the interception point are in one-to-one correspondence;
[0159] The interception point clustering module is used to cluster the interception points corresponding to the threat targets through the optimized clustering center K-means algorithm based on the escort threat similarity, divide the m interception points into n clusters, m>n, and determine the clustering results of each cluster; the clustering result of each cluster is a cluster center set, which includes the cluster center and each interception point in the cluster; the number of clusters is the same as the number of marine robots in the escort marine robot cluster;
[0160] The interception cost prediction module is used to calculate the interception cost of each marine robot for each interception point in each cluster center set according to the comprehensive threat value of each threat target to each marine robot and the comprehensive interception cost of each marine robot for each interception point;
[0161] The mathematical model establishment and solution module of the task allocation problem is used to establish a mathematical model of the escort marine robot cluster task allocation problem according to the interception cost of each marine robot for the interception point in each cluster center set, and solve it through the Hungarian algorithm. The optimization goal is to minimize the interception cost of each marine robot for the interception point in each cluster center set, so that each marine robot matches a cluster center corresponding to the minimum interception cost.
[0162] Although the present invention is described herein with reference to specific embodiments, it should be understood that these embodiments are merely examples of the principles and applications of the present invention. It should therefore be understood that many modifications may be made to the exemplary embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims. It should be understood that the various dependent claims and features described herein may be combined in a manner different from that described in the original claims. It should also be understood that features described in conjunction with individual embodiments may be used in other described embodiments.
Claims
1. Optimize the cluster escort task allocation method for K-means threat target clustering, It is characterized in that The method comprises the following steps: Step 1: Based on the shortest encounter distance and shortest encounter time between each target to be evaluated moving on the sea surface and each marine robot in the escort marine robot cluster, target threat assessment and judgment are performed on the target to be evaluated to determine whether the target to be evaluated is a threat target, and a threat target set is identified; The interception point of each threat target by the escort object is predicted through the parallel approach method; There is a one-to-one correspondence between threat targets and interception points; Step 2: Cluster the interception points corresponding to the threat targets by using the optimized cluster center K-means algorithm based on the escort threat similarity, divide the m interception points into n clusters, m>n, and determine the clustering results of each cluster; the clustering result of each cluster is a cluster center set, which includes the cluster center and each interception point in the cluster; The number of clusters is the same as the number of marine robots in the escort marine robot cluster; The implementation methods for determining the clustering results of each cluster include: Step 21: Set the initial value of the cluster number k to 1, and select the interception point with the smallest escort threat as the cluster center C of the first cluster. 1 , where all interception points belong to the cluster center C 1 The first cluster where it is located; Step 22: Update the number of cluster centers: Let k = k + 1, calculate the cluster center C of the k-1th cluster k-1 The Euclidean distance between each of the interception points is used to select the cluster center C of the k-1th cluster. k-1 The intercept point corresponding to the maximum value of the Euclidean distance between all intercept points is taken as the cluster center C of the kth cluster. k ; Step 23: Update the interception points in the cluster where each cluster center is located: Calculate the cluster center and interception point P of each cluster in k clusters respectively Lj The similarity of escort threats between the two interception points P Lj The cluster where the cluster center corresponding to the minimum value among the obtained k escort threat similarities is located; P Lj is the interception point numbered j on the sea surface, j = 1, 2...m; Step 24: Update the cluster center position: The position mean point of all interception points in each cluster is taken as the cluster center of the cluster, and it is determined whether k is equal to n. If the result is yes, step 25 is executed, and if the result is no, step 22 is executed; Step 25: Optimize the interception points and cluster centers within each cluster: Calculate the cluster center and interception point P of each cluster in k clusters respectively Lj The similarity of escort threats between the two interception points P Lj Re-divide them into clusters corresponding to the minimum values of the k escort threat similarities, so as to realize the redivision of all interception points; and use the position mean point of all interception points in each re-divided cluster as the new cluster center of the cluster; Step 26, repeating step 25 until the preset number of iterations is reached or the position of each cluster center no longer changes, outputting the cluster center of each cluster and each interception point in the cluster as the clustering result of the corresponding cluster; Step 3: Calculate the interception cost of each marine robot for each interception point in each cluster center set based on the comprehensive threat value of each threat target to each marine robot and the comprehensive interception cost of each marine robot for each interception point; The comprehensive threat value of each threat target to each marine robot is realized as follows: Among them, W(U i ,T k,λ ) is the threat target T k,λ U i The comprehensive threat value, T k,λ is the threat target corresponding to the interception point with sequence number λ in the kth cluster, U i is the i-th marine robot, w 1 、w 2 、w 3 、w 4 、w 5 They are the comprehensive threat value W(U i ,T k,λ ) for a single threat value p 1 、p 2 、p 3 、p 4 and p 5 Weight coefficient, i = 1, 2...n, k = 1, 2...n; p 1 Threat target T k,λ The category threat value, k′ λ Threat target T k,λ The fire threat level, f λ Threat target T k,λ Defense, M k is the total number of interception points in the kth cluster, k′ λ -f λ >0;λ=1,2……M k , M k <n; p 2 Threat target T k,λ With the Ocean Robot i The relative threat value of the position, ψ λi Threat target T k,λ Compared with the marine robot U i The heading, q λi Threat target T k,λ Compared with the marine robot U i side angle; p 3 Threat target T k,λ U i The ship speed ratio threat value, V tλ Threat target T k,λ The speed, V ui For the marine robot i speed; p 4 Threat target T k,λ With the Ocean Robot i The shortest encounter distance threat value, DCPA λi Threat target T k,λ Compared with the marine robot U i The shortest encounter distance, Δd is the safe collision avoidance distance; p 5 Threat target T k,λ With the Ocean Robot i The shortest encounter time threat value, TCPA λi Threat target T k,λ Compared with the marine robot U i The shortest encounter time, Δt is the safety time, V λi Threat target T k,λ Compared with the marine robot U i speed; The implementation method of the comprehensive interception cost of each marine robot for each interception point is: Among them, L(U i ,P k,Lλ ) is the marine robot U i For interception point P k,Lλ The comprehensive interception cost, U i is the i-th marine robot, P k,Lλ is the interception point P with sequence number λ in the kth cluster Lλ , w 6 、w 7 、w 8 They are the comprehensive interception cost L(U i ,P k,Lλ ) for a single interception cost p 6 、p 7 、p 8 The weight coefficient of p 6 For the marine robot i To the threat target T k,λ The corresponding intercept point P k,Lλ The interception range cost, L is the escort warning distance of the escort marine robot cluster, x Lλ and Lλ The interception points P k,Lλ The horizontal and vertical coordinates, x ui and ui Marine Robot U i The horizontal and vertical coordinates of p 7 For the marine robot i To the threat target T k,λ The corresponding intercept point P k,Lλ The interception and steering cost, ψ ui For the marine robot i The initial heading, ψ c ui For the marine robot i Towards interception point P k,Lλ The heading at the time; p 8 For the marine robot i Arrival at interception point P k,Lλ Intercept threat target T k,λ When the threat target T k,λ To the escort object U h Escort threat cost, x tλ and tλ They are threat targets T k,λ The horizontal and vertical coordinates, x h and h They are respectively the escort objects U h The horizontal and vertical coordinates of The interception cost of each marine robot for the interception point in each cluster center set is: Among them, f ik For the marine robot i For the k-th cluster M k The interception cost of each interception point, U i is the i-th marine robot, M k is the total number of interception points in the kth cluster, L(U i ,P k,Lλ ) is the marine robot U i For interception point P k,Lλ The comprehensive interception cost, W(U i ,T k,λ ) is the threat target T k,λ U i The comprehensive threat value, T k,λ is the threat target corresponding to the interception point with sequence number λ in the kth cluster, P k,Lλ is the interception point P with sequence number λ in the kth cluster Lλ ; Step 4: According to the interception cost of each marine robot for the interception point in each cluster center set, a mathematical model of the escort marine robot cluster task allocation problem is established and solved by the Hungarian algorithm. The optimization goal is to minimize the interception cost of each marine robot for the interception point in each cluster center set, so that each marine robot matches a cluster center corresponding to the minimum interception cost to complete the cluster escort task allocation.
2. The cluster escort task allocation method for optimizing K-means threat target clustering according to claim 1, It is characterized in that In step 1, the shortest encounter distance and shortest encounter time between each marine robot in the escort marine robot cluster according to each target to be evaluated are implemented as follows: DCPA j′i = d j′i · sin(ψ j′i - q j′i ) Formula 1; TCPA j′i =d j′i ·cos(ψ j′i -q j′i ) / V j′i Formula 2; in, ψ j′i ∈[0°,180°],k j′i =V tj′ / V ui ; DCPA j′i and TCPA j′i They are the target to be evaluated T j′ Compared with the marine robot U i The shortest encounter distance and shortest encounter time, T j′ is the j′th target to be evaluated, U i is the i-th marine robot, d j′i is the target to be evaluated T j′ Compared with the marine robot U i The distance, q j′i is the target to be evaluated T j′ Compared with the marine robot U i The side angle, ψ j′i and V j′i They are the target to be evaluated T j′ Compared with the marine robot U i The heading and speed, ψ ui and V ui Marine Robot U i The initial heading and initial speed, ψ tj′ and V tj′ They are the target to be evaluated T j′ The heading and speed, k j′i is an intermediate variable.
3. The cluster escort task allocation method for optimizing K-means threat target clustering according to claim 1, It is characterized in that In step 1, the target to be evaluated is evaluated and judged for threat, and it is determined whether the target to be evaluated is a threat target. The implementation methods of identifying the threat target set include: When the shortest distance DCPA is encountered j′i <Δd or shortest encounter time DCPA j′i <Δt, the target to be evaluated is considered to be T j′ With the Ocean Robot i There is a risk of collision between the target and the target to be evaluated. j′ is the threat target, and then the threat target set consisting of all threat targets is obtained; DCPA j′i and TCPA j′i They are the target to be evaluated T j′ Compared with the marine robot U i The shortest encounter distance and shortest encounter time, T j′ is the j′th target to be evaluated, U i is the i-th marine robot, Δd is the safe collision avoidance distance, Δt is the safety time, i=1,2……n.
4. The cluster escort task allocation method for optimizing K-means threat target clustering according to claim 1, It is characterized in that The implementation method of predicting the interception point of each threat target by the escort object through the parallel approach method in step 1 includes: Define escort object U h For the threat target T j Relative speed and relative position in, Since the escort object U is set h The speed of the ship remains unchanged, by changing the escort object U h The heading makes the relative speed The velocity direction and relative position parallel to the direction of According to the escort object U after changing the course h The speed and course of the ship, as well as the threat target T j The speed and heading of the escort object U h The navigation trajectory and threat target T j The intersection point of the navigation tracks is used as the interception point; in, All are vectors, T j is the jth threat target, For the escort object U h Speed V h Vector, Threat target T j Speed V tj Vector, P h For the escort object U h The position of P tj Threat target T j position, j=1,2…m.
5. The cluster escort task allocation method for optimizing K-means threat target clustering according to claim 1, It is characterized in that In step 21, the interception point with the smallest escort threat is selected as the cluster center C of the first cluster. 1 The implementation methods include: Calculate the interception points of the first cluster for the escort object U h Escort threat level jh , select the interception point corresponding to the minimum value of all escort threat degrees as the cluster center C of the first cluster 1 ; Said in, s jh The intercept point P Lj To the escort object U h Escort threat level, P Lj is the interception point numbered j on the sea surface, j = 1, 2...m, The intercept point P Lj The threat distance similarity ratio coefficient, The intercept point P Lj With escort object U h The distance between qj The intercept point P Lj The threat side angle similarity ratio coefficient, q jh The intercept point P Lj Relative to the escort object U h The side angle, k αj The intercept point P Lj The threat direction similarity ratio coefficient, α jh The intercept point P Lj Relative to the escort object U h azimuth.
6. The cluster escort task allocation method for optimizing K-means threat target clustering according to claim 1, It is characterized in that In step 23 or step 25, the cluster center and interception point P of each of the k clusters are calculated. Lj The implementation method of the escort threat similarity between is as follows: in, i′=1,……k; is the cluster center of the i′th cluster relative to the interception point P Lj The threat distance similarity ratio coefficient, is the cluster center and escort object U of the i′th cluster h The distance between The intercept point P Lj With escort object U h The distance between k qi′j is the cluster center of the i′th cluster relative to the interception point P Lj The threat side angle similarity ratio coefficient, q i′h is the cluster center of the i′th cluster relative to the escort object U h The side angle, q jh The intercept point P Lj Relative to the escort object U h side angle; k αi′j is the cluster center of the i′th cluster relative to the interception point P Lj The threat direction similarity ratio coefficient, α i′h is the cluster center of the i′th cluster relative to the escort object U h The azimuth angle, α jh The intercept point P Lj Relative to the escort object U h The azimuth of is the cluster center and interception point P of the i′th cluster Lj The distance between.
7. The cluster escort task allocation method for optimizing K-means threat target clustering according to claim 1, It is characterized in that The mathematical model of the task allocation problem of escort marine robot cluster is: Among them, f ik For the marine robot i For the k-th cluster M k The interception cost of each interception point, U i is the i-th marine robot, i = 1, 2...n, k = 1, 2...n, r ik For the marine robot i For the task decision variable of the kth cluster, r ik =0 means the ocean robot U i Do not execute task C′ k , r ik =1 indicates the ocean robot U i Execute task C′ k , C′={C′ 1 ,C′ 2 ,…C′ n } is the set of tasks to be assigned, C′ k Assign the kth task in the task set C′, C′ k represents the cluster center C of the kth cluster assigned to the marine robot k .
8. Optimize the cluster escort task allocation system of K-means threat target clustering, characterized by including: The threat target assessment and prediction module is used to conduct target threat assessment and judgment on the target to be assessed based on the shortest encounter distance and shortest encounter time between each target to be assessed moving on the sea surface and each marine robot in the escort marine robot cluster, determine whether the target to be assessed is a threat target, and identify the threat target set; predict the interception point of the escort object for each threat target through the parallel approach method; the threat target and the interception point are in one-to-one correspondence; The interception point clustering module is used to cluster the interception points corresponding to the threat targets through the optimized clustering center K-means algorithm based on the escort threat similarity, divide the m interception points into n clusters, m>n, and determine the clustering results of each cluster; the clustering result of each cluster is a cluster center set, which includes the cluster center and each interception point in the cluster; the number of clusters is the same as the number of marine robots in the escort marine robot cluster; The implementation methods for determining the clustering results of each cluster include: Step 21: Set the initial value of the cluster number k to 1, and select the interception point with the smallest escort threat as the cluster center C of the first cluster. 1 , where all interception points belong to the cluster center C 1 The first cluster where it is located; Step 22: Update the number of cluster centers: Let k = k + 1, calculate the cluster center C of the k-1th cluster k-1 The Euclidean distance between each of the interception points is used to select the cluster center C of the k-1th cluster. k-1 The intercept point corresponding to the maximum value of the Euclidean distance between all intercept points is taken as the cluster center C of the kth cluster. k ; Step 23: Update the interception points in the cluster where each cluster center is located: Calculate the cluster center and interception point P of each cluster in k clusters respectively Lj The similarity of escort threats between the two interception points P Lj The cluster where the cluster center corresponding to the minimum value among the obtained k escort threat similarities is located; P Lj is the interception point numbered j on the sea surface, j = 1, 2...m; Step 24: Update the cluster center position: The position mean point of all interception points in each cluster is taken as the cluster center of the cluster, and it is determined whether k is equal to n. If the result is yes, step 25 is executed, and if the result is no, step 22 is executed; Step 25: Optimize the interception points and cluster centers within each cluster: Calculate the cluster center and interception point P of each cluster in k clusters respectively Lj The similarity of escort threats between the two interception points P Lj Re-divide them into clusters corresponding to the minimum values of the k escort threat similarities, so as to realize the redivision of all interception points; and use the position mean point of all interception points in each re-divided cluster as the new cluster center of the cluster; Step 26, repeating step 25 until the preset number of iterations is reached or the position of each cluster center no longer changes, outputting the cluster center of each cluster and each interception point in the cluster as the clustering result of the corresponding cluster; The interception cost prediction module is used to calculate the interception cost of each marine robot for each interception point in each cluster center set according to the comprehensive threat value of each threat target to each marine robot and the comprehensive interception cost of each marine robot for each interception point; The comprehensive threat value of each threat target to each marine robot is realized as follows: Among them, W(U i ,T k,λ ) is the threat target T k,λ U i The comprehensive threat value, T k,λ is the threat target corresponding to the interception point with sequence number λ in the kth cluster, U i is the i-th marine robot, w 1 、w 2 、w 3 、w 4 、w 5 They are the comprehensive threat value W(U i ,T k,λ ) for a single threat value p 1 、p 2 、p 3 、p 4 and p 5 Weight coefficient, i = 1, 2...n, k = 1, 2...n; p 1 Threat target T k,λ The category threat value, k′ λ Threat target T k,λ The fire threat level, f λ Threat target T k,λ Defense, M k is the total number of interception points in the kth cluster, k′ λ -f λ >0;λ=1,2……M k , M k <n; p 2 Threat target T k,λ With the Ocean Robot i The relative threat value of the position, ψ λi Threat target T k,λ Compared with the marine robot U i The heading, q λi Threat target T k,λ Compared with the marine robot U i side angle; p 3 Threat target T k,λ U i The ship speed ratio threat value, V tλ Threat target T k,λ The speed, V ui For the marine robot i speed; p 4 Threat target T k,λ With the Ocean Robot i The shortest encounter distance threat value, DCPA λi Threat target T k,λ Compared with the marine robot U i The shortest encounter distance, Δd is the safe collision avoidance distance; p 5 Threat target T k,λ With the Ocean Robot i The shortest encounter time threat value, TCPA λi Threat target T k,λ Compared with the marine robot U i The shortest encounter time, Δt is the safety time, V λi Threat target T k,λ Compared with the marine robot U i speed; The implementation method of the comprehensive interception cost of each marine robot for each interception point is: Among them, L(U i ,P k,Lλ ) is the marine robot U i For interception point P k,Lλ The comprehensive interception cost, U i is the i-th marine robot, P k,Lλ is the interception point P with sequence number λ in the kth cluster Lλ , w 6 、w 7 、w 8 They are the comprehensive interception cost L(U i ,P k,Lλ ) for a single interception cost p 6 、p 7 、p 8 The weight coefficient of p 6 For the marine robot i To the threat target T k,λ The corresponding intercept point P k,L, λ is the interception range cost, L is the escort warning distance of the escort marine robot cluster, x Lλ and Lλ The interception points P k,Lλ The horizontal and vertical coordinates, x ui and ui Marine Robot U i The horizontal and vertical coordinates of p 7 For the marine robot i To the threat target T k,λ The corresponding intercept point P k,Lλ The interception and steering cost, ψ ui For the marine robot i The initial heading, ψ c ui For the marine robot i Towards interception point P k,Lλ The heading at the time; p 8 For the marine robot i Arrival at interception point P k,Lλ Intercept threat target T k,λ When the threat target T k,λ To the escort object U h Escort threat cost, x tλ and tλ They are threat targets T k,λ The horizontal and vertical coordinates, x h and h They are respectively the escort objects U h The horizontal and vertical coordinates of The interception cost of each marine robot for the interception point in each cluster center set is: Among them, f ik For the marine robot i For the k-th cluster M k The interception cost of each interception point, U i is the i-th marine robot, M k is the total number of interception points in the kth cluster, L(U i ,P k,Lλ ) is the marine robot U i For interception point P k,Lλ The comprehensive interception cost, W(U i ,T k,λ ) is the threat target T k,λ U i The comprehensive threat value, T k,λ is the threat target corresponding to the interception point with sequence number λ in the kth cluster, P k,Lλ is the interception point P with sequence number λ in the kth cluster Lλ ; The mathematical model establishment and solution module of the task allocation problem is used to establish a mathematical model of the escort marine robot cluster task allocation problem according to the interception cost of each marine robot for the interception point in each cluster center set, and solve it through the Hungarian algorithm. The optimization goal is to minimize the interception cost of each marine robot for the interception point in each cluster center set, so that each marine robot matches a cluster center corresponding to the minimum interception cost.
