Drift compensation and spatial consistency recovery method and device based on spatial prior

By establishing a spatial prior model using a fixed-structure mesh in industrial settings such as mines, the problem of spatial measurement error caused by sensor extrinsic parameter drift is solved, achieving rapid and stable spatial consistency recovery and improving the positioning accuracy and operational stability of the robot system.

CN123181515APending Publication Date: 2026-11-27CHINA MINMETALS CHANGSHA MINING RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611130309.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In industrial settings such as mining and crushing, existing technologies suffer from large spatial measurement errors caused by sensor extrinsic parameter drift, which affects the positioning accuracy and operational stability of robot actuators. Furthermore, existing compensation methods are time-consuming, costly, or lack robustness, making it difficult to meet real-time requirements.

Method used

The drift compensation method based on spatial priors establishes a spatial prior model using a fixed structural mesh in an industrial scenario. Drift is determined by obtaining registration health and anchor point offset. A phased iterative nearest point optimization strategy is adopted, and spatial consistency is restored using the spatial prior constraints of the structural mesh.

Benefits of technology

It enables rapid spatial compensation without manual calibration in high-frequency vibration environments, improving sensing accuracy and operational stability, reducing system deployment costs, meeting industrial real-time control requirements, and maintaining long-term stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181515A_ABST
    Figure CN123181515A_ABST
Patent Text Reader

Abstract

The application discloses a drift compensation and spatial consistency recovery method and device based on spatial priori, which comprises the following steps: establishing a structure grid spatial priori model based on original double-view point cloud data in a target industrial scene; obtaining registration health degree and anchor point offset and determining whether to trigger drift based on current double-view point cloud data in the target industrial scene; if the drift is triggered, obtaining an initial spatial transformation matrix based on the structure grid spatial priori model; taking the initial spatial transformation matrix as a staged iterative initial matrix; and obtaining an optimal spatial transformation matrix based on a staged iterative closest point optimization strategy of structure grid spatial priori constraint. The application can realize real-time sensing of external parameter drift, fast spatial compensation and recovery of multi-view spatial consistency under non-stop conditions, so as to improve the sensing accuracy and operation stability of an engineering mechanical system in a complex vibration environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of technology, and more specifically to a method and apparatus for drift compensation and spatial consistency restoration based on spatial priors. Background Technology

[0002] With the rapid development of smart mines, intelligent quarries, and unmanned engineering machinery technologies, automated operation systems based on machine vision and 3D perception technologies have become an important development direction in the heavy industry sector. In scenarios such as mine crushing, screen cleaning, bulk material loading and unloading, and remote control of large equipment, an increasing number of robot systems are acquiring spatial information of the working environment through 3D vision sensors such as RGB-D cameras and laser contour cameras, and constructing digital 3D models to provide basic data support for target recognition, spatial positioning, path planning, and automatic execution.

[0003] In practical applications, to expand the perception range and reduce target occlusion, a multi-view vision sensor collaborative approach is typically adopted. This involves establishing a unified coordinate system through extrinsic parameter calibration to achieve spatial fusion of multi-source point cloud data. However, most existing multi-view vision systems are based on the assumption that "the sensor installation position is fixed and the extrinsic parameters remain unchanged over a long period of time." That is, calibration is completed once during the system deployment phase, and the calibration results are used as the fixed basis for all subsequent spatial calculations.

[0004] However, in industrial scenarios such as mining crushing, hydraulic rock breaking, and heavy loading and unloading, equipment operation continuously generates high-frequency mechanical vibrations and strong impact loads. Especially during the continuous impact of hydraulic breakers, the impact of large pieces of ore on screens, and the start-up and shutdown of heavy equipment, the sensor mounting brackets and support structures are subject to periodic mechanical disturbances, resulting in minute displacements or attitude deflections of the vision sensors. Although these changes usually only manifest as millimeter-level translations or angular rotations, they can be significantly amplified at working distances of several meters, ultimately leading to spatial measurement errors at the centimeter level or even larger.

[0005] When sensor extrinsic parameters drift, the original spatial correspondence between multi-view point clouds is disrupted, manifesting as decreased point cloud registration accuracy and ghosting and misalignment in the 3D model. Simultaneously, spatial errors are further propagated to subsequent geometric calculations, causing deviations in key geometric features such as the target's centroid position, principal axis direction, and surface normals, ultimately affecting the positioning accuracy and operational stability of the robot's actuators. In high-impact scenarios such as automated rock breaking, an incorrect spatial model may even cause the breaking tool to deviate from the target surface, resulting in a "slippage" phenomenon, which in turn leads to a series of problems such as accelerated equipment wear, decreased operational efficiency, and increased safety risks.

[0006] To address the above problems, existing technologies mainly employ the following methods for correction: (1) Manual recalibration. This requires stopping the equipment and relying on professionals to use calibration boards and other tools to re-establish the external parameters. This is time-consuming and costly, and it is difficult to meet the needs of continuous production environments without stopping the machine.

[0007] (2) Feature-based relocation. Re-matching is based on specific texture or geometric features in the environment. However, in the high dust and low light environment of mines, it is very difficult to extract stable feature points and the robustness is insufficient.

[0008] (3) Traditional iterative nearest point registration is highly sensitive to the initial pose. When the drift is large, it is easy to get trapped in a local optimum, which leads to recovery failure. Even if it can converge, too many iterations will lead to too long recovery time, which cannot meet the real-time requirements.

[0009] (4) Deep learning-based registration networks. Although they have a certain degree of robustness, they usually require a large amount of labeled training data and high GPU computing resources, resulting in large inference latency and making them difficult to deploy on industrial embedded controllers to meet millisecond-level response requirements.

[0010] More importantly, most existing technologies treat the drift compensation process as an independent, scene-independent point cloud registration problem, lacking effective utilization of the inherent infrastructure structural information of industrial sites. In fact, scenarios such as mines, screening plants, and crushing stations commonly contain long-term fixed and geometrically regular structures (such as screening grids, steel frame support beams, and equipment mounting bases). These structures remain stable relative to the Earth's coordinate system under vibration conditions and can be used as natural "spatial reference benchmarks." However, existing technologies fail to leverage the long-term stability and spatial constraints of these fixed structures, making it difficult to maintain spatial consistency between the sensing and execution systems under continuous vibration and frequent impact environments.

[0011] In summary, existing technologies still suffer from problems such as insufficient real-time performance, weak autonomous recovery capability, poor vibration resistance, and limited ability to maintain spatial consistency. Summary of the Invention

