A multi-task AGV scheduling method, device and storage medium based on time-space obstacle avoidance

Through the multi-task AGV scheduling method based on spatio-temporal obstacle avoidance, the node list is established and the optimal path is calculated, which solves the inefficiency problem of traditional AGV serial handling in large-scale warehousing, and achieves efficient AGV scheduling and resource optimization distribution.

CN118244730BActive Publication Date: 2024-10-15CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410686975.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-10-15
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

The traditional AGV serial handling solution is ineffective when dealing with large-scale and complex warehousing scheduling problems, resulting in low resource distribution efficiency. Especially when multiple AGVs are traveling in opposite directions, it is easy to cause mutual traffic jams, making it difficult to meet the demand for massive cargo dispatching.

Method used

A multi-task AGV scheduling method based on spatiotemporal obstacle avoidance is adopted. By establishing a passed node list and a failed node list, the path and time of the AGV are recorded, the optimal path is calculated cyclically, conflicts are avoided, and the node path with the minimum time is determined as the scheduling plan.

Benefits of technology

It improves the scheduling efficiency of AGVs, solves the scheduling inefficiency of existing AGV serial handling solutions in large warehousing, and ensures efficient distribution of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118244730B_ABST
    Figure CN118244730B_ABST
Patent Text Reader

Abstract

The present application discloses a multi-task AGV scheduling method, device and storage medium based on time-space obstacle avoidance, which respectively records the nodes that the target AGV has passed by by establishing a passed node list and a failed node list. i and failed nodes j , then store all nodes in the failed node list, and transfer the starting node to the passed node list; then loop to perform the following operations: obtain each node and arrival time in the passed node list; calculate at least one i Node departure and arrival j Node time E ij , and determine E ijmin Corresponding j Node; if j If the node is not the target node, it will be stored in the passed node list and deleted from the unpassed node list and the loop will continue; if j If the node is the target node, the loop ends and the j The node path is used as the scheduling solution for the target AGV task, which solves the problem that the existing AGV serial handling solution is still weak in scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of path planning, and in particular to a multi-task AGV scheduling method, device and storage medium based on spatiotemporal obstacle avoidance. Background Art

[0002] An automatic guided vehicle (AGV) is an industrial vehicle that loads goods automatically or manually, drives automatically along a set route or pulls a cargo trolley to a designated location, and then loads and unloads goods automatically or manually. It is widely used in automated warehousing systems because of its convenient control and high working stability. In recent years, with the rapid development of information technology and industrial technology, the accelerated transformation of various industries, including manufacturing, has been promoted. Intelligent and automated packaging manufacturing has become a necessary condition for realizing intelligent production. In the process of building intelligent warehousing, the transportation function of intelligent devices and the development of supporting intelligent scheduling algorithms have become research and investment hotspots for relevant scientific research teams and large manufacturing companies around the world. As an intelligent transportation equipment, the automatic guided transport vehicle AGV can be said to be an important link connecting intelligent production, intelligent factories, and intelligent logistics.

[0003] In traditional factory systems, the transportation scheduling of goods and parts mainly relies on fixed scheduling production lines or manual handling, which can barely cope with the transportation scheduling tasks of goods and parts when they are small. With the rapid development of the manufacturing industry and the upgrading of processing and manufacturing technology, the difficulties of scheduling problems in fixed warehouses or factories have gradually emerged due to the massive demand for cargo scheduling. The traditional factory logistics methods of manual operation and conveyor belt transportation have been difficult to meet the needs. Although these difficulties have been alleviated with the development of AGV hardware in recent years, the existing AGV serial handling solutions are still weak in dealing with scheduling problems in large and complex warehouses. At the same time, in order to reduce space waste when planning the workshop space, the road resource planning in the conventional smart workshop cannot meet the needs of more than two AGVs driving in opposite directions. AGVs are prone to traffic jams during operation, resulting in low resource distribution efficiency. Summary of the invention

[0004] The present invention provides a multi-task AGV scheduling method, device and storage medium based on time-space obstacle avoidance, and provides an efficient and stable file gradient rendering solution, which at least solves the scheduling problems in large and complex warehouses. The existing AGV serial handling solutions are still ineffective in dealing with these problems.

