Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
AN APPARATUS AND A METHOF FOR CALIBRATION OF AN INDUSTRIAL ROBOT
Document Type and Number:
WIPO Patent Application WO/2002/084216
Kind Code:
A1
Abstract:
An apparatus for calibration of an industrial robot, the apparatus comprising a body (7) having a first angle-measuring member (10) arranged for measuring an angle relative to the vertical ine about a first measuring axis (12) and mouting means (8, 9, 25) for mounting the body to the robot during the calibration. The apparatus comprises a second angle-measuring member (11) arranged for measuring an angle relative to the vertical line about a second measuring axis (13) differing from the first measuring axis. A method for calibration of an industrial robot having a plurality of sections movably connected to each for rotation about a plurality of axes, using an apparatus according to claim 1 or 2, the method comprising: attaching the body (7) to a section of the robot, reading an angle measurement from the first angle-measuring member (10), moving the robot about a first axis in dependence of said angle measurement for the first angle-measuring member (10), reading an angle measurement fro the second angle-measuring member (11), and moving the robot about a second axis in dependence of said angle measurement from the second angle-measuring member (11).

Inventors:
FORSS TORBJOERN (SE)
JOHNSSON KARL-GUNNAR (SE)
LARSSON JAN (SE)
PERSSON STIG (SE)
GUSTAVSSON TOMAS (SE)
Application Number:
PCT/SE2002/000266
Publication Date:
October 24, 2002
Filing Date:
February 15, 2002
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ABB AB (SE)
FORSS TORBJOERN (SE)
JOHNSSON KARL-GUNNAR (SE)
LARSSON JAN (SE)
PERSSON STIG (SE)
GUSTAVSSON TOMAS (SE)
International Classes:
B25J9/10; B25J9/16; B25J9/22; G01C9/00; G01C25/00; (IPC1-7): G01C9/00; B25J19/02; G05B19/401; G12B13/00
Foreign References:
US3146529A1964-09-01
US5210954A1993-05-18
US4505049A1985-03-19
Other References:
See also references of EP 1379837A1
Attorney, Agent or Firm:
ABB GROUP SERVICES CENTER AB (Legal & Compliance/Intellectual Property S-721-78 Västerås, SE)
Download PDF:
Claims:
CLAIMS
1. An apparatus for calibration of an industrial robot, the appa ratus comprising a body (7) having a first anglemeasuring mem ber (10) arranged for measuring an angle relative to the vertical line about a first measuring axis (12) and mounting means (8,9, 25) for mounting the body to the robot during the calibration characterised in that the apparatus comprises a second angle measuring member (11) arranged for measuring an angle relative to the vertical line about a second measuring axis (13) differing from the first measuring axis.
2. An apparatus according to claim 1, characterised in that the second anglemeasuring member (11) is arranged with its meas uring axis essentially perpendicularly to the measuring axis of the first anglemeasuring member (10).
3. An apparatus according to claim 1 or 2, characterised in that said mounting means comprises a first mounting arrangement (8) for mounting the body to a plane of reference of the robot, the mounting arrangement comprising three protruding contact ele ments (15) being arranged so that the body is in contact with the plane of reference through said contact elements during the cali bration.
4. An apparatus according to claim 3, characterised in that each of the contact elements (15) comprises a flat portion adapted for being in contact with the plane of reference during the calibration.
5. An apparatus according to claim 3 or 4, characterised in that the contact elements are arranged so that they form corners of a triangle.
6. An apparatus according to any of the claims 35, charac terised in that the mounting arrangement comprises an attach ment element (17) for attaching the body to the plane of refer ence.
7. An apparatus according to claim 6, characterised in that the attachment element (17) is a screw.
8. An apparatus according to any of the claims 37, charac terised in that the mounting means comprises a second mounting arrangement (9) for mounting the body (7) to a second plane of reference on the robot, that said second mounting arrangement (9) is arranged in an angle relative to the first mounting arrange ment (8) and that said angle essentially corresponds to the angle between two planes of reference of the robot when the robot is in its calibration configuration.
9. An apparatus according to claim 8, characterised in that the first mounting arrangement 8 is arranged in a first plan and the second mounting arrangement 9 is arranged in a second plane being essentially perpendicular to the first plan.
10. An apparatus according to claim 8 or 9, characterised in that the first mounting arrangement (8) comprises key means (19) adapted for cooperating with corresponding key means (24) on the first plane of references, that the second mounting ar rangement (9) comprises key means (22) adapted for cooperating with corresponding key means on the second plane of reference, and that the key means (19) of the first mounting arrangement differs from the key means (22) of the second mounting arrange ment.
11. An apparatus according to claim 10, characterised in that each key means of the mounting arrangements comprises at least one protruding element (19) adapted to fit in with a corre sponding notch (24) in the plane of reference, and the keymeans of the first and the second mounting arrangement have different shape.
12. An apparatus according to claim 10, characterised in that each key means of the mounting arrangements comprises at least two protruding elements adapted to fit in with corresponding notches in the plane of reference and that the distance (dl, d2) between the protruding elements (19,22) differs between the first mounting arrangement (8) and the second mounting ar rangement (9).
13. An apparatus according to any of the previous claims, char acterised in that the mounting means comprises a mounting member (25) for pivotally connecting the body (7) to the robot.
14. An apparatus according to claim 13, characterised in that said mounting member comprises a shaft (27) having an attach ment element (29) for attaching the shaft to the robot (2), the body (7) being arranged pivotal about that shaft (27).
15. An apparatus according to claim 13 or 14, characterised in that the apparatus comprises a calibration element (35) for mounting to the robot and the body (7) comprises a portion (32) adapted for being in contact with said calibration element (35) during calibration.
16. An apparatus according to claim 15, characterised in that the body (7) is shaped so that its centre of gravity is displaced in relation to an axis through said mounting member (25) and said portion (32) adapted for being in contact with said calibration element (35).
17. An apparatus according to claim 15 characterised in that the body (7) is essentially Lshaped having a first (7a) and a second (7b) branch essentially perpendicular to each other, said mounting member (25) and said portion (32) being located at or in the vicinity of the first branch (7a).
18. An apparatus according to any of the previous claims, wherein the robot is connected to a control system (42) via a ca bling member (44) adapted for transferring power and signals between the robot and the control system, characterised in that the apparatus comprises a junction member (46) electrically con nected to the anglemeasuring member (10,11), the junction member (46) being provided with a connector (49) for connection to said cabling member (44) and means for transferring power to the anglemeasuring member and transferring measurement val ues from the anglemeasuring member via said cabling member.
19. A method for calibration of an industrial robot having a plu rality of sections movably connected to each for rotation about a plurality of axes, using an apparatus according to claim 1 or 2, the method comprising: attaching the body (7) to a section of the robot, reading an angle measurement from the first angle measuring member (10), moving the robot about a first axis in dependence of said angle measurement from the first anglemeasuring member (10), reading an angle measurement from the second angle measuring member (11), and moving the robot about a second axis in dependence of said angle measurement from the second anglemeasuring member (11).
20. A method for calibration of an industrial robot according to claim 19, comprising: providing the robot with a protruding calibration element (35), pivotally attaching the body (7) to a section being movable about an essentially vertical axis, moving the section about said vertical axis until the body (7) is in contact with the calibration element, reading an angle measurement from the first anglemeasuring member (10), moving the section about said vertical axis in dependence of said angle measurement from the first anglemeasuring member (10).
21. A method for calibration of an industrial robot according to claim 19 or 20, wherein the step attaching the body (7) to a sec tion of the robot comprises: bringing the contact elements of the calibration body into contact with a plane of reference on the robot, attaching the calibration body to the plane of reference.
22. A computer program product comprising a computer read able medium, having thereon a computer readable program means which, when run on a computer, makes the computer per form calibration of an industrial robot with a calibration apparatus according to any of the claims 118, including: receiving an angle measurement from the first anglemeasuring member (10), sending control signals to the robot about moving a first axis of the robot in dependence of said angle measurement from the first anglemeasuring member, receiving an angle measurement from the second angle measuring member, and sending control signals to the robot about moving a second axis in dependence of said angle measurement from the second anglemeasuring member.
Description:
AN APPARATUS AND A METHOD FOR CALIBRATION OF AN INDUSTRIAL ROBOT FIELD OF THE INVENTION The present invention relates to an apparatus for calibration of an industrial robot, the apparatus comprising a body having a first angle-measuring member arranged for measuring an angle relative to the vertical line about a first measuring axis and mounting means for mounting the body to the robot during the calibration. The present invention also relates to a system for ro- bot calibration comprising an industrial robot and an apparatus for calibration of the industrial robot. The present invention fur- ther relates to a method for calibration of an industrial robot hav- ing a first and a second axis. The present invention also relates to a computer program product in connection with the calibration of an industrial robot.

