Prefabricated component detection and repair system based on digital twinning

By constructing implicit surface equations and separating point cloud data, generating watertight manifold meshes and solving embedded part parameters, the problem of virtual assembly and interference detection of prefabricated components in a digital twin environment is solved, achieving high-precision virtual detection and repair.

CN122948876BActive Publication Date: 2026-11-20CHINA RAILWAY CONSTR CHONGQING CONSTR TECH CO LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202611433243.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-16
Publication Date
2026-11-20
Estimated Expiration
2046-09-16

AI Technical Summary

Technical Problem

Existing technologies struggle to obtain high-precision three-dimensional geometric mesh models of prefabricated components and actual spatial parameters of embedded parts, making it impossible to achieve virtual assembly interference detection in a digital twin environment, and also unable to automatically generate accurate CNC repair and processing paths.

Method used

By collecting point cloud data of prefabricated components, feature matching and topological confidence scores are used to register them to the BIM design model. Implicit surface equations are constructed and the main point cloud and embedded part point cloud are separated to generate a watertight manifold mesh. The actual spatial parameters of the embedded parts are calculated, and the BIM design model is updated to generate a digital twin for virtual assembly interference detection and repair.

Benefits of technology

It achieves high-fidelity virtual assembly interference detection, which can detect assembly problems in advance and perform repairs when interference exceeds the standard, thus avoiding the risk of assembly interference on the construction site.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122948876B_ABST
    Figure CN122948876B_ABST
Patent Text Reader

Abstract

The application discloses an assembly type component detection and repair system based on digital twinning, and relates to the field of buildings.The component point cloud and BIM reference data are acquired by a collection module, the point cloud is accurately matched to the BIM coordinate system by using feature matching and topological confidence score, the implicit surface equation is constructed based on the matched data, the curvature feature is used to separate the main body and the embedded part point cloud, the main body equation is smoothed and optimized, the high-fidelity water-tight flow form grid is extracted therefrom, the actual center and deflection parameters of the embedded part are solved by combining the separated point cloud, the water-tight grid and the space parameters are used to update the BIM model to generate the digital twinning body, and the multi-section component virtual assembly interference detection is performed.The application realizes the high-precision three-dimensional reconstruction of the component, the accurate positioning of the embedded part and the early interference warning and repair, and effectively guarantees the assembly building quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of building technology, and in particular to a prefabricated component inspection and repair system based on digital twins. Background Technology

[0002] With the increasing demands for building quality in the construction industry, prefabricated concrete components, as important structural units in modern buildings, are widely used in high-rise buildings, bridges, tunnels, and other projects. In the actual engineering applications of prefabricated buildings, the external geometric features, surface flatness, and spatial positioning accuracy of embedded parts of the components directly determine the assembly quality and sealing performance of adjacent components on the construction site. The invention patent with publication number CN120086701A discloses a non-destructive testing method for prefabricated concrete components. This method mainly obtains the echo signals of all concrete components in the same batch in different testing directions, decomposes the echo signals to obtain several IMF components, and obtains the corrected defect type integrity of each concrete component in each testing direction based on the difference in the clustering results of the IMF components of each concrete component in each testing direction and all testing directions. Finally, the comprehensive damage degree is obtained and weighted correction is performed. The concrete components are then tested based on the corrected damage degree.

[0003] The aforementioned existing detection methods mainly rely on the propagation characteristics of ultrasound in concrete. The focus of detection is on identifying internal defects in components, such as honeycomb-like pores caused by aggregate segregation, vertical cracks caused by insufficient vibration, and delamination interfaces induced by improper steam curing. This time-frequency domain analysis method based on acoustic echo signals cannot obtain continuous three-dimensional geometric space data of the component's exterior, nor can it extract the manifold mesh characterizing the outer surface of the component. Existing technologies cannot perform feature separation and geometric positioning of embedded parts such as metal sleeves nested at the end face, nor can they calculate the actual center coordinates and actual axis unit vector of the embedded parts in the real physical state. Precisely because of the lack of high-fidelity three-dimensional geometric data and spatial deviation parameters of embedded parts, existing technologies cannot update the design model to generate a highly accurate digital twin, and therefore cannot perform virtual assembly and interference detection simulation of multi-section components in digital space. Summary of the Invention

[0004] The technical problem solved by this invention is that existing technologies are unable to obtain high-precision three-dimensional geometric mesh models of prefabricated components and actual spatial parameters of embedded parts, cannot realize virtual assembly interference detection in a digital twin environment, and cannot automatically generate accurate CNC repair processing paths for areas with excessive interference.

[0005] To solve the above-mentioned technical problems, the present invention provides the following technical solution: a prefabricated component inspection and repair system based on digital twins, comprising:

[0006] The acquisition module is used to acquire point cloud data of the prefabricated components to be inspected and extract baseline geometric data from the BIM design model.

[0007] The registration module, through feature matching and filtering based on topological confidence scores, registers the point cloud data to the coordinate system of the BIM design model;

[0008] The reconstruction module constructs implicit surface equations based on the registered point cloud data, uses curvature features to separate the point cloud data into main point cloud and embedded part point cloud, and performs smooth optimization on the implicit surface equations corresponding to the main point cloud.

[0009] The mesh generation module is used to extract watertight manifold meshes from the smoothed and optimized implicit surface equations;

[0010] The embedded part calculation module solves for the actual spatial parameters of the embedded part based on the point cloud and watertight manifold mesh of the embedded part;

[0011] The detection and repair module updates the BIM design model using the watertight manifold mesh and actual spatial parameters to generate a digital twin, performs virtual assembly interference detection based on the digital twin, and performs repair when interference exceeds the standard.

[0012] Preferably, the point cloud data is obtained by preprocessing the initial point cloud data acquired by the laser scanner;

[0013] The preprocessing includes voxel mesh downsampling and normal vector estimation;

[0014] The point cloud data includes a first measured point cloud matrix and the normal vector of the first measured point;

[0015] The three-dimensional coordinates of the first measured point in the point cloud data are located in the local measurement coordinate system.

[0016] The reference geometric data includes a set of main reference points and a set of reference parameters for embedded parts;

[0017] The main reference point set consists of the vertex coordinates representing the concrete geometric shell and their corresponding normal vectors;

[0018] The set of reference parameters for embedded parts includes the design center coordinates and the unit direction vector of the design axis for each embedded part.

[0019] The coordinate values ​​of the main reference point set and the embedded part reference parameter set are both located in the BIM global coordinate system.

[0020] Preferably, in the registration module, the feature matching process includes:

[0021] Calculate the fast point feature histogram descriptor for each first measured point in the first measured point cloud matrix and the fast point feature histogram descriptor for each reference point in the main reference point set;

[0022] Feature matching is performed based on the Euclidean distance between descriptors to form initial matching point pairs, and valid matching point pairs are filtered through cross-correspondence verification.

[0023] Each valid matching point pair is treated as a node. If the difference between the distance between the first measured point corresponding to the two nodes and the distance between the reference point is less than the preset distance deviation threshold, then an edge connection is established between the two nodes to construct a topology graph.

[0024] Preferably, the topological confidence score filtering process in the registration module specifically includes:

[0025] The local confidence score of each node is calculated based on the topology graph. The local confidence score is determined based on the number of closed triangles to which the node belongs and the local clustering coefficient.

[0026] A row random matrix is ​​constructed based on the edge weights. The global influence value of each node is calculated iteratively through a Markov chain. The topological confidence score of the node is then calculated in combination with the local confidence score.

[0027] The process of registering the point cloud data to the coordinate system of the BIM design model specifically includes:

[0028] Nodes with topological confidence scores greater than a preset threshold are selected as high-confidence in-point sets. Rigid body transformation parameters are calculated using a random sampling consensus algorithm. The first measured point cloud data is then transformed to the coordinate system of the BIM design model to obtain the second measured point cloud matrix.

[0029] Preferably, the process of constructing the implicit surface equation in the reconstruction module specifically includes:

[0030] Based on the second measured point cloud data, a three-dimensional bounding box is constructed, and B-spline control points are obtained by dividing the data according to a preset grid spacing. A cubic B-spline implicit field equation in the form of a three-variable tensor product is then constructed.

[0031] For each point in the second measured point cloud data, offset by a preset distance along the positive and negative sides of the normal vector direction to generate external constraint points and internal constraint points, and assign corresponding distance values ​​to them respectively;

[0032] Based on surface points, external constraint points, and internal constraint points, and combined with the confidence weight matrix, a normal equation is established and solved to obtain the initial implicit field coefficients.

[0033] Preferably, the process of separating the main point cloud and the embedded part point cloud in the reconstruction module specifically includes:

[0034] Calculate the gradient vector and Hessian matrix of the implicit field equation, solve for the eigenvalues ​​of the shape operator matrix, and obtain the principal curvature of each point in the point cloud;

[0035] If the sum of the absolute values ​​of the principal curvatures of a point is greater than the preset curvature threshold, and the point is located within the preset range of the embedded part design center, then the point is classified as the embedded part point cloud, and the remaining points are classified as the main point cloud.

[0036] Preferably, the process of smoothing and optimizing the implicit surface equation in the reconstruction module specifically includes:

[0037] An optimized functional containing data fitting terms and curvature regularization terms is constructed based on the main point cloud.

[0038] The optimized functional is solved using a gradient-based optimization algorithm to obtain the optimized implicit field coefficients.

[0039] Preferably, the process of extracting the watertight manifold mesh in the mesh generation module specifically includes:

[0040] Based on the main point cloud set, with the coordinates of the points in the main point cloud set as the initial positions, the points are projected onto the zero isosurface of the optimized implicit field equation using the Newton iteration method with gradient normalization to obtain a narrowband constrained point set.

[0041] An octree spatial partitioning structure is used to adaptively partition the space where the narrowband constraint point set is located, and the resulting leaf nodes are used as the mesh vertex regions.

[0042] For each grid vertex region, a quadratic error function is constructed that includes a regularized drag term based on the centroid of the narrowband constraint point. The position representing the vertex is determined by solving the quadratic error function.

[0043] The representative vertices are connected based on the adjacency relationship of the octree to generate facets, and non-manifold distortion detection is performed on the generated facets;

[0044] If a non-manifold structure is detected, the common ancestor node is traced in the octree hierarchy, and vertex merging operations within the range of the common ancestor node are prohibited, outputting a watertight manifold mesh.

[0045] Preferably, the process of solving the actual spatial parameters of the embedded part in the embedded part calculation module specifically includes:

[0046] Extract a subset of the embedded point cloud for any embedded component;

