A grabbing method for unloading robots based on 2D and 3D visual positioning

By combining 2D and 3D vision technology to obtain the position and attitude information of the container, it solves the problem that a single sensor cannot accurately obtain the depth and attitude of the container, and improves the efficiency and reliability of automated container unloading.

CN115582827BActive Publication Date: 2024-09-13DALIAN UNIV OF TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202211287436.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-20
Publication Date
2024-09-13
Estimated Expiration
2042-10-20

AI Technical Summary

Technical Problem

In the existing technology, during the container unloading process, a single sensor cannot accurately obtain the depth information and attitude information of the container, resulting in low efficiency and reliability of automated unloading, especially when the containers are messy and small in size.

Method used

Using positioning methods based on 2D and 3D vision, by pre-stored template point cloud information and two-dimensional images of the container, combined with the deep learning instance segmentation algorithm, the position and attitude information of the container is obtained, and the grabbing information of the robot is generated. , using the 2D/3D vision system to guide the autonomous traveling unloading device for accurate grabbing.

Benefits of technology

It improves the reliability and work efficiency of automated container unloading, overcomes the problems of low measurement accuracy of a single sensor and inaccurate point cloud segmentation, and is suitable for automated unloading of complexly placed and irregular containers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115582827B
    Figure CN115582827B
Patent Text Reader

Abstract

The present invention provides a method for grabbing cargo by a cargo unloading robot based on 2D and 3D visual positioning, including pre-storing template point cloud information of cargo boxes and two-dimensional image information of each surface of cargo boxes; obtaining 3D point cloud data of stacking, and determining 3D point cloud position information of stacking in a container in a robot coordinate system according to the 3D point cloud data and the control angle of the pan / tilt; obtaining a 2D image of the stacking surface, and determining the pixel position and type of cargo boxes in the 2D image using a deep learning instance segmentation algorithm; selecting corresponding point cloud data in the 3D point cloud according to the pixel position of the cargo box in the 2D image, combining the type of cargo box and the template point cloud of the cargo box, determining the posture information and position information of the cargo box through point cloud registration, and generating grabbing information for a manipulator to grab the cargo box. The present invention solves the problem that ordinary plane cameras and 3D cameras have small viewing angles and 3D point clouds have poor effects in segmenting messy and tight cargo boxes, and improves the reliability of automated container unloading.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automation equipment, and in particular to a grasping method of an unloading robot based on 2D and 3D visual positioning. Background Art

[0002] At present, when unloading large quantities of containers, there are many types of cargo boxes, the placement of cargo boxes is relatively complex, and the size of containers is limited, so manual unloading is time-consuming and labor-intensive. Using automated manipulators to grab container cargo boxes improves work efficiency and reduces the probability of errors. Visual guidance is gradually applied to manipulators grabbing cargo boxes, further improving the reliability and efficiency of container unloading. 2D vision is used to obtain the image information of the target cargo box, combined with 3D point cloud data, and then the manipulator grabs the container cargo box.

[0003] The automated unloading equipment for cold chain containers relies solely on a single sensor, such as 2D vision, laser ranging, and binocular stereo cameras. Single 2D vision cannot obtain the depth information of the cargo box, and single laser ranging has the problem that the cargo box is placed in the wrong position and is easily misaligned, resulting in the loss of cargo box position information. A single binocular stereo camera can obtain the 2D / 3D position information of the cargo box by just shooting once, but its measurement accuracy is inversely proportional to the square of the working distance. Binocular stereo vision has high requirements for the shooting position. Once the rotation factor is introduced, the measurement accuracy drops significantly. A single sensor cannot accurately obtain the posture information of the cargo box, and cannot change the grasping plan in real time according to the posture information of the cargo box. The use of 2D / 3D vision-guided manipulators for automated unloading can not only improve work efficiency, but also reduce the probability of errors. Summary of the invention

