Real-time path conflict processing method, electronic device and storage medium

Through real-time path conflict processing methods and neural network models, path conflicts of automatically guided vehicles are identified and optimized, solving the problem of path conflicts in complex multi-vehicle scenarios, and achieving efficient vehicle operation and conflict avoidance.

CN118392205BActive Publication Date: 2024-09-27SHENZHEN YIZHAN ZHIHUI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410850121.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-27
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

The existing automatic guided vehicle scheduling method is difficult to efficiently handle the path conflicts of multiple vehicles in complex scenarios, resulting in vehicle stagnation and failure to complete tasks.

Method used

Through the real-time path conflict processing method, vectors are used to represent vehicle paths, dot products are calculated to identify conflict points, conflict types are classified, response strategies are set, historical conflict graphs are dynamically updated, paths are re-planned to avoid conflict areas, and paths are optimized based on neuron network models .

Benefits of technology

It realizes dynamic and cyclic optimized path planning for multiple vehicles in complex scenarios, avoids vehicle conflicts and stagnation, and ensures efficient operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118392205B
    Figure CN118392205B
Patent Text Reader

Abstract

The present application provides a real-time path conflict processing method, electronic device and storage medium, which plans the path according to the starting point, end point and conflict point of each vehicle, and the planned path represents the vehicle driving direction of each station in the form of vector; traverses all two-vehicle pairings, inputs the path vectors of the two vehicles in the map, and calculates the dot product of the station vector; obtains the set of all two-vehicle path conflict points according to the vector dot product, classifies the form of conflict, and sets a response strategy; dynamically iterates and updates the historical conflict graph according to the vehicle's conflict points; combines the historical conflict graph and the current round of conflict points to re-plan the path of each vehicle; plans the path to avoid the conflict area according to the historical weight of the conflict point and the station distance. The present application scheme models the conflict point information and subdivides each conflict scenario; calculates the historical conflict point weight, conflict point weight and distance of each vehicle, calculates the optimal path, and ensures the efficient operation of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of industrial machinery and equipment, and in particular to a real-time path conflict processing method, an electronic device and a storage medium. Background Art

[0002] With the rapid development of industries such as industry and logistics, automated guided vehicles have become one of the hot spots in logistics automation research. Automated Guided Vehicle (AGV) is an industrial vehicle that is automatically controlled and driven by batteries. Only when the automated guided vehicle system is composed of an automated guidance system, an automatic loading and unloading system, a communication system, a safety system and a management system according to the requirements of automation, flexibility and punctuality of material handling operations can the automated guided vehicle really play its role. The development of artificial intelligence technologies such as understanding and search, task and path planning, fuzzy and neural network control technology has enabled AGV to develop in the direction of intelligence and autonomy. In daily industrial scenarios, it is often necessary to dispatch multiple vehicles to perform tasks at the same time, and the driving paths of each vehicle may overlap at a certain point in time, which will cause the vehicles to stop each other and fail to complete the task. However, the existing scheduling methods are generally only suitable for a small number of vehicles and simple scenarios, and cannot efficiently deal with complex situations. Summary of the invention

[0003] In order to help improve the problem of poor processing effect of complex multi-vehicle scheduling scenarios in the prior art, the present application provides a real-time path conflict processing method, electronic device and storage medium.

[0004] In a first aspect, the present application provides a real-time path conflict processing method, the method comprising:

[0005] Path planning is performed based on the starting point, end point, and conflict point of each vehicle. The planned path represents the vehicle driving direction at each station in the form of a vector;

[0006] Traverse all two-car pairs, input the path vectors of the two cars in the two-dimensional grid map, and calculate the vector dot product at each station;

[0007] Obtain all the conflict points of the two-vehicle paths based on the vector dot product, classify the conflict forms, and set a response strategy for each type of conflict form;

[0008] Set the historical conflict graph of the vehicle, and dynamically iterate and update the historical conflict graph according to the conflict points of the vehicle;

[0009] Replan the path of each vehicle based on the historical conflict graph and the current conflict points; plan the path to avoid the conflict area based on the historical weight of the conflict points and the distance between the stations.