[0047] Extract the local average normal vector of the region where the embedded part is located from the watertight manifold grid;

[0048] A nonlinear objective function is constructed, which includes a cylindrical surface geometric fitting error term, a directional coupling penalty term, and an axial sliding anchoring term.

[0049] The nonlinear objective function is solved iteratively to obtain the actual center coordinates and actual axis direction vector of the embedded part. The actual center coordinates and actual axis direction vector of the embedded part constitute the actual spatial parameters.

[0050] The spatial deviation of the embedded part is calculated based on the difference between the actual center coordinates and the design center coordinates, as well as the angle between the actual axis direction vector and the design axis direction vector.

[0051] Preferably, the processing procedure of the detection and repair module specifically includes:

[0052] The geometric data of the watertight manifold mesh and the spatial deviation of the embedded parts are written into the BIM design model to generate a digital twin model.

[0053] Import the digital twin models of the two components for virtual assembly, and obtain the intersection entity of the two components through entity Boolean intersection operation;

[0054] The maximum interference depth and average interference depth are calculated based on the intersection entities.

[0055] When the maximum interference depth exceeds the first preset threshold, a CNC repair processing path is generated based on the projection of the intersection entities on the mesh surface;

[0056] When the average interference depth exceeds the second preset threshold, an early warning message is issued.

[0057] The beneficial effects of this invention are as follows: Based on the registered point cloud, this invention constructs an implicit surface equation and uses the principal curvature features of the shape operator matrix to separate the point cloud into the main point cloud and the embedded part point cloud. Then, an optimized functional containing a specific curvature regularization term is constructed to smooth the main implicit surface. In the mesh extraction stage, this invention adopts octree adaptive spatial partitioning and introduces a regularization drag term based on the centroid of narrow-band constraint points in the quadratic error function to prevent mesh vertex drift. At the same time, it combines Euler eigenvalues ​​to perform real-time non-manifold distortion detection, blocking the generation of illegal topologies from the underlying data structure, ensuring that the output mesh model is globally watertight, self-intersecting, and hole-free. For the embedded part solution, this invention constructs a nonlinear objective function, overcoming the defect of matrix singularity caused by translation along the axis in conventional cylindrical fitting, and capturing the actual deflection posture of the embedded part in accordance with local concrete deformation. Attached Figure Description

[0058] Figure 1 This is a basic flowchart of a digital twin-based prefabricated component inspection and repair system provided in one embodiment of the present invention. Detailed Implementation

[0059] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0060] Example, refer to Figure 1 It provides a digital twin-based prefabricated component inspection and repair system, including:

[0061] The acquisition module is used to acquire point cloud data of the prefabricated components to be inspected and extract baseline geometric data from the BIM design model.

[0062] The registration module registers point cloud data to the coordinate system of the BIM design model through feature matching and filtering based on topological confidence scores.

[0063] The reconstruction module constructs implicit surface equations based on the registered point cloud data, uses curvature features to separate the point cloud data into main point cloud and embedded part point cloud, and performs smooth optimization on the implicit surface equations corresponding to the main point cloud.

[0064] The mesh generation module is used to extract watertight manifold meshes from the smoothed and optimized implicit surface equations;

[0065] The embedded part calculation module solves for the actual spatial parameters of the embedded part based on the point cloud and watertight manifold mesh of the embedded part;

[0066] The detection and repair module updates the BIM design model using a watertight manifold mesh and actual spatial parameters to generate a digital twin. Based on the digital twin, it performs virtual assembly interference detection and performs repair when interference exceeds the standard.

[0067] This invention overcomes the difficulty of directly performing high-precision local feature processing on discrete point clouds by converting registered point cloud data into implicit surface equations and using curvature features to separate the point clouds of the main body and embedded parts. Based on the extracted watertight manifold mesh and the calculated actual parameters of the embedded parts, a digital twin is constructed, realizing virtual assembly interference detection based on a high-fidelity model before leaving the factory. This can detect assembly problems in real physical conditions in advance and perform repairs when interference exceeds the standard, effectively avoiding the risk of assembly interference on the construction site.

[0068] Point cloud data is obtained by preprocessing the initial point cloud data acquired by the laser scanner;

[0069] Preprocessing includes voxel mesh downsampling and normal vector estimation;

[0070] Point cloud data includes the first measured point cloud matrix and the normal vector of the first measured point;

[0071] The three-dimensional coordinates of the first measured point in the point cloud data are located in the local measurement coordinate system;

[0072] This embodiment uses a prefabricated concrete box culvert as the inspection object. The end face of the box culvert is embedded with multiple sets of pre-embedded parts, which are metal sleeves. There are gradual wall thickness zones and waterproof tongue and groove joints at the joints. In this embodiment, data is collected at the factory inspection station of the concrete box culvert. In this embodiment, a three-dimensional laser scanner deployed at the four corners of the station is used to obtain the point cloud data of the outer wall of the concrete box culvert, and a three-dimensional laser scanner deployed at the center of the cavity inside the box culvert is used to obtain the point cloud data of the inner wall. Eight spherical targets with a diameter of 100mm are evenly distributed around the station and inside the box culvert. The eight targets should not all be placed in the same horizontal plane. They should be arranged in layers in the vertical direction. The coverage area in the elevation direction should not be less than 60% of the height of the box culvert. Any three spherical targets should not be approximately collinear, and any four spherical targets should not be approximately coplanar.

[0073] The 3D laser scanner automatically extracts the point cloud from the target surface and fits the coordinates of the sphere center. Using the target sphere center as the control point, a rigid registration method based on singular value decomposition is used to uniformly transform the point cloud data of the 3D laser scanner to a pre-established local measurement coordinate system to obtain the initial pose of each set of point cloud data. Using the initial pose of each set of point cloud data as the initial value, the iterative nearest point algorithm is executed on the point cloud array of each set of overlapping areas. By minimizing the sum of squared Euclidean distances between corresponding point pairs, the rigid body transformation parameters between stations are further optimized to reduce the stitching residual.

[0074] The local measurement coordinate system takes the pre-set mark point on the ground of the inspection station as the origin, and uses a total station to calibrate the coordinates of the point in space. The local measurement coordinate system takes the length direction of the station as the X-axis, the width direction as the Y-axis, and the vertical upward direction as the Z-axis to form a right-hand rectangular coordinate system.

[0075] After fusing the point cloud data from each group, an initial point cloud matrix is ​​obtained. The size is ,in This represents the total number of discrete points contained in the point cloud. Each row contains three elements representing the three-dimensional coordinates of a spatial point in the local measurement coordinate system. During the fusion process, the serial number of the source scanner for each point is recorded, and the three-dimensional coordinates of the optical center of each scanner in the local measurement coordinate system are pre-acquired through calibration, denoted as... to This is used to unify the orientation of subsequent normal vectors;

[0076] Due to scaffolding obstructions and residual demolding slurry on site, the initial point cloud matrix... The initial point cloud matrix contains a large number of background noise points and attachment points that do not belong to the actual surface of the box culvert. In order to reduce the subsequent computational load and suppress the impact of local over-dense sampling on feature representation, this embodiment modifies the initial point cloud matrix. Perform voxel mesh downsampling;

[0077] Specifically, the initial point cloud matrix The three-dimensional space is divided into cubic voxels with a side length of 3.0 mm along each coordinate axis. The arithmetic mean of the three-dimensional coordinates of all points falling within the same voxel is calculated. The coordinates of this mean point are used as the representative point coordinates of that voxel. After traversing all voxels, the representative point coordinates of each voxel are arranged in rows to obtain the first measured point cloud matrix after downsampling. The size is ,in To determine the number of points retained after downsampling, the first measured point cloud matrix is... Each point in the diagram is designated as the first measured point;

[0078] During downsampling, if a voxel contains points from multiple scanners, the coordinates are weighted by the reciprocal of the distance from the optical center of each scanner to the center of the voxel, and the scanner number with the largest weight is recorded as the source station mark of the representative point, while the optical center coordinates of the source scanner are retained.

[0079] After downsampling, the first measured point cloud matrix is ​​processed. The normal vectors of each point in the matrix are estimated. Specifically, the normal vectors of the first measured point cloud matrix are estimated. For each point in the array, a KD-Tree search is used to obtain the array containing that point itself. The nearest neighbor point, Take 15, and use the principal component analysis algorithm to... The three-dimensional coordinates of the nearest neighbor points are used for plane fitting, and the eigenvector corresponding to the smallest eigenvalue is taken as the initial normal vector at that point.

[0080] Since the box culvert is a hollow, thin-walled structure, it is necessary to ensure that the normal vectors of the point clouds on both the inner and outer surfaces are consistently directed away from the solid surface, i.e., pointing towards the external space. For the first measured point cloud matrix... For each first measured point, using its pre-recorded source scanner optical center coordinates, to One of them is used as the viewpoint reference, and the direction vector from the first measured point to the optical center coordinate is calculated as the viewpoint vector;

[0081] Whether the scanner is placed outside the box culvert to scan the outer wall or inside the box culvert cavity to scan the inner wall, the optical center of the scanner must be located outside the concrete entity. Therefore, if the dot product of the initial unit normal vector and the viewpoint vector is less than 0, that is, the angle is greater than 90°, it indicates that the normal vector points into the entity. In this case, the sign of the initial normal vector is reversed. Otherwise, the direction is kept unchanged, and the direction of the normal vectors of the outer surface and the inner wall surface can be uniformly adjusted to be away from the concrete entity surface.

[0082] Divide the initial normal vector after inverting or maintaining its direction by its own magnitude to obtain a unit normal vector with a magnitude of 1, thus unifying the orientation of the normal vectors. After the above processing, each first measured point obtains its three-dimensional coordinates and corresponding unit normal vector, which together constitute the point cloud data.

[0083] The reference geometric data includes the main reference point set and the embedded part reference parameter set;

[0084] The main reference point set consists of the vertex coordinates representing the concrete geometric shell and their corresponding normal vectors;

[0085] The reference parameter set for embedded parts includes the design center coordinates and the unit direction vector of the design axis for each embedded part;

[0086] The coordinate values ​​of both the main reference point set and the embedded part reference parameter set are located in the BIM global coordinate system.

[0087] The BIM design model of the prefabricated component to be inspected is collected. The BIM design model is stored in the IFC standard format and has its own independent BIM global coordinate system. For NURBS surface geometry, it is discretized into triangular mesh with a chord height error of no more than 0.1 mm. For planar geometry, its triangulation results are directly extracted. The vertex coordinates of all triangular faces are extracted from the discretized triangular mesh, and after deduplication, a reference geometric matrix is ​​constructed. ; Reference geometric matrix Size is Each row represents the 3D coordinates of a vertex in the BIM global coordinate system, and records the indexes of all triangles containing each vertex. This represents the total number of vertices after deduplication of the triangular mesh in the BIM model.

