Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
A WEARABLE SYSTEM FOR REAL-TIME DETECTION OF EPILEPTIC SEIZURES
Document Type and Number:
WIPO Patent Application WO/2019/162850
Kind Code:
A1
Abstract:
A wearable system for epileptic seizure detection, comprising an eyeglasses frame, with a left arm and a right arm configured to rest over the ears of an intended person wearing the eyeglasses, a first pair of electrodes located in the left arm, and a second pair of electrodes located in the right arm, the first pair of electrodes and the second pair of electrodes arranged such to be in contact with the skull of the intended person wearing the eyeglasses, and an EEG signal acquiring system integral to the left and right arms, connected to measuring outputs of the respective first pair and second pair of electrodes.

Inventors:
AMINIFAR AMIR (CH)
SOPIC DIONISIJE (CH)
ATIENZA ALONSO DAVID (CH)
ZANETTI RENATO (CH)
Application Number:
PCT/IB2019/051377
Publication Date:
August 29, 2019
Filing Date:
February 20, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ECOLE POLYTECHNIQUE FED LAUSANNE EPFL (CH)
International Classes:
A61B5/0478; A61B5/00
Foreign References:
US20170188947A12017-07-06
US20170258410A12017-09-14
KR20150061766A2015-06-05
Other References:
CHRISTOPHER GRAYSON: "Giganti.Co Waveguides + Eye-Tracking + EEG", 24 October 2016 (2016-10-24), XP055591771, Retrieved from the Internet [retrieved on 20190524]
BOSE SUVADEEP ET AL: "EEG signal analysis for Seizure detection using Discrete Wavelet Transform and Random Forest", 2017 INTERNATIONAL CONFERENCE ON COMPUTER AND APPLICATIONS (ICCA), IEEE, 6 September 2017 (2017-09-06), pages 369 - 378, XP033233925, DOI: 10.1109/COMAPP.2017.8079760
MURSALIN MD ET AL: "Automated epileptic seizure detection using improved correlation-based feature selection with random forest classifier", NEUROCOMPUTING, vol. 241, 23 February 2017 (2017-02-23), pages 204 - 214, XP029946293, ISSN: 0925-2312, DOI: 10.1016/J.NEUCOM.2017.02.053
LINA WANG ET AL: "Automatic Epileptic Seizure Detection in EEG Signals Using Multi-Domain Feature Extraction and Nonlinear Analysis", ENTROPY, vol. 19, no. 6, 27 May 2017 (2017-05-27), pages 222, XP055591843, DOI: 10.3390/e19060222
SOPIC DIONISIJE ET AL: "Real-time classification technique for early detection and prevention of myocardial infarction on wearable devices", 2017 IEEE BIOMEDICAL CIRCUITS AND SYSTEMS CONFERENCE (BIOCAS), IEEE, 19 October 2017 (2017-10-19), pages 1 - 4, XP033340920, DOI: 10.1109/BIOCAS.2017.8325140
M. PATRICIA; O. SHAFER, RN, ABOUT EPILEPSY: THE BASICS — EPILEPSY FOUNDATION, 2014, pages 4 - 5, Retrieved from the Internet
D. HIRTZ; D. J. THURMAN; K. GWINN-HARDY; M. MOHAMED; A. R. CHAUDHUR; R. ZALUTSKY: "How common are the ''common'' neurologic disorders?", NEUROLOGY, vol. 68, no. 5, January 2007 (2007-01-01), pages 326 - 337
P. KWAN; M. J. BRODIE: "Definition of refractory epilepsy: defining the indefinable?", THE LANCET. NEUROLOGY, vol. 9, no. 1, January 2010 (2010-01-01), pages 27 - 9
A. E. A. SZUCS, SUDDEN DEATH AND MORTALITY IN EPILEPSY, vol. 59, no. 9-10, September 2006 (2006-09-01), pages 321 - 8
H. BLUMENFELD: "Impaired consciousness in epilepsy", THE LANCET. NEUROLOGY, vol. 11, no. 9, September 2012 (2012-09-01), pages 814 - 26
P. RYVLIN; T. TOMSON; A. MONTAVONT: "Excess mortality and sudden unexpected death in epilepsy", PRESSE MEDICALE, vol. 38, no. 6, 1983, pages 905 - 10
G. D. CASCINO: "Video-EEG Monitoring in Adults", EPILEPSIA, vol. 43, no. s3, June 2002 (2002-06-01), pages 80 - 93
J. BLOM; M. ANNEVELDT: "An electrode cap tested", ELECTROENCEPHALOGRAPHY AND CLINICAL NEUROPHYSIOLOGY, vol. 54, no. 5, November 1982 (1982-11-01), pages 591 - 594, XP024287908, DOI: doi:10.1016/0013-4694(82)90046-3
H. OCAK: "Automatic detection of epileptic seizures in EEG using discrete wavelet transform and approximate entropy", EXPERT SYSTEMS WITH APPLICATIONS, vol. 36, no. 2, March 2009 (2009-03-01), pages 2027 - 2036, XP025680716, DOI: doi:10.1016/j.eswa.2007.12.065
C. HOPPE; M. FELDMANN; B. BLACHUT; R. SURGES; C. E. ELGER; C. HELMSTAEDTER: "Novel techniques for automated seizure registration: Patients' wants and needs", EPILEPSY & BEHAVIOR, vol. 52, no. A, November 2015 (2015-11-01), pages 1 - 7
F. FURBASS; S. KAMPUSCH; E. KANIUSAS; J. KOREN; S. PIRKER; R. HOPFENGARTNER; H. STEFAN; T. KLUGE; C. BAUMGARTNER: "Automatic'' multimodal detection for long-term seizure documentation in epilepsy", CLINICAL NEUROPHYSIOLOGY, vol. 128, no. 8, August 2017 (2017-08-01), pages 1466 - 1472, XP085123446, DOI: doi:10.1016/j.clinph.2017.05.013
A. L. GOLDBERGER; L. A. AMARAL; L. GLASS; J. M. HAUSDORFF; P. C. IVANOV; R. G. MARK; J. E. MIETUS; G. B. MOODY; C. K. PENG; H. E.: "PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals", CIRCULATION, vol. 101, no. 23, June 2000 (2000-06-01), pages E215 - 20
X. XINNIAN CHEN; I. SOLOMON; K. CHON: "IEEE Engineering in Medicine and Biology 27th Annual Conference", vol. 4, 2005, IEEE, article "Comparison of the Use of Approximate Entropy and Sample Entropy: Applications to Neural Respiratory Signal", pages: 4212 - 4215
C. BANDT; B. POMPE: "Permutation Entropy: A Natural Complexity Measure for Time Series", PHYSICAL REVIEW LETTERS, vol. 88, no. 17, April 2002 (2002-04-01), pages 174102, XP003020550, DOI: doi:10.1103/PhysRevLett.88.174102
U. R. ACHARYA; H. FUJITA; V. K. SUDARSHAN; S. BHAT; J. E. KOH: "Application of entropies for automated diagnosis of epilepsy using EEG signals: A review", KNOWLEDGE-BASED SYSTEMS, vol. 88, 2015, pages 85 - 96
A. SHARMA: "International Conference on Soft Computing Techniques and Implementations (ICSCTI", October 2015, IEEE, article "Epileptic seizure prediction using power analysis in beta band of EEG signals", pages: 117 - 121
M. A. BELL; K. CUEVAS: "Using EEG to Study Cognitive Development: Issues and Practices", JOURNAL OF COGNITION AND DEVELOPMENT: OFFICIAL JOURNAL OF THE COGNITIVE DEVELOPMENT SOCIETY, vol. 13, no. 3, July 2012 (2012-07-01), pages 281 - 294
R. DIAZ-URIARTE; S. A. DE ANDRES: "Gene selection and classification of microarray data using random forest", BMC BIOINFORMATICS, vol. 7, 2006, pages 3, XP055543417, DOI: doi:10.1186/1471-2105-7-3
A. LIAW; M. WIENER: "Classification and regression by randomforest", R NEWS, vol. 2, no. 3, 2002, pages 18 - 22, XP055305332
Y.-P. LIN; C.-H. WANG; T.-P. JUNG; T.-L. WU; S.-K. JENG; J.-R. DUANN; J.-H. CHEN: "Eeg-based emotion recognition in music listening", IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, vol. 57, no. 7, 2010, pages 1798 - 1806, XP011343294, DOI: doi:10.1109/TBME.2010.2048568
"Eeg games top 5 list: Playing with your brainwaves", THE MINDWAVE HEADSET: MAKING EEG GAMES POSSIBLE, 2018, Retrieved from the Internet
K. G. JORDAN: "Emergency eeg and continuous eeg monitoring in acute ischemic stroke", JOURNAL OF CLINICAL NEUROPHYSIOLOGY, vol. 21, no. 5, 2004, pages 341 - 352
J. J. DALY; J. R. WOLPAW: "Brain-computer interfaces in neurological rehabilitation", THE LANCET NEUROLOGY, vol. 7, no. 11, 2008, pages 1032 - 1043, XP025561313, DOI: doi:10.1016/S1474-4422(08)70223-0
L. A. COBEN; W. DANZIGER; M. STORANDT: "A longitudinal eeg study of mild senile dementia of alzheimer type: changes at 1 year and at 2.5 years", ELECTROENCEPHALOGRAPHY AND CLINICAL NEUROPHYSIOLOGY, vol. 61, no. 2, 1985, pages 101 - 112, XP024289552, DOI: doi:10.1016/0013-4694(85)91048-X
J. JEONG: "Eeg dynamics in patients with alzheimer's disease", CLINICAL NEUROPHYSIOLOGY, vol. 115, no. 7, 2004, pages 1490 - 1505, XP055261587, DOI: doi:10.1016/j.clinph.2004.01.001
D. J. DIJK; D. G. M. BEERSMA; G. M. BLOEM: "Sex Differences in the Sleep EEG of Young Adults: Visual Scoring and Spectral Analysis", SLEEP, vol. 12, 1989, pages 500 - 507
R. BOOSTANI; F. KARIMZADEH; M. NAMI, A COMPARATIVE REVIEW ON SLEEP STAGE CLASSIFICATION METHODS IN PATIENTS AND HEALTHY INDIVIDUALS, vol. 140, 2017, pages 77 - 91
S. A. HOSSEINI; M. A. KHALILZADEH, EMOTIONAL STRESS RECOGNITION SYSTEM USING EEG AND PSYCHOPHYSIOLOGICAL SIGNALS: USING NEW LABELLING PROCESS OF EEG SIGNALS IN EMOTIONAL STRESS STATE, 2010, pages 1 - 6
R. BELLOTTI; F. DE CARLO; M. DE TOMMASO; M. LUCENTE, MIGRAINE DETECTION THROUGH SPONTANEOUS EEG ANALYSIS, 2007, pages 1834 - 1837
S. RAMGOPAL ET AL., SEIZURE DETECTION, SEIZURE PREDICTION, AND CLOSED-LOOP WARNING SYSTEMS IN EPILEPSY, vol. 37, 2014, pages 291 - 337
WEBSTER, J.G.; CLARK, J.W.: "Medical Instrumentation: Application and Design", 2008, WILEY
Y. H. CHEN ET AL., SOFT, COMFORTABLE POLYMER DRY ELECTRODES FOR HIGH QUALITY ECG AND EEG RECORDING, vol. 14, 2014, pages 23758 - 23780
F. STAUFFER ET AL., SKIN CONFORMAL POLYMER ELECTRODES FOR CLINICAL ECG AND EEG RECORDINGS, vol. 7, 2018
C. SETZ ET AL., DISCRIMINATING STRESS FROM COGNITIVE LOAD USING A WEARABLE EDA DEVICE, vol. 14, 2010, pages 410 - 417
K. KIM; S. BANG; S. KIM, EMOTION RECOGNITION SYSTEM USING SHORT-TERM MONITORING OF PHYSIOLOGICAL SYSTEMS, vol. 42, 2004, pages 419 - 427
R. O'DWYER ET AL., LATERALIZING SIGNIFICANCE OF QUANTITATIVE ANALYSIS OF HEAD MOVEMENTS BEFORE SECONDARY GENERALIZATION OF SEIZURES OF PATIENTS WITH TEMPORAL LOBE EPILEPSY, vol. 48, 2007, pages 524 - 530
L. BAREKET ET AL., TEMPORARY-TATTOO FOR LONG-TERM HIGH FIDELITY BIOPOTENTIAL RECORDINGS, vol. 6, 2016
J. DUUN-HENRIKSEN ET AL., EEG SIGNAL QUALITY OF A SUBCUTANEOUS RECORDING SYSTEM COMPARED TO STANDARD SURFACE ELECTRODES, vol. 2015, 2015, pages 1 - 9
SOPIC; DIONISIJE; AMIN AMINIFAR; AMIR AMINIFAR; DAVID ATIENZA: "Real-Time Event-Driven Classification Technique for Early Detection and Prevention of Myocardial Infarction on Wearable Systems", IEEE TRANSACTIONS ON BIOMEDICAL CIRCUITS AND SYSTEMS, vol. 99, 2018, pages 1 - 11
Attorney, Agent or Firm:
WEIHS, Bruno (CH)
Download PDF:
Claims:
Claims

