SlideShare a Scribd company logo
IOSR Journal of Computer Engineering (IOSR-JCE)
e-ISSN: 2278-0661, p- ISSN: 2278-8727Volume 15, Issue 6 (Nov. - Dec. 2013), PP 38-44
www.iosrjournals.org
www.iosrjournals.org 38 | Page
Estimation of Arm Joint Angles from Surface Electromyography
signals using Artificial Neural Networks
Sauvik Das Gupta1
, Sourav Das2
, Partha Das3
, SK Masud Hossain4
,
Subhajit Ghosh5
, Shanta Mazumder6
1
School of Electrical and Computer Engineering, Oklahoma State University, Stillwater, OK, USA
23456
West Bengal University of Technology, Kolkata, West Bengal, India
Abstract: Vicon system is implemented in almost every motion analysis systems. It has many applications like
robotics, gaming, virtual reality and animated movies. The motion and orientation plays an important role in
the above mentioned applications. In this paper we propose a method to estimate arm joint angles from surface
Electromyography (s-EMG) signals using Artificial Neural Network (ANN). The neural network is trained with
EMG data from wrist flexion and extension action as input and joint angle values from the vicon system as
target. The results shown in this paper illustrate the neural network performance in estimating the joint angle
values during offline testing.
Index Terms: Vicon system, Joint angle, Surface EMG, Artificial Neural Network, Virtual reality, Robotics.
I. Introduction
The Vicon motion capture system is a state-of-the-art infrared marker-tracking system that offers
millimeter resolution of 3D spatial displacements. The system we have implemented consists of twelve cameras
outfitted with IR optical filters and an array of IR LEDs, and a set of reflective dots. The dots, arranged on the
hand of the subject (human or non-human primate), reflect the IR radiation emitted by the LEDs. All other light
is filtered so that the system only recognizes the dots. In software, the images taken from the twelve cameras are
used to construct a three-dimensional representation of the markers.
Surface Electromyography (s-EMG) is a non-invasive technique for measuring muscle electrical
activity that occurs during muscle contraction and relaxation cycles. EMG signals contain the information about
the muscle force which can be used in human-machine interaction.
Much research has been done using electromyogram (EMG) signals and motion analysis for prosthetic
arm. Ajiboyeet al. proposed a heuristic fuzzy logic approach to multiple electromyogram (EMG) pattern
recognition for multifunctional prosthesis control [1]. Momenet al. proposed a real-time electromyography
(EMG) classifier of user-selected intentional movements rather than an imposed subset of standard movements
using Fuzzy C-means clustering [2]. Kuikenet al. assessed the performance of patients with upper-limb
amputation who had undergone Targeted Muscle Re-innervation (TMR) surgery, using a pattern-recognition
algorithm to decode EMG signals and control prosthetic-arm motions [3].Much research has been done in the
field of predicting values from s-EMG signals [4]. Our objective is to estimate the joint angles from the EMG
signals using regression techniques.
The next section describes the hardware setup of our system. Section III presents the methodology we
proposed for joint angle estimation. Section IV discusses the experimental evaluation and results. Section V
presents the conclusion of the paper.
II. Hardware Platform
The hardware platform of our research consists of aninstrumentation amplifier board, a data acquisition
board, the vicon motion capture system, an EMG sensor anda sensor isolator. Below we will discuss in more
details about the individual components.
A. INA 326 Instrumentation Amplifier Board
The bio-medical amplifier simulation is done in NI Multisim. The simulated circuit result is shown in
the following figure 1. The EMG signals are basically in the range of microvolts. Hence we ensure that
sufficientamplification is provided and the gain is quite high from this circuit so as to get the output voltage
range in the millivolts. A gain of 1000 is thus selected. The Gain calculation is as follows:-
Gain(G) = 2*(R2/R1) in the circuit (1)
We choose R2= 1MOhms and R = 2kOhms to get G = 1000
G=2*(1,000,000Ohms/2000Ohms)=1000
Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural
www.iosrjournals.org 39 | Page
Figure 1: The simulated result in NI Multisim
We selected the INA 326 Instrumentation Amplifier because of the following properties:-
1. Precision
2. Low offset: 100µV (max)
3. Low offset drift: 0.4µV/°C (max)
4. Excellent long-term stability
5. Very-low 1/f noise
6. True rail-to-rail I/O
7. Input common-mode range: 20 mV below negative rail to 100mV above positive rail
8. Wide output swing: Within 10mV of rails
9. Supply range: single +2.7V to +5.5V
Figure 2: The INA 326 Amplifier Board
B. Data Acquisition Board (NI-9234)
The amplified s-EMG data is acquired by an NI-9234 Data Acquisition (USB-DAQ) device [5]. It is a
C-series 4-channel Analog to Digital Convertor (ADC) DAQ manufactured by National Instruments, which
provides BNC connectivity. This device is connected to a PC by a USB cable. It supports a sampling rate of
51200 samples/sec for each of the four channels. The input circuitry of the device consists of current limiting
diodes, amplifier and pre-filter and an analog to digital converter (ADC). Some additional features supported by
the device are AC/DC Coupling, Common Mode Bias Current and Integrated Electronics Piezoelectric (IEPE)
sensors. Figure 3 shows the DAQ board. The EMG is sampled at 1700 samples/sec for this research through this
device using theDAQ toolbox of MATLAB.
Figure 3: NI-9234 DAQ Board
Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural
www.iosrjournals.org 40 | Page
C. Vicon Motion Capture System
We use the Vicon Motion Capture System [6] in our lab to monitor the Joint Angles from the Human
Arm. Infra-red Markers are placed on the arms and a set of 12 cameras monitor the position ofthe arm and give
the Angle Feedback information. The Tracker software is used at first to define the rigid bodies made by the
markers on the Arm and then MATLAB is used to stream the JointAngles directly to a PC through the LAN &
Internet.
Figure 4: The Vicon Motion Capture System
D. MyoScan-Z EMG Sensor (SE9503Z)
We have used the INA 326 amplifier board during the first phase of the experiment then we switch to
the MyoScan-Z EMG sensor for better results during the second phase of the experiment.
As shown in Figure 5(a), the MyoScan-Z EMG sensor [7] from Thought Technology Ltd., is used in
our experiment. In order to measure, process and store EMG data, amplification is necessary. In the MyoScan-Z
EMG sensor, adifferential amplifier schematic shown in Figure 5(b) is usedto amplify the EMG signals, where
EMG signal is denoted by“m” and the noise signal by “n”. This amplifier has the abilityto reduce the noise and
thus increase the resolution by increasing the Signal-to-Noise Ratio (SNR).
Some of the important specifications of the MyoScan-Z EMG sensor are as follows:
1. Designed for sampling rate of 2048 samples per second
2. Input impedance of 1012
ohms in parallel with 10pF
3. Measures raw EMG signals with a range from 0 up to 2000mv.
4. Strong DC signal suppression
5. CMRR >130dB and input /output gain of 500.
Figure 5: (a) MyoScan EMG Sensor, (b) Schematic of the differential amplifier configuration
E. Sensor Isolator (T9405AM)
In this project we also use a sensor isolator along with the MyoScan EMG Sensor. This is a 4-channel
optical isolatorand the main motivation behind using this isolator is that itserves as an interface design, which
provides electricalisolation of 4.5kV. It also allows the sensor to be safelyinterfaced with the analog inputs of
the line-powered systems,such as the DAQ card and the computer. Figure 6 shows thesensor isolator.
Figure 6: Sensor Isolator
Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural
www.iosrjournals.org 41 | Page
III.Methodology
The whole methodology can be divided into three distinct parts – first pre-processing of the EMG data,
secondly training the ANN with EMG data as input and joint angles as the target and lastly offline testing of the
ANN with anotherset of the EMG data. The pre-processing step includes feature extraction using root-mean-
square (RMS) method. Then the data is smoothed using pseudo-Gaussian function and lastly normalization is
applied onboth the EMG and joint angle data. Then the neural network is trained using the features of EMG and
joint angle data as input and target respectively. Figure 7 shows a typical raw EMG signal.
Figure 7: A typical raw EMG signal
A.Pre-processing
i. Feature Extraction
The Root-Mean-Square (RMS) is a popular method for feature extraction used in EMG pattern
recognition. It removes the dual-axis nature of the EMG data. The mathematical equation for RMS is given as
follows:-
(2)
Where, N = Total number of values
x = Individual data points
A MATLAB script is coded for getting the dynamic RMS values of the EMG data using a continuous
window update method throughout the length of the data. The value of the window (N) is fixed to 30 samples in
this case. Figure 8 shows the RMS plot of EMG data.
Figure 8: RMS plot of raw EMG signal
Figure 9: Proposed overall method for joint angle estimation
Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural
www.iosrjournals.org 42 | Page
ii. Data Filtering and Smoothing
The main objective in this part is to reduce noise thus increasing Signal-to-Noise (SNR) value. Raw
EMG data needs to be filtered in order to improve the SNR. This is done by NI-9234 DAQ, since the device has
hardware pre-filter which passes only in-band signals and attenuates any signal above stop-band frequency.
Smoothing is applied on the signal to remove the high frequency fluctuations. Here we also implement a
pseudo-Gaussian smoothing filter in MATLAB to achieve the above purpose additionally. It is observed that the
noise is considerably reduced and the SNR is improved.
iii. Normalization
The s-EMG data is in millivolts (mV) while the joint angle data is in steradian (sr). To achieve
regression using neural network, both input and target is to be compared from a common frame of reference.
This is done using a MATLAB function „mapminmax‟ which scales inputs and targets so that they fall in range
[-1, 1].
B. Training the ANN
The architecture of the ANN is a two layer feed-forward multi-layer perceptron network, with sigmoid
activation function in the hidden layer and linear function in the output layer. The algorithm used is Levenberg-
Marquardt backpropagation algorithm [8] and Scaled Conjugate Gradient backpropagation algorithm [9]. One of
the algorithms is selected by MATLAB depending upon optimum memory usage. The input to the network is
the EMG feature vector and the joint angle data from the vicon system is the target vector.
Bias [10] is the measure of how good the model fits to the data. Variance is the measure of how much
the prediction varies around its average. In order to improve the performance of the network and to prevent high
bias and variance, the data is separated into training set, cross-validation set and testing set. The network is
trained with two different sets of inputs (different sets of data obtained from a single channel of EMG) and
targets (corresponding joint angle values).
The Mean Squared Error (MSE) is used for measuring the performance. Fifty hidden neurons yield
good results. The average overall regression value from training, validation and test set is found to be 0.81555
(maximum value of R is 1).
C. Offline testing
The offline joint angle prediction method is introduced in the testing phase of the network. After the
neural network is properly trained we acquire new sets of data for both EMG and joint angles. We process the
EMG signal data using the above mentioned methods – RMS feature extraction, data filtering and smoothing as
well as normalization. The normalized EMG data is then provided to the network as input and joint angles‟ data
as target. Regression and performance measure are thereby noted and compared with their previous values.
IV. Experimental Evaluation
We use the Kendall Arbo ECG/EEG/EMG electrodes [11] in this project as the sensing electrodes. First of all,
the muscle sites are found out for the wrist flexion and extension actions. The flexor Carpi Ulnaris and the
extensor Carpi Ulnaris muscles areidentified to be involved in these actions respectively. The selected hand area
is cleaned with the NuPrep abrasive skin cream to remove the dead and dry cells in order to increase signal
conduction and to minimize skin-electrode impedance. Ten20 conductive enhancement paste is applied on the
grey portion of the EMG electrodes to enhance the conductivity of the electrodes. The MyoScan-Z EMG sensor
is connected to the electrodes in order to acquire and amplify the EMG signals. The sensor isolator is used in
conjunction with the EMG sensor as an isolation interface between the human subject and the line-powered
DAQ device. Finally, the amplified EMG signals are acquired through the NI-9234 DAQ device into the
computer through a MATLAB program. The acquired data is processed, trained and tested offline. Figures
10(a), 10(b), 10(c) and 10(d) show the predicted joint anglevalues from EMG signal against the measured joint
angle values from the vicon system. The predicted as well as measured angles are plotted in figures 10(a), 10(b)
and figures 10(c), 10(d) for flexion and extension respectively. This is done by acquiring the new data and
predicting the joint angles from the EMG signal.Figures 11(a) and 11(b) represent regression plots for
flexionand extension respectively.
Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural
www.iosrjournals.org 43 | Page
Figure 10(a): Estimated flexion angle value from EMG
Figure 10(b): Estimated flexion angle value from EMG
Figure 10(c): Estimated extension angle value from EMG
Figure 10(d): Estimated extension angle value from EMG
Figure 11(a): Regression plot for flexion (R=0.8417)
Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural
www.iosrjournals.org 44 | Page
Figure 11(b): Regression plot for extension (R=0.8926)
V. Discussion and Conclusion
The results show that the joint angles were quite accurately predicted using the artificial neural network
method.
In this study, the accuracy of the EMG signal is of paramount importance in order to properly estimate
the joint angles. We have to make sure noise is eliminated by all viable means. A minor change in electrode
position causes a major change in the acquired EMG data. Thus an accurate EMG sensor is used. Muscle fatigue
is another important factor, so care must be taken to ensure that there is no over-exertion of muscles as this will
lead to inaccurate results. Moreover, the network trained is subject specific and may not yield appropriate results
if applied on other subject‟s data. Hence it needs to be re-trained for different subjects.
In summary, this paper develops an offline method for predicting the position and orientation of the
arm from surface EMG signals using artificial neural network. The network is trained with EMG feature vector
and joint angle values and tested with new EMG data. Some of the estimated results from the network are
shown in this paper. Future work will be totrain a Robotic Arm with the Surface EMG signals and then
directing it to mimic a human‟s action of the arm movements. This project can also be extendedto train a real-
prosthetic arm with the surface EMG signals in order for an amputee to control their own Prosthetic arm through
their own EMG signals, rather than using traditional electrical control.
References
[1] Ajiboye, Weir, “A Heuristic Fuzzy Logic Approach to EMG Pattern Recognition forMultifunctional Prosthesis Control”, IEEE
TRANSACTIONS ON NEURAL SYSTEMS ANDREHABILITATION ENGINEERING, VOL. 13, NO. 3, SEPTEMBER 2005
[2] Momen, Krishnan, Chau, “Real-Time Classification of Forearm Electromyographic SignalsCorresponding to User-Selected
Intentional Movements for Multifunction Prosthesis Control”,IEEE TRANSACTIONS ON NEURAL SYSTEMS AND
REHABILITATION ENGINEERING,VOL. 15, NO. 4, DECEMBER 2007
[3] Kuiken, Li,Lock, Lipschutz, Miller, Stubblefield, Englehart, “Targeted Muscle Reinnervation for Real-time Myoelectric Control of
Multifunction Artificial Arms”, 2009 American Medical Association
[4] Srinivasan, DasGupta, Sheng, Chen, “Estimation of Hand Force from Surface Electromyography Signals using Artificial Neural
Network”, Tenth World Congress on Intelligent Control and Automation, July 6-8, 2012, Beijing, China
[5] “NI-9234 Data Acquisition Board” [Online].Available:http://sine.ni.com/nips/cds/view/p/lang/en/nid/208802
[6] “Vicon Motion Capture System” [Online]. Available:
http://www.udel.edu/PT/Research/MAL/essentials_of_motion_capture_v1_2.pdf
[7] “Myoscan–Z EMG Sensor” [Online]. Available:http://thoughttechnology.com/myoscanz.htm
[8]
“LevenbergMarquardtBackpropagationalgorithm”,[Online],Available:http://en.wikipedia.org/wiki/Levenberg%E2%80%93Marquar
dt_algorithm
[9]
“ScaledConjugateGradientbackpropagationalgorithm”,[Online],Available:http://www.ra.cs.unituebingen.de/SNNS/UserManual/n
ode242.html
[10 ]“HighBiasandHighVariance”,[Online],Available:http://www.statalgo.com/2011/11/09/stanford-ml-5-1-learning-theory-and-the-
biasvariancetrade-off
[11] “Kendall ARBO disposable EMG/EKG Electrodes”, [Online].Available: http:/ /bio-medical.com/products/kendall-tyco-
arbodisposable-electrodes-50pkg.html