[0088] For each vertex, the unit normal vectors of the triangular facets it belongs to are normalized by weighted average of the facet areas and used as the normal vector of that vertex. In the BIM model, the vertex order of the triangular facets is defined according to the right-hand rule to define the outward normal vector. Therefore, the normal vector after area weighted average points to the outside of the solid.

[0089] Based on the material attribute labels attached to the BIM model, the baseline geometry matrix is... Decomposed into the main reference point set and embedded parts reference parameter set ;

[0090] Main reference point set It consists of the vertex coordinates representing the concrete geometric shell and their corresponding normal vectors, and is used for the main reference point set. A spatial surface profile tolerance threshold of ±3.0mm is assigned. This threshold is selected based on the allowable deviation of the dimensional shape of prefabricated components in the process requirements for assembled components. (Main reference point set) Each point in the diagram is designated as a reference point;

[0091] Embedded part reference parameter set Each embedded part on the end face is extracted individually, and each embedded part has a set of embedded part reference parameters. In this embodiment, the embedded part is a through-hole type metal embedded sleeve with an inner diameter of 32mm and a standard wall thickness of 5.0mm. In the BIM model, each metal embedded sleeve is modeled as an individual component element, and its attribute table contains the three-dimensional coordinates of the end face center in the BIM global coordinate system and the end face normal vector. These attribute values ​​are read and used as the center coordinates of the embedded part and the unit direction vector of the design axis, respectively.

[0092] In the registration module, the feature matching process includes:

[0093] The purpose of this module is to analyze the first measured point cloud matrix, which contains a large amount of noise. The module identifies the first measured points belonging to the concrete surface and assigns a topological confidence score to each first measured point. Then, high-confidence points are used to perform a rigid body transformation of the first measured points from the local measurement coordinate system to the BIM global coordinate system. Simultaneously, the confidence scores are constructed as a weight matrix. This module needs to identify points truly belonging to the concrete surface even when the measured point cloud contains a large amount of background noise such as scaffolding obstructions and demolding slurry, avoiding the failure of global deviation calculation due to noise-induced misalignment of the registration results. The specific process includes:

[0094] Calculate the fast point feature histogram descriptor for each first measured point in the first measured point cloud matrix and the fast point feature histogram descriptor for each reference point in the main reference point set;

[0095] Calculate the first measured point cloud matrix With the main reference point set Fast point feature histogram descriptors for each point, with the first measured point cloud matrix as input. The three-dimensional coordinates and unit normal vector of each point in the set of main reference points. The three-dimensional coordinates and unit normal vector of each point in the array;

[0096] Using each point as the query point, the search radius is... For all neighboring points within the range, calculate the statistical distribution histogram of the three angular components between the query point's normal vector and the normal vectors of each neighboring point. Each angular component is divided into 11 intervals, for a total of 33 intervals across the three components. Each point yields a 33-dimensional feature vector, which is the fast point feature histogram descriptor. The fast point feature histogram descriptor represents the geometric shape features of the local surface at that point and is used in the first measured point cloud matrix. With the main reference point set Perform feature matching between them;

[0097] Search radius in this embodiment The value is 30mm. The 30mm width is chosen because, in this embodiment, the characteristic width of the waterproof tongue and groove joint on the surface of the box culvert is 25mm, and the diameter of the embedded sleeve flange is 60mm. Using 30mm ensures that the feature differences on both sides of the waterproof tongue and groove edge are fully incorporated into the descriptor;

[0098] Feature matching is performed based on the Euclidean distance between descriptors to form initial matching point pairs, and valid matching point pairs are filtered through cross-correspondence verification.

[0099] Traversing the main reference point set The reference point in the matrix is ​​the first measured point cloud matrix. For each first measured point in the matrix, find the point most similar to its fast point feature histogram descriptor feature to form an initial matching point pair. Specifically, for the first measured point cloud matrix... Each first measured point in In the main reference point set Find the benchmark with the minimum Euclidean distance among the fast point feature histogram descriptors of all benchmarks. As the initial matching point right;

[0100] If for the initial matching point pair reference point in In the first measured point cloud matrix In the fast point feature histogram descriptors of all first measured points, and the reference point The point with the smallest Euclidean distance in the fast point feature histogram descriptor is the first measured point. Then determine the initial matching point pair Through cross-correspondence verification, the initial matching point pairs The matched points are retained and recorded as valid matching pairs;

[0101] If for the initial matching point pair reference point in In the first measured point cloud matrix In the fast point feature histogram descriptors of all first measured points, and the reference point The point with the smallest Euclidean distance in the fast point feature histogram descriptor is not the first measured point. Then determine the initial matching point pair The initial matching point pair failed the cross-correspondence verification. Removed;

[0102] Each valid matching point pair is treated as a node. If the difference between the distance between the first measured point corresponding to the two nodes and the distance between the reference point is less than the preset distance deviation threshold, then an edge connection is established between the two nodes to construct a topology graph.

[0103] Each valid matching pair is considered as a node, forming a node set. ,in To efficiently match the total number of point pairs, let node _____. For effective matching of point pairs For nodes Based on its first measured point Given the coordinates of the first measured point, iterate through the remaining nodes to find the coordinates of the first measured point and calculate the coordinates of the first measured point. The Euclidean distance to the first measured point among the remaining nodes is calculated. These Euclidean distances are sorted in ascending order, and the nodes containing the first measured points corresponding to the top L Euclidean distances are selected as neighboring nodes. The distance deviation between each neighboring node in this embodiment Take 50;

[0104] For nodes and neighboring nodes Calculate the distance deviation, where the node For effective matching of point pairs , For valid point pair matching ;

[0105] Distance deviation is two nodes and The absolute value of the difference between the Euclidean distance between the first measured point and the Euclidean distance between the reference point, and the mathematical expression for the distance deviation, is as follows:

[0106] ;

[0107] in, for and Distance deviation, For point and The Euclidean distance between them for and The Euclidean distance between them;

[0108] The distance deviation is compared with a preset distance deviation threshold, and a weight matrix is ​​constructed based on the comparison result. The specific process includes:

[0109] Initialize a weight matrix with dimension M×M, with all weights initially set to 0, where M is the total number of valid matching pairs;

[0110] For nodes and neighboring nodes If its distance deviation Less than the distance deviation threshold Then in and Connect the two sides with an edge and assign an edge weight. ;like Greater than or equal to the distance deviation threshold If the edge weight is zero, then no edge is connected.

[0111] Distance deviation threshold in this embodiment The value was selected through experiments. In this embodiment, 50 sets of prefabricated component calibration parts were used for parameter experiments. The calibration parts were standard specimens with target points of known three-dimensional coordinates pasted on the surface of the main body of the calibration parts. The target point coordinates were independently measured by a laser tracker as the true value of the real interior point. The diameter of the target point was 5mm. In the calibration experiment, the noise mainly came from the mud adhering material. The false geometric feature scale formed on the surface of the calibration parts was 15~30mm, which is close to the scale of the waterproof tongue and groove.

[0112] Statistical deviation threshold at different distances The error edge rate and the true interior point retention rate are calculated under the following values. The error edge rate is the number of noisy points included in the topology graph (i.e., nodes with at least one edge) divided by the total number of noisy points in the initial corresponding point pair set. The true interior point retention rate is the number of true interior points included in the topology graph divided by the total number of true interior points in the initial corresponding point pair set. Noisy points are points in the initial corresponding point pair set that are marked as not belonging to the true surface of the box culvert. True interior points are the correctly matched points corresponding to the target points marked by the laser tracker in the initial corresponding point pair set. The experimental results are shown in Table 1.

[0113] Table 1

[0114] Distance deviation threshold τ (mm) Error connection rate True interior retention rate 5.0 1.8% 41.2% 15.0 8.5% 94.7% 30.0 34.6% 97.2%

[0115] As shown in Table 1, the distance deviation threshold The constraint was too tight at 5.0mm, excluding more than half of the actual interior points, exceeding the distance deviation threshold. While almost all real interior points are preserved when the distance is set to 30.0mm, more than one-third of the noise points are incorrectly connected, which will cause subsequent algorithms to diverge; distance deviation threshold When the thickness is 15.0mm, the error rate is only 8.5%, and the actual interior point retention rate is as high as 94.7%, which is the optimal balance point. Therefore, this embodiment selects... mm;

[0116] In the feature matching process, this invention introduces a fast point feature histogram descriptor that includes surface geometric features, and combines cross-correspondence verification to strictly screen valid matching point pairs. Based on the difference in Euclidean distance between the first measured point and the reference point, a topology graph is constructed and a weight matrix is ​​calculated, which can eliminate erroneous matches caused by local feature similarity. In the case of a large number of on-site obstructions and noise, it provides robust geometric topology support for finding matching points that truly belong to the concrete body.

[0117] The topological confidence score selection process in the registration module specifically includes:

[0118] The local confidence score of each node is calculated based on the topological graph. The local confidence score is determined based on the number of closed triangles to which the node belongs and the local clustering coefficient.

[0119] Based on the distance deviation and distance deviation threshold, an adjacency list is constructed. This adjacency list is used to store nodes... The numbers of all neighboring nodes connected by the edge;

[0120] Using the adjacency list as input, a triangle enumeration algorithm based on node degree sorting is employed to obtain each node. Total number of closed triangles ;

[0121] A correct matching point pair should have a spatial distance relationship between its first measured point and the reference point that is highly consistent with other neighboring correct matching point pairs, so that it can participate in the formation of multiple closed triangles. Therefore, the higher the T_i value, the more closed triangles the node participates in forming, and the stronger its geometric support as a correct match.

[0122] compute nodes Local clustering coefficient The calculation process includes:

[0123] Statistical nodes Number of neighboring nodes and the number of edges connecting neighboring nodes. ,like If less than 2, then If the value is forcibly assigned to 0, If greater than or equal to 2, then ;

[0124] If neighboring nodes are highly interconnected with each other A value close to 1 indicates that the node is embedded in a tightly coupled local clique, a hallmark of a correct match. If neighboring nodes are almost unconnected, ... A value close to 0 indicates that the node is in a loose, random connection environment, which is very likely a mismatch or noise.

[0125] Will and Multiply to get the node Local one-way confidence ;

[0126] A row random matrix is ​​constructed based on the edge weights. The global influence value of each node is calculated iteratively through a Markov chain, and the topological confidence score of the node is calculated by combining the local confidence score.

