Planar Robot Arm Performance: Analysis with Feedforward Neural Networks

Similar documents
A Study of Various Training Algorithms on Neural Network for Angle based Triangular Problem

Gdansk University of Technology Faculty of Electrical and Control Engineering Department of Control Systems Engineering

ANN Based Short Term Load Forecasting Paradigms for WAPDA Pakistan

A neural network that classifies glass either as window or non-window depending on the glass chemistry.

MATLAB representation of neural network Outline Neural network with single-layer of neurons. Neural network with multiple-layer of neurons.

Artificial Neural Network (ANN) Approach for Predicting Friction Coefficient of Roller Burnishing AL6061

The Pennsylvania State University. The Graduate School DEVELOPMENT OF AN ARTIFICIAL NEURAL NETWORK FOR DUAL LATERAL HORIZONTAL WELLS IN GAS RESERVOIRS

The Pennsylvania State University. The Graduate School. John and Willie Leone Family Department of Energy and Mineral Engineering

Neural Networks. Lab 3: Multi layer perceptrons. Nonlinear regression and prediction.

1. Approximation and Prediction Problems

CHAPTER VI BACK PROPAGATION ALGORITHM

Neural Networks Laboratory EE 329 A

A NEURAL NETWORK BASED IRIS RECOGNITION SYSTEM FOR PERSONAL IDENTIFICATION

Early tube leak detection system for steam boiler at KEV power plant

Comparison and Evaluation of Artificial Neural Network (ANN) Training Algorithms in Predicting Soil Type Classification

Neuro-Fuzzy Computing

A Framework of Hyperspectral Image Compression using Neural Networks

An Evaluation of Statistical Models for Programmatic TV Bid Clearance Predictions

DESIGN AND MODELLING OF A 4DOF PAINTING ROBOT

Statistical & Data Analysis Using Neural Network

The Use of Artificial Neural Networks in Predicting Vertical Displacements of Structures

Research on Evaluation Method of Product Style Semantics Based on Neural Network

NN-GVEIN: Neural Network-Based Modeling of Velocity Profile inside Graft-To-Vein Connection

OPTIMIZED NEURAL NETWORK MODEL FOR A POTATO STORAGE SYSTEM

Applying Neural Network Architecture for Inverse Kinematics Problem in Robotics

1 The Options and Structures in the Neural Net

Role of Hidden Neurons in an Elman Recurrent Neural Network in Classification of Cavitation Signals

Inverse Kinematics Solution for Trajectory Tracking using Artificial Neural Networks for SCORBOT ER-4u

Generating high frequency trading strategies with articial neural networks and testing them through simulation

APPLICATION OF A MULTI- LAYER PERCEPTRON FOR MASS VALUATION OF REAL ESTATES

KINEMATIC ANALYSIS OF ADEPT VIPER USING NEURAL NETWORK

RIMT IET, Mandi Gobindgarh Abstract - In this paper, analysis the speed of sending message in Healthcare standard 7 with the use of back

International Journal of Electrical and Computer Engineering 4: Application of Neural Network in User Authentication for Smart Home System

Modeling of smartphones power using neural networks

Calculation of Model of the Robot by Neural Network with Robot Joint Distinction

MODELLING OF ARTIFICIAL NEURAL NETWORK CONTROLLER FOR ELECTRIC DRIVE WITH LINEAR TORQUE LOAD FUNCTION

PERFORMANCE ANALYSIS AND VALIDATION OF CLUSTERING ALGORITHMS USING SOFT COMPUTING TECHNIQUES

CHAPTER 5 NEURAL NETWORK BASED CLASSIFICATION OF ELECTROGASTROGRAM SIGNALS

Improving Trajectory Tracking Performance of Robotic Manipulator Using Neural Online Torque Compensator

International Research Journal of Computer Science (IRJCS) ISSN: Issue 09, Volume 4 (September 2017)

Image Compression: An Artificial Neural Network Approach

