A robot collaborative task allocation method and device

Through intelligent task allocation and dynamic speed adjustment, it solves the problems of low manual handling efficiency and difficult scheduling of multi-robot collaborative operations in traditional warehousing operations, achieves efficient and accurate warehousing operations, and reduces labor costs and resource waste.

CN117707156BActive Publication Date: 2024-09-24GUANGZHOU VISIL INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311682894.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2024-09-24
Estimated Expiration
2043-12-08

AI Technical Summary

Technical Problem

Manual handling of items in traditional warehousing operations has low efficiency and many errors, making it difficult to meet the needs of large-scale and high-frequency operations, and it is difficult to achieve efficient scheduling and optimization for multi-robot collaborative operations.

Method used

By obtaining item size and weight information, the robot's carrying capacity is calculated, tasks are intelligently assigned, and the operating status and speed are dynamically adjusted to reduce human intervention and improve automation.

Benefits of technology

It improves the efficiency of multi-robot collaborative operations, reduces idle time, reduces labor costs, enhances the accuracy and stability of operations, and realizes automated and intelligent operation management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117707156B
    Figure CN117707156B
Patent Text Reader

Abstract

The present invention provides a robot collaborative task allocation method and device, which relates to the field of path planning technology. The method includes: allocating tasks to corresponding robots according to the number of items transported by each robot; determining the robot's operating status according to the task allocation; dynamically adjusting the task allocation according to the operating status, and obtaining the robot's current speed according to the operating status; determining the speed error according to the robot's current speed and the speed dynamic threshold; and adjusting the robot's movement speed according to the speed error. The present invention can improve the efficiency of multi-robot collaborative operations, reduce idle time and increase the operating load rate, reduce human intervention and labor costs through automated task allocation and speed adjustment, and improve the automation of operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of path planning, and in particular to a robot collaborative task allocation method and device. Background Art

[0002] In traditional warehousing operations, some storage usually requires manual handling and stacking of items. Therefore, there are some defects as follows:

[0003] The efficiency of manual handling of items is limited by manpower and physical strength, and cannot meet the needs of large-scale, high-frequency operations. Manual handling is prone to errors, affecting the accuracy and stability of the operation.

[0004] Therefore, when multiple robots work together, it is necessary to reasonably allocate tasks and dynamically adjust the working status, but traditional methods make it difficult to achieve efficient job scheduling and optimization. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a robot collaborative task allocation method and device, which can improve the efficiency of multi-robot collaborative work, reduce idle time and increase the work load rate, reduce human intervention and labor costs through automated task allocation and speed adjustment, and improve the degree of automation of operations.

[0006] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0007] In a first aspect, a robot collaborative task allocation method is provided, the method comprising:

[0008] Get the size and weight information of the items to be processed;

[0009] Calculate the carrying capacity of each robot based on the size and weight information of the items;

[0010] Determine the number of items transported by each robot based on the carrying capacity of each robot and the size of the items;

[0011] Assign tasks to corresponding robots based on the number of items they transport;

[0012] Determine the robot's operating status based on task assignment;

[0013] Dynamically adjust task allocation according to job status, and obtain the current speed of the robot according to job status;

[0014] Determine the speed error based on the current speed of the robot and the speed dynamic threshold;

[0015] According to the speed error, the movement speed of the robot is adjusted.

[0016] Furthermore, the carrying capacity of each robot is calculated based on the size and weight information of the object, including:

[0017] Get the size and weight information of the item;

[0018] Determine the load-bearing and size limits of the robot based on its design parameters and specifications;

[0019] Compare the weight information of the object with the load-bearing limit of the robot to obtain a load-bearing comparison result;

[0020] Comparing the size of the object to the size limits of the robot to obtain a size comparison result;

[0021] According to the load-bearing comparison results and size comparison results, the carrying capacity of each robot is determined.

[0022] Furthermore, tasks are assigned to corresponding robots according to the number of items transported by each robot, including:

[0023] Determine the list of items to be processed and the carrying capacity and current location information of each robot;

[0024] Build a task allocation model based on the carrying capacity of each robot and the number of items;

[0025] pass Determine the final item allocation plan, where w i represents the weight of item i, w j represents the weight of robot j, c i is the cost of item i, x i is the probability of item i being selected, w j is the weight of robot j, d j is the payoff of robot j, y j is the probability that robot j is selected, m represents the number of robots, and n represents the number of items;

[0026] According to the final item allocation plan, the items to be processed are allocated to the corresponding robots for transportation.

[0027] Furthermore, according to the task allocation, the robot's operating status is determined, including:

[0028] According to the final item distribution plan, determine the list of items that each robot needs to transport;

[0029] Determine the operation status of each robot according to the list of items assigned to each robot, wherein the operation status includes at least in transit, idle, and waiting;

[0030] Predict the time it will take each robot to complete the task based on the item's transport time and the robot's speed;

[0031] Update the robot's job status based on the robot's job status and predicted completion time.

[0032] Furthermore, the task allocation is dynamically adjusted according to the job status, and the current speed of the robot is obtained according to the job status, including:

[0033] Obtain the operation status information of each robot in real time;

[0034] According to the operation status information of each robot, the work efficiency of each robot is analyzed and the time to complete the task is predicted to obtain the analysis results;

[0035] According to the results of job status analysis, dynamically adjust task allocation to obtain allocation results;

[0036] Sending the assignment result to each robot in real time, so that each robot performs the task according to the assignment result;

[0037] Obtain the current speed information of each robot in real time, and dynamically adjust task allocation based on the real-time operation status and the current speed information of the robot.