[0127] To further distinguish between correct and incorrect matches between the first measured point and the benchmark point from a global perspective, this embodiment is based on edge weights. Construct a row random matrix, the row random matrix of the first row random matrix... Line 1 The mathematical expression for the column element is:

[0128] ;

[0129] in, For nodes and nodes The edge weights between them For nodes The sum of edge weights between the device and all its neighboring nodes;

[0130] The sum of the elements in each row of a random matrix is ​​1. Indicates from node Start by assigning its weight to neighboring nodes. The higher the edge weight, the higher the weight ratio assigned to a neighbor.

[0131] To quantify the global importance of each node in the overall connectivity network, a global influence column vector is defined. ,for A column vector, with each element initialized to a value of 0. This indicates that all nodes are of equal importance in the initial state.

[0132] Based on the row random matrix and the global influence column vector, a Markov chain exponentiation iteration with transpose is performed. The mathematical expression for the Markov chain exponentiation iteration with transpose is:

[0133] ;

[0134] in, Let be the global influence column vector after the (t+1)th iteration. For row random matrix transpose, The damping factor is set to 0.85. For elements all equal to 1 3D column vector;

[0135] The iteration stops when the L2 norm of the difference between the global influence column vector obtained in the (t+1)th iteration and the global influence column vector obtained in the tth iteration is less than 10⁻. 4 After stopping the iteration, extract the global influence column vector obtained from the last iteration. , its first element That is, a node The global centrality influence value;

[0136] Node Global influence value Local one-way confidence Multiply by the product to obtain the topological confidence score of the node. All Linearly normalize to the interval (0,1] by dividing by the maximum value;

[0137] The process of registering point cloud data to the coordinate system of the BIM design model specifically includes:

[0138] Nodes with topological confidence scores greater than a preset threshold are selected as high-confidence in-point sets. Rigid body transformation parameters are calculated using a random sampling consensus algorithm. The first measured point cloud data is then transformed to the coordinate system of the BIM design model to obtain the second measured point cloud matrix.

[0139] extract Pairs of points with a confidence level greater than 0.75 constitute a high-confidence in-point set;

[0140] The high-confidence inner point set is input into the random sampling consensus algorithm. Each time, three non-collinear point pairs are randomly selected, and candidate pairs are calculated through singular value decomposition. orthogonal rotation matrix and Translation vector For each pair of points, calculate the first measured point after transformation. and corresponding benchmark point The Euclidean distance between points is used to determine the number of point pairs whose distance is less than the error threshold of 3.0 mm. This number is then used as the interior support number for the candidate transformation. After 1000 iterations, the orthogonal rotation matrix and translation vector obtained from the iteration with the highest interior support number are selected as the final orthogonal rotation matrix. and Translation vector Based on orthogonal rotation matrix Translation vector For the first measured point cloud matrix Perform a point-by-point coordinate transformation. The mathematical expression for the transformed coordinates is:

[0141] ;

[0142] in, The first measured point cloud matrix The transformed coordinates of the i-th point in the middle. It is an orthogonal rotation matrix. It is a translation vector. The first measured point cloud matrix before transformation The coordinates of the i-th point in the array;

[0143] For the first measured point cloud matrix The unit normal vector of the first measured point is transformed to obtain the normal vector corresponding to the second measured point. ;

[0144] All transformed coordinates Arranged in rows, this forms a second measured point cloud matrix aligned from the local measurement coordinate system to the BIM global coordinate system. The size is ;

[0145] For the second measured point cloud matrix For each point in the dataset, a confidence level is assigned. The logic for assigning the confidence level specifically includes:

[0146] If the second measured point cloud matrix The points in the data have topological confidence scores. The confidence level at this point is the topological confidence score. ;

[0147] For the remaining non-topological confidence scores The point is assigned a confidence level of 0.01;

[0148] Construct a diagonal matrix based on confidence level. , The dimension is The first one on its main diagonal element Equal to the second measured point cloud matrix The Middle The confidence level corresponding to each point.

[0149] This invention combines the number of closed triangles to which nodes belong in the topological graph with the local clustering coefficient to quantify local one-way confidence, and introduces a Markov chain exponentiation algorithm with transpose operation to calculate the global influence value. The topological confidence score is calculated by fusion, which can identify and eliminate stubborn mismatches caused by environmental noise, ensure the purity of the high-confidence in-point set on which the random sampling consensus algorithm depends, and greatly improve the accuracy of rigid body registration of measured point cloud to design coordinate system.

[0150] The process of constructing implicit surface equations in the reconstruction module specifically includes:

[0151] There are sharp edges and steep normal changes at the junction of the embedded part and the concrete. These are key geometric features for judging the posture of the embedded part and assembly interference. However, the surface of the concrete body itself is rough and has a rough texture that needs to be smoothed. If the entire point cloud is smoothed to suppress the rough texture, the sharp edges at the junction will also be subjected to the same smoothing force, which will slow down the steep normal change features at the edges and cause the geometric position of the edge to shift. The subsequent steps of positioning the embedded part and detecting bolt penetration will fail. Therefore, in this embodiment, the point cloud representing the embedded part is peeled off and the point cloud representing the concrete body is smoothed.

[0152] A three-dimensional bounding box is constructed based on the second measured point cloud data. B-spline control points are obtained by dividing the data according to the preset grid spacing. A cubic B-spline implicit field equation in the form of a three-variable tensor product is then constructed.

[0153] Based on the second measured point cloud matrix The coordinates of each second measured point are obtained, and the minimum and maximum values ​​in each coordinate axis direction are obtained. The bounding box boundary is constructed based on the minimum and maximum values ​​in each coordinate axis direction, and the boundary is expanded by three grid spacings (30 mm) in each axis direction to form a three-dimensional bounding box.

[0154] With spacing mm divides the 3D bounding box into uniform meshes along the three coordinate axes. Each mesh vertex is used as a B-spline control point. The node vectors in each axis direction are uniform node vectors, and the spacing between adjacent nodes is equal to the mesh spacing of 10mm.

[0155] With spacing The 3D bounding box is uniformly meshed along the three coordinate axes, with each mesh vertex serving as a B-spline control point. Uniform node vectors are used for each axis, with the spacing between adjacent nodes equal to the mesh spacing of 10mm. The one-dimensional basis functions for each axis are cubic B-spline basis functions defined on the uniform node vectors. The three-dimensional B-spline basis functions are... Taking the tensor product of the three one-dimensional cubic B-spline basis functions in three directions, the mathematical expression of the tensor product is:

[0156] ,

[0157] in, Let be the value of the 3D B-spline basis function corresponding to the j-th control point at point q. For the X-axis direction The values ​​of a one-dimensional cubic B-spline basis function at x. The Z-axis direction The values ​​of a one-dimensional cubic B-spline basis function at z;

[0158] The mathematical expression for the implicit field equations of cubic B-splines is:

[0159] ;

[0160] in, Let be the implicit field function value at point q in space. The total number of control points. Let J be the coefficient to be solved for the j-th control point. Let q be the value of the j-th 3D B-spline basis function at point q;

[0161] This embodiment will include a second measured point cloud matrix containing discrete point cloud data. This is transformed into an implicit surface equation that is continuous in space and twice differentiable. This allows the signed distance from any coordinate point in space to the surface of the concrete box culvert to be calculated. This implicit surface equation provides a continuously differentiable mathematical basis for subsequent operations such as curvature calculation and surface mesh extraction, extending the morphological information carried by discrete point cloud data to three-dimensional space.

[0162] For each point in the second measured point cloud data, offset by a preset distance along the positive and negative sides of the normal vector direction to generate external constraint points and internal constraint points, and assign corresponding distance values ​​to them respectively;

[0163] To address the issue that traditional implicit surface reconstruction relies solely on surface point zero isosurface constraints, which result in homogeneous equations having only trivial solutions. To address the problem, this embodiment employs a normal offset constraint to construct a non-homogeneous linear equation system. Specifically, for the second measured point cloud matrix... The first in Points and its unit normal vector ,along directional offset by a small distance Generate external constraint points ;

[0164] along Reverse offset Generate internal constraint points , Take 1.0 mm;

[0165] A surface point is a point that falls on the surface of a concrete box culvert. At the external constraint point At internal constraint points ;

[0166] Based on surface points, external constraint points, and internal constraint points, and combined with the confidence weight matrix, a normal equation is established and solved to obtain the initial implicit field coefficients.

[0167] An augmented collocation matrix and observation distance column vector are constructed based on surface points, external constraint points, and internal constraint points. A normal equation is established in conjunction with the confidence weight matrix, and the initial implicit field coefficients are obtained by solving the conjugate gradient method.

[0168] Construct the first observation distance column vector based on surface points, external constraint points, and internal constraint points. The observation distance column vector is used to store the expected implicit field target value for each constraint point, and the length of the observation distance column vector is 3. Each element is assigned a value based on the constraint point type: surface points are assigned a value of 0, and external constraint points are assigned a value of 0. Assigning values ​​to internal constraint points ;

[0169] First augmented configuration matrix For each constraint point The calculation results show that the augmented allocation matrix has 100 rows. Let J be the column name, and each element be the value of the j-th basis function at the i-th constraint point. ;

[0170] To prevent singularity in the augmented placement matrix due to sparse local point clouds or the absence of points in hollow regions, the first augmented placement matrix is ​​extracted and removed. Invalid control points that do not contain any constraint points are retained as valid control points; that is, the points in the first augmented configuration matrix are removed. The columns all equal to 0 form a non-singular first reduced augmented alignment matrix. ;

[0171] Based on the external and internal constraint points, the diagonal matrix is ​​extended, and the confidence levels of the external and internal constraint points are adopted from the confidence levels of the corresponding surface points to obtain the first augmented diagonal weight matrix. ;

[0172] Based on the first reduced augmented configuration matrix First extended diagonal weight matrix and the first observation distance column vector Establish the normal equation, whose mathematical expression is:

[0173] ;

[0174] in, Configure the first reduced augmented matrix. The transpose of the first reduced augmented configuration matrix, This is the first extended diagonal weight matrix. Let be the first reduced effective coefficient vector to be solved. This is the column vector of observation distances;

[0175] The conjugate gradient method is used to solve the normal equations, yielding an effective coefficient vector of length equal to the first reduction in the number of effective control points. Due to the first reduced effective coefficient vector Only the best-fit coefficients corresponding to valid control points are stored, excluding the control point coefficients corresponding to invalid control points;

