Global positioning method based on rail transit

By combining LiDAR and GNSS in rail transit, segmenting and processing the 3D point cloud and using the K nearest neighbor algorithm and hash mapping, the problem of positioning accuracy caused by GNSS signal interference is solved, and more efficient and robust global positioning is achieved.

CN118736562APending Publication Date: 2024-10-01DALIAN MARITIME UNIVERSITY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410915848.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In practical applications, GNSS signals may be interfered by environmental factors, resulting in reduced positioning accuracy of mobile robots and the inability to obtain ideal navigation results.

Method used

A global positioning method based on rail transit is used to collect data simultaneously through LiDAR and GNSS. Based on the pre-created mapping module, the global three-dimensional point cloud prior map is obtained, segmented, processed and identified, and the K nearest neighbor algorithm and hash mapping are used. Realize pose feature matching and improve positioning robustness.

Benefits of technology

It effectively avoids environmental interference, improves the efficiency and accuracy of global 3D point cloud processing, reduces the operating load of k-d trees, and significantly improves the robustness of real-time point cloud data positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736562A_ABST
    Figure CN118736562A_ABST
Patent Text Reader

Abstract

The invention discloses a global positioning method based on rail transit, and the method comprises the steps: obtaining a plurality of voxel sub-maps through the segmentation of a global three-dimensional point cloud priori graph, recognizing the markers in each voxel sub-map according to a marker recognition strategy, obtaining an optimized voxel sub-map, effectively avoiding the interference of environmental factors, and improving the positioning precision. Therefore, when the target point cloud data is acquired, the sub-map to which each data point cloud belongs is accurately determined, and the processing efficiency and precision of the global three-dimensional point cloud priori graph are improved; in addition, all feature points in the feature sequence data table serve as input of the pre-constructed k-d tree data storage structure, by extracting all the feature points, the total amount of input data of the k-d tree data storage structure is effectively reduced, the sorting time is shortened, the operation efficiency of the K-D tree is remarkably improved, and the method has the advantages of being high in practicability and the like. A K nearest neighbor algorithm is adopted to match adjacent points of the feature point to obtain an adjacent point feature table, a plurality of triangular descriptors used for describing each voxel sub-map are obtained according to the search center point and the adjacent point feature table, and a global descriptor of the global three-dimensional point cloud priori graph is accurately and effectively achieved; hash mapping is carried out on the global descriptor to obtain the mapping data of the global descriptor, so that the pose feature matching score of the global map corresponding to the current frame point cloud obtained in real time is realized, and the robustness of real-time point cloud data positioning is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mobile robot positioning, and in particular to a global positioning method based on rail transportation. Background Art

[0002] In recent years, autonomous driving technology has attracted widespread attention around the world. It not only significantly reduces the labor intensity of drivers, but also significantly improves transportation efficiency. In this field of technology, LiDAR (Light Detection and Ranging) stands out with its excellent performance. Compared with traditional cameras, LiDAR is insensitive to lighting conditions and can directly capture three-dimensional information of the surrounding environment. This makes LiDAR widely used in the research and application of autonomous vehicles and mobile robots. The Global Navigation Satellite System (GNSS) is a powerful technology that can provide devices with precise position and attitude information on the earth. Therefore, the fusion of LiDAR and GNSS data can improve the robustness of mobile robot mapping and positioning.

[0003] However, GNSS signals may be interfered by various environmental factors in practical applications, such as building obstruction, changes in atmospheric conditions, etc. These factors will reduce the positioning accuracy of the mobile robot and make it impossible to obtain ideal navigation results. Summary of the invention

[0004] The present invention provides a global positioning method based on rail transit to overcome the above technical problems.

[0005] In order to achieve the above object, the technical solution of the present invention is:

[0006] A global positioning method based on rail transit, comprising the following steps:

[0007] S1: The laser radar LiDAR and the global navigation satellite system GNSS installed on the rail transit carrier synchronously collect N frames of LiDAR data and GNSS data.

[0008] Based on the pre-created mapping module, a global 3D point cloud prior map is obtained according to any frame of LiDAR data and GNSS data;

[0009] S2: Segment the global three-dimensional point cloud prior map based on a preset voxel size to obtain a number of voxel sub-maps and feature vectors of data cloud points in each voxel sub-map;

[0010] And according to the landmark recognition strategy, the landmarks in each voxel sub-map are identified to obtain the optimized voxel sub-map;

