ISSC 2009, Dublin, June 10–11

Kinematic control of a redundant manipulator using inverse-forward adaptive scheme Swagat Kumar† , Laxmidhar Behera$ and Martin McGinnity∗ †

Department of Electrical Engineering Indian Institute of Technology Kanpur

$,∗

Intelligent Systems Research Centre University of Ulster, Magee Campus, UK

E-mail: † [email protected] $ [email protected][email protected]

Abstract — The inverse kinematic (IK) relationship of a manipulator is a one-to-many map which can not be learnt using a feed-forward neural network (FFN). The usual method is to learn the forward kinematic relationship using a FFN and then obtaining the IK solution through inversion of the approximate forward model. The accuracy of the inverse kinematic solution thus obtained is limited by the accuracy of the forward model. However, it is not possible to learn the forward kinematic map accurately even with a large network size and a large training data set. Moreover, one needs to resolve redundancy while solving IK in order to make use of available dexterity effectively. These limitations of a conventional network inversion-based scheme are overcome by using an inverse-forward adaptive scheme where the idea is to learn a local solution around the current joint angle configuration rather than trying to learn the global solution through an accurate forward model. It is shown that the accuracy of the IK solution thus obtained, is almost independent of the accuracy of the forward model. The redundancy is resolved by using a KSOM-SC network architecture as a hint generator for initializing the inverse-forward adaptive scheme. The efficacy of the proposed scheme is demonstrated through simulations and real-time experiment on a 7 DOF PowerCube manipulator. A simple obstacle avoidance task is performed to demonstrate the redundancy resolution process. Keywords — Inverse-forward scheme, KSOM-SC network, Redundant manipulator, inverse kinematics (IK), RBFN, obstacle avoidance

I

Introduction

Neural Networks have been used extensively for solving inverse kinematic (IK) problem of nonredundant as well as redundant manipulators. The neural network based methods may be distinguished into three different classes: direct inversion modeling [1, 2], distal learning [3] and differential kinematics models [4]. As compared to other approaches, very few papers are available in literature that solve the inverse kinematic problem using distal approach. Network inversion based schemes come under the distal learning approach where a feed-forward network is used to approximate the forward kinematic map between a manipulator joint angle vector and its end-effector

position. This trained network is used to update the joint angle vector through network inversion so as to reduce the error between the current endeffector position and the desired target point in the workspace. A limitation of this approach is that the inverse kinematic solution obtained through network inversion depends on the approximation error present in the forward map. Hence one needs a large network architecture and a large amount of training data to reduce the forward approximation error. Since current learning algorithms do not guarantee global convergence [5], it is very difficult to obtain very high accuracy while approximating the forward kinematic map. It is shown later in this paper that the network inversion, in

itself, does not improve the positioning accuracy beyond what is attainable in forward training. The dependence on the accuracy of forward model renders the network inversion based methods unpopular for solving the inverse kinematic problem. In order to overcome this limitation, we adopt a scheme called inverse-forward adaptive scheme where the forward network is trained using a new input-output data pair whenever the joint angle vector obtained from network inversion does not drive the actual manipulator to the desired endeffector position. The new input-output data pair consists of the current joint angle vector obtained from network inversion algorithm and the endeffector position attained by the manipulator when driven with this joint angle vector. Since it is difficult to get a global solution that minimizes the output error during forward learning as discussed earlier, retraining the network using input-output data generated around the current joint angle vector facilitates local search around the current solution vector and hence reduces the burden on the forward training. It is shown in the simulation section that the proposed adaptation scheme gives highly accurate inverse kinematic solution even when the forward model has a large approximation error. The proposed scheme increases the applicability of network inversion schemes by eliminating the dependence of its performance on the accuracy of forward model. In order to satisfy joint angle constraints of the manipulator, the network inversion algorithm must be initialized with suitable joint angle values (called, hints) [2, 3]. This initial value determines the pose of the manipulator while moving towards the target position. Since a redundant manipulator can reach a given end-effector position with more than one joint angle configuration, the hint generator should be capable of generating multiple hints. The network inversion around each hint will provide an appropriate inverse kinematic solution. These two limitations are overcome by using a KSOM-SC network architecture [6] as a hint generator. This architecture has been shown to preserve redundancy available in the training data by associating multiple clusters in configuration with each cluster in the task space. This architecture provides multiple joint angle hints for a given target end-effector position and one can select a hint based on some task-based criterion. This approach greatly simplifies the redundancy resolution task as it does not involve any complex optimization process or retraining of the network. Finally, the efficacy of the proposed approach is established through simulation and real-time experiment on a 7 DOF PowerCube manipulator model. Rest of the paper is organized as follows. Following section enumerates the limitations