[0004] According to the technical problems raised above, a method for unloading robot grasping based on 2D and 3D visual positioning is provided. The present invention mainly uses a 2D / 3D visual system to guide an autonomous moving container cargo box automatic grasping and unloading device to unload cargo, and obtains the position and posture information of the cargo box according to the pixel position of the cargo box in the 2D image and the type and shape of the cargo box in combination with 3D point cloud data. The shortcomings of ordinary 2D cameras and 3D cameras with small viewing angles and the poor effect of 3D point cloud segmentation of messy and tight cargo boxes are solved, and the reliability and work efficiency of automated container unloading are improved.

[0005] The technical means adopted by the present invention are as follows:

[0006] A method for grabbing a cargo unloading robot based on 2D and 3D visual positioning, comprising:

[0007] Pre-store the template point cloud information of the cargo box and the two-dimensional image information of each surface of the cargo box;

[0008] Obtain the 3D point cloud data of the stack, and determine the 3D point cloud position information of the stack in the container in the robot coordinate system based on the 3D point cloud data and the control angle of the pan / tilt;

[0009] Obtain a 2D image of the stacking surface and use a deep learning instance segmentation algorithm to determine the pixel location and type of the container in the 2D image.

[0010] According to the pixel position of the cargo box in the 2D image, the corresponding point cloud data is selected in the 3D point cloud, and the cargo box type and the cargo box template point cloud are combined to determine the cargo box posture information and position information through point cloud registration;

[0011] According to the determined cargo box posture information and position information, the grabbing information of the manipulator grabbing the cargo box is generated.

[0012] Furthermore, the pre-stored template point cloud information of the cargo box and the two-dimensional plane information of each surface of the cargo box include:

[0013] Point cloud models are established for different cargo boxes, and two-dimensional visual photography is performed on the six sides of the cargo box to obtain two-dimensional information of the six sides.

[0014] Furthermore, the acquiring of the 3D point cloud data of the stack and determining the 3D point cloud position information of the stack in the container in the robot coordinate system according to the 3D point cloud data and the control angle of the pan / tilt table include:

[0015] Each time the robot grabs a box, it releases the box. While releasing the box, it uses the position information of the moving joints of the robot arm and the moving parts of the pan / tilt head, and combines 3D and 2D vision to generate the grabbing information for the next time the robot grabs the box.

[0016] Furthermore, the obtaining of a 2D image of the stacking surface in the container and determining the pixel position and type of the container in the 2D image using a deep learning instance segmentation algorithm include:

[0017] The deep learning algorithm is used to identify the cargo boxes, and the identified pixels are processed in the 2D image. The pixels belonging to the cargo boxes are set to 1, and the pixels that do not belong to the cargo boxes are set to 0. A binary image of the cargo box is generated, and the types of cargo boxes are stored.

[0018] Furthermore, the method of selecting corresponding point cloud data in the 3D point cloud according to the pixel position of the cargo box in the 2D image, combining the cargo box type and the cargo box template point cloud, and determining the posture information and position information of the cargo box through point cloud registration includes:

[0019] Only for each specially marked pixel, using the correspondence between the pixel and the point cloud, find the spatial position of the pixel in 3D vision and obtain the three-dimensional data corresponding to the pixel point;

[0020] According to the cargo box type information, the corresponding cargo box template point cloud is searched in the stored cargo box template point cloud database;

[0021] The point cloud information of a single cargo box is matched with the template point cloud data of a single cargo box, and the matched point cloud information is used to calculate the posture information and position information of the single cargo box using the rotation and translation matrices generated during point cloud matching.

[0022] Furthermore, the step of generating the grabbing information of the manipulator grabbing the cargo box according to the determined cargo box posture information and position information includes:

[0023] Compare the position information of the cargo box with the position information of the adjacent cargo box in the Y direction, and remove the rear cargo box part that cannot be grasped by the robot arm;

[0024] Compare the location information of the cargo box with the location information of the adjacent cargo boxes in the Z direction, and only retain the location information of the top cargo box;

[0025] Compare the location information of the cargo box with the location information of the adjacent cargo boxes in the X direction, and sort the location information of the cargo boxes from left to right;

