A calibration method for garbage sorting system based on Delta robot

Through the calibration method of the garbage sorting system based on the Delta robot, the homogeneous transformation matrix and encoder coefficients from the conveyor belt coordinate system to the robot coordinate system are constructed, and combined with Zhang Zhengyou's calibration method, the low hand-eye-transmission belt-encoder calibration efficiency in the existing technology is solved. solve the problem, achieve efficient and accurate calibration of the garbage sorting system, and improve the sorting success rate and accuracy.

CN118438458BActive Publication Date: 2024-10-11HUNAN UNIV
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410908195.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-10-11
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

The existing garbage sorting system lacks a simple, fast and efficient integrated calibration method such as hand-eye-transmission belt-encoder in the treatment of food waste, resulting in low sorting efficiency, large errors, and the intelligent identification model is not highly targeted, and the technology Low degree of modularity.

Method used

The garbage sorting system calibration method based on Delta robot is adopted. By changing the calibration checkerboard position multiple times, recording the encoder count value, and constructing the homogeneous transformation matrix and encoder coefficient from the conveyor belt coordinate system to the robot coordinate system, combined with Zhang Zhengyou calibration method, The camera is calibrated to achieve hand-eye-transmission belt integrated calibration.

Benefits of technology

The rapid and accurate calibration of the garbage sorting system is achieved, with the average error stabilized at 0.5mm and the sorting success rate reaching 90%, which significantly improves the calibration efficiency and accuracy of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118438458B_ABST
    Figure CN118438458B_ABST
Patent Text Reader

Abstract

The present invention discloses a calibration method for a garbage sorting system based on a Delta robot, which comprises the following steps: laying a chessboard on a conveyor belt, calibrating a camera by taking photos of the chessboard by changing positions for many times; recording the current encoder count value of the conveyor belt; starting the conveyor belt to send the chessboard to the robot operation area, recording the encoder count value, and obtaining the coordinate values ​​of the preset grid points in the robot coordinate system and the camera coordinate system at this time, thereby calibrating the robot; starting the conveyor belt to send the chessboard to the downstream line, recording the current encoder count value of the conveyor belt, and obtaining the coordinate values ​​of the preset grid points in the robot coordinate system at this time; calibrating the conveyor belt according to the coordinate values ​​in the robot coordinate system obtained when the encoder count values ​​of the same preset grid points in the conveyor belt are different. The present invention can quickly and accurately complete the calibration of a kitchen waste sorting system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot system calibration, and in particular to a calibration method for a garbage sorting system based on a Delta robot. Background Art

[0002] In order to give full play to the role of advanced technologies in the prevention and control of solid waste and soil pollution, China published the "National Advanced Pollution Prevention Technology Catalog (Solid Waste and Soil Pollution Prevention and Control Field)" in 2023, which shows that the management of solid waste has changed from traditional landfill and incineration to green and low-carbon waste sorting, recycling and reuse. Therefore, scientific and reasonable waste sorting can, on the one hand, separate impurities from kitchen waste, and on the other hand, achieve the purpose of energy reduction and emission reduction by recycling valuable waste, and promote the development of a green circular economy.

[0003] At present, garbage sorting still mainly relies on manual labor. However, in the actual working environment of urban kitchen waste sorting and treatment, due to factors such as dirty environment, irritating gases and repetitive labor, sorting workers are more subjective and have a high error rate, resulting in low sorting efficiency and few workers willing to work in this position. Therefore, it is very necessary to study efficient robot sorting. The current intelligent recognition model is not targeted, the degree of technical modularization is low, and there is a lack of intelligent prediction and control methods. The refinement of sorting technology and the intelligent equipment of kitchen waste component feature extraction and intelligent identification are important breakthrough directions for improving the level of kitchen waste treatment and disposal. To this end, an efficient kitchen waste sorting system has important practical significance and research value.

