Control of Stepper Motor Using Surface EMG Signals

Similar documents
Real Time Monitoring using Surface Electromyography

Cell Phone Vibration Experiment

THERMAL ANEMOMETRY ELECTRONICS, SOFTWARE AND ACCESSORIES

Hand Gestures Remote Controlled Robotic Arm

Feature Vector Selection for Automatic Classification of ECG Arrhythmias

Human Detection Robot using PIR Sensors

Innovative Practices in Optimal Utilization of Solar Energy (Solar Tracking System)

Lab 2 Sensor Modeling Introduction to the Wiimote and the Wiimote LABVIEW Interface

Vibrations can have an adverse effect on the accuracy of the end effector of a

LabVIEW and Web-Server based Human Body Monitoring System

ANIMA: Non-Conventional Interfaces in Robot Control Through Electroencephalography and Electrooculography: Motor Module

Building a Simulink model for real-time analysis V Copyright g.tec medical engineering GmbH

Detection of Heart Diseases by Mathematical Artificial Intelligence Algorithm Using Phonocardiogram Signals

A Study of Speed Control of PMDC Motor Using Auto-tuning of PID Controller through LabVIEW

The Development of a Pressure-based Typing Biometrics User Authentication System

A Surveillance Robot with Climbing Capabilities for Home Security

Lastest Development in Partial Discharge Testing Koh Yong Kwee James, Leong Weng Hoe Hoestar Group

Experiment # (4) AM Demodulator

I2C PRESSURE MONITORING THROUGH USB PROTOCOL.

Impedance 50 (75 connectors via adapters)

Implementation of a Wireless Gesture Controlled Robotic Arm

Measuring Temperature withthermistors a Tutorial David Potter

New Pulse Width Modulation Technique for Three Phase Induction Motor Drive Umesha K L, Sri Harsha J, Capt. L. Sanjeev Kumar

Aircraft cabin noise synthesis for noise subjective analysis

Four/Five Axis TB6560 CNC Driver Users Manual

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

Three Axis TB6560 CNC Driver Users Manual

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

Lab 3: Introduction to Data Acquisition Cards

INTRODUCTION TO SERIAL ARM

FPGA Implementation of Human Behavior Analysis Using Facial Image

Design of UPS Battery Remote Monitoring System

Concept Design Of A Labview-MySQL Data Warehouse For Digital Recording of ECG-EMG

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

The Calculation of G rms

ECG SIGNAL PROCESSING AND HEART RATE FREQUENCY DETECTION METHODS

Simulation of VSI-Fed Variable Speed Drive Using PI-Fuzzy based SVM-DTC Technique


Electrocardiogram (ECG) Monitoring System using Bluetooth technology

PLC Based PV Module Tracking with Microcontroller Backup

SUMMARY. Additional Digital/Software filters are included in Chart and filter the data after it has been sampled and recorded by the PowerLab.

SYSTEM 4C. C R H Electronics Design

Author: Dr. Society of Electrophysio. Reference: Electrodes. should include: electrode shape size use. direction.

Modelling, Simulation and Performance Analysis of A Variable Frequency Drive in Speed Control Of Induction Motor

Closed Loop PWM Control for Induction Motor Drive Using Dual Output Three Phase Inverter

The Universal DAQ Device. Connect and measure immediately!

4 SENSORS. Example. A force of 1 N is exerted on a PZT5A disc of diameter 10 mm and thickness 1 mm. The resulting mechanical stress is:

Ultrasound Distance Measurement

Type-D EEG System for Regular EEG Clinic

Very Low Frequency Electromagnetic Field Detection

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW

Electroencephalography Analysis Using Neural Network and Support Vector Machine during Sleep

FRC WPI Robotics Library Overview

A Demonstration of a Robust Context Classification System (CCS) and its Context ToolChain (CTC)

Frequency Response of Filters

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