[0038] Furthermore, the speed error is determined based on the current speed of the robot and the speed dynamic threshold, including:

[0039] Get the robot's speed data under different working conditions;

[0040] Analyze the speed data of the robot under different working conditions to obtain analysis results;

[0041] According to the analysis results, the speed dynamic threshold is determined;

[0042] Compare the robot's current speed with the speed dynamic threshold and calculate the speed error.

[0043] Further, adjusting the movement speed of the robot according to the speed error includes:

[0044] According to the speed error, determine the direction of the speed error;

[0045] Adjust the robot's movement speed according to the direction of the speed error.

[0046] In a second aspect, a robot collaborative task allocation device comprises:

[0047] An acquisition module is used to acquire the size information and weight information of the items to be processed; calculate the carrying capacity of each robot according to the size information and weight information of the items; and determine the number of items transported by each robot according to the carrying capacity of each robot and the size information of the items;

[0048] The processing module is used to assign tasks to corresponding robots according to the number of items transported by each robot; determine the operating status of the robot according to the task assignment; dynamically adjust the task assignment according to the operating status, and obtain the current speed of the robot according to the operating status; determine the speed error according to the current speed of the robot and the speed dynamic threshold; and adjust the movement speed of the robot according to the speed error.

[0049] According to a third aspect, a computing device includes:

[0050] one or more processors;

[0051] The storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the above method.

[0052] In a fourth aspect, a computer-readable storage medium stores a program, and the program implements the above method when executed by a processor.

[0053] The above solution of the present invention includes at least the following beneficial effects:

[0054] The above scheme of the present invention can improve the efficiency of multi-robot collaborative operation, reduce idle time and improve the operation load rate through intelligent task allocation and dynamic adjustment; reasonably allocate tasks according to the carrying capacity of each robot and the size information of the object, maximize the use of the robot's transportation capacity and reduce resource waste; reduce human intervention and labor costs and improve the degree of automation of operations through automated task allocation and speed adjustment; reasonably allocate tasks according to the size information and weight information of the object, reduce errors and improve the accuracy and stability of operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a flowchart of a robot collaborative task allocation method provided in an embodiment of the present invention.

[0056] Figure 2 It is a schematic diagram of a robot collaborative task allocation device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0058] like Figure 1 As shown, an embodiment of the present invention provides a robot collaborative task allocation method, the method comprising:

[0059] Step 11, obtaining the size information and weight information of the items to be processed;

[0060] Step 12, calculating the carrying capacity of each robot according to the size and weight information of the object;

[0061] Step 13, determining the number of items transported by each robot according to the carrying capacity of each robot and the size information of the items;

[0062] Step 14, assigning tasks to corresponding robots according to the number of items transported by each robot;

[0063] Step 15, determining the robot's operating status according to the task allocation;

[0064] Step 16, dynamically adjusting task allocation according to the operation status, and obtaining the current speed of the robot according to the operation status;

[0065] Step 17, determining the speed error according to the current speed of the robot and the speed dynamic threshold;

[0066] Step 18: adjusting the movement speed of the robot according to the speed error.

[0067] In the embodiment of the present invention, through intelligent task allocation and dynamic adjustment, the efficiency of multi-robot collaborative operation can be improved, idle time can be reduced and the operation load rate can be increased. Each robot can reasonably allocate tasks according to its own carrying capacity and the size information of the items, thereby realizing efficient operation execution. According to the carrying capacity of each robot and the size information of the items, the number of items transported by each robot is determined to maximize the use of the robot's transportation capacity, reduce resource waste, improve resource utilization efficiency, reduce costs, and better meet operation requirements. By allocating tasks according to the size information and weight information of the items, errors can be reduced, the accuracy and stability of the operation can be improved, and each robot can perform tasks according to its own carrying capacity and the characteristics of the items, thereby reducing the risk of errors and damage. The present invention realizes the automation and intelligence of multi-robot collaborative operation. By dynamically adjusting task allocation and speed control, automatic operation scheduling and optimization can be realized, manual intervention can be reduced, and the degree of automation of the operation can be improved. Therefore, the present invention can improve operation efficiency, optimize resource utilization, improve operation accuracy, and realize automatic and intelligent operation management.

[0068] In another preferred embodiment of the present invention, in the above step 11, a sensor (such as a laser sensor, a camera, etc.) or other measuring equipment is used to scan or measure the items to be processed to obtain the size information of the items, including the size parameters such as the length, width, and height of the items. A weighing device or other weight sensor is used to weigh the items to be processed to obtain the weight information of the items. The weighing device can be an electronic scale, a sensor, etc. The size information and weight information of the acquired items are stored in a database or other data structure of the system. According to actual needs, the acquired size information and weight information may need to be processed and corrected. For example, unit conversion, data cleaning or correction can be performed to ensure the accuracy and consistency of the data. Through the above steps, the size information and weight information of the items to be processed can be obtained, and accurate item parameters can be provided for subsequent task allocation and job processing. This information can be used to calculate the carrying capacity of each robot, determine the transportation quantity of items, etc., to achieve efficient task allocation and job execution.

[0069] In a preferred embodiment of the present invention, the above step 12 may include:

[0070] Step 121, obtaining the size information and weight information of the item;

[0071] Step 122, determining the load-bearing limit and size limit of the robot according to the design parameters and specifications of the robot;

[0072] Step 123, comparing the weight information of the object with the load-bearing limit of the robot to obtain a load-bearing comparison result;

[0073] Step 124, comparing the size of the object with the size limit of the robot to obtain a size comparison result;

