A deep learning-based 3D laser data training and rapid positioning method

By combining the improved LeGO-LOAM framework with the RPM-Net network in a joint processing model and using graph constraint mechanisms, the problems of high computational complexity and low retrieval efficiency in 3D laser positioning technology are solved, achieving high-precision and rapid positioning in complex environments.

CN123160653APending Publication Date: 2026-11-24ZHEJIANG ECONOMIC & TRADE POLYTECHNIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611175379.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-04
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing 3D laser positioning technology suffers from high computational complexity, low retrieval efficiency, insufficient real-time performance, low positioning accuracy, and poor robustness, especially in large-scale scenarios, repetitive structure scenarios, and dynamically changing environments, where positioning accuracy and robustness issues persist.

Method used

A joint processing model combining the improved LeGO-LOAM framework and RPM-Net network is adopted, along with a graph constraint mechanism. Through feature extraction, generation of scene structure feature sets, and training of global feature description vectors, a 3D laser scene feature database is established. The graph constraint mechanism is then used for candidate scene selection and pose optimization to achieve rapid localization.

Benefits of technology

It improves the positioning accuracy and robustness of 3D laser point cloud data in complex dynamic environments, enhances the real-time performance and environmental adaptability of the system, and significantly reduces computational complexity and mismatch rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160653A_ABST
    Figure CN123160653A_ABST
Patent Text Reader

Abstract

This invention discloses a deep learning-based method for training and rapidly locating 3D laser data, relating to the field of computer vision technology. The method includes the following steps: constructing a joint processing model of an improved LeGO-LOAM framework and an RPM-Net network; training the RPM-Net network based on continuous 3D laser point cloud data of the target scene to establish a 3D laser scene feature database; performing global feature matching on the point cloud data to be located; obtaining a candidate scene set using the trained RPM-Net network; completing candidate scene selection, local registration, and pose optimization using a localization module with an embedded graph constraint mechanism; incrementally updating and reconstructing the map based on the current pose information; and outputting a rapid localization result. This invention achieves efficient training and rapid retrieval of 3D laser point cloud data, improving localization accuracy, efficiency, and environmental adaptability in complex scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer vision technology, and in particular to a method for training and rapidly locating 3D laser data based on deep learning. Background Technology

[0002] With the rapid development of technologies such as LiDAR, autonomous driving, mobile robots, and intelligent inspection, the demand for high-precision perception and rapid localization of 3D scenes in complex environments is constantly growing. 3D laser point cloud data has advantages such as high measurement accuracy, strong environmental adaptability, and insensitivity to lighting conditions, and is therefore widely used in environmental mapping, target recognition, and autonomous navigation. However, in practical applications, localization methods based on 3D laser point cloud data still face many technical challenges.

[0003] Most existing 3D laser positioning technologies rely on traditional Laser Simultaneous Localization and Mapping (SLAM) algorithms or local feature matching-based positioning methods. These methods extract edge and planar features from point clouds to perform scene matching and pose estimation. However, in large-scale scenes, repetitive structures, and dynamically changing environments, traditional local features are easily affected by occlusion, noise interference, and environmental changes, leading to decreased feature stability and consequently reduced positioning accuracy and robustness. For massive point cloud data, existing methods typically require traversing the entire map or performing frame-by-frame matching calculations, resulting in high computational complexity, low retrieval efficiency, and insufficient real-time performance, making it difficult to meet the application requirements for rapid positioning. Furthermore, while existing point cloud retrieval methods based on global descriptors can narrow the search range, they mostly rely solely on the global geometric features of the point cloud for similarity matching, lacking effective constraints on the internal structural relationships and spatial topology information of the scene. This can easily lead to mismatches when structurally similar regions exist, affecting the accuracy of candidate scene selection results.

[0004] In addition, traditional laser positioning methods typically perform local registration and pose optimization directly after obtaining candidate positioning areas. They lack comprehensive utilization of the connection relationships, neighborhood relationships and spatial constraints between structural landmarks, making it difficult to fully explore the spatial correlation information contained in the scene's structural features. This makes the positioning results susceptible to the influence of local noise, structural degradation and environmental changes.

[0005] Therefore, how to provide a deep learning-based method for training and rapidly locating 3D laser data is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0006] The purpose of this invention is to propose a deep learning-based method for training and rapidly locating 3D laser data, in order to solve the problems of high computational complexity, low retrieval efficiency, insufficient real-time performance, low positioning accuracy, and poor robustness of existing 3D laser positioning technologies.

[0007] To achieve the above objectives, the present invention adopts the following technical solution: This invention relates to a method for training and rapidly locating 3D laser data based on deep learning, comprising the following steps: S1. Construct a joint processing model of the improved LeGO-LOAM framework and RPM-Net network. The improved LeGO-LOAM framework includes a feature extraction module and a localization module. The localization module embeds a graph constraint mechanism. During the RPM-Net network training phase, the feature extraction module of the improved LeGO-LOAM framework is called to extract features from the continuous 3D laser point cloud data of the target scene, generating a scene structure feature set containing structural landmark features. The RPM-Net network is trained based on the scene structure feature set, and a 3D laser scene feature database is established by combining the pose information corresponding to the continuous 3D laser point cloud data. S2. Obtain the point cloud data to be located, and use the trained RPM-Net network to obtain a set of candidate scenes; S3. The positioning module performs unified spatial coordinate processing and initial registration processing on the point cloud data to be positioned and the candidate scene set; the graph constraint mechanism is used to filter the candidate scene set to obtain the target positioning area; local registration and pose optimization are performed on the point cloud data to be positioned and the target positioning area to obtain the current pose information. S4. Based on the current pose information and the stability, frequency of occurrence and spatial contribution of structural landmark features, the map is incrementally updated and reconstructed, and the rapid positioning results are output.

[0008] Preferably, in step S1, the specific steps for establishing the 3D laser scene feature database include: S1.1 Collect continuous 3D laser point cloud data of the target scene and construct a standardized point cloud dataset; S1.2 Input the standardized point cloud dataset into the feature extraction module of the improved LeGO-LOAM framework, and realize ground point cloud segmentation through dynamic ground surface fitting model, extract edge features, planar features and structural landmark features, and generate scene structural feature set; S1.3 Input the scene structure feature set into the RPM-Net network, and generate a global feature description vector through point cloud correspondence learning and spatial geometric feature encoding training; S1.4. Based on the improved LeGO-LOAM framework, the pose estimation process obtains the pose information corresponding to the continuous 3D laser point cloud data. The global feature description vector, pose information and corresponding scene point cloud data are associated and stored to establish a 3D laser scene feature database.

[0009] Preferably, in step S1.1, acquiring continuous 3D laser point cloud data of the target scene specifically involves: performing time-synchronized sampling on the 3D lidar device in the target scene to obtain a continuous 3D laser point cloud data sequence; In step S1.1, constructing a standardized point cloud dataset includes performing coordinate unification, noise filtering, and voxel downsampling processing on the continuous 3D laser point cloud data of the target scene. Specific steps include: S1.1.1 Perform coordinate system transformation on the continuous 3D laser point cloud data sequence to unify the point cloud data at different acquisition times into the same lidar coordinate system; S1.1.2. Perform outlier removal processing on the point cloud data sequence after coordinate unification to remove isolated noise points and abnormal point cloud data; S1.1.3. Based on the preset voxel resolution, the denoised point cloud data is divided into voxel grids, and the point cloud data within the same voxel is downsampled to generate a standardized point cloud dataset.

[0010] Preferably, in step S1.2, the specific steps for generating the scene structure feature set include: S1.2.1 Input the standardized point cloud dataset into the feature extraction module of the improved LeGO-LOAM framework; S1.2.2. Ground point cloud segmentation processing is performed on point cloud data based on dynamic ground surface fitting model to separate ground point cloud data from non-ground point cloud data; S1.2.3 Perform geometric feature analysis on the segmented non-ground point cloud data to extract edge features and planar features; based on the extracted edge features and planar features, identify and filter structural landmarks to generate structural landmark features; S1.2.4. Merge and represent edge features, planar features, and structural landmark features to generate a set of scene structural features.