[0012] To address the problems existing in the prior art, this invention provides a method and apparatus for drift compensation and spatial consistency restoration based on spatial priors. It can sense external parameter drift in real time, quickly complete spatial compensation and restore multi-view spatial consistency without stopping the machine, without the need for manual calibration, and can improve the sensing accuracy and operational stability of engineering machinery systems in complex vibration environments.

[0013] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0014] According to a first aspect of this application, a method for drift compensation and spatial consistency restoration based on spatial priors is provided, comprising: A prior model of the structured grid space is established based on the original dual-view point cloud data in the target industrial scenario. Based on the current dual-view point cloud data in the target industrial scene, the registration health and anchor point offset are obtained. Based on the registration health and anchor point offset, it is determined whether drift is triggered. The current dual-view point cloud data includes the current first-view point cloud data and the current second-view point cloud data. If drift is triggered, based on the prior model of the structured grid space, obtain the initial spatial transformation matrix to unify the current first-view point cloud data into the data coordinate system of the current second-view point cloud data; Using the initial spatial transformation matrix as the initial matrix for phased iteration, and based on the phased iterative nearest point optimization strategy of the structural grid spatial prior constraints, the optimal spatial transformation matrix that unifies the current first-view point cloud data to the data coordinate system of the current second-view point cloud data is obtained.

[0015] In some embodiments of this application, based on the foregoing scheme, the step of establishing a structural mesh spatial prior model based on the original dual-view point cloud data in the target industrial scene includes: Geometric feature analysis is performed on the original dual-view point cloud data to segment out the structural features of the target industrial scene, wherein the structural features include structural edges, planar regions and regular grids; The distance, angle, and connectivity relationships between structural features are extracted from the original dual-view point cloud data to form a spatial topology network. Representative grid nodes, edge intersections, and key points on the fixed support structure are selected from the original dual-view point cloud data as a set of spatial anchor points. Based on the structural features, the spatial topology network, and the set of spatial anchor points, a priori model of the structural mesh space is established.

[0016] In some embodiments of this application, based on the aforementioned scheme and the current dual-view point cloud data, the proportion of effective interior points whose distances to the corresponding spatial points that are the nearest neighbors under the dual views meet the distance constraint threshold is used as the registration health.

[0017] In some embodiments of this application, based on the aforementioned scheme, and based on the current dual-view point cloud data, the arithmetic mean of the geometric offsets between the positions of all spatial anchor points in the current dual-view point cloud data and the standard positions in the prior model of the structured grid space is used as the anchor point offset.

[0018] In some embodiments of this application, based on the foregoing scheme, determining whether drift is triggered based on the registration health and the anchor point offset includes: If the registration health is less than the preset health threshold and / or the anchor offset is greater than the preset anchor offset threshold, then drift is triggered.

[0019] In some embodiments of this application, based on the foregoing scheme, obtaining the initial spatial transformation matrix based on the structural mesh space prior model includes: Extract a set of spatial anchor points, which includes several spatial anchor points in the target industrial scene that maintain geometric stability over a preset time. Based on the anchor point positions of the spatial anchor point set in the current dual-view point cloud data and the anchor point positions of the prior model of the structural grid space, a drift constraint correspondence is constructed, which includes a rotation drift matrix and a translation drift vector. A rigid body transformation model is constructed based on the rotation drift matrix and the translation drift vector; By minimizing the geometric error between the spatial anchor point set and the prior model of the structural mesh space in the current dual-view point cloud data, a drift estimation problem is constructed for the rigid body transformation model, and the calculation formula is as follows: in, This indicates the first point in the current dual-view point cloud data. The location of a spatial anchor point In the prior model of the structural mesh space, the first... The standard location of a spatial anchor point Let represent the rotation-drift matrix to be solved. This represents the translation / drift vector to be solved. This indicates the total number of spatial anchor points. Represents the rotation drift matrix. Represents the translation drift vector; By introducing a robust weighting mechanism and assigning different confidence weights to different spatial anchor points, a weighted drift problem is constructed for the rigid body transformation model, expressed as follows: in, Indicates the first Confidence weights of spatial anchor points; Solve the weighted drift problem and output the drift vector. ; Based on the drift vector, generate the initial spatial transformation matrix required for spatial reconstruction: in, This represents the initial spatial transformation matrix.

[0020] In some embodiments of this application, based on the foregoing scheme, the step of using the initial spatial transformation matrix as the initial matrix for phased iterations and employing a phased iterative nearest-point optimization strategy based on prior constraints of the structural grid space to obtain the optimal spatial transformation matrix that unifies the current first-view point cloud data to the data coordinate system of the current second-view point cloud data includes: Establish the spatial consistency recovery problem and the ICP objective function; in, This is the intermediate-level registration space transformation matrix. This represents the transformation matrix to be solved during the phased iterative process. For spatial points in the current dual-view point cloud data, For spatial points in the prior model of the structured mesh space, This represents the set of corresponding points established by the nearest neighbor search; A phased decay search radius mechanism is introduced to constrain the search range of the corresponding point set established by the nearest neighbor search, so that the ICP objective function gradually converges from coarse to fine: in, As the initial search radius, As the attenuation factor, Indicates the first The search radius at the next iteration This represents the maximum number of iterations. Based on the spatial anchor point constraint, the ICP objective function is extended to an ICP objective function with prior constraints: in, To constrain the weighting coefficients, This indicates the first point in the current dual-view point cloud data. The location of a spatial anchor point In the prior model of the structural mesh space, the first... The standard location of a spatial anchor point This indicates the total number of spatial anchor points. Represents the optimal spatial transformation matrix; Using the initial spatial transformation matrix as the initial matrix for phased iteration, the ICP objective function with prior constraints is solved iteratively to obtain the optimal spatial transformation matrix. Based on the optimal spatial transformation matrix, the current first-view point cloud data is unified to the data coordinate system of the current second-view point cloud data.

[0021] According to a second aspect of this application, a drift compensation and spatial consistency restoration system based on spatial priors is provided, comprising: The structural mesh space prior model construction module is used to build a structural mesh space prior model based on the original dual-view point cloud data in the target industrial scene. The drift determination module is used to obtain the registration health and anchor point offset based on the current dual-view point cloud data in the target industrial scene, and determine whether drift is triggered based on the registration health and anchor point offset. The current dual-view point cloud data includes the current first-view point cloud data and the current second-view point cloud data. The initial spatial transformation matrix acquisition module is used to obtain the initial spatial transformation matrix in the data coordinate system of the current first-view point cloud data to the current second-view point cloud data if drift is triggered, based on the structural grid spatial prior model. The optimal spatial transformation matrix acquisition module is used to obtain the optimal spatial transformation matrix in the data coordinate system that unifies the current first-view point cloud data to the current second-view point cloud data, based on the phased iterative nearest point optimization strategy of the phased iterative matrix of the initial spatial transformation matrix as the initial matrix of the phased iteration and the prior constraints of the structured grid space.