[0026] Determine the cargo box that needs to be grasped, and use the posture and position information of the cargo box to generate the grasping information of the robotic arm.

[0027] The present invention also provides a visual guidance system for an autonomous moving container cargo box automatic grabbing and unloading device, which is applied to the above-mentioned unloading robot grabbing method based on 2D and 3D visual positioning to realize grabbing of the cargo box, including: a visual camera module, a pan-tilt control module, a grabbing and unloading module, a suction cup module, and a robot mobile platform; the visual camera module, the pan-tilt control module, the grabbing and unloading module, and the suction cup module are all fixed on the robot mobile platform, and the robot mobile platform is responsible for the forward and backward movement of the robot.

[0028] Furthermore, the visual camera module is fixed on the gimbal control module, which is equipped with a 3D visual camera and a 2D visual camera, wherein the Y axis is perpendicular to the camera surface and points to the stack; the Z axis is parallel to the camera surface and vertically upward; the X axis is perpendicular to the Y axis and the Z axis and points to the right side of the positive direction of the Y axis.

[0029] Furthermore, the pan / tilt control module is connected to the side of the grabbing and unloading module via a connecting bracket.

[0030] Furthermore, the grabbing and unloading module moves in translation on the robot mobile platform, and the grabbing and unloading module itself can rotate 90 degrees; after the grabbing and unloading module moves to the position of the cargo box to be captured, the suction cup module sucks the cargo box.

[0031] Compared with the prior art, the present invention has the following advantages:

[0032] 1. The unloading robot grasping method based on 2D and 3D visual positioning provided by the present invention makes full use of image pixel information and combines it with the point cloud information of the container to guide the robot arm to grasp accurately when the container boxes are placed in a messy manner, the container size is small, and the overall height of the container exceeds the range of the image acquisition device. It not only overcomes the disadvantage of the plane image without depth information, but also overcomes the problem of inaccurate stacking segmentation by point cloud segmentation. It is suitable for grasping known container boxes and improves the unloading efficiency and stability of the container.

[0033] 2. The unloading robot grasping method based on 2D and 3D visual positioning provided by the present invention uses a deep learning instance segmentation algorithm to accurately classify the image pixels of the cargo box, which can make full use of the plane information and point cloud information of the pixels where the cargo box is located, avoids the single grasping method, and improves the adaptability to irregularly placed boxes.

[0034] Based on the above reasons, the present invention can be widely promoted in the fields of automation equipment and the like. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0036] Figure 1 This is a flow chart of the container unloading device guidance system of the unloading robot grasping method based on 2D and 3D visual positioning of the present invention.

[0037] Figure 2 A schematic diagram of a container unloading device provided in an embodiment of the present invention.

[0038] Figure 3 A diagram of a container grabbing sequence provided by an embodiment of the present invention.

[0039] Figure 4 This is a diagram of irregular placement of containers provided by an embodiment of the present invention.

[0040] In the figure: 1. Visual camera module; 2. Grasping and unloading module; 3. Pan-tilt control module; 4. Robot mobile platform; 5. Connecting bracket; 6. Suction cup module. DETAILED DESCRIPTION

[0041] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0042] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. 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.

[0043] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0044] Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values ​​of the parts and steps described in these embodiments do not limit the scope of the present invention. At the same time, it should be clear that, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to the actual proportional relationship. The technology, method and equipment known to those of ordinary skill in the relevant field may not be discussed in detail, but in appropriate cases, the technology, method and equipment should be regarded as a part of the specification. In all examples shown and discussed here, any specific value should be interpreted as being merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once a certain item is defined in an accompanying drawing, it does not need to be further discussed in subsequent drawings.

[0045] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by directional words such as "front, back, up, down, left, right", "lateral, vertical, perpendicular, horizontal" and "top, bottom" are usually based on the directions or positional relationships shown in the drawings. They are only for the convenience of describing the present invention and simplifying the description. Unless otherwise specified, these directional words do not indicate or imply that the device or element referred to must have a specific direction or be constructed and operated in a specific direction. Therefore, they cannot be understood as limiting the scope of protection of the present invention: the directional words "inside and outside" refer to the inside and outside relative to the contours of each component itself.