[0004] A typical garbage sorting system includes hardware modules such as robots, cameras, conveyor belts, controllers, and corresponding control software modules. As a necessary step for robots to achieve precise operations under visual guidance, hand-eye calibration is a prerequisite for robots to grasp target objects in vision. At present, in the field of kitchen waste robot sorting, there is a lack of research on simple, fast, and efficient integrated calibration methods such as hand-eye-conveyor belt-encoder. Summary of the invention

[0005] The present invention provides a garbage sorting system calibration method based on a Delta robot, which can quickly and accurately complete the calibration of the kitchen waste sorting system.

[0006] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:

[0007] A calibration method for a garbage sorting system based on a Delta robot, comprising:

[0008] Step 1: Lay the calibration chessboard on the conveyor belt, change the position several times and shoot the calibration chessboard on the conveyor belt to calibrate the camera;

[0009] After the last change of position and shooting, keep the calibration chessboard position on the conveyor belt unchanged and record the current encoder count value of the conveyor belt ;

[0010] Step 2: Start the conveyor belt to send the chessboard to the upstream line of the robot operation area, stop the conveyor belt, and record the current encoder count value of the conveyor belt. , and at the same time, the robot end contacts multiple preset grid points on the chessboard to obtain the coordinate values ​​of the preset grid points in the robot coordinate system at this time;

[0011] According to the coordinate values ​​of multiple preset grid points simultaneously engraved in the robot coordinate system and the upstream coordinate system, a calculation formula for calibrating the robot is constructed, that is, a calculation formula for the homogeneous transformation matrix from the conveyor coordinate system to the robot coordinate system is constructed;

[0012] Step 3: Start the conveyor belt to send the chessboard to the downstream line of the robot operation area, stop the conveyor belt, and record the current encoder count value of the conveyor belt. The robot end contacts the preset grid points on the chessboard to obtain the coordinate values ​​of the preset grid points in the robot coordinate system at this time. ;

[0013] According to the same preset grid point, the encoder count values ​​on the conveyor belt are and When , the coordinate values ​​in the robot coordinate system are respectively used to construct the calculation formula for calibrating the encoder, that is, to construct the calculation formula for the encoder coefficient;

[0014] Step 4: Combine the calculation formula for calibrating the robot and the calculation formula for calibrating the encoder to obtain the homogeneous transformation matrix from the conveyor coordinate system to the robot coordinate system and the encoder coefficients.

[0015] Furthermore, step 1 uses Zhang Zhengyou calibration method to calibrate the camera, which is expressed as:

[0016]

[0017] in, Represents the coordinates of the points on the chessboard in the camera coordinate system, Represents the coordinates of the points on the chessboard in the image coordinate system, , They are and The augmented vector form of [ R t ] is the camera external parameter, which is the rotation of the camera's imaging coordinate system relative to the camera coordinate system and pan composition; express The inverse matrix of is a The camera intrinsic parameter matrix is ​​used to correct the offset and distortion inside the camera; is an arbitrary scaling factor.

[0018] Furthermore, the calibration chessboard adopts a square chessboard.

[0019] Furthermore, in step 2, the plurality of preset grid points are selected from four grid points at the four corners of the square chessboard.

[0020] Furthermore, the camera coordinate system selects a grid point at any corner of the chessboard when it is in the shooting area as the origin, the x-axis and y-axis are parallel to the two sides of the chessboard, and the z-axis is perpendicular to the conveyor belt plane;

[0021] The conveyor belt coordinate system has the same origin and z-axis as the camera coordinate system, the x-axis is along the running direction of the conveyor belt, and the y-axis is perpendicular to the x-axis;

[0022] The upstream coordinate system is obtained by translating the camera coordinate system along the conveyor belt running direction to the upstream line of the robot operation area;

[0023] The downstream coordinate system is obtained by translating the camera coordinate system along the conveyor belt running direction to the downstream line of the robot operation area;

[0024] The camera coordinate system, the conveyor belt coordinate system, the upstream coordinate system and the downstream coordinate system are all left-handed coordinate systems, and the robot coordinate system is a right-handed coordinate system.

