Intelligent binding method, device, equipment and medium for steel cage based on three-dimensional reconstruction

Through 3D reconstruction technology, combined with structured light cameras and robotic arms, the vertical and horizontal steel bars in the double-layer steel cage are identified and separated, the coordinates of the binding points are fitted, and the binding sequence is optimized to solve the problem of weak binding and problems in the double-layer steel cage scene. The problem of missing binding has improved the efficiency and accuracy of binding.

CN118456446BActive Publication Date: 2024-09-06HUNAN DILUER TECHNOLOGY CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410910938.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-09-06
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

Existing automation technology is difficult to accurately identify and bind steel bars in a double-layer steel cage scenario, resulting in problems such as weak binding and missing binding, which affects the stability and safety of the building structure.

Method used

Using a method based on three-dimensional reconstruction, point cloud data is obtained through structured light cameras and robotic arms, and hand-eye calibration, point cloud segmentation, clustering and path planning are performed to identify and separate vertical and horizontal steel bars, fit the cylinder expression equation, and determine Binding point coordinate information, optimized binding sequence and path planning.

Benefits of technology

It realizes orderly and accurate tying tasks of robots in double-layer and single-layer steel cage scenes, improves tying efficiency and accuracy, and overcomes the problems of weak tying and missing tying in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118456446B
    Figure CN118456446B
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and medium for intelligent binding of steel cages based on three-dimensional reconstruction, and relates to the field of automation technology, including: obtaining a double-layer steel cage point cloud model of a target steel cage; projecting the point cloud data of the double-layer steel cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and dividing the projected point cloud data into vertical reinforcement point cloud and horizontal reinforcement point cloud based on the density difference of the point cloud after projection; identifying and separating the vertical reinforcement point cloud and the horizontal reinforcement point cloud from a single reinforcement, and obtaining the point cloud data of a single reinforcement corresponding to a single vertical reinforcement and a single horizontal reinforcement respectively; performing cylinder fitting on the point cloud data of a single reinforcement, and obtaining the fitted cylinder expression equation of the single reinforcement, and determining the coordinate information of the reinforcement binding point based on the cylinder expression equation, and performing path planning by a preset path planning algorithm and according to the coordinate information of all reinforcement binding points, and obtaining a reinforcement cage binding scheme including the binding sequence and the binding point coordinate information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automation technology, and in particular to a method, device, equipment and medium for intelligently binding a steel cage based on three-dimensional reconstruction. Background Art

[0002] The construction industry has made great progress in industrialization and automation. However, as an indispensable part of the construction process, manual tying is a common method, which is completed by using iron wire or steel wire to tie the steel bars together. In this process, workers usually use pliers or special tying tools to fix the steel wire by twisting it to ensure that the connection between the steel bars is tight and stable. However, relying on manual work is not only time-consuming and labor-intensive, but also prone to loose tying, missing tying, etc., leading to instability and safety problems of the building structure. In machine automation operation scenarios, the steel bar image is generally captured by a binocular camera, and then the depth information is obtained by calculating the disparity map of the captured steel bar image. However, in actual application scenarios, when the surface texture of the steel bar is weak or lacks obvious texture features, the disparity map may not be accurate enough for the depth estimation of these areas, and the collective information provided by the image is limited, and it is impossible to capture the detailed three-dimensional shape of the steel bar. In the double-layer steel cage scenario, there is an intersection between the upper and lower layers of steel bars. Such "false points" of steel bar intersections are difficult to distinguish from the real binding points that need to be tied in the image, resulting in the image-based steel bar binding point recognition algorithm having limitations in accuracy and robustness. Therefore, the existing automatic binding technology cannot be applied to double-layer steel cages.

[0003] In summary, for the binding scenarios of double-layer and single-layer steel cages, how to enable the robot to execute the steel cage binding tasks in an orderly and accurate manner, optimize the execution order of the binding tasks, and improve the overall binding efficiency are technical problems to be solved in this field. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a method, device, equipment and medium for intelligent tying of steel cages based on three-dimensional reconstruction, which can realize the orderly and accurate execution of steel cage tying tasks by robots for the tying scenarios of double-layer and single-layer steel cages, optimize the execution order of tying tasks, and improve the overall tying efficiency. The specific scheme is as follows:

[0005] In a first aspect, the present application discloses a steel cage intelligent binding method based on three-dimensional reconstruction, comprising:

[0006] Determine the target transformation matrix from the world coordinate system to the robot arm base coordinate system according to a preset hand-eye calibration method; obtain the point cloud data and camera pose information of the target steel cage corresponding to different camera shooting poses through a structured light camera and a robot arm; reconstruct a double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data;

[0007] Projecting the point cloud data of the double-layer reinforcement cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and dividing the projected point cloud data into vertical reinforcement point cloud and horizontal reinforcement point cloud based on the density difference of the projected point cloud;

[0008] Using a preset clustering algorithm to identify and separate the single steel bar on the vertical steel bar point cloud and the horizontal steel bar point cloud, respectively, to obtain the single steel bar point cloud data corresponding to the single vertical steel bar and the single horizontal steel bar respectively;

[0009] Cylinder fitting is performed on the single steel bar point cloud data to obtain the fitted cylindrical expression equation of each of the single steel bars, and the coordinate information of the steel bar binding points is determined based on the cylindrical expression equation. Path planning is performed through a preset path planning algorithm and based on the coordinate information of all the steel bar binding points to obtain a steel cage binding scheme including the binding sequence and binding point coordinate information.

[0010] Optionally, the method includes determining a target transformation matrix from a world coordinate system to a robot base coordinate system according to a preset hand-eye calibration method; obtaining point cloud data and camera pose information of a target steel cage corresponding to different camera shooting poses through a structured light camera and a robot arm; and reconstructing a double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data, including:

[0011] The end effector of the robot arm is used as the hand, the structured light camera is used as the eye, and the first transformation matrix between the camera coordinate system and the end coordinate system of the robot arm is determined by using the eye-in-hand hand-eye calibration method;

[0012] Calculate and determine a second transformation matrix between the robot arm end coordinate system and the robot arm base coordinate system based on the end pose information of the robot arm end effector and the base pose information of the robot arm base coordinate system;

[0013] Calculate and determine a third transformation matrix from a world coordinate system to a camera coordinate system according to the camera intrinsic parameters and distortion coefficients of the structured light camera;

[0014] Calculate and determine the target transformation matrix from the world coordinate system to the robot base coordinate system through the first transformation matrix, the second transformation matrix, and the third transformation matrix;

[0015] The target steel cage is photographed by the structured light camera at different camera shooting positions to capture the structured light reflected by the target steel cage and calculate the corresponding depth information;

[0016] Generate point cloud data of the target steel cage in each camera shooting posture using the depth information, and obtain camera posture information in each camera shooting posture using a robotic arm;

[0017] The target point cloud data of the target steel cage in the robotic arm base coordinate system is determined based on the target transformation matrix, the camera pose information and the point cloud data, so as to generate a double-layer steel cage point cloud model according to the target point cloud data.

[0018] Optionally, generating a double-layer steel cage point cloud model according to the target point cloud data includes:

[0019] Selecting one or more coordinate axes, and determining a minimum value and a maximum value of each of the coordinate axes, so as to construct a target retention range based on the minimum value and the maximum value;

