A heterogeneous multi-robot task scheduling method and system for the textile industry

By introducing the role allocation mechanism and the improved ant colony algorithm in the textile industry, the problem of low efficiency in task allocation of heterogeneous robots is solved and efficient heterogeneous robot collaboration and task scheduling are achieved.

CN118092361BActive Publication Date: 2024-10-15HARBIN INST OF TECH AT WEIHAI
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410458566.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-17
Publication Date
2024-10-15
Estimated Expiration
2044-04-17

AI Technical Summary

Technical Problem

Existing intelligent optimization algorithms cannot reasonably allocate heterogeneous robot tasks in the textile industry, resulting in inefficient collaboration.

Method used

The role allocation mechanism is introduced to convert the robot process into the corresponding roles of multiple robots, and through the improved ant colony algorithm, role benefit values, multi-pheromone, and dual heuristic functions are used for task allocation to meet the role requirements of heterogeneous robots.

Benefits of technology

It realizes efficient task allocation of heterogeneous multi-robots in the textile industry, improves production efficiency and collaboration benefits, and simplifies the calculation process of task allocation algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118092361B_ABST
    Figure CN118092361B_ABST
Patent Text Reader

Abstract

The present invention discloses a heterogeneous multi-robot task scheduling method and system for the weaving industry, comprising the following steps: establishing a role task allocation model for the weaving industry; constructing a task sequence table according to the overall process requirements of the weaving automation production line; a central controller allocates tasks in the task sequence table according to an improved ant colony algorithm, and allocates corresponding tasks to the most suitable robots for execution. The present invention converts each weaving process into the corresponding roles of multiple robots through a role allocation mechanism, introduces role benefit values, and uses the role benefit values ​​set for each robot's corresponding role for the ant colony algorithm improvement, so as to better realize the task allocation of heterogeneous multi-robots.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of task allocation, and in particular relates to a heterogeneous multi-robot task scheduling method and system for the textile industry. Background Art

[0002] The machines and equipment of the weaving automation production line in the textile industry are arranged compactly, making the weaving environment relatively narrow and simple. The multi-robot system is obviously superior to the single robot system in terms of spatial structure, function realization, information interaction, resource allocation and facing unknown complex and dangerous environments, but there are still some problems in the research of multi-robot systems, such as its high complexity, strong dynamics, time-varying and coupling problems. The entire process of the textile industry production line involves robotic arms (such as yarn handling robots), various textile equipment (which can be regarded as robots), and various AGV carts (mobile robots), and these heterogeneous robots cooperate with each other. These heterogeneous robots can be regarded as single robots within their working range. Their replacement of manual operation can improve the work efficiency of related process steps and ensure a certain quality. The collaboration of various heterogeneous robot equipment can better improve the production efficiency of the entire textile industry.

[0003] Task allocation algorithms are mainly divided into two forms: centralized control and distributed control. Centralized control mainly uses a central controller to centrally grasp the global information in the environment, and the information of each independent module of the entire control unit needs to be uploaded to the central controller. The central controller centrally processes the collected information and issues task release instructions to each module based on the processed information and task requirements; centralized algorithms mainly include integer programming methods, search algorithms, and intelligent optimization algorithms, among which intelligent optimization algorithms include ant colony algorithms, particle swarm algorithms, genetic algorithms, etc. These algorithms have obvious effects on solving the problem of multi-robot execution of single task allocation, and can be used to solve large-scale allocation problems.

[0004] The ant colony algorithm is a better heuristic intelligent optimization algorithm for studying the Multiple Salesman Problem (MTSP). It solves the combinatorial optimization problem of multi-robot task allocation through the group benefit of ants. It is a kind of centralized task allocation algorithm in the task allocation algorithm. The problem of multi-robot allocation of multiple tasks can be described as MTSP: there are several traveling salesmen and a certain number of cities, where the traveling salesmen are divided into several types. Each city requires a certain number of traveling salesmen of various types to patrol together, and find the shortest path and access plan for the traveling salesmen to patrol all cities. The problem is represented as a graph problem, the traveling salesmen correspond to the nodes in the graph, the routes between cities correspond to the edges in the graph, and the solution to the problem is a combination of some edges in the graph, so that the task allocation problem is represented as a graph problem.

