Unmanned vehicle route searching method based on urban road in network connection environment

Through the combination of ant colony algorithm and V2X road testing equipment, real-time road information is used to optimize the path planning of driverless vehicles, which solves the problems of low path search efficiency and local optimality in the existing technology, and achieves more efficient and accurate path planning. .

CN118538043APending Publication Date: 2024-08-23ANHUI NORMAL UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410689696.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-08-23

Smart Images

  • Figure CN118538043A
    Figure CN118538043A
Patent Text Reader

Abstract

The invention discloses a driverless vehicle route searching method based on urban roads in a network connection environment, and the method comprises the steps: constructing a road network topological map based on a V2X environment region, measuring the average driving speed of vehicles on each road path on the road of the road network topological map based on V2X road test equipment, and constructing a cost matrix; detecting the number of connecting edges of road nodes in the road network topological map to obtain node degrees, and selecting key feature nodes based on the node degrees; taking the key feature node as a current node; searching for the current node to obtain a next node connected with the current node; adjusting the pheromone concentration of a path between the current node and the next node connected with the current node; and searching a path from the starting point to the ending point according to a probability jump function and a pheromone updating formula, and updating in real time according to the change of the road cost matrix. According to the invention, under the network connection environment of considering traffic jam, an optimized route is provided for the unmanned vehicle and the search efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of artificial intelligence technology, and in particular relates to a method for searching routes for driverless cars based on urban roads in a networked environment. Background Art

[0002] As the Internet of Vehicles technology continues to mature, the development of driverless cars has also been further promoted. Path planning for driverless cars refers to planning an effective path that is collision-free and can safely reach the end node based on performance indicators after the start and end nodes of the driverless car are given on the basis of a certain environmental model. Road information is ever-changing, so it is crucial to plan the path of driverless cars based on road information.

[0003] The existing path planning method for driverless cars is based on the V2X equipment of 5G technology to achieve vehicle-road-cloud collaboration. In a complex road network, it finds the shortest path from the current location to the target location. The existing driverless car path planning meets the form of the shortest total time required, the shortest actual driving path, or the least energy consumed for the entire journey. The driverless car path planning is not optimized for the dynamic changes of road traffic information in different time periods, the search efficiency of the path planning algorithm, and the local optimal problem. The optimization degree and efficiency of the driverless car path search are low, and there is room for improvement. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes a route search method for an unmanned vehicle based on urban roads in a networked environment to solve the problems existing in the above-mentioned prior art.

[0005] To achieve the above object, the present invention provides a method for searching a route of an unmanned vehicle based on urban roads in a networked environment, comprising:

[0006] Detect the V2X environment area, build a road network topology map based on the V2X environment area, and measure the average driving speed v of vehicles on each road path on the road network topology map in real time based on the V2X road test equipment. i And construct the cost matrix M i×1 ;

[0007] Use the ant colony algorithm to search for a path from the starting point to the end point, detect the number of connecting edges of the road nodes in the path to obtain the node degree r i , based on the node degree r i Select key feature nodes;

[0008] The key feature node is taken as the node where the vehicle is currently located, and the curve fitting A* algorithm is used to search for the next node connected to the current node, and the initialization pheromone concentration of the path between the current node and the next node connected to the current node is adjusted;

[0009] According to the real-time average speed information v i Update the cost matrix M i×1 ; Dynamically adjust the influencing factors of the ant colony algorithm pheromone concentration update and probability jump formula according to the changes in the cost matrix, return to the first step, use the ant colony algorithm to search out the complete path from the starting node to the end node again and update it in real time.

[0010] Preferably, the V2X environment area is detected, a road network topology map is constructed based on the V2X environment area, and an average driving speed v of vehicles on each road path on the road network topology map is measured in real time based on the V2X road test equipment. i And construct the cost matrix M i×1 The process includes:

[0011] Detect the location of the V2X device, and obtain the urban area covered by the V2X device based on the location of the V2X device to obtain the V2X environment area;