1. A wearable system for epileptic seizure detection, comprising an eyeglasses frame, with a left arm and a right arm configured to rest over the ears of an intended person wearing the eyeglasses,

a first pair of electrodes located in the left arm, and a second pair of electrodes located in the right arm, the first pair of electrodes and the second pair of electrodes arranged such to be in contact with the skull of the intended person wearing the eyeglasses, and

an EEG signal acquiring system integral to the left and right arms, connected to measuring outputs of the respective first pair and second pair of electrodes.

2. The wearable system of claim 1, wherein the acquiring system comprises sampling means to acquire signals at the measuring outputs, at least one

sampling frequency in a determined range,

a processor unit;

a power source;

a memory unit;

a plurality of analog units; and

a wireless communication emitter configured to emit a signal to a wireless communication receiver;

whereby the processor unit is programmed with a code to execute a feature extraction from the acquired signals; and a classification of the output from the feature extraction, based on Random Forest.

3. The wearable system of claim 2, wherein the feature extraction comprises

a preprocessing step of discrete wavelet transform on the acquired signals; a first calculation of nonlinear features from the preprocessed acquired signals for different values of input parameters;

a second calculation of power features on the acquired signals.

4. A real-time hierarchical event-driven classifier configured to extend a battery lifetime of the system of any one of claims 1 to 3, comprising