[0074] Step 125, determining the carrying capacity of each robot according to the load-bearing comparison result and the size comparison result.

[0075] In an embodiment of the present invention, by comparing the weight of the object with the load-bearing limit of the robot, it can be ensured that the robot does not exceed its designed safe load during transportation, and the robot can be prevented from malfunctioning or being damaged due to overloading. According to the carrying capacity of the robot, the objects can be reasonably allocated to the robot suitable for carrying, thereby improving the operation efficiency, and each robot can give full play to its carrying capacity, reducing idle time and waste of resources. By determining the carrying capacity of each robot, the resources of the robot can be reasonably utilized, avoiding excessive or insufficient allocation, improving the utilization efficiency of resources, reducing costs, and better meeting the operation requirements. By comparing the size of the object with the size limit of the robot, it can be ensured that the object can adapt to the size requirements of the robot, reducing errors, and improving the accuracy and stability of the operation.

[0076] In another preferred embodiment of the present invention, in the above step 122, the design parameters and specifications of the robot are analyzed, including the characteristics of the robot's structure, materials, drive system, power system, etc. These parameters and specifications can usually be obtained from the robot's technical documents, information provided by the manufacturer, or related engineering design documents. According to the design parameters and specifications of the robot, the maximum weight that the robot can bear is determined. This includes the weight of the robot itself and the strength and stability of its design and structure to ensure that the robot does not exceed its designed safe load during transportation. According to the design parameters and specifications of the robot, the maximum size of the item that the robot can accommodate is determined, including the robot's workspace, the length and scalability of the robot arm, the robot's range of movement, etc., to ensure that the item is within the robot's operating range. The determined load-bearing limit and size limit information of the robot are stored in the system's database or other data structure for subsequent task allocation and job processing.

[0077] In another preferred embodiment of the present invention, in the above step 123, the weight information of the item obtained from step 121 may be the actual weight of the item or the weight data after processing and correction. The load-bearing limit of the robot obtained from step 122, that is, the maximum weight that the robot can bear, is used to compare the weight information of the item with the load-bearing limit of the robot. If the weight of the item is less than or equal to the load-bearing limit of the robot, it is considered that the item can be carried by the robot; if the weight of the item is greater than the load-bearing limit of the robot, it is considered that the item exceeds the load-bearing capacity of the robot and cannot be carried by the robot. Based on the comparison result, it is determined whether the item meets the load-bearing limit of the robot, and the load-bearing comparison result can be expressed as a Boolean value.

[0078] In another preferred embodiment of the present invention, in the above step 124, the size information of the object obtained from step 121 includes size parameters such as the length, width, and height of the object. The size limit of the robot obtained from step 122 is the maximum size of the object that the robot can accommodate. The length, width, and height of the object are compared with the corresponding size limits of the robot one by one. If each dimension of the object is less than or equal to the corresponding size limit of the robot, it is considered that the object can be accommodated by the robot; if any dimension exceeds the corresponding size limit of the robot, it is considered that the object exceeds the size limit of the robot and cannot be accommodated by the robot. The volume of the object is calculated, that is, the length multiplied by the width multiplied by the height. The volume of the object is compared with the maximum volume of the robot. If the volume of the object is less than or equal to the maximum volume of the robot, it is considered that the object can be accommodated by the robot; if the volume of the object is greater than the maximum volume of the robot, it is considered that the object exceeds the size limit of the robot and cannot be accommodated by the robot. According to the comparison result, it is determined whether the object meets the size limit of the robot, and the size comparison result can be expressed as a Boolean value, for example, True indicates that the object can be accommodated by the robot, and False indicates that the object exceeds the size limit of the robot.

[0079] In another preferred embodiment of the present invention, in the above step 125, the carrying capacity of each robot is determined according to the load-bearing comparison result and the size comparison result, and the following method can be used:

[0080] If both the weight comparison result and the size comparison result are True, that is, the weight and size of the object meet the robot's restrictions, then the robot's carrying capacity can be set to the weight of the object. If the weight comparison result is True and the size comparison result is False, that is, the weight of the object meets the robot's restrictions but the size exceeds the robot's restrictions, then the robot's carrying capacity can be set to the robot's weight limit. If the weight comparison result is False and the size comparison result is True, that is, the size of the object meets the robot's restrictions but the weight exceeds the robot's restrictions, then the robot's carrying capacity can be set to the weight of the object. If both the weight comparison result and the size comparison result are False, that is, the weight and size of the object exceed the robot's restrictions, then the robot's carrying capacity can be set to the smaller value of the robot's weight limit and size limit. Store the determined carrying capacity in the system: Store the determined carrying capacity of each robot in the system's database or other data structure for subsequent task allocation and job processing. Through the above steps, the carrying capacity of each robot can be determined based on the weight comparison result and the size comparison result. The carrying capacity can be used in the subsequent task allocation process to ensure that the appropriate items are assigned to the appropriate robot to avoid overloading and size mismatch problems. This can improve operational efficiency, optimize resource utilization, and ensure operational safety and accuracy.

[0081] In a preferred embodiment of the present invention, the above step 14 may include:

[0082] Step 141, determining a list of items to be processed and the carrying capacity and current position information of each robot;

[0083] Step 142, constructing a task allocation model according to the carrying capacity of each robot and the number of items;

[0084] Step 143, pass Determine the final item allocation plan, where w i represents the weight of item i, w j represents the weight of robot j, c i is the cost of item i, x i is the probability of item i being selected, w j is the weight of robot j, d j is the payoff of robot j, y j is the probability that robot j is selected, m represents the number of robots, and n represents the number of items;

