Unmanned vehicle obstacle avoidance path planning method, device, electronic equipment and medium

The Petri net model and Dijkstra algorithm are used to optimize the obstacle avoidance path planning of unmanned vehicles, which solves the problem of long solution time of mathematical programming method, realizes real-time traffic control of unmanned vehicles, and is suitable for high-density scenes.

CN117492440BActive Publication Date: 2024-08-23JIHUA LAB
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311476210.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-07
Publication Date
2024-08-23
Estimated Expiration
2043-11-07

AI Technical Summary

Technical Problem

When using mathematical programming methods for unmanned vehicle traffic control in the existing technology, the solution time is too long and cannot meet the demand for real-time traffic control in actual application scenarios.

Method used

The Petri net model is used for obstacle avoidance path planning of unmanned vehicles. By determining the conflict type, initializing the Petri net model, monitoring the position of the unmanned vehicle in real time, calculating the initial and target states, and generating control instructions to control the unmanned vehicle to avoid or drive, Dijkstra is used The algorithm optimizes the state transition path.

Benefits of technology

The solution time is significantly reduced to only a few milliseconds, which meets the needs of real-time traffic control for unmanned vehicles and is suitable for high-density unmanned vehicle scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117492440B
    Figure CN117492440B
Patent Text Reader

Abstract

The present disclosure provides an unmanned vehicle obstacle avoidance path planning method, device, electronic device and medium, and relates to the field of path planning. The method includes: determining the conflict types of multiple unmanned vehicles based on the preset driving paths of multiple unmanned vehicles; initializing the preset Petri net model according to the conflict type, and determining at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model; real-time monitoring of the positions of at least two target conflicting unmanned vehicles, taking the positions of at least two target conflicting unmanned vehicles that plan to enter and leave the preset Petri net model control area as the initial positions and target positions of the unmanned vehicles, and determining the initial state and target state of the preset Petri net model; determining the target state transfer path according to the initial state and the target state; generating a control instruction according to the target state transfer path, and sending the control instruction to at least two target conflicting unmanned vehicles, and controlling at least two target conflicting unmanned vehicles to avoid or drive.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of path planning, and in particular relates to a method, device, electronic device and medium for obstacle avoidance path planning for an unmanned vehicle. Background Art

[0002] In flexible automated production lines and automated logistics warehouses, multiple AGVs (Automated Guided Vehicles) complete material handling tasks according to the assigned tasks and along the planned paths. An automated guided vehicle is an unmanned transport vehicle that is equipped with an automatic guidance system, moves along a navigation line or through visual navigation, and has functions such as transporting goods. When multiple unmanned vehicles are running along the planned paths, appropriate methods need to be used to control traffic on the unmanned vehicles to prevent collisions between unmanned vehicles whose paths intersect or overlap with each other.

[0003] In the related art, traffic control is performed on multiple unmanned vehicles through mathematical programming. Mathematical programming generally describes the path planning and traffic control problems of unmanned vehicles as mathematical programming problems described by objective optimization functions, decision variables and constraints, and uses heuristic algorithms to solve them. Due to the huge solution space and the fact that traffic control based on mathematical programming methods requires tens of minutes or even longer to solve, the long solution time limits the application of this method in practice. Therefore, how to reduce the solution time to meet the needs of real-time traffic control of unmanned vehicles in actual application scenarios is a problem that needs to be solved urgently. Summary of the invention

[0004] Based on this, it is necessary to provide an unmanned vehicle obstacle avoidance path planning method, device, electronic device and medium to address the problem that the solution time is too long when using mathematical programming methods to achieve traffic control in the prior art, which cannot meet the needs of real-time traffic control for unmanned vehicles in application scenarios.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for obstacle avoidance path planning for an unmanned vehicle, the method comprising:

[0006] Determining conflict types of the multiple unmanned vehicles based on preset driving paths of the multiple unmanned vehicles;

[0007] Initializing a preset Petri net model according to the conflict type, and determining at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model;

[0008] Monitor the positions of the at least two target conflicting unmanned vehicles in real time, take the positions of the at least two target conflicting unmanned vehicles that plan to enter and leave the control area of ​​the preset Petri net model as the initial positions and target positions of the unmanned vehicles, and determine the initial state and target state of the preset Petri net model;

[0009] Determining a target state transition path according to the initial state and the target state;

[0010] According to the target state transfer path, a control instruction is generated, and the control instruction is sent to the at least two target conflicting unmanned vehicles to control the at least two target conflicting unmanned vehicles to avoid or drive; the control instruction carries a target avoidance strategy.

[0011] As an optional implementation of the present disclosure, the conflict type includes: a first conflict type and a second conflict type, the first conflict type is an opposite conflict occurring at a preset road section, and the second conflict type is a node conflict occurring at a preset node.

[0012] As an optional implementation of the present disclosure, when the conflict type is the first conflict type, initializing the preset Petri net model according to the conflict type, and determining at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model, includes:

[0013] Initializing a first preset Petri net model on the target conflict section, and determining at least two target conflicting unmanned vehicles that need to be controlled by the first preset Petri net model;

[0014] When the conflict type is the second conflict type, initializing the preset Petri net model according to the conflict type and determining at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model include:

[0015] Initialize a second preset Petri net model at the target conflict node, and determine at least two target conflicting unmanned vehicles that need to be controlled by the second preset Petri net model.

[0016] As an optional implementation of the present disclosure, the real-time monitoring of the positions of the at least two target conflicting unmanned vehicles, taking the positions of the at least two target conflicting unmanned vehicles that plan to enter and leave the control area of ​​the preset Petri net model as the initial positions and target positions of the unmanned vehicles, and determining the initial state and target state of the preset Petri net model, includes:

[0017] According to a preset Petri net model, calculating a reachable graph corresponding to the preset Petri net model, and determining a state space representation corresponding to each state in the reachable graph;

