Sie sind auf Seite 1von 2

neering applications, such as orthotic and Toolbox (Figure 1) or in Simulink via a electrode position called C3).

If the sub-
prosthetic device control. (See “The Mu- Simulink S-function block. Signal sam- ject imagines a left-hand movement, the
sical Brain Cap” to learn about a musical pling rates can range from 1 Hz up to 38k EEG over the right hemisphere changes
BCI application.) Hz, with digital high-pass and low-pass (at electrode position C4).
filtering, and support for signals ranging Using g.STIMunit, a test subject can
How the g.tec BCI Works
from microvolts up to +/-250 mV. practice changing these specific EEG
The g.tec BCI measures brain activity us-
patterns during a pretest training phase.
ing data captured from specific regions Thought Control:
g.STIMunit shows a horizontal bar on the
of the head. For example, to measure an Moving a Cursor
screen. When the subject imagines a right-
EEG, the researcher attaches small gold, A stimulation unit (g.STIMunit) ex-
hand movement, causing a change in the
silver, or silver chloride electrodes to the tends the g.BCIsys by presenting the
C3 electrode pattern, the g.STIMunit
test subject’s scalp. Researchers then use classifi­cation result to the subject or
By Günter Edlinger
and Christoph Guger, Using MATLAB® and g.BCIsys to amplify the microvolt-level sending control commands to external
software extends the horizontal bar to the
devices (such as orthotics). Using the
Simulink® for Biosignal
g.tec Medical Engineering GmbH brain signals, perform the analog-to-digi-
tal conversion, and transfer the acquired g.STIMunit, a test subject can learn

Acquisition and Processing EEG via a USB 2.0 interface to a PC or


notebook for analysis. g.BCIsys includes
to use the g.BCIsys BCI to move a
cursor (represented by a horizontal
modules, running in Simulink, that recog- bar) on a computer display by imag-
nize and classify specific EEG patterns in ining hand or foot movements. This

The Brain-Computer Interface


Beethoven was only 27 when he began are investigating and realizing new nonin- components, implementation of signal real time or high-speed mode to convert approach is based on the fact that im-
Figure 2. BCI design.