of conventional network inversion based schemes. The inverse-forward adaptive scheme is explained in Section III. The simulation and experimental results are provided in Section IV followed by Conclusion in Section V. II

Inverse kinematic solution through network inversion

In a conventional network inversion scheme, a feedforward network is first trained to approximate the forward kinematic map of a manipulator and then this network is inverted to find the joint angle vector that would take the robot end-effector towards the target position. The network inversion algorithm updates the input (joint angle) vector so as to reduce the error between the network output and the desired end-effector position. The accuracy of the solution obtained from network inversion depends on the accuracy of the forward map. However, it is difficult to get a reasonable accuracy in learning forward map because of its high nonlinearity. To understand the difficulty we trained a RBF network with 700 hidden neurons with 7×105 examples using back-propagation (BP) algorithm. The average positioning accuracy attained is only 3 cm. Even though some faster algorithms like Levenberg-Marquardt may also be used, the amount of data necessary for obtaining good accuracy still remains high. Without any loss of generality, it can be said that it is difficult to obtain very high accuracy in learning the forward kinematic map using feed-forward networks as most of the learning algorithms only ensure local convergence [5]. The necessity of a highly accurate forward model, when used in network inversion, can be understood by studying the Fig. 1. In this figure it is seen that when this network is inverted to compute the joint angle necessary for reaching the given target, the network output reaches the point while the actual manipulator does not do so. The positioning error for the actual manipulator is same as the approximation error present in the forward model. This positioning error obtained is not tolerable in most of the industrial applications. Apart from dealing with the above mentioned problem, one also needs to initialize the inversion algorithm with a suitable joint-angle value so as to satisfy joint angle constraints. This initial joint angle value determines the pose of the manipulator during robot movement. Since a redundant manipulator can reach a target position with more than one joint angle configuration, it is necessary to resolve redundancy as well during selecting the initial joint angle value. From this discussion, we conclude that the conventional network inversion algorithms are not adequate for dealing with redundant manipulators with high degrees of freedom. In order to address these limitations, a forward-

inverse adaptive scheme is suggested as explained in the next section. −

xd Target Network output Robot position

+

Inversion Algorithm

0.2 Z (m) 0.18

θ

x RBFN

− Weight

θ0

0.16

Update KSOM-SC Network

0.14 0.03 0 0.3

-0.03 X (m)

0.32 0.36 -0.09 0.38

Robot

xt

Manipulator Provides Initial Guess

0.34

-0.06

+

Y (m)

Forward Training

Fig. 2: Schematic of Inverse-forward adaptive scheme with a KSOM-SC based hint generator.

Fig. 1: Reaching a target point with only network inversion.

III

Inverse-forward adaptive scheme with KSOM-SC based hint generator

The schematic of the proposed method for solving the inverse kinematic problem of a redundant manipulator is shown in Fig. 2. The problem is to find a suitable joint angle vector θ which can drive the manipulator to reach a desired end-effector position xd without violating joint angle limits. The method consists of following steps: 1. The forward kinematic map between the manipulator joint angle vector and its endeffector position is approximated using a RBF network. The input to the RBFN is the joint angle vector θ and the output of the network is the end-effector position x. The actual manipulator end-effector position is represented by xt . The network is trained using backpropagation algorithm to minimize the following output error function for a given input vector θ = θ t . E1 =

1 (x − xt )2 2

(1)

The forward training block is shown in the dashed box in Fig. 2. The input-output pair (θ t , xt ) is generated using forward kinematic model. It is not necessary to have very low approximation error during forward training which would rather require a large number of training data sets. 2. A KSOM-based sub-clustering (KSOM-SC) network is used to provide initial guess of the inverse kinematic solution θ 0 for a given target position. Since this architecture provides multiple joint angle vectors for each end-effector position, one can use a specific criterion to choose one among the available solutions. This initial value determines the