a simple classifier and a full classifier, whereby

the simple classifier considers only a determined number (K1 ) of available features and is computationally efficient; and the full classifier considers an entire set of the available features and is accurate, but computationally complex;

whereby the full classifier is only invoked if the simple classifier cannot provide confident classification results based on a number of agreeing decision trees, thereby reducing the computational complexity and extending the battery lifetime while maintaining a high classification accuracy.

Description:
A wearable system for real-time detection of Epileptic Seizures

Field of invention

The invention is in the field of non-invasive epilepsy monitoring.

Background

Epilepsy represents one of the major neurological health issues affecting more than 65 million people worldwide [1] It is the fourth most common chronic disorder after migraine, stroke, and Alzheimer’s disease [2], with a higher prevalence in children. Despite substantial progress in the efficacy and tolerance of anti-epileptic drugs, one third of these patients continue to have seizures [3]

Epilepsy is characterized by intermittent seizures caused by disturbances in the electrical activity of the brain [1] These seizures can last from seconds to minutes and can range from an impaired consciousness, automatic movement, up to severe convulsions of the entire body. This contributes to a severe reduction in the quality of life and psychosocial functioning. Therefore, the unpredictable nature of seizures can be life-threatening, with a mortality rate in these patients which is 2-3 times higher than in the general population [4] Impaired consciousness may lead to driving accidents, drowning, as well as to other serious injuries [5] In particular, the most severe seizures, particularly when occurring at night, can result in sudden unexpected death in epilepsy (SETDEP) [6] Epilepsy -related causes of death account for 40 % of mortality in persons with epilepsy. In order to reduce morbidity and mortality due to epilepsy, real-time patient monitoring is essential for alerting family members and caregivers to administer prompt emergency medication and assist a person at the time of a seizure.

In the medical community, the standard procedures commonly used for epileptic patient monitoring are performed based on the video-EEG (v-EEG) [7] v-EEG takes place in hospitals over several days and it involves the acquisition of the audio signal using a microphone, a video recording of a patient using a camera, the brain electrical activity using electroencephalography (EEG), as well as electrocardiography (ECG). Considering the unpredictability of seizures, it is not possible to monitor patients on a long-term basis, due to the highly intrusive nature of these procedures.

With the currently flourishing era of embedded computing, wearable technologies are opening up new opportunities for real-time epileptic seizures monitoring. These new ultra-low-energy portable devices overcome the limitation of medical equipment for real-time and long-term patient monitoring. In particular, the portability of these devices allows real-time remote patient monitoring on a daily basis. Ambulatory real- time patient monitoring allows hospital physicians to access patient information remotely and, hence, prevent further patient state deterioration by early detection of epileptic seizures.

The most popular wearable system for epileptic seizure detection requires the use of EEG head caps with embedded electrodes for measuring brain’s electrical activity [8] The placement of electrodes is based on the international 10-20 system [9], [10] In [11], a new scheme for epileptic seizure detection based on approximate entropy and discrete wavelet transform analysis of 100 EEG channels has been proposed. Furthermore, different approaches that use artificial neural networks for epileptic seizure detection based on EEG signals are reported in the literature. Nevertheless, all these methods use EEG head caps that are cumbersome and uncomfortable as they require from 23 to 256 wired electrodes to be placed on the patient’s scalp. The majority of epileptic patients refuse to wear these caps due to negative effect of social stigma they are facing in their daily lives [12]

In order to alleviate the negative impact of social stigma on patient’s daily life, several studies have been conducted to reduce the number of EEG electrodes needed for epileptic seizure detection. For instance, in [13], the authors use two different montages with reduced number of electrodes for automatic multimodal detection of epileptic seizures: eight electrodes in forehead montage, and seven electrodes in posterior montage. However, the proposed solution is still intrusive and, hence, the problem of social stigma persists.

