Neuroscience: Implementation of

0 downloads 0 Views 1MB Size Report
band pass filter removes the unwanted frequencies from the signal and amplifies it [10]. ... signal is converted to digital signal using analog to digital converter in the ..... Emotiv, Emotiv Software Development Kit User Manual Release 1.0.0.3.
Neuroscience: Implementation of Electroencephalography Mind Reader for Physically Challenged People Using NonInvasive Brain Computer Interface (BCI) Rhythm Kr Dasgupta Email: [email protected]

Abstract: Neuroscience is being widely explored to develop more interactive brain computer interfaces for control applications. The objective is to enable a computer to read and display thoughts of a human using an Electroencephalography (EEG) device which is a non-invasive method to record electrical activity of the brain along the scalp [24]. A normal human tends to generate specific electrical signals for each thought. With the use of an EEG sensor we will be able to read the electrical signals generated from the human brain. BCI system consists of Biosensor to capture the EEG/EMG signals. The signals will be processed by the computer program [13]. The Level Analyzer Technique is performed on all the training signals and Alpha and Beta waves are extracted for controlling the Hardwires. The command signals are transmitted to the Microprocessor via RF medium [23]. The robotic module designed consists of ARM Microprocessor [10,11] coupled with DC motor to perform the command. The Eye blinking strength and attention level were used to control the direction of the wheelchair [3]. The wireless BCI system could allow the paralyzed people to control their wheelchair without any complexity, provided it is more enhanced, portable and wearable. The results demonstrate the feasibility of cognitive control network to translate deliberate intentions into commands via EEG based BCI for rehabilitation of physically challenged patients [27]. KEYWORD: Neuroscience, BCI, Electroencephalogram(EEG), Electromyogram(EMG), Level Analyzer Technique, Robotic arm, DSP 1. Introduction With several developments in the areas of information technology and neurosciences, there has been a

Table 1

Figure 1

surge of interest in turning dreams into reality. The crux of BCI research is to develop a system that allows disabled people to communicate with other persons and contributes to interaction with the external environments. The electroencephalographic (EEG) devices mostly measure fundamental human activity states as attention, relaxation, meditation etc. In this devices also an electromyography sensor that can be used for eye blinks recognition [8].

2.

Related Work

The research in the field of brain computer interface began in 1970’s. BCI research and development has focused primarily on neuroprosthetics applications that aim at restoring damaged hearing, sight and movement [1]. The four major phases in BCI systems are data acquisition, signal processing classification, computer interfacing application.The EEG classification was used for control of application software on computers as far back as 1991 [2]. They successfully created a system that allowed a user to control a cursor using EEG signals. Later, Wolpaw explored the area and published his work in a series of papers describing the state of the art throughout the early 2000s [3]. These works were further carried forward in [8], where a large, high resolution EEG was used to control a robotic arm. These studies highlighted the importance of EEG, but unfortunately did not address the issues of cost and difficulty of use for the end-user. The need for an easy-to-use and cost effective neuroheadset has been met out by Emotiv EPOC neuroheadset. The Emotiv EPOC has been used in a variety of applications, due to its accessibility for consumers and researchers. The device was validated [1] where it was found to be useful for the control of computers by patients with no voluntary muscle control. These patients were able to access computer based assistive technology and navigate a virtual space using two discrete thought patterns, all with a greater than random chance of success. The Emotiv EPOC was found to be effective methods for computer control, having the subjects of their experiments perform a 3D rotation task in virtual space [9]. The Emotiv EPOC has also been used in the area of controlling robotic systems through noninvasive BCI. In [10] Emotiv EPOC was used to teleoperate a remote humanoid robot. Their system allowed for the remote control of an Aldebaran Robotics Nao humanoid robot, which the user was able to direct with EEG commands to move forward, turn left, and turn right. It was found that their system was effective to navigate a small course. In [11] the Emotiv EPOC was used to control a Lego NXT robot[21].. They used the Emotiv Emokey software to send key commands to a java program. The Emokey software is provided by Emotiv, and allows a user to select different keystrokes to virtually actuate based on EEG data, with up to four outputs being trained [12]. The authors in [13] showed the use of the Emotiv EPOC for the control of robotic arms through EEG. wireless BCI systems may provide a number of advantages. There are still many issues that need to be resolved including improving signal quality, more compact and stylish system designs, and implementation of useful applications [15]. 3. Objective The EEG signals picked up by the electrodes have amplitude of around 5µV to 300µV in the frequency band of 1Hz to 100Hz. The signal picked up by the electrodes is crude due to the interference of noise signals. An active band pass filter of bandwidth 0.1Hz to 100Hz is designed to eliminate signals of other frequencies [21]. The signal also contains 50-60Hz noise due to power line interference which can be