[0018] The positions of the at least two target-conflicting unmanned vehicles are monitored in real time, and the positions at which the at least two target-conflicting unmanned vehicles plan to enter and leave the control area of ​​the preset Petri net model are used as the initial positions and target positions of the unmanned vehicles to determine the initial state and target state of the preset Petri net model.

[0019] As an optional implementation manner of the present disclosure, determining a target state transition path according to the initial state and the target state includes:

[0020] Based on a preset algorithm, a target state transition path between the initial state and the target state is obtained in the reachable graph.

[0021] As an optional implementation manner of the present disclosure, generating a control instruction according to the target state transition path includes:

[0022] According to the target state transition path, determining a transition triggering sequence corresponding to the target state transition path;

[0023] determining a target avoidance strategy according to the transition-initiating sequence;

[0024] A control instruction is generated according to the target avoidance strategy.

[0025] In a second aspect, an embodiment of the present disclosure provides an obstacle avoidance path planning device for an unmanned vehicle, the device comprising:

[0026] An acquisition module, configured to determine the conflict types of the multiple unmanned vehicles based on the preset driving paths of the multiple unmanned vehicles;

[0027] An initialization module, used to initialize a preset Petri net model according to the conflict type, and determine at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model;

[0028] A monitoring module is used to monitor the positions of the at least two target conflicting unmanned vehicles in real time, and determine the initial state and target state of the preset Petri net model by taking the positions where the at least two target conflicting unmanned vehicles plan to enter and leave the control area of ​​the preset Petri net model as the initial position and target position of the unmanned vehicles;

[0029] A determination module, used for determining a target state transition path according to the initial state and the target state;

[0030] A control module is used to generate a control instruction according to the target state transfer path, and send the control instruction to the at least two target conflicting unmanned vehicles to control the at least two target conflicting unmanned vehicles to avoid or drive; the control instruction carries a target avoidance strategy.

[0031] As an optional implementation of the present disclosure, the conflict type includes: a first conflict type and a second conflict type, the first conflict type is an opposite conflict occurring at a preset road section, and the second conflict type is a node conflict occurring at a preset node.

[0032] As an optional implementation manner of the present disclosure, when the conflict type is the first conflict type, the initialization module is specifically configured to:

[0033] Initializing a first preset Petri net model on the target conflict section, and determining at least two target conflicting unmanned vehicles that need to be controlled by the first preset Petri net model;

[0034] When the conflict type is the second conflict type, the initialization module is specifically configured to:

[0035] Initialize a second preset Petri net model at the target conflict node, and determine at least two target conflicting unmanned vehicles that need to be controlled by the second preset Petri net model.

[0036] As an optional implementation manner of the present disclosure, the monitoring module is specifically used for:

[0037] According to a preset Petri net model, calculating a reachable graph corresponding to the preset Petri net model, and determining a state space representation corresponding to each state in the reachable graph;

[0038] The positions of the at least two target-conflicting unmanned vehicles are monitored in real time, and the positions at which the at least two target-conflicting unmanned vehicles plan to enter and leave the control area of ​​the preset Petri net model are used as the initial positions and target positions of the unmanned vehicles to determine the initial state and target state of the preset Petri net model.

[0039] As an optional implementation manner of the present disclosure, the determining module is specifically configured to:

[0040] Based on a preset algorithm, a target state transition path between the initial state and the target state is obtained in the reachable graph.

[0041] As an optional implementation manner of the present disclosure, the control module is specifically used to:

[0042] According to the target state transition path, determining a transition triggering sequence corresponding to the target state transition path;

[0043] determining a target avoidance strategy according to the transition-initiating sequence;

[0044] A control instruction is generated according to the target avoidance strategy.

[0045] As an optional implementation of the present disclosure, the device further includes:

[0046] The deletion module is used to delete the preset Petri net model when all the target conflict unmanned vehicles controlled by the preset Petri net model drive according to the control instructions and leave the control area of ​​the preset Petri net model.

[0047] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a memory and a processor, the memory being used to store a computer program; the processor being used to execute the unmanned vehicle obstacle avoidance path planning method described in the first aspect or any embodiment of the first aspect when calling the computer program.

[0048] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the unmanned vehicle obstacle avoidance path planning method described in the first aspect or any embodiment of the first aspect is implemented.

[0049] The unmanned vehicle obstacle avoidance path planning method provided by the disclosed embodiment determines the conflict types of multiple unmanned vehicles based on the preset driving paths of multiple unmanned vehicles; initializes the preset Petri net model according to the conflict type, and determines at least two target conflicting unmanned vehicles that the preset Petri net model needs to control; monitors the positions of the at least two target conflicting unmanned vehicles in real time, and determines the initial state and target state of the preset Petri net model based on the positions where the at least two target conflicting unmanned vehicles plan to enter and leave the preset Petri net model control area; determines the target state transfer path according to the initial state and the target state; generates a control instruction according to the target state transfer path, and sends a control instruction carrying a target avoidance strategy to at least two target conflicting unmanned vehicles, so as to control at least two target conflicting unmanned vehicles to avoid or drive. Since the state space of the established preset Petri net model is small, it only takes a few milliseconds of solution time, which can meet the needs of real-time traffic control of unmanned vehicles in actual application scenarios compared to the solution time of tens of minutes or even hours of traffic control methods based on mathematical programming. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0052] Figure 1 A flow chart of an obstacle avoidance path planning method for an unmanned vehicle provided in an embodiment of the present disclosure;

[0053] Figure 2a A schematic diagram of a conflicting situation provided by an embodiment of the present disclosure;

[0054] Figure 2b One of the schematic diagrams of a node conflict provided in an embodiment of the present disclosure;

[0055] Figure 2c A second schematic diagram of a node conflict provided in an embodiment of the present disclosure;

[0056] Figure 2d A third schematic diagram of a node conflict provided in an embodiment of the present disclosure;

[0057] Figure 2e A schematic diagram of a catch-up conflict provided by an embodiment of the present disclosure;

