DEVICE AND METHOD FOR CALIBRATION OF A MULTI-AXIS INDUSTRIAL ROBOT

Abstract: Equipment for calibration of an industrial robot which has a plurality of axes of rotation (A1-A6), which comprises a calibration tool (41) carried by the robot, a measuring device adapted for rotatable connection to a reference point (x0, y0, z0), the position of which is known, the measuring device comprising means (55) adapted to be in contact with the calibration tool during the calibration process, and a gravity sensor (34) adapted to measure the angle between the gravity vector and a predetermined reference axis of the measuring device. A method for calibration of said industrial robot wherein a number of error parameters of the robot are determined by running the robot to at least two different configurations in which, on the one hand, the calibration tool and, on the other hand, the measuring device are in contact with each other. The output signal of the gravity sensor is read in the different configurations, and the error parameters are calculated on the basis of the read output signals.

Description: Devi ΠP and method for calibration of a multi-axis industrial robot TECHNICAL FIELD The present invention relates to a method for calibration of an industrial robot. The invention also relates to equipment for calibration of the above-mentioned robot. BACKGROUND ART An industrial robot may be viewed as a chain consisting of stiff links. Two links are joined to each other in such a way that they are rotatable in relation to each other around an axis of rotation, or displaceable in relation to each other along a linear movement path. An industrial robot usually has six axes of rotation. The last link in the chain may consist of a tool which, depending on the field of application, may be a gripper, a glue gun or a welding gun. In the following, the links in a robot will be referred to as arms, and their lengths will be referred to as arm's lengths. For each one of the above-mentioned axes of rotation or linear movement paths, servo equipment with a driving motor and a position transducer is provided, the transducer delivering a signal which is a measure of the angle of rotation of the actual axis in relation to a reference position. The servo system of each axis is supplied with a reference value of the angle of rotation or linear movement of the axis, and the driving motor of the axis causes the robot to move until the axis position indicated by the position transducer of the axis corresponds to the reference value supplied to the servo system. In order for the position and orientation of the tool to correspond to the desired values, the mechanical structure of the robot and the parameters, so-called kinematic parame- ters, which describe it must be known with a high accuracy. Since the kinematic parameters are not exactly the same for each robot, the individual deviations from an ideal robot, that is, the kinematic error parameters of the robot, must be known if a high accuracy is to be attained. Examples of kinematic error parameters are variations in the lengths of the arms, so-called arm's length errors, obliquities in the axes of rotation in relation to each other, so-called axis-attitude errors, and lateral displacements of the axes in relation to each other, so-called axis-offset errors. These deviations arise during manufacture of the different mechanical components and during the assembly thereof. To this is to be added the fact that the angle indicated by the position transducer of an axis must with great accuracy correspond to the actual angle of rotation of the arm which is controlled with the aid of the axis in question, so-called synchronizing errors. For determining the deviation of an individual robot from an ideal robot, various forms of calibration methods are used. A large number of calibration methods are known. A disadvantage with certain of these methods is that they do not manage to make a complete calibration, that is, determine both arm's length errors, axis-attitude errors, axis-offset errors, synchronizing errors, transmission errors, and deflection errors for all of the axes of the robot. A disadvantage with the known methods which do manage to make a complete calibra¬ tion is that they require expensive and delicate calibration equipment, for example theodolites. SUMMARY OF THE INVENTION The object of the invention is to provide a calibration method which - manages to calibrate all the axes of a six-axis robot, as well as the mounting of the tool and the mounting of the robot foo , - manages to calibrate arm's length errors, axis-attitude errors, axis-offset errors, synchronizing errors, transmission errors, - does not require expensive equipment, - provides a high accuracy, - can be used under active-service conditions, for example in a production line for cars, - can be used without the robot-carried tool having to be dismantled, - can be used for fully-automatic calibration, for example during final testing of robots, and - is fast and can be performed without complicated adjustments of robot positions. The invention also aims to provide calibration equipment to be used with the above-mentioned calibration method, wherein the equipment - fetches a low price, - is robust enough to endure a workshop environment, - is portable and hence easy to transport, and - does not need to be calibrated. What characterizes a method and equipment according to the invention will be clear from the appended claims. The configuration of the robot is defined by the angles of the axes of rotation thereof, and one configuration distinguishes from another if at least some of the angles of axes are changed. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 schematically shows an industrial robot which can be calibrated with a method according to the invention. Figure 2 shows the different coordinate systems of the robot Figure 3 schematically shows a simple embodiment of measuring equipment according to the invention which is suitable to be used under active-service conditions. Figures 4a and 4b show the principle of how an axis of rotation is determined with a high precision by a gravity sensor. Figures 5a - 5d schematically show an embodiment of measuring equipment according to the invention, which is suitable for use in an automatic calibration method. Figure 5b shows a section A-A in Figure 5a. Figure 5e shows an embodiment of a calibration tool according to the invention. Figures 6a and 6b show alternative embodiments of means for connection to a reference point. Figure 7a shows an embodiment of a member adapted to be in contact with the robot during the calibration method. Figure 7b shows a further embodiment of a calibration tool according to the invention. Figures 8 and 8a and 8b show an embodiment of measuring equipment according to the invention, which comprises an optical measuring system. Figure 8 shows a measuring device and Figures 8a and 8b show alternative locations and embodiments of a calibration tool for optical measurement. Figure 8c shows an embodiment of measuring equipment with a non-contacting, non-optical sensor. Figure 9 shows how the measuring device and the calibration tool in Figure 5a are arranged for measuring the synchronizing error of axis A5, and the attitude and offset errors of axis A6 in relation to axis A4. Figure 10a shows how the attitude error of the calibration tool in the y-direction is calculated. Figure 10b shows how the attitude error of axis A6 in the y- direction is calculated. Figure 10c shows how the synchronizing error of axis A5 is calculated. Figure lOd shows how the offset error of axis A6 in relation to axis A4 in the z-direction is calculated. Figures 11a and lib show a measurement arrangement for measuring the attitude error of axis Al in relation to the gravitational direction and the synchronizing error of axes A3 - A6. Figures 12a and 12b show a measurement arrangement for measuring the attitude error and offset error of axis Al in relation to the workshop floor and the synchronizing error of axes Al, A2 and A3. Figures 13 and 14 show a measurement arrangement for measuring attitude errors in axis A3. Figure 15 shows a measuring arrangement for measuring attitude errors in axis A2. Figure 16 shows a measurement arrangement for measuring arm's length errors. DESCRIPTION OF THE PREFERRED EMBODIMENTS Figure 1 shows an example of a known industrial robot which may advantageously be calibrated with the method and the device according to the invention. On a base 1, the foot 2 of the robot is mounted. The robot has a first arm 3, which is rotatable in relation to the foot 2 around a vertical axis Al. At the upper end of the first arm, a second robot arm 4 is journalled and rotatable in relation to the first arm around a second axis A2. In the outer end of the second arm, a third arm 5 is journalled and rotatable in relation to the second arm around an axis A3. The third robot arm 5 comprises two parts 5a and 5b, the outer part 5b being rotatable in relation to the inner part 5b around an axis of rotation A4 coinciding with the longitudinal axis of the arm. At its outer end, the third arm 5 supports a fourth arm 6 , which is rotatable around an axis of rotation A5 perpendicular to the longitudinal axis of the third arm. The outer part of the fourth arm consists of a tool attachment 6a which is rotatable in relation to the inner part of the fourth arm around an axis of rotation A6. The angles of rotation in the six axes of rotation Al ... A6 are designated Θ1...Θ6 in the figure. On the tool attachment, a calibration tool 7 is mounted. The fourth arm and the tool attachment are referred to as the hand of the robot. Figure 2 shows in the form of a simple sketch the kinematics of the six-axis robot in Figure 1 and its associated coordi¬ nate systems. The robot has four current arm's lengths referred to as Li, L2. 3 , L4, which means that there may be four arm's-length errors designated ΔLi, Δ 2, ΔL3 , ΔL4. The nominal arm's lengths are designated Lι nom , L2 nom , L3 nom , L4 nom . The current arm's length constitutes the sum of the nominal arm's length and the arm's-length error. The first arm's length Li is the distance between the origin of coor- dinates in the so-called base coordinate system (see below) and the axis A2. The second arm's length 2 is the distance between the axis A2 and the axis A3. The third arm's length L3 is the distance between the axis A3 and the axis A5. The fourth arm's length L4 is the distance between the axis A5 and the tool attachment 6a. The robot foot comprises a base coordinate system (xl,yl,zl), which is an orthogonal coordinate system with the zl axis coinciding with the axis of rotation Al and with the xl axis in a predetermined direction in relation to the robot foot (normally pointing straight ahead) . Axis Al has a synchroni¬ zing error Δθl, two offset errors 01 x ι, Olyi, and two atti¬ tude errors φlχi, φlyl. Axis A2 is parallel to the yl axis in the base coordinate system and has a synchronizing error Δθ2 and two attitude errors φ2 x ι, φ2 z ι. The attitude errors φ2χi and φ2 z ι are defined as those directional errors the axis A2 has in the xl and zl directions, respectively. The attitude error φ2yi is the same error as the synchronizing error Δθ2. The intersection point between axis Al and axis A2 consti¬ tutes the origin of coordinates in a second coordinate system (x2, y2, z2). The Z2 axis in the second coordinate system is parallel to the second robot arm, and the y2 axis coincides with the axis A2. The axis A3 has a synchronizing error ΔΘ3 and two attitude errors φ3χ2 φ3z2- The axis A3 has an offset error in the x2 direction, but it is part of the synchroni¬ zing error of axis A2, that is Δθ2. The intersection point between axis A3 and axis A4 consti- tutes the origin of coordinates in a third coordinate system (x3, y3 , z3) . The X3 axis in the third coordinate coincides with the axis A4 , and the y3 axis coincides with the axis A3. The axis A4 has a synchronizing error ΔΘ4, two offset errors 04yi and 04 2 3 in relation to the axes Al and A3, respecti- vely, and two attitude errors φ4y3 , φ4 Z 3. The axis A5 has a synchronizing error ΔΘ5 , two attitude errors φ5 X 3 , φ5 z 3. The axis A5 has an offset error in the z3 direction, but it is part of the synchronizing error of axis A3, that is ΔΘ3. The origin of coordinates in the fifth coordinate system (x5, y5, z5) consists of the intersection point between the axis A5 and the axis A6. The X5 axis in the third coordinate system coincides with the axis A6, and the y5 axis coincides with the axis A5. The axis A6 has a synchronizing error ΔΘ6, two offset errors 06y5, 06 Z 5, and two attitude errors φ6y5, φ6 z 5- The attitude error φ6 z 5 is part of the synchronizing error Δθ5. All the parameters are defined when the robot in Figure 2 is in its so-called synchronizing position, that is, when the second arm is vertical and the third and fourth arms are horizontal. Figure 3 shows a simple embodiment of calibration equipment according to the invention. The calibration equipment compri¬ ses a measuring device 10 which in turn comprises a measuring rod 11, one end of which is formed as a tip 12 for connection to a reference point (XO YO-ZO) i n a first precision hole 13 in the robot foot or in the floor or the device 14 on which the robot foot is mounted. The other end of the measuring rod comprises a resilient measuring tip 15 for connection to a predetermined measuring point on the robot (xr»Yr<zr) in a second precision hole 16, which is arranged in a robot arm or in a robot-carried calibration tool 17. The resilient measu¬ ring tip may alternatively include a position sensor for distance measurement in the z-direction. The measuring rod 11 has an axis of rotation 11a which intersects the reference point (xo,yθ'Zθ) a nd tne measuring point ( xr.Yr-Zr ) - The measuring device 10 further comprises a gravity sensor 18 arranged on a sensor shelf 19, which is arranged on the measuring probe 11 and substantially perpendicularly out from this. The gravity sensor measures the angle between the gravity vector and a reference axis 20 which intersects the reference point (xO/YO'ZO) and the measuring point (x r , y r ,z r ) . The gravity sensor may, for example, be an electronic spirit level. Figures 4a and 4b show the principle of how an axis of rotation 21 is determined with high precision by means of a gravity sensor 18. The angle α which is to be determined is the average direction 22 of the axis of rotation in relation to the direction 23 of the force of gravity. This means that the axis of rotation 21 in Figure 4a has the direction α - ξ/2, where ξ/2 is the spin amplitude when the sensor is rotated around the axis of rotation, and that the axis of rotation 21 in Figure 4b has the direction α+ ξ/2. A gravity sensor 18, with an offset error d and with a mounting error β, is mounted such that the axis 25 of the gravity sensor, that is, its zero direction, substantially is to be parallel to the axis of rotation 21. Angles are indicated relative to the gravity vector with a positive clockwise angle. The angle of deflection 24 of the sensor is dependent, inter alia, on the offset error 3 and the mounting error β. The output signal of the sensor in Figure 4a is given by the difference between the direction of deflection 24 and the zero direction 25: u s ι = K s (- α + ξ/2 - β - d ) . (1) K s is the sensitivity of the sensor. In Figure 4b the sensor is rotated 180° around the axis of rotation 22. The output signal of the sensor is then: u S 2 = K s ( α+ ξ/2 - β - 3) (2) ( u S 2 " u s ι ) / 2 = K s • α ( 3 ) The difference between the deflections of the sensor for the two measurements is thus proportional to the average direc- tion α of the axis of rotation in relation to the direction of the force of gravity. Thus, neither the mounting error β nor the offset angle 9 of the sensor will influence the measurement result, and therefore the sensor may be mounted in a simple way and a sensor without absolute calibration can be used. In addition, any centring errors ξ which give rise to spin of the axis of rotation will be compensated away. The measuring device in Figure 3 may, for example, be used to determine the coordinates for the measuring point (x r ,y r ,yr) • The measuring device is connected to the two precision holes 13 and 16 and are then rotated three times one-fourth of a revolution, whereby the gravity sensor is read at the angles 0, π/2, π and 3π/2. The corresponding sensor deflections are Us0 ' usπ/2 ' U S JΓ. and u S 3π/2< and with the aid of these values, the inclination of the measuring rod in the x- and y- directions can be calculated according to: α x = (u s o - u sπ )/2Ks (4) α y = (u sπ /2 - u Ξ 3π/2)/2Ks (5) If the length of the measuring probe is L s the coordinates of the measuring point, (xr- Yr) - can ^> e calculated according to: xr = o + Ls • sin(α x ) ( 6 ) Yr = YO + L s • sin(θCy) ( 7 ) This simple embodiment of the measuring device is suitable for calibration under active-service conditions, whereby the measuring device is rotated around manually or by the axis A6 of the robot driving it around. To be able to use the measu¬ ring device in Figure 3 in an automatic calibration method, a simple motor may be used to rotate the sensor to the four different angles. The robot must also be able to release the measuring probe to be able to measure the position at diffe¬ rent z coordinates along the measuring device and against different measuring points of the robot. Figure 5a shows an example of how a separate measuring device 30, with an associated calibration tool 41 suitable for auto¬ matic calibration, may be designed. Figure 5b shows the measuring device and the calibration tool in a section A-A in Figure 5a. The measuring device 30 comprises a cylindrical measuring rod 31, one end of which is designed as a point 32 for connection to a reference point (xO YO-zO) in the robot foot or on the workshop floor 40, and the other end of which comprises a position sensor 33 for measuring the distance to the reference point in the z-direction. In that end of the measuring rod which is connected to the reference point, a balance weight 38, in the form of a circular disc, is arranged for balancing the measuring rod. To give the measu¬ ring device a vertical position of rest, a number of springs 43a, 43b are mounted between the balance weight and the base 40. The angle α xm ax determines the limit of the working range for α x . The measuring device 30 further comprises a gravity sensor 34 and a motor 35a, for example a stepping motor, adapted tc rotate the gravity sensor around its axis 36 and a counter¬ weight 35b to the motor 35a. The axis of rotation 36 of the gravity sensor is measured in relation to the axis of rota¬ tion 37 of the measuring rod by rotating the measuring rod. It is sufficient to do this once. The gravity sensor 34, the motor 35a and its counterweight 35b are arranged on the balance weight 38. To define the x-axis direction, a guide pin 39 is arranged in the robot foot or on the workshop floor 40. During the calibration method, the robot is in contact with the measuring rod via a calibration tool 41. Figure 5c shows the calibration tool viewed from the side. The calibration tool comprises a cylindrical rod 41 on which two cylindrical branches 46a and 46b are arranged perpendi¬ cular to the rod 41. The two branches make possible measure¬ ment with the measuring device 30 in two different positions, POS A and POS B. The measuring device 30 is provided with a hook 47 which may be hooked onto a slotted holder 48 which is arranged on the calibration tool. By hooking the measuring device onto the calibration tool, the measuring device may be lifted out of the precision hole 13. The measuring device may need to be lifted out both when moving between different precision holes, and when measuring directions of axes of the robot . If the distance L s between the reference point (xo,yθ-zo) and a measuring point (x r ,y r ,z r ) on the calibration tool is known, see Figure 5a, x r and yr for the measuring point may be determined with the following method: - running the measuring device and the calibration tool into contact with each other, - rotating the gravity sensor three-fourths of a revolution and reading it at the angles 0, π/2, π, 3π/2. The corresponding sensor deflections are u s o- u S π/2- u S π and u≤3π/2. - calculating the inclination of the measuring rod in the x- and y-directions (α , Oty) according to equations 4 and 5, - calculating the coordinates (x r , Yr) of the measuring point according to equations 6 and 7. The difference in the position of the measuring point between two different measurements is obtained at small angular differences Δα x , Δα y : Δx m = L s • Δα x (8) Δy m = L s • Δα y (9) Δx m : The movement of the measuring rod in the x direction, (see Figure 5d) Δym : The movement of the measuring rod in the y direction. This embodiment of the calibration equipment can be directly used in order to automatically calibrate, in one sequence, the axes of rotation Al - A6 with respect to the synchroni¬ zing error, and to measure most of the kinematic error parameters of the robot. Instead of using one rotating gravity sensor, two gravity sensors may be arranged perpendicular to each other. These are calibrated by rotation of the measuring rod. Whether one rotating or two perpendicular gravity sensors are used is determined by the sensor price and by the long-term stability of the offset error d . To obtain a reliable contact between the measuring rod and the calibration tool, the calibration tool may be provided with magnets, preferably electromagnets. Figure 5e shows a calibration tool 44 provided with two magnets 45a and 45b. Figures 6a and 6b show alternative embodiments of means for connection to the reference point (xθ YO ' z θ) - Figure 6a shows a connection means in the form of a sphere 50 which is inser- ted into a conically shaped precision hole 51 in the workshop floor 14. An advantage with a sphere compared with a point is that the sphere gives the measuring device a larger working range. Instead of a balance weight and springs, the measuring device shown in Figure 6b is provided with two supporting legs 52a, 52b to balance the measuring device. Each one of the supporting legs terminates with a spherical body which is inserted into respective conical holes in the floor. Figure 7a shows an embodiment of a means adapted to be in contact with the robot during the calibration process, wherein the means is formed as a sphere 55 which will be referred to in the following as a measuring ball. During the calibration process, the measuring ball is in contact with a conically shaped hole 56 in the robot or a calibration tool 57. For distance measurements in the z-direction, a position sensor 58 is arranged below the measuring ball. Figure 7b shows an example of a calibration tool 57 adapted to be used in combination with the measuring ball 55. The calibration tool comprises a rod 58 with a plurality of conical holes, 56a, 56b, 56c, 56d, arranged in spaced relationship to each other. To reduce the number of necessary measurements when deter¬ mining the kinematic error parameters of the robot, the calibration tool may be provided with a gravity sensor 59, whereby both the working point (TCP) of the tool and the inclination in the xz-plane may be measured with high accuracy. If the measuring device comprises more than one measuring ball with an associated position sensor, a large working range may be obtained for measuring the error parameters of the robot. By making the measuring device in telescopic design and measuring the compression of the telescope with, for example, a resolver arrangement, the measuring range in the z- direction may be greatly extended. A further extension of the measuring range is obtained with a measuring device 77 comprising an optical measuring system, whereby either the measuring device is provided with a light source and the robot-carried tool is provided with light detectors or vice versa. Figure 8 shows the case where a light source 60, suitably a laser diode, is mounted in a cylindrical and hollow measuring rod 61. The measuring rod 61 may be rotated around by a motor 62, which is arranged on a platform 63, balanced by springs, with guide pins 64 and a precision ball 65 in a conical precision hole 66 in the workshop floor. On the measuring rod 61, a gravity sensor 67 is mounted, and when the motor 62 rotates around the measu¬ ring rod 61, the gravity sensor measures the direction 60a of the axis of rotation relative to the direction of gravity. At the same time the axis of rotation 60a is the axis around which the light beam from the laser diode will move. If the light beam hits a lateral photodetector, for example a late¬ ral photodiode or photomatrix, the illuminated spot on the detector will move in a circular path on the surface of the detector. The centre of this path will thus be the point of intersection of the axis of rotation with the surface of the detector. Figures 8a and 8b show how the robot-carried calibration tool 68 is provided with two lateral photodetectors 69 and 70, which are mounted perpendicular to each other to capture the two light beams 72 and 73 from a beamsplitter 71. When the calibration tool is placed straight above the measuring rod 61, as shown in Figure 8a, the detector 70 will read the position of the tool in the x- and z-directions whereas the detector 69 reads the orientation of the tool in the xz plane. If a beamsplitter 74 is mounted at the orifice of the measuring rod 61, possibilities of making measurements per¬ pendicular to the axis of rotation of the measuring rod are obtained. Thus, according to Figure 8b, the two detectors 69 and 70 measure the position in the z-direction, whereas the detector 70 may also be used for measuring the tool orienta¬ tion in the xz plane. Figure 8c shows how an electromagnetic sensor 75, which may be capacitive or inductive, measures the position of the measuring point (xr, y ) in the xy-plane relative to the cylindrical surface of the measuring rod 61. The cylindrical surface may, where necessary, consist of plane grinding sur¬ faces. By placing collars 76 on the measuring rod, the sensor can also measure the position of the measuring point in the z-direction, that is, z r - In addition to electromagnetic sensors, mechanical or ultrasonic sensors can be used. Figure 9 shows how the measuring device and the calibration tool in Figure 5a are arranged for measuring the synchroni¬ zing error ΔΘ5 of the axis A5 as well as the attitude error 6y5 and the offset errors 06y5 and 06 Z 5 of axis A6 relative to axis A4. The configuration of the robot is chosen such that axis A4 and axis A6 are horizontal . The calibration tool 41 is mounted on the tool attachment 6a of the robot in such a way that the calibration tool 41 becomes centred in the average direction of rotation of the axis A6. The robot is run such that the calibration tool 41 makes mechanical con¬ tact with the measuring rod 31. The measurements are carried out with the calibration tool or the robot axis A2 in two positions, pos A and pos B. In pos A, contact is achieved between the measuring red and that part of the calibration tool which is nearest the tool attachment, and in pos B contact is achieved between the measuring rod and the outer part of the calibration tool. The distance between the measuring rod in position A and in position B is LAB. The following measurement sequence is carried out: a) With the calibration tool (or robot) in position according to pos A, axis A6 is rotated three-fourths of a revolution and the gravity sensor is read at the angles Θ6 = 0, π/2, π, 3π/2 for axis A6. The robot thus assumes four different con- figurations at which the gravity sensor is read. b) With the calibration tool in position according to pos A, axis A4 is rotated at least three-fourths of a revolution and the gravity sensor is read at the angles Θ4 = 0, π/2, π, 3π/2 for axis A4. The robot thus assumes an additional four diffe- rent configurations at which the gravity sensor is read. c) Repeat point a above with the calibration tool in position according to pos B. d) Repeat point b above with the calibration tool in position according to pos B. From the readings from point a and point c, the offset errors, OTy, OT z , and the attitude errors ATy, AT Z , of the calibration tool relative to axis A6 are calculated, both in the y- and z-directions. Figure 10a shows how the attitude errors of the calibration tool in the y-direction are calcu¬ lated. The average movement in the y-direction in positions A and B is calculated according to the following: Δy m A = (γ m A(θ6=0) - y m A(θ6=π)) / 2 (10) Δy m B = (y m B(θ6=0) - y m B(θ6=π)) / 2 (11) y m B = The position of the measuring rod in the y-direction when measuring in pos B. y m A = The position of the measuring rod in the y-direction when measuring in pos A. AT y = (Δy m B - Δy m A) / L AB (12) From the readings from point b and point d, the offset errors for axis A6 relative to axis A4, and the attitude errors for axis A6 relative to axis A4 are calculated. Figure 10b shows how the attitude error φ6y5 for axis A6 in the y-direction is calculated. The distance between the centre point of the tool, TCP (Tool Center Point), and position B is designated LTCP- The movement of the measuring rod in the y-direction when measuring in position B, Δy B, is calculated according to the following: Δy m B = (y m B(θ4=0) - y m B(θ4=π) ) / 2 (13) The attitude error of axis A6 in the y-direction relative to axis A4, φδy5, is calculated according to the following equation: Figure 10c shows how the synchronizing error Δθ5 of axis A5 may be calculated. The synchronizing error Δθ5 of axis A5 is identical with the attitude error in the z-direction for axis A6, φ6 Z 5. Δz m B = (z m B(θ4=π/2) - y m B(θ4=3π/2) ) / 2 (15) Δθ5 = φ6 z 5 = Δz m B / CP (16) Figure lOd shows how the offset error 06 z 5 of axis A6 rela¬ tive to axis A4 in the z-direction can be calculated. The following relationship may be set up: Φ6 Z 5 = (Δz m A - 06 2 5) / (L T CP - LAB) = (Δz m B - 06 z s) / LTCP (17) From this equation, the offset error 06 Z 5 may be solved: 06 Z 5 = Δz m A-L T CP L A B " Az m B- ( L T CP - L A B) LAB ( 18 ) In the above-mentioned calculations, the errors of the cali- bration tool have already been compensated for. The same principle may be used for measuring the offset errors between Figures 11a and lib show how the attitude errors φlχi, φlyi of axis Al relative to the direction of gravitation are measured. φlχi = α x and φlyi = oty, see Figures 4a and 4b, and is calculated according to equations 4 and 5. In this embodi¬ ment, the robot holds the measuring rod 31 by hooking the rod onto the calibration tool 41 with the aid of the hook 47 which is placed across the holder 48 on the calibration tool. The measuring device, which is fixed to the calibration tool, is suspended somewhat above the shop floor. Figure lib shows a simplified sketch of Figure 11a viewed from above. The robot is then run to four different configurations (A, B, C, D according to Figure lib) at which the gravity sensor is read. The four configurations differ only in that the angle of axis Al is different. The measured values thus obtained from the gravity sensor then provide the attitude errors of axis Al relative to the direction of gravity. The measured values in positions A and B give φlχi, and the measured values in positions B and D give φlyi. The same principle may be used for determining the synchronizing error of axes A3 - A6. In Figure 12a the measuring rod 31 has been placed in the hole 13 and a hole 56 in the calibration tool has been posi¬ tioned across the measuring ball 55 which is mounted on the position sensor 33. For a given robot configuration, that is, for given angles of the axes of rotation Al - A6, the posi- tion (x r , yr» z r) of the measuring point is determined. In the z-direction the position is measured by means of the position sensor 33. In the x- and y-directions, the position is calculated by means of the equations 4, 5, 6 and 7 using output signals read from the gravity sensor 34. If the atti- tude errors and the offset errors of axis Al relative to the workshop floor are desired, three precision holes 13, 13b and 13c with separate reference points (xo-YO'Zo) , (xi»Yl/Zi) and ( 2Υ2»Z2) rnay be arranged in the floor according to Figure 12b. The robot then inserts the measuring rod 31 into these precision holes and at each precision hole, measurements of the position of the measuring point are performed according to the above. During the measurements in the holes 13, 13b and 13c, the robot is to have the same axial angles for axes A2 - A6, that is, only axis Al has different values of the axial angles. From the differences between the measured values in the z-direction for holes 13, 13b and 13c, the attitude errors in the x- and y-directions for axis Al rela¬ tive to the floor shop are calculated. From the position determinations in the x- and y-directions for holes 13, 13b and 13c, the offsets in the x-direction (01χi) and in the y- direction (Olyi) of axis Al relative to the nominal position (PI) for axis Al are calculated. The synchronizing errors of axes Al, A2 and A3 are measured with the same arrangement as in Figure 12a. The hole 13 is measured so as to constitute the zero position for the posi¬ tion sensors of axis Al and axis A2. The length of the measuring rod corresponds to the zero position of the posi¬ tion sensor of axis A3. The synchronizing error of axis Al, Δθl is given by the inclination of the measuring rod in the y-direction. In order to directly separate the synchronizing errors of axis A2 , Δθ2 from the synchronizing error in axis A3, ΔΘ3 , axes A2 and A3 should be in synchronizing position during the measurement (the second arm 4 vertical and the third arm 5 horizontal) . If this is the case, the inclination of the measuring rod in the x-direction will provide the synchronizing error of axis A2 whereas the value in the z- direction read by the sensor 34 gives the synchronizing error of axis A3. Δθl = Δy m / (L T CP + L3 ) ( 19 ) ΔΘ2 = Δx m / L2 (20) ΔΘ3 = Δzm / (L TC p + L3 ) (21) When the direction of axis Al is known in relation to the direction of gravity (Figure 11) , the attitude error φ2 z ι and φ3 z 2 of axes A2 and A3 may be determined as the deviation from 90° between axis A2 and axis Al and between axis A3 and axis Al, respectively. In Figure 13, the attitude error φ3 Z 2 of axis A3 is measured by recording the inclination of the measuring rod in the y- direction at two different robot configurations, Kon A and Kon B, which have the same axial angles for axes Al, A2, A4 - A6, that is, only axis A3 has different values of the axial angles. To measure the attitude error in the x-direction, φ3 X 2, the axis A2 is rotated such that also the attitude error in the x-direction gives rise to detectable differences in inclination of the measuring rod (see Figure 14) . The attitude error φ3 x 2 is calculated from the difference in measured attitude error between the measurements in Figure 14 and Figure 13. The measured attitude errors apply relative to the direction of gravity and are therefore re-calculated to apply relative to the direction of axis Al with knowledge of the direction of axis Al relative to the direction of gravi¬ ty, which is measured according to Figure 11. The attitude error of axis A2 in the z-direction, φ2 z ι, is measured in a corresponding way (see Figure 15) . Measurements are carried out for two different robot configurations, Kon E and Kon F, which have the same axial angles for axes Al, A3 - A6 , that is, only axis A2 has different values of the axial angles. The attitude errors of axis A2 in the x-direction are normally compensated away during the synchronization of axis Al, unless the robot has a design with a large offset between axis Al and axis A2. Transmission errors caused by errors in the parallelogram transmission between the motor of axis A3 and the second robot arm 4 are measured in the simplest way when the measu¬ ring rod 31 is hooked onto the calibration tool according to Figure 11a. The inclination of the measuring rod in the x- direction for different angles of axis A2 and axis A3 is then measured with the sensor 34. From these measurements, a table is then calculated which denotes the transmission error for different angular values of axis A2 and axis A3. Figure 16 shows a method of measuring and identifying the arm's length error of the second robot arm 4. The measure¬ ments are carried out in two different robot configurations, Kon G and Kon H. The configurations are chosen such that axis A4 and axis A6 are horizontal. Axis A2 is then run to two positions in which the calibration tool and the measuring rod are in contact with each other. In Kon G, axis A2 is in the zero position, which means that the second robot arm is ver¬ tical. In Kon H, axis A2 has an angle ψ2 which is known. In both configurations, the measuring rod 31 is rotated, and x m G and x m H are calculated by means of equations 4 and 6. From Figure 16 the following relationship may be set up x m G = (L3 + L54 + L c + LQH) (22) x m H = (L2-sinφ2 + L3 + L4 + L C ) (23) mH - x G = L2-sin ( p2 - LQH (24) L2 = (XmH - x m G + LQH) / sinς>2 (25) ΔL2 = L2 nom - 2 (26) The other arm's length errors may be measured in the same way .