[0011] S3: Obtain several plane images that are parallel to the feature vectors of the data cloud points in the optimized voxel sub-map and have a specification of n*m, and select the data cloud point corresponding to the maximum pixel value in each plane image as the corresponding feature point, and arrange the feature values ​​of each feature point in descending order to obtain a feature sequence data table;

[0012] And each pixel value in the plane image is the intensity of the feature vector of the data cloud point in the optimized voxel sub-map projected to the position;

[0013] S4: taking each feature point in the feature sequence data table as the input of the pre-constructed kd tree data storage structure, taking each feature point as the search center point, and using the K nearest neighbor algorithm to match the neighboring points of the feature point to obtain a neighboring point feature table;

[0014] And according to the search center point and neighbor point feature table, a number of triangular descriptors for describing each voxel sub-map are obtained to obtain a global descriptor of the global three-dimensional point cloud prior map;

[0015] S5: performing hash mapping on the global descriptor, and storing the hash-mapped global descriptor in a preset database;

[0016] S6: by collecting the current frame point cloud data of the rail transit carrier in real time, and obtaining the current hash value of the global map corresponding to the current frame point cloud, so as to call the mapping data of the global descriptor in the database to realize the posture feature matching score of the current hash value;

[0017] S7: The pose data of the global descriptor whose pose feature matching score meets a preset score threshold is used as the position and posture information of the global positioning of the rail transit.

[0018] Furthermore, in S2, the markers in each voxel submap are identified according to the marker identification strategy to obtain the optimized voxel submap, which specifically includes the following steps:

[0019] S21: Use the least squares method to perform plane fitting estimation on the eigenvectors of the data cloud points in each voxel sub-map to obtain the covariance matrix Σ;

[0020] S22: Solve the covariance matrix Σ to obtain the minimum eigenvalue λ min ;

[0021] S23: According to the minimum eigenvalue λ min Calculate the voxel landmark score value of each voxel sub-map;

[0022] S24: defining a voxel submap whose voxel mark score value satisfies a voxel mark score threshold as a central voxel submap;

[0023] And traverse each neighbor voxel submap of the central voxel submap, and screen out the central voxel submap whose voxel mark score values ​​of each neighbor voxel submap do not meet the voxel mark score threshold as the optimized voxel submap.

[0024] Furthermore, the expression of the covariance matrix Σ obtained in S21 is:

[0025]

[0026] Where: p i represents any data cloud point in the voxel submap; p represents the voxel mass centroid of the voxel submap; Σ represents the covariance matrix; N represents the number of data cloud points in the voxel submap;

[0027] Get the minimum eigenvalue λ min The expression is

[0028]

[0029] Where: represents a real number set; det represents a determinant; I represents an identity matrix; λ represents an eigenvalue;

[0030] According to the minimum eigenvalue λ min The expression for calculating the voxel landmark score of each voxel submap is:

[0031] l i =l0·λ min

[0032]

[0033] Where: l0 represents the preset design parameters; λ min represents the minimum eigenvalue; l i represents the intermediate parameter variable; σ represents the voxel landmark score; N represents the number of data cloud points in the voxel submap.

[0034] Furthermore, the S5 specifically includes the following steps:

[0035] S51: performing binary feature description on the feature points of the acquired global descriptor according to a preset compilation rule, and obtaining a hash value of the global descriptor after the binary feature description through a hash function;

[0036] S52: Using the hash value as the hash index value of the global descriptor to obtain the mapping data of the corresponding global descriptor according to the hash index value, so as to save the spatial structure of the global map into a global hash and store it in a preset database.

[0037] Furthermore, the S6 specifically includes the following steps:

[0038] S61: collecting LiDAR real-time point cloud data of the rail transit carrier, and obtaining the current hash value and the current frame triangle descriptor of the global map corresponding to the current frame point cloud;

[0039] And according to the current hash value, a local map position in the global hash that matches the current hash value is selected to obtain a triangle descriptor corresponding to the local map position as a candidate frame triangle descriptor;

[0040] S62: using a geometric verification method, performing an initial matching operation on the current frame triangle descriptor and the candidate triangle descriptor to obtain a roughly registered triangle descriptor matching pair;

[0041] S63: Based on the singular value decomposition algorithm, the relative transformation matrix T is obtained according to the triangle descriptor matching pair, and the elements in the relative transformation matrix T are the posture data, which is expressed as follows:

[0042]

[0043] [U,S,V]=SVD(H)

[0044] R=VU T ,t=-R*q a +q b

[0045] Where: q a With q b Denote the triangle descriptor matching pair Δ a With Δ b The centroid of a With Δ b The singular value vector of ; U, S, V represent the three feature matrices obtained by singular value decomposition SVD; R represents the rotation matrix of the relative transformation of the two frames for the triangular descriptor matching, t represents the translation of the two frames for the angular descriptor matching; p ai ,p bi The triangular descriptor matching pairs Δ a With Δ b The three vertices of , and i=1,2,3;

[0046] S64: confirming whether the triangle descriptor of the current frame and the triangle descriptor of the candidate frame overlap in the triangle descriptor matching pair based on the judgment strategy according to the relative transformation matrix, so as to obtain the overlap rate between the triangle descriptor of the current frame and the triangle descriptor of the candidate frame;

[0047] And the expression of the judgment strategy is

[0048]

[0049] d≤σ d

[0050] Where: d represents the total distance between the vertices in the triangular descriptor matching pair; Indicates the obtained triangle descriptor of the current frame B p i With the candidate frame triangle descriptor C p i The relative transformation matrix T obtained; σ d represents a preset parameter threshold for determining whether descriptors overlap;

[0051] The expression of the overlap rate between the current frame triangle descriptor and the candidate frame triangle descriptor is:

[0052]

[0053] Where: N count Indicates the number of overlaps of triangle descriptors; N sum Indicates the number of all descriptors of the candidate frame; N score Indicates the overlap rate between the triangle descriptor of the current frame and the triangle descriptor of the candidate frame;

[0054] S65: The overlap ratio between the current frame triangle descriptor obtained in S64 and the candidate frame triangle descriptor is used as a pose feature matching score of the current frame triangle descriptor.

[0055] Beneficial effect: The present invention provides a global positioning method based on rail transit, which obtains a number of voxel sub-maps by segmenting the global three-dimensional point cloud prior map, and obtains optimized voxel sub-maps by identifying the markers in each voxel sub-map according to the marker recognition strategy, effectively avoiding the interference of environmental factors, so that when obtaining the target point cloud data, the sub-map to which each data point cloud belongs can be accurately determined, thereby improving the processing efficiency and accuracy of the global three-dimensional point cloud prior map; in addition, each feature point in the feature sequence data table is used as the input of the pre-constructed kd tree data storage structure, and the feature points are extracted to effectively reduce the The kd-tree data storage structure reduces the total amount of input data and the sorting time, significantly improving the operating efficiency of the KD tree. The K nearest neighbor algorithm is used to match the neighboring points of the feature point to obtain the neighboring point feature table, and several triangular descriptors used to describe each voxel submap are obtained based on the search center point and the neighboring point feature table, accurately and effectively realizing the global descriptor of the global three-dimensional point cloud prior map; the mapping data of the global descriptor is obtained by hash mapping the global descriptor, which is used to realize the pose feature matching score of the current frame point cloud corresponding to the global map obtained in real time, so as to improve the robustness of real-time point cloud data positioning. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0057] Figure 1 This is a flow chart of a global positioning method based on rail transit of the present invention;

[0058] Figure 2 Schematic diagram of an optimized voxel submap obtained by the landmark recognition strategy in this embodiment;

[0059] Figure 3 Schematic diagram of feature point selection in this embodiment;

[0060] Figure 4 This is a simulation diagram comparing the positioning trajectory of the method in this embodiment with the positioning trajectory of a good PGS signal;

[0061] Figure 5 In this embodiment Figure 4 A partial enlarged view of the

[0062] Figure 6 This is a simulation diagram comparing the traditional positioning trajectory and the good PGS signal positioning trajectory in this embodiment;

[0063] Figure 7 This is a core flow chart of a global positioning method based on rail transit in the present invention. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] This embodiment provides a global positioning method based on rail transit, such as Figure 1 As shown, the following steps are included:

[0066] S1: The laser radar LiDAR and the global navigation satellite system GNSS installed on the rail transit carrier synchronously collect N frames of LiDAR data and GNSS data.

[0067] Based on the pre-created mapping module, a global 3D point cloud prior map is obtained according to any frame of LiDAR data and GNSS data;