It is an aim of the present invention to address problems known from prior art, and offer a less intrusive solution for real-time epileptic seizure detection.

Summary of invention

In a first aspect, the invention provides a wearable system for epileptic seizure detection, comprising an eyeglasses frame, with a left arm and a right arm configured to rest over the ears of an intended person wearing the eyeglasses, a first pair of electrodes located in the left arm, and a second pair of electrodes located in the right arm, the first pair of electrodes and the second pair of electrodes arranged such to be in contact with the skull of the intended person wearing the eyeglasses, and an EEG signal acquiring system integral to the left and right arms, connected to measuring outputs of the respective first pair and second pair of electrodes

In a preferred embodiment, the acquiring system comprises sampling means to acquire signals at the measuring outputs, at least one sampling frequency in a determined range, a processor unit; a power source; a memory unit; a plurality of analog units; and a wireless communication emitter configured to emit a signal to a wireless communication receiver. The processor unit is programmed with a code to execute a feature extraction from the acquired signals; and a classification of the output from the feature extraction, based on Random Forest.

In a further preferred embodiment, the feature extraction comprises a

preprocessing step of discrete wavelet transform on the acquired signals; a first calculation of nonlinear features from the preprocessed acquired signals for different values of input parameters; a second calculation of power features on the acquired signals.

In a second aspect, the invention provides a real-time hierarchical event-driven classifier configured to extend a battery lifetime of the wearable system. The classifier comprises a simple classifier and a full classifier, whereby the simple classifier considers only a determined number {K ) of available features and is computationally efficient; and the full classifier considers an entire set of available features and is accurate, but computationally complex; whereby the full classifier is only invoked if the simple classifier cannot provide confident classification results based on a number of agreeing decision trees, thereby reducing the computational complexity and extending the battery lifetime whilemaintaining a high classification accuracy.

Brief description of the figures

The invention will be understood through the detailed description of preferred embodiments and in reference to the figures, wherein figure 1 shows an e-Glass wearable system for epileptic seizure detection according to an example embodiment of the invention;

figure 2 shows a further example embodiment of the e-Glass wearable system according to the invention;

figure 3 contains a graph showing geometric mean (gmean) of sensitivity and specificity for personalized versus generic approach using four electrodes;

figure 4 contains a graph showing geometric mean (gmean) of sensitivity and specificity for personalized approach all electrodes versus four selected electrodes; and

figure 5 shows an e-Glass wearable system according to a further example embodiment of the invention.

figure 6 shows the overall flow of our real-time hierarchical event-driven classification technique. Detailed description of preferred embodiments

I. Introduction

The present invention provides a device that the inventors have named e-Glass , and generally comprises a wearable ultra-low energy system that uses four EEG electrodes embedded and hidden in the temples of glasses for real-time epileptic seizure detection in children. However the real-time epileptic seizure detection device may also be adapted for use with adults. More precisely, the present invention provides

1. a real-time personalized high-accuracy wearable system for epileptic seizure detection in children;

2. validation on CHB-MIT database (Physionet.org [14]); and

3. an evaluation of energy consumption and battery lifetime of the e-Glass

system.

The remainder of the present description is organized as follows.

In Section II, we propose the real-time system for epileptic seizure detection in children with a limited number of electrodes, according to a preferred embodiment of the invention.

An experimental setup along with the evaluation of energy efficiency and performance of the system are presented in Section III.

In Section IV, we conclude that the proposed system monitors epileptic seizures in children with high classification performance and limited number of EEG electrodes on a long basis.

II. Real-time methodology for epileptic seizure detection

In this section, we provide a detailed description of a preferred embodiment of the e-Glass product, the real-time wearable system for epileptic seizure detection in children. The overall flow of the proposed methodology is shown in Fig. 1 and it consists of three main phases: pre-processing (Section II-A), feature extraction (Section II-B), and classification (Section II-C). Each of these steps is thoroughly explained in the following subsections.

Fig. 1 at the lower left illustrates a generic head of a person seen in a view from above in (a) and in a side view in (b). On each of the left (a) and right (b) side of the head, 2 electrodes are positioned, i.e., electrodes T3 and F7 on the left side and T4 and F8 on the right side of the head. EEG signals are measured from the electrodes and output to a signal processing system, referenced as e-Glass signal processing in Fig.

1. The signal processing system performs for example 3 processing steps, which are described in more detail herein below, to finally output a Seizure Labeling as illustrated by the box in the lower right of Fig. 1.

A. Pre-processing

The pre-processing step is optional, and represented by box 2 labeled filtering in Fig. 1.

EEG signals are often contaminated with different noise sources. The most common ones include the power line interference (50 or 60 Hz), the electrooculogram (EOG), and the electromyogram (EMG)— all 3 not represented in Fig. 1. Hence, we may first filter the EEG signals to remove the aforementioned artifacts.

B. Feature Extraction

The feature extraction step is illustrated by the central positioned box in Fig. 1 and receives at its input either the output from the optional pre-processing— this is as shown in Fig. 1— or directly from the electrodes positioned on the head.

Considering the complex, non-stationary, and nonlinear nature of EEG we extract various entropy measures to capture the nonlinear behavior of EEG signals, as well as several power features.

1) Nonlinear Features Extraction: when using entropy measures for epileptic seizure detection, it has been shown that applying a discrete wavelet transform (DWT) as a preprocessing step improves the detection rate for more than 20% [11] Therefore, we decompose EEG signals down to level seven using a DWT. In particular, we use Daubechies 4 (db4) wavelet basis function (not shown in Fig. 1). The sample entropy values are calculated from the detail wavelet coefficients obtained at level 6 and 7— It is related to the DWT. Basically, the level refers to the number of times we filtered our signals. Further information may be found at the following link:

https://www.mathworks.com/help/wavelet/ref/detcoef.html D = detcoef(C,L,N) extracts the detail coefficients at level N from the wavelet decomposition structure [C,L]”— whereas the rest of the nonlinear features are calculated from detail wavelet coefficients at levels 3, 4, 5, 6, and 7 for different values of input parameters. We use the sample entropy [15], the permutation entropy [16], the renyi entropy [17], the shannon entropy [17], as well as the tsallis entropy [17] In case of sample entropy these parameters are the dimension of sample entropy (we use dimension = 2), as well as the tolerance (we use r * standard deviation of a signal), where r= (0.2, 0.35}.