pose of the manipulator during its motion. In other words, this architecture facilitates redundancy resolution at position level without any cumbersome optimization process. Readers may refer to [6] for understanding the details of this architecture. 3. For a given target position xd , update the input vector of the RBF network so as to reduce the error function given by E2 =

1 (xd − x)2 2

(2)

Using gradient-descent rule, the update law for joint angle vector may be written as θ new = θ old + ∆θ

(3)

where ∆θ = −η

∂x ∂E2 = η(xd − x) ∂θ ∂θ

(4)

and ∂x ∂θ is the input Jacobian matrix of the RBF network. η is the learning rate for the network inversion. 4. The new end-effector position attained by the actual manipulator when driven by the joint angle vector θ = θ new is represented by xt as shown in Fig. 2. If kx − xd k > ε, the RBFN is trained again with the new input-output pair (θ, xt ). ε > 0 is an user defined constant which defines the final positioning accuracy to be attained by the manipulator. The steps (1) to (4) are repeated until kxd − xk < ε. It is to be noted that the training phase only involves forward training which is carried out offline. In testing phase, the network is presented with a desired position xd and then the trained network undergoes “inverse-forward” update cycle

Target Network output Robot end-effector position

0.4

0.3

0.016 0.012

Z (m) 0.20.35

0.008 0.34

0.004 X (m) 0.33

0.32

Y (m)

0 0.31

0.3 -0.004

Fig. 3: Reaching a target point using network inversion.

until the actual manipulator end-effector reaches the desired position. The inverse-forward update cycle is carried out during online operation. Unlike conventional approaches which aim to learn global solution through forward training, the proposed inverse-forward model aims to learn local solution around the current robot configuration. The improvement achieved using this scheme is shown in Fig. 3. Initial error between the network output and the actual manipulator endeffector is due to the approximation error present in forward training. However as the inverseforward update proceeds, the network output as well as the actual end-effector converge towards the target position with the specified accuracy. The joint angles are found to be within their physical limits during this motion. IV a)

Simulation and Results

Manipulator model

The forward kinematic model of a 7 DOF PowerCubeTM manipulator is used for simulation studies. The actual equations are provided in [6] and is omitted here to maintain brevity. b)

Radial Basis Function Network

A 6-700-3 architecture is selected for the RBF network. Training data pairs (θ t , xt ) are obtained by generating random angle vectors θ t within their physical limits and obtaining the corresponding end-effector positions xt using manipulator forward kinematic equations. Only those data points are used for training for which the end-effector position lies within the workspace limits. c)

Kohonen Self-Organzing map architecture for sub-clustering

A 7 × 7 × 7 lattice structure is selected for the KSOM network. Nearly 50,000 input-output data pairs (θ t , xt ) are used for creating clusters in the Cartesian task space and the joint angle space. Each cluster in Cartesian workspace is associated

Table 1: Effect of forward training on inverse kinematic solution. A: Size of training data used for learning forward kinematic map, B: Initial forward approximation error, C: Average number of steps needed by inverse-forward scheme to attain 1 mm accuracy. A B C 1 × 104 13.9 cm 57 2 × 104 11.5 cm 51 5 × 104 9.1 cm 50 1 × 105 7.4 cm 50 2 × 105 6.1 cm 52 5 × 105 4.5 cm 48 7 × 105 4.2 cm 51 with multiple clusters in joint angle space as explained in [6]. The efficacy of the proposed scheme is demonstrated by carrying out following tasks: d)

Reaching isolated points in the workspace

A total of 1000 target points are generated randomly within the manipulator workspace. The KSOM-SC hint generator produces multiple joint angle hints for each target position. The lazy-arm criterion is used to select one of these hints as the initial value for the inversion module. The inverseforward cycles are applied in multiple steps until an accuracy of 1mm is achieved for each point. It is found that the proposed scheme takes 50 steps on an average for attaining 1 mm accuracy for any point in the manipulator workspace. The effect of forward training on inverse kinematic solution is shown in Table 1. This table shows that the number of steps needed to attain 1 mm accuracy is almost independent of the number of examples used for training the forward network. Hence, it is not necessary to obtain very high positioning accuracy during forward training. In this aspect, the proposed scheme removes one of the major drawbacks of the conventional network inversion based schemes thereby enhancing their applicability to precision tasks. e)

