Tool position compensation method

Information

  • Patent Grant
  • 4816733
  • Patent Number
    4,816,733
  • Date Filed
    Tuesday, March 4, 1986
    38 years ago
  • Date Issued
    Tuesday, March 28, 1989
    35 years ago
Abstract
A tool position compensation method for correcting a tool position when an old tool (16) mounted on a hand (15) of a robot is replaced. Information on the axes of the robot after the new tool is mounted is obtained based on information on the axes of the robot taught before the old tool is replaced, tool position information (TCP1) at that time, and tool position information TCP2) after the new tool is mounted.
Description

BACKGROUND OF THE INVENTION
1. Technical Field
The present invention relates to a tool position compensation method, and more particularly to a tool position compensation method which, when a tool on a hand of an industrial robot is replaced, is capable of easily converting the position of a new tool based on the point data taught by the replaced tool.
2. Description of the Related Art
Industrial robots have found widespread use and are being used in many fields in recent years. As numerical control technology is advanced, more industrial robots are numerically controlled for improved operation. Multi-articulation robots have many axes, and are widely used in the welding process as they can perform a highly sophisticated operation.
FIG. 7 of the accompanying drawings is a perspective view of a general industrial robot which is an articulated robot having six axes. The articulated robot has a T-axis about which an arm assembly rotates, a W-axis about which a lower arm is tilted back and forth, a U-axis about which an upper arm is tilted vertically, an A-axis about which a wrist rotates in a horizontal plane, a B-axis about which the wrist moves in a vertical plane, and a C(.gamma.)-axis about which the wrist rolls, these axes being independently controlled. Designated at 1 in FIG. 7 is a base on which the articulated robot is supported. A T(.theta.)-axis servo motor 2 is mounted on the base 1 for turning the axes about the vertical axis (T-axis). On the T(.theta.)-axis servo motor 2, there is mounted a T(.theta.)-axis unit 3 rotated by the servo motor 2. A W-axis unit 4 is fixedly mounted on the T(.theta.)-axis unit 3, and a W-axis arm 5 is rotatably supported by a pivot shaft 5a on the W-axis unit 4, the W-axis arm 5 being operated by a W-axis drive mechanism 6. A U-axis arm 7 is rotatably supported by a pivot shaft 7a on the distal end of the W-axis arm 5, the U-axis arm 7 being operated by a U-axis drive mechanism 8. A wrist mechanism 9 is mounted on the distal end of the U-axis arm 7. The wrist mechanism 9 is rotated by an A-axis servo motor 10, vertically swung by a B-axis servo motor 11, and rolled by a C-axis servo motor 12. Desired operation is performed by a tool attached to the wrist mechanism 9. An articulated robot of the type described above is disclosed in Japanese Laid-Open Patent Publication No. 59-59371, for example.
A teach and playback robot control process has widely been used in which a tool is mounted onto the hand of a robot. In this process, the robot is manually trained by being moved through steps or points to store such points in a data memory in a control unit. The points can later be traced by the tool automatically. However, the training process is considerably difficult to effect. There are many types of tools available and points to be taught are different from tool to tool. Therefore, when a tool is replaced, the new tool has to be trained entirely, which is quite tedious and low in efficiency.
SUMMARY OF THE INVENTION
It is an object of the present invention to provide a tool position compensation method for the situation where a tool mounted on a hand of a robot is replaced with a new tool the compensation method easily and accurately correcting the tool position of the new tool by obtaining information on the axes of the robot after the new tool has been mounted, on the basis of tool position information prior to the tool change.
According to the present invention, there is provided a tool position compensation method for enabling a robot control device to correct the position of a new tool when a tool mounted on a hand of a robot is replaced, the method comprising the step of enabling the robot control device to obtain information on the axes of the robot after the tool is replaced based on information on the axes of the robot taught before the tool is replaced, tool position information at that time, and tool position information after the tool is replaced.
According to the present invention, the information on the axes of the robot after the tool is replaced is obtained on the basis of the information on the axes of the robot taught before the tool is replaced, the tool position information at that time, and the tool position information after the tool is replaced. Therefore, the taught information prior to the tool change can be effectively utilized, and the tool position compensation due to the tool change can easily and accurately be carried out.
The other objects and features of the present invention will become apparent from the following description.





BRIEF DESCRIPTION OF THE DRAWINGS
FIGS. 1(a)-1(c) are a set of views used for explaining the manner in which a tool is attached to a robot hand;
FIG. 2 is a view used for explaining tool position conversion in a first situation (pattern 1);
FIG. 3 is a view used for explaining tool position conversion in a second situation (pattern 2);
FIG. 4 is a diagram illustration the flow of a tool compensation process for pattern 1;
FIG. 5 is a diagram illustration the flow of a tool compensation process for pattern 2;
FIG. 6 is a diagram of coordinate systems for a robot, a hand thereof, and a tool; and
FIG. 7 is a perspective view of a general six-axis-controlled multi-articulation robot.