[0005] There are still some problems in the practical application of existing intelligent optimization algorithm task allocation technology in the complex environment of the weaving industry. In the case of diversified robot types in the weaving industry, it is impossible to reasonably allocate the overall tasks of the weaving industry so that heterogeneous robots of various types can cooperate better. Summary of the invention

[0006] In view of the shortcomings of the prior art, the present invention proposes a heterogeneous multi-robot task scheduling method and system for the textile industry. Through the role allocation mechanism, each weaving process is converted into the corresponding role of multiple robots, and the role benefit value is introduced. The role benefit value set for each robot's corresponding role is used to improve the ant colony algorithm, which can better realize the task allocation of heterogeneous multi-robots and solve the problem that the prior art cannot reasonably and efficiently allocate tasks to heterogeneous robots in the textile industry.

[0007] To achieve the above object, the present invention provides the following solutions:

[0008] A heterogeneous multi-robot task scheduling method for the textile industry comprises the following steps:

[0009] S1: According to the specific process requirements and production needs of the weaving industry, a role task allocation model consisting of process characteristics and production tasks is established;

[0010] S2: Based on the role-task allocation model, and according to the performance conditions and constraints of each heterogeneous robot, a task executable list is constructed;

[0011] S3: According to the improved ant colony algorithm, the tasks in the task executable list are allocated in the central controller of the weaving automation production line to meet the role requirements of various heterogeneous robots.

[0012] Preferably, in S1, according to the specific process requirements and production needs of the textile industry, the method for establishing a role task allocation model consisting of process characteristics and production tasks includes:

[0013] The multi-robot collaborative system is modeled according to role allocation, wherein the modeling method includes: the process role is defined as , the transport role is defined as , the fixed task is defined as , the transport task is defined as , the robot type performing the task is defined as ;

[0014] Based on the established model, the role benefit matrix is ​​introduced. For m different types of robots and n1+n2 roles, the role benefit matrix is ​​a The matrix:

[0015]

[0016] in, Represents a robot Playing a craft role Or transport role The benefit value is selected from 0 to 1, and the sum of all values ​​in each row is 1. The robot that assumes the process role and the robot that assumes the transport role have a benefit value of 0 for the corresponding transport role, and the robot that assumes the transport role has a benefit value of 0 for the corresponding transport role;

[0017] Based on the role benefit matrix, the role task allocation model is constructed.

[0018] Preferably, in S3, according to the improved ant colony algorithm, the method for allocating the tasks in the task executable list in the central controller of the weaving automation production line to meet the role requirements of each heterogeneous robot includes:

[0019] The single heuristic function in the ant colony algorithm is changed into a double heuristic function; wherein the method of changing the single heuristic function in the ant colony algorithm into a double heuristic function includes: one ant selects a task according to the performance requirements of each heterogeneous robot, and another ant selects a corresponding robot according to the role effect value of each heterogeneous robot;

[0020] Based on the dual heuristic function, a single pheromone in the ant colony algorithm is changed into multiple pheromones; wherein the method for changing a single pheromone in the ant colony algorithm into multiple pheromones includes: assuming that m heterogeneous robots have m pheromones, m ants are selected for each of the m pheromones, the selected m ants are the same group of ants, and during the pheromone iteration, the ratio of the sum of the path lengths experienced by the same group of ants to complete the task to the sum of the path lengths experienced by all groups of ants in the entire iteration is determined;

[0021] The pheromone content that each group of ants should update is calculated by taking the path length experienced by each group of ants as the pheromone and using the sum of the path lengths of all groups of ants in the population after they have traveled through all cities;

[0022] According to the pheromone content, the tasks in the task executable list are allocated to meet the requirements of various heterogeneous robot roles.

[0023] Preferably, if the maximum length of the journey of m groups of ants is , the minimum value is , if the traversal time of a group of ants is L, then the pheromone added by this group of ants is:

[0024] ,

[0025] in, is the pheromone released by the group of ants from task point i to task point j; Q, They are all weight parameters. The larger the value, the greater the gap between the pheromone updated by the group of ants and the maximum value, and the easier it is for the route of the group of ants to be eliminated. When each group of ants increases pheromones, it only increases the pheromones of the routes passed by the ants in the group. is the internal pheromone weight coefficient, ranging from 0 to 1. The larger the value, the greater the influence of distance on pheromone;

[0026] The pheromone update formula when updating pheromones is: ,

[0027] in, It is a pheromone volatile factor. is the number of iterations, is the pheromone content of each ant in the ant group numbered s going from task point i to task point j;