[0022] According to a third aspect of this application, a computer-readable storage medium is provided that stores a computer program thereon, the computer program including executable instructions that, when executed by a processor, implement the method described above.

[0023] According to a fourth aspect of this application, an electronic device is provided, comprising: One or more processors; A memory for storing executable instructions of the processor, which, when executed by the one or more processors, cause the one or more processors to implement the method described above.

[0024] The beneficial effects of this application are as follows: (1) The drift compensation and spatial consistency restoration method and device based on spatial prior provided in this application introduces the fixed structural grid of the industrial site into the visual extrinsic drift compensation process, creatively transforming the production facilities such as grid screens and steel frames into natural spatial reference benchmarks. There is no need to set up manual targets or special positioning devices. Compared with the traditional static calibration scheme or offline calibration scheme, this application does not require manual recalibration, and completes drift detection and compensation completely autonomously. There is no need to stop the machine for maintenance. Recovery is completed online during continuous production. The recovery speed is fast, the single compensation recovery time is small, which meets the requirements of industrial real-time control. The recovery accuracy is high, the spatial error is small, the vibration resistance is strong, and it can still maintain long-term stability under continuous high-frequency vibration and impact load environment.

[0025] (2) The drift compensation and spatial consistency restoration method and apparatus based on spatial prior provided in this application can serve as a long-term stable natural spatial reference benchmark because the structural mesh maintains geometric invariance in the industrial field. This application uses this spatial reference to establish a drift vector, giving the restoration process a clear physical search direction and avoiding the local optimum problem caused by random initialization in traditional ICP. By shrinking the search radius in stages, both rapid convergence and high-precision restoration are achieved. The entire restoration process is driven by the difference between the current observation data and the spatial prior model, without relying on manual intervention or offline calibration, thus maintaining the consistency between the robot's perception coordinate system and execution coordinate system for a long time.

[0026] (3) The drift compensation and spatial consistency restoration method and device based on spatial prior provided in this application do not require additional artificial markers, reducing system deployment costs and maintenance complexity; it can realize online quantitative perception of drift state, avoid reliance on manual inspection, improve drift detection sensitivity, avoid false triggering caused by point cloud quality fluctuations, make the initial transformation matrix close to the true value, reduce the number of ICP iterations, avoid frequent false triggering, improve system robustness and intelligent decision-making ability, gradually converge from coarse to fine, take into account global alignment capability and local accuracy, can still maintain registration stability under high noise and occlusion conditions, realize long-term unattended automatic operation, and reduce the frequency of manual intervention.

[0027] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit this application. Attached Figure Description

[0028] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and are intended to explain the invention, but do not constitute an undue limitation thereof. In the drawings: Figure 1 This is a flowchart of a drift compensation and spatial consistency restoration method based on spatial priors according to the present invention; Figure 2 This is a schematic diagram of the point cloud data from the current first-view perspective of the present invention; Figure 3 This is a schematic diagram of the current second-view point cloud data of the present invention; Figure 4 This is a schematic diagram illustrating the processing of current dual-view point cloud data by the initial spatial transformation matrix in a specific embodiment of the present invention; Figure 5 This is a schematic diagram illustrating the processing of current dual-view point cloud data by the intermediate registration spatial transformation matrix in a specific embodiment of the present invention; Figure 6This is a schematic diagram illustrating the optimal spatial transformation matrix for processing current dual-view point cloud data in a specific embodiment of the present invention; Figure 7 This is a schematic diagram illustrating the environmental modeling of a broken scene in a specific embodiment of the present invention; Figure 8 This is a schematic diagram of a drift compensation and spatial consistency restoration system based on spatial priors according to the present invention. Figure 9 This is a schematic diagram of a drift compensation and spatial consistency restoration system based on spatial priors according to the present invention. Figure 10 This is a schematic diagram of an electronic device according to the present invention. Detailed Implementation

[0029] To make the objectives, features, and advantages of this invention more apparent and understandable, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0030] It should be understood that the terms "comprising" and other similar expressions in the specification, claims, and accompanying drawings of this invention are intended to cover a non-exclusive inclusion, such as a process, method, system, or apparatus that includes a series of steps or units and is not limited to the listed steps or units. Furthermore, "first" and "second" are used to distinguish different objects and are not intended to describe a specific order.

[0031] According to the first aspect of this application, Figure 1 and Figure 8 As shown, this embodiment provides a drift compensation and spatial consistency restoration method based on spatial priors, including: Step S1: Establish a prior model of the structured grid space based on the original dual-view point cloud data in the target industrial scene.

[0032] In some embodiments of this example, two industrial 3D cameras (vision sensors) are used to form a dual-view data perception layer, which is installed on both sides of the target work area and forms a cross-observation layout with a certain angle. The two industrial 3D cameras synchronously acquire data through a unified triggering mechanism to ensure that the data acquired from different perspectives have a consistent time reference. The two industrial 3D cameras include a first industrial 3D camera and a second industrial 3D camera. The first industrial 3D camera is one of the left and right industrial 3D cameras, and the second industrial 3D camera is the other of the left and right industrial 3D cameras. The first industrial 3D camera acquires first-view point cloud data, and the second industrial 3D camera acquires second-view point cloud data. The dual-view data perception layer serves as a data entry point and is responsible for the real-time acquisition of 3D spatial information of the work scene, providing the original data foundation for subsequent construction of the structural mesh spatial prior construction layer, dynamic drift detection, and spatial consistency restoration.

[0033] During operation, two industrial 3D cameras continuously acquire 3D depth information and corresponding 2D image information (such as RGB images) of the target scene. The depth data (such as depth maps) is converted into 3D spatial coordinates using internal camera calibration parameters, generating corresponding first-view and second-view point cloud data. Both the first-view and second-view point cloud data contain spatial coordinates and corresponding image information, enabling a digital description of the geometric features and spatial structure of the target area. Figure 2 As shown, this is a schematic diagram of the current first-view point cloud data of the present invention, as follows. Figure 3 The image shown is a schematic diagram of the current second-view point cloud data of this invention.

