A 3D positioning and grasping method and system based on 2D camera
Through the combination of high-precision ranging sensors and 2D cameras, the 3D positioning and attitude correction of the diesel engine cylinder block and cylinder head are realized, which solves the problems of surface irregularities and positional deviations during the robot grabbing process, and improves the grabbing accuracy and reliability. , reduces costs and is suitable for complex-shaped workpieces.
Patent Information
- Application Number
- CN202410692264.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-05-31
AI Technical Summary
In the production line of diesel engine cylinder blocks and cylinder heads, there are problems such as a wide variety of products, irregular surfaces, position deviations and height changes during the robot grabbing process, which leads to problems in picking accuracy and increased costs.
It uses a high-precision ranging sensor combined with a 2D camera to achieve 3D positioning and attitude correction of the workpiece through algorithms, establish a workpiece coordinate system, match the robot's attitude, and achieve stable grasping.
It improves the grabbing accuracy and reliability, reduces the cost, and is suitable for various irregular surfaces and complex-shaped workpieces. The accuracy can reach ±0.5mm, which expands the applicable scope of the robot.
Smart Images

Figure CN118269107B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of machine vision technology, and in particular to a 3D positioning and grasping method and system based on a 2D camera. Background Art
[0002] On the existing diesel engine cylinder block and cylinder head production line, the rough parts of the cylinder block and cylinder head need to be loaded onto the chain line pallet by a manual forklift, and then grabbed by a robot and transferred to the conveyor line. For the finished cylinder block and cylinder head, they need to be put into or taken out of the production line to the assembly line, and the robot also needs to perform the grabbing operation. These parts are usually placed on a pallet made of sheet metal with nylon covered on its contact surface.
[0003] To improve the circulation efficiency of cylinder blocks and cylinder heads, each pallet can usually hold three cylinder blocks or cylinder heads. However, in the process of industrial robots grabbing cylinder blocks and cylinder heads, there are the following control difficulties that need to be solved:
[0004] There are many types of products with various side holes and curved surfaces, so they are not suitable for photoelectric sensors for presence recognition;
[0005] There is a deviation in the position of the cylinder body and cylinder head on the pallet, and there is also a deviation in the position of the pallet each time, which will affect the robot's grasping accuracy;
[0006] Due to wear and tear caused by processing and use, different pallets have different heights and tilts. For large cylinder blocks and cylinder heads, these changes in the pallet will cause the positions of the locating pin holes on both sides of the workpiece to change, making it impossible for the robot gripper to grasp successfully.
[0007] In addition, for the cylinder body and cylinder head, since the gripper is relatively large and the positioning accuracy needs to be within ±0.5mm, traditional 2D visual positioning can only compensate for the X, Y directions and Euler angle Z rotation on the plane, but cannot correct the Euler angles X, Y, that is, it cannot correct the robot's spatial posture, and the use of 3D cameras will significantly increase costs. Summary of the invention
[0008] To this end, the present invention provides a 3D positioning and grasping method and system based on a 2D camera, which adopts a high-precision ranging sensor combined with a 2D camera, and realizes posture correction through an algorithm, so as to achieve stable grasping operation of workpieces with irregular surfaces such as cylinder blocks / cylinder heads.
[0009] In order to solve the above technical problems, the present invention provides a 3D positioning grasping method based on a 2D camera, which is used for a robot to grasp a workpiece with holes or irregularly shaped surfaces, comprising:
[0010] According to the reference plane of the preset height, the 2D camera is used for visual positioning to obtain the plane position after the robot visual positioning;
[0011] Selecting the current workpiece as the initial template, based on the robot visual positioning rear plane position, selecting three groups of non-collinear dot arrays as first measurement base points on the surface of the current workpiece through a high-precision ranging sensor, and establishing a workpiece coordinate system based on the multiple first measurement base points;
[0012] When a new workpiece arrives, a 2D camera is used to obtain the workpiece plane position of the new workpiece, and based on the workpiece plane position, three groups of non-collinear dot arrays are selected as second measurement base points on the surface of the new workpiece by a high-precision distance measurement sensor, and a new coordinate system is established based on the multiple second measurement base points;
[0013] Based on the robot spatial coordinate point in the workpiece coordinate system, the new coordinate system is assigned to the workpiece coordinate system to match the robot posture in the new coordinate system.
[0014] In one embodiment of the present invention, according to a reference plane of a preset height, a 2D camera is used for visual positioning to obtain the plane position after the robot is visually positioned, including:
[0015] After the current workpiece is in place, a rough positioning is performed using a 2D camera;
[0016] The robot moves to a height position point suitable for the laser ranging sensor to measure the distance according to the rough positioning position, so as to avoid the ranging laser directly entering the hole or curved surface of the current workpiece;
[0017] Acquire multiple height measurement point data around the height position point by using a laser ranging sensor, remove the highest value and the lowest value of the multiple height measurement point data, thereby eliminating abnormal or interfering data, calculate the height average value of the remaining height measurement point data, compare and calculate the height average value with a reference plane of a preset height, and then move to the reference plane of the preset height;
[0018] The 2D camera is used to perform secondary visual precision positioning to obtain the plane position of the robot after visual positioning.
[0019] In one embodiment of the present invention, a plurality of first measurement base points are selected on the surface of the current workpiece, and a workpiece coordinate system is established based on the plurality of first measurement base points, including:
[0020] Use a laser ranging sensor to obtain three first measurement base points: point p1 (x1, y1, z1), point p2 (x2, y2, z2), and point p3 (x3, y3, z3);
[0021] When points p1, p2, and p3 are not collinear, construct a straight line L1 passing through points p1 and p2 and a straight line L2 passing through point p3 and perpendicular to straight line L1. Straight line L2 passes through the origin of coordinates P4 (x4, y4, z4).
[0022] Based on points p1, p2, and p3, the coordinate position and posture of point p4 are obtained and stored in the workpiece coordinate system.
[0023] In one embodiment of the present invention, based on point p1, point p2, and point p3, the coordinate position and posture of point p4 are obtained, including:
[0024] According to the relationship between the straight line and the perpendicular vector, we get:
[0025] ;
[0026] According to the vector dot multiplication formula, we get:
[0027] (x2-x1)(x4-x3)+(y2-y1)(y4-y3)+(z2-z1)(z4-z3);
[0028] Let a=x1-x2, b=y1-y2, c=z1-z2;
[0029] According to the matrix equation:
[0030] , get the coordinate position of point P4;
[0031] According to the coordinates of points p1 and p4, we get the unit vector ox, and according to the coordinates of points p3 and p4, we get the unit vector oy;
[0032] Multiply the unit vector ox by the unit vector oy to get the unit vector oz;
[0033] Convert the rotation matrix [ox,oy,oz]T into Euler angles to get the posture of point P4;
[0034] The coordinate position and posture of point p4 are stored in the workpiece coordinate system.
[0035] In one embodiment of the present invention, assigning the new coordinate system to the workpiece coordinate system to match the robot posture in the new coordinate system includes:
[0036] The X, Y, and Z coordinate values of the workpiece coordinate system are assigned to the new coordinate system, so that the workpiece coordinate system and the new coordinate system remain consistent except for the posture Euler angle data.
[0037] In one embodiment of the present invention, after the step of matching the robot posture in the new coordinate system, the method further includes:
[0038] Use a 2D camera to perform an initial visual positioning, use a laser ranging sensor to re-determine the 2D camera shooting height, and then perform a final secondary positioning.
[0039] In one embodiment of the present invention, it also includes:
[0040] After the workpiece is in place, a contour image of the workpiece is acquired by a 2D camera to identify the type of the workpiece, wherein the workpiece includes a cylinder body or a cylinder head located on a pallet.
[0041] The present invention also provides a 3D positioning and grasping system based on a 2D camera, comprising:
[0042] Mechanical actuator, used to grab the workpiece;
[0043] Vision systems, including 2D cameras;
[0044] A laser distance measuring sensor is installed on the mechanical actuator end;
[0045] A controller is electrically connected to the 2D camera and the laser ranging sensor, and the controller is configured as the 3D positioning and grasping method based on the 2D camera.
[0046] In one embodiment of the present invention, the workpiece includes a cylinder body or a cylinder head located on a pallet, and the mechanical actuator includes two relatively telescopic clamping arms, each of which is equipped with a positioning pin or a positioning block suitable for clamping and positioning with the cylinder body or the cylinder head.
[0047] In one embodiment of the present invention, a detection device installed on the mechanical execution end is also included, and the detection device is used to detect whether there is a cylinder body or a cylinder cover on the pallet.
[0048] The above technical solution of the present invention has the following advantages compared with the prior art:
[0049] The 3D positioning grasping method and system based on a 2D camera described in the present invention improves the accuracy and reliability of the grasping process by combining 2D vision and ranging sensors; compared with using expensive 3D cameras, the present invention has lower costs; it can adapt to workpieces with various irregular surfaces and complex shapes, with an accuracy of up to ±0.5mm, thereby improving the application range of the robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments of the present invention in conjunction with the accompanying drawings.
[0051] Figure 1It is a flow chart of the 3D positioning and grasping method based on a 2D camera.
[0052] Figure 2 It is a schematic diagram of the structure of the cylinder workpiece.
[0053] Figure 3 It is a schematic diagram of establishing the workpiece coordinate system.
[0054] Figure 4 This is a schematic diagram of the different coordinate systems generated twice.
[0055] Figure 5 This is a diagram of the posture after the coordinate system is switched at the same teaching position. Figure 1 .
[0056] Figure 6 This is a diagram of the posture after the coordinate system is switched at the same teaching position. Figure 2 .
[0057] Figure 7 is a schematic diagram of the structure of the cylinder head gripping system.
[0058] Figure 8 is a schematic diagram of the structure for the cylinder gripping system. DETAILED DESCRIPTION
[0059] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0060] In the present invention, if directions (up, down, left, right, front and back) are described, it is only for the convenience of describing the technical solution of the present invention, and does not indicate or imply that the technical features referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, it cannot be understood as a limitation of the present invention.
[0061] In the present invention, "several" means one or more, "multiple" means more than two, "greater than", "less than", "exceed" and the like are understood to exclude the number itself; "above", "below", "within" and the like are understood to include the number itself. In the description of the present invention, if there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0062] In the present invention, unless otherwise clearly defined, the words "set", "install", "connect" and the like should be understood in a broad sense, for example, they can be directly connected or indirectly connected through an intermediate medium; they can be fixedly connected or detachably connected or integrally formed; they can be mechanically connected or electrically connected or able to communicate with each other; they can be the internal connection of two elements or the interaction relationship between two elements. Those skilled in the art can reasonably determine the specific meanings of the above words in the present invention in combination with the specific content of the technical solution.
[0063] Example 1
[0064] Reference Figure 1 As shown, a 3D positioning grasping method based on a 2D camera is used for a robot to grasp a workpiece with holes or irregularly shaped surfaces. Figure 2 As shown, taking the cylinder block or cylinder head as an example, it includes:
[0065] S1. Based on the reference plane at the preset height, use the 2D camera for visual positioning to obtain the plane position after the robot visual positioning. Specifically include:
[0066] After the current workpiece is in place, a rough positioning is performed using a 2D camera;
[0067] The robot moves to a height position point suitable for the laser ranging sensor to measure the distance according to the rough positioning position, so as to avoid the ranging laser directly entering the hole or curved surface of the current workpiece;
[0068] Acquire multiple height measurement point data around the height position point by using a laser ranging sensor, remove the highest value and the lowest value of the multiple height measurement point data, thereby eliminating abnormal or interfering data, calculate the height average value of the remaining height measurement point data, compare and calculate the height average value with a reference plane of a preset height, and then move to the reference plane of the preset height;
[0069] The 2D camera is used to perform secondary visual positioning, and the plane position after visual positioning is ensured to be consistent with the reference plane position as much as possible, so as to obtain the plane position of the robot after visual positioning.
[0070] S2. Select the current workpiece as the initial template, based on the plane position after the robot visual positioning, select three groups of non-collinear dot arrays as the first measurement base points on the surface of the current workpiece through a high-precision ranging sensor, and establish the workpiece coordinate system wobj_init based on the multiple first measurement base points.
[0071] It should be understood that before correcting the posture to grasp the workpiece, it is necessary to arbitrarily select a workpiece (as the current workpiece) to generate the workpiece coordinate system wobj_init.
[0072] Since there are many holes or irregularities on the surface of the cylinder block / cylinder head, it is impossible to ensure that the line between the three points is vertical. Therefore, it is only necessary to ensure that three groups of non-collinear dot matrixes are selected. Each group of dot matrix selects 30 laser ranging measurement points to obtain the data in the vertical height Z direction, and calculates the average value after removing the interference data in the laser ranging measurement point data to ensure the reliability of the data. The X and Y data are provided by the actual spatial position coordinates of the robot. Reference Figure 3 As shown. Get point p1 (x1, y1, z1), point p2 (x2, y2, z2), point p3 (x3, y3, z3) in sequence; need to find the position of the coordinate origin P4.
[0073] From the two-point equation of the space straight line equation, the straight line L1 passing through point p1 (x1, y1, z1) and point p2 (x2, y2, z2) can be expressed as:
[0074] ;
[0075] The straight line L1 where points p1 and p2 are located is perpendicular to the straight line L2 where points p3 and p4 are located. This is derived from the relationship between the perpendicular vectors of the straight lines:
[0076] ;
[0077] According to the vector dot multiplication formula, the coordinates of point p1, point p2, and point p3 are obtained:
[0078] (x2-x1)(x4-x3)+(y2-y1)(y4-y3)+(z2-z1)(z4-z3);
[0079] Simplified to a=x1-x2, b=y1-y2, c=z1-z2.
[0080] According to the matrix equation:
[0081] , get the coordinate position of point P4.
[0082] According to the coordinates of the origin p4, we can get the vector p4p1, and get ox after normalization. We can get the vector p4p3, and get oy after normalization. The unit vector calculation formula is , vector oz is equal to the unit vector ox cross-multiplied by the unit vector oy, and the rotation matrix [ox,oy,oz]T is converted into Euler angles to obtain the posture of point P4. The position and posture of point P4 are stored in the workpiece coordinate system wobj_init.
[0083] S3. When a new workpiece arrives, use a 2D camera to obtain the workpiece plane position of the new workpiece. Based on the workpiece plane position, select three groups of non-collinear dot matrixes on the surface of the new workpiece through a high-precision distance measurement sensor as the second measurement base points. Each group of dot matrix selects 30 laser distance measurement points as the second measurement base points, and calculates the average value after removing the noise in the laser distance measurement point data to ensure the reliability of the data. Based on the multiple second measurement base points, establish a new coordinate system Wobj_New. Reference Figure 4 shown.
[0084] For a new workpiece, the robot's spatial coordinate point under wobj_init is pFrameInit_X1. The plane position of the workpiece is obtained by the method of step S1, and then a new coordinate system Wobj_New is generated by the method of step S2.
[0085] S4, based on the robot spatial coordinate point in the workpiece coordinate system, assign the new coordinate system to the workpiece coordinate system to match the robot posture in the new coordinate system to complete the posture correction. Figure 5 ,and Figure 6 shown.
[0086] It can be understood that the above operation assigns the X, Y, and Z coordinate values of the workpiece coordinate system wobj_init to the new coordinate system Wobj_New, so that the two coordinate systems remain consistent except for the posture Euler angle data, to prevent the robot position from changing significantly when the subsequent posture changes significantly, and use the movement instruction to move to the teaching point pFrameInit_X1 under the workpiece coordinate system wobj_init, and switch the coordinate system to the new coordinate system Wobj_New. At this time, the robot posture will be transformed into the same as the new coordinate system wobj_new.
[0087] S5. After the posture is corrected, a 2D camera is used to perform an initial visual positioning, and a laser ranging sensor is used to re-determine the shooting height of the 2D camera before a final secondary positioning is performed.
[0088] S6. After positioning is completed, the workpiece is grabbed by the robot.
[0089] It can be understood that, an arbitrary workpiece (as the current workpiece) is selected as the initial template (initial reference), and the workpiece generates the coordinate system Wobj_Init. For the default reference generation coordinate system wobj_init, only steps S1 and S2 are executed, and there is no need to actually grab the target workpiece.
[0090] For the workpiece that actually needs to be grasped (new workpiece), it is no longer necessary to generate the workpiece coordinate system wobj_init, but it is necessary to generate a new coordinate system wobj_new, and it is necessary to execute steps S1, S3, S4, S5, and S6 to grasp the target workpiece. When generating the workpiece coordinate system wobj_init, it is necessary to manually adjust the robot posture in step S1 so that the workpiece can be grasped, but it is not necessary when generating the new coordinate system wobj_new, because the new coordinate system wobj_new is ultimately used to correct the robot posture.
[0091] Example 2
[0092] Reference Figure 7 , Figure 8 As shown, this embodiment provides a 3D positioning and grasping system based on a 2D camera, including:
[0093] Mechanical actuator, used to grab the workpiece;
[0094] A vision system including a 2D camera 200;
[0095] A laser distance measuring sensor 300 is installed at the mechanical actuator end;
[0096] A controller is electrically connected to the 2D camera 200 and the laser ranging sensor 300 , and the controller is configured as the 3D positioning and grasping method based on a 2D camera described in Example 1.
[0097] In addition, after the workpiece is in place, the contour image of the workpiece can be acquired by the 2D camera 200 to identify the type of the workpiece. The controller adopts the existing industrial robot controller.
[0098] Specifically, the workpiece includes a cylinder body or a cylinder head located on a pallet, and the mechanical execution end includes two relatively telescopic clamping arms 100, which are driven by a cylinder. A gripper magnetic switch sensor is provided on the clamping arm 100, and each of the clamping arms 100 is installed with a positioning pin 400 or a positioning block 500 suitable for clamping and positioning with the cylinder body or the cylinder head.
[0099] Specifically, it also includes a detection device installed on the mechanical execution end, and the detection device is used to detect whether there is a cylinder body or a cylinder cover on the pallet. This embodiment uses a detection camera 600 integrated in a visual system, and a photoelectric sensor or the like can also be used.
[0100] It can be understood that the robot is responsible for action execution, the visual system is responsible for identifying the type and presence of the cylinder head / cylinder body and 2D positioning, the laser ranging sensor 300 is used as the data source for data collection, the robot controller performs coordinate system calculation and conversion to ultimately achieve posture change, and the gripper magnetic switch sensor is responsible for hardware detection of the accuracy of positioning and grasping.
[0101] The visual system will initially take photos at a height of 2 meters to collect the contour range of the cylinder body / cylinder head. When a new cylinder body / cylinder head arrives, it will be matched with the previous template. There will be 2 position judgments for the cylinder body pallet and 5 position judgments for the cylinder head pallet. After the visual data is processed and judged, it is transmitted to the controller and the controller determines the position to be grasped. The mechanical execution end moves downward along the direction of the workpiece to the workpiece grasping position (such as the pin hole). After being clamped by the cylinder, the gripper magnetic switch sensor detects normal, and the grasping is completed.
[0102] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0103] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0104] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0105] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0106] Finally, it should be noted that the above specific implementation methods are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to examples, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.
Claims
1. A 3D positioning grasping method based on a 2D camera, used for a robot to grasp a workpiece with holes or irregularly shaped surfaces, characterized in that: include: According to the reference plane of the preset height, the 2D camera is used for visual positioning to obtain the plane position after the robot visual positioning; Selecting the current workpiece as the initial template, based on the plane position after the robot visual positioning, selecting three groups of non-collinear dot arrays as first measurement base points on the surface of the current workpiece through a high-precision ranging sensor, and establishing a workpiece coordinate system based on multiple first measurement base points; When a new workpiece arrives, a 2D camera is used to obtain the workpiece plane position of the new workpiece, and based on the workpiece plane position, three groups of non-collinear dot arrays are selected as second measurement base points on the surface of the new workpiece by a high-precision distance measurement sensor, and a new coordinate system is established based on the multiple second measurement base points; Based on the robot spatial coordinate point in the workpiece coordinate system, assigning the new coordinate system to the workpiece coordinate system to match the robot posture in the new coordinate system; Selecting three groups of non-collinear dot arrays as first measurement base points on the surface of the current workpiece by a high-precision distance measuring sensor, and establishing a workpiece coordinate system based on the multiple first measurement base points, including: Use a laser ranging sensor to obtain three first measurement base points: point p1 (x1, y1, z1), point p2 (x2, y2, z2), and point p3 (x3, y3, z3); When points p1, p2, and p3 are not collinear, construct a straight line L1 passing through points p1 and p2 and a straight line L2 passing through point p3 and perpendicular to straight line L1. Straight line L2 passes through the origin of coordinates P4 (x4, y4, z4). Based on points p1, p2, and p3, the coordinate position and posture of point p4 are obtained and stored in the workpiece coordinate system; Based on points p1, p2, and p3, the coordinate position and posture of point p4 are obtained, including: According to the relationship between the straight line and the perpendicular vector, we get: ; According to the vector dot multiplication formula, we get: ; Let a=x1-x2, b=y1-y2, c=z1-z2; According to the matrix equation: , get the coordinate position of point P4; According to the coordinates of points p1 and p4, we get the unit vector ox, and according to the coordinates of points p3 and p4, we get the unit vector oy; Multiply the unit vector ox by the unit vector oy to get the unit vector oz; Convert the rotation matrix [ox,oy,oz]T into Euler angles to get the posture of point P4; Store the coordinate position and posture of point p4 in the workpiece coordinate system; Based on the reference plane at the preset height, the 2D camera is used for visual positioning to obtain the plane position after the robot visual positioning, including: After the current workpiece is in place, a rough positioning is performed using a 2D camera; The robot moves to a height position point suitable for the laser ranging sensor to measure the distance according to the rough positioning position, so as to avoid the ranging laser directly entering the hole or curved surface of the current workpiece; Acquire multiple height measurement point data around the height position point by using a laser ranging sensor, remove the highest value and the lowest value of the multiple height measurement point data, thereby eliminating abnormal or interfering data, calculate the height average value of the remaining height measurement point data, compare and calculate the height average value with a reference plane of a preset height, and then move to the reference plane of the preset height; Perform secondary visual precision positioning through a 2D camera to obtain the robot's plane position after visual positioning; Assigning the new coordinate system to the workpiece coordinate system to match the robot posture to the new coordinate system includes: Assign the X, Y, and Z coordinate values of the workpiece coordinate system to the new coordinate system, so that the workpiece coordinate system and the new coordinate system are consistent except for the posture Euler angle data; After the step of matching the robot posture to the new coordinate system, the method further includes: Use a 2D camera to perform an initial visual positioning, and use a laser ranging sensor to re-confirm After determining the shooting height of the 2D camera, perform the final secondary positioning; After the workpiece is in place, a contour image of the workpiece is acquired by a 2D camera to identify the type of the workpiece, wherein the workpiece includes a cylinder body or a cylinder head located on a pallet.
2. A 3D positioning and grasping system based on a 2D camera, characterized in that: Included on the robot: Mechanical actuator, used to grab the workpiece; Vision systems, including 2D cameras; A laser distance measuring sensor is installed on the mechanical actuator end; A controller is electrically connected to the 2D camera and the laser ranging sensor, and the controller is configured to implement the 3D positioning and grasping method based on a 2D camera according to claim 1.
3. The 3D positioning and grasping system based on a 2D camera according to claim 2, characterized in that: The mechanical actuator end comprises two relatively telescopic clamping arms, each of which is provided with a positioning pin or a positioning block suitable for clamping and positioning with the cylinder body or the cylinder cover.
4. The 3D positioning and grasping system based on a 2D camera according to claim 3, characterized in that: It also includes a detection device installed on the mechanical execution end, and the detection device is used to detect whether there is a cylinder body or a cylinder cover on the pallet.
Citation Information
Patent Citations
Robot positioning grabbing method and system based on laser visual guidance
CN108177143A
2D (two-dimensional) laser positioning method of door and window on train body of train
CN110625614A
Three-dimensional space point positioning method based on range finder and machine vision
CN112070133A
Space annular weld teaching and weld tracking method, system and equipment
CN113798634A
Workpiece coordinate system calibration method, device and system
CN114485385A