PRIOR ART An industrial robot can be viewed as a chain of sections movably connected to each other. Two adjacent sections are joined to each other so that they either are rotatable relative to each other about a rotational axis or linearly displaceable relative to each other. The first section in the chain is the base of the robot and the last section usually constitutes a tool attachment. For the possibility to determine the position of the robot, each joint usu- ally is provided with an angle-measuring device in the form of an encoder or a resolver indicating the position of the joint relative to a zero position. Before an industrial robot can be used it must be calibrated, which means that each of the angle-measuring de- vices is calibrated with reference to the zero position. The robot is calibrated in the production plant before it is delivered and sometimes on site before being set to work. Thereafter, the robot

is calibrated after larger repairs such as motor or arm changes or after collisions.

In the patent document US 5 239 855, a known method of cali- bration is shown, in which an inclinometer or some other type of instrument for measuring the inclination is used to calibrate the angle-measuring devices. An inclinometer measures the angle between an object and the vertical line and is, for example, an electronic spirit level. The inclinometer is placed on a plane of reference on one of the sections, and generates a signal, which is a measure of the angle between the plane of reference of the section and the vertical line. Thereafter, the joint is moved in de- pendence of the generated signal until it has a predetermined angle relative to the vertical line. The other sections are cali- brated in the same way.