[0005] On the one hand, a multi-task AGV scheduling method based on spatiotemporal obstacle avoidance is provided, comprising:

[0006] Obtaining a target AGV task, wherein the task information of the target AGV task includes a target AGV, a starting node, a target node, and a task start time;

[0007] Establish a passed node list and a failed node list, the passed node list is used to record the nodes that the target AGV has passed i The failed node list is used to record the nodes that the target AGV failed to pass. j , , n is the total number of nodes;

[0008] After storing all nodes of the map where the target AGV is located in the list of unpassed nodes, the starting node is transferred to the list of passed nodes, and the task start time is used as the time when the target AGV arrives at the starting node;

[0009] According to each node in the passed node list, at least one of the target AGVs is obtained from i Node departure and arrival j The time of the node E ij ;

[0010] Determine at least one of the E ij The smallest E ijmin Corresponding nodes j min ;

[0011] Decision Node j min Whether it is the target node;

[0012] If the node j min If it is not the target node, then the node j min Store the passed node list and j min After deleting from the failed node list, return to the node list according to each node in the passed node list, obtain at least one of the target AGVs from i Node departure and arrival j The time of the node E ij The steps are cycled;

[0013] If the node j min is the target node, then get the nodes from the start node to the node j min The path is used as the scheduling solution for the target AGV task.

[0014] Optionally, the step of obtaining at least one of the target AGVs from each node in the passed node list is as follows: i Node departure and arrival j The time of the node E ij The steps include:

[0015] According to the target AGV, a target map matching the target AGV is obtained;

[0016] According to the target map, obtain i Node adjacent j Node and the i Node and j The distance between nodes d ij ;

[0017] According to the ij and the running speed of the target AGV, and obtain the target AGV from i Node moves to j The time T of the node ij ;

[0018] According to the target AGV arrives i The time of the node E i , obtain the target AGV from i The node departure time T i ;

[0019] According to the T ij and the T i , get E ij .

[0020] Optionally, a method for establishing the target map is also included:

[0021] Construct a node adjacency matrix map based on the adjacent relationship between each node and the distance between nodes MAP , MAP for n*n Matrix, the MAP The filling strategy is ,in for MAP Middle i Line j The value of the column, when the i Node and j When the nodes are not adjacent or i = j When ij The value of is infinite or null;

[0022] According to the target AGV, obtain the MAP For the road section that the target AGV cannot pass through, the distance between two adjacent nodes in the road section that cannot pass through is also set to infinity or a null value to obtain the target map.

[0023] Optionally, it also includes a two-dimensional table for recording all AGV paths, wherein each sub-list in the two-dimensional table is the running path of an AGV;

[0024] According to each node in the passed node list, at least one of the target AGVs is obtained from i Node departure and arrival j The time of the node E ij The steps include:

[0025] According to the target AGV, a target map matching the target AGV is obtained;

[0026] According to the target map, obtain i Node adjacent j Node and the i Node and j The distance between nodes d ij ;

[0027] According to the ij and the running speed of the target AGV, and obtain the target AGV from i Node moves to j The time T of the node ij ;

[0028] According to the target AGV arrives i The time of the node E i , obtain the target AGV from i The node departure time T i ;

[0029] Loop through the following steps:

[0030] According to the T ij and the T i , get E ij ;

[0031] According to the two-dimensional table, it is determined that i To the E ij period, i Node to j Whether there are conflicting tasks between nodes;

[0032] When there is a conflicting task, the new target AGV is obtained according to the conflicting task. i The node departure time T i ′;

[0033] Use the T i 'Replace the T i ;

[0034] When there are no conflicting tasks, get Eij and exit the loop.

[0035] Optionally, when there is a conflicting task, a new target AGV is obtained according to the conflicting task. i The node departure time T i ' steps, including:

[0036] When there are conflicting tasks, determining the conflict type of the conflicting tasks;

[0037] When the conflict type is an opposing conflict, j The node is marked as a node to be returned.

[0038] Optionally, the determining of at least one of the E ij The smallest E ijmin Corresponding nodes j min After the steps, it also includes:

[0039] Determine the E ijmin Corresponding nodes j min Whether it is a node to be returned;