vasive methods to monitor and even con- processing algorithms for online biosig- the raw EEG data into control signals. agery of the movement of different limbs right side of the screen. When the subject
to lose his hearing. While music histori-
trol human physical functions. nal analysis and signal conditioning for a To more easily implement different signal causes changes in oscillatory EEG activ- imagines a left-hand movement, causing
ans assert that his deafness made him an
g.tec Medical Engineering GmbH, an range of biomedical signals, and fast, ac- processing procedures and control strate- ity over sensorimotor areas of the cere- a change in the C4 electrode pattern, then
even greater composer by isolating him
Austrian company, has developed a real- curate data acquisition. Online biosignal gies for BCI implementations, the biosignal bral cortex. These signal changes can be the horizontal bar is extended to the left
and driving his creativity, this profound
time biosignal processing platform and analysis enables researchers to compute, data acquired by g.USBamp is accessible classified by weighting spectral param- side of the screen.
sensory loss brought a naturally sociable
several devices that support noninvasive present, and store signal parameters dur- in MATLAB using the Data Acquisition eters of different frequency bands for While the subject learns how to change
musician to the brink of despair.
and minimally invasive monitoring of eye ing recording with minimal time delay. different electrode positions. the EEG signal through mental imagery,
What if Beethoven had been able to com-
movements and brain, heart, and muscle g.BCIsys includes g.USBamp, a DSP-based To control a cursor, the EEG is measured the BCI must also be “trained” to recog-
municate directly with an electronic piano
activity. These futuristic tools are built on biosignal acquisition system with 24-bit on the surface of the scalp via electrodes nize the relevant changes in the electrode
that could interpret his brain signals and
a foundation that combines the multi- resolution that provides signal-condition- overlaying the central brain regions. If signals. The diagram in Figure 2 shows the
record his compositions?
purpose data processing functionality of ing functionality to amplify, filter, and con- the test subject imagines a right-hand BCI implementation for this experiment.
A brain-computer interface (BCI) provides
an alternative communication channel MATLAB and the real-time system devel- vert electrode outputs into digital values. movement, there is a change in the EEG
Signal Processing and Rapid
opment capabilities of Simulink. Its user-selectable, multichannel modules over the left hemisphere (measured at an
between the human brain and a computer Prototyping
by using pattern recognition methods to allow the simultaneous recording of elec- To train the BCI, researchers must extract
Real-Time Brain Signal
convert brain waves into control signals. troencephalogram (EEG), electromyo- features from the EEG signals by estimat-
Classification
BCI researchers hope to improve quality graph (EMG), electrooculogram (EOG), ing the power distribution of the EEG in
A BCI must be flexible to adapt to spe-
of life for people who are paralyzed or sen- and electrocardiogram (ECG) data. Add- predefined frequency bands. The g.BCIsys
cific patient needs and also execute in
sory-impaired. Using improved measure- on g.BCIsys modules perform real-time Figure 1. (Left) Data Acquisition
BCI implements two band-power estima-
real time. The g.tec BCI, called g.BCIsys, Toolbox syntax used to commu-
ment devices, computer power, and soft- analysis in conjunction with data acquisi- nicate with amplifier in MATLAB. tion methods:
based on the rapid prototyping capabili-
ware, multidisciplinary research teams tion. The BCI control signals can then be (Right) Softscope application used • The Simulink BandPower block es-
ties of MATLAB and Simulink, supports to analyze live amplifier data.
in medicine, psychophysiology, medical used for psychological and physiological timates the power in two frequency
rapid iteration and adaptation of software
engineering, and information technology experiments, and for rehabilitation engi- bands: the alpha band (8–13 Hz) and
the beta band (16–24 Hz).

Reprinted from The MathWorks News & Notes | January 2006 | www.mathworks.com Reprinted from The MathWorks News & Notes | January 2006 | www.mathworks.com
Figure 3. On the
left, the BandPower
feature-extraction block
provides a display of

The Musical Brain Cap


the extracted features
for classification. Below,
two EEG traces record
the left and right brain
A musical composer himself, Professor Eduardo hemispheres along with
Reck Miranda from the University of Plymouth timing information. The
in the UK is developing a brain-computer music other panels display
alpha and beta fre-
interface (BCMI) that composes and performs
quency band analysis.
musical pieces on an automated piano using
information extracted from specific altered
brain signals.
The “musical brain cap” uses the g.tec BCI to
extract EEG features from test subjects. Band
power from different frequency bands controls a
generative system that composes music on the fly
based on rules of musical grammar. The Simulink
Hjorth block extracts EEG signal complexity and
uses it to control the tempo of the musical piece
(the more complex the signal, the faster the mu-
sic). See Figure A. • The Simulink AAR Parameters block esti- stringent medical requirements, and the flex-
The generative system composes sequences com- mates model parameters of an adaptive au- ible, customizable development platform
prising short sections of music, generated using
toregressive model based on the recursive makes it useful for many research and devel-
one of four grammatical rules selected based on
the subject’s mental activity. For example, if the least-square method. opment applications. 7
subject is in a state of deep relaxation, rule 1 is In this example, the Simulink
selected; if the subject is in relaxed wakefulness, BandPower block performs
rule 2 is selected; and so on (Figure B). online signal analysis to clas-
The musical generative system output is then con-
sify the EEG data in two distinct
nected via a MIDI interface to a mechanical piano
that plays the composed musical piece.
classes: RIGHT and LEFT. The
BCI practice software then uses
this classification to extend the
horizontal bar (Figure 3). The
direction in which the bar moves
indicates the signal classification
“RIGHT” or “LEFT”. The length
of the bar indicates the reliability
of the classification.

BCI Accuracy
The BCI was field-tested on
300 subjects ranging in age from Figure 4. A human thought causes the horizontal cursor bar to
move to the left. The EEG traces and a trigger channel are dis-
Figure A. Simulink model displaying a raw 15 to 65 years. The subjects trained played at top right, with the BCI model running the feedback
EEG signal and Hjorth parameters estimating
the computer and then tried to paradigm in the lower right corner.
signal activity, mobility, and complexity.
control the cursor bar on the com-
puter screen (Figure 4). Each subject repeat-
ed the movement imageries 40 times before Resources
the error rate was computed. Nearly 93% of
subjects controlled the BCI with about 60% 4Data Acquisition Toolbox www.mathworks.com/res/daq
accuracy, while 7% of subjects operated the 4Simulink www.mathworks.com/res/simulink
BCI with more than 90% accuracy. 4Webinar: Biomedical Signal Processing with MATLAB
Laboratory and hospital research scientists www.mathworks.com/res/biomedwebinar

worldwide use the g.tec biosignal process- 4Book: Biosignal and Biomedical Image Processing
Figure B. Selection of musical grammatical rules www.mathworks.com/res/book6522
based on the band power distribution in different ing platform for biosignal acquisition and
frequency bands. processing. The software and hardware meet 4g.tec Medical Engineering GmbH www.gtec.at

©1994-2006 by The MathWorks, Inc. MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, and xPC TargetBox are registered trademarks of The MathWorks, Inc.
Other product or brand names are trademarks or registered trademarks of their respective holders.

Das könnte Ihnen auch gefallen