[0020] Checking whether each target point in the target point cloud data is located in the target reserved range, and taking the target points outside the target reserved range as deletion points, and deleting the deletion points from the target point cloud data to obtain first point cloud data with the environment point cloud removed;

[0021] The plane equation obtained by fitting the ground is obtained, and the plane distances from all target points in the first point cloud data to the plane equation are compared with a preset distance threshold, and then the target points whose plane distances are less than the preset distance threshold are deleted to obtain the second point cloud data with the ground point cloud removed, and a double-layer steel cage point cloud model is generated based on the second point cloud data.

[0022] Optionally, projecting the point cloud data of the double-layer steel cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and dividing the projected point cloud data into vertical reinforcement point cloud and horizontal reinforcement point cloud based on the point cloud density difference after projection, including:

[0023] Projecting the second point cloud data of the double-layer steel cage point cloud model in a direction perpendicular to the ground to obtain target second point cloud data in the ground direction;

[0024] The number of target second point clouds in a preset outer rectangular grid is counted, and the target second point cloud data is divided in a vertical direction and a horizontal direction by calculating the outlier factor of the number of target second point clouds counted in each preset outer rectangular grid to obtain a vertical rib point cloud and a horizontal rib point cloud.

[0025] Optionally, the counting of the number of target second point clouds in a preset outer rectangular grid and the dividing of the target second point cloud data in a vertical direction and a horizontal direction by calculating the outlier factor of the number of target second point clouds counted in each preset outer rectangular grid to obtain a vertical rib point cloud and a horizontal rib point cloud include:

[0026] Obtaining a minimum outer bounding rectangle of the target second point cloud data, and dividing the minimum outer bounding rectangle into equidistant grids according to a size standard in which both the length and width dimensions are 3 mm, so as to obtain preset outer bounding rectangle grids;

[0027] Counting the number of target second point clouds in each of the preset outer rectangular grids, and calculating the outlier factor corresponding to each of the target second point clouds by a local outlier factor detection algorithm;

[0028] Using the outlier factor as the point cloud density difference to divide the target second point cloud data in the vertical direction and the horizontal direction to obtain a plane vertical rib point cloud and a plane horizontal rib point cloud on the plane;

[0029] The plane vertical reinforcement point cloud and the plane horizontal reinforcement point cloud are inversely mapped to the original double-layer reinforcement cage point cloud model to obtain the vertical reinforcement point cloud and the horizontal reinforcement point cloud.

[0030] Optionally, performing cylinder fitting on the single steel bar point cloud data to obtain a fitted cylinder expression equation of each single steel bar includes:

[0031] Performing cylinder fitting on each of the single vertical bars of the single steel bar point cloud data, so as to determine the radius parameter, the axis vector parameter and the fitted first cylinder expression equation of the single vertical bar based on the center information and the direction vector information of the fitted vertical bar cylinder;

[0032] The single horizontal reinforcement of the single steel bar point cloud data is segmented by straight line fitting to obtain the segmented horizontal reinforcement of each single horizontal reinforcement, and the segmented horizontal reinforcement is fitted with a cylinder so as to determine the radius parameter, axis vector parameter and the fitted second cylinder expression equation of the single horizontal reinforcement based on the center information and direction vector information of the fitted segmented horizontal reinforcement cylinder.

[0033] Optionally, the coordinate information of the steel bar binding points is determined based on the cylinder expression equation, and path planning is performed according to the coordinate information of all the steel bar binding points through a preset path planning algorithm to obtain a steel cage binding scheme including the binding sequence and the binding point coordinate information, including:

[0034] Determine the steel bar binding points and the corresponding steel bar binding point coordinate information based on the radius parameter, the axis vector parameter, the first cylinder expression equation, and the second cylinder expression equation in the steel bar spatial shape;

[0035] According to the random sampling points generated by the preset path planning algorithm and the shortest distance between the random sampling points and the coordinate information of the steel bar binding points in the constructed tree structure through collision detection, a target path connecting all the steel bar binding points is determined to obtain a steel cage binding scheme including the binding sequence and the binding point coordinate information based on the target path.

[0036] In a second aspect, the present application discloses a steel cage intelligent binding device based on three-dimensional reconstruction, comprising:

[0037] A model building module is used to determine the target transformation matrix from the world coordinate system to the robot base coordinate system according to a preset hand-eye calibration method; obtain the point cloud data and camera pose information of the target steel cage corresponding to different camera shooting poses through a structured light camera and a robot arm; and reconstruct a double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data;

[0038] A point cloud segmentation module, used for projecting the point cloud data of the double-layer steel cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and dividing the projected point cloud data into vertical reinforcement point cloud and horizontal reinforcement point cloud based on the density difference of the projected point cloud;

[0039] A point cloud clustering module, used to identify and separate the single steel bar on the vertical bar point cloud and the horizontal bar point cloud respectively by using a preset clustering algorithm, so as to obtain the single steel bar point cloud data corresponding to the single vertical bar and the single horizontal bar respectively;

[0040] A coordinate settlement module is used to perform cylinder fitting on the single steel bar point cloud data to obtain the fitted cylinder expression equation of each single steel bar, and determine the coordinate information of the steel bar binding point based on the cylinder expression equation;

[0041] The path planning module is used to perform path planning based on the preset path planning algorithm and the coordinate information of all the steel bar binding points to obtain a steel cage binding plan including the binding sequence and the binding point coordinate information.

[0042] In a third aspect, the present application discloses an electronic device, comprising:

[0043] Memory, used to store computer programs;

[0044] A processor is used to execute the computer program to implement the steps of the aforementioned disclosed method for intelligent binding of steel cages based on three-dimensional reconstruction.

[0045] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed method for intelligent binding of steel cages based on three-dimensional reconstruction are implemented.

[0046] It can be seen that the present application discloses a method for intelligent binding of steel cages based on three-dimensional reconstruction, including: determining the target transformation matrix from the world coordinate system to the robot arm base coordinate system according to a preset hand-eye calibration method; obtaining point cloud data and camera pose information of the target steel cage corresponding to different camera shooting poses through a structured light camera and a robot arm; reconstructing a double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data; projecting the point cloud data of the double-layer steel cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and projecting the point cloud data after projection based on the density difference of the projected point cloud. The data is divided into vertical reinforcement point cloud and horizontal reinforcement point cloud; a preset clustering algorithm is used to identify and separate the single steel bar on the vertical reinforcement point cloud and the horizontal reinforcement point cloud, respectively, to obtain the single steel bar point cloud data corresponding to the single vertical reinforcement and the single horizontal reinforcement; a cylinder is fitted on the single steel bar point cloud data to obtain the fitted cylinder expression equation of each of the single steel bars, and the coordinate information of the steel bar binding points is determined based on the cylinder expression equation. A preset path planning algorithm is used and path planning is performed according to the coordinate information of all the steel bar binding points to obtain a steel cage binding scheme including the binding sequence and the binding point coordinate information. It can be seen that by using the structured light camera to obtain the steel bar information, the structured light camera performs well in capturing the shape and structure of the object, and has higher depth measurement accuracy and resolution. Therefore, the captured target steel cage information can establish an accurate steel bar three-dimensional model. According to the acquired point cloud data, the position and shape of the steel bar in the three-dimensional space can be directly represented, providing a more intuitive and comprehensive steel bar spatial structure form, which is conducive to obtaining more accurate steel bar intersection coordinate information. Then the steel bar model is projected onto the plane, and the steel bar point cloud model is divided into two categories of vertical bars and horizontal bars by using the difference in the number of point clouds of vertical bars and horizontal bars. After that, the point cloud is reasonably segmented through clustering and different data point density distributions of vertical bar point clouds and horizontal bar point clouds, and vertical and horizontal clustering is achieved. The problem that the double-layer steel cage point cloud model cannot directly cluster and identify a single steel bar point cloud cluster due to its criss-crossing characteristics is overcome. Finally, the steel bar spatial shape is fitted, and the spatial coordinates of all binding points in the steel bar spatial shape are further calculated and extracted, so as to perform path planning based on the spatial coordinates and guide the robot to perform steel bar binding operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0048] Figure 1 A flow chart of a steel cage intelligent binding method based on three-dimensional reconstruction disclosed in this application;