[0025] Furthermore, in step 2, the robot is calibrated to obtain the homogeneous transformation matrix from the conveyor coordinate system to the robot coordinate system , the specific method is:

[0026] (1) Assume that the i-th preset grid point when the chessboard is located at the upstream line The coordinate values ​​in the robot coordinate system and the upstream coordinate system are , ; Among them, according to the only translation relationship between the upstream coordinate system and the camera coordinate system: ;

[0027] (2) Establish the square error function E between the robot coordinate system and the upstream coordinate system of the chessboard points:

[0028]

[0029] In the formula, n represents the number of preset grid points, and They are the rotation matrix and translation vector from the upstream coordinate system to the robot coordinate system, which together constitute the homogeneous transformation matrix from the upstream coordinate system to the robot coordinate system T u r = [ R u r t u r 0 1 ] ;

[0030] (3) Use the Kabsch algorithm to calculate the optimal rotation matrix between the robot coordinate system and the upstream coordinate system :

[0031] First, calculate the center of n preset grid points in the robot coordinate system and at the center of the upstream coordinate system , and then get the correlation coefficient matrix :

[0032] , ,

[0033] in, is the i-th preset grid point in the robot coordinate system relative to its center The difference between ; is the i-th preset grid point in the upstream coordinate system relative to its center The difference between ;

[0034] Then the correlation coefficient matrix Perform SVD singular value decomposition, that is , and obtain a new standard orthogonal basis and the orthonormal basis of the original domain ;

[0035] Finally by and Get the best rotation matrix :

[0036]

[0037] (4) Based on n preset grid points at the center of the robot coordinate system and at the center of the upstream coordinate system , combined with the optimal rotation matrix Obtain the translation vector from the upstream coordinate system to the robot coordinate system :

[0038]

[0039] (5) Set the preset grid points obtained in step 3 Through the homogeneous transformation matrix Convert to get its coordinate value in the upstream coordinate system :

[0040] P ̂ U , d i = [ x ̂ y ̂ z ̂ 1 ] = ( T u r ) − 1 [ P R , d i 1 ]

[0041] (6) In the XOY plane of the upstream coordinate system, convert the downstream coordinate system Origin and upstream coordinate system The origin is connected, the upstream coordinate system With the conveyor belt coordinate system The rotation angle between Calculated by the following relationship:

[0042]

[0043] So as to obtain the conveyor belt coordinate system To upstream coordinate system The homogeneous transformation matrix :

[0044] T b u = [ R b u t b u 0 1 ] = [ cos i − sin i 0 − L 1 sin i cos i 0 0 0 0 1 0 0 0 0 1 ]

[0045] in, is the transmission distance of the conveyor belt from start to stop in step 2;

[0046] (7) Obtain the homogeneous transformation matrix from the conveyor coordinate system to the robot coordinate system :

[0047] .

[0048] Furthermore, the conveying distance of the conveyor belt from start to stop in step 2 The calculation formula is:

[0049]

[0050] In the formula, is the encoder coefficient.

[0051] Furthermore, step 3 calibrates the conveyor belt, that is, the encoder coefficient of the conveyor belt Calibrate the encoder coefficient The calculation formula is:

[0052]

[0053] In the formula, , represents the coordinate value of the i-th preset grid point in the robot coordinate system when the chessboard is located at the upstream line and the downstream line respectively.

[0054] Compared with the existing robot sorting system calibration method, it has the following advantages:

[0055] The garbage sorting system calibration method based on the Delta robot of the present invention only requires a few simple operations. Compared with the current calibration methods of the same type, this method can complete a more accurate system calibration in just a few minutes, and has strong practical significance.

[0056] The square chessboard in the present invention can provide accurate alignment points required by the robot end in the calibration process, and the reliability and accuracy of the calibration are ensured through this simple and practical design.

