Task allocation method for multiple surface ships and multiple underwater robots based on improved marginal cost
By improving the minimum marginal cost algorithm and nearest insertion strategy, combined with the neighborhood search operator to optimize the path, the problem of low task allocation efficiency for multi-surface ships and multi-underwater robots is solved, and efficient task allocation and target point access are achieved.
Patent Information
- Application Number
- CN202410826007.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-25
AI Technical Summary
With the existing technology, it is difficult to significantly reduce the task allocation time while ensuring the accuracy of task allocation in multi-surface ship and multi-underwater robot task allocation, resulting in low overall allocation efficiency.
The improved minimum marginal cost algorithm and nearest insertion strategy are used to construct the initial path, and the path is iteratively optimized through the neighborhood search operator to ensure multi-target point access task allocation between surface ships and underwater robots under communication constraints and voyage constraints, and reduce Total travel distance.
It significantly reduces the task allocation time and improves the overall allocation efficiency, allowing surface ships and underwater robots to efficiently access multiple dispersed target points in the sea area.
Smart Images

Figure CN118396342B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of robot task allocation, and in particular relates to the design of a multi-surface ship and multi-underwater robot task allocation method based on improved marginal cost. Background Art
[0002] With the booming global economy, countries are increasingly dependent on marine resources, which has promoted the innovation and diversification of marine technology. In this context, marine exploration equipment represented by underwater robots and surface ships have been widely used in the civilian field, involving pipeline laying, seabed exploration, data collection, drilling assistance, and maintenance and repair of underwater facilities. However, a single underwater robot or surface ship may be constrained by its own technical capabilities or resource limitations when performing tasks, such as range, load capacity, etc., resulting in limited operating scope and operating capabilities.
[0003] To this end, in recent years, academia and industry have begun to explore the possibility of using surface ships and underwater robots for collaborative operations. The surface ship-underwater robot collaborative system can not only overcome the limitations of a single underwater robot in terms of endurance, but also effectively solve the shortcoming that a single surface ship cannot perform underwater tasks. Furthermore, through the collaborative operation of multiple underwater robots or surface ships, the scope of task execution can be expanded and efficiency can be improved. Secondly, the collaborative operation of multiple underwater robots and multiple surface ships can also increase the flexibility and robustness of the task. Therefore, the underwater robots and surface ships complement each other and can collaboratively perform collaborative access tasks for multiple target points: multiple surface ships carry multiple underwater robots starting from different base stations, and each surface ship carries an underwater robot to visit multiple surface and underwater target points in the sea area. Surface ships can visit surface target points, or dispatch underwater robots to visit multiple underwater target points or surface target points within a limited navigation distance. At the same time, surface ships can meet up with underwater robots at the current surface target point or on their way to the next surface target point, and provide charging or battery replacement services for underwater robots. In addition, due to the complexity of communication in the marine environment, when a surface ship dispatches an underwater robot, the distance between them cannot exceed the maximum communication distance.
[0004] In the prior art, methods for multi-robot task allocation problems are divided into exact algorithms and heuristic algorithms. Classic exact algorithms include branch-and-bound method, integer programming, etc. Research test results show that even for a simplified problem with only ten objectives, a mixed integer linear programming solver may take several hours to find the optimal solution. For problems of practical scale, it is more efficient to use heuristic algorithms than exact algorithms. Classic heuristic algorithms include genetic algorithms, self-organizing map algorithms, etc., which have simple principles and wide applicability, and can obtain suboptimal solutions to large-scale optimization problems in polynomial time, but their local search capabilities are insufficient and time-consuming. Summary of the invention
[0005] The purpose of the present invention is to propose a multi-surface ship and multi-underwater robot task allocation method based on improved marginal cost, which can significantly reduce the task allocation time and improve the overall allocation efficiency while ensuring the accuracy of task allocation.
[0006] The technical solution of the present invention is: a multi-surface ship and multi-underwater robot task allocation method based on improved marginal cost, comprising the following steps:
[0007] S1. Set relevant parameters of the surface ship and the underwater robot.
[0008] S2. Based on the relevant parameters of the surface ship and the underwater robot, the improved minimum marginal cost algorithm is used to insert the surface target point into the position where the insertion cost is minimized in the surface ship path, and the surface ship path and the set of surface target points to be inserted are updated.
[0009] S3. Determine whether the number of target points in the target point set to be inserted into the water surface is 0. If so, proceed to step S4; otherwise, return to step S2.
[0010] S4. Based on the relevant parameters of the surface ship and the underwater robot, the nearest insertion strategy is used to insert the underwater target point into the underwater robot path, and the underwater robot path and the set of underwater target points to be inserted are updated.
[0011] S5. Determine whether the number of target points in the set of underwater target points to be inserted is 0. If so, proceed to step S6; otherwise, return to step S4.
[0012] S6. Use the neighborhood search operator to iteratively optimize the surface ship path and the underwater robot path.
[0013] S7. Determine whether the number of iterations reaches the maximum value. If so, complete the task allocation. Otherwise, return to step S6 to continue iterative optimization.
[0014] Furthermore, the relevant parameters of the surface ship and the underwater robot in step S1 include the position index set of the surface target point , the location index set of underwater target points , the starting base station index set of surface ships and underwater robots , surface ship index collection , underwater robot index collection , constant speed of surface ship , constant cruising speed of underwater robots , the maximum navigation distance L of the underwater robot and the maximum communication distance C between the surface ship and the underwater robot, where Indicates the number of surface target points, Indicates the number of underwater target points, Indicates the number of surface vessels, underwater robots or departure base stations.
[0015] Furthermore, the insertion method of the improved minimum marginal cost algorithm in step S2 is specifically as follows:
[0016]
[0017] in Indicates A surface ship, , Indicates Surface target points, , Indicates the first Locations, , Indicates Surface ship paths, Represents the path of a surface ship Length, represents the cost function, Indicates that the surface target point Insert to surface vessel path Middle Locations, Represents an insert operation. represents the location in the surface ship path where the insertion cost increase is minimal, Indicates the surface target point corresponding to the position with the smallest insertion cost increase in the surface ship path, Indicates the surface ship corresponding to the position with the smallest insertion cost increase in the surface ship path.
[0018] Furthermore, the update formula of the surface ship path and the set of surface target points to be inserted in step S2 is:
[0019]
[0020]
[0021] in represents the set of surface target points to be inserted before updating. represents the updated set of surface target points to be inserted. Indicates the updated Surface ship paths, Indicates that the surface target point Insert to surface vessel path Position in , Represents a remove operation.
[0022] Furthermore, the insertion method of the most recent insertion strategy in step S4 is specifically as follows:
[0023]
[0024] in Indicates the currently inserted underwater target point. Indicates the currently inserted water surface target point. represents the i-th inserted underwater target point, represents the jth inserted water surface target point, represents the cost function.
[0025] Furthermore, in step S4, the update formula of the underwater robot path and the set of underwater target points to be inserted is:
[0026]
[0027]
[0028] in represents the set of underwater target points to be inserted before updating. represents the updated set of underwater target points to be inserted, represents the lth underwater robot path before updating, represents the updated l-th underwater robot path, Represents an insert operation. Represents a remove operation.
[0029] Furthermore, the neighborhood search operator in step S6 is specifically:
[0030] The two adjacent underwater robot paths are fused. If the fused underwater robot path satisfies the overall path cost reduction, the communication distance between the surface ship and the underwater robot is less than the maximum communication distance C and the navigation distance of the underwater robot is less than the maximum navigation distance L, then the current underwater robot path is updated and the path fusion is accepted. Otherwise, the current underwater robot path is not updated.
[0031] Furthermore, the neighborhood search operator in step S6 is specifically:
[0032] Suppose the current surface ship path or underwater robot path is , calculate the removal cost of all removable surface target points :
[0033]
[0034] in represents the hth removable surface target point, represents the cost function, Represents a remove operation.
[0035] The roulette wheel algorithm is used to select the surface target point to be removed according to the size of the removal cost. The probability of being selected for:
[0036]
[0037] After removing the water surface target point The path after Calculate the insertion cost of all possible insertion positions and select the position with the minimum insertion cost To perform an insert operation:
[0038]
[0039] in represents the insertion cost, Indicates that the surface target point Insert into path Position in , Represents an insert operation.
[0040] If the path after the target point is removed and inserted satisfies the overall path cost reduction, the communication distance between the surface ship and the underwater robot is less than the maximum communication distance C and the navigation distance of the underwater robot is less than the maximum navigation distance L, then the current path is updated and the path optimization is accepted, otherwise the current path is not updated.
[0041] Furthermore, the neighborhood search operator in step S6 is specifically:
[0042] Randomly select a surface target point, calculate its removal cost in the surface ship path and insertion cost in the underwater robot path, if the path after the surface target point is removed and inserted satisfies the reduction of the overall path cost, the communication distance between the surface ship and the underwater robot is less than the maximum communication distance C and the navigation distance of the underwater robot is less than the maximum navigation distance L, then update the current path and accept this path optimization, otherwise do not update the current path.
[0043] The beneficial effects of the present invention are as follows: the present invention adopts an improved minimum marginal cost algorithm to construct an initial surface ship path, and adopts a nearest insertion strategy to construct an initial underwater robot path, and then optimizes the initial path through different neighborhood search operators. While allocating access tasks to multiple scattered target points in the sea environment under the communication constraints between the surface ship and the underwater robot and the maximum range constraints of the underwater robot, the total travel distance of the surface ship and the underwater robot to visit all target points is minimized, which significantly reduces the task allocation time and improves the overall allocation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 Shown is a flow chart of a method for allocating tasks among multiple surface vessels and multiple underwater robots based on improved marginal cost provided by an embodiment of the present invention.
[0045] Figure 2 FIG. 4 is a schematic diagram of path fusion provided by an embodiment of the present invention.
[0046] Figure 3 Shown is a schematic diagram of surface target point insertion provided by an embodiment of the present invention.
[0047] Figure 4 Shown is a schematic diagram of underwater target point insertion provided by an embodiment of the present invention.
[0048] Figure 5 FIG. 1 is a schematic diagram of an underwater robot accessing a target point on the water surface provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] Now, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be understood that the embodiments shown and described in the accompanying drawings are only exemplary and are intended to explain the principles and spirit of the present invention, rather than to limit the scope of the present invention.
[0050] The embodiment of the present invention provides a method for allocating tasks of multiple surface ships and multiple underwater robots based on improved marginal cost, such as Figure 1 As shown, the following steps S1 to S7 are included:
[0051] S1. Set relevant parameters of the surface ship and the underwater robot.
[0052] In the embodiment of the present invention, the relevant parameters of the surface ship and the underwater robot include the position index set of the surface target point , the location index set of underwater target points , the starting base station index set of surface ships and underwater robots , surface ship index collection , underwater robot index collection , constant speed of surface ship , constant cruising speed of underwater robots , the maximum navigation distance L of the underwater robot and the maximum communication distance C between the surface ship and the underwater robot, where Indicates the number of surface target points, Indicates the number of underwater target points, Indicates the number of surface vessels, underwater robots or departure base stations.
[0053] S2. Based on the relevant parameters of the surface ship and the underwater robot, the improved minimum marginal cost algorithm is used to insert the surface target point into the position where the insertion cost is minimized in the surface ship path, and the surface ship path and the set of surface target points to be inserted are updated.
[0054] In the embodiment of the present invention, the insertion method of the improved minimum marginal cost algorithm is specifically as follows:
[0055]
[0056] in Indicates A surface ship, , Indicates Surface target points, , Indicates the first Locations, , Indicates Surface ship paths, Represents the path of a surface ship Length, represents the cost function, and the Euclidean distance is used in the embodiment of the present invention. Indicates that the surface target point Insert to surface vessel path Middle Locations, Represents an insert operation. represents the location in the surface ship path where the insertion cost increase is minimal, Indicates the surface target point corresponding to the position with the smallest insertion cost increase in the surface ship path, Indicates the surface ship corresponding to the position with the smallest insertion cost increase in the surface ship path.
[0057] In the embodiment of the present invention, the update formula of the surface ship path and the set of surface target points to be inserted is:
[0058]
[0059]
[0060] in represents the set of surface target points to be inserted before updating. represents the updated set of surface target points to be inserted. Indicates the updated Surface ship paths, Indicates that the surface target point Insert to surface vessel path Position in , Represents a remove operation.
[0061] S3. Determine whether the number of target points in the target point set to be inserted into the water surface is 0. If so, proceed to step S4; otherwise, return to step S2.
[0062] S4. Based on the relevant parameters of the surface ship and the underwater robot, the nearest insertion strategy is used to insert the underwater target point into the underwater robot path, and the underwater robot path and the set of underwater target points to be inserted are updated.
[0063] In the embodiment of the present invention, the insertion method of the most recent insertion strategy is specifically as follows:
[0064]
[0065] in Indicates the currently inserted underwater target point. Indicates the currently inserted water surface target point. represents the i-th inserted underwater target point, represents the jth inserted water surface target point, represents the cost function.
[0066] In the embodiment of the present invention, the update formula of the underwater robot path and the set of underwater target points to be inserted is:
[0067]
[0068]
[0069] in represents the set of underwater target points to be inserted before updating. represents the updated set of underwater target points to be inserted, represents the lth underwater robot path before updating, represents the updated l-th underwater robot path, Represents an insert operation. Represents a remove operation.
[0070] S5. Determine whether the number of target points in the set of underwater target points to be inserted is 0. If so, proceed to step S6; otherwise, return to step S4.
[0071] S6. Use the neighborhood search operator to iteratively optimize the surface ship path and the underwater robot path.
[0072] In order to further improve the efficiency of task execution, the embodiment of the present invention adopts a neighborhood search method to optimize the initial path, and provides three different neighborhood search operators.
[0073] Neighborhood search operator 1:
[0074] Since the underwater robot in the initial path only visits a single underwater target point in each dispatch, the target point access efficiency is low, so the two adjacent underwater robot paths are fused, such as Figure 2 If the fused underwater robot path satisfies the overall path cost reduction, the communication distance between the surface ship and the underwater robot is less than the maximum communication distance C, and the navigation distance of the underwater robot is less than the maximum navigation distance L, then the current underwater robot path is updated and the path fusion is accepted. Otherwise, the current underwater robot path is not updated.
[0075] Neighborhood search operator 2:
[0076] Regarding the visiting order of a single target point, since some surface target points serve as the starting point or return point of the underwater robot, changing the order of these target points may make the path infeasible, so only some surface target points that do not serve as the starting point or return point of the underwater robot and all underwater target points are considered.
[0077] Suppose the current surface ship path or underwater robot path is , calculate the removal cost of all removable surface target points :
[0078]
[0079] in represents the hth removable surface target point, represents the cost function, Represents a remove operation.
[0080] The roulette wheel algorithm is used to select the surface target point to be removed according to the size of the removal cost. The probability of being selected for:
[0081]
[0082] After removing the water surface target point The path after Calculate the insertion cost of all possible insertion positions and select the position with the minimum insertion cost To perform an insert operation:
[0083]
[0084] in represents the insertion cost, Indicates that the surface target point Insert into path Position in , Represents an insert operation.
[0085] If the path after the target point is removed and inserted satisfies the overall path cost reduction, the communication distance between the surface ship and the underwater robot is less than the maximum communication distance C, and the navigation distance of the underwater robot is less than the maximum navigation distance L, then the current path is updated and the path optimization is accepted. Otherwise, the current path is not updated, such as Figure 3 and Figure 4 shown.
[0086] Neighborhood search operator three:
[0087] Randomly select a surface target point, calculate its removal cost in the surface ship path and its insertion cost in the underwater robot path, if the path after the surface target point is removed and inserted satisfies the reduction of the overall path cost, the communication distance between the surface ship and the underwater robot is less than the maximum communication distance C and the navigation distance of the underwater robot is less than the maximum navigation distance L, then update the current path and accept this path optimization, otherwise do not update the current path, such as Figure 5 shown.
[0088] S7. Determine whether the number of iterations reaches the maximum value. If so, complete the task allocation. Otherwise, return to step S6 to continue iterative optimization.
[0089] In the embodiment of the present invention, the maximum number of iterations is set to 1000 times.
[0090] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A multi-surface ship and multi-underwater robot task allocation method based on improved marginal cost, characterized in that: The following steps are involved: S1. Setting relevant parameters of the surface ship and the underwater robot; S2. Based on the relevant parameters of the surface ship and the underwater robot, the surface target point is inserted into the position where the insertion cost is minimized in the surface ship path using the improved minimum marginal cost algorithm, and the surface ship path and the set of surface target points to be inserted are updated; S3, determine whether the number of target points in the target point set to be inserted into the water surface is 0, if so, proceed to step S4, otherwise return to step S2; S4. Based on the relevant parameters of the surface ship and the underwater robot, the underwater target point is inserted into the underwater robot path using the nearest insertion strategy, and the underwater robot path and the set of underwater target points to be inserted are updated; S5, determining whether the number of target points in the set of underwater target points to be inserted is 0, if so, proceeding to step S6, otherwise returning to step S4; S6, using a neighborhood search operator to iteratively optimize the path of the surface ship and the path of the underwater robot; S7, determine whether the number of iterations reaches the maximum value, if so, complete the task allocation, otherwise return to step S6 to continue iterative optimization; The relevant parameters of the surface ship and the underwater robot in step S1 include a position index set of the surface target point , the location index set of underwater target points , the starting base station index set of surface ships and underwater robots , surface ship index collection , underwater robot index collection , constant speed of surface ship , constant cruising speed of underwater robots , the maximum navigation distance L of the underwater robot and the maximum communication distance C between the surface ship and the underwater robot, where Indicates the number of surface target points, Indicates the number of underwater target points, Indicates the number of surface ships, underwater robots or departure base stations; The insertion method of the improved minimum marginal cost algorithm in step S2 is specifically as follows: ; in Indicates A surface ship, , Indicates Surface target points, , Indicates the first Locations, , Indicates Surface ship paths, Represents the path of a surface ship Length, represents the cost function, Indicates that the surface target point Insert to surface vessel path Middle Locations, Represents an insert operation. represents the location in the surface ship path where the insertion cost increase is minimal, Indicates the surface target point corresponding to the position with the smallest insertion cost increase in the surface ship path, It represents the surface ship corresponding to the position with the smallest insertion cost increase in the path of the surface ship; The insertion method of the latest insertion strategy in step S4 is specifically as follows: ; in Indicates the currently inserted underwater target point. Indicates the currently inserted water surface target point. represents the i-th inserted underwater target point, represents the jth inserted water surface target point, represents the cost function.
2. The multi-surface ship and multi-underwater robot task allocation method based on improved marginal cost according to claim 1 is characterized in that: The updating formula of the surface ship path and the set of surface target points to be inserted in step S2 is: ; ; in represents the set of surface target points to be inserted before updating. represents the updated set of surface target points to be inserted. Indicates the updated Surface ship paths, Indicates that the surface target point Insert to surface vessel path Position in , Represents a remove operation.
3. The multi-surface ship and multi-underwater robot task allocation method based on improved marginal cost according to claim 1 is characterized in that: The updating formula of the underwater robot path and the set of underwater target points to be inserted in step S4 is: ; ; in represents the set of underwater target points to be inserted before updating. represents the updated set of underwater target points to be inserted, represents the lth underwater robot path before updating, represents the updated l-th underwater robot path, Represents an insert operation. Represents a remove operation.
4. The method for allocating tasks of multiple surface ships and multiple underwater robots based on improved marginal cost according to claim 1 is characterized in that: The neighborhood search operator in step S6 is specifically: The two adjacent underwater robot paths are fused. If the fused underwater robot path satisfies the overall path cost reduction, the communication distance between the surface ship and the underwater robot is less than the maximum communication distance C and the navigation distance of the underwater robot is less than the maximum navigation distance L, then the current underwater robot path is updated and the path fusion is accepted. Otherwise, the current underwater robot path is not updated.
5. The method for allocating tasks of multiple surface ships and multiple underwater robots based on improved marginal cost according to claim 1 is characterized in that: The neighborhood search operator in step S6 is specifically: Suppose the current surface ship path or underwater robot path is , calculate the removal cost of all removable surface target points : ; in represents the hth removable surface target point, represents the cost function, Indicates a remove operation; The roulette wheel algorithm is used to select the surface target point to be removed according to the size of the removal cost. The probability of being selected for: ; After removing the water target point The path after Calculate the insertion cost of all possible insertion positions and select the position with the minimum insertion cost To perform an insert operation: ; in represents the insertion cost, Indicates that the surface target point Insert into path Position in , Represents an insert operation; If the path after the target point is removed and inserted satisfies the overall path cost reduction, the communication distance between the surface ship and the underwater robot is less than the maximum communication distance C and the navigation distance of the underwater robot is less than the maximum navigation distance L, then the current path is updated and the path optimization is accepted, otherwise the current path is not updated.
6. The method for allocating tasks of multiple surface ships and multiple underwater robots based on improved marginal cost according to claim 1 is characterized in that: The neighborhood search operator in step S6 is specifically: Randomly select a surface target point, calculate its removal cost in the surface ship path and insertion cost in the underwater robot path, if the path after the surface target point is removed and inserted satisfies the reduction of the overall path cost, the communication distance between the surface ship and the underwater robot is less than the maximum communication distance C and the navigation distance of the underwater robot is less than the maximum navigation distance L, then update the current path and accept this path optimization, otherwise do not update the current path.
Citation Information
Patent Citations
Multiple-underwater-robot autonomous task allocation method based on space-based center
CN112859887A
Water surface ship path planning method, device and equipment and storage medium
CN117250960A
Multi-robot task allocation method based on performance influence under rescue time limitation
CN117314134A
Path planning method for substation inspection robot
EP3940494A1
System and method for decentralized, multi-agent unmanned vehicle navigation and formation control
US20160209849A1