[0012] Select road nodes on the static map of the V2X environment area, and number each road node as q in sequence, where the value of q is 1, 2, 3, 4, 5, 6, 7, 8, 9...n, establish a road network topology map based on the actual road connections and road nodes in the static map of the V2X environment area, and number the road path between every two road nodes in the road network topology map as p, where the value of p is 1, 2, 3, 4...m;

[0013] Based on V2X road test equipment, real-time measurement of the average driving speed v of vehicles on each road path on the road network topology map p , where v p It represents the average speed of vehicles on the road path numbered p;

[0014] According to the average driving speed v p , based on the congestion penalty correlation function Calculate the congestion penalty factor μ p , where μ p The value range of is [1,2];

[0015] The length of the road path numbered p is detected to obtain the road length L p ;

[0016] According to the road length L of the road path numbered p p and the average speed v of vehicles on the road path numbered p p , based on the time correlation function The time required for the driverless car to pass the road numbered p is calculated and recorded as the road travel time T p ;

[0017] According to the congestion penalty factor μ p And the road travel time T p For the cost matrix M p×1 Build, where Cost matrix M p×1 Update the cost matrix M in real time p×1 The road costs of multiple road paths are included.

[0018] Preferably, the number of connected edges of the road nodes in the road network topology map is detected to obtain the node degree r i , based on the node degree r i The steps of selecting key feature nodes include:

[0019] Detect the number of edges connected to each road node in the road network topology map to obtain the node degree r i ; Set the node degree r of all road nodes i Take the mean value to get the average degree

[0020] According to the node degree r i And the average degree Based on the standard deviation function Calculate and obtain the node degree standard deviation s;

[0021] Compare the node degree standard deviation s with the node degree standard deviation threshold s' to obtain the node degree standard deviation comparison result;

[0022] The key feature nodes are selected based on the comparison results of the node degree standard deviation, and the road nodes whose node degree standard deviation s is less than the node degree standard deviation threshold s' are recorded as key feature nodes.

[0023] Preferably, the step of taking the selected key feature node where the vehicle is located as the current node; and searching for the next node connected to the current node for the current node specifically includes:

[0024] Get the curve fitting function f(x)=ax 2 +bx+c, where a, b, c are all scaling factors, and x is the distance between two key feature nodes;

[0025] Obtain the influence of the curve fitting function on the A* improved algorithm and record it as the fitting factor ω;

[0026] Get the Euclidean distance function Where nx is the horizontal coordinate of the starting node, ny is the vertical coordinate of the starting node, end.x is the horizontal coordinate of the end node, and end.y is the vertical coordinate of the end node;

[0027] Based on the curve fitting function f(x), the fitting factor ω and the Euclidean distance function h(n), a Euclidean distance heuristic function H(n) is constructed, wherein the Euclidean distance heuristic function H(n)=ω*f(x)+(1-ω)*h(n);

[0028] The A* algorithm is improved based on the A* algorithm expression and the Euclidean distance heuristic function to obtain the A* improved algorithm, where the A* improved algorithm expression is F(n)=g(n)+σ×H(n), where σ is the influencing factor of H(n), and the value of σ is positively correlated with the value of H(n), and g(n) represents the road cost from the starting node to the current node;

[0029] Based on the improved A* algorithm and key feature nodes, the actual road curve on the road network topology map is fitted to obtain the next key feature node connected to the key feature node.

[0030] Preferably, the step of adjusting the pheromone concentration of the path between the current node and the next node connected to the current node specifically includes:

[0031] Get the serial number of the node connected to the current node, and store all the serial numbers of the next node connected to the current node in the storage database;

[0032] Acquire ant colony pheromone sample data, set the initial pheromone concentration E based on the ant colony pheromone sample data, and set the pheromone concentration increase θ of the next node connected to the current node in the storage database based on the ant colony pheromone sample data;

[0033] According to the initial pheromone concentration E and the pheromone concentration increase θ of the next node connected to the current node in the storage database, based on the pheromone concentration correlation function τ ij (t) = E + θ to obtain the pheromone concentration.

[0034] Preferably, the probability jump formula and the pheromone update function are dynamically adjusted according to the change of the cost matrix, specifically including:

