Method and system for correcting deviation of picking and placing goods by box-type handling robot, and storage medium

Through the symmetric migration pose calibration between coordinate systems and the planar outlier filtering scheme, the accuracy problems caused by the camera installation error and the deformation of the container during the picking and placing of goods by the box-type handling robot are solved, and the accuracy and reliability of picking and placing goods are improved. nature, promoting its application in the field of smart warehousing and logistics.

CN118628587BActive Publication Date: 2024-10-15SHANGHAI SEER INTELLIGENT TECHNOLOGY CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202411107295.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-10-15
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

During the process of picking and placing goods, the box-type handling robot has low recognition and positioning accuracy due to camera installation errors and deformation of the cargo box, which leads to failure in picking and placing goods and the occurrence of safety accidents.

Method used

By designing a scheme for symmetrical transfer pose calibration between coordinate systems, calibrating the camera external parameters, and using a planar outlier filtering scheme, the feature points on the side of the shipping box on the same plane are screened for pose calculation, eliminating Errors in picking and placing goods caused by camera installation errors and cargo box deformation.

Benefits of technology

It improves the accuracy and reliability of box-type robots in picking and placing goods, avoids box-type picking and placing failures caused by camera installation errors and box deformation, and promotes the application and promotion of box-type robots in the field of smart warehousing and logistics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628587B_ABST
    Figure CN118628587B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for correcting the deviation of picking and placing goods by a box-type handling robot, and a storage medium. The method steps include: adjusting the calibration plate coordinate system O and the hopper coordinate system W to be symmetrically arranged in parallel; calculating the conversion relationship #imgabs0# from O to the camera coordinate system C and inverting it, and then determining the conversion relationship #imgabs1# from C to W according to the translation component of W and O; randomly selecting more than half of the corner points from the identified corner points of the cargo box mark M to calculate the posture #imgabs2# from M to C, and the reprojection error #imgabs3# of each selected corner point to determine the threshold #imgabs4#; calculating the reprojection error of the remaining corner points, filtering out the inner points from all the corner points according to the threshold T, and repeating the iterative calculation until the number of inner points reaches the expected total proportion, so that the posture #imgabs5# with the largest number of inner points is used to determine the posture #imgabs6# of M under W. In this way, the problem of picking and placing deviation caused by camera installation error and box mark deformation is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an error correction technology for a handling robot, and in particular to a method and system for correcting deviations of picking and placing goods by a box-type handling robot, and a storage medium. Background Art

[0002] With the digitalization and intelligent development of the warehousing and logistics industry, autonomous mobile robots (AMRs) are widely used in material handling in warehousing environments to improve production efficiency and reduce production costs. In warehousing systems, using cargo boxes to load goods is a common application scenario. In the same warehousing application scenario, rigid cargo boxes of specific sizes are usually used as carriers to carry goods. Therefore, box handling robots for cargo box handling came into being.

[0003] When a box-type handling robot is carrying cargo boxes, the existing technology usually relies on the robot's own positioning function to guide the robot to the target site, and then takes the cargo box placed at the corresponding site into the body hopper, or places the cargo box in the body hopper on the corresponding shelf. However, in scenarios with manual collaboration in picking and placing goods, the position and angle of the box on the shelf will change, causing the robot to collide with the cargo box during the process of picking and placing goods, thereby causing mission failure, or even damage to the goods and causing a safety accident.

[0004] In response to the above problems, a Chinese patent (CN113213054A) discloses a method for picking up and placing goods based on image recognition identification codes. The method affixes corresponding identification codes on the cargo box and the rack, identifies the specific identification code through image processing technology to obtain the posture relationship between the cargo box and the robot hopper, and adjusts the path deviation, angle deviation and height deviation of the robot when picking up goods according to the identified posture. This method improves the accuracy of picking up and placing goods and increases safety to a certain extent.

[0005] However, in actual situations, due to the influence of factors such as the installation errors of the cameras on the box-handling robots and the deformation of the boxes during use, the accuracy of the box identification and positioning is often not high enough, and there may still be failures in picking and placing goods, leading to safety accidents. Summary of the invention

