brain computer interfaces
play

BRAIN COMPUTER INTERFACES Basic Principles and Applications Michele - PowerPoint PPT Presentation

EEG TECHNIQUES FOR BRAIN COMPUTER INTERFACES Basic Principles and Applications Michele Barsotti, Daniele Leonardis, Antonio Frisoli m.barsotti@santannapisa.it d.leonardis@santannapisa.it a.frisoli@santannapisa.it OUTLINE Brain Anatomy and


  1. Time-domain: ERP morphology HEALTHY VS ERP MCS Ocular blink Blink related potential differentiate normal controls from Minimum Conscience and Vegetative states. A large positive deflection (see black continuous trace) is the cortical response associated with the ocular blink. No significant deflection is apparent either for Vegetative or Minimum Conscience patients (dotted lines).

  2. Frequency-domain: Time-frequency analysis of ERPs Stimulus Onset ERP in the Time domain ERP in the Time-Frequency domain

  3. Topology: spatial distribution of a specific activity

  4. LORETA : LOw REsolution Tomography Analysis

  5. BCI SYSTEM • What is a Brain Computer Interface? • Classification of BCI system • Application of BCI • Assistive Technologies • Rehabilitation Purposes • BCI paradigms: • P300 (Face Speller) • Motor Imagery • SSVEP

  6. GENERAL BCI FRAMEWORK BRAIN USER SIGNAL FEATURES SIGNALs MENTAL PROCESSING EXTRACTION ACQUISITION STRATEGY 1 CSP FC3 FCZ FC4 VAR VAR C5 C3 C1 CZ C2 C4 C6 CP3 CPZ CP4 MAX MIN APPLICATION SIGNAL OUTPUT CLASSIFICATION BIOFEEDBACK

  7. GENERAL BCI FRAMEWORK  BCIs represent a set of techniques to allow direct control of a software or device via brain Machine learning activity – without the need of a motor output  The most common BCI approach exploits voluntary modulation of EEG activity, although more invasive approaches have been explored  These techniques have successfully been employed to aid disabled patients Feedback for  Recently BCIs have also been subject training investigated as a rehabilitation tool

  8. BCI CATEGORIES DEPENDING ON THE ACQUISITION SYSTEM INVASIVE INVASIVE NON-INVASIVE NON-INVASIVE Without penetrating the Implanted sensors skalp, mostly EEG , rarely (electrode array, needle magnetoencephalogram electrodes, ( MEG ) electrocorticogram ECoG )

  9. Classification: signal acquisition BCI Invasive Non invasive EEG Single recording site Multiple recording MEG sites fMRI ECoG

  10. Invasive vs. non-invasive BCI  Invasive BCI Insertion of arrays of microelectrodes in cortical  tissue Control of 2-3 DoF, with good accuracy.  Implants have only been tested for months  after surgery Hochberg et al., Nature, 2006 Highly expensive   Non-invasive BCI EEG systems range from low to high density (2  to 256 eletrodes) Several portable, cheap systems exist  Motion artifacts and interferences can be  greatly reduced by employing active electrodes

  11. BCI CATEGORIES DEPENDING ON THE MENTAL STRATEGY ENDOGENOUS ENDOGENOUS EXOGENOUS EXOGENOUS Evoked Potentials: Unstimulated Brain Users modulate brain Signals: responses to external Users can voluntarily stimuli produce the required SSVEP signals p300 ( Motor Imagery , Computational Task )

  12. BCI CATEGORIES DEPENDING ON THE COMMAND-TIMING ASYNCHRONOUS ASYNCHRONOUS SYNCHRONOUS SYNCHRONOUS Commands can only be The system detects emitted synchronously with when the user wants to external pace. emit a command Subjects are asked to The differences in EEG perform visual response following imagery tasks and different stimuli are the local changes in used to discriminate EEG power spectra what subjects want are recorded

  13. BCI CATEGORIES - SUMMARY ENDOGENOUS ENDOGENOUS EXOGENOUS EXOGENOUS DEPENDENT DEPENDENT  SSVEP  VEP INDEPENDENT INDEPENDENT  MOTOR IMAGERY  ERP (i.e.P300)

  14. BCI: communication strategies Sistema di BCI usato per la scrittura mentale basato su P300 Selection among many possibilities Communicatio A B E F n C D G H I L O P M N Q R Sequential A B selection C D A

  15. BCI: device control strategies Device control Manual control Shared control Autonomous control

  16. BRAIN ANATOMY & EEG MOVEMENTS CORRELATES

  17. BRAIN ANATOMY: THE CEREBRAL CORTEX II M1 S1 III I V IV The Primary Somatic Sensory Cortex (Parietal Lobe) and the Primary Motor Cortex (Temporal Lobe) are the most important regions for BCI research.

  18. TYPES OF MOVEMENT Three types of movements may occur in respect of to ascending and descending signals via different pathways and at different levels: When a voluntary movement is started, neurons in the • Reflexes movement : are performed M1 send commands to upper and lower motor neurons. subconsciously and can occur at an exclusively spinal level The M1 needs to be stimulated by neurons from the • Rhythmic movement : stereotyped action premotor cortex and the supplementary motor area involving repetitions of the same movements (SMA), which support and coordinate the M1, in order to The control is at the spinal level without initiate a voluntary movement involvement of higher cortical control • Voluntary movement : usually goal directed and therefore fully conscious. It arises in the motor cortex and is executed by the spinal cord.

  19. MOTOR IMAGERY Motor imagery is a mental process by which an individual rehearses or simulates a given action. Performing motor imagery or attempting a movement (i.e. for patients) influences the brain activity as the voluntary movements do.

  20. Why MOTOR IMAGERY is suitable for BCI? • No need of external stimulus (it could be asynchronous) • Not depend in any way on the brain’s normal output/input pathways (independent) • Possibility to provide different commands depending on which body part is evolved in the simulated action • Mental practice of motor actions via BCI training affect neuro- rehabilitation in a positive way. • the power in μ (8 - 12 Hz) and β (12 -24Hz) EEG rhythms are affected by motor imagery: Event Related Spectral Perturbation (ERSP) • Users learn to perform motor imagery tasks • Can be employed even if the motor areas are impaired • Works mostly for digital control, has a fast response

  21. DECODING MOVEMENT INTENTIONS BY ANALIZING EEG

  22. EEG PHENOMENAL USABLE FOR BCI  Event Related Spectral Perturbation (ERSP) and Event Related Potential ERP are the measured brain response that are the direct result of a specific sensory, cognitive, or motor event.  Event Related Potential (ERP) :  - Repeatedly present discrete stimulus, average raw EEG responses across presentations. Characteristic feature (eg. P300)  Event Related Spectral Perturbation (ERSP) :  Frequency band changes - Average spectral features across presentation. - Characteristic suppression/increase in power ( ERD / ERS : E vent R elated D e- S ynchronization).

  23. AVERAGING • The ERPs and ERSP should be extracted from the background noise mediating many recordings (Epochs or Trials) ERP ERSP   channel time epoch    channel time frequency epoch X X Frequency [Hz] Amplitude [µV] time time

  24. AVERAGING THEORY S/N ratio increases as a function of the square root of Post-Stimulus Costant Background the number of trials. EEG Signal Noise EEG background Amplitude [µV] noise ~ 1/sqrt(N) Costant Signal ERP Repetition (N) average average average ERP Signal Noise

  25. MOTOR IMAGERY CORRELATES IN EEG Performing (or imagining) a motor action influences the EEG with two main phenomena:

  26. MOTOR IMAGERY CORRELATES IN EEG SLOW CORTICAL POTENTIALS [Kornhuber and Deecke (1965) ] • Know as BereitschaftPotential (readiness potential) or Movement Related Cortical Potentials (MRCPs) . • Slow oscillations preceding the movement • Localized over the supplementary motor area (SMA) • Steps for MRCP detection • Spatial filter, • LP frequency filter • Template extraction from the training data • matching with the ongoing eeg • Frequency close to the DC -> very challenging to detect in single trial

  27. MOTOR IMAGERY CORRELATES IN EEG SENSORIMOTOR RHYTHMS [Pfurtscheller and Lopes da Silva, (1999)] • the power in μ (8 - 12 Hz) and β (12 -24 Hz) EEG rhythms are affected by motor imagery. • Know also as Event Related De/Synchronization (ERD,ERS) • Steps for ERD detection • Spatial filter, • Band Pass frequency filter • Feature extraction • LDA classifier • High average classification accuracy (>80%)

  28. ERD extraction: example with motor imagery Collecting Trials from a specific electrode Bandpass on the specific frequency Squaring Signals Averaging over Trials Smoothing [Pfurtscheller and Lopes da Silva, (1999)]

  29. SENSORIMOTOR RHYTHMS EVENT RELATED SPECTRAL PERTURBATION Event Related De\Synchronization Motor Imagery of ERD right hand movement β ERD 13-30 Hz µ ERD 8-12 Hz

  30. MOTOR IMAGERY: SIGLE TRIAL DETECTION The important features of the motor imagery are:  The frequency band.  The spatial localization A priori knowledgment:  The frequency band are mu (8 -13Hz) and beta (15-30 Hz).  The spatial localization is over the sensory motor Very high intersubject variability! Need of optimized spatial filters

  31. SPATIAL FILTERING The aim of spatial filtering is to improve the signal-to-noise ratio by creating a virtual channel which is a (linear, in the following cases) combination of the input channels of the filter. y(t) = a*ch1(t) + b*ch2(t) .... N-channel input (ex. 16 ch) 1-optimized channel output A spatial filters can optimize the data extracted from an high number of electrodes reducing the dimension of the features'space to only few 1 CSP significant dimensions. FC3 FC4 FCZ C5 C3 C1 CZ C2 C4 C6 CPZ CP3 CP4

  32. Optimized Spatial filter: C ommon S patial P attern – CSP [Pfurtscheller 1999] Trial i Trial i+1 Trial i Trial i+1 REST MOVE REST MOVE 1 CSP 13 CSP VAR MIN VAR MAX FC3 FCZ FC4 FC3 FCZ FC4 C5 C3 C1 CZ C2 C4 C6 C5 C3 C1 CZ C2 C4 C6 CP3 CPZ CP4 CPZ CP3 CP4 VAR MAX VAR MIN FIRST AND LAST CSP FILTER RAW PROJECTED CHANNELS DATA Common Spatial Pattern (CSP) is a supervised spatial filtering method for two-class discrimination problems, which finds directions that maximize variance for one class and at the same time minimize variance for the other class.

  33. C ommon S patial P attern – Algorithms T i i X X  R A A TRIALS COVARIANCE A T i i trace ( X X ) A A i CLASS A CLASS A T i i X X COMPOSITE  R B B B T i i trace ( X X ) COVARIANCE B B i   R R R TRIALS COVARIANCE c A B CLASS B CLASS B   T R U U C C C C  1   T W C U C Transformed S  T WR W EIGENVALUES A A Covariance A S  T WR W WHITENING B B MATRIX   T S U U Transformed A A EIGENVECTOR   T S U U Covariance B B B     I A B  T P U W Z  PX PROJECTION MATRIX

  34. C ommon S patial P attern: advantages • The scalp-plot of the Common Spatial Pattern can be also used to give a physiological interpretation of the data • Since variance of band-pass filtered signals is equal to band-power, CSP filters are well suited to discriminate mental states characterized by spectral perturbations (ERD and motor imagery based BCIs).

  35. CLASSIFICATION The log-scaled band-power values in the mu and beta band of the resulting two projected channels, can be used as a two- dimensional feature of the brain activity. Classification is performed using a linear discriminant classifier (LDA) or a support vector machine (SVM)

  36. • BCI FOR REHAB USING F.E.S. – https://www.youtube.com/watch?v=Mr- Azo3Wvfs • BCI FOR COMMUNICATION – https://www.youtube.com/watch?time_ continue=1&v=O6Qw3EDBPhg • BCI CONTROL OF THE SMART HOME – https://www.youtube.com/watch?time_ continue=33&v=bFwNi_M32cE

  37. FEEDBACKs for motor imagery - BCI

  38. FEEDBACK FOR MOTOR IMAGERY The biofeedback provided as a response to the mental activity can improves the usability of motor imagery BCI. The congruency of the provided feedback with the mental task is expected to ease the performance of motor imagery. Game VISUAL Virtual reality Illusion PROPRIOCEPTIVE Exoskeleton

  39. motor imagery – BCI in neurological rehabilitation

  40. NEUROROBOTICA PER LA RIABILITAZIONE MEDICINE NEUROSCIENCE BIO SIGNALS ROBOTICS NEURO- NEURO- ARTIFICIAL REHABILITATION REHABILITATION INTELLIGENCE

  41. CENTRAL NERVOUS SYSTEM INJURIES SPINAL CORD INJURY STROKE Characterized by a nerve fiber lesion at Occurs when blood supply to the brain is spinal level. blocked or when blood vessels in the Restoring movement in patients with brain burst SCI would require a bypass of the Structural and metabolic brain imaging spinal injury. and electrophysiological recording of the Once the acute phase is over and the primary motor cortices have been used person has been stabilized, he or she to document reorganization of neural enters the rehabilitation stage of activity after stroke. treatment. Since stroke does not impair the capacity to perform Motor Imagery, MI Treatment during this phase has the provides a substitute for Active Motor goal of returning as much function as Training as a means to activate the possible to the person. motor network in stroke. Because all patients are different, a unique plan designed to help the person function and succeed in everyday life have to be designed. PROTOCOLLO RIABILITATIVO ADATTABILE

  42. https://www.youtu be.com/watch?v= 4qx5yZo8JwE

  43. GENERAL BCI FRAMEWORK (BCI/BMI) can utilize electric, magnetic, or metabolic brain signals recorded invasively or noninvasively to control, (robotic arm or exoskeleton), allowing to engage in daily life activities. BRAIN SIGNALs USER MENTAL SIGNAL FEATURES ACQUISITION STRATEGY PROCESSING EXTRACTION 1 CSP FC3 FC4 FCZ VAR VAR C5 C3 C1 CZ C2 C4 C6 CPZ CP3 CP4 MAX MIN APPLICATION OUTPUT SIGNAL CLASSIFICATION BIOFEEDBACK

  44. ACQUIRING BRAIN ACTIVITY Spatial Resolution [cm] BASED ON THE BLOOD FLOW VARIATION BASED ON THE MAGNETIC- ELECTRICAL Temporal Resolution [s] ACTIVITY

  45. NON-INVASIVE BCI BASED ON EEG EEG signals are the most widely used non-invasive strategy for BCI applications Several portable, cheap systems exist Motion artifacts and interferences can be greatly reduced by employing active electrodes TYPES OF BCI DEPENDING ON MENTAL STRATEGIES ENDOGENOUS POTENTIAL EXOGENOUS POTENTIAL BCIs based on external cues: BCIs based on self-paced brain activity: • ERP (P300) • Motor Imagery • SSVEP

  46. B rain C omputer I nterface in NEURO-REHABILITAION • ASSISTIVE BCI : continuous high- dimensional brain control of robotic devices or functional electric stimulation ( FES ) to assist in performing daily life activities • RESTORATIVE BCI : aiming at augmentation of neuroplasticity facilitating recovery of brain function. The development of restorative BCI systems is tightly associated with the development and successes of neurofeedback and its use to purposefully up-regulate or down- regulate brain activity

  47. BCI IN NEURO-MOTOR REHABILITATION Motor Imagery provides a substitute for Active Motor Training as a means to activate the motor network in stroke. Strategy 1: Train subjects to [ Ang et al. 2013; modulate brain activity via JCSE ] visualization and voluntary control of relevant features Daly & Wolpaw, Lancet, 2008 Brain activity promotes brain reorganization Brain activity promotes brain reorganization

  48. BCI IN NEURO-MOTOR REHABILITATION Strategy 2: Train subjects by using brain activity to aid motion with assistive devices Daly & Wolpaw, Lancet, 2008

  49. BCIs FOR PROMOTING PLASTICITY MOTOR SENSORY SYNCHRONIZATION INFORMATION INFORMATION PATIENT’S MOTOR INTENTION / IMAGERY NEUROFEEDBACK PROPRIOCEPTIVE / KINAESTHETIC / VISUAL BCI ASSOCIATED STIMULUS MOVEMENT [Silvoni et al 2011; Clinical EEG and Neuroscience]

  50. RESULTS All the three patients enrolled in the study were able to volitionally trigger the task execution through MI within a reasonable amount of time PATIENT #2

  51. • Integration with ALEx exoskeleton • Wide range of motion • Recording of a task-oriented trajectory • Assistance as needed paradigm • tasks performed in Virtual Reality

  52. WORK IN PROGRESS CENTRAL CENTRAL CONTROL CONTROL UNIT UNIT In the video ALEx exoskeleton shown

  53. TRAINING PHASE SVM ORIGINAL CHANNELS OPTIMAL CHANNELS REST MOVE REST MOVE CSP CLASSIFIER FILTERS VAR VAR MIN MAX VAR VAR MAX MIN ROBOT CONDITION VISUAL CONDITION  The subject performed a test session  Involving the BCI module only and with the complete system: the visual feedback of a virtual arm Kinect – EyeTracker – BCI – ArmExos controlled through motor

  54. BCI-REHABILITATION PROTOCOL SESSION STRUCTURE: • TRAINING PHASE : visual and proprioceptive feedback are provided accordingly to the task • EXERCISE PHASE : the real-time classification output of the BCI was used for driving the proprioceptive and visual feedback TASKs REQUIRED: • MOVEMENT : the patient have to perform motor imagery of his impaired arm • REST : the patient have to hold a resting mental state 5 right hemiparetic stroke MONITOR patients enrolled visual feedback BCI ALL PATIENTS WERE EEG acquisition ABLE TO CONTROL THE & processing BCI SYSTEM AFTER THE FIRST TWO L-EXOS SESSION proprioceptive feedback

  55. BCI paradigm based on Motor Imagery

  56. MOTOR IMAGERY BCI: WORKFLOW Online operations: Signal filtering EEG Features Features User and acquisition extraction classification conditioning Real-time feedback Offline BCI training Frequency bands and Spatial Classifier artifact Filter weights removal parameters parameters

  57. EEG CONFIGURATION  EEG channels: minimal configuration Frontal ground electrode Reference ear lobe electrode Electrodes covering the motor cortex Electrode for eye-blink detection and removal  Feature extraction The power in the mu (8-12 Hz) and beta (16-24 Hz) bands is computed over 500 ms windows.

  58. TRAINING PHASE  Training paradigm Subjects are asked to perform several motor imagery trials. 1. Feature classification Acquired data is classified into two or more classes via machine learning techniques, to optimize feature classification 2. Subject training The subject is trained again with the output of the feature classifier as a feedback signal, in order to optimize its motion imagery TRIAL STRUCTURE

  59. DATA PROCESSING TRAINING • Import data with the channel location • Subdivide data into epochs for the two classes • Remove artifactuated epochs • Train the Common Spatial filter • Extract Features • Train the classifier it is possible to predict the BCI performance by a visual inspection of both the time-frequency plot of the CSP-projected channels and the features plot

  60. DATA PROCESSING: Visual Inspection

  61. Time Frequency plot raw channels CHANNELS ERD MAPS - MOVE CHANNELS ERD MAPS - REST C3 C3 30 Frequency [Hz] Frequency [Hz] 2 30 2 1 20 20 0 0 -1 10 10 -2 -2 -2000 0 2000 4000 -2000 0 2000 4000 Time [ms] Time [ms] CZ CZ 30 Frequency [Hz] Frequency [Hz] 2 30 2 1 20 20 0 0 -1 10 10 -2 -2 -2000 0 2000 4000 -2000 0 2000 4000 Time [ms] Time [ms] C4 C4 30 Frequency [Hz] Frequency [Hz] 2 30 2 1 20 20 0 0 -1 10 10 -2 -2 -2000 0 2000 4000 -2000 0 2000 4000 Time [ms] Time [ms]

  62. Time Frequency plot CSP projected channels MOVE - First CSP MOVE trials Frequency [Hz] 30 5 20 First CSP 0 10 -5 -2000 -1000 0 1000 2000 3000 4000 Time [ms] MOVE - Last CSP Frequency [Hz] 30 2 20 Last CSP FC3 FC4 FCZ 0 C5 C3 C1 CZ C2 C4 C6 10 CP3 CPZ CP4 -2 -2000 -1000 0 1000 2000 3000 4000 Time [ms] REST - First CSP REST trials Frequency [Hz] 30 2 20 First CSP 0 10 -2 -2000 -1000 0 1000 2000 3000 4000 Time [ms] REST - Last CSP 30 Frequency [Hz] 2 20 FC3 FC4 FCZ 0 Last CSP C5 C3 C1 CZ C2 C4 C6 10 -2 CP3 CPZ CP4 -2000 -1000 0 1000 2000 3000 4000 Time [ms]

  63. PREDICTING RESULTS 0 Plot of each trial in 3.5 2nd CSP - Log Features 1 the features Support Vectors space 3 2.5 CLASSIFIER PERFORMANCE 100 2 80 1.8 2 2.2 2.4 2.6 Correct Rate [%] 1st CSP - Log Features 60 Analysis of the BCI 40 output calculated with parameters extracted 'Rest' ->89.65% 20 'Move'->99.95% from the same dataset 'Total' ->95.10% 0 0 1000 2000 3000 Time [ms]

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend