Abstract:
In a method for controlling a manipulator, in particular a robot, a reference path is stored and reference increments are automatically determined while following the path the reference increments are determined based on the dynamics of the manipulator while following the path.

Description:
BACKGROUND OF THE INVENTION 
       [0001]    1. Field of the Invention 
         [0002]    The present invention refers to a method for controlling a manipulator, in particular a robot, of the type wherein a reference path is stored and reference increments are determined while following the path, and to a control device for a manipulator for performing such method. 
         [0003]    2. Description of the Prior Art 
         [0004]    In many applications a reference path of a manipulator is stored a priori offline, for example by teaching of positions which are to be reached successively by a manipulator-fixed reference coordinate system like the tool centre point (“TCP”). While executing a respective work program, an interpolating device then determines online reference increments for the single joints of the manipulator based on a stored path planned from said stored positions. The manipulator control aims to realize said reference increments in time increments determined by the path planning. 
         [0005]    This is not always possible since for example joint drives cannot apply the necessary forces and torques. Thus, in present practice usually the path velocity is reduced by hand until torque limits and other limitations can be met. This so-called override method is mentioned for example in DE 199 59 330 A1. 
       SUMMARY OF THE INVENTION 
       [0006]    It is an object of the present invention to improve the behavior of a manipulator when following a stored path. 
         [0007]    The above object is achieved in accordance with the present invention by a method for controlling a manipulator, such as a robotic manipulator, wherein a reference path is stored and reference increments are automatically determined in a processor while following the path, and wherein the reference increments are determined based on dynamics of the manipulator while following the path. The processor emits a control signal, as an output from the processor, which controls movement of the manipulator with respect to the path, according to the aforementioned determinations. 
         [0008]    As noted above, according to the present invention the dynamics of the manipulator is taken into account online while following the path. If the dynamics does not allow following the stored path exactly with a predetermined velocity, a deviation from the path can be made in a predetermined way and/or the path velocity can automatically be reduced in a predetermined way. Preferably this reaction is determined online by a multi-criteria optimization. 
         [0009]    For this purpose at first a reference path is stored, for example as sequence of reference positions 
         [0000]      r s ={r s,1 , r s,2 , . . . }  (1) 
         [0000]    or as parameterized functions, for example by spline polynomials of higher degree for the reference positions versus time t or a path parameter s: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         r 
                         s 
                       
                        
                       
                         [ 
                         
                           s 
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                         ] 
                       
                     
                     = 
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           0 
                         
                         
                             
                         
                       
                        
                       
                           
                       
                        
                       
                         
                           a 
                           i 
                         
                         · 
                         
                           t 
                           i 
                         
                       
                     
                   
                   , 
                 
               
               
                 
                   ( 
                   2 
                   ) 
                 
               
             
           
         
       
     
         [0000]    wherein a reference position preferably is defined in the Cartesian work space of the manipulator and may define the location of a manipulator-fixed reference coordinate system, in particular of the TCP, relative to the origin of a reference system, for example in Cartesian coordinates (x, y, z), and/or its orientation relative to such reference system, for example in EULER- or KARDAN-angles (α, β, γ): 
         [0000]        r   s   [s ( t )]=[ x y z α β γ]   T   (3) 
         [0010]    A reference position can also be defined directly in joint coordinates q=[q 1 , . . . q a ] T , which define the positions of joints of the manipulator, for example the angular positions of rotational joints of an articulated robot, wherein the Jacobian J gives the transformation between a positional change Δr of a manipulator-fixed reference coordinate system and the change of the joint coordinates Δq: 
         [0000]      Δ r=J·Δq   (4) 
         [0011]    While following the path an interpolating device at a point of time t determines online reference increments, by which the actual position of the manipulator is to be changed in a time increment Δt so as to follow the stored reference path. These reference increments can be determined in work space or, preferably, in joint coordinates, so that they may be used as reference values in a control for the joint drives: 
         [0000]      Δq s (t)  (5) 
         [0012]    In the present application by generalization a feedforward and also a feedback control both are called a control, for example a PID single joint control or the like, to which the single Δq i (t) are given as reference joint angle updates. 
         [0013]    The interpolating device can firstly determine a reference movement Δr s (t) for a time increment Δt, for example by interpolating between stored positions or by evaluating a stored function: 
         [0000]      Δ r   s ( t )= r   s ( t+Δt )− r ( t )  (6) 
         [0014]    Conventionally then from (4) and (6) the reference increments Δq s (t) are determined by solving the equation 
         [0000]      Δ r   s ( t )= J·Δq   s ( t )  (7) 
         [0015]    However it may occur that such-determined reference increments Δq s (t) cannot be realized in the time increment Δt, since that for example may require too large forces and torques of the drives. Thus according to the present invention the reference increments are determined while following the path on basis and taking into account the dynamics of the manipulator, in particular a, preferably linearized, model of the manipulator. 
         [0016]    The dynamics of a manipulator can be modelled by its equations of motion 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       M 
                       · 
                       
                         
                           
                              
                             2 
                           
                            
                           q 
                         
                         
                            
                           
                             t 
                             2 
                           
                         
                       
                     
                     + 
                     
                       h 
                        
                       
                         ( 
                         
                           q 
                           , 
                           
                             
                                
                               q 
                             
                             
                                
                               
                                 t 
                                 
                                     
                                 
                               
                             
                           
                         
                         ) 
                       
                     
                   
                   = 
                   τ 
                 
               
               
                 
                   ( 
                   8 
                   ) 
                 
               
             
           
         
       
     
         [0000]    with the mass matrix M, the n-th time derivative d n /dt n , the drive forces τ=[τ 1 , . . . τ A ] T  in the joints (in the present application also torques, for example of drive motors, are called forces), and the vector h embodying the weight forces, frictional forces, gyroscopic forces and the like. Generally each mathematical relation between positions, in particular joint coordinates, time derivatives thereof and drive forces is called a “model” in the meaning of the present invention, in particular relations stored in tabular form or as parameterized functions. 
         [0017]    By linearizing or discretizing of the equations of motion and/or the time derivative, for example by: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                        
                       q 
                     
                     
                        
                       
                         t 
                         
                             
                         
                       
                     
                   
                   ≈ 
                   
                     
                       
                         
                           Δ 
                            
                           q 
                         
                         s 
                       
                        
                       
                         ( 
                         t 
                         ) 
                       
                     
                     
                       Δ 
                        
                       t 
                     
                   
                 
               
               
                 
                   ( 
                   9.1 
                   ) 
                 
               
             
             
               
                 
                   
                     
                       
                          
                         2 
                       
                        
                       q 
                     
                     
                        
                       
                         t 
                         2 
                       
                     
                   
                   ≈ 
                   
                     
                       
                         
                           
                             
                               Δ 
                                
                               q 
                             
                             s 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                         
                           Δ 
                            
                           t 
                         
                       
                       - 
                       
                         
                            
                           q 
                         
                         
                            
                           
                             t 
                             
                                 
                             
                           
                         
                       
                     
                     
                       Δ 
                        
                       t 
                     
                   
                 
               
               
                 
                   ( 
                   9.2 
                   ) 
                 
               
             
             
               
                 
                   
                     
                       
                         τ 
                         = 
                           
                          
                         
                           
                             M 
                             · 
                             
                               
                                 
                                    
                                   2 
                                 
                                  
                                 
                                   q 
                                    
                                   
                                     ( 
                                     t 
                                     ) 
                                   
                                 
                               
                               
                                  
                                 
                                   t 
                                   2 
                                 
                               
                             
                           
                           + 
                           
                             h 
                              
                             
                               ( 
                               
                                 
                                   q 
                                    
                                   
                                     ( 
                                     t 
                                     ) 
                                   
                                 
                                 , 
                                 
                                   
                                      
                                     
                                       q 
                                        
                                       
                                         ( 
                                         t 
                                         ) 
                                       
                                     
                                   
                                   
                                      
                                     
                                       t 
                                       
                                           
                                       
                                     
                                   
                                 
                               
                               ) 
                             
                           
                         
                       
                     
                   
                   
                     
                       
                         ≈ 
                           
                          
                         
                           
                             M 
                              
                             
                               ( 
                               
                                 
                                   
                                     
                                       
                                         Δ 
                                          
                                         q 
                                       
                                       s 
                                     
                                      
                                     
                                       ( 
                                       t 
                                       ) 
                                     
                                   
                                   
                                     
                                       Δ 
                                        
                                       t 
                                     
                                     2 
                                   
                                 
                                 - 
                                 
                                   
                                     
                                        
                                       
                                         q 
                                          
                                         
                                           ( 
                                           t 
                                           ) 
                                         
                                       
                                     
                                     / 
                                     
                                        
                                       t 
                                     
                                   
                                   
                                     Δ 
                                      
                                     t 
                                   
                                 
                               
                               ) 
                             
                           
                           + 
                           
                             h 
                              
                             
                               ( 
                               
                                 
                                   q 
                                    
                                   
                                     ( 
                                     t 
                                     ) 
                                   
                                 
                                 , 
                                 
                                   
                                      
                                     
                                       q 
                                        
                                       
                                         ( 
                                         t 
                                         ) 
                                       
                                     
                                   
                                   
                                      
                                     
                                       t 
                                       
                                           
                                       
                                     
                                   
                                 
                               
                               ) 
                             
                           
                         
                       
                     
                   
                   
                     
                         
                     
                   
                 
               
               
                 
                   ( 
                   9.3 
                   ) 
                 
               
             
           
         
       
     
         [0000]    thus by evaluating the model of the manipulator it can be determined, whether the drive forces τ which are required to realized the reference increments Δq s (t), exceed given drive limits, for example by determining reference increments Δq s (t) according (7) and checking according to (9.1), (9.2) and (8) or (9.3) whether drive forces yielding from model (8) or (9.3) respectively are within a tolerable range: 
         [0000]      τ min ≦τ≦τ max   (10) 
         [0018]    If this is not the case, in a preferred embodiment the reference increments are determined such that they deviate or differ from the reference motion in a predetermined or predefined way. To this purpose the reference increments can for example be determined as, in particular linear, transformation or mapping of the reference motion, for example by multiplying with a shortening or reducing factor: 
         [0000]      (1−θ)·Δ r   s ( t )= J·Δq   s ( t )  (11) 
         [0019]    Thus the reference motion resulting from the interpolation or evaluation of the stored reference path at first is shortened or reduced until the required drive forces τ, which yield from the dynamics of the manipulator taken into consideration, are within the tolerable range. 
         [0020]    It is also possible to predetermine other deviations from the reference motion, in a preferred embodiment for example by determining a tube enclosing the reference motion, wherein the reference increments must be located within said tube. Then the reference motion yielding initially from the interpolation or the evaluation of the stored reference path, is varied within the predetermined tube until, for example, the required drive forces τ yielding from the dynamics of manipulator taken into account, are within the tolerable range. This also is a determination of the reference increments as a mapping, respectively a linear mapping, of the reference motion, wherein the mapping then describes the predetermined space of tolerable deviations, in particular a tube enclosing the reference motion: 
         [0000]      Δ r   s ( t )         Δ q   s ( t )=Φ(Δ r   s ( t )  (11a) 
         [0021]    Parameterizing the mapping then allows to optimize it, i.e. to determine the deviations with respect to the reference motion such that the necessary drive forces τ yielding from the dynamics of the manipulator taken into account are within the tolerable range: 
         [0000]      Φ=Φ(θ)  (11b), 
         [0000]      for example 
         [0000]      (1−θ 1 )·Δ r   s ( t )+θ 2   ·n   Δr ( t )+θ 3   ·b   Δr ( t )= J·Δq   s ( t ) 
         [0000]    with the normal and the bi-normal vector n Δr (t), b Δr (t) to the reference motion or with other vectors, wherein the deviation may be predetermined for example by the parameters θ and/or by choosing the vectors. 
         [0022]    Additionally or alternatively it is also possible that a reference velocity for the time increment can differ from the reference motion velocity in a predetermined way, if the drive forces, which are necessary to realize the reference motion exceed tolerable drive forces, for example by enlarging the time increment, by reducing the reference motion and/or by reducing a path velocity ds(t)/dt. 
         [0023]    Preferably the reference increments may by determined by an optimization. 
         [0024]    Therein for example as optimization criteria a deviation 
         [0000]      Ψ 1 =(1−θ)·Δ r   s ( t )− J[q ( t )]·Δ q   s ( t )  (12.1a) 
         [0000]      or 
         [0000]      Ψ 1 =(1−θ 1 )·Δ r   s ( t )+θ 2   ·n   Δr ( t )+θ 3   ·b   Δr ( t )− J[q ( t )]·Δ q   s ( t )  (12.1 b) 
         [0000]    between the reference motion and reference increments in a predetermined way, a reserve 
         [0000]    
       
         
           
             
               
                 
                   
                     Ψ 
                     2 
                   
                   = 
                   
                     
                       M 
                       · 
                       
                         
                           
                              
                             2 
                           
                            
                           
                             q 
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                         
                         
                            
                           
                             t 
                             2 
                           
                         
                       
                     
                     + 
                     
                       h 
                        
                       
                         ( 
                         
                           
                             q 
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                           , 
                           
                             
                                
                               
                                 q 
                                  
                                 
                                   ( 
                                   t 
                                   ) 
                                 
                               
                             
                             
                                
                               t 
                             
                           
                         
                         ) 
                       
                     
                     - 
                     
                       τ 
                       zul 
                     
                   
                 
               
               
                 
                   ( 
                   12.2 
                   ) 
                 
               
             
           
         
       
     
         [0000]    between tolerable drive forces and the drive forces which—in particular according to the (linearized) model—are required to realize the reference motion, a reserve 
         [0000]    
       
         
           
             
               
                 
                   
                     Ψ 
                     3 
                   
                   = 
                   
                     
                        
                       
                         J 
                         · 
                         
                           
                             
                               
                                 Δ 
                                  
                                 q 
                               
                               s 
                             
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                           
                             Δ 
                              
                             t 
                           
                         
                       
                        
                     
                     - 
                     
                       v 
                       zul 
                     
                   
                 
               
               
                 
                   ( 
                   12.3 
                   ) 
                 
               
             
           
         
       
     
         [0000]    between reference velocity for the time increment and a tolerable Cartesian velocity, a deviation 
         [0000]    
       
         
           
             
               
                 
                   
                     Ψ 
                     4 
                   
                   = 
                   
                     
                       
                         
                           
                             Δ 
                              
                             q 
                           
                           s 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                       
                         Δ 
                          
                         t 
                       
                     
                     - 
                     
                       
                          
                         q 
                       
                       
                          
                         
                           t 
                           s 
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   12.4 
                   ) 
                 
               
             
           
         
       
     
         [0000]    between reference velocity for the time increment and reference joint velocity, a Reserve 
         [0000]      Ψ 5   =q   s   −q   singular   (12.5) 
         [0000]    between poses which are reached by realizing the reference increments and singular poses, drive forces required to realize the reference motion 
         [0000]    
       
         
           
             
               
                 
                   
                     Ψ 
                     6 
                   
                   = 
                   
                     
                       
                         M 
                         · 
                         
                           
                             
                                
                               2 
                             
                              
                             
                               q 
                                
                               
                                 ( 
                                 t 
                                 ) 
                               
                             
                           
                           
                              
                             
                               t 
                               2 
                             
                           
                         
                       
                       + 
                       
                         h 
                          
                         
                           ( 
                           
                             
                               q 
                                
                               
                                 ( 
                                 t 
                                 ) 
                               
                             
                             , 
                             
                               
                                  
                                 
                                   q 
                                    
                                   
                                     ( 
                                     t 
                                     ) 
                                   
                                 
                               
                               
                                  
                                 t 
                               
                             
                           
                           ) 
                         
                       
                     
                     = 
                     τ 
                   
                 
               
               
                 
                   ( 
                   12.6 
                   ) 
                 
               
             
           
         
       
     
         [0025]    a distance between poses which are reached by realizing the reference increments and preferred poses 
         [0000]      Ψ 7   =J·q   s   −r   bevorzugt   (12.7) 
         [0000]    and/or other terms may be optimized. 
         [0026]    In this way for example the reference motion resulting from the interpolation or evaluation of the stored reference path can be shortened by determining an optimal scaling factor θ such that the necessary drive forces τ yielding form the dynamics of the manipulator taken into account, are within the tolerable range. The single optimization criteria can for example be evaluated as an absolute norm 
         [0000]      ∥Ψ i ∥  (13.1), 
         [0000]    a minimal, maximal or mean norm 
         [0000]    
       
         
           
             
               
                 
                   
                     Ψ 
                     i 
                   
                   = 
                   
                     
                       [ 
                       
                         
                           Ψ 
                           
                             1 
                             , 
                             i 
                           
                         
                         , 
                         
                           Ψ 
                           
                             2 
                             , 
                             i 
                           
                         
                         , 
                         
                           … 
                            
                           
                               
                           
                            
                           
                             Ψ 
                             
                               n 
                               , 
                               i 
                             
                           
                         
                       
                       ] 
                     
                     ⇒ 
                     
                       { 
                       
                         
                           
                             
                               
                                 
                                   
                                     
                                       Min 
                                        
                                       
                                         { 
                                         
                                           
                                             Ψ 
                                             
                                               1 
                                               , 
                                               i 
                                             
                                           
                                           , 
                                           
                                             Ψ 
                                             
                                               2 
                                               , 
                                               i 
                                             
                                           
                                           , 
                                           
                                             … 
                                              
                                             
                                                 
                                             
                                              
                                             
                                               Ψ 
                                               
                                                 n 
                                                 , 
                                                 i 
                                               
                                             
                                           
                                         
                                         } 
                                       
                                     
                                   
                                 
                                 
                                   
                                     
                                       Max 
                                        
                                       
                                         { 
                                         
                                           
                                             Ψ 
                                             
                                               1 
                                               , 
                                               i 
                                             
                                           
                                           , 
                                           
                                             Ψ 
                                             
                                               2 
                                               , 
                                               i 
                                             
                                           
                                           , 
                                           
                                             … 
                                              
                                             
                                                 
                                             
                                              
                                             
                                               Ψ 
                                               
                                                 n 
                                                 , 
                                                 i 
                                               
                                             
                                           
                                         
                                         } 
                                       
                                     
                                   
                                 
                               
                             
                           
                           
                             
                               
                                 
                                   
                                     Ψ 
                                     
                                       1 
                                       , 
                                       i 
                                     
                                   
                                   + 
                                   
                                     Ψ 
                                     
                                       2 
                                       , 
                                       i 
                                     
                                   
                                   + 
                                   
                                     … 
                                      
                                     
                                         
                                     
                                      
                                     
                                       Ψ 
                                       
                                         n 
                                         , 
                                         i 
                                       
                                     
                                   
                                 
                                 n 
                               
                             
                           
                         
                         , 
                       
                     
                   
                 
               
               
                 
                   ( 
                   13.2 
                   ) 
                 
               
             
           
         
       
     
         [0000]    or the like. Therein different optimization criteria, in particular competing criteria, can be taken into account by penalty functions or equality or inequality constraint and preferably can be evaluated in a multi-criteria optimization which optimizes different optimization criteria at the same time, for example in a Pareto optimization, a weighted sum of the optimization criteria or the like. 
         [0027]    Depending on the chosen optimization criteria, in particular depending on the weighting of the deviation from the predetermined path, the reserve between drive forces which are necessary for realization and the maximum drive forces which are still tolerable, and the velocities occurring therewith, then the reference increments Δq s (t) are determined such that the manipulator fully utilizes its maximum tolerable drive forces and velocities and, if this is not sufficient for realizing the reference increments Δr s (t), deviates in a defined direction therefrom in a controlled way and/or reduces its velocity. 
         [0028]    If the optimization does not find a tolerable solution, for example since the reference motion must be shorted too much in order not to exceed the tolerable drive forces, a respective message can be issued and/or following of the path can be stopped. 
         [0029]    Using the optimization also is advantageous if the manipulator is redundant, in particular if it reaches singular positions. This is because by evaluating the optimization criterion (12.1) it is also possible to find at least one set of joint coordinates for each singular position. In this respect a manipulator is redundant with respect to a section of a stored reference path if in said section the manipulator has more degrees of freedom then are necessary for realizing a reference position in the Cartesian work space. For example a manipulator with seven or more degrees of freedom is always redundant since a reference position in the Cartesian work space is already well-defined by predetermining three coordinates for the location and three coordinates for the orientation. If on the other hand less then three coordinates for the location and three coordinates for the orientation are necessary for the description, for example since the orientation relative to an axis is not predetermined, then also a manipulator with fewer degrees of freedom is redundant with respect to this reference positions. 
         [0030]    The above object also is achieved in accordance with the present invention by a control device for a manipulator, such as a robotic manipulator, that is configured to implement the method described above, and all embodiments thereof. 
         [0031]    The above object also is achieved in accordance with the present invention by a computer-readable medium encoded with programming instructions that, when loaded into a processor that controls a manipulator, such as a robotic manipulator, cause the processor to execute a method as described above, as well as all embodiments thereof. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0032]      FIG. 1  shows a robot with one joint and a control device according to one embodiment of the present invention. 
           [0033]      FIG. 2  shows a control method according to one embodiment of the present invention 
       
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0034]      FIG. 1  shows as a very simple example a robot  1  with one single rotational joint, which shall follow a half circle in the x-z-plane of the reference system depicted in  FIG. 1  as a reference path within a time period T. 
         [0035]    To this purpose in step S 10  (cf.  FIG. 2 ) at first the reference path is stored as parameterized functions with respect to time t: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         r 
                         s 
                       
                        
                       
                         ( 
                         t 
                         ) 
                       
                     
                     = 
                     
                       [ 
                       
                         
                           
                             
                               - 
                               
                                 cos 
                                  
                                 
                                   ( 
                                   
                                     
                                       π 
                                       · 
                                       t 
                                     
                                     T 
                                   
                                   ) 
                                 
                               
                             
                           
                         
                         
                           
                             0 
                           
                         
                         
                           
                             
                               sin 
                                
                               
                                 ( 
                                 
                                   
                                     π 
                                     · 
                                     t 
                                   
                                   T 
                                 
                                 ) 
                               
                             
                           
                         
                         
                           
                             0 
                           
                         
                         
                           
                             
                               π 
                               · 
                               
                                 ( 
                                 
                                   1 
                                   - 
                                   
                                     t 
                                     T 
                                   
                                 
                                 ) 
                               
                             
                           
                         
                         
                           
                             0 
                           
                         
                       
                       ] 
                     
                   
                   , 
                 
               
               
                 
                   ( 
                   
                     2 
                     ′ 
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    wherein the reference position r s (t) denotes the location of the TCP with respect to the origin of the reference system in the work space in Cartesian coordinates (x, y, z) and its orientation with respect to the reference system in KARDAN angles (α, β, γ) (cf. (3)). 
         [0036]    While following the path at the point of time t=0.5 T depicted in  FIG. 1  with vertically orientated arm an interpolating device online determines the reference increment Δq of the joint angle q with respect to the y axis by which the actual position of the manipulator is to be changed in a time increment Δt in order to follow the reference path. For this purpose the interpolating device firstly determines in a step S 20  (cf.  FIG. 2 ) for the time increment 
         [0000]    
       
         
           
             
               Δ 
                
               t 
             
             = 
             
               T 
               4 
             
           
         
       
     
         [0000]    a reference motion Δr s (t): 
         [0000]    
       
         
           
             
               
                 
                   
                     Δ 
                      
                     
                         
                     
                      
                     
                       
                         r 
                         s 
                       
                        
                       
                         ( 
                         
                           T 
                           2 
                         
                         ) 
                       
                     
                   
                   = 
                   
                     
                       
                         [ 
                         
                           
                             
                               
                                 1 
                                 
                                   2 
                                 
                               
                             
                           
                           
                             
                               0 
                             
                           
                           
                             
                               
                                 1 
                                 
                                   2 
                                 
                               
                             
                           
                           
                             
                               0 
                             
                           
                           
                             
                               
                                 - 
                                 
                                   π 
                                   4 
                                 
                               
                             
                           
                           
                             
                               0 
                             
                           
                         
                         ] 
                       
                       - 
                       
                         [ 
                         
                           
                             
                               0 
                             
                           
                           
                             
                               0 
                             
                           
                           
                             
                               1 
                             
                           
                           
                             
                               0 
                             
                           
                           
                             
                               
                                 - 
                                 
                                   π 
                                   2 
                                 
                               
                             
                           
                           
                             
                               0 
                             
                           
                         
                         ] 
                       
                     
                     = 
                     
                       [ 
                       
                         
                           
                             
                               1 
                               
                                 2 
                               
                             
                           
                         
                         
                           
                             0 
                           
                         
                         
                           
                             
                               
                                 1 
                                 - 
                                 
                                   2 
                                 
                               
                               
                                 2 
                               
                             
                           
                         
                         
                           
                             0 
                           
                         
                         
                           
                             
                               π 
                               4 
                             
                           
                         
                         
                           
                             0 
                           
                         
                       
                       ] 
                     
                   
                 
               
               
                 
                   ( 
                   
                     6 
                     ′ 
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    by evaluating the stored function. In step S 25  (not shown) therefrom a provisional axis angle update 
         [0000]    
       
         
           
             
               Δ 
                
               
                 
                   
                     q 
                     ∼ 
                   
                   s 
                 
                  
                 
                   ( 
                   
                     T 
                     2 
                   
                   ) 
                 
               
             
             = 
             
               π 
               4 
             
           
         
       
     
         [0000]    is determined according to equation (7) by, for example, only taking into account orientation. 
         [0037]    According to the invention, the real or actual reference increment Δq s (T/2) is determined on basis of the dynamics of the manipulator while following the path. Said dynamics may be modelled by the equation of motion 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         
                           
                             m 
                              
                             l 
                           
                           2 
                         
                         
                            
                           M 
                         
                       
                       · 
                       
                         
                           
                              
                             2 
                           
                            
                           q 
                         
                         
                            
                           
                             t 
                             2 
                           
                         
                       
                     
                     + 
                     
                       
                         m 
                         · 
                         l 
                         · 
                         g 
                         · 
                         
                           cos 
                            
                           
                             ( 
                             q 
                             ) 
                           
                         
                       
                       
                          
                         
                           h 
                            
                           
                             ( 
                             
                               q 
                               , 
                               
                                 
                                    
                                   q 
                                 
                                 
                                    
                                   t 
                                 
                               
                             
                             ) 
                           
                         
                       
                     
                   
                   = 
                   τ 
                 
               
               
                 
                   ( 
                   
                     8 
                     ′ 
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    with the mass m=1 kg of the arm concentrated in the TCP, the arm length l=1 m, the gravity constant g and the drive torque τ acting in the joint. 
         [0038]    By linearizing the equation of motion and the time derivatives according (9.1) to (9.3) then in step S 30  it can be determined by evaluating the model (8′) of the manipulator whether the drive torque τ which is necessary to realize the provisional axis angle update Δ{tilde over (q)} s (T/2) exceed tolerable drive limits: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       τ 
                       
                         mi 
                          
                         n 
                       
                     
                     ≤ 
                     τ 
                   
                   = 
                   
                     
                       m 
                       · 
                       
                         [ 
                         
                           
                             
                               Δ 
                                
                               
                                 
                                   
                                     q 
                                     ∼ 
                                   
                                   s 
                                 
                                  
                                 
                                   ( 
                                   
                                     T 
                                     2 
                                   
                                   ) 
                                 
                               
                             
                             
                               
                                 Δ 
                                  
                                 t 
                               
                               2 
                             
                           
                           - 
                           
                             
                               
                                 
                                   
                                      
                                     q 
                                   
                                   
                                      
                                     t 
                                   
                                 
                                  
                               
                               
                                 T 
                                 2 
                               
                             
                             
                               Δ 
                                
                               t 
                             
                           
                         
                         ] 
                       
                     
                     ≤ 
                     
                       τ 
                       max 
                     
                   
                 
               
               
                 
                   ( 
                   
                     10 
                     ′ 
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    with the joint velocity dq/dt| T/2  at the point of time 0.5 T which for example may be measured. If the drive torque which is necessary to realize the provisional axis angle update is within the tolerable range [τ min , τ max ] of tolerable drive limits (“J” in S 30 ), it can be determined directly as real or actual reference increment Δq s (T/2): 
         [0000]      Δ q   s ( T/ 2)←Δ {tilde over (q)}   s ( T/ 2)  (S50) 
         [0039]    If however the drive torque which is necessary to realize the provisional axis angle update exceeds tolerable drive limits (“N” in S 30 ), then the reference increment is determined such that it differs from the reference motion in a predetermined way predetermined by equation (11) or (11a, b), so that the reference motion yielding from evaluating the stored reference path is shortened until the necessary drive torque τ is within the tolerable range. 
         [0040]    For this purpose, in step S 40  the parameter θ and the reference increment Δq s (T/2) are determined such that the sum, weighted with w, of the absolute value of the deviation 
         [0000]      Ψ 1 =(1−θ)·Δ r   s ( t )− J[q ( t )]·Δ q   s ( t )  (12.1a′) 
         [0000]      or 
         [0000]      Ψ 1 =(1−θ 1 )·Δ r   s ( t )+θ 2   ·n   Δr ( t )+θ 3   ·b   Δr ( t )− J[q ( t )]·Δ q   s ( t )  (12.1b′) 
         [0000]    between reference motion and reference increments and of the negative value of the reserve 
         [0000]    
       
         
           
             
               
                 
                   
                     Ψ 
                     2 
                   
                   = 
                   
                     
                       m 
                       · 
                       
                         [ 
                         
                           
                             
                               Δ 
                                
                               
                                 
                                   
                                     q 
                                     
                                         
                                     
                                   
                                   s 
                                 
                                  
                                 
                                   ( 
                                   
                                     T 
                                     2 
                                   
                                   ) 
                                 
                               
                             
                             
                               
                                 Δ 
                                  
                                 t 
                               
                               2 
                             
                           
                           - 
                           
                             
                               
                                 
                                   
                                      
                                     q 
                                   
                                   
                                      
                                     t 
                                   
                                 
                                  
                               
                               
                                 T 
                                 2 
                               
                             
                             
                               Δ 
                                
                               t 
                             
                           
                         
                         ] 
                       
                     
                     - 
                     
                       τ 
                       zul 
                     
                   
                 
               
               
                 
                   ( 
                   
                     12.2 
                     ′ 
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    between tolerable and necessary drive torque, i.e. die optimization criterion 
         [0000]      w 1 ·|Ψ 1 |−w 2 ·Ψ 2 , w 1 , w 2 ≧0 
         [0000]    becomes a minimum. Of course equations (12.1′), (12.2′) can also be taken into account by penalty functions or equality or inequality constraints. In this respect the mapping (1−θ 1 )·Δr s (t)+θ 2 ·n Δr (t)+θ 3 ·b Δr (t) with the normal and the bi-normal vector n Δr (t), b Δr (t) defines a deviation of the reference increments relative to the reference motion in a tube enclosing the reference motion Δr s  defined by upper limits for θ 2 , θ 3 . 
         [0041]    Thus the optimization shortens, according to the weighting w, the reference increment with the scaling factor(s) θ until, with the smallest necessary deviation relative to the reference motion, a sufficient reserve of the drive torque is achieved, which may also be equal to zero so that the available drive torque is fully utilized (S 70 ). This reference increment is transferred to a PID joint control which moves the robot  1  accordingly. 
         [0042]    In a modification not shown alternatively the optimization reduces the velocity until a sufficient reserve of the drive torque is reached. 
         [0043]    If the optimization does not find any admissible solution (S 60 : “J”), a corresponding message is issued and following of the path is stopped (S 80 ). 
         [0044]    In another modification not shown step S 30  may be omitted. This is because if the necessary reserve of the drive torque is kept also with the full reference motion, then the optimization determines, with a respective weighting in step S 40  with θ=0, the provisional axis angle update as the reference increment Δq s (T/2). The pre-check in step  30  still is advantageous since on the one hand the provisional axis angle update is determined more effectively and on the other hand it can be made sure in an easy way that the control does not shorten the reference motion unnecessarily with respect to a reserve of the drive torque which is unnecessarily large. 
         [0045]    Although modifications and changes may be suggested by those skilled in the art, it is the intention of the inventors to embody within the patent warranted hereon all changes and modifications as reasonably and properly come within the scope of their contribution to the art.