[0034] In some implementations of this embodiment, the structural grid spatial prior model is used to perform spatial feature analysis on the raw dual-view point cloud data acquired by the dual-view data perception layer, and to establish a structural grid spatial prior model that can remain stable over a long period of time, providing a unified reference benchmark for subsequent drift detection and spatial consistency restoration.

[0035] Because heavy industrial settings such as mines, screening plants, and crushing stations commonly contain numerous long-term, fixed infrastructure structures with clear geometric patterns, such as screening grids, steel frames, support beams, and equipment installation platforms, these structures remain stable relative to the geodetic coordinate system during equipment operation and possess clear geometric features in 3D point cloud data. Therefore, they can be utilized as natural "spatial reference benchmarks" without the need for additional artificial markers or dedicated positioning devices.

[0036] Specifically, the structural grid space prior construction layer first preprocesses the raw dual-view point cloud data acquired by the dual-view perception layer, including statistical outlier removal, voxel downsampling, and background filtering, in order to reduce environmental noise and outlier interference on subsequent structural feature extraction.

[0037] Based on this, geometric feature analysis is performed on the preprocessed original dual-view point cloud data to establish a reference coordinate system, segment structural features, and obtain feature information. This feature information includes the three-dimensional coordinates of each structural feature, as well as the distance, angle, and connection relationships between them. The structural features include structural edges, planar regions, and regular meshes. For the grid sieve scenario, the following structural features also need to be identified: grid nodes, grid edge segments, and grid planar regions. Grid nodes are the intersections of the grid sieve's crossbeams and longitudinal beams, possessing stable spatial positions. Grid edge segments are the straight edges of the grid sieve beams, providing clear directional constraints. The grid planar regions are the plane on which the entire grid sieve lies, providing planar constraint information.

[0038] In this embodiment, algorithms such as plane fitting, line detection, and corner extraction are used to segment and identify the aforementioned structural features from the original dual-view point cloud data, constructing a structural mesh spatial prior model. This structural mesh spatial prior model not only includes the three-dimensional coordinate information of each structural feature, but also the distance, angle, and connection relationships between features, forming a spatial topology network that can completely describe the geometric features of the fixed structure on site.

[0039] Furthermore, representative grid nodes, edge intersections, and key points on fixed support structures were selected as a set of spatial anchor points. These spatial anchor points possess long-term stability, geometric recognizability, and spatial distribution. Long-term stability means no displacement during equipment operation; geometric recognizability means clear local geometric features in the point cloud; and spatial distribution means uniform distribution in the scene, providing sufficient constraints.

[0040] Based on the aforementioned set of spatial anchor points, a global reference coordinate system is established as the spatial benchmark for subsequent drift analysis. Finally, a priori spatial model of the structural mesh is constructed using the set of spatial anchor points, structural features, and spatial topological relationships. in: Represents the set of spatial anchor points. Represents the set of mesh edge connectivity relationships. Set of parameters for the mesh plane.

[0041] The structural mesh space prior model records the standard spatial state of the fixed structure in the scene and serves as a reference template in the subsequent drift analysis process. When the two industrial 3D cameras forming a dual-view data perception layer are affected by mechanical vibration, impact loads, or micro-deformation of the installation structure, the difference analysis between the current observation results and the structural mesh space prior model can be used to accurately perceive the changes in the spatial state.

[0042] By establishing a structural grid spatial prior model, this embodiment transforms the fixed infrastructure originally used for production operations in industrial sites into a natural spatial reference benchmark. Long-term stable spatial constraints can be obtained without the need for additional artificial markers or dedicated positioning devices, thereby providing reliable prior support for subsequent dynamic drift detection, drift compensation decisions, and spatial consistency restoration.

[0043] Step S2: Based on the current dual-view point cloud data in the target industrial scene, obtain the registration health and anchor point offset, and determine whether drift is triggered based on the registration health and anchor point offset. The current dual-view point cloud data includes the current first-view point cloud data and the current second-view point cloud data.

[0044] In some embodiments of this example, the step of establishing a priori structural mesh space model based on the original dual-view point cloud data in the target industrial scene includes: Geometric feature analysis is performed on the original dual-view point cloud data to segment out structural features and obtain feature information. The feature information includes the three-dimensional coordinate information of each structural feature, as well as the distance relationship, angle relationship, and connection relationship between each structural feature. The structural features include structural edges, planar regions, and regular grids. Based on the structural features and the feature information, a priori model of the structural grid space is established.

[0045] In some embodiments of this example, the dynamic drift sensing layer is used to continuously monitor and quantitatively evaluate the spatial stability of the visual sensing system under complex industrial vibration environments. It is a key preliminary step for achieving real-time detection and rapid recovery of external parameter drift in this example.

[0046] The dynamic drift sensing layer does not directly participate in geometric reconstruction. Instead, it constructs a registration health system by analyzing the spatial consistency of multi-source observation data, thereby enabling online sensing and drift trigger judgment of changes in sensor extrinsic parameters.

[0047] Specifically, based on the fusion results of dual-view point cloud data, a consistency evaluation is performed on local point clouds from different perspectives under a unified coordinate system. Let the current first-view point cloud data set and the current second-view point cloud data set be respectively... and The overall registration error of the current dual-view point cloud data is calculated by establishing the corresponding point set through nearest neighbor search: in, This represents the currently estimated coordinate transformation matrix. and They represent the nearest neighbors in the two perspectives, respectively. One corresponding point, This represents the total number of corresponding point pairs obtained from the nearest neighbor search of the current dual-view point cloud data. This means that the current first-view point cloud data will be unified to the data coordinate system of the current second-view point cloud data through the currently estimated coordinate transformation matrix.

[0048] When in a stable state, multi-view point clouds exhibit high consistency under prior constraints in the structured mesh space, making... Keep at a low level, Maintaining a high level; when mechanical shock or vibration causes extrinsic parameter drift, the point cloud correspondence is disrupted, leading to... Significantly increased, Rapid decline.

[0049] In some implementations of this embodiment, based on the current dual-view point cloud data, the proportion of effective interior points whose distances to corresponding spatial points that are nearest neighbors under the dual-view conditions are within the distance constraint threshold is used as the registration health.

[0050] In this embodiment, registration health is introduced based on this. This is used to measure the spatial consistency level of the current system. In this embodiment, health is used. Defined as the threshold that satisfies the distance constraint (Preferably within 20mm) effective interior point ratio: in, Indicates satisfaction To determine the number of valid corresponding points, this embodiment will unify the current first-view point cloud data to the data coordinate system of the current second-view point cloud data using the currently estimated coordinate transformation matrix, and then calculate the distance between the nearest neighbor corresponding spatial points in both views. This represents the total number of points involved in the matching.

