An underwater visualisation precast block installation method and system
By combining underwater sonar point cloud data processing with self-balancing lifting equipment, the problems of high risk of manual measurement and difficulty in attitude extraction during breakwater construction were solved, achieving high-precision and automated block installation and interlocking.
Patent Information
- Application Number
- CN202611127196.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-28
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies rely on manual measurement for breakwater construction, which is dangerous; traditional calculations have large errors; underwater point cloud noise is high; and complex block overturning makes attitude extraction difficult, making it impossible to achieve block-by-block, full-coverage, and real-time monitoring.
Point cloud data is acquired by scanning with underwater sonar equipment. The overall attitude is inverted by extracting local point cloud data and verifying geometric features. The self-balancing spreader is linked to achieve real-time correction and precise engagement. The attitude is adjusted by using the self-balancing spreader installed on the water, combined with adaptive distance and angle thresholds.
It achieves high-precision automation of breakwater block installation, eliminates safety risks, improves fault tolerance and installation accuracy under complex working conditions, and ensures precise interlocking between blocks.
Smart Images

Figure CN123173526A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of underwater engineering construction and marine computer vision technology, specifically to an underwater visualization prefabricated block installation method and system based on underwater sonar point cloud calculation and self-balancing lifting device linkage, which is particularly suitable for high-precision automatic positioning and attitude adjustment installation of complex revetment blocks (such as Twisted King blocks, Four-corner pyramids, ACCROPODE blocks, etc.) in breakwater projects. Background Technology
[0002] Breakwater revetment blocks are the core structure of port and coastal engineering. Their underwater installation spatial attitude directly determines the interlocking degree between blocks, the overall stability of the revetment, and the wave-damping effect. With the increase in deep-water, high-wave, and strong-current marine engineering projects, the requirements for the measurement accuracy, real-time performance, and automation of the block's three-dimensional attitude have significantly increased. Currently, breakwater construction in China still largely relies on the traditional model of "filling + underwater exploration and verification by divers + positioning with a total station / GNSS on the surface."
[0003] However, traditional methods suffer from the following serious problems: 1. They rely on underwater divers to pull cables, measure angles, and visually estimate orientation, resulting in extremely low efficiency, high cost, and significant safety risks. Furthermore, they can only perform sampling inspections and cannot achieve block-by-block, full-coverage, and real-time monitoring. 2. Traditional "surface GNSS + lifting device attitude estimation" can only determine the planar position and tilt angle of the lifting device on the water surface. Due to the influence of underwater currents, the block and the lifting device often exhibit relative twisting or tilting, making surface estimation unable to reflect the true underwater 6-DOF attitude. 3. Existing 3D sonar is mostly used for macroscopic topographic surveys. For local underwater blocks, sonar scanning suffers from severe multipath effects and high noise from suspended objects. Moreover, the riprap foundation is extremely uneven, and precast blocks are prone to tilting or even overturning (i.e., the highest surface is not the designed top surface), causing conventional point cloud algorithms to misidentify the top surface and failing to accurately calculate the complete 6-DOF attitude, including yaw angle (orientation). Summary of the Invention
[0004] To address the shortcomings of existing technologies, such as the high risks associated with manual measurement, large errors in traditional calculations, high noise in underwater point clouds, and difficulties in attitude extraction due to the rollover of complex blocks, this invention provides an underwater visualized prefabricated block installation method and system. By extracting local point clouds and verifying geometric features to invert the overall attitude, and linking it with a self-balancing lifting device equipped with an automatic adjustment mechanism, real-time correction and precise engagement of underwater blocks are achieved during installation.
[0005] To address the aforementioned technical problems, the first aspect of this invention provides an underwater visualization prefabricated block installation method, comprising the following steps: Step S1: Obtaining point cloud data of the underwater prefabricated block by scanning with an underwater sonar device; Step S2: Preprocessing and voxelizing the point cloud data, and extracting multiple planar point cloud sets of the prefabricated block based on the normal vectors and distance features between adjacent voxels; Step S3: Identifying the true top surface in the planar point cloud sets, and calculating the current 6-DOF spatial attitude of the prefabricated block based on the center point, normal vector, and boundary line features of the true top surface, wherein the 6-DOF spatial attitude includes three-dimensional center coordinates, pitch angle, roll angle, and yaw angle; Step S4: Grabbing the prefabricated block using a self-balancing waterborne installation hoist, and comparing the calculated current 6-DOF spatial attitude with the design target attitude; Step S5: Based on the comparison deviation, controlling the drive mechanism on the self-balancing waterborne installation hoist to adjust the attitude, correcting the prefabricated block deviation until the installation accuracy requirements are met, and then controlling the hoist to descend and complete the placement and installation.
[0006] Preferably, in step S2, the specific process of extracting multiple planar point cloud sets is as follows: after removing noise using a statistical outlier filtering algorithm, the point cloud data is divided into segments of size [missing information]. A voxel block is selected, where A is the known side length of any face in the prefabricated block design model; any voxel block is selected, and its normal vector is calculated using the principal component analysis (PCA) algorithm; four adjacent blocks are found, and if the angle between the normal vectors of these four blocks and the normal vector of the central block is less than a set adaptive angle threshold, then the voxel block is selected. If a block is identified as a planar basic block, its planar equation is fitted, and the distance to that plane is less than or equal to an adaptive distance threshold. The point clouds are grouped into the same planar point cloud set.
[0007] Preferably, in step S3, the specific process of identifying the true top surface is as follows: calculate the center point of each plane point cloud set, sort the center points in descending order of height coordinates, and select the plane containing the highest center point as the undetermined top surface; use a rotation matrix to rotate the undetermined top surface to a horizontal reference plane, and extract the boundary points of the rotated point cloud; perform straight line clustering fitting on the boundary points, calculate the adjacent included angle and side length ratio of the fitted boundary lines, and generate a geometric feature descriptor; perform template matching between the geometric feature descriptor and the three-dimensional design model features of the precast block, and if the matching is successful, it is determined to be the true top surface; if the matching fails, it is determined that the precast block has overturned, and the second highest plane in the height sorting is selected to iterate the above steps until the true top surface is locked.
[0008] Preferably, the specific process of performing linear clustering fitting on the boundary points is as follows: project the rotated undetermined top surface point cloud onto the XY plane, and extract the plane boundary points using the AlphaShapes algorithm; select the initial four clustering lines from the boundary point cloud using the RANSAC algorithm; calculate the vertical distance from each boundary point to the current four clustering lines, and divide the point clusters according to the nearest neighbor principle; iteratively update the line equations for each point cluster using the least squares method until the point cluster allocation no longer changes or the line parameters converge, and output the four best-fit boundary lines.
[0009] Preferably, the specific process for calculating the current 6-DOF spatial attitude of the precast block is as follows: obtain the vertical height from the overall center to the top surface in the 3D design model of the precast block. The center point of the actual top surface is translated downwards along its unit normal vector. The distance is used to obtain the three-dimensional spatial coordinates of the center of gravity of the precast block; the unit normal vector of the real top surface is directly mapped to obtain the pitch angle and roll angle of the precast block; the longest principal feature edge is selected from the four optimal fitting boundary lines, and the projection direction vector of the principal feature edge on the XY plane is obtained. The angle between the projection direction vector and the positive X-axis of the coordinate system is calculated using the arctangent function, which is used as the yaw angle of the precast block.
[0010] Preferably, in step S1, data acquisition and conversion specifically includes: acquiring surface GNSS / RTK and compass data, fusing them with the raw point cloud data obtained by the underwater sonar equipment at the bottom layer, and converting the coordinate system of the point cloud data to the engineering global coordinate system.
[0011] Preferably, in step S4, the structure of the self-balancing water-based installation device includes: a measuring frame main beam and a lifting frame main beam, with floating foam provided at the ends or periphery of the main beam to enable the device to self-balance and float on the sea surface; at least two drive motors provided on the device to provide thrust on the water surface to adjust the planar position and yaw direction of the device and the precast block being grabbed; and a limiting tube or limiting device provided in the central area of the device to control the relative position of the precast components being installed; wherein the device is lifted or lowered by the auxiliary hook of the lifting equipment.
[0012] Preferably, in step S5, the execution process for correcting the precast block deviation is as follows: control the lowering of the auxiliary hook of the lifting equipment to initially position the precast block; execute steps S1 to S3 to obtain the current true attitude and determine whether it meets the installation accuracy requirements; if not, control the auxiliary hook of the lifting equipment to lift the precast block again to make it leave the riprap bed; use the drive motor to adjust the plane position and orientation of the lifting device for correction and adjustment; after correction, control the lowering of the auxiliary hook again to re-check the attitude, repeat this fine-tuning closed-loop process until the 6-DOF spatial attitude meets the specification accuracy requirements.
[0013] Preferably, the self-balancing water-based installation device further includes: a balancing sand cylinder, disposed on the device, for adjusting the overall center of gravity of the device and its tilt posture on the water surface; and an automatic unhooking device, which releases the precast block after confirming that the posture of the precast block meets the installation accuracy and is stably positioned.
[0014] A second aspect of the present invention provides an underwater visual prefabricated block installation system, applied to the above-described method. The system includes: a data acquisition module comprising an underwater multibeam sonar, a GNSS / RTK positioning terminal, and an attitude compass, for acquiring underwater point cloud data and global positioning information of the prefabricated block; an attitude calculation and monitoring platform comprising a processor and a memory, for running point cloud filtering, voxel extraction, true / false top surface anti-tipping verification, and a 6-DOF attitude calculation algorithm, and outputting attitude deviation commands; and a self-balancing surface installation device comprising a main beam frame, a buoyancy device, a prefabricated block gripping and limiting device, and a motor-driven actuator responding to the attitude deviation commands, for automatically correcting and adjusting the position and attitude of the prefabricated block on the water surface.
[0015] Compared with existing technologies, this invention has the following significant advantages: First, it innovatively combines a high-precision underwater sonar point cloud algorithm with a self-balancing lifting device at the physical level, breaking the traditional "blind" installation bottleneck and achieving a closed-loop process of "measurement-feedback-adjustment," eliminating reliance on divers' exploration and completely removing safety risks. Second, it innovatively introduces adaptive distance and angle thresholds (voxelated region growth) to replace fixed parameters, effectively overcoming the interference of underwater suspended matter multipath effects; the point cloud extraction algorithm can adapt to sonar data under different hydrological conditions. Third, addressing the problem of measurement failure caused by the easy capsizing of irregular revetment blocks (such as twisted blocks) underwater, this invention proposes a "geometric feature template matching" strategy. When the block is upside down, the algorithm can identify the "false top surface" based on descriptors such as aspect ratio and included angle, and probe downwards to find the "true top surface," greatly improving the fault tolerance rate under complex working conditions. Fourth, this invention overcomes the limitations of conventional methods that only measure planes and normal vectors. By mining the main characteristic edges of the top boundary (such as the longest edge), the key parameter representing the orientation of the block—the yaw angle—can be accurately obtained, which has decisive guiding significance for the precise interlocking and assembly of the blocks. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments disclosed in this invention, the accompanying drawings of the embodiments will be briefly described below. These drawings are for illustrative purposes only and are not intended to limit the scope of protection of this invention.
[0017] Figure 1 This is a schematic diagram of the self-balancing water-based lifting device of the present invention; Figure 2for Figure 1 AA diagram; Figure 3 for Figure 1 CC-Schematic Diagram; Figure 4 This is a schematic diagram illustrating the principle of solving the 6-DOF spatial attitude of the prefabricated block in this invention. Figure 5 This is a flowchart illustrating the overall algorithm and control process of the underwater visual prefabricated block installation method of the present invention.
[0018] In the diagram: 401 - Measuring frame and main beam of lifting device; 402 - Floating foam; 403 - Measuring frame lifting lug; 404 - Limiting device (or limiting tube); 405 - Drive motor; 406 - Balance sand cylinder; 407 - Measuring vertical rod; 408 - Underwater sonar equipment; 409 - Main hook of lifting equipment; 410 - Auxiliary hook of lifting equipment; 411 - Signal receiving rod; 412 - Automatic unhooking device. Detailed Implementation
[0019] The present invention will now be described in further detail and in complete form with reference to the accompanying drawings and specific embodiments. Those skilled in the art will understand that the following embodiments are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.
[0020] Example 1: System Configuration and Preparation like Figure 1-4 As shown, this invention discloses an underwater visualized prefabricated block installation system, mainly comprising three modules. First is a self-balancing floating installation device at the physical execution level. This device is suspended by a main hook, and floating foam is provided at the ends of the main beam and measuring frame, allowing it to float self-balancing on the sea surface. The device is equipped with balancing sand cylinders to balance the center of gravity and carries two underwater drive motors, which can provide horizontal and rotational thrust via console commands. The prefabricated block is grasped by an automatic unhooking device below the device and constrained by limit tubes. Second is a data acquisition module, which mounts a multibeam sonar at the bottom of the device's measuring vertical rod or on a matching ROV, and, combined with surface GNSS / RTK, converts the acquired sonar data into the CGCS2000 engineering global coordinate system in real time. Finally, there is an attitude calculation and monitoring platform deployed on a control vessel. This platform receives sonar data, executes the calculation algorithm of this invention, and converts the deviation into control commands for the drive motors.
[0021] Example 2: Underwater Measurement and Algorithm Solving Process After the block enters the water, the monitoring platform executes the following algorithm to calculate its true pose: Step 1 (Noise Reduction and Plane Extraction): The original point cloud contains interference from suspended matter in the water. The system uses a statistical outlier filtering algorithm to remove free noise. Subsequently, spatial voxel partitioning is used to segment the target point cloud into... Small blocks of varying sizes (A is the theoretical side length of the design model). PCA is used to calculate the normal vectors, and a KD-tree is used to find four adjacent blocks. If the angle between their normal vectors is less than the threshold adaptively set by the sonar resolution... (e.g., 0.5°~3°), then it is considered the base surface. The distance from the point to this surface is calculated iteratively, and the error is accounted for within... ( The system first clusters points within a certain standard deviation to form multiple planar point clouds. The second step (verification of true and false top surfaces): Uneven breakwater foundations often cause precast blocks to overturn, and the extracted highest surface may be a side surface. The system first takes the planar point cloud with the highest Z-axis and calculates its unit normal vector. A rotation matrix R is constructed to make it parallel to the XY plane. Then, projection is performed and the boundaries are extracted using AlphaShapes. The RANSAC algorithm is used to fit four boundary lines. The system calculates the included angle and length ratio of the four sides to generate a "geometric feature descriptor." For example, the top surface of a certain twisted character block requires an included angle of 90°±5° and an aspect ratio error of <10%. If the current highest surface does not meet this requirement, the system automatically determines that the block is tilted, discards that surface, and re-verifies it using the second-highest plane until the "true top surface" is locked. The third step (6-DOF generation): After locking the true top surface, the highest center point is moved down along the normal vector to design the thickness. The true centroid of the precast block is obtained. Pitch and Roll are derived from the top surface normal vector; and the projection vector of the longest boundary line on the top surface is extracted. ,pass Accurately determine the core parameter that determines the interlocking quality of the blocks—yaw angle.
[0022] This invention also proposes a technical method for inverting the overall 6-DOF attitude of a structure using local key plane information. The specific implementation steps are as follows: Step S1: Data Acquisition and Preprocessing Underwater point cloud data of the precast blocks is acquired by scanning from a top-down angle using multibeam sonar mounted on a lifting device or underwater robot. To meet the needs of engineering construction guidance, the collected raw point cloud data, combined with surface GNSS / RTK and compass data, has been converted to the engineering global coordinate system (such as the CGCS2000 coordinate system) at the data level. Addressing issues such as high noise levels and interference from suspended matter in the water, a statistical outlier filtering algorithm is used to process the raw point cloud, removing free noise points to obtain the target point cloud P.
[0023] Step S2: Adaptive parameter planar point cloud segmentation and extraction Step S21: Divide the target point cloud P into small blocks using the spatial voxel partitioning method, and set the voxel size. (Where A is the theoretical side length of any face of the pre-embedded block, ensuring that the feature is not excessively fragmented). Step S22: Select any voxel block. The normal vector of the small block is calculated using the principal component analysis (PCA) algorithm. .
[0024] Step S23: Use the KD-tree spatial index to find the smaller block. For each of the four adjacent small blocks, calculate the normal vector of each of the four small blocks. The included angle Step S24: Set the adaptive plane tolerance threshold. In practice, It is not a fixed value, but is dynamically set according to the angular resolution and ranging accuracy of the sonar equipment used (e.g., set to...). If all four included angles are less than Then it is determined It is a planar basic block; if it does not meet the requirements, a new small block is selected as the basic block. .
[0025] Step S25: Fitting plane equation Calculate the distance from each point in the point cloud P to the plane. Set an adaptive distance threshold. (in The standard deviation of sonar ranging noise, for example, is 2 cm. (For distances less than or equal to...) Points greater than or equal to a certain value are assigned as interior points (Plan_i), and those greater than a certain value are assigned as exterior points. This process is iterated until all planes are segmented, forming a set of planar point clouds. .
[0026] Step S3: Find the highest plane and perform an orthogonal rotation. Step S31: Traverse the planar point cloud set and calculate the center point of each face. Sort all center points in descending order of Z-axis height, and select the plane containing the highest center point as the "undetermined top face". Step S32: Let the unit normal vector extracted from the undetermined top face be... The target's orientation is parallel to the XY plane (i.e., the Z-axis unit vector). ).
[0027] Calculate the axis of rotation ; Calculate the rotation angle Generate the three-dimensional rotation matrix R using the formula for rotation vectors along arbitrary axes: (Where K is an antisymmetric matrix constructed based on vector k) Multiply the point cloud of the undetermined top surface by the rotation matrix R so that the normal vector of the plane is parallel to the Z-axis, which facilitates the subsequent two-dimensional contour extraction.
[0028] Step S4: Geometric template verification of real and fake top surfaces (anti-tipping mechanism) During riprap construction, the blocks may tilt severely or even overturn, and the highest surface extracted in step S3 may be a side or a sharp corner. Therefore, verification is required. Step S41: Project the rotated point cloud onto the XY plane, extract boundary points using the AlphaShapes algorithm, and calculate the midpoint.
[0029] Step S42: Boundary Line Clustering Fitting. To prevent non-convergence caused by random selection, the RANSAC algorithm is preferentially used to initialize four main direction clustering lines in the boundary point cloud. Then, the perpendicular distance from all boundary points to the lines is calculated, and the points are divided into four clusters according to the nearest neighbor assignment principle. The least squares method is used to update the line equations for the points within each cluster. When the point cluster assignment no longer changes or the line parameters converge (deviation...), the clustering is complete. ), outputting four optimal fitting boundary lines.
[0030] Step S43: Calculate the included angles and side length ratios of the four boundary lines to generate the "geometric feature descriptor" for the current plane. Compare this descriptor with the CAD design drawings of the precast blocks. For example, for a rectangular top surface facing block, determine whether its adjacent included angles are within the specified range. Within the specified range, and with an aspect ratio error not exceeding 10%. If this condition is met, it is confirmed as the "true top surface"; if the difference is large, it is determined to be a side surface, and the process returns to step S31, selecting the second-highest plane for re-verification until the true highest flat top surface is found.
[0031] Step S5: Complete 6-DOF spatial attitude calculation of the precast block After successfully locking onto the "real top surface", the final attitude calculation is performed (combined with...). Figure 2 (as shown) (1) Three-dimensional coordinate calculation: Obtain the vertical height from the center of the block to the top surface according to the design drawings. Translate the highest center point of the actual top surface downwards along the unit normal vector. The distance can be used to obtain the three-dimensional spatial coordinates of the centroid of the precast block. .
[0032] (2) Pitch angle and roll angle: unit normal vector of the true top surface It directly reflects the tilt state of the block, and the current pitch and roll angles of the prefabricated block can be obtained by analyzing the normal vector.
[0033] (3) Yaw Angle (or Orientation Angle): Extracting the orientation of the blocks is crucial for their interlocking. From the four boundary lines output in step S42, select the longest edge (or the feature edge specified in the design) as the "main orientation baseline". Let the direction vector of this baseline be projected onto the XY plane of the world coordinate system as... The formula for calculating the yaw angle of the precast block is: Thus, this method successfully obtained the complete 6-DOF attitude of the precast block in the global coordinate system. The data is output to the construction monitoring platform in real time, enabling high-precision automated quality control of the underwater installation of breakwater revetment blocks.
[0034] Example 3: Specifically, the present invention can measure the spatial attitude of underwater precast blocks using the following method, mainly including the following steps: Step S1: Precast block point cloud data acquisition. The precast block point cloud is acquired by sonar from any top-down angle. The precast block point cloud is processed by the statistical outlier filtering algorithm to obtain point cloud P. Step S2: Extract the highest plane of the prefabricated structural block; Step S21: Divide the precast block point cloud P into small blocks using the spatial voxel division method. The size of the voxel is V=A / 10, where A is the side length of any face of the precast block.
[0035] Step S22: Select any small block bi and use the PCA algorithm to calculate the normal vector vi of the small block; Step S23: Calculate the four small blocks adjacent to the small block bi. If the four small blocks are not satisfied, reselect bi and calculate the normal vectors vi1, vi2, vi3, and vi4 of the four small blocks respectively. Calculate the angles θ1, θ2, θ3, and θ4 between vi1, vi2, vi3, vi4 and vi respectively. Step 24: If θ1, θ2, θ3, and θ4 are all less than Δ, then bi is considered a planar basic block. If θ1, θ2, θ3, and θ4 are not all less than Δ, then Δ = 0.5, and a new small block is selected as bi. Step S25: Fit the plane equation bi_plan of bi, and calculate the points in P that are less than or equal to 1 cm from bi_plan as Plan_i, and the points in P that are greater than 1 cm from bi_plan as Plan_e.
[0036] Step S26: Using Plan_e as the reference, execute S21-S25 until all planar point cloud extraction is completed, forming a planar point cloud set Plan={Plan_i, i=0, 1, 3, 4......}.
[0037] Step S3: Precast Block Spatial Attitude Measurement Step S31: Traverse the planar point cloud set Plan, calculate the center point of each face, sort the center points of each face in descending order of Z-axis height, determine the highest center point (x, y, zmax), and take the plane containing the highest center point as the undetermined top face.
[0038] Step S32: Transform the point cloud to a plane parallel to xy based on vi.
[0039] The original plane is tilted; let the unit normal vector of vi be... The target's orientation is a plane parallel to the XY plane, with the corresponding standard normal vector being the unit vector along the Z-axis. The input normal vector needs to be normalized first to eliminate the interference of the magnitude on the rotation calculation: Rotation axis calculation: Rotation angle calculation: Generate a 3D rotation matrix using the formula for rotation vectors along arbitrary axes. The formula is as follows: In the formula, It is a 3-order identity matrix; For the axis of rotation Constructed antisymmetric matrix: For any point in the original point cloud Coordinates after rotation: at this time, This refers to a planar point cloud with its normal vector parallel to the Z-axis.
[0040] Step S33: Determine if the undetermined top surface is the true top surface. Due to the tilting of the precast block, the extracted top surface may be a side surface. The following algorithm is used to determine the top surface.
[0041] Step 33-1: First, Projecting onto the xy plane, the AlphaShapes algorithm is used to extract the boundary points of the planar point cloud, and the midpoint c of the projected boundary points is calculated. Step 33-2: Extract the four boundary point clouds.
[0042] A. Initialize four boundary lines. Randomly select four sets of non-overlapping two-dimensional point pairs from the input boundary point cloud, each set containing two non-coincident points; solve for a unique line from each set of point pairs to generate four initial clustering lines: The superscript (0) represents the 0th iteration (initial state).
[0043] B. Point cloud clustering assignment Clustering is performed on all boundary points using the perpendicular distance from a point to a straight line as the basis for clustering.
[0044] For any point pi in the point cloud, calculate its perpendicular distance to the current four clustering lines: di1,di2,di3,di4 Following the nearest neighbor assignment principle, the point is assigned to the cluster of points corresponding to the lines with the smallest distances, as defined mathematically below: After completing this round of allocation, we obtain four temporary point clusters corresponding to the four boundaries: C1, C2, C3, and C4.
[0045] C. Point Cluster Validity Verification. To avoid fitting failures with single points or sparse point clusters, a minimum valid point count threshold is set (recommended threshold: 5). If the number of points in a cluster is less than the threshold, it is considered an abnormal allocation, the previous round of line parameters is retained, and no update is performed.
[0046] D. Linear Equation Update Slope-intercept form for fitting straight lines to points within a cluster: And convert it to the general standard form of a straight line: After completing the fitting and updating of all clusters, output a new set of four boundary lines: ,in This represents the current iteration round.
[0047] E. Iterative Convergence Criterion Three termination conditions are set, and iteration will stop when any one of them is met, balancing convergence stability and computational efficiency.
[0048] Judgment 1: No change in point cluster allocation. The cluster numbers of all point cloud points in this round are completely consistent with those in the previous iteration. The point cloud segmentation results no longer change, the judgment result is stable, and the iteration is terminated.
[0049] Criterion 2: Line parameter threshold convergence. Calculate the total parameter deviation of the four lines before and after iterative updates to measure the degree of convergence. Set convergence accuracy threshold If the total deviation Once the parameters of the line are determined to be stable, the iteration stops.
[0050] Decision 3: Maximum number of iterations as a safety net. Set the maximum number of iterations. If the iteration reaches the upper limit and still fails to converge, the iteration is forcibly terminated, and the current optimal segmentation result is output.
[0051] F. Edge splitting Loop through steps B, C, D, E: Point cloud clustering assignment → Least squares linear update → Convergence condition determination After the iteration terminates, the output consists of four stable clusters of boundary points and four optimally fitted boundary lines.
[0052] Step 33-3: Find the true highest plane. Calculate the center points c1, c2, c3, and c4 of the four boundary point clouds. Construct vectors c-c1, c-c2, c-c3, and c-c4 pointing from c to c1, c2, c3, and c4 respectively. Calculate the angle between the vector and the X-axis, and number the four sides according to the angle. Since the prefabricated block mainly consists of the positive direction and trapezoidal planes, where the square sides are the top surface and the trapezoidal sides are the side surfaces, calculating the angle between two adjacent sides can determine whether it is a square. When the angles between all adjacent sides are similar, it is a square top surface; when the angles between all adjacent sides differ significantly, it is a trapezoidal top surface. Refer to step S23 for the judgment condition settings. If it is a square top surface, directly execute step S34; otherwise, select the plane with the second highest height in step S31 and iteratively execute steps S32 and S33 until the highest plane is found. Figure 2 As shown, Step S34: Calculate the normal vector v = (vx, vy, vz) of the top surface p_top. Based on the design information, obtain the overall height d of the precast block. Move the highest center point downwards along the unit normal vector by a distance d / 2 to obtain the current center point (xmid, ymid, zmid) of the entire block, thus obtaining the spatial orientation (xmid, ymid, zmid, vx, vy, vz) of the entire block. The calculation formula is as follows: Example 3: Self-balancing spreader linkage correction process after obtaining the calculated current... Afterwards, the monitoring platform compares the precast component with the target attitude in the design drawings and outputs the deviation. The operator controls the crawler crane's auxiliary hook to descend, initially placing the precast component on the riprap foundation. A rapid sonar scan of one frame is performed; if the calculation platform indicates "yaw angle deviation +15 degrees, X-axis deviation 20cm," it means the specifications are not met. At this point, the crane's auxiliary hook is slightly raised, just enough to separate the precast block from the foundation (reducing frictional resistance). The monitoring platform triggers the differential start of the two drive motors on the lifting device. The motors generate gyratory torque and lateral thrust on the water surface, causing the floating lifting device and underwater precast block to rotate 15 degrees and translate 20cm. After the motors stop, the system performs a second sonar scan and algorithm verification. If the accuracy requirements are met, the crawler crane's auxiliary hook is fully lowered and placed. If residual deviations still exist, the "lift-motor adjustment-placement retest" steps are repeated. After complete placement, the automatic unhooking device is triggered to detach from the precast block, thus completing the high-precision automated underwater installation closed loop for a complex precast block.
[0053] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for installing underwater visualized prefabricated blocks, characterized in that, Includes the following steps: Step S1: Obtain point cloud data of underwater prefabricated blocks by scanning with underwater sonar equipment; Step S2: Preprocess and voxelize the point cloud data, and extract multiple planar point cloud sets of the prefabricated block based on the normal vector and distance features between adjacent voxels; Step S3: Identify the true top surface in the planar point cloud set, and calculate the current 6-DOF spatial attitude of the precast block based on the center point, normal vector, and boundary line features of the true top surface. The 6-DOF spatial attitude includes three-dimensional center coordinates, pitch angle, roll angle, and yaw angle. Step S4: Use a self-balancing waterborne installation hoist to grab the precast block, and compare the calculated current 6-DOF spatial attitude with the design target attitude. Step S5: Based on the comparison deviation, control the drive mechanism on the self-balancing waterborne installation hoist to adjust the attitude, correct the precast block deviation until the installation accuracy requirements are met, and then control the hoist to descend to complete the placement and installation.
2. The method according to claim 1, characterized in that, In step S2, the step of extracting multiple planar point cloud sets includes: after removing noise using a statistical outlier filtering algorithm, segmenting the point cloud data into sets of size [missing information]. A voxel block is selected, where A is the known side length of any face in the prefabricated block design model; any voxel block is selected, and its normal vector is calculated using the principal component analysis (PCA) algorithm; four adjacent blocks are found, and if the angle between the normal vectors of these four blocks and the normal vector of the central block is less than a set adaptive angle threshold, then the voxel block is selected. If a block is identified as a planar basic block, its planar equation is fitted, and the distance to that plane is less than or equal to an adaptive distance threshold. The point clouds are grouped into the same planar point cloud set.
3. The method according to claim 1, characterized in that, In step S3, the step of identifying the true top surface includes: calculating the center point of each plane point cloud set, sorting the center points from largest to smallest according to their height coordinates, and selecting the plane containing the highest center point as the undetermined top surface; rotating the undetermined top surface to a horizontal reference plane using a rotation matrix, and extracting the boundary points of the rotated point cloud; performing straight line clustering fitting on the boundary points, calculating the adjacent angles and side length ratios of the fitted boundary lines, and generating a geometric feature descriptor; performing template matching between the geometric feature descriptor and the features of the three-dimensional design model of the precast block, and if the matching is successful, it is determined to be the true top surface; if the matching fails, it is determined that the precast block has overturned, and the second highest plane in the height sorting is selected to iterate the above steps until the true top surface is locked.
4. The method according to claim 3, characterized in that, The steps for performing linear clustering fitting on the boundary points include: projecting the rotated undetermined top surface point cloud onto the XY plane, and extracting the plane boundary points using the AlphaShapes algorithm; selecting the initial four clustering lines from the boundary point cloud using the RANSAC algorithm; calculating the vertical distance from each boundary point to the current four clustering lines, and dividing the point clusters according to the nearest neighbor principle; iteratively updating the line equations for each point cluster using the least squares method until the point cluster assignment no longer changes or the line parameters converge, and outputting the four best-fit boundary lines.
5. The method according to claim 4, characterized in that, In step S3, the specific process of calculating the current 6-DOF spatial attitude of the precast block is as follows: obtain the vertical height from the overall center to the top surface in the three-dimensional design model of the precast block. The center point of the actual top surface is translated downwards along its unit normal vector. The distance is used to obtain the three-dimensional spatial coordinates of the center of gravity of the precast block; the unit normal vector of the real top surface is directly mapped to obtain the pitch angle and roll angle of the precast block; the longest principal feature edge is selected from the four optimal fitting boundary lines, and the projection direction vector of the principal feature edge on the XY plane is obtained. The angle between the projection direction vector and the positive X-axis of the coordinate system is calculated using the arctangent function, which is used as the yaw angle of the precast block.
6. The method according to claim 1, characterized in that, In step S1, the data acquisition and conversion steps include: acquiring surface GNSS / RTK and compass data, fusing them with the raw point cloud data obtained by the underwater sonar equipment at the bottom layer, and converting the coordinate system of the point cloud data to the engineering global coordinate system.
7. The method according to claim 1, characterized in that, In step S4, the structure of the self-balancing water-based installation device includes a measuring frame main beam and a lifting frame main beam. Floating foam is provided at the ends or periphery of the main beam to enable the device to self-balance and float on the sea surface. At least two drive motors are provided on the device to provide thrust on the water surface to adjust the planar position and yaw direction of the device and the precast block being grasped. A limiting tube or limiting device is provided in the central area of the device to control the relative position of the precast components being installed. The device is lifted or lowered by the auxiliary hook of the lifting equipment.
8. The method according to claim 7, characterized in that, In step S5, the execution process for correcting the precast block deviation is as follows: control the lowering of the auxiliary hook of the lifting equipment to initially position the precast block; execute steps S1 to S3 to obtain the current true attitude and determine whether it meets the installation accuracy requirements; if not, control the auxiliary hook of the lifting equipment to lift the precast block again to make it leave the riprap bed; use the drive motor to adjust the plane position and orientation of the lifting device for correction and adjustment; after correction, control the lowering of the auxiliary hook again to re-check the attitude, repeat this fine-tuning closed-loop process until the 6-DOF spatial attitude meets the specification accuracy requirements.
9. The method according to claim 8, characterized in that, The self-balancing water-based installation device also includes a balancing sand cylinder, which is installed on the device to adjust the overall center of gravity of the device and its tilt attitude on the water surface; and an automatic unhooking device, which releases the precast block after confirming that the attitude of the precast block meets the installation accuracy and is stably positioned.
10. An underwater visual prefabricated block installation system, characterized in that, The system, applicable to the implementation of the method as described in any one of claims 1-9, comprises: a data acquisition module including an underwater multibeam sonar, a GNSS / RTK positioning terminal, and an attitude compass, for acquiring underwater point cloud data and global positioning information of the precast blocks; an attitude calculation and monitoring platform including a processor and a memory, for running point cloud filtering, voxel extraction, true and false top surface anti-rollover verification, and 6-DOF attitude calculation algorithms, and outputting attitude deviation commands; and a self-balancing waterborne installation device including a main beam frame, a buoyancy device, a precast block gripping and limiting device, and a motor-driven actuator responding to the attitude deviation commands, for automatically correcting and adjusting the position and attitude of the precast blocks on the water surface.