[0057] The kitchen waste sorting system calibrated by the present invention was actually tested, and the average error was stabilized at about 0.5 mm, and an average sorting success rate of 90% was achieved on the constructed physical platform, which shows the effectiveness of the method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 This is an integrated calibration flow chart of an embodiment of the present invention.

[0059] Figure 2 There are five coordinate systems for calibration tasks used in the embodiments of the present invention; the numbers in the figure are: 1-Delta robot, 2-downstream line, 3-upstream line, 4-camera, 5-conveyor belt, the area between the upstream and downstream lines is the robot's operating area, and the area below the camera is the camera shooting area.

[0060] Figure 3 A high-precision calibration plate for integrated calibration of the embodiment of the present invention.

[0061] Figure 4 In the embodiment of the present invention, the end of the robot is aligned with a corner point of a chessboard.

[0062] Figure 5 The corner point numbers and corresponding positions identified in the chessboard according to the embodiment of the present invention are shown in FIG. DETAILED DESCRIPTION

[0063] The following is a detailed description of an embodiment of the present invention. This embodiment is based on the technical solution of the present invention, and provides a detailed implementation method and a specific operation process to further explain the technical solution of the present invention.

[0064] The technical solution of the present invention is a calibration method for a garbage sorting system based on a Delta robot, which can be experimented with Python programming language, or it can be engineered with C / C++ programming language. The garbage sorting system based on the Delta robot includes a camera, a conveyor belt and a Delta robot, which cooperate with each other to complete automatic garbage sorting. The Delta robot is a high-precision, high-efficiency, and long-life parallel robot with 3-4 degrees of freedom. It can easily realize the movement in the XYZ direction and the rotation around the Z axis in the workspace, and is a closed-loop mechanism driven in parallel. It has the characteristics of light weight, small size, fast movement speed, and precise positioning. It is mainly used in processing, sorting, and packaging in food, electronics, pharmaceuticals and other industries.

[0065] The technical solution provided by the present invention is a calibration method for a garbage sorting system based on a Delta robot, which mainly includes the design of a calibration plate and an integrated calibration method for the robot hand-eye-transmission belt-encoder. Figure 1 .

[0066] In the garbage sorting system of the present invention, multiple coordinate systems are defined on the three key components of the system: the robot, the conveyor belt and the camera. Figure 2 Five coordinate systems for calibration tasks used in the present invention are described. To establish the camera coordinate system in the camera calibration checkerboard, its XOY plane coincides with the conveyor belt plane; The conveyor coordinate system is the rotation of the camera coordinate system around the Z axis. The angle to the X-axis is in the same direction as the conveyor belt and does not move with the conveyor belt, which is the world coordinate system; The camera coordinate system is translated along the conveyor belt to the upstream line coordinate system. Only objects that have passed the upstream line will be picked up by the robot. is the downstream line coordinate system. To ensure operational safety, objects beyond the downstream line will no longer be picked up by the robot; is the robot base coordinate system, which is a right-handed coordinate system, while other coordinate systems are left-handed coordinate systems for the convenience of corresponding to the image coordinate system.

[0067] A calibration method for a garbage sorting system based on a Delta robot, comprising:

[0068] 1. Camera calibration

[0069] Lay the calibration chessboard in the camera's field of view on the conveyor belt and take a photo. Change the chessboard position and take another photo. Repeat the above process until at least 10 different photos are taken. To ensure that the camera distortion is well calibrated, the chessboard should cover the FOV as much as possible. Keep the chessboard still after the last shot. At the same time, record the current encoder count value The camera is calibrated to the conveyor belt using photos taken at multiple changes of position.

[0070] During the camera calibration process, the image captured by the camera is measured through coordinates P ∗ = [ u , v ] T represents a unique pixel, while a point in the camera coordinate system is represented by P C = [ x , y , z ] T (Here is a constant), written in the form of an augmented vector as and The camera calibration refers to the commonly used Zhang Zhengyou calibration method. In order to reduce the error and facilitate integrated calibration, the present invention designs a new calibration board, which includes 8x11 20mm square checkerboards, laid flat on an A4 paper, and a cross circular mark is set on each grid in the four corners to provide the accurate alignment point required by the robot end during the calibration process. This simple and practical design is intended to ensure the reliability and accuracy of the calibration.