[0011] Preferably, in step S1.2.2, the specific steps for performing ground point cloud segmentation processing on the point cloud data based on the dynamic ground surface fitting model, and separating ground points from non-ground point cloud data, include: S1.2.2.1 Input the standardized point cloud dataset into the dynamic ground surface fitting model, and perform spatial raster division processing on the standardized point cloud dataset to divide the three-dimensional space into regularly distributed voxel grid units. S1.2.2.2 Extract initial ground candidate point clouds that meet the height constraint conditions within each voxel grid cell, calculate the point cloud height distribution characteristics based on the spatial coordinate information of each point cloud within the voxel grid cell, and filter the initial ground candidate point clouds based on the point cloud height distribution characteristics to obtain the initial ground point set. S1.2.2.3. Perform dynamic ground surface fitting modeling on the initial set of ground points. Generate local ground surface models by continuously fitting local ground geometry with functions, and continuously stitch together all local ground surface models to obtain a continuous ground fitting surface. S1.2.2.4. Based on the continuous ground fitting surface, perform vertical distance calculation processing on each point cloud in the standardized point cloud dataset to obtain the spatial distance deviation value between each point cloud and the ground fitting surface. S1.2.2.5. Based on the comparison between the spatial distance deviation value and the preset distance threshold, the point cloud data is classified and processed. Point clouds that meet the distance threshold constraint are classified as ground point clouds, and point clouds that do not meet the distance threshold constraint are classified as non-ground point clouds. S1.2.2.6 Perform spatial consistency verification and outlier removal on the non-ground point cloud, remove misclassified point cloud data, and output the final separated ground point and non-ground point cloud data.

[0012] Preferably, in step S1.3, the specific steps for generating the global feature description vector include: S1.3.1 Input the scene structure feature set into the RPM-Net network, process the structure data, and generate the corresponding structure feature sequence; S1.3.2 Input the structural feature sequence into the point cloud correspondence learning module, calculate the spatial neighborhood relationship of each structural feature in the structural feature sequence, and construct the point cloud correspondence based on the geometric distance between the structural features; S1.3.3 Input the point cloud correspondence into the spatial geometric feature encoding module, perform spatial coordinate encoding on each structural feature in the structural feature sequence, and perform dimensional transformation on the encoding result to generate a spatial geometric feature representation; S1.3.4 Input the spatial geometric feature representation into the feature fusion module to fuse the spatial geometric information between different structural features and obtain the fused feature vector; S1.3.5 Perform global consistency calculation on the fused feature vector, calculate the correlation between each structural feature vector in the fused feature vector, normalize the correlation results to obtain weight information, and perform weighted summation on each structural feature vector based on the weight information to generate a global feature description vector.

[0013] Preferably, in step S1.4, the specific steps for establishing the 3D laser scene feature database include: S1.4.1 Receive and process the global feature description vector, corresponding pose information and corresponding scene point cloud data to form corresponding data of features, pose and scene point cloud; S1.4.2. Perform format unification processing on the corresponding data of features, poses and scene point clouds, and generate standardized storage units; S1.4.3 Input the standardized storage unit into the associated storage module to establish a one-to-one index association relationship between the global feature description vector, the corresponding pose information and the scene point cloud data; S1.4.4. Perform structured organization of the index relationships to generate an index mapping structure; S1.4.5. Collectively store the index mapping structure to construct a 3D laser scene feature database.

[0014] Preferably, in step S2, the specific steps for obtaining the candidate scene set using the trained RPM-Net network include: S2.1. Obtain the point cloud data to be located, and perform time synchronization and coordinate unification processing on the point cloud data to be located to generate the point cloud dataset to be processed. S2.2 Input the point cloud dataset to be processed into the trained RPM-Net network, perform structural feature parsing and spatial feature encoding on the input point cloud data, and extract the global feature description vector corresponding to the point cloud dataset to be processed. S2.3. Perform a one-to-one matching calculation between the global feature description vector and the global feature description vector in the 3D laser scene feature database to generate a similarity matching sequence. The similarity matching sequence is used to characterize the degree of spatial consistency between the point cloud data to be located and the corresponding scene point cloud data in the database. S2.4 Normalize the similarity matching sequence and sort the normalized matching results to generate a similarity sorting sequence; S2.5. Select multiple candidate target indices that meet the preset similarity threshold based on the similarity sorting sequence, and extract the corresponding scene point cloud data from the 3D laser scene feature database according to the candidate target indices to generate a candidate scene set.

[0015] Preferably, in step S3, the specific steps for obtaining the current pose information include: S3.1 Input the point cloud data to be located and the candidate scene set into the localization module of the improved LeGO-LOAM framework, perform spatial coordinate unification processing and initial registration processing, and generate initial aligned point cloud data; S3.2. Perform structural landmark extraction processing on the initially aligned point cloud data to be located and the point cloud data of each candidate scene respectively, obtain the corresponding structural landmark feature points, and construct structural neighborhood relationship data based on the structural landmark feature points. S3.3 Calculate the connection relationship, neighborhood relationship and spatial constraint relationship between structural landmarks based on structural neighborhood relationship data, generate structural constraint priors, and use graph constraint mechanism to filter the candidate scene set according to the structural constraint priors to obtain the target positioning area; S3.4. Perform point cloud matching calculation based on the point cloud data to be located and the target location area, and perform iterative optimization processing on the matching results; S3.5. Perform pose calculation on the matching results to obtain the current pose information, and feed the pose calculation results back to the graph constraint mechanism to perform pose feedback correction on the graph constraint mechanism; In step S3.3, the specific steps for filtering the candidate scene set using a graph constraint mechanism to obtain the target location region include: S3.3.1 Obtain the point cloud data to be located and the structural landmark feature points and structural neighborhood relationship data corresponding to each candidate scene, and perform spatial coordinate normalization processing on the structural landmark feature points; S3.3.2 Based on the normalized structural landmark feature points and structural neighborhood relationship data, determine the corresponding structural landmarks between the point cloud data to be located and each candidate scene according to the spatial distance and structural feature type; S3.3.3 Based on the point cloud data to be located and the structural neighborhood relationships corresponding to each candidate scene, calculate the distance deviation, direction deviation and neighborhood connection deviation between the corresponding structural landmarks; S3.3.4. Using distance deviation, direction deviation, and neighborhood connection deviation as structural constraint priors, obtain structural constraint deviation values, and obtain the structural consistency score value corresponding to each candidate scenario based on the structural constraint deviation values. S3.3.5 Sort the candidate scenarios from high to low according to their structural consistency scores, and retain only the candidate scenarios whose structural consistency scores reach the preset threshold to generate a set of filtered candidate scenarios; S3.3.6 Obtain the pose information corresponding to the filtered candidate scenes, determine the spatial position of each candidate scene based on the pose information, perform spatial region fusion processing on candidate scenes with continuous or overlapping spatial positions to generate continuous spatial coverage areas, and determine the continuous spatial coverage area with the highest structural consistency score as the target positioning area.

[0016] Preferably, in step S4, the specific steps for incrementally updating and reconstructing the map based on the current pose information and the stability, frequency of occurrence, and spatial contribution of structural landmark features are as follows: S4.1 Obtain the current pose information, and perform spatial coordinate transformation processing on the point cloud data to be located based on the current pose information, mapping the point cloud data to be located to the global coordinate system; S4.2. Perform structural landmark feature extraction processing on the mapped point cloud data to be located to obtain the structural landmark feature points of the current frame; read the stored structural landmark feature points from the original map and determine the stored structural landmark feature points as historical structural landmark feature points; calculate the spatial distance between the structural landmark feature points of the current frame and the historical structural landmark feature points, and determine the correspondence based on the spatial distance; S4.3, Weighted evaluation processing based on the stability of structural landmark features; S4.4 Statistical analysis and processing based on the frequency of occurrence of structural landmark features; S4.5. Importance assessment based on the spatial contribution of structural landmark features; S4.6. Combine stability, frequency of occurrence and spatial contribution to generate map update weight coefficients, and perform incremental update processing on the original map based on the map update weight coefficients. S4.7 Perform structural consistency reconstruction on the updated map; output the updated map data and simultaneously output the corresponding fast positioning results.