Tracking continuous trajectory

The proposed scheme is also used to track following trajectory: x = y = z

=

0.2 sin φ 0.5 + 0.2 cos(φ) 1 (x + 0.3) 3

(5)

where φ is varied from 0 to 2π radians with a step size of 0.01. 628 data points are generated over the trajectory as per above equation in a sequential manner and the inverse-forward update scheme

Robot config Desired trajectory

Z (m) 0.6 0.5 0.4 0.3 0.2 0.1 0.30 0.2 0.1 X (m)

0 -0.1 -0.2 0.8

0.7

0.6

0.5

0.4

0.3

0.2

0.1

0

Y (m)

(a) Tracking in Cartesian space

ferent radii are used to cover links of the manipulator and the obstacle as shown in Fig. 5. The centres and radii of these balls are fixed a priori. In this figure, di s represent the Euclidean distances between the centre of the obstacle Co and the centre of each link Ci , i = 1, 2, 3, 4. Ri is the radius of the ball covering the link i and Ro is the radius of the ball covering the obstacle. While the location of the obstacle is fixed during the robot motion, the location of link centres (Ci , i = 1, 2, 3, 4) is a function of manipulator joint angle vector θ. If we define a scalar function as

first 3 angles Last 3 angles

g(θ) = θ3,6

(Ri + Ro − di ); {Ri , Ro , di } > 0

(6)

i=1

0.8 0.6 0.4 0.2 0 0.5

then the obstacle avoidance criterion is given by -0.2 -0.1 0

0.1 0.2 0.3 0.4 0.5 θ2,5 0.6 0.7 0.8

0.4 0.3 0.2 θ1,4

0.1 0 -0.1

(b) Joint angle trajectories necessary for tracking

Fig. 4: Tracking a circular trajectory. The average accuracy attained is 1 mm. Joint angles are found to lie within the physical limits. R3 C3

R2

R4 C4

C2

d3 d2

R1 C1

d4 Ro

d1 Co

Obstacle

Target

Fig. 5: Obstacle avoidance criterion is obtained by using ball-covering object modeling scheme.

is used to compute the required joint angle vectors. The inversion algorithm is initialized with the current joint angle vector. The tracking result in Cartesian space is shown in Fig. 4(a). The joint angles are found to be continuous as shown in Fig. 4(b). The angles lie within their physical limits. These results demonstrate that the method proposed in this paper preserves the conservative property [7] of the inverse kinematic solution. In other words, the proposed method produces a continuous joint angle trajectory for any continuous trajectory in the manipulator workspace. f)

4 X

Avoiding obstacle

In this section, we demonstrate a simplified obstacle avoidance scheme by using ball-covering object modeling method [2]. In this method, balls of dif-

g(θ) < 0

(7)

Among the hints provided by the KSOM-SC architecture, all those solutions which do not satisfy this constraint are rejected and among the selected configurations the one which is nearest to the current robot configuration is selected as the initial value for the network inversion scheme. The obstacle avoidance experiment was carried out in real time using a 7 DOF PowerCube robot manipulator. The objective of this experiment was to reach various points around an obstacle without colliding with it. A small cuboidal box of dimension 21 cm × 16 cm × 6 cm was taken as the primary obstacle to be avoided. This box was kept over a wooden pedestal of dimension 70 cm × 50 cm × 80 cm. The primary obstacle was modelled as a sphere of radius 14 cm and the pedestal was modelled as a sphere of radius 65 cm. In order to avoid configurations that would reach the point from bottom thereby colliding with the pedestal, the pedestal was also treated as an obstacle. The lazy arm criterion and obstacle avoidance criterion (6)-(7) are used for resolving redundancy while providing the initial hint to the inverse-forward algorithm. The modelling of obstacles and final configurations for various points obtained from simulation are shown in Fig. 6. In this figure, the red sphere represents the pedestal and sky-blue sphere represents the primary obstacle. The blue square represents the target points to be reached and pink lines show the final robot configuration. Some of the configurations of the manipulator obtained during real-time experiment are shown in Fig. 7. One has to select the radius of spheres judiciously in order to obtain right solutions. For instance if the radius is chosen too large, then one may loose all solutions provide by KSOM-SC hint generator. If the radius is selected too small, then the solution might hit the obstacle. One may also consider other shapes, for instance, ellipse for covering the links.