The placement of the planes of reference against which the cali- bration device is to be attached is predetermined. The planes of reference consists of accurately machined surfaces to obtain a high degree of flatness. When the robot is to be calibrated, it is moved to a predetermined calibration configuration. In this con- figuration, at least one of the sections is usually oriented in a di- rection, which differs from the directions of the other sections.

Usually, the angles between the length axes of the sections are approximately 90°. Thus, the planes of reference may have dif- ferent directions depending on which section to be calibrated.

The planes of reference are usually either horizontal or vertical during the calibration.

A problem with said method of calibration is that the inclinometer must be mounted on the planes of reference of the robot with a very high precision. The inclinometer is first put on an incli- nometer plate, which is then mounted on an adapter plate. The adapter plate is then attached to the plane of reference. De- pending on the direction of the plane of reference to be cali- brated, today different adapter plates are used. Usually, one type of adapter plate is used for horizontal planes of reference and

another type of adapter plate is used for vertical planes. This way of attaching the inclinometer. to the robot includes a large number of sources of error. Examples of sources of error are mounting errors between the adapter plate and the plane of ref- erence of the robot, mounting errors between the inclinometer plate and the adapter plate, and errors of tolerance of the adapter plate. The fact that several different adapter plates are used also contributes to increasing the mounting error.

An apparatus for calibration of an articulated robot is shown in US patent No. 4 505 049. The calibration apparatus comprises an inclinometer provided on an inclinometer plate, which is mounted on one sidepiece of an L-shaped adapter plate. The other side- piece of the L-shaped adapter plate has a flat surface adapted for being in contact with the plane of reference during the cali- bration. The flat surface of the adapter plate is provided with po- sitioning means projecting from the surface and is adapted to fit in with corresponding receiving means formed in the plane of reference. The object of the positioning means is to establish a definitely determined positional relation between the surface and the plane of'reference.

A common type of industrial robot comprises a base adapted for resting on a horizontal foundation and a stand, which is rotation- ally arranged relative to the base about a first vertical axis. Since the first axis is essentially parallel with the vertical line, it cannot be calibrated with an inclinometer attached to the stand. Ac- cordingly, a second problem with the method of calibration de- scribed above is that it cannot calibrate rotational axes parallel with the vertical line.

SUMMARY OF THE INVENTION The present invention has been developed to obviate the above- described disadvantages of the prior art and has as its object the provision of an apparatus and a method and a computer program product for calibration of an industrial robot, wherein the error

during the mounting of the body on the plane of reference is re- duced.