[0051] In some implementations of this embodiment, based on the current dual-view point cloud data, the arithmetic mean of the geometric offsets between the positions of all spatial anchor points in the current dual-view point cloud data and the standard positions in the prior model of the structural grid space is used as the anchor point offset.

[0052] To enhance robustness to dynamic vibration environments and improve drift detection sensitivity, this embodiment incorporates the set of spatial anchor points from the structural mesh spatial prior model into the health assessment process. The drift state is aided in by detecting the geometric offset between the position of the spatial anchor points in the current observation data and their standard positions in the structural mesh spatial prior model. in, This indicates the first point in the current dual-view point cloud data. The location of a spatial anchor point In the prior model of the structural mesh space, the first... The standard location of a spatial anchor point Indicates the total number of spatial anchor points. When When the threshold value exceeds the preset threshold (preferably 10 mm), the system is deemed to have a significant external parameter disturbance.

[0053] In some embodiments of this example, the step of determining whether drift is triggered based on the registration health and the anchor point offset includes: If the registration health is less than the preset health threshold and / or the anchor offset is greater than the preset anchor offset threshold, then drift is triggered.

[0054] Specifically, based on the overall registration error, registration health, and anchor point offset mentioned above, the system constructs a dynamic drift determination mechanism. The system determines that extrinsic parameter drift has occurred when one of the following conditions is met, calculated using the following formula: ,in Set a preset health threshold (preferably 0.65); ,in Set a preset anchor point offset threshold (preferably 10mm).

[0055] Once a drift detection is triggered, the dynamic drift perception layer immediately sends a drift alarm signal to the drift compensation decision layer and outputs the overall registration error. Health registration and anchor point offset This provides input for subsequent drift vector estimation and spatial reconstruction.

[0056] Through the above mechanism, the dynamic drift sensing layer of this embodiment realizes real-time monitoring and quantitative evaluation of changes in external parameters under conditions of strong vibration, low visibility and complex occlusion. It avoids the limitations of traditional methods that rely on manual calibration or offline calibration, and provides a reliable triggering basis and stable data foundation for subsequent rapid drift compensation based on structural grid space priors.

[0057] Step S3: If drift is triggered, based on the prior model of the structured grid space, obtain the initial spatial transformation matrix that unifies the current first-view point cloud data to the data coordinate system of the current second-view point cloud data.

[0058] In this embodiment, the drift compensation decision layer is used to perform structured modeling and spatial transformation estimation of the drift state after detecting a drift in the sensor's extrinsic parameters, and to generate initial pose parameters for spatial consistency recovery, thereby achieving the key transformation from "drift detection" to "geometric compensation". This layer is located between the dynamic drift sensing layer and the spatial consistency recovery layer, and is the core decision unit for achieving the fast convergence and low computational overhead recovery strategy in this embodiment.

[0059] In some implementations of this embodiment, obtaining the initial spatial transformation matrix based on the prior model of the structured grid space includes: Step S301: Extract the set of spatial anchor points, which includes several spatial anchor points in the target industrial scene that maintain geometric stability over a preset time. Step S302: Based on the anchor point positions of the spatial anchor point set in the current dual-view point cloud data and the anchor point positions of the prior model of the structural grid space, construct the drift constraint correspondence, which includes the rotation drift matrix and the translation drift vector; Step S303: Construct a rigid body transformation model based on the rotation drift matrix and the translation drift vector; Step S304: By minimizing the geometric error between the spatial anchor point set and the prior model of the structural mesh space, a drift estimation problem is constructed for the rigid body transformation model; Step S305: Introduce a robust weighting mechanism, assign different confidence weights to different spatial anchor points, and construct a weighted drift problem for the rigid body transformation model; Step S306: Solve the weighted drift problem and output the drift vector; Step S307: Based on the drift vector, generate the initial spatial transformation matrix required for spatial restoration of the current observation coordinate system.

[0060] In this embodiment, the drift compensation decision layer first receives the registration health, overall registration error, and anchor point offset output by the dynamic drift perception layer, and then performs a preliminary analysis of the deviation relationship between the current observation coordinate system and the global reference coordinate system based on the prior model of the industrial site structural grid space.

[0061] By leveraging the geometric stability of fixed structures in industrial settings (such as grid nodes, steel structure edges, and intersections of support beams) over long time scales, these structural features are used as a set of spatial anchor points. By matching the currently observed anchor point positions with the standard anchor point positions in the prior model, a drift constraint correspondence is constructed, thereby avoiding the high computational overhead and instability issues caused by relying on traditional global feature descriptors.

[0062] In step S302 of this embodiment, the drift is explicitly parameterized using a rigid body transformation model. Let the transformation of the current sensor coordinate system relative to the global reference coordinate system be: in, Represents the rotation drift matrix. This represents the translation drift vector.

[0063] In step S304 of this embodiment, the drift estimation problem is constructed by minimizing the geometric error between the spatial anchor point and the prior model. The calculation formula is as follows: in, Indicates the current observation coordinate system. The location of a spatial anchor point In the prior model of the structural mesh space, the first... The standard location of a spatial anchor point Let represent the rotation-drift matrix to be solved. This represents the translation / drift vector to be solved. This indicates the total number of spatial anchor points. Represents the rotation drift matrix. This represents the translation drift vector.

[0064] In step S305 of this embodiment, due to factors such as local occlusion, sparse point clouds, and vibration noise in industrial sites, this embodiment further introduces a robust weighting mechanism to assign different confidence weights to different spatial anchor points. To reduce the impact of outlier observations on drift estimation. Confidence weights Based on a comprehensive assessment of local point cloud density, edge sharpness, and historical stability at spatial anchor points, a weighted drift problem is constructed, represented as: in, Indicates the first The confidence weight of each spatial anchor point.

[0065] In step S305 of this embodiment, due to dust, obstruction, and depth noise in industrial sites, some spatial anchor point areas may experience point cloud deficiencies. The method for determining the confidence weight based on the local point cloud density, edge sharpness, and historical stability of the spatial anchor points is as follows: The completeness of spatial observation is measured by the number of valid points in the neighborhood of the spatial anchor point. spatial anchor points Define radius Number of point clouds in the neighborhood: in, Indicates the first The number of valid points within the neighborhood of each spatial anchor point Indicates the local search radius. Indicates the first Local point cloud density of a spatial anchor point.

[0066] Normalize the density: in, This represents the minimum local point cloud density. This represents the maximum local point cloud density. The normalized first Local point cloud density of each spatial anchor point, where The higher the density, the more complete the observation of the space anchor point.