[0046] For ease of description, spatially relative terms such as "above", "above", "on the upper surface of", "above", etc. may be used here to describe the spatial positional relationship between a device or feature and other devices or features as shown in the figure. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figure. For example, if the device in the accompanying drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "below their position devices or structures". Thus, the exemplary term "above" can include both "above" and "below". The device can also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatially relative descriptions used here are interpreted accordingly.

[0047] In addition, it should be noted that the use of terms such as "first" and "second" to limit components is only for the convenience of distinguishing the corresponding components. If not otherwise stated, the above terms have no special meaning and therefore cannot be understood as limiting the scope of protection of the present invention.

[0048] like Figure 1 As shown, the present invention provides a grabbing method of an unloading robot based on 2D and 3D visual positioning, comprising:

[0049] Step S1, pre-storing the template point cloud information of the cargo box and the two-dimensional image information of each surface of the cargo box;

[0050] Step S2, obtaining 3D point cloud data of the stack, and determining the 3D point cloud position information of the stack in the container in the robot coordinate system according to the 3D point cloud data and the control angle of the pan / tilt;

[0051] Step S3, obtaining a 2D image of the stacking surface, and using a deep learning instance segmentation algorithm to determine the pixel position of the cargo box in the 2D image and the type of the cargo box;

[0052] Step S4: According to the pixel position of the cargo box in the 2D image, the corresponding point cloud data is selected in the 3D point cloud, and the cargo box type and the cargo box template point cloud are combined to determine the cargo box posture information and position information through point cloud registration;

[0053] Step S5: Generate grabbing information for the manipulator to grab the cargo box according to the determined cargo box posture information and position information.

[0054] In specific implementation, as a preferred embodiment of the present invention, step S1 includes:

[0055] Point cloud models are established for different cargo boxes, and two-dimensional visual photography is performed on the six sides of the cargo box to obtain two-dimensional information of the six sides.

[0056] In specific implementation, as a preferred embodiment of the present invention, step S2 includes:

[0057] Each time the robot grabs a box, it releases the box. While releasing the box, it uses the position information of the moving joints of the robot arm and the moving parts of the pan / tilt head, and combines 3D and 2D vision to generate the grabbing information for the next time the robot grabs the box.

[0058] In specific implementation, as a preferred embodiment of the present invention, step S3 includes:

[0059] The deep learning algorithm is used to identify the cargo boxes, and the identified pixels are processed in the 2D image. The pixels belonging to the cargo boxes are set to 1, and the pixels that do not belong to the cargo boxes are set to 0. A binary image of the cargo box is generated, and the types of cargo boxes are stored.

[0060] In specific implementation, as a preferred embodiment of the present invention, step S4 includes:

[0061] Step S41: For each specially marked pixel, using the correspondence between the pixel and the point cloud, find the spatial position of the pixel in the 3D vision and obtain the three-dimensional data corresponding to the pixel point;

[0062] Step S42: searching for a corresponding cargo box template point cloud in a stored cargo box template point cloud database according to the cargo box type information;

[0063] Step S43: Match the point cloud information of a single cargo box with the template point cloud data of a single cargo box, and use the matched point cloud information and the rotation and translation matrices generated during point cloud matching to calculate the posture information and position information of the single cargo box.

[0064] In specific implementation, as a preferred embodiment of the present invention, step S5 includes:

[0065] Step S51, comparing the position information of the cargo box with the position information of the adjacent cargo box in the Y direction, and removing the rear cargo box part that cannot be grasped by the robot arm;

[0066] Step S52, comparing the position information of the cargo box with the position information of the adjacent cargo boxes in the Z direction, and retaining only the position information of the top cargo box;