The apparatus according to the present invention is character- ised in that the apparatus comprises a second angle-measuring member arranged for measuring an angle relative to the vertical line about a second measuring axis differing from the first meas- uring axis. By having two angle-measuring members arranged with an angle relative to each other, it is possible to calibrate in two directions without having to rotate the angle-measuring member. Advantageously, the second angle-measuring member is arranged essentially perpendicularly to the first angle- measuring member. This means that two axes being perpen- dicular to each other can be calibrated without reorientation of the body. This is advantageous, for example when the wrist axes are to be calibrated, i. e. the axes 3,4,5, and 6, for a robot hav- ing six axes. When the robot is in its predetermined calibration configuration, the axes 4 and 6 are parallel to each other and the axes 3 and 5 are perpendicular to the axes 4 and 6. During the calibration of the wrist axes, the body is placed on the outermost section, which is usually a tool attachment. Thanks to the fact that the body comprises two angle-measuring members arranged perpendicularly to each other, all four axes can be calibrated without moving the body.

According to an embodiment of the invention, the mounting ar- rangement comprises three protruding contact elements being arranged so that the body is in contact with the plane of refer- ence through said contact elements during the calibration. The calibration apparatus and the robot are connected to each other through the contact elements. By using three contact elements the contact area between the calibration apparatus and the plane of reference is reduced without reducing the stability in the con- nection. By reducing the contact area between the calibration apparatus and the robot, the mounting error is reduced as well.

With three contact elements, there are at least three contact points between the body and the plane of reference of the robot,

which means that the angle-measuring member and the robot are fixed relative to each other with at least three degrees of free- dom. A stable attachment of the body against the robot is thus obtained. By positioning the contact elements so that they form corners of a triangle maximum stability is achieved.

According to an embodiment of the invention, each of the contact elements comprises a flat portion adapted for being in contact with the plane of reference during the calibration. From a manu- facturing point of view it is an advantage to make the portion adapted for being in contact with the plane of reference flat.

According to a further embodiment of the invention, the mounting arrangement further comprises an attachment element for at- taching the body to the plane of reference. Preferably, the at- tachment element is a screw. Thereby, a reliable and inexpensive attachment is obtained. Further, the screw and a corresponding hole in the plane of reference facilitates the positioning of the body relative to the plane of reference.

According to a further embodiment of the invention, the appara- tus further comprises a mounting member for pivotally connecting the body to the robot. By this arrangement, it is possible to cali- brate an essentially vertical axis of the robot by mounting the body to the robot such that the body, including the angle- measuring member, forms a pendulum. Hence, it will be possible to calibrate all the axes of the robot using one single body. In a further embodiment, the mounting member comprises a shaft having with an attachment element for attaching the shaft to the robot, the body being arranged pivotal about that shaft.

According to a further embodiment of the invention, the appara- tus comprises a calibration element for mounting to the robot and the body comprises a portion adapted for being in contact with said calibration element during calibration. The robot comprises a first and a second section, the second section being coupled to the first section for rotation about an essentially vertical axis

through the first section. For calibration of the vertical axis through the first section, the body is mounted to the second sec- tion and the calibration element is mounted to the first section.

The robot is moved until the portion of the body is in contact with the calibration element mounted on the first section. When the second section is moved further, the calibration element pushes the body so that it pivots about the shaft, thus causing an angu- lar change of the angle-measuring member. Since the signal from the angle-measuring member depends on the relative position between the first and the second section, it is possible to cali- brate the vertical axis through the first section.

According to a further embodiment of the invention, the body is shaped so that its centre of gravity is displaced in relation to an axis through said mounting member and said portion adapted for being in contact with said calibration element. Thanks to the fact that the centre of gravity is displaced in relation to that axis, the measuring axis deviates from the vertical line when the body is moved into contact with the calibration element and thus it is possible to measure on both sides of the vertical line. The size of the displacement determines the size of the angular interval pos- sible to measure before the measuring axis coincides with the vertical line.

According to a further embodiment of the invention, the body is essentially L-shaped having a first and a second branch arranged essentially perpendicularly to each other, said mounting member and said portion being located at or in the vicinity of the first branch. Such a body has a centre of gravity, which is displaced in relation to an axis through said mounting member and said portion adapted for being in contact with said calibration element when said mounting member is mounted to the stand of the ro- bot.

According to a further embodiment of the invention, the body comprises a second mounting arrangement for mounting the body to a second plane of reference on the robot, said second mount-