[0085] Step 144, according to the final item allocation plan, the items to be processed are allocated to corresponding robots for transportation according to the allocation plan.

[0086] In an embodiment of the present invention, by constructing a task allocation model according to the carrying capacity of each robot and the number of items, the transportation capacity of the robot can be maximized to avoid waste and idleness of resources. By reasonably allocating tasks and allocating the items to be processed to the robot according to the optimal solution, the efficiency of the operation can be improved, and the operation time and energy consumption can be reduced. By constructing a task allocation model, considering factors such as the weight and cost of the items and the weight and benefit of the robot, the task allocation scheme can be optimized so that the allocation result is more in line with actual needs and optimization goals. By determining the final item allocation scheme and ensuring that each item is correctly allocated to a suitable robot for transportation, the accuracy and stability of the operation can be improved, and the risk of errors and damage can be reduced. Therefore, through the task allocation model in step 14 and the final item allocation scheme, resource utilization can be maximized, operation efficiency can be improved, task allocation can be optimized, and the accuracy of the operation can be improved.

[0087] In another preferred embodiment of the present invention, in the above step 141, a list of items to be processed is obtained from the system's database or other data sources. These items may be goods that need to be palletized or other items that need to be processed. The carrying capacity information of each robot is obtained from the system's database or other data sources, including the maximum weight or maximum capacity that the robot can bear. The current position information of each robot is obtained through the robot's positioning system, sensor or other means. This can be used for subsequent task allocation and path planning. The obtained list of items to be processed, the carrying capacity of each robot and the current position information are stored in the system's database or other data structure for subsequent task allocation and job processing. Through the above steps, the list of items to be processed and the carrying capacity and current position information of each robot can be determined.

[0088] In another preferred embodiment of the present invention, in the above step 142, constructing the task allocation model specifically includes determining the optimization objective function Among them, f(x1) is the objective function, which represents the total task completion time; x1 is a solution vector composed of N1 particles, each particle represents the number of tasks undertaken by a robot; T i Indicates the number of tasks that each robot can undertake; through C i ≥N i Determine the constraints and pass x ij =wx ij +c1×r1×(p best,j -x ij )+c2×r2×(g best -x ij ) determines the update rule, where x ij represents the probability that the i-th robot performs the j-th task, p best,jrepresents the best position of the jth task in the current iteration, g best represents the global optimal position, C i represents the carrying capacity of the i-th robot; N represents the number of items to be carried; c1, c2, w, r1 and r2 represent parameters.

[0089] In another preferred embodiment of the present invention, the above step 144 may include:

[0090] Step 1441, establishing a blockchain network, wherein the blockchain network is composed of all participating robots, a control center, and other related entities;

[0091] Step 1442, encrypting and uploading the allocation plan. After obtaining the final item allocation plan, the allocation plan is encrypted and uploaded to the blockchain network.

[0092] Step 1443, storing the encrypted allocation plan;

[0093] Step 1444, each robot obtains the encrypted allocation plan from the blockchain network and decrypts it using the private key corresponding to the robot;

[0094] Step 1445, when the robot completes the task of allocating and transporting items, the robot uploads the execution results to the blockchain, which can ensure that all items are allocated according to the original allocation plan and all transportation tasks are executed correctly.

[0095] In an embodiment of the present invention, by encrypting the allocation plan and uploading it to the blockchain network, the allocation plan is protected at a higher level during transmission and storage. Unlike traditional centralized storage methods, the distributed nature of the blockchain ensures that data is not lost or tampered with due to a single point of failure. Due to the immutability of the blockchain, all participants can trust and verify the data uploaded to the blockchain, increasing the transparency of the system and the trust between the participants. Each robot can only decrypt the allocation information related to it, ensuring the privacy of the data, while also reducing unnecessary data processing and verification, allowing the robot to perform tasks more efficiently.

[0096] In a preferred embodiment of the present invention, the above step 15 may include:

[0097] Step 151, according to the final item distribution plan, determine the list of items that each robot needs to transport;

[0098] Step 152, determining the operation status of each robot according to the list of items assigned to each robot, wherein the operation status at least includes in transit, idle, and waiting;

[0099] Step 153, predicting the time required for each robot to complete the task based on the transportation time of the item and the speed of the robot;

[0100] Step 154, updating the robot's operating status according to the robot's operating status and the predicted completion time.

[0101] In an embodiment of the present invention, determining the list of items to be transported by each robot can ensure the accuracy and rationality of item allocation. By determining the items to be transported by each robot according to the final item allocation plan, the duplicate allocation or missed allocation of items can be avoided. Determining the operating status of each robot can provide real-time robot transportation status. By dividing the robot's operating status into states such as in-transit, idle, and waiting, the current working status of each robot can be clearly understood, so as to better perform scheduling and management. Predicting the time required for each robot to complete a task can provide an accurate estimate of the transportation time. By combining the transportation time of the items and the speed of the robot, the time required for each robot to complete the task can be predicted, which helps to plan and schedule the robot's tasks in advance to ensure that the items can be transported to the destination on time. By updating the robot's operating status, the robot's work progress can be tracked in real time. By updating the robot's operating status according to the robot's operating status and the predicted completion time, the work progress of each robot can be timely understood, which helps to monitor and manage the robot's transportation tasks in real time so as to make timely adjustments and optimizations.

[0102] In another preferred embodiment of the present invention, the above step 151 may include:

[0103] Step 1511, matching items for each robot according to the allocation plan;

[0104] Step 1512, for each robot, create an item list and determine the items to be transported;