[0040] If the E ijmin Corresponding nodes j min If the node is to be returned, j min Mark as a return node;

[0041] At the same time, the parent node in the passed node list is E ijmin Corresponding i Node and current node is E ijmin Corresponding i All nodes of the node are moved from the passed node list to the failed node list.

[0042] Optionally, the target AGV arrives at i The time of the node E i , obtain the target AGV from i The node departure time T i The steps include:

[0043] judge j Whether the node is a return node;

[0044] when j When the node is a return node, j The end time of the conflicting task corresponding to the node is obtained by i The node departure time T iAfter that, reset all the return nodes to non-return nodes.

[0045] Optionally, if the node j min is the target node, then get the nodes from the start node to the node j min After the steps of the scheduling scheme of the target AGV task, the path is also included:

[0046] From the starting node to the node j min The path is stored in the two-dimensional table as the scheduling plan for the target AGV task.

[0047] On the other hand, a computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-mentioned multi-task AGV scheduling method based on spatiotemporal obstacle avoidance.

[0048] On the other hand, a computer-readable storage medium stores a computer program, and a processor executes the computer program to implement the above-mentioned multi-task AGV scheduling method based on spatiotemporal obstacle avoidance.

[0049] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0050] The present invention provides a multi-task AGV scheduling method, device and storage medium based on time-space obstacle avoidance, by establishing a passed node list and a failed node list, respectively recording the nodes that the target AGV has passed i and failed nodes j , then store all nodes in the failed node list, and transfer the starting node to the passed node list; then loop to perform the following operations: obtain each node and arrival time in the passed node list; calculate at least one i Node departure and arrival j Node time E ij , and determine E ijmin Corresponding j Node; if j If the node is not the target node, it will be stored in the passed node list and deleted from the unpassed node list and the loop will continue; if j If the node is the target node, the loop ends and the j The node path is used as the scheduling solution for the target AGV task, which solves the problem that the existing AGV serial handling solution is still weak in scheduling. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the specific implementation of the present application or the technical solution in the prior art, the following is a brief introduction to the drawings required for the specific implementation or the prior art description. In all drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, each element or part is not necessarily drawn according to the actual scale.

[0052] Figure 1 A flowchart of a multi-task AGV scheduling method based on spatiotemporal obstacle avoidance in this application;

[0053] Figure 2 A flowchart of a multi-task AGV scheduling method based on spatiotemporal obstacle avoidance in this application;

[0054] Figure 3 Schematic diagram of a flow chart of a multi-task AGV scheduling method based on spatiotemporal obstacle avoidance in this application.

[0055] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0056] In order to enable those skilled in the art to better understand the scheme of the present disclosure, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present disclosure.

[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0058] Example 1

[0059] like Figures 1 - 3 As shown, this embodiment provides a multi-task AGV scheduling method based on spatiotemporal obstacle avoidance, including:

[0060] S101, obtaining a target AGV task, wherein the task information of the target AGV task includes the target AGV, the starting node, the target node and the task start time;

[0061] S102: Establish a passed node list and a failed node list. The passed node list is used to record the nodes that the target AGV has passed. i The failed node list is used to record the nodes that the target AGV failed to pass. j , , n is the total number of nodes;

[0062] S103, after storing all nodes of the map where the target AGV is located into the list of unpassed nodes, the starting node is transferred to the list of passed nodes, and the task start time is used as the time when the target AGV arrives at the starting node;

[0063] S104, obtaining at least one target AGV from each node in the passed node list i Node departure and arrival j The time of the node E ij ;

[0064] S105, determine at least one E ij The smallest E ijmin Corresponding nodes j min ;

[0065] S106, judgment node j min Whether it is the target node;

[0066] S107, if the node j min If it is not the target node, then the node j min Store the passed node list and j min After deleting from the list of nodes that have not been passed, return to step S104, and obtain at least one target AGV from each node in the list of nodes that have been passed. i Node departure and arrival j The time of the node E ij ; and loop steps S104-S106;

[0067] S108, if the node j min is the target node, then get the nodes from the start node to the node j min The path is used as the scheduling solution for the target AGV task.

