Multi-target-oriented unmanned ship formation cooperative hunting method and related equipment
Through a multi-target oriented unmanned boat formation collaborative round-up method, combined with distributed task allocation and path planning of virtual speed components, the problem of task allocation and obstacle avoidance of unmanned boats under multiple targets and obstacles in the ocean environment is solved, achieving To achieve efficient and stable round-up effect.
Patent Information
- Application Number
- CN202410900656.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-05
AI Technical Summary
In the marine environment, it is difficult for a single unmanned vessel to complete diverse tasks. In the collaborative control of multiple unmanned vessels, there are efficiency and real-time problems in the process of task allocation, path planning and dynamic formation round-up, especially in the face of multiple targets and obstacles. When it comes to things, existing algorithms are difficult to meet the requirements of efficiency and stability.
A multi-target unmanned boat formation cooperative hunting method is adopted, through distributed task allocation and centralized allocation of constraints, combined with virtual speed components and adaptive path planning, to ensure that unmanned boats can effectively round up targets in the orbiting area and overcome The uncertainty caused by the number of formations and obstacles is eliminated.
It achieves reasonable target distribution and obstacle avoidance, improves obstacle avoidance performance and round-up efficiency, ensures the stability and uniform distribution of the unmanned boat formation in the dynamic environment, and overcomes the problems of dead zone stagnation and local oscillation during the formation process.
Smart Images