[0010] By adopting the above technical solution, it is possible to identify the conflict type, handle the conflict, and then iteratively loop detection to achieve real-time multi-vehicle mobilization in complex scenarios.

[0011] In a second aspect, the present application provides an electronic device, which adopts the following technical solution:

[0012] An electronic device, comprising:

[0013] at least one processor;

[0014] Memory;

[0015] At least one application program, wherein the at least one application program is stored in a memory and configured to be executed by at least one processor, and the at least one application program is configured to: execute the real-time path conflict processing method as described above.

[0016] In a third aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0017] A computer-readable storage medium stores a computer program, which, when executed in a computer, causes the computer to execute any one of the real-time path conflict processing methods provided in the first aspect.

[0018] In summary, the present application scheme models the conflict point information to facilitate pattern recognition and the combination and comparison of multi-vehicle conflict information; through pattern recognition of path conflict types and conflict point sets, all conflict scenarios and corresponding decisions are listed to improve processing efficiency, and each conflict scenario is subdivided according to the current position and target position; the historical conflict point weights, conflict point weights and distances of each vehicle are dynamically calculated through the model to calculate the optimal path and implement re-planning decisions. It realizes dynamic and cyclically optimized multi-vehicle path planning, ensures efficient operation of vehicles, and avoids vehicle conflict stagnation. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a flow chart of an embodiment of a real-time path conflict processing method provided by the present application.

[0020] Figure 2 It is a conflict point set diagram in an embodiment of a real-time path conflict processing method provided by the present application.

[0021] Figure 3 This is a flow chart of a conflict point retrieval method of an embodiment of a real-time path conflict processing method provided by the present application.

[0022] Figure 4 It is a schematic diagram of a strategy for coping with opposite conflicts in an embodiment of a real-time path conflict processing method provided by the present application.

[0023] Figure 5 It is a schematic diagram of a same-direction conflict response strategy of an embodiment of a real-time path conflict processing method provided by the present application.

[0024] Figure 6 It is a schematic diagram of the principle of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-6 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0026] The embodiment of the present application provides a real-time path conflict processing method for use in an AGV control system.

[0027] This embodiment uses an AGV control system as an application example to specifically illustrate the above method. In actual implementation, the above method can also be used in other industrial equipment and vehicle dispatching systems, which is not limited in this embodiment.

[0028] Specific reference Figure 1 , Figure 2 And attached Figure 3 As shown, a real-time path conflict processing method comprises:

[0029] S10: The map where the vehicle is located is converted into a two-dimensional grid map, and a path is planned according to the starting point, end point, and conflict point of each vehicle. The planned path represents the vehicle driving direction at each station in the form of a vector.

[0030] S20: traverse all two-vehicle pairs, input the path vectors of the two vehicles in the two-dimensional grid map, and calculate the vector dot product of each station.

[0031] It should be noted that, through the above two steps, the planned path expressed in terms of sites is converted into a planned path expressed in terms of directions, which is used for subsequent detection of the location and type of conflict points.

[0032] S30: Obtain a set of all conflict points of the paths of the two vehicles according to the vector dot product, classify the forms of the conflicts, set a response strategy for each type of conflict, pre-store the strategy corresponding to each conflict, and call it for use when the conflict occurs.

[0033] S40: Setting a historical conflict graph of the vehicle, and dynamically iterating and updating the historical conflict graph according to the conflict points of the vehicle; the historical conflict graph in this step is continuously updated, and it is continuously iterated according to the path and conflict points of each round of the vehicle.

[0034] S50: Combine the historical conflict graph and the current conflict point to re-plan the path of each vehicle; plan the path to avoid the conflict area according to the historical weight of the conflict point and the distance between the stations. After the path is re-planned in this step, the conflict point of the vehicle may change. At this time, return to step S10 to perform the next round of data update iteration.