[0006] To this end, the main purpose of the present invention is to provide a method and system for correcting the deviation of picking and placing goods by a box-type handling robot, and a storage medium to solve the problems mentioned in the background technology.

[0007] In order to achieve the above object, according to one aspect of the present invention, a method for correcting the deviation of picking and placing goods by a box-type handling robot is provided, and the steps include:

[0008] Step S100: The calibration plate is set in the camera viewing area at the upper position of the hopper, and the calibration plate coordinate system O and the hopper coordinate system W are adjusted to be symmetrically arranged in parallel;

[0009] Step S200 calculates the conversion relationship from the calibration plate coordinate system O to the camera coordinate system C After inversion, the conversion relationship from C to W is determined based on the translation components of W and O. ;

[0010] Step S300 randomly selects more than half of the corner points from the identified corner points of the container mark M to calculate the pose from M to C ;according to Calculate the reprojection error for each selected corner point To determine the threshold ; Calculate the reprojection errors of the remaining corner points and filter out the inliers from all corner points according to the threshold T;

[0011] Step S400 repeats step S300 until the number of inliers reaches the expected total number or reaches any of the maximum number of iterations, and the pose with the most inliers is selected. As the cargo box identification posture, to determine the posture of M in the hopper coordinate system W .

[0012] In a possible preferred embodiment, the origin of the hopper coordinate system W is the hopper rotation center, the lifting direction of the hopper is the Z axis, and the X and Y axes of the hopper correspond to the hopper opening direction and the corresponding right-hand coordinate system respectively.

[0013] In a possible preferred embodiment, the camera is arranged below the hopper, and the camera viewing area faces the direction of the hopper opening.

[0014] In a possible preferred embodiment, the calibration plate is arranged in front of the hopper opening and is located in the camera viewing area, wherein the origin of the calibration plate is located on the axis of the hopper opening direction in the hopper coordinate system.

[0015] In a possible preferred implementation, the calibration plate is any one of a checkerboard calibration plate, a circular calibration plate, ChArUco, Apriltag grid, and DMcode.

[0016] In a possible preferred embodiment, the conversion relationship The calculation steps include:

[0017] Calculate the projection relationship from the calibration plate coordinate system O to the camera coordinate system C:

[0018]

[0019] in is the pixel coordinate system coordinate, is the coordinate in the calibration plate coordinate system, is the camera intrinsic parameter matrix, They are the rotation and translation transformation relationship from the calibration plate coordinate system to the camera coordinate system, is the scale of the space point in the camera coordinate system;

[0020] Solve the optimal :

[0021]

[0022] is the subscript of the corner points detected on the calibration plate, .

[0023] In a possible preferred embodiment, , the expected total number of internal points accounts for 80%.

[0024] In order to achieve the above-mentioned purpose, corresponding to the above-mentioned method example, according to another aspect of the present invention, a box-type handling robot picking and placing cargo deviation correction system is also provided, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the system implements the steps of the box-type handling robot picking and placing cargo deviation correction method as described in any of the above examples.

[0025] In order to achieve the above objectives, corresponding to the above method example, according to another aspect of the present invention, a box-type handling robot is further provided, which includes: a picking and placing device, a camera, and the box-type handling robot picking and placing deviation correction system as described above.

[0026] In order to achieve the above-mentioned purpose, corresponding to the above-mentioned method example, according to another aspect of the present invention, a computer-readable storage medium is further provided, and the computer-readable storage medium stores a computer program, wherein when the computer program is executed, the steps of the method for correcting the picking and placing deviation of the box-type handling robot as described in any of the above examples are implemented.

