Академический Документы
Профессиональный Документы
Культура Документы
T
oolkits are an important asset: deal with very simple requirements in terms of
they help researchers and engi- signal acquisition setup, such as the need for
neers advance in their field of a relatively high tolerance to noise or for low
work without having to deepen sampling rates.
their expertise in somewhat Physiological computing, on the other hand,
peripheral knowledge domains or reinvent poses several different challenges related to the
research techniques with the technology at more complicated requirements of physiological
hand. Software has a long tradition of provid- data acquisition (for example, the need for higher
ing such facilities, examples of which include the signal-to-noise ratios or greater accuracy in the
Java Swing GUI widget toolkit and the scikit- sampling rate). To address these challenges, we
learn software packages. Hardware is now fol- present a novel development platform especially
lowing a similar path, with low-cost toolkits designed to consider the requirements of
driving innovation in ways physiological data acquisition. Furthermore,
never before seen. our platform makes biosignals readily available
A lmost a decade and to anyone interested in exploring the field and
thousands of assembled units provides a framework that we hope can drive
after its debut, the Arduino a new wave of research and projects within the
Hugo Plcido da Silva, Ana Fred,
platform has become the global research and engineering community.
and Ral Martins
centerpiece of any maker
University of Lisbon or tinkerers toolbox. As its Lets Get Physiological
website explains, Arduino Biosignals have been used in the healthcare and
is an open source electronics medical domains for more than 100 years, the
platform based on easy-to-use hardware and best-known examples being electrocardiography
software. Its intended for anyone making (ECG) and electroencephalography (EEG)
interactive projects. Since its humble beginnings signals. The application of engineering
in 2005 as the brain child of Massimo Banzi and principles and devices in the field has proven
his team,1 researchers at the MIT Media Lab to be of paramount importance, leading to
have made it clothing-compatible, 2 and it has remarkable technical, methodological, and
become the de facto accessory development kit scientific achievements.4 Today, biosignals are
for Googles Android OS. an increasingly popular research topic within
Do-it-yourself hardware platforms have the global engineering community: their
grown in their own right, fostering the potential applications far extend the medical
development of interactive systems that arena, paving the way for the nascent field of
bridge the analog and digital worlds in what physiological computing.5
is broadly defined as physical computing. 3 So Physiological computing can be generally
far, physical computing has been characterized defined as the study and development of
by the use of sensors and actuators designed to interactive software and hardware systems
Anatomy of a BITalino
Physical computing researchers have
the Arduino and its successors and hardware materials. Building on the the BITalino development platform,
predecessors, but the physiological guiding principles of existing physical and Table 1 summarizes its primary
computing community lacks a computing hardware platforms, we specifications.
comparable tool. Biosignals have created BITalino, a highly versatile The hardware consists of a low-
specific requirements for which typical toolkit designed to make biosignals cost, modular wireless biosignal
physical computing platforms arent available for anyone interested in acquisition system, with a credit
particularly tuned, and many projects innovative and creative engineering in card-sized form factor that integrates
end up heavily bounded by the high a physiological computing framework multiple measurement sensors for
cost and limited access to suitable (www.bitalino.com). Figure 1 depicts bioelectrical and biomechanical data
TABLE 1
in many different ways, typically in the
BITalinos specifications.
following three configurations:
Specifications
Sampling rate Configurable to 1, 10, 100, or 1,000 Hz r board, or without modifications, so
Analog ports 4 input (10 bit) + 2 input (6 bit) people can simply experiment with
Digital ports 4 input (1 bit) + 4 output (1 bit) the onboard sensors to support exper-
imental activities or illustrate theoret-
Data link Class II Bluetooth v2.0 (~10-m range)
ical concepts through thereal-time
Actuators LED
observation of underlying physiologi-
Sensors EMG, ECG, EDA, ACC, and LUX cal phenomena (Figure 1a);
Weight 30 g r plugged, where the analog front end
Size 100 60 mm is separated from the BITalino main
Battery 3.7-V LiPo board, leaving only the control,
Consumption ~65 mAh (with all peripherals active)
power, communication, and auxil-
iary connectivity blocks so that peo-
ple can interchangeably use different
sensor combinations, connecting the
acquisition. The digital back end is connected and using a 1,000-Hz sensor by cable (Figure 1b); and
supported by a control block based sampling rate, BITalino uses around r freestyle, where all the individual dig-
on the ATmega328P microcontroller, 65 mAh (approximately 60 percent ital and analog blocks are detached
a power management block, and from the Bluetooth module alone from the BITalino main board, en-
a communication block that uses a and approximately 15 percent from abling people to combine them in any
Class II Bluetooth v2.0 module for the LED). If just one or two sensors way that best suits their project ideas
wireless data transfer; two auxiliary are used, an average of approxi- and applications (Figure 1c).
connectivity blocks enable RJ22 mately 50 mAh can be achieved,
plugs to be added to the device. The enabling BITalino to run continu- We also designed the analog front
analog front end integrates individual ously for close to 10 hours using the end to enable BITalino to be a broad-
sensor blocks for electromyography standard battery provided in the kit. spectrum development platform for
(EMG), electrocardiography (ECG), BITalinos modular design enables experimentation and rapid prototyping
electrodermal activity (EDA), and the battery to be easily swapped for based on biosignals. The onboard
accelerometry (ACC); the board a larger or smaller one, depending sensors enable anyone to easily explore
is also fitted with light-sensing on the given use case. Considering and work with the following:
(LUX) and LED blocks, to enable that 2-Ah compact batteries (0.25
synchronization with third-party 2.1 2.4, and 36 g) are readily r ECG, which is useful for one-lead
equipment such as a computer screen available, a user can achieve more measurement of the hearts bioelec-
or video camera. than 40 hours of battery life in con- trical activity and derived parameters
BITalino is currently provided tinuous operation. (heart rate, heart rate variability, and
as a kit that includes all the basic so on) and can be applied in any stan-
components anyone would need One Board, Many Options dard location (such as the chest, left/
to enter the world of biosignals By default, the system comes as a right hand palms, or left/right fingers).
namely, the previously described single board, with onboard sensors Its important to highlight that this
hardware blocks; a 550 mAh preconnected to analog and digital particular sensor integrates previous
rechargeable LiPo battery; a two-lead ports on the control block. However, work by our group,14 which is why
electrode cable assembly (for ECG the control, power, and communication it can either work in a standard three-
and EDA); a three-lead electrode blocks, as well as the firmware, are (+, , and ground) or two-electrode
cable assembly (for ECG and EMG); completely general purpose, enabling configuration (in which a virtual
and a pack of five multipurpose pre- people to use BITalinos digital back ground isused).
gelled Ag/AgCl electrodes that can end with their own custom sensor r EMG, which is useful for measur-
be used for ECG, EMG, or EDA data and actuator designs. The BITalino ing muscular bioelectrical activity
acquisition. platforms versatility even extends to and derived parameters such as on-
In a worst-case power consump- the point where each individual block set and duration. This sensor can
tion scenario where all the sen- can be physically detached from the be applied to any surface muscle
sors and LEDs are simultaneously main board, allowing people to use it and the output data used as control
signals in biomechatronics or HCI a common requirement for, say, Another important aspect that we
applications.12 acquiring several EMG channels at the focused on is safety. When building
r EDA, which is useful for measuring same time. electronics that directly interface
skin resistance. A typical use case is with the human bodyparticularly,
to assess sympathetic nervous sys- Designed with Everyone in Mind sensors that require low impedance
tem activity with two sensor leads Weve put considerable effort into electrodesits extremely important
applied to the palms or feet, allow- designing something that has both to ensure that the user is protected
ing the measurement of emotional flexibility and ease of use. One of the from electrical hazards.11,16 Electrodes
arousal situations associated with largest barriers to using physiological should facilitate electrical outflows
variations in skin impedance caused sensors such as EMG, ECG, and EDA from the body to the sensor, but if a
by increased sweat secretion.15 is connecting the cables between the major electrical event such as a power
r ACC, which is useful for measuring electrodes and the analog front end. surge affects the sensor, they can also
biomechanical events such as tilt, BITalino eases this burden to the point act as privileged inflow channels from
step counting, fall detection, and where the user just places the electrodes the sensor to the body.
physical activity. on the body and snaps the connectors BITalino is battery operated and uses
r LUX, which is useful for measur- into place. Figure 2 shows the physical a wireless interface for data transfer,
ing ambient luminosity or for opti- interface between a users body and the guaranteeing that its completely
cal synchronization with external BITalino board (in this case, for EMG independent from any high voltage
sources (a typical example is the syn- and EDA). power source during normal operation.
chronization of BITalino with con- As we previously described, the To prevent electrical hazards, its
tent presented on a computer screen). default approach for data transfer important to make sure that BITalino
is the Bluetooth interface; given that isnt coupled at any time with the
Table 2 presents some of the one of our goals was to keep costs mains or any other high voltage power
specifications of the individual sensor as low as possible, the standard source either directly or indirectly (via
blocks provided by default on the Bluetooth module only supports the a third-party device or test equipment).
analog front end. All sensors have an Serial Port Profile (SPP). However, The power management block is
analog output, this being the primary the MCU block fully exposes the fitted with a USB connector for charging
connection between any sensor and universal asynchronous receiver/ (as shown in Figure 1)as such, users
the microcontroller unit (MCU) block, transmitter (UART) pins, letting users should verify that the charging cord
regardless of whether its an onboard, replace the standard module with a is disconnected prior to connecting
third-party, or custom-designed sensor. more advanced one or to use another BITalino sensors to their body. Failure
Together with the general-purpose interface that they find more suitable to do so raises a major safety concern:
firmware, this makes it possible for for their application. With this design increased risk of electric shock due
users to easily interface with virtually feature, users can even interface to a potentially high common-mode
any sensor. We also designed BITalino embedded systems (such as Raspberry voltage on the USB signals coupled
so that users can connect multiple Pi) directly with BITalino through the with the low impedance path to the
sensors of the same type in parallel, UART port. body via the electrodes. Furthermore,
(a) (b)
Figure 2. Examples of physical connection between a BITalino board and the body for two of the onboard sensors: (a) electro-
myography (EMG) and (b) electrodermal activity (EDA).
when using testing equipment such as Arduino bootloader and libraries communication protocol implemented in
oscilloscopes or tapping directly into introduce a considerable runtime the firmware. Its also possible to choose
the UART pins for communication overhead, leading to a high skew from a growing number of programming
with third-party devices, users should and jitter in the sampling rate. Along APIs for languages such as Python, Java,
make sure that these external devices with the overall hardware design, and Matlab, among others, allowing
have a medical grade or isolated power BITalino has a purpose-built firmware, users to communicate with BITalino and
supply prior to connecting BITalino optimized to acquire a maximum of six access sensor data in their own software
sensors to their body. analog and four digital channels at up applications.
One more safety aspect that users to 1,000-Hz sampling with maximum At the user level, people can install
should take into account is bias currents performance, so its not yet compatible our OpenSignals software framework
across the body and organs such as the with the Arduino IDE. (previously known as SignalBIT)
heart. When connecting low impedance Currently, BITalino can only be and use it to visualize and record
electrodes on the skin surface, the reprogrammed by using an in-system biosignal data in real time or to review
voltage and current levels dont cause programmer (ISP), although users previously recorded data. We designed
problems because skin has very high should read the original fuse settings this framework using a client-server
impedance. However, connecting and back up the firmware, if needed. and model-view-controller (MVC)
electrodes to open wounds or body All the sensors and peripherals on approach, in which the back end is
areas not covered by skin (for example, BITalino are compatible with popular implemented in Python and the front
inside the mouth) can be dangerous do-it-yourself hardware platforms, end is a Web-based GUI. All the source
because the skins high impedance meaning that people wanting to code is available upon install, allowing
isolation no longer exists. create their own biosignal-enabled users to customize the software to their
embedded application can use an preferences or to create purpose-built
What about Software? Arduino, Raspberry Pi, or other low- derived applications. Figure 3 shows
The BITalino toolkit has multiple cost platform as the MCU block. the GUI for the main menu and real-
software components, including Alternatively, users can also interface time data acquisition screens, showing
the firmware on the MCU, the BITalino with their platform of choice plots with real-world data for ECG,
programming APIs, and the high-level via the UART. EDA, EMG (two muscle activations),
application for the base station. Weve attempted to provide maximum and ACC (one full rotation over
Although the BITalino MCU block flexibility in any interaction with devices. thez-axis).
uses an AVR-based chip similar to Communication with BITalino can Our ongoing work focuses on
that of standard Arduino boards, the happen at the byte-stream level, using the a software framework for mobile
W
to the use of ECG signals for biometric right-hand-side electrode (the users
applications via nonintrusive sensor hand covers the left-hand side). e envision the future
technologies. One recent project adapted A recent student project created a form for this area to be quite
BITalino to a computer keyboard, factor that fit the BITalino on to the back of broad. Short-term
enabling continuous monitoring of a mobile phone for heart rate monitoring. progress will involve
ACKNOWLEDGMENTS
This work was partially funded by Fundao para a
Cincia e Tecnologia (FCT) under the grants PTDC/
EEI-SII/2312/2012 and SFRH/BD/65248/2009,
whose support we gratefully acknowledge.
REFERENCES
1. M. Banzi, Getting Started with Arduino,
Make Books, 2009.
the development of medical devices available at a low cost will give 5. S.H. Fairclough, Fundamentals of Physi-
ological Computing, Interacting with
for low-income areas and developing many people access to instruments Computers, vol. 21, nos. 1 and 2, 2009,
countries: making these technologies that would otherwise be difficult to pp. 133145.
8. B. Graimann, B. Allison, and G. Ana Fred is a professor in the Department of Bioengineering at Instituto Superior
Pfurtscheller, eds., Brain Computer Inter- Tcnico (IST), University of Lisbon (UL), Portugal. Her research interests include
faces, Springer, 2011. pattern recognition, with application to data mining, learning systems, and
behavioral biometrics. Contact her at afred@lx.it.pt.
9. P. Petta, C. Pelachaud, and R. Cowie, eds.,
Emotion-Oriented Systems: The Humaine
Handbook, Springer, 2011.
IEEE Pervasive Computing explores the many facets of pervasive and ubiquitous
computing with research articles, case studies, product reviews, conference reports,
departments covering wearable and mobile technologies, and much more.
www.computer.org/pervasive