[0058] Figure 3a A schematic diagram of a single unmanned vehicle driving at an intersection provided by an embodiment of the present disclosure;

[0059] Figure 3b A time Petri net model of a single unmanned vehicle driving at an intersection provided in an embodiment of the present disclosure;

[0060] Figure 4a One of the preset Petri net models provided in the embodiment of the present disclosure;

[0061] Figure 4b A second preset Petri net model provided in an embodiment of the present disclosure;

[0062] Figure 5a One of the reachable graphs corresponding to a preset Petri net model provided in an embodiment of the present disclosure;

[0063] Figure 5b A second reachable graph corresponding to a preset Petri net model provided in an embodiment of the present disclosure;

[0064] Figure 6a-6f A schematic diagram of an unmanned vehicle path planning and obstacle avoidance provided in an embodiment of the present disclosure;

[0065] Figure 7a-7cAnother schematic diagram of path planning and obstacle avoidance for an unmanned vehicle provided in an embodiment of the present disclosure;

[0066] Figure 8 A schematic diagram of an obstacle avoidance path planning device for an unmanned vehicle provided in an embodiment of the present disclosure;

[0067] Fig. 9 An internal structure diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0068] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0069] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0070] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0071] In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way. In addition, in the description of the embodiments of the present disclosure, unless otherwise specified, the meaning of "multiple" refers to two or more.

[0072] The present disclosure provides a method for planning an obstacle avoidance path for an unmanned vehicle. Figure 1 As shown, the unmanned vehicle obstacle avoidance path planning method provided by the embodiment of the present disclosure includes the following steps:

[0073] S11. Determine the conflict types of the multiple unmanned vehicles based on the preset driving paths of the multiple unmanned vehicles.

[0074] The conflict types include: a first conflict type and a second conflict type, wherein the first conflict type is a head-on conflict occurring at a preset road section, and the second conflict type is a node conflict occurring at a preset node. It is understandable that the first conflict type is a head-on conflict, and the second conflict type is a node conflict.

[0075] For example, refer to Figure 2a As shown, Figure 2a In the figure, AGV1 is unmanned vehicle 1, represented by a dotted box, the initial position of AGV1 is node v1, and the target position is node v5; AGV2 is unmanned vehicle 2, represented by a solid box, the initial position of AGV2 is node v4, and the target position is node v6; in the head-on conflict, if there is no traffic control for unmanned vehicle 1 and unmanned vehicle 2, the two unmanned vehicles will collide on section v2v3.

[0076] Reference Figure 2b-2d As shown in Figure 1, node conflicts can be further divided into three subtypes. In subtype 1, refer to Figure 2b As shown in the figure, AGV1 is unmanned vehicle 1, represented by a dotted box, the initial position of AGV1 is node v1, and the target position is node v3; AGV2 is unmanned vehicle 2, represented by a solid box, the initial position of AGV2 is node v4, and the target position is node v5; the two unmanned vehicles meet at the intersection node v2. In subtype 2, refer to Figure 2c As shown in the figure, AGV1 is unmanned vehicle 1, represented by a dotted box, the initial position of AGV1 is node v1, and the target position is node v3; AGV2 is unmanned vehicle 2, represented by a solid box, the initial position of AGV2 is node v4, and the target position is node v1; the paths of the two unmanned vehicles partially overlap but in opposite directions, and the starting point of unmanned vehicle 1 is the end point of unmanned vehicle 2. In subtype 3, refer to Figure 2d As shown, AGV1 is unmanned vehicle 1, represented by a dotted box, the initial position of AGV1 is node v1, and the target position is node v3; AGV2 is unmanned vehicle 2, represented by a solid box, the initial position of AGV2 is node v3, and the target position is node v1; the paths of the two unmanned vehicles completely overlap but are in opposite directions, and the starting point of one unmanned vehicle is the end point of the other unmanned vehicle.

[0077] In addition, the types of conflicts between multiple unmanned vehicles include: overtaking conflicts. Figure 2e As shown, in the overtaking conflict, if the running speed of unmanned vehicle 1 is greater than that of unmanned vehicle 2, the two unmanned vehicles will rear-end each other. In actual scenarios, the unmanned vehicle can adjust its speed or stop its movement through its own distance sensor to avoid colliding with the object in front of it, so the overtaking conflict can be directly avoided by the unmanned vehicle's own sensor. Therefore, the unmanned vehicle obstacle avoidance path planning method provided in the embodiment of the present disclosure does not consider overtaking conflicts.

[0078] S12. Initialize a preset Petri net model according to the conflict type, and determine at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model.

[0079] Specifically, the time Petri net is used to model the conflict between multiple unmanned vehicles. represents the set of non-negative integers, represents a set of positive real numbers, then a time Petri net can be defined as a 6-tuple TPN = (P, T, I, O, S0, θ). Among them, P is the set of places in the Petri net, i.e., circular nodes; T is the set of transitions in the Petri net, i.e., square nodes; is the set of input streams for the transition; is the set of output streams of the transition; is the initial state of the Petri net; is the time required for each transition of the time Petri net to be triggered, which corresponds to the driving time of the unmanned vehicle from one node to another node on the map. Represents the kth state of the Petri net.

[0080] In addition, in the related art, in addition to the mathematical programming method, the commonly used traffic control method also includes the time window method. The time window method establishes time windows for multiple unmanned vehicles to pass through each edge on the map in the time dimension, and arranges the time windows of each unmanned vehicle without overlapping in the time dimension. Each unmanned vehicle operates strictly according to the arranged time windows. However, the time window method lacks consideration of the uncertainty of the unmanned vehicle's running time, and it is difficult to adapt to the fluctuations in the running time of unmanned vehicles caused by environmental changes and emergencies in actual application scenarios. The embodiment of the present disclosure takes into account the driving time of the unmanned vehicle from one node to another on the map, which overcomes this problem.