[0027] Through the box-type handling robot picking and placing deviation correction method and system, and storage medium provided by the present invention, a solution for symmetrical migration posture calibration between coordinate systems is cleverly designed to realize the calibration of the external parameters of the box-type robot camera, thereby eliminating the influence of the camera installation error on the robot's recognition and grasping. In addition, in order to avoid the picking and placing posture deviation caused by the box label recognition error caused by the deformation of the box, this solution also uses a plane outlier filtering solution to screen out feature points on the same plane as the side of the box body for posture calculation to eliminate the picking and placing error introduced by the box deformation, thereby avoiding the failure of picking and placing the box due to the camera installation error and the deformation of the box, thereby improving the overall accuracy and reliability of the box-type robot's picking and placing, and promoting the application and promotion of box robots in the field of smart warehousing and logistics. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings constituting a part of this application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0029] Figure 1 A schematic diagram of the steps of a method for correcting the deviation of picking and placing goods by a box-type handling robot according to the present invention;

[0030] Figure 2 It is a structural schematic diagram of an existing example box-type handling robot;

[0031] Figure 3 A schematic diagram of the hopper and camera settings of an existing box handling robot;

[0032] Figure 4 It is a schematic diagram of the relationship between the hopper coordinate system, the camera coordinate system, and the calibration plate coordinate system in the method for correcting the deviation of picking and placing goods by a box-type handling robot of the present invention;

[0033] Figure 5 A schematic diagram of the relationship between a cargo box and its identification in the method for correcting the deviation of picking and placing cargoes by a box-type transport robot of the present invention;

[0034] Figure 6 A schematic diagram of the relationship between outliers and inliers in the method for correcting the deviation of picking and placing goods by a box-type handling robot of the present invention;

[0035] Figure 7 It is a schematic diagram of the structure of the box-type handling robot picking and placing deviation correction system of the present invention.

[0036] Description of Reference Numerals

[0037] Camera 1, hopper 2, backpack 3, mobile chassis 4, telescopic mechanism 21, rotatable finger 22. DETAILED DESCRIPTION

[0038] In order to enable those skilled in the art to better understand the technical solution of the present invention, the specific technical solution of the present invention will be clearly and completely described in conjunction with the embodiments below to help those skilled in the art further understand the present invention. Obviously, the embodiments described in this case are only embodiments of a part of the present invention, not all of the embodiments. It should be pointed out that for those of ordinary skill in the art, the embodiments in this application and the features in the embodiments can be combined with each other without departing from the concept of the present invention and without conflicting with each other. Based on the embodiments in the present invention, all other embodiments obtained without creative work by those of ordinary skill in the art should belong to the disclosure and protection scope of the present invention.

[0039] In addition, the terms "first", "second", "S100", "S200", etc. in the specification, claims and drawings of the present invention are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the features used in this way can be interchanged where appropriate, so that the embodiments of the present invention described here can be implemented in an order other than those described here. At the same time, the stages recorded in each step are not mandatory to be implemented in the same step. It should be understood that the implementation order of the contents in each step stage can be adjusted and interchanged without violating the inventive concept, so that the step embodiments of the present invention described here can be implemented in an order other than those described here. In addition, the terms "including" and "having" and any of their variations in the present invention are intended to cover non-exclusive inclusions. Unless otherwise clearly specified and limited, the terms "set", "layout", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in this case can be understood according to specific circumstances and in combination with the prior art.

[0040] In order to solve the problem of cargo picking and placing deviation caused by camera 1 installation error and box mark deformation in the box handling robot, Figures 1 to 6 As shown, the present invention provides a method for correcting the deviation of picking and placing goods by a box-type transport robot, the steps of which include:

[0041] 1. Camera 1 external parameter calibration:

[0042] In step S100, the calibration plate is set in the camera 1 viewing area above the hopper 2, and the calibration plate coordinate system O and the hopper coordinate system W are adjusted to be symmetrically arranged in parallel.

[0043] Specifically, if Figure 2 As shown, the overall structure of the existing box-type transport robot is mainly divided into: a cargo picking and placing device and a camera 1, wherein the cargo picking and placing device mainly includes: a mobile chassis 4, a hopper 2, and a backpack 3. The mobile chassis 4 is responsible for the movement of the robot, the hopper 2 is responsible for picking and placing cargo, and the backpack 3 is responsible for temporary storage of cargo.