Using angular speed measurement with Hall effect sensors to observe grinding operation with flexible robot.

Micro-Step Driving for Stepper Motors: A Case Study

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

AMZ-FX Guitar effects. (2007) Mosfet Body Diodes. Accessed 22/12/09.

A Health Degree Evaluation Algorithm for Equipment Based on Fuzzy Sets and the Improved SVM

The accelerometer designed and realized so far is intended for an. aerospace application. Detailed testing and analysis needs to be

Remote Patient Monitoring- An Implementation in ICU Ward

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

Application of Virtual Instrumentation for Sensor Network Monitoring

Acquisition of EMG signals to recognize multiple Hand Gestures for Prosthesis Robotic Hand-A Review

SINGULAR SPECTRUM ANALYSIS HYBRID FORECASTING METHODS WITH APPLICATION TO AIR TRANSPORT DEMAND

Lab 4 - Data Acquisition

Accurate Measurement of the Mains Electricity Frequency

Evaluation copy. Blood Pressure. Project PROJECT DESIGN REQUIREMENTS

Surface Multi-Purposes Low Power Wireless Electromyography (EMG) system Design

Universal Exoskeleton Arm Design for Rehabilitation

An Isolated Multiport DC-DC Converter for Different Renewable Energy Sources

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

EVAL-UFDC-1/UFDC-1M-16

Original Research Articles

An overview of Computerised Numeric Control (C.N.C.) and Programmable Logic Control (P.L.C.) in machine automation

Data Acquisition Using NI-DAQmx

Android based Alcohol detection system using Bluetooth technology

Feasibility Study of Implementation of Cell Phone Controlled, Password Protected Door Locking System

Lab 5 Getting started with analog-digital conversion

THIS paper reports some results of a research, which aims to investigate the

Hands On ECG. Sean Hubber and Crystal Lu

Review of RFID & GSM Based Automatic Ration Distribution System

SOLAR PV-WIND HYBRID POWER GENERATION SYSTEM

MPC 4. Machinery Protection Card Type MPC 4 FEATURES. Continuous on-line Machinery Protection Card

GT Sensors Precision Gear Tooth and Encoder Sensors

HDMM01 V1.0. Dual-axis Magnetic Sensor Module With I 2 C Interface FEATURES. Signal Path X

Using the Motor Controller

IEEE Projects in Embedded Sys VLSI DSP DIP Inst MATLAB Electrical Android

Design and implementation of modular home security system with short messaging system

ECONseries Low Cost USB DAQ

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

Automatic Detection of PCB Defects

Transcription:

Control of Stepper Motor Using Surface EMG Signals Celia Pradeep 1, Shalu George K 2 PG Student [CS], Dept. of EEE, Mar Baselios College of Engineering and Technology, Thiruvananthapuram, Kerala, India 1 Assistant Professor, Dept. of EEE, Mar Baselios College of Engineering and Technology, Thiruvananthapuram, Kerala, India 2 ABSTRACT: Surface EMG (Electromyography) signals are biomedical signals produced by the movement of muscles. EMG signals exhibit specific patterns for different activities and hence correct recognition of these patterns can be used for the control of assistive devices. The work includes developing a system that is capable of classifying EMG signals for different speeds and direction (flexion and extension) of a human elbow. The classified output is used to control a stepper motor which can be further used as a drive for assistive device. Data acquisition is done by placing surface electrodes on the brachii muscles of human arm. A reference electrode is also placed at the bony area. The signals are acquired using a modular body sensor kit BITalino. Signals are then processed in LabVIEW and features are extracted for pattern classification. Classification is done using Fuzzy Logic and the output is used to control the movement of a stepper motor. An accelerometer is also placed in the subjects arm for measuring the angular velocity of movements. KEYWORDS: Data acquisition, Feature extraction, Fuzzy logic classifier, Signal processing, Stepper motor, surface EMG. I. INTRODUCTION EMG (Electromyography) are signals that are generated by skeletal muscles during movement. Surface EMG is obtained using surface electrodes. Related works on EMG signal can be found in literature. Classification of EMG signals based on PSO-SVM [1]. Use of discriminant analysis and Support Vector Machine for classification [2]. Use of Artificial Neural Networks and Radial Basis Function for pattern recognition [3]. Analysis depicting the superiority of ANFIS model (Adaptive Neuro-Fuzzy Inference System) in classification [4]. Evaluating time and frequency domain features to examine good feature vectors [5]. Optimum classification among two classes using a mother wavelet matrix [6]. People who are disabled, aged, or those with neuromuscular disorders always depend on an assistant to meet their daily activities. In order to avoid such circumstances and enable them to work as an individual, an assistive device can be used. These devices can be controlled by the surface EMG. The aim of this work is to develop a system that is able to classify the patterns correctly and control a stepper motor so as to drive an assistive limb for supporting human elbow motion. The signal is classified for different speed and direction such as flexion and extension. The work includes acquisition of EMG signals from the biceps and triceps brachii muscle of human hand. Processing the signals to eliminate noise and other unwanted signals from the EMG. Feature extraction from the EMG which should serve as inputs to the classifier. Designing and developing a fuzzy logic for classifying EMG signals. Control of a stepper motor using the classified output. The paper is divided into several sections. In the first section related works and a brief introduction was presented. Section two presents the methodology. Section three explains the data acquisition and signal processing. Section four explains the feature extraction in different domains. Section five explains the fuzzy logic classifier. Section six explains the stepper motor control. Section seven concludes the work. Copyright to IJAREEIE DOI: 10.15662/IJAREEIE.2015.0410038 8326

II. METHODOLOGY The basic steps includes data acquisition, signal processing, feature extraction, classification and motor control. Fig 1. Generalized block diagram Fig 1 shows the block diagram of the overall procedure. Surface electrodes are placed on the subjects brachii muscles of upper arm. The signals are then acquired using BITalino modular body sensor kit. Raw semg signals obtained are processed in LabVIEW for eliminating noise components. Mean values of these signals are taken for further analysis. In order to reduce its dimensionality features in time and frequency domain are extracted. These are given as inputs to the fuzzy logic classifier. An accelerometer is also placed in the subjects arm for measuring angular velocity of movement. Acceleration values are obtained from NI mydaq, a data acquisition device. Further conversions are done in LabVIEW. The classified output from fuzzy logic is used to control the movement of a stepper motor. III. DATA ACQUISITION AND SIGNAL PROCESSING Three healthy subjects of the age group 22-25 are considered. Two Ag-AgCl pregelled surface electrodes are used. They are placed on the bicep and tricep brachii muscles respectively and a reference electrode is placed at the elbow region. They are then asked to perform flexion and extension of elbow at two different speeds. Each movement is performed five times. The signals are acquired using BITalino module. The sampling frequency used for the work is 1KHz. The data is then converted to voltage signals and then amplified. Copyright to IJAREEIE DOI: 10.15662/IJAREEIE.2015.0410038 8327

Fig 2. BITalino module Fig 2 shows the BITalino module used in the work for acquiring EMG signals. It consists of a lithium polymer battery of 3.7V, a power board, micro controller unit, bluetooth module. A three axis accelerometer ADXL335 is also placed in the subjects arm. The accelerometer can measure a full scale range of ±3g. Two parameters axis offset and sensitivity are calibrated before measurement [7]. The accelerometer values are acquired using NI mydaq. The data from DAQ Assistant is plotted in waveform graph in the front panel of LabVIEW. Fig 3. Raw EMG signal for slow flexion Fig 3 shows a raw EMG signal obtained for slow flexion in the front panel of LabVIEW. The subject performs flexion of elbow for six seconds. The EMG signals obtained from BITalino are raw signals and therefore need to be processed. The signals are converted to voltage values by Eq.1 EMG value (Voltage) = X 0.5 3.3 1023 i 1000 (1) Copyright to IJAREEIE DOI: 10.15662/IJAREEIE.2015.0410038 8328

