A METHOD FOR SUPERVISION OF THE MOVEMENT CONTROL OF A MANIPULATOR

Abstract: A method for supervision of the movement control of a manipulator. The manipulator comprises at least one movement axis, a servo (9) for controlling the axis in accordance with supplied reference values for position, speed and acceleration ( PHI ref, PHI ref, PHI ref). A plurality of dynamic parameters (dyn-par) are calculated in dependence on reference values for the position and speed of the axis and a dynamic model (7) which describes the static and dynamic properties of the robot. A torque signal ( tau mr) is generated by the servo in dependence on the control error torque ( tau err) of the servo. An alarm value (LV) is calculated as a function of the current acceleration ( PHI m), at least any of the dynamic parameters and one or more of the following signals: the control error torque ( tau err) of the servo, the reference value for the acceleration ( PHI ref) and the torque signal from the servo ( tau mr), and while using one or more signal filters. An alarm limit (LG) is calculated as a function of one or more of the following parameters: a constant, the current position ( PHI m), the current speed ( PHI m), the current acceleration ( PHI m), any of the dynamic parameters, the control error torque ( tau err), of the servo, the reference value for the acceleration ( PHI ref) and the torque signal from the servo ( tau mr). The alarm value is compared with the alarm limit and an alarm signal (ALARM) is generated in dependence on the comparison.