[0067] Step S53, comparing the location information of the cargo box with the location information of the adjacent cargo boxes in the X direction, and sorting the location information of the cargo boxes from left to right;

[0068] Step S54: determine the cargo box that needs to be grasped, and use the posture information and position information of the cargo box to generate the grasping information of the robot arm.

[0069] Example 1

[0070] like Figure 2 As shown, the visual guidance system of the autonomous moving container cargo box automatic grabbing and unloading device provided in this embodiment is composed of a visual camera module 1, a pan-tilt control module 3, a grabbing and unloading module 2, a suction cup module 6, and a robot mobile platform 4. The visual camera module 1 is fixed on the pan-tilt control module 3, and the pan-tilt control module 3 is connected to the side of the grabbing and unloading module 2 through a connecting bracket 5. The visual camera module is equipped with a 3D visual camera and a 2D visual camera. Among them, the Y axis is perpendicular to the camera surface and points to the stack. The Z axis is parallel to the camera surface and vertically upward. The X axis is perpendicular to the Y axis and the Z axis, pointing to the right side of the positive direction of the Y axis. The grabbing and unloading module 2 can move in translation on the robot mobile platform 4, and the grabbing and unloading module 2 itself can rotate 90 degrees. After the grabbing and unloading module 2 moves to the position of the cargo box to be captured, the suction cup module 6 sucks the cargo box. The visual camera module 1 and the pan-tilt control module 3 grabbing and unloading module 2, and the suction cup module 6 are all fixed on the robot mobile platform 4, and the robot mobile platform 4 is responsible for the forward and backward movement of the robot.

[0071] The visual camera module 1 is installed before the pan-tilt control module 3, and the camera calibration is performed using the existing visual calibration method, and this process is not repeated here. According to the rotation angle of the pan-tilt control module and the moving distance of the grabbing and unloading module 2, the camera coordinate system of the visual camera module 1 can be converted to the base coordinate system of the grabbing and unloading module 2. The camera coordinates coincide with the base coordinate system and are used to process two-dimensional images and three-dimensional point cloud data.

[0072] Using the known shape information of the cargo box and 3D modeling technology, the cargo box point cloud data modeling is carried out, and a database is built to store the point cloud information and 2D image information of all cargo boxes.

[0073] The robot mobile platform 4 moves to a suitable distance from the stack, and the visual camera module 1 illuminates the stack to obtain the two-dimensional image and three-dimensional point cloud data of the stack in the container. The three-dimensional point cloud in the camera coordinate system is converted to the base coordinate system. The height information and distance information of the cargo box to be grabbed are calculated.

[0074] This embodiment provides a grabbing method for a unloading robot based on 2D / 3D visual positioning. The method is applicable to the above-mentioned autonomous traveling container cargo box automatic grabbing and unloading device visual guidance system to grab and unload cargo boxes in the container. The unloading method includes:

[0075] Step 1: Use the known dimensions of the cargo box to model the three-dimensional point data and store the three-dimensional point cloud information and two-dimensional information of the cargo box.

[0076] Step 2: Move the visual camera module 1 toward the front of the robot and take a picture to obtain the three-dimensional point cloud data and two-dimensional image information of the stack in front of the mobile robot. According to the moving distance of the grabbing and unloading module 2 and the angle information of the pan-tilt control module 3, the three-dimensional point cloud coordinate system is converted to the base coordinate system.

[0077] Step 3: Based on the two-dimensional image information, the deep learning instance segmentation algorithm is used to determine the pixel position of the cargo box and obtain the type of the cargo box. In the three-dimensional point cloud data, the pixel positions of the cargo box that cannot be reached by the grabbing and unloading module 2 are removed according to the Y-direction distance. At this time, the pixel points marked in the two-dimensional image can be successfully reached by the grabbing and unloading module 2.

