A method for estimating the volume of tunnel injection based on point cloud data processing
Through the translation, preprocessing and triangular prism volume calculation of point cloud data, the accuracy of tunnel point cloud data analysis and local injection volume calculation problems in the existing technology are solved, and high-accuracy calculation of tunnel injection volume is achieved. , supporting fully automatic and unmanned tunnel operations.
Patent Information
- Application Number
- CN202010583060.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-23
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-06-23
AI Technical Summary
Existing tunnel point cloud data analysis methods cannot meet the requirements for high accuracy and local injection volume calculation in fully automatic and unmanned tunnel operations, and are only suitable for steel-free arch types.
Through point cloud translation, preprocessing, triangulation and triangular prism volume calculation, high-accuracy processing of designed and scanned point clouds is achieved, and the overall and local injection volume is calculated. Specific steps include point cloud translation, downsampling, triangulation, normal vector calculation, Poisson reconstruction, geometric primitive extraction and triangular prism volume calculation.
It achieves high-accuracy calculation of tunnel spraying volume, supports fully automatic and unmanned tunnel spraying operations, and is suitable for various types of tunnel structures.
Smart Images

Figure CN111724436B
Abstract
Description
Technical Field
[0001] The invention relates to a tunnel injection volume estimation method based on point cloud data processing, belonging to the technical field of tunnel engineering. Background Art
[0002] At present, most of the tunnel shotcrete support operations are manually operated by shotcrete robotic arms. The working environment is extremely harsh, the working conditions are poor, the process is time-consuming, and it seriously endangers the health of workers. Therefore, it is particularly important to realize the fully automatic unmanned operation of tunnel shotcrete. To realize fully automatic unmanned operation, the acquisition of tunnel status information is one of the most important links. 3D laser scanning technology has the characteristics of non-contact, high efficiency, high precision and large amount of information acquisition, and is suitable for the measurement of tunnel parameters. By applying 3D laser scanning technology, huge tunnel point cloud data can be obtained. How to efficiently extract the injection volume required for shotcrete operation from the tunnel point cloud data is the key issue of fully automatic unmanned operation of tunnel shotcrete.
[0003] Patent 201811476525.7 provides a method for analyzing tunnel point cloud data, which consists of four steps: coordinate system conversion of point cloud data, obtaining section point cloud data to be analyzed, partitioning the point cloud data and obtaining data of each partition, and calculating over-excavation and under-excavation volumes. However, it uses the average value of the point cloud data to calculate the required injection volume. The result obtained by this calculation method has low accuracy and can only calculate the overall injection volume but not the injection volume of the local area. Moreover, this method does not extract the steel arch point cloud in the point cloud data, so it is only suitable for types without steel arches. Therefore, this method cannot meet the requirements of high accuracy of tunnel point cloud data analysis and the ability to calculate local injection volume for fully automatic unmanned operations in tunnels. Summary of the invention
[0004] The purpose of the present invention is to propose a tunnel injection volume estimation method based on point cloud data processing, so as to solve the problem that the existing method is only applicable to the type without steel arch frame, and cannot meet the requirements of high accuracy of tunnel point cloud data analysis and calculation of local injection volume for fully automatic unmanned operation of tunnel.
[0005] A method for estimating the volume of tunnel injection based on point cloud data processing, the method comprising the following steps:
[0006] Step 1: Point cloud translation: Calculate the center of gravity of the design point cloud, translate the design point cloud to the origin, and translate the scanned point cloud according to the translation vector generated during the translation of the design point cloud;
[0007] Step 2: Preprocessing of design point cloud: downsample the design point cloud, then triangulate the design point cloud to obtain a design point cloud composed of triangular facets, and then use the Ransac_nomals method to calculate the normal vector of each triangular facet vertex, and finally perform direction correction so that each normal vector points to the outside of the design point cloud;
[0008] Step 3: Scan point cloud preprocessing: first use the random sampling consistency method to extract the geometric primitives of the scan point cloud, remove the point cloud representing the support, and then use Poisson reconstruction to reconstruct the scan point cloud with missing points, holes, and locally too sparse point clouds into a closed triangular mesh model, and extract the point cloud from the triangular mesh, and then encrypt the point cloud by upsampling, and finally extract the steel arch information of the blasting point cloud;
[0009] Step 4. Grow the triangular face into a triangular prism: Take a triangular face △A1A2A3 of a design point cloud, calculate the coordinates of its centroid M according to the coordinates of the triangle vertices, take the average of the three vertex normal vectors as the normal vector n of the centroid M, calculate the distance from the centroid M to the three vertices of the triangle, take the one with the largest distance as the radius, take point M as the center of the circle, and vector n as the generatrix of the cylinder, establish a cylinder with unlimited height, count the points in the cylinder entered in the scanned point cloud, and calculate the centroid N of these points. At this time, the distance from point N to the triangular face △A1A2A3 is the height h of the triangular prism. According to the coordinates of the three points A1, A2, A3 on the design point cloud, their respective normal vectors, vector n and height h, calculate B1, B2, B3 on the scanned point cloud, and complete the construction of the triangular prism A1, A2, A3, B1, B2, B3;
[0010] Step 5. Volume estimation: Calculate the volume of the triangular pyramid according to the triangular pyramid volume calculation formula. The volume of all triangular pyramids is the total volume to be sprayed. The volume of local triangular pyramids is the local volume to be sprayed.
[0011] Furthermore, in step three, the geometric primitives of the scanned point cloud are planes and cylinders.
[0012] The main advantages of the present invention are as follows: the present invention discretizes the point cloud by triangulating the design point cloud and growing the triangular facets into triangular prisms, thereby achieving high-accuracy calculation of the overall volume to be sprayed and the local volume to be sprayed, providing environmental perception support for the fully automatic and unmanned tunnel spraying operation, and having strong practical significance for the automation of tunnel engineering machinery. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is a schematic diagram of point cloud triangulation;
[0014] Figure 2 is a schematic diagram of the triangular facet growing outward into a triangular pyramid, where Figure 2(a) is a schematic diagram of the normal vector of a triangle patch; Figure 2 (b) is a schematic diagram of a cylinder; Figure 2 (c) is a schematic diagram of a triangular prism;
[0015] Figure 3 This is a schematic diagram of a triangular prism. DETAILED DESCRIPTION
[0016] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0017] A method for estimating the volume of tunnel injection based on point cloud data processing, the method comprising the following steps:
[0018] Step 1: Point cloud translation: Calculate the center of gravity of the design point cloud, translate the design point cloud to the origin, and translate the scanned point cloud according to the translation vector generated during the translation of the design point cloud;
[0019] Step 2: Preprocessing of design point cloud: downsample the design point cloud, then triangulate the design point cloud to obtain a design point cloud composed of triangular facets, and then use the Ransac_nomals method to calculate the normal vector of each triangular facet vertex, and finally perform direction correction so that each normal vector points to the outside of the design point cloud;
[0020] Step 3: Scan point cloud preprocessing: first use the random sampling consistency method to extract the geometric primitives of the scan point cloud, remove the point cloud representing the support, and then use Poisson reconstruction to reconstruct the scan point cloud with missing points, holes, and locally too sparse point clouds into a closed triangular mesh model, and extract the point cloud from the triangular mesh, and then encrypt the point cloud by upsampling, and finally extract the steel arch information of the blasting point cloud;
[0021] Step 4. Grow the triangular face into a triangular prism: Take a triangular face △A1A2A3 of a design point cloud, calculate the coordinates of its centroid M according to the coordinates of the triangle vertices, take the average of the three vertex normal vectors as the normal vector n of the centroid M, calculate the distance from the centroid M to the three vertices of the triangle, take the one with the largest distance as the radius, take point M as the center of the circle, and vector n as the generatrix of the cylinder, establish a cylinder with unlimited height, count the points in the cylinder entered in the scanned point cloud, and calculate the centroid N of these points. At this time, the distance from point N to the triangular face △A1A2A3 is the height h of the triangular prism. According to the coordinates of the three points A1, A2, A3 on the design point cloud, their respective normal vectors, vector n and height h, calculate B1, B2, B3 on the scanned point cloud, and complete the construction of the triangular prism A1, A2, A3, B1, B2, B3;
[0022] Step 5. Volume estimation: Calculate the volume of the triangular pyramid according to the triangular pyramid volume calculation formula. The volume of all triangular pyramids is the total volume to be sprayed. The volume of local triangular pyramids is the local volume to be sprayed.
[0023] In step three, the geometric primitives of the scanned point cloud are planes and cylinders.
[0024] A specific implementation example is proposed below:
[0025] The first step is to use C++ file stream to read the design point cloud data and scan point cloud data into memory;
[0026] The second step is to calculate the center of gravity of the read-in design point cloud, translate the design point cloud data to the origin, and use the pcl library to create a design_cloud object. This process generates a translation vector. According to the generated translation vector, translate the scan point cloud and use the pcl library to create a scan_cloud object;
[0027] The third step is to downsample the design point cloud. Since the design point cloud is too dense, subsequent triangulation and triangle patch growth are all based on the design point cloud, so the design point cloud is downsampled here, which greatly improves the efficiency of subsequent algorithms;
[0028] The fourth step is to call the CGAL library to triangulate the design point cloud, such as Figure 1 As shown. The purpose of triangulating the design contour point cloud is to generate triangular facets as the bottom surface of the triangular pyramid;
[0029] Step 5: Use the Ransac_nomals method to calculate the normal vector. Each vertex is located on multiple triangles, and the normal vectors of all triangles containing this vertex are fitted as the normal vector of this vertex. Then, direction correction is performed, and the projection point of the search point on the y-axis of the point cloud coordinate system is used as the viewpoint to correct the direction of the normal vector, so that each normal vector points to the outside of the design point cloud as the growth direction of the triangle.
[0030] The sixth step is to use the random sampling consensus (RANSAC) method to extract the geometric primitives (planes and cylinders) of the scanned point cloud and remove the point cloud representing the support;
[0031] Step 7: Through Poisson reconstruction, the scanned point cloud is reconstructed into a closed triangular mesh model, and the point cloud is extracted from the triangular mesh. This solves the problems of missing and empty points in the original scanned point cloud.
[0032] Step 8: Upsample the scanned point cloud and encrypt the point cloud filled by Poisson reconstruction in step 7;
[0033] The ninth step is to extract the steel arch frame. Using the gap between the steel arch frame and the blasting point cloud, the triangular facets of the design point cloud grow outward. If the distance between the first contact point and the last contact point in the growth direction exceeds a certain threshold, the first point encountered is considered to belong to the steel arch frame. Then, outlier removal, connectivity detection, NFA curve fitting and other operations are performed to finally extract the point cloud of the steel arch frame.
[0034] Step 10: The triangular face grows outward into a triangular pyramid. Assume that the three vertices A1, A2, A3 of a triangular face of the design point cloud and the outward-pointing normal vectors n1, n2, n3 of each vertex of the triangle are known, such as Figure 2 As shown in (a), the growth of triangular facets and normal vectors into triangular pyramids is divided into the following four steps:
[0035] The coordinates of the center of gravity M are calculated according to the coordinates of the triangle vertices, and the average of the normal vectors of the three vertices is used as the normal vector n of the center of gravity M (such as Figure 2 (a) of FIG.
[0036] Calculate the distance from point M to the three vertices of the triangle, and take the one with the largest distance (such as Figure 2 The line segment MA1 in (b) is the radius, point M is the center, and vector n is the generatrix of the cylinder. A cylinder with unlimited height is established;
[0037] Count the points in the blasting point cloud that are inside the cylinder and calculate the center of gravity N of these points (e.g. Figure 2 (b) shows that the distance from point N to the triangle is the height h of the prism.
[0038] According to the normal vector n and the height h, the coordinates of the three points A1, A2, A3 on the design point cloud and their respective normal vectors are used to calculate B1, B2, B3 on the blasting point cloud. At this time, a triangular prism A1, A2, A3, B1, B2, B3 is constructed, as shown in Figure 2 as shown in (c).
[0039] The volume calculation formula for constructing a triangular prism is:
[0040]
[0041] like Figure 3 As shown, SABC and SDEF are the areas of the upper and lower bases of the prism respectively.
[0042] The total volume is calculated by counting the volumes of all triangular pyramids, and the local volume to be sprayed can be obtained by counting the volumes of local triangular pyramids.
Claims
1. A method for estimating the volume of tunnel injection based on point cloud data processing, characterized in that: The method comprises the following steps: Step 1: Point cloud translation: Calculate the center of gravity of the design point cloud, translate the design point cloud to the origin, and translate the scanned point cloud according to the translation vector generated during the translation of the design point cloud; Step 2: Preprocessing of design point cloud: downsample the design point cloud, then triangulate the design point cloud to obtain a design point cloud composed of triangular facets, and then use the Ransac_nomals method to calculate the normal vector of each triangular facet vertex, and finally perform direction correction so that each normal vector points to the outside of the design point cloud; Step 3: Scan point cloud preprocessing: first use the random sampling consistency method to extract the geometric primitives of the scan point cloud, remove the point cloud representing the support, and then use Poisson reconstruction to reconstruct the scan point cloud with missing points, holes, and locally too sparse point clouds into a closed triangular mesh model, and extract the point cloud from the triangular mesh, and then encrypt the point cloud by upsampling, and finally extract the steel arch information of the blasting point cloud; Step 4. Grow the triangular face into a triangular prism: Take a triangular face △A1A2A3 of a design point cloud, calculate the coordinates of its centroid M according to the coordinates of the triangle vertices, take the average of the three vertex normal vectors as the normal vector n of the centroid M, calculate the distance from the centroid M to the three vertices of the triangle, take the one with the largest distance as the radius, take point M as the center of the circle, and vector n as the generatrix of the cylinder, establish a cylinder with unlimited height, count the points in the cylinder entered in the scanned point cloud, and calculate the centroid N of these points. At this time, the distance from point N to the triangular face △A1A2A3 is the height h of the triangular prism. According to the coordinates of the three points A1, A2, A3 on the design point cloud, their respective normal vectors, vector n and height h, calculate B1, B2, B3 on the scanned point cloud, and complete the construction of the triangular prism A1, A2, A3, B1, B2, B3; Step 5. Volume estimation: Calculate the volume of the triangular pyramid according to the triangular pyramid volume calculation formula. The volume of all triangular pyramids is the total volume to be sprayed. The volume of local triangular pyramids is the local volume to be sprayed.
2. According to the method for estimating the volume of tunnel spraying based on point cloud data processing according to claim 1, it is characterized in that: In step three, the geometric primitives of the scanned point cloud are planes and cylinders.
Citation Information
Patent Citations
A tunnel point cloud data analysis method and system
CN109191521A
Rapid volume measurement method based on spatial invariant feature
CN104778720A
Pavement pit slot volume measurement method and device
CN109900338A
