Keywords

1 Introduction

Mobile technology has become an essential part in people’s lives. Numerous technological advances have contributed to the development of this technology during the last years, with application in diverse fields. Apart from general-purpose applications such as telephone, mobile and low-cost clinical applications are increasingly becoming more and more frequent. For example, some smartphone-based approaches have been proposed for disease diagnosis [1, 2] and attention detection [3]. All this has led to introduce new technological concepts such as telemedicine [4], eHealth [5] and mHealth [6].

In the context of brain-computer interface (BCI) applications, the development of wireless and low-cost electroencephalography (EEG) acquisition systems, together with the advances in processing and classification algorithms, has favored the release of mobile BCI (mBCI) [7]. The most popular mBCI applications proposed to date are general-purpose, including mBCIs as part of body area networks (WBAN) [8, 9], games [10], sports [11], daily-life [12,13,14,15] and others [16]. However, the usefulness of wireless EEG acquisition systems and mBCIs in clinical practice is still an open question [17].

In this paper we present a low-cost mBCI application for clinical practice (see Fig. 1). In particular, the fully functional system (hardware and software) is able to perform the visual evoked potentials (VEP) test following the standard of the International Society for Clinical Evaluation of Vision (ISCEV) for stimulation and recording [18]. Visual evoked potentials are electrophysiological responses caused by visual stimuli. These responses are present in the EEG and can be recorded by placing one or more electrodes in the occipital area of the brain cortex. They are used in clinical practice to diagnose and monitor a broad list of diseases such as optic chiasm [19], Parkinson’s disease [20], multiple sclerosis [21], cataract [22], retinopathy [23], glaucoma [24], optic neuropathy [25] and stroke [26]. The proposed system consists of the RABio w8 low-cost device (developed by the University of Granada) for wireless EEG acquisition and a mobile device (e.g., smartphone, tablet, etc.) to perform the stimulation. After RABio w8 records the event-related responses (i.e., EEG data), they are sent to the cloud (i.e., a remote server) in charge of computing the VEPs in real-time. Once the VEPs have been extracted, the remote server sends the results to both the mobile device used for stimulation and the email addressed specified by the user. A comprehensive description of the mBCI application is reported in Sect. 2.3.

Fig. 1.
figure 1

Graphical description of the mBCI application for real-time and cloud-computing of VEPs. When VEPs are computed, they are sent to the email addresses specified by the user, e.g., the email address of a doctor for clinical evaluation of vision.

We conducted a study in order to prove the potential usefulness of our mBCI application for clinical practice. Those essential features in the VEP test such as level of synchronization, robustness and quality of VEPs (based on the amplitude, latency and morphology, that is, the quantifiable parameters of VEPs [27, 28]) were analyzed. The results show that they are acceptable for the standard requirements for the electrophysiological evaluation of vision, even under unfavorable environmental conditions (presence of severe artifacts).

Low-cost mobile applications have positive impact on society. The cost of many clinical test could be significantly reduced by using low-cost mobile technology. In addition, many clinical test could move from the lab (i.e., laboratories and hospitals) to everywhere and be performed at whenever time. In case of our mBCI application, it could be used as screening tool, as well as for massive studies in schools, local health centers, etc. by combining the mBCI application with big data in the cloud.

2 Methods

The aim of the conducted study was to test the performance of our mBCI application in the VEP clinical test, under different daily-life conditions, some of them with severe artifacts. The ISCEV standard for stimulation and recording of VEPs was followed. The details about the methodology are reported in this section.

2.1 Subjects and EEG Setup

Two healthy male volunteers participated in the study. They were not paid for their participation. All the subjects declared no visual pathologies or they used glasses to correct their vision during the experiment. They were informed about the experimental procedure and signed the informed consent prior to the beginning of the experiment.

One EEG electrode was placed at Oz position of the 10–20 International System. The reference and the ground were placed at Fz and the left ear lobe, respectively. The impedance of the electrodes was below 5 K\({\Omega }\).

2.2 Materials

Stimulation was performed by using a mobile device with 13.3-inch screen and Matlab software (The Mathworks, MA, USA). EEG signals were recorded at 500 Hz with the RABio w8 device. This device is a wireless 8-channel EEG acquisition system based on a 24-bit analog/digital converter with programmable amplifiers, a microcontroller and a Bluetooth module. Server used for cloud-computing of VEPs was a desktop PC with Matlab software.

2.3 Generation, Mobile Recording and Cloud-Computing of VEPs

Visual evoked potentials were elicited by pattern-reversal stimuli with checkerboard. Square size was 1 degree of visual field with the subject placed at 50 cm from the screen. Stimulation rate was 2 stimuli per second. The VEP test consisted in 4 trials of 80 stimuli (i.e., a total of 320 stimuli) with an inter-trial rest time of 10 s.