[0049] Figure 2 A schematic diagram of a coordinate system of a different coordinate system disclosed in this application;

[0050] Figure 3 A schematic diagram of removing surrounding point clouds based on a straight-through filtering method disclosed in this application;

[0051] Figure 4 A flow chart of a method for removing ground point clouds disclosed in this application;

[0052] Figure 5 A double-layer steel cage point cloud model diagram after removing the environmental point cloud and the ground point cloud disclosed in this application;

[0053] Figure 6 A schematic diagram of the principle of a point cloud clustering algorithm disclosed in this application;

[0054] Figure 7 A vertical reinforcement and horizontal reinforcement point cloud clustering effect diagram disclosed in the present application, wherein (a) is a vertical reinforcement clustering effect diagram, and (b) is a horizontal reinforcement clustering effect diagram;

[0055] Figure 8 A flow chart of a steel bar spatial shape fitting algorithm disclosed in this application;

[0056] Fig. 9 A flow chart of a straight line fitting algorithm for a horizontal steel bar cylinder disclosed in this application;

[0057] Fig.10 A schematic diagram of derivation of spatial coordinate positioning of a steel bar binding point disclosed in this application;

[0058] Fig.11 A flow chart of a vertical rib and horizontal rib fitting method disclosed in this application;

[0059] Fig.12 A point cloud model diagram of a vertical rib and a horizontal rib disclosed in the present application, wherein (a) is a point cloud model diagram of a vertical rib, and (b) is a point cloud model diagram of a horizontal rib;

[0060] Fig.13 A flow chart of a specific double-layer steel cage binding method disclosed in this application;

[0061] Fig.14 This is a schematic diagram of the structure of an intelligent device for tying steel cages based on three-dimensional reconstruction disclosed in this application;

[0062] Fig.15This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0063] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. 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 making creative work are within the scope of protection of the present invention.

[0064] The present invention provides an intelligent steel cage binding scheme based on three-dimensional reconstruction, which can realize the robot's orderly and accurate execution of steel cage binding tasks for double-layer and single-layer steel cage binding scenarios, optimize the execution order of binding tasks, and improve the overall binding efficiency.

[0065] Reference Figure 1 As shown, the embodiment of the present invention discloses a steel cage intelligent binding method based on three-dimensional reconstruction, comprising:

[0066] Step S11: Determine the target transformation matrix from the world coordinate system to the robot arm base coordinate system according to a preset hand-eye calibration method; obtain the point cloud data and camera pose information of the target steel cage corresponding to different camera shooting postures through a structured light camera and a robot arm; reconstruct a double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data.

[0067] In this embodiment, in the process of obtaining the double-layer steel cage point cloud model, the target transformation matrix from the world coordinate system to the robot base coordinate system is first determined according to the preset hand-eye calibration method, so that the steel cage coordinate information in the world coordinate system can be converted into the coordinates in the robot base coordinate system, and after the subsequent planning of the binding route, the robot and the corresponding coordinate information of each binding point in the robot base coordinate system can be automatically bound according to the planned binding route. Specifically, the end effector of the robot is used as the hand, and the structured light camera is used as the eye, and the eye-in-hand hand-eye calibration method is used to determine the first transformation matrix between the camera coordinate system and the end coordinate system of the robot; the second transformation matrix between the end coordinate system of the robot and the base coordinate system of the robot is calculated and determined based on the end posture information of the end effector of the robot and the base posture information of the robot base coordinate system; the third transformation matrix between the world coordinate system and the camera coordinate system is calculated and determined according to the camera intrinsic parameters and distortion coefficients of the structured light camera; the target transformation matrix from the world coordinate system to the robot base coordinate system is calculated and determined through the first transformation matrix, the second transformation matrix, and the third transformation matrix. It is understandable that, in the process of using a structured light camera to obtain the position information of the steel bar in the world coordinate system, the position of the steel bar is relative to the camera coordinate system, and the end-binding actuator of the robot arm needs to know the position of the steel bar binding point in the robot arm coordinate system (usually the robot arm base) in order to accurately perform the binding operation. Hand-Eye Calibration is a technology used to determine the coordinate transformation relationship between the robot end effector (hand) and the sensor (usually a camera, called the eye). Its main purpose is to obtain the transformation matrix between the camera coordinate system and the end-coordinate system of the robot arm, and to achieve collaborative work in robot arm control and camera data processing. The coordinate systems are shown in the figure below. Figure 2 Therefore, the eye-on-hand calibration method is used to obtain , that is, the transformation matrix between the camera coordinate system and the robot end coordinate system (the first transformation matrix). The specific process is as follows:

[0068] Fix the structured light camera on the robotic arm. When the robotic arm moves, the calibration plate and the base of the robotic arm remain stationary. The coordinate value of a point on the calibration plate in the robotic arm base coordinate system and the world coordinate system and If unchanged, then:

[0069] ;

[0070] in, is the transformation matrix between the robot end coordinate system and the base coordinate system, is the transformation matrix between the end coordinate system of the robot arm and the base coordinate system when the robot arm is in the initial position, is the transformation matrix from the world coordinate system to the camera coordinate system, is the transformation matrix between the world coordinate system and the camera coordinate system when the robot is in the initial position. Move the robot, for the same point:

[0071] ;

[0072] Therefore, we can get:

[0073] ;

[0074] in, It can be calculated from the pose of the end effector of the robot arm obtained by the robot arm teaching device and the pose in the base coordinate system, that is, the second transformation matrix, It can be calculated by the distortion coefficients in the camera, that is, the third transformation matrix, is the transformation matrix between the end coordinate system of the robot arm and the base coordinate system after the robot arm is moved. is the transformation matrix from the world coordinate system to the camera coordinate system after moving the robotic arm. Solving the above equations together can get the first transformation matrix .

[0075] Therefore, we obtain the target transformation matrix from the world coordinate system to the base coordinate system , for example: any reinforcement binding point in the world coordinate system , expressed in the base coordinate system as:

[0076] .