[0176] Pre-record the global index numbers of all valid and invalid control points, initialize a zero vector with a length equal to the total number of B-spline control points J in the entire field, and then... Each coefficient is backfilled to the corresponding position in the zero vector based on the global index of the effective control points, while the positions corresponding to invalid control points remain at 0. The complete first effective coefficient vector is obtained by concatenating these positions. ;

[0177] The first effective coefficient vector Substituting the implicit field expression of the cubic tensor product B-spline, the initial implicit field is generated. .

[0178] When constructing implicit surface equations, this invention generates external constraint points and internal constraint points by offsetting them by a small distance along the positive and negative sides of the unit normal vector of the measured point, and assigns positive and negative distance values ​​respectively, thus constructing a non-homogeneous linear equation system. This solves the numerical defect in traditional implicit surface reconstruction where relying solely on the surface point constraints of the zero isosurface easily leads to trivial solutions of homogeneous equations, enabling discrete point clouds to be stably transformed into three-dimensional continuously differentiable cubic B-spline implicit field equations.

[0179] The process of separating the main point cloud and the embedded part point cloud in the reconstruction module specifically includes:

[0180] Calculate the gradient vector and Hessian matrix of the implicit field equations, solve for the eigenvalues ​​of the shape operator matrix, and obtain the principal curvature of each point in the point cloud.

[0181] The concrete box culvert has a flat surface with low curvature. The interface between the embedded parts and the concrete is sharp-edged and has high curvature. This embodiment utilizes implicit field equations. The curvature information is used to distinguish between high and low curvature regions. Specifically, the first-order partial derivative gradient vector is calculated for each second measured point. and Second-order partial derivative Hessian matrix ;

[0182] Calculate the unit normal vector Constructing the projection onto the spatial tangent plane orthogonal projection tensor ,in for identity matrix;

[0183] The shape operator matrix is ​​calculated, and its mathematical expression is:

[0184] ;

[0185] in, For shape operator matrix, For orthogonal projection tensors, Implicit field equations The 3×3 second-order partial derivative Hessian matrix at the calculation point has the following elements: Second-order partial derivatives with respect to each coordinate component, Implicit field equations The gradient vector at the computation point The 2-norm, i.e., the magnitude of the gradient vector;

[0186] Solve this Symmetric shape operator matrix The eigenvalues ​​of the point are such that one eigenvalue is close to zero, and the other two non-zero eigenvalues ​​represent the maximum principal curvature at that point. and minimum principal curvature ,in, ;

[0187] If the sum of the absolute values ​​of the principal curvatures of a point is greater than the preset curvature threshold, and the point is located within the preset range of the embedded part design center, then the point is classified as the embedded part point cloud, and the remaining points are classified as the main point cloud.

[0188] Set curvature segmentation threshold To distinguish between high-curvature angular regions and smooth concrete main bodies, the implicit field equations are... Zero isosurface, that is, all areas around the surface of the concrete box culvert are subject to dual condition judgment. If the sum of the absolute values ​​of the maximum and minimum principal curvature of the surface where the area is located is greater than the curvature segmentation threshold, it indicates that there are high-frequency geometric features such as steep corners and flange arcs at that location.

[0189] If the area falls within a spherical enclosure with a radius of 30mm centered on the design center of the corresponding embedded part, this constraint is used to narrow the search area, limit the screening range to a local area around the embedded part, and filter out high curvature interference structures in other locations.

[0190] All regions in the three-dimensional space that simultaneously satisfy the above two constraints are marked as embedded parts regions, and the remaining regions are marked as concrete main body regions.

[0191] The second measured point falling within the embedded part area is used to construct a point cloud set of embedded parts. The remaining second measured points form a point cloud set for the main concrete structure. ;

[0192] This invention utilizes the first-order partial derivative gradient vector and the second-order partial derivative Hessian matrix of the implicit field equation to construct a shape operator matrix and solve for the principal curvature. Combined with a preset curvature segmentation threshold and the spherical enclosing domain space constraint of the embedded part design center, a dual judgment is made to achieve the physical separation of the point cloud of the embedded part region containing sharp edges from the point cloud of the flat main body region. This effectively avoids the problem that the steep normal features at the junction are weakened or smoothed out due to subsequent uniform smoothing processing.

[0193] The process of smoothing and optimizing the implicit surface equations in the reconstruction module specifically includes:

[0194] An optimized functional containing data fitting terms and curvature regularization terms is constructed based on the main point cloud.

[0195] Based on concrete body point cloud set Similarly, for the points in the equation, a cubic B-spline implicit field equation in the form of a three-variable tensor product is constructed as the main bias field equation. And solve the main body deviation field equation of the concrete main body. The second effective coefficient vector;

[0196] Using the same B-spline basis functions and control point mesh configuration as in the first stage, the concrete body point cloud set is processed. Each surface point in and its normal vector Similarly, the second augmented configuration matrix is ​​constructed according to the normal offset constraint. Only concrete main body point cloud set Construct the second augmented observation column vector from the points in the vector. ;

[0197] From the weight matrix Extract concrete main body point cloud set The submatrix corresponding to the point set is expanded in the same way into a second augmented weight matrix that includes the internal and external constraint points. Using the same invalid control point removal operation, the second reduced augmented configuration matrix is ​​extracted. With the second extended diagonal weight matrix Second observation distance column vector Establish the normal equation and solve for the second reduced effective coefficient. ,Will Each coefficient is backfilled to the corresponding position of the zero vector based on the global index of the effective control points, while the positions corresponding to invalid control points remain at 0. This concatenation yields the complete second effective coefficient vector. The second effective coefficient vector allows... The distance constraint is satisfied at the data points, but the surface may still be rough and have pitted textures. Therefore, this embodiment constructs a discrete-form optimization functional to find the optimal balance between data fitting and curvature smoothing. The world expression of the optimization functional is:

[0198] ;

[0199] in, To optimize the value of the functional, Configure the matrix for the second reduction augmentation. This is the second reduced effective coefficient. This is the second observation distance column vector. For transpose, This is the second augmented weight matrix. As a smoothing constraint factor, For the set of narrowband constraint points within the narrowband region, As a reference curvature constant, The maximum principal curvature at the narrowband constraint point i; Let i be the minimum principal curvature at the narrowband constraint point i;

[0200] in, For the discretized curvature regularization term, the narrow band region is the zero isosurface of the implicit field equation of the concrete matrix, that is, the region enclosed by a preset width offset from the concrete surface in both the external and internal directions of the solid. To fall into The set of all narrow-band constraint points in the narrow-band region near the zero isosurface, with a narrow-band width of ±5mm, which is consistent with half of the 10mm grid spacing of the B-spline control points in the reconstruction module, so that the narrow-band contains at least 2~3 layers of control points along the normal direction, ensuring the numerical stability of the principal curvature calculation and the effective volume constraint on the implicit field.

[0201] Narrow-band constraint points are a set of concrete body point clouds. A subset of surface constraint points in the data is selected based on the condition that their spatial location falls within the narrow band region Ω'.

[0202] and These are narrowband constraint points. The maximum and minimum principal curvatures at a given point are calculated using the same method as in the first stage of the reconstruction module, i.e., through the shape operator matrix. Obtained by eigenvalue decomposition, In this embodiment, a fixed value is used as the reference curvature constant for dimensionless conversion. ;

[0203] The smoothing constraint factor is set to 0.1. The dimension of λ is square millimeters, and its value of 0.1 mm² was determined through comparison in the range of 0.02 mm² to 0.5 mm² in preliminary experiments. For the box culvert surface used in this embodiment, under the conditions of fixing other parameters, narrow band width ±5 mm, sampling interval 2 mm, and reference curvature constant k0 = 1.0 mm⁻¹, the surface roughness suppression effect of the flat area of ​​the concrete body with an area of ​​about 100 mm × 100 mm and the geometric fidelity of the edge of the transition rounded corner area with a root radius of 5.0 mm are compared with those of the waterproof tongue and groove chamfer edge.

[0204] The smoothing effect of flat areas is indicated by the root mean square value of the surface normal deviation after processing. The smaller the value, the more fully the surface ripples are suppressed. The edge fidelity is indicated by the maximum displacement of the chamfered edge after processing. The smaller the value, the more completely the sharp edge is preserved. The experimental results are shown in Table 2.

[0205] Table 2

[0206] Smoothing constraint factor λ (mm²) Normal deviation of flat area (mm) Maximum displacement of the chamfered edge (mm) Comprehensive evaluation 0.02 0.42 0.03 The smoothing force is too weak, and obvious pitted ripples remain. 0.05 0.31 0.05 The smoothing effect is beginning to appear, and the edge fidelity is good. 0.10 0.18 0.08 Achieving the best balance between smoothness and sharpness 0.20 0.12 0.22 The smoothing effect is good, but noticeable weakening begins to appear at the edges. 0.50 0.07 0.45 Smooth transition, edge geometry is noticeably offset

[0207] As shown in the table above, when λ is 0.10 mm², the normal deviation of the flat area is reduced to 0.18 mm, and the maximum displacement of the chamfered edge is only 0.08 mm. Therefore, in this embodiment, λ = 0.10 mm² is selected as the smoothing constraint factor.

[0208] The inner narrow-band constraint points are sampled uniformly at 2mm intervals, and 10% of them are randomly sampled in each iteration. Points participate in the calculation of the curvature penalty term; this term uses a logarithmic function as the penalty function;

[0209] In flat areas of concrete, the principal curvature is close to zero, and the Laplace smoothing force generated by the penalty term effectively smooths out minor noise. At geometric abrupt changes such as waterproof tongue and groove joints, the principal curvature is extremely large, and the derivative of the logarithmic function decays rapidly. The optimized solver automatically relaxes the smoothing constraint, allowing sharp edges to be fully preserved.

[0210] The optimized functional is solved using a gradient-based optimization algorithm to obtain the optimized implicit field coefficients.

[0211] To address the complex curvature eigenvalue decomposition terms in the optimized functional, a forward-mode automatic differentiation algorithm is employed. Using the implicit field coefficients of the current iteration step as input, it calculates and outputs the gradient vector of the objective function with respect to each implicit field coefficient. This gradient vector is then used as input to a quasi-Newton optimization solver to iteratively update and output the optimal implicit field coefficients. The quasi-Newton optimization solver employs a finite-memory BFGS algorithm, with a history vector storage of 5, a maximum of 500 iterations, and a convergence criterion of less than 10 relative changes in the objective function between two consecutive iterations. -6 After solving, we get , The notation for gradient is: negative values ​​inside the entity and positive values ​​outside the entity. The zero isosurface represents the surface, therefore the gradient... Pointing to the outside of the entity.

