Adaptive lidar inertial positioning method and system based on noise modeling
By unifying the modeling of radar observation noise and IMU process noise, a soft projection matrix of the observable subspace is constructed, which solves the noise impact problem of lidar inertial positioning system in unstructured scenarios, improves positioning accuracy and robustness, and reduces the risk of positioning drift.
Patent Information
- Application Number
- CN202611618156.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-20
- Publication Date
- 2026-11-20
AI Technical Summary
In unstructured scenarios, existing technologies have failed to effectively address the noise effects in lidar inertial positioning systems, leading to deterioration of information matrix conditions, pose correction distortion, and long-term drift, especially in environments with weak constraints where positioning accuracy and robustness are insufficient.
By unifying the modeling of radar observation noise and eliminating false height information that is repeatedly included, and by combining the direction update soft gating mechanism with IMU process noise adaptive adjustment, an observable subspace soft projection matrix is constructed to suppress the impact of erroneous observations and state deviations on the filtering process, thereby improving positioning accuracy and robustness.
In degraded scenarios, the positioning accuracy and robustness of the lidar inertial odometry system are improved, the navigation failure rate caused by positioning drift is reduced, and the stability and continuity of the system are enhanced.
Smart Images

Figure CN123135041A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of localization and mapping technology for legged robots, and in particular to an adaptive lidar inertial localization method and system based on noise modeling. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] Legged robots are robots that move using a legged structure and can be applied in a wide range of scenarios. In situations where global satellite navigation systems are unavailable, robots can only obtain their own three-dimensional coordinates through Simultaneous Localization and Mapping (SLAM) technology. LiDAR, due to its excellent measurement accuracy and robustness, has become one of the core sensors in SLAM systems.
[0004] Laser inertial positioning systems typically utilize lidar point clouds to provide geometric constraints and IMUs (inertial measurement units) to provide high-frequency motion priors. However, in unstructured scenarios such as forests, ravines, and ruins, or in scenarios with long corridors, single walls, tunnels, large indoor planes, and sparse geometry, the increased noise of motion priors and the imbalance between the observability of point-to-plane constraints can lead to deterioration of the information matrix conditions, distortion of pose correction, and even long-term drift.
[0005] Existing technologies extract degradation factors by constructing a local map point cloud distribution model and combining point distribution probability, and adjust noise covariance, but do not consider the noise influence of source points; existing technologies also disclose the estimation of observation reliability by establishing an observation uncertainty model and adjusting the state estimation process accordingly, but this method ignores the impact of IMU uncertainty on positioning. Summary of the Invention
[0006] To address the aforementioned issues, this invention proposes an adaptive lidar inertial positioning method and system based on noise modeling. By uniformly modeling radar observation noise and eliminating redundantly included spurious height geometric information, the method accurately assesses the probability of orientation degradation. Combined with a soft-gating mechanism for orientation updates and adaptive adjustment of IMU process noise, it avoids the continuous contamination of the filtering process by erroneous observations and state deviations in the degraded orientation. This improves robustness in degraded scenarios, enhances the overall positioning accuracy of the lidar inertial odometry system, and effectively reduces the navigation failure rate caused by positioning drift in degraded scenarios.
[0007] In some implementations, the following technical solutions are adopted: An adaptive lidar inertial positioning method based on noise modeling includes: For each original laser point in the current frame, distortion correction is performed. The local plane is fitted using principal component analysis. Based on the spatial correspondence between the point and the map plane, plane constraints are established. The point-to-plane residual is calculated, and the independent noise variance describing the reliability of the residual from each laser point to the plane is obtained. Calculate the cross covariance between different planar constraints due to shared map points and shared IMU time increments, and construct a complete residual covariance structure by considering shared variables of spatial and temporal correlation. Marginalizing the shared variables yields a noisy information matrix and gradient vector with correlation compensation; The posterior direction standard deviation and geometric diversity index of each feature direction are calculated based on the noisy information matrix, and the credibility of each feature direction is obtained by combining the posterior direction standard deviation and geometric diversity. Based on the confidence level of each characteristic direction, construct the soft projection matrix of the observable subspace and apply it to the laser observation state correction. The effective state correction and effective noise mapping in the observable subspace are extracted, and the IMU process noise parameters are estimated in the observable subspace. The update amplitude of the IMU noise parameters is gated according to the directional confidence level to achieve adaptive adjustment of the IMU noise parameters, thereby updating the noise covariance level predicted by the system.
[0008] As a further approach, a point-to-plane residual is established, and an independent noise variance describing the reliability of each laser point-to-plane residual is obtained, specifically: For the first i The laser point after distortion With the corresponding local plane parameters Establish point-to-plane residuals : ; Assuming the laser point i The three-dimensional covariance is The single-point independent noise variance of the residual is expressed as:
[0009] in, It is a plane normal vector. For planar offset, This is the corresponding reference point on the plane; This represents the local surface roughness variance. It is the variance of the data association residuals.
[0010] As a further step, a complete residual covariance structure is constructed, specifically as follows: For the i-th planar constraint, define its support element. Sets, pairs Linearized plane parameters are obtained by fitting the statistics on the plane; plane constraints are calculated. and planar constraints Spatial cross covariance between planar parameter errors caused by support overlap; Calculate the temporal cross covariance between the distortion errors between the time increment noise of the two laser point IMUs; Considering spatial and temporal correlation variables, a joint residual for the entire frame is constructed; further, by combining spatial cross covariance and temporal cross covariance, a complete residual covariance structure is obtained.
[0011] As a further approach, the shared variables are marginalized to obtain a noisy information matrix and gradient vector with correlation compensation, specifically: Within the framework of joint maximum a posteriori estimation, the objective to be optimized is constructed as follows: ; in, To merge shared variables, , For the space term in a shared random variable, For the time term in a shared random variable; The residual vector is formed by stacking the residuals of all point and surface constraints in the current frame; By Schur Elimination yields only information about the robot's state increment. The marginal posterior; Marginalization yields the following noisy information matrix and gradient vector with correlation compensation: ; ; in, This represents the Jacobian matrix of the current frame residual with respect to the robot state. This represents a diagonal matrix composed of the independent variances of each point. This represents the joint sensitivity matrix of the shared random variables to the residuals. To share the joint covariance matrix of random variables, Indicates The weighted residual term squared distance, Indicates Squared regularization terms of the weighted shared variables.
[0012] As a further step, the solution also includes: constructing the Woodbury identity for the noisy information matrix, specifically: make: ; but: .
[0013] As a further approach, the confidence level of each feature direction is obtained by combining the posterior directional standard deviation and geometric diversity, specifically as follows: The noisy information matrix is scaled and normalized. Then, the eigenvector matrix U and its k-th eigendirection in the six-degree-of-freedom state space are obtained through eigenvalue decomposition. Corresponding directional information ; For the k-th feature direction, the posterior direction standard deviation and geometric diversity index are calculated. The geometric diversity index is obtained by weighted summation of the ratio of the number of independent map support units that make effective contributions to the k-th direction to the total number of map support units and the ratio of the number of independent effective IMU time increments that make effective contributions to the k-th direction to the total number of IMU time periods. The confidence level of the k-th feature direction is obtained by combining the posterior directional standard deviation and geometric diversity, specifically as follows: ; in, These are the non-negative fusion weights. These are the scale parameters, The non-degenerate probability, For the posterior directional standard deviation, This is an index of geometric diversity.
[0014] As a further approach, a soft projection matrix for the observable subspace is constructed based on the confidence level of each feature direction, and then applied to correct the laser observation state, specifically as follows: The confidence level of each feature direction is used as the soft gating coefficient of the corresponding feature direction, and the feature directions with confidence levels greater than the set threshold are selected to construct the observable subspace. Based on the eigenvector matrix U obtained by eigenvalue decomposition of the noisy information matrix and the soft gating coefficients of each eigendirection, construct the soft projection matrix of the observable subspace. The laser observation update is continuously soft-gated using the observable subspace soft projection matrix to suppress the influence of unreliable laser constraints in the degradation direction on the filter state.
[0015] As a further approach, the IMU process noise parameters are estimated within the observable subspace, specifically as follows: Extract the effective state correction and effective noise mapping within the observable subspace; Establish IMU process noise covariance The regularized estimate yields the optimal estimate of the IMU process noise covariance at the current time k; The update magnitude of the noise covariance is gated based on the directional reliability of each feature direction.
[0016] In other embodiments, the following technical solutions are adopted: An adaptive lidar inertial positioning system based on noise modeling, comprising: The independent noise variance construction module is used to perform distortion correction on each original laser point in the current frame, fit the local plane using principal component analysis, establish plane constraints based on the spatial correspondence between the point and the map plane, calculate the point-to-plane residual, and obtain the independent noise variance describing the reliability of the residual from each laser point to the plane. The residual covariance construction module is used to calculate the cross covariance between different planar constraints due to shared map points and shared IMU time increments, and to construct a complete residual covariance structure by considering shared variables of spatial and temporal correlation. The shared variable marginalization module is used to marginalize shared variables to obtain a noisy information matrix and gradient vector with correlation compensation; The credibility calculation module is used to calculate the posterior direction standard deviation and geometric diversity index of each feature direction based on the noisy information matrix, and to obtain the credibility of each feature direction by combining the posterior direction standard deviation and geometric diversity. The laser observation state correction module is used to construct the observable subspace soft projection matrix based on the confidence level of each characteristic direction and apply it to the laser observation state correction. The IMU noise parameter update module is used to extract the effective state correction and effective noise mapping in the observable subspace, estimate the IMU process noise parameters in the observable subspace, and gate the update amplitude of the IMU noise parameters according to the direction confidence level to achieve adaptive adjustment of the IMU noise parameters, thereby updating the noise covariance level predicted by the system.
[0017] In other embodiments, the following technical solutions are adopted: A terminal device includes a processor and a memory, the processor being used to implement instructions; the memory being used to store multiple instructions adapted to be loaded and executed by the processor for the aforementioned noise-modeling-based adaptive lidar inertial positioning method.
[0018] Compared with the prior art, the beneficial effects of the present invention are: (1) This invention models the independent noise of laser points and the spatial and temporal related noise caused by map support overlap and IMU time increment sharing in a unified manner, and eliminates the false height information of repeated inclusion by marginalizing shared variables, so that degradation detection can more realistically reflect the actual observability of each state direction; By integrating directional information intensity, noise statistical characteristics, posterior uncertainty, and geometric support to construct directional credibility, and by using soft projection of the observable subspace to continuously gate laser observation updates, the system retains effective information in weakly constrained directions while suppressing erroneous corrections in severely degraded directions, thereby improving the continuity and robustness of system state estimation.
[0019] (2) This invention uses only reliable observable directions to adaptively estimate and update the IMU process noise, avoiding the incorrect attribution of geometric degradation error to IMU noise changes, thereby improving the positioning stability, robustness and long-term operation capability of lidar inertial odometry in weakly constrained environments such as long corridors, open roads, and single walls.
[0020] Other features and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0021] Figure 1 This is a schematic diagram of the adaptive lidar inertial positioning method based on noise modeling in an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the sources of laser point residual noise and spatial and temporal correlation in an embodiment of the present invention; Figure 3 This is a schematic diagram of the whole-frame correlated noisy model and the marginalization of shared variables in an embodiment of the present invention; Figure 4 This is a schematic diagram of directional probability degradation detection and directional confidence calculation in an embodiment of the present invention; Figure 5 This is a schematic diagram of directional reliability and soft projection of the observable subspace in an embodiment of the present invention; Figure 6 This is a schematic diagram of IMU noise adaptive closed loop under observable subspace constraints in an embodiment of the present invention; Figure 7 This is an example of the point cloud map construction result for an open road scene in an embodiment of the present invention. Detailed Implementation
[0022] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0023] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0024] Example 1 The following example uses a legged robot equipped with a 3D LiDAR (such as Livox Mid-360 or Velodyne VLP-16) and a six-axis IMU to illustrate the method of this embodiment. However, the method of this embodiment is also applicable to other types of mobile platforms (such as unmanned vehicles and drones) and different sensor combinations.
[0025] An example of a robot's state vector is written as: ; in, Here is the attitude rotation matrix. For three-dimensional position, For linear velocity, These are the biases for the gyroscope and accelerometer, respectively. This is the local gravitational acceleration.
[0026] The LiDAR reference time can be taken as the beginning of the frame, the end of the frame, or the scan center; in this embodiment, the end of the frame is preferred. After the current frame point cloud is downsampled by voxels (instance size is 0.25m), point-to-plane constraints are established with the voxel plane or Gaussian plane in the local map; the local map can be maintained by ikd-Tree (incremental dynamic KD tree), sparse voxel hash table, or Gaussian voxel map.
[0027] It should be noted that the overall data path for LiDAR point cloud, IMU propagation, local map, and filtering update is existing technology and will not be described in detail here.
[0028] Based on this, in one or more embodiments, an adaptive lidar inertial positioning method based on noise modeling is disclosed, combined with Figure 1 Specifically, it includes the following processes: S101: Perform distortion correction on each original laser point in the current frame, fit the local plane using principal component analysis, establish plane constraints based on the spatial correspondence between the point and the map plane, calculate the point-to-plane residual, and obtain the independent noise variance describing the reliability of the residual from each laser point to the plane.
[0029] This step primarily assigns a reasonable independent noise variance to each laser point-to-plane residual, serving as the diagonal basis for the subsequent overall covariance matrix. The independent noise variance is the noise term in the point-to-plane residual, used to describe the reliability of the residual. Combined with... Figure 2 The specific implementation process is as follows: For each original laser point in the current frame, the relative motion obtained by IMU integration is first projected onto the reference time at the end of the frame to eliminate motion distortion. Specifically, let the... i The original three-dimensional spatial position of each point is The collection time is The end of the frame is Obtained through IMU pre-integration from arrive relative transformation Then the coordinates of the point after distortion removal are .
[0030] After distortion correction, voxel downsampling is performed on the entire point cloud (example voxel side length 0.25 m) to balance computational efficiency and geometric information preservation.
[0031] For each distortion-corrected laser point The local map is found by nearest neighbor search, and the local plane is fitted using principal component analysis. The parameters of the local plane are denoted as follows: ; in, To fit the plane normal vector, This is a planar bias, and if the number of neighboring points is less than the threshold (4 in this example) or the planar fitting error is too large, this constraint is removed.
[0032] Based on the spatial correspondence between points and the map plane, planar constraints are established. Planar constraints refer to the positional correspondence between laser points and the map plane, thus constraining the position updates of laser points by the map plane. The residual from the i-th point to the local plane is calculated. ; in, This is the corresponding reference point on the fitting plane.
[0033] The single-point independent noise variance of the residual is expressed as: ; in, It is a laser point The three-dimensional covariance is a hardware parameter of the lidar, which can be obtained by consulting the lidar product manual. The local surface roughness variance is estimated based on the average distance from the map's neighborhood points to the fitted plane. It is the variance of the data association residuals, which is an empirical value related to map resolution and nearest neighbor distance.
[0034] all Construct a diagonal covariance matrix , which serves as the independent noise covariance matrix for N points in the entire frame.
[0035] S102: Calculate the cross covariance between different planar constraints due to shared map points and shared IMU time increments, and construct a complete residual covariance structure by considering shared variables of spatial and temporal correlation.
[0036] If only the diagonal covariance matrix is used, This is equivalent to assuming that all residuals are independent, but in reality, the point... and points They may be fitted to the same map voxel, causing their planar parameter errors to be correlated; points and points The distortion correction process may share the same IMU integral, causing their pose errors to be correlated. If these correlations are ignored, the covariance matrix will be underestimated, the optimization results will be overconfident, and the accuracy will decrease.
[0037] Therefore, this embodiment considers the cross covariance between different constraints due to shared map points (spatial correlation) and shared IMU time increments (temporal correlation) to construct a complete residual covariance structure.
[0038] Specifically, in combination Figure 2 , for the i Each planar constraint defines its supporting element set. Supporting units refer to the set of basic map units that participate in forming the map plane in the constraints. They can be original map points, voxels, voxel Gaussian statistics, or local plane buffer units. Each supporting unit corresponds to one map voxel.
[0039] Planar parameters From the Fitting the upper statistic, let the plane fitting function be... Least squares fitting is used, where Voxel representation v Information. At the linearization point. There are: ; in, This indicates the minute perturbations present in the voxel. This represents the change in plane parameters caused by a small perturbation. Represents the i-th plane parameter with respect to the i-th plane parameter. Sensitivity to individual element perturbations.
[0040] like It appears in the i-th support unit set It also appears in the j-th support unit set. ,but Simultaneous impact and Therefore, the cross covariance between different constraints due to support overlap is: ; in =Cov( ), representing voxels v The covariance matrix of the statistical perturbations in the middle unit. In engineering implementation, to reduce computational cost, it is only considered when the intersection exceeds a threshold. The cross term is retained only when the value is 0.4 in the example. This is combined with the sensitivity of the point-surface residual. The spatial correlation covariance of the final residual is: ; This enabled accurate modeling of spatial correlation.
[0041] On the other hand, the discrete IMU measurements during the scan period (from the beginning of the frame to the end of the frame) are decomposed into multiple time-increment noises. Then the first Error propagation over a given time period satisfies: ; in, Here is the state transition matrix. The noise input matrix, For the first b Process noise of IMU time increment Let be the covariance matrix of the process noise. and These represent the error states at the start and end points of the b-th and b+1-th IMU intervals, respectively.
[0042] For timestamps The laser point, relative to the reference time The distortion correction error can be expressed as: ; in, Indicates from arrive The set of IMU time period indices experienced, and the propagation matrix between them and the b-th IMU time increment noise are as follows: If two points of Then the distortion correction errors of the two have a time cross covariance: ; This covariance reflects the temporal correlation resulting from sharing the same IMU integration interval; the closer a point is to the beginning of the frame, the greater its covariance. The longer it is, the more potential it overlaps with other points.
[0043] Based on the aforementioned spatial and temporal correlations, construct the joint residual for the entire frame: ; in, This is the residual vector formed by stacking the point and surface constraint residuals of all points in the current frame. The entire frame's Jacobian matrix is formed by stacking single-point Jacobians. Let be the error quantity to be estimated for the robot's state vector. It is a single-point independent noise. The covariance matrix is formed by the variances of the independent residuals at each point. To support the sharing of variables for unit statistical errors, For IMU time increment noise, and These are the sensitivity matrices for the two types of shared variables, respectively, derived from single-point spatial sensitivity. and time sensitivity Stacked together; and Let the spatial and temporal cross covariances of the current frame be represented respectively. Then the corresponding overall residual covariance can be obtained as: ; Combine spatial correlation and temporal correlation into Then the residual of the entire frame can be uniformly written as: ; in, For the single-point independent noise covariance, the corresponding residual covariance matrix is: ; ; ; blkdiag( () indicates a block diagonal, used to place multiple smaller matrices on the diagonal of a larger matrix, with all non-diagonal positions filled with 0. This represents the Jacobian matrix of the current frame residual with respect to the robot state. This represents a diagonal matrix composed of the independent variances of each point. This represents the joint sensitivity matrix of the shared random variables to the residuals. For the joint covariance matrix of shared random variables.
[0044] The residual covariance matrix has a "diagonal + low-rank" structure, where number of columns q (i.e., the dimension of the shared variables) is typically 30-120 in this example, which is much smaller than the number of residuals. N This facilitates efficient subsequent calculations.
[0045] The existence of temporal and spatial covariance can lead to system overconfidence, affecting the system's accuracy and robustness. This embodiment obtains the complete whole-frame residual covariance matrix, which can be used for subsequent shared variable marginalization, correlation compensation, and observability evaluation in S103.
[0046] S103: Marginalize the shared variables to obtain a noisy information matrix and gradient vector with correlation compensation.
[0047] The existence of temporal and spatial correlations can lead to the duplicate entry of information. This step deducts this duplicated and artificially inflated information through correlation compensation. This is achieved by marginalizing shared variables. This yields an accurate compensation-related information matrix, eliminating information overstatement caused by repeatedly using the same map point or the same IMU integration interval.
[0048] Specifically, in combination Figure 3 Within the framework of joint maximum a posteriori (MAP) estimation, the state error is... and shared variables Perform joint optimization to obtain the state correction after correlation compensation; the objective to be optimized is written as: ; because For variables with random effects, Schur's complement can be used to eliminate them, yielding variables with only random effects. The marginal posterior.
[0049] Information matrix after precise edge-mapping and gradient vector They are respectively: ; ; The information matrix represents the second-order constraint strength of the objective function on the system state, and the gradient vector represents the first-order constraint; by solving them together, the system state correction can be obtained.
[0050] If we ignore correlation and directly use the independent diagonal model, then the information matrix... .
[0051] because Semi-positive definite, obviously has Difference This refers to the falsely inflated information that is repeatedly counted due to sharing errors, which is deducted through marginalization. This embodiment uses the marginalized version. Perform subsequent degradation detection and status updates.
[0052] As a further implementation, in order to avoid constructing Dense matrices are calculated directly using the Woodbury identity in this embodiment. ,Then Reduce the problem to Find the inverse of a matrix.
[0053] This embodiment utilizes the Woodbury form or other methods for online computation, requiring only the handling of the shared variable dimension. q corresponding 3D matrix, avoiding explicit construction A dense covariance matrix is used to ensure the real-time performance of the system.
[0054] S104: Calculate the posterior direction standard deviation and geometric diversity index of each feature direction based on the noisy information matrix, and obtain the credibility of each feature direction by combining the posterior direction standard deviation and geometric diversity.
[0055] Based on the correlation compensation information matrix obtained in step S103, this step evaluates the observability of each state direction from multiple dimensions, including directional information strength, noise statistical characteristics, posterior uncertainty, and independent geometric support. This transforms the traditional binary degradation judgment into continuous directional confidence, providing a basis for subsequent soft-gating updates. Figure 4 The specific implementation process is as follows: Noisy information matrix after correlation compensation After normalizing the dimensions of rotation and translation, we obtain Then to Perform eigenvalue decomposition: ; Obtain the eigenvector matrix in the six-degree-of-freedom state space. and the kth feature direction Corresponding directional information .in, U yes The decomposition feature matrix composed of the feature vectors .
[0056] For the k-th feature direction, calculate its directional information content. The mean of information obtained by propagation from a noisy model With variance Posterior directional standard deviation With the number of effective support unit groups and geometric diversity index The noisy model refers to the whole-frame residual and its covariance equation established in step S102.
[0057] Among them, the posterior directional standard deviation The calculation method is expressed as follows: ; in, This represents the prior covariance matrix of the six-degree-of-freedom pose error obtained from IMU state propagation. The IMU error state can be obtained from the equipment manual. This represents the posterior pose error covariance matrix after fusing the current laser observations with the IMU prior.
[0058] A geometric diversity index is constructed based on the number of independent map support units that make a valid contribution in the k-th direction and the number of effective IMU time increments. The specific calculation method is illustrated in the following example: ; in, Indicates the first The number of independent map support units that make an effective contribution in terms of direction. This represents the number of effective IMU time periods; ε is a positive number to prevent the denominator from being zero, and β is the weighting coefficient of the time support term. Independent support units emphasize independent information sources, meaning that the same support unit only provides support for one residual.
[0059] Based on the aforementioned statistical measures (information mean) With variance The calculation of the directional non-degeneracy probability is as follows: ; in, For example, a conservative coefficient can be taken as... Adjustable engineering values.
[0060] Furthermore, the confidence level of the k-th feature direction is obtained by combining the posterior direction standard deviation and geometric diversity. Specifically: ; in, Non-negative fusion weights These are the scale parameters; each parameter can be pre-calibrated or adjusted online based on the sensor noise level, platform motion characteristics, and application scenario. The non-degenerate probability, For the posterior directional standard deviation, This is an index of geometric diversity.
[0061] By By limiting the expression to between 0 and 1, a continuous credibility expression from non-degenerate to severely degenerate directions is achieved.
[0062] The implementation calculates the confidence level of each feature direction based on the non-degenerate probability of the direction, the posterior direction standard deviation, and geometric diversity. These three indices evaluate direction observability from three perspectives: relative noise level of information, residual uncertainty after fusing priors, and independence of constraint sources. This reduces misjudgments caused by relying solely on a single feature value. By continuously limiting the confidence level to between 0 and 1, a smooth transition between non-degenerate, weakly degenerate, and severely degenerate directions is achieved, providing direct and continuous weights for subsequent soft gating while preserving valuable information in weakly constrained directions.
[0063] S105: Construct the soft projection matrix of the observable subspace based on the confidence level of each characteristic direction, and apply it to the laser observation state correction.
[0064] This step constructs a soft projection matrix for the observable subspace based on the confidence level of each characteristic direction, and applies it to the laser observation state correction. This ensures that reliable directions are consistently updated, weakly constrained directions continuously decay according to their confidence level, and severely degraded directions are suppressed, thereby avoiding abrupt state changes caused by hard threshold switching. Combined with... Figure 5 The specific implementation process is as follows: Based on the directional confidence obtained in step S104, continuous soft-gating coefficients for each feature direction are constructed. The soft-gating coefficients are a monotonically continuous mapping of the directional confidence; in this embodiment, the directional confidence is directly used. As the soft gating coefficient corresponding to the feature direction.
[0065] Based on the eigenvector matrix in the six-degree-of-freedom state space And construct the soft projection matrix of the observable subspace using the soft gating coefficients of each characteristic direction: ; in, It is based on credibility The diagonal array formed; For the correlation compensation information matrix eigenvector matrix, represents the soft gating coefficient for the k-th feature direction. The soft projection matrix can be further extended to a block projection matrix across the entire state dimension for consistent gating of attitude, velocity, position, and IMU bias-related states.
[0066] Continuous soft gating of laser observation updates is performed using the soft projection matrix of the observable subspace. For directions with a confidence level close to 1, normal laser observation updates are retained; for directions with a confidence level in the intermediate range, such as... The state is continuously decayed according to the corresponding soft-gating coefficients for correction. For severely degraded directions with confidence close to 0, only prior propagation or minimal weight correction is retained, thereby suppressing the influence of unreliable laser constraints in the degraded direction on the filtered state. This soft-gating method can avoid state update jumps caused by hard thresholds, reduce sensitivity to threshold selection and short-term noise, and improve system continuity and robustness.
[0067] S106: Extract the effective state correction and effective noise mapping in the observable subspace, estimate the IMU process noise parameters in the observable subspace; gate the update amplitude of the IMU noise parameters according to the direction confidence level to achieve adaptive adjustment of the IMU noise parameters, and then update the noise covariance level predicted by the system.
[0068] This step utilizes the observable subspace obtained in step five to screen state corrections that can be reliably verified by laser constraints. Based on this, it estimates and dynamically adjusts the IMU process noise parameters. Simultaneously, it uses directional reliability to limit the update amplitude of the noise parameters, avoiding misattributing positioning errors in the degradation direction to changes in IMU noise. Combined with... Figure 6 The specific implementation process is as follows: (1) Extract the effective state correction and effective noise mapping in the observable subspace.
[0069] Let the posterior state correction obtained from a single filter update be... The cumulative mapping of IMU process noise to state error is as follows: Then the effective state correction quantity within the observable subspace can be observed. Mapping with effective noise Specifically: ; ; (2) Estimate the IMU process noise parameters in the observable subspace.
[0070] Based on the obtained effective state correction and effective noise mapping, the IMU process noise covariance is established. The regularized estimation makes the state error explained by process noise consistent with the posterior correction in the observable subspace, while limiting the variation of noise parameters between adjacent time steps.
[0071] Specifically, the IMU process noise covariance in diagonal or block-diagonal form. The solution can be obtained using the following formula: ; in, The regularization coefficient can be taken as... ; It can be a diagonal, block diagonal, or positive semidefinite matrix divided according to the physical axis of the sensor.
[0072] (3) Gating the update amplitude of IMU noise parameters based on directional reliability.
[0073] If the credibility of the corresponding direction is lower than Then freeze the corresponding noise block; if it is in arrive If it is between, then update according to the attenuation coefficient; if it is higher than Then the update proceeds normally. That is, only reliable directions after correlation compensation are allowed to participate in the IMU process noise inversion, and errors in the degradation direction are not allowed to cause the process noise to be incorrectly corrected. This can effectively avoid the positioning error in the degradation direction being misinterpreted as IMU noise change.
[0074] As an example, Set as , Set as .
[0075] As a further implementation, in order to avoid repeatedly calculating the same noise source among filtering priors, point cloud distortion correction, and map planar statistics, this embodiment adopts the conditional uncertainty separation principle.
[0076] Specifically, distortion point noise only includes the relative propagation uncertainty between the laser point sampling time and the reference time that has not yet been absorbed by the filtering prior; the map plane parameter covariance only includes the conditional statistical error of the current local map support unit; when the historical pose uncertainty is already included in the map support unit statistics, the same historical IMU noise is not propagated again at the current observation end; when the filtering prior covariance participates in the state update, the observation noise model only retains the incremental uncertainty that is related to the current observation conditions and has not yet been absorbed by the prior covariance.
[0077] For example, when the frame tail is used as the distortion correction reference time, the distortion correction error of the i-th laser point is only obtained by the propagation of IMU time increment noise between its sampling time and the frame tail; if the local plane is obtained by fitting multiple historical voxel statistics, the uncertainty of the plane parameters in this frame is obtained by linearizing the conditional statistical error of the voxel, without repeatedly adding the complete historical pose covariance that has been absorbed by the state estimation when the historical map was generated.
[0078] In one optional embodiment, the lidar ranging noise, angle noise, local surface roughness threshold, support overlap threshold, upper limit of the dimension of the shared random variable, orientation degradation threshold, and IMU process noise update forgetting factor are all adjustable parameters, determined based on sensor calibration results, local map resolution, and robot motion state. The specific values of these parameters do not constitute a limitation on the scope of protection of this invention.
[0079] Reference Figure 7 In this embodiment, the proposed solution achieves an RMSE of less than 1 meter over a 1000-meter movement distance in an open road (similar to a long corridor) lacking features in the forward direction; and in another embodiment with sufficient features, it achieves an RMSE of less than 20 centimeters over a 1000-meter movement distance. In all the above embodiments, the program execution frequency is greater than 20 Hz. These results demonstrate that the method of this embodiment can maintain stable long-distance positioning even in degenerate environments with insufficient geometric constraints in the forward direction, and can achieve higher positioning accuracy in scenarios with sufficient geometric features. Furthermore, the algorithm's execution frequency meets the online real-time operation requirements of lidar inertial positioning systems, effectively ensuring the positioning accuracy and robustness of robots or other moving vehicles in complex scenarios.
[0080] Example 2 In one or more embodiments, an adaptive lidar inertial positioning system based on noise modeling is disclosed, specifically including: The independent noise variance construction module is used to perform distortion correction on each original laser point in the current frame, fit the local plane using principal component analysis, establish plane constraints based on the spatial correspondence between the point and the map plane, calculate the point-to-plane residual, and obtain the independent noise variance describing the reliability of the residual from each laser point to the plane. The residual covariance construction module is used to calculate the cross covariance between different planar constraints due to shared map points and shared IMU time increments, and to construct a complete residual covariance structure by considering shared variables of spatial and temporal correlation. The shared variable marginalization module is used to marginalize shared variables to obtain a noisy information matrix and gradient vector with correlation compensation; The credibility calculation module is used to calculate the posterior direction standard deviation and geometric diversity index of each feature direction based on the noisy information matrix, and to obtain the credibility of each feature direction by combining the posterior direction standard deviation and geometric diversity. The laser observation state correction module is used to construct the observable subspace soft projection matrix based on the confidence level of each characteristic direction and apply it to the laser observation state correction. The IMU noise parameter update module is used to extract the effective state correction and effective noise mapping in the observable subspace, estimate the IMU process noise parameters in the observable subspace, and gate the update amplitude of the IMU noise parameters according to the direction confidence level to achieve adaptive adjustment of the IMU noise parameters, thereby updating the noise covariance level predicted by the system.
[0081] It should be noted that the specific implementation methods of the above modules are exactly the same as those in Example 1, and will not be described in detail again.
[0082] Example 3 In one or more embodiments, a terminal device is disclosed, comprising a processor and a memory, wherein the processor is used to implement instructions; and the memory is used to store multiple instructions adapted to be loaded by the processor and executed by the processor to perform the noise-modeling-based adaptive lidar inertial positioning method described in Embodiment 1.
[0083] It should be understood that in this embodiment, the processor can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any other conventional processor.
[0084] Memory may include read-only memory and random access memory, and provides instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, memory may also store information about the device type.
[0085] In the implementation process, each step of the above method can be completed by the integrated logic circuits in the processor hardware or by software instructions.
[0086] While the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.
Claims
1. An adaptive lidar inertial positioning method based on noise modeling, characterized in that, include: For each original laser point in the current frame, distortion correction is performed. The local plane is fitted using principal component analysis. Based on the spatial correspondence between the point and the map plane, plane constraints are established. The point-to-plane residual is calculated, and the independent noise variance describing the reliability of the residual from each laser point to the plane is obtained. Calculate the cross covariance between different planar constraints due to shared map points and shared IMU time increments, and construct a complete residual covariance structure by considering shared variables of spatial and temporal correlation. Marginalizing the shared variables yields a noisy information matrix and gradient vector with correlation compensation; The posterior direction standard deviation and geometric diversity index of each feature direction are calculated based on the noisy information matrix, and the credibility of each feature direction is obtained by combining the posterior direction standard deviation and geometric diversity. Based on the confidence level of each characteristic direction, construct the soft projection matrix of the observable subspace and apply it to the laser observation state correction. The effective state correction and effective noise mapping in the observable subspace are extracted, and the IMU process noise parameters are estimated in the observable subspace. The update amplitude of the IMU noise parameters is gated according to the directional confidence level to achieve adaptive adjustment of the IMU noise parameters, thereby updating the noise covariance level predicted by the system.
2. The adaptive lidar inertial positioning method based on noise modeling as described in claim 1, characterized in that, Establish point-to-plane residuals and obtain the independent noise variance describing the reliability of each laser point-to-plane residual, specifically: For the i The laser point after distortion With the corresponding local plane parameters Establish point-to-plane residuals : ; Assuming the laser point i The three-dimensional covariance is The single-point independent noise variance of the residual is expressed as: in, It is a plane normal vector. For planar offset, This is the corresponding reference point on the plane; This represents the local surface roughness variance. It is the variance of the data association residuals.
3. The adaptive lidar inertial positioning method based on noise modeling as described in claim 1, characterized in that, Constructing the complete residual covariance structure is as follows: For the i-th planar constraint, define its supporting element. Sets, pairs Linearized plane parameters are obtained by fitting the statistics on the plane; plane constraints are calculated. and planar constraints Spatial cross covariance between planar parameter errors caused by support overlap; Calculate the temporal cross covariance between the distortion errors between the time increment noise of the two laser point IMUs; Considering spatial and temporal correlation variables, a joint residual for the entire frame is constructed; further, by combining spatial cross covariance and temporal cross covariance, a complete residual covariance structure is obtained.
4. The adaptive lidar inertial positioning method based on noise modeling as described in claim 1, characterized in that, Marginalizing the shared variables yields a noisy information matrix and gradient vector with correlation compensation, specifically: Within the framework of joint maximum a posteriori estimation, the objective to be optimized is constructed as follows: ; in, To merge shared variables, , For the space term in a shared random variable, For the time term in a shared random variable; The residual vector is formed by stacking the residuals of all point and surface constraints in the current frame; By Schur Elimination yields only information about the robot's state increment. The marginal posterior; Marginalization yields the following noisy information matrix and gradient vector with correlation compensation: ; ; in, This represents the Jacobian matrix of the current frame residual with respect to the robot state. This represents a diagonal matrix composed of the independent variances of each point. This represents the joint sensitivity matrix of the shared random variables to the residuals. To share the joint covariance matrix of random variables, Indicates The weighted residual term distance squared, Indicates Squared regularization terms of the weighted shared variables.
5. The adaptive lidar inertial positioning method based on noise modeling as described in claim 4, characterized in that, Also includes: The Woodbury identity is constructed for the noisy information matrix as follows: make: ; but: .
6. The adaptive lidar inertial positioning method based on noise modeling as described in claim 1, characterized in that, The confidence level of each feature direction is obtained by combining the posterior directional standard deviation and geometric diversity, specifically as follows: The noisy information matrix is scaled and normalized. Then, the eigenvector matrix U and its k-th eigendirection in the six-degree-of-freedom state space are obtained through eigenvalue decomposition. Corresponding directional information ; For the k-th feature direction, the posterior direction standard deviation and geometric diversity index are calculated. The geometric diversity index is obtained by weighted summation of the ratio of the number of independent map support units that make effective contributions to the k-th direction to the total number of map support units and the ratio of the number of independent effective IMU time increments that make effective contributions to the k-th direction to the total number of IMU time periods. The confidence level of the k-th feature direction is obtained by combining the posterior directional standard deviation and geometric diversity, specifically as follows: ; in, These are the non-negative fusion weights. These are the scale parameters, The non-degenerate probability, For the posterior directional standard deviation, This is an index of geometric diversity.
7. The adaptive lidar inertial positioning method based on noise modeling as described in claim 1, characterized in that, Based on the confidence level of each characteristic direction, a soft projection matrix for the observable subspace is constructed and applied to the laser observation state correction, specifically as follows: The confidence level of each feature direction is used as the soft gating coefficient of the corresponding feature direction, and the feature directions with confidence levels greater than the set threshold are selected to construct the observable subspace. Based on the eigenvector matrix U obtained by eigenvalue decomposition of the noisy information matrix and the soft gating coefficients of each eigendirection, construct the soft projection matrix of the observable subspace. The laser observation update is continuously soft-gated using the observable subspace soft projection matrix to suppress the influence of unreliable laser constraints in the degradation direction on the filter state.
8. The adaptive lidar inertial positioning method based on noise modeling as described in claim 1, characterized in that, Estimating IMU process noise parameters within the observable subspace is specifically as follows: Extract the effective state correction and effective noise mapping within the observable subspace; Establish IMU process noise covariance The regularized estimate yields the optimal estimate of the IMU process noise covariance at the current time k; The update magnitude of the noise covariance is gated based on the directional reliability of each feature direction.
9. An adaptive lidar inertial positioning system based on noise modeling, characterized in that, include: The independent noise variance construction module is used to perform distortion correction on each original laser point in the current frame, fit the local plane using principal component analysis, establish plane constraints based on the spatial correspondence between the point and the map plane, calculate the point-to-plane residual, and obtain the independent noise variance describing the reliability of the residual from each laser point to the plane. The residual covariance construction module is used to calculate the cross covariance between different planar constraints due to shared map points and shared IMU time increments, and to construct a complete residual covariance structure by considering shared variables of spatial and temporal correlation. The shared variable marginalization module is used to marginalize shared variables to obtain a noisy information matrix and gradient vector with correlation compensation; The credibility calculation module is used to calculate the posterior direction standard deviation and geometric diversity index of each feature direction based on the noisy information matrix, and to obtain the credibility of each feature direction by combining the posterior direction standard deviation and geometric diversity. The laser observation state correction module is used to construct the observable subspace soft projection matrix based on the confidence level of each characteristic direction and apply it to the laser observation state correction. The IMU noise parameter update module is used to extract the effective state correction and effective noise mapping in the observable subspace, estimate the IMU process noise parameters in the observable subspace, and gate the update amplitude of the IMU noise parameters according to the direction confidence level to achieve adaptive adjustment of the IMU noise parameters, thereby updating the noise covariance level predicted by the system.
10. A terminal device comprising a processor and a memory, the processor for implementing instructions; the memory for storing multiple instructions, characterized in that, The instructions are adapted to be loaded by a processor and executed by the noise modeling-based adaptive lidar inertial positioning method according to any one of claims 1-7.