target points

0.7 0.6 Z

0.5 0.4 0.3 0.2 0.1 00

0.4

(a)

0.3 0.2

0.2 0.1

0.4 X

0 -0.1

0.6 -0.2

0.8

Y

-0.3 1 -0.4

Fig. 6: Simulation results for reaching various points by avoiding obstacle. The base is also considered as the second obstacle which is avoided during robot motion.

V

(b)

Conclusion

An online inverse-forward adaptive scheme is used to solve the inverse kinematic problem of a redundant manipulator. In this approach, a RBF network is trained to approximate the forward kinematic relationship and this network is inverted to obtain the joint angle vector necessary for reaching a desired target position in the manipulator workspace. It is a well known fact that the positioning accuracy obtained by network inversion is limited by the approximation error present in the forward model and it is difficult to obtain good approximation in learning forward kinematic map even with a large network architecture. It is shown that by using inverse-forward adaptive scheme, it is possible to obtain high positioning accuracy during network inversion, even when the forward model has a large approximation error. This scheme searches for a local solution around the current joint angle configuration that minimizes the output error. By using a KSOM-SC network architecture it is possible to resolve redundancy without having to retrain the network. This greatly simplifies the redundancy resolution task. An obstacle avoidance experiment is demonstrated to show the efficacy of the proposed scheme. All simulations and experiments are carried out on a 7 DOF PowerCube manipulator. References [1] T. M. Martinetz, H. J. Ritter, and K. J. Schulten. Three-dimensional neural net for learning visual motor coordination of a robot arm. IEEE Transactions on Neural Networks, 1(1):131–136, March 1990. [2] Z. Mao and T. C. Hsia. Obstacle avoidance inverse kinematics solution of redundant robots by neural networks. Robotica, 15:3–10, 1997. [3] P. Martin and J R. Millan. Robot arm reaching through neural inversions and reinforcement

(c)

Fig. 7: Obstacle avoidance experiment. The manipulator reaches various points on a closed trajectory without colliding with the obstacle.

learning. Robotics and Autonomous Systems, 31:227–246, 2000. [4] W. S. Tang and J. Wang. A recurrent neural network for minimum infinity-norm kinematic control of redundant manipulators with an improved problem formulation and reduced architecture complexity. IEEE Transactions on Systems, Man and Cybernetics - Part B : Cybernetics, 31(1):98–105, February 2001. [5] L. Behera, S. Kumar, and A. Patnaik. On adaptive learning rate that guarantees convergence in feed-forward networks. IEEE Transactions on Neural Network, 17(5):1116–1125, September 2006. [6] S. Kumar, N. Patel, and L. Behera. Visual motor control of a 7 dof robot manipulator using function decomposition and sub-clustering in configuration. Neural Processing Letters, 28(1):17–33, August 2008. [7] G. Tevatia and S. Schaal. Inverse kinematics of humanoid robots. In Proc. of IEEE Int. Conf. on Robotics and Automation, pages 294–299, San Francisco, CA, April 2000.

Kinematic control of a redundant manipulator using ...

with a large network size and a large training data set. ... of training data to reduce the forward approxima- ... effector position attained by the manipulator when.

202KB Sizes 0 Downloads 209 Views

Recommend Documents

Kinematic control of a redundant manipulator using ...
guished into three different classes: direct inver- ..... An online inverse-forward adaptive scheme is used to solve the inverse ... San Francisco, CA, April 2000.

Kinematic control of redundant manipulators
above by the maximum velocity of 0.2m.s−1. In a second priority stage S2, .... in Mathematics for Machine Learning and Vision in. 2006. He received his Ph.D ...

Program control system for manipulator
Mar 3, 1978 - semby, and the digital signals are stored in a storage device. In the repeat mode one set of the specified posi tion information or coordinates of ...

Visual PID Control of a redundant Parallel Robot
Abstract ––In this paper, we study an image-based PID control of a redundant planar parallel robot using a fixed camera configuration. The control objective is to ...

