0% found this document useful (0 votes)
48 views32 pages

Eeg Based Prosthetic Arm Using Labview

This document describes an EEG-based prosthetic arm system using LabVIEW. The system aims to allow amputee patients to control a prosthetic arm using only their brain signals. EEG electrodes will detect mu-rhythm brain activity when patients imagine hand movements. An algorithm will analyze the EEG data to detect mu-rhythms and determine if they exceed a threshold. If so, signals will be sent to motors in the prosthetic arm to initiate movement. The document outlines the system design, including importing EEG data into LabVIEW, implementing mu-rhythm detection algorithms, and generating motor control signals for the prosthetic arm.

Uploaded by

rkvarma29
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views32 pages

Eeg Based Prosthetic Arm Using Labview

This document describes an EEG-based prosthetic arm system using LabVIEW. The system aims to allow amputee patients to control a prosthetic arm using only their brain signals. EEG electrodes will detect mu-rhythm brain activity when patients imagine hand movements. An algorithm will analyze the EEG data to detect mu-rhythms and determine if they exceed a threshold. If so, signals will be sent to motors in the prosthetic arm to initiate movement. The document outlines the system design, including importing EEG data into LabVIEW, implementing mu-rhythm detection algorithms, and generating motor control signals for the prosthetic arm.

Uploaded by

rkvarma29
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 32

EEG BASED PROSTHETIC ARM USING LabVIEW

ROHIT GANJU
26SET 144
FINAL YR,ETCE ‘C’

INTERNAL GUIDE: EXTERNAL GUIDE:


Dr.SURYAKALA Mrs. SANGEETA
H.O.D- ETCE DEPTT. BIO-MEDICAL DEPTT
INTRODUCTION
What is a Prosthetic Arm:
In medicine, a prosthesis is an
artificial extension that replaces a missing
body part. Prostheses are typically used to
replace parts lost by injury (traumatic) or
missing from birth (congenital) or to
supplement defective body parts. Here we
intend to design artificial extension to replace
a missing hand for a handicapped patient
OBJECTIVE
• The objective is to operate a prosthetic Arm using
only the patient’s thoughts

• The brain generates typical signals responsible for


hand movement

• These can be captured using EEG Electrode &


necessary hardware
PROTOTYPE PRINCIPLE
• The underlying principle is whenever a hand
movement is imagined Mu-rhythm is generated

• This causes changes in parameters like variance,


frequency etc

• Based on experimental approximation a threshold


can be calculated
• This can be used to check condition whether Mu-
Rhythm is present or not

• If Yes, the operation of Prosthetics is initiated, else it


remains stationary.

• Which means when patient imagines a movement


,his arm operates, else it doesn’t
Mu-RHYTHM
• These are signals with fixed frequency contents- 8-10
Hz Bandwidth

• They are generated at Scalp when a hand movement


is thought by a patient

• When a movement is not imagined, they disappear


from the EEG Signal
WORK PROJECTION
• Stage 1: Import of Raw EEG Data to LabVIEW

• Stage2:Implementation of algorithm for Mu-


Rhythm detection

• Stage3: Generation of signals for Prosthetic Arm


DC Motors

• Stage4: Operation of Real time Prosthetic Arm


LabVIEW
• It stands for Laboratory for Virtual Instrumentation
& Engineering Workbench

• Award winning software used widely in Automation


Industry

• Developed at National Instruments ,Texas,USA

• Also called Graphical Programming Language


INTRO (Contd)
• Used to Program complex embedded Hardware
solutions like PLCs,Robots,FPGAs etc

• All Inputs & Outputs are shown as Buttons &


Indicators

• Easy to use, user friendly compared to other text


based languages
PROGRAMMING ENVIRONMENT
• It is divided into 2 parts- Front Panel & Block Diagram

• All Inputs & Outputs are visible inside Front Panel

• The inputs are called CONTROL ;Outputs are called INDICATORS

• The elements which cause the program to run are called as


Vis(Virtual Instruments) or functions

• They are present in Block Diagram


FRONT PANEL IN LabVIEW
INPUTS AND OUTPUTS IN LabVIEW
I/ O s IN LabVIEW ( CONTD)
• The Block diagram contains Palettes from which all
functions can be accessed

• The functions perform pre-defined task ,if supplied


with required input

• For e.g. ‘Array size’ Vi, present in Array Palette ,gives


the size of the Array as the output
FUNCTIONS IN LabVIEW
EEG DATA IMPORT

NOTEPAD
SPREAD SHEET FILE LabVIEW
FILE

IMPORT FROM Read from spread


EEG RAW DATA NOTEPAD FILE sheet File
THEORY VALIDATION
• To prove the Mu-Rhythm Hypothesis is true

• It was assumed that Mu-rhythm disappears when a


person imagines a hand movement

• When the Input EEG signal’s frequency component


reduces from 13-16 Hz to 8- 10 Hz, we say Hand
Movement was Imagined
STFT-VALIDATION TOOL
• STFT Stands for short time Fourier Transform

• The objective is to find out the frequency content of


the input EEG Signal

• Fourier Transforms are used normally for this purpose

• However ,using the above method produces incorrect


results
• This is due to random nature of EEG Signals

• Hence what is done is the signal is broken into very


small parts and their individual transforms are
performed

• This is called Short time Fourier Transform

• They can be used to calculate frequency of EEG Signals


READING STFT GRAPH
E.g.
• Consider a waveform composed of unknown
frequencies

• The objective is to find the constituent frequency


components

• Following graph obtained after performing STFT on


unknown input signal
STFT SAMPLE GRAPH
This proves the following
• 4 distinct bands can be seen which lie in the region
10,15,50,100 Hz

• More than 1 amplitude value present in all constituents]

• This is shown by different colors

• Thus frequencies are 10,15,50,100 Hz


STAGE1-DATA PROCESSING
• The data obtained from hospital was obtained as a
notepad file

• The values present inside are the instantaneous


amplitude value of the signal w.r.t time

• The amplitude values were recorded at every 2 micro


seconds
RAW EEG DATA SCREEN SHOT
• Total of 5000 data points obtained for 10 s EEG
recordings

• The Notepad file contains data for 6 channels-


C3,C4,Fp1,Fp2,A1,A2

• Import of data for 1 channel is done at a time


DATA IMPORT DESIGN FLOW
• The Notepad File contains EEG data for 6 channels –
C3,C4,Fp1,Fp2,A1,A2

• Using the function ‘Import from Text Pad File', the


data is written in Spread sheet File

• The file is saved in the computer

• In LabVIEW ,under the file I/O Palette use ‘Read from


Spread sheet file’ VI Function
DATA IMPORT SCREENSHOT1
DESIGN FLOW (Contd)
• This produces o/p which can be viewed in
waveform graph

• The output obtained is 2-D Array which can be


used for further processing
EEG READINGS – RIGHT HAND MOVEMENT LabVIEW ENVIRONMENT
STAGE2:AlGORITHM
IMPLEMENTATION
• The objective of Stage 2 is to perform Mu-Rhythm Detection

• A visual(LED) should be lit in the Front Panel when the


above rhythm is detected

• A widely accepted parameter- Variance is used to set the


threshold condition

• If for the given data, Variance is above threshold, Mu-


Rhythm is present else it’s absent
NEXT PHASE WORK
• The objective here will be to produce necessary
output for the prosthetic Arm components

• DC motors must start running when Mu-Rhythm is


detected .

• In all other condition, it must be stationary

• The operation should be done in Real time Domain

You might also like