SlideShare a Scribd company logo
1 of 63
Download to read offline
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.
Content


•    Introduction
•    Simulation
•    Implementation
•    Experiment
•    Conclusion



Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          2
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
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
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
Time Series Prediction for
Bremen BCI




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          6
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
Quadratic Model




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          8
Regression




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          9
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
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
Simulation:
Three-point Quadratic Model




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          12
Simulation:
Regression, 5 delay taps




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          13
Simulation:
Regression, 8 delay taps




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          14
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
Simulation:
Logical Trend-based Decision,
2 delay taps (three points)




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          16
Simulation:
Logical Trend-based Decision,
5 delay taps




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          17
Simulation:
Logical Trend-based Decision,
8 delay taps




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          18
Simulation:
Kalman Filter, 5 delay taps,
Simplified form




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          19
Simulation:
Kalman Filter, 5 delay taps,
Särkää´s form




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          20
Simulation:
Kalman Filter, 5 delay taps,
Joseph´s form




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          21
Software Implementation:
Time Series Prediction in BCI2000




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          22
Experiment

• 11 subjects (2 females, 9 males), with age
  range 21-30 years old.
• 4 LEDs
• 8 EEG electrodes
• Sampling frequency = 2048 Hz
• Segment Length = 2 s

There are 3 experiments
• Experiment I : 8 subjects
• Experiment II : 7 subjects
• Experiment III: 3 subjects
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          23
Experiment:
Protocol




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          24
Experiment:
Measured Parameters
• Speed



• Accuracy



• Information transfer rate (ITR)




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          25
Experiment I : Speed
Idle Period 1 s, 8 subjects




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          26
Experiment I : Accuracy
Idle Period 1 s, 8 subjects




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          27
Experiment I : ITR
Idle Period 1 s, 8 subjects




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          28
Experiment II : Speed
Idle Period 2 s, 7 subjects




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          29
Experiment II : Accuracy
Idle Period 2 s, 7 subjects




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          30
Experiment II : ITR
Idle Period 2 s, 7 subjects




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          31
Experiment III : Speed
Idle Period 2 s, 3 subjects




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          32
Experiment III : Accuracy
Idle Period 2 s, 3 subjects




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          33
Experiment III : ITR
Idle Period 2 s, 3 subjects




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          34
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
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
Thank You




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010             37
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          38
Back Up




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010            39
Kalman Filter: state space
• System Model




• Measurement Model




• Output Model



Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          40
Kalman Filter:
System model for TSP




                                                  or


Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          41
Kalman Filter:
Measurement Model for TSP




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          42
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
Kalman Filter:
Prediction step




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          44
Kalman Filter:
Measurement & Updating Step (I)




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          45
Kalman Filter:
Measurement & Updating Step (II)




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          46
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
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
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          49
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
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          51
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
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
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
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
Software Implementation:
BCI2000, filtering module I




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          56
Software Implementation:
ClassifierConnect




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          57
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
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          59
Experiment:
EEG Cap Configuration




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          60
Experiment:
Subject Information




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          61
Experiment:
Subject Participation




Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          62
Improvement of Response Times in SSVEP-BCI
Ignatius Sapto Condro Atmawan, 2010          63

More Related Content

Similar to Condro2010 thesis slide_v3

PR-270: PP-YOLO: An Effective and Efficient Implementation of Object Detector
PR-270: PP-YOLO: An Effective and Efficient Implementation of Object DetectorPR-270: PP-YOLO: An Effective and Efficient Implementation of Object Detector
PR-270: PP-YOLO: An Effective and Efficient Implementation of Object DetectorJinwon Lee
 
The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...InsideScientific
 
addressing tim/quality trade-off in view maintenance
addressing tim/quality trade-off in view maintenanceaddressing tim/quality trade-off in view maintenance
addressing tim/quality trade-off in view maintenanceSoheila Dehghanzadeh
 
Metaheuristics-based Optimal Reactive Power Management in Offshore Wind Farms...
Metaheuristics-based Optimal Reactive Power Management in Offshore Wind Farms...Metaheuristics-based Optimal Reactive Power Management in Offshore Wind Farms...
Metaheuristics-based Optimal Reactive Power Management in Offshore Wind Farms...Aimilia-Myrsini Theologi
 