[0067] The steel plate frame of the grid screen has obvious geometric edges, so the reliability of the edges can be evaluated by the degree of change in local point cloud curvature or normal vector.

[0068] For the set of points in the neighborhood of the spatial anchor point Calculate the local covariance matrix: in, Indicates the first Within the neighborhood of the first spatial anchor point One point, This represents the average position of the points in the neighborhood of the spatial anchor point. This indicates the degree of dispersion of the point cloud in three spatial directions.

[0069] right Perform eigenvalue decomposition: in, Local covariance matrix eigenvectors; Three eigenvalues ​​were obtained , respectively, represent the degree of spatial diffusion of the point cloud in the three main directions.

[0070] The local curvature is: in, Indicates the first Local curvature of a spatial anchor point.

[0071] Edge regions typically have a large curvature response, therefore edge sharpness is: in, Indicates the first The edge clarity of each spatial anchor point The larger the value, the more pronounced the edge structure of the spatial anchor point; low-texture, smooth areas have lower weights. Indicates the minimum local curvature. This represents the maximum local curvature.

[0072] Because of robot vibrations and slight deformations of the camera bracket in the scene, the historical stability of the same spatial anchor point within a continuous time window also needs to be considered.

[0073] Assume continuous In the frame, the first The estimated location of each spatial anchor point is: ; Calculate the first Fluctuation of spatial anchor point positions: Then the historical stability is: in, This represents the stability decay coefficient; the smaller the fluctuation, the lower the stability decay coefficient. The closer to 1, the more significantly affected by vibration. reduce, Indicates the first Historical stability of spatial anchor points.

[0074] Finally, the confidence weight is obtained by fusing three indicators: local point cloud density of spatial anchor points, edge sharpness, and historical stability. in, These are the weighting coefficients, , , Since the grid frame has a regular structure, edge features are more important for drift estimation, so the edge sharpness weight can be increased.

[0075] In step S305 of this embodiment, the weighted drift problem is solved, and the drift vector of the current dual-view point cloud data space recovery is output. .

[0076] In step S306 of this embodiment, the initial spatial transformation matrix required for spatial restoration of the current observation coordinate system is generated based on the drift vector. This is to achieve coarse registration. For example... Figure 4 The diagram shown illustrates the processing of current dual-view point cloud data by the initial spatial transformation matrix in a specific embodiment of the present invention.

[0077] Unlike traditional ICP random initialization or identity matrix initialization, the present invention... The initial error is generated directly from prior constraints in the structural mesh space, which significantly reduces the initial error to within the structural scale (typically translation error <50mm, rotation error <3°), thus providing high-quality initial values ​​for subsequent staged ICP registration.

[0078] Meanwhile, an adaptive state machine is built within the drift compensation decision layer to automatically switch between three states: "normal operation - drift confirmation - compensation execution". Normal operating status: Registration health The system maintains monitoring without triggering compensation. Drift Confirmation Status: Registration Health or anchor point offset The system confirmed that a drift had occurred and entered the compensation execution state; Compensation execution status: Output initial transformation matrix The spatial consistency recovery layer is triggered to perform registration recovery. After completion, the health is reassessed. And anchor point offset Then it will return to normal operating status.

[0079] Through the above mechanism, the drift compensation decision layer of the present invention realizes fast drift estimation and initial pose constraint generation based on structural grid space prior. It effectively avoids the problems of slow convergence and easy getting trapped in local optima caused by relying on global optimization or random initialization in traditional methods. It provides a stable and near-real pose initial solution for subsequent staged ICP registration, thereby significantly improving the real-time performance and robustness of the overall system in high-vibration industrial environments.

[0080] Step S4: Using the initial spatial transformation matrix as the initial matrix for phased iteration, and based on the phased iterative nearest point optimization strategy of the structural grid space prior constraints, obtain the optimal spatial transformation matrix that unifies the current first-view point cloud data to the data coordinate system of the current second-view point cloud data.

[0081] In this embodiment, the spatial consistency restoration layer is used to perform high-precision registration and global coordinate unification of multi-view point clouds based on the initial pose parameters output by the structured mesh spatial prior and the drift compensation decision layer after detecting and estimating sensor extrinsic parameter drift, thereby restoring the spatial consistency of the system under strong vibration industrial environment. The spatial consistency restoration layer is the core execution module for realizing drift correction, geometric alignment, and spatial unification, and directly determines the spatial accuracy and reliability of the system after restoration.

[0082] In this embodiment, the initial transformation matrix output by the decision layer is compensated for by drift. Starting from this point, a phased iterative nearest point optimization strategy based on prior constraints of the structured grid space is introduced to perform progressively fine registration of multi-view point clouds.

[0083] Unlike traditional ICP which relies on random initial poses or identity matrix initialization, this embodiment utilizes the geometric anchoring relationships provided by the prior in the structured grid space to strictly limit the search space to a physically feasible local neighborhood, thereby significantly improving the convergence speed and reducing the risk of getting trapped in local optima.

[0084] In some embodiments of this example, the step of using the initial spatial transformation matrix as the initial matrix for phased iteration, and based on the phased iterative nearest point optimization strategy of structural grid spatial prior constraints, to obtain the optimal spatial transformation matrix that unifies the current first-view point cloud data to the data coordinate system of the current second-view point cloud data includes: To address the spatial consistency recovery problem, an ICP objective function is established to achieve intermediate registration. in, This is the intermediate-level registration space transformation matrix. This represents the transformation matrix to be solved during the phased iterative process. For spatial points in the current dual-view point cloud data, For spatial points in the prior model of the structured mesh space, This represents the set of corresponding points established by nearest neighbor search. , , This is the reference point cloud corresponding to the prior model in the structured mesh space. This is the current dual-view point cloud data.

[0085] like Figure 5 The diagram shown is a schematic representation of how the intermediate registration spatial transformation matrix processes the current dual-view point cloud data in a specific embodiment of the present invention.

[0086] A phased decay search radius mechanism is introduced to constrain the search range of the corresponding point set established by the nearest neighbor search, so that the ICP objective function gradually converges from coarse to fine: in, The initial search radius is (preferably 200 mm, used in the coarse registration stage). The attenuation factor is preferably 0.8. Indicates the first The search radius at the next iteration This is the maximum number of iterations (preferably 30).