[0068] By establishing a list of passed nodes and a list of failed nodes, the nodes that the target AGV has passed are recorded respectively. i and failed nodes j , then store all nodes in the failed node list, and transfer the starting node to the passed node list; then loop to perform the following operations: obtain each node and arrival time in the passed node list; calculate at least one i Node departure and arrival j Node time E ij , and determine E ijmin Corresponding j Node; if j If the node is not the target node, it will be stored in the passed node list and deleted from the unpassed node list and the loop will continue; if j If the node is the target node, the loop ends and the j The path of the node is used as the scheduling solution for the target AGV task. This solves the problem that the existing AGV serial handling solution is still weak during scheduling, and determines the scheduling solution with the highest operating efficiency.

[0069] Optionally, at least one target AGV is obtained from each node in the passed node list. i Node departure and arrival j The time of the node E ij The steps include:

[0070] According to the target AGV, a target map matching the target AGV is obtained;

[0071] According to the target map, obtain i Node adjacent j Node and i Node and j The distance between nodes d ij ;

[0072] According to d ij and the running speed of the target AGV, and obtain the target AGV from i Node moves to j The time T of the node ij ;

[0073] According to the target AGV arrives i The time of the node E i , get the target AGV from i The node departure time T i ;

[0074] According to T ij and T i , get Eij .

[0075] Since the road sections that different AGVs can pass may not be exactly the same, it is necessary to select a target map that matches the target AGV based on the model of the target AGV;

[0076] Optionally, a method for creating a target map is also included:

[0077] Construct a node adjacency matrix map based on the adjacent relationship between each node and the distance between nodes MAP , MAP for n*n matrix, MAP The filling strategy is ,in for MAP Middle i Line j The value of the column, when i Node and j When the nodes are not adjacent or i = j When ij The value of is infinite or null;

[0078] According to the target AGV, obtain MAP For the road sections that the target AGV cannot pass through, the distance between two adjacent nodes in the road sections that cannot be passed through is also set to infinity or a null value to obtain the target map.

[0079] Optionally, a two-dimensional table for recording all AGV paths is also included, where each sublist in the two-dimensional table is the running path of an AGV;

[0080] S104, obtaining at least one target AGV from each node in the passed node list i Node departure and arrival j The time of the node E ij The steps include:

[0081] S401, according to the target AGV, obtaining a target map matching the target AGV;

[0082] S402, according to the target map, obtain i Node adjacent j Node and i Node and j The distance between nodes d ij ;

[0083] S403, according to d ij and the running speed of the target AGV, and obtain the target AGV from i Node moves to j The time T of the nodeij ;

[0084] S404, according to the target AGV arrival i The time of the node E i , get the target AGV from i The node departure time T i ;

[0085] Loop through the following steps:

[0086] S405, according to T ij and T i , get E ij ;

[0087] S406, judging in T according to the two-dimensional table i To E ij period, i Node to j Whether there are conflicting tasks between nodes;

[0088] S407, when there is a conflicting task, obtain a new target AGV from the conflicting task i The node departure time T i ′;

[0089] S408, Use T i ′Replace T i ;

[0090] S409. When there is no conflicting task, obtain E ij and exit the loop.

[0091] When there is no conflicting task, the target AGV arrives i After the node, you can immediately i Starting from the node, that is, T i =E i When there are conflicting tasks, you need to wait for the conflicting tasks to end before you can i Node departure.

[0092] Optionally, when there is a conflicting task, obtain a new target AGV from the conflicting task i The node departure time T i ' steps, including:

[0093] When there are conflicting tasks, determine the conflict type of the conflicting tasks;

[0094] When the conflict type is opposite conflict, j The node is marked as a node to be returned.

[0095] Conflict types include non-conflict, object conflict, and non-opposite conflict. Different conflict types require different response plans during scheduling.

[0096] Optionally, determine at least one E ij The smallest E ijmin Corresponding nodes j min After the steps, it also includes:

[0097] Judge E ijmin Corresponding nodes j min Whether it is a node to be returned;

[0098] If E ijmin Corresponding nodes j min If the node is to be returned, j min Mark as a return node;

[0099] At the same time, the parent node in the passed node list is E ijmin Corresponding i Node and current node is E ijmin Corresponding i All nodes of the node are moved from the passed nodes list to the failed nodes list;