[0212] In the smoothing optimization of the implicit field equations, this invention constructs an optimization functional that includes a data fitting term and a logarithmic discretized curvature regularization term. This logarithmic penalty function can generate a Laplace smoothing force in the flat concrete region where the principal curvature is close to zero to effectively smooth out the rough surface ripples. At high-frequency features such as waterproof tongue and groove joints with extremely high principal curvature, the derivative is attenuated to automatically relax the constraints. The quasi-Newton optimization solver perfectly achieves the optimal balance between noise reduction in the flat region and the preservation of the geometric position of sharp edges.

[0213] The process of extracting the watertight manifold mesh in the mesh generation module specifically includes:

[0214] Based on the main point cloud set, with the coordinates of the points in the main point cloud set as the initial positions, the Newton iteration method with gradient normalization is used to project the points onto the zero isosurface of the optimized implicit field equation to obtain the narrowband constrained point set.

[0215] The purpose of this module is to analyze the main body deviation field of the concrete main body. Extract watertight manifold meshes that can be used for interference simulation calculations on BIM platforms. ;

[0216] The measured point cloud data itself contains measurement noise and downsampling errors, and does not strictly fall on the zero isosurface of the main body deviation field. If points deviating from the surface are directly used to extract the watertight manifold mesh, the generated triangular facets will deviate from the real surface. In the region of gradual wall thickness change, the coordinates of the inner and outer surfaces may even intersect and penetrate. This embodiment uses Newton's iterative projection to accurately attach the second measured point to the zero isosurface. Specifically, using the concrete main body point cloud set... The coordinates of the second measured point are the initial projection positions. To ensure that these points are located... On the zero isosurface, the gradient-normalized Newton iteration formula is used to analyze the point cloud set of the concrete body. The coordinates of the second measured point will be projected point by point, and the mathematical expression of the gradient-normalized Newton iteration formula is:

[0217] ;

[0218] in, These are the coordinates of the narrowband constraint points after the (t+1)th iteration. Let these be the coordinates of the narrowband constraint points after the t-th iteration. Set the step size parameter to 0.8. For the main deviation field in The function value at point , and the iteration termination condition are Less than 10 -3 mm;

[0219] Output the final set of narrow-band constrained points falling on the smooth concrete surface. ;

[0220] An octree spatial partitioning structure is used to adaptively partition the space containing the narrowband constraint point set, and the resulting leaf nodes are used as the mesh vertex regions.

[0221] When extracting surface meshes from implicit fields, using a uniform mesh of a single resolution for the entire 3D bounding box presents a trade-off between efficiency and accuracy. If the mesh is too coarse, fine geometric features in complex cavities will be lost; if the mesh is too fine, storage and computational overhead in flat areas will increase. Therefore, an adaptive spatial partitioning structure is needed to adjust the mesh resolution according to the local geometric complexity. In areas containing complex cavities such as areas with gradual wall thickness changes and embedded part joint holes, the mesh is automatically refined to capture fine features; in flat concrete surface areas, the mesh is automatically coarsened to reduce redundant calculations.

[0222] This embodiment achieves adaptive spatial partitioning by using octree partitioning. Specifically, starting from the entire 3D bounding box as the root node, it checks whether each node meets the termination condition. The termination condition is that the mesh side length is less than 5mm or the number of narrow-band constraint points in the node is less than 50 or the point density is less than 0.1 points / mm³.

[0223] If the termination condition is met, the subdivision stops and the node is marked as a leaf node; otherwise, the node is uniformly divided into eight equal-sized sub-cubes along the three coordinate axes.

[0224] For each sub-cube, continue to check whether the termination condition is met until all nodes meet the termination condition. After the partitioning is completed, only the last leaf node is retained. Each leaf node corresponds to a vertex region in the final mesh. In flat regions, the narrow-band constraint points are sparse and the geometric changes are gentle, so the nodes can meet the termination condition at a coarser granularity. In complex cavity regions, the narrow-band constraint points are dense and the curvature changes drastically, so the nodes need to be partitioned to a finer granularity to meet the condition.

[0225] For each grid vertex region, a quadratic error function is constructed that includes a regularized drag term based on the centroid of the narrowband constraint point. The position representing the vertex is determined by solving the quadratic error function.

[0226] For each leaf node, the optimal spatial location representing the vertex is determined by minimizing the quadratic error function. The mathematical expression for the first and second quadratic error functions is:

[0227] ;

[0228] in, The first and second quadratic error function values ​​for the leaf nodes. This is the set of indices of all narrowband constraint points within the current leaf node. The coordinates of the narrowband constraint points within the leaf nodes. Let be the unit normal vector at the narrow-band constraint point, given by The gradient was obtained by normalization, and the direction has been unified to outward. Let be the coordinates of the representative vertex to be solved;

[0229] This minimization problem is transformed into solving the normal equation, i.e. ;

[0230] When the narrow-band constraint points within a leaf node are exactly coplanar, such as in a large flat wall area of ​​a box culvert, all normal vectors... With the directions aligned, the coefficient matrix of the normal equation is now... The rank is only 1, and there are no constraints in either direction of the tangent plane. This means that the vertex can slide freely within the tangent plane without changing its position. A high value of indicates a high matrix condition number, which may cause vertices to drift away from narrow-band constraint points during the solution process, generating a distorted mesh with burrs.

[0231] To address this issue, this embodiment adds l based on the centroid coordinates of the narrow-band constraint point within the leaf node to the quadratic error function. Regularized drag items ;

[0232] ;

[0233] in, The second quadratic error function value for the leaf node. This is the set of indices for all narrowband constraint points within the current leaf node. Let j be the unit normal vector of the j-th narrowband constraint point. Let j be the three-dimensional coordinates of the j-th narrowband constraint point. Let be the coordinates of the representative vertex to be solved. This is the arithmetic mean of the coordinates of all narrowband constraint points within the leaf node, i.e., the centroid coordinates of the narrowband constraint points within the leaf node. This is the numerical stability coefficient, with a value of [value missing]. ;

[0234] The adjacency relationship of the octree is used to connect the representative vertices to generate patches, and non-manifold distortion detection is performed on the generated patches;

[0235] Conventional mesh extraction algorithms are prone to generating non-manifold defects when dealing with complex structures such as thin walls, cavities, and embedded parts joint holes. For example, an edge may be shared by three faces, holes may appear on the surface, and the inner and outer surfaces may be locally bonded. These defects are not easily detected visually, but once imported into the solid Boolean operation module of the BIM platform, they can cause the solver to enter an infinite loop or crash.

[0236] To address the aforementioned issues, this embodiment uses Euler eigenvalues ​​to detect defects in real time during the mesh generation stage. Once a defect is detected, the vertex merging path leading to the defect is immediately severed at the underlying data structure level, preventing the generation of non-manifold meshes from the source and ensuring a watertight manifold mesh output. It is fully watertight, has no self-intersections, and no holes, and can be safely used in subsequent interference simulations. Specifically, the representative vertices of adjacent leaf nodes are connected according to the spatial adjacency relationship of an octree to generate quadrilateral patches. Each patch is stored in the form of a vertex index list, recording the number of each representative vertex that forms the patch.

[0237] After each new facet is generated, all vertices, edges, and faces within the first-order neighborhood of each vertex involved in that facet are extracted to form a local submesh. A mesh topology check is performed on this local submesh. If the local submesh meets any of the following illegal conditions, it is determined to be an illegal structure. The conditions include:

[0238] There exists an edge that is referenced by three or more facets;

[0239] For any central vertex in a local submesh, after removing the vertex and its directly connected edges, if it is an internal vertex, the remaining boundary edges fail to form a single connected closed loop; if it is a central boundary vertex, the remaining boundary edges fail to form a single connected open polyline segment.

[0240] Calculate the Euler eigenvalue of the local submesh; the Euler eigenvalue should not be 1.

[0241] If a non-manifold structure is detected, trace the common ancestor node in the octree hierarchy, prohibit vertex merging operations within the scope of the common ancestor node, and output a watertight manifold mesh.

[0242] If a local submesh is determined to be an illegal structure, then in the octree hierarchy, starting from the node where vertex merging occurred when the patch was generated, trace upwards along the parent-child relationship chain to find the shallowest common ancestor node that covers the spatial region formed by the leaf node and its adjacent nodes. The vertex merging permission flag stored in the ancestor node is forcibly modified to false. In the subsequent mesh generation process, when performing a merge operation on two candidate vertices within the range of the ancestor node, the flag is queried. If it is false, the merge is skipped, and the two vertices and the edge between them are retained. A finer mesh granularity is forcibly maintained in this local area, blocking the generation of illegal topology structures from the underlying data level.

[0243] After all facets are generated and verified, a three-dimensional mesh model is output. This three-dimensional mesh model satisfies the standard two-dimensional manifold conditions of being watertight, non-self-intersecting, and free of holes throughout the entire domain, and is denoted as the watertight manifold mesh. ;

[0244] Watertight manifold grid The data format is a standard triangular mesh, consisting of two parts: a list of vertex coordinates and a list of triangular facet indices. The vertex coordinate list is a single... A real matrix, where each row stores the three-dimensional coordinates of a vertex. The coordinate values ​​are millimeter coordinates in the BIM global coordinate system. The total number of mesh vertices, and the list of triangle patch indices is one. An integer matrix, where each row contains three integers representing the row number (index) of the three vertices forming the triangle in the vertex coordinate list. The total number of triangular facets represents the total number of facets. A complete watertight surface mesh can be directly used as input for subsequent solid Boolean intersection operations.

[0245] In the mesh extraction stage, this invention introduces the Newton iteration method with gradient normalization to absorb downsampling points to the zero isosurface to eliminate residual errors. It uses octree adaptive spatial partitioning to balance the mesh subdivision granularity of complex cavities and flat regions. Furthermore, it adds a regularization drag term based on the centroid coordinates within nodes to the quadratic error function to prevent the drift distortion of coplanar mesh vertices. At the same time, it cuts off illegal vertex merging paths from the bottom layer through real-time non-manifold topology verification based on Euler eigennumbers, absolutely guaranteeing the global watertightness and non-self-intersection of the output surface mesh.

[0246] The process of solving the actual spatial parameters of the embedded parts in the embedded parts calculation module specifically includes:

[0247] This module is based on the embedded part point cloud set separated from the reconstruction module. The watertight manifold mesh generated by the mesh generation module, combined with the actual deformation of the surrounding concrete, is used to solve the three-dimensional position and axial direction of each embedded part under the real physical state.

[0248] Extract a subset of the embedded point cloud for any embedded component;