ing arrangement being arranged in an angle relative to the first mounting arrangement, said angle essentially corresponding to the angle between two planes of reference of the robot when the robot is in its calibration configuration. With such a second mounting arrangement, the same body can be used for calibra- tion of planes of reference being arranged in two different direc- tions. Accordingly, there is no need for using different calibration bodies or different adapter plates, such as in the prior art, for measuring two planes of reference with different angles relative to the vertical line. The consequence of this is that a source of error, which is difficult to master during calibration, directly dis- appears. The second mounting arrangement is preferably ar- ranged essentially perpendicularly to the first mounting arrange- ment. If the mounting arrangements are arranged perpendicularly against each other, both horizontal and vertical planes of refer- ence can be measured with the same body.

According to a further embodiment of the invention, the first mounting arrangement comprises key means adapted for coop- eration with corresponding key means on the first plane of refer- ences, and the second mounting arrangement comprises key means adapted for cooperation with corresponding key means on the second plane of reference, the key means of the first mount- ing arrangement differing from the key means of the second mounting arrangement. The key means ensures that an operator attaches the body to the right calibration plane and in a right po- sition. Thus, the key-means prevents the operator from by mis- take mounting the body to the plane of reference in a wrong way.

Since the body is provided with two mounting arrangements, there are two possibilities to mount the body on the plane of ref- erence, but only one is correct. The key means of a certain plane of reference only fits in with the correct mounting arrangement and thus misplacement is avoided.

According to a further embodiment of the invention, each key means of the mounting arrangements comprises at least two protruding elements adapted to fit in with corresponding notches

in the plane of reference and that the distance between the pro- truding elements differs between the first mounting arrangement and the second mounting arrangement.

According to a further embodiment of the invention, each key means of the mounting arrangements comprises at least one protruding element adapted to fit in with a corresponding notch in the plane of reference, and the key-means have different shape, such as wedge-shaped or quadrangular. The protruding elements can for instance differ by having different diameters or height.

According to a further embodiment of the invention, each key means of the mounting arrangements comprises at least one protruding element adapted to fit in with a corresponding notch in the plane of reference, and the key-means of the first and the second mounting arrangement have different shape. Preferably, the protruding element has an asymmetrical shape so that it only fits in one position relative to the corresponding notch.

According to a further embodiment of the invention, the robot is connected to a control system via a cabling member adapted for transferring power and signals between the robot and the control system and the apparatus comprises a junction member electri- cally connected to the angle-measuring member, the junction member being provided with a connector for connection to said cabling member and means for transferring power to the angle- measuring member and transferring measurement values from the angle-measuring member via said cabling member. By such an arrangement, the cable member being used for transferring power and signals between the robot and the control system can also be used for transferring power and signals between the control system and the angle-measuring member. An advantage with this arrangement is that the robot does not have to be pro- vided with any extra cable for the calibration. By providing the calibration apparatus with such a junction member, the expenses in connection with providing each robot with an extra cable is avoided.

The method according to the present invention comprises: at- taching the body to a section of the robot, reading an angle measurement from the first angle-measuring member, moving the robot about a first axis in dependence of said angle measure- ment from the first angle-measuring member, reading an angle measurement from the second angle-measuring member, and moving the robot about a second axis in dependence of said an- gle measurement from the second angle-measuring member.

According to an embodiment of the invention, the method further comprises: attaching the body to a section of the robot, reading an angle measurement from the first angle-measuring member, moving the robot about a first axis in dependence of said angle measurement from the first angle-measuring member, reading an angle measurement from the second angle-measuring member, and moving the robot about a second axis in dependence of said angle measurement from the second angle-measuring member.

The computer program product according to the invention com- prises a computer-readable medium, having thereon a computer readable program means which, when run on a computer, makes the computer perform calibration of an industrial robot with the calibration apparatus according to the invention, including re- ceiving an angle measurement from the first angle-measuring member, sending control signals to the robot about moving a first axis of the robot in dependence of said angle measurement from the first angle-measuring member, receiving an angle measure- ment from the second angle-measuring member, and sending control signals to the robot about moving a second axis in de- pendence of said angle measurement from the second angle- measuring member. Thus, the calibration is made automatically and therefore becomes more precise and accurate.

BRIEF DESCRIPTION OF THE DRAWINGS The present invention will now be explained by different embodi- ments described as examples with reference to the appended drawings.

Figure 1 shows an industrial robot in a calibration configu- ration having a calibration apparatus according to the invention mounted thereupon.