[0068] Among them, the mapping module is an existing well-known technical means, for example, it can use a mapping program tool to visually map the ArUco codes randomly distributed on the running path of the rail transit carrier using LiDAR data and GNSS data, for example: pre-calibrate the intrinsic parameters of LiDAR and GNSS with a chessboard, open the ArUco mapping tool to input the intrinsic parameters of LiDAR and GNSS, and determine a reference world coordinate system, and specify an ArUco code in the environment as a reference, and the program starts running; after the mapping program runs, an ArUco code distribution map is obtained, and the distribution map contains the ID information of all ArUco codes in the environment and their corresponding three-dimensional coordinate information and a global point cloud prior distribution point cloud;

[0069] S2: Segment the global three-dimensional point cloud prior map based on a preset voxel size to obtain a number of voxel sub-maps and feature vectors of data cloud points in each voxel sub-map;

[0070] In this embodiment, the global point cloud prior obtained by the mapping program is used as radar data in the world coordinate system, and its landmarks need to be identified in order to extract robust feature points, that is, the landmarks in each voxel sub-map are identified according to the landmark identification strategy to obtain the optimized voxel sub-map;

[0071] Specifically, Figure 2 As shown, identifying the markers in each voxel submap according to the marker recognition strategy, and obtaining the optimized voxel submap includes the following steps:

[0072] S21: Use voxels of a given size to divide the entire point cloud, and then estimate the normal direction of each point in each voxel. The problem of determining the normal of a point on the surface is similar to the problem of estimating the normal of a tangent surface of the surface. Therefore, it is converted into a least squares plane fitting estimation problem, that is, the least squares method is used to perform plane fitting estimation on the eigenvectors of the data cloud points in each voxel submap to obtain the covariance matrix Σ, which is expressed as

[0073]

[0074] Where: p i represents any data cloud point in the voxel submap; p represents the voxel mass centroid of the voxel submap; Σ represents the covariance matrix; N represents the number of data cloud points in the voxel submap;

[0075] S22: Solve the covariance matrix Σ to obtain the minimum eigenvalue λ min , and the minimum eigenvalue λ min The expression is

[0076]

[0077] Where: represents a real number set; det represents a determinant; I represents an identity matrix; λ represents an eigenvalue;

[0078] And the minimum eigenvalue λ min The feature vector of the data cloud point in the corresponding voxel sub-map is used as the normal vector;

[0079] S23: According to the minimum eigenvalue λ as the normal vector min Calculate the voxel landmark score value of each voxel sub-map;

[0080] Specifically, the minimum eigenvalue λ min The expression for calculating the voxel landmark score of each voxel submap is:

[0081] l i =l0·λ min

[0082]

[0083] Where: l0 represents the preset design parameters; λ min represents the minimum eigenvalue; l i represents the intermediate parameter variable; σ represents the voxel mark score; N represents the number of data cloud points in the voxel submap;

[0084] S24: defining a voxel submap whose voxel mark score value satisfies the voxel mark score threshold as a central voxel submap; and traversing each neighboring voxel submap of the central voxel submap, screening out a central voxel submap whose voxel mark score values ​​of each neighboring voxel submap do not satisfy the voxel mark score threshold as an optimized voxel submap;

[0085] S3: Figure 3 As shown, obtain several plane images parallel to the feature vector of the data cloud point in the optimized voxel submap and with a specification of n*m (i.e. fit a plane image parallel to the voxel normal vector, each pixel represents the intensity of the point in the voxel projected to the position, and select the maximum pixel value in the range of n*m (n, m are both integers) as the feature point), and select the data cloud point corresponding to the maximum pixel value in each plane image as the corresponding feature point, and arrange the feature values ​​of each feature point in descending order to obtain a feature sequence data table;

[0086] And each pixel value in the plane image is the intensity of the feature vector of the data cloud point in the optimized voxel sub-map projected to the position;

[0087] S4: taking each feature point in the feature sequence data table as the input of the pre-constructed kd tree data storage structure, taking each feature point as the search center point, and using the K nearest neighbor algorithm to match the neighboring points of the feature point to obtain a neighboring point feature table;

[0088] And according to the search center point and neighbor point feature table, a number of triangular descriptors for describing each voxel sub-map are obtained to obtain a global descriptor of the global three-dimensional point cloud prior map;