Figure CN118760171A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned boat intelligent control, and in particular to a multi-target unmanned boat formation collaborative capture method and related equipment. Background Art
[0002] In recent years, the role of the ocean in national security has gradually become more prominent. It not only provides important strategic resources for the country, but also plays a key role in maintaining national border security, ensuring maritime trade and freedom of navigation. Against this background, unmanned boats are a new type of maritime tool developed in recent years. With its high efficiency, flexibility and safety, it has gradually become an important tool in the fields of ocean exploration and maritime patrol. The development of unmanned boat technology provides a new way and idea for the development and utilization of the ocean, which is of great significance to ensuring national security.
[0003] Due to the complex and changeable marine environment, it is difficult to complete the diverse tasks at sea by relying on a single unmanned boat. The collaborative completion of tasks by multiple unmanned boats is an important way to solve this problem. Therefore, the collaborative control of multiple unmanned boats has been highly valued and widely studied. The problem of collaborative capture by multiple unmanned boats can be divided into three processes: task allocation, path planning, and dynamic formation capture. In the task allocation process, the allocation scheme of each unmanned boat is coupled with each other and changes dynamically with the change of the task scenario. How to quickly obtain a reasonable allocation scheme is the current research difficulty. Path planning mainly considers the real-time problem. With the increase in the number of unmanned boats, the computational complexity of the system will increase exponentially. In the face of the scene where the unmanned boat and the target move at the same time, some global path search algorithms such as A* algorithm and RRT algorithm are difficult to meet the higher degree of real-time requirements. Dynamic formation capture can reduce the probability of target escape during the capture process. The formation maintenance and adjustment during obstacle avoidance is an important test of the complexity and response speed of the formation capture algorithm, and it is necessary to take into account the capture efficiency and system stability. Summary of the invention
[0004] The present invention provides a multi-target unmanned boat formation collaborative capture method and related equipment, the purpose of which is to achieve reasonable target allocation and obstacle avoidance in the process of capturing targets.
[0005] In order to achieve the above object, the present invention provides a multi-target unmanned boat formation collaborative capture method, comprising:
[0006] Step 1, obtaining the estimated distance between each unmanned boat in the unmanned boat formation and each encirclement target, and the number of unmanned boats around each encirclement target;
[0007] Step 2: Distribute tasks for each unmanned boat in the unmanned boat formation according to the estimated distance between each unmanned boat and each encirclement target and the number of unmanned boats around each encirclement target to obtain an initial task allocation result, and centrally allocate the initial task allocation result through constraint conditions to obtain a hybrid task allocation result, which is the number of unmanned boats for encircling each encirclement target;
[0008] Step 3, for each unmanned boat in the unmanned boat formation, plan the path of the unmanned boat to its rotation area based on the set virtual speed components and the hybrid task allocation results, the virtual speed components include the target approach speed, the first repulsive speed between the unmanned boats, the second repulsive speed between the unmanned boat and the encircled target, the rotation obstacle avoidance speed and the first rotation speed;
[0009] Step 4: After each unmanned boat enters the rotation area, the first rotation speed is adaptively adjusted to obtain a second rotation speed, and the unmanned boats entering the rotation area are controlled based on the second rotation speed to capture multiple capture targets.
[0010] To further explain, the initial task allocation results are:
[0011]
[0012]
[0013] in, Indicates the serial number value of the target selected by unmanned boat i, represents the initial decision matrix, i = 1, 2, ..., n, w1, w2 represent the weights of the decision indicators, s ij represents the estimated distance between unmanned boat i and target j, n ij represents the number of unmanned boats surrounding the capture target j, c ij represents the decision score of unmanned boat i on the capture target j, j = 1, 2, ..., m, d ij represents the straight-line distance between the unmanned boat i and the capture target j, μ represents the obstacle influence factor, and n io represents the number of obstacles that may collide on the straight line connecting the unmanned boat i and the capture target j, represents the vertical distance from the center of the obstacle k to the straight line, r o represents the safety radius of obstacle k.
[0014] Furthermore, the initial task allocation results are centrally allocated through constraints to obtain hybrid task allocation results, including:
[0015] Grouping all the unmanned boats in the unmanned boat formation according to the capture targets selected by each unmanned boat in the unmanned boat formation;
[0016] When the number of unmanned boats selecting the same encirclement target is greater than or equal to a preset threshold, the unmanned boats selecting the same encirclement target and the selected encirclement target are divided into a high-density group, wherein the selected encirclement target includes multiple targets;
[0017] When the number of unmanned boats selecting the same encirclement target is lower than a preset threshold, the unmanned boats selecting the same encirclement target and the selected encirclement target are divided into a low-density group, wherein the selected encirclement target includes multiple targets;
[0018] Determine whether the initial task allocation results meet the constraints;
[0019] When the initial task allocation result meets the constraint conditions, the initial task allocation result is used as the task allocation result of the unmanned boat formation;
[0020] When the initial task allocation result does not meet the constraint conditions, the sum of the motion path lengths of the unmanned boats in the low-density group is taken as the optimization target. According to the optimization target, the unmanned boats in the low-density group are optimized and allocated on the basis of the initial task allocation result to obtain a hybrid task allocation result, which is the number of unmanned boats used to capture each target.
[0021] Specifically, the constraints include:
[0022] Each unmanned boat in the high-density group can only select one of the multiple selected capture targets in the low-density group;
[0023] The number of unmanned boats assigned to each selected capture target in the high-density group cannot be less than a preset threshold;
[0024] The number of unmanned boats assigned to each selected capture target in the low-density group must be equal to a preset threshold.
[0025] Furthermore, according to the optimization goal, the optimization equation for optimizing the allocation of unmanned boats in the low-density group based on the initial task allocation results is:
[0026]
[0027]
[0028] Among them, H k represents the decision matrix of each high-density group for the low-density group, S k represents the estimated distance matrix of each high-density group to the low-density group, G represents the optimization objective function, Denotes the decision matrix H kWith the distance matrix The trace of the matrix resulting from the multiplication, represents the decision variable of the mth unmanned boat in the kth group in the high-density group for the nth capture target in the low-density group, r represents the number of high-density groups, q represents the number of low-density groups, and p k represents the number of unmanned boats in the kth group in the high-density group, n b It represents the baseline value of the number of unmanned boats required to capture a single target, n n Represents the number of unmanned boats initially assigned to the nth capture target in the low-density group.
[0029] Furthermore, the virtual velocity component v itotal for:
[0030]
[0031] Among them, α represents the attenuation factor, α n represents the nth-order attenuation factor, v iatt represents the target approach speed, represents the first repulsive velocity, represents the second repulsive velocity, v irot Indicates the speed of rotation to avoid obstacles, v icircle1 Indicates the first rotation speed.
[0032] Furthermore, the target approaching speed is used to control the unmanned boat to approach the target. The expression of the target approaching speed is:
[0033] v iatt =[v0+C t ·D(r ig -r e , a t , p t )]·r iatt
[0034] Where v0 represents the minimum approach speed, C t represents the approach speed gain coefficient, D(·) represents the speed function, a t represents the maximum permissible acceleration, p t represents the gain of the braking process, r ig represents the straight-line distance between the unmanned boat and the target, r e represents the expected roundup radius, r iatt Represents the unit approach velocity vector, the direction is from the unmanned boat to the capture target:
[0035] The first repulsion velocity is the repulsion velocity between the unmanned boats. The expression of the first repulsion velocity is:
[0036]
[0037] Among them, k ar represents the repulsion coefficient between unmanned boats, r ia represents the straight-line distance between the two unmanned boats, r a Indicates the safe distance between unmanned boats. Represents the unit repulsive velocity vector between unmanned boats, with the direction from other unmanned boats to the current unmanned boat;
[0038] The second repulsive speed is the repulsive speed between the unmanned boat and the encirclement target. The expression of the second repulsive speed is:
[0039]
[0040] Among them, k gr represents the repulsive force coefficient between the unmanned boat and the target, r g Indicates the safe distance between the unmanned boat and the target. Represents the unit repulsive velocity vector between the unmanned boat and the target, with the direction from the capture target to the current unmanned boat;
[0041] The rotation obstacle avoidance speed is used to avoid obstacles. The expression of the rotation obstacle avoidance speed is:
[0042]
[0043] Among them, k rot Represents the gain coefficient of the rotation obstacle avoidance speed, r irot Represents the unit rotation obstacle avoidance velocity vector, and Flag represents the obstacle avoidance flag;
[0044] The first rotation speed is used to prevent the capture target from escaping. The expression of the first rotation speed is:
[0045]
[0046] Among them, k c represents the rotation speed gain coefficient, r icircle1 represents the first unit rotation velocity vector, which is perpendicular to the line between the unmanned boat and the target, r c Indicates the desired turning radius.
[0047] Specifically, the second rotation speed is:
[0048]
[0049] Among them, v m represents the maximum rotation speed, r icircle2 It represents the second unit rotation velocity vector, which is perpendicular to the line between the unmanned boat and the target.
[0050] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, a multi-target unmanned boat formation collaborative capture method is implemented.
[0051] The present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a multi-target unmanned boat formation collaborative capture method is implemented.
[0052] The above scheme of the present invention has the following beneficial effects:
[0053] Compared with the prior art, the present invention performs distributed task allocation for each unmanned boat in the unmanned boat formation by acquiring the estimated distance between each unmanned boat and each encirclement target in the unmanned boat formation and the number of unmanned boats around each encirclement target, obtains the initial task allocation result, and centrally allocates the initial task allocation result through constraint conditions to determine the number of unmanned boats for encircling each encirclement target, thereby effectively balancing the efficiency and quality of task allocation; plans the path of each unmanned boat to its rotation area based on the set virtual speed component and the hybrid task allocation result, solves the dead zone stagnation and local oscillation problems of multiple unmanned boats in the obstacle avoidance process, and improves the obstacle avoidance performance; when each unmanned boat enters the rotation area, the first rotation speed in the virtual speed component is adaptively adjusted to obtain the second rotation speed, and the unmanned boats after entering the rotation area are controlled based on the second rotation speed to encircle multiple encirclement targets, and any number of unmanned boats can be controlled to encircle targets in a uniformly distributed formation, thereby overcoming the uncertainty caused by the number of formation unmanned boats and obstacles in the environment during the dynamic formation process.
[0054] Other beneficial effects of the present invention will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 It is a schematic diagram of a flow chart of an embodiment of the present invention;
[0056] Figure 2 A schematic diagram of the motion path of the unmanned boat in an embodiment of the present invention;
[0057] Figure 3 It is a simulation schematic diagram of the distributed and hybrid task allocation results in an embodiment of the present invention;
[0058] Figure 4 It is a curve diagram of the optimization process of the genetic particle swarm algorithm in the embodiment of the present invention;
[0059] Figure 5 Schematic diagram of the process of selecting the rotation obstacle avoidance speed according to an embodiment of the present invention;
[0060] Figure 6 Schematic diagram comparing the obstacle avoidance effects of repulsion speed and rotation speed in an embodiment of the present invention;
[0061] Figure 7 This is a schematic diagram of the round-up process in an embodiment of the present invention;
[0062] Figure 8 Schematic diagram of the comparison between distance error and angle error in an embodiment of the present invention;
[0063] Fig. 9 It is a schematic diagram of simulation results of adaptive uniform capture according to an embodiment of the present invention;
[0064] Fig.10 It is a schematic diagram of simulation results of dynamic multi-target capture according to an embodiment of the present invention. DETAILED DESCRIPTION
[0065] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will be described in detail with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than 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.
[0066] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0067] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a locking connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0068] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0069] In view of the existing problems, the present invention provides a multi-target unmanned boat formation collaborative capture method and related equipment.
[0070] like Figure 1 As shown, an embodiment of the present invention provides a multi-target unmanned boat formation collaborative capture method, comprising:
[0071] Step 1, obtaining the estimated distance between each unmanned boat in the unmanned boat formation and each encirclement target, and the number of unmanned boats around each encirclement target;
[0072] Step 2: Distribute tasks for each unmanned boat in the unmanned boat formation according to the estimated distance between each unmanned boat and each encirclement target and the number of unmanned boats around each encirclement target to obtain an initial task allocation result, and centrally allocate the initial task allocation result through constraint conditions to obtain a hybrid task allocation result, which is the number of unmanned boats for encircling each encirclement target;
[0073] Step 3, for each unmanned boat in the unmanned boat formation, plan the path of the unmanned boat to its rotation area based on the set virtual speed components and the hybrid task allocation results, the virtual speed components include the target approach speed, the first repulsive speed between the unmanned boats, the second repulsive speed between the unmanned boat and the encircled target, the rotation obstacle avoidance speed and the first rotation speed;
[0074] Step 4: After each unmanned boat enters the rotation area, the first rotation speed is adaptively adjusted to obtain a second rotation speed, and the unmanned boats entering the rotation area are controlled based on the second rotation speed to capture multiple capture targets.
[0075] Specifically, step 1 includes:
[0076] Assume that there are n unmanned boats, m capture targets and l obstacles in the maritime capture scenario, and the unmanned boat formation is A = {a1, a2, ..., a n}, the capture target set is T = {t1, t2, ..., t m}, the obstacle set is O = {o1, o2, ..., o l}, in order to ensure the effective capture of the target by the unmanned boat, the number of unmanned boats must be strictly greater than the number of targets to be captured, and the specific relationship that needs to be satisfied is n≥n b *m,n b It represents the minimum number of unmanned boats required to capture a capture target. In the embodiment of the present invention, n is taken b =3, the capture target can be an unmanned boat, a ship to be rescued, etc.
[0077] The task allocation method of the cluster system can be divided into two types: centralized and distributed. The embodiment of the present invention combines the advantages of both and adopts a two-stage task allocation method. The first layer uses a distributed method to reduce the task allocation time and improve the task allocation efficiency; the second layer uses a centralized planning algorithm based on the first allocation result to perform a secondary allocation for unreasonable allocation plans to ensure the effectiveness of the final allocation plan. The specific implementation process is as follows:
[0078] In the distributed task allocation process, all unmanned boats make autonomous decisions based only on the information between themselves and the encirclement target. The decision information used in the embodiment of the present invention includes the estimated distance between the unmanned boat and the encirclement target, and the number of unmanned boats around each encirclement target. The expression of the decision matrix is:
[0079]
[0080] in, represents the initial decision matrix, i = 1, 2, ..., n, w1, w2 represent the weights of decision indicators, which include the estimated distance and the number of unmanned boats around the target, s ij represents the estimated distance between unmanned boat i and target j, n ij represents the number of unmanned boats surrounding the capture target j, c ij represents the decision score of unmanned boat i on the capture target j, j = 1, 2, ..., m; the lower the decision score, the higher the priority of the capture target;
[0081] During the roundup process, it is necessary to consider the impact of obstacles on the movement path. Figure 2 It can be seen that the movement path of the unmanned boat will become longer when passing through obstacles, and the estimated distance s can be designed ij The expression is as follows:
[0082]
[0083] Among them, d ij represents the straight-line distance between the unmanned boat i and the capture target j, μ represents the obstacle influence factor, and n io represents the number of obstacles that may collide on the straight line connecting the unmanned boat i and the capture target j, represents the vertical distance from the center of the obstacle k to the straight line, r o represents the safety radius of obstacle k.
[0084] According to the above analysis, the initial task allocation result can be expressed as follows:
[0085]
[0086] in, Indicates the serial number value of the target selected by unmanned boat i.
[0087] Specifically, the initial task allocation results are centrally allocated through constraints to obtain hybrid task allocation results, including:
[0088] Grouping all the unmanned boats in the unmanned boat formation according to the capture targets selected by each unmanned boat in the unmanned boat formation;
[0089] When the number of unmanned boats selecting the same encirclement target is greater than or equal to a preset threshold, the unmanned boats selecting the same encirclement target and the selected encirclement target are divided into a high-density group, and the selected encirclement target includes multiple;
[0090] When the number of unmanned boats selecting the same encirclement target is lower than a preset threshold, the unmanned boats selecting the same encirclement target and the selected encirclement target are divided into a low-density group, and the selected encirclement target includes multiple;
[0091] Determine whether the initial task allocation results meet the constraints;
[0092] When the initial task allocation result meets the constraint conditions, the initial task allocation result is used as the task allocation result of the unmanned boat formation. Figure 3 (a)
[0093] When the initial task allocation result does not meet the constraint conditions, the sum of the motion path lengths of the unmanned boats in the low-density group is used as the optimization target. The unmanned boats in the low-density group are optimized and allocated based on the initial task allocation result according to the optimization target to obtain a hybrid task allocation result. The hybrid task allocation result is the number of unmanned boats that capture each of the capture targets, as shown in the following figure. Figure 3 (b) as shown.
[0094] Specifically, the constraints include:
[0095] Each unmanned boat in the high-density group can only select one of the multiple selected capture targets in the low-density group;
[0096] The number of unmanned boats assigned to each selected capture target in the high-density group cannot be less than a preset threshold;
[0097] The number of unmanned boats assigned to each selected capture target in the low-density group must be equal to a preset threshold.
[0098] Since each unmanned boat makes decisions based only on its own observation information, and does not consider the impact of other unmanned boats’ decision-making behaviors on the whole, this may result in the number of unmanned boats selected for certain targets being less than the basic value required for the capture, thus failing to capture all the capture targets. The present invention uses a genetic particle swarm algorithm to perform secondary allocation on the initial task allocation results, and through the constraints, ensures that the number of unmanned boats for capturing each target is not less than the baseline value. The optimization process of the genetic particle swarm algorithm is as follows: Figure 4 As shown, the specific process is as follows:
[0099] First, all the unmanned boats in the unmanned boat formation are grouped into high-density groups and low-density groups according to the capture targets selected by each unmanned boat in the unmanned boat formation. Assuming that the high-density group can be divided into r groups according to the target category, and the low-density group can be divided into q groups, then the decision matrix H of each high-density group for the low-density group can be obtained. k and the distance matrix S k , the expression is:
[0100]
[0101] According to the optimization goal, the optimization equation for optimizing the allocation of unmanned boats in the low-density group based on the initial task allocation results is:
[0102]
[0103]
[0104] Among them, H k represents the decision matrix of each high-density group for the low-density group, S k Represents the estimated distance matrix of each high-density group to the low-density group, represents the decision variable of the mth unmanned boat in the kth group in the high-density group for the nth capture target in the low-density group, r represents the number of high-density groups, q represents the number of low-density groups, and p k represents the number of unmanned boats in the kth group in the high-density group, G represents the optimization objective function, Denotes the decision matrix H k With the distance matrix The trace of the matrix resulting from the multiplication, n b It represents the baseline value of the number of unmanned boats required to capture a single target, n n It represents the number of unmanned boats initially assigned to the nth capture target in the low-density group. The objective function represents the minimum sum of the estimated distances of all unmanned boats assigned from the high-density group to the low-density group.
[0105] The embodiment of the present invention can optimize and solve the optimization equation through the genetic particle swarm algorithm.
[0106] The embodiment of the present invention adopts a virtual speed component control mechanism to control the motion behavior of each unmanned boat in the unmanned boat formation. It is also a distributed path planning method. The virtual speed component of each unmanned boat includes the target approach speed, the first repulsion speed between the unmanned boats, the second repulsion speed between the unmanned boat and the captured target, the rotation obstacle avoidance speed and the first rotation speed. The embodiment of the present invention takes the unmanned boat as an example to illustrate the solution methods of these speeds respectively:
[0107] (1) Target approach speed. The embodiment of the present invention adopts the D function as the speed function of the unmanned boat approaching the capture target. The D function has good speed smooth decay performance. When the distance to the capture target is far, the output value is large and the decay is slow. Therefore, the unmanned boat can quickly approach the target. When it reaches a certain distance range, it decelerates to zero with a constant acceleration. The expression of the D function is:
[0108]
[0109] Among them, r represents the estimated distance between the unmanned boat and the encirclement target, p represents the gain, which determines the intersection point of the two stages of deceleration, and a represents the expected acceleration;
[0110] Based on the above D function, the final speed expression for controlling the unmanned boat to approach the target can be designed as follows:
[0111] v iatt =[v0+C t ·D(r ig -r e , a t , p t )]·r iatt
[0112] Among them, v0 represents the minimum approach speed, C t represents the approach speed gain coefficient, D(·) represents the speed function, a t Indicates the maximum permissible acceleration, p t represents the gain of the braking process, r ig represents the straight-line distance between the unmanned boat and the target, r e represents the expected roundup radius, r iatt Represents the unit approach velocity vector, the direction of which is from the unmanned boat to the capture target;
[0113] (2) The first repulsion velocity is the repulsion velocity between the unmanned boats. The expression of the first repulsion velocity is:
[0114]
[0115] Among them, k ar represents the repulsion coefficient between unmanned boats, ria represents the straight-line distance between the two unmanned boats, r a Indicates the safe distance between unmanned boats. Represents the unit repulsive velocity vector between unmanned boats, with the direction from other unmanned boats to the current unmanned boat;
[0116] (3) The second repulsion speed is the repulsion speed between the unmanned boat and the encircled target. The expression of the second repulsion speed is:
[0117]
[0118] Among them, k gr represents the repulsive force coefficient between the unmanned boat and the target, r g Indicates the safe distance between the unmanned boat and the target. Represents the unit repulsive velocity vector between the unmanned boat and the target, with the direction from the capture target to the current unmanned boat;
[0119] (4) Rotational obstacle avoidance speed
[0120] When the unmanned boat approaches the target, due to the existence of a large number of static obstacles in the environment, the use of a simple repulsive speed obstacle avoidance method will inevitably lead to dead zone stagnation and local oscillation problems, thus leading to the failure of target capture.
[0121] The present invention is inspired by the flow trajectory formed by the fluid after hitting the obstacle, and adopts the obstacle avoidance method of surface detour. Therefore, the expression of the rotation obstacle avoidance speed can be expressed as:
[0122]
[0123] Among them, k rot Represents the gain coefficient of the rotation obstacle avoidance speed, r irot Represents the unit rotation obstacle avoidance speed vector, Flag represents the obstacle avoidance flag, and is determined based on the estimated distance between the unmanned boat and the obstacle and the speed direction of the unmanned boat;
[0124] When the unmanned boat enters the dangerous area near the obstacle for the first time, it will determine whether the unmanned boat needs to avoid the obstacle. If it needs to avoid the obstacle, the Flag will be set to 1, and then the appropriate obstacle avoidance speed vector will be selected to perform obstacle avoidance movement until the obstacle avoidance is completed, and then it will be set to 0; otherwise, it will continue to move forward at the original speed.
[0125] like Figure 5 As shown, there are currently only two feasible obstacle avoidance velocity vectors, n1 and n2. According to the movement direction of the unmanned boat, n1 will be selected as the current obstacle avoidance velocity vector. The specific steps of the algorithm are as follows:
[0126] Input: Position information of the unmanned boat and the obstacle Pos = [agnets_Pos, obstacle_Pos], selection speed for selecting obstacle avoidance speed vector The speed v used to determine when to start and end obstacle avoidance d =v total -v rot , used to ensure the attenuation speed of obstacle avoidance effect
[0127] Step 1: Calculate the estimated distance D between the unmanned boat and all obstacles ao , determine whether there is a safety radius r smaller than the obstacle k o If it exists, determine the obstacle to be avoided according to Step 3-Step 5, and use the vector pointing from the unmanned boat to the obstacle as the obstacle avoidance normal vector n o ;
[0128] Step 2: If v d ·n o >0, Flag=1; otherwise, Flag=0;
[0129] Step 3: if Flag = 1
[0130] Step 4: Determine which obstacles are currently in the danger zone and record their number as z;
[0131] Step 5: Calculate the feasible obstacle avoidance velocity vector set: ( is the unit tangent vector perpendicular to the line connecting the unmanned boat and the center of the obstacle in the dangerous area, and Q is the normal vector matrix formed by the line connecting the center of the unmanned boat and all obstacles in the dangerous area, as shown in Figure 3 shown);
[0132] Step 6: Calculate the optimal obstacle avoidance speed: (V a V ava The velocity matrix formed by
[0133] Step 7: Speed decay: v s =α n ·v s (α is the attenuation factor, n is the corresponding order);
[0134] Step 8: Determine whether the obstacle avoidance process is completed;
[0135] Step 9: if ( Indicates v d With n oThe angle formed
[0136] Step 10: Flag = 0;
[0137] Step 11: end
[0138] Step 12: end
[0139] Output: optimal obstacle avoidance speed v rot
[0140] (5) First rotation speed
[0141] When the unmanned boat is close to the target, it takes a circling approach to prevent the target from escaping and improve the success rate of the capture. The expression of the first circling speed is:
[0142]
[0143] Among them, k c represents the rotation speed gain coefficient, r icircle1 represents the first unit rotation velocity vector, which is perpendicular to the line between the unmanned boat and the target, r c Indicates the desired turning radius.
[0144] The virtual velocity component v is calculated based on the target approach velocity, the first repulsion velocity, the second repulsion velocity, the rotation obstacle avoidance velocity and the first rotation velocity. itotal for:
[0145]
[0146] Among them, α represents the attenuation factor, α n represents the nth-order attenuation factor, v iatt represents the target approach speed, represents the first repulsive velocity, represents the second repulsive velocity, v irot Indicates the speed of rotation to avoid obstacles, v icircle1 Indicates the first rotation speed.
[0147] In the embodiment of the present invention, the value of n is 2. If Flag=1, then α=0.01; if Flag=0, then α=1.
[0148] Depend on Figure 6 The simulation results shown in the figure show that for the static obstacle avoidance problem, the repulsion velocity obstacle avoidance results are as follows: Figure 6 As shown in (a), the result of designing the rotation speed to avoid obstacles in the embodiment of the present invention is as follows: Figure 6 As shown in (b), compared with the two, the method designed in the embodiment of the present invention can effectively solve the dead zone stagnation and local oscillation problems in the obstacle avoidance process.
[0149] In order to prevent the target from escaping during the pursuit process, when the unmanned boats are close to the encircled target, each unmanned boat needs to be controlled in a coordinated manner to quickly intercept the encircled target and prevent it from escaping. The unmanned boats in the unmanned boat formation in the embodiment of the present invention coordinate their actions and adopt a tight blockade method of circular rotation to limit the freedom of movement of the encircled target. During the rotation process, the unmanned boats also need to maintain a certain distance to avoid collisions with each other.
[0150] In order to achieve a uniform distribution of any number of unmanned boats around the capture target, the first rotation speed is redesigned in the embodiment of the present invention. Figure 7 As shown in the figure, when the unmanned boat enters its circling area, the circling area is an area formed by taking the capture target as the center and the preset threshold as the radius. When the distance between the unmanned boat and the capture target is less than or equal to the preset threshold, it is considered that the unmanned boat has entered the circling area. Due to the dual effects of the approach speed and the circling speed, the unmanned boat will rotate counterclockwise around the target while approaching it, and the magnitude of the circling speed will be adaptively adjusted with the angular relationship between the unmanned boats entering the circling area, and finally the unmanned boat will be evenly distributed around the target on the expected radius. The first circling speed is redesigned, and the second circling speed is obtained as:
[0151]
[0152] Among them, v m represents the maximum rotation speed, r icircle2 represents the second unit rotation velocity vector, which is perpendicular to the line between the unmanned boat and the target, k c is an adaptive coefficient, which can be adjusted according to the number of unmanned boats in the turning area and the angle between adjacent unmanned boats, so that the unmanned boats can be evenly distributed around the capture target. Its expression is as follows:
[0153]
[0154] Among them, θ f represents the angle difference between the current unmanned boat and its adjacent forward unmanned boat, θ b represents the angle difference between the current unmanned boat and its adjacent back lane unmanned boat. The forward and backward directions are defined according to the rotation direction of the unmanned boat. m represents the number of unmanned boats in the rotation area. From the above expression, we can see that k c The value range is between [-1, 1].
[0155] Combining the formula with Figure 7 It can be seen that considering θ f and θ b When k takes a special value, c = -1, vicircle2 = 0, the unmanned boat stops rotating. c =0, v icircle2 The size is The unmanned boats rotate at a reference speed, which is the rotation speed of multiple unmanned boats when they are stable in the dynamic formation encirclement process. c = 1, the unmanned boat rotates at the maximum speed v m According to the above analysis, the angle difference between the unmanned boats will eventually converge to
[0156] The circular formation capture not only requires a uniform distribution of unmanned boats, but also ensures that all unmanned boats move within the expected radius. Therefore, the concept of the stopping area is introduced, that is, when the unmanned boat enters the stopping area, its target approach speed v iatt =0, at this time the unmanned boat only has a rotation speed. Since the sampling time of the control process cannot reach infinitesimal, the rotation speed alone cannot control the unmanned boat to move constantly on the circumference. Therefore, a smaller approach speed is required to keep the unmanned boat moving on the desired radius.
[0157] Since the radius of the stopping area has the same meaning as the expected capture radius in the target approach speed, it should be noted that the expected capture radius r e must be greater than the radius of rotation r c The purpose of this invention is to ensure that the unmanned boat can move constantly at the desired radius, and to make the movement of the unmanned boat more stable during the capture process. Figure 8 As shown in the figure, each unmanned boat simulates the capture process of a capture target, and the simulation results are as follows Fig. 9 shown.
[0158] The present invention can not only realize the capture of multiple static obstacles, but also can well complete the capture of multiple randomly moving dynamic targets, and can ensure that the number of unmanned boats capturing each capture target is not less than the benchmark value. The simulation results are as follows: Fig.10 As shown, Fig.10 (a) is the simulation result of the roundup at 0s. Fig.10 (b) is the simulation result of the roundup at 12 seconds. Fig.10 (c) is the simulation result of the roundup at 30 seconds. Fig.10 (d) is the simulation result of the roundup at 48 seconds. Fig.10 (e) is the simulation result of the roundup at 60s. Fig.10 (f) is the simulation result of the roundup at 90s.
[0159] Compared with the prior art, the embodiments of the present invention perform distributed task allocation for each unmanned boat in the unmanned boat formation by acquiring the estimated distance between each unmanned boat and each encirclement target in the unmanned boat formation and the number of unmanned boats around each encirclement target, obtain the initial task allocation result, and centrally allocate the initial task allocation result through constraint conditions to determine the number of unmanned boats for encircling each encirclement target, thereby effectively balancing the efficiency and quality of task allocation; the path of each unmanned boat to its rotation area is planned based on the set virtual speed component and the hybrid task allocation result, thereby solving the dead zone stagnation and local oscillation problems of multiple unmanned boats in the obstacle avoidance process and improving the obstacle avoidance performance; when each unmanned boat enters the rotation area, the first rotation speed in the virtual speed component is adaptively adjusted to obtain the second rotation speed, and the unmanned boats after entering the rotation area are controlled based on the second rotation speed to encircle multiple encirclement targets, thereby being able to control any number of unmanned boats to encircle targets in a uniformly distributed formation, thereby overcoming the uncertainty caused by the number of formation unmanned boats and obstacles in the environment during the dynamic formation process.
[0160] An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, a collaborative capture method for a multi-target unmanned boat formation is implemented.
[0161] If the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above method embodiment, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the construction device / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, U disk, mobile hard disk, disk or optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0162] An embodiment of the present invention also provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a multi-target unmanned boat formation collaborative capture method is implemented.
[0163] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a server, a server cluster, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0164] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0165] In some embodiments, the memory may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. In other embodiments, the memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (SMC, Smart Media Card), a secure digital (SD, Secure Digital) card, a flash card (Flash Card), etc. equipped on the terminal device. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (Boot Loader), data and other programs, such as the program code of the computer program, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0166] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0167] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0168] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A collaborative capture method for unmanned boat formations facing multiple targets, It is characterized in that include: Step 1, obtaining the estimated distance between each unmanned boat in the unmanned boat formation and each encirclement target, and the number of unmanned boats around each encirclement target; Step 2, performing distributed task allocation on each unmanned boat in the unmanned boat formation according to the estimated distance between each unmanned boat in the unmanned boat formation and each encircled target and the number of unmanned boats around each encircled target to obtain an initial task allocation result, and performing centralized allocation on the initial task allocation result through constraint conditions to obtain a hybrid task allocation result, wherein the hybrid task allocation result is the number of unmanned boats for encircling each encircled target; Step 3, for each unmanned boat in the unmanned boat formation, plan the path of the unmanned boat to its rotation area based on the set virtual speed component and the hybrid task allocation result, the virtual speed component includes the target approach speed, the first repulsion speed between the unmanned boats, the second repulsion speed between the unmanned boat and the encircled target, the rotation obstacle avoidance speed and the first rotation speed; Step 4: When each of the unmanned boats enters the rotation area, the first rotation speed is adaptively adjusted to obtain a second rotation speed, and the unmanned boats entering the rotation area are controlled based on the second rotation speed to capture the multiple capture targets.
2. The multi-target unmanned boat formation collaborative capture method according to claim 1, It is characterized in that The initial task allocation result is: in, Indicates the serial number value of the target selected by unmanned boat i, represents the initial decision matrix, i=1,2,…,n,w 1 、w 2 represents the weight of the decision indicator, s ij represents the estimated distance between unmanned boat i and target j, n ij represents the number of unmanned boats surrounding the capture target j, c ij represents the decision score of unmanned boat i on the capture target j, j = 1, 2, ..., m, d ij represents the straight-line distance between the unmanned boat i and the capture target j, μ represents the obstacle influence factor, and n io represents the number of obstacles that may collide on the straight line connecting the unmanned boat i and the capture target j, represents the vertical distance from the center of the obstacle k to the straight line, r o represents the safety radius of obstacle k.
3. The multi-target unmanned boat formation collaborative capture method according to claim 2, It is characterized in that The initial task allocation result is centrally allocated according to the constraint conditions to obtain a hybrid task allocation result, including: Grouping all the unmanned boats in the unmanned boat formation according to the capture target selected by each unmanned boat in the unmanned boat formation; When the number of unmanned boats selecting the same encirclement target is greater than or equal to a preset threshold, the unmanned boats selecting the same encirclement target and the selected encirclement target are divided into a high-density group, wherein the selected encirclement target includes multiple targets; When the number of unmanned boats selecting the same encirclement target is lower than a preset threshold, the unmanned boats selecting the same encirclement target and the selected encirclement target are divided into a low-density group, wherein the selected encirclement target includes multiple targets; Determining whether the initial task allocation result satisfies the constraint condition; When the initial task allocation result satisfies the constraint condition, the initial task allocation result is used as the task allocation result of the unmanned boat formation; When the initial task allocation result does not meet the constraint conditions, the sum of the motion path lengths of the unmanned boats in the low-density group is used as the optimization target, and the unmanned boats in the low-density group are optimized based on the initial task allocation result according to the optimization target to obtain a hybrid task allocation result, which is the number of unmanned boats for capturing each of the capture targets.
4. The multi-target unmanned boat formation collaborative capture method according to claim 3, It is characterized in that The constraints include: Each unmanned boat in the high-density group can only select one of the multiple selected capture targets in the low-density group; The number of unmanned boats assigned to each selected capture target in the high-density group cannot be less than a preset threshold; The number of unmanned boats assigned to each selected capture target in the low-density group must be equal to a preset threshold.
5. The multi-target unmanned boat formation collaborative capture method according to claim 4, It is characterized in that The optimization equation for optimizing the allocation of unmanned boats in the low-density group based on the initial task allocation result according to the optimization target is: Among them, H k represents the decision matrix of each high-density group for the low-density group, S k represents the estimated distance matrix of each high-density group to the low-density group, G represents the optimization objective function, Denotes the decision matrix H k With the distance matrix The trace of the matrix resulting from the multiplication, represents the decision variable of the mth unmanned boat in the kth group in the high-density group for the nth capture target in the low-density group, r represents the number of high-density groups, q represents the number of low-density groups, and p k represents the number of unmanned boats in the kth group in the high-density group, n b It represents the baseline value of the number of unmanned boats required to capture a single target, n n Represents the number of unmanned boats initially assigned to the nth capture target in the low-density group.
6. The multi-target unmanned boat formation collaborative capture method according to claim 5, It is characterized in that The virtual velocity component v itotal for: Among them, α represents the attenuation factor, α n represents the nth-order attenuation factor, v iatt represents the target approach speed, represents the first repulsive velocity, represents the second repulsive velocity, v irot Indicates the speed of rotation to avoid obstacles, v icircle1 Indicates the first rotation speed.
7. The multi-target unmanned boat formation collaborative capture method according to claim 6, It is characterized in that The target approaching speed is used to control the unmanned boat to approach the target, and the expression of the target approaching speed is: v iatt =[v 0 +C t ·D(r ig -r e ,a t ,p t )]·r iatt Among them, v 0 represents the minimum approach speed, C t represents the approach speed gain coefficient, D(·) represents the speed function, a t represents the maximum permissible acceleration, p t represents the gain of the braking process, r ig represents the straight-line distance between the unmanned boat and the target, r e represents the expected roundup radius, r iatt Represents the unit approach velocity vector, the direction of which is from the unmanned boat to the capture target; The first repulsion speed is the repulsion speed between the unmanned boats, and the expression of the first repulsion speed is: Among them, k ar represents the repulsion coefficient between unmanned boats, r ia represents the straight-line distance between the two unmanned boats, r a Indicates the safe distance between unmanned boats. Represents the unit repulsive velocity vector between unmanned boats, with the direction from other unmanned boats to the current unmanned boat; The second repulsion speed is the repulsion speed between the unmanned boat and the encircled target, and the expression of the second repulsion speed is: Among them, k gr represents the repulsive force coefficient between the unmanned boat and the target, r g Indicates the safe distance between the unmanned boat and the target. Represents the unit repulsive velocity vector between the unmanned boat and the target, with the direction from the capture target to the current unmanned boat; The rotation obstacle avoidance speed is used to avoid obstacles. The expression of the rotation obstacle avoidance speed is: Among them, k rot Represents the gain coefficient of the rotation obstacle avoidance speed, r irot Represents the unit rotation obstacle avoidance velocity vector, and Flag represents the obstacle avoidance flag; The first rotation speed is used to prevent the captured target from escaping, and the expression of the first rotation speed is: Among them, k c Represents the rotation speed gain coefficient, r icircle1 represents the first unit rotation velocity vector, which is perpendicular to the line between the unmanned boat and the target, r c Indicates the desired turning radius.
8. The multi-target unmanned boat formation collaborative capture method according to claim 7, It is characterized in that The second rotation speed is: Among them, v m represents the maximum rotation speed, r icircle2 It represents the second unit rotation velocity vector, which is perpendicular to the line between the unmanned boat and the target.
9. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the multi-target unmanned boat formation collaborative capture method as described in any one of claims 1 to 8 is implemented.
10. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the multi-target unmanned boat formation collaborative capture method as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Multi-unmanned-boat incomplete information roundup method based on game theory
CN111624996A
Fuzzy priority null-space behavior fusion formation method for target hunting
CN116859924A
Autonomous Control Of On-Site Movement Of Powered Earth-Moving Construction Or Mining Vehicles
US20240117598A1
Cited By
Multi-unmanned ship cooperative multi-target uniform hunting control method
CN119690075A
Unmanned surface vessel cluster collaborative hunting method based on minimum hunting structure
CN122018550A