[0017] Compared with the prior art, the present invention has the following beneficial effects: This invention improves the collaborative modeling of the LeGO-LOAM framework and the RPM-Net network, and introduces a graph constraint mechanism to constrain the structural relationships of 3D laser point clouds. Addressing issues such as feature instability, candidate scene mismatch, and positioning drift in complex environments inherent in traditional 3D laser positioning methods, it employs a dynamic ground surface fitting model to segment the ground point cloud and extract structural landmarks, constructing a stable set of scene structural features. At the global level, RPM-Net generates global feature description vectors and builds a 3D laser scene feature database, enabling efficient candidate scene retrieval and preliminary screening. At the structural constraint level, a graph constraint mechanism is used to jointly model the connectivity, neighborhood, and spatial constraints between structural landmarks, performing consistency screening of the candidate scene set and effectively suppressing mismatches caused by structurally similar scenes. At the positioning optimization level, the graph constraint mechanism is embedded into the improved LeGO-LOAM framework positioning module to achieve structural consistency constraints during the candidate scene screening process and feedback correction of pose solution results, thereby improving local registration convergence speed and positioning stability. Ultimately, it enables rapid, stable, and high-precision positioning output of 3D laser point cloud data in complex dynamic environments, significantly improving the system's real-time performance, robustness, and environmental adaptability. Attached Figure Description

[0018] Figure 1 This is an overall flowchart of a deep learning-based 3D laser data training and rapid localization method proposed in this invention. Figure 2This is a diagram illustrating the overall architecture of a deep learning-based 3D laser data training and rapid localization method proposed in this invention. Figure 3 This is a structural diagram of the improved LeGO-LOAM framework for a deep learning-based 3D laser data training and rapid localization method proposed in this invention. Detailed Implementation

[0019] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, illustrating only the basic structure of the invention, and therefore only show the components relevant to the invention.

[0020] refer to Figure 1 and Figure 2 As shown, the present invention relates to a method for training and rapidly locating 3D laser data based on deep learning, comprising the following steps: S1. Construct a joint processing model of the improved LeGO-LOAM framework and the RPM-Net network. The improved LeGO-LOAM framework includes a feature extraction module and a localization module, with a graph constraint mechanism embedded in the localization module. During the RPM-Net network training phase, the feature extraction module of the improved LeGO-LOAM framework is called to extract features from the continuous 3D laser point cloud data of the target scene, generating a scene structure feature set. The RPM-Net network is then trained based on the scene structure feature set, and a 3D laser scene feature database is established by combining the pose information corresponding to the continuous 3D laser point cloud data.

[0021] The improved LeGO-LOAM framework inherits the two-stage processing system of the traditional LeGO-LOAM framework, including a feature extraction module and a localization module. The feature extraction module constructs point cloud structural features, while the localization module performs pose estimation and graph optimization. A graph constraint mechanism is embedded in the localization module to enhance structural consistency constraints. Compared to the traditional LeGO-LOAM approach, which optimizes pose based solely on local geometric constraints, this invention exhibits stronger constraint stability and mismatch suppression capabilities in scenarios with repetitive structures. The feature extraction module of the improved LeGO-LOAM framework is deployed on a GPU computing platform, improving point cloud processing efficiency through parallel computing mechanisms. Compared to the traditional LeGO-LOAM approach based on CPU serial processing, this invention significantly improves computational efficiency, keeping the processing time for a single frame of standardized point cloud data within 50ms, thus meeting the requirements for real-time processing of continuous frames.

[0022] During the RPM-Net network training phase, the feature extraction module of the improved LeGO-LOAM framework is invoked to extract features from the continuous 3D laser point cloud data of the target scene, generating a scene structure feature set. The RPM-Net network is then trained based on this scene structure feature set. A 3D laser scene feature database is established by combining the pose information corresponding to the continuous 3D laser point cloud data. Specific steps include: S1.1. The 3D laser point cloud acquisition and preprocessing module acquires continuous 3D laser point cloud data of the target scene. Specifically, it performs time-synchronized sampling on the 3D LiDAR equipment in the target scene to obtain a continuous 3D laser point cloud data sequence; it then performs coordinate unification, noise filtering, and voxel downsampling processing on the continuous 3D laser point cloud data sequence to construct a standardized point cloud dataset. S1.1.1 Perform coordinate system transformation on the continuous 3D laser point cloud data sequence to unify the point cloud data at different acquisition times into the same lidar coordinate system; S1.1.2. Perform outlier removal processing on the point cloud data after coordinate unification to remove isolated noise points and abnormal point cloud data; S1.1.3. Based on the preset voxel resolution, the denoised point cloud data is divided into voxel grids, and the point cloud data within the same voxel is downsampled to generate a standardized point cloud dataset. In the specific implementation process, continuous 3D laser point cloud data sequences are synchronously acquired through vehicle-mounted or fixed 3D LiDAR equipment. The LiDAR sampling frequency is set to 20Hz, the horizontal field of view is set to 360°, the vertical field of view is set to -24° to +15°, and the maximum number of points in a single frame is set to 120,000. The coordinate format of the point cloud data at each time point is unified based on the LiDAR coordinate parameters. For point cloud data acquired by multiple LiDAR equipment, it is converted to the same LiDAR coordinate system according to the pre-calibrated external parameters, and inter-frame synchronization is achieved through timestamp alignment, with a time synchronization error of no more than 10ms. Outlier removal is performed on the point cloud data after coordinate unification. A statistical filtering method is used, with the number of neighboring points set to 30 and the standard deviation multiple threshold set to 2.0. This is used to calculate the deviation of each point from the average distance of its neighbors and remove abnormal point cloud data that exceed the threshold range, in order to remove isolated noise points and discrete interference points. Based on the preset voxel resolution, the denoised point cloud data is divided into voxel grids with the voxel size set to 0.2m×0.2m×0.2m. The centroid downsampling method is used to replace the point cloud data within the same voxel to generate a sparse but structurally consistent point cloud representation. Throughout the processing, all parameters remain in a fixed configuration without dynamic adjustment to ensure that the standardized point cloud datasets generated at different acquisition times and under different scenario conditions have a unified spatial scale and consistent structural representation, thereby providing a stable and reliable data input foundation for subsequent feature extraction and localization calculations.

[0023] S1.2 Input the standardized point cloud dataset into the feature extraction module of the improved LeGO-LOAM framework, and achieve ground point cloud segmentation through a dynamic ground surface fitting model to extract edge features, planar features, and structural landmark features, generating a scene structure feature set. Specific steps include: S1.2.1 Input the standardized point cloud dataset into the feature extraction module of the improved LeGO-LOAM framework in frames. Compared with the traditional non-streaming input method, the present invention adopts a continuous frame streaming processing mechanism, which effectively reduces data caching latency and improves the consistency of time-series processing and the real-time performance of the system.

[0024] S1.2.2. Ground point cloud segmentation is performed on the point cloud data based on a dynamic ground surface fitting model to separate ground points from non-ground point cloud data. The dynamic ground surface fitting model uses the RANSAC surface fitting method to achieve ground segmentation, with a maximum number of iterations set to 50 and an interior point distance threshold set to 0.15m. Compared with the traditional LeGO-LOAM ground segmentation method based on fixed height thresholds or empirical rules, this invention has stronger adaptability and robustness in complex terrain and undulating environments, and can effectively reduce the probability of ground misclassification. The specific steps of the ground point cloud segmentation process include: S1.2.2.1 Input the standardized point cloud dataset into the dynamic ground surface fitting model, and perform spatial rasterization processing on the standardized point cloud dataset to divide the three-dimensional space into regularly distributed voxel grid units; in the specific implementation process, the standardized point cloud dataset is input into the dynamic ground surface fitting model in frames, and the number of points in a single frame is set to 80,000 to 120,000 points; the voxel size of the spatial raster division is set to 0.25m×0.25m×0.25m to achieve regular discretization of the three-dimensional space.

[0025] S1.2.2.2 Read the vertical coordinates of each point cloud within each voxel grid cell, calculate the local minimum height and height standard deviation of the point cloud, and use the local minimum height and height standard deviation as the height distribution characteristics of the point cloud; calculate the height difference between the vertical coordinates of each point cloud and the local minimum height, and select point clouds with a height difference of no more than 0.3m as initial ground candidate point clouds; when the height standard deviation of the point cloud within the voxel grid cell is no more than 0.12m, retain the corresponding initial ground candidate point cloud to obtain the initial ground point set.