Claims: CLAIMS 1. Equipment for calibration of an industrial robot which has a plurality of axes of rotation (A1-A6) , characterized in that the equipment comprises a measuring device (10, 30, 77) which comprises - means (12, 50) adapted for rotatable connection to a reference point (XQ-YO-ZO) - the position of which is known, - means (15, 55) adapted to be in contact with the robot, or a tool carried by the robot, during the calibration process, and - a gravity sensor (18, 34) adapted to measure the angle between the gravity vector and a predetermined reference axis (11a, 36, 60a) of the measuring device. 2. Equipment according to claim 1, characterized in that the measuring device comprises a measuring rod (20, 31) at one end of which a first tip (12) is arranged for connection to the reference point ( xo»yθ»zo ) . 3. Equipment according to claim 2, characterized in that at the other end of the measuring rod, a second tip (15) is arranged to be in contact with the robot, or a tool carried by the robot, during the calibration process. 4. Equipment according to claim 1 or 3 , characterized in that the measuring device comprises a measuring rod (31) , at one end of which a first sphere (50) is arranged for connec¬ tion to the reference point. 5. Equipment according to claim 2 or 4 , characterized in that at the other end of the measuring rod a second sphere (55) is arranged to be in contact with the robot, or a tool carried by the robot, during the calibration process. 6. Equipment according to claim 1, characterized in that the measuring device comprises means (33) for distance measurement to the reference point. 7. Equipment according to any of the preceding claims, characterized in that the measuring device is rotatable around the reference axis. 8. Equipment according to any of the preceding claims, characterized in that it comprises a calibration tool (41, 44, 57) adapted to be carried by the robot. 9. Equipment according to claim 8, characterized in that the calibration tool (41, 44) comprises two rods positioned at an angle to each other. 10. Equipment according to claim 1, characterized in that the measuring device comprises a light source/photodetector (60) adapted to be in optical contact with at least one photodetector/light source (69, 70) on the robot or a tool carried by the robot. 11. Equipment according to claim 8, characterized in that the measuring device comprises an attachment device (84) for attachment and fixing of the measuring device onto the calibration tool. 12. Equipment according to claim 8, characterized in that the calibration tool (57) comprises a gravity sensor (59 ) . 13. Method for calibration of an industrial robot which has a plurality of axes of rotation (A1-A6) , characterized in that a plurality of error parameters of the robot are determined by - running the robot to at least two different configurations in which, on the one hand, the robot, or a calibration tool carried by the robot, and, on the other hand, a measuring device, comprising a gravity sensor adapted to measure the angle between the gravity vector and a predetermined reference axis of the measuring device, are in contact with each other, - reading the output signal of the gravity sensor in the different configurations, and - calculating the error parameters based on the read output signals. 14. Method according to claim 13, characterized in that - in order to compensate for mounting errors and offset errors of the gravity sensor, the gravity sensor is rotated around the reference axis in at least some robot configuration, - the output signal of the gravity sensor is read at at least two different angles of rotation of the reference axis, and - the direction (α) of the reference axis relative to the gravity vector is calculated based on the read output signals. 15. Method according to claim 13, characterized in that - before the robot assumes the different configurations, the measuring device and a calibration tool carried by the robot are fixed to each other, - the different configurations are assumed by rotating one of the axes of rotation, whereby the measuring device follows the rotation, and - the direction of the rotating axis of rotation relative to the gravity vector is calculated based on the read output signals. 16. Method according to claim 13, characterized in that before the robot assumes the different configurations, the measuring device is connected to a reference point ( QΎO ZQ) • 17. Method according to claim 16, characterized in that with knowledge of the distance (L s ) between the reference point and a predetermined measuring point (x r ,y r ,yr) and the position of the measuring point, the position of the measu- ring point relative to the reference point is determined based on the read output signals. 18. Method according to claim 16, characterized in that before the robot assumes the next configuration, the measuring device is moved and connected to a second reference point (xi,yi, zi) . 19. Method according to claim 16, characterized in that the robot is run to the different configurations in such a way that the calibration tool carried by the robot is brought into contact with the measuring device at different locations along the calibration tool. 20. Method according to claim 16 or 19, characterized in that the robot is run to the different configurations in such a way that the calibration tool carried by the robot is brought into contact with the measuring device at different locations along the measuring device. AMENDED CLAIMS [received by the International Bureau on 6 August 1996 (06.08.96); original claims 1-20 replaced by amended claims 1-13 (3 pages)] 1. Equipment for calibration of an industrial robot which has a plurality of axes of rotation (A1-A6) , the equipment comprises a measuring device (10, 30, 77) which is adapted for rotatable connection (12,50) to a reference point (xθ YO» z θ). the position of which is known, is (15, 55) adapted to be in contact with the robot, or a tool carried by the robot, during the calibration process, and has an axis of rotation (21,11a,36, 60a) which intersects the reference point when the measuring device is connected to the reference point, characterized in that the measuring device comprises a gravity sensor (18, 34) which is mounted such that the axis of the gravity sensor (25) is substantially parallel to the axis of rotation of the measuring device, whereby the gravity sensor measures the angle between the gravity vector and axis of rotation. 2. Equipment according to claim 1, characterized in that it comprises a calibration tool (41, 44, 57) adapted to be carried by the robot. 3. Equipment according to claim 2, characterized in that the calibration tool (41, 44) comprises two rods positioned at an angle to each other. 4. Equipment according to claim 1, characterized in that the measuring device comprises a light source/photo detector (60) adapted to be in optical contact with at least one photo detector/light source (69, 70) on the robot or a tool carried by the robot. 5. Equipment according to any of the preceding claims, characterized in that the measuring device comprises an attachment device (84) for attachment and fixing of the measuring device onto the calibration tool. 6. Equipment according to claim 2, characterized in that the calibration tool (57) comprises a gravity sensor (59). 7. Method for calibration of an industrial robot which has a plurality of axes of rotation (A1-A6), characterized in that a plurality of error parameters of the robot are determined by running the robot to at least two different configurations in which, on the one hand, the robot, or a calibration tool carried by the robot, and, on the other hand, a measuring device, comprising a gravity sensor adapted to measure the angle between the gravity vector and a predetermined reference axis of the measuring device, are in contact with each other, reading the output signal of the gravity sensor in the different configurations, and calculating the error parameters based on the read output signals, in order to compensate for mounting errors and offset errors of the gravity sensor, the gravity sensor is rotated around the reference axis in at least some robot configuration, the output signal of the gravity sensor is read at at least two different angles of rotation of the reference axis, and the direction (α) of the reference axis relative to the gravity vector is calculated based on the read output signals. 8. Method according to claim 7, characterized in that before the robot assumes the different configurations, the measuring device and a calibration tool carried by the robot are fixed to each other, the different configurations are assumed by rotating one of the axes of rotation, whereby the measuring device follows the rotation, and the direction of the rotating axis of rotation relative to the gravity vector is calculated based on the read output signals. 9. Method according to claim 7, characterized in that before the robot assumes the different configurations, the measuring device is connected to a reference point (xo,yθ/Zθ). 10. Method according to claim 9, characterized in that with knowledge of the distance (Ls) between the reference point and a predetermined measuring point (xr Yr Yr) and the position of the measuring point, the position of the measuring point relative to the reference point is determined based on the read output signals. 11. Method according to claim 9, characterized in that before the robot assumes the next configuration, the measuring device is moved and connected to a second reference point (xι,yι,zι). 12. Method according to claim 9, characterized in that the robot is run to the different configurations in such a way that the calibration tool carried by the robot is brought into contact with the measuring device at different locations along the calibration tool. 13. Method according to claim 9 or 12, characterized in that the robot is run to the different configurations in such a way that the calibration tool carried by the robot is brought into contact with the measuring device at different locations along the measuring device.

Inventors: BROGAARDH TORGNY, SNELL JOHN-ERIK, BROGAARDH, TORGNY, SNELL, JOHN-ERIK
Applicants: ASEA BROWN BOVERI, BROGAARDH TORGNY, SNELL JOHN ERIK, ASEA BROWN BOVERI AB, BROGAARDH, TORGNY, SNELL, JOHN-ERIK
Application year: 1996
Main classification: B25J19
IPC codes: B25J9, B25J19