A path planning method for unmanned vehicles based on matching navigation maps with high-precision maps
Through the matching and topology reconstruction of the navigation map and the high-precision map, the problem of accuracy error and model structure difference when the navigation map and the high-precision map are fused is solved, and accurate matching and efficient navigation of the unmanned vehicle path planning are achieved.
Patent Information
- Application Number
- CN202210682542.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-06-16
AI Technical Summary
Navigation maps and high-precision maps are difficult to fuse due to different accuracy errors and different map models and topological structures, making it impossible to achieve effective path planning for unmanned vehicles.
An unmanned vehicle path planning method based on matching the navigation map and the high-precision map is designed. Through initialization matching, intersection type classification, intersection node matching, topology reconstruction and road segment matching, the precise alignment of the navigation map and the high-precision map is achieved. and path planning.
It improves the accuracy and application scenarios of path planning, enables lane-level navigation planning when users do not know the starting point and destination coordinates, expands the application scope of high-precision maps, and solves the problem when integrating navigation maps and high-precision maps. accuracy error and model structure differences.
Smart Images

Figure CN115077550B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of unmanned vehicle path planning, and in particular relates to an unmanned vehicle path planning method based on matching a navigation map with a high-precision map. Background Art
[0002] Navigation maps are used in manned driving situations, while high-precision maps are used in unmanned driving situations. There are huge differences in geometry and topological structure between high-precision maps and navigation maps: 1) The accuracy of traditional navigation maps can only reach the road level, and can only use one road centerline to represent the road, and cannot accurately describe the lane information within the road (a road contains several lanes), while the accuracy of high-precision maps can reach the lane level, not only can the "road" centerline be used to represent road information, but also the "lane" centerline can be used to describe the lane information within a road; 2) The topological network in the navigation map represents the connection relationship between roads, while the topological network of the high-precision map can not only represent the "topological relationship between roads", but also the "connection relationship between lanes within the road".
[0003] Although there are huge differences between high-precision maps and navigation maps, their advantages can complement each other. The advantages of navigation maps are: 1) They can carry out route planning in a large area, and have rich marker information to describe the real environment, such as Tiananmen Square and the National Grand Theater, which are not available in high-precision maps; 2) Since traditional maps can input marker information including starting and ending points, traditional navigation maps can plan driving routes; while high-precision maps cannot complete route planning because they do not have the positioning information of these markers; the advantages of high-precision maps are: high-precision maps have rich lane line and boundary line information, which can provide decision-making information including collision avoidance for unmanned vehicles or automatic driving in a local area. For example, if the driving route from Tiananmen Square to the National Grand Theater is known, high-precision maps can provide vehicles with specific collision avoidance lane driving information, which is also a capability that traditional navigation maps do not have.
[0004] In short, if the navigation map and high-precision map information can be integrated, the respective advantages of both can be brought into play. Not only can the road traffic information and marker point information of the traditional navigation map be used to complete navigation and path planning through marker point positioning, but the detailed lane-level information of the high-precision map can also be used to achieve autonomous driving between the starting point and the destination.
[0005] One of the difficulties in integrating navigation map and HD map information is that there is an accuracy error between navigation map and HD map (the lateral accuracy error of the road can reach 1-3 meters). Due to the accuracy error, the two maps cannot be integrated through their respective road center lines: for example, when a road has several forward lanes and several return lanes, if the HD map uses the road center line of the navigation map, due to the lateral accuracy error, the HD map may misjudge two adjacent but opposite lanes on the road as lanes in the same direction, thereby causing a collision.
[0006] The second difficulty in integrating navigation map and HD map information is that since the map models and topological structures of HD maps and navigation maps are different, navigation maps and HD maps produced by collecting data at different times may have different expressions of the same road. For example, for the changes in the shape of the same road along the way, HD maps can describe the changes in different sections by using straight lines + broken lines, while navigation maps can only use a straight line to represent the current road shape no matter how it changes. Because the map models and topological structures of HD maps and navigation maps are different, it is impossible to use a simple distance constraint method to find the lane line in the HD map that is closest to the center line of the road in the navigation map. Summary of the invention
[0007] In order to solve the problems existing in the prior art, the present invention proposes an unmanned vehicle path planning method based on matching navigation maps with high-precision maps, with the aim of solving the problem that navigation maps and high-precision maps in the prior art are difficult to merge due to the existence of accuracy errors, as well as differences in map models, topological structures, etc.
[0008] In order to solve the technical problems, the present invention proposes the following technical solutions.
[0009] The present invention designs a path planning method for an unmanned vehicle based on matching a navigation map with a high-precision map, comprising the following steps:
[0010] Step 1: Complete the initial matching of known high-precision maps and navigation maps in the cloud;
[0011] The specific process is as follows:
[0012] 1) Obtain navigation maps and high-precision maps within a set range; the set range is the area with high-precision areas in the country;
[0013] 2) Crop the navigation map according to the range of the high-precision map and obtain the overlapping area;
[0014] 3) Setting the intersection type for matching the high-precision map and the navigation map in the overlapping area;
[0015] The specific steps are as follows:
[0016] Step a. roughly classify the intersection nodes of the navigation map into diverging intersection nodes, merging intersection nodes, cross intersection nodes, and roundabout intersection nodes;
[0017] The diverging intersection node is: according to the number of the preceding roads and the following roads of the intersection node in the navigation map, the intersection node with one preceding road and multiple following roads is a diverging intersection node; the intersection node with multiple preceding roads and one following road is a merging intersection node; the cross intersection node is: the intersection node with two preceding roads and two following roads is a cross intersection node; the roundabout node is: the intersection node with multiple preceding roads and multiple following roads is a roundabout node;
[0018] Step b. Perform secondary classification on the diversion intersection nodes, subdividing them into two types: T-type diversion intersection nodes and Y-type diversion intersection nodes. The specific method is as follows:
[0019] ① The angle between the centerline of a preceding road and the centerline of a succeeding road at a diverging intersection is expressed by the following mathematical formula:
[0020]
[0021] In formula (1) The center line of the preceding road Centerline of the subsequent road The angle between the two, arccos is the inverse cosine operation; The center line of the preceding road Length, The center line of the subsequent road Length, Indicates obtaining the center line of the preceding road Centerline of the subsequent road The inner product of , i is the intersection node; the road centerline is the arc segment representing the road in the navigation map and the high-precision map, and the arc segment is a straight line or a broken line;
[0022] ② When the angle between the center line of the preceding road and the center line of the succeeding road of the diverging intersection node is 90°±5°, the diverging intersection node is a T-type diverging intersection node, otherwise it is a Y-type diverging intersection node.
[0023] Step c. Perform secondary classification on the cross intersection nodes, subdividing them into two types: X-shaped intersection nodes and cross intersection nodes. The specific method is as follows:
[0024] ① Calculate the angle between the center line of a preceding road and the center line of a succeeding road at the node according to formula (1);
[0025] ② If the angle between the center line of the preceding road and the center line of the succeeding road is 90°±5°, then the diverging intersection node is a cross-shaped intersection node, otherwise it is an X-shaped intersection node.
[0026] 4) Extract intersection nodes in high-precision maps and navigation maps according to intersection types;
[0027] 5) According to the similarity and distance of the intersection nodes, the intersection nodes of the high-precision map and the navigation map are matched one by one until all the intersection nodes are matched;
[0028] The specific steps are as follows:
[0029] ① According to the radius range conditions, search for the possible intersection node set C corresponding to the high-precision map and the navigation map; the specific method is:
[0030] a. Select any intersection node i from the intersection nodes of the navigation map, and perform buffer analysis with the coordinates of the intersection node i as the center of the circle and a buffer radius of 50 meters in the high-precision map to find the intersection nodes in the high-precision map within the buffer range, and obtain the intersection node set C in the high-precision map;
[0031] b. If the node set C is an empty set, return to method a and reselect the intersection node in the navigation map, otherwise enter step ②;
[0032] ② According to the conditions of similarity and distance, search for the intersection node set k in the intersection node set C whose high-precision map is most similar to the navigation map; the specific method is as follows:
[0033] I. If the intersection node i is not a cross intersection node, an X-shaped intersection node, or a roundabout intersection node, calculate the similarity between each intersection node in the intersection node set C of the high-precision map and the intersection node i of the navigation map;
[0034] a. Calculate the similarity between each intersection node in the intersection node set C of the high-precision map and the intersection node i of the navigation map;
[0035] The specific method is as follows:
[0036] If the intersection node i is not a cross intersection node, an X-shaped intersection node, or a roundabout node, then the intersection node k and the intersection node i are determined to be mutually matching nodes, and the mathematical formula should be satisfied as follows:
[0037]
[0038] In formula (2), is the angle between the main directions of intersection node i and intersection node k; arccos is the inverse cosine operation; Indicates the main direction Vi With the main direction V k The operation of finding the inner product; V i Indicates the main direction of the navigation map intersection node i; V i The transpose of V k Indicates the main direction of the high-precision map intersection node k; D ik is the distance between intersection nodes i and k, (X i , Y i ) T (X k , Y k ) T are the coordinates of intersection nodes i and k respectively; min is the operation of taking the minimum value; k is an element in the intersection node set C in the high-precision map; Sim is the similarity matrix of the intersection node; represents the outer product of two vectors; |||| represents the operation of finding the modulus of a vector; Sim(s) represents the operation of taking the sth row of the similarity matrix; m and n are the main direction vector set V i , V k The number of elements in Sim ik Represents the similarity of intersection nodes i and k; the main direction vector is: for the road entering the intersection node, that is, the road with the intersection node as the end point, the vector composed of the row points within 5m from the end point and the end point is taken as the main direction vector; for the road leaving the intersection node, that is, the road with the intersection node as the starting point, the vector composed of the row points within 5m from the starting point and the starting point is taken as the main direction vector.
[0039] b. Among the HD map intersection nodes whose angles with the intersection node i of the navigation map are within the threshold range and whose similarity is greater than the threshold, select the intersection node closest to the intersection node of the navigation map as the matching node of the intersection node i of the navigation map in the HD map.
[0040] II. If the intersection node i is a cross intersection node, an X-shaped intersection node or a roundabout node, then the intersection node k is determined to be a mutually matching node of the intersection node i, and the mathematical formula should be satisfied as follows:
[0041]
[0042] Among the intersection nodes of the high-precision map, the intersection node closest to the intersection node of the navigation map is selected as the matching node of the intersection node of the navigation map in the high-precision map.
[0043] ③ Search for the next matching intersection node based on the topological relationship of the matched intersection nodes and the characteristics of the intersection nodes until all intersection nodes in the overlapping area of the high-precision map and the navigation map within the set range are matched.
[0044] Step 2: inputting mark point information into the navigation map after initialization matching, where the mark point information is the mark point information corresponding to the starting point and the target point;
[0045] Step 3: Navigate the map to plan a set of paths from the starting point to the target point; the path set is a set of paths consisting of a series of end-to-end paths I = {I1, I2, ..., I t}, t≥1, where t is the total number of paths;
[0046] Step 4: Set the path planning set I = {I1, I2, ..., I t}, each path in t≥1 is restored to the topological structure of the real scene, and the path set after topological reconstruction is obtained
[0047] I′={I′1, I′2,...,I′ q}, q≥1;
[0048] The specific process is as follows:
[0049] ① The route planned by the navigation map is divided into sections according to the road from the starting point to the end point and output as I i ;
[0050] ② Select the first path I1 and compare it with the original data of the navigation map. If the path passes through an intersection node in the middle, insert a node at the position of the intersection node in the path. The new node divides the path into two paths and marks it as the starting point for the next processing. If the end point of the path I1 does not correspond to the intersection node in the navigation map, mark the end point of the path as the starting point for the next processing, delete the end point of the path, and merge I1 with the next path.
[0051] ③ Starting from the starting point of the next processing obtained in process ②, process the planned paths in sequence, reconstruct the topology of the paths, and finally obtain a set of paths after topology reconstruction;
[0052] I′={I′1, I′2,...,I′ q}, q≥1, in this path set, except for the starting point of the first path I′1 and the last path I′ q Except for the end point, the starting point and end point of each path are intersection nodes.
[0053] Step 5: Reconstruct the navigation map topology into a path set I′={I′1, I′2, ...I′ q}, q≥1 is projected into the high-precision map, and the high-precision map and path set I′={I′1,I′2,...,I′ q}, the set of road centerlines matched by each path in q≥1 I″={I″1,I″2,...,I″q}, q≥1;
[0054] The specific process is as follows:
[0055] ① In the matching path set, I′={I′1,I′2,...,I′ q}, q≥1 the first path, and find the position of the starting point in the first path, specifically:
[0056] a. According to the unique index identifier of each intersection node in the navigation map and the high-precision map, a mapping relationship between the intersection node of the navigation map and the intersection node of the high-precision map is established; the index identifier of the intersection node in the navigation map and the high-precision map is a known content, and the index identifiers of the same intersection in different navigation maps and different high-precision maps are different;
[0057] b. According to the mapping relationship, the end point of the first path I′1 is at the intersection node k in the high-precision map;
[0058] c. Traverse multiple roads Ni that enter the intersection node k, calculate the vertical distance from the starting point of the first path I′1 to the road Ni, select the road closest to the starting point as the road corresponding to the first path I′1, and the projection of the starting point of the first path I′1 on the road is the starting point of the matching road in the high-precision map. The mathematical formula is as follows:
[0059] d=min(D(p,L i )) (4)
[0060] In formula (4), p is the starting point of the first path I′1; L i is the i-th road entering the intersection node k; D(p, L i ) indicates the calculation starting point p to L i The vertical distance; min represents the operation of taking the minimum value; d represents the minimum vertical distance of the road from the starting point p to the entrance node k.
[0061] ② In the matching path set, I′={I′1,I′2,...I′ q}, the next path in q≥1;
[0062] The specific method is as follows:
[0063] Step a. Since the starting point j and the end point k of the second path I′2 are both intersection nodes in the navigation road; according to the index of the intersection node in the navigation road and the mapping relationship between the intersection node of the navigation map and the intersection node of the high-precision map, the corresponding intersection nodes of the starting point and the end point of the second path I′2 in the high-precision map can be obtained;
[0064] Step b. For the second path I′2 in the searched high-precision map, the corresponding intersection nodes k′ and j′ are connected, and the road between the intersection nodes k′ and j′ is obtained to obtain the road segment L H , assuming that the second path I′2 is the road segment L O , using Douglas Peucker algorithm, remove road segment L O , L H The redundant row points in the simplified road segment L O ′, L H ′;
[0065] Step c. For road segment L H ′, L O ' Perform direction detection and check the road section L H ′ and road segment L O ′ are in the same direction, the mathematical formula is as follows:
[0066]
[0067] In formula (6) is the road segment L O ′ and road segment L H ′, arccos is the inverse cosine operation, is the vector formed by the intersection nodes k and j; is the vector formed by the intersection nodes k′, j′; for Length, for Length, Represents the vector With vector The inner product of
[0068] if The value of is not within the threshold range, then the road segment L H ′ and road segment L O ' are not in the same direction, the system does not proceed to the next step; otherwise, it proceeds to step d.
[0069] Step d. Calculate the one-way distance of the road segment. The mathematical formula is as follows:
[0070]
[0071] In formula (7), d(L O ′,L H ′) is the road segment L O ′,L H ′, OWD(L O ′,L H ′) represents the road segment L O' to road segment L H ′ one-way distance, OWD(L H ′,L O ′) represents the road segment L H ' to road segment L O ′ one-way distance,||L O ′|| represents the road segment L O 'length, D(p, L H ′) represents the distance from point p to road segment L H ′, p is the shortest distance of the road segment L O ′ on the row point.
[0072] ③ Repeat process ② until the path set I′={I′1,I′2,...I′ q}, q≥1 until the previous path of the last path;
[0073] ④ Matching path set I′={I′1,I′2,...I′ q}, the last planned path of q≥1 is as follows:
[0074] a. Traverse the last section of the path I′ q The starting point of the road;
[0075] b. Calculate the vertical distance from the destination to each road, and select the road closest to the destination as the last path I′ q The corresponding road, the last section of the path I′ q The projection of the end point on the road is the end point of the matching road in the high-precision map. The mathematical formula is as follows:
[0076] d=min(D(p,L i )) (5)
[0077] In formula (5), p is the last path I′ q The end point of L i is the i-th road exiting the intersection; D(p,L i ) indicates the calculation starting point p to L i The vertical distance; min represents the operation of taking the minimum value; d represents the minimum vertical distance of the road from the starting point p to the exit node of the intersection;
[0078] ⑤ From the above process ① to process ④, the road centerline set I″={I″1,I″2,...I″ q},q≥1.
[0079] Step 6: Choose the appropriate lane centerline to drive on based on the road centerline matched by the high-precision map;
[0080] The specific method is as follows:
[0081] Step a. Select the first road centerline I″1, determine all lanes included in the road to which the road centerline I″1 belongs, and select the lane centerline closest to the vehicle and drivable by the vehicle as the starting lane centerline based on the distance from the current coordinate point of the vehicle to the centerline of each lane and whether the lane is drivable. If the lane closest to the vehicle is an emergency lane or a bus lane, the vehicle cannot be driven on the lane, then select the lane that is next closest to the vehicle as the starting lane centerline;
[0082] Step b. Select the next lane centerline according to the topological relationship of the starting lane centerline, and the selection criteria are: ① the lateral distance between the next lane centerline and the starting lane centerline is the shortest; ② the road to which the next lane centerline belongs is the successor road of the road to which the starting lane centerline belongs in the road centerline set I″; ③ the vehicle can travel on the next lane centerline; according to the selection criteria, select the optimal lane centerline as the next lane centerline, and set it as the new starting lane centerline;
[0083] Step c. Repeat step b until the unmanned vehicle is found on the center line of the last road I″ q The center line of the lane on which you should drive.
[0084] Advantages and effects of the present invention
[0085] 1. The present invention proposes a method for matching traditional navigation maps with high-precision maps, which not only improves the accuracy of path planning using marker points in traditional navigation, but also enriches the application scenarios of high-precision maps. In the case where the user does not know the coordinates of the current and destination, lane-level navigation planning is completed through the positions of marker points;
[0086] 2. The present invention proposes a method for matching high-precision maps and traditional navigation maps based on intersection types. The method matches the nodes at both ends of the road by finding the same intersection type, and then determines whether the arc segment connecting the two nodes of the same type matches. If the two arc segments match, the high-precision map represented by the arc segment and the road in the traditional navigation map match. This method uses the skeleton of the road to match the two roads, ignoring the situation where the same road has different attributes in the two maps due to road widening, etc., and has a wider range of application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] Figure 1a This is a flow chart of a method for unmanned vehicle path planning based on matching of navigation map and high-precision map according to the present invention;
[0088] Figure 1b It is the main module of the navigation map and high-precision map matching method of the present invention;
[0089] Figure 2 This is the matching process of the high-precision map and the navigation map within the local area of the present invention;
[0090] Figure 3 This is a schematic diagram of the rough classification of intersection types in the present invention;
[0091] Figure 4 It is a schematic diagram of subdividing the nodes of a Y-shaped intersection according to the present invention;
[0092] Figure 5 A schematic diagram of the main direction of the intersection is set for the present invention;
[0093] Figure 6 This is the road node matching process of the present invention;
[0094] Figure 7 The road segment matching process of the present invention;
[0095] Figure 8 The present invention projects the path planning of the navigation map onto a high-precision map schematic diagram;
[0096] Fig. 9 A schematic diagram showing the difference between the planned path on the navigation map and the real scene analyzed by the present invention;
[0097] Fig.10 This is a schematic diagram of topological reconstruction of navigation map path planning in the present invention; DETAILED DESCRIPTION
[0098] The present invention is further explained below in conjunction with the accompanying drawings:
[0099] Design principle of the present invention
[0100] 1. Use the "skeleton type" of the road to fuse the two map information. 1) Since the skeleton type of a section of road (for example, straight or turning) does not change with the accuracy of the map, the present invention matches the high-precision map with the navigation map according to the intersection node type or the skeleton type of the road. An intersection is a section where multiple urban roads intersect on the same plane. 2) According to the different shapes of intersections, intersections can be divided into T-type intersections, Y-type intersections, X-type intersections, cross intersections, and roundabouts. According to the topological structure of the road, intersections can be divided into diverging intersections, merging intersections, cross intersections, and roundabouts. 3) Match the navigation map and the high-precision map intersection based on the similarity and distance between intersections.
[0101] 2. Use the "intersection association" of the road to realize the projection of the navigation map path planning onto the high-precision map. The implementation method is: since the intersection nodes of the navigation map and the high-precision map have unique indexes in the corresponding maps, each pair of matched intersections can be associated through uniqueness. The advantage of intersection association is that it can avoid the accuracy errors of the two maps, as well as the differences in map models and topological structures, because the accuracy errors will not lead to changes in the intersection type, and the differences in map models and topological structures will not lead to changes in the intersection type. The present invention uses the common and unchanging element of both parties-the intersection type to solve the fusion problem.
[0102] 3. One of the difficulties in realizing the projection of the navigation map planning path onto the high-precision map. The difficulty lies in that the nodes marked in the path planning output by the navigation map do not represent the intersection information in the real world but other information. As a result, even if the navigation map and the high-precision map have completed the matching of all intersections, the intersection information is not reflected in the path planning output by the navigation map, making the matched intersection information useless here. For example, a starting point and a target point are input to the navigation map. The navigation map divides the entire path from the starting point to the target point into several segments according to the starting point and the target point, and outputs the planned path one by one. In each output path planning, when the vehicle goes straight, even if this path passes through multiple intersections, the navigation map always outputs this path as a straight line, and the intersections passed on this straight line are completely invisible; when the vehicle needs to turn around or turn on this path, even if it does not pass through an intersection, the navigation map will add a node between the two endpoints of this path because the vehicle is about to turn around or turn. In short, the nodes on the navigation map path planning are not the nodes we need, and the nodes that are not reflected in the navigation map path planning are exactly the nodes we need. Therefore, before matching the navigation map with the high-precision map, it is necessary to topologically reconstruct the global path planned by the navigation map. The topological reconstruction is to re-establish the connection relationship between nodes and nodes in the path planning. The solution of the present invention is to combine the real scene of the navigation map with the path planning, and rebuild a path planning. This path planning retains the characteristics of the navigation map outputting the path according to the fixed length. At the same time, each section of the path is transformed, and the intersection nodes passed by the current path are added to the current path. At the same time, the nodes marked by non-intersections in the original path planning are deleted to ensure that the nodes in each path represent intersection nodes. Since the intersection nodes are inserted into each section of the path after the topological reconstruction, the length between the nodes is no longer the fixed length in the original sense, but will change with the change of the length between the intersection nodes.
[0103] 4. The second difficulty in projecting the navigation map planning path onto the HD map. The starting point and the end point of the path planning after topological reconstruction are not necessarily at the intersection nodes. If the starting point and the end point are both intersection nodes, since the intersection nodes of the two maps have been associated, it is easy to find the intersection corresponding to the starting point and the end point of the HD map according to the association between the intersection nodes corresponding to the starting point and the end point of the navigation map and the HD map. However, the actual situation is likely to be: the starting point is between the two intersection nodes, and the end point is also between the two intersection nodes, so the first and last sections of the path planning need to be specially handled. The technical means of the present invention for special processing depends on the path planning after the above topological reconstruction. Since the path planning after the topological reconstruction adds intersection nodes in each path, the first path segment including the starting point may include the first intersection node, or the first intersection node may appear in the next path segment. If the first intersection node is searched, the intersection node is taken as the center of the circle and a certain length is taken as the radius to traverse multiple roads Ni that enter the intersection node k, calculate the vertical distance from the starting point of the first path segment I′1 to the road Ni, and select the road closest to the starting point (when the starting point is on the current road, the vertical distance from the starting point to the current road should be 0) as the road corresponding to the first path segment I′1. The projection of the starting point of the first path segment I′1 on the road is the starting point of the matching road in the high-precision map. Similarly, the road where the end point on the last path segment is located is obtained.
[0104] 5. The third difficulty in realizing the projection of the navigation map planning path onto the high-precision map: After the topology reconstruction path, the topology reconstruction path planning can be easily matched with the corresponding intersection nodes on the high-precision map. However, although the two intersection nodes k and j on the high-precision map are matched with the intersection nodes on the path after topology reconstruction, it is still necessary to complete the matching of the road section between the two intersection nodes k and j. Because there are multiple road sections between the two intersection nodes k and j in the high-precision map, it is necessary to confirm which road section belongs to the road section that should be matched currently. The present invention determines the directions of multiple roads between the two intersection nodes k and j by formula (6), and also determines the mean of the sum of the one-way distances between each two roads between the two intersection nodes k and j by formula (7). When the angle between the directions is less than a set value and the mean of the sum of the one-way distances is less than a set value, it indicates that the road section L O With road segment L H Indicates the same road.
[0105] Based on the above invention principles, the present invention designs a path planning method for an unmanned vehicle based on matching a navigation map with a high-precision map, comprising the following steps:
[0106] Supplementary Note 1
[0107] The core module of the present invention is as follows Figure 1b As shown, Figure 1a The first step is to use Figure 1b The first three modules are: intersection node extraction, intersection node search, and intersection node matching modules. Figure 1a The fifth step is to use Figure 1b The road segment matching module is implemented. Figure 1a The sixth step is to Figure 1b Lane centerline matching module implementation.
[0108] Step 1: Complete the initial matching of known high-precision maps and navigation maps in the cloud;
[0109] The specific process is as follows:
[0110] 1) Obtain navigation maps and high-precision maps within a set range; the set range is the area with high-precision areas in the country;
[0111] 2) Crop the navigation map according to the range of the high-precision map and obtain the overlapping area;
[0112] Supplementary Note 2
[0113] like Figure 2 As shown, since the range covered by the navigation map is larger than that of the high-precision map, in order to narrow the search range and reduce unnecessary calculations, the navigation map needs to be cropped according to the range of the high-precision map. Common methods include buffer analysis, bounding box intersection, etc. This method does not require the specific cropping method used. In order to enable professional and technical personnel to understand the specific implementation steps, this method briefly describes the bounding box intersection method to crop the common area of the high-precision map and the navigation map; that is, respectively obtain the directed bounding boxes of the high-precision map and the navigation map, and then obtain the intersection of the two bounding boxes. The result is the overlapping area of the high-precision map and the navigation map.
[0114] 3) Setting the intersection type for matching the high-precision map and the navigation map in the overlapping area;
[0115] Supplementary Note 3
[0116] like Figure 3As shown in the figure, since the map models and topological structures of the HD map and the navigation map are different, the navigation map and the HD map produced by collecting data at different times may have different expressions for the same road. Therefore, it is not possible to find the lane line closest to the center line of the road in the HD map through a simple distance constraint. Since the skeleton type of a section of road (for example, straight or turning) does not change according to the accuracy of the map, this method searches for roads according to the type of intersection nodes and matches the HD map with the navigation map according to the skeleton type of the road. This method is defined as follows: a diverging intersection is a road that diverges into multiple roads through an intersection node; a converging intersection is a road that converges at an intersection node and merges into one road; a cross intersection is an intersection where two roads intersect; a roundabout is an intersection where more than two roads intersect, usually with a roundabout in the middle. According to the above description, a diverging intersection can be a T-type intersection or a Y-type intersection, and a cross intersection can be an X-type intersection or a cross intersection. In order to further classify the intersection nodes, this method performs secondary classification based on the shapes of the preceding road and the succeeding road connecting the intersection nodes. The preceding road is the road with the node as the end point, and the succeeding road is the road with the node as the starting point.
[0117] The specific steps are as follows:
[0118] Step a. Figure 3 As shown, the intersection nodes of the navigation map are roughly classified into diverging intersection nodes, merging intersection nodes, cross intersection nodes, and roundabout intersection nodes;
[0119] The diverging intersection node is: according to the number of the preceding roads and the following roads of the intersection node in the navigation map, the intersection node with one preceding road and multiple following roads is a diverging intersection node; the intersection node with multiple preceding roads and one following road is a merging intersection node; the cross intersection node is: the intersection node with two preceding roads and two following roads is a cross intersection node; the roundabout node is: the intersection node with multiple preceding roads and multiple following roads is a roundabout node;
[0120] Step b. Figure 3 As shown in the first row of the first two figures, the split intersection nodes are secondary classified into two types: T-type split intersection nodes and Y-type split intersection nodes. The specific method is:
[0121] ① The angle between the centerline of a preceding road and the centerline of a succeeding road at a diverging intersection is expressed by the following mathematical formula:
[0122]
[0123] In formula (1) The center line of the preceding road Centerline of the subsequent road The angle between the two, arccos is the inverse cosine operation; The center line of the preceding road Length, The center line of the subsequent road Length, Indicates obtaining the center line of the preceding road Centerline of the subsequent road The inner product of , i is the intersection node; the road centerline is the arc segment representing the road in the navigation map and the high-precision map, and the arc segment is a straight line or a broken line;
[0124] ② When the angle between the center line of the preceding road and the center line of the succeeding road of the diverging intersection node is 90°±5°, the diverging intersection node is a T-type diverging intersection node, otherwise it is a Y-type diverging intersection node.
[0125] Step c. Figure 3 As shown in the 3rd and 4th figures of the first row, the cross intersection nodes are classified twice, and subdivided into two types: X-type intersection nodes and cross-type intersection nodes. The specific method is as follows:
[0126] ① Calculate the angle between the center line of a preceding road and the center line of a succeeding road at the node according to formula (1);
[0127] ② If the angle between the center line of the preceding road and the center line of the succeeding road is 90°±5°, then the diverging intersection node is a cross-shaped intersection node, otherwise it is an X-shaped intersection node.
[0128] 4) Extract intersection nodes in high-precision maps and navigation maps according to intersection types;
[0129] 5) According to the similarity and distance of the intersection nodes, the intersection nodes of the high-precision map and the navigation map are matched one by one until all the intersection nodes are matched;
[0130] Supplementary Note 4
[0131] Figure 2 It is a refinement of the high-precision map and navigation map matching process. The implementation process of the above process 1) to process 3) is as follows Figure 2 As shown, process 4) extracts the intersection nodes of the high-precision map and the navigation map according to the topological structure of the road in the high-precision map and the topological structure of the road in the navigation map, and classifies the intersection nodes; process 5) completes Figure 2 The intersections of the two maps match, but do not include Figure 2 Matching of road segments.
[0132] The specific steps are as follows:
[0133] ① According to the radius range conditions, search for the possible intersection node set C corresponding to the high-precision map and the navigation map; the specific method is:
[0134] a. Select any intersection node i from the intersection nodes of the navigation map, and perform buffer analysis with the coordinates of the intersection node i as the center of the circle and a buffer radius of 50 meters in the high-precision map to find the intersection nodes in the high-precision map within the buffer range, and obtain the intersection node set C in the high-precision map;
[0135] Supplementary Note 5
[0136] Whether it is a navigation map or a high-precision map, the intersection nodes of each city are centrally arranged, and each intersection node has coordinates. Through the coordinates of the intersection node i on the navigation map, this coordinate can be quickly found on the high-precision map, and then a buffer analysis can be performed with the coordinate as the center and 50 meters as the buffer radius.
[0137] b. If the node set C is an empty set, return to method a and reselect the intersection node in the navigation map, otherwise enter step ②;
[0138] ② According to the conditions of similarity and distance, search for the intersection node set k in the intersection node set C whose high-precision map is most similar to the navigation map; the specific method is as follows:
[0139] I. If the intersection node i is not a cross intersection node, an X-shaped intersection node, or a roundabout intersection node, then it is necessary to calculate the similarity between each intersection node in the intersection node set C of the high-precision map and the intersection node i of the navigation map;
[0140] a. Calculate the similarity between each intersection node in the intersection node set C of the high-precision map and the intersection node i of the navigation map;
[0141] Supplementary Note 6
[0142] like Figure 5As shown, since the diverging intersection node and the merging intersection connect multiple roads, it is necessary to define the main direction vector and the main direction road of the intersection. The main direction road is defined as follows: the road entering the intersection node, that is, the road whose end point is the intersection node, takes the row points within 5m from the end point and the vector formed by the end point as the main direction vector; the road leaving the intersection node, that is, the road whose starting point is the intersection node, takes the row points within 5m from the starting point and the vector formed by the starting point as the main direction vector; the row points represent discrete points on the arc segment of the center line of the road. The diverging intersection node takes the road entering the intersection as the main road, and the main direction vector of the diverging intersection node is the main direction vector of the main road; the merging intersection node takes the road leaving the intersection as the main road, and the main direction vector of the merging intersection node is the main direction vector of the main road. For intersection node i, the main direction vector set is V i = {v1, v2, ..., v m}, for the intersection node k, the main direction vector set is V k = {v1, v2, ..., v n};
[0143] The specific method is as follows:
[0144] ① If the intersection node i is not a cross intersection node, an X-shaped intersection node, or a roundabout node, then the intersection node k and the intersection node i are determined to be mutually matching nodes, and the mathematical formula should be satisfied as follows:
[0145]
[0146] In formula (2), is the angle between the main directions of intersection node i and intersection node k; arccos is the inverse cosine operation; Indicates the main direction V i With the main direction V k The operation of finding the inner product; V i Indicates the main direction of the navigation map intersection node i; V i The transpose of V k Indicates the main direction of the high-precision map intersection node k; D ik is the distance between intersection nodes i and k, (X i , Y i ) T (X k , Y k ) T are the coordinates of intersection nodes i and k respectively; min is the operation of taking the minimum value; k is an element in the intersection node set C in the high-precision map; Sim is the similarity matrix of the intersection node; represents the outer product of two vectors; || || represents the operation of finding the modulus of a vector; Sim(s) represents the operation of taking the sth row of the similarity matrix; m and n are the main direction vector set V i , V k The number of elements in Sim ik Represents the similarity of intersection nodes i and k; the main direction vector is: for the road entering the intersection node, that is, the road with the intersection node as the end point, the vector composed of the row points within 5m from the end point and the end point is taken as the main direction vector; for the road leaving the intersection node, that is, the road with the intersection node as the starting point, the vector composed of the row points within 5m from the starting point and the starting point is taken as the main direction vector.
[0147] b. Among the HD map intersection nodes whose angles with the intersection node i of the navigation map are within the threshold range and whose similarity is greater than the threshold, select the intersection node closest to the intersection node of the navigation map as the matching node of the intersection node i of the navigation map in the HD map.
[0148] II. If the intersection node i is a cross intersection node, an X-shaped intersection node or a roundabout node, then the intersection node k is determined to be a mutually matching node, and the mathematical formula should be satisfied as follows:
[0149]
[0150] Among the intersection nodes of the high-precision map, the intersection node closest to the intersection node of the navigation map is selected as the matching node of the intersection node i of the navigation map in the high-precision map.
[0151] ③ Search for the next matching intersection node based on the topological relationship of the matched intersection nodes and the characteristics of the intersection nodes until all intersection nodes in the overlapping area of the high-precision map and the navigation map within the set range are matched.
[0152] Supplementary Note 7
[0153] Figure 6 The hollow origin of the solid line and the hollow circle of the dotted line are the discrete points used by the navigation map and high-precision map roads to represent the center lines of their respective roads. The discrete points do not represent intersection nodes. The gray solid points are the current search points, and the black solid points are the searched intersection nodes or the matched intersection nodes.
[0154] Search for the next matching intersection node such as Figure 6 As shown, Figure 6The first and third rows are the search path of the navigation map, and the second and fourth rows are the search path of the high-precision map. The first row starts searching from the second graph, passes through the third graph, and ends at the intersection node in the fourth graph (the intersection node is represented by a solid black dot). The search process is shown in the dotted line in the figure. The high-precision map in the second row is not searched during the search process of the first row, so there is no dotted line representation; when the search process of the first row ends, the high-precision map in the fourth row is searched in the same way, starting from the fourth graph on the right of the fourth row to the first graph on the left.
[0155] Summarize Figure 6 The method is as follows: search for the next matching intersection node based on the topological relationship of the already matched intersection nodes and the characteristics of the intersection nodes. Take the intersection node i of the navigation map as the starting point, and arbitrarily select a subsequent road centerline connecting i. Take the starting search direction as the search direction, and perform a deep search until the next intersection node j is found; similarly, take the intersection node i′ that matches the intersection node i in the high-precision map as the starting point to search for the next intersection node j′;
[0156] Step 2: inputting mark point information into the navigation map after initialization matching, where the mark point information is the mark point information corresponding to the starting point and the target point;
[0157] Step 3: Navigate the map to plan a set of paths from the starting point to the target point; the path set is a set of paths consisting of a series of end-to-end paths I = {I1, I2, ..., I t}, t≥1, where t is the total number of paths;
[0158] Step 4: Set the path planning set I = {I1, I2, ..., I t}, each path in t≥1 is restored to the topological structure of the real scene, and a set of paths after topological reconstruction is obtained.
[0159] I′={I′1, I′2,...,I′ q}, q≥1;
[0160] Supplementary Note 8
[0161] The marking information of step 2 is Fig. 9 The first row is A and B or C and D. The path planning output by the navigation map in step 3 is Fig. 9 As shown by the dotted lines in (b) and (d).
[0162] Step 4: Get the path set after topology reconstruction as follows Fig. 9As shown in the figure, the topology reconstruction is because the route planned by the navigation map is segmented according to the roads that the vehicle passes through from the starting point to the end point, and the navigation map segments the planned route according to whether the vehicle needs to turn around / turn. If the vehicle goes straight, the navigation map will merge multiple roads in the real world into one output. Fig. 9 As shown in the figure, the vehicle goes straight from point A to point B. During the actual driving process, the vehicle passes through multiple intersections and multiple road sections, but the navigation map only uses one arc segment to represent all the roads between point A and point B; or the vehicle needs to turn when driving from point C to point D. Even if the vehicle is still driving on the same road, the navigation map will still use two arc segments to represent it. Therefore, before matching the navigation map with the high-precision map, it is necessary to topologically reconstruct the global path planned by the navigation map. Figures (a) and (c) are real scenes of the navigation map, and Figures (b) and (d) are path planning of the navigation map. The path planning of Figure (b) only reflects the starting point and the target point, but does not reflect the intersection nodes of the real scene from the starting point to the target point. The path planning of Figure (d) has one more node than the real scene, which is used to indicate that the vehicle turns here, but there is no such node in the actual real scene.
[0163] The specific process is as follows:
[0164] ① The route planned by the navigation map is divided into sections according to the road from the starting point to the end point and output as I i ;
[0165] ② Select the first path I1 and compare it with the original data of the navigation map. If the path passes through an intersection node in the middle, insert a node at the position of the intersection node in the path. The new node divides the path into two paths and marks it as the starting point for the next processing. If the end point of the path I1 does not correspond to the intersection node in the navigation map, mark the end point of the path as the starting point for the next processing, delete the end point of the path, and merge I1 with the next path.
[0166] ③ Starting from the starting point of the next processing obtained in process ②, process the planned paths in sequence, reconstruct the topology of the paths, and finally obtain a set of paths after topology reconstruction;
[0167] I′={I′1, I′2,...,I′ q}, q≥1, in this path set, except for the starting point of the first path I′1 and the last path I′ q Except for the end point, the starting point and end point of each path are intersection nodes.
[0168] Step 5: Reconstruct the navigation map topology into a path set I′={I′1, I′2, ...I′ q}, q≥1 is projected into the high-precision map, and the high-precision map and path set I′={I′1,I′2,...,I′ q}, the set of road centerlines matched by each path in q≥1 I″={I″1,I″2,...,I″ q}, q≥1;
[0169] Supplementary Note 9
[0170] The above steps 1 to 4 complete the matching of the intersections of the known navigation map and the high-precision map. Since the starting point and target point of the path planning are not necessarily at the intersection, they may be between two intersections. Therefore, the first path of the navigation map is used to obtain the position of the starting point on the high-precision map, and the last path of the navigation map is used to obtain the position of the end point on the high-precision map. For the matching of the intermediate paths between the navigation map and the high-precision map other than the starting point and the end point, it cannot be completely based on the matched intersection nodes, because there are multiple sections between the two intersection nodes, and the path that matches the navigation map must be searched. The following process ① to process ⑤ describes this process.
[0171] The specific process is as follows:
[0172] ① In the matching path set, I′={I′1,I′2,...,I′ q}, q≥1 the first path, and find the position of the starting point in the first path, specifically:
[0173] a. According to the unique index identifier of each intersection node in the navigation map and the high-precision map, a mapping relationship between the navigation map intersection node and the high-precision map intersection node is established;
[0174] b. According to the mapping relationship, the end point of the first path I′1 is at the intersection node k in the high-precision map;
[0175] c. Traverse multiple roads Ni that enter the intersection node k, calculate the vertical distance from the starting point of the first path I′1 to the road Ni, select the road closest to the starting point as the road corresponding to the first path I′1, and the projection of the starting point of the first path I′1 on the road is the starting point of the matching road in the high-precision map. The mathematical formula is as follows:
[0176] d=min(D(p,L i )) (4)
[0177] In formula (4), p is the starting point of the first path I′1; L i is the i-th road entering the intersection node k; D(p, L i ) indicates the calculation starting point p to L iThe vertical distance; min represents the operation of taking the minimum value; d represents the minimum vertical distance of the road from the starting point p to the entrance node k.
[0178] ② In the matching path set, I′={I′1,I′2,...I′ q}, the next path in q≥1;
[0179] Supplementary Note 10
[0180] like Figure 7 As shown. Matching the next path requires determining whether the roads connecting the two intersections are the same road. Due to the different map accuracy of navigation maps and high-precision maps, the time of data collection and the method of production are also different, so the same road is not completely consistent in the navigation map and the high-precision map, and the same road in the navigation map and the high-precision map cannot completely overlap. Common matching methods include matching based on geometric information, including point-to-point matching, point-to-line matching, and point-to-line matching; shape-based matching, including calculating Hausdorff distance, calculating Frechet distance, etc. Since the known methods need to calculate each row point, the amount of calculation is huge, so this method proposes a road similarity calculation method based on a simplified road skeleton. The main principle is to simplify the road skeleton to propose redundant row points, retain only the feature points of the road, and then calculate the similarity through the feature points.
[0181] The specific method is as follows:
[0182] Step a. Since the starting point j and the end point k of the second path I′2 are both intersection nodes in the navigation road; according to the index of the intersection node in the navigation road and the mapping relationship between the intersection node of the navigation map and the intersection node of the high-precision map, the corresponding intersection nodes of the starting point and the end point of the second path I′2 in the high-precision map can be obtained;
[0183] Step b. For the second path I′2 in the searched high-precision map, the corresponding intersection nodes k′ and j′ are connected, and the road between the intersection nodes k′ and j′ is obtained to obtain the road segment L H , assuming that the second path I′2 is the road segment L O , using Douglas Peucker algorithm, remove road segment L O , L H The redundant row points in the simplified road segment L O ′, L H ′;
[0184] Step c. For road segment L H ′, L O 'Perform direction detection and check road segment L H ′ and road segment L O′ are in the same direction, the mathematical formula is as follows:
[0185]
[0186] In formula (6) is the road segment L O ′ and road segment L H ', arccos is the inverse cosine operation, is the vector formed by the intersection nodes k and j; is the vector formed by the intersection nodes k′, j′; for Length, for Length, Represents the vector With vector The inner product of
[0187] if The value of is not within the threshold range, then the road segment L H 'With road segment L O ' are not in the same direction, the system does not proceed to the next step; otherwise, it proceeds to step d.
[0188] Step d. Calculate the one-way distance of the road segment. The mathematical formula is as follows:
[0189]
[0190] In formula (7), d(L O ′,L H ′) is the road segment L O ′,L H ′, OWD(L O ′,L H ′) represents the road segment L O ' to road segment L H ′ one-way distance, OWD(L H ′,L O ′) represents the road segment L H ' to road segment L O ′ one-way distance,||L O ′|| represents the road segment L O 'length, D(p, L H ′) represents the distance from point p to road segment L H ′, p is the shortest distance of the road segment L O The line point on.
[0191] ③ Repeat process ② until the path set I′={I′1,I′2...I′ q}, q≥1, until the path before the last path;
[0192] ④ Matching path set I′={I′1,I′2,...I′ q The last planned path of}q≥1 is as follows:
[0193] a. Traverse the last section of the path I′ q The starting point of the road;
[0194] b. Calculate the vertical distance from the destination to each road, and select the road closest to the destination as the last path I′ q The corresponding road, the last section of the path I′ q The projection of the end point on the road is the end point of the matching road in the high-precision map. The mathematical formula is as follows:
[0195] d=min(D(p,L i )) (5)
[0196] In formula (5), p is the last path I′ q The end point of L i is the i-th road exiting the intersection; D(p, L i ) indicates the calculation starting point p to L i The vertical distance; min represents the operation of taking the minimum value; d represents the minimum vertical distance of the road from the starting point p to the exit node of the intersection;
[0197] ⑤ From the above process ① to process ④, the road centerline set I″={I″1,I″2,...I″ corresponding to the navigation map planning path in the high-precision map is obtained q}, q≥1.
[0198] Step 6: Choose the appropriate lane centerline to drive on based on the road centerline matched by the high-precision map;
[0199] The specific method is as follows:
[0200] Step a. Select the first road centerline I″1, determine all lanes included in the road to which the road centerline I″1 belongs, and select the lane centerline closest to the vehicle and drivable by the vehicle as the starting lane centerline based on the distance from the current coordinate point of the vehicle to the centerline of each lane and whether the lane is drivable. If the lane closest to the vehicle is an emergency lane or a bus lane, the vehicle cannot be driven on the lane, then select the lane that is next closest to the vehicle as the starting lane centerline;
[0201] Step b. Select the next lane centerline according to the topological relationship of the starting lane centerline, and the selection criteria are: ① the lateral distance between the next lane centerline and the starting lane centerline is the shortest; ② the road to which the next lane centerline belongs is the successor road of the road to which the starting lane centerline belongs in the road centerline set I″; ③ the vehicle can travel on the next lane centerline; according to the selection criteria, select the optimal lane centerline as the next lane centerline, and set it as the new starting lane centerline;
[0202] Step c. Repeat step b until the unmanned vehicle is found on the center line of the last road I″ q The center line of the lane on which you should drive.
[0203] Supplementary Note 11
[0204] Figure 8 This is a summary of steps three to six. The diamond boxes in the figure represent data, and the rectangular boxes represent operations. The operations of the navigation map include path planning and topology reconstruction. The operations of the high-precision map include intersection matching, road centerline matching, and lane centerline matching.
[0205] It should be emphasized that the above specific embodiments are merely explanations of the present invention, and they are not limitations of the present invention. After reading this specification, those skilled in the art can make modifications to the above embodiments without any creative contribution as needed, but as long as they are within the scope of the claims of the present invention, they are protected by patent law.
Claims
1. A path planning method for unmanned vehicles based on matching navigation maps with high-precision maps. The following steps are involved: Step 1: Complete the initial matching of known high-precision maps and navigation maps in the cloud; Step 2: inputting mark point information into the navigation map after initialization matching, where the mark point information is the mark point information corresponding to the starting point and the target point; Step 3: Navigation map plans a path set from the starting point to the target point; the path set is a path set I = {I 1 , I 2 ,...I t }, t≥1, where t is the total number of paths; Step 4: Set the path planning set I = {I 1 , I 2 ,...I t }, each path in t≥1 is restored to the topological structure of the real scene, and the path set after topological reconstruction is obtained I′={I′ 1 ,I′ 2 ,...I′ q },q≥1; Step 5: Reconstruct the path set after the navigation map topology I′={I′ 1 , I′ 2 , ...I′ q }, q≥1 is projected into the high-precision map, and the high-precision map and path set I′={I′ 1 , I′ 2 , ...I′ q }, the set of road centerlines matched by each path in q≥1 I″={I″ 1 , I″ 2 ,...I″ q }, q≥1; Step 6: Choose the appropriate lane centerline to drive on based on the road centerline matched by the high-precision map; It is characterized in that: the specific process of step one is as follows: 1) Obtain navigation maps and high-precision maps within a set range; the set range is the area with high-precision areas in the country; 2) Crop the navigation map according to the range of the high-precision map and obtain the overlapping area; 3) Setting the intersection type for matching the high-precision map and the navigation map in the overlapping area; 4) Extract intersection nodes in high-precision maps and navigation maps according to intersection types; 5) According to the similarity and distance of the intersection nodes, the intersection nodes of the high-precision map and the navigation map are matched one by one until all the intersection nodes are matched.
2. According to claim 1, a method for unmanned vehicle path planning based on matching of navigation map and high-precision map, Features: The process 3) of step 1 is to set the intersection type for matching the high-precision map and the navigation map in the overlapping area, and the specific steps are as follows: Step a. roughly classify the intersection nodes of the navigation map into diverging intersection nodes, merging intersection nodes, cross intersection nodes, and roundabout intersection nodes; The diverging intersection node is: according to the number of the preceding roads and the following roads of the intersection node in the navigation map, the intersection node with one preceding road and multiple following roads is a diverging intersection node; the intersection node with multiple preceding roads and one following road is a merging intersection node; the cross intersection node is: the intersection node with two preceding roads and two following roads is a cross intersection node; the roundabout node is: the intersection node with multiple preceding roads and multiple following roads is a roundabout node; Step b. Perform secondary classification on the diversion intersection nodes, subdividing them into two types: T-type diversion intersection nodes and Y-type diversion intersection nodes. The specific method is as follows: ① The angle between the centerline of a preceding road and the centerline of a succeeding road at a diverging intersection is expressed by the following mathematical formula: In formula (1), θ is the center line of the preceding road. Centerline of the subsequent road The angle between the two, arccos is the inverse cosine operation; The center line of the preceding road Length, The center line of the subsequent road Length, Indicates obtaining the center line of the preceding road Centerline of the subsequent road The inner product of , i is the intersection node; the road centerline is the arc segment representing the road in the navigation map and the high-precision map, and the arc segment is a straight line or a broken line; ② When the angle between the centerline of the preceding road and the centerline of the succeeding road of the diverging intersection node is 90°±5°, the diverging intersection node is a T-type diverging intersection node, otherwise it is a Y-type diverging intersection node; Step c. Perform secondary classification on the cross intersection nodes, subdividing them into two types: X-shaped intersection nodes and cross intersection nodes. The specific method is as follows: ① Calculate the angle between the center line of a preceding road and the center line of a succeeding road at the node according to formula (1); ② If the angle between the center line of the preceding road and the center line of the succeeding road is 90°±5°, then the diverging intersection node is a cross-shaped intersection node, otherwise it is an X-shaped intersection node.
3. According to claim 1, a method for unmanned vehicle path planning based on matching of navigation map and high-precision map, Features: In the process 5 of step 1, the intersection nodes of the high-precision map and the navigation map are matched one by one according to the similarity and distance of the intersection nodes until all the intersection nodes are matched. The specific steps are as follows: ① According to the radius range conditions, search for the possible intersection node set C corresponding to the high-precision map and the navigation map; the specific method is: a. Select any intersection node i from the intersection nodes of the navigation map, and perform buffer analysis with the coordinates of the intersection node i as the center of the circle and a buffer radius of 50 meters in the high-precision map to find the intersection nodes in the high-precision map within the buffer range, and obtain the intersection node set C in the high-precision map; b. If the node set C is an empty set, return to method a and reselect the intersection node in the navigation map, otherwise enter step ②; ② According to the conditions of similarity and distance, search for the intersection node set k in the intersection node set C that is most similar to the high-precision map and the navigation map; ③ Search for the next matching intersection node based on the topological relationship of the matched intersection nodes and the characteristics of the intersection nodes until all intersection nodes in the overlapping area of the high-precision map and the navigation map within the set range are matched.
4. According to claim 3, a method for unmanned vehicle path planning based on matching of navigation map and high-precision map, Features: The step ② searches for the intersection node set k in the intersection node set c that is most similar to the high-precision map and the navigation map according to the conditions of similarity and distance. The specific method is as follows: I. If the intersection node i is not a cross intersection node, an X-shaped intersection node, or a roundabout intersection node, calculate the similarity between each intersection node in the intersection node set c of the high-precision map and the intersection node i of the navigation map; II. If the intersection node i is a cross intersection node, an X-shaped intersection node or a roundabout node, then the intersection node k is determined to be a mutually matching node of the intersection node i, and the mathematical formula should be satisfied as follows:
5. According to claim 4, a method for unmanned vehicle path planning based on matching of navigation map and high-precision map, Features: In the method I, if the intersection node is not a cross intersection node, an X-shaped intersection node, or a roundabout intersection node, the similarity between each intersection node in the intersection node set c of the high-precision map and the intersection node i of the navigation map is calculated; The specific method is as follows: a. If the intersection node i is not a cross intersection node, an X-shaped intersection node, or a roundabout node, then the intersection node k and the intersection node i are determined to be mutually matching nodes, and the mathematical formula should be satisfied as follows: In formula (2), θ is the angle between the main directions of intersection node i and intersection node k; arccos is the inverse cosine operation; Indicates the main direction V i With the main direction V k The operation of finding the inner product; V i Indicates the main direction of the navigation map intersection node i; V i The transpose of V k Indicates the main direction of the high-precision map intersection node k; D ik is the distance between intersection nodes i and k, (X i , Y i ) T (X k , Y k ) T are the coordinates of intersection nodes i and k respectively; min is the operation of taking the minimum value; k is an element in the intersection node set c in the high-precision map; Sim is the similarity matrix of the intersection node; represents the outer product of two vectors; || || represents the operation of finding the modulus of a vector; Sim(s) represents the operation of taking the sth row of the similarity matrix; m and n are the main direction vector set V i , V k The number of elements in Sim ik represents the similarity of the intersection nodes i and k; the main direction vector is: for the road entering the intersection node, that is, the road whose end point is the intersection node, the vector formed by the row points within 5m from the end point and the end point is taken as the main direction vector; for the road leaving the intersection node, that is, the road whose starting point is the intersection node, the vector formed by the row points within 5m from the starting point and the starting point is taken as the main direction vector; b. Among the HD map intersection nodes whose angles with the intersection node i of the navigation map are within the threshold range and whose similarity is greater than the threshold, select the intersection node closest to the intersection node of the navigation map as the matching node of the intersection node i of the navigation map in the HD map.
6. According to claim 1, a method for unmanned vehicle path planning based on matching of navigation map and high-precision map, Features: Step 4: Set the path planning set I = {I 1 , I 2 , ..., I t }, each path in t≥1 is restored to the topological structure of the real scene, and the path set after topological reconstruction is obtained I′={I′ 1 , I′ 2 , ...I′ q }, q≥1, specific distance: ① The route planned by the navigation map is divided into sections according to the road from the starting point to the end point and output as I i ; ②Select the first path I 1 , and compare it with the original data of the navigation map. If the path passes through an intersection node in the middle, a node is inserted at the position of the intersection node in the path. The new node divides the path into two sections and marks it as the starting point for the next processing; If the path I 1 If the end point of the path does not correspond to the intersection node in the navigation map, the end point of the path is marked as the starting point for the next processing, and the end point of the path is deleted. 1 Merge with the next path; ③ Starting from the starting point of the next processing obtained in process ②, process the planned paths in sequence, reconstruct the topology of the paths, and finally obtain a set of paths after topology reconstruction; I′={I′ 1 , I′ 2 , ...I′ q }, q≥1, in this path set, except for the first path I′ 1 Except for the starting point and the end point of the last path I′q, the starting point and end point of each path are intersection nodes.
7. According to claim 1, a method for unmanned vehicle path planning based on matching of navigation map and high-precision map, Features: The path set after the navigation map topology reconstruction is I′={I′ 1 , I′ 2 , ...I′ q }, q≥1 is projected into the high-precision map, and the high-precision map and path set I′={I′ 1 , I′ 2 , ...I′ q }, the set of road centerlines matched by each path in q≥1 I″={I″ 1 , I″ 2 ,...I″ q }, q≥1, the specific process is as follows: ① In the matching path set, I′={I′ 1 , I′ 2 , ...I′ q }, q≥1 the first path, and find the position of the starting point in the first path, specifically: a. Establish a mapping relationship between the navigation map intersection node and the high-precision map intersection node based on the unique index identifier of each intersection node in the navigation map and the high-precision map; b. According to the mapping relationship, we know the first path I′ 1 The end point is at the intersection node k in the high-precision map; c. Traverse multiple roads Ni that enter the intersection node k and calculate the first path I′ 1 The vertical distance from the starting point to the road Ni, select the road closest to the starting point as the first path I′ 1 The corresponding road, the first path I′ 1 The projection of the starting point on the road is the starting point of the matching road in the high-precision map. The mathematical formula is as follows: d=min(D(p,L i )) (4) In formula (4), p is the first path I′ 1 Starting point; L i is the i-th road entering the intersection node k; D(p, L i ) indicates the calculation starting point p to L i The vertical distance min represents the operation of taking the minimum value; d represents the minimum vertical distance of the road from the starting point p to the entrance node k; ② In the matching path set, I′={I′ 1 , I′ 2 , ...I′ q }, the next path in q≥1; ③ Repeat process ② until the path set I′={I′ 1 , I′ 2 , ...I′ q }, q≥1, until the path before the last path; ④ Matching path set I′={I′ 1 , I′ 2 , ...I′ q }, the last planned path of q≥1 is as follows: a. Traverse the last section of the path I′ q The starting point of the road; b. Calculate the vertical distance from the destination to each road, and select the road closest to the destination as the last path I′ q The corresponding road, the last section of the path I′ q The projection of the end point on the road is the end point of the matching road in the high-precision map. The mathematical formula is as follows: d=min(D( i p, L i )) (5) In formula (5), p is the last path I′ q The end point of L i is the i-th road exiting the intersection; D(p, L i ) indicates the calculation starting point p to L i The vertical distance min represents the operation of taking the minimum value; d represents the minimum vertical distance from the starting point p to the exit node of the intersection; ⑤ From the above process ① to process ④, the road centerline set corresponding to the navigation map planning path in the high-precision map is obtained I″={I″ 1 ,I″ 2 ,...I″ q },q≥1.
8. According to claim 7, a method for unmanned vehicle path planning based on matching of navigation map and high-precision map, Features: The process 2) matches I′={I′ 1 , I′ 2 , ...I′ q }, the next path in q≥1, the specific method is as follows: Step a. Since the second path I′ 2 The starting point j and the end point k of are both intersection nodes in the navigation road; according to the index of the intersection node in the navigation road and the mapping relationship between the intersection node of the navigation map and the intersection node of the high-precision map, the second path I′ can be obtained 2 The starting point and end point of the corresponding intersection nodes in the high-precision map; Step b. The second path I′ in the searched high-precision map 2 Corresponding to the intersection nodes k′ and j′, connect the roads between the intersection nodes k′ and j′ to obtain the road segment L H , assuming that the second path I′ 2 is the road segment L o , using Douglas Peucker algorithm, remove road segment L O , L H The redundant row points in the simplified road segment L O ', L H '; Step c. For road segment L O ', L H 'Perform direction detection and check road segment L H 'With road segment L o 'Whether the directions are the same, the mathematical formula is as follows: In formula (6), θ is the road segment L O ′ and road segment L H ′, arccos is the inverse cosine operation; is the vector formed by the intersection nodes k and j; is the vector formed by the intersection nodes k′, j′; for Length, for Length, Represents the vector With vector The inner product of If the value of θ is not within the threshold range, then the road segment L H 'With road segment L O 'The directions are not the same, the system does not proceed to the next step; otherwise, it proceeds to step d; Step d. Calculate the one-way distance of the road segment. The mathematical formula is as follows: In formula (7), d(L O ′,L H ′) is the road segment L O ′,L H ′, OWD(L O ′,L H ′) represents the road segment L O ' to road segment L H ′ one-way distance, OWD(L H ′,L O ′) represents the road segment L H ' to road segment L O ′ one-way distance,||L O ′|| represents the road segment L O ′, D(p,L H ′) represents the distance from point p to road segment L H ′, p is the shortest distance of the road segment L O ′ on the line point; Step e. If the obtained d(L O ′,L H ′) is less than 0.5, which means that the road segment L O ′ and road segment L H 'Indicates the same road, for road segment L O ′,L H ′The road centerline and intersection nodes passed by are set with matching identifiers and no longer participate in subsequent processing, otherwise it means that the road segment L O ′ and road segment L H 'It is not the same road, return to step b and search again for the second path I' in the HD map 2 The intersection nodes that match the end point are not processed. The intersection nodes that have been processed in the high-precision map are not processed. If all elements in the intersection node set C of the high-precision map are processed and do not meet the matching criteria, the processing is terminated.
9. According to claim 1, a method for unmanned vehicle path planning based on matching of navigation map and high-precision map, Features: Step 6: Select the appropriate lane centerline for driving based on the road centerline matched by the high-precision map. The specific method is as follows: Step a. Select the first road centerline I″ 1 , determine the road centerline I″ 1 For all lanes on the road, based on the distance from the current coordinate point of the vehicle to the center line of each lane and whether the lane is drivable, the center line of the lane closest to the vehicle and drivable by the vehicle is selected as the center line of the starting lane. If the lane closest to the vehicle is an emergency lane or a bus lane and the vehicle cannot drive on this lane, the lane next closest to the vehicle is selected as the center line of the starting lane; Step b. Select the next lane centerline according to the topological relationship of the starting lane centerline, and the selection criteria are: 1) the lateral distance between the next lane centerline and the starting lane centerline is the shortest; 2) the road to which the next lane centerline belongs is the successor road of the road to which the starting lane centerline belongs in the road centerline set I″; 3) the vehicle can travel on the next lane centerline; according to the selection criteria, select the optimal lane centerline as the next lane centerline, and set it as the new starting lane centerline; Step c. Repeat step b until the unmanned vehicle is found on the center line of the last road I″ q The center line of the lane on which you should drive.