Application of a Back-Propagation Artificial Neural Network to Regional Grid-Based Geoid Model Generation Using GPS and Leveling Data

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 6, Issue 9, March 2017

Inverse Kinematics Analysis for Manipulator Robot With Wrist Offset Based On the Closed-Form Algorithm

A Comparative Study of Prediction of Inverse Kinematics Solution of 2-DOF, 3-DOF and 5-DOF Redundant Manipulators by ANFIS

Neuro Fuzzy Controller for Position Control of Robot Arm

COMBINING NEURAL NETWORKS FOR SKIN DETECTION

ARTIFICIAL NEURAL NETWORKS (ANNs) are widely

ANN Method for Control of Robots to Avoid Obstacles

On Solving the Inverse Kinematics Problem using Neural Networks

Employing ANFIS for Object Detection in Robo-Pong

Introduction to Neural Networks: Structure and Training

ALGORITHMS FOR INITIALIZATION OF NEURAL NETWORK WEIGHTS

The Pennsylvania State University. The Graduate School. John and Willie Leone Family Department of Energy and Mineral Engineering

Neural Networks for Obstacle Avoidance

Cancer Biology 2017;7(3) A New Method for Position Control of a 2-DOF Robot Arm Using Neuro Fuzzy Controller

Available online at ScienceDirect. Adrian-Vasile Duka*

Accelerated Optimal Topology Search for Two-hiddenlayer Feedforward Neural Networks

PERFORMANCE COMPARISON OF BACK PROPAGATION AND RADIAL BASIS FUNCTION WITH MOVING AVERAGE FILTERING AND WAVELET DENOISING ON FETAL ECG EXTRACTION

A novel and generalized approach in the inversion of geoelectrical resistivity data using ArtificialNeuralNetworks(ANN)

Inverse Kinematics for Humanoid Robots using Artificial Neural Networks

Prediction of Inverse Kinematics Solution of APUMA Manipulator Using ANFIS

Solution for a Five Link Industrial Robot Manipulator Inverse Kinematics Using Intelligent Prediction Response Method

Transactions on Information and Communications Technologies vol 16, 1996 WIT Press, ISSN

A Deeper Insight of Neural Network Spatial Interaction Model s Performance Trained with Different Training Algorithms

Optimizing Number of Hidden Nodes for Artificial Neural Network using Competitive Learning Approach

OPTIMIZATION OF INVERSE KINEMATICS OF ROBOTIC ARM USING ANFIS

Inverse Kinematics for Humanoid Robots Using Artificial Neural Networks

An Algorithm For Training Multilayer Perceptron (MLP) For Image Reconstruction Using Neural Network Without Overfitting.

Neural Network model for a biped robot

Feed Forward Neural Network for Solid Waste Image Classification

PRACTICAL SESSION 2: INVERSE KINEMATICS. Arturo Gil Aparicio.

Three Component Cutting Force System Modeling and Optimization in Turning of AISI D6 Tool Steel Using Design of Experiments and Neural Networks

Lecture 18 Kinematic Chains

Implementation of Neural Network Methods in Measurement of the Orientation Variables of Spherical Joints

AN NOVEL NEURAL NETWORK TRAINING BASED ON HYBRID DE AND BP

The University of Missouri - Columbia Electrical & Computer Engineering Department EE4330 Robotic Control and Intelligence

International Journal of Advanced Research in Computer Science and Software Engineering

Segmentation of Cerebral Cortex MRI Images with Artificial Neural Network (ANN) Training

Lecture 17: Neural Networks and Deep Learning. Instructor: Saravanan Thirumuruganathan

This week. CENG 732 Computer Animation. Warping an Object. Warping an Object. 2D Grid Deformation. Warping an Object.

Geometric Modeling of Parallel Robot and Simulation of 3-RRR Manipulator in Virtual Environment

The AMORE Package. July 27, 2006

Lecture «Robot Dynamics»: Kinematic Control