[0044] The hopper 2 of this type of robot has two degrees of freedom: lifting and rotating. During use, the mobile chassis 4 moves the robot to the designated site, controls the hopper 2 to rise and fall to the set identification height for picking up and placing goods on the shelf, and then rotates the hopper 2 so that the camera 1 faces the mark attached to the cargo box. By identifying the mark, the position relationship between the cargo box and the camera 1 is located, and then the height, rotation angle and offset of the hopper 2 are adjusted to pick up and place goods.

[0045] The schematic structure of the hopper 2 is as follows: Figure 3 As shown, a camera 1 is installed under the hopper 2 for identifying the cargo box mark Mark. There are telescopic mechanisms 21 and rotatable fingers 22 on both sides of the hopper 2, collectively referred to as "fingers" in this example. When picking up and releasing goods, the cargo box is driven in and out of the hopper 2 by the extension of the fingers. Usually, it is preferred to install the camera 1 in the middle position below the hopper 2, and make the optical axis of the camera 1 coincide with the central axis of the hopper 2, so as to ensure that the posture relationship between the cargo box and the camera 1 obtained by identification can be directly used to adjust the posture of the hopper 2 for picking up goods.

[0046] However, in actual situations, due to the installation error of camera 1, there will be a certain angle deviation and distance deviation between the optical axis of camera 1 and the central axis of hopper 2, which will eventually lead to the failure of picking and placing goods. Therefore, the installation posture relationship of camera 1 relative to hopper 2, that is, the calibration of the external parameters of camera 1, is crucial to improving the accuracy of picking and placing goods. However, there are few mature solutions for calibrating the camera 1 of such box-type handling robots in existing solutions.

[0047] To this end, the present invention conceives a solution for symmetrical migration of posture calibration between coordinate systems to achieve calibration of the external parameters of the box-type robot camera 1.

[0048] Specifically, first, the hopper coordinate system W is established with the rotation center of the hopper 2 as the origin, the opening direction of the hopper 2 as the X-axis, and the vertical upward direction as the Z-axis, wherein the Y-axis direction of the hopper coordinate system can be determined according to the right-hand coordinate system.

[0049] Since the camera 1 is arranged below the hopper 2 and the viewing area of ​​the camera 1 faces the opening direction of the hopper 2, the camera coordinate system C is known. For example, the optical center of the camera 1 is taken as the origin, the optical axis is the Z axis outward, the Y axis is downward, and the X axis is to the right.

[0050] After this setting, the positional relationship between the hopper coordinate system W and the camera coordinate system C is as follows: Figure 4 As shown, due to installation errors, for example, there is a certain angle deviation between the X-axis of the hopper coordinate system and the Z-axis of the camera coordinate system. If the angle and translation of the hopper 2 are adjusted directly based on the recognition results in the camera coordinate system, it will lead to a failure in picking up the goods, and the fingers will hit the cargo box, causing a safety accident.

[0051] Therefore, in order to calibrate the external parameters of camera 1, in this example, calibration tools such as a calibration plate are used, and the calibration plate is fixed in front of the opening of the hopper 2 through a fixture, located in the camera 1 viewing area, and then a coordinate system is established at the center of the calibration plate, and it is ensured that the calibration plate coordinate system O and the hopper coordinate system W are symmetrically arranged and parallel, and the origin of the calibration plate coordinate system O and its X-axis are both located on the X-axis line of the hopper coordinate system W.

[0052] At this point, it is equivalent to indirectly migrating the hopper coordinate system W to the calibration plate coordinate system O. In this way, to calibrate the relationship between the camera coordinate system C and the hopper coordinate system W, it is only necessary to calculate the relationship between the calibration plate coordinate system O and the camera coordinate system C.

[0053] Step S200 calculates the conversion relationship from the calibration plate coordinate system O to the camera coordinate system C After inversion, the conversion relationship from C to W is determined based on the translation components of W and O. .

