Вы находитесь на странице: 1из 8

F E ATU R E : B I O M E D I CAL E N G I N E E R I N G

Biosignals for Everyone


A novel development platform extends the principles of physical
computing to the physiological domain, changing the way in which
projects and applications involving physiological data can be made
welcome news for those who prefer a do-it-yourself approach.

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

64 PER VA SI V E computing Published by the IEEE CS n 1536-1268/14/$31.00 2014 IEEE


capable of sensing, processing,
reacting, and interfacing the digital and
analog worlds. The difference between
it and physical computing is the fact
that physiological computing focuses
specifically on the use of biosignals,
which opens up a whole separate class
of problems. Although biomedical
engineering is a related classical
discipline, today biosignals drive
hobbyists, students, engineers, and
other user groups in fields including
computer science, informatics, and (a)
electrical engineering.
Modern physiological computing
applications include mechanical
engineering for human performance
enhancement using exoskeletons, 6
electrical engineering for health
sensing and telemedicine, 7 and
computer science for HCI,8 among
others. 911 Health sensing alone is
extremely importantfor example,
periodic biosignal monitoring
enables early-stage discovery and
management of problems such as (b)
heart attacks or stroke before they
occur, 4,7 and real-time assessment
can be fundamental for things like
muscle-skeletal rehabilitation or
injury prevention.
More recently, the HCI and pervasive
computing communities have started
using biosignals for a variety of
applications, such as demonstrating
the feasibility of muscle-computer
interfaces with sensors mounted on
the forearm,12 and exploring the use (c)
of sympathetic nervous system activity
and motion for stress recognition in a
Figure 1. BITalino biosignal acquisition hardware in its different configurations: (a)
mobile environment.13
board, (b) plugged, (c) freestyle.

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

OCTOBERDECEMBER 2014 PER VA SI V E computing 65


FEATURE: BIOMEDICAL ENGINEERING

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

66 PER VA SI V E computing www.computer.org/pervasive


TABLE 2
Onboard peripheral specifications.

ECG EMG EDA ACC LUX LED


Principle Voltage Voltage Resistance Micro-Electro- Photo transistor
differential differential Mechanical
System (MEMS)
Electrodes 2 or 3 3 2
Bandwidth 0.540Hz 10400 Hz 03 Hz 050 Hz
Input impedance 100G @ 3pF 100G @ 3pF
CMRR 110 dB 110 dB
Range 1.5 mV 1.65 mV 01 M 3 G 360970 nm

Gain 1100 1000 2


Consumption ~4 mAh ~4 mAh ~2 mAh ~350 uAh ~50 uAh ~10 mAh

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,

OCTOBERDECEMBER 2014 PER VA SI V E computing 67


FEATURE: BIOMEDICAL ENGINEERING

