Robot fusion traffic scheduling method and system
Through the integrated traffic dispatching system of robots, artificial intelligence path planning and dynamic programming algorithms are used to solve the problem of robot encounters and path interlocking in limited space areas, and realize dynamic adjustment of robot paths and safe passage.
Patent Information
- Application Number
- CN202311499900.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-13
- Publication Date
- 2024-10-01
AI Technical Summary
In areas with limited space or strict process requirements, it is difficult for a single-machine path planning algorithm to avoid problems such as robot encounters or path resource interlocking, resulting in inability to pass smoothly.
The integrated traffic scheduling method and system using robots includes task scheduling module, traffic scheduling module, robot monitoring module, elevator/access control module, parameter setting module, map module, path planning module, dynamic routing module and distributed decision center, through Artificial intelligence path planning algorithm, dynamic programming and obstacle avoidance algorithm adjust the path in real time to avoid collisions and deadlocks.
It realizes the dynamic path adjustment of robots under real-time traffic conditions, avoids collisions and resource deadlocks, and improves the efficiency and safety of robot traffic.
Smart Images

Figure CN118736880A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to robot traffic dispatching, and in particular to a robot fusion traffic dispatching method and system. Background Art
[0002] In certain specific areas, due to space restrictions or process requirements, only one robot can pass through, or two robots cannot drive head-on. In this case, using a single-machine path planning algorithm may not be able to avoid the problem of multiple robots encountering or path resources interlocking, resulting in the robot being unable to pass. In order to solve this problem, a robot traffic dispatching system is needed to manage the actions of the robots, instructing a certain robot to pass first, while other robots pass in a certain order, to ensure that the robots can pass these specific areas smoothly. Summary of the invention
[0003] In order to solve the above technical problems, the present invention provides a robot fusion traffic dispatching method and system, comprising:
[0004] The task scheduling module is used to receive the robot's transportation task requirements, including the demand location, destination and the type of robot to be scheduled. The task scheduling module allocates the corresponding type of robot according to the scheduling rules;
[0005] The traffic dispatch module performs initial path planning according to the destination to be reached in the task module, and controls the dynamic and orderly operation of each robot according to the real-time data and real-time road conditions of the robot operation.
[0006] The robot monitoring module is used to obtain the robot's real-time status, power, speed, location information, etc.
[0007] The elevator / access control module is used to obtain the real-time status of the elevators and access control that the robot passes through during its operation path, and control their opening, closing, and operation;
[0008] In this technical solution, the traffic dispatch module specifically includes:
[0009] The parameter setting module realizes the visual configuration of the parameters involved in the traffic scheduling algorithm, including the number of path points sent by robot_shell each time, the number of forward path point locks, the release distance of the passing points, the waiting time for the robot to stop running and switch routes, etc.
[0010] The map module obtains the map information drawn by the robot and parses the map to extract resource information such as one-way streets, two-way streets, circular lines, points, etc., and stores it in the traffic dispatch system database as the basis for path planning.
[0011] Path planning uses artificial intelligence path planning algorithms to generate the best path for the robot based on the robot's goals and constraints, as well as real-time maps. It also takes into account route distance, arrival time, single / dual channels, and channel speed calculation factors to obtain the optimal path.
[0012] Dynamic routing uses a dynamic planning execution mode to control the route when the robot is executing the path, so that the path can be adjusted in real time according to real-time traffic information to avoid traffic congestion and blockage.
[0013] The distributed decision-making center and intelligent traffic dispatching system detect conflicts between robots through real-time perception and analysis to avoid collisions and cross-path conflicts. When potential conflicts are detected, the system avoids conflicts by taking strategies such as path adjustment, speed adjustment or priority adjustment.
[0014] The robot control module receives instructions from the decision center and generates robot control instructions, such as forward instructions, backward instructions, left / right instructions, stop instructions, speed adjustment instructions, etc.
[0015] In this technical solution, an artificial intelligence path planning algorithm is applied in the path planning module, specifically including:
[0016] The pathfinding algorithm uses the A* algorithm to find the shortest path between two points. The path is found based on the sum of the distance from the starting point to the point + the distance from the point to the target point to obtain the optimal pathfinding steps and resulting path.
[0017] The obstacle avoidance algorithm sets two properties on the path point object, one is the reserved robot and the other is the occupied robot. After the points in the route are calculated according to the dynamic path planning, the points are reserved for use first. For example, if robot A reserves the Node1 path point, other robots are not allowed to reserve this point to avoid deadlock in the resource allocation process; if robot A occupies the Node1 point, other robots are not allowed to drive to the Node1 point.
[0018] Unlocking algorithm uses graph theory algorithm and resource allocation algorithm to realize deadlock detection, timely discover the occurrence of path deadlock and take corresponding recovery measures to recover. When the robot is executing the goto running instruction, there is no speed for several seconds. Check whether the forward path point / line is locked. If it is not locked, continue to send the path; if it is locked, check whether there is a robot within the locked point / line and the X-point range extending backward. If so, enter the path avoidance logic; by adjusting the rate method and traffic rules method, eliminate the possible collision, congestion and deadlock problems in the multi-robot system.
[0019] In this technical solution, the dynamic routing module is specifically implemented as follows:
[0020] Dynamic planning: send points according to the route planned by the initial path, send X points each time (the number of points sent is set according to the parameters in claim 3). Before sending the point information, check whether the points and lines are locked. If the path points ahead are locked, dynamically calculate and plan other paths, and send the latest planned route every X ms (the interval time is set according to the parameters in claim 3).
[0021] Path line control, collect and upload robot information in real time:
[0022] (1) The robot is determined by its real-time coordinate position, and the point it is passing through is locked. The robot is untied after passing through the starting point, and is untied after passing through X meters (the distance passed is set according to the parameters in claim 3). The target point is always locked;
[0023] (2) When passing through a one-way road, lock the entire one-way route and unbind it after passing through the route between points;
[0024] The present invention includes at least the following three technical achievements:
[0025] (1) Through dynamic path planning, the robot’s route is adjusted dynamically according to real-time traffic conditions during operation to avoid robot collisions and resource deadlocks.
[0026] (2) Obstacle avoidance algorithm: After calculating the points in the route based on dynamic path planning, the points are reserved for use. For example, if robot A reserves the path point Node1, other robots are not allowed to reserve this point to avoid deadlock in the resource allocation process. If robot A occupies the point Node1, other robots are not allowed to drive to this point.
[0027] (3) Unlocking algorithm: Use graph theory algorithm and resource allocation algorithm to realize deadlock detection, timely discover the occurrence of path deadlock and take corresponding recovery measures to recover. According to the traffic jams caused by different situations, apply corresponding unlocking rules to remove the traffic jams, improve the traffic efficiency of robots, and avoid collisions between robots. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The following will explain the preferred implementation mode in a clear and understandable manner with reference to the accompanying drawings, and further explain the above-mentioned features, technical features, advantages and implementation methods of a robot-integrated traffic dispatching method and system.
[0029] Figure 1 This is a schematic diagram of the structure of Embodiment 1 of the present invention;
[0030] Figure 2 This is a schematic diagram of the process of Embodiment 3 of the present invention;
[0031] Figure 3 This is a schematic diagram of the process of Example 4 of the present invention;
[0032] Figure 4 This is a schematic diagram of the process of Example 5 of the present invention. DETAILED DESCRIPTION
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0034] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0035] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections.
[0036] In order to simplify the drawings, only the parts related to the present invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".
[0037] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0038] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0039] Embodiment 1:
[0040] This embodiment provides a robot-based integrated traffic dispatching method and system, including:
[0041] Task scheduling module 1 is used to receive the robot's transportation task requirements, including the demand location, destination and the type of robot to be scheduled. The task scheduling module allocates the corresponding type of robot according to the scheduling rules;
[0042] The traffic dispatch module 2 performs initial path planning according to the destination to be reached in the task module, and controls the dynamic and orderly operation of each robot according to the real-time data of the robot operation and the real-time road conditions.
[0043] The robot monitoring module 3 is used to obtain the robot's real-time status, power, speed, location information, etc.
[0044] The elevator / access control module 4 is used to obtain the real-time status of the elevators and access control that the robot passes through in the running path, and control their opening, closing and operation;
[0045] Embodiment 2;
[0046] This embodiment is based on Embodiment 1, and the traffic dispatch module specifically includes:
[0047] The parameter setting module 21 realizes the visual configuration of the parameters involved in the traffic scheduling algorithm, including the number of path points sent by robot_shell each time, the number of forward path point locks, the release distance of the passing points, the waiting time for the robot to stop running and switch routes, etc.
[0048] The map module 22 obtains the map information drawn by the robot, and parses the map to parse out resource information such as one-way roads, two-way roads, circular lines, points, etc. in the map, and stores it in the traffic dispatch system database as a basis for path planning.
[0049] Path planning 23, applies artificial intelligence path planning algorithm, generates the best path for the robot according to the robot's goals and constraints, and real-time map, and comprehensively considers route distance, arrival time, single / dual channel, channel speed calculation factors to obtain the optimal path.
[0050] Dynamic routing 24, when the robot path is executed, the route is controlled and a dynamic planning execution mode is adopted so that the path can be adjusted in real time according to real-time traffic information to avoid traffic congestion and blockage.
[0051] The distributed decision-making center 25, the intelligent traffic dispatching system detects conflicts between robots through real-time perception and analysis, and avoids collisions and cross-path conflicts. When potential conflicts are detected, the system avoids conflicts by adopting strategies such as path adjustment, speed adjustment or priority adjustment.
[0052] The robot control module 26 receives instructions from the decision center and generates robot control instructions, such as forward instructions, backward instructions, left / right instructions, stop instructions, speed adjustment instructions, etc.
[0053] Embodiment 3:
[0054] This embodiment provides a robot-based integrated traffic dispatching method and system, including:
[0055] S1: Initiate a path planning task based on the starting point and the end point.
[0056] S2: Perform path planning verification, and the verification rules that need to be met are: ① Verify whether the map from the start point to the end point exists; ② Verify whether the start and end points exist; ③ Verify whether the type of the end point is the target point; after passing the verification rules, enter the S2-1 process, otherwise S2-2 verification fails and the path planning fails.
[0057] S3: Calculate the static path, plan the route from the starting point to the end point, and group the special points of elevators / access control involved in the route.
[0058] S4: Store the calculated static path in a path database.
[0059] S5: After the path is planned, the dynamic router calculates the route and notifies the robot to execute it.
[0060] S5-1: Dynamic path calculation sub-process. According to the initial path planning, the robot will send point information according to the specified number (set by parameters). At the same time, before sending the point information, it is necessary to query to verify whether the point and line are locked. If it is found that the point on the path ahead has been locked, the system will perform dynamic calculations and plan other feasible paths. The latest planned route will be sent once every certain period of time (the time interval is set by parameters).
[0061] S5-2: Stores the robot waiting time. When a point in the robot's execution path is locked, the robot needs to wait until the point is unlocked and released. If the current robot is waiting for the first time, the waiting time needs to be recorded. However, if the point on the front path is not locked, there is no need to wait, and the previously recorded waiting time needs to be cleared.
[0062] S5-3: Point locking and unlocking. After planning the target path, starting from the starting point, select the number of points to be locked (i.e. the number of locked points) according to the set parameters. If it is a one-way path, it will be locked forward until the end of the path point, so as to achieve the effect of locking the line. When the robot passes a point and the distance reaches the set value (such as X meters), or reaches the next point, the passed point will be unlocked. Through the locking and unlocking operations of the points, ensure that the robot moves along the specified path, and unlock when the set conditions are met so that it can continue to move forward.
[0063] S5-4: Deadlock detection and recovery sub-process, by real-time detection of the robot's speed, if the speed is 0 for a period of time, it can be determined whether the current forward route is locked. In addition, it can also detect whether there are other robots at the forward point. If the detection path is blocked, the unlocking algorithm is used to solve the path blocking problem, so that the robot can resume normal operation.
[0064] S5-5: Access control routing control, used to store the door opening and closing status of the access control. When multiple robots pass through the automatic door continuously, there is no need to repeatedly open and close the door, which improves the robot's passage efficiency.
[0065] S5-6: Elevator waiting route control, used to assign elevator waiting points to robots to ensure that robots take the elevator in an orderly manner.
[0066] S6: Based on the dynamic path results, the robot operation control instructions are formed and submitted to the robot body for execution.
[0067] S7: The robot executes the corresponding operation command.
[0068] Embodiment 4:
[0069] This embodiment, based on Embodiment 3, provides a method for calculating a dynamic path for traffic scheduling, including:
[0070] S5-1-1: Read the static path of the current path planning in the database and query whether the X path points ahead of the current point are locked.
[0071] S5-1-2: If none of the waypoints are locked, continue planning the subsequent route.
[0072] S5-1-3: If the next point of the current path point is locked, determine whether the robot is passing through this point. If not, S5-1-3-1 unlocks the current path point; otherwise, execute S5-1-3-2 to continue planning the path of X points after the locked point on the path.
[0073] S5-1-3-3: Determine whether there is a feasible route. If there is no feasible route, execute S5-1-3-5 to wait for the set time, and then execute S5-1-3-6 to determine whether the point is unlocked. If unlocked, execute S5-1-2 to plan the subsequent route, otherwise, S5-1-3-7 to issue an abnormal reminder; if S5-1-3-3 is executed to obtain a new route, determine whether the new route is the optimal route, execute S5-1-3-4 and S5-1-5, calculate the time it takes to pass the new path, and query the time it takes for the locked point robot to pass the point.
[0074] S5-1-6: Compare the running time of the new route with that of the original route. If the new route takes longer, S5-1-8 waits for a certain period of time, and then S5-1-9 determines whether the point has been unlocked. If unlocked, S5-1-2 is executed to plan the subsequent route, otherwise S5-1-7 executes the new route; if the new route is shorter, S5-1-7 executes the new route.
[0075] Embodiment 5:
[0076] This embodiment, based on Embodiment 3, provides a method for traffic scheduling deadlock detection and recovery, including:
[0077] S5-4-1: Loop the real-time information of all robots and compare the routes. If the routes overlap and the robot speeds are all zero, it is determined that the robots are deadlocked.
[0078] S5-4-2: Determine whether the directions of the robots are consistent. If so, S5-4-2-1 controls the robots to run in sequence and resume operation. If the directions of the robots are not completely consistent, S5-4-3 is executed to divide all blocked robots into two groups according to their directions.
[0079] S5-4-4: Calculate the number of unlocked dual-channel points within X meters of each group's reverse direction of travel.
[0080] S5-4-5: Determine whether the number of points is greater than the number of robots. If the number of points in both groups is less than the number of robots, execute S5-4-5-1 to re-plan the route for each group in turn. If re-planning is not possible, S5-4-5-4 will trigger the abnormal reminder. If the number of points in both groups is greater than or equal to the number of robots, execute S5-4-5-2 to make the group with fewer robots retreat and the other group pass. If the number of points in one group is greater than or equal to the number of robots and the number of points in the other group is less than or equal to the number of robots, execute S5-4-5-3 to make the group with the larger number of robots retreat and the other group pass.
Claims
1. A robot-based fusion traffic dispatching method and system, characterized in that: include: The task scheduling module is used to receive the robot's transportation task requirements, including the demand location, destination and the type of robot to be scheduled. The task scheduling module allocates the corresponding type of robot according to the scheduling rules; The traffic dispatching module performs initial path planning according to the destination to be reached in the task module, and controls the dynamic and orderly operation of each robot according to the real-time data and real-time road conditions of the robot operation; The robot monitoring module is used to obtain the robot's real-time status, power, speed, location information, etc. The elevator / access control module is used to obtain the real-time status of the elevators and access control that the robot passes through in its operating path, and control their opening, closing and operation.
2. A robot-based fusion traffic dispatching method and system according to claim 1, characterized in that: The robot types include whole-box type, open type, jack-up type, and honeycomb type; the scheduling rules comprehensively consider the robot type, robot status, power, robot reachable range, and distance from the robot to the demand point, and calculate the robot with the highest matching degree for scheduling and allocation.
3. The traffic dispatch module according to claim 1, specifically comprising: The parameter setting module is used to visually configure the parameters involved in the traffic scheduling algorithm, including the number of path points sent by robot_shell each time, the number of forward path point locks, the release distance of the passing points, and the waiting time for the robot to stop running and switch routes. The map module obtains the map information drawn by the robot and parses the map to extract resource information such as one-way roads, two-way roads, circular roads, points, etc., and stores it in the traffic dispatch system database as the basis for path planning; Path planning: Apply artificial intelligence path planning algorithms to generate the best path for the robot based on the robot's goals and constraints, as well as real-time maps. It also takes into account route distance, arrival time, single / dual channels, and channel speed calculation factors to obtain the optimal path. Dynamic routing, when the robot path is executed, the route is controlled and the execution mode of dynamic planning is adopted so that the path can be adjusted in real time according to real-time traffic information to avoid traffic congestion and blockage; The distributed decision-making center and intelligent traffic dispatching system detect conflicts between robots through real-time perception and analysis to avoid collisions and cross-path conflicts. When potential conflicts are detected, the system avoids conflicts by taking strategies such as path adjustment, speed adjustment or priority adjustment. The robot control module receives instructions from the decision center and generates robot control instructions, such as forward instructions, backward instructions, left / right instructions, stop instructions, speed adjustment instructions, etc.
4. The path planning module according to claim 3, characterized in that Apply artificial intelligence path planning algorithms, including: Pathfinding algorithm, using A* algorithm to find the shortest path between two points, based on the sum of the distance from the starting point to the point + the distance from the point to the target point to get the optimal pathfinding steps and result path; The obstacle avoidance algorithm sets two properties on the path point object, one is the reserved robot and the other is the occupied robot. After the points in the route are calculated according to the dynamic path planning, the points are reserved for use first. For example, if robot A reserves the Node1 path point, other robots are not allowed to reserve this point to avoid deadlock in the resource allocation process; if robot A occupies the Node1 point, other robots are not allowed to drive to the Node1 point; Unlocking algorithm uses graph theory algorithm and resource allocation algorithm to realize deadlock detection, timely discover the occurrence of path deadlock and take corresponding recovery measures to recover. When the robot is executing the goto running instruction, it has no speed for several seconds. Check whether the forward path point / line is locked. If it is not locked, continue to send the path; if it is locked, check whether there is a robot within the locked point / line and the X-point range extending backward. If so, enter the path avoidance logic; by adjusting the rate method and traffic rules method, eliminate the possible collision, congestion and deadlock problems in the multi-robot system.
5. The dynamic routing module according to claim 3, characterized in that: include: Dynamic planning: send points according to the route planned by the initial path, send X points each time (the number of points sent is set according to the parameters in claim 3). Before sending the point information, check whether the point and line are locked. If the path point ahead is locked, dynamically calculate and plan other paths, and send the latest planned route every X ms (the interval is set according to the parameters in claim 3); Path line control, collect and upload robot information in real time: (1) The robot determines which point the robot is passing through based on its real-time coordinate position, locks the point it is passing through, and unbinds after passing through the starting point. It unbinds after passing through X meters (the distance passed is set according to the parameters in claim 3), and the target point is always locked; (2) When passing through a one-way road, lock the entire one-way route and untie it after passing through the route between points.
