A METHOD FOR CONTROL OF AN INDUSTRIAL ROBOT

Abstract: A method for control of an industrial robot, which has a plurality of movement axes with a position sensor for each of said axes which is adapted to deliver an output signal which defines the current position of the axis, and a control system for control of the axes of the robot. Continuously during operation of the robot for at least one mechanically critical point (i) of the robot, the relevant load ( tau i) during a predetermined period of time ( DELTA t) is calculated on the basis of the output signals ( phi 1, phi 2... phi 6) from the position sensors and a mathematical model of the robot. Further, the rate of fatigue ( DELTA Di/ DELTA t) of the point is calculated on the basis of the calculated load and with knowledge of the fatigue strength (Nij) of the material at the critical point. The performance ( phi axis,max, tau axis,max) of the robot is adjusted in dependence on the rate of fatigue and the desired service life (tlife) of the robot.

Description: A method for ■.nnt-.rol of an industrial robot TECHNICAL FIELD The invention relates to a method for control of an indus¬ trial robot, which has a plurality of movement axes with a position sensor for each one of the axes which is adapted to deliver a signal which defines the current position of the robot, and a control system for controlling the axes of the robot, the output signals from the position sensors being supplied to the control system. BACKGROUND ART The service life of an industrial robot is determined by how its mechanical structure and its components are loaded during the movements carried out by the robot during its service life. The mechanics of robots of today is dimen¬ sioned such that the robot is to be able to carry out the severest movement pattern conceivable during the whole of its specified service life. Only a small number of robots are run with such movement programs, which are unfavourable for the mechanical structure, and therefore almost all robots of today are mechanically oversized in relation to their specified service life. A typical industrial robot comprises a number of robot arms, which are rotatable in relation to each other, and a hand provided with a tool attachment. The robot hand is rotatable in two or three degrees of freedom relative to the arm supporting the hand. The robot is provided with a control system which controls the position and the orientation of the robot hand. For each one of the movement axes of the robot, servo equipment comprising a driving motor and a position sensor is provided. The position sensor delivers a signal which is a measure of the angle of rotation of the axis in question. The servo system of each axis is supplied with a reference value for the angle of rotation of the axis, and the driving motor of the axis brings the robot to move in the axis in question until the axis position indi¬ cated by the position sensor of the axis coincides with the reference value supplied to the servo system. To prevent the loads on the mechanical components of the robot, for example bearings, shafts, stays, motor housing and arm attachments, from becoming too high, limits to the maximum permissible torques and speed for each one of the axes of the robots are set. These limits are set prior to delivery of the robot and limit the performance of the robot, that is, the maximum speeds and maximum torques of the axes, during the whole service life of the robot. The limits to the maximum permissible axis torque and axis speed are calculated based on the guaranteed service life of the robot and fatigue diagrams for the mechanical structure. The calculation starts from a worst conceivable case with abnor¬ mal movement patterns and with an abnormal number of cycles per unit of time. The mechanical load on a mechanical component i a certain time depends on several different factors, for example the speed, acceleration, configuration, and load of the robot. This means that if the robot has an advantageous configura¬ tion or a small load, the limits set to the maximum per- missible axis torque and axis speed may be exceeded without the load of the component becoming too high. SUMMARY OF THE INVENTION The object of the invention is to increase the degree of utilization of the robot so that the mechanics is utilized to its maximum. What characterizes a method according to the invention will become clear from the appended claims. The current load at at least one mechanically critical point is calculated continuously on the basis of the output signals from the position sensors and a mathematical model for the robot. At regular intervals, a utilization factor for the critical point is calculated based on the load spectrum of the point during a predetermined period of observation. On the basis of the utilization factor and the service life of the robot, the maximally permissible load at the critical point is calculated. The service life may either be predetermined or optional. The maximum permissible load is calculated continuously during the robot cycles in question for each one of the critical points. The current load and the maximum permissible load are compared con¬ tinuously and if the current load exceeds the maximum per- missible load, axis speeds and axis torques are limited such that the load at the critical point is reduced. By taking into account the magnitude of the loads to which certain mechanical structures are subjected, axis speeds and axis torques may be increased such that the mechanics is utilized to its maximum. In this way, a robot which carries out movement patters which are favourable to the mechanics will have a higher performance than a robot which is run with unfavourable movement patterns. Likewise, a robot which handles small tool and arm loads vv ll have a higher perform¬ ance. In one embodiment of the invention, the maximum permissible load is calculated in view of the desired service life of the robot. The maximum permissible load is then calculated on the basis of the whole prehistory of the robot. At any time, the user may be informed by the control system of the time remaining of the service life of the robot. If the user is not satisfied with the remaining service life, he may change the value of the remaining service life, after which the control system determines a new maximum permissible load on the basis of the new value of the service life. In this way, the user may himself choose between higher performance and shorter service life or lower performance and longer service life of his robot. In another embodiment, a fixed service life is determined on installation of the robot. The control system then calcula¬ tes during the observation periods the maximum permissible loads in relation to the fixed service life, whereby axis speeds and axis torques are adjusted such that the maximum permissible loads are not exceeded. In this case, no data about the prehistory of the robot need be stored, which is an advantage when replacing the control cabinet or in case of memory failures. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 shows an example of a known industrial robot. Figure 2a shows an example of a fatigue diagram. Figure 2b shows an example of a torque-time function. Figure 2c shows an example of a load spectrum Figure 3 shows a flow diagram for a first embodiment according to the invention. Figure 4 shows a flow diagram for a second embodiment according to the invention. DESCRIPTION OF THE PREFERRED EMBODIMENTS Figure 1 shows an example of a known industrial robot. The robot foot 2 is fixedly mounted on a base 1. The robot has a base stand 3 which is rotatable in relation to the foot 2 around a vertical axis Al. At the upper end of the base stand, a first robot arm 4 is journalled and rotable in relation to the base stand around a second axis A2. At the outer end of the arm, a second arm 5 is journalled and rotatable in relation to the first arm around an axis A3. The robot arm 5 comprises two parts 5a and 5b, the outer part 5b being rotatable in relation to the inner part 5a around an axis of rotation A4 coinciding with the longitudi¬ nal axis of the arm. At its outer end the arm 5 supports a so-called robot hand 6, which is rotatable around an axis of rotation A5 perpendicular to the longitudinal axis of the arm. The robot hand comprises a tool attachment 6a. The outer part of the robot hand and hence the tool attachment 6a are rotatable in relation to the inner part of the robot hand around an axis of rotation A6. The angles of rotation in the six axes of rotation A1...A6 are designated φ l - φ 6 in the figure. For each one of the movement axes of the robot, there is a position sensor which delivers a signal which is a measure of the angle of rotation of the axis in question. The output signals from the position sensors are supplied to the con¬ trol system of the robot. The control system is arranged in a separate control cabinet 8 and comprises, in a known manner, computer equipment with the necessary memories for programs and other data, drives for the driving motors of the different robot axes and the necessary supply equipment. The control cabinet is connected to a programming unit 9 for programming and other operation of the robot. The control unit comprises a mathematical model of the robot which is used for calculations of various kinds. The mechanical strength of a robot is often determined by a small number of critical load points. For these load points, it is important that the force or torque amplitudes arisen during the robot movements must not exceed the level which provides fatigue breakdown during the service life of the robot. With the aid of a mathematical model of the robot dynamics and the output signals from the position sensors, the load at a critical point may be calculated. The load may be torque, force, stress, deflection, or rotation. The load is derived from such dynamic effects as coupled mass inertia, centrifugal force and gravitation. In this embodiment, the load is calculated as a bending moment τ: τ = _y[ i (φ) » φ + V i (φ) » (φ) 2 +G i (φ) (1) φ = φ_,φ 2 .... φ 6 = position of the robot φ = φ φ 2 φ 6 = speed of the robot φ = φ,,φ 2 ....φ 6 = acceleration of the robot. M . (<P) describes the connection between the accelerations of the robot arms and the bending moment at the critical point. V. (φ) describes the connection between the centrifugal force of all parts of the robot and the bending moment at the critical point. G. (φ) describes the effect of the gravitation on the bending moment. The strength of a material at varying loads is dependent on the amplitude of the load changes and their number during the' service life of the material. From the fatigue diagram of the material, the number of stress changes N with a certain amplitude S that the material endures during its service life may be read. Figure 2a shows an example of a fatigue diagram. Figure 2b shows an example of how a bending moment τ may vary during an observation period Δt at a cri¬ tical point in a so-called torque-time function. From the torque-time function, the amplitudes τi j for the torque changes may be read. Figure 2c shows an example of a load spectrum for one critical point based on measurements during one observation period. A load spectrum shows the number of torque changes ni occurring within an amplitude interval, whose mean amplitude is Saij• Figure 3 shows how the calculation of maximum load, that is, maximum values for axis speeds <?„__, and axis torque t aΛ aax may be carried out according to one embodiment of the invention. The robot in this embodiment has a number (i) of critical points. The critical points may be weak points in the robot structure, for example bearings, shafts, links, gearboxes, or other life-limiting components. The bending moments Ti are calculated for each one of the points starting from the output signals φ φ 2 ....φ 6 from the position sensor of the robot according to equation 1, block 10. The calculation of the bending moments takes place continuously, for example every 24th μs. When running the robot, one torque- ime function for each point is then obtained. To obtain the load spectrum for a point, all the torque changes must be detected and their amplitudes be calculated from the torque-time function for the point. For the torque- time function, therefore, all the local maximum values T..,, and minimum values T^, are therefore detected simultaneously and from these maximum and minimum values the amplitude of the torque changes is then calculated T tf = τ ~ T "* a (2) Algorithms for detecting and calculating relevant torque variations may be carried out in many different known ways. For example, extreme-value search or calculation of the number of torque maximums which exceed and the number of torque minimums which fall below given torque levels may be made directly from the torque-time function. An alternative to using special algorithms in the time plane is to use frequency analysis, for example with an FFT algorithm. The load spectrum is updated during one observation cycle Δt. The observation period should be at least one robot cycle, that is, the time it takes for the robot to carry out the robot program in question. It is suitable to choose the observation period such that variations in the use of the robot during the day are included. In this embodiment, the observation period is 24 hours. For calculating the maximum permissible load, a so-called utilization factor for the point i is first calculated. In this embodiment, partial damage Di is used for calculating the utilization factor. A-_ ,__£"j,-- Nij is the maximum number of permissible load cycles in an interval [Ty_, -*)], and nij is the number of torque changes with amplitudes within the interval [τ ; _,-τ ; ]. The number of torque changes Δnij with amplitudes within given torque intervals [T^-τ,-], measured within one observation period, are stored in a table for the load spectrum of each critical point. For each torque interval, the number of load cycles Δnij are calculated, block 11. The table is updated during each observation period. The following is an example of such a table for a critical point i: τ - τ, Δnϋ The table serves as a basis for calculating the rate of change of the partial damage, block 12: If the partial damage is accumulated during the whole ser¬ vice life of the robot, the sum of all the partial damage is 1. The maximum permissible partial damage Dimax during the service life of the robot should have a value which is immediately below 1, for example it may be chosen to be Dimax = 0.9. ΔDi constitutes the increase of the partial damage during the period Δt. The increase in partial damage per unit of time, ΔDi/Δt, constitutes a measure of the rate at which the structure approaches fatigue per unit of time. If the service life tϋf e of the robot is known, the increase in partial damage per unit of time may be used for calculating the maximum permissible load. In this embodi- ment, the service life tiif e of the robot is predetermined by the robot manufacturer. From the following relationship, the largest increase in partial damage per unit of time (ADA — '- is calculated which may be allowed for the structure V Δt )___, at the critical point to last during the predetermined service life: (ADΛ = D im (5) Δf )_*___ t Vt From this the utilization factor k a!ft for the point i may be calculated, block 13: AD_ The utilization factor is calculated for each one of the critical points. The utilization factor kϋf e of the robot is the utilization factor for tha critical point which has the greatest k UVe . ku ft = Max{k^ e } (7) If k lVt < 1, the performance, i.e. axis speeds and axis torques, may be increased. If k^ t > 1, th performance must be reduced. Calculating, based on k^ e , maximum values of axis speeds <(>„___ and axis torques τ βΛ$βu such that the bending moments τ ( achieve values such that k lift = 1 is a very difficult mathe¬ matical problem. Instead, an adaptive method may be used. Since it is a question of very long periods of time for the fatigue process, the problem is most suitable for adapti- vity. The adaptivity means that φ^,, and T^.,,. are reduced, are maintained constant, or are increased in dependence on whether k ljft > 1, k li[t - 1 or k life < 1 . The maximum axis speeds φ aιa and axis torques %,__ . „_ are now adjusted by the control . system after each observation period such that, after a number of observation periods, the robot is run with k l!fe =l , block 14. The relation between the changes of the maximum axis speeds φ^ and axis torques τ ai lΛmι . is determined by what terms in equation 1 give the greatest contribution when calculating the bending moment τ for the limiting point. If _[ i (φ) m + G i (φ) is predominant, the greatest change is made in __».__-_ and if Vιlφ ) - ( Φ 2 is predominant, φ^ is most controlled . A disadvantage with the embodiment described above is that the service life of the robot must be determined on installation of the robot. It is not possible to change the service life after a few years to obtain higher performance from the robot or for extending the use of the robot. In a second embodiment of the invention, the maximum permissible load is adapted to the entire prehistory of the robot. Figure 4 shows a flow diagram of a second embodiment of the invention. The relevant load τ at the critical points is calculated according to equation 1 in the same way as in the first embodiment, block 10. In block 21 Δnij is calculated in the same way as in the preceding examples. One difference is that, in this embodiment, the number of torque changes are calculated and stored in different torque intervals n^ = ___An ii from the time the robot was new and up to the r-0 present age t a ge of the robot: [τ,-ι-* ; ] ni Δnij τ, -τ, Since nij is now stored since the robot was new, the partial damage Di may be calculated according to equation 3, block 22. In the same way as before, the relevant partial damage _. . AD increase per unit of time, — '- , is calculated, block 12. The At remaining service life t_. ea is calculated from the following relationship: D, -D l «*« AD [ a ' At The point which has the shortest remaining service life determines the remaining service life t„„ of the robot, block 23. t„, = Min(t mti ) (9 ) If the present age tage of the robot is continuously updated and stored in the control system, the total service life tlife of the robot may be calculated according to tϋfe = tage + trest- T e total service life tϋf e and the remaining service life trest ° ~ t e robot can be presented to the robot operator, who may then choose to reduce the perform- ance and hence increase the remaining service life, or increase the performance at tne expense of a reduced remaining service life. Changing the performance means that the levels for the maximum permissible axis speeds and axis torques are changed. Instead of the operator controlling the performance level, the control system may automatically adjust the performance such that a desired service life life or a desired remain¬ ing service life trestw- entered by the operator, is obtained. In block 24 the utilization factor kϋf e is calculated according to: . _ _______ _ ___________ ( 10 ) Maximum values for axis speeds and axis torques may be adjusted according to the adaptive method described above, block 14. In order to make possible a fully automated service life optimization, it is required that the accumulated number of load cycles nij and the age tage of the robot are always available. One problem is if a control cabinet is replaced without the robot accompanying the control cabinet. Then, the load spectrum and the age of the robot must be saved in order to be read later on into the new control system. This problem may be solved by mounting a memory module in the foot of the robot and which can then be written and read by the control system. As an alternative to partial damage Di a constant equivalent amplitude S e qai may be used to calculate the remaining service life: Njo is the number of torque changes corresponding to the service life at a maximum permissible equivalent load Seqaimax- S a i j is the mean torque in the torque interval [ τ^ - T j ] and ki is the inclination in the fatigue curve. The remaining service life for a critical point i is calculated: At The critical point which has the shortest remaining service life limits the whole of the remaining age of the robot. The remaining service life of the robot is: ' * .= «»{'.-} ( 14 )

Claims: CLAIMS 1. A method for control of an industrial robot, which has a plurality of movement axes with a position sensor for each of said axes for supplying an output signal, which defines the current position of the axis, to a control system for control of the axes of the robot, characterized in that continuously during operation of the robot for at least one mechanically critical point (i) of the robot, the following steps are taken: - calculation of the relevant load (τ,) during a predeter¬ mined period of time (Δt) on the basis of the position ( φ φ 2 ...φ 6 ) of the robot and a mathematical model of the robot, - calculation of the rate of fatigue (— '- ) of the point on Δt the basis of the calculated load and with knowledge of the fatigue strength (Nij) of the material at the critical point, - adjusting the performance ( ___, <πι _-, τ__ ά _ ,m _ x ) of the robot in dependence on the rate of fatigue and a desired service life (tlife) of the robot. 2. A method according to claim 1, characterized in that Δ the rate of fatigue (— '- ) is calculated starting from the Δr number of load cycles (Λnij) within a load interval (f^.-T) during said period (Δt) . 3. A method according to claim 2, characterized in that a utilization factor ( k lifi ) is calculated in dependence on the AD. calculated rate of fatigue (— '- ) and the maximum permissible Δt (ADA rate of fatigue — '- ] for the desired service life (tϋf e ) Δt J^ LX of the robot. 4. A method according to claim 3, characterized in that the maximum permissible rate of fatigue ) is calcula- ted as the quotient between the maximum permissible fatigue (Dimax) an d the desired service life (tlife) of the robot. 5. A method according to claim 3 or 4, characterized in that the utilization factor { k tjfe ) is calculated for a plura¬ lity of critical points and that the performance ( ___,,*___, , _ ! __) of the robot is adjusted in dependence on the point which has the highest utilization. 6. A method according to any of the preceding claims, characterized in that the desired service life (tlife) of the robot is determined when the robot is new. 7. A method according to claim 2, characterized in that the number of load cycles (Δnij) within the load interval ( t j ^ - T j ) are accumulated during the whole service life of the robot and that the relevant fatigue (Di) is calculated in dependence on the accumulated load. 8. A method according to claim 7 , characterized in that the remaining service life (t r esti) °f the robot is calcu- Δ lated in dependence on the rate of fatigue (— '- ) and the Δt difference between the maximum permissible fatigue (Di a χ) and the rel€ivant fatigue (Di) . 9. A method according to claim 8, characterized in that the remaining service life (t re sti) ° ~ the robot is calcu- lated for a plurality of critical points and that the shortest remaining service life determines the remaining service life ( t re st) of the robot- 10. A method according to claims 1,7, 8, 9, characterized in that the performance ( φ___ , „__, τ^ ∞ .) of the robot is adjusted in dependence on an optional desired service life ( tlife ) • 11. A method according to claim 10, characterized in that a utilization factor ( k life ) is calculated in dependence on the optional service life (tϋf e ) and the calculated remaining service life ( trest ) and that the performance ( __ u ' τ « i » ,_- u > of the robot is adjusted in dependence on the utilization factor. 12. A method according to claims 3-5 or 11, characterized in that, in dependence on whether the utilization factor ( k lift ) is greater or smaller than a given value, the perfor¬ mance of the robot is increased or reduced. 13. • A method according to any of the preceding claims, characterized in that the performance of the robot is changed by changing the maximum axis speeds ( φ^ ) and the maximum axis torques (τ βrif%mιl .) of the robot. 14. A method according to claim 13, characterized in that the relation between the adjustments of the maximum axis speeds •!?>-__. ) and the maximum axis torques ( ^__ π _r._ π _ u. ^ °f the robot is determined in dependence on the relation between the effect of the acceleration, ( _ l (φ) * φ ) , the gravitation ( G_(φ) ) and the centrifugal force { V_(φ) » (φ) 2 ) on the load (ti) .

Inventors: BROGAARDH TORGNY, DAHLQUIST HAAKAN, ELFVING STAFFAN, HENRIKSSON TORD, BROGAARDH, TORGNY, DAHLQUIST, HAAKAN, ELFVING, STAFFAN, HENRIKSSON, TORD
Applicants: ASEA BROWN BOVERI, BROGAARDH TORGNY, DAHLQUIST HAAKAN, ELFVING STAFFAN, HENRIKSSON TORD, ASEA BROWN BOVERI AB, BROGAARDH, TORGNY, DAHLQUIST, HAAKAN, ELFVING, STAFFAN, HENRIKSSON, TORD
Application year: 1997
Main classification: B25J9
IPC codes: B25J9, B25J13, G05B19