More Related Content

PDF
Modelling and Control of a Robotic Arm Using Artificial Neural Network
PDF
Embedded system for upper-limb exoskeleton based on electromyography control
ZIP
Dsp lab report- Analysis and classification of EMG signal using MATLAB.
PDF
Bio-medical (EMG) Signal Analysis and Feature Extraction Using Wavelet Transform
RTF
Emg driven ipmc based artificial muscle finger
PPTX
S emg t1_finalone
PDF
An Experimental Study on a Pedestrian Tracking Device
PPTX
EMG Driven IPMC Based Artificial Muscle Finger
Modelling and Control of a Robotic Arm Using Artificial Neural Network
Embedded system for upper-limb exoskeleton based on electromyography control
Dsp lab report- Analysis and classification of EMG signal using MATLAB.
Bio-medical (EMG) Signal Analysis and Feature Extraction Using Wavelet Transform
Emg driven ipmc based artificial muscle finger
S emg t1_finalone
An Experimental Study on a Pedestrian Tracking Device
EMG Driven IPMC Based Artificial Muscle Finger

What's hot (20)

PDF
NET Paper no 63-Myoelectric Prosthetic Hand with Air muscles
PDF
A new approach for Reducing Noise in ECG signal employing Gradient Descent Me...
PDF
Multi Inertial Measurement Units (MIMU) Platforms: Designs & Applications
PDF
Osmium MIMU22BT: A Micro Wireless Multi-IMU (MIMU) Inertial Navigation Module
PDF
NET 2014-Myoelectric Prosthetic Hand with Air muscles
PDF
Osmium MIMU4444: Massive Multi-IMU Array
PDF
EECS452EMGFinalProjectReportPDF
PDF
Surface Electromyography (SEMG) Based Fuzzy Logic Controller for Footballer b...
PDF
Massive Sensors Array for Precision Sensing
PDF
Enhancement Power Quality with Sugeno-type Fuzzy Logic and Mamdani-type Fuzzy...
PDF
Wavelet based Signal Processing for Compression a Methodology for on-line Tel...
PDF
Design of single channel portable eeg
PDF
Evolution of a shoe-mounted multi-IMU pedestrian dead reckoning PDR sensor
PDF
Inertial Sensor Array Calibration Made Easy !
PDF
G1103034042
PDF
Robot Motion Control Using the Emotiv EPOC EEG System
PDF
Oblu Integration Guide
DOCX
EMG final report
PDF
K010225156
PDF
International Journal of Engineering Research and Development
NET Paper no 63-Myoelectric Prosthetic Hand with Air muscles
A new approach for Reducing Noise in ECG signal employing Gradient Descent Me...
Multi Inertial Measurement Units (MIMU) Platforms: Designs & Applications
Osmium MIMU22BT: A Micro Wireless Multi-IMU (MIMU) Inertial Navigation Module
NET 2014-Myoelectric Prosthetic Hand with Air muscles
Osmium MIMU4444: Massive Multi-IMU Array
EECS452EMGFinalProjectReportPDF
Surface Electromyography (SEMG) Based Fuzzy Logic Controller for Footballer b...
Massive Sensors Array for Precision Sensing
Enhancement Power Quality with Sugeno-type Fuzzy Logic and Mamdani-type Fuzzy...
Wavelet based Signal Processing for Compression a Methodology for on-line Tel...
Design of single channel portable eeg
Evolution of a shoe-mounted multi-IMU pedestrian dead reckoning PDR sensor
Inertial Sensor Array Calibration Made Easy !
G1103034042
Robot Motion Control Using the Emotiv EPOC EEG System
Oblu Integration Guide
EMG final report
K010225156
International Journal of Engineering Research and Development
Ad