[0100] Then, each node in the passed node list is re-acquired, and a loop from step S104 to step S108 is executed.

[0101] When E ijmin Corresponding j When the node is a proposed return node, that is, there is a conflict in the current optimal path, the node needs to be redefined and the path needs to be replanned.

[0102] Optional, based on target AGV arrival i The time of the node E i , get the target AGV from i The node departure time T i The steps include:

[0103] S40401, judgment j Whether the node is a return node;

[0104] S40402, when j When the node is a return node, j The end time of the conflicting task corresponding to the node is obtained from the target AGV i The node departure time T i After that, reset all the return nodes to non-return nodes.

[0105] When the newly planned path has a return node, the target AGV is obtained from the end time of the conflicting task. i The node departure time T i。

[0106] Optional, if the node j min is the target node, then get the nodes from the start node to the node j min After the steps of the scheduling scheme of the target AGV task, the path is also included:

[0107] From the starting node to the node j min The path is stored in a two-dimensional table as the scheduling plan for the target AGV task.

[0108] Optionally, steps S104-S108 may also be replaced by:

[0109] S0104. Obtain each node in the passed node list;

[0110] S0105. Obtain at least one target AGV from each node in the passed node list. i Node departure and arrival j The time of the node E ij ;

[0111] S0106. According to at least one E ij , determine at least one E ij The smallest E ijmin Corresponding j min node;

[0112] S0107, Judgment j min Whether the node is a target node;

[0113] S0108, if j min If the node is not the target node, j Nodes and Arrivals j min node, and j min The loop is executed after the node is removed from the list of non-passed nodes;

[0114] S0109, if j If the node is the target node, the loop ends and the j The path of the node is used as the scheduling scheme for the target AGV task.

[0115] By establishing a list of passed nodes and a list of failed nodes, the nodes that the target AGV has passed are recorded respectively. i and failed nodes j , then store all nodes in the failed node list, and transfer the starting node to the passed node list; then loop to perform the following operations: obtain each node and arrival time in the passed node list; calculate at least one i Node departure and arrival j Node time E ij , and determine E ijmin Corresponding j Node; if j If the node is not the target node, it will be stored in the passed node list and deleted from the unpassed node list and the loop will continue; if j If the node is the target node, the loop ends and the j The path of the node is used as the scheduling solution for the target AGV task. This solves the problem that the existing AGV serial handling solution is still weak during scheduling, and determines the scheduling solution with the highest operating efficiency.

[0116] Example 2

[0117] This embodiment is based on the first embodiment. Specifically, a multi-task AGV scheduling algorithm based on spatiotemporal obstacle avoidance includes the following steps:

[0118] S1, build AGV operation map;

[0119] Build a factory map based on the actual scenario and number each site in the factory S i , ,in n is the number of sites in the plant. The adjacency matrix map of the plant is constructed based on the adjacency relationship between the sites in the plant and the actual distance between the sites. MAP , MAP for n*n matrix. MAP The filling strategy is:

[0120] ;

[0121] in for MAP Middle i Line j The value of the column, d i,j For neighboring sites S i arrive S jThe distance, where S i and S j Not adjacent or S i equal S j hour d i,j

[0122] S 2. Construct basic information of AGV;

[0123] The basic information of AGV includes the number of AGV, the running speed of AGV and the type of AGV.

[0124] S 3. Get AGV tasks;

[0125] Get the first task of the AGV. The task information of the first task includes the type of AGV and the starting node. StartStation , target node FinalStation , start delivery time StartTime .

[0126] S 4. Extract different types of AGV operation paths;

[0127] Copy a global map of the factory, set the paths that can be passed by the AGV according to the type, set the distance between the corresponding stations to infinity according to the method in step S1, and store the map in the queue maps middle.

[0128] S 5. Construct AGV runtime path node unit punit ;

[0129] AGV path operation node unit punit Contains the following information:

[0130] AGV number: AGV number;

[0131] punit ( start, end, parent, current );

[0132] Current Node ( current ): The node where the AGV is currently located;

[0133] Parent Node ( parent ): AGV reaches the previous node of the current node;

[0134] Start entry time ( start ):AGV from ParentThe time when the node departs;