[0028] The pheromone content of the kth task point visited is defined as , the comprehensive expression formula of pheromone is as follows:

[0029] ,

[0030] in, represents the sum of the pheromone contents of each ant in the ant group numbered s from task point i to task point j, is the weight coefficient of the pheromone content of the ant group numbered s in the total pheromone content, and m is the number of heterogeneous robots.

[0031] The present invention also provides a heterogeneous multi-robot task scheduling system for the textile industry, comprising: a model building module, a task list building module and a task allocation module;

[0032] The model building module is used to establish a role task allocation model consisting of process characteristics and production tasks according to specific process requirements and production needs of the textile industry;

[0033] The task list construction module is used to construct a task executable list based on the role task allocation model and according to the performance conditions and constraints of each heterogeneous robot;

[0034] The task allocation module is used to allocate tasks in the task executable list in the central controller of the weaving automation production line according to the improved ant colony algorithm to meet the role requirements of various heterogeneous robots.

[0035] Preferably, in the model building module, the process of establishing a role task allocation model consisting of process characteristics and production tasks according to specific process requirements and production needs of the textile industry includes:

[0036] The multi-robot collaborative system is modeled according to role allocation, wherein the modeling method includes: the process role is defined as , the transport role is defined as , the fixed task is defined as , the transport task is defined as , the robot type performing the task is defined as ;

[0037] Based on the established model, the role benefit matrix is ​​introduced. For m different types of robots and n1+n2 roles, the role benefit matrix is ​​a The matrix:

[0038]

[0039] in, Represents a robot Playing a craft role Or transport role The benefit value is selected from 0 to 1, and the sum of all values ​​in each row is 1. The robot that assumes the process role and the robot that assumes the transport role have a benefit value of 0 for the corresponding transport role, and the robot that assumes the transport role has a benefit value of 0 for the corresponding transport role;

[0040] Based on the role benefit matrix, the role task allocation model is constructed.

[0041] Preferably, in the task allocation module, according to the improved ant colony algorithm, the process of allocating tasks in the task executable list in the central controller of the weaving automation production line to meet the role requirements of each heterogeneous robot includes:

[0042] The single heuristic function in the ant colony algorithm is changed into a double heuristic function; wherein the method of changing the single heuristic function in the ant colony algorithm into a double heuristic function includes: one ant selects a task according to the performance requirements of each heterogeneous robot, and another ant selects a corresponding robot according to the role effect value of each heterogeneous robot;

[0043] Based on the dual heuristic function, a single pheromone in the ant colony algorithm is changed into multiple pheromones; wherein the method for changing a single pheromone in the ant colony algorithm into multiple pheromones includes: assuming that m heterogeneous robots have m pheromones, m ants are selected for each of the m pheromones, the selected m ants are the same group of ants, and during the pheromone iteration, the ratio of the sum of the path lengths experienced by the same group of ants to complete the task to the sum of the path lengths experienced by all groups of ants in the entire iteration is determined;

[0044] The pheromone content that each group of ants should update is calculated by taking the path length experienced by each group of ants as the pheromone and using the sum of the path lengths of all groups of ants in the population after they have traveled through all cities;

[0045] According to the pheromone content, the tasks in the task executable list are allocated to meet the requirements of various heterogeneous robot roles.

[0046] Preferably, if the maximum length of the journey of m groups of ants is , the minimum value is , if the traversal time of a group of ants is L, then the pheromone added by this group of ants is:

[0047] ,

[0048] in, is the pheromone released by the group of ants from task point i to task point j; Q, They are all weight parameters. The larger the value, the greater the gap between the pheromone updated by the group of ants and the maximum value, and the easier it is for the route of the group of ants to be eliminated. When each group of ants increases pheromones, it only increases the pheromones of the routes passed by the ants in the group. is the internal pheromone weight coefficient, ranging from 0 to 1. The larger the value, the greater the influence of distance on pheromone;

[0049] The pheromone update formula when updating pheromones is: ,

[0050] in, It is a pheromone volatile factor. is the number of iterations, is the pheromone content of each ant in the ant group numbered s going from task point i to task point j;

[0051] The pheromone content of the kth task point visited is defined as , the comprehensive expression formula of pheromone is as follows:

[0052] ,