[0249] Based on the point cloud set of embedded parts Extracting the first A subset of the point cloud of an embedded part , The extraction method is as follows: using the first Design center for embedded parts Search for a set of point clouds of embedded parts with a center and a radius of 30mm. The points in the middle, and the points that fall within the area of ​​the sphere constitute the points. ;

[0250] When multiple spherical regions with different embedded part design centers overlap, the Euclidean distance from points within the overlapping region to the relevant embedded part design centers is calculated and assigned to the embedded part with the smallest distance. If the difference in distance from a point to two embedded part design centers is less than... mm, in order to ensure that the statistical assumption of independent Gaussian measurement noise is not violated, such equidistant points are regarded as the boundary transition points between embedded parts and are eliminated, and are not included in any subset of embedded parts;

[0251] Extract the local average normal vector of the region where the embedded part is located from the watertight manifold mesh;

[0252] In this embodiment, each embedded part is located on the end face of the concrete box culvert. Its designed axial direction is parallel to the designed normal of the concrete surface of the end face. Therefore, the local tilt of the concrete surface under the measured condition will cause the embedded part axis to deflect accordingly. This embodiment captures the true deformation direction of the concrete in this area by calculating the local average normal vector of the embedded part. The true deformation direction is the actual deflection direction of the embedded part axis under the measured condition.

[0253] Calculate the local average normal vector The process specifically includes:

[0254] In watertight manifold grid In the middle, with the first Design center coordinates of each embedded part To search for the center of the sphere with a radius of 40mm, search all triangular facets. For each searched triangular facet, calculate its unit normal vector, area, and distance from its center to the center of the sphere. ;

[0255] Distance between the area and the center of the sphere The ratio of the squares is used as the weight of the triangular facet. The larger the area of ​​a triangular facet, the more and more stable the surface information is collected during scanning or reconstruction. The normal vector can more reliably represent the orientation of the concrete area and should have a greater weight.

[0256] The closer the facet is to the center of the sleeve, the greater its contribution. The normal vectors of the areas of all triangular facets are weighted, summed, and then normalized to obtain the local average normal vector. .

[0257] A nonlinear objective function is constructed, which includes a cylindrical surface geometry fitting error term, a directional coupling penalty term, and an axial sliding anchoring term.

[0258] A nonlinear least-squares objective function with dual constraints of normal and axial directions is constructed to solve for the actual center coordinates and actual axis unit vector of the embedded part. The mathematical expression of the objective function is as follows:

[0259] ;

[0260] in, The objective function value, For the cloud subset The Middle The three-dimensional coordinates of the points Here are the actual center coordinates of the embedded part to be solved. Let be the unit vector of the actual axis of the embedded part to be solved. The theoretical design radius is the inner diameter of the embedded part. for The total number of points contained in For directional penalty weights, The local average normal vector. For axial anchoring weight, The design center coordinates of the embedded parts are as follows: ;

[0261] actual center coordinates of the sleeve for Column vector, actual axis unit vector for Column vector;

[0262] The theoretical design radius of the embedded part's inner diameter in this embodiment. Take 16.0mm;

[0263] This is the geometric fitting error term for the cylindrical surface, with dimensions in mm². This term forces the fitted cylindrical surface to pass through... ;

[0264] As a directional coupling penalty term, the square of the vector Euclidean distance is used to constrain the axis of the embedded part to conform to the local deformation of the concrete, effectively avoiding the Jacobian matrix singularity problem caused by the absolute value penalty. The directional penalty weight is set to 5000 mm² to unify the dimensions of the equation. and This term is zero when they are completely in the same direction;

[0265] This is an axial sliding anchoring term used to eliminate the axial translation uncertainty unique to cylindrical surfaces. This uncertainty can lead to a singular and divergent Jacobian matrix. The formula uses a dot product operation only on the center. On the axis The projection offset in the direction is subject to a secondary penalty in this embodiment. Take 0.01;

[0266] Introduction The reason is that the sum of the geometric errors in the cylindrical surface geometric fitting error term accumulates as the point cloud density increases. To prevent the constraint weights of the latter two terms from becoming ineffective due to excessive point cloud density, the penalty term must be multiplied by the number of points simultaneously. Perform adaptive balancing;

[0267] The nonlinear objective function is solved iteratively to obtain the actual center coordinates and actual axis direction vector of the embedded part. The actual center coordinates and actual axis direction vector of the embedded part constitute the actual spatial parameters.

[0268] The minimum value of the objective function is found iteratively using the Levenberg-Marquardt algorithm. During the solution process... The initial value is taken from the design center coordinates of the embedded part reference parameter set. , The initial value is taken from the design axis direction vector in the embedded part reference parameter set. In each iteration, the gradient of the objective function to be solved for the variables and the approximate Hessian matrix are calculated to determine the variable update direction and step size. and Update;

[0269] In each iteration update and After that, immediately The applied unit vector equality constraint, i.e., immediately applied to the updated... Perform a normalization operation to ensure that during the iteration process... Always maintain unit length to prevent the optimizer from scaling. To avoid geometric fitting errors;

[0270] When the maximum number of iterations is 100 or between two consecutive iterations and The norm of the change is less than 10 -6 Stop iteration at mm, and output the final actual center coordinates of the embedded part. and the unit vector of the actual axis of the embedded part ;

[0271] The spatial deviation of the embedded part is calculated based on the difference between the actual center coordinates and the design center coordinates, as well as the angle between the actual axis direction vector and the design axis direction vector.

[0272] The final and the design center coordinates of the embedded parts difference vector As a spatial coordinate offset vector;

[0273] Will As axis deflection angle ,in, The unit direction vector for the design axis.

[0274] When solving for the parameters of the embedded part, this invention extracts the area-weighted normal vector of the watertight manifold mesh around the embedded part as the local average normal vector reflecting the deformation of the concrete. In addition, a directional coupling penalty term and an axial sliding anchoring term are introduced into the nonlinear objective function, which effectively eliminates the axial translation uncertainty unique to cylindrical surface fitting and solves the problem that the Jacobian matrix is ​​prone to singular divergence. Thus, the actual center coordinates and spatial deflection angle of the embedded part that conform to the local deformation of the component are calculated.

[0275] The processing steps of the detection and repair module specifically include:

[0276] The geometric data of the watertight manifold mesh and the spatial deviation of the embedded parts are written into the BIM design model to generate a digital twin model.

[0277] This module integrates the watertight manifold mesh, spatial coordinate offset vector, and axis deflection angle into the BIM model, constructing a digital twin that reflects the actual geometric state of the prefabricated components upon leaving the factory. Based on this, virtual assembly interference simulation and bolt penetration detection are performed on two box culvert sections. The specific process includes:

[0278] Based on the actual center coordinates of the embedded parts and the unit vector of the actual axis of the embedded part Reconstruct the 3D solid mesh of the embedded part and assemble it into the watertight manifold mesh. The corresponding positions are used to form a complete digital twin to perform bolt penetration detection and Boolean interference analysis;

[0279] The specific assembly process is as follows: Based on the three-dimensional design solid model of the embedded parts, calculate the coordinates from the design center to the actual center. The translation vector, and the unit vector from the design axis to the actual axis. The rotation matrix is ​​used to perform spatial rigid body transformation on the mesh vertices of the 3D design solid model of the embedded part using translation vectors and rotation matrix, so as to accurately align the reconstructed embedded part to the actual spatial position corresponding to the watertight manifold mesh.

[0280] The watertight manifold mesh generated by the mesh generation module The vertex coordinates and triangular facet indices are re-encoded according to the Ifc Triangulated Face Set data format in the IFC standard. In the BIM model, the Ifc Triangulated Face Set or Ifc Faceted Brep entity representing the geometry of the concrete shell is located. In its associated geometric description properties, the child node storing the triangular mesh data of the concrete shell surface is found, and the vertex coordinate list and triangular facet index list in the child node are replaced with the watertight manifold mesh. The vertex coordinates and face indices of the node are used to maintain the globally unique identifier of the node and its association with other components during the replacement process.

[0281] The 3D spatial coordinate offsets and axis deflection angles of each embedded part output by the embedded part calculation module are written into the BIM model through the IFC attribute set. Specifically, a new attribute set is created, containing four attributes, each corresponding to an offset in the difference vector. , , , axis deflection angle After the writing is completed, a digital twin model reflecting the actual geometric deviation of the component at the factory is obtained;

[0282] Import the digital twin models of the two components for virtual assembly, and obtain the intersection entity of the two components through entity Boolean intersection operation;

[0283] Import the two digital twin models described above, set the simulation assembly and propulsion parameters, and set the propulsion direction to the design axis direction of the two box culvert sections. Use the solid Boolean intersection operation algorithm to generate the watertight manifold mesh of the two box culvert sections. As input, a collision detection algorithm based on boundary representation is used to calculate the closed intersection entity of the two meshes.

[0284] A closed intersection entity is a closed triangular mesh consisting of a list of vertex coordinates and a list of triangular facet indices on the surface of the intersection region. Geometrically, it represents the boundary of the spatial volume of two box culvert sections penetrating each other in a simulated assembly state.

[0285] Calculate the maximum and average interference depths based on the intersection entities;

[0286] Interference indices are calculated based on the intersection entity; specifically, the coordinates of all vertices of the intersection entity are extracted. Let the unit vector of the propulsion direction be... Project all vertex coordinates to In the direction, we obtain a scalar set. The difference between the maximum and minimum values ​​is taken as the maximum interference depth;

[0287] Calculate the total volume of the intersection entity, and project all triangular faces of the intersection entity along the advancing direction to the intersection. For a vertical plane, calculate the area of ​​the union polygon of the projected region, and use the equivalent thickness obtained by dividing the total volume by this area as the average interference depth.

[0288] When the maximum interference depth exceeds the first preset threshold, a CNC repair machining path is generated based on the projection of the intersection entities on the mesh surface;

[0289] When the average interference depth exceeds the second preset threshold, an early warning message is issued.

[0290] The design physical gap for the joints is set at 10.0mm, and the maximum compression limit of the sealing strip in hard contact is 5.0mm. When the maximum interference depth does not exceed 5.0mm, the assembly interference risk is considered to be within a controllable range, and the component can be shipped normally. When the maximum interference depth exceeds 5.0mm, the crushing risk is considered to be excessive, triggering the digital twin repair process. Specifically, the coordinates of all vertices in the closed intersection entity are extracted, and each vertex is projected onto the box culvert on this side along the reverse direction of advancement. On the mesh surface, the local interference depth value at that vertex is obtained;