[0105] Step 1513, after determining the item list for each robot, updating the status of the items, including marking the items as "allocated" or "to be transported", so that it can be known that the items have been allocated to a specific robot;

[0106] Step 1514, confirm the item allocation result, check the item list of each robot, and ensure that each item is correctly allocated to the corresponding robot.

[0107] In the embodiment of the present invention, a list of items to be transported by each robot can be determined according to the final item allocation plan, which helps to ensure the accuracy and rationality of item allocation and facilitates subsequent transportation scheduling and management.

[0108] In another preferred embodiment of the present invention, the above step 152 may include:

[0109] Step 1521, for each robot, check the item list of each robot. If the item list is empty, it means that the robot is currently in an idle state. If the item list is not empty, it means that the robot is transporting items.

[0110] Step 1522, update the robot's operating status according to the robot's item list. If the item list is empty, set the robot's operating status to "idle". If the item list is not empty, set the robot's operating status to "in transit". If a robot's item list is empty but it has not been assigned a new item, it will be set to "waiting" status, which means that the robot currently has no task but is waiting for a new item to be assigned.

[0111] Step 1523, by monitoring the robot's item list and item allocation, the robot's operating status is updated in real time. If the robot completes the current item transportation task, its operating status will be updated to "idle" or "waiting", depending on whether there are new items allocated to it.

[0112] In the embodiment of the present invention, the operating status of each robot is determined according to the list of items assigned to each robot, which helps to understand the working status of each robot in real time to facilitate subsequent scheduling and management.

[0113] In another preferred embodiment of the present invention, the above step 153 may include:

[0114] Step 1531, obtaining detailed transportation time data for each item, including the distance from the starting point to the end point and possible obstacles encountered, and at the same time, collecting speed data for each robot, including the average speed under different terrain and load conditions;

[0115] Step 1532: Determine a two-dimensional array dp, where dp[i][j] represents the shortest time required for the i-th item to be transported by the j-th robot;

[0116] Step 1533, initialize the array dp. For each item i, initialize dp[i][j] to positive infinity, indicating that robot j cannot transport item i in the initial state;

[0117] Step 1534: Fill the array dp, starting from the first item, for each item i, traverse all robots j and calculate the time required to transport the item, use time[i] to represent the transportation time of item i, use speed[j] to represent the speed of robot j, and use the formula dp[i][j] = time[i] / speed[j] to get the time required for robot j to transport item i. Then, update the value of dp[i][j] to min(dp[i][j], dp[i-1][j-1] + time[i] / speed[j]), indicating that robot j can transport the previous item first, and then transport item i. The smaller value of the two is taken as the value of dp[i][j]. According to the situation that the robot transports other items first and then the current item, the time is optimized;

[0118] Step 1535: Based on the filled array dp, the time required for each robot to complete the task can be predicted. For each robot j, traverse all items i and find the minimum dp[i][j] value, which is the time required for robot j to complete the task. Record the minimum value and the corresponding item i, indicating that robot j is most suitable for transporting item i.

[0119] Step 1536: According to the predicted time of each robot, the task allocation scheme can be adjusted. The robots are sorted in ascending order of the predicted time, and tasks are allocated to them in sequence to ensure that the tasks can be completed on time. Therefore, the present invention can more accurately predict the time required for each robot to complete the task, and consider time optimization when allocating tasks to improve the efficiency and accuracy of overall task execution.

[0120] In a preferred embodiment of the present invention, the above step 16 may include:

[0121] Step 161, obtaining the operation status information of each robot in real time;

[0122] Step 162, analyzing the work efficiency of each robot and predicting the time to complete the task according to the operation status information of each robot, so as to obtain the analysis result;

[0123] Step 163, dynamically adjusting task allocation according to the result of the job status analysis to obtain an allocation result;

[0124] Step 164, sending the allocation result to each robot in real time, so that each robot performs the task according to the allocation result;

[0125] Step 165, obtaining the current speed information of each robot in real time, and dynamically adjusting the task allocation according to the real-time operation status and the current speed information of the robot.

[0126] In the embodiment of the present invention, the operation status and speed information of each robot are obtained in real time, and the time for each robot to complete the task can be accurately predicted, which can avoid some robots from being idle, and can also avoid tasks from being piled up on a certain robot, thereby improving the overall work efficiency; according to the real-time operation status and the speed information of the robot, the task allocation can be dynamically adjusted so that the workload is more evenly distributed to each robot, which can ensure that the robot's working performance is maximized, and the ability of each robot can be more effectively utilized, which can not only improve resource utilization, but also extend the service life of the robot, because the uniform distribution of workload can avoid the robot from overworking. Since the task allocation is dynamic and is carried out according to the real-time operation status and the speed information of the robot, it can respond to changes more quickly, adjust the task allocation in time, and improve the overall response speed. By accurately predicting the time for each robot to complete the task, the system can ensure that the task can be completed within the scheduled time, avoiding the impact on the entire workflow due to task delays.

[0127] In another preferred embodiment of the present invention, the above step 161 may include:

[0128] Step 1611, monitor and collect in real time the operation status information of each robot. The operation status information may include but is not limited to the robot's current work task, the progress of the task, the robot's power status, and the robot's location information; after obtaining the operation status information, transmit the operation status information to the central management system in real time via a wireless network. The wireless network can be Wi-Fi or 4G, 5G, etc., or it can be carried out through a wired network; the central management system receives the real-time transmitted data and stores it in a database for subsequent analysis and processing. The data reception and storage process needs to be fast and stable to ensure the integrity of the data.