Figure 2 is in a perspective view showing an embodiment of a calibration apparatus according to the invention.

Figure 3 is a perspective view showing how the angle- measuring members are positioned relative to each other in the calibration apparatus.

Figure 4a is a side view showing a first side of the calibration apparatus in figure 2.

Figure 4b is a side view showing a second side of the cali- bration apparatus in figure 2.

Figure 5 is a sectional view showing the calibration appa- ratus and the plan of reference of the robot during calibration.

Figures 6a-6c are perspective views showing the body and the robot during calibration of an essentially vertical axis.

Figure 7 shows the electrical connection of the calibration apparatus according to an embodiment of the in- vention.

DESCRIPTION OF EMBODIMENTS Figure 1 shows an example of an industrial robot standing in a calibration configuration. The robot comprises a base 1, which is firmly mounted on a foundation. The robot further comprises a stand 2, which is rotatable relative to the base 1 around a first vertical axis. In the top end of the stand 2, a first robot arm 3, is rotatably mounted about a second horizontal axis. In the outer end of the first arm 3, a second arm 4 is rotatably mounted rela- tive to the first arm about a third axis. The second robot arm 4 comprises two parts, 4a and 4b, and the outer part 4b being ro- tatable relative to the inner part 4a around a fourth axis coincid- ing with the longitudinal axis of the second arm 4. In its outer end, the second arm 4 supports a so-called robot hand 5, which is rotatable about a fifth axis, which is perpendicular to the length axis of the second arm 4. The robot also comprises a tool at- tachment 6. The outer part of the robot hand with the tool at- tachment 6, is rotatable relative to the inner part of the robot hand about a sixth axis. For each of the axes of the robot, there is a level indicator giving a signal, which is a measure of the pre- sent rotational angle of the axis. The output signal from the level indicator is transmitted to a control system of the robot.

When the robot is in its calibration configuration, the axis of the robot are in their calibration position, as shown in figure 1, the first arm 3 is placed parallel with the first axis, i. e. parallel with the vertical line, the second arm 4 is placed perpendicular to the first arm 3 and the robot hand 5 is placed parallel with the length axis of the second arm, i. e. perpendicular to the vertical line. On an industrial robot, there is usually a plurality of especially formed planes of reference intended for being used during cali- bration of the robot. In figure 1, a body 7 according to the inven- tion is shown arranged on some of these planes of reference. A first plane of reference on the robot is arranged on the base 1, a second plane of reference is arranged on the first arm 3, a third plane of reference is arranged on the second arm 4, and a fourth and last plane of reference is arranged on the tool attachment 6.

The fourth plane of reference may also be provided on a detach- able plate attached to the tool during the calibration.

Figures 2 show an embodiment of a calibration apparatus ac- cording to the invention. The apparatus comprises a body 7 hav- ing a first and a second mounting arrangement 8,9 for mounting the body to the planes of reference of the robot. The body further comprises two angle-measuring members 10,11 in the form of inclinometers measuring the angle of an object relative to the vertical line. An inclinometer functions as an electronic level and measures the inclination angle about a measuring axis. The in- clinometers 10,11 are positioned with their measuring axes 12, 13 perpendicular to each other. Figure 3 shows the angle- measuring members 10,11 in more detail.

The body 7 is essentially L-shaped having a first and a second branch 7a, 7b arranged essentially perpendicularly to each other.

The first mounting arrangement 8 is mounted on a surface of the first branch 7a and the second mounting arrangement 9 is mounted on a surface of the second branch 7b. Accordingly, the mounting arrangements are arranged perpendicularly to each other. The first angle-measuring member 10 is positioned with its measuring axis 12 essentially parallel to the surface of the first branch 7a and perpendicularly to the surface second branch 7b.

The second angle-measuring member 11 is positioned with its measuring axis 13 essentially perpendicularly to the surface of the first branch 7a and parallel to the surface second branch 7b.

Figure 4a shows a front view of the surface of the first branch 7a.

The first mounting arrangement 8 comprises three protruding contact elements 15 adapted for being in contact with the plane of reference during the calibration, an attachment element 17 for removably attaching the body to the plane of reference and key means 19 adapted for fitting in with corresponding key means on the plane of references. The contact elements 15 are arranged so that the body 7 is in contact with the plane of reference through the contact elements during the calibration. In this em-

