Task allocation method for multiple unmanned surface vessels based on self-organizing map
By introducing the neuron ring splitting mechanism into the self-organizing mapping algorithm, the problem of communication range and power limitation in multi-unmanned surface vehicle task allocation is solved, an efficient task allocation scheme is realized, and the quality and applicability of understanding are improved.
Patent Information
- Application Number
- CN202410826003.4
- 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
Existing algorithms fail to effectively consider the intersection of base station communication ranges and robot power limitations in multi-unmanned surface vehicle task allocation, resulting in low solution quality and poor applicability, especially when the problem scale increases.
A multi-UAV task allocation method based on self-organizing mapping is adopted, and through the initialization of the neuron ring, the determination of the winning neuron, the coordinate update and the splitting of the neuron ring under power constraints, it is ensured that the UAVs are within the communication range and are within the communication range. Return to charge before the battery runs out, thus minimizing the total cost of your trip.
A better task allocation plan for multiple unmanned surface vehicles is obtained in a short period of time, which reduces the impact of changes in problem scale on the allocation results, satisfies communication and power constraints, and improves the quality of the understanding and the applicability of the algorithm.
Smart Images

Figure CN118396341B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of robot task allocation, and in particular relates to a design of a multi-unmanned surface vessel task allocation method based on self-organizing mapping. Background Art
[0002] In modern marine operations, unmanned surface vessels are required to perform various tasks, such as marine monitoring, search and rescue operations, port security, and military reconnaissance. When performing these tasks, unmanned surface vessels often need to visit multiple target points in complex marine environments. Therefore, it is necessary to design an efficient algorithm to assign the tasks of multiple target points to multiple unmanned surface vessels to minimize the cost of the unmanned surface vessels visiting all target points.
[0003] The above problem can be regarded as a multi-robot task allocation problem. For the multi-robot task allocation problem, most existing algorithms use heuristic algorithms to obtain solutions of good quality in a shorter time. However, as the scale of the problem increases, the applicability of these algorithms will deteriorate. Classic heuristic algorithms include the minimum marginal cost algorithm (MMA) and the self-organizing map algorithm (SOM). Among them, the minimum marginal cost algorithm is an experience-based heuristic algorithm, which takes a short time, but lacks the ability to search the solution space over a wide area, resulting in low solution quality. The performance of the self-organizing map algorithm is not greatly affected by the scale of the problem, but it does not consider the task allocation under the intersection of the communication ranges of different base stations, nor does it consider the power limit of the robot. Summary of the invention
[0004] The purpose of the present invention is to propose a multi-unmanned surface vessel task allocation method based on self-organizing mapping, which minimizes the total travel cost of all unmanned surface vessels while satisfying the constraints that the unmanned surface vessels are within the communication range of the base station and the unmanned surface vessels return to the base station to charge before the power is exhausted.
[0005] The technical solution of the present invention is: a method for allocating tasks of multiple unmanned surface vessels based on self-organizing mapping, comprising the following steps:
[0006] S1. Set the relevant parameters for the task allocation of multiple unmanned surface vessels.
[0007] S2. Based on the relevant parameters of the multi-unmanned surface vessel task allocation, the neuron ring in the self-organizing map algorithm is initialized.
[0008] S3. Determine the winning neuron from the neuron ring.
[0009] S4. Update the coordinates of neurons in the neuron ring according to the winning neuron.
[0010] S5. Determine whether the length of the neuron ring after the coordinates are updated is greater than the upper limit of the power of the unmanned surface vehicle. If so, proceed to step S6; otherwise, proceed to step S7.
[0011] S6. Split the neuron ring based on power constraints.
[0012] S7: Determine whether the iteration termination condition is met. If so, proceed to step S8; otherwise, return to step S3 for the next iteration.
[0013] S8. Output a multi-unmanned surface vessel task allocation plan.
[0014] Furthermore, the relevant parameters for the multi-unmanned surface vehicle task allocation in step S1 include the set of target points to be visited on the water surface: , Base station collection , Base station location set 、Unmanned surface vessel location collection , the set of all points on the water surface , Current power consumption of unmanned surface vehicles , the upper limit of the power of the unmanned surface boat L and the communication radius C of the base station. Each base station sends out an unmanned surface boat to visit the target point on the water surface. represents the i-th target point to be visited, , n is the number of target points to be visited, represents the kth base station location, represents the position of the kth unmanned surface vehicle, represents the current power consumption of the kth unmanned surface vehicle, , m is the number of base stations.
[0015] Furthermore, in step S2, m neuron rings are generated with the base station as the center point. ,in Represents a neuron ring set. For the kth unmanned surface vehicle, its corresponding neuron ring have neurons, and the coordinates of the neurons are ,in Represents a neuronal ring The coordinates of the rth neuron in , .
[0016] Further, step S3 includes the following sub-steps:
[0017] S31. From all points on the water surface Randomly select a point .
[0018] S32, base station collection The communication radius does not contain points The base stations are screened out to obtain the screened base station set .
[0019] S33, from the filtered base station set The corresponding neuron ring set The winning neuron is determined from all neurons in:
[0020]
[0021] in represents the winning neuron, represents the Euclidean distance.
[0022] Furthermore, the formula for updating the coordinates of neurons in the neuron ring in step S4 is:
[0023]
[0024]
[0025]
[0026]
[0027]
[0028] in Represents the updated neuron ring The coordinates of the rth neuron in , represents the learning rate, f represents the kernel function that calculates the degree of influence of the winning neuron on the surrounding neurons, represents the topological distance, represents the coordinates of the winning neuron, The first parameter represents the degree to which the winning neuron influences the surrounding neurons, represents the attenuation coefficient of the first parameter, represents the updated learning rate, represents the attenuation coefficient of the updated first parameter, where a and b are both attenuation coefficients greater than 0 and less than 1.
[0029] Further, step S6 includes the following sub-steps:
[0030] S61, obtain the kth unmanned surface vessel corresponding to the kth Neuronal ring .
[0031] S62. Calculating Neuronal Rings Zhongli Base Station The nearest neuron coordinates And use it as the starting point coordinate of the split:
[0032]
[0033] in Represents a neuronal ring The coordinates of the pth neuron in , , Represents a neuronal ring The number of neurons in .
[0034] S63, through neuron coordinates In the neuronal ring The topological position number in the split end point coordinates are obtained :
[0035]
[0036] in Indicates rounding down.
[0037] S64, set the split end point coordinates The coordinates of the neurons around it to the starting point of division Move in the direction of:
[0038]
[0039]
[0040] in Represents the neuron ring after movement The coordinates of the pth neuron in , The second parameter represents the degree to which the winning neuron influences the surrounding neurons.
[0041] S65, according to the splitting starting point coordinates and the split end point coordinates The neuron ring The neurons in are divided into two parts:
[0042]
[0043] in Indicates that The sequence of neurons in the splitting starting point coordinates and the split end point coordinates Split into two new neuron trains, Represents a neuronal ring Split neuron rings, Represents a neuronal ring The coordinates of the pth neuron in .
[0044] Further, step S8 includes the following sub-steps:
[0045] S81. For all target points, the neurons closest to them are calculated to obtain the distribution relationship and distribution order between the target points and the unmanned surface vessels.
[0046] S82. For each base station, calculate the neuron closest to it in each corresponding neuron ring.
[0047] S83. Obtain the starting point serial number of the unmanned surface craft corresponding to the base station and the corresponding neuron serial number in the visited target point according to the neuron closest to the base station.
[0048] S84. According to the distribution relationship and distribution order between the target point and the unmanned surface vessel, as well as the starting point sequence number of the unmanned surface vessel and the corresponding neuron sequence number in the visited target point, the visiting order of the target point is obtained according to the topological order of the neuron ring, and the multi-unmanned surface vessel task distribution plan is output.
[0049] The beneficial effects of the present invention are as follows: the present invention introduces a neuron ring splitting mechanism based on the traditional self-organizing mapping algorithm, and effectively solves the problem of multi-unmanned surface vessel task allocation under the conditions of satisfying communication constraints and unmanned surface vessel power constraints. Compared with the traditional self-organizing mapping algorithm, while considering different constraints, a better multi-unmanned surface vessel task allocation plan can still be obtained in a relatively short time; compared with the traditional heuristic algorithm, the allocation result is less affected by changes in the problem scale. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 Shown is a flow chart of a method for allocating tasks of multiple unmanned surface vessels based on self-organizing mapping provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] 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.
[0052] The embodiment of the present invention provides a method for allocating tasks of multiple unmanned surface vessels based on self-organizing mapping, such as Figure 1 As shown, the following steps S1 to S8 are included:
[0053] S1. Set the relevant parameters for the task allocation of multiple unmanned surface vessels.
[0054] In the embodiment of the present invention, the relevant parameters for the multi-unmanned surface vehicle task allocation include a set of target points to be visited on the water surface. , Base station collection , Base station location set 、Unmanned surface vessel location collection , the set of all points on the water surface , Current power consumption of unmanned surface vehicles , the upper limit of the power of the unmanned surface boat L and the communication radius C of the base station. Each base station sends out an unmanned surface boat to visit the target point on the water surface. represents the i-th target point to be visited, , n is the number of target points to be visited, represents the kth base station location, represents the position of the kth unmanned surface vehicle, represents the current power consumption of the kth unmanned surface vehicle, , m is the number of base stations.
[0055] S2. Based on the relevant parameters of the multi-unmanned surface vessel task allocation, the neuron ring in the self-organizing map algorithm is initialized.
[0056] In the embodiment of the present invention, m neuron rings are generated with the base station as the center point. ,in Represents a neuron ring set. For the kth unmanned surface vehicle, its corresponding neuron ring have neurons, and the coordinates of the neurons are ,in Represents a neuronal ring The coordinates of the rth neuron in , .
[0057] S3. Determine the winning neuron from the neuron ring.
[0058] Step S3 includes the following sub-steps S31 to S33:
[0059] S31. From all points on the water surface Randomly select a point .
[0060] S32, base station collection The communication radius does not contain points The base stations are screened out to obtain the screened base station set .
[0061] S33, from the filtered base station set The corresponding neuron ring set The winning neuron is determined from all neurons in:
[0062]
[0063] in represents the winning neuron, represents the Euclidean distance.
[0064] S4. Update the coordinates of neurons in the neuron ring according to the winning neuron.
[0065] After the winning neuron is determined in each iteration, its coordinates need to be updated so that it moves towards the input point While moving, it affects the coordinates of neurons that are close in topological structure.
[0066] In the embodiment of the present invention, the formula for updating the coordinates of neurons in the neuron ring is:
[0067]
[0068]
[0069]
[0070]
[0071]
[0072] in Represents the updated neuron ring The coordinates of the rth neuron in , represents the learning rate, f represents the kernel function that calculates the degree of influence of the winning neuron on the surrounding neurons, represents the topological distance, represents the coordinates of the winning neuron, The first parameter represents the degree to which the winning neuron influences the surrounding neurons, represents the attenuation coefficient of the first parameter, represents the updated learning rate, Represents the attenuation coefficient of the first parameter after update. Both a and b are attenuation coefficients greater than 0 and less than 1, indicating the learning rate and attenuation coefficient It decays with each iteration.
[0073] S5. Determine the length of the neuron ring after the coordinates are updated Is it greater than the upper limit L of the power of the unmanned surface vessel? If so, go to step S6, otherwise go to step S7.
[0074] S6. Split the neuron ring based on power constraints.
[0075] Step S6 includes the following sub-steps:
[0076] S61, obtain the kth unmanned surface vessel corresponding to the Neuronal ring .
[0077] S62. Calculating Neuronal Rings Zhongli Base Station The nearest neuron coordinates And use it as the starting point coordinate of the split:
[0078]
[0079] in Represents a neuronal ring The coordinates of the pth neuron in , , Represents a neuronal ring The number of neurons in .
[0080] S63, through neuron coordinates In the neuronal ring The topological position number in the split end point coordinates are obtained :
[0081]
[0082] in Indicates rounding down.
[0083] S64, set the split end point coordinates The coordinates of the neurons around it to the starting point of division Move in the direction of:
[0084]
[0085]
[0086] in Represents the neuron ring after movement The coordinates of the pth neuron in , The second parameter represents the degree to which the winning neuron influences the surrounding neurons, The value of Related, will not decay.
[0087] S65, according to the splitting starting point coordinates and the split end point coordinates The neuron ring The neurons in are divided into two parts:
[0088]
[0089] in Indicates that The sequence of neurons in the splitting starting point coordinates and the split end point coordinates Split into two new neuron trains, Represents a neuronal ring The split neuron ring, Represents a neuronal ring The coordinates of the pth neuron in .
[0090] S7: Determine whether the iteration termination condition is met. If so, proceed to step S8; otherwise, return to step S3 for the next iteration.
[0091] In the embodiment of the present invention, the iteration termination condition is that the change in the total length of all neuron rings does not exceed the preset parameter .
[0092] S8. Output a multi-unmanned surface vessel task allocation plan.
[0093] Step S8 includes the following sub-steps S81 to S84:
[0094] S81. For all target points, the neurons closest to them are calculated to obtain the distribution relationship and distribution order between the target points and the unmanned surface vessels.
[0095] In the embodiment of the present invention, it is assumed that the coordinates of the neuron closest to the target point are the coordinates of the neuron ring after the movement. The coordinates of the pth neuron in , then the target point is the kth unmanned surface vessel The first visit starts from the kth base station, that is, we know which target points are assigned to which unmanned surface vessels, and the allocation order needs to be obtained according to the sequence number p.
[0096] S82. For each base station, calculate the neuron closest to it in each corresponding neuron ring.
[0097] S83. Obtain the starting point serial number of the unmanned surface vessel corresponding to the base station and the corresponding neuron serial number in the visited target point according to the neuron closest to the base station.
[0098] In this embodiment of the present invention, it is assumed that the coordinates of the neuron closest to the base station are , then for the kth unmanned surface vehicle, its corresponding The starting point of the neuron ring is numbered q. The corresponding neuron number in the target point visited in the first departure is p.
[0099] S84. According to the distribution relationship and distribution order between the target point and the unmanned surface vessel, as well as the starting point sequence number of the unmanned surface vessel and the corresponding neuron sequence number in the visited target point, the visiting order of the target point is obtained according to the topological order of the neuron ring, and the multi-unmanned surface vessel task distribution plan is output.
[0100] 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 method for allocating tasks of multiple unmanned surface vessels based on self-organizing mapping, characterized in that: The following steps are involved: S1. Setting relevant parameters for task allocation of multiple unmanned surface vessels; S2. Initialize and set the neuron ring in the self-organizing map algorithm based on the relevant parameters of the multi-unmanned surface vessel task allocation; S3, determine the winning neuron from the neuron ring; S4, updating the coordinates of neurons in the neuron ring according to the winning neuron; S5, determining whether the length of the neuron ring after the coordinates are updated is greater than the upper limit of the power of the unmanned surface vehicle, if so, proceeding to step S6, otherwise proceeding to step S7; S6. Split the neuron ring based on power constraints; S7, determine whether the iteration termination condition is met, if so, proceed to step S8, otherwise return to step S3 for the next iteration; S8, outputting a multi-unmanned surface vessel task allocation plan; The relevant parameters for the multi-unmanned surface vessel task allocation in step S1 include a set of target points to be visited on the water surface. , Base station collection , Base station location set 、Unmanned surface vessel location collection , the set of all points on the water surface , Current power consumption of unmanned surface vehicles , the upper limit of the power of the unmanned surface boat L and the communication radius C of the base station, each of the base stations sends out an unmanned surface boat to visit the target point on the water surface, represents the i-th target point to be visited, , n is the number of target points to be visited, represents the kth base station location, represents the position of the kth unmanned surface vehicle, represents the current power consumption of the kth unmanned surface vehicle, , m is the number of base stations; In step S2, m neuron rings are generated with the base station as the center point. ,in Represents a neuron ring set. For the kth unmanned surface vehicle, its corresponding neuron ring have neurons, and the coordinates of the neurons are ,in Represents a neuronal ring The coordinates of the rth neuron in , ; The step S3 comprises the following sub-steps: S31. From all points on the water surface Randomly select a point ; S32, base station collection The communication radius does not contain points The base stations are screened out to obtain the screened base station set ; S33, from the filtered base station set The corresponding neuron ring set The winning neuron is determined from all neurons in: ; in represents the winning neuron, represents the Euclidean distance; The formula for updating the coordinates of neurons in the neuron ring in step S4 is: ; ; ; ; ; in Represents the updated neuron ring The coordinates of the rth neuron in , represents the learning rate, f represents the kernel function that calculates the degree of influence of the winning neuron on the surrounding neurons, represents the topological distance, represents the coordinates of the winning neuron, The first parameter represents the degree to which the winning neuron influences the surrounding neurons, represents the attenuation coefficient of the first parameter, represents the updated learning rate, represents the attenuation coefficient of the updated first parameter, where a and b are both attenuation coefficients greater than 0 and less than 1; The step S6 comprises the following sub-steps: S61, obtain the kth unmanned surface vessel corresponding to the Neuronal ring ; S62. Calculating Neuronal Rings Zhongli Base Station The nearest neuron coordinates And use it as the starting point coordinate of the split: ; in Represents a neuronal ring The coordinates of the pth neuron in , , Represents a neuronal ring The number of neurons in S63, by neuron coordinates In the neuronal ring The topological position number in the split end point coordinates are obtained : ; in Indicates rounding down; S64, set the split end point coordinates The coordinates of the neurons around it to the starting point of division Move in the direction of: ; ; in Represents the neuron ring after movement The coordinates of the pth neuron in , A second parameter representing the degree to which the winning neuron influences surrounding neurons; S65, according to the splitting starting point coordinates and the split end point coordinates The neuron ring The neurons in are divided into two parts: ; in Indicates that The sequence of neurons in the splitting starting point coordinates and the split end point coordinates Split into two new neuron trains, Represents a neuronal ring The split neuron ring, Represents a neuronal ring The coordinates of the pth neuron in; The step S8 comprises the following sub-steps: S81. For all target points, calculate the neurons closest to them, and obtain the distribution relationship and distribution order between the target points and the unmanned surface vessels; S82, for each base station, calculate and obtain the neuron closest to it in each neuron ring corresponding to it; S83, obtaining the starting point serial number of the unmanned surface vessel corresponding to the base station and the corresponding neuron serial number in the visited target point according to the neuron closest to the base station; S84. According to the distribution relationship and distribution order between the target point and the unmanned surface vessel, as well as the starting point sequence number of the unmanned surface vessel and the corresponding neuron sequence number in the visited target point, the visiting order of the target point is obtained according to the topological order of the neuron ring, and the multi-unmanned surface vessel task distribution plan is output.