[0054] Specifically, first, the transformation relationship from the calibration plate coordinate system O to the camera coordinate system C is recorded as There are many types of existing calibration plates, such as checkerboard calibration plates, circular calibration plates, ChArUco, Apriltag grid, DMcode, etc. Therefore, the calibration plate needs to have rich corner point pattern information so that the pixel coordinates of the corner points on the calibration plate can be extracted through the image processing algorithm. And if the spatial coordinates of each corner point in the calibration plate coordinate system are known, the PnP (Perspective-n-Point) algorithm can be used to calculate the pose of the calibration plate in the camera coordinate system.

[0055] For example, in this example, assuming that the intrinsic parameter K of camera 1 is known, according to the pinhole imaging principle, the projection relationship from the calibration plate coordinate system to the pixel coordinate system of camera 1 is:

[0056]

[0057] in is the pixel coordinate system coordinate, represents the coordinates in the calibration plate coordinate system, is the intrinsic parameter matrix of camera 1, Represents the rotation and translation transformation relationship from the calibration plate coordinate system to the camera coordinate system. Indicates the scale of the space point in the camera coordinate system.

[0058] Then the optimal parameters are solved by minimizing the reprojection error .

[0059]

[0060] in is the subscript of the corner points detected on the calibration plate, .

[0061] When calculated After that, the alignment matrix is ​​inverted to obtain the transformation relationship from the camera coordinate system C to the calibration plate coordinate system O, that is:

[0062]

[0063] Should The corresponding rotation matrix and translation vector are , the external parameters of camera 1 that need to be solved, that is, the transformation relationship from the camera coordinate system C to the hopper coordinate system W , and its corresponding rotation matrix and translation components are .

[0064] according to Figure 4 As shown in the coordinate relationship, the hopper coordinate system W is completely parallel to the calibration plate coordinate system O, and only translates in the X direction. The translation distance can be determined by the tooling fixture. Therefore, the known translation distance between the hopper coordinate system W and the calibration plate coordinate system O on the X axis can be recorded as dis.

[0065] Since the hopper coordinate system W is parallel to the calibration plate coordinate system O, , the two coordinate systems have a displacement of dis only in the X direction, so , , ,in The translation vectors are The components in the X, Y, and Z directions.

[0066] When it is determined After the value of is obtained, the transformation relationship from the camera coordinate system C to the hopper coordinate system W is determined, that is, the corrected external parameters of camera 1 are obtained. .

[0067] 2. Cargo box code identification positioning:

[0068] Step S300 randomly selects more than half of the corner points from the identified corner points of the container mark M to calculate the pose from M to C ;according to Calculate the reprojection error for each selected corner point To determine the threshold ; Calculate the reprojection errors of the remaining corner points and filter out the inliers from all corner points according to the threshold T.

[0069] Specifically, if Figure 5 As shown, in order to improve the accuracy of picking up goods, the existing technology usually puts a specific mark on the cargo box. The positional relationship between the cargo box and the hopper 2 can be determined by identifying the mark. The principle of determining the positional relationship from the cargo box to the camera 1 by identifying the mark is still to construct a spatial coordinate system on the Mark plane, and solve the PNP problem according to the correspondence between the pixel coordinates of the corner points of the specific pattern on the Mark and the spatial coordinates.

[0070] However, the premise for solving the PNP problem is that the corner points on the Mark are on the same plane. Otherwise, the spatial coordinates of the corner points in the Mark coordinate system cannot correspond to the pixel coordinates, and the solution error will become larger. Moreover, the premise for picking up and placing the cargo box based on the recognized Mark posture is that the plane where the Mark is located is parallel to the plane of the cargo box. Otherwise, the purpose of identifying and picking up the cargo cannot be achieved.

[0071] In actual situations, with the increase of usage time, the sides of tens of thousands of cargo boxes will deform to varying degrees, and the degree of deformation of each cargo box is different. Therefore, the deformation of the cargo box will cause the corner points on the mark to be not in the same plane, which will destroy the above two prerequisites, increase the recognized posture error, and greatly increase the probability of failure to pick up the goods.

