US 6,181,983 B2Grant
Method of command control for a robot manipulator
Issue Date:2001-01-30
•16 Claims
•2 Drawing Sheets
Abstract
Beginning with a successive commanded end-effector destination shift, the method of the invention, which includes a calculation corresponding to a special algorithm of inverse kinematics using the Jacobi Matrix in the control of a manipulator, effects an optimization of weighted criteria (energy criteria, acceleration criteria and reference-position criteria) in a real-time cycle while reliably maintaining all path limitations and resulting in an optimized acceleration behavior. The method of the invention can be used in interactive path guidance of a manipulator and/or as a modular component of a superordinate task, such as for force-control objectives.
Metadata
Assignee
- Deutsches Zentrum f{umlaut over (u)}r Luft-und Raumfahrt e.v.
Inventors
- Maximilian Schlemmer
- Manfred Schedl
- Michael Steinmetz
- Georg Gr{umlaut over (u)}bel
- Reinhard Finsterwalder
Application Information
Application Number:US 09/100,014
Filing Date:1998-06-19
Priority Date:1997-06-20
Art Unit:7
Classifications
IPC:
G06F 1900
Field of Search:
70024570026270026370025070025170024431856811131856824318646318628318648900 9900 15708442708625
Patent Drawings (2 sheets)
Description
Field of the Invention
[0002] The present invention relates to a method of command control for a manipulator, based on end-effector destination shifts (Δxd) commanded by a programmer or a superordinate task with the aid of a manual control ball or the like, in combination with a calculation of articulation position values according to an algorithm of inverse kinematics.
Review of the Related Technology
[0003] Methods of command control of a manipulator based on end-effector destination shifts, in combination with a calculation according to an algorithm of inverse kinematics using the Jacobi Matrix, are known from Siciliano, B., Sciavicco, L.: “Modeling and Control of Robot Manipulators,” McGraw-Hill Companies (1996), pp 95 to 101, and from Vukobratovic, M., Kircanski, N.: “Kinematics and Trajectory Synthesis of Manipulation Robots,” Springer-Verlag, Tokyo, 1986, pp 105 to 122.
[0004] In this context, a method of inverse kinematics is obtained for kinematically non-redundant manipulators, albeit in a partial space of the working area that contains non-singular positions. Since singular configurations, i.e., articulator positions in which the Jacobi Matrix experiences a reduction in priority, do occur in practice, this method has only limited application, because the operation being performed with the manipulator (interactive path guidance, force control) must be aborted or delayed when a singular configuration (singularity) is approached.
[0005] In this context, a method is known that includes a calculation of a generalized inverse of the Jacobi Matrix. This method possesses a few advantageous properties, but is also associated with a number of disadvantages. For example, a smoothness of the calculated articulation path and low wear of the robot drive are attained through minimization of the local articulation position offset Δq (local energy criteria). In addition, the spacing between the articulation positions and the physical articulation stops is taken into consideration through the optimization of global criteria in the zero space of the Jacobi Matrix. Disadvantages of this method are that it cannot guarantee that path limitations will be maintained with physical articulation stops, and unstable behavior occurs in singular robot positions due to a (generalized) inversion of the Jacobi Matrix, and inefficient robot path courses are possible when conflicting local and global criteria exist.
[0006] In another known method, in which a calculation of the transposed Jacobi Matrix is performed, the commanded end-effector destination is attained iteratively corresponding to a representation of reverse kinematics as an optimization problem. An advantageous feature of this method is a stable behavior in singular robot positions, because the Jacobi Matrix is not inverted.
[0007] However, there is no guarantee that path limitations can be maintained through physical articulation stops and maximum articulation speeds. Superordinate heuristics must be constructed to meet these requirements, which then results in errors in the real end effector position compared to the desired end effector position. Inefficient path courses result in the form of interference movements of the end effectors, because the Cartesian linear movement commanded by the manual control ball cannot be transferred exactly to the end effector of the manipulator.
[0008] Moreover, the robot drive is subjected to high material wear due to abrupt passage through singular robot positions and because of a generally insufficiently smooth articulation path, since neither the weighted local articulation position offset nor the local articulation speed offset (local energy and acceleration criteria) have been optimized. A further negative consequence is a low convergence speed, i.e., a reduced ability to operate in real time, because no practical optimum strategy is known for determining the positively-defined Cartesian stiffness matrix.
[0009] DE 33 44 633 C2 describes a real-time control in which the redundant articulations that are not necessary for the movement of an end effector are noted for calculating the articulation speed, which simplifies the calculation of the inverse Jacobi Matrix. This type of calculation is performed for at least one of the articulation combinations. The speeds for each articulation are then determined through averaging of the calculated articulation speeds. A weighting of the articulation speeds thus takes place in this prior art.
[0010] U.S. Pat. No. 5,430,643 also describes a real-time method, in which the inverse Jacobi Matrix is calculated. The method known from this U.S. patent document also takes into consideration weight values for the articulation speeds, as well as path limitations for at least a graphic simulation of the robot's movements.
[0011] The German patent application 197 03 915.4 and U.S. application Ser. No. 08/017,485 propose a method in which an interactive path guidance of a kinematically redundant manipulator can be performed efficiently, with the advantage of an accordingly less complex and thus more user-friendly parametrization. The only disadvantage of this method is that it is not suitable for force control purposes since no uniform measurement exists to indicate which percentage of the desired end-effector destination shift can be attained; also, the method places a lower priority on attaining the best possible end-effector destination shift.
Summary of the Invention
[0012] It is an object of the invention to provide a method of inverse kinematics command control for an interactive path guidance, and/or as a modular component of a superordinate task (e.g., force control) of a manipulator with an optimized acceleration behavior, with which path limitations can be reliably maintained through physical articulation stops and maximum allowable articulation speeds to ensure the accuracy of the determined solution with respect to the allowable path limitations, and with which the stress on the manipulator drive device is kept to a minimum by optimizing the acceleration behavior of the articulation axes.
[0013] In accordance with the invention, which relates to a method of command control for a manipulator of the above type, this object is accomplished in that
[0014] a new articulation position (qi+1) of the manipulator is calculated, beginning with a commanded end-effector destination shift and the current actual value (qi) of the articulation position of the manipulator,
[0015] with consideration of a quality function (f(q) ) to be minimized, which is parametrized by non-negative weighting values (aαj, βj, γj),
[0016] and with consideration of path limitations through physical articulation stops (qmin, qmax), maximum articulation speed ({dot over (q)}max), maximum articulation acceleration ({umlaut over (q)}max) in an environment of physical articulation stops, and the kinematic equation, which is represented by the Jacobi Matrix (J (q)), which articulation position predetermines the new values for the articulation regulators, with the quality function (f(q)) being the sum of energy criterion, reference-position criterion, acceleration criterion and an additional criterion,
[0017] the energy criterion being calculated from
[0018] (q−qi)tdiag(aj)(q−qi)
[0019] the reference-position criterion being calculated from
[0020] (q−qref)tdiag(βjj)(q−qref),
[0021] the value qrefbeing a predetermined articulation position value that is determined such that the sequence of calculated articulation position values (qi) runs near this reference position value;
[0022] the acceleration criterion being calculated from
[0023] (q−2qi−1)tdiag(γj)(q−2qi+qi−1),
[0024] and
[0025] the additional criterion from −p, with the scalar parameterp satisfying the kinematic equation p·Δxd=J(qi(q−qi) and the inequality 0≦p≦1; p·100 being the attained percentage of the commanded end-effector destination shift (Δxd),
[0026] beginning with an articulation-position value qias the starting point, an allowable optimization vector is determined on the basis of the quality function with respect to all active secondary conditions that indicate which path limitations have been attained, and this vector is scaled according to the inactive secondary conditions that indicate which path limitations have not been attained;
[0027] the scaled optimization vector is added to the articulation position value calculated in the previous iteration step;
[0028] and the optimum quality of these articulation-position values is evaluated based on the quality function and the secondary conditions activated in the newly-calculated articulation position.
[0029] The method according to the invention may be used in the interactive path guidance of the manipulator based on end-effector destination shifts commanded by an operator with the aid of a manual control ball (space mouse) or the like.
[0030] The method according to the invention may, however, also be used as a modular component of a superordinate task, with end-effector destination shifts commanded by the superordinate task. A superordinate task may, for instance, be one of the type posed by force-control objectives.
[0031] The method of the invention results in low wear of the manipulator drive through minimization of the local articulation-position offset Δq and the local articulation-speed offset (energy criteria and acceleration criteria). “Narrow” articulation paths around a reference position (e.g., zero position) are attained, resulting in a reversible behavior of the manipulator movement.
[0032] This specifically serves to prevent the manipulator roller axes from twisting increasingly during the performance of the commanded manipulation until they come to rest against the end stop, rendering a continued performance of the manipulation task impossible.
[0033] Articulation stops are advantageously mostly avoided or approached gently or with low wear. This behavior is caused by a delay effect of the robot axes, which acts proportionally to the distance from the reference position, and by explicit acceleration limitations. In addition, a stable behavior results for singular robot positions, because the Jacobi Matrix is not inverted.
[0034] Another advantage is the occurrence of efficient path courses through the exact transfer of the Cartesian linear movement commanded by the manual control ball to the end effector of the manipulator. In addition, path limitations are reliably maintained through physical articulation stops and maximum articulation speeds.
[0035] Since this results in a restriction of the number of solutions, i.e., in a limited number of allowable articulation positions, a high convergence speed is attained with a gain in real-time operability. In addition, the attained percentage of the desired end-effector destination shift is calculated. Singularities can be approached in a stable manner and/or passed through; as a result it also is not necessary to limit the working space.
[0036] A Cartesian end-effector destination shift Δc, commanded at a time Tican be commanded by the operator and/or by a superordinate task (e.g., force control) in the form of a 6-dimensional increment vector. Alternately, the increment vector may also be determined by evaluating the difference between absolute end-effector coordinates.
Brief Description of the Drawing Figures
[0037] In the appended drawings:
[0038] FIG. 1 is a schematicized illustration of an input/output flux of reverse kinematics in the real time grid;
[0039] FIG. 2 shows, in the form of a block diagram, an algorithm of inverse kinematics used in the method of command control of a manipulator according to the invention, and
[0040] FIG. 3 shows the application of the method of the invention for the command control of a manipulator within the frame of the performance of a superordinate task, such as a force control.
Detailed Description of the Preferred Embodiment
[0041] The present invention is a method for transforming the input commands to a robot (or “manipulator”), preferably via Jacobian matrix methods. The invention also contemplates an apparatus for transforming the input commands, which may be interposed between an actuator and the robot. The actuator may any sort, e.g. a mouse or joystick, a recorder with a recorded sequence of commands to be output to the calculating unit, a second programmed computer, and so on.
[0042] The apparatus, which acts as a calculating unit, in most cases will be a microprocessor, computer, etc., but may be an analogue computer or other device which can carry out the method of the invention. The present invention also includes a combination of actuator, calculating unit, and robot.
[0043] FIG. 1 is a time graph showing the notation used for the inputs and outputs to the calculating unit of the present invention. The horizontal axis represents time. Calculation inputs are generically denoted x and results or outputs corresponding to robotic position are generically denoted q, with superscripts showing the corresponding instant of time. FIG. 1 shows that the calculations are preferably not continuous but incremental. The method calculates over the time interval a next qi+1from the preceding qi.
[0044] A robot's manipulator will ordinarily have six degrees of freedom in space (three of translation and three of rotation). According to the particular geometry of the robot's limbs, rotators, etc., there will be several different sets of actuators and sensors associated with respective dimensions. The notation of FIG. 1 represents only one of several dimension, i.e. angles or directions, in which the manipulator can move.
[0045] It is to be noted that motion in any one of the six directions is likely to cause motion in at least one of the others, and these motions are interrelated according to the geometry of the robot. For example, an angular changes at a “elbow” will cause a “hand” to translate through an arc. If the input device or instruction set has a different geometry from the robot—for example, the input device has three levers for three directions in space but the robot has a single extendable arm—then the end-effect destination shift commands will need to be converted into manipulator articulation positions by the use of matrix methods. Thus matrix methods must be used in the present equation.
[0046] FIG. 2 is a flowchart schematically illustrating the method of the invention. Aside from the input from the actuator, i.e. Δxd, the calculation process also takes into account parameters shown in the box at left.
[0047] One of these parameters is a limit on the input, Δxmax, which cuts off large commands, i.e. in case of a sudden joystick lurch or the like.
[0048] Other parameters limit the motion of the robot: displacement or angle limits are denoted by qminand qmax, and maximum robot change rates and acceleration qmaxand qmax. In FIG. 3 these are shown as “Path limitations”.
[0049] Still other parameters α, β, and γ are described as “algorithm parameter weightings” in FIG. 3. These weighting values are preferably non-negative, and are used to minimize a “quality function” f(q). The quality function incorporates criteria based on energy, reference position, acceleration, and a scalar parameter p.
[0050] In the method according to the invention, a commanded end-effector destination shift Δxc: =(Δxt, Δxr) is specified with the use of the Jacobi Matrix of kinematics at a time Ti, said end-effector destination shift being commanded by the operator with the aid of a space mouse or control ball in the form of a 6-dimensional increment vector. Δxtε 3or Δxrε 3always denote the translational or rotational portion of the commanded end-effector destination shift, whereas Δxtmaxor Δxrmax, respectively, each define the maximum (scalar-value) translational or rotational Cartesian position offset of the end effector per sampling time ΔT.
[0051] The desired Cartesian translational or rotational end-effector destination shift Δxtdor Δxrdper sampling time ΔT is defined as follows:
[0052] The value |x| of a vector x is determined here and hereinafter by its Euclidian norm
[0053] The desired end-effector destination shift is explained by Δxd: =(Δxtd, Δxrd). The energy criteria, reference-position criteria and acceleration criteria can be suitably weighted according to the prevalent problem-specific requirements by allocating three positive numerical values αj, βj, γjto each axis j, which are predetermined by the operator, the value αjserving in the weighting of an energy criterion that evaluates the difference between two adjacent, calculated articulation positions of axis j; and the value βjserving in the weighting of a criterion that evaluates the deflection of the articulation position qjfrom a reference value qref,j, which is also predetermined by the operator, and the value γjserving in the weighting of a criterion which evaluates the acceleration behavior in the form of an articulation speed offset of the articulation axis qj. The articulation speed offset of the articulation axis qjis predetermined by the operator, just like the physical articulation stops qmin, qmaxof the manipulator, which relate to path limitations, and the articulation speed limitations {dot over (q)}maxand the articulation acceleration limitations {umlaut over (q)}max. Since the method according to the invention is intended to optimize weighted criteria in the real-time cycle while guaranteeing that all path limitations are maintained, an allowable optimum articulation position offset Δqiis calculated for a desired end-effector destination shift Δxdiat the time Ti−1during the time interval ΔT, with the algorithm of inverse kinematics that progresses during an initialization phase and a subsequent optimization phase. The current desired value is provided to the articulation regulators from qsolli+1:=qsolli+Δqi, with the articulation positions being shifted accordingly by the articulation regulators with qsolliduring the time period ΔT. Allowable articulation position offset is understood to mean that the articulation position value that has been updated with Δq satisfies the physical articulation stops qmin, qmaxcorresponding to qmin≦qsoll+Δqmax, and Δq satisfies the articulation speed limitations {dot over (q)}maxcorresponding to |Δqi|≦{dot over (q)}maxΔT. As a result, the limitations of the articulation accelerations are maintained reliably during the approach of articulation positions to the physical articulation stops. The type of optimum quality of Δqican be determined by the operator through the quality-criterion weighting α, β, γ. As a result, the sampling time ΔT corresponding to ΔT≧max (Δtq, Δtr) is dimensioned such that the computation time Δtqfor calculating an optimum allowable articulation position offset Δq and the adjustment time Δtr, which the regulators require for adapting the axial positions to the desired values qsoll, lie within the time span ΔT.
[0054] An algorithmic description of the method of the invention follows.
[0055] Ji, i=1, . . . , ndof denote the columns of the Jacobi Matrix of kinematics in the point qiof the current articulation position of the manipulator, ndof denotes the number of articulations and εi:={dot over (q)}maxiΔT denotes the maximum allowed articulation position offset per sampling time ΔT. With
[0056] and Jε:=(J1ε1, J2ε2, . . . , Jndofεndof), the incremental kinematic equation is as follows:
[0057] pΔxd=Jεy. (1)
[0058] Because of the path limitations, the following box limitations result for y:
[0059] Further define:
[0060] with Δ{overscore (q)}idenoting the recently calculated increment of the i-th articulation axis.
[0061] So that all path limitations can be met, according to the kinematic equation (1), the desired end-effector destination shift is subjected to a centric extension described in the form of a scalar:
[0062] 0≦p≦1.
[0063] The value p is maximized with the method of the invention such that all path limitations are maintained, with p·100 being the attained percentage of the desired end-effector destination shift.
[0064] Define the limitation vector b:=0, 0, 0, 0, 0, 0, ymin, 0,−ymax, −1) ε 2n+6, the parameter vector x: =(y,p) to be determined and the matrix of the gradients of all secondary conditions A ε 2n+6,nwith n: =ndof+1:
[0065] Here Inε n,nindicates the unit matrix. Furthermore, αi, i=1, . . . , 2n+6 indicate the lines of A.
[0066] The weights α, β, γ of the criteria define the Cholesky factor of the Hesse matrix from the scaled sum of the criteria in the form of the diagonal matrix Λε n,n. These criteria are the energy criterion (q−qi)tdiag(αj) (q−qi), the reference-position criterion (q−qref)tdiag (βj) (q−qref), with the value qrefbeing a predetermined articulation position value which is determined such that the sequence of the calculated articulation position values (qi) runs near this reference position value; the acceleration criterion (q−2qi+qi−1)tdiag(γj) (q−2qi+qi−1) and the additional criterion from −p, whereby the scalar parameter p satisfies the kinematic equation pΔxd=J(qi)(q−qi) and the inequality 0≦p≦1; p·100 being the attained percentage of the commanded end-effector destination shift (Δxd). The main diagonal elements of the above-mentioned diagonal matrix are:
[0067] The base structure of the special method according to the invention, which utilizes an inverse kinematics for command control, is illustrated schematically in FIG. 2
[0068] An algorithm used in the method of the invention for the inverse kinematics is described in more detail below, in conjunction with FIG. 2. In the used algorithm of inverse kinematics, first an initialization phase is performed, which is configured as follows: Counting index: k=0; Starting value xk=(yk, pk)=0; k max>2; Initialize with mk: =7 the matrix of the gradients of the active secondary conditions {circumflex over (A)}tε mn:
[0069] initialize the index quantity Jk: =(jk1, jk2, . . . , jk2n+6) to characterize the active, singular and inactive secondary conditions:
[0070] initialize the orthogonal triangular factorization of {circumflex over (A)}:
[0071] (rk, Jk, Yk, Zk, Lk, Sk):=Φ0A({circumflex over (A)},mk, Jk);
[0072] initialize the orthogonal regular triangular factorization of {overscore (Z)}:=ΛZk:
[0073] (Qkz,Rkz):=Φ0z({overscore (Z)}rk):
[0074] initialize the gradient vector of the quality function f(q)
[0075] The following abbreviated form is used for gk:
[0076] 2(βiscal(yki−yrefi)+γiscal(yki−yacci)+αiscalyki−1),
[0077] In the used algorithm of inverse kinematics, an optimization phase is next, which is constructed as follows:
[0078] Calculate the direction of optimization dk:
[0079] Rkzdaux=−QkzZkgk.
[0080] From this, determine dauxthrough reverse substitution.
[0081] Rkzdz=Qkzdaux.
[0082] From this, determine dzthrough reverse substitution. Define the direction of optimization:
[0083] dk:=Zkdz.
[0084] Determine the maximum step width skand the index jki0of the limiting secondary condition:
[0085] (In the event of ambiguity, select the j0 having the smallest index i0).
[0086] III. Check for optimum quality and update all matrix and index values.
[0087] (a) If sk<1 (secondary condition jk0has become active):
[0088] i. If mk<n (there are still inactive secondary conditions):
[0089] xk+1=xk+skdk, xk+1=(Yk+1, Pk+1); gk+1=2(βiscal(yk+1i−yrefi)+γiscal(yk+1i−yacci)+αiscalyk+1i−1).
[0090] Update matrix factorization and index quantity: (rk+1, mk+1, Jk+1, Yk+1, Zk+1, Lk+1, Sk+1):=Φ+A(i0, rk, mk, Jk, Yk, Zk, Lk, Sk).
[0091] Check xk+1, for optimum quality:
[0092] If Zk+1tgk+1=0 and λk+1=LLS(rk+1, mk+1, gk+1, Yk+1, Lk+1)≧0 then: go to step IV.
[0093] Otherwise: k=k+1 (increase iteration index)
[0094] If k>k max: go to step IV.
[0095] Otherwise: Determine the orthogonal, regular triangular factorization of
[0096] {overscore (Z)}:=ΛZk+1:
[0097] (Qk+1z,Rk+1z):=Φz({overscore (Z)},rk+1)
[0098] Go to Step I.
[0099] ii. If mk=n (corner of allowable range is attained, exchange of active secondary conditions is necessary):
[0100] Release a direction having the highest optimization potential:
[0101] Update matrix factorizations and index quantity:
[0102] {tilde over (r)}k,{circumflex over (m)}k,{tilde over (J)}k,{tilde over (Y)}k,{tilde over (Z)}k,{tilde over (L)}k, {tilde over (S)}k)=Φ−A(j0,rk,mk,Jk,Yk,Zk,Lk,Lk, Sk)
[0103] Activate secondary condition jki0.
[0104] Update matrix factorizations and index quantity:
[0105] (rk−1,mmk+1,Jk+1,Yk+1,Zk+1,Lk+1,Sk+1):=Φ+A(i0,{tilde over (r)}k,{tilde over (m)}k,{tilde over (J)}k,{tilde over (Y)}k,{tilde over (Z)}k,{tilde over (L)}k,{tilde over (S)}k).
[0106] Examine xk+1for optimum quality:
[0107] If Zk+1tgk+1=0; and λk+1=LLS(rk+1,mk+1,gk+1,Yl+1,Lk+1)≧0
[0108] then: go to step IV.
[0109] Otherwise: k=k+1 (increase iteration index)
[0110] If k>k max: go to step IV.
[0111] Otherwise: Determine the orthogonal, regular triangular factorization of
[0112] {overscore (Z)}:=ΛZk−1: (Qk+1z,Rk+1z):=Φz({overscore (Z)},rk+1).
[0113] Go to Step I.
[0114] If sk=1 (no new active secondary condition).
[0115] xk+1=xk+dk, xk+1=(Yk+1, Pk+1);
[0116] gk+1=2(βiscal(yk+1i−yrefi)+γiscal(yk+1i−yacci)+αiscalyk+1i−1);
[0117] Update matrix factorizations and index quantity:
[0118] (rk+1, mk+1, Jk+1, Yk+1, Zk+1, Lk+1, Sk+1):=(rk, mk, Jk, Yk, Zk, Lk, Sk).
[0119] Check xk+1for optimum quality:
[0120] If Zk+1tgk+1=0;
[0121] and λk+1=LLS(rk+1, mk+1, gk+1, Yk+1, Lk+1)≧0
[0122] then: go to step IV.
[0123] Otherwise: Release a direction having the highest optimization potential:
[0124] λkj0:=jminλkj;
[0125] Update matrix factorizations and index quantity:
[0126] (rk+1, mk+1, Jk+1, Yk+1, Zk+1, Lk+1, Sk+1):=Φ−A(j0, rk, mk, Jk, Yk, Zk, Lk, Sk)
[0127] −k=k+1 (increased iteration index)
[0128] If k>k max: go to Step IV.
[0129] Otherwise: Determine the orthogonal, regular triangular factorization of
[0130] {overscore (Z)}:=ΛZk+1:
[0131] (Qk+1z, Rk+1z):=Φz({overscore (Z)},rk+1).
[0132] Go to Step I.
[0133] IV. Solution xk+1is determined. Stop!
[0134] End of algorithm of inverse kinematics.
[0135] Definition of the finction LLS:
[0136] λ=LLS(r, m, g, Y, L).
[0137] λ=0, i=r+1, . . . , m;
[0138] λnL:=(λr+1, . . . , λm);
[0139] LtλL=ytg.
[0140] From this, determine λLε rthrough reverse substitution. Define the output value of the function:
[0141] λ:=(λL, λhL).
[0142] With leq:=1+maxl≦i≦m|λ(i)|, set the components of λ that are among the secondary conditions of Equation (1) at the value leq. End of function LLS.
[0143] Definition of the function Φ+:
[0144] ({overscore (r)}, {overscore (m)},{overscore (J)},{overscore (Y)},{overscore (Z)},{overscore (L)},{overscore (S)})=Φ+A(i0,r,m,J,Y,Z,L,S).
[0145] Activate secondary condition ji0, The condition is applied that αj0with j0: =ji0designate the ji0-th line of A. Define Qt:=(Y, Z) and form {overscore (α)}:=Qαj0. Partition {overscore (α)}=:({overscore (α)}y,{overscore (α)}z) with {overscore (α)}yε rand {overscore (α)}zε n−r. Determine the householder reflection {tilde over (H)} ε n−r,n−rso that |{overscore (α)}z|e1={tilde over (H)}{overscore (α)}z, with e1:=(1, 0, . . . , 0)ε n−r. Define the unitary transformer: H ε n,naccording to:
[0146] Define the unitary transformer:
[0147] {overscore (Q)}:=HQ;
[0148] Update indices:
[0149] {overscore (m)}:=m+1;
[0150] Exchange secondary conditions:
[0151] If {overscore (r)}≠r, then
[0152] otherwise
[0153] {overscore (J)}:=({overscore (j)}1, . . . , {overscore (j)}2n+6).
[0154] Update matrix factorizations.
[0155] {overscore (Y)} is the partial matrix of {overscore (Q)}tthat includes columns 1 through {overscore (r)} of Q{overscore (Q)}t.
[0156] {overscore (Z)} is the partial matrix of {overscore (Q)}tthat includes columns {overscore (r)}+1 through n of {overscore (Q)}t.
[0157] End of the function Φ+.
[0158] Definition of the function Φ.:
[0159] ({overscore (r)},{overscore (m)},{overscore (J)},{overscore (Y)},{overscore (Z)},{overscore (L)},{overscore (S)})=Φ−A(i0,r,m,J,Y,Z,L,S).
[0160] Inactivate secondary condition ji0.
[0161] If j0>r: (Eliminate singular, active secondary condition) Update indices:
[0162] {overscore (r)}:=r;
[0163] {overscore (m)}:=m−1;
[0164] Exchange secondary conditions:
[0165] {overscore (J)}:=({overscore (j)}1, . . . , {overscore (j)}2n+6).
[0166] Update matrix factorizations:
[0167] {overscore (Y)}:=Y;
[0168] {overscore (Z)}:=Z;
[0169] {overscore (L)}:=L;
[0170] {overscore (SL)}:=(S1, . . . ,Sj0−r−l,Sj0−r+1,Sm−r),
[0171] where Sidenote the columns of S.
[0172] If j0≦r: (Eliminate regular active secondary condition) {tilde over (R)} results from R:=Ltthrough striking of the j0-th column. The elements of {tilde over (R)} that occur at the locations (j0,j0+1), (j0+1, j0+2), . . . , (r,r+1) are canceled through left manipulation with a sequence of unitary elimination matrices {tilde over (E)}j0,j0+1, . . . , {tilde over (E)}r−1,rεIRr,r. Define linear transformers:
[0173] {circumflex over (R)}:={tilde over (E)}r−1,r{tilde over (E)}r−2,r−1. . . {tilde over (E)}j0,j0+1{tilde over (R)};
[0174] {circumflex over (S)}:={tilde over (E)}r−1,r{tilde over (E)}r−2,r−1. . . {tilde over (E)}j0,j0+1S;
[0175] Qt:=(Y,Z);
[0176] {overscore (Q)}:=Er−1,rEr−2,r−1. . . Ej0,j0+1Q;
[0177] If the last line of {circumflex over (S)} is zero, or if r=m:
[0178] Update indices:
[0179] {tilde over (r)}:=r−1;
[0180] {overscore (m)}:=m−1;
[0181] Exchange secondary conditions:
[0182] {overscore (J)}:=({overscore (j)}1, . . . , {overscore (j)}2n+6).
[0183] Update matrix factorizations:
[0184] {overscore (Y)} is the partial matrix of {overscore (Q)}tthat includes columns 1 through {overscore (r)} of {overscore (Q)}t.
[0185] {overscore (Z)} is the partial matrix of {overscore (Q)}tthat includes columns {overscore (r)}+1 through n of {overscore (Q)}t.
[0186] If r<m, strike the last line of {circumflex over (S)} and {circumflex over (R)}. Set:
[0187] {overscore (L)}:={circumflex over (R)}t
[0188] {overscore (S)}:={circumflex over (S)};
[0189] Otherwise (convert singular, active secondary condition into a regular, active secondary condition):
[0190] Determine the element of the last line of {circumflex over (S)} with the smallest index l0 such that:
[0191] {circumflex over (S)}r,i0≠0.
[0192] Exchange column l0 with column 1 of {circumflex over (S)}. Define linear transformer:
[0193] {overscore (R)}:=({circumflex over (R)}, {circumflex over (S)}l0),
[0194] where {circumflex over (S)}l0denotes the l0th column of {circumflex over (S)}.
[0195] Update indices:
[0196] {overscore (r)}:=r;
[0197] {overscore (m)}:=m−1;
[0198] Exchange secondary conditions:
[0199] {overscore (J)}:=({overscore (j)}1, . . . , {overscore (j)}2n+6).
[0200] Update matrix factorizations:
[0201] {overscore (Y)} is the partial matrix of {overscore (Q)}tthat includes columns 1 through {overscore (r)} of {overscore (Q)}t.
[0202] {overscore (Z)} is the partial matrix of {overscore (Q)}tthat includes columns {overscore (r)}+1 through n of {overscore (Q)}t.
[0203] {overscore (L)}:L={overscore (R)}t;
[0204] {overscore (S)}:=({circumflex over (S)}2, . . . , {circumflex over (S)}l0−1, {circumflex over (S)}1, {circumflex over (S)}l0+1, . . . , {circumflex over (S)}m−r),
[0205] where {circumflex over (S)}1denotes the columns of {circumflex over (S)}.
[0206] End of function Φ.
[0207] Definition of the function Φ0A:
[0208] ({overscore (r)},{overscore (J)},{overscore (Y)},{overscore (Z)},{overscore (L)},{overscore (S)})=Φ0A({circumflex over (A)},m,J).
[0209] 1. Define:
[0210] A0:={circumflex over (A)}, i:=0.
[0211] 2. Define the following matrix recursion:
[0212] Ai+1L=HiAi, i≧0.
[0213] The unitary transformer Hiε n,nis explained as follows:
[0214] The householder reflection {tilde over (H)}iε n−i,n−1is defined such that:
[0215] |{tilde over (α)}k0i|e1={tilde over (H)}i{tilde over (α)}k0i,
[0216] with e1:=(1, 0, . . . , 0) ε n−i. Here the vectors {tilde over (α)}kiεn−i, k=1, . . . , n−i indicate the columns of the matrix {tilde over (A)}iε n−i,m−1:
[0217] Moreover, 1≦k0≦n−i is the smallest index with {tilde over (α)}k0i≠0. If no such k0 exists, then go to step III; otherwise go to step IV.
[0218] 3. Define indices:
[0219] {overscore (r)}:=i;
[0220] {overscore (J)}:=({overscore (j)}i, . . . , {overscore (j)}2n+6).
[0221] Define matrix factorizations:
[0222] {overscore (Q)}:=H{overscore (r)}−1H{overscore (r)}−2. . . H0;
[0223] {overscore (Y)} is the partial matrix of {overscore (Q)}tthat includes columns 1 through {overscore (r)} of {overscore (Q)}t.
[0224] {overscore (Z)} is the partial matrix of {overscore (Q)}tthat includes columns {overscore (r)}+1 through n of {overscore (Q)}t.
[0225] T is the matrix that results from the striking of lines +1 through n from Ai+1.
[0226] Define {overscore (L)} ε {overscore (r)},{overscore (r)} and {overscore (S)}ε {overscore (r)},m−{overscore (r)} according to:
[0227] ({overscore (L)}t,{overscore (S)}):=T.
[0228] Stop: function Φ0Ahas been performed completely!
[0229] 4. Exchange column i+k0 with column i+1 in Ai.
[0230] Set jk: ={overscore (j)}k∀k, increase the counting index i=i+1 and go to Step II.
[0231] End of function Φ0A.
[0232] Definition of the function Φ0Z:
[0233] (Qz, Rz):=Φ0z({overscore (Z)},r).
[0234] Determiine the QR triangular factorization of {overscore (Z)}:
[0235] Here Qzε n,ndesignate a unitary matrix, and Rzε r,ran upper triangular matrix.
[0236] End of function Φ0z.
Claims
What is claimed is:
1. A method of controlling a robot, in an environment of robotic physical motion limits, to move a point on the robot from a current first position vector qlto a second position vector qi+1; wherein the robot has ndofrobotic joint articulations or degrees of freedom and the method employs a kinematic equation based on use of a Jacobi Matrix J(q) having ndofcolumns;
(q−qi)Tdiag(Δj)(q−qi)
wherein Δjare first non-negative weighting values and j=1, . . . ndof;
(q−qref)Tdiag(βj)(q−qref)
wherein βjare second non-negative weighting values and j=1, . . . ndofand qrefis an articulation reference position value that is predetermined such that a sequence of the position vectors qiruns near this reference position value;
(q−2qi+qi−1)T diag(γj)(q−2qi+qi−1)
wherein γjare third non-negative weighting values and j=1, . . . ndof;
p·Δxd=J(qi) (q−qi)
and an inequality 0≦p≦1, whereby p is an attained fraction of the commanded end-effect destination shift Δxd; and
the method comprising:
providing a calculating unit coupled to the robot:
inputting a control command to the calculating unit, the command further comprising a desired end-effect destination shift Δxd, and
calculating the second position vector qi+1from the inputted destination shift Δxdand the first position vector qi;
wherein the step of calculating the second position vector qt+1further comprises:
(a) calculating a scalar energy criterion
calculating a scalar reference-position deflection criterion
calculating a scalar acceleration criterion
calculating an additional criterion further comprising the negative of a scalar parameter p satisfying a kinematic equation
(b) summing the energy criterion, the reference-position criterion, the acceleration criterion, and the additional criterion to obtain a scalar quality function f(q);
(c) determining secondary conditions comprising the kinematic equation, the inequality 0≦p≦1, physical path limitations qminand qmax, a maximum articulation speed {dot over (q)}max, and a maximum articulation acceleration {umlaut over (q)}max;
(d) starting from the first position vector qi, iteratively repeating optimization steps to obtain a series of intermediate position vectors, the optimization steps further comprising:
(d1) determining the active and inactive secondary conditions in the intermediate position vector;
(d2) taking a gradient of the quality function j(q) to obtain an optimization vector oriented in a descent direction of the quality function f(q);
(d3) projecting the optimization vector in a tangent space of active secondary conditions, whereby the optimization vector is orthogonal to a set of gradients of active secondary constraint conditions;
(d4) scaling a magnitude of the optimization vector according to a set of inactive secondary constraint conditions to obtain a scaled optimization vector;
(d5) obtaining a sum vector by adding the scaled optimization vector to the intermediate position vector; and
(d6) evaluating the sum vector to determine if the sum vector lies generally at a minimum of the quality function; and
(d7) if the sum vector does not lie generally at the minimum, then
repeating the optimization steps starting from a new intermediate vector equal to the sum vector plus the preceding intermediate vector; and
(e) if the sum vector lies generally at the minimum, then moving the point on the robot to the second position vector qi+1.
2. The method according to claim I wherein, starting from a commanded end-effector destination shift Δxc:=(Δxt,Δxr) at a time Ti, wherein and Δxtε 3and Δxrε 3each represent, respectively translational and rotational components of the commanded end-effector destination shift;
wherein quantity |x| of a vector x is determined by a Euclidian norm
and whereby the desired end-effector destination shift is given by Δxd: =(Δxld,Δxrd); and wherein the criteria, energy criteria, reference-position criteria, and acceleration criteria, are weighted according to prevalent problem-specific requirements by allocating three predetermined numerical values αj, βj, γj, to each axis j, the value αjserving in the weighting of an energy criterion that evaluates a difference between two adjacent, calculated articulation positions of axis j; and the value βjserving in weighting of a criterion that evaluates deflection of the predetermined articulation position qjfrom a reference value qref,j, and the value γjserving in the weighting of a criterion which evaluates acceleration behavior in form of an articulation speed offset of the articulation axis qj, which is predetermined by the operator as are the physical articulation stops qmin, qmaxof the manipulator, which relate to path limitations, and the articulation speed limitations {dot over (q)}maxand the articulation acceleration limitations {umlaut over (q)}max,
Δxlmaxand Δxrmax, respectively each define a maximum scalar-value Cartesian position offset of the end effector per sample time ΔT, a desired Cartesian translational or rotational end-effector destination shift Δxldis given by:
and wherein, upon an attainment of output value; an allowable optimum articulation position offset Δqiis calculated for a desired end-effector destination shift Δxdiat the time Ti−1during the time interval ΔT, via an algorithm of inverse kinematics progressing during an initialization phase and a subsequent optimization phase, whereby a desired value is provided to articulation regulators from qsolli+1:=qsolli+Δqiand the articulation regulators are correspondingly shifted with qsolliduring the time interval ΔT, and
wherein an allowable articulation position offset comprises the articulation position value being updated with Δq to satisfy the physical articulation stops qmin, qmaxcorresponding to qmin≦qsoll+Δq≦qmaxand wherein Δq satisfies the articulation speed limitations {dot over (q)}maxcorresponding to |Δqi|≦{dot over (q)}maxΔT; and
wherein the limitations of the articulation accelerations during an approach of articulation positions to the physical articulation stops are maintained reliably, and the type of optimum quality of Δqios determined by an operator through the quality-criterion weighting α, β, γ; and
wherein the sampling time ΔT corresponding to ΔT≧max (Δtq, Δtr) is dimensioned such that the computation time Δtqfor calculating an optimum allowable articulation position offset Δq and the adjustment time Δtr, which the regulators require for adapting the axial positions to the desired values qsolllies within the time span ΔT.
3. The method according to claim 2, wherein the end-effector destination shift is Cartesian and is commanded at a time Tiby an operator or a superordinate task in the form of a 6-dimensional increment vector.
4. The method according to claim 3, wherein the superordinate task comprises force control objectives.
5. The method according to claim 2, wherein the increment vector of the end-effector destination shift δxcis Cartesian and is commanded at a time Tidetermined by an operator or a superordinate task by evaluating the difference of absolute end effector coordinates.
6. The method according to claim 5, wherein the superordinate task comprises force control objectives.
7. The method according to claim 1, wherein an unknown obstacle comprises an inactive secondary constraint condition, and including a step of adding the inactive secondary constraint condition to the set of active secondary constraint conditions when the robot encounters the obstacle.
8. The method according to claim 1, wherein the active secondary conditions are those secondary conditions which are attained and the inactive secondary conditions are those secondary conditions which are not attained.
9. The method according to claim 1, including displaying the value of p to the operator, whereby the operator is warned of path limitations and singularities when the p value decreases.
10. The method according to claim 1, wherein the iteratively-repeated optimization steps include applying a method of Lagrange multipliers.
11. The method according to claim 1, wherein the current first position vector qiand a second position vector qi+1are joint position vectors.
12. The method according to claim 1, wherein the end-effect destination shifts Δxdare input to the calculating unit from at least one of a manual control device, a program, and a superordinate task.
13. The method according to claim 1, comprising use as a modular component of a superordinate task and wherein the end-effector destination shifts are commanded by the superordinate task.
14. The method according to claim 13, wherein the superordinate task comprises force control objectives.
15. An apparatus for controlling a robot, in an environment of robotic physical motion limits, to move a point on the robot from a current first position vector qito a second position vector qi+1; wherein the robot has ndofrobotic joint articulations or degrees of freedom;
(q−qi)Tdiag(αj(q−qi)
wherein αjare first non-negative weighting values and j=1, . . . , ndof;
(q−qphf ref)Tdiag(βj)(q−qref)
wherein βjare second non-negative weighting values and j=1, . . . , ndofand qrefis an articulation reference position value that is predetermined such that a sequence of the position vectors qiruns near this reference position value;
(q−2qi+q1−1)Tdiag(γj)(q−2qi+qi−1)
wherein γjare third non-negative weighting values and j=1, . . . ndof;
p·Δxd=J(qi) (q−qi)
and an inequality 0≦p≦1, whereby p is an attained fraction of the commanded end- effect destination shift Δxd; and
the apparatus comprising:
a computer including software and being coupled to the robot and to an input device for inputting a control command to the computer, the command further comprising a desired end-effect destination shift Δxd, and
wherein the software solves a kinematic equation based on use of a Jacobi Matrix J(q) having ndofcolumns to perform a calculation the second position vector qi+1from the inputted destination shift Δxdand the first position vector qi;
the calculation further comprising:
(a) calculating a scalar energy criterion
calculating a scalar reference-position deflection criterion
calculating a scalar acceleration criterion
calculating an additional criterion further comprising the negative of a scalar parameter p satisfying a kinematic equation
(b) summing the energy criterion, the reference-position criterion, the acceleration criterion, and the additional criterion to obtain a scalar quality function f(q);
(c) determining secondary conditions comprising the kinematic equation, the inequality 0≦p≦1, physical path limitations qminand qmax, a maximum articulation speed qmax, and a maximum articulation acceleration qmax;
(d) starting from the first position vector qi, iteratively repeating optimization steps to obtain a series of intermediate position vectors, the optimization steps further comprising:
(d1) determining the active and inactive secondary conditions in the intermediate position vector;
(d2) taking a gradient of the quality function f(q) to obtain an optimization vector oriented in a descent direction of the quality function f(q);
(d3) projecting the optimization vector in a tangent space of active secondary conditions, whereby the optimization vector is orthogonal to a set of gradients of active secondary constraint conditions;
(d4) scaling a magnitude of the optimization vector according to a set of inactive secondary constraint conditions to obtain a scaled optimization vector;
(d5) obtaining a sum vector by adding the scaled optimization vector to the intermediate position vector; and
(d6) evaluating the sum vector to determine if the sum vector lies generally at a minimum of the quality function; and
(d7) if the sum vector does not lie generally at the minimum, then
repeating the optimization steps starting from a new intermediate vector equal to the sum vector plus the preceding intermediate vector; and
(e) if the sum vector lies generally at the minimum, then outputting to the robot the second position vector qi+1.
16. In a method of command control, by a programmer, for interactive path guidance of a kinematically-redundant manipulator based on end-effector destination shifts from the programmer, in connection with a calculation of articulated-position values according to an algorithm of inverse kinematics, the method including steps of:
p·Δxd=J(qi) (q−qi)
and an inequality 0≦p≦1, whereby p is an attained fraction of a commanded end-effector destination shift Δxd.
providing a manual control device;
calculating a new articulation position (qi+i) from an end-effector destination shift command from the control device and a current articulation position actual value (qi) of the manipulator;
the calculating step including as calculating factors a quality function (f(q)), which is parametrized by non-negative weighting values (αj, βj) and path limitations through physical articulation stops (qmin, qmax), a maximum articulation speed ({dot over (q)}max), and a kinematic equation represented by the Jacobi Matrix;
calculating an energy criterion from
(q−qi)tdiag(αj)(q−qi);
calculating a reference-position criterion from
(qref)tdiag(βi)·(q−qref);
predetermining by the new articulation position new values for an articulation regulator, with the quality function being a sum of the energy criterion and the reference-position criterion;
determining a value qrefas a predetermined articulation-position value such that a sequence of calculated articulation-position values (qi) runs near a value of the reference-position criterion;
determining an allowable optimization vector, beginning with one of the articulation-position values qias a starting point, on the basis of the quality function with respect to all active secondary conditions that indicate which path limitations have been attained;
scaling the allowable optinization vector according to inactive secondary conditions that indicate which path limitations have not been attained;
adding the scaled optimization vector to the articulation-position value calculated in the previous step of the iteration; and
evaluating an optimum quality of the articulation-position values based on the quality function and the secondary conditions activated in the newly-calculated articulation position;
the improvement wherein:
the non-negative weighting values include a weighting value γj;
the calculating factors include a maximum articulation acceleration (qmax);
the calculating step includes calculating an acceleration criterion from
(−2qi−qi−1)tdiag(γi)·(q−2qi−qi−1); and
calculating an additional criterion further comprising the negative of a scalar parameter p satisfying a kinematic equation
Patent Citations (10)
| Patent | Date | Inventor | Cited By |
|---|---|---|---|
| US4589810 | 1986-05-01 | Heindl et al. | Applicant |
| US4593366 | 1986-06-01 | Sugimoto et al. | Examiner |
| US4999553 | 1991-03-01 | Seraji | Examiner |
| US5179514 | 1993-01-01 | Rastegar et al. | Examiner |
| US5214749 | 1993-05-01 | Brown | Examiner |
| US5276390 | 1994-01-01 | Fisher et al. | Examiner |
| US5293461 | 1994-03-01 | Grudic et al. | Examiner |
| US5430643 | 1995-07-01 | Seraji | Examiner |
| US5737500 | 1998-04-01 | Seraji et al. | Examiner |
| DE3344633 | 1984-06-01 | Applicant |