Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Research article - Reception Date: January 30, 2015 - Acceptance Date: September 16, 2015
Abstract— This paper poses a control interface to com- Resumen— En este artículo se presenta una interfaz de
mand the movement of a mobile robot according to sig- control que permite comandar el movimiento de un robot
nals captured from the user’s brain. These signals are móvil en función de la captura de señales provenientes del
acquired and interpreted by Emotiv EPOC device, a cerebro del usuario. Dichas señales son adquiridas e in-
14-electrode type sensor which captures electroenceph- terpretadas por medio del dispositivo Emotiv Epoc, el cual
alographic (EEG) signals with high resolution, which, cuenta con 14 sensores tipo electrodo que captan señales
in turn, are sent to a computer for processing. One electroencefalográficas (EEG) de alta resolución, que des-
brain-computer interface (BCI) was developed based on pués son enviadas a un equipo de cómputo para ser pro-
the Emotiv software and SDK in order to command the cesadas. Se desarrolla una interfaz cerebro-computador
mobile robot from a distance. Functionality tests are (BCI) basada en el software y SDK del desarrollador del
performed with the sensor to discriminate shift inten- Emotiv mediante la cual se comanda de forma remota el
tions of a user group, as well as with a fuzzy controller to robot móvil. Se realizan pruebas de funcionalidad con el
hold the direction in case of concentration loss. As con- sensor para discriminar una intención de desplazamiento
clusion, it was possible to obtain an efficient system for por parte de un grupo de usuarios y un controlador difuso
robot movements. para sostener la dirección en casos de perdida de la con-
centración. Como conclusión, se logra obtener un sistema
Keywords— Brain Computer Interface -BCI, Emotiv eficiente para la manipulación del robot.
Epoc, Mobile Robot, Arduino, EEG.
Palabras clave— Interfaz Cerebro Computador, Emotiv
Epoc, Robot Móvil, Arduino, EEG.
*
Research article derived from the research project: “Control de un móvil robótico mediante señales de EEG”. Funded by the Vice-
rectorate of Research of the Universidad Militar Nueva Granada. Starting date: July, 2014. Compleition date: December, 2014.
©
The author; licensed Universidad de la Costa - CUC.
74 INGE CUC vol. 11 no.2, pp. 74-83. July - December, 2015 Barranquilla. ISSN 0122-6517 Printed, ISSN 2382-4700 Online
DOI: http://dx.doi.org/10.17981/ingecuc.11.2.2015.08
Inge Cuc, vol. 11 no. 2, pp 74-83, July - December, 2015
75
Control of a Mobile Robot Through Brain Computer Interface
Regarding the software, it can be divided into purpose of differentiating every attempt for comple-
three parts: the EmoComposer, the Cognitiv Detec- ting an action on a real or virtual object. Once the
tion Suite, and the Visual Studio. Emotive develo- system is trained in these matters, the pertinent
per provides an SDK (Software Development Kit) signals are received to be characterized as direction
for Windows with a software called EmoComposer, commands for the mobile’s intended movement.
which depending on the signals received from the
sensor allows determining the state of each electro- For the integration of the BCI and the controlled
de and interpreting the information generated by hardware, an application was developed on Visual
the user as of the brain waves; these are received Studio (Fig. 3) where an algorithm was programed
as numeric values corresponding to the different in- to, first, capture the EmoComposer’s information,
tentions of the user. The application’s environment and then, process and send it in a serial manner to
is observed in Fig. 2, where the main development the communications module of the mobile command
features are illustrated and a learning training can in accordance with the user’s intentions to guide the
be generated for different kinds of users. mobile.
Another Emotiv environment is the Cognitiv De- Fig. 4 shows the EmoComposer’s output string
tection Suite. This software permits the assessment generated by simulating a cognitive intention of the
of the brain waves information in real time with the user, in this case, a forward move.
76
Inge Cuc, vol. 11 no. 2, pp 74-83, July - December, 2015
A RS232 protocol system entitles communication The mobile’s control system is based on a micro-
between the BCI and the mobile robot. In this sys- controlled Arduino MEGA 2560 board with the fo-
tem the brain signals values that correspond to the llowing features:
respective displacement directions of the mobile are • Microcontroller ATmega328
delivered through an 8-bit frame to an XBee Pro - • Operating voltage of 5V
series1 radiofrequency module, which in turn, ope- • Digital 14-pin I/O (6 may provide PWM output)
rates with an IEEE 802.15.4 standard. XBee has a • 6 pins for analog input
transmission power of 60mW, a receiver sensitivity • 40 mA DC current per I/O pin
of -100 dBm, and a range of 1 km in open spaces. • Flash Memory 32 KB
Two devices are used, the transmitter and the recei- • 1 UART port
ver, in a simplex communication where only the BCI • 1 KB EEPROM memory (ATmega328)
sends information to the mobile. • 16 MHz Clock Speed
The mobile device moves thanks to two DC en- This board’s low cost and small size were impor-
gines attached to each wheel, thus, this mobile has tant selection factors. Additionally, this board ful-
a differential configuration with a central rotating fills the project’s needs since it provides two PWM
wheel which can move freely. This can be apprecia- channels, one for each engine, and a serial port to
ted in Fig. 5. receive direction control signals.
LEFT 32
(1) RIGHT 64
Source: Author.
77
Control of a Mobile Robot Through Brain Computer Interface
Fig.6 shows the result of thinking about a FC6, T8, T7, F3, and F7 sensors, which in turn, pre-
forward movement in terms of the virtual cube vi- sent a significant amplitude variation regarding the
sualiztion (left); the EEG information panel and remaining sensors.
the sensor distribution are also displayed (right). Fig. 8 exemplifies the behavior for a left movement
For the forward movement intention, the activation intention. An important and uniform variation in
signals correspond to the AF3, F7, F8, and AF4 all the sensors is observed, however, a difference in
sensors. the timing is manifested; sensors AF4, F4, FC6, and
Likewise, Fig. 7 illustrates the backward move- T8 respond sooner than the rest.
ment of the cube, for this reason, the orange facet of For a right turn, shown in Fig. 9, higher response
the cube covers the entire animation screen. Emo- values are appreciated in sensors AF4, F8, F4, FC6,
tiv sensors evidence the highest amplitude respon- T8, and F8; the amplitudes in this case are rather
se in AF4, a high peak when compared to F8, F4, low if compared to the previous actions.
78
Inge Cuc, vol. 11 no. 2, pp 74-83, July - December, 2015
79
Control of a Mobile Robot Through Brain Computer Interface
USER 1 9 8 9 7
USER 2 8 7 9 8
USER 3 7 8 8 7
USER 4 8 8 9 9
USER 5 9 9 8 9
Source: Author
80
Inge Cuc, vol. 11 no. 2, pp 74-83, July - December, 2015
81
Control of a Mobile Robot Through Brain Computer Interface
References
82
Inge Cuc, vol. 11 no. 2, pp 74-83, July - December, 2015
[13] R. J. Moreno, F. E. Valcárcel, and D. A. Hurtado, “Teleope- [15] L. Ríos and M. Bueno, “Modelo matemático para un
rated systems: a perspective on telesurgery applications robot móvil,” Sci. Tech., vol. 1, no. 38, pp. 13–18, Jun.
(Sistemas teleoperados: una perspectiva desde las aplica- 2008.
ciones en telecirugía/ Sistemas de teleoperação: uma pers- [16] R. J. Moreno, O. A. Sánchez, and O. L. R. Sandoval,
pectiva sobre aplicações telecirurgia),” Revista Ingeniería “Análisis de la implementación de un controlador difuso
Biomédica, vol. 7, no. 14. 14-Jan-2014. sobre diferentes arquitecturas de hardware.,” Ciencia e
[14] Emotiv Epoc & testbench™ specifications, Emotiv, 2014. Ingeniería Neogranadina, vol. 23, no. 1. pp. 77–87, 06-
Emotiv Software Development Kit User Manual for Re- Jun-2013.
lease, Ed . 1.0.0.5.
83