[0078] Step 4: In the qualified point cloud, use the two-dimensional information and the correspondence between pixel points and point cloud data to find the point cloud data of the cargo box at a high position. Specifically, according to the Z-direction height information in the point cloud information, find one of the highest cargo boxes as the highest point Z1, and use the known box type information to get the height value H of the box. Combined with the correspondence between the two-dimensional pixel information and the three-dimensional point cloud, find the point cloud data in the three-dimensional point cloud that is within the range of (Z1-H, Z1) and meets the box pixel points.

[0079] Step 5: Using the obtained cargo box type, according to the correspondence between the two-dimensional pixel points and the point cloud, find the point cloud of the marked pixel points in the two-dimensional image, and match the template point cloud with the obtained point cloud one by one.

[0080] Step 6: Sort the matched cargo box point cloud data from left to right in the order of grasping. Use the rotation and translation parameters generated when matching the point cloud data to determine the position and posture of each cargo box, and determine the grasping method of each cargo box in turn. Specifically, based on the cargo box position and posture information, starting from the left, determine the grasping method of the cargo box based on the position and posture information of the cargo box. For this mechanism, it is necessary to determine whether to use the upper suction cup grasping or the lower suction cup grasping.

[0081] Step 7: Generate a grabbing plan based on the grabbing method for each container. Figure 3 The figure shows the order diagram of container cargo box grabbing. Specifically, starting from the left, the position and posture information of adjacent cargo boxes are compared one by one. If the position and posture information of two cargo boxes are relatively similar, then the operation of grabbing several cargo boxes at the same time can be performed. The purpose of this grabbing planning is to grab cargo boxes with similar conditions together, reducing the number of grabbing times and thus shortening the operation time of the equipment.

[0082] Step 8: After grabbing and unloading the cargo box on the left side, move the grabbing and unloading module 2 to the right side of the container, obtain the stacking data, and repeat the operations from step 3 to step 6.

[0083] Step 9: After grabbing and unloading the right side of the container, move the grabbing and unloading module 2 to the left side of the container, and the grabbing and unloading of the first layer of containers is completed. Obtain the stacking data to determine whether there is a container. If so, repeat steps 3 to 9 to enter the next work cycle. If not, all containers are grabbed.

[0084] Example 2

[0085] like Figure 2 As shown, based on Example 1, the present invention further provides an automatic container unloading device, which is provided with a pan / tilt control module, a grab unloading module, a suction cup module, and a visual camera module. The depalletizing device is used to unload the container cargo box according to the container cargo box unloading method combining 2D and 3D vision as in the above-mentioned Example 1. This embodiment proposes a container cargo box unloading method combining 2D and 3D vision, which is suitable for the visual system to guide the automatic unloading device to unload the cargo box in the container, and the visual camera module includes a planar two-dimensional camera and a three-dimensional stereo camera.

[0086] Methods of unloading cargo containers, including:

[0087] Step 1: Pre-store the template point cloud information of the cargo box and the two-dimensional plane information of each surface of the cargo box.

[0088] Step 2: Use the pan-tilt moving device and the mechanical arm moving device to drive the stereo vision camera and the plane vision camera to obtain the 3D point cloud data of the stack, and determine the spatial position information of the entire container according to the 3D point cloud data and the control angle of the pan-tilt; Figure 4 The figure shown is one of the irregular placement diagrams of container cargo boxes.

[0089] Step 3: Use a planar camera to obtain a 2D image of the upper surface of the stack, and use a deep learning instance segmentation algorithm to determine the location of the cargo box in the 2D image and the type of cargo box;

[0090] Step 4: According to the position of the cargo box in the 2D image, the corresponding point cloud data is selected in the 3D point cloud. Combined with the cargo box type and the template point cloud, the cargo box posture information and position information are determined through point cloud registration to generate the grasping information of the robot arm grasping the cargo box.

[0091] The technical solution in this application overcomes the shortcomings of small viewing angles of ordinary cameras and 3D cameras, overcomes the problem of poor effect of 3D point cloud segmentation of messy and compact cargo in containers, and improves the reliability and work efficiency of automated container unloading.