[0077] In this embodiment, after determining the target transformation matrix, the point cloud data and camera pose information of the target steel cage corresponding to different camera shooting postures are further obtained by the structured light camera and the mechanical arm. Specifically, the target steel cage is photographed by the structured light camera at different camera shooting postures to capture the structured light reflected by the target steel cage to calculate the corresponding depth information; the point cloud data of the target steel cage under each camera shooting posture is generated by using the depth information, and the camera pose information under each camera shooting posture is obtained by using the mechanical arm. It can be understood that the pose information of the target steel cage in the world coordinate system is obtained by using the structured light camera. The specific process is as follows: after determining the shape and size of the steel bar and the starting position of the camera shooting, the camera shooting path is automatically planned using the three-dimensional path planning algorithm to cover the entire steel bar area. The point cloud data of the double-layer steel bar can be directly generated by shooting with a structured light camera and a mechanical arm. Its working principle is to project structured light or a grating pattern onto the scene, and then capture the reflected structured light by the structured light camera to calculate the depth information. This depth information can be used to generate point cloud data, in which the position of each point is represented by its coordinates in three-dimensional space. The initial position of the structured light camera relative to the base of the robotic arm can be calculated through the result of hand-eye calibration (target transformation matrix). After each mobile shooting, the end position of the robotic arm and the initial position of the structured light camera are combined to calculate the current position of the camera relative to the base of the robotic arm. , expressed as a transformation matrix: [ R i t i 0 T 1 ] ,in, , Respectively represent The rotation and translation of the structured light camera during each shot, add 1 to the end of the 3D vector to make it a homogeneous coordinate for easy calculation. Store the point cloud data obtained for each shot And the corresponding camera shooting pose , providing a data basis for the next step of three-dimensional reconstruction of steel bars.

[0078] In this embodiment, the target point cloud data of the target steel cage in the robot arm base coordinate system is determined based on the target transformation matrix, the camera pose information and the point cloud data, so as to generate a double-layer steel cage point cloud model according to the target point cloud data. Specifically, the obtained double-layer steel cage point cloud data set is relative to the camera coordinate system. The present invention will be based on the camera pose Perform coordinate transformation to transform the collected local point cloud of the double-layer steel bar into the point cloud in the base coordinate system. The specific calculation is as follows: For the local point cloud model , the camera pose is M 1 = [ R 1 t 1 0 T 1 ] , can be obtained Any point in In the robot base coordinate system, it is expressed as Applying the above calculation to all local point cloud models, we can get a point cloud set based on the base coordinate system. . Gather the point cloud The point cloud data in are merged to form a complete double-layer steel cage point cloud model. At this time, the complete double-layer steel cage point cloud model is the original double-layer steel cage point cloud model, that is, the steel cage point cloud model that contains the surrounding environment information and the ground environment information. In addition, it is necessary to remove duplicate point cloud data to ensure the consistency and accuracy of the point cloud data.

[0079] In this embodiment, in the process of generating a double-layer steel cage point cloud model, it is necessary to remove the point cloud data of the surrounding environment information and the ground environment information of the original double-layer steel cage point cloud model to obtain a double-layer cage steel point cloud model that only contains steel point cloud data after denoising, wherein the surrounding environment point cloud data and the ground point cloud data are removed, specifically: one or more coordinate axes are selected, and the minimum and maximum values ​​of each of the coordinate axes are determined to construct a target retention range based on the minimum and maximum values; whether each target point in the target point cloud data is located in the target retention range is checked, and the target points located outside the target retention range are used as deletion points, and the deleted points are deleted from the target point cloud data to obtain the first point cloud data with the environmental point cloud removed; the plane equation obtained by fitting the ground is obtained, and the plane distances of all target points in the first point cloud data to the plane equation are compared with the size of a preset distance threshold, and then the target points whose plane distances are less than the preset distance threshold are deleted to obtain the second point cloud data with the ground point cloud removed, and the double-layer steel cage point cloud model is generated based on the second point cloud data. It can be understood that the 3D model obtained in the previous step not only includes the double-layer steel bar point cloud model, but also includes the point cloud data of the surrounding environment or other objects. In order to further analyze and process the double-layer steel bars, an additional step is required to extract and retain only the point cloud data related to the steel bars, while ignoring the point cloud data of other parts. The present invention proposes to use point cloud direct filtering to remove the surrounding environment or other objects that are not in direct contact with the double-layer steel bars. Figure 3As shown, one or more coordinate axes (for example, x, y, z), as well as the minimum and maximum values ​​on each coordinate axis, are specified to obtain a specified range of coordinate axes from Min (x, y, z) to Max (x, y, z). For each point, check whether its value on each coordinate axis is within the specified range. If the coordinates of the point are within the specified range, it is retained as a retained point; otherwise, it is deleted as a deleted point, and the first point cloud data is obtained. Since the ground is in direct contact with the double-layer steel bars, it is difficult to determine a suitable threshold to accurately distinguish between the ground point cloud and the steel bar point cloud. Therefore, in order to effectively remove the ground point cloud, the present invention adopts a plane fitting method to more accurately detect and remove the ground point cloud in direct contact with the steel bars without relying on a pre-defined threshold range. In the plane fitting process, the plane equation is represented by a normal vector and a point. Assume that the plane normal vector is , there is a point on the plane , then the plane equation can be expressed as ,in , calculate each point in the double-layer steel bar model Distance to the plane it fits ,if If the value is less than the predetermined threshold, it is marked as an inlier. By counting the number of inliers, the fitting quality of the equation can be evaluated. Figure 4 As shown, the RANSAC algorithm is used to iteratively perform these steps until the normal vector and a point of the best fitting plane are found. The plane equation is: , and remove the inner points of the plane, leaving only the steel bar point cloud data. So far, only the point cloud data related to the steel bar is retained in the double-layer steel bar model, and the surrounding environment and object point cloud data have been removed. Figure 5 shown.

[0080] Compared with TOF cameras, TOF cameras have high requirements for time measurement equipment, and their depth resolution and accuracy may not meet the requirements of high-precision depth measurement. The depth information of binocular cameras is obtained by calculating disparity maps. When the surface texture of the steel bar is weak or lacks obvious texture features, the disparity map may not be accurate enough for the depth estimation of these areas. Therefore, using a structured light camera to obtain steel bar information can make the performance of capturing the shape and structure of the object superior, with higher depth measurement accuracy and resolution, especially for scenes with close distances and high precision requirements, and is suitable for applications that require the establishment of accurate steel bar three-dimensional models. In addition, in the prior art, the geometric information provided by the image is relatively limited, and the detailed three-dimensional shape of the target cannot be captured. The double-layer steel cage is a complex geometric structure, and there is an intersection between the upper and lower layers of steel bars. Such steel bar intersection "false points" are difficult to distinguish from the real binding points that need to be tied in the image, resulting in the image-based steel bar binding point recognition algorithm being limited in accuracy and robustness. The present invention uses point cloud as data input, and point cloud data can directly represent the position and shape of the object in three-dimensional space, providing a more intuitive and comprehensive steel bar spatial structure form, which is conducive to the later algorithm processing to obtain accurate steel bar intersection coordinates. By using a structured light camera to obtain steel bar information, the structured light camera is superior in capturing the shape and structure of objects and has higher depth measurement accuracy and resolution. Therefore, the captured target steel cage information can establish an accurate three-dimensional steel bar model.

[0081] Step S12: projecting the point cloud data of the double-layer steel cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and dividing the projected point cloud data into vertical reinforcement point cloud and horizontal reinforcement point cloud based on the density difference of the projected point cloud.