(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

68 PER VA SI V E computing www.computer.org/pervasive


devicesin particular, for the Android
operating system (available upon
request). Figure 4 shows the GUIs for
two applications developed using this
framework, which we call MobileBIT
(see Figures 4a and 4f).
A major barrier to working with
physiological sensors is signal
processing. To tackle this issue, were
working on a toolbox called BioSPPy
(for BioSignal Processing in Python)
that provides basic signal processing
and feature extraction functions. Our
goal is to continue growing the toolbox
to include additional signal processing
(a)
and interpretation methods.

BITalinos in the Wild


Weve conducted several user studies
and experimental activities to
demonstrate that people with different
backgrounds can use BITalino in
their projects. Each experiment was
application-specific and had the base
BITalino board as a starting point. The
most popular sensor by far has been
the ECG. Given its use in medical and
quality-of-life applications, this signal
and some of its derived features are
already widely known and familiar to
most people.
In one case, we fit BITalino to a
bicycle, using a conductive fabric on the (b)
handlebars for the electrodes. As Figure
4a shows, this setup enables heart rate Figure 3. OpenSignals software framework GUI: (a) main menu and (b) real-time
monitoring just by holding the bicycle data acquisition screen with ECG, EMG, EDA, and ACC.
handlebars as you normally would,
preventing the need to fit a chest strap
or any other body-mounted device. To ECG signals while the person used The base board and sensors were broken
demonstrate the use of physiological a computer (see Figure 4c). Another down into individual components
signals to control third-party devices, project used BITalino in a game station (freestyle variant); the student then
we fit a BITalino freestyle on an arm controller to assess the feasibility of merged BITalinos digital blocks with the
band and a BITalino plugged to an ECG data acquisition in the context ECG board into a compact unit with two
electrically controlled door lock, letting of game playing. A BITalino freestyle exposed electrodes, enabling heart rate
the user unlock the door just by flexing was fit inside the controller, with two monitoring whenever users place their
his muscle (see Figure 4b). electrodes placed on the outer shell, fingers on the electrodes (see Figures 4e
One of the research lines actively one in each grip handle; Figure 4d and 4f).
developed within our group is related depicts our prototype, showing the

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

OCTOBERDECEMBER 2014 PER VA SI V E computing 69


FEATURE: BIOMEDICAL ENGINEERING

achieve. Another interesting future di-


rection will be in off-the-person sens-
ing,14 with physiological data acquisi-
tion devices integrated in the everyday
objects with which the user interacts
rather than via a body-mounted
apparatus.
Around the toolkit itself, ongoing
work in our group is focusing on
adding Inter-Integrated Circuit (I2C)
support for the firmware and APIs,
ultimately letting BITalino interface
with accessories over a digital bus.
Were also doing extensive work on
(a) (b)
accessories that can enable users to
collect data from other physiological
sources. In the long term, were
focusing on making the MCU
reprogrammable and on building
up the suite of available software
tools, with a special emphasis on
signal processing and interpretation
components.
Our goal with BITalino is that
virtually anyone can have access to a
basic set of tools, analogous to what
the Lego Mindstorms kit does for
(c) (d) robotics and the Arduino does for
physical computing.

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.

2. L. Buechley and M. Eisenberg, The Lily-


Pad Arduino: Toward Wearable Engineer-
ing for Everyone, IEEE Pervasive Com-
(e) (f) puting, vol. 7, no. 2, 2008, pp. 1215.

3. D. OSullivan and T. Igoe, Physical Comput-


Figure 4. Examples of several projects done with the BITalino platformthe most ing: Sensing and Controlling the Physical
popular sensor has been the ECG: (a) bicycle handlebars with heart rate monitor; (b) World with Computers, Thomson, 2004.
a muscle-activated door lock; (c) a keyboard for continuous ECG acquisition; (d) a
4. E. Topol, The Creative Destruction of
game controller fitted with an ECG sensor; (e) heart monitoring on a mobile phone; Medicine: How the Digital Revolution Will
and (f) an Android OS interface for heart monitoring. Create Better Health Care, Basic Books,
2012.

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.

70 PER VA SI V E computing www.computer.org/pervasive


the AUTHORS
6. H. Herr, Exoskeletons and Orthoses:
Classification, Design Challenges and Hugo Silva is a PhD student at the Instituto Superior Tcnico (IST), University
Future Directions, J. NeuroEngineering of Lisbon (UL), Portugal. His work has been distinguished with several academic
and Rehabilitation, vol. 6, no. 1, 2009, and technical awards, and his main interest areas include biosignal research
pp.2130. andpattern recognition. Silva received an MSc in electrical and computer
engineering from UTL. Contact him at hsilva@lx.it.pt.
7. L. Bos et al., eds., Handbook of Digi-
tal Homecare: Successes and Failures,
Springer, 2011.

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.

10. A. Helal, M. Mokhtari, and B. Abdul-


razak, The Engineering Handbook of
Ral Martins is a professor in the Department of Bioengineering at Instituto
Smart Technology for Aging, Disability
Superior Tcnico (IST), University of Lisbon (UL), Portugal. His research interests
and Independence, Wiley-Interscience,
include biomedical instrumentation and sensors, electromagnetic imaging,
2008.
physiological variables monitoring and modeling, and implantable devices.
Contact him at rcmartins@lx.it.pt.
11. J.D. Bronzino, ed., The Biomedical Engineer-
ing Handbook, 3rd ed., CRC Press, 2006.

12. T. Saponas et al., Demonstrating the


Feasibility of Using Forearm Electromy-
ography for Muscle-Computer Interfaces,
Proc. SIGCHI Conf. Human Factors in
Computing Systems, 2008, pp.515524. 14. H. Silva et al., Off-the-Person Electro- 16. G. Mathew, Medical Devices Isolation:
cardiography, Proc. Intl Congress on How Safe Is Safe Enough, tech. report,
13. A. Sano and R. Picard, Stress Recogni- Cardiovascular Technologies (CARDIO- Wipro Technologies, 2002.
tion Using Wearable Sensors and Mobile TECHNIX), 2013, pp. 99106.
Phones, Proc. Assoc. Conf. Affective Selected CS articles and columns
Computing and Intelligent Interaction 15. W. Boucsein, Electrodermal Activity, 2nd are also available for free at
(ACII), 2013, pp. 671676. ed., Springer, 2011. http://ComputingNow.computer.org.

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.

Keep abreast of rapid technology change by subscribing today!

www.computer.org/pervasive

OCTOBERDECEMBER 2014 PER VA SI V E computing 71

Вам также может понравиться