Description: A method for supervision of the movement control of a manipulator TECHNICAL FIELD The invention relates to a method for supervision of the movement control of a manipulator. The manipulator comprises a movable part which may be transferred relative to a stationary part or another movable part, at least one movement axis for positioning of the movable part, at least one motor which drives the axis and hence the movable part, a servo for control of the axis in accordance with reference values supplied, and a position sensor adapted to produce an output signal which defines the current position of the axis. BACKGROUND ART By manipulator is meant an industrial robot or external axes connected to the industrial robot, for example for orientation and movement of a work object or for movement of the robot itself. A manipulator comprises one or more arms which are movable in relation to one another, and a handling member which is provided with an attachment and which is movable relative to the arm which supports it. The handling member may, for example, be a single platform or a robot hand which is movable in one or more degrees of freedom. The manipulator is provided with a control system which controls the position and orientation of the handling member. For each one of the movement axes of the manipulator, servo equipment with a drive motor is provided. The servo system of each axis is supplied with a reference value for the angle of rotation of the axis and the drive motor of the axis brings the manipulator to move in the axis in question until the axis position corresponds to the reference value supplied to the servo system. By an axis are meant axis transmissions which may give rise to both rotation and translation of the movable arms and the handling member of the manipulator. When using industrial robots with associated external axes, it is of great important to supervise the movement control such that no unwanted movements are imparted to any axes in the system or that no axes are subjected to abnormal disturbance torques. A plurality of different faults may arise and, independently of what fault has arisen, the fault must be detected rapidly and safely and the movement control must give the robot and external axes such movements that the consequences of the fault are minimized. The faults may arise in robots, external axes or in the process equipment which is used in the robot installation. Examples of components which may give sudden fault situations are cables, drive devices, motors, sensors, measurement electronics and control electronics. Faults may also arise in the process which is coordinated with the movement of the robot, for example a spot welding gun or a gripper may get stuck in the wrong position. In addition, faults may arise because the operator makes a mistake, for example jogs the robot against an obstacle, starts an external axis too late, or forgets to set an i/o output which is to control a door through which the robot is to pass. Unless these fault situations are detected and acted on quickly, there is a considerable risk of injury to persons and damage to equipment. The robot and/or external axes may cause heavy collisions or equipment which has become stuck may be torn up. These fault situations may give rise to incorrect position, incorrect speed, incorrect acceleration or incorrect torque of one or more of the axes included in the system. For supervision of the movement of the robot, there are currently normally used existing signals of the servo, and a fault situation is defined by any of these signals having passed an alarm limit. To avoid a false alarm, filtering of the signals is sometimes required, and in addition to the fact that the signals pass an alarm limit, it may also be required that the signal is above/below the alarm limit for a predetermined period of time. There are also solutions whereby the alarm limit depends on some signal of the servo, for example the measured axis speed. As filters there are normally used low-pass filters to avoid a false alarm because of brief "harmless" signal transients. A special type of filters which also occurs are so-called observer filters. US 5 304 906, for example, describes an observer filter which is used for obtaining a signal which is to be used for supervising disturbance torques on the axis coupled to the servo. Disturbance torques are torques which normally do not influence the axes of the robot and may, for example, be " generated by too high a tool load, tools which get stuck, or by collisions. These disturbance torques are normally nor measurable but must be reconstructed to be able to be detected. An observer is actually a feedback filter, which is constructed in the time plane with the aid of a dynamic model of the system in which the filter is to be used. This type of filter is especially interesting for dynamically reconstructing non-measurable signals. In the case of supervision, a reconstructed signal may be used as the signal to be supervised. One disadvantage of observer filters, however, is that they do not become optimal for a general supervision purpose and that they only, fulfil a function when a signal, which may be reconstructed, is to be supervised. Thus, an observer may be designed for supervision of unjustified disturbance torques on the axis, but it cannot be directly designed to detect, for example, an incorrect position, incorrect speed, and incorrect acceleration. It cannot, for example, with sufficient selectivity detect whether an unexpectedly high or low velocity is imparted to an axis, as is the case with a runaway situation. In addition, an observer is relatively slow and is difficult to get stable since mechanical resonances disturb the control, which is the case with elastic robots. By an elastic robot is meant a robot with a low natural frequency. An additional problem is to compensate for the dynamic influence of the mechanics on interference signals and control signals. SUMMARY OF THE INVENTION The object of the invention is to achieve a method for supervision of the movement control of a manipulator by means of which incorrect position, incorrect speed, incorrect acceleration, incorrect load, incorrect axis torque and incorrect disturbance torques may be detected. What characterizes a method according to the invention will become clear from the appended claims. The method has the following advantages: - a very high sensitivity, - a very fast detection, - little probability of false alarms, - detects all fault situations which may arise, - may also be used in elastic axes, that is, axes which are resilient. The above-mentioned advantages are achieved by forming an alarm condition which comprises an alarm value and an alarm limit. Based on the model, the alarm value takes into consideration both stiff-body properties and elasticity properties of the manipulator. The influence of the elasticities on how normally situations and faults dynamically influence the controlled manipulator axes is modelled in the alarm condition with signal filters, which have essentially the same transfer functions as critical transfer functions between various quantities, for example torque and axis movement, in the manipulator. To obtain an optimum alarm condition, this is derived in accordance with known stiff-body models and elasticity models for the manipulator, starting from a signal combination which gives an output signal directly dependent on the type of fault to be supervised. The alarm condition has the property of being very sensitive to incorrect disturbance torques, loads, accelerations, etc., while at the same time it is not released for normal operating cases. This is due to the fact that the alarm condition is based on signal combinations which directly describe the faults which are to be detected and that the alarm condition is model-based both with respect to a dynamic stiff-body model and a dynamic elasticity model of the manipulator. In one embodiment of the invention, the alarm limit may consist of a constant. In a preferred embodiment of the invention, a model-based alarm limit is used instead, which, with knowledge of the modelling errors, gives a minimum alarm level at all types of movements . The alarm limit is based on a model of the errors of the dynamic models and will be automatically increased when, for example, acceleration and speed increase. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 schematically shows an industrial robot. Figure 2 shows a feedforward servo . Figure 3 shows a simple model of a motor and an axis with a simple elasticity. Figure 4 shows a dynamic model of the motor and the axis with a simple elasticity. Figure 5 shows a block diagram for generation of an alarm value and an alarm limit according to a first embodiment. Figure 6 shows a block diagram for generation of an alarm value and an alarm limit according to an additional embodiment . Figure 7 shows a block diagram for supervision of the movement control of a manipulator according to the invention. DESCRIPTION OF THE PREFERRED EMBODIMENTS Figures 1 schematically show an industrial robot. The foot 1 of the robot is fixedly mounted on a base. The robot has a base stand 2, which is rotatable in relation to the foot 1 around a vertical axis Al . In the upper end of the base stand, a first robot arm 3 is journalled and rotatable in relation to the base stand around a second axis A2. In the outer end of the arm, a second arm 4 is journalled and rotatable in relation to the first arm around an axis A3. The robot arm 4 comprises two parts 4a and 4b, the outer part 4b being rotatable in relation to the inner part 4a around an axis of rotation A4 coinciding with the longitudinal axis of the arm. The second arm 4 supports, at its outer end, a so-called robot hand 5, which is rotatable around an axis of rotation A5 which is perpendicular to the longitudinal axis of the arm. The outer part of the robot hand is rotatable in relation to its inner part around an axis of rotation A6. Each axis is driven by a motor. A method according to the invention is based on the following technical solutions: - Using a signal combination for forming a model-based alarm value and a model-based alarm limit. - Generating an alarm signal in dependence on a comparison between the alarm value and the alarm limit. - Using both a stiff-body model and a model which describes the dynamics with respect to the elasticities of the robot when producing the expressions for the alarm limit and the alarm value. - A possibility of supplementing the method with so-called Learning Control . - A possibility of using torque feedforward in the servo. Using torque feedforward in the servo implies that modelled axis torques are fed forward according to Figure 2. A trajectory generator 6 calculates reference values for the position φ bg of the axis, speed φ bg and accelera- tion φ b . A dynamic model 7 which describes the static and dynamic properties of the robot calculates dynamic parameters. On the basis of the reference values of the trajectory generator for position, speed and acceleration, the dynamic model calculates the dynamic parameters which are required for the feedforward control. The dynamic parameters are mass inertia J * , coupled mass inertia / * ,. , moment of gravitational force τ * ,. , torques caused by centrifugal forces during movements τ c * mtri of other axes, torques caused by Coriolis forces in cooperation with the movements τ c * ori of other axes, and torques caused by static and dynamic friction T fricti . A feedforward generator 8 calculates reference values for position and speed φ ref ,φ ref and a feedforward torque Tff w to the servo 9, which controls the motor and the transmission and the shaft 11 mounted on the motor. The feedforward torque Tff is calculated on the basis of the dynamic parameters and the reference values for the position of the axis. From the servo, the motor and hence the axis are controlled in accordance with the reference values. A position sensor with an associated measurement system 10 produces an output signal which defines the current position φ m and speed φ m of the motor shaft, -which are supplied to the servo. To derive an alarm value, an optimal model-based signal combination is set up. How this is done is shown below for a simple model of the motor and the axis according to Figure 3. In this model, the rotor of the motor consists of a smaller cylinder 12 and the manipulator arm of a larger cylinder 13. The rotor has the mass inertia J and the arm has the mass inertia J a • On the rotor, a disturbance torque τ distm acts, and on the arm a disturbance torque τ d i sta act s. Between the rotor and the arm there is an elastic shaft 14 with the spring constant k and the damping c. When the elasticity is tensioned, the axis angle φ m of the rotor will differ from the axis angle φ a of the arm. The axis angle of the rotor is measured with an angle-measuring device and is supplied to the servo 9 together with the axis speed φ m of the motor. In the servo 9/ Gpos( s ) is a transfer function for the position controller, G V el(s) is a transfer function for the speed controller, τ trr is the control torque which depends on the control errors in the speed controllers ( φ ref - φ m ) and in the position controllers ( φ ref - φ m ) , τ mr is the total motor reference torque and is the sum of τ err and the feedforward torque T^ . τ mr ~ ^ err + ^ ffiv T m = k Υ T - τ mr k is the torque constant of the drive and the motor, Derivation of an alarm condition is exemplified by means of the case of runaway. Runaway implies that a movement is imparted to the axis, a movement which has no correspondence in the signals produced to the servo from the feed- forward generator. To obtain maximum sensitivity and minimum response time, the acceleration of the axis is used as a base for obtaining the alarm condition. It is of the greatest importance to find a signal combination which is as insensitive as possible to normal movements, which may be done by means of knowledge of the dynamics of the motor and the axis . Starting from Figure 3 , the following expressions may be set up for the acceleration of the motor: φ m (s) = Gr (s)•[ τ m (s) + τ distm (s) ] + G 2 (s) ■ τ dista (s) ( 1 ) where s is the Laplace operator in the frequency plane φ m : the acceleration of the motor τ m : torque generated by the motor to the motor axis tdistm : torque disturbance on the motor axis τ dista : torque disturbance on the arm Gι(s) : the transfer function between supplied torque on the motor axis and the acceleration of the motor axis G2(s) : the transfer function between supplied torque on the arm side and the acceleration of the motor axis . Gι(s) and G2(s) include the following parameters: J m : mass inertia of the motor J a : mass inertia of the arm K: spring constant between motor and arm c: damping between motor and arm. Normally, a gearbox with a defined gear ratio is used between the motor side and the arm side. All the parameters and signals are, however, converted to the motor side, which, for example, implies that torques have been reduced by the factor 1/n, where n is the gear ratio, and mass inertias by the factor 1/n^. Figure 4 shows a dynamic model for the motor and arm mechanics according to Figure 3. With the aid of this model, the transfer functions Gι(s) and G2(s) may be derived: ψ m = + Zz iΦ - ^ + - iΦ - ,, ) (2! where c s + k Ψa = Ψn (3 J ' a„ ■ s + c s + k This gives In the relationship 1 it now remains to obtain expressions for τ m , tdistm an d tdista- With feedforward control according to Figure 2 and Figure 3, the following expressions are obtained for τ m : τ m = k T - [Terr + a + J m)- Φref ~ τ tatfrict ' si 8 n [Φref ) " fdynfrict ' [Φref ) ~ _ τ rιppel ~ τ gravity ~ Further, the following relationships apply: T d,s, m = τ s,atfnc, ' si 8 n {Φn, ) + fdynfnc, + T πppel ( 7 ) τ d ,s ta = τ gravιl> + £ f centrj ■ ( j ) 2 + ∑ f corιj ■ (φ l )iφ J ) + ∑ J Jk - φ J ( 8 ) Here, an * means that the dynamic parameter is modelled and hence suffers from a model error. For both modelled and actual dynamic parameters, the following definitions apply: kT : the torque constant of the motor including drive circuits . The torque constant is the ratio between the actual motor torque and the reference torque. τ e rr : torque reference generated by the speed and position controllers in dependence on control errors. τ statfncι ' '• a simple description of the static friction as a torque multiplied by the sign of the speed. f d nf '■ the dynamic friction, which is proportional to the speed raised to the exponent p. τ πpPe i '• torque disturbance caused by rotor and stator ripple in the motor. τ grav i ty '• the torque from the gravitational force on the arm. ) ■ ' torque on the arm side caused by centrifugal forces from the axes with index j . f coπj {Φi )' (Φ j '• torque on the arm side caused by Coriolis forces from cooperating axis pairs i and j . J jk ' Φ, • ' torque on the arm side caused by coupled mass inertia from the axes j . The friction on the arm side has been omitted since the frictional torques will be divided by the gear ratio when conversion to the motor side takes place. All the relationships are converted to the motor side. We now have a complete description of all the components included in relationship 1 and we can now form a signal combination p rus which may be used for producing an alarm condition. P rus (s) = G rus (s) ■ [ m * (s) - φ m (s)) (9 ) G rU s( s ) is a filter which is substantially used for noise reduction of the acceleration signals. φ m * (s) is not known and must be derived to obtain a useful signal combination. Further, the alarm conditions and alarm limits which are to be implemented must be derived. How this is done is exemplified with the case of runaway, whereby the expression for p ms (s) can be directly used. With equation 1 in equation 9, the following is obtained: p rus (s) = G rus (s)-(G l (s)-[τ m (s) + τ dism (s)] + G 2 (s) ■ τ ώsta (s) - φ m (s)) (10) According to equations 6, 7 and 8: Tm Φref ~ k T ■ Ustm ~ k T ' Uista + k T τ err ( H ) Equation 11 in 10 gives rus (s) = G rus (s) ■ (G^S) [k T ■ (j * + J m * )- φ ref (s) - k τ ■ τ d * istm (s) - (12) ~ k T- d*ista( s + k r e*rr(s) + *Λrtm(*)]+ G 2 (s) • T dista ( S ) - φ m (s)) Set /„ /_. = J: c-c k = k * dista = τ dista + τ d.eva T distm = T "distm -4- T devm where τ d * ev is the estimated maximum deviation between actual disturbance torque and modelled disturbance torque. For the case of simple elasticity according to the model in Figure 4 and with G r us(s)=l, this gives: 2 * * / ■ s + c ■ s + k Prus( S ) = ..- τ* -s 2 +{:+:)-c-sχ(r m χj:)-k * [ k τ i + ) ■ Φ^ (s) + (τ dιstm (s) + τ devm (s) - k T * ■ τ dιstm (s) + k T * ■ τ err (s)) + c ■ + k * t * \ ^"^ 7* 7* 2 , / r ' , τ*\ * , ( Ύ * , τ*\ r * ' V'dista S) + T deva \ S) ) ~ J m J a s +{J m + J a )- • s + {J m + J a k J a -s 2 + c * -s + k i * , , .. - j J m -J a - S +{J m + Ja)- ■ S+{ m + a )-k In case of perfect control and in the case of a stiff body, k -x °° and τ err (s) = 0 and the condition for alarm then becomes the expected one: AMPL-(φ ref (s) - φ m (s)) ≥ EPS where AMPL ( ) means the amplitude of the frequency spectrum within the frequency range studied and EPS is a small number. If the control is not perfect, in the stiff-body case the condition will instead be as follows: AMPL(φ ref (s) - φ M + - - . τ err {s)) ≥ EPS t err (s) depends on model error during normal operation. It may be assumed that J a * varies so slowly that it may be regarded as constant in the frequency range of interest for the supervision. The expression 13 may be transferred to an alarm condition by introducing the following definitions: k T * = l + k τdev 1 c • s -f k 1 G 2 * (s) = . , - - —r. = ,« . ,• • G ( 15 ) J m " * " J a XX a 2 2 ** - r * * ^ m + > t T - s + c ■ s + k J„ + J a G, * (_s) is a model of the transfer function between supplied torque on the motor side and the acceleration of the motor axis . G^ is) is a model of the transfer function between supplied torque on the arm side and the acceleration of the motor axis. The expression 13 may now be modified with the aid of 14 and 15, which gives the following alarm condition when G rus is divided into Grusl snad Grus2 : AMPL ■ G 3 * (s) ■ φ ref (s) - φ m (s) + > C* ( _ > AMPL (G rus2 ■ G 3 ' Bmx (s) ■ k T ' dev ■ φ ref (s) + ,. • « evm (s) - k τ * dev ■ τ dislm ( )) + J + J.- J ' d,ev (16) Here the following definitions have been introduced: G 3MAX (s) is G 3 (s) with maximum deviation of J m * ,J α * ,c * ,k * where this maximum deviation gives a maximum amplitude of G 3 (s) in the frequency range in question. k T * dev is the maximum positive deviation from the value 1 of J d * ev is the maximum deviation of J m * + 7 * GI MAX ( S ) ^ S defined in the same way as G 3 * MAX (s) . G 3 1 O max ' G * , O 4max are model-controlled filters whereas Grusl n< G r us2 re low-pass filters. The dynamic model error parameters τ devm and τ d * evα are formed on the basis of knowledge of the errors of the modelled parameters. From the expressions 6, 7 and 8 the following is obtained: * τ devm - ^stαtfrict ' τ stαtfrict ' s ^8 n [Φref ) + ^dynfrict ' fdynfrict ' [Φref j + ^rippel ' τ rippel ( 17 ) ^devα ~ "-gravity ' "gravity " * " 2-i centri ' Jcentr; ' Pref ) "■" (18) + Σ d co nj ■ fcorij • (φrefi)( refD+ Σ d jk ' J ]k ' Φrefj i j<k The d * -parameters indicate the maximum error factor of the respective dynamic parameters. If the error is large, d * will be large (but < 1) and if the modelled parameter corresponds well to reality, d * will lie near 0. The model-based alarm limit will automatically be changed with the position, speed and acceleration of the manipulator axes. If, for example, the speed is reduced in all the axes, the error terms from dynamic friction, centrifugal forces and Coriolis forces will decrease and the alarm limit is automatically reduced. Two filters G& and Gβ are introduced. Now set in accordance with 14 and 15 : G ' = 7: + J: r lmax max G 2max ,* , j* j* '-Hma + Ja ~ J dev ' t iontt m mmin J m ~ r J a J dev T* T* r* • ' tot max "~ ' "' -Wrnin " * " -^ J dev A ~ G ruΛ G B = G ms2 We now obtain the general alarm condition: Gβ ' l G l max ' k Tdev ' • * tot max ' Φref + T devm ~ Tdev ' τ distm ~ ( 19 ) - ( l + k Tdev ) - τ d'is,α + k Tdev T err ] + G 2max ' = G 1 LVl : : alarm condition LGl : : alarm limit GA are Gβ re filters of low-pass type or of bandpass type 5 and the purpose of using these filters is to reduce the influence of unwanted disturbances of the alarm condition. In the normal case, LVi < LGi . If LVi > LGl an alarm is released. Figure 5 shows a block diagram of a supervision 0 which implements equation 19. The signals which are used for calculating the alarm value LV are φ ref ,τ err ,φ m . The alarm limit LG is calculated with the aid of the signals φ ref and τ err . The following parameters are calculated by the dynamic model: J u * ι , J u ' MAX , k T ' dev , τ d ' evm , τ dlsm , τ i ' an , τ d ' eva and the parameters 15 included in . O 2max • The alarm limit determines the sensitivity to detection of different error conditions such as incorrect position, incorrect speed (runaway) , incorrect acceleration, 20 incorrect load, incorrect axis torque and incorrect disturbance torque (e.g. jamming). The alarm limit LGi in equation 19 is especially sensitive with respect to detection of runaway, but it may also be used for the other error conditions if an unmodelled alarm limit component is 25 added. In its simplest case, the alarm limit may be constant. The constant alarm limit must have a value which is greater than the maximum alarm value for normal operating situations of the robot. 30 A certain logic is required to generate the sign of k T * dev such that the alarm condition becomes maximized with respect to the sign of k τ * dev . To explain the cases where τ mr is limited by a torque limit, which gives τ mrlim ,. t , instead of τ err the difference between τ mrMmil and τ ^ is used, that is, - -> ^mr.Mmit ~ ^ ffw * For a stiff manipulator, k * —>∞, which gives the following: G\ - * J tot 1 G lmax - ~ 7* ( 20 ) J tot min 1 G 2 max r J tot min In the derivation of G t * and G 2 * a simple motor/arm model, with an elasticity between the motor side and the arm side of the axis, is used. In more complex flexible arm systems with coupled oscillations between different arms which give rise to several oscillation modes, G, * och G 2 * will be of a higher order, but the alarm condition 19 will be the same . An analysis corresponding to the one made for supervision of runaway may also be made for other fault conditions. If, for example, non-modulated disturbance torques are to be supervised, the following signal combinations may be started from: P d i st ( s ) = G dist (s) ■ (τ dista (s) - τ dista (s)) ( 21 ) Now, τ dista (s) is not directly measurable as φ m {s) in the case of runaway, φ m is used as a measurement signal. A relationship must therefore be obtained between τ dista (s) and <P m (s) ■ From equation 1 the following is obtained: d i sta (s) = G 2 l (s)- {φ m (s) - G, (s)- [τ m (s) + τ distm (s)]} ( 22 ) The expression for τ m (s) is obtained from 11 and may be inserted into 22 : The alarm condition for the flexible case will now be: LV, - φ ref + τ err )- φ m ≥ G B ■ (G l * max ■ LG, ( 23a) The difference between the alarm condition for runaway, equation 19, and the alarm condition for disturbance torque, equation 23a, thus resides in the expression for the model-based alarm limit. The method may also be used for detecting, during an emergency stop, when the mechanical brakes start working. This gives a possibility of accurate control also during an emergency stop process. To derive the alarm condition for load errors, it is suitable to find a signal combination for the error in the mass inertia. Since all the movements require at least one acceleration period and one deceleration period, all the movements will therefore be influenced by errors in the mass inertia. Thus, the following signal combination may be made the starting-point: Ploαd tot ) To relate this signal combination to measurable signals, the following approximation is made: Ploαd = U , ■ Φref ~ J tot ' Φm ) With the aid of the relationships 1 and 11, it may be shown that also in this case, the alarm condition according to 19 is obtained with a few minor modifications of the alarm limit. The general alarm condition 19 may be revised to obtain forms which are easier to implement. Using relationship 11, the following alarm condition may thus be obtained: By multiplication by G 2 l* and G^ the following alarm condition is obtained: LV 3 =\G A ■ (G ■ G; • {τ m + r .) + τ ώsm - G? ■ φ m )\ ≥ 1 _, * I ( 23 c ) -|G β • (G 2max • ln • {k Tdev ■ τ m + τ devm ) + τ deva )\ — r 4 Figure 6 shows a block diagram for generating the alarm condition according to equation 23c. The dynamic model, block 7, calculates the following parameters: ^T ev ' ~ devm ' ^ distm ' * dista ' ~ άeva * For a simple elasticity, the following applies: This gives the alarm condition: Lv, =\G A ■ (G 2 -" • G • (τ nιr - /: • φ m + τ dls + r fl - / • # B )| > ( 23d) ≥ \ G B ■ (Ga , ■ <?,*„» • (&rώ ' T mr - J devm ■ Φm + ^devm ) + T + J ' Φ m )| = ^O. The alarm conditions 23a-23d have the property of being very sensitive to incorrect disturbance torques, loads, accelerations, etc., while at the same time they do not release during normal operating cases . This is due to the following facts: - The alarm conditions are based on signal combinations which directly describe the faults which are to be detected. - The alarm conditions are model-based both with respect to a dynamic stiff-body model and a dynamic elasticity model of the manipulator . - The alarm limit is based on a model of the error of the dynamic models and will be automatically increased when, for example, the acceleration and the speed increase. The alarm conditions give very rapid detection and may also be used in very elastic axes in that the effects of the elasticities and the axis damping factors are modelled through filters which implement the transfer functions: G,0), G 2 (s), G 2 ~l (s), och G 2 -'C • G,(_y) In addition, the derivation from different signal combinations show that the alarm condition is generally applicable. If Learning Control is used, the expression 11 will be supplemented: τ m = k τ - (j a * + J m * φ ref - k τ ■ τ distm - k T ■ τ d * ista + k T ■ τ err + k T ■ τ LC (24 ) where τ LC is the feedforward torque from the Learning Control loop. τ LC will reduce τ err and τ ffw + τ LC will provide a torque feedforward with a small error. This enables the alarm limit to be lowered. How much the alarm limit can be lowered depends on how many learning cycles have been run and on how efficient the learning is. Learning Control means that signals from the servo are stored away during the program execution and that these signals are utilized in a later program execution for improving the performance of the control. Learning Control is described, for example, in an article "Learning Control of Robot Manipulators" by Robert Horowitz in Journal of Dynamic Systems, Measurement and Control, June 1993, Vol. 115 pages 402-411. Learning Control may also be adapted directly to the alarm condition. In this way, the value of the lefthand term in, for example, (23a) is stored from cycle to cycle and the stored values are used as alarm limits: v LC (k,t) = \G A - (G • (j; ot ■ ' x ΔV *- C c (t) = \ IV L 1Λ C - (k,t) - V L " C - An alarm is then released by the alarm condition : LV 5 = + AV LC \= LV 6 or ( 26 ) ZN 5 = LV ( 61 k is the current program cycle. t is the time (or position) within the cycle. NLC (k, t ) is the learned value of the lefthand term in 23a. ΔVLc(k,t) is the variation in V C between different cycles . The model-based limit according to 23a is suitably used when the learning starts or if ΔVL is too great. To sum up, the alarm conditions 23a-23d are generally very useful and may be used, with minor modifications, for detection of runaway, incorrect load, jamming, frictional deviation, collision, measurement system errors, control electronics errors, drive system errors, configuration parameter errors, brake application, etc. When the alarm conditions have detected an alarm situation, this can be used for changing control strategy, initiating emergency braking, etc. What is to be done is determined by a logic module, which checks the speeds, positions, torques, etc., of the axes. The above embodiments show a servo with torque feedforward control, but the invention is also applicable to a servo which has no feedforward control. In such an embodiment, the output signals from the trajectory generator constitute reference signals to the servo ( φ ref = φ bg ,φ ref — φ b ) • Figure 7 shows a general block diagram for supervision of the movement control of a manipulator according to the invention. The dynamic model calculates a plurality of dynamic parameters, block 7, based on calculated reference values for the position of the robot axis. The reference value for the position φ ref of the axis and the current position φ m of the axis is supplied to the servo which calculates the motor torques τ mτ and τ err which are torques dependent on control errors in the position and speed control, block 9. If the servo has no feedforward control, then τ mr = τ err . An alarm value LV is calculated, block 20, in dependence on the current acceleration φ m of the axis, dynamic parameters and at least some of the signals φ ref (alarm condition 23a) , T err (alarm condition 23a) , and τ mr (alarm conditions 23b-23d) . An alarm limit LG is calculated, block 21, in dependence on a combination of dynamic parameters and at least some of the signals φ ref (alarm condition 23a) , τ err (alarm condition 23a) , τ mr (alarm condition 23b-23d) och φ m (alarm condition 23d) . The alarm value is compared with the alarm limit and an alarm signal ALARM is generated in dependence on the comparison.

Claims: CLAIMS 1. A method for supervision of the movement control of a manipulator, the manipulator comprising a movable part which may be moved relative to a fixed part or another movable part, at least one movement axis (A1-A6) for positioning the movable part, a motor which drives the shaft and hence the movable part, a servo (9) for controlling the axis in accordance with supplied reference values for position, speed and acceleration ( φ ref , φ ref , φ ref ) , and a position sensor (10) adapted to supply an output signal which defines the current position ( φ m ) of the axis, wherein a plurality of dynamic parameters ( J tZot ,' j l'olM„A.X„ ,'jfc T * dev ,'r ά * evm ,'-zγ dist,m ,'τ d'ista ,'τ a!eva ) are calculated in dep ^endence on reference values for the position and speed of the axis and a dynamic model (7) which describes the static and dynamic properties of the robot, the current acceleration ( φ m ) of the axis is calculated on the basis of the current position ( φ m ) of the axis , a torque signal ( mr ) is generated by the servo in dependence on the control error torque ( τ err ) of the servo, characterized in that it further comprises the following steps : an alarm value (LV) is calculated as a function of the current acceleration ( φ m ) , at least some of the dynamic parameters ( J a , J m , c , k) and one or more of the following signals: the control error torque ( err ) of the servo, the reference value for the acceleration ( φ ref ) and the torque signal from the servo ( T mr ) , and while using one or more signal filters ( G * ,G 2 ,G 2 X* ) , an alarm limit (LG) is calculated as a function of one or more of the following parameters: a constant, the current position ( φ m ) , the current speed ( φ m ) , the current acceleration ( φ m ) , any of the dynamic parameters the control error torque ( τ erτ ) of the servo, the reference value for the acceleration ( φ . ) and the torque signal from the servo ( τ mr ) , the alarm value is compared with the alarm limit and an alarm signal (LARM) is generated in dependence on the comparison. 2. A method according to claim 1, characterized in that in the calculation of the alarm limit, estimations of maximum model errors s r devm ,τ deva ,k τ * dev , J deva ) as well as one or more signal filters (G^ ^ ^ ) are utilized. 3. A method according to claim 1 or 2 , characterized in that said signal filter ( G, * ) is a model of the transfer function between supplied torque on the motor side and the acceleration of the motor axis . 4. A method according to any of the preceding claims, characterized in that signal filter ( G 2 ) is a model of the transfer function between supplied torque on the arm side and the acceleration of the motor axis . 5. A method according to claim 1, characterized in that the alarm value (LVI) is calculated in dependence on the following relationship: G; { r ref err . Ψ, 6. A method according to claim 1 or 5 , characterized in that the alarm limit (LGl) is calculated in dependence on the following relationship: β ' i , l maχ • / rΛv • tot maκ ■ ψ re f + t e vm Td ev ' ^ ddistm — 7. A method according to claim 1 or 5 , characterized in that the alarm limit (LG2) is calculated in dependence on the following relationship: "fi ' (" l max ' τd e ' •'ω t max ' Ψ r ef + τ devm ~ k, dev ' 1 ' err J + ■ T deva , G 2 maχ • T (kva j 8. A method according to claim 1, characterized in that the alarm value (LV3) is calculated in dependence on the following relationship: \G A -(G- 1* G; -{τ m +τ m )+τ Λ -G: l* - 9. A method according to claim 1 or 8, characterized in that the alarm value (LG4) is calculated in dependence on the following relationship: \G B ■ ( 2 max lmax (k Tdev τ mr + τ d.evm )+ l 10. A method according to claim 1, characterized in that the alarm value (LG3) is calculated in dependence on the following relationship: B ' G ima ' k Tdev • T mr + T devm ) + G 2ma T dem )\ 11. A method according to claim 1 or 10, characterized in that the alarm value (LV2) is calculated in dependence on the following relationship: \G A ■ (G; ■ (τ m xτ dis + G; ■ τ dista - φ m )| 12. A method according to claim 1, characterized in that the alarm value (LV4) is calculated in dependence on the following relationship: \G A -{G ■ Gl-{τ mr -r m -φ m + τ distm ) + τ d , s -J a ' -φ m )\ 13. A method according to claim 1 or 12 , characterized in that the alarm limit (LG5) is calculated in dependence on the following relationship: \G B • (G 2rnax • G lmκ • (k τdev • τ m J devm • φ m + τ devm ) + τ deva + J dem ■ 14. A method according to claim 1, characterized in that the alarm value (LV5) is calculated in dependence on the following relationship: 15. A method according to claim 1 σr 14, characterized in that the alarm limit (LG6) is calculated in dependence on the following relationship:

Inventors: BROGAARDH TORGNY, ELFVING STAFFAN, JONSSON INGVAR, MOBERG STIG, SKANTZE FREDRIK, BROGAARDH, TORGNY, ELFVING, STAFFAN, JONSSON, INGVAR, MOBERG, STIG, SKANTZE, FREDRIK
Applicants: ASEA BROWN BOVERI, BROGAARDH TORGNY, ELFVING STAFFAN, JONSSON INGVAR, MOBERG STIG, SKANTZE FREDRIK, ASEA BROWN BOVERI AB, BROGAARDH, TORGNY, ELFVING, STAFFAN, JONSSON, INGVAR, MOBERG, STIG, SKANTZE, FREDRIK
Application year: 1998
Main classification: B25J9
IPC codes: B25J9, B25J19, G05B13