Viewers also liked (20)

PDF
Performance Analysis of Minimum Hop Source Routing Algorithm for Two Dimensio...
PDF
Effect of Post Annealing on Structural and Optical Propertie of Sno2 Thin Fil...
PDF
H012425361
PDF
B0610611
PDF
S01061136141
PDF
Implementation of Product Reed Solomon Codes for Multi level cell Flash contr...
PDF
F017624449
PDF
Computational Intelligence Methods for Clustering of Sense Tagged Nepali Docu...
PDF
Comparative Study between DCT and Wavelet Transform Based Image Compression A...
PDF
Finite Elements Modeling and Analysis of Double Skin Composite Plates
PDF
Bandwidth enhancement of rectangular microstrip patch antenna using slots
PDF
K010237178
PDF
Experimental Study of R134a, R406A and R600a Blends as Alternative To Freon 12
PDF
I010216876
PDF
J010236770
PDF
Proposal to assess motor competency at Physical Education
PDF
Design and Implementation of Smart Docking and Recharging System for Defense ...
PDF
F0523740
PDF
Wireless Sensor Network Using Six Sigma Multi Hop Routing
PDF
Design of an effective automated machine for quality palm kernel production
Performance Analysis of Minimum Hop Source Routing Algorithm for Two Dimensio...
Effect of Post Annealing on Structural and Optical Propertie of Sno2 Thin Fil...
H012425361
B0610611
S01061136141
Implementation of Product Reed Solomon Codes for Multi level cell Flash contr...
F017624449
Computational Intelligence Methods for Clustering of Sense Tagged Nepali Docu...
Comparative Study between DCT and Wavelet Transform Based Image Compression A...
Finite Elements Modeling and Analysis of Double Skin Composite Plates
Bandwidth enhancement of rectangular microstrip patch antenna using slots
K010237178
Experimental Study of R134a, R406A and R600a Blends as Alternative To Freon 12
I010216876
J010236770
Proposal to assess motor competency at Physical Education
Design and Implementation of Smart Docking and Recharging System for Defense ...
F0523740
Wireless Sensor Network Using Six Sigma Multi Hop Routing
Design of an effective automated machine for quality palm kernel production
Ad