[0089] Specifically, after extracting a frame of feature points, they are sorted in descending order according to their strength, and a kD tree is constructed with the descending feature point queue as input to facilitate subsequent neighbor search. The K nearest neighbor algorithm is used to search 30 neighbor points for each feature point, and two neighbor points and the search center point are selected as three vertices each time to form a triangular descriptor, and redundant descriptors with the same side length are removed, where each triangular descriptor contains the following data:

[0090] ·l 12 ,l 23 ,l 13 : three side lengths,

[0091] P1, P2, P3: three vertices,

[0092] q: the centroid of the triangle,

[0093] k: the frame number corresponding to the descriptor,

[0094] c: The number of descriptors corresponding to the frame.

[0095] S5: performing hash mapping on the global descriptor and storing the hash-mapped global descriptor in a preset database, specifically comprising the following steps:

[0096] S51: performing binary feature description on the feature points of the acquired global descriptor according to a preset compilation rule, and obtaining a hash value of the global descriptor after the binary feature description through a hash function;

[0097] In order to improve the search efficiency, this embodiment uses a hash table to store all descriptors, that is, the edge length attribute with rotation and translation invariance in the descriptor is used to calculate the hash key through the hash function K. At this point, the spatial structure information of the global map is saved in a global hash, where the expression for calculating the hash key through the hash function K is:

[0098] K(l 12 ,l 23 ,l 13 )=(k1,k2,k3),|kl|≤δ

[0099] Where: l represents the side length of the descriptor; k1, k2, k3 represent the calculated hash keys; δ represents the hash container parameter;

[0100] S52: Using the hash value as the hash index value of the global descriptor to obtain the mapping data of the corresponding global descriptor according to the hash index value, so as to save the spatial structure of the global map into a global hash and store it in a preset database.

[0101] S6: By collecting the current frame point cloud data of the rail transit carrier in real time and obtaining the current hash value of the global map corresponding to the current frame point cloud, the mapping data of the global descriptor in the database is called to implement posture feature matching scoring for the current hash value, which specifically includes the following steps:

[0102] S61: collecting LiDAR real-time point cloud data of the rail transit carrier, and obtaining the current hash value and the current frame triangle descriptor of the global map corresponding to the current frame point cloud;

[0103] And according to the current hash value, a local map position in the global hash that matches the current hash value is selected to obtain a triangle descriptor corresponding to the local map position as a candidate frame triangle descriptor;

[0104] S62: using a geometric verification method, performing an initial matching operation on the current frame triangle descriptor and the candidate triangle descriptor to obtain a roughly registered triangle descriptor matching pair;

[0105] Specifically, after the candidate keyframes are selected by hash search, a geometric verification method is needed to eliminate the false matches caused by uncertain descriptor matching pairs. Since a triangle can be uniquely determined by the length of three sides, once the triangle descriptor Δ a With the triangular descriptor Δ b match, then their vertices (p a1 ,p a2 ,p a3 ) and (p b1 ,p b2 ,p b3 ) natural matching, wherein the geometric verification method is a known technical means, which is not the invention of the present application and will not be described in detail here;

[0106] S63: With the correspondence between the roughly registered triangle descriptor matching pairs, the relative transformation matrix T can be obtained based on the triangle descriptor matching pairs based on the singular value decomposition algorithm, and the elements in the relative transformation matrix T are the posture data (position and posture data), and its expression is:

[0107]

[0108] [U,S,V]=SVD(H)

[0109] R=VU T ,t=-R*q a +q b

[0110] Where: q a With q b Denote the triangle descriptor matching pair Δ a With Δ b The centroid of a With Δ b The singular value vector of ; U, S, V represent the three feature matrices obtained by singular value decomposition SVD; R represents the rotation matrix of the relative transformation of the two frames for the triangular descriptor matching, t represents the translation of the two frames for the angular descriptor matching; p ai ,p bi The triangular descriptor matching pairs Δ a With Δ b The three vertices of , and i=1,2,3;

[0111] S64: confirming whether the triangle descriptor of the current frame and the triangle descriptor of the candidate frame in the triangle descriptor matching pair overlap based on the judgment strategy according to the relative transformation matrix; to obtain the overlap rate between the triangle descriptor of the current frame and the triangle descriptor of the candidate frame;

[0112] If the set of triangle descriptors of the current frame is B Π=[( B p 11 , B p 12 , B p 13 )···( B p n1 , B p n2 , B p n3 )]; the candidate frame triangle descriptor set is C Π=[( C p 11 , C p 12 , C p 13 )···( C p n1 , C p n2 , C p n3 )];