bodiment, the contact elements 15 are cylindrical and one end thereof fixedly connected to the surface of the body and the other end flat and intended to bear on the surfaces of the plane of ref- erence or on a plate having a corresponding function, which plate is mounted on the robot. The three contact elements 15 are ar- ranged as the corners of a triangle.

In a preferred embodiment, the attachment element 17 is a screw intended to be attached to a corresponding hole with threads provided in the plane of reference. Alternatively, a magnet, a spring arrangement or a bayonet may be used as an attachment element. The key means 19 comprises two protruding elements adapted to fit in with corresponding notches in the plane of refer- ence. The distance d1 between the protruding elements is the same as the distance between the corresponding notches in the plane of reference. The body shall be differently orientated de- pending on which of the calibration plans the body shall be mounted to. The key means helps the robot operator to position the body correctly to the plane of reference.

Figure 4b shows a front view of the surface of the second branch 7b. The second mounting arrangement 9 comprises three pro- truding contact elements 20, an attachment element 21, and key means 22 arranged in the same manner as in the first mounting arrangement 8. The distance d2 between the protruding elements 22 of the second mounting arrangement 9 differs from the dis- tance d1 between the protruding elements 19 of the first mounting arrangement 8. Hence, it is impossible to mount the mounting ar- rangement to the wrong plane of reference and accordingly the body will always be correctly orientated. The first mounting ar- rangement 8 fits in with the first and the third plane of reference and the second mounting arrangement 9 fits in with the second and the fourth plane of reference. For small robots, it is possible to reduce the number of planes of reference to only three. The third, fourth, fifth, and sixth axis can be calibrated using the same plane of reference, e. g. the plane of reference of the tool attachment 6.

Figure 5 shows how the first branch 7a of the body is mounted to a plane of reference 23 of the robot. The contact elements 15 are bearing on the flat surface of the plane of reference, the screw 17 is engaged to a corresponding hole in the plane of reference, and the protruding elements 19 of the key means are recessed in corresponding notches 24 in the plane of reference 23.

During the calibration process, the body 7 is attached through the first mounting arrangement to the plane of reference on the base 1 of the robot. Reference angles are read from the first and the second angle-measuring member. The reference angles are stored in the control system of the robot. Thereafter, the axes 2- 6 are calibrated by attachment of the body 7 to the other planes of reference, reading any of the inclinometers and calculating the difference between the read angle and the angle of reference of that inclinometer. This calculation is performed in the control system of the robot. Thereafter, the control system orders the axis being calibrated to move in dependence of the calculated difference until the difference has a predetermined value and the axis ends up in its calibration position. Usually, the predeter- mined value of the difference is zero. During calibration of the wrist axes, i. e. the axes 5 and 6, the body 7 is attached by the second mounting arrangement to the tool attachment 6. Thus, the same body can be used to calibrate axes, which are perpendicu- lar to each other.

The axes 2-6 of the robot are possible to calibrate with the body attached to the planes of reference. But the first axis of the ro- bot, which axis is parallel to the vertical line, is not possible to calibrate in the same manner. For calibration of the first axes of the robot, the calibration apparatus is provided with a mounting member 25 for pivotal connection of the body 7 to the stand 2 of the robot. The mounting member 25 comprises a shaft 27, an at- tachment element for attaching the shaft 27 to the stand 2. The attachment element comprises a tapering part 28 and a screw 29

adapted to fit in with a corresponding hole in the stand 2. The body is arranged pivotally about the shaft 27.

The shaft 27 is located in a through-hole in the first branch 7a of the body 7. The axis 30 of the shaft 27 is arranged perpendicular to the measuring axis 12 of the first angle-measuring member 10.

The calibration apparatus further comprises a calibration element for mounting to the base 1 of the robot and the body comprises an elongated protruding portion 32 adapted for being in contact with said calibration element during calibration of the first axis.

The portion 32 is located in the outer corner connecting the first and the second branch of the body. The longitudinal axis of the portion 32 is parallel to the axis 30 of the shaft 27. In another embodiment, the portion 32 consists of a rod positioned in a re- cess in the body 7.

Figure 6a shows the calibration apparatus when it is used for calibration of the first axis of the robot. The body 7 is pivotally attached to the stand 2 of the robot through the shaft 27. An elongated calibration element 35 is mounted to the base 1 of the robot. The calibration element 35 is vertically positioned on the base. The calibration element 35 is arranged such that it is re- movable from the base after the calibration has been carried out.