Similar to Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural Networks (20)

PPTX
Electromyography (EMG)
PDF
Using deep neural networks in classifying electromyography signals for hand g...
PDF
F3602045049
PPTX
Final Thesis Presentation
DOCX
EMG electromayogram
PDF
A nonlinearities inverse distance weighting spatial interpolation approach ap...
PDF
C04611318
PDF
Automatic Detection of Heart Disease Using Discreet Wavelet Transform and Art...
PDF
Iaetsd recognition of emg based hand gestures
PDF
Fo3610221025
PDF
Correlation Analysis of Electromyogram Signals
PDF
Application of Artificial Neural Networking for Determining the Plane of Vibr...
PDF
Recognition of new gestures using myo armband for myoelectric prosthetic appl...
PDF
IRJET-Electromyogram Signals for Multiuser Interface- A Review
PPTX
Non-Invasive point of care ECG signal detection and analytics for cardiac dis...
PDF
Comparative analysis of machine learning algorithms on myoelectric signal fro...
PDF
Multidimensional Approaches for Noise Cancellation of ECG signal
PDF
IRJET - Real Time Muscle Fatigue Monitoring using IoT Cloud Computing
PDF
IoT Based EMG Monitoring System
PDF
IRJET- Low – Cost Human Hand Prosthetic using EMG Signal with the Help of Mic...
Electromyography (EMG)
Using deep neural networks in classifying electromyography signals for hand g...
F3602045049
Final Thesis Presentation
EMG electromayogram
A nonlinearities inverse distance weighting spatial interpolation approach ap...
C04611318
Automatic Detection of Heart Disease Using Discreet Wavelet Transform and Art...
Iaetsd recognition of emg based hand gestures
Fo3610221025
Correlation Analysis of Electromyogram Signals
Application of Artificial Neural Networking for Determining the Plane of Vibr...
Recognition of new gestures using myo armband for myoelectric prosthetic appl...
IRJET-Electromyogram Signals for Multiuser Interface- A Review
Non-Invasive point of care ECG signal detection and analytics for cardiac dis...
Comparative analysis of machine learning algorithms on myoelectric signal fro...
Multidimensional Approaches for Noise Cancellation of ECG signal
IRJET - Real Time Muscle Fatigue Monitoring using IoT Cloud Computing
IoT Based EMG Monitoring System
IRJET- Low – Cost Human Hand Prosthetic using EMG Signal with the Help of Mic...

