Automatic guided vehicle path planning method, electronic equipment and storage medium
Through the method of grid network and real-time data update, the automatic guided vehicle path is dynamically planned, which solves the low efficiency of path planning and collision problems in the existing technology, realizes an efficient and conflict-free freight path, and improves the system throughput.
Patent Information
- Application Number
- CN202410439782.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-11
- Publication Date
- 2024-08-27
AI Technical Summary
Existing automated guided vehicle path planning methods lead to low actual operating efficiency in complex warehousing operations, low system freight throughput, and inability to effectively avoid collisions, resulting in low path planning efficiency.
By dividing the automatic guided vehicle operating environment into a grid network, the current operating data of the AGV is obtained and updated in real time, combined with collision detection, dynamically planning the path to avoid obstacles, and using idle time intervals and priority queues to optimize the path to ensure that the path is conflict-free. and reach the target location quickly.
It achieves high-quality path planning, improves system freight throughput, reduces AGV pause time, improves transportation efficiency, and ensures collision-free and rapid paths.
Smart Images

Figure CN118548905A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of path planning, and in particular to an automatic guided vehicle path planning method, electronic equipment and storage medium. Background Art
[0002] An Automated Guided Vehicle (AGV) is an unmanned logistics transport vehicle that can determine the location and environmental information through on-board sensors according to the instructions issued by the host computer, and according to the pre-designed program, it can automatically drive along the planned route and stop at the designated location. It has functions such as automatic obstacle avoidance navigation, which greatly liberates labor and improves transportation efficiency. Among them, the path planning algorithm, as the core technology of AGV, is the key to determining whether it can independently complete the path guidance task. Its core purpose is to search for an optimal path from the initial position to the target position without collision in the complex warehousing operation process. With the increase in the number of goods, warehouse scale, and number of AGVs, high-quality AGV path planning can not only avoid collisions, but also improve the freight throughput of the entire system. In the related technology, path planning is performed first and then collision detection is performed. When the AGV detects a collision during the movement of the planned path, it stops and waits until there are no obstacles before moving again, resulting in low actual operation efficiency and low freight throughput of the system. Therefore, how to obtain high-quality path planning and improve the freight throughput of the system has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The main purpose of the embodiments of the present application is to propose an automatic guided vehicle path planning method, electronic device and storage medium, aiming to obtain high-quality path planning and improve the freight throughput of the system.
[0004] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a path planning method for an automated guided vehicle, wherein a plane map of an automated guided vehicle operating environment is divided into a plurality of grids of the same size to obtain a distribution grid network, and the method comprises:
[0005] Acquire current operation data of the automatic guided vehicle; wherein the current operation data includes: the initial grid, orientation information and initial motion state of the automatic guided vehicle on the distribution grid network;
[0006] Filtering a one-hop grid from the distribution grid network according to the initial motion state and the initial grid to obtain a first candidate grid;
[0007] Acquire the idle time interval of the automatic guided vehicle currently on the initial grid to obtain a first idle time interval, and acquire all the idle time intervals of the first candidate grid to obtain a second idle time interval sequence;
[0008] Determine the earliest timestamp of the automatic guided vehicle entering the first candidate grid based on the first idle time interval and the second idle time interval sequence to obtain a first earliest timestamp;
[0009] Constructing first search state information of the first candidate grid according to the first earliest timestamp, the orientation information, the position information of the first candidate grid, the initial motion state and a preset moving mode, and determining the current motion state of the automatic guided vehicle according to the moving mode; wherein the moving mode is a mode in which the automatic guided vehicle moves to the first candidate grid;
[0010] The first search state information is saved to a preset first priority queue according to the first earliest timestamp, and the first search state information with the smallest first earliest timestamp in the first priority queue is obtained to obtain the first target search state information; wherein the first candidate grid corresponding to the first target search state information is the first target grid;
[0011] If the first target grid does not belong to the preset target position, and / or the current motion state is characterized as a moving state, the first candidate grid is updated based on the one-hop grid of the first target grid, the first search state information of the updated first candidate grid is saved in the first priority queue, and the first search state information with the smallest first earliest timestamp in the first priority queue is obtained to obtain the updated first target grid, until the updated first target grid is the target position and the current motion state is a stationary state;
[0012] The motion path of the automatic guided vehicle is constructed according to the first search state information of the initial grid and all the selected first target search state information.
[0013] In some embodiments, after obtaining the current operation data of the automatic guided vehicle, the method further includes:
[0014] According to the initial grid, a multi-hop grid is selected from the distribution grid network to obtain a second candidate grid; wherein the multi-hop grid is a grid that can be reached from the initial grid in the horizontal direction or the vertical direction, and the grid that the initial grid passes through to reach the second candidate grid is recorded as a pass grid;
[0015] Acquire all idle time intervals of the passable grid to obtain a third idle time interval sequence, and acquire all idle time intervals of the second candidate grid to obtain a fourth idle time interval sequence;
[0016] Based on the first idle time interval, the third idle time interval sequence and the fourth idle time interval sequence, determining an earliest timestamp when the automatic guided vehicle enters the second candidate grid to obtain a second earliest timestamp;
[0017] Constructing second search state information of the second candidate grid according to the second earliest timestamp, the orientation information, and the position information of the second candidate grid;
[0018] The second search state information is saved to a preset second priority queue according to the second earliest timestamp, and the second search state information with the smallest second earliest timestamp in the second priority queue is obtained to obtain the second target search state information; wherein the second candidate grid corresponding to the second target search state information is the second target grid;
[0019] If the second target grid does not belong to the preset target location, the second candidate grid is updated based on the multi-hop grid of the second target grid, the second search state information of the updated second candidate grid is saved in the second priority queue, the second target search state information with the smallest second earliest timestamp in the second priority queue is obtained, and the updated second target grid is obtained, until the updated second target grid is the target location;
[0020] The motion path of the automatic guided vehicle is constructed according to the second search state information of the initial grid and all the selected second target search state information.
[0021] In some embodiments, the method further comprises:
[0022] If the second earliest timestamp does not exist within the first idle time interval, the corresponding second candidate grid is recorded as a selected grid;
[0023] The target hop count and target direction of the selected grid are obtained, and it is determined that the second candidate grid does not include a grid with a hop count not less than the target hop count in the target direction.
[0024] In some embodiments, the method further comprises:
[0025] If the column number of the second candidate grid is greater than the column number of the target position, the corresponding second candidate grid is recorded as the selected grid;
[0026] Determining a first rotation time according to the orientation information, the position information of the selected grid and a preset rotation time mapping table;
[0027] Obtaining a first travel time for the automatic guided vehicle to reach the selected grid according to the number of hops between the initial grid and the selected grid and a preset hop time mapping table;
[0028] Determine, according to the first idle time interval, the first rotation time, and the first passage time, an earliest timestamp at which the automatic guided vehicle enters the selected grid, to obtain a third earliest timestamp;
[0029] constructing third search state information of the selected grid according to the third earliest timestamp, the orientation information and the position information of the second candidate grid;
[0030] Saving the third search state information into the second priority queue according to the third earliest timestamp;
[0031] If the selected grid is the second target grid, determining the earliest timestamp of the automatic guided vehicle entering the selected grid based on the first idle time interval, the third idle time interval sequence and the fourth idle time interval sequence to obtain a fourth earliest timestamp;
[0032] The third search state information is updated according to the fourth earliest timestamp.
[0033] In some embodiments, the method further comprises:
[0034] Determine the grids passed by the automatic guided vehicle based on the motion path to obtain occupied grids;
[0035] Obtaining a second rotation time according to the orientation information, the position information of the occupied grid and a preset rotation time mapping table;
[0036] Obtaining a second travel time for the automatic guided vehicle to reach the occupied grid according to the number of hops between the initial grid and the occupied grid and a preset hop time mapping table;
[0037] Determine the departure time of the initial grid according to the earliest timestamp and the second travel time; wherein the earliest timestamp includes the first earliest timestamp or the second earliest timestamp;
[0038] Obtaining an occupied time interval of the occupied grid according to the departure time, the second rotation time and the second travel time;
[0039] The idle time interval sequence of the occupied grid is updated according to the occupied time interval.
[0040] In some embodiments, the method further comprises:
[0041] If the initial motion state is a stationary state, determining the moving mode is uniform acceleration or uniform acceleration followed by uniform deceleration;
[0042] If the initial motion state is a moving state, and the automatic guided vehicle has reached a maximum speed in the initial grid, the moving mode is determined to be a uniform speed or a uniform deceleration; otherwise, the moving mode is determined to be a uniform acceleration, a uniform speed or a uniform deceleration.
[0043] In some embodiments, the transport task includes a plurality of transport subtasks, each of the transport subtasks includes a target pickup location and a target delivery location, and the transport subtasks of the same transport task have the same target delivery location, and the target locations include the target pickup location and the target delivery location; the method further includes:
[0044] Acquire the transport subtasks, assign pickup locations to the transport subtasks according to the order of the same transport task, and obtain pickup location column numbers; wherein the pickup location column numbers correspond to the target pickup locations;
[0045] The delivery location is set according to the pickup location column numbers and the target pickup location quantity of all the transport subtasks of the same transport task to obtain the delivery location column number;
[0046] The delivery location corresponding to the delivery location column number is the target delivery location.
[0047] In some embodiments, after the automated guided vehicle moves to the target delivery location according to the motion path, the method further includes:
[0048] According to the delivery position column number, parking buffer positions are set in a preset number; wherein the column number of the parking buffer position is the same as the delivery position column number;
[0049] After the automatic guided vehicle arrives at the target delivery location and completes the delivery, the automatic guided vehicle is controlled to move to the parking buffer location and park.
[0050] To achieve the above-mentioned purpose, the second aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in the first aspect is implemented.
[0051] To achieve the above-mentioned purpose, a third aspect of an embodiment of the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0052] The automatic guided vehicle path planning method, electronic device and storage medium proposed in this application continuously perform collision detection while planning the path, that is, in the process of planning the path, when there is an obstacle in the forward direction of the AGV, it uses other grids without obstacles and can enter the earliest to move, and the AGV does not need to stop and wait. The movement path planned in this way does not have collisions, and can move to the target position quickly, so that the time spent on the planned movement path is short, high-quality path planning is achieved, and the freight throughput of the system is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a schematic diagram of one type of distribution grid network;
[0054] Figure 2 This is an optional flow chart of the automatic guided vehicle path planning method provided in the embodiment of the present application;
[0055] Figure 3 A schematic diagram of a distribution grid network with one-way edges;
[0056] Figure 4 It is a schematic diagram of AGV entering and exiting the grid;
[0057] Figure 5 It is a schematic diagram of the four key operating moments of AGV entering and exiting the grid;
[0058] Figure 6 It is a schematic diagram of the occupation time interval when the AGV occupies the grid;
[0059] Figure 7 It is a schematic diagram of the movement modes that the AGV can adopt when it is not in motion;
[0060] Figure 8 is a flow chart of an automatic guided vehicle path planning method provided by a second embodiment of the present application;
[0061] Fig. 9 It is a schematic diagram of different search methods;
[0062] Fig.10 is a flow chart of an automatic guided vehicle path planning method provided by a third embodiment of the present application;
[0063] Fig.11 is a flow chart of an automatic guided vehicle path planning method provided by a fourth embodiment of the present application;
[0064] Fig.12 is a flow chart of an automatic guided vehicle path planning method provided by a fifth embodiment of the present application;
[0065] Fig.13is a flow chart of an automatic guided vehicle path planning method provided by a sixth embodiment of the present application;
[0066] Fig.14 is a schematic diagram of one of the assigned pickup and delivery locations;
[0067] Fig.15 is a flow chart of an automatic guided vehicle path planning method provided by a seventh embodiment of the present application;
[0068] Fig.16 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0069] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0070] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0071] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0072] First, some nouns involved in this application are analyzed:
[0073] Distribution grid network: refers to a space composed of m×n square grids of the same size tightly combined, where m and n are the number of rows and columns of the grid.
[0074] Automated Guided Vehicle (AGV): AGV is circular, with a diameter equal to the length of the grid side. When it stops or turns in other directions, it is exactly within a grid. In addition, when it moves, it can only move horizontally or vertically at a time. By limiting the movement of AGV within the grid, conflicts caused by arbitrary movement can be reduced.
[0075] Number of hops: The number of times the AGV needs to move from the current grid to the next grid, moving only one grid at a time. Figure 1is a schematic diagram of one type of distribution grid network, such as Figure 1 As shown, the number of moves required from grid 7 to grid 10 is 3, so the number of hops from grid 7 to grid 10 is 3, that is, grid 10 is a 3-hop grid of grid 7.
[0076] One-hop grid: refers to the neighboring grid that the current grid can reach horizontally or vertically, for example Figure 1 As shown, if the current grid is grid 7, then the grids of grid 7 in the horizontal direction are grid 6 and grid 8, and the grids of grid 7 in the vertical direction are grid 2 and grid 12.
[0077] Multi-hop grid: refers to the grid that the current grid can reach in the horizontal or vertical direction. According to the number of hops from the current grid to the multi-hop grid, the multi-hop grid includes one-hop grid, two-hop grid, three-hop grid, etc. Figure 1 As shown, if the current grid is grid 7, the multi-hop grids of grid 7 in the horizontal direction are grid 6, grid 8, grid 9 and grid 10, and the multi-hop grids in the vertical direction are grid 2, grid 12, grid 17 and grid 22. Among them, grid 6 and grid 8 are one-hop grids in the horizontal direction of grid 7, grid 9 is a two-hop grid in the horizontal direction of grid 7, and the rest are the same, and no further examples are given.
[0078] In the related art, the path planning method is to first plan the path and then perform collision detection. Since there are multiple AGVs in the distribution grid network performing transportation tasks, if there are other AGVs blocking the AGV's path, the AGV will detect a collision while moving along the planned path, and it will need to stop and wait until there are no obstacles before moving again. The AGV stops and waits, which will take too long, resulting in low actual operating efficiency and low system freight throughput.
[0079] Based on this, the embodiment of the present application provides an automatic guided vehicle path planning method, electronic device and storage medium, which is intended to continuously perform collision detection while planning the path. In the process of path planning, when there is an obstacle in the forward direction of the AGV, it uses other grids without obstacles and can enter the earliest to move, and the AGV does not need to stop and wait. The motion path planned in this way does not have collisions, which shortens the time spent on the planned motion path, achieves high-quality path planning, and improves the system's freight throughput.
[0080] The automatic guided vehicle path planning method, electronic device and storage medium provided in the embodiments of the present application are specifically described through the following embodiments. First, the automatic guided vehicle path planning method in the embodiments of the present application is described.
[0081] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0082] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0083] The automatic guided vehicle path planning method provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the automatic guided vehicle path planning method, etc., but is not limited to the above forms.
[0084] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0085] Please refer to Figure 2 , Figure 2is an optional flow chart of the automatic guided vehicle path planning method provided in the embodiment of the present application, wherein the plane map of the automatic guided vehicle operating environment is divided into a number of grids of the same size to obtain a distribution grid network, then Figure 2 The method may include but is not limited to steps S201 to S208.
[0086] Step S201, obtaining current operation data of the automatic guided vehicle; wherein the current operation data includes: the initial grid, orientation information and initial motion state of the automatic guided vehicle on the distribution grid network;
[0087] Step S202, selecting a one-hop grid from the distribution grid network according to the initial motion state and the initial grid to obtain a first candidate grid;
[0088] Step S203, obtaining the idle time interval of the automatic guided vehicle on the initial grid to obtain a first idle time interval, and obtaining all the idle time intervals of the first candidate grid to obtain a second idle time interval sequence;
[0089] Step S204, determining the earliest timestamp when the automatic guided vehicle enters the first candidate grid based on the first idle time interval and the second idle time interval sequence, to obtain a first earliest timestamp;
[0090] Step S205, constructing first search state information of the first candidate grid according to the first earliest timestamp, the orientation information, the position information of the first candidate grid, the initial motion state and the preset movement mode, and determining the current motion state of the automatic guided vehicle according to the movement mode; wherein the movement mode is a mode in which the automatic guided vehicle moves to the first candidate grid;
[0091] Step S206, saving the first search state information to a preset first priority queue according to the first earliest timestamp, obtaining the first search state information with the smallest first earliest timestamp in the first priority queue, and obtaining the first target search state information; wherein the first target search state information corresponds to the first candidate grid and the first target grid;
[0092] Step S207: if the first target grid does not belong to the preset target position, and / or the current motion state is characterized as a moving state, then the first candidate grid is updated based on the one-hop grid of the first target grid, the first search state information of the updated first candidate grid is saved to the first priority queue, and the first search state information with the smallest first earliest timestamp in the first priority queue is obtained to obtain the updated first target grid, until the updated first target grid is the target position and the current motion state is a stationary state;
[0093] Step S208: constructing a motion path of the automatic guided vehicle according to the first search state information of the initial grid and all selected first target search state information.
[0094] In step S201 of some embodiments, Figure 3 As shown in the figure, there are three special types of grids or vertices in the distribution grid network to support tasks: 1) The pickup location S is a subset of the first row of vertices; 2) The delivery location D is a subset of the last row of vertices and is the task destination; 3) The parking buffer location I is a gray circle where the AGV is parked when idle and is the task starting point. It can be any other grid. A transportation task is a triple T = (s, d, t), where s∈S is the pickup location, d∈D is the delivery location, and t is the pickup time. T = {τ i} is the set of all current transport tasks. When there is a transport task, the target pickup location, target delivery location and target pickup time of the transport task are obtained. After reaching the target pickup time, the AGV closest to the target pickup location and idle is selected, and the motion path from the initial position to the target pickup location, the motion path from the target pickup location to the target delivery location, and the motion path from the target delivery location to the parking buffer location are planned for the AGV.
[0095] Specifically, the initial position is the position where the AGV is parked before waiting for the transportation task to be assigned, that is, the initial grid. For the convenience of description, the direction of the AGV facing the pickup position is the front, and the other directions are the back, left, and right. Figure 1 As shown, for example, grids 1-5 are pickup locations, the AGV is on grid 12, and the AGV is facing the pickup location. The orientation information of grid 12 is forward, grid 7 is in front of grid 12, and the orientation information of grid 7 is also forward. Grids 13-15 are to the right of grid 12. At this time, the orientation information of grids 13-15 is right. The orientation information of other one-hop grids or multi-hop grids is defined in the same way, which will not be repeated here.
[0096] When the AGV is parked and waiting, in order to enable the AGV to move to the target pickup location faster when assigned a transportation task, the AGV is oriented toward the pickup location while waiting. Therefore, the orientation information of the AGV on the initial grid is forward. The motion state of the AGV includes a stationary state and a moving state. If the AGV is moving when it arrives at a certain grid, it means that the motion state of the AGV on this grid is a moving state. If the AGV is stationary when it arrives at a certain grid, it means that the motion state of the AGV on this grid is a stationary state. Since the AGV is parked at the initial grid, the initial motion state of the AGV on the initial grid is a stationary state.
[0097] It should be noted that the movement of AGV is limited by the following physical laws: 1) It has a constant acceleration to accelerate and decelerate; 2) When the maximum speed limit is reached, it moves at a constant speed; 3) It changes its direction of movement at a constant rotation speed; 4) The AGV needs to stop to change the direction of travel. Based on the above restrictions, AGV has the following three actions: 1) Stay: Stay in a grid for a specified period of time; 2) Turn: Turn the direction to 90 degrees, 180 degrees or 270 degrees; 3) Move: Move to a neighbor of the current direction.
[0098] AGV path definition: An AGV path is a series of continuous actions of the AGV on a series of continuous grid nodes: p = <(v0, action0, t0), ..., (v n , action n , t n )>,(v i , action i , t i ) indicates that AGV is at t i At all times i action i . Among them, 1)(v i , v i+1 )∈Eor2)v i =v i+1 ,The first condition restricts movement to neighboring meshes along the predetermined ,direction, and the second condition allows a vertex to appear multiple times in the sequence, ,since turning actually requires decelerating to reach a vertex, turning in one direction, ,possibly staying there for a while, and then accelerating to a neighboring mesh in another ,direction.,The time associated with each mesh is the time when it takes action at the center of the mesh, and the time of subsequent ,actions should meet the kinematic constraints.
[0099] In step S202 of some embodiments, the current grid refers to the grid where the AGV is currently located. When the AGV is in a stationary state, it can take stop, turn and move actions. Therefore, it is possible to turn to any one-hop grid of the current grid in the distribution grid network. At this time, the AGV needs extra time to rotate to a one-hop grid with a different direction compared to the current direction of the AGV. When the AGV is in a moving state, whether it continues to move or stops, it can only take a moving action to move to a one-hop grid or a multi-hop grid in the same direction, but cannot turn. This is because, if the speed of the AGV is not zero, given the motion constraints, the AGV will continue to move forward due to inertia.
[0100] It should be noted that the distribution grid network is equivalent to a graph G(V, E), where V is the set of vertices representing grid centers and E is the set of edges connecting these centers to their neighboring grids. In terms of the direction of the edge, bidirectional edges have the highest connectivity, but may introduce more conflicts. Therefore, in order to reduce conflicts in real-life AGVs, edges can also be set to unidirectional edges. Figure 3 A schematic diagram of one-way edges in a distribution grid network is shown in Figure 2. Figure 3 As shown in the figure, the directions of the edges in the same row and column are the same, while the directions of the edges in adjacent rows / columns are opposite. When the edge is a unidirectional edge and the AGV is stationary, the AGV can only turn to a one-hop neighbor or a multi-hop neighbor that is allowed to pass according to the direction of the edge. In order to avoid repeated descriptions, the following only takes the bidirectional edge as an example for explanation.
[0101] Specifically, if the motion state is a stationary state, then obtain the one-hop grid of the initial grid in the horizontal direction and the vertical direction in the distribution grid network to obtain the first candidate grid. If the motion state is a moving state, then obtain the one-hop grid in the current direction of the initial grid to obtain the first candidate grid. Figure 1 As shown, in the distribution grid network, if the motion state of the AGV on grid 7 is static, the one-hop grids of grid 7 in the horizontal direction are grid 6 and grid 8, and the one-hop grids in the vertical direction are grid 2 and grid 12. If the motion state of the AGV on grid 7 is mobile, and the AGV is facing grid 8, then the one-hop grid in the current direction of grid 7 is grid 8. As can be seen from the above, the initial motion state is static, and there are four first candidate grids obtained at this time.
[0102] In step S203 of some embodiments, when an AGV begins to enter a grid, the grid is said to be occupied by the AGV. Figure 4 In (a), grid B is occupied by two AGVs at time t. Considering the shape and size of the AGVs and grids, when the AGV starts to move from the previous grid to this grid at time t1, the two grids are considered to be occupied by the current AGV. When it completely leaves the grid at time t2 and no other AGV enters, we consider the grid to be empty. j Occupies grid v i The time interval is expressed as the time interval For example Figure 4 In (b), AGV a1 leaves grid A horizontally at time t1 and arrives at the center of grid C at time t2. Then for grid B, we consider it to be occupied by the AGV in the time interval [t1, t2].
[0103] From the perspective of grid occupancy, AGV a i The path can be converted into a sequence Represents the grid v k exist AGV a i occupy.
[0104] AGV path conflict definition: Given any two AGV paths p i and p j ,if and Make Then the path p i and p j Otherwise, we call p i and p j is a conflict-free path.
[0105] In some cases, even if two AGVs occupy the same grid at the same time, there will be no collision. Figure 4 (a) shows that at time t, AGV a1 and AGV a2 both occupy grid B. At this time, AGV a1 will not collide with AGV a2. However, if AGV a1 and AGV a2 both move to the right, and AGV a1 has a higher speed, AGV a1 may collide with AGV a2 in the next moment. However, even if they move at the same speed, a collision may still occur. For example, Figure 4 In (c), if AGV a1 moves to the right and AGV a2 moves up at the same time, AGV a1 and AGV a2 will inevitably collide with each other considering the size of the actual AGV. Therefore, our definition of conflict is based on the idea that a grid can only be occupied by one AGV at any time.
[0106] Definition of valid path set: A set of AGV path set P is valid if and only if all the paths in it are conflict-free. The time difference between the end time of the last path and the start time of the earliest path is called the period M(P) of the path set P, which is an important indicator for evaluating the performance of the AGV path algorithm.
[0107] The definition of the continuous-time AGV conflict-free path planning problem considering the motion state is: Given a grid network G(V, E), a set of AGVA = {a i} and motion constraints, a set of tasks T = {τ i}, we need to find a set of valid paths P so that the cycle M(P) is as short as possible.
[0108] It should be noted that the pickup location, delivery location, and pickup time of the task are fixed and determined by the task scheduling component of the AGV system, and have nothing to do with the path planning part. More importantly, the AGV system is an online system, and tasks will appear dynamically, so planning the path in the order in which the tasks appear is in line with practical applications in real life. In addition, mechanical failures, unexpected task errors, network delays, etc. can cause system errors and thus cause collisions, so online path planning is needed to handle errors. Planning the path in the order in which the tasks appear can meet these goals.
[0109] Grid-based AGV running time. Figure 5 As shown, we start from the grid v j From the perspective of , the following four key operating moments of AGV are defined: 1) Entry time t e For AGV i Start leaving the current grid and start entering v j 2) Arrival time t a For AGV i Arrival j The time of the center point; 3) the departure time t l For AGV i Start to leave v j and enter the neighbor grid; 4) Completely leave the time t el For AGV i Completely leave v j and reaches the center of the neighboring grid. From the above definition, we know that t e and t el Yes j By AGV a i The lower and upper bounds of the time occupied. Since the diameter of the AGV is the same as the length of the grid, the time of leaving the previous grid is the same as the time of entering the next grid. We define t p =t el -t l From v j to v j Specifically, when we have a set of paths, each grid is associated with a set of consecutive intervals, and each grid is either empty or occupied.
[0110] Occupancy time interval sequence OTIS: Occupancy time interval OTI is a series of time point intervals, which is used to record the time a grid is occupied. A series of OTIs on the same grid constitutes its sequence OTIS. j 0TIS, we use To represent. Among them, v jThe kth occupied time interval of To express Is AGV a i Occupied.
[0111] Idle time interval sequence VTIS: Idle time interval VTI is a series of time point intervals, which is used to record the idle time of a grid. A series of VTIs on the same grid constitutes its sequence VTIS. j For VTIS, we use To indicate that v j The kth idle time interval of .
[0112] Since OTIS and VTIS are complementary, only one of them needs to be calculated and the other can be easily generated. Therefore, we only describe how to convert the AGV path into OTIS. First, each grid has a large idle interval in the entire time domain. When the path is generated sequentially, OTI is inserted to divide VTI into smaller parts. Assume that the grid v j The initial VTI is [0, ∞]. When the scheduled AGV occupies v within the time interval [t1, t2] j When t1 is t e , t2 is t el , [0, ∞] will be divided into two intervals: [0, t1] and [t2, ∞]. Therefore, we use VTIS (OTIS) to detect whether the planned path conflicts with the already planned path.
[0113] Specifically, when a grid is occupied, the idle time interval sequence of the grid is updated and saved, so that the idle time interval of the AGV on the initial grid can be obtained to obtain the first idle time interval, and all idle time intervals of the first candidate grid are obtained to obtain the second idle time interval sequence.
[0114] In step S204 of some embodiments, the earliest timestamp at which the automated guided vehicle can enter the first candidate grid without conflict is determined based on the first idle time interval and the second idle time interval sequence to obtain a first earliest timestamp.
[0115] Collision avoidance: In order to avoid conflicts with the already planned paths, the AGV must be in a conflict-free state when planning a new path, that is, it must be in the VTI state at all times. Next, we will introduce how to take conflict-free actions to avoid conflicts given the route arrangement. Assuming the initial conflict-free state, the AGV at time t a Arrival j , and t≤t a ≤t′, [t, t′]∈VTIS vj, we will analyze how the AGV can continue to maintain a conflict-free state when taking actions: 1) Stay action: Since the upper limit of VTI is t′, the AGV can stay at most until time t′, and if it exceeds this time, it will conflict with other scheduled paths. j The upper limit of the stay time is t′-t a ; 2) Turning action: The time it takes for the AGV to turn depends on the turning angle. We assume that the time required for turning is w. If t a +w≤t′, the AGV can perform the steering action without conflict; 3) Movement action: This action needs to ensure that the AGV passes through all the contacted grids without conflict. For example, suppose that after taking the movement action, the AGV moves from v j Move to v j One-hop neighbor v k AGV needs to be completely out of the v j and reach v k And no conflict occurs. j Move to v k The travel time t p Depends on the initial motion state of the AGV and the movement taken. j From the perspective of a +t p ≤t′, then AGV can completely leave v j . From v k From the perspective of departure, if there is a VTI = [t i , t′ i ]∈VTIS vk And satisfy t a ≥t i And t a +t p ≤t′ i , we can reach v k .
[0116] like Figure 6 As shown, v j and v k Yes i The shaded area is the interval occupied by other AGV paths previously planned. Enter v i , then the AGV enters v i Entry time Assume that the AGV is Leave v i Go to v j , then the AGV leaves v i Departure time It is also itsj The earliest possible entry time. The value of depends on the actual movement of the AGV, such as whether i Stop at and stop time, or by v i How long it will take, the direction of the neighbor grid compared to the AGV's current direction, and whether it will j stop or pass through, etc. Given a motion state, its corresponding entry v can be calculated j The details of the calculation depend on the search strategy and will be explained in detail later. k , due to v k The occupied time is longer, so AGV is in v i Waiting is to reach v k The only choice. Yes i The maximum dwell time of Enter v i . Yes j Determine the maximum dwell time, because if the AGV is completely later than Leave v i , then it cannot be completely earlier than Leave v j ,because Occupied by another AGV.
[0117] Search state: In order to find a conflict-free path, the AGV needs to take conflict-free actions in each grid. We use a triple (t, v, HD) to store the search state information, where t is the timestamp of reaching the current grid v, and HD is the direction of the AGV head when reaching grid v, which includes four orthogonal values of the forward direction. Each search state can take conflict-free actions to generate the next search state.
[0118] Obviously, in order to find the fastest path, the AGV needs to take all conflict-free actions to generate all possible states. In order to search all states, two problems need to be solved. Given a state, both the rotation action and the movement action will generate a finite number of states, but the stay action can generate an infinite number of states in a continuous environment. So the first problem is how to represent all possible stay times? In a discrete environment, the AGV stays for an integer number of time units, so the next state can be generated by increasing the stay time by 1 unit each time. We cannot enumerate all real numbers, so we use intervals to represent all possible values of the stay action in a continuous environment. Although we can use intervals to represent the stay action, the different endpoint values of the interval will also produce infinite states. So the second problem is how to determine the end value? We solve this problem from the perspective of VTIS. Before reaching the destination grid, no matter how long the AGV stays in the current grid, it must take a movement action to generate a state to reach the neighboring grid. The AGV that performs the movement action must enter the VTI of the adjacent grid, and the number of VTIs is limited. From the perspective of VTI, the AGV has the earliest and latest timestamps of entering the VTI. Therefore, we can iterate the VTIS to calculate the earliest and latest timestamps for each VTI under the condition that the AGV can stay for the corresponding time without conflict.
[0119] Based on the above analysis, we transform the infinite search state into a finite search state. We modify (t, v, HD) to (et, lt, v, HD), where et is the earliest timestamp of one of the VTIs occupying v, and lt is the latest timestamp.
[0120] Single-hop conflict-free path search algorithm. Single-hop mobility modeling: For ease of description, we use the following notation to describe the timing of AGV actions between neighbors:
[0121] ·t s : The time to stay in the current grid;
[0122] ·t m is the time to move from the current grid to the adjacent grid, A m The movement from the current grid to the adjacent grid can be decomposed into four moving sub-actions:
[0123] 1)t ma : The time to uniformly accelerate from the current grid to the adjacent grid, the action is A ma ;
[0124] 2)t md : The time to decelerate uniformly from the current grid to the adjacent grid, the action is A md ;
[0125] 3)t mu: The time to move from the current grid to the neighboring grid at a constant speed, and the action is A mu ;
[0126] 4)t mad : The time it takes to uniformly accelerate from the current grid by 1 / 2 the length of the grid, and then uniformly decelerate by 1 / 2 the length of the grid to the neighboring grid, and then stop at the neighboring grid. The action is A mad ;
[0127] ·w 0° 、w 90° 、w 180° 、w 270° : The time for rotating 0, 90, 180 and 270 degrees.
[0128] Single-hop search: In a single-hop search, we incrementally expand the search space by one hop, i.e., its immediate neighbors. In a single-hop search, the motion state and speed of the AGV affect the sub-actions (movement methods) it can take. For example, Figure 7 As shown in the figure, when the AGV is stationary, the movement mode that can be adopted is uniform acceleration (A ma ) or first uniformly accelerate and then uniformly decelerate (A mad ). If the AGV is in motion and has reached its maximum speed, the movement mode that can be adopted is uniform speed (A mu ) or uniform deceleration (A md ), otherwise, the movement method that can be adopted is uniform acceleration (A ma ), uniform speed (A mu ) or uniform deceleration (A md ). If an AGV runs at full speed (or exceeds the speed limit) in a grid and its stopping time exceeds the size of a grid, it may not be able to stop at its neighboring grid. Therefore, the movement mode and speed information are also crucial for path search, so we modify (et, lt, v, HD) to (et, lt, v, A m , speed, HD), where speed is the speed of the AGV when it reaches v. The motion state of the AGV can be obtained according to the speed, that is, when the speed is 0, the AGV is in a stationary state, otherwise it is in a moving state.
[0129] In step S205 of some embodiments, the process of constructing the first search state information is described by the following example: Figure 1 As shown in the figure, the AGV is parked on grid 12, and the orientation information is forward, and the initial motion state is static. The first candidate grids of grid 12 are grid 7, grid 11, grid 13 and grid 17. Based on the orientation information of the AGV and the position information of grid 13, it can be seen that grid 13 is to the right of the AGV, indicating that the HD of grid 13 is to the right. The movement methods that can be adopted are Ama and A mad The first earliest timestamp et1 is calculated through the collision avoidance process described above, and the first search state information of the grid 13 is obtained as (et1, grid 13, A ma , speed, right) and (et1, grid 13, A mad , speed, right). There are as many first search state information as there are moving modes. The first search state information of other first candidate grids is also obtained by the above method, which will not be repeated here.
[0130] It should be noted that the current motion state of the AGV can be determined according to the movement mode. For example, the movement mode is A mad , the AGV stops at grid 13, and the current motion state of the AGV at grid 13 is static. The movement mode is A ma When AGV passes through grid 13, the current motion state of AGV in grid 13 is moving state.
[0131] In practical applications, the information contained in the first search state information can be added or deleted according to actual needs to make the planned motion path more detailed. For example, the first latest timestamp lt1 is calculated through the collision avoidance process described above and saved in the first search state information.
[0132] In steps S206 to S207 of some embodiments, Figure 1As shown, if grid 2 is the target pickup location, and the AGV is to move from grid 12 to grid 2, then grid 2 is the preset target location. Continuing with the example in step S205, after all the first search state information of grids 7, 11, 13, and 17 are saved in the first priority queue, if the first earliest timestamp of grid 13 is the smallest, then grid 13 is the first target grid. Among them, if grid 13 has two first search state information, the first earliest timestamps in the two first search state information are equal, and only the moving modes are different, then only one of the first search state information is used as the target search state information, and the target search state information is deleted from the first priority queue. If it is determined that grid 13 is not the target location, the first candidate grid is updated based on the one-hop grid of grid 13, and the one-hop grids of grid 13 are grid 8, grid 12, grid 14, and grid 18 respectively. All the first search state information of grid 8, grid 12, grid 14 and grid 18 are obtained again and saved in the first priority queue. If the first earliest timestamp of grid 8 in the first priority queue is the smallest at this time, grid 8 is the updated first target grid, and the above steps are repeated until the updated first target grid is the target position and the current motion state is static. For example, after repeating the above steps, the first target grid obtained is grid 2, but the current motion state of the AGV in grid 2 is moving, then continue to repeat the above steps.
[0133] In step S208 of some embodiments, a motion path of the automatic guided vehicle is constructed based on the first search state information of the initial grid and all selected target search state information. Figure 1 As shown, grid 2 is the target position, the initial grid is grid 12, and the first search state information of AGV on grid 12 is (et1, grid 12, stationary state, speed1, front). The target search state information selected in sequence are (et2, grid 13, A mad , speed2, right), (et3, grid 8, A mad , speed3, front), (et4, grid 7, A mad , speed4, left), (et5, grid 2, A mad , speed5, forward). From the target position to the initial grid, the motion path is obtained as follows: Grid 2 is searched from Grid 7, Grid 7 is searched from Grid 8, Grid 8 is searched from Grid 13, and Grid 13 is searched from Grid 12. Therefore, the motion path is that the AGV turns to the right on Grid 12 and presses A from Grid 12 at speed1. mad Move in this way and reach grid 13 at et2; after the AGV stops on grid 13, turn to the front and press A from grid 13 at speed2 madMove in this way and reach grid 8 at et3; after the AGV stops on grid 8, turn to the left and press A from grid 8 at speed3 mad Move in this way, and reach grid 7 at et4; after the AGV stops on grid 7, turn to the front and press A from grid 7 at speed4 mad Move in this way and reach grid 2 in et4 and reach the target position.
[0134] Steps S201 to S208 shown in the embodiment of the present application are performed by continuously performing collision detection while planning the path, that is, in the process of planning the path, when there is an obstacle in the forward direction of the AGV, the AGV uses other grids without obstacles and can enter the earliest to move, and the AGV does not need to stop and wait. The motion path planned in this way does not have collisions, and can quickly move to the target position, so that the time spent on the planned motion path is short, high-quality path planning is achieved, and the freight throughput of the system is improved. Moreover, in the process of path planning, real time intervals are used to describe the location of the AGV at different times, which is consistent with the actual operation situation, rather than the simplified method used in the prior art, that is, time is divided into discrete time points, and the AGV can move instantly to the neighboring grid at adjacent time points. In the path planning, the operation time of acceleration, deceleration, uniform motion, rotation, etc. required in the operation of the AGV is accurately considered and calculated, so that the planned motion state is consistent with the actual motion state of the AGV. To avoid collisions, the planned AGV path is set as a dynamic obstacle on the grid during the path search process, so as to ensure that the newly planned path will not conflict with the planned path.
[0135] In the above-mentioned single-hop conflict-free path search algorithm, the large number of search states is mainly caused by the detailed motion decomposition when passing through the neighbor grid. Breaking the constraint of only looking at the direct neighbor grid, the search is changed to a destination-oriented approach, and a multi-hop conflict-free path search algorithm is proposed. The algorithm ignores the intermediate movement state and only considers when the destination can be reached. Therefore, the motion path can be planned faster and the time required for the AGV to move to the target position can be further shortened, which is specifically illustrated by the following embodiment.
[0136] See also Figure 8 In some embodiments, after step S201, the automatic guided vehicle path planning method may also include but is not limited to steps S801 to S807:
[0137] Step S801, based on the initial grid, multi-hop grids are screened out from the distribution grid network to obtain a second candidate grid; wherein the multi-hop grid is a grid that can be reached from the initial grid in the horizontal direction or the vertical direction, and the grids that the initial grid passes through to reach the second candidate grid are recorded as passable grids;
[0138] Step S802, obtaining all idle time intervals of the pass grid to obtain a third idle time interval sequence, and obtaining all idle time intervals of the second candidate grid to obtain a fourth idle time interval sequence;
[0139] Step S803, based on the first idle time interval, the third idle time interval sequence and the fourth idle time interval sequence, determining the earliest timestamp when the automatic guided vehicle enters the second candidate grid, and obtaining a second earliest timestamp;
[0140] Step S804, constructing second search state information of the second candidate grid according to the second earliest timestamp, the orientation information and the position information of the second candidate grid;
[0141] Step S805, saving the second search state information to a preset second priority queue according to the second earliest timestamp, acquiring the second search state information with the smallest second earliest timestamp in the second priority queue, and obtaining the second target search state information; wherein the second candidate grid corresponding to the second target search state information is the second target grid;
[0142] Step S806: if the second target grid does not belong to the preset target location, then update the second candidate grid based on the multi-hop grid of the second target grid, save the second search state information of the updated second candidate grid to the second priority queue, obtain the second target search state information with the second earliest timestamp smallest in the second priority queue, and obtain the updated second target grid, until the updated second target grid is the target location;
[0143] Step S807: construct a motion path of the automatic guided vehicle according to the second search state information of the initial grid and all selected second target search state information.
[0144] In step S801 of some embodiments, given a mesh network G(V, E), u∈V and v∈V, if u can be reached horizontally or vertically from v, then u is a multi-hop mesh of v. In other words, all vertices from v to the mesh boundary along the vertical or horizontal direction are multi-hop meshes of v. All multi-hop meshes of the initial mesh are screened out in the distribution mesh network to obtain a second candidate mesh. The meshes that the initial mesh passes through to reach the second candidate mesh are recorded as pass meshes. Fig. 9 As shown in (b), if the initial grid is grid A, grid D is one of the multi-hop grids of grid A, then the corresponding passing grids are grid B and grid C respectively.
[0145] In some embodiments, in step S802 to step S803, when the AGV moves from the transit grid to the second candidate grid, it is necessary to ensure that there is no conflict in the moving process. Therefore, it is necessary to perform multi-hop grid conflict detection to find the departure time without conflict in the process of moving from the initial grid to the second candidate grid, and obtain the second earliest timestamp of the automatic guided vehicle entering the second candidate grid based on the departure time and the transit time from the initial grid to the second candidate grid.
[0146] Multi-hop idle time interval sequence M-VTIS(u,v): If v is a multi-hop grid of u, then M-VTIS(u,v) is the sequence of VTIS of all grids on the path from u to v. For example, if a row of grids are u, i, j, v, then M-VTIS(u,v) refers to the sequence of all VITS of grids i, j, v.
[0147] Multi-hop grid conflict detection: A path is valid only if it can pass through all VTIs in M-VTIS. Then in order to avoid conflicts, we proposed a two-stage M-CA process. In the first forward test phase, for the current VTI of the starting grid, the current VTI of the starting grid indicates that the starting grid is conflict-free within this time range, that is, the AGV can stay at the starting grid within this time range. Use the pre-calculated travel time to reach the destination grid to obtain the VTl that can reach the destination grid. Among them, if the AGV wants to move from grid A to grid D, grid A is the starting grid and grid D is the destination grid.
[0148] In the second stage of calculating the occupied time interval, the interval that the traversed grid may actually be occupied is determined. In the first stage, we get how long it takes to wait at the starting grid to reach the VTI of the destination grid, which means that the waiting time at the starting grid has a valid range. As long as you set off within this range, you can reach the VTI of the destination grid. According to this range, we check the occupancy of all the passing grids between the starting grid and the destination grid. Specifically, taking a specific time point as an example, suppose we set off from a valid time t of the starting grid A and enter the next passing grid B. Since the passing time is calculated in advance, we can know the occupied time of grid B from time t. If this occupied time is included in a VTI of grid B, it means that grid B can be passed without conflict. Otherwise, it means that time t cannot be used as the departure time point, but since the departure time of the starting grid is an interval, the interval can be used to calculate and adjust the time point that can be set off, and at the same time calculate the occupied time interval of each passed grid.
[0149] In step S804 of some embodiments, the process of constructing the second search state information is similar to the process of constructing the first search state information described above. The difference is that the multi-hop conflict-free path search algorithm no longer uses speed information, so (et, v, HD) is used as the second search state information. For example, grid D is a multi-hop grid of grid A, the AGV is facing forward on grid A, and grid D is to the right of the AGV. If the second earliest timestamp of grid A moving to grid D is et1, the second search state information of grid D is (et1, grid D, right).
[0150] Multi-hop search state: The difference between multi-hop search and single-hop search at the state level is that in multi-hop search, the only way for the AGV to move from the current grid to its multi-hop grid is to first accelerate at a constant speed and then decelerate at a constant speed. Therefore, the AGV has only one motion state on the grid: static state. For example, Fig. 9 As shown in (b), D is the three-hop grid of A. After the AGV receives the instruction to move to grid D at grid A, it will execute this movement action and reach grid D as quickly as possible and stay at grid D. Therefore, in the multi-hop search, the AGV is in a stationary state on the multi-hop grid. Therefore, each multi-hop grid has only one second search state information.
[0151] Multi-hop search actions: As for the actions, it can be stay, turn or move, where stay and turn are incorporated into the collision avoidance process. Therefore, there is only one action: move. Therefore, it has much fewer actions than single-hop search. Since the action is reduced to moving from one grid to another, the time required to reach the destination and all grids in between can be pre-calculated / measured and directly used. That is, a set of such information is pre-calculated for each multi-hop grid. For example, Fig. 9 In (b), C is a two-hop mesh of A, and the travel time required to enter B and C, leave A and B, and arrive at C is pre-calculated; for the three-hop mesh D, the time to enter B, C, D, the time to leave A, B, C, and the travel time to D are pre-calculated. It should be noted that these travel times are shared by all multi-hop meshes with the same number of hops, that is, the travel time required for meshes with the same number of hops is the same, so the space complexity is O(max{m 2 , n 2}).
[0152] Shared multi-hop grid collision detection: For long-distance intermediate grids in the same direction, since the AGV moves in the same way (accelerate to the maximum speed and keep moving at that speed), all the travel times from the starting grid to up to two or three grids (depending on the deceleration and maximum speed) ahead of the destination grid are the same. For example, for 8-hop grids and 9-hop grids, their travel time from 1-hop grid to 5-hop grid or 6-hop grid is the same. Therefore, we can reuse the collision avoidance results of these intermediate grids. It can reduce the number of secondary calls of the collision avoidance process to linear, and is particularly effective in long-distance tasks because the number of consecutive grids in real warehouses may be hundreds.
[0153] In steps S805 to S807 of some embodiments, the second search state information is saved in the second priority queue in the order of the second earliest timestamp from small to large. Each time, the first second search state information in the queue is taken out to obtain the second target search state information, and the second candidate grid corresponding to the second target search state information is the second target grid. If the second target grid is not the preset target position, the second candidate grid is updated based on the multi-hop grid of the second target grid, and the second search state information of the updated second candidate grid is saved in the second priority queue. The second target search state information with the smallest second earliest timestamp in the second priority queue is obtained to obtain the updated second target grid until the updated second target grid is the target position. The motion path of the automatic guided vehicle is constructed based on the second search state information of the initial grid and all the selected second target search state information. The specific construction process is similar to the construction process of the single-hop search algorithm, which will not be repeated here.
[0154] In steps S801 to S807 of this embodiment, collision detection is continuously performed while planning the path. That is, in the process of planning the path, when there is an obstacle in the forward direction of the AGV, the AGV moves by using other grids without obstacles and that can be entered first, and the AGV does not need to stop and wait. The movement path planned in this way does not have collisions, and can quickly move to the target position, so that the time spent on the planned movement path is short, high-quality path planning is achieved, and the freight throughput of the system is improved.
[0155] See also Fig.10 In some embodiments, the automatic guided vehicle path planning method may also include but is not limited to steps S1001 to S1002:
[0156] Step S1001: if there is no second earliest timestamp in the first idle time interval, the corresponding second candidate grid is recorded as the selected grid;
[0157] Step S1002, obtaining a target hop count and a target direction of the selected grid, and determining that the second candidate grid does not include a grid with a target hop count not less than the target hop count in the target direction.
[0158] In step S1001 of some embodiments, Figure 1 As shown, if the initial grid is grid 11, the idle time interval on grid 11 where the AGV is currently located is the first idle time interval. If there is a conflict when the AGV moves to grid 13 within the first idle time interval, it means that there is no second earliest timestamp for entering grid 13, and grid 13 is recorded as the selected grid.
[0159] In step S1002 of some embodiments, the above example is continued for explanation, grid 13 is a 2-hop grid of grid 11, and therefore, the target hop count of grid 13 is 2. If grid 13 is to the right of the AGV, the target direction is to the right. The grids with a target hop count not less than the target hop count in the target direction are grid 13, grid 14, and grid 15, and the second candidate grids of grid 11 do not include grid 13, grid 14, and grid 15, and there is no need to obtain the second search state information of grid 13, grid 14, and grid 15.
[0160] In the steps S1001 to S1002 shown in this embodiment, when the second earliest timestamp of the AGV entering the second candidate grid cannot be found during the multi-hop grid conflict detection process, all subsequent multi-hop grids do not need to construct the second search state information, which helps to shorten the time of each multi-hop grid conflict detection.
[0161] See also Fig.11 In some embodiments, the automatic guided vehicle path planning method may also include but is not limited to steps S1101 to S1108:
[0162] Step S1101, if the column number of the second candidate grid is greater than the column number of the target position, the corresponding second candidate grid is recorded as the selected grid;
[0163] Step S1102, determining a first rotation time according to the orientation information, the position information of the selected grid and a preset rotation time mapping table;
[0164] Step S1103, obtaining a first travel time for the automatic guided vehicle to reach the selected grid according to the number of hops between the initial grid and the selected grid and a preset hop time mapping table;
[0165] Step S1104, determining the earliest timestamp of the automatic guided vehicle entering the selected grid according to the first idle time interval, the first rotation time and the first passing time, to obtain a third earliest timestamp;
[0166] Step S1105, constructing third search state information of the selected grid according to the third earliest timestamp, the orientation information and the position information of the second candidate grid;
[0167] Step S1106, saving the third search state information into the second priority queue according to the third earliest timestamp;
[0168] Step S1107, if the selected grid is the second target grid, determining the earliest timestamp of the automatic guided vehicle entering the selected grid based on the first idle time interval, the third idle time interval sequence and the fourth idle time interval sequence, to obtain a fourth earliest timestamp;
[0169] Step S1108: update the third search status information according to the fourth earliest timestamp.
[0170] In some embodiments, in steps S1101 to S1106, if the column number of the second candidate grid is greater than the column number of the target position, the corresponding second candidate grid is recorded as the selected grid, and multi-hop grid conflict detection is not performed on the selected grid. The time of moving from the initial grid to the selected grid without conflict is used as the third earliest timestamp of the AGV entering the selected grid. The third search state information of the selected grid is then constructed by the above-mentioned method of constructing the search state information and saved in the second priority queue.
[0171] Specifically, when the selected grid is not in front of the AGV, the AGV needs extra time to rotate to the direction of the selected grid. If the AGV's direction information is forward, according to the position information of the selected grid, the selected grid is to the right of the AGV, which means that the AGV needs to rotate 90° clockwise. According to the rotation time mapping table, the corresponding first rotation time w is obtained. If the AGV is at time t a Arrival i , and t≤t a ≤t′, [t, t′]∈VTIS vi AGV from v i Move to v j The first required travel time is t b , then the third earliest timestamp is t a +w+t b .
[0172] In some embodiments, in steps S1107 to S1108, if the second target grid is the selected grid, multi-hop grid conflict detection is performed based on the first idle time interval, the third idle time interval sequence, and the fourth idle time interval sequence, and if there is a possibility of conflict, the fourth earliest timestamp at which the AGV enters the selected grid without conflict is determined. The third search state information is then updated according to the fourth earliest timestamp, that is, the third earliest timestamp is replaced with the fourth earliest timestamp.
[0173] In steps S1101 to S1108 shown in this embodiment, since each grid has many multi-hop grids, a large number of search states may be generated. Moreover, the farther the multi-hop grid is, the more search states are created, which further increases the calculation time of multi-hop grid conflict detection. In fact, most of these search states are useless. Therefore, in order to reduce the calculation time, multi-hop grid conflict detection is not performed on the selected grid, and the time of moving from the initial grid to the selected grid without conflict is used as the third earliest timestamp of the AGV entering the selected grid. When the selected grid is the second target grid, it means that the selected grid may be the grid involved in the path planning, and the fourth earliest timestamp of the AGV entering the selected grid without conflict is calculated, which reduces the calculation time of multi-hop grid conflict detection.
[0174] See also Fig.12 In some embodiments, the automatic guided vehicle path planning method further includes but is not limited to steps S1201 to S1206:
[0175] Step S1201, determining the grids that the automatic guided vehicle passes through based on the motion path, and obtaining occupied grids;
[0176] Step S1202, obtaining a second rotation time according to the orientation information, the position information of the occupied grid and a preset rotation time mapping table;
[0177] Step S1203, obtaining a second travel time for the automatic guided vehicle to reach the occupied grid according to the number of hops between the initial grid and the occupied grid and a preset hop time mapping table;
[0178] Step S1204, determining the departure time of the initial grid according to the earliest timestamp and the second travel time; wherein the earliest timestamp includes the first earliest timestamp or the second earliest timestamp;
[0179] Step S1205, obtaining an occupied time interval of the occupied grid according to the departure time, the second rotation time and the second travel time;
[0180] Step S1206: updating the idle time interval sequence of the occupied grid according to the occupied time interval.
[0181] In steps S1201 to S1203 of some embodiments, after the motion path of the AGV is obtained, the AGV needs to move according to the motion path. The grids contained in the motion path are the grids that the AGV needs to pass through, and these grids are recorded as occupied grids. If the position of the occupied grid is consistent with the orientation of the AGV, there is no need to rotate. If not, it is necessary to determine the second rotation time. The specific determination process of the second rotation time and the second passage time is consistent with the above.
[0182] In step S1204 of some embodiments, if the motion path is obtained according to a single-hop conflict-free path search algorithm, the earliest timestamp is the first earliest timestamp; if the motion path is obtained according to a multi-hop conflict-free path search algorithm, the earliest timestamp is the second earliest timestamp; the difference between the earliest timestamp and the second travel time is the departure time of the initial grid.
[0183] In steps S1205 to S1206 of some embodiments, the occupied time interval of the initial grid can be obtained according to the second rotation time and the departure time of the initial grid, and the occupied time intervals of other occupied grids can be obtained according to the departure time and the second travel time. The idle time interval sequence of the occupied grid is updated according to the occupied time interval, so that in the path planning process of the next AGV, the earliest timestamp of entering the grid can be selected according to the updated idle time interval sequence, thereby planning a short time and conflict-free motion path.
[0184] In practical applications, a heuristic conflict-free path search can be performed. First, the heuristic arrival time of the destination is used instead of the actual arrival time to help reduce the search space. Specifically, we use the heuristic arrival time v.et+g(v,d) as the sorting key of the grid v in the second priority queue, such as Fig. 9 As shown in (c), g(s,g) is the fastest possible time from grid s to grid g in an empty network, where no other AGVs are blocking the network. Because the heuristic arrival time is always no later than the actual arrival time, it does not affect the correctness, but can improve efficiency. Secondly, in order to reduce the number of multi-hop grids, the number of columns of the multi-hop grid can be limited to no more than the destination. For example, in Fig. 9 In (c), the multi-hop grid does not include any grid to the right of column g.
[0185] See also Fig.13 In some embodiments, the transport task includes multiple transport subtasks, each transport subtask includes a target pickup location and a target delivery location, and the target delivery locations of the transport subtasks of the same transport task are the same, and the target locations include a target pickup location and a target delivery location. The automatic guided vehicle path planning method may also include but is not limited to steps S1301 to S1303:
[0186] Step S1301, obtaining transport subtasks, assigning pickup locations to the transport subtasks in the order of the same transport task, and obtaining pickup location column numbers; wherein the pickup location column numbers correspond to target pickup locations;
[0187] Step S1302, setting the delivery location according to the pickup location column numbers of all transport subtasks of the same transport task and the number of target pickup locations to obtain the delivery location column numbers;
[0188] Step S1303: the delivery location corresponding to the delivery location column number is the target delivery location.
[0189] In step S1301 of some embodiments, in real life, a transportation task o i It consists of multiple transport subtasks Each transport subtask has its own target pickup location and target pickup time The transport subtasks belonging to the same transport task should go to the same target delivery location d i So that the items can be packed together. Therefore a transport task o i Can be considered a super task Obviously, when the transport task o i A transportation subtask τ in i If it has not been completed, then its target delivery location is d i This will temporarily reduce the number of available terminal locations and reduce the performance of the entire system. Therefore, all transportation subtasks are required to be started continuously in the same order in the system. On the other hand, we should also distribute the task endpoints to avoid too many AGVs crowding in a small congestion area.
[0190] Specifically, for example, transport task 1 includes three transport subtasks, namely transport subtask A, transport subtask B and transport subtask C, and transport task 2 includes three transport subtasks, namely transport subtask D, transport subtask E and transport subtask F. Then the pickup positions assigned to transport subtask A, transport subtask B and transport subtask C are numbered 1, 2 and 3 respectively, and the pickup positions assigned to transport subtask D, transport subtask E and transport subtask F are numbered 4, 5 and 6 respectively.
[0191] In some embodiments, in step S1302 to step S1303, the above example is continued, such as Fig.14 As shown in the figure, the sum of the pickup location column numbers of all transport subtasks of transport task 1 is 6, the number of target pickup locations is 3, and the delivery location column number is 2. The sum of the pickup location column numbers of all transport subtasks of transport task 2 is 15, the number of target pickup locations is 3, and the delivery location column number is 5. Set the delivery location corresponding to the delivery location column number as the target delivery location.
[0192] Steps S1301 to S1303 shown in this embodiment can shorten the path required for the AGV to move as much as possible by reasonably arranging the target pickup location and the target delivery location for each transport subtask, reduce cross-channel collisions and one-way distance, and further improve the system's freight throughput.
[0193] Please refer to Fig.15 In some embodiments, after the automated guided vehicle moves to the target delivery location according to the motion path, the automated guided vehicle path planning method may also include but is not limited to steps S1501 to S1502:
[0194] Step S1501, setting a parking buffer position according to a preset number according to the delivery position column number; wherein the column number of the parking buffer position is the same as the delivery position column number;
[0195] Step S1502, after the automatic guided vehicle arrives at the target delivery location and completes the delivery, the automatic guided vehicle is controlled to move to a parking buffer location and park.
[0196] In step S1501 of some embodiments, if the AGV moves to the target delivery location and stops at the location to wait for the next task, it will cause too many AGVs to crowd in a small congested area. Therefore, parking locations should be assigned to AGVs, but if a fixed parking location is assigned to each AGV, the AGV must return to its parking location after delivery before it can be assigned to the next task. Obviously, this strategy is not flexible enough because it may cause the pickup location of the AGV's next task to be far away from the parking location, resulting in an increase in completion time.
[0197] An improvement to fixed parking spaces is to provide flexible parking locations. AGVs do not have fixed parking locations, but can park at any vacant location close to their delivery location after completing a delivery. However, when tasks are unevenly distributed in space and time, AGVs may still go to a farther location when all grids near the delivery location are occupied.
[0198] To further increase the availability of parking spaces, a parking buffer strategy is proposed. Specifically, since the parking position must take an upward position (moving more directly towards the pickup location), the column containing the parking position is blocked to a certain extent by it. In addition, the AGV will eventually have to go upward to the pickup location, so these "lanes" are the only way to go. Therefore, we can take advantage of this property and add more parking buffer positions along the column of the current delivery, thereby multiplying the number of parking positions. This way, when the AGV completes the delivery, it has a greater chance of choosing the parking position closest to it, thereby taking as few detours as possible. In addition, the parking buffer works like a queue, so every time an AGV is assigned a task and moves away, the AGVs in the buffer will move up one by one to take up space.
[0199] Specifically, if the distribution grid network is a 50×50 grid, the first row is the pickup location, the 50th row is the delivery location, and if the row and column where the target delivery location is located is (50,2), then the column number of the delivery location is column 2. If the preset number is 3, the parking buffer locations can be set at (49,2), (47,2), and (45,2) respectively, as long as the column number of the parking buffer location is the same as the column number of the delivery location.
[0200] In step S1502 of some embodiments, if there is no AGV parked in the frontmost parking buffer position, after the AGV reaches the target delivery location and completes the delivery, the AGV is controlled to move to the frontmost parking buffer position and park.
[0201] In steps S1501 to S1502 shown in this embodiment, by setting the parking buffer position, congestion of AGVs can be avoided and the time for AGVs to complete tasks can be shortened.
[0202] See also Fig.16 , Fig.16 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0203] The processor 1601 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0204] The memory 1602 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1602 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1602, and the processor 1601 calls and executes the automatic guided vehicle path planning method of the embodiment of this application;
[0205] Input / output interface 1603, used to implement information input and output;
[0206] The communication interface 1604 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0207] A bus 1605 that transmits information between various components of the device (e.g., the processor 1601, the memory 1602, the input / output interface 1603, and the communication interface 1604);
[0208] The processor 1601 , the memory 1602 , the input / output interface 1603 and the communication interface 1604 are connected to each other in communication within the device via the bus 1605 .
[0209] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned automatic guided vehicle path planning method is implemented.
[0210] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0211] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0212] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0213] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0214] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0215] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application 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 application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0216] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0217] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0218] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0219] In addition, each functional unit in each embodiment of the present application 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.
[0220] 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 storage medium. Based on this understanding, the technical solution of the present application is essentially 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 storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0221] The preferred embodiments of the present application are described above with reference to the accompanying drawings, but the scope of the rights of the present application is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present application should be within the scope of the rights of the present application.
Claims
1. A method for automatic guided vehicle path planning, characterized in that: Dividing the plane map of the automatic guided vehicle operating environment into a plurality of grids of the same size to obtain a distribution grid network, the method comprising: Acquire current operation data of the automatic guided vehicle; wherein the current operation data includes: the initial grid, orientation information and initial motion state of the automatic guided vehicle on the distribution grid network; Filtering a one-hop grid from the distribution grid network according to the initial motion state and the initial grid to obtain a first candidate grid; Acquire the idle time interval of the automatic guided vehicle currently on the initial grid to obtain a first idle time interval, and acquire all the idle time intervals of the first candidate grid to obtain a second idle time interval sequence; Determine the earliest timestamp of the automatic guided vehicle entering the first candidate grid based on the first idle time interval and the second idle time interval sequence to obtain a first earliest timestamp; Constructing first search state information of the first candidate grid according to the first earliest timestamp, the orientation information, the position information of the first candidate grid, the initial motion state and a preset moving mode, and determining the current motion state of the automatic guided vehicle according to the moving mode; wherein the moving mode is a mode in which the automatic guided vehicle moves to the first candidate grid; The first search state information is saved to a preset first priority queue according to the first earliest timestamp, and the first search state information with the smallest first earliest timestamp in the first priority queue is obtained to obtain the first target search state information; wherein the first candidate grid corresponding to the first target search state information is the first target grid; If the first target grid does not belong to the preset target position, and / or the current motion state is characterized as a moving state, the first candidate grid is updated based on the one-hop grid of the first target grid, the first search state information of the updated first candidate grid is saved in the first priority queue, and the first search state information with the smallest first earliest timestamp in the first priority queue is obtained to obtain the updated first target grid, until the updated first target grid is the target position and the current motion state is a stationary state; The motion path of the automatic guided vehicle is constructed according to the first search state information of the initial grid and all the selected first target search state information.
2. The method according to claim 1, characterized in that After obtaining the current operation data of the automatic guided vehicle, the method further comprises: According to the initial grid, a multi-hop grid is selected from the distribution grid network to obtain a second candidate grid; wherein the multi-hop grid is a grid that can be reached from the initial grid in the horizontal direction or the vertical direction, and the grid that the initial grid passes through to reach the second candidate grid is recorded as a pass grid; Acquire all idle time intervals of the passable grid to obtain a third idle time interval sequence, and acquire all idle time intervals of the second candidate grid to obtain a fourth idle time interval sequence; Based on the first idle time interval, the third idle time interval sequence and the fourth idle time interval sequence, determining an earliest timestamp when the automatic guided vehicle enters the second candidate grid to obtain a second earliest timestamp; Constructing second search state information of the second candidate grid according to the second earliest timestamp, the orientation information, and the position information of the second candidate grid; The second search state information is saved to a preset second priority queue according to the second earliest timestamp, and the second search state information with the smallest second earliest timestamp in the second priority queue is obtained to obtain the second target search state information; wherein the second candidate grid corresponding to the second target search state information is the second target grid; If the second target grid does not belong to the preset target location, the second candidate grid is updated based on the multi-hop grid of the second target grid, the second search state information of the updated second candidate grid is saved in the second priority queue, the second target search state information with the smallest second earliest timestamp in the second priority queue is obtained, and the updated second target grid is obtained, until the updated second target grid is the target location; The motion path of the automatic guided vehicle is constructed according to the second search state information of the initial grid and all the selected second target search state information.
3. The method according to claim 2, characterized in that The method further comprises: If the second earliest timestamp does not exist within the first idle time interval, the corresponding second candidate grid is recorded as a selected grid; The target hop count and target direction of the selected grid are obtained, and it is determined that the second candidate grid does not include a grid with a hop count not less than the target hop count in the target direction.
4. The method according to claim 2, characterized in that: The method further comprises: If the column number of the second candidate grid is greater than the column number of the target position, the corresponding second candidate grid is recorded as the selected grid; Determining a first rotation time according to the orientation information, the position information of the selected grid and a preset rotation time mapping table; Obtaining a first travel time for the automatic guided vehicle to reach the selected grid according to the number of hops between the initial grid and the selected grid and a preset hop time mapping table; Determine, according to the first idle time interval, the first rotation time, and the first passage time, an earliest timestamp at which the automatic guided vehicle enters the selected grid, to obtain a third earliest timestamp; constructing third search state information of the selected grid according to the third earliest timestamp, the orientation information and the position information of the second candidate grid; Saving the third search state information into the second priority queue according to the third earliest timestamp; If the selected grid is the second target grid, determining the earliest timestamp of the automatic guided vehicle entering the selected grid based on the first idle time interval, the third idle time interval sequence and the fourth idle time interval sequence to obtain a fourth earliest timestamp; The third search state information is updated according to the fourth earliest timestamp.
5. The method according to claim 1 or 2, characterized in that: The method further comprises: Determine the grids passed by the automatic guided vehicle based on the motion path to obtain occupied grids; Obtaining a second rotation time according to the orientation information, the position information of the occupied grid and a preset rotation time mapping table; Obtaining a second travel time for the automatic guided vehicle to reach the occupied grid according to the number of hops between the initial grid and the occupied grid and a preset hop time mapping table; Determine the departure time of the initial grid according to the earliest timestamp and the second travel time; wherein the earliest timestamp includes the first earliest timestamp or the second earliest timestamp; Obtaining an occupied time interval of the occupied grid according to the departure time, the second rotation time and the second travel time; The idle time interval sequence of the occupied grid is updated according to the occupied time interval.
6. The method according to claim 1, characterized in that The method further comprises: If the initial motion state is a stationary state, determining the moving mode is uniform acceleration or uniform acceleration followed by uniform deceleration; If the initial motion state is a moving state, and the automatic guided vehicle has reached a maximum speed in the initial grid, the moving mode is determined to be a uniform speed or a uniform deceleration; otherwise, the moving mode is determined to be a uniform acceleration, a uniform speed or a uniform deceleration.
7. The method according to claim 1 or 2, characterized in that: The transport task includes a plurality of transport subtasks, each of which includes a target pickup location and a target delivery location, and the target delivery locations of the transport subtasks of the same transport task are the same, and the target locations include the target pickup location and the target delivery location; the method further includes: Acquire the transport subtasks, assign pickup locations to the transport subtasks according to the order of the same transport task, and obtain pickup location column numbers; wherein the pickup location column numbers correspond to the target pickup locations; The delivery location is set according to the pickup location column numbers and the target pickup location quantity of all the transport subtasks of the same transport task to obtain the delivery location column number; The delivery location corresponding to the delivery location column number is the target delivery location.
8. The method according to claim 7, characterized in that After the automatic guided vehicle moves to the target delivery location according to the motion path, the method further comprises: According to the delivery position column number, parking buffer positions are set in a preset number; wherein the column number of the parking buffer position is the same as the delivery position column number; After the automatic guided vehicle arrives at the target delivery location and completes the delivery, the automatic guided vehicle is controlled to move to the parking buffer location and park.
9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the automatic guided vehicle path planning method according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the automatic guided vehicle path planning method according to any one of claims 1 to 8 is implemented.