[0072] Therefore, in the above example, an unfavorable factor is removed by first correcting the external parameters of camera 1. As for the problem of cargo box deformation, this example proposes a planar outlier filtering solution to eliminate the error of Mark pose recognition and improve the accuracy of picking and placing goods.

[0073] In the example, when the Mark is attached to the side of the cargo box, some corner points on the Mark are not on the same plane due to the deformation of the side of the cargo box, such as Figure 6 As shown, in this example, these corner points that deviate from the plane are called outliers, and outliers are also the fundamental reason for the increase in the calculated pose error.

[0074] Generally, the corner points set on the cargo box mark are evenly distributed on the Mark plane. Assume that the number of corner points is Although the deformation degree of different cargo boxes is different, according to statistics, when the general box is still usable, the number of outliers caused by the Mark deformation is usually less than 50%. Therefore, this example prefers to use the random sampling consistency algorithm to iteratively solve the Mark pose. The example process is as follows.

[0075] from Randomly select from the corner points Corner points, use the method of minimizing the reprojection error to solve the pose of Mark to camera 1 , and according to Calculate the reprojection error of each currently selected corner point, recorded as , take the threshold .

[0076] Using the previous calculation , calculate the remaining The reprojection error of the corner points is then counted, and the reprojection error is less than The points that are positive are inliers, and the points that are negative are outliers. The number of inliers is counted.

[0077] Step S400 repeats step S300 until the number of inliers reaches the expected total number or reaches any of the maximum number of iterations, and the pose with the most inliers is selected. As the cargo box identification posture, to determine the posture of M in the hopper coordinate system W .

[0078] Specifically, through continuous iterative calculation and the corresponding number of inliers. When the number of inliers reaches 80% of the total number, When , it can be considered that the expectation is met, and the iteration is terminated at this time, and it is taken as the final result. Or when the maximum number of iterations is reached, the pose with the most internal points is selected. As the final result.

[0079] Through the above method, outliers can be effectively filtered out and the influence of box deformation on the recognition posture can be avoided.

[0080] In getting After that, according to the calibration result of the external parameters of camera 1, the corrected position and posture relationship of Mark in the hopper coordinate system W can be obtained.

[0081]

[0082] Finally, according to Driving the robot can achieve accurate picking. For example, the deviation in the Y direction can be adjusted by moving the robot in the direction of travel, the deviation in the Z direction can be adjusted by lifting and lowering the hopper 2, the deviation in the deflection angle (yaw) can be adjusted by rotating the hopper 2, and the deviation in the X direction can be adjusted by the length of the fingers of the hopper 2.

[0083] Experimental example

[0084] Select a box with a slightly deformed surface, and use measurement and auxiliary jigs to align the box mark with the hopper. Figure 4 As shown in the coordinate system relationship, when the cargo box is facing the hopper, the X-axis of the hopper coordinate system and the Mark coordinate system theoretically coincide, that is, the Rz component of the rotation angle between the two coordinate systems is 0. Now 12 corner points are extracted on the Mark, and their corresponding pixel coordinates and spatial coordinates are as follows:

[0085] 1. [504.81, 514.699] [0, -0.048, -0.012];

[0086] 2. [599.725, 517.36] [0, -0.024, -0.012];

[0087] 3. [602.833, 421.276] [0, -0.024, 0.012];

[0088] 4. [508.196, 419.816] [0, -0.048, 0.012];

[0089] 5. [648.917, 518.769] [0, -0.012, -0.012];

[0090] 6. [745.119, 521.441] [0, 0.012, -0.012];

[0091] 7. [747.718, 425.285] [0, 0.012, 0.012];

[0092] 8. [651.469, 422.379] [0, -0.012, 0.012];

[0093] 9. [794.439, 522.562] [0, 0.024, -0.012];

[0094] 10.[888.673, 525.328] [0, 0.048, -0.012];

[0095] 11.[890.497, 430.913] [0, 0.048, 0.012];

