A method for overall material grabbing based on 3D visual recognition of H-beam ends
Through 3D visual identification of the end of the H-shaped steel, the grabbing position of the Z-axis electromagnet of the truss is automatically adjusted, which solves the safety hazards and production efficiency issues of manual positioning during the lifting of the H-shaped steel, and achieves efficient and safe automatic grabbing.
Patent Information
- Application Number
- CN202311549916.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-16
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-11-16
AI Technical Summary
When lifting the H-shaped steel, workers need to manually adjust its position, which poses a major safety hazard and affects production efficiency.
Using a method based on 3D visual recognition, a 3D camera is used to obtain the point cloud of the H-shaped steel web surface, segment the plane, calculate the plane normal vector, identify the position of the H-shaped steel, and adjust the grabbing position of the Z-axis electromagnet of the truss to achieve Automatic positioning and crawling.
It reduces the safety hazards of manual positioning and the consumption of manpower and material resources, and improves the accuracy and production efficiency of grabbing. It only requires one industrial 3D camera, which is low-cost and not easily damaged.
Smart Images

Figure CN117325181B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of machine vision image analysis, and specifically relates to a method for overall material grabbing based on 3D vision recognition of H-shaped steel ends. Background Art
[0002] With the rapid development of the field of intelligent welding, truss loading, as an indispensable part of the welding work island, is also being continuously optimized. During the loading process, H-shaped steel weighing several tons cannot be easily placed in the corresponding position, and it has a great impact on production efficiency, so positioning loading is inevitable; the main methods of H-shaped steel loading are: manually using a truss beam to lift the H-shaped steel and place it on the fixed position of the material table, and then using the truss to grab the H-shaped steel at the fixed position. In the process of manually using a truss beam to lift the H-shaped steel and place it on the material table, workers need to manually adjust the landing position of the H-shaped steel near the material table, which poses a considerable safety hazard. Then, the truss is used to grab the H-shaped steel from the material table according to the fixed position. If the position of the H-shaped steel deviates, the grabbing will fail.
[0003] Positioning and grasping H-shaped steel based on 3D vision is an effective solution to save manpower and material resources. In order to solve the above problems and provide a corresponding intelligent grasping method, the present invention provides the following technical solutions. Summary of the invention
[0004] The purpose of the present invention is to provide a method for overall material grabbing based on 3D visual recognition of the end of an H-beam, so as to solve the problem in the prior art that when lifting the H-beam, the staff needs to adjust the position of the H-beam to facilitate the accuracy of subsequent grabbing, which poses a great safety hazard.
[0005] The purpose of the present invention can be achieved through the following technical solutions:
[0006] A method for overall material grabbing based on 3D visual recognition of H-beam ends comprises the following steps:
[0007] S1. Move the 3D camera to the top of the H-beam web surface and take a photo to obtain the web surface point cloud;
[0008] S2. Segment the planes according to the randomly sampled consistent point cloud, mark these planes as positioning planes, and obtain the plane normal vectors of each positioning plane;
[0009] S3, obtaining the angle α between each plane normal vector and the Z axis;
[0010] When α is less than 20°, the corresponding positioning plane is the bottom surface;
[0011] Add the obtained bottom surface to the bottom surface list;
[0012] S4. Obtain the plane closest to the Z axis or the origin in the bottom surface list, and mark the plane as the H-beam web;
[0013] S5, extracting the concave bulge of the H-beam web identified by segmentation, and performing straight line fitting and screening on the points on the concave bulge;
[0014] S6, sorting the lengths of the identified straight lines, selecting the four longest ones, and then screening the corresponding four straight lines, and putting the lateral lines into a list;
[0015] Find the line at the end of the H-beam according to the distance between the end line and the origin, and find the intersection point through this end line and the side line list;
[0016] S7. The position of the H-shaped steel is calculated according to the positions of each intersection point, and the grasping position of the truss Z-axis electromagnet is adjusted according to the position of the H-shaped steel.
[0017] As a further solution of the present invention, the method for obtaining the bottom surface in step S3 is:
[0018] A three-dimensional coordinate system with the 3D camera as the origin is established, wherein the x-axis of the three-dimensional coordinate system is parallel to the end line or the side line of the web surface of the H-beam, and the y-axis is parallel to the side line or the end line of the web surface of the H-beam;
[0019] By projecting the coordinates of the origin onto the plane, the vector pointing to the origin from the projection point is calculated, and the angle between the vector and the plane normal vector of each positioning plane is calculated. After the plane normal vector is reversed, the angle between the inverted plane normal vector and the negative direction of the Z axis is judged. If the angle is less than 20°, the corresponding positioning plane is the bottom surface.
[0020] As a further solution of the present invention, if the angle is greater than 90 degrees, it is determined that the plane normal vector does not point to the origin.
[0021] As a further solution of the present invention, step S4 is to calculate the concave hull of the segmented bottom surface, and find out a plane that is closest to the Z axis or the origin at each point on the concave hull, and the plane is the web of the H-shaped steel.
[0022] As a further solution of the present invention, the screening condition in step S5 is:
[0023] When the x-axis is parallel to the end line and the y-axis is parallel to the side line, the angle between the normal vector of the straight line and the y-axis of the camera needs to be less than 20 degrees or
[0024] 180-The angle between the normal vector of the line and the camera's y-axis is less than 15 degrees or
[0025] 90-The angle between the normal vector of the line and the camera's y-axis is less than 15 degrees.
[0026] Beneficial effects of the present invention:
[0027] The present invention utilizes 3D vision to identify the end of the H-shaped steel and transmits the two points of the end to the host computer to calculate the Z-axis electromagnet grasping position of the truss. In addition, the present method only uses one industrial 3D camera, which is low-cost and not easy to damage. It also avoids the manpower and material resources consumed by frequent manual positioning and grasping in industrial scenes. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The present invention will be further described below in conjunction with the accompanying drawings.
[0029] Figure 1 It is a top view of the positional relationship between the 3D camera and the H-beam in the present invention;
[0030] Figure 2 The figure is a schematic flow chart of the method for overall material grabbing of the present invention. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] A method for overall material grabbing based on 3D visual recognition of H-beam ends, such as Figure 2 As shown, the following steps are included:
[0033] S1, such as Figure 1 As shown, move the 3D camera to the top of the H-beam web surface and take a photo to obtain the web surface point cloud;
[0034] S2. Segment the planes according to the randomly sampled consistent point cloud, mark these planes as positioning planes, and obtain the plane normal vectors of each positioning plane;
[0035] S3, obtaining the angle α between each plane normal vector and the Z axis;
[0036] When α is less than 20°, the corresponding positioning plane is the bottom surface;
[0037] On the contrary, if α is not less than 20°, the corresponding positioning plane is considered not to be the bottom surface;
[0038] Add the obtained bottom surface to the bottom surface list;
[0039] Specific:
[0040] Establish a three-dimensional coordinate system, the x-axis of which is parallel to the end line or the side line of the H-beam web surface, and the y-axis of which is parallel to the side line or the end line of the H-beam web surface;
[0041] By projecting the origin coordinates onto the plane, the vector pointing from the projection point to the origin is calculated, and the angle between the vector and the plane normal vector of each positioning plane is calculated to ensure that the plane normal vector points to the origin;
[0042] Specifically, if the angle is greater than 90 degrees, it is determined that the plane normal vector does not point to the origin. After the plane normal vector is reversed, the angle between the reversed plane normal vector and the negative direction of the Z axis is determined. If the angle is less than 20 degrees, it is the bottom surface.
[0043] The side lines refer to the two side lines of the H-shaped steel web except the end line;
[0044] S4. Obtain the plane closest to the Z axis or the origin in the bottom surface list, and mark the plane as the H-beam web;
[0045] Specific:
[0046] Calculate the concave hull of the segmented bottom surface and find the plane closest to the Z axis or the origin at each point on the concave hull. This plane is the web of the H-shaped steel.
[0047] S5, extracting the concave bulge of the H-beam web identified by segmentation, and performing straight line fitting and screening on the points on the concave bulge;
[0048] The filter criteria are:
[0049] When the x-axis is parallel to the end line and the y-axis is parallel to the side line, the angle between the normal vector of the line and the y-axis of the camera needs to be less than 20 degrees (side line) or
[0050] 180 - the angle between the normal vector of the line and the camera's y-axis is less than 15 degrees (to prevent the two side line direction vectors from being opposite) or
[0051] 90-The angle between the normal vector of the straight line and the y-axis of the camera is less than 15 degrees (end line);
[0052] S6, sorting the lengths of the identified straight lines, selecting the four longest ones, and then screening the corresponding four straight lines, and putting the lateral lines into a list;
[0053] Find the line at the end of the H-beam according to the distance from the end line to the origin (the other is the end line generated by the camera shooting range), and find the intersection of this end line and the side line list
[0054] S7. The position of the H-shaped steel is calculated according to the positions of each intersection point, and the grasping position of the truss Z-axis electromagnet is adjusted according to the position of the H-shaped steel.
[0055] This automatic feeding technology is based on a 3D vision camera installed on the X-axis of the truss. After the truss camera is calibrated, the H-beam in the target area is photographed to obtain a point cloud. The point cloud processing algorithm is used to obtain the position of the H-beam web end and the flange plates on both sides, and the electromagnet grasping position at the bottom of the truss Z-axis is reasonably planned, avoiding the manpower and material resources consumed by frequent manual positioning and grasping in industrial scenarios.
[0056] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0057] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.
Claims
1. A method for overall material grabbing based on 3D visual recognition of H-beam ends. It is characterized in that The steps include: S1. Move the 3D camera to the top of the H-beam web surface and take a photo to obtain the web surface point cloud; S2, segmenting planes according to the randomly sampled consistent point cloud, marking these planes as positioning planes, and obtaining the plane normal vectors of each positioning plane; S3, obtaining the angle α between each plane normal vector and the Z axis; When α is less than 20°, the corresponding positioning plane is the bottom surface; Add the obtained bottom surface to the bottom surface list; S4. Obtain the plane closest to the Z axis or the origin in the bottom surface list, and mark the plane as the H-beam web; S5, extracting the concave bulge of the H-beam web identified by segmentation, and performing straight line fitting and screening on the points on the concave bulge; S6, sorting the lengths of the identified straight lines, selecting the four longest ones, and then screening the corresponding four straight lines, and putting the lateral lines into a list; Find the line at the end of the H-beam according to the distance between the end line and the origin, and find the intersection point through this end line and the side line list; S7, calculating the position of the H-shaped steel according to the positions of each intersection, and adjusting the grabbing position of the truss Z-axis electromagnet according to the position of the H-shaped steel; The method for obtaining the bottom surface in step S3 is: A three-dimensional coordinate system with the 3D camera as the origin is established, wherein the x-axis of the three-dimensional coordinate system is parallel to the end line or the side line of the web surface of the H-beam, and the y-axis is parallel to the side line or the end line of the web surface of the H-beam; By projecting the origin coordinates onto the plane, the vector pointing from the projection point to the origin is calculated, and the angle between the vector and the plane normal vector of each positioning plane is calculated. After the plane normal vector is reversed, the angle between the reversed plane normal vector and the negative direction of the Z axis is determined. If the angle is less than 20°, the corresponding positioning plane is the bottom surface. The screening conditions in step S5 are: When the x-axis is parallel to the end line and the y-axis is parallel to the side line, the angle between the normal vector of the straight line and the y-axis of the camera needs to be less than 20 degrees or 180-The angle between the normal vector of the line and the camera's y-axis is less than 15 degrees or 90-The angle between the normal vector of the line and the camera's y-axis is less than 15 degrees.
2. According to claim 1, a method for overall material grabbing based on 3D visual recognition of H-beam ends, It is characterized in that If the angle is greater than 90 degrees, it is judged that the plane normal vector does not point to the origin.
3. According to claim 1, a method for overall material grabbing based on 3D visual recognition of H-beam ends, It is characterized in that In step S4, the concave hull is calculated for the segmented bottom surface, and a plane closest to the Z axis or the origin at each point on the concave hull is found, and the plane is the web of the H-shaped steel.
Citation Information
Patent Citations
Profile steel bending method based on visual measurement
CN113607089A
Parallax correction algorithm of cube parallax correction equipment based on monocular vision
CN116205984A