The subjects performed the VEP test in three different conditions with an inter-condition rest time of 5 min (see Fig. 2): sitting in a chair within a laboratory (condition I), walking along a corridor (condition II) and sitting in the passenger seat of a moving car (condition III). Condition I is considered as the gold standard since it is the closest implementation of the ISCEV standard. Although lighting conditions were stable, severe motion artifacts are expected in condition II due to the walking movement. In condition III, severe artifacts caused by environmental lighting changes are expected. For the sake of simplicity, in this paper subjects and conditions are denoted as (subject, condition). For instance (S2, III) denotes subject 2, condition III.

During the VEP test, as mentioned before, RABio w8 device is in charge of recording the EEG. Stimulus onset information is also recorded by RABio w8. It sends the EEG data (including stimulus onset information), sample by sample, to the mobile stimulation device via Bluetooth (IEEE 802.15.1 standard). This device collects the EEG data corresponding to one trial and sends them to the cloud by using TCP/IP communication through a wireless access point and router. In condition III, a smartphone was used as gateway to connect to the 4G network. Once the one-trial EEG data have been received by the server, a bandpass filtering (1–100 Hz) is performed. Afterwards, the epoch corresponding to every stimulus is extracted by using the stimulus onset information. No epoch was discarded. All the epochs are averaged to obtain the mean. This mean is the stimulus response. Negative (N1) and positive (P1) VEPs are automatically identified and marked in the resulting plot (see Fig. 3). Finally, this plot, raw and processed EEG data are sent, through a simple mail transfer protocol (SMTP) server, to both the stimulation device and the email addresses specified by the user. All this is performed in real-time. The whole system is displayed in Fig. 1.

Fig. 2.
figure 2

Pictures of conditions during the experiment. From left to right, conditions I, II and III.

Fig. 3.
figure 3

Visual evoked potentials (mean) for all cases. N1 and P1 VEPs are marked in plots. Shadow behind the plots represents twice the standard error of the mean (for a better visualization).

3 Results

The results of the study are reported in this section (see Fig. 3, Tables 1 and 2).

Table 1. Maximum cross-correlation of conditions I and II with condition I (gold standard). The delay needed to achieve the maximum cross-correlation is also reported.
Table 2. Amplitude and latency of N1 and P1 VEPs for all cases. P1-N1 differences in amplitude and latency are also reported.

4 Discussion

In this paper we have proposed a low-cost mBCI for clinical applications. Our implementation is based on a RABio w8 device and the performance was validated by means of a clinical test. The results have shown that the level of synchronization, robustness and signal quality (amplitude, latency and morphology) are sound enough for the demanding standard required for the electrophysiological evaluation of vision. Moreover, the mobile recording and cloud computing of VEPs offers a number of advantages over traditional in-lab systems. Our low-cost mBCI application can be accommodated for ubiquitous and massive evaluation of vision, for visual impairment screening, and used as ambulatory diagnostic tool in rural or undeveloped areas.

Figure 3 shows the VEP of two subjects under the three conditions of the experiment. VEPs under condition I correspond to the closest implementation of the ISCEV standard and we considered it in this experiment as the gold standard for conditions II and III. For both subject we observe that under conditions II and III, VEPs are contaminated with noise (i.e., it is not as smooth as the condition I). This was expected since the ISCEV standard describe simply filters for EEG signals recorded in an isolated room and with small number of artifacts. The noise could be easily mitigated with standard procedures for artifacts reduction (e.g., by reducing the bandwidth low-band filter or by eliminating trials with disparate amplitudes). Despite that, VEPs under conditions II and III exhibits and high correlation level with condition I (90.38%, 93.00%, 90.57% and 82.21% in cases (S1, II), (S1, III), (S2, II) and (S2, III) respectively, see Table 1) and the error latency is just small except for (S2, III) (2 ms, 6 ms, 2 ms and 24 ms in cases (S1 ,II), (S1 ,III), (S2, II) and (S2, III) respectively, see Table 1). The last row of Fig. 3 shows the three conditions overlapping. From visual inspection we can conclude that there is not relevant difference between the three VEPs and our mBCI implementation could be used with some limitations for the rapid and low-cost implementation of this clinical protocol. The only exception (S2, III).

Table 2 shows the amplitudes and latencies of negative (N1) and positive (P1) visual potentials. The amplitude and latency of these potentials help for the diagnosis of optic nerve impairment (WEB). Specifically, the N70 and P100 peak latencies and N70-P100 amplitude difference have been reported as sensitive measures of resolved optic neuritis [29]. For instance, people with resolved optic neuritis (ON) may have of 24 ms of mean delay of P1 in comparison with normal people [29]. Absolute and relative N1-P1 differences in amplitude and latency (compared with condition I), with the sole exception of (S2, III), are small (see Table 2). Therefore, it seems unlikely that the use of our mBCI system could give rise to a false positive of ON.

In conclusion, only (S2, III) shows amplitudes and latencies significantly different from those of the gold standard. This was expected because of the environmental lighting changes that could affect the vision of the subject. Our study needs to be extended in order to achieve reliable and comprehensive conclusions.