Due to the L-shape of the body, the centre of gravity of the body is displaced in relation to an axis through the mounting member 27 and the portion 32. The displacement is about 5 mm. There- fore, the surface of the first branch 7a is not vertical when the body is connected to the stand 2 and consequently the measur- ing axis 13 of the second inclinometer 11 is not vertical. Thus, the measuring angle differs from the vertical line.

The calibration of the first axes is illustrated in figures 6a-6c. To begin with, the calibration element 35 is mounted to the base 2 and the body is attached to the stand 2 by attaching the mount- ing member 25 to the stand 2. The stand 2 is then moved to a rough calibration position, i. e. a position close to the calibration position. A rough calibration position is within 10from the actual

calibration position. At wider angles, the inclinometers may not work properly. The angle measurements from the first incli- nometer 10 are read during the calibration. The angle measure- ments correspond to the angle between the measuring axis 12 and the vertical line. Thereafter, the stand 2 is moved about the first axis until the body is in contact with the calibration element 32 and the stand 2 is further moved in response to said meas- ured angle until the first axis is calibrated, i. e. the axis ends up in its calibration position. As shown in the figures 6a-6c the body 6 functions as a pendulum rotating about a horizontal axis during the calibration of the first axis.

In an embodiment of the invention, the calibration is controlled by software in the control system of the robot. The control system receives signals from any of the inclinometers, which signals cor- respond to the angle between the measuring axis of the incli- nometer and the vertical line. The software produces control sig- nals in response to the received signals from the inclinometer and then sends the control signals to the robot. The robot is moved in accordance with the received control signals until the axis is in its calibration position. This method is repeated for each axis until all the axes of the robot are calibrated. The con- trol system comprises necessary equipment, such as a proces- sor, memory, and)/0 units, for running the software, which per- forms the calibration.

Figure 7 shows a robot 40 connected to a control unit 42 com- prising the control system of the robot. The control unit 42 is coupled to the robot via a cabling member 44 adapted for trans- mitting signals and data between the robot 40 and the control unit 42 and for transmitting power to the robot. The calibration apparatus according to an embodiment of the invention com- prises a junction member 46 electrically connected to the angle- measuring members 10,11 of the body 7 via two cables 47,48.

The junction member 46 comprises a first connector 49 for con- nection of the cabling member 44 to the control unit 42, a second connector 50 for connection of a second cabling member 51 to

the robot 40 and a series-measuring card adapted for transmit- ting power to the angle-measuring member and transmitting measurement values from the angle-measuring members via the cabling member 44 to the control system.

During normal operation of the robot, the control unit 42 is con- nected to the robot 40 via the cabling member 44, which is con- nected to the robot. During calibration of the robot, the control unit 42 is connected to the robot 40 via the cabling member 44, the junction member 46 and the cabling member 51. The angle- measuring members of the body 7 are supplied with power and signals are transmitted to the control unit via the cabling member 44, the junction member 46 and the cables 47 and 48.

The present invention is not limited to the embodiments dis- closed but may be varied and modified within the scope of the following claims. The robot may in some applications be mounted at the ceiling, with the base located above the stand. The cali- bration apparatus of the present invention can be used for cali- bration of the first axis when the robot is mounded upside down, if the body and the calibration element are attached to each other by any resilient means, such as a rubber band, for avoiding that the body rotates due to the gravity.

The body may have different shapes, but should preferable com- prise two flat plan, for example the body can be cubical.

It is also possible to provide the base with more than one cali- bration element. If it is difficult to reach the calibration element during the calibration it is advantageous to have a plurality of calibration element to chose between. The calibration element may either be removable or fixtly mounted. The calibration ele- ment may consist of a machined portion of the base.

In another embodiment, the body is used as a pendulum for cali- bration of the non-vertical axes as well as the vertical axes of the robot. In this embodiment the calibration element and the body is

mounted on the same section during calibration. This embodi- ment is advantageous since it is sufficient to provide the body with one mounting means, the pivotal mounting member.

The order in which the axes are calibrated could of course be different from the order described above, for example the first axis may be calibrated before the other axes.

The present invention is also useful for parallel cinematic ma- nipulators.