reduced by shielding the wires [29]. However, power line interference of ignorable magnitudes can be observed. The signal picked up by the electrode is first amplified by an instrumentation amplifier. Active band pass filter removes the unwanted frequencies from the signal and amplifies it [10]. This analog signal is converted to digital signal using analog to digital converter in the ARM microcontroller and DSP for Computer. Digital signal is processed in the micro controller and accordingly controls the application and appliances [27].

4. Research Environment

4.1 Human Brain Anatomy Human brain is one of the most complicated organ that controls the functioning of the whole body.



Brain Computer Interface Types

Brain computer interface can be classified into three main groups (i). Invasive BCI: Invasive BCI devices are inserted directly into the human brain by a critical surgery as can be seen in Fig. 2.4. The electro-corticogram (ECoG) are the obtained signals from these inserted electrodes [4]. These devices have the highest quality of human brain signals but have the risk of forming

scar tissue. (ii). Partially Invasive: Device inserted in the skull on the top of human brain as depicted in Fig. 2.5. These devices have bit weaker quality of human brain signals than invasive BCIs and have less risk of forming scar tissue [5, 6]. (iii). Non Invasive: Non Invasive BCI devices are considered the safest type and low cost type of devices. These devices have weaker human brain signals than other BCI devices due to the skull [18]. The detection of signals is done by some electrodes placed on the scalp as given in Fig. 2.6. At the same time, placing such electrodes is easy as well as portable. Most noninvasive techniques are constructed by recording ElectroEncephaloGraphs (EEG) from the scalp. Recent EEG Non Invasive BCI devices have better temporal resolution due to use up to 256 electrodes on the whole area of the human scalp. While others, Non Invasive BCI devices, use functional Magneto-Resonance Imaging (fMRI), Positron Electron Tomography (PET), MagnetoEncephaloGraphy (MEG) and Single Photon Emission Computed Tomography (SPECT) [7, 14].

4.2

System Architecture of Non Invasive Device

4.2.1 The Instrumentation Amplifier (AD620): The AD620 is a low cost, high accuracy instrumentation amplifier that requires only one external resistor to set gains of 1 to 10,000. Furthermore, the AD620 features 8-lead SOIC and DIP packaging that is smaller than discrete designs and offers lower power (only 1.3 mA max supply current), making it a good fit for battery-powered, portable (or remote) applications. The AD620, with its high accuracy of 40 ppm maximum nonlinearity, low offset voltage of 50 μV max, and offset drift of 0.6 μV/°C max, is ideal for use in precision data acquisition systems, such as weigh scales and transducer interfaces. Furthermore, the low noise, low input bias current, and low power of the AD620 make it well suited for medical applications, such as ECG and noninvasive blood pressure monitors [28]. The low input bias current of 1.0 nA max is made possible with the use of Superϐeta processing in the input stage. The AD620 works well as a preamplifier due to its low input voltage noise of 9 nV/√Hz at 1 kHz, 0.28 μV p-p in the 0.1 Hz to 10 Hz band, and 0.1 pA/√Hz input current noise. Also, the AD620 is well suited for multiplexed applications with its settling time of 15 μs to 0.01%, and its cost is low enough to enable designs with one in-amp per channel. AD620 Performance Characteristics:

4.2.2

Active High Pass Filter:

The basic operation of an Active High Pass Filter (HPF) is same as for its equivalent RC passive high pass filter circuit, except this time the circuit has an operational amplifier or included within its design providing amplification and gain control. Voltage Gain (Av): Vout / Vin = AF (f/fc) / √1+(f/fc)2 [AF = the Pass band Gain of the filter, (1 + R2/R1), ƒ = the Frequency of the Input Signal in Hertz, (Hz), ƒc = the Cut-off Frequency in Hertz, (Hz)]

4.2.3

Non-inverting amplifier:

The signal is applied to the non-inverting input of the amplifier. The feedback is taken from the output via a resistor to the inverting input of the operational amplifier where another resistor is taken to ground. It is the value of these two resistors that govern the gain of the operational amplifier circuit. As the input to the op-amp draws no current this means that the current flowing in the resistors R1 and R2 is the same. The voltage at the inverting input is formed from a potential divider consisting of R1 and R2, and as the voltage at both inputs is the same, the voltage at the inverting input must be the same as that at the non-inverting input. This means that Vin = Vout x R1 / (R1 + R2). Hence the voltage gain of the circuit Av can be taken as: Vout / Vin= Av = 1 + R2/R1

4.2.4

Reference Voltage Line:

The circuit is powered by single supply voltage of 5V. If the output of instrumentation amplifier of operational amplifier is negative, it is observed as 0V as there is no negative supply to amplifiers. Using a reference voltage of 2.5V, the output is added with DC Offset of 2.5V. The signal above 2.5 volts is positive and signal below 2.5V is negative.

4.2.5 Hardware Component: The STM32 microcontroller unit in the brain of the system. It is an Open-source physical computing environment based on a simple I/O board used to develop stand-alone interactive objects or it can be connected to a particular software on your computer [26]. Basic filtering uses instrumentation amplifier, notch filters, high pass filters and low pass filters for filtering artifacts and noise [22]. It takes input from EEG sensor, heartbeat sensor, eye blink sensor and temperature sensor. After the amplification and the filtering, the microcontroller will process the signals and give the output according to the specific algorithm. The microcontroller will do the following operations: 1. Will take the digital signal data from the ADC and process it according to the working specified [22] 2. The microcontroller will be directly connected to the user interface which will display the data selected [8], and details such as concentration level of raw data on

DSP application. 3. The microcontroller will send the processed data wireless help of Wi-Fi or Bluetooth module to action process server.

BCI Hardware Implementation Demo:

All the design and schematics of brain computing interface device and software source-code are given in Github https://github.com/Rhythmkrdasgupta/BCI

4.2.6

BCI Signal Features Analysis:

User must be able to control the output: Use a feature of the continuous EEG output that the user can reliably modify (waves), or Evoke an EEG response with an external stimulus (evoked potential) [30, 18]. (a) Delta (δ): Delta wave are characteristic of deep sleep and high amplitude frequency range 0 ≤ f ≤

4 Hz [21]. (b) Theta (θ): Frequency range 4 ≤ f ≤ 8 Hz during meditation, idling or drowsiness. "slow" activity. It is generally present in children up to 13 years and in sleep but abnormal in awake adults. (c) Alpha (α): Frequency range 8 ≤ f ≤ 14 Hz during relaxing or reflecting. Another way to boost alpha waves is to close the eyes [16]. (d) Beta (β): Frequency range 14 ≤ f ≤ 30 Hz and characteristic are when the user being alert or active and while the user is concentrating.

(e) Gamma (γ): Frequency range 30 ≤ f ≤ 70 Hz or above during the mechanism of consciousness.

4.2.7 Monitoring Brain Activity Using Computer Program:

Digital signal processing (DSP) is the use of digital processing, specialized digital signal processor convert the analog signal to digital form, to perform a wide variety of signal processing operations. A Digital Signal Processor (DSP) can process data in real time, making it ideal for applications that can’t tolerate delays [15].DSP applications include audio and speech processing, sonar, radar and other sensor array processing, spectral density estimation, statistical signal processing, digital image processing, signal processing for telecommunications [28], control systems, biomedical engineering, seismology, among others [29]. A digital signal processor is designed to perform these mathematical functions rapidly [12]. The application of digital computation to signal processing allows for many advantages over analog processing in many applications, such as error detection and correction in transmission as well as data compression. DSP is applicable to both streaming data and static (stored) data [22].DSP can involve linear or nonlinear operations. Nonlinear signal processing is closely related to nonlinear system identification and can be implemented in the time, frequency, and spatio-temporal domains. Here we used DSP filter the brain wave (delta (δ), theta (θ), alpha (α), beta (β), gamma (γ)) signal and process it digital form.