[0135] Departure time ( end ): AGV arrives current The moment of the node;

[0136] S 6. Construct the AGV operation path storage path;

[0137] Construct a two-dimensional table P of path node units all , each sublist in the two-dimensional table is the running path of an AGV.

[0138] S 7. According to the existing tasks, select the AGV vehicle that meets the task requirements as the first AGV, and select maps Select the corresponding map map .

[0139] Create a list of nodes that have passed the AGV Qarray , Qarray The unit contains:

[0140] Qarray ( start, end, parent, current, opposite );

[0141] in, opposite Indicates the existence of conflicts, where the conflict modes include: no conflict, opposite conflict, and non-opposite conflict. The remaining items ( start, end, parent, current )and punit The semantics are the same.

[0142] Create a list of nodes to be selected for the next step of AGV Narray , Narray The queue unit and Qarray The data in the cell is consistent:

[0143] Narray ( start, end, parent, current, opposite );

[0144] Create a temporary queue for the path Temp , Temp Unit and punit The data in is consistent:

[0145] Temp ( start, end, parent, current );

[0146] Creating a Fallback Unit Backunit , the fallback unit and punit The data in is consistent:

[0147] Backunit ( start, end, parent, current ).

[0148] Create a list of nodes that failed to pass the AGV Uarray , Uarray Only the site number is included.

[0149] S 8. Initialize the queue Qarray ;

[0150] Set the task starting point Start Join Qarray and initialize it, where the task starting point Start initialization Q The value of 1 is:

[0151] .

[0152] S 9. From the queue Qarray Get the arrived site Q i ;

[0153]

[0154] in, Length(Qarray) express Qarray The number of paths stored in .

[0155] S 10. From the map map Find the starting point Q i The corresponding line from Uarray Get from Q i The next adjacent station number for departure and arrival S j ,in S j exist Uarray middle:

[0156] ;

[0157] and Q i arrive S j The distance is not infinite, that is:

[0158] ;

[0159] Get Distance l , calculate the first AGV from Q i Departure and arrival at the destination S j The time required △t:

[0160] △t=1 / speed, where speed is the running speed of the first AGV.

[0161] S 11. Check the path Q i arrive S j To check whether the rollback has been completed, use the following method:

[0162] Backunit(current)== S ;

[0163] if S j For the rollback node, set the end time of the rollback node Backunit(end) As the moment when the AGV is allowed to enter the section, the fallback unit is cleared:

[0164] T s = Backunit(end) ;

[0165] Backunit(current)= ∅;

[0166] Among them, T s Indicates starting from Q i Driving S j Time (entering the path Q i arrive S j time), ∅ means empty.

[0167] if S j Not a return unit, move the AGV away Q i Moment Q i (end) As an AGV S j Departure time T s :

[0168] T s = Q i (end) ;

[0169] Calculate arrival S j Time T e :

[0170] T e =Ts+△t.

[0171] S 12. From the two-dimensional table P all , find the time period T s to T e Whether there are all pairs of paths between Q i arrive S j The occupancy status can be found by:

[0172] Traversal All path units in p ( punit ), find out whether the existing path unit meets the following conditions;

[0173] Condition 1: If p satisfy p ( current ) value is Q i or S j ,or p ( next ) value is Q i or S j ;

[0174] Condition 2: If p Satisfy any of the following two sets of conditions in time:

[0175]

[0176]

[0177] If there is a path unit in the path p ( punit ) If condition group 1 and condition group 2 are met, then recalculate the AGV entry section Q i arrive S j Time T s and departure time T e , and re-search all existing paths until the new path is no longer occupied:

[0178] T s =max{T e , p ( end )};

[0179] T e =T s +△t.

[0180] If condition group 1 and condition group 2 are met and the following condition group 3 is met, the path will Q i arrive S j for the conflict path;

[0181] ;

[0182] but S j of opposite =1, otherwise opposite =0.

[0183] S 13. Path unit S j Store in the waiting queue Narray Zhongwei N , path unit stored N The corresponding values ​​in are:

[0184] ;

[0185] Select the next Q i Adjacent points S j+1 Repeat steps S10 to S13 until all the Q i Adjacent sites.