[0035] When the road cost changes significantly, the pheromone concentration importance factor α and the heuristic information importance factor β are adjusted within the value range according to the value range of the pheromone concentration importance factor α and the heuristic information importance factor β;

[0036] According to the value range of the pheromone volatilization rate ρ and the pheromone residual value Q, based on the updated road cost matrix, the pheromone volatilization rate ρ and the pheromone residual value Q are adjusted within the value range.

[0037] Compared with the prior art, the present invention has the following advantages and technical effects:

[0038] 1. Use V2X road test equipment to measure the average speed v of vehicles on each road path on the road network topology map in real time p , based on the average driving speed v p Construct the cost matrix M i×1 , select key feature nodes in the road network topology map, and obtain the next key feature node connected to the key feature node based on the algorithm, and the pheromone concentration of the path between the current node and the next node connected to the current node. According to the pheromone concentration and the probability jump function, the complete path from the current node i to the next node j is searched and updated in real time, which improves the real-time and efficiency of the path planning of the driverless car;

[0039] 2. Use the curve fitting function f(x)=ax 2 +bx+c, fitting factor ω and Euclidean distance function h(n), construct the Euclidean distance heuristic function H(n), fit the actual road curve on the road network topology map, improve the accuracy of the Euclidean distance heuristic function H(n), improve the A* algorithm based on the A* algorithm expression and the Euclidean distance heuristic function to obtain the A* improved algorithm, fit the actual road curve on the road network topology map based on the A* improved algorithm and the key feature node, and obtain the next key feature node connected to the key feature node. Path search based on the A* improved algorithm reduces the possibility of falling into the local optimal problem in the road network topology map, fits the actual road curve on the road network topology map, and improves the accuracy of detecting the next key feature node connected to the key feature node;

[0040] 3. Using the straight-line distance d between key feature nodes ij Calculate the heuristic function of the ant colony algorithm According to the cost matrix, analyze whether the road cost from the current node i to the next node j has changed. If it has changed, adjust the values ​​of the pheromone concentration importance factor α and the heuristic information importance factor β. According to the pheromone concentration importance factor α, the heuristic information importance factor β, and the pheromone concentration correlation function τ ij (t) = E + θ and the ant colony algorithm heuristic function According to the probability jump function P ij k(t) Calculate the probability of ant k choosing to go from the current node i to the next node j at time t by the ant colony algorithm, and then calculate the complete path from the current node i to the next node j according to the pheromone concentration correlation function through the ant colony algorithm. Consider the planning of the complete path from the current node i to the next node j when the road is congested, which improves the accuracy of the path planning of the unmanned vehicle. When the road cost changes, adjust the value of the pheromone volatilization rate ρ and the pheromone residual value Q. According to the pheromone volatilization rate ρ and the pheromone residual value Q and the ant colony algorithm pheromone update function The pheromone concentration is updated to improve the detection accuracy of the pheromone concentration. The probability jump function is updated in real time according to the pheromone update function of the ant colony algorithm. Then, the completed path from the current node i to the next node j is updated in real time through real-time calculation by the ant colony algorithm. The real-time situation of the road path is considered and updated in time, which improves the accuracy of the path planning of the driverless car. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0042] Figure 1 It is a flowchart of a method for searching a route for an unmanned vehicle based on urban roads in a networked environment according to an embodiment of the present invention;

[0043] Figure 2 This is a first simulation comparison diagram of using an ant colony algorithm to plan the path of an unmanned vehicle, which is mainly reflected in an embodiment of the present invention;

[0044] Figure 3 This is a second simulation comparison diagram of step S3 of the embodiment of the present invention;

[0045] Figure 4 This is a third simulation comparison diagram of the main embodiment of the present invention, which combines the improved A* algorithm and the ant colony algorithm to plan the path of an unmanned vehicle;

[0046] Figure 5 This is a comparison diagram of the effects of the shortest path length using the ant colony algorithm and the ant colony algorithm combined with the improved A* algorithm, which is mainly reflected in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0048] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0049] Embodiment 1

[0050] like Figure 1 As shown, this embodiment provides a method for searching a route of an unmanned vehicle based on urban roads in a networked environment, including:

[0051] Step S1: detect the V2X environment area, build a road network topology map based on the V2X environment area, and measure the average driving speed v of vehicles on each road path on the road network topology map in real time based on the V2X road test equipment. i And construct the cost matrix M i×1 Step S1 specifically includes the following sub-steps:

[0052] Step S11, detecting the position of the V2X device, and obtaining the urban area covered by the V2X device based on the position of the V2X device to obtain the V2X environment area.

[0053] Step S12: select road nodes on the static map of the V2X environment area, and number each road node as q in sequence, where the value of q is 1, 2, 3, 4, 5, 6, 7, 8, 9...n; establish a road network topology map based on the actual road connections and road nodes in the static map of the V2X environment area, and number the road path between every two road nodes in the road network topology map as p, where the value of p is 1, 2, 3, 4...m.

[0054] Step S13, based on the V2X road test equipment, real-time measurement of the average driving speed v of vehicles on each road path on the road network topology map p , where v p It represents the average speed of vehicles on the road numbered p. The V2X road test equipment refers to the V2X road test equipment based on 5G technology.

[0055] Step S14, according to the average driving speed v p , based on the congestion penalty correlation function Calculate the congestion penalty factor μ p , where μ p The value range is [1,2].

[0056] Step S15: Detect the length of the road path numbered p to obtain the road length L p .

[0057] Step S16, according to the road length L of the road path numbered pp and the average speed v of vehicles on the road path numbered p p , based on the time correlation function The time required for the driverless car to pass the road numbered p is calculated and recorded as the road travel time T p .

[0058] Step S17: according to the congestion penalty factor μ p And the road travel time T p For the cost matrix M p×1 Build, where Cost matrix M p×1 Update the cost matrix M in real time p×1 The road costs of multiple road paths are included.

[0059] In specific applications, a road network topology map is established by selecting road nodes on a static map and actual road connections, and the road paths between every two road nodes are numbered. The average driving speed v of vehicles on each road path on the road network topology map is measured in real time based on the V2X road test equipment. p , according to the average driving speed v p Calculate the congestion penalty factor μ p , according to the road length L p and the average driving speed v p The time required for the driverless car to pass the road numbered p is calculated and recorded as the road travel time T p , according to the congestion penalty factor μ p And the road travel time T p Construct the cost matrix M p×1 , the cost matrix M p×1 It includes the road costs of multiple road paths, which improves the accuracy of road costs and provides data support for subsequent driverless car path planning.

[0060] Reference Figure 1 , step S2, in the road network topology map, detect the number of connecting edges of all nodes to obtain the node degree r i , based on the node degree r i Select key feature nodes. Step S2 specifically includes the following sub-steps:

[0061] Step S21, detecting the number of edges connected to each road node in the road network topology map to obtain the node degree r i .

[0062] Step S22: The node degrees r of all road nodes are i Take the mean value to get the average degree

[0063] Step S23, according to the node degree r i And the average degree Based on the standard deviation function Calculate and obtain the node degree standard deviation s.

[0064] Step S24, comparing the node degree standard deviation s with the node degree standard deviation threshold s' to obtain a node degree standard deviation comparison result.

[0065] Step S25 , selecting key feature nodes based on the comparison result of node degree standard deviation, and recording the road nodes whose node degree standard deviation s is less than the node degree standard deviation threshold s′ as key feature nodes.

[0066] Step S26, detecting the key feature nodes selected in the above process in the initial path from the starting point to the end point obtained by the ant colony algorithm search.

[0067] Reference Figure 1 and Figure 4 The green point above the third simulation comparison chart is the starting node, and the green point below the third simulation comparison chart is the end node. The line segments between the nodes represent the road path. All points are road nodes, and the road nodes marked in red are key feature nodes.

[0068] In the specific application, the selection of key feature nodes is mainly based on the consideration that in the path search of the road network topology map, the ant colony algorithm is prone to local optimal problems in places where nodes are densely distributed and where multiple road paths are densely distributed. The node degree r is obtained by detecting the number of connecting edges of each road node in the road network topology map. i , the node degree r of all road nodes i Take the mean value to get the average degree According to the node degree r i And the average degree The node degree standard deviation s is calculated, and the node degree standard deviation s is compared with the node degree standard deviation threshold s' to obtain the node degree standard deviation comparison result. The key feature nodes are selected according to the node degree standard deviation comparison result, which improves the accuracy of key feature node selection.