DESCRIPTION OF THE PREFERRED EMBODIMENT
An embodiment of the present invention will hereinafter be described in detail with reference to the drawings.
FIG. 6 is a diagram of coordinate systems for a robot, its hand, and a tool. Designated at X, Y, Z is a reference coordinate system for the robot, having an origin O. Denoted at , , are hand posture vectors defining the robot hand coordinate system, , , correspond tool posture vectors defining the tool coordinate system, and TCP correspond to a tool point (also referred to as a tool grip point).
FIGS. 1(a) 1(c) are illustrative of the manner in which a tool 16 is mounted on the distal end of a robot hand 15. FIG. 1(a) (hereinafter referred to as a reference condition) and FIG. 1(b) (hereinafter referred to as a second condition) differ from each other only as to the length of the tool shank, and are defined in the same tool coordinate system (hereinafter referred to as tool coordinate system 1). The relationship between the reference condition and the second condition is defined as a pattern 1.
Where a tool 16-3 is mounted on the distal end of the robot hand 15 as shown in FIG. 1(c) (hereinafter referred to as a third condition), the tool center point TCP and the coordinate system are different from those in the reference condition. The relationship between the reference condition and the third condition is defined as a pattern 3.
Processes of tool position compensation for the patterns 1 and 2 will be described below.
(1) Pattern 1:
FIG. 4 is illustrative of the flow of a tool position compensation process in the pattern 1. Data items (T.sub.1, W.sub.1, U.sub.1, C.sub.1, B.sub.1, A.sub.1) on the axes of the robot which are taught in the reference condition and stored in a data memory in a control device are converted into robot axis data items (T.sub.2, W.sub.2, U.sub.2, C.sub.2, B.sub.2, A.sub.2) usable in the second condition in the following manner:
The control device first computes the position (x.sub.1, y.sub.1, z.sub.1) of the hand grip position in the robot reference coordinates and computes the hand posture vectors .sub.1, .sub.1, .sub.1 based on the robot axis data items (T.sub.1, W.sub.1, U.sub.1, C.sub.1, B.sub.1, A.sub.1) in the reference condition which are stored in the data memory and also on the tool center point TCP1 obtained in the reference condition. The above computation can easily be carried out since it is a direct conversion.
Then, the control device computes the robot axis data items (T.sub.2, W.sub.2, U.sub.2, C.sub.2, B.sub.2, A.sub.2) based on the above computed data items (x.sub.1, y.sub.1, z.sub.1, .sub.1, .sub.1, .sub.1) and the tool center point TCP2 selected in the second condition. This computation is an inverse conversion and can easily be carried out.
Therefore, the tool position compensation can easily and accurately be effected for the pattern 1 based on the data items taught before the tool is replaced.
(2) Pattern 2:
FIG. 5 is illustrative of the flow of a tool position compensation process for the pattern 2. Data items (T.sub.1, W.sub.1, U.sub.1, C.sub.1, B.sub.1, A.sub.1) on the axes of the robot which are taught in the reference condition are converted into robot axis data items (T.sub.3, W.sub.3, U.sub.3, C.sub.3, B.sub.3, A.sub.3) usable in the third condition in the following manner:
The control device first computes the position (x.sub.1, y.sub.1, z.sub.1) of the hand grip position in the robot reference coordinates and the hand posture vectors .sub.1, .sub.1, .sub.1 based on the robot axis data items (T.sub.1, W.sub.1, U.sub.1, C.sub.1, B.sub.1, A.sub.1) taught in the reference condition which are stored in the data memory and also on the tool center point TCP1 obtained in the reference condition. The above computation can easily be carried out since it is a direct conversion.
Then, the control device computes the tool posture vector .sub.1, .sub.1, .sub.1 based on the hand posture vectors , , , and the tool coordinates 1 obtained in the reference condition.
Then, the control device computes hand posture vector .sub.2, .sub.2, .sub.2 in the third condition based on the tool posture vectors .sub.1, .sub.1, .sub.1 and the tool coordinates 3 obtained in the third condition.
It is apparent that direct and inverse conversions can always be effected between the hand posture vectors , , and the tool posture vectors , , in the tool coordinate system provided the new and old grip positions are known. This is because the following equations can be established through the intermediary of one 3.times.3 fixed matrix since the relative positions of the hand coordinate system and the tool coordinate system are fixed in space for each tool: ##EQU1##
To determine (M), the values of the axes of the robot are used as setting data, and the hand posture vectors .sub.0, .sub.0, .sub.0 at that time can be derived from the setting data. By setting,
( .sub.0, .sub.0, .sub.0)=.sup.T (M)
the conversion between the hand posture vectors l, m, n and the tool posture vectors , , in the tool coordinate system can easily be performed.
Finally, the control device computes the values of the robot axes based on the selected data items (x.sub.1, y.sub.1, z.sub.1, .sub.2, .sub.2, .sub.2) and the tool center point TCP3 selected in the third condition.
The tool position compensation after the tool has been replaced can be effected in the pattern 2, using the information prior to tool change.
FIG. 2 shows the conversion for the pattern 1, in which the tool position is corrected in the longitudinal direction of the shank thereof.
FIG. 3 is illustrative of the conversion for the pattern 2, in which the change in tool position results changes in the grip point and the grip direction.
Although a certain preferred embodiment has been shown and described, it should be understood that many changes and modifications may be made therein without departing from the scope of the invention.
According to a tool position compensation method of the invention, as described above, when a tool mounted on a hand of a robot is replaced, information on the axes of the robot after the tool is replaced is obtained by employing information of the robot axes which is taught before the tool is replaced and tool position information at that time. Since the tool position compensation arising from a tool change can easily and accurately be carried out, the tool position compensation method of the invention can be preferably used in numerically controlled machine tools, welding machines, and the like which effect various operations.
Claims
  • 1. A tool position compensation method for enabling a robot control device to correct a position of a new tool when and old tool, mounted on a hand of a robot and maneuverable about axes of the robot, is replaced, the method comprising the steps of:
  • (a) obtaining information on the axes of the robot taught before the old tool is replaced, tool position information existing before the old tool is replaced, and tool position information after the new tool is mounted; and
  • (b) calculating information on the axes of the robot based upon information obtained in step (a).
  • 2. A tool position compensation method for enabling a robot control device to correct a position of a new tool when an old tool, mounted on a hand of a robot and maneuverable about axes of the robot, is replaced, the method comprising the steps of:
  • (a) determining a grip position of the hand and hand posture vectors in a reference coordinate system based on information on the axes of the robot in a reference condition and tool position information in the reference condition; and
  • (b) obtaining information on the axes of the robot after the new tool is mounted based on the information determined in step (a) and tool position information after the new tool is mounted.
  • 3. A tool position compensation method for enabling a robot control device to correct a position of a new tool when an old tool, mounted on a hand of a robot and maneuverable about axes of the robot, is replaced, the method comprising the steps of:
  • (a) determining a grip position of the hand and hand posture vectors in a reference coordinate system based on information on the axes of the robot in a reference condition and tool position information in the reference condition;
  • (b) determining tool posture vectors based on the grip position, hand posture vectors and the tool position determined in step (a);
  • (c) determining hand posture vectors after the new tool is mounted based on the grip position determined in step (a), the tool posture vectors determined in step (b) and the tool position after the new tool is mounted; and
  • (d) calculating information on the axes of the robot after the new tool is mounted based on the determined information and tool position information after the new tool is mounted.
  • 4. A method for compensating for differences between orientation of a first tool and a second tool when the first tool is replaced with the second tool in a robot hand of a robot, comprising the steps of:
  • (a) establishing, immediately prior to replacing the first tool, a reference position of the robot hand in terms of a first set of robot axis data for orientation of the first tool with respect to a fixed point in space; and
  • (b) obtaining, after replacing the first tool, a second set of robot axis data from the first set of robot axis data and a second position of the robot hand, the second position of the robot hand orienting the second tool with the fixed point in space.
  • 5. A method as recited in claim 4, wherein step (a) comprises the steps of:
  • (ai) determining first robot hand coordinates using the first set of axis data when the first tool is oriented with the fixed point in space, and
  • (aii) determining first hand posture vectors using the first set of robot axis data when the first tool is oriented with the fixed point in space.
  • 6. A method as recited in claim 5, wherein step (b) comprises the steps of:
  • (bi) determining second robot hand coordinates using the first set of robot axis data for orientation of the second tool with the fixed point in space;
  • (bii) calculating an offset from the first set of robot axis data between the first and second robot hand coordinates; and
  • (biii) applying the offset to the first set of robot axis data to generate the second set of robot axis data.
  • 7. A method as recited in claim 5, wherein step (b) comprises the steps of:
  • (bi) determining second robot hand coordinates using the first set of robot axis data for orientation of the second tool with the fixed point in space;
  • (bii) determining second hand posture vectors using the first set of robot axis data for orientation of the second tool with the fixed point in space; and
  • (biii) generating the second set of robot axis data from the first set of robot axis data in dependence upon differences between the first and second hand posture vectors and the first and second robot hand coordinates.
Priority Claims (1)
Number Date Country Kind
59-147196 Jul 1984 JPX
PCT Information
Filing Document Filing Date Country Kind 102e Date 371c Date
PCT/JP85/00396 7/13/1985 3/4/1986 3/4/1986
Publishing Document Publishing Date Country Kind
WO86/00729 1/30/1986
US Referenced Citations (7)
Number Name Date Kind
4497029 Kiyokawa Jan 1985
4594670 Itoh Jun 1986
4595989 Vasukawa et al. Jun 1986
4608645 Niwa Aug 1986
4617502 Sakaue Oct 1986
4620281 Thompson et al. Oct 1986
4626756 Inaba et al. Dec 1986