[0082] In this embodiment, the double-layer steel cage point cloud model formed by removing the point cloud of the environmental point cloud data and the ground point cloud data is projected in a direction perpendicular to the ground to obtain the projected point cloud containing vertical reinforcement point cloud and horizontal reinforcement point cloud, and the point cloud is segmented based on the density difference of the projected point cloud; the segmented vertical reinforcement point cloud data and horizontal reinforcement point cloud data are then mapped to the original three-dimensional model to obtain the vertical reinforcement point cloud and horizontal reinforcement point cloud.

[0083] Step S13: using a preset clustering algorithm to identify and separate the single steel bar on the vertical bar point cloud and the horizontal bar point cloud, respectively, to obtain the single steel bar point cloud data corresponding to the single vertical bar and the single horizontal bar respectively.

[0084] In this embodiment, since each vertical reinforcement point cloud and each horizontal reinforcement point cloud are clearly separated from each other in space. The present invention utilizes the DBSCAN (Density-Based Spatial Clustering of Applications with Noise) clustering algorithm to accurately identify and separate the single steel bar point cloud data corresponding to each vertical reinforcement and the single steel bar point cloud data corresponding to each horizontal reinforcement with high precision, so as to facilitate the subsequent fitting of the reinforcement spatial shape. DBSCAN is a density-based clustering analysis algorithm, and its core principle is to aggregate data points into closely adjacent clusters, which are significantly different from the surrounding data points in density, such as Figure 6 As shown. The specific process of clustering the target vertical reinforcement point cloud and the target horizontal reinforcement point cloud using the DBSCAN clustering algorithm is as follows: First, select a starting point from the double-layer reinforcement model and calculate the density of data points in its neighborhood. If the neighborhood of the point contains enough data points, it is marked as a core point. Then, starting from the core point, the adjacent core points and their density-reachable points are aggregated into a cluster through density accessibility links. Repeat this process until there are no more core points accessible, thus forming multiple reinforcement clusters. The clustering effect of vertical and horizontal reinforcement is shown in Figure 7 As shown, different morphological features represent different point cloud families.

[0085] Step S14: Perform cylinder fitting on the single steel bar point cloud data to obtain the fitted cylindrical expression equation of each of the single steel bars, determine the coordinate information of the steel bar binding points based on the cylindrical expression equation, and perform path planning through a preset path planning algorithm and based on the coordinate information of all the steel bar binding points to obtain a steel cage binding scheme including the binding sequence and binding point coordinate information.

[0086] In this embodiment, the cylindrical fitting is performed on the single steel bar point cloud data to obtain the fitted cylindrical expression equation of each single steel bar, including: cylindrical fitting is performed on each single vertical bar of the single steel bar point cloud data, so as to determine the radius parameter, axis vector parameter and the fitted first cylindrical expression equation of the single vertical bar based on the center information and direction vector information of the fitted vertical bar cylinder; each single horizontal bar of the single steel bar point cloud data is segmented by linear fitting to obtain the segmented horizontal bars of each single horizontal bar, and cylindrical fitting is performed on the segmented horizontal bars, so as to determine the radius parameter, axis vector parameter and the fitted second cylindrical expression equation of the single horizontal bar based on the center information and direction vector information of the fitted segmented horizontal bar cylinder. It can be understood that parameters such as steel bar diameter and axis vector are crucial to determining the cross-binding point of two steel bars. Since the shape of the steel bar is similar to that of a cylinder, these key parameters of the steel bar can be obtained by cylindrical fitting. The specific implementation method is as follows. Figure 8 As shown: First, the initial cylinder direction is estimated by principal component analysis (PCA), and then the standard deviation of the distance from the point to the cylinder axis is iteratively minimized by running the BFGS algorithm. When the number of iterations reaches the preset threshold, the iteration is stopped, and the average distance from all points to the axis is calculated to obtain the radius information of the fitted vertical steel bars to achieve the center and direction vector of the fitted cylinder. Since the horizontal bars are surrounded by the vertical bars, it is impossible to directly use the cylinder fitting algorithm to estimate the parameters such as the steel bar diameter and the center coordinates. Therefore, the present invention first uses a straight line fitting algorithm to divide a horizontal bar into four steel bars. By fitting a cylinder for each steel bar, the horizontal bar parameter information can be obtained. The cylinder fitting algorithm used is the same as the cylinder fitting algorithm for the vertical bars, and will not be repeated here. The straight line is fitted by RANSAC, and the calculation method is as follows: The three-dimensional straight line is expressed as: ,in, is the direction vector of the line, t represents the point on the line, and can vary over the entire real number range. To the straight line Distance The RANSAC algorithm randomly selects some samples through iteration, fits the model, and then evaluates the quality of the model by the number of inliers, and finally obtains a set of optimal inliers and straight line fitting results. The calculation process is as follows: Fig. 9 shown.

[0087] In this embodiment, the steel bar binding points and the corresponding steel bar binding point coordinate information are determined based on the parameter information of the radius parameter, the axis vector parameter, the first cylinder expression equation, and the second cylinder expression equation; the target path connecting all the steel bar binding points is determined according to the random sampling points generated by the preset path planning algorithm and the shortest distance between the random sampling points and the coordinate information of the steel bar binding points in the constructed tree structure through collision detection, so as to obtain the steel cage binding scheme containing the binding sequence and the binding point coordinate information based on the target path. It can be understood that after obtaining the first cylinder expression equation and the second cylinder expression equation and the corresponding parameter information after the vertical reinforcement clustering and the horizontal reinforcement clustering are respectively fitted with the cylinder, a mathematical model between the cylinder expression equation and the binding point spatial coordinates is established, and the steel bar spatial shape is fitted according to the radius parameter, the axis vector parameter and the parameter information of the target horizontal reinforcement of the above-mentioned target vertical reinforcement to obtain the spatial shape of each fitted reinforcement; wherein, the axis vector parameter of the target vertical reinforcement is the central axis information, and the parameter information of the target horizontal reinforcement includes: central axis information and radius information. Specifically, the central axis of the horizontal reinforcement cylinder is known. , the radius is , the center axis of the vertical rib cylinder , the radius is The specific derivation process of the spatial coordinates of the binding points is as follows. Fig.10 It can be seen that by establishing the mathematical model between the cylindrical equation of the steel bar and the steel bar binding point, the accurate description and positioning of the steel bar intersection point is achieved.

[0088] First, , perpendicular to , make a plane , then pass , perpendicular to the plane , make a plane , solve the plane With plane The intersection of , and finally solve The intersection point with the horizontal steel bar cylinder is The farther point is the steel bar binding point, and the corresponding coordinate information of the steel bar binding point is obtained. When the spatial coordinate value of the binding point of the double-layer steel cage is determined, the Rapidly-Exploring Random Tree (RRT) algorithm is used to plan the binding point path. Its main principle is to gradually establish a tree structure through iterative random sampling and node expansion, in which the starting node is a known binding point. In each iteration, the algorithm randomly generates new sampling points, then connects the nearest nodes in the existing tree, and performs collision detection on the connection path to ensure the feasibility of the path. Through continuous iteration, the RRT algorithm can quickly explore the search space, find the optimal path connecting all binding points, and finally form a tree, the end node of which is the final path. This method based on random sampling and node connection enables the algorithm to efficiently find binding paths under complex structures in high-dimensional space, providing effective navigation guidance for equipment such as robotic arms.