[0069] Reference Figure 1 , step S3, taking the key feature node in the initial path searched by the ant colony algorithm detected in S2 as the current node, searching for the next node connected to the current node, and adjusting the pheromone concentration of the path between the current node and the next node connected to the current node. Step S3 specifically includes the following sub-steps:

[0070] Step S31, obtaining the curve fitting function f(x)=ax 2 +bx+c, where a, b, c are all scaling factors, and x is the distance between two key feature nodes.

[0071] Step S32, obtaining the influence of the fitting function on the A* improved algorithm and recording it as the fitting factor ω.

[0072] Step S33, obtaining the Euclidean distance function Among them, nx is the horizontal coordinate of the starting node, ny is the vertical coordinate of the starting node, end.x is the horizontal coordinate of the end node, and end.y is the vertical coordinate of the end node.

[0073] Step S34, constructing a Euclidean distance heuristic function H(n) based on the curve fitting function f(x), the fitting factor ω and the Euclidean distance function h(n), wherein the Euclidean distance heuristic function H(n)=ω*f(x)+(1-ω)*h(n).

[0074] Step S35, based on the A* algorithm expression and the Euclidean distance heuristic function, the A* algorithm is improved to obtain an A* improved algorithm, wherein the A* improved algorithm expression is F(n)=g(n)+σ×H(n), wherein σ is the influencing factor of H(n), and the value of σ is positively correlated with the value of H(n), and g(n) represents the road cost from the starting node to the current node.

[0075] Step S36, based on the A* improved algorithm and the key feature nodes, the actual road curve on the road network topology map is fitted to obtain the next key feature node connected to the key feature node.

[0076] Step S37, obtaining the serial number of the next node connected to the current node, and storing all the serial numbers of the next node connected to the current node in the storage database.

[0077] Step S38, obtaining ant colony pheromone sample data, setting the initial pheromone concentration E based on the ant colony pheromone sample data, and setting the pheromone concentration increase θ of the next node connected to the current node in the storage database based on the ant colony pheromone sample data.

[0078] Step S39, based on the initial pheromone concentration E and the pheromone concentration increase θ of the next node connected to the current node in the storage database, based on the pheromone concentration correlation function τ ij (t) = E + θ to obtain the pheromone concentration τ ij (t).

[0079] Reference Figure 1 and Figure 3The green point above the second simulation comparison graph is the starting node, the green point below the second simulation comparison graph is the end node, the line segments between the nodes represent the road path, and all points are road nodes. The road nodes marked in red are key feature nodes. The red line segments of the road path between the key feature nodes represent the simulation comparison graph of the next key feature node connected to the selected key feature node by searching using the A* improved algorithm.

[0080] In specific applications, based on the curve fitting function f(x)=ax 2 +bx+c, fitting factor ω and Euclidean distance function h(n), construct the Euclidean distance heuristic function H(n), fit the actual road curve on the road network topology map, improve the accuracy of the Euclidean distance heuristic function H(n), improve the A* algorithm based on the A* algorithm expression and the Euclidean distance heuristic function to obtain the A* improved algorithm, fit the actual road curve on the road network topology map based on the A* improved algorithm and key feature nodes, and obtain the next key feature node connected to the key feature node. Path search based on the A* improved algorithm reduces the possibility of falling into the local optimal problem in the road network topology map, and fits the actual road curve on the road network topology map, which improves the accuracy of detecting the next key feature node connected to the key feature node. The initial pheromone concentration E and the pheromone concentration increase θ of the next node connected to the current node are set through the ant colony pheromone sample data, and the pheromone concentration τ is obtained according to the initial pheromone concentration E and the pheromone concentration increase θ. ij (t), which increases the probability that the ant colony will choose the path obtained by searching with the aforementioned A* algorithm.

[0081] Reference Figure 1 , step S4, dynamically adjust the influencing factors of the ant colony algorithm probability jump formula and the pheromone update formula according to the real-time changes of the road cost matrix. Step S5 specifically includes the following sub-steps:

[0082] Step S41, detect the straight-line distance d between the current node i and the next node j ij .

[0083] Step S42: based on the straight-line distance d between the current node i and the next node j ij . Based on the ant colony algorithm heuristic function Perform calculations.

[0084] Step S43, obtaining the road cost from the current node i to the next node j based on the cost matrix.

[0085] Step S44, obtain the value range of the pheromone concentration importance factor α and the heuristic information importance factor β, where α∈[0,5] and β∈[0,5], and adjust the pheromone concentration importance factor α and the heuristic information importance factor β within the value range based on the road cost from the current node i to the next node j. When the road section from the current node i to the next node j is congested, the road cost from the current node i to the next node j increases, then the pheromone concentration importance factor α decreases and α∈[0,5], the heuristic information importance factor β increases and β∈[0,5], when the road section from the current node i to the next node j is not congested, the road cost from the current node i to the next node j decreases, then the pheromone concentration importance factor α increases and α∈[0,5], the heuristic information importance factor β decreases and β∈[0,5].

[0086] Step S45, based on the pheromone concentration correlation function τ ij (t) = E + θ and the ant colony algorithm heuristic function The ant colony algorithm calculates the probability that ant k chooses to go from the current node i to the next node j at time t, which is recorded as the probability jump function P ij k (t), where the probability jump function

[0087]

[0088] Step S46, according to the pheromone concentration correlation function and the probability jump function, the complete path from the current node i to the next node j is calculated by the ant colony algorithm.

[0089] Step S47, obtain the value range of the pheromone volatility rate ρ and the pheromone residual value Q, where ρ∈[0.1, 0.99] and Q∈[10, 10000], and adjust the pheromone volatility rate ρ and the pheromone residual value Q within the value range based on the road cost from the current node i to the next node j. When the road section from the current node i to the next node j is congested, the road cost from the current node i to the next node j increases, the pheromone volatility rate ρ increases and ρ∈[0.1, 0.99], the pheromone residual value Q decreases and Q∈[10, 10000], when the road section from the current node i to the next node j is not congested, the road cost from the current node i to the next node j decreases, the pheromone volatility rate ρ decreases and ρ∈[0.1, 0.99], the pheromone residual value Q increases and Q∈[10, 10000].

[0090] Step S48, according to the pheromone volatilization rate ρ and the pheromone residual value Q, the pheromone concentration is updated to obtain the ant colony algorithm pheromone update function

[0091] Step S49, the probability jump function is updated in real time according to the pheromone update function of the ant colony algorithm, and then the completion path from the current node i to the next node j is updated in real time through real-time calculation by the ant colony algorithm.

[0092] In specific applications, the straight-line distance d between key feature nodes is used. ij Calculate the heuristic function of the ant colony algorithm According to the cost matrix, analyze whether the road cost from the current node i to the next node j has changed. If it has changed, adjust the values ​​of the pheromone concentration importance factor α and the heuristic information importance factor β. According to the pheromone concentration importance factor α, the heuristic information importance factor β, and the pheromone concentration correlation function τ ij (t) = E + θ and the ant colony algorithm heuristic function According to the probability jump function P ij k (t) Calculate the probability of ant k choosing to go from the current node i to the next node j at time t by the ant colony algorithm, and then calculate the complete path from the current node i to the next node j according to the pheromone concentration correlation function through the ant colony algorithm. Consider the planning of the complete path from the current node i to the next node j when the road is congested, which improves the accuracy of the path planning of the unmanned vehicle. When the road cost changes, adjust the value of the pheromone volatilization rate ρ and the pheromone residual value Q. According to the pheromone volatilization rate ρ and the pheromone residual value Q and the ant colony algorithm pheromone update function The pheromone concentration is updated to improve the detection accuracy of the pheromone concentration. The probability jump function is updated in real time according to the pheromone update function of the ant colony algorithm. Then, the completed path from the current node i to the next node j is updated in real time through real-time calculation by the ant colony algorithm. The real-time situation of the road path is considered and updated in time, which improves the real-time and efficiency of the path planning of the driverless car.