[0071] The camera calibration is completed by shooting the chessboard laid out on the conveyor belt with the camera. The coordinate solution method of the camera coordinate system is shown in the following formula:

[0072]

[0073] in [ R t ] is the camera external parameter, which is the rotation of the camera's imaging coordinate system relative to the camera coordinate system and pan composition; is a The camera intrinsic parameter matrix is ​​used to correct the offset and distortion inside the camera; is an arbitrary scaling factor.

[0074] 2. Robot calibration and modeling

[0075] Start the conveyor belt to send the chessboard grid taken in the last step to the robot operation area. When the preset grid point A in the chessboard grid is close to the upstream line drawn by humans, stop the conveyor belt. It is required that all the chessboard grids are in the robot operation area at this time. Then use the teaching pendant to operate the end of the robot as shown in the figure. Figure 3 , 4Contact the four grid points A, B, C, and D in the chessboard in sequence, and obtain the values ​​of the four points in the robot coordinate system and the upstream coordinate system respectively. , , i=1, 2, 3, 4; during this process, the chessboard on the conveyor belt should remain stationary. At the same time, the current encoder count value is recorded as Since the upstream coordinate system and the camera coordinate system only have a translation relationship, we can get: , that is, the coordinate value in the upstream coordinate system, the coordinate value of each preset point in the camera coordinate system can be directly used.

[0076] In the garbage sorting system of the embodiment, the robot is fixedly installed above the conveyor belt, so the robot coordinate system Relative conveyor belt coordinate system There is a fixed relationship, which can be expressed as follows:

[0077]

[0078] in, is the homogeneous transformation matrix between the conveyor coordinate system and the robot coordinate system; is a point in the robot coordinate system; is a point in the conveyor belt coordinate system. Because the conveyor belt coordinate system has no actual reference, it is actually difficult to measure directly. Known Is Rotate around the Z axis and translate along the X axis Come, and It is a coordinate system defined in the chessboard, so the coordinates of each grid point in the chessboard can be known, so we can first measure After transformation, we get .

[0079] According to the four pairs of points obtained in the robot calibration ,beg can be transformed into:

[0080] T u r = [ R u r t u r 0 1 ]

[0081] in is a 3x3 rotation matrix, is the 3D translation vector, that is, minimizing the square error :

[0082]

[0083] According to the classic Kabsch algorithm, the optimal rotation matrix between these two sets of coordinate points is calculated. :

[0084] First, calculate the center of the robot coordinate system of the four preset grid points and at the center of the upstream coordinate system ,

[0085]

[0086]

[0087] Therefore, the correlation coefficient matrix H is obtained:

[0088]

[0089] in, , .

[0090] Furthermore, the correlation coefficient matrix Perform SVD singular value decomposition, that is , and obtain a new standard orthogonal basis and the orthonormal basis of the original domain ;

[0091] Finally by and Get the best rotation matrix :

[0092]

[0093] After obtaining the rotation matrix, the translation vector is easily obtained:

[0094]

[0095] The coordinate value of the preset grid point A (the origin of the chessboard in the camera coordinate system) in the robot coordinate system ,pass Transform to its upstream coordinate system The coordinate points in :

[0096] P ̂ U , d i = [ x ̂ y ̂ z ̂ 1 ] = ( T u r ) − 1 [ P d 1 ]

[0097] In the upstream coordinate system In the XOY plane, Origin and The origin is connected, the coordinate system and The rotation angle between The following relationship is satisfied:

[0098]

[0099] Thus, the homogeneous transformation matrix of the upstream coordinate system relative to the conveyor belt coordinate system is obtained :

[0100] T b u = [ R b u t b u 0 1 ] = [ cos i − sin i 0 − L 1 sin i cos i 0 0 0 0 1 0 0 0 0 1 ]