[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for unloading robot grasping based on 2D and 3D visual positioning, characterized in that: The 2D / 3D vision system guides the autonomous container unloading device to unload cargo. Based on the pixel position of the cargo box in the 2D image and the type and shape of the cargo box, combined with 3D point cloud data, the position and posture information of the cargo box is obtained. Specifically, the following information is obtained: Pre-store the template point cloud information of the cargo box and the 2D image information of each surface of the cargo box, including: Build point cloud models for different cargo boxes, take 2D visual photos from the six sides of the cargo box, and obtain 2D information of the six sides respectively; Obtain the 3D point cloud data of the stack and determine the 3D point cloud position information of the stack in the container in the robot coordinate system based on the 3D point cloud data and the control angle of the pan / tilt head, including: Each time the robot grabs a box, it places it down. While doing so, it uses the position information of the robot arm's moving joints and the pan / tilt unit's moving parts, along with a combination of 3D and 2D vision, to generate the next grabbing information for the robot. Obtain a 2D image of the stacking surface and use a deep learning instance segmentation algorithm to determine the pixel location and type of container in the 2D image, including: Use deep learning algorithms to identify cargo boxes and process the identified pixels in the 2D image, setting pixels belonging to cargo boxes to 1 and pixels not belonging to cargo boxes to 0, generating a binary image of the stack and storing the types of cargo boxes; Based on the pixel position of the cargo box in the 2D image, the corresponding point cloud data is selected in the 3D point cloud. Combined with the cargo box type and the cargo box template point cloud, the cargo box posture information and position information are determined through point cloud registration, including: Only for each specially marked pixel, the corresponding relationship between the pixel and the point cloud is used to find the spatial position of the pixel in 3D vision and obtain the three-dimensional data corresponding to the pixel point; According to the cargo box type information, the corresponding cargo box template point cloud is found in the stored cargo box template point cloud database; Match the point cloud information of a single container with the template point cloud data of a single container, and use the rotation and translation matrices generated during point cloud matching to calculate the posture and position information of the single container. Based on the determined cargo box posture information and position information, the robot generates the grasping information for grasping the cargo box, including: Compare the position information of the cargo box with the position information of the adjacent cargo boxes in the Y direction to remove the rear cargo box part that cannot be grasped by the robot arm; Compare the location information of the container with the location information of the adjacent containers in the Z direction, and only retain the location information of the top container; Compare the location information of the cargo box with the location information of the adjacent cargo boxes in the X direction, and sort the cargo box location information from left to right; Determine the cargo box to be grasped, and use the posture and position information of the cargo box to generate the grasping information of the robotic arm; The visual guidance system of an autonomous traveling container automatic grabbing and unloading device for grabbing a cargo box is realized by applying the grabbing method of the unloading robot based on 2D and 3D visual positioning, comprising: a visual camera module (1), a pan-tilt control module (3), a grabbing and unloading module (2), a suction cup module (6), and a robot mobile platform (4); the visual camera module (1), the pan-tilt control module (3), the grabbing and unloading module (2), and the suction cup module (6) are all fixed on the robot mobile platform (4), and the robot mobile platform (4) is responsible for the forward and backward movement of the robot; The visual camera module (1) is fixed on the pan / tilt control module (3), and is equipped with a 3D visual camera and a 2D visual camera, wherein the Y axis is perpendicular to the camera surface and points to the stack; the Z axis is parallel to the camera surface and points vertically upward; and the X axis is perpendicular to the Y axis and the Z axis and points to the right of the positive direction of the Y axis; The pan / tilt control module (3) is connected to the side of the grabbing and unloading module (2) via a connecting bracket (5); The grabbing and unloading module (2) moves in translation on the robot mobile platform (4), and the grabbing and unloading module (2) itself can rotate 90 degrees; after the grabbing and unloading module (2) moves to the position of the cargo box to be captured, the suction cup module (6) sucks the cargo box.

Citation Information

Cited By

  • Automatic unloading and stacking method based on computer vision and robot control

    CN121374592A

  • Automated unloading and palletizing method based on computer vision and robot control

    CN121374592B