In case of permutation entropy the parameters are again the dimension of permutation entropy (we use different dimensions dimension = (3, 5, 7}) as well as the time lag (we use the time lag = 1)).

In case of shannon, renyi and tsallis entropy we use q = 2 (this parameter is called entropic-index).

2) Power features : epileptic seizures affect the distribution of EEG signal power in different frequency bands [18], [19] The most commonly reported features extracted from EEG signals in the literature [20] rely on the averaged spectral power of EEG signals in various frequency bands of the EEG, namely delta [0.5,4] Hz, theta [4,8] Hz, alpha [8,12] Hz, beta [13,30] Hz, gamma [30,45] Hz. We calculate the total EEG signal power along with the relative average powers of the EEG signal in the aforementioned frequency bands, as well as relative EEG powers in the following bands: [0,0.1] Hz, [0.1, 0.5] Hz, [12,13] Hz. We use a modified periodogram to determine the average signal power in a specific band. These power features are extracted from raw EEG signals (not shown in Fig. 1).

C. Classification Based on Random Forest

The classification part is illustrated in the upper right box labelled random forest of Fig. 1.

Random forest generates an ensemble of decision trees that are combined to produce an aggregate mode, which is more powerful than any of its individual decision trees alone [21] However, one of the main disadvantages of using a single decision tree for classification purposes is its overfitting tendency. Nonetheless, combining different decision trees into an ensemble solves the problem of overfitting.

Each of the classification trees is constructed using a bootstrap sample of data (not shown in Fig. 1). In particular, if our training set has M rows in the feature matrix, a bootstrap sample of data of size M is constructed by randomly picking one of the M rows of the dataset with replacement; hence, allowing the same row to be selected multiple times. This process is repeated M times resulting in a bootstrap sample of size M. This sample has the same number of rows as the training set, with possibly some rows from the training dataset missing while others occurring multiple times, just due to the nature of the random selection with replacement.

For each of the bootstrap samples, we grow an unprunted tree (fully grown) [22]

At each node, we randomly select a subset of features and we choose the best split within this smaller subset.

To classify a new sample, each decision tree gives a classification decision. The forest chooses the classification decision that has the most votes among the other trees in the forest. Using bootstrap aggregation, as well as random feature selection for growing each tree individually, results in a low-variance model and a robust outcome, as shown in our experiments in Section III. The highest classification accuracy of our system is obtained by random forest. However, our system is not classifier-dependent, hence, any other state-of-the-art classification algorithm can be used as well.

D. Event-Driven Classification Technique

In an event-driven classification scheme, very often confident classification decisions can be made based on a subset of available features [43] Therefore, we use a hierarchical event-driven classification technique that incorporates two random forest classifiers, as shown in Fig. 6. Namely, the simple classifier considers only features and is computationally efficient, but it cannot reach a high classification accuracy. On the other hand, the full classifier uses the entire set of available features and is very accurate, but computationally complex. Thus, we combine the benefits of these two classifiers, i.e., the low computational complexity of the simple classifier and the high classification accuracy of the full one. Our hierarchical event-driven classification technique maintains a high classification accuracy, while reducing the algorithm’s computational complexity which, in turn, results in a longer battery lifetime of the e- Glass system.

In the training phase, we first extract the features from the input signals. Then, we sort these features according to their relevance. We assume that N is the total available number of features. The sample classifier considers only the first K 1 features, whereas the full classifier considers these K 1 features along with the other N— K 1 available features. We train both the sample and full classifier using the random forest algorithm. Both of these classifiers use the same number of trees within their respective forests.

Classification selection is done in the following way. First, we calculate the parameter t h , which represents a percentage of mutually agreed trees. We define the confidence level of the sample classifier by comparing the value of the parameter t h to the value of the decision-making threshold set in the design phase t M , in order to decide which classifier is invoked. In the testing phase, we first calculate the features from the simple classifier. We inspect the classification decision of each tree within the forest of the simple classifier and we calculate the parameter t h. If the value of the parameter t h is above the decision-making threshold t h i.e., if the simple classifier can make a confident decision based on its features, we take its classification decision as the final one. On the other hand, if no confident decision can be made using the simple classifier, we keep its K 1 features, and we calculate the rest of the N— K 1 available features. In this case, the final decision is that of the full classifier.

III. Experimental setup and results

In this section, we demonstrate the performance of our technique using the Physionet.org CHB-MIT Scalp EEG database. This database is described in

Subsection III-A. Then, the target computing system of the e-Glass wearable platform on which we port our classification technique is explained in Subsection III-B. Next, the performance of our real-time detection algorithm is shown in Subsection III-C, and the energy consumption estimation is presented in Subsection III-D.

A. CHB-MIT Database

The used database contains EEG signals from children with refractory seizures.

All recordings are collected from children (5 males, ages 3-22; and 17 females, ages 1.5-19). EEG signals are sampled at fs = 256Hz. The full database contains 24 subjects, with 198 seizures. In order to be able to evaluate the performance of the system according to the invention and the impact of the reduced number of electrodes, we consider multiple traces from 10 patients that are fully compliant with the standard acquisition protocol.

B. Target Platform

First preferred embodiment

A first preferred embodiment of the inventive e-Glass wearable system is shown in Fig. 2. The system comprises an eyeglasses frame 200, with a left arm 201 and a right arm 202 configured to rest over the ears of an intended person wearing the eyeglasses (not shown in Fig. 2). The system acquires EEG signals from two electrode pairs:

F7T3, and F 8 T 4 , shown in Fig. 1. The sampling frequency of acquired EEG signals ranges from 250 Hz up to 16 KHz with up to 24-bit resolution. Our device features an ultra-low power 32-bit microcontroller STM32L476 [23] with an ARM R Cortex R - M4 (labeled CPC/ in Fig. 2), which may operate at a maximum frequency of 80 MHz. e-Glass contains a 150 mAh battery (labeled Battery in Fig. 2), as well as 128 KB RAM, 512 KB Flash, and a 4-channel, low noise, 24-bit simultaneous-sampling Delta- Sigma ADC (not shown in Fig. 2). At the time of a seizure, a warning from e-Glass is sent to the caregivers (not shown in Fig. 2) through the communication with a mobile phone represented at the lower right of Fig. 2.