[0081] For example, first, a temporal Petri net model of a single unmanned vehicle running at an intersection is established, such as Figure 3a As shown in the figure, AGV1 is an unmanned vehicle 1, which is represented by a dotted frame. Figure 3b In the node library, p i,a If ∈P contains a token (a token is a dynamic object in a place that can be moved from one place to another), it means that the unmanned vehicle i has reached node v a ; and the change t i,a,b ∈T means that the unmanned vehicle i starts from node v a Run to node v b process; In addition, using θ(t i,a,b ) indicates the transition t i,a,b The triggering time, that is, the time when the unmanned vehicle i starts from node v a Run to node v b of running time.

[0082] Corresponding preset Petri net models are established for different conflict types. When the conflict type is the first conflict type, that is, the opposite conflict, a first preset Petri net model is established, that is, the time Petri net model of the opposite conflict, and the first preset Petri net model is initialized at the conflict section to obtain at least two target conflicting unmanned vehicles that the first preset Petri net model needs to control. When the conflict type is the second conflict type, that is, the node conflict, a second preset Petri net model is established, that is, the time Petri net model of the node conflict, and the second preset Petri net model is initialized at the conflict node to obtain at least two target conflicting unmanned vehicles that the second preset Petri net model needs to control.

[0083] In some embodiments, when the conflict type is the first conflict type, the above step S12 (initializing the preset Petri net model according to the conflict type, and determining at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model) can be implemented as follows:

[0084] Initialize a first preset Petri net model on the target conflict section, and determine at least two target conflicting unmanned vehicles that need to be controlled by the first preset Petri net model.

[0085] Specifically, establish Figure 2a The time Petri net model of the conflicting direction in Figure 4a As shown. Figure 4a In the path library, i,a-b ∈P contains a token indicating that the driverless car i is on road section v a v b On; and changes t i,a-b,c-d ∈T means that the unmanned vehicle i starts from road section v a v b Run to section v c v d The upper part of the time Petri net (p 1,1-2 →t 1,1-2,2-3 →p 1,2-3 →t 1,2-3,3-5 →p 1,3-5 ) represents the process of autonomous vehicle 1 starting from road segment v1v2, passing through road segment v2v3, and finally arriving at road segment v3v5; the lower part (p 1,3-4 →t 2,3-4,2-3 →p 2,2-3 →t 2,2-3,2-6 →p 2,2-6 ) represents the process of autonomous vehicle 2 starting from road segment v3v4, passing through road segment v2v3, and finally arriving at road segment v2v6. Since conflicting road segment v2v3 does not allow two autonomous vehicles to enter at the same time, the public resource library is introduced.2-3 To impose constraints on the model, the resource library contains tokens indicating that road segment v2v3 is idle and allows the unmanned vehicle to enter. 2-3 Under the constraint of , no more than one unmanned vehicle is allowed to enter the road section v2v3 at the same time. That is, in the first Petri net model of the conflicting target unmanned vehicles to be controlled include unmanned vehicle 1 and unmanned vehicle 2.

[0086] In addition, in related technologies, in addition to mathematical programming and time window methods, commonly used traffic control methods also include regional control methods. Regional control methods require dividing the entire map into several non-overlapping areas, and only one unmanned vehicle is allowed to enter each area to prevent collisions between unmanned vehicles. However, each control area of ​​the regional control method only allows one unmanned vehicle to enter, so it is only suitable for application scenarios with a low density of unmanned vehicles. This solution, through the constraints of the resource library, is not only suitable for application scenarios with a low density of unmanned vehicles, but also for application scenarios with a high density of unmanned vehicles.

[0087] In some implementations, when the conflict type is the second conflict type, the above step S12 (initializing the preset Petri net model according to the conflict type, and determining at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model) can be implemented as follows:

[0088] Initialize a second preset Petri net model at the target conflict node, and determine at least two target conflicting unmanned vehicles that need to be controlled by the second preset Petri net model.

