Presentation Rohit Final

download Presentation Rohit Final

of 32

Transcript of Presentation Rohit Final

  • 8/6/2019 Presentation Rohit Final

    1/32

    EEG BASED PROSTHETIC ARM USING LabVIEW

    ROHIT GANJU

    26SET 144FINAL YR,ETCE C

    INTERNAL GUIDE: EXTERNAL GUIDE:

    Dr.SURYAKALA Mrs. SANGEETA

    H.O.D- ETCE DEPTT. BIO-MEDICAL DEPTT

  • 8/6/2019 Presentation Rohit Final

    2/32

    INTRODUCTION

    What is a Prosthetic Arm:

    In medicine, a prosthesis is anartificial extension that replaces a missing

    body part. Prostheses are typically used toreplace parts lost by injury (traumatic) ormissing from birth (congenital) or tosupplement defective body parts. Here weintend to design artificial extension to replacea missing hand for a handicapped patient

  • 8/6/2019 Presentation Rohit Final

    3/32

    OBJECTIVE

    The objective is to operate a prosthetic Arm using

    only the patients thoughts

    The brain generates typical signals responsible for

    hand movement

    These can be captured using EEG Electrode &necessary hardware

  • 8/6/2019 Presentation Rohit Final

    4/32

    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 thresholdcan be calculated

  • 8/6/2019 Presentation Rohit Final

    5/32

    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 doesnt

  • 8/6/2019 Presentation Rohit Final

    6/32

    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 disappearfrom the EEG Signal

  • 8/6/2019 Presentation Rohit Final

    7/32

    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

  • 8/6/2019 Presentation Rohit Final

    8/32

    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

  • 8/6/2019 Presentation Rohit Final

    9/32

  • 8/6/2019 Presentation Rohit Final

    10/32

    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 textbased languages

  • 8/6/2019 Presentation Rohit Final

    11/32

    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

  • 8/6/2019 Presentation Rohit Final

    12/32

    FRONT PANEL INLabVIEW

  • 8/6/2019 Presentation Rohit Final

    13/32

    INPUTS ANDOUTPUTS INLabVIEW

  • 8/6/2019 Presentation Rohit Final

    14/32

    I/ O s INLabVIEW ( CONTD)

  • 8/6/2019 Presentation Rohit Final

    15/32

    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 ,givesthe size of the Array as the output

  • 8/6/2019 Presentation Rohit Final

    16/32

    FUNCTIONS INLabVIEW

  • 8/6/2019 Presentation Rohit Final

    17/32

    EEG DATA IMPORT

    EEG RAW DATA

    NOTEPAD FILE

    IMPORT FROM

    NOTEPAD FILE

    Read from spread

    sheet File

    SPREAD SHEET FILE LabVIEW

  • 8/6/2019 Presentation Rohit Final

    18/32

    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 signals frequency component

    reduces from 13-16 Hz to 8- 10 Hz, we say HandMovement was Imagined

  • 8/6/2019 Presentation Rohit Final

    19/32

    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

  • 8/6/2019 Presentation Rohit Final

    20/32

    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

  • 8/6/2019 Presentation Rohit Final

    21/32

  • 8/6/2019 Presentation Rohit Final

    22/32

    STFT SAMPLE GRAPH

  • 8/6/2019 Presentation Rohit Final

    23/32

    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

  • 8/6/2019 Presentation Rohit Final

    24/32

    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 microseconds

  • 8/6/2019 Presentation Rohit Final

    25/32

    RAW EEGDATA SCREENSHOT

  • 8/6/2019 Presentation Rohit Final

    26/32

    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

  • 8/6/2019 Presentation Rohit Final

    27/32

    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', thedata is written in Spread sheet File

    The file is saved in the computer

    In LabVIEW ,under the file I/O Palette use Read fromSpread sheet file VI Function

  • 8/6/2019 Presentation Rohit Final

    28/32

    DATA IMPORT SCREENSHOT1

  • 8/6/2019 Presentation Rohit Final

    29/32

    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

  • 8/6/2019 Presentation Rohit Final

    30/32

    EEGREADINGSEEGREADINGS RIGHTHAND MOVEMENT LabVIEW ENVIRONMENTRIGHTHAND MOVEMENT LabVIEW ENVIRONMENT

  • 8/6/2019 Presentation Rohit Final

    31/32

    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 thethreshold condition

    If for the given data, Variance is above threshold, Mu-Rhythm is present else its absent

  • 8/6/2019 Presentation Rohit Final

    32/32

    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