[0026] S1.2.2.3. Dynamic ground surface fitting modeling is performed on the initial set of ground points. Local ground surface models are generated by continuously fitting local ground geometry with functions, and all local ground surface models are continuously spliced ​​together to obtain a continuous ground fitting surface. In this embodiment, the surface fitting process uses a quadratic surface fitting model to model local ground points. The maximum number of points in a single region is set to 5000 points, the fitting error threshold is set to 0.15m, and the continuous splicing of local surfaces is achieved through a 30% overlap sliding window method to generate a continuous ground fitting surface.

[0027] S1.2.2.4. Based on the continuous ground fitting surface, perform vertical distance calculation processing on each point cloud in the standardized point cloud dataset to obtain the spatial distance deviation value between each point cloud and the ground fitting surface. S1.2.2.5. Based on the comparison between the spatial distance deviation value and the preset distance threshold, the point cloud data is classified. Point clouds that meet the distance threshold constraint are classified as ground point clouds, and point clouds that do not meet the distance threshold constraint are classified as non-ground point clouds. In this embodiment, the distance threshold is set to 0.25m. Point clouds with a distance less than this threshold are classified as ground point clouds, and point clouds with a distance greater than this threshold are classified as non-ground point clouds.

[0028] S1.2.2.6. Perform spatial consistency verification and outlier removal on the non-ground point cloud to remove misclassified point cloud data and output the final separated ground point and non-ground point cloud data. In this embodiment, the spatial consistency verification and outlier removal adopt the existing radius neighborhood outlier filtering method; construct a neighborhood with a radius of 0.6m centered on each non-ground point, count the number of point clouds in the corresponding neighborhood, and determine that the non-ground point satisfies spatial consistency and is retained when the number of point clouds in the neighborhood is not less than 15; determine that the non-ground point is an outlier and is removed when the number of point clouds in the neighborhood is less than 15; after completing the verification of all non-ground points, the retained non-ground points are combined to form the final non-ground point cloud data, and output separately from the ground point cloud data as input for subsequent feature extraction.

[0029] S1.2.3. Perform geometric feature analysis on the segmented non-ground point cloud data to extract edge and planar features. In the geometric feature analysis process, edge feature extraction is achieved using the curvature analysis method, with the curvature calculation neighborhood radius set to 0.5m and the curvature threshold set to 0.03. Compared with the traditional LeGO-LOAM fixed feature point selection strategy, this invention can more stably capture structurally abrupt regions and improve the reliability of edge feature extraction. Planar feature extraction is achieved using the local plane fitting method, with the plane consistency error threshold set to 0.02m. Compared with traditional methods, this invention has higher planar representation accuracy in irregular structure scenes.

[0030] Structural landmarks are identified and filtered based on extracted edge and planar features to generate structural landmark features. The structural landmark identification and filtering is implemented based on the DBSCAN clustering method, with a neighborhood radius set to 0.8m and a minimum number of points set to 20. Compared with the traditional LeGO-LOAM method based on simple thresholds or rules, this invention can more effectively maintain the spatial continuity and noise resistance of structural landmarks, thereby improving the stability of graph constraint optimization in the subsequent positioning module.

[0031] S1.2.4. The edge features, planar features, and structural landmark features are fused and represented to generate a scene structural feature set. During the fusion process, the scene structural feature set is formed by feature concatenation to create a unified expression vector, which is then normalized within the range [0,1]. Compared to traditional single-feature representation methods, this invention can fuse multi-dimensional information from edge features, planar features, and structural landmark features, thereby providing more stable and informative input features for the subsequent RPM-Net network, improving global retrieval accuracy and rapid localization capabilities.

[0032] S1.3. Input the scene structure feature set into the RPM-Net network, and generate a global feature description vector through point cloud correspondence learning and spatial geometric feature encoding training. The specific steps include: S1.3.1 Input the scene structure feature set into the RPM-Net network in the form of a frame sequence. Set the feature dimension of a single frame to 1024 dimensions and the batch size to 16 to ensure the stability of the training and inference process. Perform structural data processing, arrange the edge features, planar features and structural landmark features in spatial order to generate a structural feature sequence of length N, where the value of N ranges from 500 to 2000. S1.3.2 Input the structural feature sequence into the point cloud correspondence learning module, read the spatial coordinates of the i-th structural feature, and according to... Calculate the Euclidean distance *dij* between the *i*-th and *j*-th structural features, and use the Euclidean distance as the geometric distance calculated from the spatial neighborhood relationship. Arrange the Euclidean distances between the *i*-th and the remaining structural features in ascending order, and select the 16 structural features with the smallest distances to form a K-nearest neighbor set. In the K-nearest neighbor set, retain structural features with Euclidean distances no greater than 0.5m, and associate and record the index correspondence and Euclidean distance between the *i*-th structural feature and the retained structural features to form the point cloud correspondence corresponding to the *i*-th structural feature. Traverse all structural features in the structural feature sequence to construct the point cloud correspondence between structural features. S1.3.3 Input the point cloud correspondence into the spatial geometric feature encoding module, perform spatial coordinate encoding on each structural feature in the structural feature sequence, set the encoding dimension to 128 dimensions, and perform dimensional transformation on the encoding result through linear mapping to generate a spatial geometric feature expression of a uniform scale. S1.3.4 Input the spatial geometric feature representation into the feature fusion module to fuse the spatial geometric information between different structural features and perform normalization processing. The normalization range is set to [0,1] to reduce the impact of differences in feature scales and obtain the fused feature vector. S1.3.5. Perform global consistency calculation on the fused feature vector. In this embodiment, the fused feature vector includes n 256-dimensional structural feature vectors fi. The similarity mij between the i-th structural feature vector fi and the j-th structural feature vector fj is calculated according to mij=(fi·fj) / (|fi|×|fj|), and the feature similarity matrix is ​​formed by all similarity mij. The similarity is normalized according to wij=exp(mij) / ∑j exp(mij) to obtain the similarity weight wij. The weighted sum of each structural feature vector is performed according to hi=∑jwij×fj to obtain the consistency feature vector hi corresponding to the i-th structural feature vector. All consistency feature vectors are averaged and aggregated according to G=(1 / n)∑i hi to obtain the 256-dimensional global feature description vector G, which serves as the input basis for the subsequent construction and retrieval of the 3D laser scene feature database.

[0033] S1.4. Based on the improved LeGO-LOAM framework, the pose estimation process obtains the pose information corresponding to continuous 3D laser point cloud data. The global feature description vector, pose information, and corresponding scene point cloud data are associated and stored to establish a 3D laser scene feature database. The specific steps include: S1.4.1 Receive and process the global feature description vector, corresponding pose information and corresponding scene point cloud data to form corresponding data of features, pose and scene point cloud; in the specific implementation process, the three types of data are bound together with timestamp and scene number as common index, and the time synchronization error is controlled within 10ms. S1.4.2. The data corresponding to features, poses and scene point clouds are processed to unify the format. The global feature description vector is unified as a 256-dimensional floating-point vector, the pose information is represented by six-degree-of-freedom coordinates, the scene point cloud data records the corresponding data block number and storage address, and the data type is unified as float32 format to generate standardized storage units. S1.4.3 Input the standardized storage unit into the associated storage module, construct the KD-Tree index with the global feature description vector, and associate the corresponding pose information and scene point cloud data storage address in each index node to establish a one-to-one index association relationship; S1.4.4. The index association relationship is structured and organized. The index nodes are arranged hierarchically according to the similarity between global feature description vectors, and the maximum leaf node capacity is set to 50 standardized storage units to generate the index mapping structure. S1.4.5. The index mapping structure is stored in a collection and a block-based storage method is used to save the corresponding data of features, poses and scene point clouds. The capacity of a single data block is set to 5000 groups. The corresponding pose information and scene point cloud data are called through the index mapping structure to build a 3D laser scene feature database.