[0089] Specifically, by combining the models of the two intersections, we can obtain the temporal Petri net model of node conflict, such as Figure 4b In order to meet the constraint that the number of unmanned vehicles on each node cannot exceed 1 (otherwise, unmanned vehicles will collide), the public resource library is introduced. i (i=1,2,…,5) imposes constraints on the first preset Petri net model. If the resource library p i contains a token, it means that the node v i In idle state, the unmanned vehicle is allowed to run to this node. Figure 4b As shown in the figure, taking resource library p1 as an example, there is no token in p1 at present, because node v1 is currently occupied by unmanned vehicle 1 (i.e. node library p 1,1 Token is included in the transition t 2,2,1In the current state, the triggering condition is not met (the triggering condition is that all input places of the transition have tokens), that is, the unmanned vehicle 2 cannot currently run from node v2 to node v1, so as to achieve the constraint that the number of unmanned vehicles at each node at the same time does not exceed 1, avoiding collisions between unmanned vehicles; if the unmanned vehicle 1 leaves the node v1 (i.e., the transition t 1,1,2 Triggered), then the node library p 1,1 The token in resource repository p1 disappears and the token in resource repository p1 is restored, then unmanned vehicle 2 can drive to node v1. The same applies to other resource repositories p2 to p5. That is, in the second preset Petri net model of node conflict, the target conflict unmanned vehicles to be controlled include unmanned vehicle 1 and unmanned vehicle 2.

[0090] S13. Monitor the positions of the at least two target-conflicting unmanned vehicles in real time, take the positions at which the at least two target-conflicting unmanned vehicles plan to enter and leave the control area of ​​the preset Petri net model as the initial positions and target positions of the unmanned vehicles, and determine the initial state and target state of the preset Petri net model.

[0091] In some embodiments, the above step S13 can be implemented as follows:

[0092] According to a preset Petri net model, calculating a reachable graph corresponding to the preset Petri net model, and determining a state space representation corresponding to each state in the reachable graph;

[0093] The positions of the at least two target-conflicting unmanned vehicles are monitored in real time, and the positions at which the at least two target-conflicting unmanned vehicles plan to enter and leave the control area of ​​the preset Petri net model are used as the initial positions and target positions of the unmanned vehicles to determine the initial state and target state of the preset Petri net model.

[0094] Specifically, for the conflict, after establishing the time Petri net model of the conflict (i.e., the first preset Petri net model), the position of the conflicting unmanned vehicle is monitored in real time. When the corresponding unmanned vehicle enters the control area of ​​the first preset Petri net model, the control area of ​​the conflict refers to the conflicting road section and its adjacent road sections. The reachable graph of the first preset Petri net model is calculated as follows: Figure 5a As shown, there are 8 states in total, and the value of each state is shown in Table 1.

[0095] Table 1

[0096]

[0097] For example, Figure 2aIn the conflict, in the initial state, unmanned vehicle 1 is at node v1, and unmanned vehicle 2 is at node v4, and its initial state is S0; in the target state, unmanned vehicle 1 is at node v5, and unmanned vehicle 2 is at node v6, and its target state is S7.

[0098] Specifically, for node conflicts, after establishing a time Petri net model of node conflicts (i.e., the second preset Petri net model), the position of the conflicting unmanned vehicle is monitored in real time. When the corresponding unmanned vehicle enters the control area of ​​the second preset Petri net model, the control area of ​​the node conflict refers to the range from the conflicting node to its adjacent nodes; the initial state and target state corresponding to the first Petri net are identified. The reachable graph of the first preset Petri net model is calculated, such as Figure 5b As shown, there are 20 states in total, and the value of each state is shown in Table 2.

[0099] Table 2

[0100]

[0101]

[0102] For example, Figure 2b-2d There are three subtypes of midpoint conflicts. The initial state corresponding to subtype 1 is S0 and the target state is S 12 ; The initial state corresponding to subtype 2 is S0, and the target state is S 16 ; The initial state corresponding to subtype 3 is S4, and the target state is S 16 .

[0103] S14. Determine a target state transition path according to the initial state and the target state.

[0104] In some embodiments, the above step S14 (determining the target state transition path according to the initial state and the target state) can be implemented as follows:

[0105] Based on a preset algorithm, a target state transition path between the initial state and the target state is obtained in the reachable graph.

[0106] The preset algorithm may be a Dijkstra algorithm or other reasonable algorithms, which are not specifically limited here. The target state transition path is an optimal state transition path between the initial state and the target state obtained based on the preset algorithm.

[0107] For example, for the first preset Petri net model, there are only two optional state transition paths from S0 to S7 in the reachable graph, namely S0→S2→S4→S6→S7 and S0→S1→S3→S5→S7. The transition triggering sequences corresponding to the two paths are t 1,1-2,2-3 →t 1,2-3,3-5 →t 2,3-4,2-3 →t 2,2-3,2-6 and t 2,3-4,2-3 →t 2,2-3,2-6 →t 1,1-2,2-3 →t 1,2-3,3-5 When performing traffic control for opposite-direction conflicts, any path can be selected as a traffic control solution based on the Dijkstra algorithm, so that one of the unmanned vehicles stops and waits first, and the other unmanned vehicle passes through the conflicting section v2v3 first, so as to resolve the opposite-direction conflict.

[0108] For example, for the second preset Petri net model, the transition triggering sequence, that is, the traffic control scheme or the guidance sequence of the unmanned vehicle, can be obtained by searching the state transition path from the initial state to the target state in the reachable graph using the Dijkstra algorithm. Figure 2d Taking subtype 3 of node conflict as an example, Dijkstra algorithm can be used to search for nodes from the initial state S4 to the target state S 16 One of the shortest state transition paths is S4→S1→S0→S2→S6→S 10 →S 16 , the transition triggering sequence corresponding to this path is t 2,3,2 →t 2,2,4 →t 1,1,2 →t 1,2,3 →t 2,4,2 →t 2,2,1 , the traffic control scheme corresponding to the transition triggering sequence is that unmanned vehicle 2 first runs to node v4 to avoid waiting, unmanned vehicle 1 first runs to node v3 via node v2, and then unmanned vehicle 2 returns to node v2 and runs to node v1, thereby resolving the node conflict between unmanned vehicles 1 and 2. When using the Dijkstra algorithm to search for transition paths, the path cost between states is calculated using the transition triggering time θ(t i,a,b )(That is, the unmanned vehicle i starts from node v a Run to node v b Therefore, the shortest state transition path searched in the reachable graph is the optimal traffic control solution with the shortest running time.

[0109] Since the state space of the node conflict Petri net model is small, the time for searching the state transition path using the Dijkstra algorithm only takes a few milliseconds, which can meet the needs of real-time traffic control for unmanned vehicles in actual application scenarios.

[0110] In the disclosed embodiment, corresponding Petri net models are established for different conflict types, and the corresponding models are used to control and guide traffic for unmanned vehicles in different types of conflicts, thereby solving the conflict problem of multiple unmanned vehicles. The established node conflict Petri net model consists of two Petri net models of intersections, and constraints are imposed on the model through the public resource library, so that the number of unmanned vehicles on the same node at the same time does not exceed one, preventing unmanned vehicles from colliding.

[0111] S15. Generate a control instruction according to the target state transfer path, and send the control instruction to the at least two target conflicting unmanned vehicles to control the at least two target conflicting unmanned vehicles to avoid or drive.

[0112] Wherein, the control instruction carries a target avoidance strategy.

[0113] In some embodiments, the above step S15 (generating a control instruction according to the target state transition path) can be implemented as follows:

[0114] According to the target state transition path, determining a transition triggering sequence corresponding to the target state transition path;

[0115] determining a target avoidance strategy according to the transition-initiating sequence;

[0116] A control instruction is generated according to the target avoidance strategy.

[0117] For example, the traffic control of node conflicts is described by way of example. Figure 6a As shown, unmanned vehicle 1 and unmanned vehicle 2 are traveling in opposite directions, unmanned vehicle 1 is traveling from node 1 to node 7, and unmanned vehicle 2 is traveling from node 7 to node 1; unmanned vehicle 3 and unmanned vehicle 4 are traveling in opposite directions, unmanned vehicle 3 is traveling from node 3 to node 5, and unmanned vehicle 4 is traveling from node 5 to node 3; the conflict type of the two groups of unmanned vehicles belongs to subtype 3 of node conflict. The method proposed in the present disclosure performs traffic control on this case as follows: node 4 is identified as a conflict node based on the path of the unmanned vehicle, and traffic control of unmanned vehicle 1 and unmanned vehicle 2 is first performed, and unmanned vehicle 3 and unmanned vehicle 4 stop and wait in front of node 4; a node conflict Petri net model is initialized at node 4 and the conflicting unmanned vehicles are recorded as unmanned vehicle 1 and unmanned vehicle 2; unmanned vehicle 1 and unmanned vehicle 2 are already in the control area of ​​the model, and the current initial state and target state of the identification model are S4 and S5 respectively. 16 ; Use Dijkstra algorithm to search for the shortest state transition path S4→S8→S in the reachable graph 14 →S9→S 15 →S 18 →S16 , the search time is less than 1 millisecond; according to the state transition path, control instructions are sent to the unmanned vehicle, refer to Figure 6b As shown, unmanned vehicle 1 avoids to the direction of node 3 via node 4, and unmanned vehicle 2 drives to its target node 1 via node 4; Figure 6c As shown, the unmanned vehicle 1 then returns to node 4 and drives to its target node 7; at this point, the node conflict between unmanned vehicle 1 and unmanned vehicle 2 has been resolved, the corresponding Petri net model is deleted, and a Petri net model is re-initialized at node 4 and the conflicting unmanned vehicles are recorded as unmanned vehicles 3 and 4; refer to Figure 6d As shown in the figure, unmanned vehicle 3 and unmanned vehicle 4 are already in the control area of ​​the model, and the current initial state and target state of the recognition model are S5 and S6 respectively. 11 ; Use Dijkstra algorithm to search for the shortest state transition path in the reachable graph: S5→S2→S0→S1→S3→S7→S 11 , the search time is less than 1 millisecond; according to the state transition path, control instructions are sent to the unmanned vehicle, refer to Figure 6e As shown, unmanned vehicle 3 avoids to the direction of node 1 via node 4, and then unmanned vehicle 4 drives to its target node 3 via node 4; Figure 6f As shown, the unmanned vehicle 3 then returns to the node 4 and drives toward its target node 5.

[0118] Exemplarily, conflicting traffic controls are illustrated. Figures 7a to 7c In the traffic control case shown, unmanned vehicle 1 and unmanned vehicle 2 collide with each other on road section 4-7. Unmanned vehicle 1 travels from node 3 to node 10, and unmanned vehicle 2 travels from node 8 to node 1. The process of traffic control of the case by the method proposed in the present invention is as follows: according to the path of the unmanned vehicle, road section 4-7 is identified as a conflicting road section; Figure 7a As shown, a conflicting Petri net model is initialized on the conflicting road section 4-7 and the conflicting unmanned vehicles are recorded as unmanned vehicle 1 and unmanned vehicle 2; unmanned vehicle 1 and unmanned vehicle 2 are already in the control area of ​​the model, and the current initial state and target state of the model are identified as S0 and S7 respectively; the Dijkstra algorithm is used to search for a shortest state transition path S0→S2→S4→S6→S7 in the reachable graph, and the search time is less than 1 millisecond; control instructions are sent to the unmanned vehicle according to the state transition path, referring to Figure 7b As shown, the unmanned vehicle 2 stops and waits before the node 7; Figure 7c As shown, after unmanned vehicle 1 passes through the conflicting road section 4-7 and drives towards its target node 10, unmanned vehicle 2 then passes through the conflicting road section 4-7 and drives towards its target node 1.

[0119] In some embodiments, when all target conflicting unmanned vehicles controlled by the preset Petri net model drive according to the control instructions and leave the control area of ​​the preset Petri net model, the preset Petri net model is deleted.

[0120] Specifically, when all conflicting unmanned vehicles controlled by a certain Petri net model drive according to the control instructions and leave the control area of ​​the Petri net model, the Petri net model completes the traffic control task and the Petri net model is deleted.

[0121] The unmanned vehicle obstacle avoidance path planning method provided by the disclosed embodiment determines the conflict types of multiple unmanned vehicles based on the preset driving paths of multiple unmanned vehicles; initializes the preset Petri net model according to the conflict type, and determines at least two target conflicting unmanned vehicles that the preset Petri net model needs to control; monitors the positions of at least two target conflicting unmanned vehicles in real time, and determines the initial state and target state of the preset Petri net model with the positions of at least two target conflicting unmanned vehicles that plan to enter and leave the control area of ​​the preset Petri net model as the initial position and target position of the unmanned vehicle; determines the target state transfer path according to the initial state and the target state; generates a control instruction according to the target state transfer path, and sends a control instruction carrying a target avoidance strategy to at least two target conflicting unmanned vehicles, so as to control at least two target conflicting unmanned vehicles to avoid or drive. Since the state space of the established preset Petri net model is small, it only takes a few milliseconds of solution time, which can meet the needs of real-time traffic control of unmanned vehicles in actual application scenarios compared to the solution time of tens of minutes or even hours of traffic control methods based on mathematical programming.

[0122] The embodiments of the present disclosure provide an unmanned vehicle obstacle avoidance path planning device, which is used to execute any one of the unmanned vehicle obstacle avoidance path planning methods provided in the above embodiments, and has the corresponding beneficial effects of the unmanned vehicle obstacle avoidance path planning method.

[0123] Figure 8 A schematic diagram of a structure of an obstacle avoidance path planning device for an unmanned vehicle provided in an embodiment of the present disclosure, such as Figure 8 As shown, the unmanned vehicle obstacle avoidance path planning device includes: an acquisition module 810, an initialization module 820, a monitoring module 830, a determination module 840, and a control module 850.

[0124] An acquisition module 810 is used to determine the conflict type of the multiple unmanned vehicles based on the preset driving paths of the multiple unmanned vehicles;

[0125] An initialization module 820 is used to initialize a preset Petri net model according to the conflict type, and determine at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model;

[0126] A monitoring module 830 is used to monitor the positions of the at least two target conflicting unmanned vehicles in real time, and determine the initial state and target state of the preset Petri net model by taking the positions of the at least two target conflicting unmanned vehicles that plan to enter and leave the control area of ​​the preset Petri net model as the initial position and target position of the unmanned vehicles;

[0127] A determination module 840, configured to determine a target state transition path according to the initial state and the target state;

[0128] The control module 850 is used to generate a control instruction according to the target state transfer path, and send the control instruction to the at least two target conflicting unmanned vehicles to control the at least two target conflicting unmanned vehicles to avoid or drive; the control instruction carries a target avoidance strategy.

[0129] As an optional implementation of the present disclosure, the conflict type includes: a first conflict type and a second conflict type, the first conflict type is an opposite conflict occurring at a preset road section, and the second conflict type is a node conflict occurring at a preset node.

[0130] As an optional implementation manner of the present disclosure, when the conflict type is the first conflict type, the initialization module is specifically configured to:

[0131] Initializing a first preset Petri net model on the target conflict section, and determining at least two target conflicting unmanned vehicles that need to be controlled by the first preset Petri net model;

[0132] When the conflict type is the second conflict type, the initialization module is specifically configured to:

[0133] Initialize a second preset Petri net model at the target conflict node, and determine at least two target conflicting unmanned vehicles that need to be controlled by the second preset Petri net model.

[0134] As an optional implementation manner of the present disclosure, the monitoring module is specifically used for:

[0135] According to a preset Petri net model, calculating a reachable graph corresponding to the preset Petri net model, and determining a state space representation corresponding to each state in the reachable graph;

[0136] The positions of the at least two target-conflicting unmanned vehicles are monitored in real time, and the positions at which the at least two target-conflicting unmanned vehicles plan to enter and leave the control area of ​​the preset Petri net model are used as the initial positions and target positions of the unmanned vehicles to determine the initial state and target state of the preset Petri net model.

[0137] As an optional implementation manner of the present disclosure, the determining module is specifically configured to:

[0138] Based on a preset algorithm, a target state transition path between the initial state and the target state is obtained in the reachable graph.

[0139] As an optional implementation manner of the present disclosure, the control module is specifically used to:

[0140] According to the target state transition path, determining a transition triggering sequence corresponding to the target state transition path;

[0141] determining a target avoidance strategy according to the transition-initiating sequence;

[0142] A control instruction is generated according to the target avoidance strategy.

[0143] As an optional implementation of the present disclosure, the device further includes:

[0144] The deletion module is used to delete the preset Petri net model when all the target conflict unmanned vehicles controlled by the preset Petri net model drive according to the control instructions and leave the control area of ​​the preset Petri net model.

[0145] The unmanned vehicle obstacle avoidance path planning device provided by the disclosed embodiment determines the conflict types of multiple unmanned vehicles based on the preset driving paths of multiple unmanned vehicles; initializes the preset Petri net model according to the conflict type, and determines at least two target conflicting unmanned vehicles that the preset Petri net model needs to control; monitors the positions of at least two target conflicting unmanned vehicles in real time, and determines the initial state and target state of the preset Petri net model with the positions of at least two target conflicting unmanned vehicles that plan to enter and leave the control area of ​​the preset Petri net model as the initial position and target position of the unmanned vehicle; determines the target state transfer path according to the initial state and the target state; generates a control instruction according to the target state transfer path, and sends a control instruction carrying a target avoidance strategy to at least two target conflicting unmanned vehicles, so as to control at least two target conflicting unmanned vehicles to avoid or drive. Since the state space of the established preset Petri net model is small, it only takes a few milliseconds of solution time, which can meet the needs of real-time traffic control of unmanned vehicles in actual application scenarios compared to the solution time of tens of minutes or even hours of traffic control methods based on mathematical programming.

[0146] For the specific limitations of the unmanned vehicle obstacle avoidance path planning device, please refer to the limitations of the unmanned vehicle obstacle avoidance path planning method above, which will not be repeated here. Each module in the above-mentioned unmanned vehicle obstacle avoidance path planning device can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0147] In one embodiment, an electronic device is provided, whose internal structure diagram can be as follows: Fig. 9 As shown. The electronic device includes a processor, a memory, and a communication interface connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with external electronic devices in a wired or wireless manner, and the wireless method can be implemented through WiFi, an operator network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for obstacle avoidance path planning for an unmanned vehicle is implemented.

[0148] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0149] In one embodiment, the unmanned vehicle obstacle avoidance path planning device provided by the present disclosure can be implemented in the form of a computer program. The computer program can be Fig. 9 The electronic device shown is running. The memory of the electronic device can store various program modules constituting the unmanned vehicle obstacle avoidance path planning device of the electronic device, for example, Figure 8 The acquisition module 810, initialization module 820, monitoring module 830, determination module 840, and control module 850 are shown. The computer program composed of various program modules enables the processor to execute the steps of the unmanned vehicle obstacle avoidance path planning method of the electronic device of each embodiment of the present disclosure described in this specification.