Hierarchical optimal feedback control of redundant ...
In addition to this relationship we want to keep the control cost small. ... model-based optimal control on the task level, we need a virtual dynamical model of y ... approximation g (y); in other cases we will initialize g using physical intuition,

Visual Motor Control of a 7 DOF Robot Manipulator ...
Visual Motor Control of a 7 DOF Manipulator. 4.1 Computation of Jacobian Matrices. The inverse Jacobian matrices are learnt using following steps: 1. For a given data point (x, [φ, ψ]), winners are selected among wγ , φγ and ψγ respec- tively.

Development of a light-weight Forceps Manipulator ...
robot system have been developed. For this ... results verify high precision in position tracking and an ... systems, force measurement and haptic feedback to the.

KINEMATIC CONTROLLER FOR A MITSUBISHI RM501 ROBOT
Jan 20, 2012 - Besides that, some notebook computers did .... planning where no collision with obstacle occurs [9]. .... Atmel data manual, AT89C51ID2.pdf. [7].

Impact of the spatial congruence of redundant targets ...
Nov 25, 2012 - strongly supports the notion that estimates of the same event that are ...... 365:350–354 .... inequality: an algorithm and computer programs.

Modeling of Hyper-Redundant Manipulators Dynamics and Design ...
Modeling of Hyper-Redundant Manipulators Dynamics and Design of Fuzzy Controller for the System.pdf. Modeling of Hyper-Redundant Manipulators ...

A Redundant Bi-Dimensional Indexing Scheme for ...
systems. There are at least two categories of queries that are worth to be ... Our main aim is to extend a video surveillance system ..... Conference on MDM.

Direct Sliding-Mode Controller Design for a 6DOF Stewart Manipulator
Abstract—The focus is on direct sliding-mode control design for tracking and ... A. I. Bhatti is Faculty Member at Center for Advance Studies in. Engineering ...

Automatic imitation of the arm kinematic profile in ... - Springer Link
Andrea Gaggioli2,3. Published online: 31 July 2015 ... human–robot interaction. Keywords Social neuroscience 4 Joint action 4 Automatic imitation 4 Kinematic ...

an intelligent vision system on a mobile manipulator
AN INTELLIGENT VISION SYSTEM ON A. MOBILE ... sweeper the most powerful intelligent mobile robot in doing the expected tasks, with ..... TABLE 3. Detected Objects Information. Object. Type. X of Cent. Of. Object. Y of Cent. Of Object. Number of. Pixe

Liquid Level Control System Using a Solenoid Valve
A liquid level system using water as the medium was constructed to ... The system consisted of two 5 gallon buckets, with a solenoid valve to control the input ...

A Novel Technique to Control Congestion in MANET using ... - IJRIT
IJRIT International Journal of Research in Information Technology, Volume 1, Issue .... Tech degree in from DAV, Jalandhar and completed B-Tech in 2005 with ...

Age-Related Differences in the Processing of Redundant ... - CiteSeerX
event is based on the degree to which an internal representation of ..... accuracy (%) correct and response time (in milliseconds) on the computer test ...... nals of Gerontology, Series B: Psychological Sciences and Social ... Hartley, A. A. (1993).

Backlimb trishear: a kinematic model for curved folds ...
Either symmetric or asymmetric triangular zones can be defined, with parallel kink folding and similar folding ... Keywords: Backlimb trishear; Kinematic model; Angular fault bends; Growth strata ..... However, field data, mechanical analysis and.

A Novel Technique to Control Congestion in MANET using ... - IJRIT
IJRIT International Journal of Research in Information Technology, Volume 1, Issue 7, ... topology. 2. Congestion Control in MANET. To maintain and allocate network .... Tech degree in from DAV, Jalandhar and completed B-Tech in 2005 with honours fro

True three-dimensional trishear: A kinematic model for ...
well as to data from analogue experiments. Keywords: trishear .... (B) Map view of the fault plane. (C) Three- ..... defined above. For visualization, a stereonet plot.

Using Planyst in support of command and control
Communications Corporation to serve as such a tool. Its features are described in this paper. 1. RI's Planyst is a unique modeling and analysis tool for communication network systems. It employs a powerful ..... traffic, control and capacity manageme