Second preferred embodiment

A second preferred embodiment of the e-Glass system is shown in Fig. 5. This embodiment comprises in addition an accelerometer sensor ACC, a temperature sensor“Temperature” and an electrodermal activity (EDA) sensor EDA. Each of the sensors in mounted in one of the left arm 201 or right arm 202. The manner in which they are mounted in Fig. 5 is to be considered as a possible example only.

Electrodes

One important criterion for the selection of EEG electrodes, e.g., electrodes F 7 , F 8 , T 3 , and T 4 , is the skin-electrode impedance. A low impedance contributes to the signal quality obtained during the acquisition in case of noise and motion artifact. Our system can use the following types of electrodes:

• Gel electrodes - Conventional Ag/AgCl electrodes are used as the golden standard for the EEG signal acquisition. Namely, the top layer of the skin has a very high impedance [35] The gel hydrates the top layer of the skin which lowers the skin-electrode impedance. During movement, the gel maintains the contact with the skin, reducing motion artifact. However, prior to using these electrodes, the skin preparation is recommended to improve the quality of EEG signals. This preparation is time-consuming and it requires an expert to position the electrodes on the scalp. Furthermore, the skin irritation is often reported during long-term measurements.

• Dry electrode - Dry electrodes have larger skin-electrode impedance than the gel ones. We consider the following two types of these electrodes: o Hard dry electrodes - These electrodes are easier to be positioned on the scalp, as they do not involve the use of gel. In order to improve the signal- to-noise ratio (SNR), these electrodes are commonly used as active electrodes, which results in necessity of an extra hardware for signal amplification. In addition, some dry electrodes use microscale needles to reduce the skin-electrode impedance. However, this might cause skin irritation and infections [36]

o Soft dry electrodes - Soft dry electrodes are based on soft polymers designed to provide better electrode-skin contact in comparison with the hard dry ones. Due to the absence of gel, these electrodes require similar patient preparation time as hard dry ones. Additionally, soft dry electrodes improve the signal quality and reduce skin irritation during long-term measurements [37]

o Printed EEG electronic-tattoos - These dry electrodes are realized using screen-printing of carbon ink on a soft support. The direct contact of these electrodes with the skin results in high-quality signals along with high user comfort. Additionally, these electrodes use plasma polymerized 3,4- ethylenedioxythiophene to further improve the skin-electrode impedance

[41]·

• Subcutaneous EEG electrodes - Subcutaneous signal acquisition results in higher quality signals in comparison with the one that uses surface electrodes, which in turns, reduces electric-noise and device-related artifacts. In case of long-term recordings, the signals quality does not change over time [42]

C. Performance Evaluation of Our Real-time Detection Algorithm

1) Classification Performance Metric and Cross-Validation: We use the geometric mean of sensitivity and specificity (gmean) for inspecting the classifier’s performance. These metrics are defined as follows:

ffft fMii — g' sens! · vivi ty · specificity,

where tp, tn,fp,fn represent the number of true positive, true negative, false positive, and false negative, respectively. We use gmean as it considers both sensitivity and specificity.

A sliding window of five seconds with a 80% overlap is used for extracting the features mentioned in Subsection II-B. Namely, we extract these features for both, seizure and seizure-free signal parts. In order to have balanced classes, the same number of seizure and seizure-free windows is used for each patient.

We split the data for each patient into training and test set. The training set contains 70% of randomly data, whereas the remaining 30% percent of data is used in the test set. This split is performed as follows. First we find the number of seizures for each patient. As we want to make sure that the test set contains at least one seizure, 30% of seizure data is put in the test set, whereas 70% goes to the training set. For instance, let us assume that patient A had 6 seizures. Then, feature windows that correspond to two seizures are put in the testing set, whereas the remaining four seizure windows are put in the training test. We use all possible combinations of six seizures to select two at a time for test set. For each split of seizure data, we perform the same approach for obtaining the training and test set for seizure-free data parts. The final results are averaged for each subject in our personalized approach. 2) Personalized Versus Generic: In this section, we investigate the difference in terms of classification performance between the personalized and generic approaches. Namely, the generic approach uses leave-one-out cross-validation scheme. Out of ten subjects, a single subject is retained for testing the model, and the remaining nine are used as training data. The personalized approach performs the classification based on the features extracted from different trials of one subject. Hence, this classification is done per subject. While splitting the data into training and test set, as explained in Subsection III-C, each trial is included into either the training set or the test set.

Fig. 3 shows the averaged gmean across all subjects (vertical axis) for four electrodes used: F7T3, and F 8 T 4 in Fig. 1. The mean value across all subjects for the generic approach is 81.1%, whereas this value reaches 94.3% for the case of our personalized approach. In the best case, for patient 6 our approach improves the detection rate for 27%, as shown in Fig. 3. As we can infer from this figure, the personalized classification approach can adapt to significant inter-patient variations in EEG patterns. Thus, it achieves a higher classification accuracy.

3) All EEG Electrodes Versus Reduced Set of Electrodes: In this section we compare the classification accuracy in case of the personalized approach for a different number of used electrodes. Fig. 4 shows gmean obtained for all available electrodes, as well as for the subset of four selected electrodes: F7T3, and F 8 T 4. The average gmean value across all subjects is 97% and 94% for all electrodes and for the subset of electrodes, respectively. As it can be observed from Fig. 4, using only a few electrodes it is possible to ensure a high degree of wearability without any major loss in classification performance.

4) Full Classifier Versus Hierarchical Event-Driven Classification Technique: We fix the number of features in the simple classifier to = 18, whereas the full classifier considers a total number of N = 108 features. By running the full classifier on the STM32L476 [23], we obtain that the execution time for processing a 4-second EEG window is equal to tf uU = 447.6 msecs , with the performance G mean = 94.4% On the other hand, the time it takes for our hierarchical event-driven classification technique to process this window is t hierarchicai = 99.9 msecs , with G mean =

94.5%. Therefore, our hierarchical classifier reduces the computational complexity by a factor of 4.48, while maintaining the same classification performance.