[0093] When the vehicle is at the current node, since the road path may change in real time due to congestion, the road path between the next nodes previously determined based on the current node of the vehicle may not be the optimal path. Therefore, the values ​​of the pheromone concentration importance factor α, the heuristic information importance factor β, the pheromone volatility rate ρ and the pheromone residual value Q are adjusted to select the best road path among all road paths between the current node and all next nodes.

[0094] Reference Figure 2-Figure 5, the green points above are all starting nodes, the green points below are all end nodes, the line segments between the nodes represent the road path, all points are road nodes, and the road nodes marked in red are key feature nodes. The line segment marked in yellow from the starting node to the end node in the first simulation comparison diagram refers to the driving path planned by the ant colony algorithm for the driverless car. The line segment marked in yellow from the starting node to the end node in the third simulation comparison diagram refers to the driving path planned by the ant colony algorithm combined with the improved A* algorithm for the driverless car. The horizontal axis in the effect comparison chart refers to the number of iterations, and the vertical axis in the effect comparison chart refers to the shortest path length. The effect comparison chart compares the effect of using the ant colony algorithm to plan the driving path of the driverless car and using the ant colony algorithm combined with the A* improved algorithm to plan the driving path of the driverless car. The purple curve refers to the effect of using the ant colony algorithm to plan the driving path of the driverless car, and the yellow curve refers to the effect of using the ant colony algorithm combined with the A* improved algorithm to plan the driving path of the driverless car. From the effect comparison chart, it can be seen that when the shortest path length is the same, the number of iterations of using the ant colony algorithm combined with the A* improved algorithm to plan the driving path of the driverless car is less than the number of iterations of using the ant colony algorithm to plan the driving path of the driverless car. From the effect comparison chart, it can be seen that under the same number of iterations, the driving path of the driverless car planned by the ant colony algorithm combined with the A* improved algorithm is shorter than the driving path of the driverless car planned by the ant colony algorithm.

[0095] The above are only preferred specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A route search method for an unmanned vehicle based on urban roads in a connected environment. It is characterized in that The following steps are involved: Detect the V2X environment area, build a road network topology map based on the V2X environment area, and measure the average driving speed v of vehicles on each road path on the road network topology map in real time based on the V2X road test equipment. i And construct the cost matrix M i×1 ; Use the ant colony algorithm to search for a path from the starting point to the end point, detect the number of connecting edges of the road nodes in the path to obtain the node degree r i , based on the node degree r i Select key feature nodes; The key feature node is taken as the node where the vehicle is currently located, and the curve fitting A* algorithm is used to search for the next node connected to the current node, and the initialization pheromone concentration of the path between the current node and the next node connected to the current node is adjusted; According to the real-time average speed information v i Update the cost matrix M i×1 ; Dynamically adjust the influencing factors of the ant colony algorithm pheromone concentration update and probability jump formula according to the changes in the cost matrix, return to the first step, use the ant colony algorithm to search out the complete path from the starting node to the end node again and update it in real time.

2. According to claim 1, a method for searching routes of unmanned vehicles based on urban roads in a networked environment, It is characterized in that The V2X environment area is detected, a road network topology map is constructed based on the V2X environment area, and an average driving speed v of vehicles on each road path on the road network topology map is measured in real time based on the V2X road test equipment. i And construct the cost matrix M i×1 The process includes: Detect the location of the V2X device, and obtain the urban area covered by the V2X device based on the location of the V2X device to obtain the V2X environment area; Select road nodes on the static map of the V2X environment area, and number each road node as q in sequence, where the value of q is 1, 2, 3, 4, 5, 6, 7, 8, 9...n, establish a road network topology map based on the actual road connections and road nodes in the static map of the V2X environment area, and number the road path between every two road nodes in the road network topology map as p, where the value of p is 1, 2, 3, 4...m; Based on V2X road test equipment, real-time measurement of the average driving speed v of vehicles on each road path on the road network topology map p , where v p It represents the average speed of vehicles on the road path numbered p; According to the average driving speed v p , based on the congestion penalty association function Calculate the congestion penalty factor μ p , where μ p The value range of is [1,2]; The length of the road path numbered p is detected to obtain the road length L p ; According to the road length L of the road path numbered p p and the average speed v of vehicles on the road path numbered p p , based on the time correlation function The time required for the driverless car to pass the road numbered p is calculated and recorded as the road travel time T p ; According to the congestion penalty factor μ p And the road travel time T p For the cost matrix M p×1 Build, where Cost matrix M p×1 Update the cost matrix M in real time p×1 The road costs of multiple road paths are included.