[0089] It can be seen that the present application discloses a method for intelligent binding of steel cages based on three-dimensional reconstruction, including: determining the target transformation matrix from the world coordinate system to the robot arm base coordinate system according to a preset hand-eye calibration method; obtaining point cloud data and camera pose information of the target steel cage corresponding to different camera shooting poses through a structured light camera and a robot arm; reconstructing a double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data; projecting the point cloud data of the double-layer steel cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and projecting the point cloud data after projection based on the density difference of the projected point cloud. The data is divided into vertical reinforcement point cloud and horizontal reinforcement point cloud; a preset clustering algorithm is used to identify and separate the single steel bar on the vertical reinforcement point cloud and the horizontal reinforcement point cloud, respectively, to obtain the single steel bar point cloud data corresponding to the single vertical reinforcement and the single horizontal reinforcement; a cylinder is fitted on the single steel bar point cloud data to obtain the fitted cylinder expression equation of each of the single steel bars, and the coordinate information of the steel bar binding points is determined based on the cylinder expression equation. A preset path planning algorithm is used and path planning is performed according to the coordinate information of all the steel bar binding points to obtain a steel cage binding scheme including the binding sequence and the binding point coordinate information. It can be seen that by using the structured light camera to obtain the steel bar information, the structured light camera performs well in capturing the shape and structure of the object, and has higher depth measurement accuracy and resolution. Therefore, the captured target steel cage information can establish an accurate steel bar three-dimensional model. According to the acquired point cloud data, the position and shape of the steel bar in the three-dimensional space can be directly represented, providing a more intuitive and comprehensive steel bar spatial structure form, which is conducive to obtaining more accurate steel bar intersection coordinate information. Then the steel bar model is projected onto the plane, and the steel bar point cloud model is divided into two categories of vertical bars and horizontal bars by using the difference in the number of point clouds of vertical bars and horizontal bars. After that, the point cloud is reasonably segmented through clustering and different data point density distributions of vertical bar point clouds and horizontal bar point clouds, and vertical and horizontal clustering is achieved. The problem that the double-layer steel cage point cloud model cannot directly cluster and identify a single steel bar point cloud cluster due to its criss-crossing characteristics is overcome. Finally, the steel bar spatial shape is fitted, and the spatial coordinates of all binding points in the steel bar spatial shape are further calculated and extracted, so as to perform path planning based on the spatial coordinates and guide the robot to perform steel bar binding operations.

[0090] Reference Fig.11 As shown, the embodiment of the present invention discloses step S12: projecting the point cloud data of the double-layer steel cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and performing point cloud segmentation on the projected point cloud data based on the point cloud density difference after projection to obtain vertical reinforcement point cloud and horizontal reinforcement point cloud. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. Specifically:

[0091] Step S1211: projecting the second point cloud data of the double-layer steel cage point cloud model in a direction perpendicular to the ground to obtain target second point cloud data in the ground direction.

[0092] In this embodiment, the double-layer steel bar point cloud is perpendicular to the ground plane ( ) to obtain a steel point cloud model on a plane. At the same time, the minimum outer rectangle of the steel point cloud is set, and the minimum outer rectangle of the steel point cloud is further divided into outer rectangle grids with length and width of 3 mm at equal intervals.

[0093] Step S1212: Count the number of target second point clouds in the preset outer rectangular grid, and divide the target second point cloud data in the vertical direction and the horizontal direction by calculating the outlier factor of the number of target second point clouds counted in each preset outer rectangular grid to obtain vertical rib point cloud and horizontal rib point cloud.

[0094] In this embodiment, the minimum outer bounding rectangle of the target second point cloud data is obtained, and the minimum outer bounding rectangle is divided into equidistant grids according to the size standard of 3 mm in length and width to obtain each preset outer bounding rectangular grid; the number of target second point clouds in each preset outer bounding rectangular grid is counted, and the outlier factor corresponding to each number of target second point clouds is calculated by the local outlier factor detection algorithm; the target second point cloud data is divided in the vertical direction and the horizontal direction using the outlier factor as the point cloud density difference to obtain the plane vertical reinforcement point cloud and the plane horizontal reinforcement point cloud on the plane; the plane vertical reinforcement point cloud and the plane horizontal reinforcement point cloud are reversely mapped to the original double-layer steel cage point cloud model to obtain the vertical reinforcement point cloud and the horizontal reinforcement point cloud. It can be understood that the statistical analysis of the number of point clouds in each outer bounding rectangular grid finds that the number of point clouds at the vertical reinforcement is much larger than the number of point clouds at the horizontal reinforcement. In order to separate the vertical ribs from the horizontal ribs, the present invention takes the statistical values ​​of the number of point clouds of all the outer rectangular grids as input, and regards the statistical values ​​of the point clouds at the vertical ribs as outliers. The local outlier factor detection algorithm (Local Outlier Factor, LOF) is used to calculate the outlier factor of each point. The smaller the outlier factor, the more likely it is an outlier. Therefore, the outlier factor can be compared with the threshold (usually -1). The point cloud with a value less than -1 is the vertical rib point cloud, and the point cloud with a value greater than -1 is the horizontal rib point cloud. The segmentation effect is as follows: Fig.12 According to the classification results of the vertical reinforcement point cloud and the horizontal reinforcement point cloud in the plane reinforcement model, the point cloud data are remapped to the three-dimensional model, so as to locate the target vertical reinforcement point cloud and the target horizontal reinforcement point cloud in the original three-dimensional reinforcement model, as shown in FIG. Fig.12 shown.

[0095] Reference Fig.13As shown, the present invention specifically discloses a double-layer steel cage binding method, including: determining the shape and size of the steel bars, the starting position of the camera shooting, automatically planning the camera shooting path through a structured light camera and a three-dimensional path planning algorithm to shoot an area covering the entire steel cage; determining the target transformation matrix through a hand-eye calibration method of a robotic arm and a structured light camera, and then converting the various spatial coordinates of the steel cage in the world coordinate system through the conversion of the coordinate system, and obtaining the corresponding point cloud data and camera pose, and then using the point cloud data and camera pose to further complete the reconstruction of the point cloud model. Then, the reconstructed point cloud model is clustered and identified as a single steel bar point cloud cluster. Specifically, the surrounding environment point cloud and ground point cloud are removed from the reconstructed point cloud model, and then the vertical bar point cloud and horizontal bar point cloud are segmented for the target point cloud after the environment point cloud and ground point cloud are removed, so as to realize the clustering activity of the single steel bar point cloud. After the point cloud clustering is completed, the spatial shape of the steel bars is fitted, including vertical bar cylinder fitting and horizontal bar cylinder fitting, wherein the horizontal bar cylinder fitting needs to be segmented and then fitted. Based on the fitted spatial shape of the steel bars, the positioning information of the steel bar binding points and the path planning information of the binding points are further determined. Specifically, the spatial coordinate information of the steel bar binding points is first solved, and the path planning of the binding points is determined according to the spatial coordinate information and the path planning algorithm, and the spatial coordinates and binding sequence of the steel bar binding points are output, and the binding operation is performed by the robot.

