This is my master thesis presentation in 2010: "Improvement of Response Times in SSVEP-based Brain-Computer Interface", in the University of Bremen, Germany.
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Condro2010 thesis slide_v3
1. Master Thesis
Improvement of Response Times in
SSVEP-based BCI
Ignatius Sapto Condro Atmawan Bisawarna
Matrikel Number 2113914
Supervised by:
Prof. Dr.-Ing. Axel Gräser
Dr.-Ing. Ivan Volosyak
Thorsten Lüth, Dipl.-Ing.
2. Content
• Introduction
• Simulation
• Implementation
• Experiment
• Conclusion
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 2
3. SSVEP based BCI (I)
Brain-Computer Interface (BCI) is a
communication system in which messages
or commands that an individual sends to the
external world do not pass through the
brain’s normal output pathways of peripheral
nerves and muscles.
(Wolpaw, et al. 2002. Clinical Neurophysiology)
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 3
4. SSVEP based BCI (II)
Steady-state visual evoked potential
• Electrophysiological response of the
visual cortex
• Resonance phenomena
• Rapidly repeating visual stimulus:
flickering LED or lamp, blinking picture on
screen and other light sources.
• Frequency above 4 Hz
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 4
5. Bremen SSVEP-based BCI
• Brain-Computer Interface (BCI) research at the
IAT of the University of Bremen started in 2005
• It is intended to make a faster BCI system, but the
system should not lose its accuracy (too much)
• IAT Bremen BCI uses minimum energy
combination (MEC) algorithm to detect SSVEP
• With MEC, the signal power of a certain
frequency, as well as the SNR, are estimated.
• The SNR is used for classification with
thresholding
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 5
6. Time Series Prediction for
Bremen BCI
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 6
7. Time Series Prediction
• Three-point Quadratic Model
• Regression
• Logical Trend-based
• Kalman Filter
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 7
10. Logical Trend-based Decision
The present value should be larger than
the previous value.
• Three points
• More points
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 10
11. Kalman Filter
Kalman Filter is used with state space model of a system
It contains 2 steps:
• Prediction
• Measurement or updating
What is updated?
• State
• Covariance
How they are updated?
• Simplified form
• Särkää´s form
• Joseph´s form
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 11
15. Simulation:
Logical Trend-based Decision
• Decision is based on trends or gradients
(of the SNRs).
• The result contains 6 commands,
correlated to 5 LEDs and no selection.
• There is redundancy, so the values (of
the SNRs) have to be used.
• If redundancy happens, the maximum
value is selected.
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 15
25. Experiment:
Measured Parameters
• Speed
• Accuracy
• Information transfer rate (ITR)
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 25
26. Experiment I : Speed
Idle Period 1 s, 8 subjects
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 26
27. Experiment I : Accuracy
Idle Period 1 s, 8 subjects
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 27
28. Experiment I : ITR
Idle Period 1 s, 8 subjects
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 28
29. Experiment II : Speed
Idle Period 2 s, 7 subjects
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 29
30. Experiment II : Accuracy
Idle Period 2 s, 7 subjects
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 30
31. Experiment II : ITR
Idle Period 2 s, 7 subjects
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 31
32. Experiment III : Speed
Idle Period 2 s, 3 subjects
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 32
33. Experiment III : Accuracy
Idle Period 2 s, 3 subjects
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 33
34. Experiment III : ITR
Idle Period 2 s, 3 subjects
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 34
35. Conclusion
• Time Series Prediction can improve response
time
• Regression model, with 8 delay taps, has the best ITR
• Kalman Filter can improve ITR, if 5 or 10 steps are chosen.
• The optimal forms of Kalman Filter are the simplified and the
Särkää´s
• Joseph´s form of Kalman Filter has failed in simulation, so it
is not implemented.
• The Quadratic Three-point model increases the speed but
lose the accuracy too much so it shows poor ITR
• Logical trend-based decision has failed in simulation, so it is
not implemented
• A decision based on only trend or gradient does not work
• Idle period should not be lower than segment length
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 35
36. Future works
• The Time Series Prediction algorithms can
be implemented in other BCI applications:
spelling, moving wheelchair or robots and
so on.
• The transient response of Kalman Filter can
be observed and recorded by adding more
C++ code for data acquisition.
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 36
39. Back Up
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 39
40. Kalman Filter: state space
• System Model
• Measurement Model
• Output Model
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 40
41. Kalman Filter:
System model for TSP
or
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 41
43. Kalman Filter:
Output Model for TSP
m is number of steps ahead for prediction
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 43
45. Kalman Filter:
Measurement & Updating Step (I)
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 45
46. Kalman Filter:
Measurement & Updating Step (II)
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 46
47. Kalman Filter:
Measurement & Updating Step (III)
Updated (a posteriori) covariance estimate
• Simplified form
•
• Särkää´s form
•
• Joseph´s form
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 47
48. Kalman Filter:
Measurement & Updating Step (III)
Updated (a posteriori) covariance estimate
• Simplified form
• with
• Särkää´s form
• with
• Joseph´s form
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 48
50. Simulation
• MATLAB R2006b (version 7.3) from
Mathworks is used
• The data used is from the experiment with the
visor cap (wearable SSVEP stimulator).
• 6 EEG electrodes
• 5 LEDs with different frequencies
• Sampling frequency = 128 Hz
• Segment Length = 2 s
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 50
52. Software Implementation
• Two standard C++ classes:
cRegression3 and cKalmanIATBCI.
• BCI2000 - version 2 can be compiled
only with Borland C++ Builder 6.0
• ClassifierConnect.
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 52
53. Software Implementation:
C++ classes
• Method double getRegression(double dYInput,int Nt)
• Method double getKalmanFilter(double dInput, double dVariance,
int iStep, bool bChoice)
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 53
54. Software Implementation:
Block Diagram
• Pvi = Probability values at SNR channel i
• Pvi can be called Normalised SNRs
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 54
55. Software Implementation:
BCI2000
BCI2000 is a general-purpose system for BCI
BCI2000 supports different kinds of
• Signal acquisition devices
• Signal processing
• BCI applications
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 55
58. Hardware Implementation
• Porti7, with 32 channels, as USB Amplifier.
• LED Array.
• LED Controller, with PIC 16F877.
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010 58