[0053] in, represents the sum of the pheromone contents of each ant in the ant group numbered s from task point i to task point j, is the weight coefficient of the pheromone content of the ant group numbered s in the total pheromone content, and m is the number of heterogeneous robots.

[0054] Compared with the prior art, the present invention has the following beneficial effects:

[0055] 1. The present invention introduces an efficient task allocation algorithm in the textile industry, comprehensively considers evaluation indicators and constraints such as task value benefits and energy constraints of robot equipment, and combines the single, separated and unconnected heterogeneous multi-robots in the textile industry to collaborate.

[0056] 2. The role task allocation mechanism is introduced to simplify the calculation of the task allocation algorithm for robots in the textile industry that undertake multiple types of tasks, which is more conducive to the use of the heuristic function of the subsequent ant colony algorithm to select robots.

[0057] 3. The ant colony algorithm was improved according to the characteristics of task scheduling in the textile industry. Through the use of multiple pheromones and dual heuristic functions, the ant colony algorithm is made more efficient and adaptable in task scheduling in the textile industry. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0059] Figure 1 is a flow chart of a heterogeneous multi-robot task scheduling method for the textile industry provided by an embodiment of the present invention;

[0060] Figure 2 It is a diagram combining role allocation and ant colony algorithm for the textile industry provided by an embodiment of the present invention;

[0061] Figure 3 is a task scheduling structure diagram based on the fabric architecture provided by an embodiment of the present invention;

[0062] Figure 4 It is a flow chart of an improved ant colony algorithm provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0064] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0065] Embodiment 1

[0066] like Figure 1 As shown, the present invention provides a heterogeneous multi-robot task scheduling method for the textile industry, comprising the following steps:

[0067] S1: According to the specific process requirements and production needs of the textile industry, a role task allocation model consisting of process characteristics and production tasks is established.

[0068] Specifically, S1 of this embodiment includes:

[0069] S1.1: According to the three relationships between tasks and roles in the role-task allocation model: the mapping relationship between roles and tasks, the specific functions of the task may need to be undertaken by multiple roles, and one role may also be applied to multiple different tasks; the collaborative relationship between roles. Plan the division of labor and cooperation between each role, so that each role can be optimized under the current relationship framework to improve the collaborative efficiency; the dynamic conversion relationship between roles. When the multi-robot system moves dynamically, it can convert the current system member roles according to the current environmental conditions and the information of each system member, so that it can adapt to the best task at this time to maximize the benefits; the weaving industry process is allocated into yarn sorting roles, warping roles, sizing roles, reeding roles, weaving roles, packaging roles and other types of specific AGV roles; the role allocation for the weaving industry and the combination of ant colony algorithm and the overall task scheduling structure diagram based on the weaving system architecture are shown in the figure Figure 2 and Figure 3 shown.

[0070] The multi-robot collaborative system is modeled according to role allocation. In this embodiment, the craft role in the weaving industry production line is ,i=1,2,…,n1 (n1 is the number of processes in the production line); the transport role is ,i=1,2,…,n2 (n2 is the number of transport roles undertaken by the AGV of the production line); fixed tasks ,i=1,2,…,n (n is the number of tasks); transportation task ,i=1,2,…,n (n is the number of tasks) position coordinates; type of robot that performs the task , i=1,2,3,…,M (M is the number of different types of robots used in the production line), robot Location ;

[0071] Based on the above assumptions, a role benefit matrix is ​​set up, which reflects the possibility that different robot types can assume different roles. For m different types of robots and n1+n2 roles, the role benefit matrix is ​​a The matrix:

[0072]

[0073] in Represents a robot Playing a craft role Or transport role The benefit value is 0~1, and the sum of all values ​​in each row is 1. Note that the process role and the transportation role must be separated, that is, the robot that assumes the process role has a corresponding transportation role benefit value of 0, and the robot that assumes the transportation role has a corresponding transportation role benefit value of 0.

[0074] Specifically, S2 of this embodiment includes:

[0075] S2.1: The performance requirements and constraints of various heterogeneous robots are different. For example, the yarn sorting and hanging robot is a fixed robot, and its performance requirement is the yarn sorting and hanging speed. The specific transport AGV moves on the ground, and its performance requirement is the robot's power consumption speed.

[0076] Specifically, S3 of this embodiment includes:

[0077] S3.1: Change the single heuristic function in the ant colony algorithm to a dual heuristic function: one is that the ants select tasks based on the performance requirements of each heterogeneous robot (the cost capability required to perform the task); the other is that the ants select the corresponding robot based on the role effect value of each heterogeneous robot;

[0078] Select the shortest path that the robot has traveled, the formula is:

[0079]

[0080] in Represents a robot With the task The distance of the position, x and y represent the position coordinates of the corresponding robot and task;

[0081] At this time, the robot power consumption speed is used as the heuristic function when selecting the robot. The heuristic function formula is:

[0082]

[0083] in is the heuristic function for task selection, E1 is the power consumption coefficient of the robot, Indicates the speed of power consumption. is a correction factor to prevent the numerator from being 0. infinity;

[0084] Select the maximum value of the robot role effect, the formula is:

[0085]

[0086] in is the heuristic function for robot selection, E2 is the robot role benefit increase coefficient, Indicates the current robot, max is the maximum value of the internal data, Represents a robot Playing a craft role Or transport role The benefit value of n1 and n2 are the number of fixed tasks and transportation tasks respectively. is the correction factor to prevent is 0;

[0087] After the heuristic function is selected, pheromone selection is performed. The selection steps are as follows:

[0088] S3.2: Assuming there are m heterogeneous robots, there are m pheromones. For a single pheromone, only one ant is selected at a time. Generally, the length of the path is used as the pheromone update. For m pheromones, m ants will be selected at a time. These m selected ants are regarded as the same group of ants. During the pheromone iteration, the ratio of the total length of the path experienced by this group of ants to the total length of the paths experienced by all groups of ants in the entire iteration is used to determine the pheromone iteration.

[0089] According to the path length experienced by each group of ants as pheromone, the sum of the path lengths of all groups of ants in the population after they have traveled through all cities is used to calculate the pheromone content that each group of ants should update. If the maximum length of the travel experience of m groups of ants is , the minimum value is , if the traversal time of a group of ants is L, then the pheromone added by this group of ants is:

[0090] ,

[0091] in, is the pheromone released by the group of ants from task point i to task point j; Q, They are all weight parameters. The larger the value, the greater the gap between the pheromone updated by the group of ants and the maximum value, and the easier it is for the route of the group of ants to be eliminated. When each group of ants increases pheromones, it only increases the pheromones of the routes passed by the ants in the group. is the internal pheromone weight coefficient, ranging from 0 to 1. The larger the value, the greater the influence of distance on pheromone;

[0092] The pheromone update formula when updating pheromones is: ,

[0093] in, It is a pheromone volatile factor. is the number of iterations, is the pheromone content of each ant in the ant group numbered s going from task point i to task point j;

[0094] The pheromone content of the kth task point visited is defined as , the comprehensive expression formula of pheromone is as follows:

[0095] ,

[0096] in, represents the sum of the pheromone contents of each ant in the ant group numbered s from task point i to task point j, is the weight coefficient of the pheromone content of the ant group numbered s in the total pheromone content, and m is the number of heterogeneous robots.

[0097] After selecting the heuristic function and pheromone iteration method above, if there are still tasks that have not been determined for the corresponding robots, the roulette function is used to determine the tasks. The formula is as follows:

[0098]

[0099] is the probability of selecting k tasks, is the comprehensive content of pheromone in the k-th task. is the task selection heuristic function.

[0100] After selecting the task, the corresponding responsible robot is determined through the roulette function. The formula is as follows:

[0101]

[0102] To select a robot The probability of Is to choose robot Select the comprehensive pheromone content at a certain task. is the robot selection heuristic function.

[0103] When all tasks are completed, the total pheromone iteration is performed, and then the ant colony algorithm is selected according to the number of iterations to determine whether to loop the ant colony algorithm. The overall improved ant colony algorithm flowchart is as follows: Figure 4 shown.

[0104] The final algorithm ends up obtaining the optimal task scheduling solution for heterogeneous multi-robots in the textile industry.

[0105] Embodiment 2

[0106] The present invention also provides a heterogeneous multi-robot task scheduling system for the textile industry, comprising: a model building module, a task list building module and a task allocation module;

[0107] The model building module is used to establish a role task allocation model consisting of process characteristics and production tasks according to the specific process requirements and production needs of the textile industry;

[0108] The task list construction module is used to construct a task executable list based on the role task allocation model and the performance conditions and constraints of each heterogeneous robot;