[0129] In another preferred embodiment of the present invention, the above step 162 may include:

[0130] Step 1621, obtain the job status information of each robot, including the robot number, current task, number of completed tasks, number of remaining tasks, start time, end time, etc.

[0131] Step 1622, based on the acquired data, calculate the work efficiency of each robot, which can be represented by the number of completed tasks divided by the total number of tasks. For example, if a robot completes 50 tasks and the total number of tasks is 100, then the work efficiency of the robot is 50%.

[0132] Step 1623, based on the historical operation data of the robots, analyze the average speed and fluctuation range of the robots to complete the tasks, and then use the average speed and fluctuation range to predict the time required for each robot to complete the task.

[0133] Step 1623, compare the calculated work efficiency with the predicted completion time, analyze the performance of each robot, and determine whether the efficiency of the robot is reasonable based on the difference between the actual completion time and the predicted completion time.

[0134] In another preferred embodiment of the present invention, the above step 163 may include:

[0135] Step 1631, encode the task allocation scheme into chromosomes, each chromosome represents a task allocation scheme, where the gene represents the corresponding relationship between the robot and the task. For example, binary encoding can be used, each gene segment represents a task, and the value of the gene segment indicates which robot is assigned to it.

[0136] Step 1632, randomly generate a set of initial task allocation schemes to form an initial population;

[0137] Step 1633, calculate the fitness function according to the result of the job status analysis, evaluate the pros and cons of each task allocation scheme to obtain the evaluation result, wherein the fitness function is calculated as follows: fitness = w1×task completion time + w2×robot load balance + w3×energy consumption, wherein w1, w2 and w3 are weight coefficients, wherein, Among them, n1 is the number of items, b i represents the transportation time of the i-th item, d i represents the speed of the robot assigned to the i-th item, Where m1 is the number of robots, e j represents the number of tasks assigned to the jth robot, f represents the total number of tasks, Among them, g j represents the energy consumption of the jth robot in the process of completing the task;

[0138] Step 1634, according to the evaluation result, the final task allocation scheme is selected to enter the next generation, and a new scheme is generated by exchanging some genes of the two task allocation schemes. The intersection point can be randomly selected, and then some genes of the two schemes after the intersection point are exchanged to generate a new task allocation scheme;

[0139] Step 1635, obtaining new mutations by randomly changing part of the genes of any task allocation scheme, and randomly selecting a gene segment for mutation, for example, changing the assigned robot of a task to increase the diversity of the population;

[0140] Step 1636, repeat the selection, crossover and mutation operations to generate a new generation of task allocation scheme population. In each generation, the scheme with higher fitness will gradually gain an advantage, and new optimization information is continuously introduced through crossover and mutation. A certain number of iterations or termination conditions are set. When the conditions are met, the iteration is stopped.

[0141] Step 1637, select the task allocation scheme with the highest fitness from the last generation population as the final result, decode the chromosome, and obtain the specific allocation of each task. Therefore, through the above steps, the task allocation can be dynamically adjusted to obtain a better allocation result.

[0142] In a preferred embodiment of the present invention, the above step 17 may include:

[0143] Step 171, obtaining speed data of the robot under different working conditions;

[0144] Step 172, analyzing the speed data of the robot under different working conditions to obtain analysis results;

[0145] Step 173, determining a speed dynamic threshold value according to the analysis result;

[0146] Step 174, compare the current speed of the robot with the speed dynamic threshold, and calculate the speed error.

[0147] In an embodiment of the present invention, by analyzing the speed data of the robot under different working conditions and obtaining the corresponding dynamic speed threshold, the robot can be operated within an appropriate speed range, which helps to improve the operating efficiency of the robot, because the robot can adjust the speed according to the actual working conditions to better adapt to the task requirements. The working environment is complex and changeable. The robot faces different working conditions, which enables the robot to dynamically adjust the speed according to the actual situation, thereby enhancing the adaptability of the robot in different environments. By dynamically adjusting the operating speed of the robot, it can make it more efficient to use energy. When the robot works at a lower speed, it can reduce unnecessary energy consumption, thereby extending its service life. Calculating the speed error can help identify whether the robot is working within a safe speed range. If the speed of the robot exceeds the threshold, an alarm is issued or corrective measures are taken to ensure the safety of the robot and the surrounding environment.

[0148] In another preferred embodiment of the present invention, the above step 172 may include:

[0149] Step 1721, pass Preprocess the speed data, where Z is the preprocessing result, w1, w2 and w3 are weight coefficients, and l μ is the μth speed data, n2 is the total number of speed data, rμ is the weight of the μth speed data; Step 1722, according to the preprocessing result, by Determine the final number of clusters, where a μ is the average distance from the data point μ to other data points in the same cluster, b μ is the average distance from the data point μ to the nearest other clusters, SC is the silhouette coefficient; according to the characteristics and requirements of the data, all data points are taken as an initial cluster; the distance matrix is ​​calculated, and according to the distance matrix, the farthest data point pair is determined as the basis for splitting; the selected data points are split into two new clusters; according to the split clusters, the distance matrix is ​​updated; the operation is repeated until the stopping condition is met, and finally, the analysis result is obtained according to the stopping condition.

[0150] In another preferred embodiment of the present invention, the above step 173 may include:

[0151] Step 1731, according to the analysis result, the data points are divided into different clusters, and the characteristics of each cluster are analyzed, such as the average speed, speed fluctuation range and other indicators, which can be used to describe the speed dynamics of the data points in each cluster; according to the characteristics and needs of the cluster, the speed dynamic threshold is determined, wherein the speed dynamic threshold can be set according to the speed fluctuation range indicators of different clusters. For example, according to the speed fluctuation range (standard deviation) of the data points in the cluster, a multiple is set, and the multiple is multiplied by the speed fluctuation range as the speed dynamic threshold. For example, the speed dynamic threshold is set to twice the speed fluctuation range, indicating that data points with a speed fluctuation range greater than 2 times the standard deviation are regarded as high volatility.

[0152] In another preferred embodiment of the present invention, the above step 174 may include:

[0153] Step 1741, determine the expected speed of the robot as the set value SV, and obtain the actual speed of the current robot as the feedback value PV, and calculate the error e(t) between the set value and the actual value through e(t) = SV-PV; according to the size and direction of the error e(t), Calculate the output signal v(t); input the output signal v(t) to the robot to change the speed of the robot, where K p , K i and K d are proportional, integral and differential gains respectively, K s is the saturation gain, θ(t) is the coefficient function, and t is the time parameter.

[0154] In a preferred embodiment of the present invention, the above step 18 may include:

[0155] Step 181, judging the direction of the speed error according to the speed error;

[0156] Step 182, adjusting the movement speed of the robot according to the direction of the speed error.

[0157] In an embodiment of the present invention, by making adjustments according to the direction of the speed error, the robot's motion deviation can be reduced, making it closer to the target speed, thereby improving the robot's motion accuracy; by making adjustments according to the direction of the speed error, the robot's motion can be made smoother and more stable, unnecessary shocks and jitters can be reduced, and the robot's stability can be improved; by making adjustments according to the direction of the speed error, the robot can better adapt to different environments and task requirements, and flexible motion adjustments can be made according to actual conditions, thereby improving the robot's adaptability and response capabilities.

[0158] like Figure 2 As shown, an embodiment of the present invention further provides a robot collaborative task allocation device 20, comprising:

[0159] The acquisition module 21 is used to acquire the size information and weight information of the items to be processed; calculate the carrying capacity of each robot according to the size information and weight information of the items; and determine the number of items transported by each robot according to the carrying capacity of each robot and the size information of the items;

[0160] The processing module 22 is used to assign tasks to corresponding robots according to the number of items transported by each robot; determine the operating status of the robot according to the task assignment; dynamically adjust the task assignment according to the operating status, and obtain the current speed of the robot according to the operating status; determine the speed error according to the current speed of the robot and the speed dynamic threshold; and adjust the movement speed of the robot according to the speed error.

[0161] Optionally, the carrying capacity of each robot is calculated based on the size and weight information of the item, including:

[0162] Get the size and weight information of the item;

[0163] Determine the load-bearing and size limits of the robot based on its design parameters and specifications;

[0164] Compare the weight information of the object with the load-bearing limit of the robot to obtain a load-bearing comparison result;

[0165] Comparing the size of the object to the size limits of the robot to obtain a size comparison result;

[0166] According to the load-bearing comparison results and size comparison results, the carrying capacity of each robot is determined.

[0167] Optionally, tasks are assigned to corresponding robots based on the number of items transported by each robot, including:

[0168] Determine the list of items to be processed and the carrying capacity and current location information of each robot;

[0169] Build a task allocation model based on the carrying capacity of each robot and the number of items;

[0170] pass Determine the final item allocation plan, where w i represents the weight of item i, w j represents the weight of robot j, c i is the cost of item i, x i is the probability of item i being selected, w j is the weight of robot j, d j is the payoff of robot j, y j is the probability that robot j is selected, m represents the number of robots, and n represents the number of items;

[0171] According to the final item allocation plan, the items to be processed are allocated to the corresponding robots for transportation.

[0172] Optionally, the robot's operating status is determined based on the task assignment, including:

[0173] According to the final item distribution plan, determine the list of items that each robot needs to transport;

[0174] Determine the operation status of each robot according to the list of items assigned to each robot, wherein the operation status includes at least in transit, idle, and waiting;

[0175] Predict the time it will take each robot to complete the task based on the item's transport time and the robot's speed;

[0176] Update the robot's job status based on the robot's job status and predicted completion time.

[0177] Optionally, dynamically adjust task allocation according to the job status, and obtain the current speed of the robot according to the job status, including:

[0178] Obtain the operation status information of each robot in real time;

[0179] According to the operation status information of each robot, the work efficiency of each robot is analyzed and the time to complete the task is predicted to obtain the analysis results;

[0180] According to the results of job status analysis, dynamically adjust task allocation to obtain allocation results;

[0181] Sending the assignment result to each robot in real time, so that each robot performs the task according to the assignment result;

[0182] Obtain the current speed information of each robot in real time, and dynamically adjust task allocation based on the real-time operation status and the current speed information of the robot.

[0183] Optionally, the speed error is determined based on the current speed of the robot and the speed dynamic threshold, including:

[0184] Get the robot's speed data under different working conditions;

[0185] Analyze the speed data of the robot under different working conditions to obtain analysis results;

[0186] According to the analysis results, the speed dynamic threshold is determined;

[0187] Compare the robot's current speed with the speed dynamic threshold and calculate the speed error.

[0188] Optionally, adjusting the movement speed of the robot according to the speed error includes:

[0189] According to the speed error, determine the direction of the speed error;

[0190] Adjust the robot's movement speed according to the direction of the speed error.

[0191] It should be noted that the device is a device corresponding to the above method, and all implementation methods in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0192] The embodiment of the present invention further provides a computing device, comprising: a processor, a memory storing a computer program, wherein when the computer program is executed by the processor, the method described above is executed. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0193] The embodiment of the present invention also provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the method described above. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0194] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0195] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0196] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0197] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0198] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0199] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0200] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0201] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.