[0096] It can be seen that according to the crisscrossing characteristics of the double-layer steel cage point cloud model, the steel bar point cloud model is projected onto a plane and the difference in the number of vertical and horizontal bars is used to divide the steel bar point cloud model into two categories: vertical bars and horizontal bars. Then, the DBSCAN clustering algorithm is used to successfully identify each steel bar point cloud cluster. The spatial cylinder equation of all steel bars is fitted by the PCA and BFGS algorithms, and the refined mathematical modeling of the spatial structural relationship of the steel cage makes the double-layer steel bar binding task under complex spatial structures more feasible, providing a reliable solution for automated construction.

[0097] Reference Fig.14 As shown, the present invention also discloses a steel cage intelligent binding device based on three-dimensional reconstruction, comprising:

[0098] The model building module 11 is used to determine the target transformation matrix from the world coordinate system to the robot base coordinate system according to a preset hand-eye calibration method; obtain the point cloud data and camera pose information of the target steel cage corresponding to different camera shooting poses through the structured light camera and the robot arm; reconstruct the double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data;

[0099] A point cloud segmentation module 12 is used to project the point cloud data of the double-layer steel cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and divide the projected point cloud data into vertical reinforcement point cloud and horizontal reinforcement point cloud based on the point cloud density difference after projection;

[0100] The point cloud clustering module 13 is used to identify and separate the single steel bar on the vertical bar point cloud and the horizontal bar point cloud respectively by using a preset clustering algorithm, so as to obtain the single steel bar point cloud data corresponding to the single vertical bar and the single horizontal bar respectively;

[0101] A coordinate settlement module 14 is used to perform cylinder fitting on the single steel bar point cloud data to obtain a fitted cylinder expression equation of each single steel bar, and determine the coordinate information of the steel bar binding point based on the cylinder expression equation;

[0102] The path planning module 15 is used to perform path planning based on the preset path planning algorithm and the coordinate information of all the steel bar binding points to obtain a steel cage binding scheme including the binding sequence and the binding point coordinate information.

[0103] It can be seen that the present application discloses determining a target transformation matrix from a world coordinate system to a robot base coordinate system according to a preset hand-eye calibration method; obtaining point cloud data and camera pose information of a target steel cage corresponding to different camera shooting poses through a structured light camera and a robot arm; reconstructing a double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data; projecting the point cloud data of the double-layer steel cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and dividing the projected point cloud data into vertical reinforcement point cloud and vertical reinforcement point cloud based on the point cloud density difference after projection. horizontal reinforcement point cloud; using a preset clustering algorithm to respectively identify and separate the vertical reinforcement point cloud and the horizontal reinforcement point cloud as single steel bars, so as to obtain the single steel bar point cloud data corresponding to the single vertical reinforcement and the single horizontal reinforcement respectively; performing cylinder fitting on the single steel bar point cloud data, so as to obtain the fitted cylindrical expression equation of each of the single steel bars, and determining the coordinate information of the steel bar binding points based on the cylindrical expression equation, and performing path planning through a preset path planning algorithm and according to the coordinate information of all the steel bar binding points, so as to obtain a steel cage binding scheme including the binding sequence and the binding point coordinate information. It can be seen that by using the structured light camera to obtain the steel bar information, the structured light camera performs well in capturing the shape and structure of the object, and has higher depth measurement accuracy and resolution. Therefore, the captured target steel cage information can establish an accurate steel bar three-dimensional model. According to the acquired point cloud data, the position and shape of the steel bar in the three-dimensional space can be directly represented, providing a more intuitive and comprehensive steel bar spatial structure form, which is conducive to obtaining more accurate steel bar intersection coordinate information. Then the steel bar model is projected onto the plane, and the steel bar point cloud model is divided into two categories of vertical bars and horizontal bars by using the difference in the number of point clouds of vertical bars and horizontal bars. After that, the point cloud is reasonably segmented through clustering and different data point density distributions of vertical bar point clouds and horizontal bar point clouds, and vertical and horizontal clustering is achieved. The problem that the double-layer steel cage point cloud model cannot directly cluster and identify a single steel bar point cloud cluster due to its criss-crossing characteristics is overcome. Finally, the steel bar spatial shape can be fitted, and the spatial coordinates of all binding points in the steel bar spatial shape can be further calculated and extracted, so as to perform path planning based on the spatial coordinates and guide the robot to perform steel bar binding operations.

[0104] Furthermore, the present application also discloses an electronic device. Fig.15 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0105] Fig.15A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the intelligent binding method of steel cage based on three-dimensional reconstruction disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0106] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0107] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0108] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0109] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the three-dimensional reconstruction-based intelligent binding method of steel cages performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to data received by the electronic device and transmitted from an external device, the data 223 can also include data collected by its own input and output interface 25, etc.

[0110] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the above-disclosed intelligent binding method for steel cages based on three-dimensional reconstruction is implemented. The specific steps of the method can be referred to the corresponding contents disclosed in the above-mentioned embodiments, and will not be repeated here.

[0111] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0112] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. The steps of the method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly with hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory RAM (Random Access Memory), memory, read-only memory ROM (Read Only Memory), electrically programmable EPROM (Electrically Programmable Read Only Memory), electrically erasable programmable EEPROM (ElectricErasable Programmable Read Only Memory), register, hard disk, removable disk, CD-ROM (CompactDisc-Read Only Memory), or any other form of storage medium known in the technical field.

[0113] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0114] The above is a detailed introduction to the intelligent binding method, device, equipment and medium for steel cages based on three-dimensional reconstruction provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A steel cage intelligent binding method based on three-dimensional reconstruction, characterized in that: include: Determine the target transformation matrix from the world coordinate system to the robot arm base coordinate system according to the preset hand-eye calibration method; Obtain point cloud data and camera pose information of the target steel cage corresponding to different camera shooting poses through a structured light camera and a robotic arm; reconstruct a double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data; Projecting the point cloud data of the double-layer reinforcement cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and dividing the projected point cloud data into vertical reinforcement point cloud and horizontal reinforcement point cloud based on the density difference of the projected point cloud; Using a preset clustering algorithm to identify and separate the single steel bar on the vertical steel bar point cloud and the horizontal steel bar point cloud, respectively, to obtain the single steel bar point cloud data corresponding to the single vertical steel bar and the single horizontal steel bar respectively; Cylinder fitting is performed on the single steel bar point cloud data to obtain the fitted cylindrical expression equation of each of the single steel bars, and the coordinate information of the steel bar binding points is determined based on the cylindrical expression equation. Path planning is performed through a preset path planning algorithm and based on the coordinate information of all the steel bar binding points to obtain a steel cage binding scheme including the binding sequence and binding point coordinate information.

2. The intelligent binding method for steel cages based on three-dimensional reconstruction according to claim 1 is characterized in that: The target transformation matrix from the world coordinate system to the robot base coordinate system is determined according to a preset hand-eye calibration method; point cloud data and camera posture information of the target steel cage corresponding to different camera shooting postures are obtained through a structured light camera and a robot arm; Reconstructing a double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data includes: The end effector of the robot arm is used as the hand, the structured light camera is used as the eye, and the first transformation matrix between the camera coordinate system and the end coordinate system of the robot arm is determined by using the eye-in-hand hand-eye calibration method; Calculate and determine a second transformation matrix between the robot arm end coordinate system and the robot arm base coordinate system based on the end pose information of the robot arm end effector and the base pose information of the robot arm base coordinate system; Calculate and determine a third transformation matrix from a world coordinate system to a camera coordinate system according to the camera intrinsic parameters and distortion coefficients of the structured light camera; Calculate and determine the target transformation matrix from the world coordinate system to the robot base coordinate system through the first transformation matrix, the second transformation matrix, and the third transformation matrix; The target steel cage is photographed by the structured light camera at different camera shooting positions to capture the structured light reflected by the target steel cage and calculate the corresponding depth information; Generate point cloud data of the target steel cage in each camera shooting posture using the depth information, and obtain camera posture information in each camera shooting posture using a robotic arm; The target point cloud data of the target steel cage in the robotic arm base coordinate system is determined based on the target transformation matrix, the camera pose information and the point cloud data, so as to generate a double-layer steel cage point cloud model according to the target point cloud data.