Fig 4. Signal processing in LabVIEW Fig 4 shows the block diagram in LabVIEW for processing EMG signal. A fourth order butterworth bandpass filter of cut off frequency 50-150 Hz is used. A notch filter of frequency 50 Hz is also used to eliminate the power frequency interference [8]. The frequency spectrum of the signal is analyzed. The signal is rectified and divided into 20 segments of 350 ms duration for reducing the dimension. The mean value of each segment is then used for further analysis. The data recorded by NI mydaq is in voltage and is converted to g-force by Eq. 2. Vin Voffset Acceleration( g) (2) Sensitivity The values for axis offset and sensitivity obtained by calibrating are V = 1.66V and Sensitivity = 0.33V/g. Angular displacement is calculated with respect to gravity axis. The angular velocity is then obtained and the mean values of segmented signals are plotted. IV. FEATURE EXTRACTION Features are extracted in time and frequency domain [9]. IEMG, MYOP, MAV are used in time domain features and wavelet coefficients are used in frequency domain. Copyright to IJAREEIE DOI: 10.15662/IJAREEIE.2015.0410038 8329

Integrated EMG (IEMG): IEMG is the summation of the absolute values of the semg signal amplitude. It is given by Eq. 3. N IEMG x (3) n 1 Myo pulse percentage rate (MYOP): It is an average value of myopulse output. It is defined as one when absolute value of the EMG signal exceeds a pre-defined threshold value. It is given by Eq. 4. N 1 MYOP f ( x ) (4) n N i 1 where f(x) = 1, if x threshold 0, otherwise Mean Absolute Value (MAV): It is obtained as the average of full wave rectified EMG. It is given by Eq. 5. MAV 1 N xi N i 1 i (5) Continuous wavelet transform (CWT): CWT of a signal S(t) is defined as the integral of the product between S(t) and daughter wavelets which are the time scale variations of a mother wavelet function. Mother wavelet function involves daubechies 4 wavelet. Fourth level decomposition was done and continuous wavelet coefficients of approximation signal were calculated. V. FUZZY LOGIC CLASSIFIER Features obtained are provided as inputs to the fuzzy logic classifier [10]. MYOP, IEMG and MAV are used to classify the EMG signal as flexion and extension. Speed classification is done using wavelet coefficients of approximation signals. Fig 5. Block diagram in LabVIEW for classification. Fig 5 shows the block diagram in LabVIEW for classification. Fuzzy IF-THEN rules are used to evaluate the class to which the inputs belong. Defuzzification is done based on center of area method. The classifier is able to classify the four different cases of elbow movement. Copyright to IJAREEIE DOI: 10.15662/IJAREEIE.2015.0410038 8330

VI. STEPPER MOTOR CONTROL A. Hardware components The components used includes a stepper motor, arduino board, motor shield, cable, power supply. Arduino UNO (R3) board powered by an USB cable. Motor shield consists of L293D IC. External power supply of 12V is supplied to the shield. Fig 6. Stepper motor Fig 6 shows the motor used for this work. It is a 12V/phase, 0.3A/phase, 800 steps/revolution, six wire hybrid stepper motor. B. Experimental set up Fig 7. Stepper motor control circuit Fig 7 shows the control circuit. The coils phases are first identified for the stepper motor. Stepper motor is connected to the motor shield in port 2 in bipolar configuration. Logic supply is obtained from arduino to which it is connected. A regulated dc supply set at 12 V is connected to the two terminal blocks on the shield. Arduino is powered by USB cable and a software is used to upload the code to the board. COM port and board type are set in Arduino IDE. The arduino is then interfaced to LabVIEW. Serial settings are entered in LabVIEW before running the program. Copyright to IJAREEIE DOI: 10.15662/IJAREEIE.2015.0410038 8331