[0109] The task allocation module is used to allocate tasks in the task executable list in the central controller of the weaving automation production line according to the improved ant colony algorithm to meet the role requirements of various heterogeneous robots.

[0110] In this embodiment, the model building module includes:

[0111] S1.1: According to the three relationships between tasks and roles in the role-task allocation model: the mapping relationship between roles and tasks, the specific functions of the task may need to be undertaken by multiple roles, and one role may also be applied to multiple different tasks; the collaborative relationship between roles. Plan the division of labor and cooperation between each role, so that each role can be optimized under the current relationship framework to improve the collaborative efficiency; the dynamic conversion relationship between roles. When the multi-robot system moves dynamically, it can convert the current system member roles according to the current environmental conditions and the information of each system member, so that it can adapt to the best task at this time to maximize the benefits; allocate the textile industry process into yarn sorting roles, warping roles, sizing roles, reeding roles, weaving roles, packaging roles and other types of specific AGV roles;

[0112] Specifically, the S1.1 includes:

[0113] S1.11: Model the multi-robot collaborative system based on role allocation, which is defined as follows: (1) The craft role is , the transport role is ; (2) Fixed tasks ,Transportation tasks ,(3) Type of robot performing the task ;

[0114] S1.12: Based on the above definition, we introduce the role benefit matrix, which reflects the possibility that different robot types can assume different roles. For m different types of robots and n1+n2 roles, the role benefit matrix is ​​a The matrix:

[0115]

[0116] in Represents a robot Playing a craft role Or transport role The benefit value is 0-1, and the sum of all values ​​in each row is 1. Note that the process role and the transportation role must be separated, that is, the robot that assumes the process role has a corresponding transportation role benefit value of 0, and the robot that assumes the transportation role has a corresponding transportation role benefit value of 0.

[0117] In this embodiment, the task list construction module includes:

[0118] S2.1: The performance requirements and constraints of various heterogeneous robots are different. For example, the yarn sorting and hanging robot is a fixed robot, and its performance requirement is the yarn sorting and hanging speed. The specific transport AGV moves on the ground, and its performance requirement is the robot's power consumption speed.

[0119] In this embodiment, the task allocation module includes:

[0120] S3.1: Change the single heuristic function in the ant colony algorithm to a dual heuristic function: one is that the ants select tasks based on the performance requirements of each heterogeneous robot (the cost capability required to perform the task); the other is that the ants select the corresponding robot based on the role effect value of each heterogeneous robot;

[0121] S3.2: The single pheromone in the ant colony algorithm is changed to multiple pheromones. There are m pheromones for m heterogeneous robots. Only one ant is selected each time for a single pheromone. Generally, the length of the path is used as the pheromone update. For m pheromones, m ants are selected each time. These m ants are the same group of ants. During the pheromone iteration, the ratio of the total length of the path experienced by this group of ants to the total length of the paths experienced by all groups of ants in the entire iteration is used to determine the pheromone iteration.

[0122] According to the path length experienced by each group of ants as pheromone, the sum of the path lengths of all groups of ants in the population after they have traveled through all cities is used to calculate the pheromone content that each group of ants should update. If the maximum length of the travel experience of m groups of ants is , the minimum value is , if the traversal time of a group of ants is L, then the pheromone added by this group of ants is:

[0123] ,

[0124] in, is the pheromone released by the group of ants from task point i to task point j; Q, They are all weight parameters. The larger the value, the greater the gap between the pheromone updated by the group of ants and the maximum value, and the easier it is for the route of the group of ants to be eliminated. When each group of ants increases pheromones, it only increases the pheromones of the routes passed by the ants in the group. is the internal pheromone weight coefficient, ranging from 0 to 1. The larger the value, the greater the influence of distance on pheromone;

[0125] The pheromone update formula when updating pheromones is: ,

[0126] in, It is a pheromone volatile factor. is the number of iterations, is the pheromone content of each ant in the ant group numbered s going from task point i to task point j;

[0127] The pheromone content of the kth task point visited is defined as , the comprehensive expression formula of pheromone is as follows:

[0128] ,

[0129] in, represents the sum of the pheromone contents of each ant in the ant group numbered s from task point i to task point j, is the weight coefficient of the pheromone content of the ant group numbered s in the total pheromone content, and m is the number of heterogeneous robots.

[0130] Specifically, S3.1 includes:

[0131] S3.11: Select the shortest path that the robot takes. The formula is:

[0132]

[0133] in Represents a robot With the task The distance of the position, x and y represent the position coordinates of the corresponding robot and task;

[0134] At this time, the robot power consumption speed is used as the heuristic function when selecting the robot. The heuristic function formula is:

[0135]

[0136] in is the heuristic function for task selection, E1 is the power consumption coefficient of the robot, Indicates the speed of power consumption. is a correction factor to prevent the numerator from being 0. infinity;

[0137] S3.12: Select the robot role with the largest effect value, the formula is:

[0138]

[0139] in is the heuristic function for robot selection, E2 is the robot role benefit increase coefficient, Indicates the current robot, max is the maximum value of the internal data, Represents a robot Playing a craft role Or transport role The benefit value, is the correction factor to prevent is 0;

[0140] S3.13: Corresponding to the two heuristic functions, two corresponding roulette functions are used to select through the probability function. The roulette function is:

[0141]

[0142] To select k tasks or robots The probability of is the pheromone content or robot that chooses to go to task k Select the pheromone content at a certain task. is the corresponding heuristic function, , are the importance factors of pheromone and heuristic function, The larger the value of, the greater the influence of pheromones, and the larger the search space of the algorithm; The larger the value, the greater the influence of the heuristic function and the more precise the algorithm's search.

[0143] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should fall within the protection scope determined by the claims of the present invention.

Claims