5. Conclusion & Future Enhancement

The project has very important scope in future. The project can be implemented by using low cost hardware so that everyone can afford. With the proposed system of brain computer interface (BCI) device for paralyzed or physically challenge people [13]. User can turn on the alarms, control the wheelchair [13], communicate with computer and send message to the caretaker as well as to nearby hospitals [23]. This can be also modified in such a way that a call can also be originated. To make the readings of the brain signals accurate, we can use the 64 base electrodes that are attached to the brain instead of the 3 electrodes used here [17]. We can also use the EEG sensor to record the accurate reading of the eye blink instead of using separate eye blink sensor [3]. In the same way we can also use EEG to

detect the heartbeat of the patient. Better filtering circuits can be also included. We can also use wireless equipment instead of wired equipment’s [18]. Since we can use other technologies such as Wi-Fi, RF transmitter and Bluetooth [15]. Instead of using separate sensors for monitoring the patient we can take all the readings using this BCI device.

6.Acknowledgement

This project required genuinely efforts. Nevertheless, it would not have been realizable without the assistance and help from many individuals and organizations. Various tutorials and resources given in the official website of Open BCI have made initial works easier. Last but not least, my thanks and appreciations also go to my guide Dr. Biswarup Neogi, Mr. Debojit Ghosh, Mr. Moaz al Hosny and my brother Shivam Sarkar who have willingly helped me out with their abilities.

Reference

[1] P. Prashant, A. Joshi and V. Gandhi, "Brain computer interface: A review," 2015 5th Nirma University International Conference on Engineering (NUiCONE), Ahmedabad, 2015, pp. 1-6 [2]. Le, T., Do, N., Torre, M., King, W., Pham, H., Delic, E., Thie, J., Siu, W.: Detection of and Interaction Using Mental States. United States Patent Application Publication, 2007/0173733 (2007), http://www.uspto.gov [3]. Vourvopoulos, A., Liarokapis, F.: Brain-controlled NXT Robot: Tele-operating a robot through brain electrical activity. In: 2011 Third International Conference on Games and Virtual Worlds for Serious Applications (VS-GAMES), pp. 140–143 (May 2011) [4]. He, B.: Neural engineering. Springer publisher, New York, ISBN:978-1-4614-5226-3 (2013) [5]. Wolpaw, J.: Brain-Computer interfaces: signals, methods, and goals. Proceeding of 1st international IEEE EMBS conference on neural engineering, vol. 1, pp. 584–585 (2003) [6]. Lebedev, M., Nicolelis, M.: Brain–machine interfaces: past, present and future. Trends Neurosci. 29(9), 536–546 (2006) [7]. Pfurtscheller G. Neuper. C.: Motor imagery and direct brain computer communication. Proc. IEEE 89(7), 1123,113 (2001) [8]. Iáñez, E., Furió, M.C., Azorín, J.M., Huizzi, J.A., Fernández, E.: Brain-robot interface for controlling a remote robot arm. In: Mira, J., Ferrández, J.M., Álvarez, J.R., de la Paz, F., Toledo, F.J. (eds.) IWINAC 2009, Part II. LNCS, vol. 5602, pp. 353–361. Springer, Heidelberg (2009) [9]. Poor, G.M., Leventhal, L.M., Kelley, S., Ringenberg, J., Jaffee, S.D.: Thought cubes: exploring the use of an inexpensive braincomputer interface on a mental rotation task. In: The Proceedings of the 13th International ACM SIGACCESS Conference on Computers and Accessibility (ASSETS 2011), pp. 291–292 (2010) [10]. Thobbi, A., Kadam, R., Sheng, W.: Achieving Remote Presence using a Humanoid Robot Controlled by a Non-Invasive BCI Device. International Journal on Artificial Intelligence and Machine Learning 10, 41–45