[0035] This application scheme models the conflict point information to facilitate pattern recognition and the combination and comparison of multi-vehicle conflict information; through pattern recognition of path conflict types and conflict point sets, all conflict scenarios and corresponding decisions are listed to improve processing efficiency, and each conflict scenario is subdivided according to the current position and target position; the historical conflict point weights, conflict point weights and distances of each vehicle are dynamically calculated through the model to calculate the optimal path and realize re-planning decisions. It realizes dynamic and cyclically optimized multi-vehicle path planning, ensures the efficient operation of vehicles, and avoids vehicle conflict stagnation.

[0036] On the basis of this embodiment, when the vehicle path is replanned, the path planning is performed by the A-star algorithm; of course, it can also be performed by other algorithms, which is not limited to the description in this embodiment.

[0037] It should be noted that the A-star algorithm is one of the more popular heuristic search algorithms and is widely used in the field of path optimization. Its uniqueness is that it introduces global information when checking each possible node in the shortest path, estimates the distance from the current node to the end point, and uses it as a measure to evaluate the possibility that the node is on the shortest path.

[0038] This patent provides a complete real-time conflict identification and processing solution. The following steps are executed through a timed task loop.

[0039] Assuming the map is a two-dimensional grid map, through the matrix to represent all sites.

[0040] The path of each vehicle from the current station to the target station is: ;

[0041] Based on the current speed, the updated path is the real-time path within the preset time period:

[0042] ;

[0043] Then calculate the directions of the stations in sequence along the path.

[0044] In Example 1, a formula is used to calculate the angle formed by two vectors. Assuming that u1 and u2 are vectors, the formula for forming the angle θ is:

[0045]

[0046] in, is the dot product of vectors u1 and u2, is the vector u i The norm of, and then through the arc cosine function Solving Angle .

[0047] In the plan, , representing the site To site The vector of , representing the site To site A vector of

[0048] in, , is the angle formed by u1 and u2. After the angle is obtained, Solve for the corresponding unit vector of the angle .

[0049] In Example 2, the planning path expressed in direction is to obtain each station Go to the site in the path After dividing the vector by the norm of the vector, the corresponding unit vector is obtained. .

[0050] Therefore, this step will plan the path expressed in terms of sites:

[0051] ;

[0052] Convert to a planned path expressed in directions:

[0053] .

[0054] Before step S20, the process further includes: traversing the priorities of all vehicles in advance and performing sorting. In this embodiment, the priority order of the vehicles is numbered by default. For example, when vehicle No. 1 and vehicle No. 3 are paired, the priority of vehicle No. 1 is higher than that of vehicle No. 3.

[0055] In this embodiment, further, the process of planning the vehicle path includes: calculating and obtaining the path stations passed by each vehicle from the starting point to the end point; based on the vehicle speed, updating the path to a real-time path within a preset time period; calculating the vehicle travel direction of all stations in the path; calculating the corresponding unit vector, and obtaining the vehicle travel direction of each station expressed in vector form.

[0056] Then the conflict point and type of the two vehicles are detected, and the dot product of the planned paths between the vehicles is calculated.

[0057] For example, the planned path of the first vehicle is:

[0058] ;

[0059] The planned path of the second vehicle is:

[0060] ;

[0061] Taking the dot product of the two cars gives:

[0062]

[0063]

[0064]

[0065] ;

[0066] If the result is that there is only one vehicle occupying the site, it is indicated by the marker #; if the site is not occupied by a vehicle, the default marker is *.

[0067] Among them, after the vector dot product of each site, the longest, continuous conflict of the same form containing -1, 0 or 1 is searched as the conflict point set, and a response strategy is set for each type of conflict form;

[0068] When the result is 1, the conflict type between the two vehicles is a same-direction conflict; when the result is -1, the conflict type between the two vehicles is an opposite-direction conflict; when the result is 0, the conflict type between the two vehicles is an orthogonal conflict.

[0069] For example, in a head-on conflict, many situations can be further subdivided, such as the situation where the starting point of car 1 has no conflict but the end point conflicts, while the starting point and end point of car 2 have conflict. In this case, a response strategy similar to the conflict can be preset: car 1 runs normally, while car 2 is rerouted.