[0096] 12.[796.672, 426.988] [0, 0.024, 0.012].

[0097] Due to the influence of corner point deviation caused by box deformation, when all corner points are used to calculate the pose, the calculated angle component °, while the picking tolerance of the material box truck is within 1.2°, so it does not meet the picking accuracy requirements.

[0098] Next, we use the method of this scheme to calculate, the process is as follows:

[0099] The first time, 7 points (ids are: 2, 3, 5, 7, 8, 10, 11) are randomly selected to calculate the pose:

[0100]

[0101] The reprojection errors of the 7 selected points are: 2: 0.985595506578775; 3: 0.7298838191016536; 5:2.7551272235510224; 7: 0.15686302331215044; 8:1.6257255520827996; 10:3.9841049747379871;

[0108] 11:1.1533262622495671.

[0109] Average reprojection error of 7 initial points , we can judge that points 5 and 10 are outliers, and calculate the reprojection errors of the remaining 5 points: 1: 0.9564715325171758; 4:4.6444760501227814; 6: 0.10167923967143393; 9:2.5789010825035928; 12: 1.327732392792486;

[0115] It can be determined that points 4 and 9 are outliers. The number of all internal points is 8, which does not meet the requirement. Continue to iterate until the number of internal points meets the requirement or the maximum number of iterations is reached. In this experimental example, when the number of iterations is 100, the statistical data shows that the 47th time has the most internal points, which is 9 (id is 1, 3, 4, 5, 6, 7, 8, 9, 10). Points 2, 11, and 12 are outliers. The final result calculated using these 9 internal points is:

[0116]

[0117] Finally, according to the external parameter calibration results proposed in this solution, the recognition results are transferred to the hopper coordinate system:

[0118]

[0119] The position and posture of the material box in the hopper coordinate system can be obtained. The angle representation is converted from the rotation matrix to the Euler angle representation, and the rotation component can be obtained. This result is within the tolerance of the hopper picking, so the method in this case effectively corrects the deviation and meets the picking accuracy requirements.

[0120] Further, corresponding to the above method example, such as Figure 7As shown, the present invention also provides a box-type handling robot picking and placing cargo deviation correction system, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the system implements the steps of the box-type handling robot picking and placing cargo deviation correction method as described in any of the above examples.

[0121] Further, corresponding to the above method example, according to another aspect of the present invention, there is also provided a box-type transport robot, which includes: a picking and placing device, a camera 1 and the box-type transport robot picking and placing deviation correction system as described above.

[0122] Furthermore, corresponding to the above method examples, according to another aspect of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium stores a computer program, wherein when the computer program is executed, the steps of the method for correcting the picking and placing deviations of a box-type handling robot as described in any of the above examples are implemented.

[0123] To summarize, through the box-type handling robot picking and placing deviation correction method and system, and storage medium provided by the present invention, a scheme for symmetrical migration posture calibration between coordinate systems is cleverly designed to realize the calibration of the external parameters of the box-type robot camera 1, so as to eliminate the influence of the installation error of the camera 1 on the robot's recognition and grasping. In addition, in order to avoid the picking and placing posture deviation caused by the cargo box deformation resulting from the cargo box label recognition error, this scheme also uses a plane outlier filtering scheme to screen out feature points on the same plane as the side of the cargo box body for posture calculation to eliminate the picking and placing error introduced by the box body deformation, thereby avoiding the situation where the cargo box picking and placing fails due to the installation error of the camera 1 and the deformation of the cargo box, thereby improving the overall accuracy and reliability of the box-type robot picking and placing, and promoting the application and promotion of box robots in the field of smart warehousing and logistics.

[0124] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is only limited by the claims and their full scope and equivalents. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

[0125] Those skilled in the art can understand that, in addition to implementing the system, device, unit and its various modules provided by the present invention in a purely computer-readable program code, it is entirely possible to implement the same program in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded microcontrollers by logically programming the method steps. Therefore, the system, device and its various modules provided by the present invention can be considered as a hardware component, and the modules included therein for implementing various programs can also be regarded as structures within the hardware component; the modules for implementing various functions can also be regarded as both software programs for implementing the method and structures within the hardware component.