Fig 8. LabVIEW block diagram for stepper motor control Fig 8 shows the LabVIEW block diagram for controlling stepper motor. Four different case structures are developed for fast flexion, slow flexion, fast extension, and slow extension. The output of fuzzy logic classifier is programmed in such a way that it gives correct movement of stepper motor for each of the classified output. VII. RESULTS AND DISCUSSION The motor rotates clockwise for flexion and anticlockwise for extension for both fast and slow speeds. A system that is able to classify EMG signals for different speed and direction of a human elbow was thus developed. Motor control that can be used in an assistive device for supporting human elbow motion was achieved. Data was acquired by surface electrodes placed on the subject. Corresponding angular velocity was also measured. Signals were processed and features were extracted to serve as inputs to the classifier. Correct classification of signals was given by the classifier. Stepper motor gave corresponding movements for the different classified outputs. VIII. ACKNOWLEDGEMENT The authors would like to thank the Department of Electrical and Electronics, Mar Baselios College of Engineering and Technology, Thiruvananthapuram and all others who have helped in completing this work. REFERENCES [1] Abdulhamit Subasi, Classification of EMG signals using PSO Optimized SVM for Diagnosis of Neuromuscular Disorders, Elsevier Journal of Computers in Biology and Medicine, Vol. 43, No.5, pp. 576 586, 8 January 2013. [2] Ahmet Alkan, Mucahid Gunay, Identification of EMG signals using discriminant analysis and SVM classifier, Elsevier Journal of Expert Systems with Applications, Vol. 39, Issue 1, pp. 44-47, January 2012. [3] Juan Carlos Gonzalez-Ibarra, Carlos Soubervielle-Montalvo, Omar Vital-Ochoa, Hector Gerardo Perez-Gonzalez, EMG Pattern Recognition System Based on Neural Networks, Eleventh Mexican International Conference on Artificial Intelligence: Advances in Artificial Intelligence and Applications, 2012. [4] Abdulhamit Subasi, Classification of EMG signals using combined features and soft computing techniques, International Journal of Applied Soft Computing, Vol. 12, Issue 8, pp. 2188-2198, August 2014. [5] Angkoon Phinyomark, Pornchai Phukpattaranont, Chusak Limsakul, Feature reduction and selection for EMG signal classification, Elsevier Journal of Expert Systems with Applications, Vol. 39, Issue-8, pp. 7420 7431, 15 June 2012. Copyright to IJAREEIE DOI: 10.15662/IJAREEIE.2015.0410038 8332

[6] J. Rafiee, M.A. Rafiee, F. Yavari, M.P. Schoen, Feature extraction of forearm EMG signals for prosthetics, Elsevier Journal of Expert Systems with Applications, Vol. 38, Issue 4, pp. 4058-4067, April 2011. [7] Zohra Aziz Ali Manjiyani, Renju Thomas Jacob, Keerthan Kumar R, Babu Varghese, Development of MEMS Based 3-Axis Accelerometer for Hand Movement Monitoring, International Journal of Scientific and Research Publications, Vol. 4, Issue 2, pp. 1-4, February 2014. [8] Jingpeng Wang, Liqiong Tang, John E Bronlund, Surface EMG Signal Amplification and Filtering, International Journal of Computer Applications, Vol. 82, No.1, pp.15-22,november 2013. [9] Angkoon Phinyomark, Chusak Limsakul and Pornchai Phukpattaranont, A Novel Feature Extraction for Robust EMG Pattern Recognition, Journal Of Computing, Vol. 1, Issue 1, pp.71-80,december 2009. [10] Timothy J Ross, Fuzzy Logic with Engineering Applications, Third Edition, ISBN: 978-81-265-3126-4, 2010. Copyright to IJAREEIE DOI: 10.15662/IJAREEIE.2015.0410038 8333