D. Energy Consumption Our proposed e-Glass system includes a 150 mAh battery. Assuming that the EEG acquisition circuit is active all the time, we run our proposed real-time hierarchical event-driven classification technique every second detecting epileptic seizures from a four-second EEG window. The processing of a four-second window takes

99.9 msecs , resulting in 32.93 hours of operation on a single battery charge. Thus, it allows for 1.37 days of continuous operation.

All values for the preferred embodiment e-Glass are given as example only and may be varied according to required dimensioning, and as known by a person skilled in the art without departing from the invention.

Applications

The wearable system e-Glass may be used for different applications:

• Emotional state assessment [24] - ETsing EEG signals to assess different music- induced emotional states (joy, anger, sadness, and pleasure) according to subject self-reported emotional states. Furthermore, EEG signals can be used in stress detection [32] Moreover, monitoring of EDA offers the possibility to distinguish stress from cognitive load in an office environment [38] Additionally, the variation in skin temperature is also used as another effective indicator of emotional status [39]

• Playing different video games using mind control [25] - ETsers can control the game using their mind. This is done by translating users’ EEG signals into commands that can be read by the game controller.

• Epileptic seizure detection [34] - Epileptic seizures are reflected onto different changes in the EEG signal morphology. The occurrence of seizures can be detected by analyzing different features extracted from EEG signals. These features are mostly based on the power spectrum and signal complexity. Seizures usually involve head movements [40] that can be detected using ACC.

• Patient monitoring in acute ischemic stroke (AIS) [26] - Due to a high correlation between EEG recordings and cerebral blood flow level, monitoring EEG signals can be used as a tool for the AIS severity monitoring.

• Rehabilitation of patients with severe motor disabilities [27] - Different brain- computer interfaces allow patients with motion and speech disabilities to talk with their family members and caretakers.

• Monitoring of patients suffering from Alzheimer’s disease (AD) [5-6] - EEG signals are used for monitoring the evolution of AD over time. Namely, by examining the EEG signals of these patients it can be noticed that the complexity of EEG patterns is remarkably reduced. Furthermore, a power shift towards lower frequencies can also be used as a severity marker of this disease. • Sleep stage analysis [7-8] -The EEG signal analysis could provide an insight into patient sleep disorders. Furthermore, this analysis can also differentiate between Non-REM and REM sleep cycles.

• Migraine monitoring [33] - Migraine is a neurovascular disorder that causes headaches, and it is usually accompanied by nausea, vomiting, and sensitivity to light and sound. Real-time monitoring of patients’ EEG signals can be beneficial for alerting family members and caregivers to assist a person at the time of headache.

IV. Conclusions

The e-Glass, is a preferred embodiment according to the invention of a new wearable device for real-time epileptic seizure detection in children. The experimental evaluation demonstrates that the personalized approach provided by the use of e-Glass outperforms the generic approach in terms of classification accuracy. Furthermore, it also ensures the high degree of wearability without any major loss in terms of classification performance. This reduced set of electrodes overcomes the lack of portability of hospital equipment, as well as it reduces the computational complexity, which further leads to a reduction in energy consumption. Thus, e-Glass may provide an early warning of epileptic seizures and promptly inform patient family members of preventive measures to avoid epilepsy -related death or possible accidents during seizures. Overall, e-Glass may significantly contribute to improvements in quality of life, as well as reducing socioeconomic burden of epilepsy.

References

[1] M. Patricia O. Shafer, RN,“About Epilepsy: The Basics— Epilepsy

Foundation,” pp. 4-5, 2014. [Online] Available:

https://www.epilepsy.com/learn/about-epilepsy-basics

[2] D. Hirtz, D. J. Thurman, K. Gwinn-Hardy, M. Mohamed, A. R. Chaudhuri, and R. Zalutsky,“How common are the’’common” neurologic disorders?”

Neurology, vol. 68, no. 5, pp. 326-337, jan 2007.

[3] P. Kwan and M. J. Brodie,“Definition of refractory epilepsy: defining the indefinable?” The Lancet. Neurology, vol. 9, no. 1, pp. 27-9, jan 2010.

[4] A. e. a. Szucs,“Sudden death and mortality in epilepsy.” vol. 59, no. 9-10, pp.

321-8, sep 2006.

[5] H. Blumenfeld,“Impaired consciousness in epilepsy.” The Lancet. Neurology, vol. 11, no. 9, pp. 814-26, sep 2012.

[6] P. Ryvlin, T. Tomson, and A. Montavont,“[Excess mortality and sudden

unexpected death in epilepsy].” Presse medicale (Paris, France : 1983), vol. 38, no. 6, pp. 905-10, jun 2009.

[7] G. D. Cascino,“Video-EEG Monitoring in Adults,” Epilepsia, vol. 43, no. s3, pp. 80-93, jun 2002.

[8] J. Blom and M. Anneveldt,“An electrode cap tested,” Electroencephalography and Clinical Neurophysiology, vol. 54, no. 5, pp. 591- 594, nov 1982.

[9] “10-20 system (EEG) - an overview— ScienceDirect Topics.”

[10] “10/20 System Electrode Distances— DIY tDCS.” [Online] Available:

https://www.diytdcs.com/20l2/07/l020-system-electrode-distan ces/

[11] H. Ocak,“Automatic detection of epileptic seizures in EEG using discrete wavelet transform and approximate entropy,” Expert Systems with

Applications, vol. 36, no. 2, pp. 2027-2036, mar 2009.

[12] C. Hoppe, M. Feldmann, B. Blachut, R. Surges, C. E. Elger, and C.

Helmstaedter,“Novel techniques for automated seizure registration: Patients’ wants and needs,” Epilepsy & Behavior, vol. 52, no. Pt A, pp. 1-7, nov 2015.

[13] F. Furbass, S. Kampusch, E. Kaniusas, J. Koren, S. Pirker, R. Hopfengartner, H. Stefan, T. Kluge, and C. Baumgartner,“Automatic multimodal detection for long-term seizure documentation in epilepsy,” Clinical Neurophysiology, vol. 128, no. 8, pp. 1466-1472, aug 2017.

[14] A. L. Goldberger, L. A. Amaral, L. Glass, J. M. Hausdorff, P. C. Ivanov, R. G.