[0087] This strategy enables the registration process to have strong global alignment capabilities in the initial stage, and gradually shifts to local high-precision optimization in the later stage, thereby achieving stable convergence. Simultaneously, due to the initial spatial transformation matrix... The structured mesh has already constrained the position to be near the true pose. Even in the initial stage with a large search radius, the search of corresponding points is less likely to produce incorrect matches, which further ensures the convergence stability.

[0088] Building upon this, this embodiment further introduces geometric constraints based on prior spatial knowledge of the structural mesh to enhance the robustness of ICP under high noise and local occlusion conditions. Specifically, by using grid nodes, edge intersections, and planar structures as rigid geometric constraints, the point cloud matching process is guided to prioritize structural consistency, thereby suppressing erroneous correspondences caused by occlusion, dust, or reconstruction noise. Based on spatial anchor point constraints, the ICP objective function is extended to an ICP objective function with prior constraints to achieve precise registration. in, For spatial anchor point constraints, The constraint weight coefficient (preferably 0.3) is used to balance the relative importance of the point cloud registration term and the anchor point constraint term. Indicates the current observation coordinate system. The location of a spatial anchor point In the prior model of the structural mesh space, the first... The standard location of a spatial anchor point This indicates the total number of spatial anchor points. This represents the optimal spatial transformation matrix.

[0089] like Figure 6 The diagram illustrates the optimal spatial transformation matrix for processing current dual-view point cloud data in a specific embodiment of the present invention. Using the initial spatial transformation matrix as the initial matrix for phased iteration, the ICP objective function with prior constraints is iteratively solved. To avoid transient mismatches under vibration conditions, this layer also incorporates registration health. The iterative process is dynamically monitored. When the registration health decreases or the overall registration error rises to an abnormal range, the preset health threshold and search radius are automatically adjusted to achieve adaptive stable convergence control. Finally, through multi-stage iterative optimization, the optimal spatial transformation matrix is ​​obtained. This is then applied to the current multi-view point cloud to achieve global alignment in a unified coordinate system. Based on the optimal spatial transformation matrix, the current first-view point cloud data is unified to the data coordinate system of the current second-view point cloud data. The calculation formula is as follows: in, For the current first-person point cloud data, This is to correct the first-view point cloud data by unifying the current first-view point cloud data into the data coordinate system of the current second-view point cloud data through the optimal spatial transformation matrix.

[0090] The corrected first-view point cloud data and the current second-view point cloud data are fused to obtain corrected dual-view point cloud data, achieving global alignment under a unified coordinate system.

[0091] like Figure 7 The diagram shown is a schematic diagram of a broken scene environment modeling in a specific embodiment of the present invention.

[0092] After spatial alignment is completed, all viewpoint data are fused into the same global reference frame, providing a consistent and drift-free spatial basis for subsequent 3D reconstruction and geometric parameter extraction.

[0093] Through the above mechanism, the spatial consistency restoration layer of this embodiment achieves highly robust multi-view registration and spatial unification under conditions of strong vibration, frequent impact and severe occlusion. This not only significantly improves the convergence stability and computational efficiency of the ICP algorithm, but also ensures that the system completes high-precision spatial restoration within a 450ms industrial control cycle, thereby meeting the dual requirements of real-time performance and millimeter-level accuracy for heavy industrial automation operations.

[0094] In some implementations of this embodiment, the output and application layer is used to output the corrected system status information and aligned spatial data to the outside world after the spatial consistency restoration is completed, and to provide a unified and reliable spatial reference for downstream tasks.

[0095] The optimal spatial transformation matrix obtained by solving the spatial consistency restoration layer. The data is output to the upper layer of the perception system to update the extrinsic parameter calibration results between various visual sensors, so that all subsequently acquired data automatically falls into a unified spatial reference frame.

[0096] The output is corrected dual-view point cloud data converted to a unified coordinate system. This point cloud can be directly used for subsequent tasks such as target recognition, scene modeling, 3D reconstruction, or robot localization.

[0097] Register health Overall registration error after restoration The state machine stage information is fed back to the human-machine interface or the upper control system so that operators or the upper decision-making system can grasp the system's operating status.

[0098] This embodiment focuses on dynamic drift compensation and spatial consistency restoration, with its core outputs being the corrected spatial reference and aligned point cloud data. Through the above outputs and application layer, a complete closed loop is achieved from "drift detection" to "compensation execution" and then to "spatial reference output," providing reliable technical support for industrial robot systems to maintain perception accuracy and operational stability over long periods in environments with strong vibrations.

[0099] According to the second aspect of this application, such as Figure 9 As shown, this embodiment provides a drift compensation and spatial consistency restoration system based on spatial priors, comprising: The structural mesh space prior model construction module is used to build a structural mesh space prior model based on the original dual-view point cloud data in the target industrial scene. The drift determination module is used to obtain the registration health and anchor point offset based on the current dual-view point cloud data in the target industrial scene, and determine whether drift is triggered based on the registration health and anchor point offset. The current dual-view point cloud data includes the current first-view point cloud data and the current second-view point cloud data. The initial spatial transformation matrix acquisition module is used to obtain the initial spatial transformation matrix in the data coordinate system of the current first-view point cloud data to the current second-view point cloud data if drift is triggered, based on the structural grid spatial prior model. The optimal spatial transformation matrix acquisition module is used to obtain the optimal spatial transformation matrix in the data coordinate system that unifies the current first-view point cloud data to the current second-view point cloud data, based on the phased iterative nearest point optimization strategy of the phased iterative matrix of the initial spatial transformation matrix as the initial matrix of the phased iteration and the prior constraints of the structured grid space.

[0100] Specifically, this embodiment corresponds one-to-one with the above method embodiments. The functions of each module have been described in detail in the corresponding method embodiments, so they will not be repeated here.

[0101] According to a third aspect of this application, as shown in 10, this embodiment provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the steps as described in the method embodiment above.

[0102] For example, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the electronic device.

[0103] The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the schematic diagram is merely an example of an electronic device and does not constitute a limitation on the electronic device. It may include more or fewer components than illustrated, or combine certain components, or different components. For example, the electronic device may also include input / output devices, network access devices, buses, etc.

[0104] The processor can be a Central Processing Unit (CPU), or 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. The general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the electronic device, connecting various parts of the electronic device through various interfaces and lines.

[0105] The memory can be used to store the computer programs and / or modules. The processor implements various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory and by calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0106] If the modules integrated into the electronic device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0107] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0108] Accordingly, embodiments of the present invention provide a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the steps of the method as described in the above embodiments.

[0109] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.

Claims

