The invention relates to robots and more particularly, to robot tool position and orientation calibration.
High level computer programming languages and Computer Aided Drafting/Computer Aided Machining (CAD/CAM) has made off-line robotic programming more feasible for more complex tasks. For example, a robot may be programmed to cut a workpiece with a circular blade tool and then remove material from the workpiece with a drill bit tool. The robot uses various coordinate systems to facilitate calculating the several motions required to cut and remove material from the workpiece. Because one or more of the various coordinate systems may not exactly match actual robot positions (e.g., due to imperfect alignment of the robot, robot parts, tools, and the like), robot calibrations are typically used to compensate for such mismatches.
The use of multiple tools (e.g., a circular blade and a drill bit) further complicates calibration because each tool typically has a different tool center point (TCP), e.g., each tool may have a different length. As such, a robot is normally recalibrated for each such tool. Such calibration requires additional time and expense. Normally, each tool is mounted into the robot spindle and a standard TCP calibration is performed. This determines the TCP of each tool. Further, spindle orientation is determined by the orientation determined from the two TCP positions. There are several deficiencies to this approach. First, this approach assumes that the spindle axis is the same as tool orientation (this is not typically true when mechanical tolerance and mounting error are considered). Second, the TCP of the tool is calibrated using visual inspection that may not be reliable or repeatable. Third, this recalibration for each tool can be time consuming, adding expense, and increases the chance for errors.
Therefore, a need exists for using different robot tools without having to perform a recalibration for each tool.
The invention is directed to calibrating the orientation of a robot spindle and applying the calibrated robot spindle orientation to various robot tools.
Disclosed herein in an exemplary embodiment is a method of calibrating a robot having a rotable spindle for holding a tool. The method comprises disposing a calibration tool in said spindle; measuring a plurality of positions associated with the calibration tool; and determining a rotation axis of the spindle based on the plurality of positions. The method also includes: ascertaining a calibration tool center point based on the plurality positions and computing a robot tool rotation axis and tool center point based on the determined rotation axis; the calibration tool center point, and a difference in length between the calibration tool and a robot tool.
Also disclosed herein is a system for calibrating a robot having a rotable spindle for holding a tool, the system comprising: a calibration tool disposed in the spindle of the robot; a measurement probe disposed at a known location within attainable distance of the robot with the calibration tool; and a controller for implementing a method of calibrating comprising: measuring a plurality of positions associated with the calibration tool; and determining a rotation axis of the spindle based on the plurality of positions. The method also includes: ascertaining a calibration tool center point based on the plurality positions and computing a robot tool rotation axis and tool center point based on the determined rotation axis; the calibration tool center point, and a difference in length between the calibration tool and a robot tool.
The invention is further described in the detailed description that follows, by reference to the noted drawings by way of non-limiting illustrative embodiments of the invention, in which like reference numerals represent similar parts throughout the drawings. As should be understood, however, the invention is not limited to the precise arrangements and instrumentalities shown. In the drawings:
This invention is directed to calibrating the orientation of a robot spindle and applying the calibrated robot spindle orientation to various robot tools. Referring to
The measurement probe 20 conveys information to a controller 30 indicating when the tool 22 is in contact with the probe 20. This information could be as simple as a Boolean e.g., contact, no contact, or the probe could include absolute or relative position measurement information. The measurement probe 20 may include, but not be limited to a 1, 2, and 3 dimensional coordinate measurement machine (CMM) probes, touch probes, position sensors such as potentiometers, LVDTs (Linear Variable Displacement Transformers), and the like, gauging sensors, non-contacting sensors such as magnetic, laser, ultrasonic, and infrared sensors, and the like, as well as combinations including at least one of the foregoing. Similarly, it will be appreciated that employing a measurement probe 20 that includes a displacement sensor may facilitate computations for the calibration. For example, employing a displacement sensor instead of a touch probe would facilitate a direct measurement of actual position and computation of differences for each measurement and there by simplify computing the tool center point and axis of rotation.
The work area may also include a workpiece 34, upon which robot based operations are to be performed. The robot system may also include appropriate tool storage 32 to facilitate selecting a particular tool 22 in accordance with specified instructions. Appropriate interlocks may optionally be employed to ensure that a proper tool has been selected and engaged by the robot 12 from the tool storage 32 to perform the desired function.
Referring to
In an exemplary embodiment, the calibration tool 50, a cylindrically shaped tool is used as a calibration target. An exemplary tool of known dimension e.g., Cylinder Length, and radius, is shown in FIG. 2A. It will be appreciated that while a cylinder is employed and described for an exemplary embodiment, other configurations of the calibration tool 50 are possible. For example, the calibration tool 50 may readily be cylindrical, hollowed cylinder, a disk (flat cylinder) spherical, cubic, conic, tubular, and the like. A cylinder calibration tool has been selected for simplified measurements and mathematical computations for determination of the TCP. Other configurations of robot tools e.g., 60 may promote selection of a calibration tool 50 of a different configuration.
Returning to
To simplify calculations, two coordinate systems for the robot are defined. The first is denoted the world coordinate system, Xw and is generally the robot base coordinate frame. The world coordinate system, Xw is fixed relative to the robot and does not change as the robot is manipulated. The second coordinate system Xt is referenced to the robot mounting flange or face 26 (for mounting the spindle 18). As the robot moves, the second coordinate system Xt moves relative to the world coordinate system Xw. The tool position, as mounted to the spindle 18 is relative to the second coordinate system and therefore, does not change with respect to the that coordinate system.
Turning now to the calibration methodology, the CMM probe 20 is placed in a fixed location with the tip of the probe at X0. When the robot touches the probe, the robot position is recorded as T0 in the robot world coordinate system Xw. The probe position in the mounting flange coordinate system is X0′, =inv(T0)*X0, where inv(T0) is the matrix inverse of the matrix T0. X0′ is in the mounting flange coordinate system (Xt) and all touch points in the Xt coordinate system can be used to determine a plane or cylinder model.
At process block 120, at a first angular position of the spindle 18 (e.g., at theta=0 degrees where theta is the angular rotation of the spindle 18 as measured with a spindle angle encoder on the robot), the normal of the top surface 54 (nxl, nyl, nzl) of the cylinder 52 is determined with measurements taken in conjunction with the CMM probe 20. A recursive loop initiated at decision block 130 and block 140 facilitates repeated measurements for five different positions on the top surface 54. A measurement of five points on the top surface 54 can determine the plane position (nxl, nyl, nzl, dl). While five points are utilized in an exemplary embodiment, it will be appreciated that at least three points are necessary to determine the orientation of a plane. Additional measurements are utilized to improve the accuracy and reliability of the determination of the orientation of the plane. Process block 150 depicts the determination of a first plane for the top surface 54 of the calibration tool 50 e.g., cylinder 52. The determined plane orientation for the top surface 54 is relative to the robot spindle face 26 and mounting flange coordinate system denoted Xt. The normal to this plane should define the axis of rotation for the spindle 18. However, due to inaccuracies, the normal to the plane determined above may not exactly align with the axis of rotation for the spindle 18. To alleviate this inaccuracy, an additional measurement is taken to improve the accuracy of the calibration process 100.
Continuing with the figure, at block 160, the spindle 18 may now be rotated to a second angular position (e.g., to 2*pi*n/N degree position, where n can be 1, 2, N−1). In an exemplary embodiment, N is selected to be greater than or equal to four depending on accuracy and repeatability requirements. It will be appreciated, once again, that increasing N, generally increases accuracy of the determination. At this rotation, the above mention procedure of process block 110-150 is repeated to determine a second plane defining the top surface 54 of the calibration tool 50. This process may be repeated to obtain i separate cylinder top plane positions (nxi, nyi, nzi, di) corresponding to each respective spindle angle (thetai). Decision block 170 depicts repeating the process for n rotations.
Each determined cylinder top plane position (nxi, nyi, nzi, di) is likely to be slightly different due to mounting errors of the cylinder tool to the spindle, machining imperfections of the cylinder tool, and the like. Averaging the measured data to obtain a composite normal vector is determined by synthesizing all normal vectors, according to the following:
nx=sum(Nxi)/N
ny=sum(Nyi)/N
nz=sum(Nzi)/N
The resultant composite normal vector nx, ny, nz represents a composite orientation for the axis of rotation of the spindle 18.
Continuing with
Next, the composite tool center position, denoted (Tx0, Ty0, Tz0), of the top surface of the cylinder 52, is thereafter readily calculated by an average of the several center positions. The average composite tool center position for all spindle positions is:
Tx0=sum(Txi)/N
Ty0=sum(Tyi)/N
Tz0=sum(Tzi)/N
Advantageously, once the cylinder center and orientation of the axis of rotation for the spindle 18 is calibrated it is possible to calibrate other robot tools e.g., 60. First, the new tool orientation is assumed to be the same as the spindle rotating axis. In order to get TCP of all tools, the length of each tool needs to be measured and compared with the length of the cylinder. It will be appreciated that this measurement may be performed in advance, with the results stored in controller 30 for later use and processing. Additionally, updates may then be readily made as robot tools 60 change, are sharpened, reshaped, and the like as well as combinations including at least one of the foregoing.
At process block 190, the tool center point TCP, (Tx, Ty, Tz) of the new tool e.g., 60 may now be readily calculated according to:
Tx=Tx0+(Tool Length−Cylinder Length)*nx
Ty=Ty0+(Tool Length−Cylinder Length)*ny
Tz=Tz0+(Tool Length−Cylinder Length)*nz
Where (Tx0, Ty0, Tz0) are the TCP positions of the cylinder (as determined above at process block 180) and (nx, ny, nz) are the coordinates for the spindle orientation normal vector as determined at process block 150).
Advantageously, the calibration technique disclosed herein does not rely on accounting for mechanical tolerances and can determine rotation axis regardless of mounting error. Moreover, the TCP of the calibration tool 50 (e.g., cylinder 52) is found with a CMM probe instead of using visual inspection, potentially increasing accuracy and reliability.
Referring now to
While the invention has been described with reference to a particular structure, materials, and/or exemplary embodiment, it is not intended to be limited to the particulars disclosed herein. Moreover, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims. Moreover, the use of the terms first, second, etc. do not denote any order or importance, but rather the terms first, second, etc. are used to distinguish one element from another. The selection of particular wording herein is for the purposes of description and illustration, rather than for a particular limitation
Number | Date | Country | Kind |
---|---|---|---|
PCT/US03/03052 | Jan 2003 | WO | international |
This application claims the benefit of PCT/US03/03052 filed Jan. 31, 2003 which claims the priority of U.S. provisional application No. 60/353,671 filed Jan. 31, 2002 the contents of which are incorporated by reference herein in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
4477754 | Roch et al. | Oct 1984 | A |
4561050 | Iguchi et al. | Dec 1985 | A |
5392384 | Tounai et al. | Feb 1995 | A |
5457367 | Thorne | Oct 1995 | A |
5483138 | Shmookler et al. | Jan 1996 | A |
5829928 | Harmand et al. | Nov 1998 | A |
5910719 | Thorne | Jun 1999 | A |
5929584 | Gunnarsson et al. | Jul 1999 | A |
6044308 | Huissoon | Mar 2000 | A |
6044310 | Douglass | Mar 2000 | A |
6071176 | Kruis | Jun 2000 | A |
6321137 | De Smet | Nov 2001 | B1 |
6327517 | Sundar | Dec 2001 | B1 |
6356807 | McGee et al. | Mar 2002 | B1 |
6430472 | Boillot et al. | Aug 2002 | B1 |
6463782 | Shen et al. | Oct 2002 | B1 |
6502054 | Mooring et al. | Dec 2002 | B1 |
6516248 | McGee et al. | Feb 2003 | B2 |
6587802 | Schroder et al. | Jul 2003 | B1 |
6678581 | Hung et al. | Jan 2004 | B2 |
Number | Date | Country |
---|---|---|
1 139 189 | Apr 2001 | EP |
Number | Date | Country | |
---|---|---|---|
20030167103 A1 | Sep 2003 | US |
Number | Date | Country | |
---|---|---|---|
60353671 | Jan 2002 | US |