[0291] Using the local interference depth at each vertex as the machining allowance, a CNC repair machining path is generated to remove material point by point along the reverse direction of advancement. Repair machining instructions are output, and the excess area is ground on-site according to the repair instructions until the maximum interference depth is reduced to below 5.0mm. When the average interference depth exceeds 2.5mm, an early warning is issued, indicating that the contact stress distribution is uneven and the installation status of the sealing strip needs to be checked.

[0292] The extracted actual geometric data and parameters are directly written into the BIM model to generate a digital twin. Then, through the Boolean intersection operation of the entities, not only can the maximum and average interference depths during the assembly of the two components be quantitatively calculated to assess and warn of the risk of crushing, but the local interference depth projection of the closed intersection entities on the mesh surface can also be used as the machining allowance to directly generate a CNC repair machining path along the reverse direction of the advance.

[0293] This invention performs point cloud registration through feature matching and a screening mechanism based on topological confidence scores, effectively eliminating mismatches caused by background noise such as scaffolding obstruction and demolding mud at the construction site. It achieves a highly reliable rigid body transformation from the measured point cloud to the BIM global coordinate system under complex working conditions with a large amount of noise, avoiding global deviation calculation failures caused by noise interference.

[0294] This invention constructs an implicit surface equation based on the registered point cloud, and accurately separates the point cloud into the main point cloud and the embedded part point cloud by utilizing the principal curvature features of the shape operator matrix. Then, it constructs an optimized functional containing a specific curvature regularization term to smooth the main implicit surface. This mechanism can effectively smooth out the small noise and pitted ripples on the concrete surface while adaptively preserving the sharp edge integrity of high-frequency geometric protrusions such as waterproof tongue and groove.

[0295] This invention employs octree adaptive spatial partitioning in the mesh extraction stage and introduces a regularization drag term based on the centroid of narrowband constraint points into the quadratic error function to prevent mesh vertex drift. At the same time, it combines Euler eigenvalues ​​for real-time non-manifold distortion detection, blocking the generation of illegal topologies from the underlying data structure. This ensures that the output mesh model is globally watertight, free of self-intersections and holes, providing a stable geometric foundation for subsequent high-intensity entity Boolean operations.

[0296] For the calculation of embedded parts, this invention constructs a nonlinear objective function that includes cylindrical surface geometric fitting error, directional coupling penalty term and axial sliding anchoring term, which overcomes the defect of matrix singularity caused by translation along the axis in conventional cylindrical fitting, and captures the actual deflection posture of the embedded part in accordance with local concrete deformation.

[0297] This invention integrates high-precision geometric meshes and spatial deviation parameters into the BIM model, generates a digital twin, and performs virtual assembly calculations. It can not only quantitatively output the interference depth to assess the risk of assembly crushing, but also directly generate CNC repair processing paths for interference areas that exceed the standard by using mesh surface projection. This enables the prediction and automated elimination of physical interference errors of prefabricated components before they leave the factory.

[0298] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media containing computer-usable program code. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic storage, flash memory, magnetic disk, or optical disk. These computer program instructions can also be stored in a computer-readable storage medium capable of directing a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means implemented in a process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0299] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the protection scope of the present invention.

Claims

1. A prefabricated component inspection and repair system based on digital twins, characterized in that, include: The acquisition module is used to acquire point cloud data of the prefabricated components to be inspected and extract baseline geometric data from the BIM design model. The registration module, through feature matching and filtering based on topological confidence scores, registers the point cloud data to the coordinate system of the BIM design model; The reconstruction module constructs implicit surface equations based on the registered point cloud data, uses curvature features to separate the point cloud data into main point cloud and embedded part point cloud, and performs smooth optimization on the implicit surface equations corresponding to the main point cloud. The mesh generation module is used to extract watertight manifold meshes from the smoothed and optimized implicit surface equations; The embedded part calculation module solves for the actual spatial parameters of the embedded part based on the point cloud and watertight manifold mesh of the embedded part; The detection and repair module updates the BIM design model using the watertight manifold mesh and actual spatial parameters to generate a digital twin, performs virtual assembly interference detection based on the digital twin, and performs repair when interference exceeds the standard.

2. The prefabricated component inspection and repair system based on digital twin as described in claim 1, characterized in that, The point cloud data is obtained by preprocessing the initial point cloud data acquired by the laser scanner; The preprocessing includes voxel mesh downsampling and normal vector estimation; The point cloud data includes a first measured point cloud matrix and the normal vector of the first measured point; The three-dimensional coordinates of the first measured point in the point cloud data are located in the local measurement coordinate system. The reference geometric data includes a set of main reference points and a set of reference parameters for embedded parts; The main reference point set consists of the vertex coordinates representing the concrete geometric shell and their corresponding normal vectors; The set of reference parameters for embedded parts includes the design center coordinates and the unit direction vector of the design axis for each embedded part. The coordinate values ​​of the main reference point set and the embedded part reference parameter set are both located in the BIM global coordinate system.

3. The prefabricated component inspection and repair system based on digital twin as described in claim 2, characterized in that, In the registration module, the feature matching process includes: Calculate the fast point feature histogram descriptor for each first measured point in the first measured point cloud matrix and the fast point feature histogram descriptor for each reference point in the main reference point set; Feature matching is performed based on the Euclidean distance between descriptors to form initial matching point pairs, and valid matching point pairs are filtered through cross-correspondence verification. Each valid matching point pair is treated as a node. If the difference between the distance between the first measured point corresponding to the two nodes and the distance between the reference point is less than the preset distance deviation threshold, then an edge connection is established between the two nodes to construct a topology graph.

4. The prefabricated component inspection and repair system based on digital twin as described in claim 3, characterized in that, The topological confidence score filtering process in the registration module specifically includes: The local confidence score of each node is calculated based on the topology graph. The local confidence score is determined based on the number of closed triangles to which the node belongs and the local clustering coefficient. A row random matrix is ​​constructed based on the edge weights. The global influence value of each node is calculated iteratively through a Markov chain. The topological confidence score of the node is then calculated in combination with the local confidence score. The process of registering the point cloud data to the coordinate system of the BIM design model specifically includes: Nodes with topological confidence scores greater than a preset threshold are selected as high-confidence in-point sets. Rigid body transformation parameters are calculated using a random sampling consensus algorithm. The first measured point cloud data is then transformed to the coordinate system of the BIM design model to obtain the second measured point cloud matrix.

5. The prefabricated component inspection and repair system based on digital twin as described in claim 4, characterized in that, The process of constructing the implicit surface equation in the reconstruction module specifically includes: Based on the second measured point cloud data, a three-dimensional bounding box is constructed, and B-spline control points are obtained by dividing the data according to a preset grid spacing. A cubic B-spline implicit field equation in the form of a three-variable tensor product is then constructed. For each point in the second measured point cloud data, offset by a preset distance along the positive and negative sides of the normal vector direction to generate external constraint points and internal constraint points, and assign corresponding distance values ​​to them respectively; Based on surface points, external constraint points, and internal constraint points, and combined with the confidence weight matrix, a normal equation is established and solved to obtain the initial implicit field coefficients.

6. The prefabricated component inspection and repair system based on digital twin as described in claim 5, characterized in that, The process of separating the main point cloud and the embedded part point cloud in the reconstruction module specifically includes: Calculate the gradient vector and Hessian matrix of the implicit field equation, solve for the eigenvalues ​​of the shape operator matrix, and obtain the principal curvature of each point in the point cloud; If the sum of the absolute values ​​of the principal curvatures of a point is greater than the preset curvature threshold, and the point is located within the preset range of the embedded part design center, then the point is classified as the embedded part point cloud, and the remaining points are classified as the main point cloud.

7. The prefabricated component inspection and repair system based on digital twin as described in claim 6, characterized in that, The process of smoothing and optimizing the implicit surface equation in the reconstruction module specifically includes: An optimized functional containing data fitting terms and curvature regularization terms is constructed based on the main point cloud. The optimized functional is solved using a gradient-based optimization algorithm to obtain the optimized implicit field coefficients.

8. The prefabricated component inspection and repair system based on digital twin as described in claim 7, characterized in that, The process of extracting the watertight manifold mesh in the mesh generation module specifically includes: Based on the main point cloud set, with the coordinates of the points in the main point cloud set as the initial positions, the points are projected onto the zero isosurface of the optimized implicit field equation using the Newton iteration method with gradient normalization to obtain a narrowband constrained point set. An octree spatial partitioning structure is used to adaptively partition the space where the narrowband constraint point set is located, and the resulting leaf nodes are used as the mesh vertex regions. For each grid vertex region, a quadratic error function is constructed that includes a regularized drag term based on the centroid of the narrowband constraint point. The position representing the vertex is determined by solving the quadratic error function. The representative vertices are connected based on the adjacency relationship of the octree to generate facets, and non-manifold distortion detection is performed on the generated facets; If a non-manifold structure is detected, the common ancestor node is traced in the octree hierarchy, and vertex merging operations within the range of the common ancestor node are prohibited, outputting a watertight manifold mesh.

9. The prefabricated component inspection and repair system based on digital twin as described in claim 8, characterized in that, The process of solving the actual spatial parameters of the embedded part in the embedded part calculation module specifically includes: Extract a subset of the embedded point cloud for any embedded component; Extract the local average normal vector of the region where the embedded part is located from the watertight manifold grid; A nonlinear objective function is constructed, which includes a cylindrical surface geometric fitting error term, a directional coupling penalty term, and an axial sliding anchoring term. The nonlinear objective function is solved iteratively to obtain the actual center coordinates and actual axis direction vector of the embedded part. The actual center coordinates and actual axis direction vector of the embedded part constitute the actual spatial parameters. The spatial deviation of the embedded part is calculated based on the difference between the actual center coordinates and the design center coordinates, as well as the angle between the actual axis direction vector and the design axis direction vector.

10. The prefabricated component inspection and repair system based on digital twin as described in claim 9, characterized in that, The processing procedure of the detection and repair module specifically includes: The geometric data of the watertight manifold mesh and the spatial deviation of the embedded parts are written into the BIM design model to generate a digital twin model. Import the digital twin models of the two components for virtual assembly, and obtain the intersection entity of the two components through entity Boolean intersection operation; Calculate the maximum interference depth and average interference depth based on the intersection entities; When the maximum interference depth exceeds the first preset threshold, a CNC repair processing path is generated based on the projection of the intersection entities on the mesh surface; When the average interference depth exceeds the second preset threshold, an early warning message is issued.

Citation Information

Patent Citations

  • Nondestructive testing method for fabricated concrete member

    CN120086701A

  • Building outer contour line refined extraction and reconstruction method based on point cloud

    CN116704131A

  • Segmental beam prefabrication construction monitoring method based on three-dimensional laser scanning and BIM

    CN122088847A