[0113] Then the expression of the judgment strategy is

[0114]

[0115] d≤σ d

[0116] Where: d represents the total distance between the vertices in the triangular descriptor matching pair; Indicates the obtained triangle descriptor of the current frame B p i With the candidate frame triangle descriptor C p i The relative transformation matrix T obtained; σ d represents a preset parameter threshold for determining whether descriptors overlap;

[0117] Specifically, after verifying all descriptors of the current frame, the calculation expression of the overlap rate between the triangle descriptor of the current frame and the triangle descriptor of the candidate frame is:

[0118]

[0119] Where: N count is the number of overlapping descriptors; N sum is the number of all descriptors of the candidate frame; N score Indicates the overlap rate between the triangle descriptor of the current frame and the triangle descriptor of the candidate frame;

[0120] S65: The overlap ratio between the current frame triangle descriptor obtained in S64 and the candidate frame triangle descriptor is used as a pose feature matching score of the current frame triangle descriptor.

[0121] S7: The pose data of the global descriptor whose pose feature matching score meets a preset score threshold is used as the position and posture information of the global positioning of the rail transit.

[0122] In this embodiment, a plurality of voxel sub-maps are obtained by segmenting the global three-dimensional point cloud prior map, and the markers in each voxel sub-map are identified according to the marker recognition strategy to obtain the optimized voxel sub-map, which effectively avoids the interference of environmental factors, so that when obtaining the target point cloud data, the sub-map to which each data point cloud belongs is accurately determined, thereby improving the processing efficiency and accuracy of the global three-dimensional point cloud prior map; in addition, each feature point in the feature sequence data table is used as the input of the pre-constructed kd tree data storage structure, and by extracting each feature point, the total amount of input data of the kd tree data storage structure is effectively reduced and the sorting time is reduced, thereby significantly improving the operation efficiency of the KD tree; the K nearest neighbor algorithm is used to match the neighboring points of the feature point to obtain the neighboring point feature table, and according to the search center point and the neighboring point feature table, a plurality of triangle descriptors for describing each voxel sub-map are obtained, thereby accurately and effectively realizing the global descriptor of the global three-dimensional point cloud prior map; the mapping data of the global descriptor is obtained by performing hash mapping on the global descriptor, so as to realize the pose feature matching score of the current frame point cloud corresponding to the global map obtained in real time, thereby improving the robustness of real-time point cloud data positioning.

[0123] The present embodiment also includes a global positioning system based on rail transit, which includes a data acquisition module, an upstream mapping module, a landmark recognition module, a feature extraction module, a descriptor generation module, a hash mapping module, a database module, a global search module, and a posture feature matching scoring module;

[0124] The data acquisition module is used to synchronously collect N frames of LiDAR data and GNSS data through the laser radar LiDAR and the global navigation satellite system GNSS set on the rail transit carrier, and transmit them to the upstream mapping module;

[0125] The upstream mapping module is used to create a mapping module based on a preset mapping program, and based on the pre-created mapping module, obtain a global three-dimensional point cloud prior map according to any frame of LiDAR data and GNSS data, and transmit it to the landmark recognition module;

[0126] The landmark recognition module is used to segment the global three-dimensional point cloud prior map based on a preset voxel size to obtain a number of voxel sub-maps, to obtain the feature vectors of the data cloud points in each voxel sub-map, and to identify the landmarks in each voxel sub-map according to the landmark recognition strategy to obtain the optimized voxel sub-map;

[0127] The feature extraction module is used to obtain a number of plane images that are parallel to the feature vector in the optimized voxel submap and have a specification of n*m, and select the data cloud points corresponding to the maximum pixel value in the plane image as feature points, and arrange the feature values ​​of each feature point in descending order to obtain a feature sequence data table;

[0128] Each pixel in the plane image is the intensity of the data cloud point in the optimized voxel sub-map projected to the position;

[0129] The descriptor generation module is used to use each feature point in the feature sequence data table as the input of the pre-constructed kd tree data storage structure, and use each feature point as the search center point, and use the K nearest neighbor algorithm to match the neighboring points of the feature point to obtain a neighboring point feature table;

[0130] According to the search center point and neighbor point feature table, a number of triangular descriptors for describing each voxel submap are obtained to obtain a global descriptor of the global three-dimensional point cloud prior map;