[0101] Finally, the homogeneous transformation matrix between the conveyor coordinate system and the robot coordinate system is obtained:

[0102]

[0103] 3. Encoder calibration modeling

[0104] Start the conveyor belt again to let the chessboard continue to move downstream until the preset grid point A identified in the chessboard coincides with the manually drawn downstream line, then stop the conveyor belt. Then use the teach pendant to operate the end of the robot to touch the preset grid point A identified in the chessboard, and obtain its coordinate value in the robot coordinate system , and record the current encoder count value as .

[0105] The encoder installed on the conveyor belt in step 3 of the embodiment is used to count the moving distance of the conveyor belt, and its count value is and moving distance Has the following linear relationship:

[0106]

[0107] in is the encoder coefficient. In the two steps of robot calibration (chessboard located at the upstream line) and conveyor belt calibration (chessboard located at the downstream line), the coordinate values ​​of the chessboard point A in the robot coordinate system are obtained respectively. , The corresponding encoder count value and , so the encoder coefficients are The calculation formula is:

[0108]

[0109] Furthermore, the vertical distance between the upstream line and the origin of the conveyor coordinate system can be easily obtained:

[0110]

[0111] And the distance between the upstream and downstream lines:

[0112] .

[0113] 4. Calibration solution

[0114] Since in the robot calibration step in step 3, the homogeneous transformation matrix from the conveyor coordinate system to the robot coordinate system is The solution requires the known conveyor belt distance from start to stop. ,and The calibrated encoder coefficients need to be known, so the encoder coefficients are solved through the data obtained in steps 2 and 3, and then the robot calibration is completed, that is, the homogeneous transformation matrix from the conveyor coordinate system to the robot coordinate system is solved. .

[0115] 5. Garbage sorting

[0116] After the garbage sorting system is calibrated through the above solution, it can be used to sort the garbage on the conveyor belt. When the sorting system is running, the conveyor belt conveys objects from the right end to the left end at a constant speed. During this process, the objects on the conveyor belt pass through the camera shooting area one after another. and robot work area The two areas are connected by a conveyor belt and do not overlap each other. At the same time, an encoder is installed on the conveyor belt to measure the moving distance of the conveyor belt. The camera captures the image on the conveyor belt at a fixed frame rate and then processes it to obtain the object position points in the image represented by pixel coordinates. . Using the encoder coefficients obtained by calibration , the conversion function from the phase image coordinate system to the camera coordinate system , the homogeneous transformation matrix from the conveyor coordinate system to the robot coordinate system , and the homogeneous transformation matrix from the camera coordinate system to the conveyor coordinate system , after transformation by the following formula, the representation in the robot coordinate system is obtained, and finally the robot picks up the object.

[0117]

[0118]

[0119]

[0120] The parameters is the displacement measured by the encoder; is the conversion function from the image coordinate system to the camera coordinate system, is the coordinate of the object in the camera coordinate system, is the deflection angle of the object in the camera coordinate system, is the deflection matrix of the object.

[0121] The homogeneous transformation matrix from the camera coordinate system to the conveyor coordinate system is , calculated as follows: Since the camera is in a fixed position upstream of the conveyor belt, and There is only a translation relationship between them, so we can get:

[0122]

[0123] Considering that the garbage on the conveyor belt is continuously fed in, that is, the object is always moving, the position of the object captured by the camera in the conveyor belt coordinate system is related to the movement of the conveyor belt, and the direction of the conveyor belt movement is The positive direction of the axis, so we can get the relationship between the camera and the conveyor belt:

[0124] T c b ( D E ) = [ R c b t c b 0 1 ] = [ cos i sin i 0 D E − sin i cos i 0 0 0 0 1 0 0 0 0 1 ]

[0125] Here ,in , They are the current encoder count value and the camera count value when shooting. are the encoder coefficients.