3. The route search method for an unmanned vehicle based on urban roads in a networked environment according to claim 2, It is characterized in that Detect the number of connected edges of the road nodes in the road network topology map to obtain the node degree r i , based on the node degree r i The steps of selecting key feature nodes include: Detect the number of edges connected to each road node in the road network topology map to obtain the node degree r i ; The node degrees r of all road nodes i Take the mean value to get the average degree According to the node degree r i And the average degree Based on the standard deviation function Calculate and obtain the node degree standard deviation s; Compare the node degree standard deviation s with the node degree standard deviation threshold s' to obtain the node degree standard deviation comparison result; The key feature nodes are selected based on the comparison results of the node degree standard deviation, and the road nodes whose node degree standard deviation s is less than the node degree standard deviation threshold s' are recorded as key feature nodes.

4. According to claim 3, a method for searching routes of unmanned vehicles based on urban roads in a networked environment, It is characterized in that The step of using the selected key feature node where the vehicle is located as the current node; searching for the next node connected to the current node for the current node specifically includes: Get the curve fitting function f(x)=ax 2 +bx+c, where a, b, c are all scaling factors, and x is the distance between two key feature nodes; Obtain the influence of the curve fitting function on the A* improved algorithm and record it as the fitting factor ω; Get the Euclidean distance function Where nx is the horizontal coordinate of the starting node, ny is the vertical coordinate of the starting node, end.x is the horizontal coordinate of the end node, and end.y is the vertical coordinate of the end node; Based on the curve fitting function f(x), the fitting factor ω and the Euclidean distance function h(n), a Euclidean distance heuristic function H(n) is constructed, wherein the Euclidean distance heuristic function H(n)=ω*f(x)+(1-ω)*h(n); The A* algorithm is improved based on the A* algorithm expression and the Euclidean distance heuristic function to obtain the A* improved algorithm, where the A* improved algorithm expression is F(n)=g(n)+σ×H(n), where σ is the influencing factor of H(n), and the value of σ is positively correlated with the value of H(n), and g(n) represents the road cost from the starting node to the current node; Based on the improved A* algorithm and key feature nodes, the actual road curve on the road network topology map is fitted to obtain the next key feature node connected to the key feature node.

5. According to claim 4, a method for searching routes of unmanned vehicles based on urban roads in a networked environment, It is characterized in that The step of adjusting the pheromone concentration of the path between the current node and the next node connected to the current node specifically includes: Get the serial number of the node connected to the current node, and store all the serial numbers of the next node connected to the current node in the storage database; Acquire ant colony pheromone sample data, set the initial pheromone concentration E based on the ant colony pheromone sample data, and set the pheromone concentration increase θ of the next node connected to the current node in the storage database based on the ant colony pheromone sample data; According to the initial pheromone concentration E and the pheromone concentration increase θ of the next node connected to the current node in the storage database, based on the pheromone concentration correlation function τ ij (t) = E + θ to obtain the pheromone concentration.

6. A method for searching routes of unmanned vehicles based on urban roads in a networked environment according to claim 5, It is characterized in that The probability jump formula and pheromone update function are dynamically adjusted according to the changes in the cost matrix, including: When the road cost changes significantly, the pheromone concentration importance factor α and the heuristic information importance factor β are adjusted within the value range according to the value range of the pheromone concentration importance factor α and the heuristic information importance factor β; According to the value range of the pheromone volatilization rate ρ and the pheromone residual value Q, based on the updated road cost matrix, the pheromone volatilization rate ρ and the pheromone residual value Q are adjusted within the value range.

Citation Information

Cited By

  • Small intelligent central storage system

    CN120081115A