A method, device and storage medium for controlling AGV driving
By detecting loops in the AGV driving route and adjusting the priority of locking points, the problem of interlocking loops when multiple AGVs are driving is solved and the driving efficiency of AGVs is improved.
Patent Information
- Application Number
- CN201910812855.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-30
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2039-08-30
AI Technical Summary
The existing software locking point system cannot effectively avoid congestion when multiple AGVs are traveling at the same time, resulting in interlocking loops of vehicles and low efficiency.
By obtaining the locked walking point queue of each AGV, detect whether it forms a loop with the walking point queues of other AGVs, adjust the lock point priority to avoid the occurrence of loops, and generate a pre-locked walking point queue to ensure that the AGV Follow the route that locks successfully.
It effectively avoids the interlocking loop phenomenon in the AGV driving route and improves the efficiency and production efficiency of AGV driving.
Smart Images

Figure CN112445217B
Abstract
Description
Technical Field
[0001] The present application relates to the field of warehousing and logistics, and in particular to a method, device and storage medium for controlling the travel of an AGV. Background Art
[0002] Automated Guided Vehicle (AGV) is widely used in automated logistics systems due to its high efficiency, simple structure, strong controllability and good safety. In the scenario of controlling AGV based on code point walking, the AGV's driving plan depends on the software lock point system. However, the existing software lock point system does not consider the congestion problem that may occur when multiple AGVs are driving at the same time. For example, when the driving routes of multiple AGVs are Figure 1 As shown in the embodiment 100 in the embodiment 100, the current points of the AGVs numbered 1, 2 and 3 are a, b and c respectively, and the next driving points that need to be locked and moved are b, c and d respectively. At this time, AGV4 is at point e, and the next driving points are d and a respectively. If AGV4 enters point d at this time, the four AGVs form an interlocking ring scene. On busy routes, it is easy for multiple vehicles to interlock into a ring, resulting in vehicle congestion and low efficiency. Summary of the invention
[0003] The embodiment of the present application provides a method for controlling the travel of an AGV, which overcomes the problem of multiple vehicles interlocking into a loop and causing congestion due to poor selection of the AGV travel route.
[0004] The method includes:
[0005] Get the locked travel point queue of each AGV;
[0006] According to the locked walking point queue of each AGV, the walking points that need to be pre-locked are determined in the unlocked walking point queues corresponding to each AGV, and a pre-locked walking point queue is generated;
[0007] Detecting whether the walking point in the pre-locked walking point queue of each AGV and the locked walking point queues of other AGVs form a loop;
[0008] Determine the walking points that do not form a loop as walking points that have successfully locked points, and record the walking points that have successfully locked points;
[0009] The walking point queue composed of the walking points with successful locking points is sent to the corresponding AGV, so that the AGV travels along the walking point queue composed of the walking points with successful locking points.
[0010] Optionally, according to the first-in-first-out principle, the continuous walking points whose number meets the preset number of locking points are obtained from the unlocked walking point queue corresponding to each AGV;
[0011] Determine whether each of the continuous walking points whose number obtained meets the preset number of locking points is in the queue of locked walking points of other AGVs, and determine the walking points that meet the preset number of locking points and are not in the queue of locked walking points of other AGVs and are continuous as walking points that need to be pre-locked.
[0012] Optionally, it is detected whether the first directed path formed between the tail walking point and the secondary tail walking point in the pre-locked walking point queue of each AGV constitutes a loop in the directed path network graph, wherein the directed path network graph is composed of the directed paths formed between the tail walking point in the locked walking point queue and the head walking point in the unlocked walking point queue of the other AGVs except the AGV that needs to be detected for looping.
[0013] Optionally, the directed path network graph is formed by selecting the tail walking point in the locked walking point queue of the other AGV and the head walking point in the unlocked walking point queue;
[0014] Marking a first directed path formed by each AGV between the last walking point and the second last walking point in the pre-locked walking point queue in the directed path network graph;
[0015] It is detected whether the first directed path forms a loop in the directed path network graph.
[0016] Optionally, when the first directed path forms a loop in the directed path network graph, the other walking points in the pre-locked walking point queue of the AGV corresponding to the first directed path except the tail walking point are determined as walking points with successful locking;
[0017] When the first directed path does not form a loop in the directed path network graph, the walking point in the pre-locked walking point queue of the AGV corresponding to the first directed path is determined as a walking point with successful locking.
[0018] Optionally, when it is detected that the walking point in the pre-locked walking point queue of any one of the AGVs forms a loop with the locked walking point queues of the other AGVs, and when the AGV corresponding to the walking point forming the loop is outside the loop, the tail walking point in the pre-locked walking point queue of the AGV corresponding to the first directed path is recorded as the walking point at which the locking point of the other AGV traveling on the loop is successfully locked.
[0019] In another embodiment of the present invention, a device for controlling the travel of an AGV is provided, the device comprising:
[0020] An acquisition module is used to acquire the locked travel point queue of each AGV;
[0021] A generating module, for determining the walking points that need to be pre-locked in the unlocked walking point queues corresponding to each of the AGVs according to the locked walking point queues of each AGV, and generating the pre-locked walking point queues;
[0022] A detection module, used for detecting whether the walking point in the pre-locked walking point queue of each AGV and the locked walking point queues of other AGVs form a loop;
[0023] A recording module, used for determining the walking points that do not form a loop as walking points with successful locking points, and recording the walking points with successful locking points;
[0024] The sending module is used to send the walking point queue composed of the walking points with successful locking points to the corresponding AGV, so that the AGV travels along the walking point queue composed of the walking points with successful locking points.
[0025] Optionally, the generation module includes:
[0026] An acquisition unit, configured to acquire, in accordance with a first-in-first-out principle, continuous walking points whose number satisfies a preset number of locking points in the unlocked walking point queue corresponding to each AGV;
[0027] The first determination unit is used to determine whether each of the continuous walking points whose number obtained meets the preset number of locking points is in the queue of locked walking points of other AGVs, and to determine the walking points that meet the preset number of locking points and are not in the queue of locked walking points of other AGVs and are continuous as walking points that need to be pre-locked.
[0028] In another embodiment of the present invention, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium stores instructions, and when the instructions are executed by a processor, the processor executes each step in the above-mentioned method for controlling the travel of an AGV.
[0029] In another embodiment of the present invention, a terminal device is provided, including a processor, wherein the processor is used to execute each step in the above-mentioned method for controlling the travel of an AGV.
[0030] As can be seen above, based on the above embodiments, firstly, the locked walking point queue of each AGV is obtained, and secondly, according to the locked walking point queue of each AGV, the walking points that need to be pre-locked are determined in the unlocked walking point queue corresponding to each AGV, and a pre-locked walking point queue is generated. Further, it is detected whether the walking points in the pre-locked walking point queue of each AGV and the locked walking point queues of other AGVs form a loop, and then the walking points that do not form a loop are determined as walking points with successful locking points, and the walking points with successful locking points are recorded. Finally, the walking point queue composed of the recorded walking points with successful locking points is sent to the corresponding AGV, so that the AGV travels along the walking point queue composed of the walking points with successful locking points. The embodiment of the present application monitors in real time whether the driving route of each AGV may form a loop, and adjusts the priority of the locking point according to whether a loop is formed, so as to avoid the occurrence of a loop, improve the intelligence of controlling the driving route of the AGV, select the optimal driving route for the AGV, and thereby improve production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A schematic diagram showing a plurality of AGVs interlocked into a ring provided by the embodiment 100 of the present application is shown;
[0033] Figure 2 A schematic flow chart of a method for controlling AGV travel provided by embodiment 200 of the present application is shown;
[0034] Figure 3 A schematic diagram showing a specific process of a method for controlling AGV travel provided by embodiment 300 provided by the present application;
[0035] Figure 4A schematic diagram showing that the embodiment 400 of the present application further provides a device for controlling the travel of an AGV;
[0036] Figure 5 A schematic diagram of a terminal device provided by embodiment 500 of the present application is shown. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0038] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention 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 implementation of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0039] Based on the problems in the prior art, the embodiment of the present application provides a method for controlling the travel of AGVs, which is mainly applicable to the field of warehousing and logistics. By real-time detection of whether the pre-locked travel points of each AGV may have an interlocking loop scenario, and when an interlocking loop scenario may exist, the priority of the travel points is adjusted so that the AGV outside the loop has a lower priority than the AGV on the loop, thereby avoiding the occurrence of an interlocking loop scenario.
[0040] The technical solution of the present invention is described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Figure 2 As shown, it is a flow chart of a method for controlling AGV driving provided by embodiment 200 of the present application. The detailed steps are as follows:
[0041] S21, obtaining the locked travel point queue of each AGV.
[0042] In this step, in order to more efficiently and quickly determine the position of the AGV, the scene in which the AGV walks in the embodiment of the present application is generally a ground with multiple walking points, and the distance between adjacent walking points is a preset distance. The walking point can be an actual walking point marked on the ground, or a virtual walking point marked on a map. The current position of the AGV is determined by which walking point the AGV is traveling on.
[0043] Furthermore, the queue of travel points currently locked by each AGV is obtained in real time. Among them, the travel points in the locked travel point queue are the travel points that the corresponding AGV can travel to and will not form an interlocking loop with the travel points locked by other AGVs. That is, the travel points in the locked travel point queue corresponding to each AGV will not form an interlocking loop, and no loop determination is required.
[0044] S22, according to the locked walking point queue of each AGV, determine the walking points that need to be pre-locked in the unlocked walking point queues corresponding to each AGV, and generate a pre-locked walking point queue.
[0045] In this step, the locked walking point queue of each AGV and the corresponding unlocked walking point queue constitute the overall driving route of each AGV. The unlocked walking point queue corresponding to each AGV is determined by the path planning system, and the path planning system determines the driving route of each AGV. Among them, the walking points in the unlocked walking point queue may be interlocked with the walking points that have been locked by other AGVs. Furthermore, in the order of first-in-first-out, the walking points that need to be pre-locked are determined in the unlocked walking point queue, and a walking queue composed of the determined pre-locked walking points is generated.
[0046] S23, detecting whether the travel points in the pre-locked travel point queue of each AGV and the locked travel point queues of other AGVs form a loop.
[0047] In this step, it is detected whether each walking point in the pre-locked walking point queue of each AGV forms a loop with the locked walking point queues of other AGVs. Optionally, a directed path network diagram is set, and a loop detection is performed on each AGV in the directed path network diagram. Among them, the directed path network diagram is composed of the directed paths formed between the tail walking points in the locked walking point queues of other AGVs except the AGV that needs to be detected for loop formation and the head walking points in the unlocked walking point queues. Specifically, except for the current AGV that needs to be judged for loop formation, the tail walking points in the locked walking point queues determined by other AGVs are connected with the head walking points in the unlocked walking point queues of the corresponding AGVs to obtain a directed path from the tail walking points in the locked walking point queues to the head walking points in the unlocked walking point queues of the corresponding AGVs. The directed paths of each AGV obtained form a directed path network diagram.
[0048] Furthermore, in the pre-locked walking point queue generated by each AGV, the tail walking point and the second tail walking point in the walking point queue are obtained, and the tail walking point and the second tail walking point are connected to form a first directed path. The first directed path is set in the directed path network graph, and it is detected whether the first directed path forms a loop in the directed path network graph.
[0049] S24, determining the walking points that do not form a loop as the walking points with successful locking points, and recording the walking points with successful locking points.
[0050] In this step, it is detected in the directed path network graph whether the first directed path forms a loop. Specifically, the Tarjan algorithm can be used to detect whether the first directed path forms a loop in the directed path network graph. When it is detected that a loop is not formed, the walking points in the pre-locked walking point queue of the AGV corresponding to the first directed path that does not form a loop are determined as walking points that have been successfully locked. And, when it is detected that a loop is formed, the other walking points in the pre-locked walking point queue of the AGV corresponding to the first directed path, except for the walking point at the end of the queue, are determined as walking points that have been successfully locked. Furthermore, the walking points that have been successfully locked are recorded.
[0051] S25, sending the recorded walking point queue consisting of the walking points with successful locking points to the corresponding AGV, so that the AGV travels along the walking point queue consisting of the walking points with successful locking points.
[0052] In this step, the walking point queue composed of the recorded walking points with successful locking points is determined as the locked walking point queue of the corresponding AGV, and the updated locked point queue is sent to the corresponding AGV, so that the AGV continues to travel along the walking point queue composed of the walking points with successful locking points.
[0053] Based on the above-mentioned embodiments of the present application, firstly, the locked walking point queue of each AGV is obtained. Secondly, according to the locked walking point queue of each AGV, the walking points that need to be pre-locked are determined in the unlocked walking point queue corresponding to each AGV, and a pre-locked walking point queue is generated. Further, it is detected whether the walking points in the pre-locked walking point queue of each AGV and the locked walking point queues of other AGVs form a loop. Then, the walking points that do not form a loop are determined as walking points with successful locking points, and the walking points with successful locking points are recorded. Finally, the walking point queue composed of the recorded walking points with successful locking points is sent to the corresponding AGV, so that the AGV travels along the walking point queue composed of the walking points with successful locking points. The embodiments of the present application monitor in real time whether the driving route of each AGV may form a loop, and adjust the priority of the locking point according to whether a loop is formed, so as to avoid the occurrence of a loop, improve the intelligence of controlling the driving route of the AGV, select the optimal driving route for the AGV, and thereby improve production efficiency.
[0054] like Figure 3 As shown, it is a schematic diagram of a specific process of a method for controlling AGV driving provided by embodiment 300 of the present application. The detailed process of the specific process is as follows:
[0055] S301, obtaining a locked travel point queue of each AGV and an unlocked travel point queue corresponding to each AGV.
[0056] Here, the locked walking point queue of each AGV is a valid path where the AGV has successfully locked the point, that is, the AGV will not travel to the same walking point at the same time as other AGVs when traveling along the locked walking point queue. The unlocked walking point queue corresponding to each AGV is the path that the AGV will subsequently travel, which is planned in real time by the path planning system. The walking points in the unlocked walking point queue corresponding to each AGV are determined by the path planning system after obtaining the locked walking point queue of each AGV and the destination position of the AGV. In the same way as the determination of the unlocked walking point queue, the path planning system obtains the locked walking point queue of each AGV in real time.
[0057] Furthermore, the tail walking point of the locked walking point queue of each AGV and the head walking point of the corresponding unlocked walking point queue are generally continuous.
[0058] S302, obtaining continuous walking points whose number meets the preset number of locking points in the unlocked walking point queue corresponding to each AGV.
[0059] Here, according to the first-in-first-out principle, continuous walking points that meet the preset number of locking points are obtained from the unlocked walking point queue corresponding to each AGV. Optionally, if the current position of an AGV that needs to be looped is point A, the locked walking point queues of the AGV are points B, C, D, and E in turn. The unlocked walking queues obtained by the path planning system in real time are points F, G, H, I, J, K, L, M, and N. When it is necessary to determine the walking points that need to be pre-locked for the AGV at this time, according to the first-in-first-out principle, continuous walking points that meet the preset number of locking points are obtained starting from walking point F. If the preset number of locking points is 5, then for the AGV, 5 continuous walking points starting from walking point F to walking point J are obtained.
[0060] S303, determining whether the continuous walking points whose number meets the preset locking point number meet the pre-locking restriction condition.
[0061] Here, it is determined whether each continuous walking point whose number meets the preset number of lock points is in the locked walking point queue of other AGVs. Optionally, after selecting the continuous walking points whose number meets the preset number of lock points corresponding to each AGV, each walking point is locked in turn, that is, it is determined whether each walking point meets the pre-locking restriction condition. Among them, the pre-locking restriction condition is mainly whether each continuous walking point whose number meets the preset number of lock points is in the locked walking point queue of other AGVs. The path planning system obtains the locked walking point queue of each AGV in real time, and determines in turn whether each continuous walking point whose number meets the preset number of lock points corresponding to the AGV is in the locked walking point queue of other AGVs.
[0062] In the embodiment of the present application, it is assumed that each walking point can only be occupied by one AGV at the same time, that is, only one AGV can travel at the same walking point at the same time. In addition, it is assumed that the driving speed of the AGV is the same, and the driving time from one walking point to the next continuous walking point is the same unit time. If the number of continuous walking points corresponding to each AGV that meets the preset number of locking points does not meet the pre-locking restriction condition, that is, each walking point has been locked by other AGVs. At this time, the AGV continues to walk along the walking points in the previously determined locked walking point queue, and the path planning system determines the locking point situation in front of the AGV in real time, and plans a new effective path for the AGV. If the path planning system still has not determined a walking point that meets the pre-locking restriction condition after all the walking points in the locked walking point queue determined by the AGV before the driving is completed, the AGV waits at the walking point at the end of the locked queue.
[0063] S304: Determine the walking points that meet the pre-locking restriction conditions as the walking points that need to be pre-locked, and generate a pre-locked walking point queue.
[0064] In this step, the walking points that meet the preset number of lock points and are not in the locked walking point queue of other AGVs and are continuous are determined as walking points that need to be pre-locked. Optionally, if all the walking points of the preset number of lock points meet the pre-locking restriction conditions, all the walking points are determined as walking points that need to be pre-locked, and a pre-locked walking point queue is generated. If some of the walking points meet the preset locking restriction conditions, some of the continuous walking points are determined as walking points that need to be pre-locked. Among them, the tail walking point of the pre-locked walking queue is the previous walking point of the walking point that does not meet the pre-locking restriction conditions.
[0065] Optionally, for the example in step S303, if the path planning system starts from walking point F, it will determine the pre-locking restriction conditions for walking points F, G, H, I, and J. That is, it will try to lock walking points F, G, H, I, and J. If the locking of walking points F, G, and H is successful, and it is determined that walking point I has been locked, then the locking of the points will be terminated. At this time, the pre-locking walking points are composed of walking points F, G, and H, and the walking points after walking point I will not be detected.
[0066] S305, determining whether the pre-locked travel point queue forms a loop.
[0067] Here, the directed paths formed between the tail walking points in the locked walking point queues and the head walking points in the unlocked walking point queues of other AGVs are selected to form a directed path network graph, and the first directed path formed between the tail walking point and the secondary tail walking point in the pre-locked walking point queue of each AGV is marked in the directed path network graph, and it is detected whether the first directed path forms a loop in the directed path network graph. Among them, the directed path network graph is composed of the directed paths formed between the tail walking points in the locked walking point queues and the head walking points in the unlocked walking point queues of other AGVs except the AGV that needs to be detected for looping. Optionally, the tail walking point T of the locked walking point queues and the head walking point H of the unlocked walking point queues of all AGVs (except the AGV that needs to be detected for looping) are obtained, and formed.<T,H> At the same time, the first directed path composed of the tail walking point of the pre-locked walking point queue of the AGV that needs to be detected for looping and the second tail walking point is also marked in the directed path network diagram.
[0068] Furthermore, the Tarjan algorithm is used to find whether a loop is included in the directed path network graph, and the loop contains the tail walking point and the secondary tail walking point of the pre-locked walking point queue that need to be detected for loop formation. That is, it is determined whether the first directed path forms a loop in the directed path network graph.
[0069] S306, when a loop is formed, the other walking points in the pre-locked walking point queue except the walking point at the end of the queue are determined as walking points that have been successfully locked.
[0070] Here, if a loop is formed, all the walking points on the first directed path of the AGV are locked, which will lead to the problem of locking points forming a loop, and the tail walking point of the pre-locked point queue should fail to lock. Therefore, when the first directed path forms a loop in the directed path network graph, the other walking points in the pre-locked walking point queue of the AGV corresponding to the first directed path, except for the tail walking point, are determined as the walking points that have successfully locked.
[0071] In addition, when it is detected that a walking point in the pre-locked walking point queue of any AGV forms a loop with the locked walking point queues of other AGVs, and when the AGV corresponding to the walking point forming the loop is outside the loop, the tail walking point in the pre-locked walking point queue of the AGV corresponding to the first directed path is recorded as the walking point that has successfully locked the other AGVs traveling on the loop. Optionally, when forming a loop, the other AGVs on the loop formed by the walking point, i.e., the tail walking point, are determined to have a higher priority, and the AGVs outside the loop are determined to have a lower priority, and the walking point is preferentially determined as the walking point queue that has successfully locked the AGV forming the loop. Figure 1 As shown in the embodiment 100 in the embodiment 100, the current points of the AGVs numbered 1, 2 and 3 are respectively a, b and c, and the next driving points to be locked and moved are respectively b, c and d. At this time, AGV4 is at point e, and the next driving points are d and a respectively. If AGV4 enters point d at this time, the four AGVs form an interlocking loop scene. At this time, point d is determined to be in the queue of the walking points of AGV3 that have been locked successfully.
[0072] S307, when a loop is not formed, all points in the pre-locked walking point queue are determined as walking points with successful locking.
[0073] In this step, if a loop is not formed, the walking points on the first directed path will not conflict with the locked points of other AGVs, and all walking points in the pre-locked walking point queue corresponding to the AGV should be locked successfully. When the first directed path does not form a loop in the directed path network graph, the walking points in the pre-locked walking point queue of the AGV corresponding to the first directed path are determined as walking points that have been locked successfully.
[0074] S308, recording the walking points where the locking point is successful.
[0075] S309, sending the walking point queue composed of the walking points that have been successfully locked to the corresponding AGV, so that the AGV travels along the walking point queue composed of the walking points that have been successfully locked.
[0076] Here, for the example in step S303, the valid path formed by the successfully locked points F, G, and H is assigned to the AGV, and the AGV starts from point E and travels along the pre-locked travel point queue. When the AGV leaves points F, G, and H, points F, G, and H are unlocked respectively so that other AGVs can lock points. When the AGV reaches point H, the path planning system re-acquires the unlocked travel point queue of the AGV at this time, and repeats the above steps S301 to S309, locks the travel points, and determines whether a loop is formed, so as to obtain a new valid path for the AGV until the AGV reaches the end point.
[0077] The present application implements the above-mentioned method of controlling the travel of AGV based on the above-mentioned steps, mainly through real-time dynamic monitoring of whether a loop is about to be formed when locking points, and avoiding the occurrence of such a scene, thereby improving the travel efficiency of AGV. Optionally, the path planning system updates the locked walking point queue and the unlocked walking point queue of the AGV in real time. Furthermore, according to the first-in-first-out principle, unlocked walking points are continuously obtained from its unlocked walking point queue, and pre-locked until the pre-locking restriction condition is met (the pre-locking restriction condition is a preset number of locking points that satisfies the walking point and is not in the locked walking point queue of other AGVs and is continuous), and the pre-locked walking point queue is detected for looping. Optionally, the tail walking point T in the locked walking point queue and the head walking point H in the unlocked walking point queue of all AGVs (except AGVs that need to be detected for looping) are obtained, and formed.<T,H> The directed path is used to form a directed path network diagram. At the same time, the first directed path composed of the tail walking point and the second tail walking point of the pre-locked walking point queue of the AGV that needs to be detected is marked in the directed path network diagram. The tarjan algorithm is used to find out whether the directed path network diagram contains a loop, and the loop contains the tail walking point and the second tail walking point of the pre-locked walking point queue of the AGV that needs to be detected. If it exists, it proves that the AGV that needs to be detected by looping successfully locks the point, which will cause the problem of locking the point into a loop. If the detection constitutes a loop, the tail walking point in the pre-locked walking point queue should fail to lock the point, and the remaining walking points in the pre-locked walking point queue are modified to success and registered in the locked walking point queue. (The locked walking point queue indicates that the AGV will not go to other AGVs when driving and cause congestion). If the monitoring does not form a loop, all walking points in the pre-locked walking point queue are locked successfully and registered in the locked walking point queue. Finally, the walking point queue composed of walking points that have successfully locked the point is sent to the AGV to perform the operation. At this point, when the locking point is connected, the loop monitoring is continuously carried out, and the locking priority of the walking point is used to avoid this situation.
[0078] In this solution, when locking the point, it is dynamically detected whether an interlocking loop scenario is about to occur. If such a scenario exists, the locking point priority of the walking point is adjusted so that the walking point has a higher priority for the AGV on the loop and the AGV outside the loop has a lower priority, thereby avoiding the problem of actual looping, improving the intelligence of AGV path operation control, and thereby improving production efficiency.
[0079] Based on the same inventive concept, the embodiment 400 of the present application also provides a device for controlling the travel of an AGV, wherein: Figure 4 As shown, the device comprises:
[0080] An acquisition module 41 is used to acquire the locked travel point queue of each AGV;
[0081] A generating module 42 is used to determine the travel points that need to be pre-locked in the unlocked travel point queues corresponding to each AGV according to the locked travel point queues of each AGV, and generate the pre-locked travel point queues;
[0082] A detection module 43 is used to detect whether the travel points in the pre-locked travel point queue of each AGV and the locked travel point queues of other AGVs form a loop;
[0083] A recording module 44, used to determine the walking points that do not form a loop as the walking points that have successfully locked the points, and record the walking points that have successfully locked the points;
[0084] The sending module 45 is used to send the walking point queue composed of the walking points with successful locking points to the corresponding AGV, so that the AGV travels along the walking point queue composed of the walking points with successful locking points.
[0085] Optionally, the generating module 42 includes:
[0086] An acquisition unit is used to acquire continuous walking points whose number meets the preset number of locking points in the unlocked walking point queue corresponding to each AGV according to the first-in-first-out principle;
[0087] The first determination unit is used to determine whether each continuous walking point whose number meets the preset locking point number is in the locked walking point queue of other AGVs, and to determine the walking points that meet the preset locking point number and are not in the locked walking point queue of other AGVs and are continuous as walking points that need to be pre-locked.
[0088] In this embodiment, the specific functions and interaction methods of the acquisition module 41, the generation module 42, the detection module 43, the recording module 44 and the sending module 45 can be found in Figure 1 The description of the corresponding embodiments will not be repeated here.
[0089] like Figure 5 As shown, another embodiment 500 of the present application further provides a terminal device, including a processor 501, wherein the processor 501 is used to execute the steps of the above-mentioned method for controlling the driving of an AGV. Figure 5 It can also be seen that the terminal device provided in the above embodiment also includes a non-transitory computer-readable storage medium 502, on which a computer program is stored, and when the computer program is executed by the processor 501, the steps of the above method for controlling the driving of the AGV are executed. In practical applications, the terminal device can be one or more computers, as long as it includes the above computer-readable medium and processor.
[0090] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, and FLASH, etc. When the computer program on the storage medium is run, each step in the above-mentioned method of controlling the travel of an AGV can be executed. In practical applications, the computer-readable medium can be included in the device / apparatus / system described in the above-mentioned embodiments, or it can exist independently without being assembled into the device / apparatus / system. The above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed, each step in the above-mentioned method of controlling the travel of an AGV can be executed.
[0091] According to the embodiments disclosed in the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof, but it is not used to limit the scope of protection of the present application. In the embodiments disclosed in the present application, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
[0092] The flow chart and block diagram in the accompanying drawings of the present application show the possible architecture, function and operation of the system, method and computer program product according to the various embodiments disclosed in the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in the order of the standards in different figures. For example, the boxes represented by two connections can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0093] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope disclosed in the present application.
[0094] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for controlling AGV travel, characterized in that: include: Get the locked travel point queue of each AGV; According to the locked walking point queue of each AGV, the walking points that need to be pre-locked are determined in the unlocked walking point queues corresponding to each AGV, and a pre-locked walking point queue is generated; Detecting whether the walking point in the pre-locked walking point queue of each AGV and the locked walking point queues of other AGVs form a loop; Determine the walking points that do not form a loop as walking points that have successfully locked points, and record the walking points that have successfully locked points; Sending the walking point queue composed of the walking points with successful locking points to the corresponding AGV, so that the AGV travels along the walking point queue composed of the walking points with successful locking points; Among them, the detection of whether the walking points in the pre-locked walking point queue of each AGV and the locked walking point queues of other AGVs form a loop includes: setting a directed path network graph and performing a loop detection on each AGV in the directed path network graph.
2. The method according to claim 1, characterized in that The step of determining the travel points that need to be pre-locked in the unlocked travel point queues corresponding to each AGV includes: According to the first-in-first-out principle, obtaining the continuous walking points whose number meets the preset number of locking points in the unlocked walking point queue corresponding to each AGV; Determine whether each of the continuous walking points whose number obtained meets the preset number of locking points is in the queue of locked walking points of the other AGVs, and determine the walking points that meet the preset number of locking points and are not in the queue of locked walking points of other AGVs and are continuous as walking points that need to be pre-locked.
3. The method according to claim 1, characterized in that The method of setting a directed path network graph and performing loop detection on each AGV in the directed path network graph includes: Detect whether the first directed path formed between the tail walking point and the secondary tail walking point in the pre-locked walking point queue of each AGV forms a loop in the directed path network graph, wherein the directed path network graph is composed of the directed paths formed between the tail walking point in the locked walking point queue and the head walking point in the unlocked walking point queue of the other AGVs except the AGV that needs to be detected for looping.
4. The method according to claim 3, characterized in that The step of detecting whether the directed path formed between the tail walking point and the secondary tail walking point of each AGV in the pre-locked walking point queue forms a loop in the directed path network graph comprises: Selecting the directed path formed between the tail walking point in the locked walking point queue of the other AGVs and the head walking point in the unlocked walking point queue to form the directed path network graph; Marking a first directed path formed by each AGV between the last walking point and the second last walking point in the pre-locked walking point queue in the directed path network graph; It is detected whether the first directed path forms a loop in the directed path network graph.
5. The method according to claim 4, characterized in that The step of determining the walking point that does not form a loop as a walking point that has successfully locked a point comprises: When the first directed path forms a loop in the directed path network graph, the other walking points in the pre-locked walking point queue of the AGV corresponding to the first directed path except the tail walking point are determined as walking points that have been successfully locked; When the first directed path does not form a loop in the directed path network graph, the walking point in the pre-locked walking point queue of the AGV corresponding to the first directed path is determined as a walking point with successful locking.
6. The method according to claim 3, characterized in that Between the step of recording the walking points where the locking point is successful and the step of sending the walking point queue composed of the walking points where the locking point is successfully recorded to the corresponding AGV, the method further comprises: When it is detected that the walking point in the pre-locked walking point queue of any one of the AGVs forms a loop with the locked walking point queue of the other AGVs, and when the AGV corresponding to the walking point forming the loop is outside the loop, the tail walking point in the pre-locked walking point queue of the AGV corresponding to the first directed path is recorded as the walking point that has successfully locked the other AGV traveling on the loop.
7. A device for controlling the travel of an AGV, characterized in that: include: An acquisition module is used to acquire the locked travel point queue of each AGV; A generating module, for determining the walking points that need to be pre-locked in the unlocked walking point queues corresponding to each of the AGVs according to the locked walking point queues of each AGV, and generating the pre-locked walking point queues; A detection module, used for detecting whether the walking point in the pre-locked walking point queue of each AGV and the locked walking point queues of other AGVs form a loop; A recording module, used for determining the walking points that do not form a loop as walking points with successful locking points, and recording the walking points with successful locking points; A sending module, used for sending the walking point queue composed of the walking points with successful locking points to the corresponding AGV, so that the AGV travels along the walking point queue composed of the walking points with successful locking points; The detection module is specifically used to set up a directed path network graph and perform loop detection on each AGV in the directed path network graph.
8. The device according to claim 7, characterized in that The generation module comprises: An acquisition unit, configured to acquire, in accordance with a first-in-first-out principle, continuous walking points whose number satisfies a preset number of locking points in the unlocked walking point queue corresponding to each AGV; The first determination unit is used to determine whether each of the continuous walking points whose number obtained meets the preset number of locking points is in the locked walking point queue of other AGVs, and determine the walking points that meet the preset number of locking points and are not in the locked walking point queue of other AGVs and are continuous as walking points that need to be pre-locked.
9. A non-transitory computer-readable storage medium, characterized in that The non-transitory computer-readable storage medium stores instructions, which, when executed by a processor, cause the processor to perform each step in the method for controlling the travel of an AGV as described in any one of claims 1 to 6.
10. A terminal device, characterized in that: It comprises a processor, and the processor is used to execute each step in a method for controlling the travel of an AGV as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Control system and control method for carrying automated guided vehicle
CN106873605A
Scheduling control method and system applied to multi-AGV cooperative operation
CN107272698A
Real-time synthesis method of supervisory controller based on agv task path scheduling
CN108520326A
Method and device for measuring AGV road section congestion, electronic equipment and readable storage medium
CN108629438A
Automated guided vehicle (AGV), and remote anti-collision method, device and system thereof
CN109839928A