[11]. Vourvopoulos, A., Liarokapis, F.: Brain-controlled NXT Robot: Tele-operating a robot through brain electrical activity. In: 2011 Third International Conference on Games and Virtual Worlds for Serious Applications (VS-GAMES), pp. 140–143 (May 2011) [12]. Emotiv, Emotiv Software Development Kit User Manual Release 1.0.0.3 [13]. Ranky, G.N., Adamovich, S.: Analysis of a commercial EEG device for the control of a robot arm. In: Proceedings of the 2010 IEEE 36th Annual Northeast Bioengineering Conference, pp. 1–2 (March 2010) [14]. Schalk, G., Mellinger, J.: A practical guide to brain-computer interfacing with BCI. Springer, ISBN:978-1849960915 (2010). [15]. Reza Fazel-Rezai (ed.): Brain-Computer Interface Systems - Recent Progress and Future Prospects, ISBN: 978-953-51-1134-4, InTech. Chap. 11, pp. 37–39, (2013) [16]. Lebedev, M., Nicolelis, M.: Brain–machine interfaces: past, present and future. Trends Neurosci. 29(9), 536–546 (2006) [17]. Ebner, A., Sciarretta, G., Epstein, C., Nuwer, M.: EEG instrumentation. The international federation of clinical neurophysiology. Electroencephalogr. Clin. Neurophysiol. Suppl. 52, 7–10 (1999) [18] R. Mahajan, D. Bansal, S. Singh. A Real Time Set Up for Retrieval of Emotional States from Human Neural Responses. International Journal of Medical, Health, Pharmaceutical and Biomedical Engineering 2014; 8(3): 142-1 [21]. He, B.: Neural engineering. Springer publisher, New York, ISBN:978-1-4614-5226-3 (2013) [22] Levine, SP; Huggins, JE; Bement, SL; Kushwaha, RK; Schuh, LA; Rohde, MM; Passaro, EA; Ross, DA; Elisevich, KV; et al. (2000). "A direct brain interface based on event-related potentials". IEEE transactions on rehabilitation engineering: a publication of the IEEE Engineering in Medicine and Biology Society. 8 (2): 180–5 [23] Payam Aghaei Pour, Tauseef Gulrez, Omar AlZoubi, Gaetano Gargiulo and Rafael A. Calvo on “Brain-Computer Interface: Next Generation Thought Controlled Distributed Video Game Development Platform” 2008 IEEE Symposium on Computational Intelligence and Games (CIG'08) [24] Soumyadipta Acharya, Mohsen Mollazadeh, Kartikeya Murari and Nitish Thakor on “ Spatiotemporal Source Tuning Filter Bank for Multiclass EEG based Brain Computer Interfaces” Proceedings of the 28th IEEE, EMBS Annual International Conference,New York City, USA, Aug 30-Sept 3, 2006. [25] Szilárd BULÁRKA, Aurel GONTEAN on “Brain-Computer Interface Review” IEEE, 2016. [26] Maha M. Lashin. A Different Applications of Arduino. International Journal of Mechanical Engineering and Technology, 5(6), 2014, pp.36–46 [27] Stanley, GB; Li, FF; Dan, Y (1999). "Reconstruction of natural scenes from ensemble responses in the lateral geniculate nucleus"(PDF). Journal of Neuroscience 19 (18): 8036–42. [28] O’Doherty, JE; Lebedev, MA; Ifft, PJ; Zhuang, KZ; Shokur, S; Bleuler, H; Nicolelis, MA (2011). "Active tactile exploration using a brain– machine–brain interface". Nature 479(7372): 228–231. [29] Musallam, S.; Corneil, BD; Greger, B; Scherberger, H; Andersen, RA (2004). "Cognitive Control Signals for Neural Prosthetics". Science305 (5681): 258–62. [30] Wolpaw J.R., Birbaumer N., McFarland D.J., Pfurtscheller G., Vaughan T. M. (2002). "Brain–computer interfaces for communication and control". Clinical Neurophysiology 113(6): 767–791