[0126] The present invention defines the tool center point (TCP) of the robot at the tip position of the calibration tool, and during the calibration process, the tip of the calibration tool is used to align 12 points on the calibration plate and four additional circular marks. The first 12 points are used to calculate the reconstruction error, and the last four points are used to input the calibration algorithm. In order to verify the reliability of the integrated calibration method proposed in the present invention, the calibration experiment was repeated 10 times. Through the experimental results, see Figure 5 , which is a histogram obtained by calculating the reconstruction error of each point using 12 error verification points after repeating 14 experiments using the calibration method of the present invention; the frequency is the number of points with errors within the width of the bar, and the error is the reconstruction error. The figure shows that most of the reconstruction errors are within 0.3~0.6mm, and very few reconstruction errors are greater than 1.0mm, which shows that the method of the present invention is effective. Among them, the reconstruction error of the ith experiment is definition:

[0127]

[0128] in are the error verification point coordinates read from the robot.

[0129] The above embodiments are preferred embodiments of the present application. Ordinary technicians in this field can also make various changes or improvements on this basis. Without departing from the overall concept of the present application, these changes or improvements should fall within the scope of protection required by the present application.

Claims

1. A calibration method for a garbage sorting system based on a Delta robot, characterized in that: include: Step 1, laying a calibration chessboard on a conveyor belt, calibrating the camera by changing the position several times and photographing the calibration chessboard on the conveyor belt; the calibration chessboard adopts a square chessboard; After the last change of position and shooting, keep the calibration chessboard position on the conveyor belt unchanged and record the current encoder count value of the conveyor belt ; Step 2: Start the conveyor belt to send the chessboard to the upstream line of the robot operation area, stop the conveyor belt, and record the current encoder count value of the conveyor belt. , by the robot end contacting multiple preset grid points on the chessboard, the coordinate values ​​of the preset grid points in the robot coordinate system are obtained; According to the coordinate values ​​of multiple preset grid points simultaneously engraved in the robot coordinate system and the upstream coordinate system, a calculation formula for calibrating the robot is constructed, that is, a calculation formula for the homogeneous transformation matrix from the upstream coordinate system to the robot coordinate system is constructed; Step 3: Start the conveyor belt to send the chessboard to the downstream line of the robot operation area, stop the conveyor belt, and record the current encoder count value of the conveyor belt. The robot end contacts the preset grid points on the chessboard to obtain the coordinate values ​​of the preset grid points in the robot coordinate system at this time. ; Construct the homogeneous transformation matrix calculation formula from the conveyor coordinate system to the robot coordinate system, specifically: The preset grid points obtained in step 3 Homogeneous transformation matrix from upstream coordinate system to robot coordinate system Convert to get its coordinate value in the upstream coordinate system : ; In the XOY plane of the upstream coordinate system, the downstream coordinate system Origin and upstream coordinate system The origin is connected, the upstream coordinate system With the conveyor belt coordinate system The rotation angle between Calculated by the following relationship: ; So as to obtain the conveyor belt coordinate system To upstream coordinate system The homogeneous transformation matrix : ; in, is the transmission distance of the conveyor belt from start to stop in step 2; Finally, the homogeneous transformation matrix from the conveyor coordinate system to the robot coordinate system is obtained : ; According to the same preset grid point, the encoder count values ​​on the conveyor belt are and When , the coordinate values ​​in the robot coordinate system are respectively used to construct the calculation formula for calibrating the encoder, that is, to construct the calculation formula for the encoder coefficient; Step 4, combining the calculation formula for calibrating the robot and the calculation formula for calibrating the encoder, and solving the homogeneous transformation matrix from the conveyor coordinate system to the robot coordinate system and the encoder coefficient; Among them, the camera coordinate system selects the grid point on any corner of the chessboard when it is in the shooting area as the origin, the x-axis and y-axis are parallel to the two sides of the chessboard, and the z-axis is perpendicular to the conveyor belt plane; The upstream coordinate system is obtained by translating the camera coordinate system along the running direction of the conveyor belt to the upstream line of the robot operation area; The conveyor belt coordinate system has the same origin and z-axis as the camera coordinate system, the x-axis is along the running direction of the conveyor belt, and the y-axis is perpendicular to the x-axis; The downstream coordinate system is obtained by translating the camera coordinate system along the running direction of the conveyor belt to the downstream line of the robot operation area; The camera coordinate system, the conveyor belt coordinate system, the upstream coordinate system and the downstream coordinate system are all left-handed coordinate systems, and the robot coordinate system is a right-handed coordinate system.