PARALLEL LEVENBERG-MARQUARDT-BASED NEURAL NETWORK WITH VARIABLE DECAY RATE

Use of multilayer perceptrons as Inverse Kinematics solvers

Inverse Kinematics Software Design and Trajectory Control Programming of SCARA Manipulator robot

Watermarking Using Bit Plane Complexity Segmentation and Artificial Neural Network Rashmeet Kaur Chawla 1, Sunil Kumar Muttoo 2

Comparing FABRIK and neural networks to traditional methods in solving Inverse Kinematics

Abalone Age Prediction using Artificial Neural Network

Assisted Research and Optimization of the proper Neural Network Solving the Inverse Kinematics Problem

ANALYSIS AND REVIEW OF THE CONTRIBUTION OF NEURAL NETWORKS TO SAVING ELECTRICITY IN RESIDENTIAL LIGHTING BY A DESIGN IN MATLAB

Robot Inverse Kinematics Asanga Ratnaweera Department of Mechanical Engieering

PPGEE Robot Dynamics I

Hybrid Learning of Feedforward Neural Networks for Regression Problems. Xing Wu

INVESTIGATING DATA MINING BY ARTIFICIAL NEURAL NETWORK: A CASE OF REAL ESTATE PROPERTY EVALUATION

Simulation and Modeling of 6-DOF Robot Manipulator Using Matlab Software

A New Algorithm for Measuring and Optimizing the Manipulability Index

Artificial Neural Network Methodology for Modelling and Forecasting Maize Crop Yield

Identification of Overcurrent Relay Faults Using Backpropagation Neural Network

Transcription:

Planar Robot Arm Performance: Analysis with Feedforward Neural Networks Abraham Antonio López Villarreal, Samuel González-López, Luis Arturo Medina Muñoz Technological Institute of Nogales Sonora Mexico samuelgonzalezlopez@gmail.com lmedina@utnogales.edu.mx ABSTRACT: The purpose of this paper is to define the best training algorithm and activation function during the training process of a two degree of freedom planar robot arm that can be used to approach SCARA applications. A feed-forward neural network with two hidden layers was trained with several training algorithms such as Levenberg-Marquardt, Bayesian Regularization and others, and the activation functions such as symmetric sigmoid, logarithmic sigmoid and linear transfer to compare the resulting error and look for optimal performance. Keywords: Feedforward neural network, Planar robot arm, Training algorithm comparison, Activation function comparison Received: 14 December 2016. Revised 24 January 2017, Accepted 31 January 2017 2017 DLINE. All Rights Reserved 1. Introduction The work on this paper consists in the design, structure and simulation of a feed-forward neural network, applied to the training of a two link, two degree of freedom planar robot arm, during the learning process in trajectory following. The computational implementation and simulation is developed in Matlab 2015b with the help of Simulink and the Neural Network Toolbox, in which it is possible to define and structure different neural networks, training algorithms and activation functions, and customize each section of the neural network to achieve the desired error. Once the neural network has been created, the simulation is run with different training algorithms and activation functions in a comparative study, to determine which combination works best in an inverse kinematics problem applied to a two degree of freedom planar robot arm. In [4] a comparative study was carried out to select an appropriate neural network, the authors identifieddifferentlearning algorithms, including the Error Back Propagation (EBP)algorithm, the Levenberg Marquardt (LM) algorithm, and therecently developed Neuron-by-Neuron (NBN) algorithm. Similarly, our work performs a comparative analysis to identify those topologies of neural networks with better performance for the training of a robot arm. 44 Journal of Networking Technology Volume 8 Number 2 June 2017