1. A method for drift compensation and spatial consistency restoration based on spatial priors, characterized in that, include: A prior model of the structured grid space is established based on the original dual-view point cloud data in the target industrial scenario. Based on the current dual-view point cloud data in the target industrial scene, the registration health and anchor point offset are obtained. Based on the registration health and anchor point offset, it is determined whether drift is triggered. The current dual-view point cloud data includes the current first-view point cloud data and the current second-view point cloud data. If drift is triggered, based on the prior model of the structured grid space, obtain the initial spatial transformation matrix to unify the current first-view point cloud data into the data coordinate system of the current second-view point cloud data; Using the initial spatial transformation matrix as the initial matrix for phased iteration, and based on the phased iterative nearest point optimization strategy of the structural grid spatial prior constraints, the optimal spatial transformation matrix that unifies the current first-view point cloud data to the data coordinate system of the current second-view point cloud data is obtained.

2. The method according to claim 1, characterized in that, The establishment of a priori structural mesh space model based on the original dual-view point cloud data in the target industrial scene includes: Geometric feature analysis is performed on the original dual-view point cloud data to segment out the structural features of the target industrial scene, wherein the structural features include structural edges, planar regions and regular grids; The distance, angle, and connectivity relationships between structural features are extracted from the original dual-view point cloud data to form a spatial topology network. Representative grid nodes, edge intersections, and key points on the fixed support structure are selected from the original dual-view point cloud data as a set of spatial anchor points. Based on the structural features, the spatial topology network, and the set of spatial anchor points, a priori model of the structural mesh space is established.

3. The method according to claim 1, characterized in that: Based on the current dual-view point cloud data, the proportion of effective interior points whose distances to each other's nearest neighbors in the dual-view system are within the distance constraint threshold is used as the registration health score.

4. The method according to claim 1, characterized in that: Based on the current dual-view point cloud data, the arithmetic mean of the geometric offsets between the positions of all spatial anchor points in the current dual-view point cloud data and the standard positions in the prior model of the structured grid space is taken as the anchor point offset.

5. The method according to claim 1, characterized in that, The determination of whether drift is triggered based on the registration health and the anchor point offset includes: If the registration health is less than the preset health threshold and / or the anchor offset is greater than the preset anchor offset threshold, then drift is triggered.

6. The method according to claim 1, characterized in that, The initial spatial transformation matrix is ​​obtained based on the prior model of the structured grid space, including: Extract a set of spatial anchor points, which includes several spatial anchor points in the target industrial scene that maintain geometric stability over a preset time. Based on the anchor point positions of the spatial anchor point set in the current dual-view point cloud data and the anchor point positions of the prior model of the structural grid space, a drift constraint correspondence is constructed, which includes a rotation drift matrix and a translation drift vector. A rigid body transformation model is constructed based on the rotation drift matrix and the translation drift vector; By minimizing the geometric error between the spatial anchor point set and the prior model of the structural mesh space in the current dual-view point cloud data, a drift estimation problem is constructed for the rigid body transformation model, and the calculation formula is as follows: in, This indicates the first point in the current dual-view point cloud data. The location of a spatial anchor point In the prior model of the structural mesh space, the first... The standard location of a spatial anchor point Let represent the rotation-drift matrix to be solved. This represents the translation / drift vector to be solved. This indicates the total number of spatial anchor points. Represents the rotation drift matrix. Represents the translation drift vector; By introducing a robust weighting mechanism and assigning different confidence weights to different spatial anchor points, a weighted drift problem is constructed for the rigid body transformation model, expressed as follows: in, Indicates the first Confidence weights of spatial anchor points; Solve the weighted drift problem and output the drift vector. ; Based on the drift vector, generate the initial spatial transformation matrix required for spatial reconstruction: in, This represents the initial spatial transformation matrix.

7. The method according to claim 1, characterized in that, The step of using the initial spatial transformation matrix as the initial matrix for phased iteration, and based on the prior constraints of the structured grid space, to obtain the optimal spatial transformation matrix that unifies the current first-view point cloud data to the data coordinate system of the current second-view point cloud data, includes: Establish the spatial consistency recovery problem and the ICP objective function; in, This is the intermediate-level registration space transformation matrix. This represents the transformation matrix to be solved during the phased iterative process. For spatial points in the current dual-view point cloud data, For spatial points in the prior model of the structured mesh space, This represents the set of corresponding points established by the nearest neighbor search; A phased decay search radius mechanism is introduced to constrain the search range of the corresponding point set established by the nearest neighbor search, so that the ICP objective function gradually converges from coarse to fine: in, As the initial search radius, As the attenuation factor, Indicates the first The search radius at the next iteration This represents the maximum number of iterations. Based on the spatial anchor point constraint, the ICP objective function is extended to an ICP objective function with prior constraints: in, To constrain the weighting coefficients, This indicates the first point in the current dual-view point cloud data. The location of a spatial anchor point In the prior model of the structural mesh space, the first... The standard location of a spatial anchor point This indicates the total number of spatial anchor points. Represents the optimal spatial transformation matrix; Using the initial spatial transformation matrix as the initial matrix for phased iteration, the ICP objective function with prior constraints is solved iteratively to obtain the optimal spatial transformation matrix. Based on the optimal spatial transformation matrix, the current first-view point cloud data is unified to the data coordinate system of the current second-view point cloud data.

8. A drift compensation and spatial consistency restoration system based on spatial priors, characterized in that, include: The structural mesh space prior model construction module is used to build a structural mesh space prior model based on the original dual-view point cloud data in the target industrial scene. The drift determination module is used to obtain the registration health and anchor point offset based on the current dual-view point cloud data in the target industrial scene, and determine whether drift is triggered based on the registration health and anchor point offset. The current dual-view point cloud data includes the current first-view point cloud data and the current second-view point cloud data. The initial spatial transformation matrix acquisition module is used to obtain the initial spatial transformation matrix in the data coordinate system of the current first-view point cloud data to the current second-view point cloud data if drift is triggered, based on the structural grid spatial prior model. The optimal spatial transformation matrix acquisition module is used to obtain the optimal spatial transformation matrix in the data coordinate system that unifies the current first-view point cloud data to the current second-view point cloud data, based on the phased iterative nearest point optimization strategy of the phased iterative matrix of the initial spatial transformation matrix as the initial matrix of the phased iteration and the prior constraints of the structured grid space.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program includes executable instructions that, when executed by a processor, implement the method described in any one of claims 1-7.

10. An electronic device, characterized in that, include: One or more processors; A memory for storing executable instructions of the processor, which, when executed by the one or more processors, cause the one or more processors to perform the method according to any one of claims 1-7.