[0126] In addition, all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a single-chip microcomputer, a chip or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program codes.

[0127] In addition, various implementations of the embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the embodiments of the present invention, they should also be regarded as the contents disclosed in the embodiments of the present invention.

Claims

1. A method for correcting the deviation of picking and placing goods by a box-type handling robot, the steps comprising: Step S100: The calibration plate is set in the camera viewing area at the upper position of the hopper, and the calibration plate coordinate system O and the hopper coordinate system W are adjusted to be symmetrically arranged in parallel; Step S200 calculates the conversion relationship from the calibration plate coordinate system O to the camera coordinate system C After inversion, the conversion relationship from C to W is determined based on the translation components of W and O. ; Step S300 randomly selects more than half of the corner points from the identified corner points of the container mark M to calculate the pose from M to C ;according to Calculate the reprojection error for each selected corner point To determine the threshold ; Calculate the reprojection errors of the remaining corner points and filter out the inliers from all corner points according to the threshold T; Step S400 repeats step S300 until the number of inliers reaches the expected total number or reaches any of the maximum number of iterations, and the pose with the most inliers is selected. As the cargo box identification posture, to determine the posture of M in the hopper coordinate system W .

2. According to the method for correcting the deviation of picking and placing goods by a box-type handling robot according to claim 1, the origin of the hopper coordinate system W is the rotation center of the hopper, the lifting direction of the hopper is the Z axis, and the X and Y axes of the hopper correspond to the opening direction of the hopper and the corresponding right-hand coordinate system respectively.

3. The method for correcting the deviation of picking and placing goods by a box-type handling robot according to claim 1, wherein the camera is arranged below the hopper, and the camera viewing area faces the direction of the hopper opening.

4. The method for correcting the deviation of picking and placing goods by a box-type handling robot according to any one of claims 2 or 3, wherein the calibration plate is arranged in front of the hopper opening and is located in the camera viewing area, wherein the origin of the calibration plate is located on the axis of the hopper opening direction in the hopper coordinate system.

5. The method for correcting the deviation of picking and placing goods by a box-type handling robot according to claim 1, wherein the calibration plate is any one of a checkerboard calibration plate, a circular calibration plate, ChArUco, Apriltag grid, and DMcode.

6. The method for correcting the deviation of picking and placing goods by a box-type handling robot according to claim 1, wherein the conversion relationship The calculation steps include: Calculate the projection relationship from the calibration plate coordinate system O to the camera coordinate system C: ; in is the pixel coordinate system coordinate, is the coordinate in the calibration plate coordinate system, is the camera intrinsic parameter matrix, They are the rotation and translation transformation relationship from the calibration plate coordinate system to the camera coordinate system, is the scale of the space point in the camera coordinate system; Solve the optimal : ; is the subscript of the corner points detected on the calibration plate, .

7. The method for correcting the deviation of picking and placing goods by a box-type handling robot according to claim 6, wherein , the expected total number of internal points accounts for 80%.

8. A box-type handling robot picking and placing goods deviation correction system, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the system implements the steps of the method for correcting the deviation of picking and placing goods by a box-type handling robot as described in any one of claims 1 to 7.

9. A box-type transport robot, comprising: A picking and placing device, a camera, and a picking and placing deviation correction system for a box-type handling robot as claimed in claim 8.

10. A computer-readable storage medium storing a computer program, wherein when the computer program is executed, the steps of the method for correcting the picking and placing deviation of a box-type handling robot according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Adjusting method, device and equipment for goods picking and placing device, robot and warehousing system

    CN113213054A

  • Method and device for controlling material discharge and engineering machine

    CN105507590A

  • Engineering machine hopper positioning system and method

    CN108132476A

  • Robot grabbing pose estimation method combining geometric constraint

    CN110653820A

  • Electric power inspection robot positioning method based on multi-sensor fusion

    CN111739063A