2. Kinematics Method As defined in Inverse Kinematics Basic Methods Paper [1], forward kinematics is based on the manipulation of a structure by changing the joint angles from the structure, while inverse kinematics do the opposite, movement is based on the direct manipulation with the end of the structure (Figure 1), and the joint angles are obtained from the endpoint of the effector. Figure 1. DoF robot arm structure and the angles defined with inverse kinematics On this problem, the angles are obtained with the use of inverse kinematics algebraic methods, defined by the use of formulas (1) and (2). 3. Neural Network Structure and Topology The topology of the neural network used for this experiment is shown in (Figure 2). A feed-forward network, with two input, two hidden layers with 10 neurons for each layer and two output was implemented. The number of hidden layers and neurons remained constant during the experiment to isolate these variables, and only the activation functions and training algorithms were adjusted to compare results based on MSE. Figure 2. Topology of the Neural Network used for this experiment As described during the introduction of this paper, the main objective is to train the artificial neural network with several training algorithms and compare results to define which one works best for this type of applications. Eleven different algorithms were Journal of Networking Technology Volume 8 Number 2 June 2017 45

selected as candidates for this trial, their programming instruction and description for Matlab is shown in (Table 1). Training Algorithm Description trainlm Levenberg-Marquardt backpropagation trainbr Bayesian Regularization backpropagation trainscg Scaled conjugate gradient backpropagation trainbfg BFGS quasi-newton backpropagation traincgb Conjugate gradient backpropagation with Powell-Beale restarts traingd Gradient descent backpropagation traingda Gradient descent with adaptive lr backpropagation traingdm Gradient descent with momentum traingdx Gradient descent w/momentum &adaptive lr backpropagation trainoss One step secant backpropagation trainrp RPROP backpropagation Table 1. Training algorithms used for this experiment Each training algorithm was programmed in the neural network and the test and simulation of the planar robot arm was run at least four times, and the activation functions were adjusted as described in (Table 2). Transfer Function 1 has connections from the first hidden layer and on to the second hidden layer. Transfer Function 2 has connections from the second hidden layer and on to the output layer, and Transfer Function 3 is the result of the output layer. Transfer Function 3 remained constant during the experiment as Purelin, which is the recommended activation function for linear and nonlinear problems. TransferFcn 1 TransferFcn 2 TransferFcn 3 symmetric sigmoid symmetric sigmoid linear transfer symmetric sigmoid logarithmic sigmoid linear transfer logarithmic sigmoid symmetric sigmoid linear transfer logarithmic sigmoid logarithmic sigmoid linear transfer Table 2. Transfer Functions used on each hidden layer and output layer The training data for this experiment is distributed in a planar environment and goes from 0 to π (Figure 3). The minimum and maximum reach of the robot arm is determined by the total length of each link and can be obtained by Lmin=L1-L2 and Lmax=L1+L2. For this particular problem, L1 is set to 10, while L2 is set to 5. Each point dataset is placed 3º apart of each other, or 2π/60. During the training process and MSE validation, the error measurement and other critical parameters were obtained via the onscreen interface from Matlab, and the planar robot arm was simulated to visualize how well it can follow a pre-defined trajectory that doesn t necessarily contain the same data points that were used during the training process, as a way to validate the capability of the neural network to adapt to un-trained data. An example of the simulation is shown in (Figure 4). 46 Journal of Networking Technology Volume 8 Number 2 June 2017

Figure 3. Training data distribution Figure 4. Simulation of the planar robot arm during trajectory follows 4. Results for comparison During the training process, a few other parameters were set constant to isolate as many variables as possible. The error (MSE) was set to 0.0001, the number of epochs was set to 1000, and the training algorithms and transfer functions were adjusted as described before. The results are shown in (Table 3). Training TransferFcn 1 TransferFcn 2 MSE Epochs Gradient MU Algorithm trainlm tansig tansig 0.0000993 75 0.0003010 0.0000100 trainlm tansig logsig 0.0000969 87 0.0042900 0.0000010 trainlm logsig tansig 0.0000966 106 0.0133000 0.0000010 trainlm logsig logsig 0.0000981 73 0.0009800 0.0000010 trainbr tansig tansig 0.0000983 184 0.0108000 50.0000000 trainbr tansig logsig 0.0000895 35 0.0104000 5.0000000 trainbr logsig tansig 0.0000980 62 0.0511000 5.0000000 trainbr logsig logsig 0.0000961 90 0.0126000 5.0000000 trainscg tansig tansig 0.0059500 99 0.0399000 Journal of Networking Technology Volume 8 Number 2 June 2017 47