1. A heterogeneous multi-robot task scheduling method for the textile industry. It is characterized in that The following steps are involved: S1: According to the specific process requirements and production needs of the weaving industry, a role task allocation model consisting of process characteristics and production tasks is established; S2: Based on the role-task allocation model, and according to the performance conditions and constraints of each heterogeneous robot, a task executable list is constructed; S3: According to the improved ant colony algorithm, the tasks in the task executable list are allocated in the central controller of the weaving automation production line to meet the role requirements of each heterogeneous robot; In S1, according to the specific process requirements and production needs of the textile industry, a method for establishing a role task allocation model consisting of process characteristics and production tasks includes: According to the three relationships between tasks and roles in the role-task allocation model: the mapping relationship between roles and tasks, the specific functions of the task need to be undertaken by multiple roles, and one role is applied to multiple different tasks; the collaborative relationship between roles; the planning of the division of labor and cooperative relationship between each role, so that each role can be optimally combined under the current relationship framework; the dynamic conversion relationship between roles; the multi-robot system converts the current system member roles according to the current environmental conditions and the information of each system member when it moves dynamically; the weaving industry process is allocated into yarn sorting role, warping role, sizing role, reeding role, weaving role, packaging role and AGV role; The multi-robot collaborative system is modeled according to role allocation. Suppose the craft role craftrole in the weaving industry production line is ,i=1,2,…,n 1, n 1 is the number of processes in the production line; the transport role is ,i=1,2,…,n 2, n 2 The number of transport roles that the AGV of the production line undertakes; fixed tasks ,i=1,2,…,n, n is the number of tasks; transportation task ,i=1,2,…,n, n is the position coordinate of the task number; Robot type of the robot that performs the task , i=1,2,3,…,M, M is the number of different types of robots used in the production line, robot Location ; Based on the established model, the role benefit matrix is ​​introduced, where for m different types of robots, n 1 +n 2 roles, the role benefit matrix is ​​a The matrix: in, Represents a robot Playing a craft role Or transport role The benefit value is selected from 0 to 1, and the sum of all values ​​in each row is 1. The process role and the transportation role are separated, that is, the robot that takes the process role has a corresponding transportation role benefit value of 0, and the robot that takes the transportation role has a corresponding process role benefit value of 0; Based on the role benefit matrix, the role task allocation model is constructed; In S3, according to the improved ant colony algorithm, the method for allocating tasks in the task executable list in the central controller of the weaving automation production line to meet the role requirements of various heterogeneous robots includes: S3.1: The single heuristic function in the ant colony algorithm is changed to a dual heuristic function: one is that the ants select tasks based on the performance requirements of each heterogeneous robot, that is, the cost capability required to perform the task; the other is that the ants select the corresponding robot based on the role effect value of each heterogeneous robot; Select the shortest path that the robot has traveled, the formula is: in Represents a robot With the task The distance of the position, x and y represent the position coordinates of the corresponding robot and task; At this time, the robot power consumption speed is used as the heuristic function when selecting the robot. The heuristic function formula is: in is the heuristic function for task selection, E1 is the power consumption coefficient of the robot, Indicates the speed of power consumption. is a correction factor to prevent the numerator from being 0. infinity; Select the maximum value of the robot role effect, the formula is: in Select the heuristic function for the robot, E 2 is the robot role benefit increase coefficient, Indicates the current robot, max is the maximum value of the internal data, Represents a robot Playing a craft role Or transport role The benefit value, n 1 and n 2 are the number of fixed tasks and transport tasks respectively, is the correction factor to prevent is 0; After the heuristic function selection is completed, pheromone selection is carried out; the selection steps are as follows: S3.2: Assuming there are m heterogeneous robots, there are m pheromones. For a single pheromone, only one ant is selected each time, and the path length is used as the pheromone update. For m pheromones, m ants are selected each time. These m selected ants are regarded as the same group of ants. During the pheromone iteration, the ratio of the total path length experienced by this group of ants to the total path length experienced by all groups of ants in the entire iteration is used to determine the pheromone iteration. According to the path length experienced by each group of ants as pheromone, the sum of the path lengths of all groups of ants in the population after they have traveled through all cities is used to calculate the pheromone content that each group of ants should update. If the maximum length of the travel experience of m groups of ants is , the minimum value is , if the traversal time of a group of ants is L, then the pheromone added by this group of ants is: , in, is the pheromone released by the group of ants from task point i to task point j; Q, They are all weight parameters. The larger the value, the greater the gap between the pheromone updated by the group of ants and the maximum value, and the easier it is for the route of the group of ants to be eliminated. When each group of ants increases pheromones, it only increases the pheromones of the routes passed by the ants in the group. is the internal pheromone weight coefficient, ranging from 0 to 1. The larger the value, the greater the influence of distance on pheromone; The pheromone update formula when updating pheromones is: , in, It is a pheromone volatile factor. is the number of iterations, is the sum of the pheromone contents of each ant in the ant group numbered s from task point i to task point j; The pheromone content of the kth task point visited is defined as , the comprehensive expression formula of pheromone is as follows: , in, represents the sum of the pheromone contents of each ant in the ant group numbered s from task point i to task point j, is the weight coefficient of the pheromone content of the ant group numbered s in the total pheromone content, and m is the number of heterogeneous robots; After selecting the heuristic function and pheromone iteration method, if there are still tasks that have not been determined for the corresponding robots, the roulette function is used to determine the tasks. The formula is as follows: is the probability of selecting k tasks, is the comprehensive content of pheromone that chooses to go to task k, is the task selection heuristic function, n is the number of all available tasks, and j is one of the n tasks; After selecting the task, the corresponding responsible robot is determined through the roulette function. The formula is as follows: To select a robot The probability of Is to choose robot Select the comprehensive pheromone content at a certain task. is the robot selection heuristic function, n is the number of robots, j is one of the n robots; When all tasks are completed, the total pheromone iteration is performed, and then the ant colony algorithm is selected or not according to the number of iterations; Finally, the algorithm ends up obtaining the optimal task scheduling solution for heterogeneous multi-robots in the textile industry.

2. A heterogeneous multi-robot task scheduling system for the textile industry based on the heterogeneous multi-robot task scheduling method for the textile industry as claimed in claim 1, It is characterized in that include: Model building module, task list building module and task assignment module; The model building module is used to establish a role task allocation model consisting of process characteristics and production tasks according to specific process requirements and production needs of the textile industry; The task list construction module is used to construct a task executable list based on the role task allocation model and according to the performance conditions and constraints of each heterogeneous robot; The task allocation module is used to allocate tasks in the task executable list in the central controller of the weaving automation production line according to the improved ant colony algorithm to meet the role requirements of various heterogeneous robots.

Citation Information

Patent Citations

  • Multi-unmanned aerial vehicle task allocation method based on improved ant colony algorithm

    CN112508369A

  • Robot rapid optimal path planning method based on double heuristic functions

    CN114721370A

  • Heterogeneous multi-unmanned aerial vehicle task allocation method based on ant colony algorithm

    CN115494864A

  • Heterogeneous task scheduling method based on ant colony optimization algorithm

    CN116089031A

  • Real-time two-stage scheduling method and system for multiple mobile robots in intelligent storage

    CN117669992A