[0186] S 14. Choice Qarray Points not queried in Q i+1 , repeat steps 10 to 13. Qarray All points in are queried.

[0187] S 15. Query the queue to be selected Narray The end time of all nodes in end ) The smallest candidate path unit N min ;

[0188] If the candidate path unit N min The conflict path is N min ( opposite ) = 1, traverse the queue of sites that have passed Qarray middle Q i , find its parent node Q p ;

[0189] in Q p : Qarray ( current ) ==N min ( parengt )

[0190] Will Q p Set to Backunit :

[0191] ;

[0192] Traversal Qarray All Q i , find the satisfying Q i ( parengt ) and the candidate path unit N min ( parengt ) equal units Q i , number their nodes Q i ( current ) and the parent node Q p ( current ) added to Uarray and remove them from Qarray Removed, that is:

[0193] ;

[0194] S 16. Remove the candidate path units that do not meet step S15 N min ,Right now N min ( opposite ) = 0, add to the queried list Qarray In the list of sites that have not been Uarray Remove N min ( current ) site number:

[0195] Clear the waiting queue Narray ;

[0196] Clear fallback unit Backunit , will roll back the unit Backunit The current cell in is set to empty, that is:

[0197] ;

[0198] S 17. Return to step S10 until N min ( current ) is stopped at the target node, that is:

[0199] N min ( current )== FinalStation ;

[0200] S 18. Obtain the first AGV running path under the current task according to the following algorithm:

[0201] Will N min Join Temp In the queue:

[0202] Temp.add ( N min );

[0203] Setting temporary variables TempParent :

[0204] TempParent = N min ( current );

[0205] S 19. Traversal Qarray Search Q i , Q i ( current )equal TempParent The node will Q i Join Temp and will TempParent Set to Q i ( Parent ):

[0206] If Q i ( current )== TempParent ;

[0207] Temp.add ( Q i ).

[0208] S 20. Repeat steps S 19, until TempParent equal StartStation Exit the loop when .

[0209] S 21. Temp After reversing the order of all units in the Temp Add to In. Clear Qarray , Uarray wait.

[0210] Example 2

[0211] This embodiment provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-mentioned multi-task AGV scheduling method based on spatiotemporal obstacle avoidance.

[0212] Example 3

[0213] This embodiment provides a computer-readable storage medium, on which a computer program is stored. A processor executes the computer program to implement the above-mentioned multi-task AGV scheduling method based on spatiotemporal obstacle avoidance.

[0214] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0215] In the above embodiments of the present disclosure, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0216] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, 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 units or modules, which can be electrical or other forms.

[0217] 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 over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0218] In addition, each functional unit in each embodiment of the present disclosure 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0219] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable non-volatile storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a non-volatile storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned non-volatile storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.

[0220] The above are only preferred embodiments of the present disclosure. 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 disclosure. These improvements and modifications should also be regarded as the protection scope of the present disclosure.

Claims

1. A multi-task AGV scheduling method based on spatiotemporal obstacle avoidance, characterized in that: include: Obtaining a target AGV task, wherein the task information of the target AGV task includes a target AGV, a starting node, a target node, and a task start time; Establish a passed node list and a failed node list, the passed node list is used to record the nodes that the target AGV has passed i The failed node list is used to record the nodes that the target AGV failed to pass. j , , n is the total number of nodes; After storing all nodes of the map where the target AGV is located in the list of unpassed nodes, the starting node is transferred to the list of passed nodes, and the task start time is used as the time when the target AGV arrives at the starting node; According to each node in the passed node list, at least one of the target AGVs is obtained from i Node departure and arrival j The time of the node E ij ; Determine at least one of the E ij The smallest E ijmin Corresponding nodes j min ; Decision Node j min Whether it is the target node; If the node j min If it is not the target node, then the node j min Store the passed node list and j min After deleting from the failed node list, return to the node list according to each node in the passed node list, obtain at least one of the target AGVs from i Node departure and arrival j The time of the node E ij The steps are cycled; If the node j min is the target node, then get the nodes from the start node to the node j min The path is used as the scheduling solution for the target AGV task; According to each node in the passed node list, at least one of the target AGVs is obtained. i Node departure and arrival j The time of the node E ij The steps include: According to the target AGV, a target map matching the target AGV is obtained; According to the target map, obtain i Node adjacent j Node and the i Node and j The distance between nodes d ij ; According to the ij and the running speed of the target AGV, and obtain the target AGV from i Node moves to j The time T of the node ij ; According to the target AGV arrives i The time of the node E i , obtain the target AGV from i The node departure time T i ; According to the T ij and the T i , get E ij ; Also included is a method for establishing the target map: Construct a node adjacency matrix map based on the adjacent relationship between each node and the distance between nodes MAP , MAP for n* n Matrix, the MAP The filling strategy is ,in for MAP Middle i Line j The value of the column, when the i Node and j When the nodes are not adjacent or i = j When ij The value of is infinite or null; According to the target AGV, obtain the MAP For the road section that the target AGV cannot pass through, the distance between two adjacent nodes in the road section that cannot pass through is also set to infinity or a null value to obtain the target map.