[0131] The hash mapping module is used to perform hash mapping on the global descriptor to obtain mapping data of the global descriptor, and store it in a database preset by the database module;

[0132] The global search module is used to collect the current frame point cloud data of the rail transit carrier in real time, and obtain the current hash value of the global map corresponding to the current frame point cloud, so as to call the mapping data of the global descriptor in the database to realize the posture feature matching score of the current hash value;

[0133] The posture feature matching scoring module is used to use the mapping data of the global descriptor whose posture feature matching score meets the preset scoring threshold as the position and posture information of the global positioning of the rail transit.

[0134] like Figures 4 to 7 As shown, in this embodiment, the prior point cloud frame is obtained from the upstream mapping module and published, and the descriptor generation module subscribes to the prior point cloud to perform landmark recognition, feature point extraction and global descriptor construction process. Each time the mapping module publishes a prior frame, the descriptor generation module generates its corresponding global descriptor until the mapping module finishes publishing. After the mapping is completed, all descriptors are saved to offline files for the convenience of downstream global search modules to read, and the descriptor generation module ends; the global search module first reads the global descriptor information from the local file, subscribes to the real-time point cloud data of the radar sensor, and calculates the hash value of the current frame point cloud corresponding to the global map for each frame of point cloud received. According to the obtained hash value, the local position of the radar in the global map at this time is found in the global hash. The feature points of the local position are paired with the feature points of the current frame to obtain the corresponding relationship, and the current frame is aligned to the global map according to the corresponding points. After the alignment is completed, the score is scored. In order to improve the robustness of real-time data, the pose of the frame with the highest score in a similar time is used as the positioning output pose to achieve global positioning based on rail transit.

