Professional Documents
Culture Documents
Brain-Computer Interfaces
Francisco Sepulveda
f.sepulveda@essex.ac.uk
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 2 Sept. 27, 2017
BCI vs BMI?
BMI: usually implanted
e.g. Donoghue's group (Nature 442, 164-171, 2006)
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 3 Sept. 27, 2017
http://neuroportraits.eu/portrait/richard-caton
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 4 Sept. 27, 2017
Overview
Electroencephalography (EEG):
W. Gray Walter
(1910-1977)
Pictures from: http://www.epub.org.br/cm/n03/tecnologia/historia.htm Walters Toposcope 1936-57
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 5 Sept. 27, 2017
Overview
Into the Brain
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 6 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 7 Sept. 27, 2017
Axons in Action:
The 'Action Potential'
fig. I.4-2
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 8 Sept. 27, 2017
Axons in Action:
The 'Action Potential'
fig. 4.11
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 10 Sept. 27, 2017
Axons in Action:
The 'Action Potential' with Myelin
fig. 4.13
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 11 Sept. 27, 2017
Axons in Action:
The 'Action Potential'
fig. 4.13
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 12 Sept. 27, 2017
Overview
Cortical Organization
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 13 Sept. 27, 2017
Overview
Cortical Organization
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 14 Sept. 27, 2017
Overview
Cortical Organization
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 15 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 16 Sept. 27, 2017
Sources of Electrical Activity
in the EEG Signal
EEG measures the current flow
during synaptic excitation of the
dendrites of pyramidal neurons
in the cerebral cortex
EEG is a result of joint activity of
millions of underlying neurons
activated together
The amplitude of the EEG signal
is proportional to the number of
synchronously activated neurons
The EEG signal is blurred
version of a real activity, as
signal passes through several
layers of nonneural tissue
(meninges, fluid, skull, skin) also, see last weeks lecture on the
generation of electrical signals in
humans
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 17 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 18 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 19 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 20 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 21 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 22 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 23 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 24 Sept. 27, 2017
Electroencephalography (EEG)
motor imagery example
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 25 Sept. 27, 2017
Time-Space Visualisation of ERP
(event related potentials)
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 26 Sept. 27, 2017
EEG Recording 1/3 20 % 20 %
20 % 20 %
Electrodes placed according to 10 %
10-20 electrode placement 10 %
system
Based on the relationship
between the location of an
electrode and the underlying
brain area
Frontal F, Parietal P, Occipital O,
Temporal T, Central C
Left-odd numbers, right-even
numbers, z midline
Smaller numbers closer to the
midline position
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 27 Sept. 27, 2017
EEG Recording 2/3
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 28 Sept. 27, 2017
EEG Recording 3/3
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 29 Sept. 27, 2017
Biosemi System for EEG Recording
Amplifier-A/D converter-PC
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 30 Sept. 27, 2017
Sources of Noise in EEG Recordings
Transient activity
High-frequency instrumentation activity
Muscle activity (mainly frontal and temporal)
Movements of head and body
Electrocardiographic activity (main cardiac dipole
producing R wave is oriented right-left; posterior-
anterior)
Pulse-wave artefacts from blood pulse waves
Instrumentation artefacts
50 or 60 Hz background noise
Low frequency drift (electrode polarisation and
motion)
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 31 Sept. 27, 2017
Typical EEG Pre-Processing
Note: the signal below is often subtracted from another common
reference location
Lowpass
Butterworth Butterworth order 1
order 2 1 order 2 2 at 50Hz 3
cutoff at <100Hz cutoff at 1Hz (60Hz in some countries)
Antialiasing Highpass filter Analogue
Signal
Analogue filter Analogue filter Notch filter
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 32 Sept. 27, 2017
64-Channel Biosemi EEG Set Up
nose
CMS and
DRL:
circuit
referencing
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 33 Sept. 27, 2017
Further EEG Processing:
Referencing
Removal of common environmental noise:
subtraction done sample by sample in time domain
Reference outside the scalp (ear or mastoid):
one of the ear lobes or mastoid locations (or the average
between the left and right ones) is used the reference.
most popular approach.
useful to study waves that are over several, but not all, channels
(e.g., the P300 wave).
Scalp average reference:
used to investigate the difference between one channel and the
rest of the scalp.
useful for rough localization of function (e.g., movement
imagination vs. other tasks)
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 34 Sept. 27, 2017
Further EEG Processing:
Referencing
Laplacean:
subtraction of a channel from the average of the ones
surrounding it.
very useful for maximizing spatial differences, e.g., to distinguish
between imagination of movement for different limbs if their
control areas are near each other in the cortex.
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 35 Sept. 27, 2017
Statistical EEG Problems
Need classification with <1s of data
Stochastic signals
Single values are not reliable
Need statistical distributions
EEG distributions shift very quickly
Non-stationary
shifting frequency components
Very large class overlap:
Prob.
class 2
class 1
Peak value
in 0-100ms
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 36 Sept. 27, 2017
Statistical EEG Problems
Often need multi-feature classification
F2
Target
Non target
Solutions: F1
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 37 Sept. 27, 2017
Estimating Class Separation
Davies-Boulding Index or similar
class overlap
smaller is better
Statistical significance
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 38 Sept. 27, 2017
Traditional BCI Approaches
P300
Mu rhythm control
Steady state visual evoked potentials (SSVEP)
Error (negativity) potential
Slow cortical potentials
Motor Imagery
Various other tasks
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 39 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 40 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 41 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 42 Sept. 27, 2017
P300
Target
Near target
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 43 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 44 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 45 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 46 Sept. 27, 2017
SSVEP
steady state visual evoked potential
Recorded over visual cortex
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 47 Sept. 27, 2017
Motor Imagery
Mental rehearsal of movement
Different limbs easier to distinguish: location
Band power: 0.5Hz to ~75Hz
gtec.at
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 48 Sept. 27, 2017
Motor Imagery
Same Limb
Right hand
Stimulus sequence:
Visual clue (wrist movement type): S
Pronation
Supination
Flexion E
Extension
Sound clue
F
Gabor transform features
Up to 90% correct, 70% average P
Sepulveda et al. 2004, 2005, 2006
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 49 Sept. 27, 2017
The Asynchronous Problem
(Pseudo) spontaneous
Onset detection done separately?
Or, continuous classification
Our choices:
mental task repetition during allowed period
aiming at continuous classification
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 50 Sept. 27, 2017
Mental Tasks
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 51 Sept. 27, 2017
Various Mental Tasks
Auditory recall:
Select a familiar tune and listen to it in your mind. Do not
mouth lyrics or make movements related to the tune
Navigation:
Select a place familiar to you. When prompted, imagine yourself
in this location. Try to visualize the objects around yourself and
move slowly within the environment
Sensorimotor attention:
Focus your attention on your left thumb. Attempt to concentrate
on the physical feelings you receive from it without actually
attempting to move it.
Done for left and for right thumbs
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 52 Sept. 27, 2017
Various Mental Tasks
Calculation:
Select either addition or subtraction, and an integer between 1
and 10. When prompted, pick a random number and perform
the operation selected using the integer. Repeat this with the
result of the operation
Imaginary movement:
Imagine extending your left wrist. Rather than visualizing the
hand moving, try to concentrate on the perceptions associated
without actually performing the movement
Done for left and for right hands
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 53 Sept. 27, 2017
Mental Tasks
Class Separation Classification
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 54 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 55 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 56 Sept. 27, 2017
Common mistakes in BCIs
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 57 Sept. 27, 2017
Study Guide
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 58 Sept. 27, 2017
PRACTICAL EXERCISE
referencing
run aircraft.m
examine drawgripen.m
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 59 Sept. 27, 2017
F. Sepulveda - CSEE - Essex University BCI Introduction Slide 60 Sept. 27, 2017