[0150] For example, Fig. 9 The electronic device shown can be Figure 8The acquisition module 810 in the unmanned vehicle obstacle avoidance path planning device shown in the figure performs step S11. The electronic device can perform step S12 through the initialization module 820. The electronic device can perform step S13 through the monitoring module 830. The electronic device can perform step S14 through the determination module 840. The electronic device can perform step S15 through the control module 850.

[0151] In one embodiment, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0152] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).

[0153] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0154] The above-mentioned embodiments only express several implementation methods of the present disclosure, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present disclosure, and these all belong to the protection scope of the present disclosure. Therefore, the protection scope of the patent of the present disclosure shall be subject to the attached claims.

Claims

1. A method for obstacle avoidance path planning for an unmanned vehicle, characterized in that: The method comprises: Based on the preset driving paths of the multiple unmanned vehicles, the conflict types of the multiple unmanned vehicles are determined; wherein the conflict types include: a first conflict type and a second conflict type, the first conflict type is an opposite conflict occurring at a preset road section, and the second conflict type is a node conflict occurring at a preset node; the second conflict type includes three node conflict subtypes; the three node conflict subtypes are respectively: two unmanned vehicles' paths do not overlap when they meet at an intersection node, the two unmanned vehicles' paths partially overlap but in opposite directions, and the starting point of the first unmanned vehicle is the end point of the second unmanned vehicle, and the two unmanned vehicles' paths completely overlap but in opposite directions, and the starting point of one unmanned vehicle is the end point of the other unmanned vehicle; Establishing and initializing corresponding preset Petri net models for the first conflict type and the second conflict type, respectively, and determining at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model; the preset Petri net model of the second conflict type is applicable to three node conflict subtypes; According to a preset Petri net model, a reachable graph corresponding to the preset Petri net model is calculated, a state space representation corresponding to each state in the reachable graph is determined, the positions of the at least two target conflicting unmanned vehicles are monitored in real time, and the positions where the at least two target conflicting unmanned vehicles plan to enter and leave the control area of ​​the preset Petri net model are used as the initial positions and target positions of the unmanned vehicles, and the initial state and target state of the reachable graph corresponding to the preset Petri net model are determined; the three node conflict subtypes included in the second conflict type use the same Petri net model and the same reachable graph, and the three node conflict subtypes have different initial states and target states in the same reachable graph; According to the initial state and the target state of the reachable graph, based on the Dijkstra algorithm, searching for a target state transition path from the initial state to the target state in the reachable graph; According to the target state transfer path, a control instruction is generated, and the control instruction is sent to the at least two target conflicting unmanned vehicles to control the at least two target conflicting unmanned vehicles to avoid or drive; the control instruction carries a target avoidance strategy.

2. The method according to claim 1, characterized in that: When the conflict type is the first conflict type, establishing and initializing a corresponding preset Petri net model for the first conflict type, and determining at least two target conflicting unmanned vehicles to be controlled by the preset Petri net model include: Initializing a first preset Petri net model on the target conflict section, and determining at least two target conflicting unmanned vehicles that need to be controlled by the first preset Petri net model; When the conflict type is the second conflict type, establishing and initializing a corresponding preset Petri net model for the second conflict type, and determining at least two target conflicting unmanned vehicles to be controlled by the preset Petri net model include: Initialize a second preset Petri net model at the target conflict node, and determine at least two target conflicting unmanned vehicles that need to be controlled by the second preset Petri net model.

3. The method according to claim 1, characterized in that The generating a control instruction according to the target state transition path includes: According to the target state transition path, determining a transition triggering sequence corresponding to the target state transition path; determining a target avoidance strategy according to the transition-initiating sequence; A control instruction is generated according to the target avoidance strategy.

4. The method according to claim 1, characterized in that: The method further comprises: When all the target conflicting unmanned vehicles controlled by the preset Petri net model drive according to the control instructions and leave the control area of ​​the preset Petri net model, the preset Petri net model is deleted.

5. An unmanned vehicle obstacle avoidance path planning device, characterized in that: The device comprises: An acquisition module is used to determine the conflict types of the multiple unmanned vehicles based on the preset driving paths of the multiple unmanned vehicles; wherein the conflict types include: a first conflict type and a second conflict type, the first conflict type is an opposite conflict occurring at a preset road section, and the second conflict type is a node conflict occurring at a preset node; the second conflict type includes three node conflict subtypes; the three node conflict subtypes are respectively: the paths of the two unmanned vehicles do not overlap when they meet at an intersection node, the paths of the two unmanned vehicles partially overlap but in opposite directions, and the starting point of the first unmanned vehicle is the end point of the second unmanned vehicle, and the paths of the two unmanned vehicles completely overlap but in opposite directions, and the starting point of one unmanned vehicle is the end point of the other unmanned vehicle; An initialization module is used to establish corresponding preset Petri net models for the first conflict type and the second conflict type, respectively, and determine at least two target conflicting unmanned vehicles that need to be controlled by the preset Petri net model; the preset Petri net model of the second conflict type is applicable to three node conflict subtypes; A monitoring module is used to calculate a reachable graph corresponding to the preset Petri net model according to a preset Petri net model, determine the state space representation corresponding to each state in the reachable graph, monitor the positions of the at least two target conflicting unmanned vehicles in real time, take the positions where the at least two target conflicting unmanned vehicles plan to enter and leave the control area of ​​the preset Petri net model as the initial positions and target positions of the unmanned vehicles, and determine the initial state and target state of the reachable graph corresponding to the preset Petri net model; the three node conflict subtypes included in the second conflict type use the same Petri net model and the same reachable graph, and the three node conflict subtypes have different initial states and target states in the reachable graph; A determination module, configured to search for a target state transition path from the initial state to the target state in the reachable graph based on a Dijkstra algorithm according to the initial state and the target state of the reachable graph; A control module is used to generate a control instruction according to the target state transfer path, and send the control instruction to the at least two target conflicting unmanned vehicles to control the at least two target conflicting unmanned vehicles to avoid or drive; the control instruction carries a target avoidance strategy.

6. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the unmanned vehicle obstacle avoidance path planning method described in any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the unmanned vehicle obstacle avoidance path planning method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Train conflict predicting and solving method based on time colored Petri network

    CN104268634A

  • Mobile robot brain-computer cooperative control method and system based on Petri network

    CN110955251A

  • Multi-AGV path planning obstacle avoidance method based on Petri network model

    CN114740834A

  • AGV scheduling method, terminal and computer readable storage medium

    CN115712278A