[0202] 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 robot collaborative task allocation method, characterized in that: The method comprises: Get the size and weight information of the items to be processed; Calculate the carrying capacity of each robot based on the size and weight information of the items; Determine the number of items transported by each robot based on the carrying capacity of each robot and the size of the items; Assign tasks to corresponding robots based on the number of items they transport; Determine the robot's operating status based on task assignment; Dynamically adjust task allocation according to job status, and obtain the current speed of the robot according to job status; Determine the speed error based on the current speed of the robot and the speed dynamic threshold; According to the speed error, adjusting the movement speed of the robot; Based on the size and weight information of the items, calculate the carrying capacity of each robot, including: Get the size and weight information of the item; Determine the load-bearing and size limits of the robot based on its design parameters and specifications; Compare the weight information of the object with the load-bearing limit of the robot to obtain a load-bearing comparison result; Comparing the size of the object to the size limits of the robot to obtain a size comparison result; Determine the carrying capacity of each robot based on the load-bearing comparison results and the size comparison results; According to the number of items transported by each robot, tasks are assigned to the corresponding robots, including: Determine the list of items to be processed and the carrying capacity and current location information of each robot; Build a task allocation model based on the carrying capacity of each robot and the number of items; pass Determine the final item allocation plan, where w i represents the weight of item i, w j represents the weight of robot j, c i is the cost of item i, x i is the probability of item i being selected, w j is the weight of robot j, d j is the payoff of robot j, y j is the probability that robot j is selected, m represents the number of robots, and n represents the number of items; According to the final item allocation plan, the items to be processed are allocated to the corresponding robots for transportation; According to the task allocation, determine the robot's operating status, including: According to the final item distribution plan, determine the list of items that each robot needs to transport; Determine the operation status of each robot according to the list of items assigned to each robot, wherein the operation status includes at least in transit, idle, and waiting; Predict the time it will take each robot to complete the task based on the item's transport time and the robot's speed; Update the robot's job status based on the robot's job status and predicted completion time; Dynamically adjust task allocation according to the job status, and obtain the current speed of the robot according to the job status, including: Obtain the operation status information of each robot in real time; According to the operation status information of each robot, the work efficiency of each robot is analyzed and the time to complete the task is predicted to obtain the analysis results; According to the results of job status analysis, dynamically adjust task allocation to obtain allocation results; Sending the assignment result to each robot in real time, so that each robot performs the task according to the assignment result; Obtain the current speed information of each robot in real time, and dynamically adjust task allocation based on the real-time operation status and the current speed information of the robot; According to the current speed of the robot and the speed dynamic threshold, the speed error is determined, including: Get the robot's speed data under different working conditions; Analyze the speed data of the robot under different working conditions to obtain analysis results; According to the analysis results, the speed dynamic threshold is determined; Compare the robot's current speed with the speed dynamic threshold and calculate the speed error; According to the speed error, the movement speed of the robot is adjusted, including: According to the speed error, determine the direction of the speed error; According to the direction of the speed error, adjust the robot's movement speed; Compare the size of the object with the size limit of the robot to obtain the size comparison result, including: obtaining the size information of the object, including the length, width, and height size parameters of the object; obtaining the maximum size of the object that the robot can accommodate, comparing the length, width, and height of the object with the corresponding size limit of the robot one by one, if each size dimension of the object is less than or equal to the corresponding size limit of the robot, it is considered that the object can be accommodated by the robot; if any size dimension exceeds the corresponding size limit of the robot, it is considered that the object exceeds the size limit of the robot and cannot be accommodated by the robot, and the volume of the object is calculated, that is, the length multiplied by the width multiplied by the height; compare the volume of the object with the maximum volume of the robot, if the volume of the object is less than or equal to the maximum volume of the robot, it is considered that the object is accommodated by the robot; if the volume of the object is greater than the maximum volume of the robot, it is considered that the object exceeds the size limit of the robot and cannot be accommodated by the robot; according to the comparison result, determine whether the object meets the size limit of the robot, and express the size comparison result as a Boolean value; The carrying capacity of each robot is determined based on the weight comparison results and the size comparison results, including: if the weight and size of the item both meet the robot's limitations, the robot's carrying capacity is set to the weight of the item; if the weight of the item meets the robot's limitations but the size exceeds the robot's limitations, the robot's carrying capacity is set to the robot's weight limit; if the size of the item meets the robot's limitations but the weight exceeds the robot's limitations, the robot's carrying capacity is set to the weight of the item; if both the weight and size of the item exceed the robot's limitations, the robot's carrying capacity is set to the smaller value of the robot's weight limit and size limit.

2. A robot collaborative task allocation device, characterized in that: Applied in the method as claimed in claim 1, comprising: An acquisition module is used to acquire the size information and weight information of the items to be processed; calculate the carrying capacity of each robot according to the size information and weight information of the items; and determine the number of items transported by each robot according to the carrying capacity of each robot and the size information of the items; The processing module is used to assign tasks to corresponding robots according to the number of items transported by each robot; determine the operating status of the robot according to the task assignment; dynamically adjust the task assignment according to the operating status, and obtain the current speed of the robot according to the operating status; determine the speed error according to the current speed of the robot and the speed dynamic threshold; and adjust the movement speed of the robot according to the speed error.

3. A computing device, characterized in that: include: one or more processors; A storage device, used for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the method as claimed in claim 1.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program, which implements the method according to claim 1 when executed by a processor.