[0070] It should be noted that the above are only examples for illustration. Figure 4 And attached Figure 5 As shown, the conflict types can be further subdivided into many other categories, and corresponding coping strategies are provided, which are not limited to those described in this embodiment.

[0071] In this embodiment, after each round of path planning, the conflict point information of each vehicle is calculated in real time by using a neural network model, and the historical conflict graph of each vehicle is dynamically iterated and updated.

[0072] On this basis, the neural network model reads the distribution of conflict points of each vehicle on the map, and through the construction of a second-layer network for identification and learning, it memorizes the conflict point pattern characteristics of each vehicle, and adaptively plans non-conflict paths based on historical and current conflict situations.

[0073] Specifically, the historical conflict graph is iteratively updated through a recursive distance center surround network model. Of course, other neural network models can also be used to complete the iterative update of the historical conflict graph of the vehicle, which is not limited to the description in this embodiment.

[0074] It should be noted that the recurrent on-center off-surround network is a commonly used model in computational neuroscience to simulate neural networks.

[0075] Among them, this scheme proposes to set a neuron at each grid site (i, j) on the map: ;

[0076] In this embodiment, the historical weight of the conflict point of vehicle kth at the station is calculated, wherein the dynamic process is implemented by the following differential equation or recursive distance center surround network:

[0077] ;

[0078] In the formula, Reflect the distance center mechanism, Reflect the separation and surround mechanism;

[0079] In the formula: ;

[0080] ;

[0081] in Input the conflict point of vehicle kth at station (i, j). If station (i, j) has the kth vehicle conflict point, ;otherwise .

[0082] Convolution filtering by a two-dimensional Gaussian kernel function:

[0083] .

[0084] Choose a width larger than the width of the center convolution: , the weights of sites with conflict points are enhanced, and the weights of sites without conflict points are weakened, thereby calculating the locations of conflict points.

[0085] And the distance-to-center mechanism input includes the conflict point weight of each site, which is a recursive mechanism of the network: ;

[0086] When the conflict point information does not change, the network will maintain the conflict situation of the previous cycle.

[0087] When a conflict point occurs at site (i, j), the weight of the conflict point at site (i, j) is increased through the network's distance-to-center mechanism. At the same time, the contrast between the weight of sites with conflict point input and the weight of sites without conflict point input is enhanced through the network's distance-to-surround mechanism.

[0088] Because the maximum total activity of the network is 1 and the minimum is 0, the weight of the conflict point at each site is dynamically adjusted according to the current path situation.

[0089] The distance-to-center input to the network then includes the current weight of the site ,This recursive mechanism maintains the distribution layout of the conflict points of the previous cycle in the absence of new conflict points, but it also gradually decreases after a long time according to the attenuation rate of the network.

[0090] It can be understood that in this embodiment, because the differential equation is updated in real time, the network can automatically calculate the conflict point information of each vehicle in real time. In addition, through the above network, the conflict point information can be expressed as a pattern, that is, how the conflict points of each vehicle are distributed on the map, and then the second layer network is built to identify, learn, and memorize the conflict point pattern characteristics of each vehicle, so as to adaptively plan non-conflict paths according to historical and current conflict situations.

[0091] Therefore, the network is not only able to calculate the set of historical conflict points for each vehicle, but also retain only the most relevant ones, dynamically adjusting the weights of the conflict points at each station according to the current situation.

[0092] In the above steps, the current historical conflict point weight of each vehicle is obtained, the heuristic function of the A* path search algorithm is modified to minimize the sum of weight and distance, and then the optimal path is searched.

[0093] When the searched path overlaps with a station with non-zero weight, the cost of the overlapping segment will be the segment length multiplied by (1 + weight value). If the weight is zero, the cost will be equal to the segment length.

[0094] Compared with the common practice of expanding a certain range at each conflict point, because the weights of the conflict points in this solution are dynamically changing, the optimal search path will also be dynamically adjusted according to historical conditions.