2. The calibration method of the garbage sorting system based on the Delta robot according to claim 1, characterized in that: Step 1 uses Zhang Zhengyou calibration method to calibrate the camera, which is expressed as: ; in, Represents the coordinates of the points on the chessboard in the camera coordinate system, Represents the coordinates of the points on the chessboard in the image coordinate system, , They are and The augmented vector form of is the camera external parameter, which is the rotation of the camera's imaging coordinate system relative to the camera coordinate system and pan composition; express The inverse matrix of is a The camera intrinsic parameter matrix is ​​used to correct the offset and distortion inside the camera; is an arbitrary scaling factor.

3. The calibration method of the garbage sorting system based on the Delta robot according to claim 1, characterized in that: In step 2, the plurality of preset grid points are selected from four grid points at the four corners of the square chessboard.

4. The calibration method of the garbage sorting system based on the Delta robot according to claim 1, characterized in that: Get the homogeneous transformation matrix from the upstream coordinate system to the robot coordinate system , the specific method is: (1) Assume that the i-th preset grid point when the chessboard is located at the upstream line The coordinate values ​​in the robot coordinate system and the upstream coordinate system are , ; Among them, according to the only translation relationship between the upstream coordinate system and the camera coordinate system: ; (2) Establish the square error function E between the robot coordinate system and the upstream coordinate system of the chessboard points: ; In the formula, n represents the number of preset grid points, and They are the rotation matrix and translation vector from the upstream coordinate system to the robot coordinate system, which together constitute the homogeneous transformation matrix from the upstream coordinate system to the robot coordinate system ; (3) Use the Kabsch algorithm to calculate the optimal rotation matrix between the robot coordinate system and the upstream coordinate system : First, calculate the center of n preset grid points in the robot coordinate system and at the center of the upstream coordinate system , and then get the correlation coefficient matrix : , , ; in, is the i-th preset grid point in the robot coordinate system relative to its center The difference, that is ; is the i-th preset grid point in the upstream coordinate system relative to its center The difference, that is ; Then the correlation coefficient matrix Perform SVD singular value decomposition, that is , and obtain a new standard orthogonal basis and the orthonormal basis of the original domain ; Finally by and Get the best rotation matrix : ; (4) Based on n preset grid points at the center of the robot coordinate system and at the center of the upstream coordinate system , combined with the optimal rotation matrix Obtain the translation vector from the upstream coordinate system to the robot coordinate system : 。 5. The calibration method of the garbage sorting system based on the Delta robot according to claim 1, characterized in that: The distance the conveyor belt travels from start to stop in step 2 The calculation formula is: ; In the formula, is the encoder coefficient.

6. The calibration method of the garbage sorting system based on the Delta robot according to claim 1, characterized in that: Step 3: Calibrate the conveyor belt, that is, the encoder coefficient of the conveyor belt Calibrate the encoder coefficient The calculation formula is: ; In the formula, , represents the coordinate value of the i-th preset grid point in the robot coordinate system when the chessboard is located at the upstream line and the downstream line respectively.

Citation Information

Patent Citations

  • Method for designing fuzzy PI controller of Delta robot movement mechanism

    CN104267598A

  • Numerical control machine tool profile error three-dimensional measuring method based on monocular vision

    CN108340211A

  • Improved robot vision and conveying belt comprehensive calibration method

    CN109571477A

  • Conveying belt movement direction and track calibration method suitable for Delta parallel robot

    CN112518746A

  • Sensor fusion for line tracking

    CN115375755A