[0034] S2, see appendix Figure 2 As shown, the process involves acquiring point cloud data to be located, extracting global feature description vectors corresponding to the point cloud data using the trained RPM-Net network, and performing similarity matching between the global feature description vectors and global feature description vectors in the 3D laser scene feature database to obtain a candidate scene set. Specific steps include: S2.1. Acquire the point cloud data to be located in real time through the 3D LiDAR device, and perform time synchronization processing based on the system timestamp, with the time synchronization error controlled within 10ms; perform coordinate unification processing on the point cloud data to be located according to the same coordinate format as the training data, and convert the point cloud data to be located to the preset LiDAR coordinate system to generate the point cloud dataset to be processed. S2.2 Input the point cloud dataset to be processed into the trained RPM-Net network with a batch size of 16. Following the same processing flow as S1.3.1-S1.3.5, organize the point cloud data to be processed into a structural feature sequence, perform spatial neighborhood relationship calculation and point cloud correspondence construction, and sequentially perform spatial coordinate encoding, dimension transformation, feature fusion and global consistency calculation to extract the 256-dimensional global feature description vector corresponding to each point cloud to be processed. S2.3. Let gn be the global feature description vector corresponding to the nth point cloud to be processed, and hm be the mth global feature description vector in the 3D laser scene feature database. Calculate the cosine similarity snm according to snm=(gn·hm) / (||gn||×||hm||). Arrange the cosine similarity between the nth point cloud to be processed and all global feature description vectors in the database in sequence to generate the corresponding similarity matching sequence. Arrange the similarity matching sequences corresponding to the N point clouds to be processed in the current batch to form an N×M dimensional similarity matching matrix, where M is the number of global feature description vectors in the database. S2.4 Normalize the similarity matching matrix, setting the normalization range to 0 to 1, and sort the normalized matching results to generate a similarity ranking sequence. S2.5. Select multiple candidate target indices that meet the preset similarity threshold based on the similarity sorting sequence. In this embodiment, candidate target indices with a similarity of not less than 0.75 are selected, and the corresponding scene point cloud data and pose information are extracted from the 3D laser scene feature database according to the candidate target indices to generate a candidate scene set, which provides input for subsequent graph constraint screening and localization processing.

[0035] S3, see appendix Figure 2 and 3 As shown, the localization module of the improved LeGO-LOAM framework processes the point cloud data to be localized and the candidate scene set. A graph constraint mechanism is used to filter the candidate scene set to obtain the target localization region. Then, a local registration and pose optimization output module performs local registration and pose optimization on the point cloud data to be localized and the target localization region to obtain the current pose information. Specific steps include: S3.1 Input the point cloud data to be located and the candidate scene set into the localization module of the improved LeGO-LOAM framework. Based on the pose information corresponding to the candidate scene, convert the point cloud data of each candidate scene to a unified reference coordinate system. Perform initial registration between the point cloud data to be located and the point cloud data of each candidate scene to obtain the initial rotation matrix and initial translation vector corresponding to each candidate scene, and generate the corresponding initial aligned point cloud data. Control the average spatial distance error between the corresponding structural landmark feature points after initial registration to within 0.2m.