More from IOSR Journals (20)

PDF
A011140104
PDF
M0111397100
PDF
L011138596
PDF
K011138084
PDF
J011137479
PDF
I011136673
PDF
G011134454
PDF
H011135565
PDF
F011134043
PDF
E011133639
PDF
D011132635
PDF
C011131925
PDF
B011130918
PDF
A011130108
PDF
I011125160
PDF
H011124050
PDF
G011123539
PDF
F011123134
PDF
E011122530
PDF
D011121524
A011140104
M0111397100
L011138596
K011138084
J011137479
I011136673
G011134454
H011135565
F011134043
E011133639
D011132635
C011131925
B011130918
A011130108
I011125160
H011124050
G011123539
F011123134
E011122530
D011121524

Recently uploaded (20)

PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
Sustainable Sites - Green Building Construction
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Well-logging-methods_new................
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
Safety Seminar civil to be ensured for safe working.
Sustainable Sites - Green Building Construction
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
bas. eng. economics group 4 presentation 1.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Operating System & Kernel Study Guide-1 - converted.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Mechanical Engineering MATERIALS Selection
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Well-logging-methods_new................
UNIT 4 Total Quality Management .pptx
Digital Logic Computer Design lecture notes
CYBER-CRIMES AND SECURITY A guide to understanding

Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural Networks

  • 1. IOSR Journal of Computer Engineering (IOSR-JCE) e-ISSN: 2278-0661, p- ISSN: 2278-8727Volume 15, Issue 6 (Nov. - Dec. 2013), PP 38-44 www.iosrjournals.org www.iosrjournals.org 38 | Page Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural Networks Sauvik Das Gupta1 , Sourav Das2 , Partha Das3 , SK Masud Hossain4 , Subhajit Ghosh5 , Shanta Mazumder6 1 School of Electrical and Computer Engineering, Oklahoma State University, Stillwater, OK, USA 23456 West Bengal University of Technology, Kolkata, West Bengal, India Abstract: Vicon system is implemented in almost every motion analysis systems. It has many applications like robotics, gaming, virtual reality and animated movies. The motion and orientation plays an important role in the above mentioned applications. In this paper we propose a method to estimate arm joint angles from surface Electromyography (s-EMG) signals using Artificial Neural Network (ANN). The neural network is trained with EMG data from wrist flexion and extension action as input and joint angle values from the vicon system as target. The results shown in this paper illustrate the neural network performance in estimating the joint angle values during offline testing. Index Terms: Vicon system, Joint angle, Surface EMG, Artificial Neural Network, Virtual reality, Robotics. I. Introduction The Vicon motion capture system is a state-of-the-art infrared marker-tracking system that offers millimeter resolution of 3D spatial displacements. The system we have implemented consists of twelve cameras outfitted with IR optical filters and an array of IR LEDs, and a set of reflective dots. The dots, arranged on the hand of the subject (human or non-human primate), reflect the IR radiation emitted by the LEDs. All other light is filtered so that the system only recognizes the dots. In software, the images taken from the twelve cameras are used to construct a three-dimensional representation of the markers. Surface Electromyography (s-EMG) is a non-invasive technique for measuring muscle electrical activity that occurs during muscle contraction and relaxation cycles. EMG signals contain the information about the muscle force which can be used in human-machine interaction. Much research has been done using electromyogram (EMG) signals and motion analysis for prosthetic arm. Ajiboyeet al. proposed a heuristic fuzzy logic approach to multiple electromyogram (EMG) pattern recognition for multifunctional prosthesis control [1]. Momenet al. proposed a real-time electromyography (EMG) classifier of user-selected intentional movements rather than an imposed subset of standard movements using Fuzzy C-means clustering [2]. Kuikenet al. assessed the performance of patients with upper-limb amputation who had undergone Targeted Muscle Re-innervation (TMR) surgery, using a pattern-recognition algorithm to decode EMG signals and control prosthetic-arm motions [3].Much research has been done in the field of predicting values from s-EMG signals [4]. Our objective is to estimate the joint angles from the EMG signals using regression techniques. The next section describes the hardware setup of our system. Section III presents the methodology we proposed for joint angle estimation. Section IV discusses the experimental evaluation and results. Section V presents the conclusion of the paper. II. Hardware Platform The hardware platform of our research consists of aninstrumentation amplifier board, a data acquisition board, the vicon motion capture system, an EMG sensor anda sensor isolator. Below we will discuss in more details about the individual components. A. INA 326 Instrumentation Amplifier Board The bio-medical amplifier simulation is done in NI Multisim. The simulated circuit result is shown in the following figure 1. The EMG signals are basically in the range of microvolts. Hence we ensure that sufficientamplification is provided and the gain is quite high from this circuit so as to get the output voltage range in the millivolts. A gain of 1000 is thus selected. The Gain calculation is as follows:- Gain(G) = 2*(R2/R1) in the circuit (1) We choose R2= 1MOhms and R = 2kOhms to get G = 1000 G=2*(1,000,000Ohms/2000Ohms)=1000
  • 2. Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural www.iosrjournals.org 39 | Page Figure 1: The simulated result in NI Multisim We selected the INA 326 Instrumentation Amplifier because of the following properties:- 1. Precision 2. Low offset: 100µV (max) 3. Low offset drift: 0.4µV/°C (max) 4. Excellent long-term stability 5. Very-low 1/f noise 6. True rail-to-rail I/O 7. Input common-mode range: 20 mV below negative rail to 100mV above positive rail 8. Wide output swing: Within 10mV of rails 9. Supply range: single +2.7V to +5.5V Figure 2: The INA 326 Amplifier Board B. Data Acquisition Board (NI-9234) The amplified s-EMG data is acquired by an NI-9234 Data Acquisition (USB-DAQ) device [5]. It is a C-series 4-channel Analog to Digital Convertor (ADC) DAQ manufactured by National Instruments, which provides BNC connectivity. This device is connected to a PC by a USB cable. It supports a sampling rate of 51200 samples/sec for each of the four channels. The input circuitry of the device consists of current limiting diodes, amplifier and pre-filter and an analog to digital converter (ADC). Some additional features supported by the device are AC/DC Coupling, Common Mode Bias Current and Integrated Electronics Piezoelectric (IEPE) sensors. Figure 3 shows the DAQ board. The EMG is sampled at 1700 samples/sec for this research through this device using theDAQ toolbox of MATLAB. Figure 3: NI-9234 DAQ Board
  • 3. Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural www.iosrjournals.org 40 | Page C. Vicon Motion Capture System We use the Vicon Motion Capture System [6] in our lab to monitor the Joint Angles from the Human Arm. Infra-red Markers are placed on the arms and a set of 12 cameras monitor the position ofthe arm and give the Angle Feedback information. The Tracker software is used at first to define the rigid bodies made by the markers on the Arm and then MATLAB is used to stream the JointAngles directly to a PC through the LAN & Internet. Figure 4: The Vicon Motion Capture System D. MyoScan-Z EMG Sensor (SE9503Z) We have used the INA 326 amplifier board during the first phase of the experiment then we switch to the MyoScan-Z EMG sensor for better results during the second phase of the experiment. As shown in Figure 5(a), the MyoScan-Z EMG sensor [7] from Thought Technology Ltd., is used in our experiment. In order to measure, process and store EMG data, amplification is necessary. In the MyoScan-Z EMG sensor, adifferential amplifier schematic shown in Figure 5(b) is usedto amplify the EMG signals, where EMG signal is denoted by“m” and the noise signal by “n”. This amplifier has the abilityto reduce the noise and thus increase the resolution by increasing the Signal-to-Noise Ratio (SNR). Some of the important specifications of the MyoScan-Z EMG sensor are as follows: 1. Designed for sampling rate of 2048 samples per second 2. Input impedance of 1012 ohms in parallel with 10pF 3. Measures raw EMG signals with a range from 0 up to 2000mv. 4. Strong DC signal suppression 5. CMRR >130dB and input /output gain of 500. Figure 5: (a) MyoScan EMG Sensor, (b) Schematic of the differential amplifier configuration E. Sensor Isolator (T9405AM) In this project we also use a sensor isolator along with the MyoScan EMG Sensor. This is a 4-channel optical isolatorand the main motivation behind using this isolator is that itserves as an interface design, which provides electricalisolation of 4.5kV. It also allows the sensor to be safelyinterfaced with the analog inputs of the line-powered systems,such as the DAQ card and the computer. Figure 6 shows thesensor isolator. Figure 6: Sensor Isolator
  • 4. Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural www.iosrjournals.org 41 | Page III.Methodology The whole methodology can be divided into three distinct parts – first pre-processing of the EMG data, secondly training the ANN with EMG data as input and joint angles as the target and lastly offline testing of the ANN with anotherset of the EMG data. The pre-processing step includes feature extraction using root-mean- square (RMS) method. Then the data is smoothed using pseudo-Gaussian function and lastly normalization is applied onboth the EMG and joint angle data. Then the neural network is trained using the features of EMG and joint angle data as input and target respectively. Figure 7 shows a typical raw EMG signal. Figure 7: A typical raw EMG signal A.Pre-processing i. Feature Extraction The Root-Mean-Square (RMS) is a popular method for feature extraction used in EMG pattern recognition. It removes the dual-axis nature of the EMG data. The mathematical equation for RMS is given as follows:- (2) Where, N = Total number of values x = Individual data points A MATLAB script is coded for getting the dynamic RMS values of the EMG data using a continuous window update method throughout the length of the data. The value of the window (N) is fixed to 30 samples in this case. Figure 8 shows the RMS plot of EMG data. Figure 8: RMS plot of raw EMG signal Figure 9: Proposed overall method for joint angle estimation
  • 5. Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural www.iosrjournals.org 42 | Page ii. Data Filtering and Smoothing The main objective in this part is to reduce noise thus increasing Signal-to-Noise (SNR) value. Raw EMG data needs to be filtered in order to improve the SNR. This is done by NI-9234 DAQ, since the device has hardware pre-filter which passes only in-band signals and attenuates any signal above stop-band frequency. Smoothing is applied on the signal to remove the high frequency fluctuations. Here we also implement a pseudo-Gaussian smoothing filter in MATLAB to achieve the above purpose additionally. It is observed that the noise is considerably reduced and the SNR is improved. iii. Normalization The s-EMG data is in millivolts (mV) while the joint angle data is in steradian (sr). To achieve regression using neural network, both input and target is to be compared from a common frame of reference. This is done using a MATLAB function „mapminmax‟ which scales inputs and targets so that they fall in range [-1, 1]. B. Training the ANN The architecture of the ANN is a two layer feed-forward multi-layer perceptron network, with sigmoid activation function in the hidden layer and linear function in the output layer. The algorithm used is Levenberg- Marquardt backpropagation algorithm [8] and Scaled Conjugate Gradient backpropagation algorithm [9]. One of the algorithms is selected by MATLAB depending upon optimum memory usage. The input to the network is the EMG feature vector and the joint angle data from the vicon system is the target vector. Bias [10] is the measure of how good the model fits to the data. Variance is the measure of how much the prediction varies around its average. In order to improve the performance of the network and to prevent high bias and variance, the data is separated into training set, cross-validation set and testing set. The network is trained with two different sets of inputs (different sets of data obtained from a single channel of EMG) and targets (corresponding joint angle values). The Mean Squared Error (MSE) is used for measuring the performance. Fifty hidden neurons yield good results. The average overall regression value from training, validation and test set is found to be 0.81555 (maximum value of R is 1). C. Offline testing The offline joint angle prediction method is introduced in the testing phase of the network. After the neural network is properly trained we acquire new sets of data for both EMG and joint angles. We process the EMG signal data using the above mentioned methods – RMS feature extraction, data filtering and smoothing as well as normalization. The normalized EMG data is then provided to the network as input and joint angles‟ data as target. Regression and performance measure are thereby noted and compared with their previous values. IV. Experimental Evaluation We use the Kendall Arbo ECG/EEG/EMG electrodes [11] in this project as the sensing electrodes. First of all, the muscle sites are found out for the wrist flexion and extension actions. The flexor Carpi Ulnaris and the extensor Carpi Ulnaris muscles areidentified to be involved in these actions respectively. The selected hand area is cleaned with the NuPrep abrasive skin cream to remove the dead and dry cells in order to increase signal conduction and to minimize skin-electrode impedance. Ten20 conductive enhancement paste is applied on the grey portion of the EMG electrodes to enhance the conductivity of the electrodes. The MyoScan-Z EMG sensor is connected to the electrodes in order to acquire and amplify the EMG signals. The sensor isolator is used in conjunction with the EMG sensor as an isolation interface between the human subject and the line-powered DAQ device. Finally, the amplified EMG signals are acquired through the NI-9234 DAQ device into the computer through a MATLAB program. The acquired data is processed, trained and tested offline. Figures 10(a), 10(b), 10(c) and 10(d) show the predicted joint anglevalues from EMG signal against the measured joint angle values from the vicon system. The predicted as well as measured angles are plotted in figures 10(a), 10(b) and figures 10(c), 10(d) for flexion and extension respectively. This is done by acquiring the new data and predicting the joint angles from the EMG signal.Figures 11(a) and 11(b) represent regression plots for flexionand extension respectively.
  • 6. Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural www.iosrjournals.org 43 | Page Figure 10(a): Estimated flexion angle value from EMG Figure 10(b): Estimated flexion angle value from EMG Figure 10(c): Estimated extension angle value from EMG Figure 10(d): Estimated extension angle value from EMG Figure 11(a): Regression plot for flexion (R=0.8417)
  • 7. Estimation of Arm Joint Angles from Surface Electromyography signals using Artificial Neural www.iosrjournals.org 44 | Page Figure 11(b): Regression plot for extension (R=0.8926) V. Discussion and Conclusion The results show that the joint angles were quite accurately predicted using the artificial neural network method. In this study, the accuracy of the EMG signal is of paramount importance in order to properly estimate the joint angles. We have to make sure noise is eliminated by all viable means. A minor change in electrode position causes a major change in the acquired EMG data. Thus an accurate EMG sensor is used. Muscle fatigue is another important factor, so care must be taken to ensure that there is no over-exertion of muscles as this will lead to inaccurate results. Moreover, the network trained is subject specific and may not yield appropriate results if applied on other subject‟s data. Hence it needs to be re-trained for different subjects. In summary, this paper develops an offline method for predicting the position and orientation of the arm from surface EMG signals using artificial neural network. The network is trained with EMG feature vector and joint angle values and tested with new EMG data. Some of the estimated results from the network are shown in this paper. Future work will be totrain a Robotic Arm with the Surface EMG signals and then directing it to mimic a human‟s action of the arm movements. This project can also be extendedto train a real- prosthetic arm with the surface EMG signals in order for an amputee to control their own Prosthetic arm through their own EMG signals, rather than using traditional electrical control. References [1] Ajiboye, Weir, “A Heuristic Fuzzy Logic Approach to EMG Pattern Recognition forMultifunctional Prosthesis Control”, IEEE TRANSACTIONS ON NEURAL SYSTEMS ANDREHABILITATION ENGINEERING, VOL. 13, NO. 3, SEPTEMBER 2005 [2] Momen, Krishnan, Chau, “Real-Time Classification of Forearm Electromyographic SignalsCorresponding to User-Selected Intentional Movements for Multifunction Prosthesis Control”,IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING,VOL. 15, NO. 4, DECEMBER 2007 [3] Kuiken, Li,Lock, Lipschutz, Miller, Stubblefield, Englehart, “Targeted Muscle Reinnervation for Real-time Myoelectric Control of Multifunction Artificial Arms”, 2009 American Medical Association [4] Srinivasan, DasGupta, Sheng, Chen, “Estimation of Hand Force from Surface Electromyography Signals using Artificial Neural Network”, Tenth World Congress on Intelligent Control and Automation, July 6-8, 2012, Beijing, China [5] “NI-9234 Data Acquisition Board” [Online].Available:http://sine.ni.com/nips/cds/view/p/lang/en/nid/208802 [6] “Vicon Motion Capture System” [Online]. Available: http://www.udel.edu/PT/Research/MAL/essentials_of_motion_capture_v1_2.pdf [7] “Myoscan–Z EMG Sensor” [Online]. Available:http://thoughttechnology.com/myoscanz.htm [8] “LevenbergMarquardtBackpropagationalgorithm”,[Online],Available:http://en.wikipedia.org/wiki/Levenberg%E2%80%93Marquar dt_algorithm [9] “ScaledConjugateGradientbackpropagationalgorithm”,[Online],Available:http://www.ra.cs.unituebingen.de/SNNS/UserManual/n ode242.html [10 ]“HighBiasandHighVariance”,[Online],Available:http://www.statalgo.com/2011/11/09/stanford-ml-5-1-learning-theory-and-the- biasvariancetrade-off [11] “Kendall ARBO disposable EMG/EKG Electrodes”, [Online].Available: http:/ /bio-medical.com/products/kendall-tyco- arbodisposable-electrodes-50pkg.html