2. The multi-task AGV scheduling method based on spatiotemporal obstacle avoidance according to claim 1 is characterized in that: It also includes a two-dimensional table for recording all AGV paths, wherein each sublist in the two-dimensional table is a running path of an AGV; According to each node in the passed node list, at least one of the target AGVs is obtained. i Node departure and arrival j The time of the node E ij The steps include: According to the target AGV, a target map matching the target AGV is obtained; According to the target map, obtain i Nodes adjacent to j Node and the i Node and j The distance between nodes d ij ; According to the ij and the running speed of the target AGV, and obtain the target AGV from i Node moves to j The time T of the node ij ; According to the target AGV arrives i The time of the node E i , obtain the target AGV from i The node departure time T i ; Loop through the following steps: According to the T ij and the T i , get E ij ; According to the two-dimensional table, it is determined that i To the E ij period, i Node to j Whether there are conflicting tasks between nodes; When there is a conflicting task, the new target AGV is obtained according to the conflicting task. i The node departure time T i ′; Use the T i 'Replace the T i ; When there are no conflicting tasks, get E ij and exit the loop.

3. The multi-task AGV scheduling method based on spatiotemporal obstacle avoidance according to claim 2 is characterized in that: When there is a conflicting task, the new target AGV is obtained according to the conflicting task. i The node departure time T i ' steps, including: When there are conflicting tasks, determining the conflict type of the conflicting tasks; When the conflict type is an opposing conflict, j The node is marked as a node to be returned.

4. The multi-task AGV scheduling method based on spatiotemporal obstacle avoidance according to claim 3 is characterized in that: The determination of at least one of the E ij The smallest E ijmin Corresponding nodes j min After the steps, it also includes: Determine the E ijmin Corresponding nodes j min Whether it is a node to be returned; If the E ijmin Corresponding nodes j min If the node is to be returned, j min Mark as a return node; At the same time, the parent node in the passed node list is E ijmin Corresponding i Node and current node is E ijmin Corresponding i All nodes of the node are moved from the passed node list to the failed node list.

5. The multi-task AGV scheduling method based on spatiotemporal obstacle avoidance according to claim 4 is characterized in that: According to the target AGV arrives i The time of the node E i , obtain the target AGV from i The node departure time T i The steps include: judge j Whether the node is a return node; when j When the node is a return node, j The end time of the conflicting task corresponding to the node is obtained by i The node departure time T i After that, reset all the return nodes to non-return nodes.

6. The multi-task AGV scheduling method based on spatiotemporal obstacle avoidance according to claim 2 is characterized in that: If the node j min is the target node, then get the nodes from the start node to the node j min After the steps of the scheduling scheme of the target AGV task, the path is also included: From the starting node to the node j min The path is stored in the two-dimensional table as the scheduling plan for the target AGV task.

7. A computer device, characterized in that: The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement a multi-task AGV scheduling method based on spatiotemporal obstacle avoidance according to any one of claims 1-6.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement a multi-task AGV scheduling method based on spatiotemporal obstacle avoidance according to any one of claims 1-6.

Citation Information

Cited By

  • Dynamic AGV scheduling and conflict cooperative processing method and system based on DIWO-PVNS hybrid optimization

    CN122593200A