Mark, J. E. Mietus, G. B. Moody, C. K. Peng, and H. E. Stanley,“PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals.” Circulation, vol. 101, no. 23, pp. E215-20, jun 2000

[15] X. Xinnian Chen, I. Solomon, and K. Chon,“Comparison of the ETse of

Approximate Entropy and Sample Entropy: Applications to Neural Respiratory Signal,” in 2005 IEEE Engineering in Medicine and Biology 27th Annual Conference, vol. 4. IEEE, 2005, pp. 4212-4215. [16] C. Bandt and B. Pompe,“Permutation Entropy: A Natural Complexity Measure for Time Series,” Physical Review Letters, vol. 88, no. 17, p. 174102, apr 2002

[17] U. R. Acharya, H. Fujita, V. K. Sudarshan, S. Bhat, and J. E. Koh,

“Application of entropies for automated diagnosis of epilepsy using EEG signals: A review,” Knowledge-Based Systems, vol. 88, pp. 85-96, 2015.

[18] A. Sharma,“Epileptic seizure prediction using power analysis in beta band of EEG signals,” in 2015 International Conference on Soft Computing

Techniques and Implementations (ICSCTI). IEEE, oct 2015, pp. 117-121.

[19] “A closer look at EEG— Epilepsy Society.” [Online] Available:

https://www.epilepsysociety.org.Uk/closer4ook-eeg#.WhE8o7aZP xg

[20] M. A. Bell and K. Cuevas,“Using EEG to Study Cognitive Development:

Issues and Practices.” oumal of cognition and development : official journal of the Cognitive Development Society, vol. 13, no. 3, pp. 281-294, jul 2012.

[21] R. Diaz-Uriarte and S. A. de Andres,“Gene selection and classification of microarray data using random forest,” BMC Bioinformatics, vol. 7, p. 3, 2006.

[22] A. Liaw and M. Wiener,“Classification and regression by randomforest,” R News, vol. 2, no. 3, pp. 18-22, 2002.

[23] “STM32L1 Series - STMicroelectronics.”

[24] Y.-P. Lin, C.-H. Wang, T.-P. ung, T.-L. Wu, S.-K. eng, .-R. Duann, and .-H.

Chen,“Eeg-based emotion recognition in music listening”, IEEE Transactions on Biomedical Engineering, vol. 57, no. 7, pp. 1798-1806, 2010.

[25]“Eeg games top 5 list: Playing with your brainwaves,” The MindWave Headset:

Making EEG Games Possible, 2018. [Online] Available: http :

//neurosky. com/20l5/09/eeg - games - top - 5 - list - playing - with - your - brainwaves/

[26] K. G. Iordan,“Emergency eeg and continuous eeg monitoring in acute ischemic stroke”, loumal of Clinical Neurophysiology, vol. 21, no. 5, pp. 341-352,

2004.

[27] . . Daly and I. R. Wolpaw,“Brain-computer interfaces in neurological

rehabilitation,” The Lancet Neurology, vol. 7, no. 11, pp. 1032-1043, 2008.

[28] L. A. Coben, W. Danziger, and M. Storandt,“A longitudinal eeg study of mild senile dementia of alzheimer type: changes at 1 year and at 2.5 years”, Electroencephalography and clinical neurophysiology, vol. 61, no. 2, pp. 101— 112, 1985.

[29] I. Jeong,“Eeg dynamics in patients with alzheimer’ s disease”, Clinical

neurophysiology, vol. 115, no. 7, pp. 1490-1505, 2004.

[30] D. I. Dijk, D. G. M. Beersma, G. M. Bloem; Sex Differences in the Sleep EEG of

Young Adults: Visual Scoring and Spectral Analysis, Sleep, vol. 12, pp. 500- 507, 1989.

[31] R. Boostani, F. Karimzadeh, M. Nami;“A comparative review on sleep stage classification methods in patients and healthy individuals”, vol. 140, pp. 77-91, 2017.

[32] S. A. Hosseini and M. A. Khalilzadeh, "Emotional Stress Recognition System

Using EEG and Psychophysiological Signals: Using New Labelling Process of EEG Signals in Emotional Stress State", pp. 1-6, 2010.

[33] R. Bellotti, F. De Carlo, M. de Tommaso and M. Lucente, "Migraine detection through spontaneous EEG analysis", pp. 1834-1837, 2007.

[34] S. Ramgopal et al.,“Seizure detection, seizure prediction, and closed-loop

warning systems in epilepsy”, vol. 37, pp. 291-337, 2014.

[35] Webster, J.G.; Clark, J.W. Medical Instrumentation: Application and Design;

Wiley: Noboken, 2008.

[36] Y. H. Chen et al.,“Soft, Comfortable Polymer Dry Electrodes for High Quality

ECG and EEG Recording”, vol. 14, pp. 23758-23780, 2014.

[37] F. Stauffer et al.,“Skin Conformal Polymer Electrodes for Clinical ECG and

EEG Recordings”, vol. 7, 2018.

[38] C. Setz et al.,“Discriminating Stress From Cognitive Load Using a Wearable

EDA Device”, vol. 14, pp. 410-417, 2010.

[39] K. Kim, S. Bang, S. Kim,“Emotion recognition system using short-term

monitoring of physiological systems“, vol. 42, pp. 419-427, 2004.

[40] R. O'Dwyer et al.,“Lateralizing Significance of Quantitative Analysis of Head

Movements before Secondary Generalization of Seizures of Patients with Temporal Lobe Epilepsy”, vol. 48, pp. 524-530, 2007.

[41] L. Bareket et al.,“Temporary-tattoo for long-term high fidelity biopotential recordings”, vol. 6, 2016.

[42] J. Duun-Henriksen et al.,“EEG Signal Quality of a Subcutaneous Recording

System Compared to Standard Surface Electrodes”, vol. 2015, pp. 1-9, 2015.

[43] Sopic, Dionisije, Amin Aminifar, Amir Aminifar, and David Atienza. "Real- Time Event-Driven Classification Technique for Early Detection and

Prevention of Myocardial Infarction on Wearable Systems." IEEE transactions on biomedical circuits and systems 99 (2018): 1-11