trainscg tansig logsig 0.0137000 98 0.0325000 trainscg logsig tansig 0.0065200 231 0.0168000 trainscg logsig logsig 0.6269000 49 0.0199000 trainbfg tansig tansig 0.0024300 139 0.0161000 trainbfg tansig logsig 0.0038400 158 0.0190000 trainbfg logsig tansig 0.0030700 142 0.0107000 trainbfg logsig logsig 0.0028200 179 0.0021200 traincgb tansig tansig 0.0102000 119 0.0209000 traincgb tansig logsig 0.0019000 243 0.0029900 traincgb logsig tansig 0.0470000 68 0.0923000 traincgb logsig logsig 0.0103000 226 0.0094300 traingd tansig tansig 0.0952000 1000 0.0811000 traingd tansig logsig 0.1180000 1000 0.0851000 traingd logsig tansig 0.2440000 1000 0.1040000 traingd logsig logsig 0.2520000 1000 0.1060000 traingda tansig tansig 0.0828000 79 0.5800000 traingda tansig logsig 0.1620000 93 0.8220000 traingda logsig tansig 0.1180000 91 0.8100000 traingda logsig logsig 0.2360000 89 0.6840000 traingdm tansig tansig 2.4800000 9 26.1000000 traingdm tansig logsig 0.8440000 12 6.2200000 traingdm logsig tansig 2.4400000 10 16.8000000 traingdm logsig logsig 1.6000000 14 5.3800000 traingdx tansig tansig 0.0820000 122 0.3520000 traingdx tansig logsig 0.0663000 133 0.2960000 traingdx logsig tansig 0.1160000 129 0.7140000 traingdx logsig logsig 0.1100000 133 0.2450000 trainoss tansig tansig 0.0272000 82 0.0518000 trainoss tansig logsig 0.0155000 87 0.0352000 trainoss logsig tansig 0.0529000 104 0.0653000 trainoss logsig logsig 0.1520000 49 0.1750000 trainrp tansig tansig 0.0063600 402 0.0074000 trainrp tansig logsig 0.0090500 216 0.0106000 trainrp logsig tansig 0.0087300 128 0.0135000 trainrp logsig logsig 0.0170000 63 0.0396000 Table 3. MSE results and measurements for comparison 48 Journal of Networking Technology Volume 8 Number 2 June 2017

5. Conclusions The experiment shows some interesting results for the various training algorithms applied during the training process. As we can see in the results chart, there are only two algorithms that reached the proposed MSE, which are the Levenberg-Marquardt and Bayesian Regularization Backpropagation, all of the remaining algorithms show poor performance and higher error. The best result was achieved by a combination of Bayesian Regularization algorithm and tansig / logsig / purelin transfer functions, which resulted in an MSE of 0.0000895 in just 35 epochs. And we can consider this as the optimal combination during the training process of the 2DoF planar robot arm for SCARA applications. References [1] Lukas, Barinka., Roman, Berka (2002). Inverse Kinematics Basic Methods. Department of Computer Science & Engineering Czech Technical University, 2002. [2] Pedro, Ochoa., Hernandez, Ivan., Ramírez, Julio (2007). Simulation and Animation of a 2 Degree of Freedom Planar Robot Arm Based on Neural Networks, Fourth Congress of Electronics, Robotics and Automotive Mechanics, p. 488 493, 2007. [3] The Mathworks Inc, Matlab User Guide, R2016B. [4] David, Hunter., Hao, Yu., Michael, Pukish., Janusz, Kolbusz., Bogdan, M., Wilamowski, Selection of Proper Neural Network Sizes and Architectures. Journal of Networking Technology Volume 8 Number 2 June 2017 49