F and G Taylor Series Solutions to the Circular Restricted Three-Body Problem
F and G Taylor Series Solutions to the Circular Restricted Three-Body ProblemF and G Taylor Series Solutions to the Circular Restricted Three-Body Problem
F and G Taylor Series Solutions to the Circular Restricted Three-Body ProblemEtienne Pellegrini
 
Kalman filter(nanheekim)
Kalman filter(nanheekim)Kalman filter(nanheekim)
Kalman filter(nanheekim)Nanhee Kim
 
QMRAS Project Presentation
QMRAS Project PresentationQMRAS Project Presentation
QMRAS Project PresentationGary Spencer
 
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...Soheila Dehghanzadeh
 
DSD-NL 2018 Inverse Analysis for Workshop Anura3D MPM - Ghasemi Martinelli
DSD-NL 2018 Inverse Analysis for Workshop Anura3D MPM - Ghasemi MartinelliDSD-NL 2018 Inverse Analysis for Workshop Anura3D MPM - Ghasemi Martinelli
DSD-NL 2018 Inverse Analysis for Workshop Anura3D MPM - Ghasemi MartinelliDeltares
 
2019 Project Showcase - Alexander Adam Laurence
2019 Project Showcase - Alexander Adam Laurence2019 Project Showcase - Alexander Adam Laurence
2019 Project Showcase - Alexander Adam LaurenceAlexanderAdamLaurenc
 
Models Can Lie
Models Can LieModels Can Lie
Models Can LieRaju Rimal
 
Eated 중간발표용 버전2
Eated 중간발표용 버전2Eated 중간발표용 버전2
Eated 중간발표용 버전2ssuserb4f344
 
Controls Based Q Measurement Report
Controls Based Q Measurement ReportControls Based Q Measurement Report
Controls Based Q Measurement ReportLouis Gitelman
 
An Extended Two-Phase Architecture for Mining Time Series Data
An Extended Two-Phase Architecture for Mining Time Series Data An Extended Two-Phase Architecture for Mining Time Series Data
An Extended Two-Phase Architecture for Mining Time Series Data sosorry
 
极之聚地产推广部培训.PPT
极之聚地产推广部培训.PPT极之聚地产推广部培训.PPT
极之聚地产推广部培训.PPTwei mingyang
 
BIOMAG2018 - Darren Price - CamCAN
BIOMAG2018 - Darren Price - CamCANBIOMAG2018 - Darren Price - CamCAN
BIOMAG2018 - Darren Price - CamCANRobert Oostenveld
 

Similar to Condro2010 thesis slide_v3 (20)

PR-270: PP-YOLO: An Effective and Efficient Implementation of Object Detector
PR-270: PP-YOLO: An Effective and Efficient Implementation of Object DetectorPR-270: PP-YOLO: An Effective and Efficient Implementation of Object Detector
PR-270: PP-YOLO: An Effective and Efficient Implementation of Object Detector
 
The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
 
addressing tim/quality trade-off in view maintenance
addressing tim/quality trade-off in view maintenanceaddressing tim/quality trade-off in view maintenance
addressing tim/quality trade-off in view maintenance
 
Metaheuristics-based Optimal Reactive Power Management in Offshore Wind Farms...
Metaheuristics-based Optimal Reactive Power Management in Offshore Wind Farms...Metaheuristics-based Optimal Reactive Power Management in Offshore Wind Farms...
Metaheuristics-based Optimal Reactive Power Management in Offshore Wind Farms...
 
F and G Taylor Series Solutions to the Circular Restricted Three-Body Problem
F and G Taylor Series Solutions to the Circular Restricted Three-Body ProblemF and G Taylor Series Solutions to the Circular Restricted Three-Body Problem
F and G Taylor Series Solutions to the Circular Restricted Three-Body Problem
 
Class 31 controller tuning and quality of control
Class 31   controller tuning and quality of controlClass 31   controller tuning and quality of control
Class 31 controller tuning and quality of control
 
Kalman filter(nanheekim)
Kalman filter(nanheekim)Kalman filter(nanheekim)
Kalman filter(nanheekim)
 
