A three-dimensional point cloud positioning measurement method and system for a special robot for column installation
Through the three-dimensional point cloud positioning and measurement method, using a three-dimensional laser camera and a robotic arm control system, combined with voxel filtering and clustering algorithms, the precise pose identification and adjustment of the column and the base is achieved, solving the problem that it is difficult to represent three-dimensional objects with two-dimensional information. problems, improving the automation and accuracy of special robot installation.
Patent Information
- Application Number
- CN202410423662.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-09
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-04-09
AI Technical Summary
In complex environments, two-dimensional information is difficult to effectively represent three-dimensional objects, resulting in insufficient positioning accuracy of special robots during column installation, affecting operating efficiency and safety.
Adopt a 3D point cloud positioning measurement method, use a high-performance 3D laser camera and a robotic arm control system, and use voxel filtering, conditional filtering, DABCAN and European clustering algorithms to identify and adjust the pose matrix of the column and base in real time to achieve accurate Install.
It improves the automation and intelligence of column installation, reduces management costs and resource waste, enhances operating efficiency and positioning accuracy, and reduces on-site test cycles and costs.
Smart Images

Figure CN118288282B
Abstract
Description
Technical Field
[0001] The invention relates to the field of industrial control of engineering operation robots, and in particular to a special robot with adaptively adjusted posture positioning measurement installation column. Background Art
[0002] In recent years, the performance of special robots around the world has continued to improve, and their intelligence has been continuously upgraded. As the intelligence and adaptability of special robots to the environment continue to increase, their application prospects in many fields such as military, riot control, firefighting, mining, construction, transportation, security monitoring, space exploration, explosion protection, pipeline construction, etc. are becoming more and more broad. my country's special robot market has maintained rapid development, and various types of products continue to emerge. In response to earthquakes, floods and extreme weather, as well as mining accidents, fires, security and other public safety incidents, there is an outstanding demand for special robots.
[0003] In the process of special robot identification and positioning, visual perception is a crucial link, which directly affects the accuracy of the subsequent tasks of special robots. At present, the plane positioning technology based on two-dimensional images is very mature and has achieved rich research results. However, in the complex real environment, the use of two-dimensional information to characterize three-dimensional objects will inevitably cause information loss. In recent years, three-dimensional object detection and recognition technology based on deep learning has made significant progress, which will provide better support for the perception and operation of special robots in three-dimensional environments. With the development of three-dimensional vision, target recognition and pose estimation based on point clouds have been widely used in the special robot industry.
[0004] Therefore, a three-dimensional point cloud positioning measurement method and system for a special robot for column installation is designed, so that infrastructure operations can be more intelligent and autonomous in column installation operations, which can not only improve installation efficiency, but also reduce management costs and resource waste, and effectively promote the development of intelligent manufacturing and intelligent buildings. In addition, the implementation of this technology can also provide strong support for the development of future intelligent building systems and medical production and other fields, and promote the widespread application of intelligent and automated technologies. Summary of the invention
[0005] The purpose of the present invention is to provide a three-dimensional point cloud positioning and measurement method and system for a column-mounted special robot to solve the technical problems mentioned in the above background technology.
[0006] In order to achieve the above object, the specific technical solution adopted by the present invention is:
[0007] A three-dimensional point cloud positioning and measurement method for a column-mounted special robot comprises the following steps:
[0008] S1: Use a high-performance 3D laser camera to accurately scan the base and columns, and transmit the collected information to the robot control system;
[0009] S2: The robotic arm control system controls the special robot to grab the column and move it to the initial positioning position. Then the column position control algorithm is started, and the column and base are detected in real time with the help of a 3D laser camera to confirm whether the 3D camera successfully recognizes the specific positioning marks on the column and base. If it is confirmed to be recognized, the installation is completed;
[0010] S3: If the specific positioning marks on the column and the base are not recognized, the special robot is controlled to move automatically to adjust the position of the column until the ideal recognition state is reached, thereby achieving accurate positioning and installation of the column and the base.
[0011] Optionally, the collected information specifically refers to a point cloud PCD file associated with the original point cloud coordinate data; it will be read by the program as a key input to the measurement and positioning system of the column-mounted special robot.
[0012] Optionally, if the specific positioning mark on the column and the base is not identified, the special robot is controlled to automatically move to adjust the position of the column until an ideal recognition state is reached to achieve accurate positioning and installation of the column and the base, specifically including:
[0013] S31: Fine-tune the position of the column, and the robot control system continuously receives real-time feedback data from the 3D laser camera;
[0014] S32: The difference between the current position of the column and the predetermined target position is accurately analyzed through the column position control algorithm, and the algorithm generates fine adjustment instructions in real time, thereby guiding the special robot to adjust its travel route;
[0015] S33: The intelligent dynamic adjustment process is continued until the 3D laser camera confirms that all preset positioning marks on the column and the base are accurately identified.
[0016] Optionally, the specific positioning mark is specifically a positioning hole or a structural edge set on the column and the base.
[0017] Optionally, the step S32: accurately analyzing the difference between the current position of the column and the predetermined target position through a column position control algorithm, and the algorithm generates a fine adjustment instruction in real time to guide the special robot to adjust its travel route, including:
[0018] S321: pre-processing the point cloud data of the base and the column in the camera coordinate system acquired by the three-dimensional laser camera based on the voxel filtering technology, and selecting key points in the point cloud data according to predetermined conditions or rules using the conditional filtering technology;
[0019] S322: Use the DABCAN algorithm and the Euclidean clustering algorithm to efficiently cluster and segment the point cloud data of the base and column, and calculate the pose matrix and deviation of the base coordinate system and the column coordinate system relative to the camera coordinate system; based on the pose matrix and deviation, the system controls the special robot to make fine adjustments;
[0020] S323: Obtain the posture matrix and deviation again, and control the special robot to adjust until the deviation is less than the preset threshold.
[0021] According to another aspect of the present invention, there is also provided a three-dimensional point cloud positioning and measuring system for a column-mounted special robot, comprising: a base, a column, a robotic arm control system, and a three-dimensional laser camera;
[0022] The three-dimensional laser camera can accurately scan the base and the column, and transmit the collected information to the robot arm control system;
[0023] The manipulator control system includes a control module and a special robot. The control module can realize the control of the special robot. The special robot can move under the control of the manipulator control system to grab the column and move the column to a suitable position of the base to realize the accurate positioning and installation of the column and the base.
[0024] The robotic arm control system can control the special robot to grab the column and move it to the initial positioning position, and then the column position control algorithm is started, and the column and the base are detected in real time with the help of a three-dimensional laser camera to confirm whether the three-dimensional camera successfully recognizes the specific positioning marks on the column and the base; if the recognition is confirmed, the installation is completed; if the specific positioning marks on the column and the base are not recognized, the special robot is controlled to move automatically to adjust the position of the column until the ideal recognition state is reached, thereby realizing accurate positioning and installation of the column and the base.
[0025] Optionally, if the specific positioning mark on the column and the base is not identified, the special robot is controlled to automatically move to adjust the position of the column until an ideal recognition state is reached to achieve accurate positioning and installation of the column and the base, specifically including:
[0026] The position of the column is fine-tuned, and the robot control system continuously receives real-time feedback data from the 3D laser camera;
[0027] The column position control algorithm accurately analyzes the difference between the current position of the column and the predetermined target position. The algorithm generates fine adjustment instructions in real time to guide the special robot to adjust its route.
[0028] This intelligent dynamic adjustment process continues until the 3D laser camera confirms that all preset positioning marks on the column and the base have been accurately identified.
[0029] Optionally, the column position control algorithm accurately analyzes the difference between the current position of the column and the predetermined target position, and the algorithm generates fine adjustment instructions in real time to guide the special robot to adjust its travel route, including:
[0030] Based on voxel filtering technology, the point cloud data of the base and the column in the camera coordinate system obtained by the three-dimensional laser camera is preprocessed, and the key points in the point cloud data are selected according to predetermined conditions or rules using conditional filtering technology;
[0031] The DABCAN algorithm and the Euclidean clustering algorithm are used to efficiently cluster and segment the point cloud data of the base and the column, and the pose matrix and deviation of the base coordinate system and the column coordinate system relative to the camera coordinate system are calculated; based on the pose matrix and deviation, the system controls the special robot to make fine adjustments;
[0032] The pose matrix and deviation are obtained again, and the special robot is controlled to make adjustments until the deviation is less than the preset threshold.
[0033] Optionally, the preprocessing process includes:
[0034] A. Perform voxel filtering and create a cube with a voxel volume of 1 cm to filter the overall point cloud data;
[0035] B. Perform the first conditional filtering to separate the point cloud data of the base and the column to detect the edge information of the base and the column;
[0036] C. Perform a second conditional filtering to separate the point cloud data of the positioning bolts at the top of the base and the positioning holes at the bottom of the column, and prepare data for the pose matrix calculation of the base and the column.
[0037] Optionally, controlling the special robot to adjust until the deviation is less than a preset threshold means that the special robot calculates the difference in the rotation part and the difference in the translation part according to the combined posture deviation matrix and minimizes them.
[0038] Compared with the prior art, the present invention has the following beneficial effects:
[0039] The present invention provides a three-dimensional point cloud positioning and measurement method and system for a special robot for column installation, comprising the following steps: the measurement system uses a structured light three-dimensional camera to actively emit laser gratings, and uses the perspective difference positioning principle to obtain the three-dimensional point cloud data of the base and column to be detected. First, a measurement system with a three-dimensional structured light camera as the main sensing unit is placed in the area to be operated, and communication is established with the control system of the special robot for column installation. Then, the robot clamps the column and moves the bottom of the column to the area detectable by the measurement system by using the position teaching method. The three-dimensional camera obtains the point cloud data of the base and the column relative to the camera coordinate system, and uses voxel filtering, conditional filtering, etc. to reduce the amount of point cloud data and eliminate noise, and clusters and segments the base and the column respectively through the improved DBSCAN and Euclidean clustering fusion algorithms, and identifies and segments the base edge, base mounting screws, column bottom edge and column mounting hole respectively. Using the characteristic structure of the base and column mounting seat, the posture matrix and deviation of the base and the column are calculated. The measurement system sends the posture deviation data to the robot control system to control the special robot to adjust the position deviation. The three-dimensional camera reacquires the posture matrix of the column, compares it with the base coordinate system, obtains the posture deviation matrix, and the special robot moves until the deviation is less than the preset threshold to complete the precise installation. The system and method of the present invention can realize the automation and intelligence of the column installation engineering construction operation process, improve the operation efficiency, and reduce the management cost and resource waste. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 Schematic diagram of the special robot measurement and positioning system installed for the column;
[0041] Figure 2 The figure is a flowchart of posture acquisition, where (a) is the flowchart of base posture acquisition, and (b) is the flowchart of column posture acquisition;
[0042] Figure 3 This is the clustering flow chart of the DBSCAN algorithm;
[0043] Figure 4 This is the flow chart of the Euclidean clustering algorithm;
[0044] Figure 5 Schematic diagram of attitude coordinate axis, where (a) is the schematic diagram of base attitude coordinate axis, and (b) is the schematic diagram of column attitude coordinate axis. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. The specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in each embodiment of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0046] A three-dimensional point cloud positioning and measurement method for a column-mounted special robot comprises the following steps:
[0047] S1: Figure 1 As shown, a high-performance 3D laser camera is used to accurately scan the base and columns, and the collected information is transmitted to the robotic arm control system;
[0048] S2: The robotic arm control system controls the special robot to grab the column and move it to the initial positioning position. Then the column position control algorithm is started, and the column and base are detected in real time with the help of a 3D laser camera to confirm whether the 3D camera successfully recognizes the specific positioning marks on the column and base. If it is confirmed to be recognized, the installation is completed;
[0049] S3: If the specific positioning mark on the column and the base is not recognized, the special robot is controlled to move automatically to adjust the position of the column until the ideal recognition state is reached, so as to realize the accurate positioning and installation of the column and the base;
[0050] The information collected in S1 specifically refers to the point cloud PCD file related to the original point cloud coordinate data; the point cloud PCD file is stored in binary format, and records in detail the x, y, z spatial coordinates of each point and the color information of r, g, b, a, which can provide rich visual and structural details for subsequent data processing and analysis;
[0051] The collected information is transmitted to the robot control system in S1, including: the PCD file will be read by the program as a key input of the measurement and positioning system of the column installation special robot;
[0052] The robotic arm control system can realize the control of the special robot;
[0053] The special robot can move under the control of the mechanical arm control system to grab the column and move the column to a suitable position of the base to achieve accurate positioning and installation of the column and the base;
[0054] Specifically: deploy high-precision 3D structured light cameras, measurement computers and communication equipment next to the base. The 3D structured light emits an active laser grating grid and uses the principle of perspective difference to collect 3D point clouds on the surface of objects in the area to be measured. The above equipment can not only measure the environment in real time, but also communicate seamlessly with the control system of the special robot.
[0055] The specific positioning mark is specifically a positioning hole or a structural edge set on the column and the base; by identifying the specific positioning mark, the column and the base can be accurately docked;
[0056] S3: If the specific positioning mark on the column and the base is not identified, the special robot is controlled to automatically move to adjust the position of the column until the ideal recognition state is reached to achieve accurate positioning and installation of the column and the base, specifically including:
[0057] S31: Fine-tune the position of the column, and the robot control system continuously receives real-time feedback data from the 3D laser camera;
[0058] S32: The difference between the current position of the column and the predetermined target position is accurately analyzed through the column position control algorithm, and the algorithm generates fine adjustment instructions in real time, thereby guiding the special robot to adjust its travel route;
[0059] S33: Continue the intelligent dynamic adjustment process until the three-dimensional laser camera confirms that all preset positioning marks on the column and the base are accurately identified;
[0060] S32: accurately analyzing the difference between the current position of the column and the predetermined target position through the column position control algorithm, and the algorithm generates fine adjustment instructions in real time, thereby guiding the special robot to adjust its travel route, including:
[0061] S321: Preprocess the point cloud data of the base and the column in the camera coordinate system obtained by the three-dimensional laser camera based on the voxel filtering technology, and select the key points in the point cloud data according to the predetermined conditions or rules using the conditional filtering technology; this process can reduce the amount of data, eliminate noise interference, and improve processing efficiency, while ensuring that the key structural features of the data are retained;
[0062] The pretreatment process specifically comprises the following steps:
[0063] A. Perform voxel filtering, calculate a large cube that can just wrap the point cloud, create small cubes with a voxel volume of 1 cm, and divide the large cube into different small cubes; for each point in the small cube, calculate their center of mass P c , the calculation formula is as follows:
[0064]
[0065] In formula (1), M is the number of points in a voxel, r i =(x i ,y i , z i ), i = 1, 2, ..., n is the coordinate of each centroid, m i is the mass corresponding to the center of mass, usually 1; the coordinates of the center of mass are used to approximate several points in the cube; the amount of data is reduced, noise is eliminated, and processing efficiency is improved, while maintaining the main structural characteristics of the data;
[0066] B. Perform the first conditional filtering to separate the point cloud data of the base and the column to detect the edge information of the base and the column; the base filtering condition is as shown in formula (2), and the column filtering condition is as shown in formula (3):
[0067] y>mincoordinate (2)
[0068] y<maxcoordinate (3)
[0069] In formula (2), mincoordinate is the minimum coordinate retained on the y-axis of the base point cloud. According to experiments, this coordinate is given by the robot arm actuator based on the translation error. In formula (3), maxcoordinate is the maximum coordinate retained on the y-axis of the column point cloud, which is also given by the actuator.
[0070] C. Perform the second conditional filtering to separate the point cloud data of the positioning bolts at the top of the base and the positioning holes at the bottom of the column, and prepare data for the pose matrix calculation of the base and the column; the filtering conditions of the base are as shown in equations (4) and (5), and the filtering conditions of the column are as shown in equations (6) and (7):
[0071] x∈(min1,max1) (4)
[0072] y∈(min2,max2)(5)
[0073] x∈(min3,max3) (6)
[0074] y∈(min4,max4)(7)
[0075] min1 and max1 in formula (4), min2 and max2 in formula (5) respectively represent the range of the x-axis and y-axis coordinates of the base point cloud. min3 and max3 in formula (6), min4 and max4 in formula (7) respectively represent the range of the x-axis and y-axis coordinates of the column point cloud, and this coordinate range is given by the robot arm actuator.
[0076] S322: Figure 2-4 As shown, the DABCAN algorithm and the Euclidean clustering algorithm are used to efficiently cluster and segment the point cloud data of the base and the column, and the pose matrix and deviation of the base coordinate system and the column coordinate system relative to the camera coordinate system are calculated; based on the pose matrix and deviation, the system controls the special robot to make fine adjustments;
[0077] The process specifically includes the following steps:
[0078] A. Perform DBSCAN clustering on the point cloud of the top of the base and the positioning bolts;
[0079] B. Use the RANSAC algorithm to perform plane fitting on the base and obtain the plane equation;
[0080] C. Establish the base pose matrix P base and the camera pose matrix P cam ;
[0081] D. Perform plane fitting on the point cloud data of the positioning hole at the bottom of the column;
[0082] E. Extract the edge of the plane fitted at the bottom of the column;
[0083] F. Establish the column pose matrix P Column ;
[0084] G. Calculate the rotation difference, translation difference and merged pose difference matrix;
[0085] H. Control the special robot to make adjustments until the deviation is less than the preset threshold;
[0086] Specifically, DBSCAN clustering is performed on the point clouds of the top of the base and the positioning bolts; the clustering range is between 50-1000000, the number of neighboring points is m=30, and the curvature threshold is 1; the point cloud data can be split into 16 small point clouds, namely 8 bolt column point clouds and 8 bolt column vertex clouds; according to the x-coordinate relationship, the first point cloud in the lower left is selected, the number of point clouds n is obtained, and the position of the point cloud center coordinate is calculated;
[0087] Find the average coordinate p of the point cloud, and the calculation formula is as follows:
[0088]
[0089] In formula (8), n is the number of small point clouds after segmentation, p i For the center coordinates of each small point cloud, calculate the center coordinate position p0 of the large point cloud, and the calculation formula is as follows:
[0090]
[0091] Formula (9) calculates the distance between any point and the average coordinate p, and formula (10) obtains the point p0 with the minimum distance.
[0092] In the camera coordinate system, the posture is specified as Figure 5 As shown, in the standard state, vertically downward is the positive direction of the X-axis, horizontally to the right is the positive direction of the Y-axis, and vertically outward from the contact surface is the positive direction of the Z-axis; the origin of the coordinate axis is the center of the lower right point cloud; (a) represents the base coordinate system, and (b) represents the column coordinate system. The X-axis is always parallel to the side edges of the base and the column;
[0093] Assume that the plane equation of the plane where the base is located is Ax+By+Cz+D=0, where D reflects the position of the plane relative to the origin. If D is positive, the origin is on the other side of the half-space pointed to by the normal vector; if D is negative, the origin and the normal vector are in the half-space on the same side; if D=0, the plane passes through the origin; use the RANSAC algorithm to fit the plane of the base, where the distance threshold is set to 1, the number of sample subsets is set to 3, and the number of iterations is set to 1000, and the plane equation can be obtained; the plane normal vector N Za It is also concluded that the four coefficients of the plane equation are A, B, C, D, N Za It is expressed as formula (11):
[0094] N Za =(A, B, C) (11)
[0095] According to equations (1), (2) and (3), the center coordinates of the other seven point clouds (denoted as p 1- p7), according to the coordinate relationship, the position of p0-p7 can be determined. Assuming p0-p3 is the point cloud coordinate on the left, p4-p7 is the point cloud coordinate on the right, subtract them in sequence to calculate the four vectors v′ i (i=0, 1, 2, 3), the calculation formula is as follows:
[0096] v i =p i+4 -p0 (12)
[0097] Take two vectors in turn to calculate their cosine similarity cosijθ and take their absolute value. When the absolute value approaches 1, the two vectors are parallel. The calculation formula is as follows:
[0098]
[0099] Calculate the absolute value of the cosine similarity of the four vectors. This absolute value can be regarded as the confidence of the vector parallelism. The higher the confidence, the closer the value is to 1. Then take p0 and p1, subtract them directly, and then normalize them to get the unit vector in the Y direction. The calculation formula is as follows:
[0100]
[0101] Solve for the unit vector N in the X direction Xa, given two linearly independent vectors n1 and n2 in three-dimensional space, the normal vector of the plane where n1 and n2 are located can be solved by the cross product (outer product) of n1 and n2; for two vectors a=a1i+a2j+a3k, b=b1i+b2j+b3k, where a1, a2, a3, b1, b2, b3 represent the components of vectors a and b in the x-axis, y-axis, and z-axis directions, respectively, and i, j, k represent unit vectors along the coordinate axis directions; the vector cross product can be expressed as the following determinant:
[0102]
[0103] Calculate N Za and N Ya Vector cross product and unitization to get N xa , the calculation formula is as follows:
[0104]
[0105] Establish the base pose matrix P base and the camera pose matrix P cam :
[0106]
[0107] N in formula (17) xa1 , N ya1 , N za1 N Xa The three coordinates of N xa2 , N ya2 , N za2 N Ya The three coordinates of N xa3 , N ya3 , N za3 N Za The three coordinates, p 0x , p 0y , p 0z Represents the three coordinates of p0.
[0108] Perform plane fitting on the point cloud data of the positioning hole at the bottom of the column; set the plane equation of the plane where the bottom of the column is located as A1x+B1y+C1z+D1=0, D1 reflects the position of the plane relative to the origin, if D1 is positive, then the origin is on the other side of the half-space pointed to by the normal vector; if D1 is negative, the origin and the normal vector are in the half-space on the same side; if D1=0, the plane passes through the origin; use the RANSAC algorithm to perform plane fitting on the positioning hole at the bottom of the column, where the distance threshold is set to 2, the number of sample subsets is set to 3, and the number of iterations is set to 1000, and the plane equation can be obtained; the plane normal vector N ZbIt is also concluded that the four coefficients of the plane equation are A1, B1, C1, D1, N Zb It is expressed as formula (19):
[0109] N Zb =(A1,B1,C1) (19)
[0110] Extract the edge of the fitted plane A1x+B1y+C1z+D1=0; calculate the direction of the point cloud normal vector, determine the boundary based on the normal vector, set the maximum number of iterations and the distance threshold of the model internal point to a larger value; extract the contour boundary based on the normal vector of the segmented plane; the higher the number of K nearest neighbors searched, the better the accuracy of the final boundary recognition; perform Euclidean clustering on the edge information, the algorithm flow chart is as follows Figure 4 As shown; since the point cloud data at this time only has contour information, Euclidean clustering is used, the minimum clustering distance is set to 5, and the number of points in each class ranges from 50 to 10000; the edge coordinate information of the four column holes can be obtained;
[0111] For the edge information of the four column holes, set the distance threshold to 1.5; randomly select 3 coordinate points from all points, calculate the circle equation obtained by the 3 points, and get the center p and radius r; based on a distance threshold of 1.5, traverse all points, and the point whose difference between the distance from the center p obtained in step 1 and the radius r is less than 1.5 is an inner point, otherwise it is an outlier; repeat steps 1-2 continuously, record the number of inner points and the inner points obtained each time, repeat k times to end the iteration, select the iteration result with the largest number of inner points in the iteration process, and make the final circle fitting based on the inner points of the result to get the center and radius; according to the above method, the center coordinates of the four column holes can be obtained (recorded as q1-q4), and according to the X-axis coordinate relationship, subtract the front and back in sequence to calculate the three vectors v′ i (i=0, 1, 2), the calculation formula is as follows:
[0112] v′ i =q i+1 -q0 (20)
[0113] Take two vectors in turn to calculate the cosine similarity cos ijθ and take the absolute value. When the absolute value approaches 1, the two vectors are parallel. The calculation formula is as follows:
[0114]
[0115] Calculate the absolute value of the cosine similarity of the three vectors. This absolute value can be regarded as the confidence of the vector parallelism. The higher the confidence, the closer the value is to 1. Then take q0 and q1, subtract them directly, and then normalize them to get the unit vector in the Y direction. The calculation formula is as follows:
[0116]
[0117] Calculate N Zb and N Yb Vector cross product and unitization to get N Xb , the calculation formula is as follows:
[0118]
[0119] The center coordinate of the first positioning hole of the column is selected as the origin of the coordinate system (denoted as q0), so as to establish the column posture P Column :
[0120]
[0121] N in formula (20) xb1 , N yb1 , N zb1 N xb The three coordinates of N xb2 , N yb2 , N zb2 N Yb The three coordinates of N xb3 , N yb3 , N zb3 N Zb The three coordinates, q 0x ,q 0y ,q 0z Represents the three coordinates of q0.
[0122] The pose matrix is usually used to describe the position and orientation of an object in three-dimensional space. A pose matrix contains a rotation matrix part and a translation vector part, so it not only describes the rotation (direction) of the object, but also the position of the object. The rotation difference and translation difference are calculated separately below.
[0123] Rotation difference R diff The calculation formula is as follows (25):
[0124]
[0125] In formula (20), R1 represents N Xa , N Ya and N Za These three direction vectors, t1 represents the base center coordinate p0, R2 represents N Xb , N Yb and N Zb Among these three direction vectors, t2 represents the center coordinate q0 of the column. Represents the inversion of the base attitude matrix.
[0126] Translation difference t diffThe calculation formula is as follows (26):
[0127]
[0128] Merge pose difference matrix P diff as follows:
[0129]
[0130] The algorithm dynamically generates adjustment instructions based on real-time analysis results to optimize the motion trajectory of the special robot;
[0131] S323: Obtain the posture matrix and deviation again, and control the special robot to adjust until the deviation is less than a preset threshold;
[0132] Specifically, during the adjustment process, the 3D camera continuously monitors the pose matrix of the column and compares it with the pose matrix of the base coordinate system until the deviation value drops below the preset threshold, ultimately ensuring the precise positioning and installation of the column;
[0133] Controlling the special robot to adjust until the deviation is less than a preset threshold value means that the special robot calculates the difference of the rotation part and the difference of the translation part according to the combined posture deviation matrix and minimizes them;
[0134] The process specifically includes the following steps:
[0135] The minimum difference calculation formula of the rotation part is as follows:
[0136]
[0137] In formula (28), Tr is the trace operation, which is performed on the rotation difference matrix. If θ = 0 or close to 0 (taking into account the error of numerical calculation), it can be considered that the difference of the rotation part is minimized;
[0138] Minimum difference in translation part: If t diff If the length is 0 or close to 0 (again, considering the error of numerical calculation), it can be considered that the difference of the translation part is minimal;
[0139] When the minimum difference of the rotating part and the minimum difference of the translation part are both less than the set threshold, the special robot releases the column and returns to the zero position.
[0140] According to another aspect of the present invention, there is also provided a three-dimensional point cloud positioning and measuring system for a column-mounted special robot, the system comprising: a base, a column, a robotic arm control system, and a three-dimensional laser camera;
[0141] The three-dimensional laser camera can accurately scan the base and the column, and transmit the collected information to the robot arm control system;
[0142] The manipulator control system includes a control module and a special robot. The control module can realize the control of the special robot. The special robot can move under the control of the manipulator control system to grab the column and move the column to a suitable position of the base to realize the accurate positioning and installation of the column and the base.
[0143] The robotic arm control system can control the special robot to grab the column and move it to the initial positioning position, and then the column position control algorithm is started, and the column and the base are detected in real time with the help of a three-dimensional laser camera to confirm whether the three-dimensional camera successfully recognizes the specific positioning marks on the column and the base; if the recognition is confirmed, the installation is completed; if the specific positioning marks on the column and the base are not recognized, the special robot is controlled to move automatically to adjust the position of the column until the ideal recognition state is reached, thereby realizing accurate positioning and installation of the column and the base.
[0144] If the specific positioning mark on the column and the base is not identified, the special robot is controlled to automatically move to adjust the position of the column until the ideal recognition state is reached, so as to realize the accurate positioning and installation of the column and the base, which specifically includes:
[0145] The position of the column is fine-tuned, and the robot control system continuously receives real-time feedback data from the 3D laser camera;
[0146] The column position control algorithm accurately analyzes the difference between the current position of the column and the predetermined target position. The algorithm generates fine adjustment instructions in real time to guide the special robot to adjust its route.
[0147] This intelligent dynamic adjustment process continues until the 3D laser camera confirms that all preset positioning marks on the column and the base have been accurately identified.
[0148] The column position control algorithm accurately analyzes the difference between the current position of the column and the predetermined target position, and the algorithm generates fine adjustment instructions in real time to guide the special robot to adjust its travel route, including:
[0149] Based on voxel filtering technology, the point cloud data of the base and the column in the camera coordinate system obtained by the three-dimensional laser camera is preprocessed, and the key points in the point cloud data are selected according to predetermined conditions or rules using conditional filtering technology;
[0150] The DABCAN algorithm and the Euclidean clustering algorithm are used to efficiently cluster and segment the point cloud data of the base and the column, and the pose matrix and deviation of the base coordinate system and the column coordinate system relative to the camera coordinate system are calculated; based on the pose matrix and deviation, the system controls the special robot to make fine adjustments;
[0151] The pose matrix and deviation are obtained again, and the special robot is controlled to make adjustments until the deviation is less than the preset threshold.
[0152] In summary, the present invention obtains the posture matrix of the base and the column relative to the camera, analyzes the degree of difference between the two posture matrices, and performs adaptive adjustment to drive the special robot to intelligently install the column, thereby solving the problems of long on-site testing cycle, high cost, and high safety risk of traditional column installation methods; at the same time, the use of a three-dimensional laser camera can obtain target structure and scale information in the real world; by aligning this information with 2D color information, a point cloud with color information can be obtained. The point cloud data can be processed to restore the three-dimensional information of the object being measured, improve image recognition accuracy, reduce errors other than recognition algorithms, escort subsequent calculations, improve the quality of control algorithms, and solve the problems of long control algorithm development cycle and high cost.
[0153] The above contents are only the technical ideas of the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical ideas proposed by the present invention shall fall within the protection scope of the claims of the present invention.
Claims
1. A three-dimensional point cloud positioning and measurement method for a column-mounted special robot, characterized in that: The following steps are included: S1: Use a high-performance 3D laser camera to accurately scan the base and columns, and transmit the collected information to the robot control system; S2: The robotic arm control system controls the special robot to grab the column and move it to the initial positioning position. Then the column position control algorithm is started, and the column and base are detected in real time with the help of a 3D laser camera to confirm whether the 3D camera successfully recognizes the specific positioning marks on the column and base. If it is confirmed to be recognized, the installation is completed; S3: If the specific positioning mark on the column and the base is not recognized, the special robot is controlled to move automatically to adjust the position of the column until the ideal recognition state is reached, so as to realize the accurate positioning and installation of the column and the base; S3: If the specific positioning mark on the column and the base is not identified, the special robot is controlled to automatically move to adjust the position of the column until the ideal recognition state is reached to achieve accurate positioning and installation of the column and the base, specifically including: S31: Fine-tune the position of the column, and the robot control system continuously receives real-time feedback data from the 3D laser camera; S32: The difference between the current position of the column and the predetermined target position is accurately analyzed through the column position control algorithm, and the algorithm generates fine adjustment instructions in real time, thereby guiding the special robot to adjust its travel route; S33: Continue the intelligent dynamic adjustment process until the three-dimensional laser camera confirms that all preset positioning marks on the column and the base are accurately identified; S32: accurately analyzing the difference between the current position of the column and the predetermined target position through the column position control algorithm, and the algorithm generates fine adjustment instructions in real time, thereby guiding the special robot to adjust its travel route, including: S321: pre-processing the point cloud data of the base and the column in the camera coordinate system acquired by the three-dimensional laser camera based on the voxel filtering technology, and selecting key points in the point cloud data according to predetermined conditions or rules using the conditional filtering technology; S322: Use the DABCAN algorithm and the Euclidean clustering algorithm to efficiently cluster and segment the point cloud data of the base and column, and calculate the pose matrix and deviation of the base coordinate system and the column coordinate system relative to the camera coordinate system; based on the pose matrix and deviation, the system controls the special robot to make fine adjustments; The specific steps include: A. Perform DBSCAN clustering on the point cloud of the top of the base and the positioning bolts; B. Use the RANSAC algorithm to perform plane fitting on the base and obtain the plane equation; C. Establish the base pose matrix P base and the camera pose matrix P cam ; D. Perform plane fitting on the point cloud data of the positioning hole at the bottom of the column; E. Extract the edge of the plane fitted at the bottom of the column; F. Establish the column pose matrix P Column ; G. Calculate the rotation difference, translation difference and merged pose difference matrix; H. Control the special robot to make adjustments until the deviation is less than the preset threshold; S323: Obtain the posture matrix and deviation again, and control the special robot to adjust until the deviation is less than the preset threshold.
2. The method according to claim 1, characterized in that The collected information specifically refers to the point cloud PCD file related to the original point cloud coordinate data; it will be read by the program as the key input of the measurement and positioning system of the column installation special robot.
3. The method according to claim 2, characterized in that The specific positioning mark is specifically a positioning hole or a structural edge arranged on the column and the base.
4. A three-dimensional point cloud positioning and measuring system for a column-mounted special robot based on the method according to any one of claims 1 to 3, characterized in that: include: Base, column, robotic arm control system, 3D laser camera; The three-dimensional laser camera can accurately scan the base and the column, and transmit the collected information to the robot arm control system; The manipulator control system includes a control module and a special robot. The control module can realize the control of the special robot. The special robot can move under the control of the manipulator control system to grab the column and move the column to a suitable position of the base to realize the accurate positioning and installation of the column and the base. The robotic arm control system can control the special robot to grab the column and move it to the initial positioning position, then the column position control algorithm is started, and the column and the base are detected in real time with the help of a three-dimensional laser camera to confirm whether the three-dimensional camera successfully recognizes the specific positioning marks on the column and the base; if it is confirmed to be recognized, the installation is completed; if the specific positioning marks on the column and the base are not recognized, the special robot is controlled to move automatically to adjust the position of the column until the ideal recognition state is reached, so as to realize the accurate positioning and installation of the column and the base; If the specific positioning mark on the column and the base is not identified, the special robot is controlled to automatically move to adjust the position of the column until the ideal recognition state is reached, so as to realize the accurate positioning and installation of the column and the base, which specifically includes: The position of the column is fine-tuned, and the robot control system continuously receives real-time feedback data from the 3D laser camera; The column position control algorithm accurately analyzes the difference between the current position of the column and the predetermined target position. The algorithm generates fine adjustment instructions in real time to guide the special robot to adjust its route. This intelligent dynamic adjustment process continues until the 3D laser camera confirms that all preset positioning marks on the column and the base are accurately identified; The column position control algorithm accurately analyzes the difference between the current position of the column and the predetermined target position, and the algorithm generates fine adjustment instructions in real time to guide the special robot to adjust its travel route, including: Based on voxel filtering technology, the point cloud data of the base and the column in the camera coordinate system obtained by the three-dimensional laser camera is preprocessed, and the key points in the point cloud data are selected according to predetermined conditions or rules using conditional filtering technology; The DABCAN algorithm and the Euclidean clustering algorithm are used to efficiently cluster and segment the point cloud data of the base and the column, and the pose matrix and deviation of the base coordinate system and the column coordinate system relative to the camera coordinate system are calculated; based on the pose matrix and deviation, the system controls the special robot to make fine adjustments; The pose matrix and deviation are obtained again, and the special robot is controlled to make adjustments until the deviation is less than the preset threshold.
5. The system according to claim 4, characterized in that The pretreatment process includes: A. Perform voxel filtering and create a cube with a voxel volume of 1 cm to filter the overall point cloud data; B. Perform the first conditional filtering to separate the point cloud data of the base and the column to detect the edge information of the base and the column; C. Perform a second conditional filtering to separate the point cloud data of the positioning bolts at the top of the base and the positioning holes at the bottom of the column, and prepare data for the pose matrix calculation of the base and the column.
6. The system according to claim 5, characterized in that Controlling the special robot to adjust until the deviation is less than a preset threshold value means that the special robot calculates the difference of the rotation part and the difference of the translation part according to the combined posture deviation matrix and minimizes them.