[0095] This technical solution models the conflict information, subdivides the conflict types according to the current site and the target site, and lists all scenarios and corresponding decisions; it uses a recursive distance center surround network model to dynamically calculate the weight of each vehicle's historical conflict point, and realizes dynamic and cyclically optimized multi-vehicle path planning, ensuring the efficient operation of vehicles and avoiding vehicle conflict stagnation.

[0096] The present application also provides an electronic device, such as Figure 6 As shown, Figure 6The electronic device 700 shown includes: a processor 701 and a memory 703. The processor 701 and the memory 703 are connected, such as through a bus 702. Optionally, the electronic device 700 may also include a transceiver 704. It should be noted that in actual applications, the transceiver 704 is not limited to one, and the structure of the electronic device 700 does not constitute a limitation on the embodiments of the present application.

[0097] Processor 701 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 701 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0098] The bus 702 may include a path to transmit information between the above components. The bus 702 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 702 may be divided into an address bus, a data bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0099] The memory 703 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0100] The memory 703 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 701. The processor 701 is used to execute the application code stored in the memory 703 to implement the contents shown in the above method embodiment.

[0101] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, notebook computers, PDAs (personal digital assistants), PADs (tablet computers), etc., and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 6 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0102] The embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed in a computer, the computer is caused to execute the real-time path conflict processing method provided in the above embodiment.

[0103] It should be understood that although the steps in the flowchart of the accompanying drawings are shown in sequence according to the instructions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise clearly stated in this document, the execution of these steps is not strictly limited in order and can be performed in other orders.

[0104] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A real-time path conflict processing method, characterized in that: The method comprises: Path planning is performed based on the starting point, end point, and conflict point of each vehicle. The planned path represents the vehicle driving direction at each station in the form of a vector; Traverse all two-car pairs, input the path vectors of the two cars in the two-dimensional grid map, and calculate the vector dot product of each station; Obtain all the conflict points of the two-vehicle paths based on the vector dot product, classify the conflict forms, and set a response strategy for each type of conflict form; Set the historical conflict graph of the vehicle, and dynamically iterate and update the historical conflict graph according to the conflict points of the vehicle; Replan the path of each vehicle based on the historical conflict graph and the current conflict points; plan the path to avoid the conflict area based on the historical weight of the conflict points and the distance between stations; It also includes: pre-traversing the priorities of all vehicles and setting the sorting; The process of planning a vehicle's path includes: Calculate the path sites that each vehicle passes through from the starting point to the end point; Based on the vehicle speed, the route is updated to a real-time route within a preset time period; Calculate the vehicle travel direction for all stations in the route; Calculate the corresponding unit vector and obtain the vehicle driving direction of each station in vector form; After the vector dot product of each site, search for the longest, continuous conflict of the same form containing -1, 0 or 1 as the conflict point set, and set a response strategy for each type of conflict form; When the result is 1, the conflict type between the two vehicles is a same-direction conflict; when the result is -1, the conflict type between the two vehicles is an opposite-direction conflict; when the result is 0, the conflict type between the two vehicles is an orthogonal conflict.

2. The real-time path conflict processing method according to claim 1, characterized in that: When planning the path for each vehicle, the A-star algorithm is used for path planning.

3. The real-time path conflict processing method according to claim 1, characterized in that: After each round of path planning, the conflict point information of each vehicle is calculated in real time through the neural network model, and the historical conflict map of each vehicle is dynamically iterated and updated.

4. The real-time path conflict processing method according to claim 3, characterized in that: The neural network model reads the distribution of conflict points of each vehicle on the map, and recognizes and learns by building a second-layer network to memorize the conflict point pattern characteristics of each vehicle, and adaptively plans non-conflict paths based on historical and current conflict situations.

5. The real-time path conflict processing method according to claim 4, characterized in that: The historical conflict graph is iteratively updated through a recursive center-to-surround network model.

6. An electronic device, characterized in that: The electronic device includes: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the real-time path conflict processing method according to any one of claims 1 to 5.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed in a computer, the computer is caused to execute the real-time path conflict processing method according to any one of claims 1 to 5.