[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A global positioning method based on rail transit, characterized in that: The following steps are involved: S1: The laser radar LiDAR and the global navigation satellite system GNSS installed on the rail transit carrier synchronously collect N frames of LiDAR data and GNSS data. Based on the pre-created mapping module, a global 3D point cloud prior map is obtained according to any frame of LiDAR data and GNSS data; S2: Segment the global three-dimensional point cloud prior map based on a preset voxel size to obtain a number of voxel sub-maps and feature vectors of data cloud points in each voxel sub-map; And according to the landmark recognition strategy, the landmarks in each voxel sub-map are identified to obtain the optimized voxel sub-map; S3: obtaining a number of plane images that are parallel to the feature vectors of the data cloud points in the optimized voxel sub-map and have a specification of n*m, and selecting the data cloud points corresponding to the maximum pixel value in each plane image as the corresponding feature points, and arranging the feature values ​​of each feature point in descending order to obtain a feature sequence data table; And each pixel value in the plane image is the intensity of the feature vector of the data cloud point in the optimized voxel sub-map projected to the position; S4: taking each feature point in the feature sequence data table as the input of the pre-constructed kd tree data storage structure, taking each feature point as the search center point, and using the K nearest neighbor algorithm to match the neighboring points of the feature point to obtain a neighboring point feature table; And according to the search center point and neighbor point feature table, a number of triangular descriptors for describing each voxel sub-map are obtained to obtain a global descriptor of the global three-dimensional point cloud prior map; S5: performing hash mapping on the global descriptor, and storing the hash-mapped global descriptor in a preset database; S6: by collecting the current frame point cloud data of the rail transit carrier in real time, and obtaining the current hash value of the global map corresponding to the current frame point cloud, so as to call the global descriptor in the database to implement posture feature matching scoring for the current hash value; S7: The pose data of the global descriptor whose pose feature matching score meets a preset score threshold is used as the position and posture information of the global positioning of the rail transit.

2. A global positioning method based on rail transit according to claim 1, characterized in that: In S2, the markers in each voxel submap are identified according to the marker identification strategy to obtain the optimized voxel submap, which specifically includes the following steps: S21: Use the least squares method to perform plane fitting estimation on the eigenvectors of the data cloud points in each voxel sub-map to obtain the covariance matrix Σ; S22: Solve the covariance matrix Σ to obtain the minimum eigenvalue λ min ; S23: According to the minimum eigenvalue λ min Calculate the voxel landmark score value of each voxel sub-map; S24: defining a voxel submap whose voxel mark score value satisfies a voxel mark score threshold as a central voxel submap; And traverse each neighbor voxel submap of the central voxel submap, and screen out the central voxel submap whose voxel mark score values ​​of each neighbor voxel submap do not meet the voxel mark score threshold as the optimized voxel submap.

3. A global positioning method based on rail transit according to claim 2, characterized in that: The expression of the covariance matrix Σ obtained is: Where: p i Represents any data cloud point in the voxel sub-map; represents the voxel centroid of the voxel submap; Σ represents the covariance matrix; N represents the number of data cloud points in the voxel submap; Get the minimum eigenvalue λ min The expression is Where: represents the set of real numbers; det represents the determinant; I represents the identity matrix; λ represents the eigenvalue; According to the minimum eigenvalue λ min The expression for calculating the voxel landmark score of each voxel submap is: l i =l0·λ min Where: l0 represents the preset design parameters; λ min represents the minimum eigenvalue; l i represents the intermediate parameter variable; σ represents the voxel landmark score; N represents the number of data cloud points in the voxel submap.

4. A global positioning method based on rail transit according to claim 1, characterized in that: The S5 specifically includes the following steps: S51: performing binary feature description on the feature points of the acquired global descriptor according to a preset compilation rule, and obtaining a hash value of the global descriptor after the binary feature description through a hash function; S52: Using the hash value as the hash index value of the global descriptor to obtain the mapping data of the corresponding global descriptor according to the hash index value, so as to save the spatial structure of the global map into a global hash and store it in a preset database.

5. A global positioning method based on rail transit according to claim 4, characterized in that: The S6 specifically comprises the following steps: S61: collecting LiDAR real-time point cloud data of the rail transit carrier, and obtaining the current hash value and the current frame triangle descriptor of the global map corresponding to the current frame point cloud; And according to the current hash value, a local map position in the global hash that matches the current hash value is selected to obtain a triangle descriptor corresponding to the local map position as a candidate frame triangle descriptor; S62: using a geometric verification method, performing an initial matching operation on the current frame triangle descriptor and the candidate triangle descriptor to obtain a roughly registered triangle descriptor matching pair; S63: Based on the singular value decomposition algorithm, the relative transformation matrix T is obtained according to the triangle descriptor matching pair, and T = (R, t). The elements in the relative transformation matrix T are the posture data, and its expression is: [U,S,V]=SVD(H) R=VU T ,t=-R*q a +q b Where: q a With q b Denote the triangle descriptor matching pair Δ a With Δ b The centroid of a With Δ b The singular value vector of ; U, S, V represent the three feature matrices obtained by singular value decomposition SVD; R represents the rotation matrix of the relative transformation of the two frames for the triangular descriptor matching, t represents the translation of the two frames for the angular descriptor matching; p ai ,p bi The triangular descriptor matching pairs Δ a With Δ b The three vertices of , and i=1,2,3; S64: confirming whether the triangle descriptor of the current frame and the triangle descriptor of the candidate frame overlap in the triangle descriptor matching pair based on the judgment strategy according to the relative transformation matrix, so as to obtain the overlap rate between the triangle descriptor of the current frame and the triangle descriptor of the candidate frame; And the expression of the judgment strategy is d≤σ d Where: d represents the total distance between the vertices in the triangular descriptor matching pair; Indicates the obtained triangle descriptor of the current frame B p i With the candidate frame triangle descriptor C p i The relative transformation matrix T obtained; σ d represents the preset parameter threshold used to determine whether the descriptors overlap, that is, to determine whether d is less than or equal to σ d , if yes, confirm the overlap and calculate the overlap rate between the previous frame triangle descriptor and the candidate frame triangle descriptor; The expression of the overlap rate between the current frame triangle descriptor and the candidate frame triangle descriptor is: Where: N count Indicates the number of overlaps of triangle descriptors; N sum Indicates the number of all descriptors of the candidate frame; N score Indicates the overlap rate between the triangle descriptor of the current frame and the triangle descriptor of the candidate frame; S65: The overlap ratio between the current frame triangle descriptor obtained in S64 and the candidate frame triangle descriptor is used as a pose feature matching score of the current frame triangle descriptor.

Citation Information

Patent Citations

  • LiDAR-IMU-GNSS fusion positioning method based on voxelization fine registration

    CN114659514A

  • Global positioning method and system based on virtual descriptor

    CN115390082A

  • Position recognition method for fusing point cloud map, motion model and local feature

    WO2024120269A1