AMR / AGV hybrid scheduling method for future factories
By planning the AGV path and scheduling AMR clearance based on the Dijkstra algorithm based on Q-learning, the problem of low accuracy in AGV operation process control is solved, and the collaboration and item handling efficiency of hybrid scheduling of AGV and AMR are improved.
Patent Information
- Application Number
- CN202410859253.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-28
AI Technical Summary
The AGV operation process control accuracy in the existing technology is low, resulting in the AGV being unable to dynamically adjust its path in real time, which reduces the collaboration and item handling efficiency of hybrid scheduling of AGV and AMR.
The Dijkstra algorithm based on Q-learning is used to plan the optimal path of the AGV, monitor the operating status of the AGV in real time, decide whether to re-plan the path based on the obstacle removal time and the arrival time of the AGV's re-planned path, and schedule the AMR to clear the obstacle. To improve the scheduling coordination and item handling efficiency of AGV and AMR.
It improves the accuracy of AGV work process control, enhances the synergy between AGV and AMR, improves item handling efficiency, and avoids reduction in transportation efficiency caused by obstacles.
Smart Images

Figure CN118394022B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart factories, and in particular to an AMR / AGV hybrid scheduling method for future factories. Background Art
[0002] In future factories that use multiple AGVs for material delivery and AMRs for material handling, conflicts between AGVs are prone to occur, as well as dynamic emergencies such as order insertion and equipment failure. These will disrupt the original scheduling plan and even affect the normal operation of the entire manufacturing system. The hybrid scheduling of AMR and AGV in traditional technology is mainly based on the fact that the integrated AGV transportation time is the shortest time in a static environment and a fixed single path. It does not consider the path selection of AGVs, the coordination between AMR and AGVs, the conflict resolution of AGVs, and the interference of dynamic events such as emergency order insertion and equipment failure in the system.
[0003] Chinese patent application publication number: CN113253715A discloses a hybrid scheduling method and system for unmanned forklifts and AGVs, which belongs to the field of scheduling operation technology, including: the workstation master control machine receives the production task instructions sent by the Internet of Vehicles server; the forklift server dispatches the forklift to the workstation area to pick up materials and deliver them to the docking point; the AGV server dispatches the AGV vehicle to arrive at the docking point synchronously with the forklift; the forklift returns to the forklift garage along the original route to wait for the next cycle instruction; the AGV vehicle returns to the AGV vehicle garage along the original route to wait for the next cycle instruction. This invention realizes hybrid scheduling of unmanned forklifts and AGVs under the same map while ensuring the normal operation of logistics operations and different equipment. It reduces the manual intervention of task control between equipment operations, shortens the response time, ensures the effective interaction of equipment during the operation, and solves the current gap in the field on the market.
[0004] It can be seen that the existing technology has the problem of low accuracy in controlling the operation process of AGV, which results in the inability of AGV to dynamically adjust the path in real time, causing low synergy in the mixed scheduling of AGV and AMR, and reducing the efficiency of item handling. Summary of the invention
[0005] To this end, the present invention provides an AMR / AGV hybrid scheduling method for future factories, so as to overcome the problem that the low accuracy of the AGV operation process control in the prior art leads to the inability of the AGV to dynamically adjust the path in real time, resulting in low synergy between AGV and AMR hybrid scheduling and reduced item handling efficiency.
[0006] To achieve the above objectives, the present invention provides an AMR / AGV hybrid scheduling method for future factories, comprising:
[0007] Receive a handling task, determine the target location based on the handling task, and determine the AGV that performs the handling task based on the current AGV task status and the path planning algorithm, wherein the path planning algorithm executes the Q-learning-based Dijkstra algorithm to plan the optimal path for the AGV;
[0008] Controlling the AGV to run along the optimal path so that the AGV moves from the current position to the target position;
[0009] During the movement of the AGV, the operating status of the AGV is monitored in real time, and whether to re-plan the optimal path from the position of the AGV to the target position is determined according to whether an obstacle is detected in the optimal path during the movement of the AGV, wherein whether to execute the re-planned optimal path is determined according to the removal time of the obstacle and the arrival time of the re-planned optimal path of the AGV;
[0010] Determine whether to dispatch the AMR that is the shortest distance from the obstacle location and is not in a task state to the obstacle location to clear the obstacle based on the obstacle removal time, and determine whether to transport the obstacle to the corresponding target location or move it to a location outside the AGV operation path based on the state of the obstacle;
[0011] After determining the AGV that performs the handling task, determine the cargo transfer AMR that cooperates with the AGV to perform the handling task based on the AGV arrival time corresponding to the optimal path, wherein the AGV arrival time is re-determined according to the change of the optimal path of the AGV to re-determine the cargo transfer AMR, or the AGV arrival time is re-determined according to the obstacle removal work to re-determine the cargo transfer AMR;
[0012] The adjustment amount of the scheduling parameters of the AGV and AMR is determined according to the fluctuation evaluation value of the task consistency between the AGV and the AMR.
[0013] Furthermore, the steps of planning the optimal path through the Q-learning-based Dijkstra algorithm include:
[0014] Determine the current position and target position of each AMR / AGV;
[0015] Get the path grid of the AMR / AGV mobile environment;
[0016] Multiple interactions with the environment form discrete time sequences;
[0017] Find the best way to achieve the goal so that the total discounted reward is maximized;
[0018] Calculate the time it takes for the AGV / AMR to reach the target location;
[0019] The optimal path is determined based on the time to reach the target location.
[0020] Furthermore, when determining whether to execute the re-planned optimal path, it includes:
[0021] Recalculate the first arrival time of the current path according to the obstacle removal time;
[0022] Replanning the best path from the AGV's location to the target location based on the current location and the target location, and obtaining a second arrival time after the best path is replanned;
[0023] Whether to execute the re-planned optimal path is determined according to the comparison result of the first arrival time and the second arrival time.
[0024] Furthermore, when determining whether to dispatch the AMR that is the shortest distance to the obstacle location and is not in a working state to the obstacle location to perform obstacle clearance work, it is determined to dispatch the AMR that is the shortest distance to the obstacle location and is not in a task state to the obstacle location to perform obstacle clearance work based on a comparison result that the obstacle removal time is greater than or equal to a preset time.
[0025] Further, the step of determining, according to the state of the obstacle, whether to transport the obstacle to a corresponding target position or to a position outside the AGV operation path includes:
[0026] According to the state of the obstacle being an idle state, the obstacle is transported to a position outside the AGV operation path;
[0027] According to the state of the obstacle, which is the task state or the item drop state, the obstacle is transported to the corresponding target location.
[0028] Furthermore, the optimal path is the path with the shortest time among the paths for each AMR / AGV to complete the current task and move to the target location.
[0029] Furthermore, the determining of the cargo transfer AMR that cooperates with the AGV to perform the handling task includes:
[0030] Get the current task status time of each AMR;
[0031] Calculate the best path for each AMR to move to the target location;
[0032] Determine the arrival time of each AMR at the target location based on the current task state time of the AMR and the time corresponding to the best path for the AMR to move to the target location;
[0033] The cargo transfer AMR that cooperates with the AGV to perform the handling task is determined based on the comparison result of the time difference between the arrival time of the AGV and the arrival time of each AMR at the target location and the preset time difference.
[0034] Furthermore, the determination of the adjustment amount of the scheduling parameters of the AGV and the AMR includes:
[0035] Determining whether to adjust the preset time difference according to a comparison result of the volatility evaluation value of the task consistency degree and a preset evaluation value;
[0036] Whether to adjust the preset evaluation value is determined according to a comparison result between an expectation of the volatility evaluation value of the task consistency degree calculated several times and a preset evaluation value.
[0037] Furthermore, the volatility evaluation value is determined according to the number of objects detected within a preset number of times, for which the time taken to reach the target location from the starting location and complete the transportation is not within a preset time range.
[0038] Furthermore, the adjustment amount of the preset time difference is negatively correlated with the volatility evaluation value of the task consistency degree, and the adjustment amount of the preset evaluation value is positively correlated with the expectation.
[0039] Compared with the prior art, the beneficial effect of the present invention lies in that the present invention determines whether it is necessary to re-plan the optimal path from the AGV's position to the target position according to whether there are obstacles in the optimal path of the AGV, and determines whether to re-plan the optimal path from the AGV's position to the target position by judging whether there are obstacles in the optimal path which increases the time for the AGV to reach the target position, thereby improving the accuracy of the AGV's working process control and thereby improving the efficiency of item handling.
[0040] Furthermore, the present invention recalculates the first arrival time when the AGV continues to travel along the current path to the target position based on the obstacle removal time and compares the second arrival time when the AGV arrives at the target position along the re-planned optimal path between the current position and the target position to determine whether the AGV executes the re-planned optimal path. By selecting the optimal path with the shortest time to reach the target position through the above method, the accuracy of control over the AGV working process is improved, thereby improving the efficiency of handling items.
[0041] Furthermore, the present invention determines the removal of the obstacle based on the obstacle removal time. If the obstacle is a faulty AGV traveling on the running path, then according to the time when the obstacle drives out of the running path, it is determined whether to dispatch the AMR that is the shortest distance to the obstacle position and is not in a task state to the obstacle position to perform obstacle removal work. If the time is greater than or equal to the preset time, it means that the driving speed of the faulty AGV is slow and affects the transportation efficiency of other AGVs. At this time, it is necessary to dispatch the AMR to perform obstacle removal work. If the obstacle is a faulty AGV stopped on the running path or spilled items stay on the running path, it is determined to dispatch the AMR to perform obstacle removal work. The above method avoids the phenomenon that the transportation efficiency of other AGVs cannot be affected by the existence of obstacles on the running path and the obstacles cannot be removed in time, thereby improving the synergy of the mixed scheduling of AGV and AMR and thus improving the transportation efficiency of items.
[0042] Furthermore, the present invention determines to transport the obstacle to a position outside the operating path or a corresponding target position according to the state of the obstacle. If the obstacle is an AGV in an idle state, the faulty AGV is transported to a position outside the operating path for maintenance. If the obstacle is in a task state or an item is dropped, the obstacle is transported to the corresponding target position to avoid transporting a faulty AGV in a task state to a position outside the operating path, which requires re-dispatching the AGV to transport the item to the corresponding target position, thereby reducing the transportation efficiency of the items. The above method improves the synergy of the mixed scheduling of AGV and AMR, thereby improving the transportation efficiency of the items.
[0043] Furthermore, when determining the AGV to perform the handling task, the present invention determines the cargo transfer AMR that cooperates with the AGV to perform the handling task based on the comparison result of the time difference between the arrival time of the AGV and the arrival time of each AMR at the target location and the preset time difference. If the time difference between the arrival time of the AGV and the arrival time of the AMR is less than the preset time difference, the comparison result determines that the AMR can be used as the cargo transfer AMR for the handling task; if the time difference between the arrival time of the AGV and the arrival time of the AMR is greater than or equal to the preset time difference, the comparison result determines that the AMR cannot be used as the cargo transfer AMR for the handling task. The above method can avoid the need to wait due to the large difference between the arrival time of the AMR and the arrival time of the AGV, which reduces the working efficiency of the AMR and AGV. The above method improves the coordination of the mixed scheduling of AGV and AMR, thereby improving the transportation efficiency of goods.
[0044] Furthermore, the present invention determines the eligibility of the AMR / AGV mixed scheduling process according to the volatility evaluation value of the degree of consistency of AGV and AMR tasks. If the volatility evaluation value is greater than or equal to the preset evaluation value, it means that the efficiency of AMR and AGV in transporting and handling items during mixed scheduling is low. At this time, it is necessary to adjust the scheduling parameters in the mixed scheduling process. The above method can quickly obtain the eligibility of the mixed scheduling process and then adjust the mixed scheduling process to improve the transportation efficiency of items.
[0045] Furthermore, the present invention takes into account that the functionality of AGVs and AMRs will decline with increasing usage time, resulting in a gradual increase in the volatility evaluation value of the task consistency degree. Therefore, based on the comparison between the expected and preset evaluation values of the volatility evaluation values of the task consistency degree calculated several times, it is determined whether the preset evaluation value needs to be adjusted, thereby improving the accuracy of the control of the mixed scheduling process of AGVs and AMRs and thereby improving the transportation efficiency of items. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 This is a workflow diagram of the AMR / AGV hybrid scheduling method for future factories according to an embodiment of the present invention;
[0047] Figure 2 This is a workflow diagram of step S1 of the AMR / AGV hybrid scheduling method for future factories according to an embodiment of the present invention;
[0048] Figure 3 A workflow diagram for determining whether to execute a re-planned optimal path in an AMR / AGV hybrid scheduling method for future factories according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0050] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0051] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0052] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0053] See also Figure 1-Figure 3 As shown, Figure 1 This is a workflow diagram of the AMR / AGV hybrid scheduling method for future factories according to an embodiment of the present invention; Figure 2 This is a workflow diagram of step S1 of the AMR / AGV hybrid scheduling method for future factories according to an embodiment of the present invention; Figure 3 A workflow diagram for determining whether to execute a re-planned optimal path in an AMR / AGV hybrid scheduling method for future factories according to an embodiment of the present invention.
[0054] The AMR / AGV hybrid scheduling method for future factories according to an embodiment of the present invention includes:
[0055] Step S1, receiving a handling task, determining a target location based on the handling task, and determining an AGV to perform the handling task based on the current task status of the AGV and a path planning algorithm, wherein the path planning algorithm executes a Q-learning-based Dijkstra algorithm to plan the optimal path for the AGV;
[0056] Step S2, controlling the AGV to run along the optimal path so that the AGV moves from the current position to the target position;
[0057] Step S3, during the movement of the AGV, the operating status of the AGV is monitored in real time, and whether to re-plan the optimal path from the position of the AGV to the target position is determined according to whether an obstacle is detected in the optimal path during the movement of the AGV, wherein whether to execute the re-planned optimal path is determined according to the removal time of the obstacle and the arrival time of the re-planned optimal path of the AGV;
[0058] Step S4, determining whether to dispatch an AMR that is the shortest distance from the obstacle location and is not in a task state to the obstacle location to clear the obstacle based on the obstacle removal time, and determining whether to transport the obstacle to the corresponding target location or move it to a location outside the AGV operation path based on the state of the obstacle;
[0059] Step S5, after determining the AGV that performs the handling task, determine the cargo transfer AMR that cooperates with the AGV to perform the handling task based on the AGV arrival time corresponding to the optimal path, wherein the AGV arrival time is re-determined according to the change of the optimal path of the AGV to re-determine the cargo transfer AMR, or the AGV arrival time is re-determined according to the obstacle clearance work to re-determine the cargo transfer AMR;
[0060] Step S6, determining the adjustment amount of the scheduling parameters of the AGV and the AMR according to the fluctuation evaluation value of the task consistency degree of the AGV and the AMR.
[0061] Specifically, in step S1, the step of planning the optimal path by using the Q-learning-based Dijkstra algorithm includes:
[0062] Step S1101, determining the current position and target position of each AMR / AGV;
[0063] Step S1102, obtaining a path grid of the AMR / AGV mobile environment;
[0064] Step S1103, performing multiple interactions with the environment to form a discrete time series;
[0065] Step S1104, finding the best method to achieve the goal so as to maximize the total discount reward;
[0066] Step S1105, calculating the time it takes for the AGV / AMR to reach the target location;
[0067] Step S1106, determining the optimal path based on the time to reach the target location.
[0068] The optimal path planning by the Q-learning-based Dijkstra algorithm described in the embodiment of the present invention includes: the path of the AGV / AMR is composed of many regularly arranged nodes, and the AGV / AMR needs to make a choice from the current node to the next node in sequence until the target point. The AGV / AMR forms a discrete time series st, at, rt+1, st+1, at+1, rt+2... through multiple interactions with the environment, where st represents the current state of the AGV / AMR, at represents the action taken based on the state st, rt+1 represents the reward obtained by taking the action at, and then reaches the state st+1, and so on. This process is called a Markov decision process (MDP). MDP is a five-tuple〈S, A, P, R, 〉, where S is a finite state set; A represents an action set; P is a state transition probability matrix; R is a reward, including immediate rewards ( , represents the reward for taking action a to move from state s to s′) and the total discounted reward ( , representing the cumulative reward from the starting point to the target point); is the discount factor. The state value function represents the expected total discounted reward in state s:
[0069]
[0070] The above formula is the Bellman Equation derived from the value function and is the core of solving the path planning problem. The AGV / AMR continuously interacts with the environment according to the above formula to select the best path from the starting point to the target point. The value function of a certain state s consists of two parts: the expected immediate reward Rt+1 at the next moment and the expected value of the state st+1 at the next moment. The value function is:
[0071]
[0072] In the above formula, represents the probability of taking action at in state st and reaching state st+1; represents the reward obtained by taking action at and reaching state st+1; (0 ≤ ≤ 1) represents the attenuation rate; represents the state value of the state adjacent to state st.
[0073] For the m×n rasterized reward matrix (RRM), it is as follows:
[0074]
[0075] In the formula, Rij (i, j < m, n) represents the reward of a certain node, where -r represents an obstacle node that cannot be occupied by the AGV / AMR, r2 represents that the node is the target point, and r is a positive integer; - represents that the node is obstacle-free and can be occupied by the AGV / AMR, where is a positive integer and ≤ r.
[0076] For the m×n rasterized transition probability matrix (RTPM), Pij (i, j < m, n) represents the probability that the AGV reaches state sij as follows:
[0077]
[0078] The goal is to find the best way to reach the goal in the environment so that the total discounted reward Gt is maximized. The goal of the path planning problem is not only to maximize Gt. The distance between each two adjacent nodes in the environment (i.e. the size of the grid) is Lgrid, the longitudinal length of the AGV / AMR is Lagv, and the moving speed is v. Therefore, the time it takes for the AGV / AMR to pass through each two adjacent nodes is tc=(Lgrid+Lagv) / v, and the total moving time T is:
[0079]
[0080] In the formula, nc represents the total number of nodes in the path, nu represents the number of turns in the path, and tu represents the time it takes for the AGV / AMR to turn at a node. The optimal strategy for path planning is to find a path that minimizes the optimal path to the target point, that is:
[0081] .
[0082] Specifically, in step S3, when determining whether to re-plan the optimal path from the AGV's location to the target location, it is determined whether to re-plan the optimal path from the AGV's location to the target location based on whether an obstacle is detected in the optimal path during the AGV's movement;
[0083] If an obstacle is detected in the optimal path during the movement of the AGV, it is determined that the optimal path from the location of the AGV to the target location needs to be replanned;
[0084] If no obstacle is detected in the optimal path during the movement of the AGV, it is determined that there is no need to replan the optimal path from the position of the AGV to the target position.
[0085] The present invention determines whether it is necessary to re-plan the optimal path from the AGV's position to the target position based on whether there are obstacles in the optimal path of the AGV. By judging whether there are obstacles in the optimal path that increase the time for the AGV to reach the target position, the optimal path from the AGV's position to the target position is re-planned, which improves the accuracy of the AGV's working process control and thereby improves the efficiency of article handling.
[0086] Specifically, in step S3, when determining whether to execute the re-planned optimal path, it includes:
[0087] Recalculate the first arrival time T1 of the current path according to the obstacle removal time;
[0088] Replanning the best path from the AGV's location to the target location according to the current location and the target location, and obtaining a second arrival time T2 after the best path is replanned;
[0089] Determine whether to execute the re-planned optimal path according to the comparison result of the first arrival time T1 and the second arrival time T2;
[0090] If T1>T2, then determine the best path for replanning;
[0091] If T1≤T2, it is determined that the AGV waits until the obstacle is removed and then continues to travel along the current optimal path.
[0092] It can be understood that T1 and T2 can be determined according to the obstacle removal time and the above-mentioned path planning algorithm. The obstacle removal time in the embodiment of the present invention includes the time when the faulty AGV drives out of the running path at a speed lower than the normal speed, the stop time of the faulty AGV in the running path, and the residence time of the objects spilled from the AGV in the running path. For example, the driving speed of the faulty AGV is 1m / s, the driving speed of the normal speed AGV is 5m / s, and the time when the faulty AGV drives out of the running path at 1m / s is 120s, then the obstacle removal time is 120s, the stop time of the faulty AGV in the running path and the residence time of the objects spilled from the AGV in the running path can be set to the historical average value of the obstacle removal time, but the above-mentioned values are not limited to this, and those skilled in the art can also adjust the values according to actual needs.
[0093] The present invention recalculates the first arrival time for the AGV to continue traveling along the current path to the target position based on the obstacle removal time and compares the second arrival time for the AGV to arrive at the target position along the re-planned optimal path between the current position and the target position to determine whether the AGV executes the re-planned optimal path. The above method selects the optimal path with the shortest time to reach the target position, which improves the accuracy of control over the AGV working process and thereby improves the efficiency of handling items.
[0094] Specifically, in step S4, when determining whether to dispatch the AMR that is the shortest distance from the obstacle position and is not in a working state to the obstacle position to perform obstacle removal work, it is determined to dispatch the AMR that is the shortest distance from the obstacle position and is not in a task state to the obstacle position to perform obstacle removal work according to the comparison result that the obstacle removal time W is greater than or equal to the preset time W0;
[0095] In a specific embodiment, it is set that:
[0096] If W≥W0, it is determined that the AMR that is the shortest distance from the obstacle location and is not in a task state needs to be dispatched to the obstacle location to perform obstacle clearance work;
[0097] If W<W0, it is determined that there is no need to dispatch the AMR that is the shortest distance from the obstacle location and is not in a task state to the obstacle location to perform obstacle clearance work;
[0098] Among them, the value range of the preset time W0 is set to 5 minutes to 15 minutes, and the value of the preset time W0 is preferably 6 minutes, but the above value is not limited to this, and technical personnel in this field can also adjust the value according to actual needs.
[0099] The present invention determines the removal of the obstacle according to the obstacle removal time. If the obstacle is a faulty AGV traveling on the running path, then according to the time when the obstacle drives out of the running path, it is determined whether to dispatch the AMR that is the shortest distance to the obstacle position and is not in a task state to the obstacle position to perform obstacle removal work. If the time is greater than or equal to the preset time, it means that the driving speed of the faulty AGV is slow and affects the transportation efficiency of other AGVs. At this time, it is necessary to dispatch the AMR to perform obstacle removal work. If the obstacle is a faulty AGV stopped on the running path or spilled items stay on the running path, it is determined to dispatch the AMR to perform obstacle removal work. The above method avoids the phenomenon that the transportation efficiency of other AGVs cannot be affected by the existence of obstacles on the running path and the obstacles cannot be removed in time, thereby improving the synergy of the mixed scheduling of AGV and AMR and thus improving the transportation efficiency of items.
[0100] Specifically, in step S4, when determining to transport the obstacle to the corresponding target position or to move it to a position outside the AGV operation path, it is determined to transport the obstacle to the corresponding target position or to move it to a position outside the AGV operation path according to the state of the obstacle;
[0101] If the state of the obstacle is an idle state, it is determined to transport the obstacle to a position outside the AGV operation path;
[0102] If the state of the obstacle is a task state or an item drop state, it is determined to transport the obstacle to the corresponding target location.
[0103] In the embodiment of the present invention, the idle state refers to the state in which the AGV is not carrying any items, the task state refers to the state in which the AGV is carrying any items, the item dropped state refers to the state in which the item falls on the running path and is in a stationary state, and the corresponding target position is the target position to be reached by the AGV carrying the item or the dropped item.
[0104] The present invention determines whether to transport the obstacle to a position outside the operating path or a corresponding target position according to the state of the obstacle. If the obstacle is an AGV in an idle state, the faulty AGV is transported to a position outside the operating path for maintenance. If the obstacle is in a task state or an item is dropped, the obstacle is transported to the corresponding target position to avoid transporting a faulty AGV in a task state to a position outside the operating path, which requires re-dispatching the AGV to transport the item to the corresponding target position, thereby reducing the transportation efficiency of the items. The above method improves the synergy of the mixed scheduling of AGV and AMR, thereby improving the transportation efficiency of the items.
[0105] Specifically, in step S5, when determining the AGV to perform the handling task, the cargo transfer AMR that cooperates with the AGV to perform the handling task is determined based on the AGV arrival time corresponding to the optimal path; the determination of the cargo transfer AMR that cooperates with the AGV to perform the handling task includes:
[0106] Step S5101, obtaining the current task state time of each AMR, wherein if the current task state of the AMR is idle, its current task state time is 0, and if the current task state of the AMR is working, its current task state time is determined according to the total task duration and the completion percentage of the current task, which can be determined by any method in the prior art, which will not be described in detail here;
[0107] Step S5102, calculating the best path for each AMR to move to the target location, which is determined according to the above-mentioned path planning algorithm;
[0108] Step S5103, determining the arrival time of each AMR to the target location based on the current task state time and the time corresponding to the optimal path;
[0109] Step S5104, determining the cargo transfer AMR that cooperates with the AGV to perform the handling task according to the comparison result of the time difference D between the arrival time of the AGV and the arrival time of each AMR at the target location and the preset time difference D0;
[0110] If D<D0, it is determined that the AMR can be used as a cargo transfer AMR for the handling task;
[0111] If D ≥ D0, it is determined that the AMR cannot be used as a cargo transfer AMR for the handling task;
[0112] Among them, the value range of the preset time difference D0 is set to 30 seconds to 120 seconds, and the value of the preset time difference is preferably 40 seconds, but the above value is not limited to this. Technical personnel in this field can also adjust the value according to actual needs. If the arrival time of the AGV is earlier than the arrival time of the AMR to the target position, the time difference D is positive; if the arrival time of the AGV is later than the arrival time of the AMR to the target position, the time difference D is negative.
[0113] In the embodiment of the present invention, if there are multiple cargo transfer AMRs that can be used to perform the handling task, the AMR with the smallest time difference between the arrival time of the AGV and the arrival time of each AMR at the target location is selected to cooperate with the AGV to perform the handling task.
[0114] When determining the AGV to perform the handling task, the present invention determines the cargo transfer AMR that cooperates with the AGV to perform the handling task based on the comparison result of the time difference between the arrival time of the AGV and the arrival time of each AMR at the target location and the preset time difference. If the time difference between the arrival time of the AGV and the arrival time of the AMR is less than the preset time difference, the comparison result determines that the AMR can be used as the cargo transfer AMR for the handling task; if the time difference between the arrival time of the AGV and the arrival time of the AMR is greater than or equal to the preset time difference, the comparison result determines that the AMR cannot be used as the cargo transfer AMR for the handling task. The above method can avoid the need to wait due to the large difference between the arrival time of the AMR and the arrival time of the AGV, which reduces the working efficiency of the AMR and AGV. The above method improves the synergy of the mixed scheduling of AGV and AMR, thereby improving the transportation efficiency of goods.
[0115] Specifically, in step S6, when determining the adjustment amount of the scheduling parameters of the AGV and the AMR, it includes:
[0116] Determine the adjustment amount of the scheduling parameters of the AGV and the AMR according to a first comparison result of the volatility evaluation value P of the task consistency degree of the AGV and the AMR and the preset evaluation value P0;
[0117] Determine the adjustment amount of the scheduling parameters of the AGV and the AMR according to the second comparison result of the volatility evaluation value P of the task consistency degree of the AGV and the AMR with the preset evaluation value P0 and the first comparison result of the expected E of the volatility evaluation value of the task consistency degree calculated several times with the preset evaluation value P0;
[0118] The scheduling parameters of the AGV and AMR in the embodiment of the present invention include a preset time difference and a preset evaluation value.
[0119] In a specific embodiment, it is set that:
[0120] P≥P0 is the first comparison result of the volatility evaluation value of the task consistency between AGV and AMR and the preset evaluation value;
[0121] P<P0 is the second comparison result of the volatility evaluation value of the task consistency between the AGV and the AMR and the preset evaluation value;
[0122] E≥P0 is a first comparison result of the expected volatility evaluation value of the task consistency calculated several times and the preset evaluation value;
[0123] E<P0 is a second comparison result of the expected volatility evaluation value of the task consistency degree calculated several times and the preset evaluation value.
[0124] In a specific embodiment, it is set that:
[0125] If P≥P0, it is determined that the preset time difference is adjusted by the first adjustment coefficient K1;
[0126] If P<P0, it is determined to make a secondary determination on the adjustment of the scheduling parameters of the AGV and AMR;
[0127] Among them, the scheduling parameters include a preset time difference and a preset evaluation value. The value range of the preset evaluation value P0 is set to 0 to 0.4. The value of the preset evaluation value P0 is preferably 0.3, but the above value is not limited to this. Technical personnel in this field can also adjust the value according to actual needs.
[0128] Specifically, the volatility evaluation value P of the task consistency is calculated by the following formula:
[0129] ;
[0130] Among them, Yimax represents the five maximum numbers of items detected within the preset number of times that the time for reaching the target position from the starting position and completing the transportation is not within the preset time range, and Yjmin represents the five minimum numbers of items detected within the preset number of times that the time for reaching the target position from the starting position and completing the transportation is not within the preset time range. The preset number of times can be set to 15 times. For example, if the number of items that reach the target position from the starting position and complete the transportation within 15 detection times is not within the preset time range, respectively, 10, 11, 18, 19, 13, 14, 24, 8, 2, 6, 21, 28, 4, 7, and 10, then Y1max= 28, Y2max=24, Y3max=21, Y4max=19, Y5max=18, Y1min=2, Y2min=4, Y3min=6, Y4min=7, Y5min=8, the preset time range is set to 10 seconds. For example, the planned time for an item to reach the target location from the starting position and complete the transportation is 240 seconds, but the actual time for the item to reach the target location from the starting position and complete the transportation is 255 seconds. It is determined that the time for the item to reach the target location from the starting position and complete the transportation is not within the preset time range, but the above value is not limited to this. Those skilled in the art may also adjust the value according to actual needs.
[0131] The present invention determines the eligibility of the AMR / AGV mixed scheduling process according to the volatility evaluation value of the degree of consistency of AGV and AMR tasks. If the volatility evaluation value is greater than or equal to the preset evaluation value, it means that the efficiency of AMR and AGV in transporting and handling items during mixed scheduling is low. At this time, it is necessary to adjust the scheduling parameters in the mixed scheduling process. The above method can quickly obtain the eligibility of the mixed scheduling process and then adjust the mixed scheduling process to improve the transportation efficiency of items.
[0132] Specifically, in step S6, when determining to make a secondary judgment on the adjustment of the scheduling parameters of the AGV and the AMR, it is determined whether to adjust the scheduling parameters of the AGV and the AMR according to the comparison result of the expected E of the volatility evaluation value of the task consistency calculated several times and the preset evaluation value P0;
[0133] If E≥P0, it is determined that the preset evaluation value is adjusted by the second adjustment coefficient K2;
[0134] If E<P0, it is determined that the scheduling parameters of AGV and AMR will not be adjusted.
[0135] The expectation of the volatility evaluation value of the task consistency degree calculated several times in the embodiment of the present invention can be selected as the average value of the volatility evaluation value of the task consistency degree obtained by 10 calculations. For example, the volatility evaluation values of the task consistency degree obtained by 10 calculations are 0.21, 0.23, 0.35, 0.28, 0.31, 0.40, 0.18, 0.25, 0.36, 0.32, and 0.20 respectively, then the expectation of the volatility evaluation value of the task consistency degree is 0.309.
[0136] Specifically, the first adjustment coefficient K1 is calculated and set by the following formula:
[0137] ;
[0138] The second adjustment coefficient K2 is calculated and set by the following formula:
[0139]
[0140] The adjusted preset time difference D0' is set to D0'=K1×D0;
[0141] The adjusted preset evaluation value P0' is set to PO'=K2×P0.
[0142] The present invention takes into account that the functionality of AGVs and AMRs will decline with increasing usage time, resulting in a gradual increase in the volatility evaluation value of the degree of task consistency. Therefore, based on the comparison between the expected and preset evaluation values of the volatility evaluation values of the degree of task consistency calculated several times, it is determined whether the preset evaluation value needs to be adjusted, thereby improving the accuracy of the control of the mixed scheduling process of AGVs and AMRs and thereby improving the transportation efficiency of items.
[0143] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0144] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A hybrid AMR / AGV scheduling method for future factories, characterized in that: include: Receive a handling task, determine the target location based on the handling task, and determine the AGV that performs the handling task based on the current AGV task status and the path planning algorithm, wherein the path planning algorithm executes the Q-learning-based Dijkstra algorithm to plan the optimal path for the AGV; Controlling the AGV to run along the optimal path so that the AGV moves from the current position to the target position; During the movement of the AGV, the operating status of the AGV is monitored in real time, and whether to re-plan the optimal path from the position of the AGV to the target position is determined according to whether an obstacle is detected in the optimal path during the movement of the AGV, wherein whether to execute the re-planned optimal path is determined according to the removal time of the obstacle and the arrival time of the re-planned optimal path of the AGV; Determine whether to dispatch the AMR that is the shortest distance from the obstacle location and is not in a task state to the obstacle location to clear the obstacle based on the obstacle removal time, and determine whether to transport the obstacle to the corresponding target location or move it to a location outside the AGV operation path based on the state of the obstacle; After determining the AGV that performs the handling task, determine the cargo transfer AMR that cooperates with the AGV to perform the handling task based on the AGV arrival time corresponding to the optimal path, wherein the AGV arrival time is re-determined according to the change of the optimal path of the AGV to re-determine the cargo transfer AMR, or the AGV arrival time is re-determined according to the obstacle removal work to re-determine the cargo transfer AMR; Determine the adjustment amount of the scheduling parameters of the AGV and AMR according to the volatility evaluation value of the task consistency between the AGV and the AMR; When determining whether to perform a replanning of the best path, include: Recalculate the first arrival time of the current path according to the obstacle removal time; Replanning the best path from the AGV's location to the target location based on the current location and the target location, and obtaining a second arrival time after the best path is replanned; Determining whether to execute the re-planned optimal path according to a comparison result of the first arrival time and the second arrival time; If the first arrival time is greater than the second arrival time, determining an optimal path for performing replanning; If the first arrival time is less than or equal to the second arrival time, it is determined that the AGV waits until the obstacle is removed and then continues to travel along the current best path; The determining of the cargo transfer AMR that cooperates with the AGV to perform the handling task includes: Get the current task status time of each AMR; Calculate the best path for each AMR to move to the target location; Determine the arrival time of each AMR at the target location based on the current task state time of the AMR and the time corresponding to the best path for the AMR to move to the target location; Determine the cargo transfer AMR that cooperates with the AGV to perform the handling task according to the comparison result of the time difference between the arrival time of the AGV and the arrival time of each AMR at the target location and the preset time difference; The step of determining the adjustment amount of the scheduling parameters of the AGV and the AMR includes: Determining whether to adjust the preset time difference according to a comparison result of the volatility evaluation value of the task consistency degree and a preset evaluation value; Determining whether to adjust the preset evaluation value according to a comparison result of the expected volatility evaluation value of the task consistency calculated several times and the preset evaluation value; The volatility evaluation value is determined according to the number of objects detected within a preset number of times that the time taken to reach the target location from the starting location and complete the transportation is not within a preset time range; The adjustment amount of the preset time difference is negatively correlated with the volatility evaluation value of the task consistency degree, and the adjustment amount of the preset evaluation value is positively correlated with the expectation.
2. The AMR / AGV hybrid scheduling method for future factories according to claim 1 is characterized in that: The steps of planning the optimal path through the Q-learning-based Dijkstra algorithm include: Determine the current position and target position of each AMR / AGV; Get the path grid of the AMR / AGV mobile environment; Multiple interactions with the environment form discrete time sequences; Find the best way to achieve the goal so that the total discounted reward is maximized; Calculate the time it takes for the AGV / AMR to reach the target location; The optimal path is determined based on the time to reach the target location.
3. The AMR / AGV hybrid scheduling method for future factories according to claim 2 is characterized in that: When determining whether to dispatch an AMR that is the shortest distance from the obstacle location and is not in a working state to the obstacle location to perform obstacle clearance work, it is determined based on a comparison result that the obstacle removal time is greater than or equal to a preset time that the AMR that is the shortest distance from the obstacle location and is not in a task state is dispatched to the obstacle location to perform obstacle clearance work.
4. The AMR / AGV hybrid scheduling method for future factories according to claim 3 is characterized in that: The step of transporting the obstacle to a corresponding target position or moving the obstacle to a position outside the AGV operation path according to the state of the obstacle includes: According to the state of the obstacle being an idle state, the obstacle is transported to a position outside the AGV operation path; According to the state of the obstacle, which is the task state or the item drop state, the obstacle is transported to the corresponding target location.
5. The AMR / AGV hybrid scheduling method for future factories according to claim 2 is characterized in that: The optimal path is the path with the shortest time among the paths for each AMR / AGV to complete the current task and move to the target location.