[0036] S3.2. Using the same structural landmark extraction method as S1.2.3, key point detection and geometric feature analysis are performed on the initially aligned point cloud data to be located and the point cloud data of each candidate scene to obtain structural landmark feature points. Let the spatial coordinates of the i-th structural landmark feature point be pi=(xi, yi, zi), and the spatial coordinates of the j-th structural landmark feature point be pj=(xj, yj, zj). According to... Calculate the spatial distance dij between two structural landmark feature points; when dij is not greater than 0.8m, establish a neighborhood relationship between the i-th structural landmark feature point and the j-th structural landmark feature point, and calculate the corresponding unit connection direction according to uij=(pj-pi) / dij; record the index of each structural landmark feature point, the index of adjacent structural landmark feature points, the spatial distance, the unit connection direction, and the number of adjacent structural landmark feature points to construct structural neighborhood relationship data; S3.3. Based on structural neighborhood relationship data, calculate the connection relationships, neighborhood relationships, and spatial constraint relationships between structural landmarks, generate structural constraint priors, and use graph constraint mechanisms to filter the candidate scene set based on the structural constraint priors to obtain the target location area. The specific steps are as follows: S3.3.1 Obtain the point cloud data to be located and the structural landmark feature points and structural neighborhood relationship data corresponding to each candidate scene. Let the spatial coordinates of any structural landmark feature point be pi=(xi, yi, zi). Calculate the mean and standard deviation of each coordinate dimension, and perform zero-mean unit variance normalization according to x'i=(xi-μx) / σx, y'i=(yi-μy) / σy and z'i=(zi-μz) / σz to obtain the normalized structural landmark feature point pi'=(xi', yi', zi'), where μx, μy, and μz represent the mean of the three coordinate dimensions, and σx, σy, and σz represent the standard deviation of the three coordinate dimensions. S3.3.2 For any structural landmark feature point in the point cloud data to be located, select structural landmark feature points with the same structural feature type in each candidate scene, and calculate the Euclidean distance between their normalized spatial coordinates; arrange them in ascending order of distance, and determine the structural landmark feature point with the smallest distance that meets the preset corresponding distance threshold as the corresponding structural landmark; combine with the structural neighborhood relationship data, remove the corresponding structural landmarks with inconsistent neighborhood connection relationships, and obtain the corresponding structural landmarks between the point cloud data to be located and each candidate scene; S3.3.3 Calculate distance deviation, direction deviation and neighborhood connection deviation based on the corresponding structural landmarks and structural neighborhood relationship data. Let the spatial distances between the point cloud data to be located and the corresponding structural landmarks in the candidate scene be dq,ij and dc,ij, respectively. Calculate the distance deviation Dij according to Dij=min{1,|dq,ij-dc,ij| / max(dq,ij,dc,ij,ε)}. Convert the connection directions between the corresponding structural landmarks into unit direction vectors uq,ij and uc,ij, and calculate the direction deviation Aij according to Aij=(1-uq,ij·uc,ij) / 2. Let the number of adjacent structural landmarks of the corresponding structural landmark be kq,i and kc,i, respectively. Calculate the neighborhood connection deviation Ni according to Ni=|kq,i-kc,i| / max(kq,i,kc,i,1). Calculate the average values ​​of the distance deviation, direction deviation, and neighborhood connection deviation for all corresponding structural landmarks to obtain the distance deviation D, direction deviation A, and neighborhood connection deviation N, which range from zero to one. Here, ε is a preset positive number to prevent the denominator from being zero. S3.3.4. Distance deviation D, orientation deviation A, and neighborhood connection deviation N are used as structural constraint priors, and the structural constraint deviation value E1 is calculated according to E1=αD+βA+γN, where α, β, and γ are the preset weights corresponding to distance deviation, orientation deviation, and neighborhood connection deviation, respectively, and α+β+γ=1; in this embodiment, α is set to 0.3, β is set to 0.3, and γ is set to 0.4; the structural consistency score value S corresponding to each candidate scene is calculated according to S=1-E. S3.3.5 Sort the candidate scenarios from high to low according to their structural consistency scores, retain the candidate scenarios with a structural consistency score of not less than 0.8, and remove the candidate scenarios with a structural consistency score of less than 0.8 to generate a set of filtered candidate scenarios. S3.3.6. Spatial region fusion processing is performed using existing connected region merging methods based on spatial distance and point cloud coverage. The pose information corresponding to the selected candidate scenes is obtained from the 3D laser scene feature database, and the spatial position of each candidate scene is determined based on the pose information. The Euclidean distance between the spatial centers of different candidate scenes is calculated. When the spatial center distance is not greater than 1.0m or the point cloud coverage of the candidate scenes overlaps, the corresponding candidate scenes are assigned to the same continuous spatial coverage area. The scene point cloud data within the same continuous spatial coverage area are subjected to coordinate unification and overlapping point merging. The average structural consistency score of each candidate scene within the area is used as the structural consistency score of the corresponding continuous spatial coverage area. The continuous spatial coverage area with the highest structural consistency score is determined as the target positioning area.

[0037] S3.4. Perform point cloud matching calculations based on the point cloud data to be located and the target location area, and iteratively optimize the matching results. In the specific implementation process, the ICP iterative nearest point method is adopted, using the initial rotation matrix and initial translation vector corresponding to the target location area as the initial values ​​of the ICP iteration; in each iteration, the corresponding point with the smallest spatial distance to each point in the point cloud to be located is searched from the target location area, and invalid corresponding points with a distance exceeding a preset threshold are removed, and the calculation is performed according to E2=(1 / K)∑||Rpi+t-qi|| 2 Calculate the average matching error of valid corresponding point pairs, where K represents the number of valid corresponding point pairs, R represents the rotation matrix corresponding to this iteration, t represents the translation vector corresponding to this iteration, pi represents the i-th structural landmark feature point, and qi represents the nearest neighbor point in the target localization area that establishes a correspondence with pi. Use the least squares method to solve for the rotation matrix and translation vector that minimizes the average matching error, and update the spatial position of the point cloud to be localized. Repeat the corresponding point search, error calculation, and pose parameter update. Stop the iteration when the difference between two adjacent average matching errors is not greater than the preset convergence threshold or the number of iterations reaches 30, and obtain the matching result and the optimal rotation matrix and optimal translation vector.

[0038] S3.5. Perform pose solving on the matching results to obtain the current pose information, and feed the pose solving results back to the graph constraint mechanism for pose feedback correction. In the specific implementation process, construct the relative pose of the point cloud data to be located relative to the target location area based on the optimal rotation matrix and the optimal translation vector, and combine it with the pose information corresponding to the target location area in the 3D laser scene feature database to obtain the current pose information; perform coordinate transformation on the structural landmark feature points in the point cloud data to be located based on the current pose information, recalculate the distance deviation, direction deviation, and neighborhood connection deviation, and obtain the feedback structural consistency score value using the same calculation method as in S3.3.4; when the feedback structural consistency score value is not less than 0.8, retain the current pose information; when the feedback structural consistency score value is less than 0.8, remove the structural landmark correspondences with deviations exceeding the corresponding preset threshold, update the structural constraint prior based on the retained correspondences, and re-execute point cloud matching, iterative optimization, and pose solving until the feedback structural consistency score value reaches 0.8 or the preset number of feedback corrections is reached.

[0039] S4. Based on the current pose information and the stability, frequency of occurrence, and spatial contribution of structural landmark features, incrementally update and reconstruct the map, and output rapid positioning results. The specific steps are as follows: S4.1. Obtain the current pose information and construct a 4×4 homogeneous transformation matrix based on the current pose information. Perform spatial coordinate transformation on the point cloud data to be located, mapping the point cloud data to the global coordinate system. In the specific implementation, the update frequency of the current pose information is set to 10Hz. The homogeneous coordinates of each point in the point cloud to be located are multiplied by the homogeneous transformation matrix to obtain the corresponding global coordinates. The point cloud coordinate transformation time per frame is controlled within 5ms.

[0040] S4.2. Perform structural landmark feature extraction on the mapped point cloud data to be located to obtain the structural landmark feature points of the current frame. Read the stored structural landmark feature points from the original map and identify them as historical structural landmark feature points. In the specific implementation, the minimum number of structural landmark feature points in the current frame is set to 30. The nearest neighbor matching method is used to calculate the spatial distance between the current frame structural landmark feature points and historical structural landmark feature points. Two structural landmark feature points with the same structural feature type and a spatial distance of no more than 0.5m are identified as corresponding structural landmarks, establishing the correspondence between the current frame structural landmark feature points and historical structural landmark feature points.

[0041] S4.3. Calculate the coordinates of the i-th structural landmark feature point within a preset consecutive N frames, calculate the average coordinates of each frame, and calculate the average distance deviation di between each frame coordinate and the average coordinates; calculate the stability Si of the i-th structural landmark feature according to Si=max(0, 1-di / dmax), where dmax is the preset maximum allowable deviation; in the specific implementation, N is set to 30 frames, and dmax is set to 0.2m; S4.4 Count the number of frames ni in which the i-th structural landmark feature point successfully establishes a corresponding relationship within a preset consecutive N frames, and calculate the occurrence frequency Fi of the i-th structural landmark feature according to Fi = ni / N; In the specific implementation process, the same 30-frame statistical window as the stability calculation is adopted; S4.5. Divide the original map into voxels, extract the point cloud data within the preset neighborhood of the i-th current frame structural landmark feature point, count the number vi of newly occupied voxels after adding the corresponding point cloud data to the original map and the total number Vi of voxels in the preset neighborhood, and calculate the spatial contribution Ci of the i-th structural landmark feature according to Ci=vi / Vi; In the specific implementation, the voxel size is set to 0.2m×0.2m×0.2m, and the preset neighborhood radius is set to 1.0m; S4.6 Calculate the map update weight coefficient Wi of the i-th structural landmark feature according to Wi=αSi+βFi+γCi. In this embodiment, the stability weight α is set to 0.4, the occurrence frequency weight β is set to 0.3, the spatial contribution weight γ is set to 0.3, and α+β+γ=1. For structural landmark feature points with corresponding relationships, update the structural landmark coordinates according to Pi'=(1-Wi)pi,h+Wipi,c, where pi,h are the historical structural landmark coordinates and pi,c are the current frame structural landmark coordinates. For structural landmark feature points in the current frame that do not have corresponding relationships, record them continuously. When the number of consecutive observation frames reaches 30 frames and the map update weight coefficient is not less than 0.7, add the corresponding structural landmark feature point to the original map. Delete historical structural landmark feature points that have not established corresponding relationships for 30 consecutive frames and whose most recent map update weight coefficient is less than 0.3, thus completing the map incremental update process. S4.7 Recalculate the spatial distance, connection direction, and neighborhood relationship between the updated structural landmark feature points; merge duplicate structural landmark feature points with the same structural feature type and a spatial distance of less than 0.2m, and use the corresponding map update weight coefficient as the weight to perform a weighted average of the structural landmark coordinates; remove structural landmark feature points whose spatial distance deviation from adjacent structural landmark feature points exceeds 0.3m or whose connection direction deviation exceeds 15°, and re-establish neighborhood connection relationships based on the retained structural landmark feature points to complete the structural consistency reconstruction process; output the updated map data and simultaneously output the corresponding fast positioning results.

[0042] Verification Example: To verify the feasibility of this invention in practice, it was applied to a 3D laser positioning system in a large logistics warehousing park. The test lasted for one week. During the test, the system ran continuously and stably without any obvious abnormal interruptions. The scene included an indoor high-bay rack area, a semi-open loading and unloading area, and a passageway area with strong structural repetition. The overall environment had obvious characteristics such as strong structural similarity, frequent occlusion, and a lot of dynamic target interference. Traditional methods based on pure geometric matching or single feature retrieval are prone to mismatch and drift accumulation problems.

[0043] In this scenario, the system uses a 3D LiDAR mounted on a mobile robot platform for continuous data acquisition at a sampling frequency of 10Hz, with approximately 120,000 point clouds per frame. First, the acquired data undergoes time synchronization processing, with the synchronization error controlled within 10ms. Then, extrinsic parameter calibration is used to uniformly map the point clouds to the global coordinate system, with the coordinate unification error controlled within 2cm. Subsequently, voxel downsampling is performed, with the voxel resolution set to 0.2m, thereby constructing a standardized point cloud dataset.

[0044] In the feature extraction stage, the standardized point cloud input is used to improve the LeGO-LOAM framework, where a dynamic ground surface fitting model is used to achieve ground point cloud segmentation. In the experiment, the segmentation ratio of ground points to non-ground points was approximately 43% and 57%, respectively. Edge features, planar features, and structural landmark features are extracted from the non-ground point cloud, with an average of approximately 312 structural landmarks per frame. A scene structural feature set is generated by fusing these three types of features and input into the RPM-Net network for feature encoding, ultimately generating a 256-dimensional global feature description vector.

[0045] During database construction, approximately 5000 sets of feature, pose, and scene point cloud data were stored. Each set of data includes a 256-dimensional global feature description vector, a six-DOF pose information, and corresponding scene point cloud data. A KD-Tree was used to establish a global feature description vector index to improve database retrieval efficiency. During the retrieval process, similarity matching was performed on the point clouds to be located. Cosine similarity was used for similarity calculation, and the candidate scene selection threshold was set to 0.75. The final average number of candidate scenes output per frame was 5.8.

[0046] In the graph constraint screening stage, the neighborhood radius was set to 0.8m, and structural neighborhood relationships were constructed based on structural landmarks. The weights for distance deviation, direction deviation, and neighborhood connectivity deviation were set to 0.3, 0.3, and 0.4, respectively. The consistency score ranged from 0 to 1, and the screening threshold was set to 0.8. After graph constraint processing, the average number of candidate scenes decreased from 5.8 to 2.7, effectively reducing the probability of false matches.

[0047] During the localization optimization phase, the ICP algorithm is used for local registration, with a maximum of 30 iterations. Finally, the current pose information is solved using least-squares pose optimization, and the results are fed back to the graph constraint mechanism for structural consistency updates. In map updates, stability, frequency of occurrence, and spatial contribution are weighted and fused, with all three metrics based on statistics from 30 consecutive frames of data. Stability is calculated based on the average distance deviation of structural landmark coordinates, frequency of occurrence is calculated based on the number of frames with successfully established correspondences, and spatial contribution is calculated based on the number of newly occupied voxels.

[0048] To verify the rapid localization effect of the present invention, it was compared with the traditional LeGO-LOAM method and the method based solely on RPM-Net retrieval under the same test environment.

[0049] The experiment selected 1000 consecutive frames of 3D laser point cloud data for statistical analysis. The test scenarios included aisle areas with high structural repeatability and dense shelving areas. The system was run under the same computing platform and parameter configuration conditions. The results are shown in Table 1.

[0050] Table 1. Statistical comparison of performance between the method of this invention and traditional methods

[0051] As can be seen from the experimental results in Table 1, the present invention shows significant improvements in overall positioning performance and rapid positioning capability compared to the traditional LeGO-LOAM method and the method based solely on RPM-Net retrieval.

[0052] In terms of average positioning error, the present invention achieves 0.17m, which is about 59.5% lower than the traditional LeGO-LOAM and about 39.3% lower than the RPM-Net method alone. This shows that the graph constraint mechanism can effectively enhance the structural consistency of candidate scene screening, thereby improving the geometric constraint capability of local registration and reducing the positioning offset caused by mismatch.

[0053] Regarding the trajectory drift rate, this invention reduces it to 1.1%, which is about 71.1% lower than the traditional method. This indicates that a stable error suppression mechanism is formed between structural landmark constraints and pose optimization, which effectively reduces the cumulative drift during long sequence operation and improves the overall trajectory stability.

[0054] In terms of fast localization performance, the average localization completion time of this invention is 180ms, which is about 43.8% lower than the 320ms of the traditional method. This improvement mainly comes from the effective screening of candidate scenes by the graph constraint mechanism, which reduces the number of candidate scenes from 5.8 when using RPM-Net retrieval alone to 2.7, thereby significantly reducing the computational search space and iteration number in the local registration stage, accelerating the overall convergence speed, and realizing fast closed-loop localization from global retrieval to final pose output.

[0055] In terms of single-frame processing time, the present invention achieves 152ms, which is slightly increased compared to the traditional method of 145ms. However, due to the significant reduction in the size of candidate scenes, the system still achieves significant optimization in the overall localization completion time, demonstrating the structural advantage of "increased local computation but accelerated global process".

[0056] In terms of successful localization rate, the present invention achieves 95.2%, which is about 8.5 percentage points higher than the traditional method. This shows that in complex scenarios with high structural repetition, the graph constraint mechanism can effectively suppress erroneous candidate interference and improve the reliability of the final localization result.

[0057] Furthermore, during map updates, a joint evaluation mechanism based on structural landmark stability, frequency of occurrence, and spatial contribution is introduced, enabling the system to prioritize the retention of highly stable structural information and suppress dynamic noise interference. In a 2-hour continuous test, the average positioning error fluctuation was controlled within 0.15m, demonstrating the system's good long-term operational stability and robustness.

[0058] This invention achieves a complete and rapid localization process, from rapid candidate scene screening to precise local optimization, through the synergistic effect of global retrieval using RPM-Net and an improved LeGO-LOAM framework. While ensuring localization accuracy, it significantly improves overall localization efficiency and engineering applicability.

[0059] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A method for training and rapidly locating 3D laser data based on deep learning, characterized in that: Includes the following steps: S1. Construct a joint processing model of the improved LeGO-LOAM framework and RPM-Net network. The improved LeGO-LOAM framework includes a feature extraction module and a localization module. The localization module embeds a graph constraint mechanism. During the RPM-Net network training phase, the feature extraction module of the improved LeGO-LOAM framework is called to extract features from the continuous 3D laser point cloud data of the target scene, generating a scene structure feature set containing structural landmark features. The RPM-Net network is trained based on the scene structure feature set, and a 3D laser scene feature database is established by combining the pose information corresponding to the continuous 3D laser point cloud data. S2. Obtain the point cloud data to be located, and use the trained RPM-Net network to obtain a set of candidate scenes; S3. Use the positioning module to perform spatial coordinate unification and initial registration processing on the point cloud data to be positioned and the candidate scene set. The candidate scene set is filtered using a graph constraint mechanism to obtain the target positioning region. Local registration and pose optimization are then performed between the point cloud data to be positioned and the target positioning region to obtain the current pose information. S4. Based on the current pose information and the stability, frequency of occurrence and spatial contribution of structural landmark features, the map is incrementally updated and reconstructed, and the rapid positioning results are output.

2. The method for training and rapidly locating 3D laser data based on deep learning according to claim 1, characterized in that: In step S1, the specific steps for establishing the 3D laser scene feature database include: S1.1 Collect continuous 3D laser point cloud data of the target scene and construct a standardized point cloud dataset; S1.2 Input the standardized point cloud dataset into the feature extraction module of the improved LeGO-LOAM framework, and realize ground point cloud segmentation through dynamic ground surface fitting model, extract edge features, planar features and structural landmark features, and generate scene structural feature set; S1.3 Input the scene structure feature set into the RPM-Net network, and generate a global feature description vector through point cloud correspondence learning and spatial geometric feature encoding training; S1.

4. Based on the improved LeGO-LOAM framework, the pose estimation process obtains the pose information corresponding to the continuous 3D laser point cloud data. The global feature description vector, pose information and corresponding scene point cloud data are associated and stored to establish a 3D laser scene feature database.

3. The method for training and rapidly locating 3D laser data based on deep learning according to claim 2, characterized in that: In S1.1, the acquisition of continuous 3D laser point cloud data of the target scene specifically involves: performing time-synchronized sampling on the 3D LiDAR device in the target scene to obtain a continuous 3D laser point cloud data sequence; In step S1.1, constructing a standardized point cloud dataset includes performing coordinate unification, noise filtering, and voxel downsampling processing on the continuous 3D laser point cloud data of the target scene. Specific steps include: S1.1.1 Perform coordinate system transformation on the continuous 3D laser point cloud data sequence to unify the point cloud data at different acquisition times into the same lidar coordinate system; S1.1.

2. Perform outlier removal processing on the point cloud data sequence after coordinate unification to remove isolated noise points and abnormal point cloud data; S1.1.

3. Based on the preset voxel resolution, the denoised point cloud data is divided into voxel grids, and the point cloud data within the same voxel is downsampled to generate a standardized point cloud dataset.

4. The method for training and rapidly locating 3D laser data based on deep learning according to claim 2, characterized in that: In step S1.2, the specific steps for generating the scene structure feature set include: S1.2.1 Input the standardized point cloud dataset into the feature extraction module of the improved LeGO-LOAM framework; S1.2.

2. Ground point cloud segmentation processing is performed on point cloud data based on dynamic ground surface fitting model to separate ground point cloud data from non-ground point cloud data; S1.2.3 Perform geometric feature analysis on the segmented non-ground point cloud data to extract edge features and planar features; based on the extracted edge features and planar features, identify and filter structural landmarks to generate structural landmark features; S1.2.

4. Merge and represent edge features, planar features, and structural landmark features to generate a set of scene structural features.

5. The method for training and rapidly locating 3D laser data based on deep learning according to claim 4, characterized in that: In step S1.2.2, the specific steps for performing ground point cloud segmentation processing on the point cloud data based on the dynamic ground surface fitting model, separating ground points from non-ground point cloud data, include: S1.2.2.1 Input the standardized point cloud dataset into the dynamic ground surface fitting model, and perform spatial raster division processing on the standardized point cloud dataset to divide the three-dimensional space into regularly distributed voxel grid units. S1.2.2.2 Extract initial ground candidate point clouds that meet the height constraint conditions within each voxel grid cell, calculate the point cloud height distribution characteristics based on the spatial coordinate information of each point cloud within the voxel grid cell, and filter the initial ground candidate point clouds based on the point cloud height distribution characteristics to obtain the initial ground point set. S1.2.2.

3. Perform dynamic ground surface fitting modeling on the initial set of ground points. Generate local ground surface models by continuously fitting local ground geometry with functions, and continuously stitch together all local ground surface models to obtain a continuous ground fitting surface. S1.2.2.

4. Based on the continuous ground fitting surface, perform vertical distance calculation processing on each point cloud in the standardized point cloud dataset to obtain the spatial distance deviation value between each point cloud and the ground fitting surface. S1.2.2.

5. Based on the comparison between the spatial distance deviation value and the preset distance threshold, the point cloud data is classified and processed. Point clouds that meet the distance threshold constraint are classified as ground point clouds, and point clouds that do not meet the distance threshold constraint are classified as non-ground point clouds. S1.2.2.6 Perform spatial consistency verification and outlier removal on the non-ground point cloud, remove misclassified point cloud data, and output the final separated ground point and non-ground point cloud data.

6. The method for training and rapidly locating 3D laser data based on deep learning according to claim 2, characterized in that: In step S1.3, the specific steps for generating the global feature description vector include: S1.3.1 Input the scene structure feature set into the RPM-Net network, process the structure data, and generate the corresponding structure feature sequence; S1.3.2 Input the structural feature sequence into the point cloud correspondence learning module, calculate the spatial neighborhood relationship of each structural feature in the structural feature sequence, and construct the point cloud correspondence based on the geometric distance between the structural features; S1.3.3 Input the point cloud correspondence into the spatial geometric feature encoding module, perform spatial coordinate encoding on each structural feature in the structural feature sequence, and perform dimensional transformation on the encoding result to generate a spatial geometric feature representation; S1.3.4 Input the spatial geometric feature representation into the feature fusion module to fuse the spatial geometric information between different structural features and obtain the fused feature vector; S1.3.5 Perform global consistency calculation on the fused feature vector, calculate the correlation between each structural feature vector in the fused feature vector, normalize the correlation results to obtain weight information, and perform weighted summation on each structural feature vector based on the weight information to generate a global feature description vector.

7. The method for training and rapidly locating 3D laser data based on deep learning according to claim 2, characterized in that: In step S1.4, the specific steps for establishing the 3D laser scene feature database include: S1.4.1 Receive and process the global feature description vector, corresponding pose information and corresponding scene point cloud data to form corresponding data of features, pose and scene point cloud; S1.4.

2. Perform format unification processing on the corresponding data of features, poses and scene point clouds, and generate standardized storage units; S1.4.3 Input the standardized storage unit into the associated storage module to establish a one-to-one index association relationship between the global feature description vector, the corresponding pose information and the scene point cloud data; S1.4.

4. Perform structured organization of the index relationships to generate an index mapping structure; S1.4.

5. Collectively store the index mapping structure to construct a 3D laser scene feature database.

8. The method for training and rapidly locating 3D laser data based on deep learning according to claim 1, characterized in that: In step S2, the specific steps for obtaining the candidate scene set using the trained RPM-Net network include: S2.

1. Obtain the point cloud data to be located, and perform time synchronization and coordinate unification processing on the point cloud data to be located to generate the point cloud dataset to be processed. S2.2 Input the point cloud dataset to be processed into the trained RPM-Net network, perform structural feature parsing and spatial feature encoding on the input point cloud data, and extract the global feature description vector corresponding to the point cloud dataset to be processed. S2.

3. Perform a one-to-one matching calculation between the global feature description vector and the global feature description vector in the 3D laser scene feature database to generate a similarity matching sequence. The similarity matching sequence is used to characterize the degree of spatial consistency between the point cloud data to be located and the corresponding scene point cloud data in the database. S2.4 Normalize the similarity matching sequence and sort the normalized matching results to generate a similarity sorting sequence; S2.

5. Select multiple candidate target indices that meet the preset similarity threshold based on the similarity sorting sequence, and extract the corresponding scene point cloud data from the 3D laser scene feature database according to the candidate target indices to generate a candidate scene set.

9. The method for training and rapidly locating 3D laser data based on deep learning according to claim 1, characterized in that: In step S3, the specific steps for obtaining the current pose information include: S3.1 Input the point cloud data to be located and the candidate scene set into the localization module of the improved LeGO-LOAM framework, perform spatial coordinate unification processing and initial registration processing, and generate initial aligned point cloud data; S3.

2. Perform structural landmark extraction processing on the initially aligned point cloud data to be located and the point cloud data of each candidate scene respectively, obtain the corresponding structural landmark feature points, and construct structural neighborhood relationship data based on the structural landmark feature points. S3.3 Calculate the connection relationship, neighborhood relationship and spatial constraint relationship between structural landmarks based on structural neighborhood relationship data, generate structural constraint priors, and use graph constraint mechanism to filter the candidate scene set according to the structural constraint priors to obtain the target positioning area; S3.

4. Perform point cloud matching calculation based on the point cloud data to be located and the target location area, and perform iterative optimization processing on the matching results; S3.

5. Perform pose calculation on the matching results to obtain the current pose information, and feed the pose calculation results back to the graph constraint mechanism to perform pose feedback correction on the graph constraint mechanism; In step S3.3, the specific steps for filtering the candidate scene set using a graph constraint mechanism to obtain the target location region include: S3.3.1 Obtain the point cloud data to be located and the structural landmark feature points and structural neighborhood relationship data corresponding to each candidate scene, and perform spatial coordinate normalization processing on the structural landmark feature points; S3.3.2 Based on the normalized structural landmark feature points and structural neighborhood relationship data, determine the corresponding structural landmarks between the point cloud data to be located and each candidate scene according to the spatial distance and structural feature type; S3.3.3 Based on the point cloud data to be located and the structural neighborhood relationships corresponding to each candidate scene, calculate the distance deviation, direction deviation and neighborhood connection deviation between the corresponding structural landmarks; S3.3.

4. Using distance deviation, direction deviation, and neighborhood connection deviation as structural constraint priors, obtain structural constraint deviation values, and obtain the structural consistency score value corresponding to each candidate scenario based on the structural constraint deviation values. S3.3.5 Sort the candidate scenarios from high to low according to their structural consistency scores, and retain only the candidate scenarios whose structural consistency scores reach the preset threshold to generate a set of filtered candidate scenarios; S3.3.6 Obtain the pose information corresponding to the filtered candidate scenes, determine the spatial position of each candidate scene based on the pose information, perform spatial region fusion processing on candidate scenes with continuous or overlapping spatial positions to generate continuous spatial coverage areas, and determine the continuous spatial coverage area with the highest structural consistency score as the target positioning area.

10. The method for training and rapid localization of 3D laser data based on deep learning according to claim 1, characterized in that: In step S4, the specific steps for incrementally updating and reconstructing the map based on the current pose information and the stability, frequency of occurrence, and spatial contribution of structural landmark features are as follows: S4.1 Obtain the current pose information, and perform spatial coordinate transformation processing on the point cloud data to be located based on the current pose information, mapping the point cloud data to be located to the global coordinate system; S4.

2. Perform structural landmark feature extraction processing on the mapped point cloud data to be located to obtain the structural landmark feature points of the current frame; read the stored structural landmark feature points from the original map and determine the stored structural landmark feature points as historical structural landmark feature points; calculate the spatial distance between the structural landmark feature points of the current frame and the historical structural landmark feature points, and determine the correspondence based on the spatial distance; S4.3, Weighted evaluation processing based on the stability of structural landmark features; S4.4 Statistical analysis and processing based on the frequency of occurrence of structural landmark features; S4.

5. Importance assessment based on the spatial contribution of structural landmark features; S4.

6. Combine stability, frequency of occurrence and spatial contribution to generate map update weight coefficients, and perform incremental update processing on the original map based on the map update weight coefficients. S4.7 Perform structural consistency reconstruction on the updated map; Output the updated map data and simultaneously output the corresponding fast positioning results.