TCP calibration method for hollow tubular tool
Technical Field
The invention relates to the technical field of robots, in particular to a TCP calibration method for a hollow tubular tool.
Background
TCP is short for the center point of the tool and is the part of the robot that is in contact with the work piece. When we let the robot approach a certain point in space, either manually or programmatically, it is essential to let the TCP approach that point. Different tools are mounted on the same robot, and different TCPs exist due to different shapes and sizes of the tools, so that when different tools are replaced, the TCP of the robot needs to be determined again, namely the position of the robot in a flange coordinate system of the robot is determined.
The method comprises the steps of enabling a certain tip point of a replaced tool to touch a fixed sharp point with determined coordinates in a robot coordinate system, touching and recording pose parameters of a flange plate from four directions, and calculating TCP by using a four-point method principle.
However, for a customized tool such as a hollow tubular tool, the calibrated TCP needs to be on the axis of the tubular tool, the axis is suspended without contacting any solid point, and the TCP of the hollow tubular tool is difficult to determine because the fixed sharp point for determining the coordinate can not be touched directly by the tip of the tubular tool.
Disclosure of Invention
The invention aims to provide a TCP calibration method of a hollow tubular tool, which can quickly and accurately determine the TCP of a hollow tubular structure.
The invention discloses a TCP calibration method of a hollow tubular tool, which adopts the technical scheme that:
a TCP calibration method for a hollow tubular tool comprises the following steps:
s100, fixing a radius r in a robot coordinate systembThe diameter of the rigid sphere is larger than the radius r of the inner wall of the hollow tubular tools;
S200, mounting the hollow tubular tool on a mechanical arm flange of a robot;
s300, controlling the mechanical arm of the robot to move, enabling the top surface of the hollow tubular tool to be buckled on the surface of the rigid sphere, and determining the current position t of the flange of the mechanical arm through a robot system1And attitude R1;
S400, repeating the step S300 for 3 times, and buckling the top surface of the hollow tubular tool on the surface of the rigid sphere from different directions to obtain the corresponding position t of the flange1、t2、t3、t4And attitude R1、R2、R3、R4;
S500, calculating the TCP point of the hollow tubular tool by the four-point method principlePositioned on an axis inside the hollow tubular tool, the TCP point of the hollow tubular tool being positioned at a distance from the top surface of the hollow tubular tool
Preferably, in the step S400, the step S300 is repeated 3 times, and the directions of the 4 times are vertical and different.
As the preferred scheme, in the S300 step, the ladder sleeve of cavity tubulose instrument coaxial line is installed to cavity tubulose instrument front end, the telescopic ladder face of ladder aligns with the terminal surface of cavity tubulose instrument, the recess with the laminating of rigid ball is seted up to the ladder sleeve outer end, and the recess wraps rigid ball half, the distance between the centre of sphere of the telescopic recess sphere of ladder and the ladder face is LaControlling the mechanical arm of the robot to move, so that the groove of the stepped sleeve arranged on the hollow tubular tool is buckled on the surface of the rigid sphere to obtain a position t1And attitude R1Then, step 400 is executed, the distance between the position of the TCP point and the top surface of the hollow tubular tool is LaAnd is located on the central axis of the hollow tubular tool.
Preferably, the rigid sphere is made of stainless steel, ceramic or stone.
The TCP calibration method of the hollow tubular tool disclosed by the invention has the beneficial effects that: the TCP of the hollow tubular tool is buckled on the surface of the rigid sphere on the axis of the TCP through the top surface of the hollow tubular tool, so that the intersection part of the inner wall of the hollow tubular tool and the rigid sphere is a standard circle, the axis of the hollow tubular tool passes through the sphere center of the rigid sphere, and when the TCP is buckled in multiple directions, the distance between the circle center of the standard circle formed by the intersection part of the inner wall of the hollow tubular tool and the rigid sphere and the sphere center of the rigid sphere is unchanged, so that the pose values t of different positions for 4 times are obtained1、t2、t3、t4And R1、R2、R3、R4The TCP of the hollow tubular tool can be directly calculated by a four-point method, so that the TC of the replaced hollow tubular tool can be quickly and accurately determinedP and its position.
Drawings
Fig. 1 is a schematic structural diagram of a TCP calibration method for a hollow tubular tool according to the present invention.
Fig. 2 is a partial schematic view of a TCP calibration method for a hollow tubular tool according to the present invention.
Fig. 3 is a schematic view of a TCP calibration method of a hollow tubular tool of the present invention with the aid of a stepped sleeve.
Fig. 4 is a partial schematic view of a TCP calibration method of a hollow tubular tool of the present invention with a stepped sleeve.
Detailed Description
The invention will be further elucidated and described with reference to the embodiments and drawings of the specification:
referring to fig. 1-2, a TCP calibration method for a hollow tubular tool includes the following steps: s100, fixing a radius r in a robot coordinate system
bThe diameter of the
rigid sphere 20 is larger than the radius r of the inner wall of the hollow tubular tool 10
s(ii) a S200, mounting the hollow
tubular tool 10 on a mechanical arm flange of a robot; s300, controlling the mechanical arm of the robot to move, enabling the top surface of the hollow
tubular tool 10 to be buckled on the surface of the
rigid sphere 20, and determining the current position t of the flange of the mechanical arm through a robot system
1And attitude R
1(ii) a S400, repeating the step S300 for 3 times, and buckling the top surface of the hollow
tubular tool 10 on the surface of the
rigid sphere 20 from different directions to obtain a corresponding position t
1、t
2、t
3、t
4And attitude R
1、R
2、R
3、R
4(ii) a S500, calculating the TCP by a four-point method principle, wherein the position of the TCP point of the hollow
tubular tool 10 is on the axis of the interior of the hollow
tubular tool 10, and the distance from the TCP point to the top surface of the hollow
tubular tool 10 is
In the step S400, the step S300 is repeated for 3 times, the directions of 4 times are sequentially vertical and different, the angle between the directions of 4 times is as large as possible, the influence of the self error of the mechanical arm on the TCP calculation result can be reduced by the angle as large as possible, and the data acquisition from the four directions is required by the minimum point number of the method, but not limited to the four directions. The rigid sphere 20 is made of stainless steel, ceramic or stone, and the elastic deformation of the rigid sphere 20 is small, so that the accuracy of data can be effectively improved.
Referring to fig. 3-4, in step S300, a stepped sleeve 30 is disposed in the hollow tubular tool 10 and is coaxial with the hollow tubular tool 10, a stepped surface of the stepped sleeve 30 is aligned with an end surface of the hollow tubular tool 10, a groove attached to the rigid sphere 20 is disposed at an outer end of the stepped sleeve 30, the groove wraps a half of the rigid sphere 20, and a distance L is provided between the outer end surface of the stepped sleeve 30 and the stepped surfaceaControlling the mechanical arm of the robot to move, so that the top surface of the hollow tubular tool 10 is buckled on the surface of the rigid sphere 20 to obtain a position t1And attitude R1Then, step 400 is executed, the position of the TCP point is L away from the top surface of the hollow tubular tool 10aAnd is located on the central axis of its hollow tubular tool 10.
The four-point method principle is published in the science and technology journal mechanical and electronic, 2012, stage 6, 60 in the research on the calibration algorithm of the coordinate system of the robot tool by the combination of Xiongshu, Bobersheng and Jiangming, and the principle and the calculation process of the four-point method are explained in detail.
In the above scheme, the TCP of the hollow tubular tool 10 is fastened to the surface of the rigid sphere 20 through the top surface of the hollow tubular tool 10 on the axis thereof, so that the intersection of the inner wall of the hollow tubular tool 10 and the rigid sphere 20 is a standard circle, the axis of the hollow tubular tool 10 passes through the center of the rigid sphere 20, and when the TCP is fastened in multiple directions, the distance between the center of the standard circle and the center of the rigid sphere 20 formed by the intersection of the inner wall of the hollow tubular tool 10 and the rigid sphere 20 is unchanged, thereby obtaining the pose values t at 4 different positions1、t2、t3、t4And R1、R2、R3、R4The TCP of the hollow tubular tool 10 can be directly calculated by the four-point method, so that the TCP of the replaced hollow tubular tool 10 and the position thereof can be quickly and accurately determined.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the protection scope of the present invention, although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.