QMRAS Project Presentation
QMRAS Project PresentationQMRAS Project Presentation
QMRAS Project Presentation
 
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...
Optimizing SPARQL Query Processing On Dynamic and Static Data Based on Query ...
 
DSD-NL 2018 Inverse Analysis for Workshop Anura3D MPM - Ghasemi Martinelli
DSD-NL 2018 Inverse Analysis for Workshop Anura3D MPM - Ghasemi MartinelliDSD-NL 2018 Inverse Analysis for Workshop Anura3D MPM - Ghasemi Martinelli
DSD-NL 2018 Inverse Analysis for Workshop Anura3D MPM - Ghasemi Martinelli
 
2019 Project Showcase - Alexander Adam Laurence
2019 Project Showcase - Alexander Adam Laurence2019 Project Showcase - Alexander Adam Laurence
2019 Project Showcase - Alexander Adam Laurence
 
Models Can Lie
Models Can LieModels Can Lie
Models Can Lie
 
Sigir15
Sigir15Sigir15
Sigir15
 
Eated 중간발표용 버전2
Eated 중간발표용 버전2Eated 중간발표용 버전2
Eated 중간발표용 버전2
 
Controls Based Q Measurement Report
Controls Based Q Measurement ReportControls Based Q Measurement Report
Controls Based Q Measurement Report
 
An Extended Two-Phase Architecture for Mining Time Series Data
An Extended Two-Phase Architecture for Mining Time Series Data An Extended Two-Phase Architecture for Mining Time Series Data
An Extended Two-Phase Architecture for Mining Time Series Data
 
极之聚地产推广部培训.PPT
极之聚地产推广部培训.PPT极之聚地产推广部培训.PPT
极之聚地产推广部培训.PPT
 
03 broderick qsts_sand2016-4697 c
03 broderick qsts_sand2016-4697 c03 broderick qsts_sand2016-4697 c
03 broderick qsts_sand2016-4697 c
 
BIOMAG2018 - Darren Price - CamCAN
BIOMAG2018 - Darren Price - CamCANBIOMAG2018 - Darren Price - CamCAN
BIOMAG2018 - Darren Price - CamCAN
 
14184864.ppt
14184864.ppt14184864.ppt
14184864.ppt
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
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
  • 8. Quadratic Model Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 8
  • 9. Regression Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 9
  • 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
  • 12. Simulation: Three-point Quadratic Model Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 12
  • 13. Simulation: Regression, 5 delay taps Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 13
  • 14. Simulation: Regression, 8 delay taps Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 14
  • 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
  • 16. Simulation: Logical Trend-based Decision, 2 delay taps (three points) Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 16
  • 17. Simulation: Logical Trend-based Decision, 5 delay taps Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 17
  • 18. Simulation: Logical Trend-based Decision, 8 delay taps Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 18
  • 19. Simulation: Kalman Filter, 5 delay taps, Simplified form Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 19
  • 20. Simulation: Kalman Filter, 5 delay taps, Särkää´s form Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 20
  • 21. Simulation: Kalman Filter, 5 delay taps, Joseph´s form Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 21
  • 22. Software Implementation: Time Series Prediction in BCI2000 Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 22
  • 23. Experiment • 11 subjects (2 females, 9 males), with age range 21-30 years old. • 4 LEDs • 8 EEG electrodes • Sampling frequency = 2048 Hz • Segment Length = 2 s There are 3 experiments • Experiment I : 8 subjects • Experiment II : 7 subjects • Experiment III: 3 subjects Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 23
  • 24. Experiment: Protocol Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 24
  • 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
  • 37. Thank You Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 37
  • 38. Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 38
  • 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
  • 42. Kalman Filter: Measurement Model for TSP Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 42
  • 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
  • 44. Kalman Filter: Prediction step Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 44
  • 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
  • 49. Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 49
  • 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
  • 51. Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 51
  • 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
  • 56. Software Implementation: BCI2000, filtering module I Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 56
  • 57. Software Implementation: ClassifierConnect Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 57
  • 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
  • 59. Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 59
  • 60. Experiment: EEG Cap Configuration Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 60
  • 61. Experiment: Subject Information Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 61
  • 62. Experiment: Subject Participation Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 62
  • 63. Improvement of Response Times in SSVEP-BCI Ignatius Sapto Condro Atmawan, 2010 63