3. The intelligent binding method for steel cage based on three-dimensional reconstruction according to claim 2 is characterized in that: The step of generating a double-layer steel cage point cloud model according to the target point cloud data comprises: Selecting one or more coordinate axes, and determining a minimum value and a maximum value of each of the coordinate axes, so as to construct a target retention range based on the minimum value and the maximum value; Checking whether each target point in the target point cloud data is located in the target reserved range, and taking the target points outside the target reserved range as deletion points, and deleting the deletion points from the target point cloud data to obtain first point cloud data with the environment point cloud removed; The plane equation obtained by fitting the ground is obtained, and the plane distances from all target points in the first point cloud data to the plane equation are compared with a preset distance threshold, and then the target points whose plane distances are less than the preset distance threshold are deleted to obtain the second point cloud data with the ground point cloud removed, and a double-layer steel cage point cloud model is generated based on the second point cloud data.

4. The intelligent tying method for steel cage based on three-dimensional reconstruction according to claim 3 is characterized in that: The point cloud data of the double-layer steel cage point cloud model are projected perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and the projected point cloud data are divided into vertical reinforcement point cloud and horizontal reinforcement point cloud based on the density difference of the projected point cloud, including: Projecting the second point cloud data of the double-layer steel cage point cloud model in a direction perpendicular to the ground to obtain target second point cloud data in the ground direction; The number of target second point clouds in a preset outer rectangular grid is counted, and the target second point cloud data is divided in a vertical direction and a horizontal direction by calculating the outlier factor of the number of target second point clouds counted in each preset outer rectangular grid to obtain a vertical rib point cloud and a horizontal rib point cloud.

5. The intelligent tying method for steel cage based on three-dimensional reconstruction according to claim 4 is characterized in that: The method of counting the number of target second point clouds in the preset outer rectangular grid and dividing the target second point cloud data in the vertical direction and the horizontal direction by calculating the outlier factor of the number of target second point clouds counted in each preset outer rectangular grid to obtain a vertical rib point cloud and a horizontal rib point cloud includes: Obtaining a minimum outer bounding rectangle of the target second point cloud data, and dividing the minimum outer bounding rectangle into equidistant grids according to a size standard in which both the length and width dimensions are 3 mm, so as to obtain preset outer bounding rectangle grids; Counting the number of target second point clouds in each of the preset outer rectangular grids, and calculating the outlier factor corresponding to each of the target second point clouds by a local outlier factor detection algorithm; Using the outlier factor as the point cloud density difference to divide the target second point cloud data in the vertical direction and the horizontal direction to obtain a plane vertical rib point cloud and a plane horizontal rib point cloud on the plane; The plane vertical reinforcement point cloud and the plane horizontal reinforcement point cloud are inversely mapped to the original double-layer reinforcement cage point cloud model to obtain the vertical reinforcement point cloud and the horizontal reinforcement point cloud.

6. The intelligent binding method for steel cages based on three-dimensional reconstruction according to claim 1 is characterized in that: The cylindrical fitting is performed on the single steel bar point cloud data to obtain the fitted cylindrical expression equation of each single steel bar, including: Performing cylinder fitting on each of the single vertical bars of the single steel bar point cloud data, so as to determine the radius parameter, the axis vector parameter and the fitted first cylinder expression equation of the single vertical bar based on the center information and the direction vector information of the fitted vertical bar cylinder; The single horizontal reinforcement of the single steel bar point cloud data is segmented by straight line fitting to obtain the segmented horizontal reinforcement of each single horizontal reinforcement, and the segmented horizontal reinforcement is fitted with a cylinder so as to determine the radius parameter, axis vector parameter and the fitted second cylinder expression equation of the single horizontal reinforcement based on the center information and direction vector information of the fitted segmented horizontal reinforcement cylinder.

7. The intelligent binding method for steel cage based on three-dimensional reconstruction according to any one of claims 1 to 6, characterized in that: The steel bar binding point coordinate information is determined based on the cylinder expression equation, and path planning is performed according to all the steel bar binding point coordinate information through a preset path planning algorithm to obtain a steel cage binding scheme including a binding sequence and binding point coordinate information, including: Determine the steel bar binding points and the corresponding steel bar binding point coordinate information based on the radius parameter, the axis vector parameter parameter information, the first cylinder expression equation, and the second cylinder expression equation; According to the random sampling points generated by the preset path planning algorithm and the shortest distance between the random sampling points and the coordinate information of the steel bar binding points in the constructed tree structure through collision detection, a target path connecting all the steel bar binding points is determined to obtain a steel cage binding scheme including the binding sequence and the binding point coordinate information based on the target path.

8. An intelligent steel cage binding device based on three-dimensional reconstruction, characterized in that: include: A model building module is used to determine the target transformation matrix from the world coordinate system to the robot base coordinate system according to a preset hand-eye calibration method; Obtain point cloud data and camera pose information of the target steel cage corresponding to different camera shooting poses through a structured light camera and a robotic arm; reconstruct a double-layer steel cage point cloud model based on the target transformation matrix, the camera pose information and the point cloud data; A point cloud segmentation module, used for projecting the point cloud data of the double-layer steel cage point cloud model perpendicular to the ground direction according to the plane equation obtained by fitting the ground, and dividing the projected point cloud data into vertical reinforcement point cloud and horizontal reinforcement point cloud based on the density difference of the projected point cloud; A point cloud clustering module, used to identify and separate the single steel bar on the vertical bar point cloud and the horizontal bar point cloud respectively by using a preset clustering algorithm, so as to obtain the single steel bar point cloud data corresponding to the single vertical bar and the single horizontal bar respectively; A coordinate settlement module is used to perform cylinder fitting on the single steel bar point cloud data to obtain the fitted cylinder expression equation of each single steel bar, and determine the coordinate information of the steel bar binding point based on the cylinder expression equation; The path planning module is used to perform path planning based on the preset path planning algorithm and the coordinate information of all the steel bar binding points to obtain a steel cage binding plan including the binding sequence and the binding point coordinate information.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the steps of the intelligent binding method of steel cage based on three-dimensional reconstruction as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the steps of the intelligent binding method for steel cages based on three-dimensional reconstruction as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Steel bar binding method and system based on machine vision

    CN115464652A

  • Steel bar binding hand-eye calibration method and system

    CN115519547A

  • Reinforcing mesh automatic binding method based on point cloud environment perception

    CN115837673A

  • Construction robot and visual identification positioning method for construction nodes of construction robot

    CN115972174A

  • Reinforcement Bar Joint Recognition Using Artificial Intelligence Vision

    US20200101616A1