Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/287218295

FPGA based Real time secure body temperature monitoring suitable for WBSN

Conference Paper · October 2015


DOI: 10.1109/CIT/IUCC/DASC/PICOM.2015.22

CITATION READS

1 749

5 authors, including:

Muzaffar Rao Thomas Newe


University of Limerick University of Limerick
32 PUBLICATIONS   156 CITATIONS    158 PUBLICATIONS   1,097 CITATIONS   

SEE PROFILE SEE PROFILE

I.A. Grout Elfed Lewis


University of Limerick University of Limerick
110 PUBLICATIONS   462 CITATIONS    453 PUBLICATIONS   3,352 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

XCT as NDT solution View project

Design, Implementation and Evaluation of Secure and Efficient Key Coordination Algorithm for Line Topology Network Maintenance for use in Maritime Wireless Sensor
Networks View project

All content following this page was uploaded by Thomas Newe on 15 August 2017.

The user has requested enhancement of the downloaded file.


FPGA based Real time „secure‟ body
temperature monitoring suitable for WBSN
Muzaffar Rao, Thomas Newe*, Ian Grout, Elfed Lewis, Avijit Mathur
University of Limerick, Ireland
*thomas.newe @ul.ie

Abstract— In wireless body sensor networks (WBSNs), The FPGA devices are one of the most important
sensors continuously monitor human physiological activities alternatives (because of its several advantages [2]) to
using medical sensors, for example; blood pressure, body construct high-speed digital systems. Also, a successful
temperature and electrocardiography (ECG). A WBSN can be FPGA implementation can be easily transferred to a full–
used to develop a patient monitoring system. The traditional custom Application Specific Integrated Circuit (ASIC) to
wireless body sensor networks have limited hardware reduce cost for a large scale production.
resources in terms of computational capabilities, data
processing speed, memory and battery life. Also these WBSNs Previous published work related with FPGA based
are generally not suitable for the implementation of security WBSNs [3][4][5] did not focused on security issues of
mechanisms, reason is that, implementation of security physiological data. To the best of authors knowledge, this is
Pr

mechanisms require relatively more hardware resources the first work that presented FPGA based secure processing
because of the complexity of their algorithms. To get rid of of physiological data. A comprehensive security solution
these limitations a Field Programmable Gate Array (FPGA) includes privacy and data integrity verification features. The
device is suitable because of its flexible architecture and high privacy of physiological data can be achieved using any
e

performance features. In this paper an FPGA based real time suitable encryption algorithm like AES and to verify data
‘secure’ body temperature monitoring is implemented with integrity, cryptographic hash functions are required. In this
Pu

reliable data transmission, using data integrity verification. work, our focus is on security feature of data integrity
This implementation provide framework to build a secure
verification.
FPGA based WBSN. The data integrity check is very
important for the patient monitoring systems as unreliable In WBSNs data integrity verification is very important as
bl

data could lead the healthcare professionals to make an unreliable data could lead the healthcare professionals to
incorrect diagnosis concerning patients health. The data make an incorrect diagnosis. This can lead to, at the extreme
integrity verification is achieved using newly selected case, the death of a patient or at a minimum it can lead to
ic

cryptographic hash function called, SHA-3 (Secure Hash patient distrust in the monitoring system. Data integrity is a
Algorithm-3). To the best of authors knowledge, all previously term used, when referring to the accuracy and reliability of
at

published FPGA based WBSNs implementations did not


data. It ensures that data is identically maintained during any
implemented any security mechanisms to secure physiological
data, so this work is the first contribution regarding it.
operation, such as transfer, storage, or retrieval of data. Any
changes to the data, for example malicious intention,
io

unpredicted hardware failure and human error would results


Index Terms—FPGA, SHA-3, WBSNs
in failure of data integrity. Cryptographic hash functions are
n

I. INTRODUCTION generally used for data integrity verification. This work uses
a recently selected cryptographic hash function called
Nowadays there has been increasing interest from system Secure Hash Algorithm-3 (SHA-3) [6], which is arguably
C

designers, researchers, and application developers on a new the most secure algorithm to date for data integrity
type of network architecture generally known as wireless verification.
op

body sensor networks (WBSNs) [1]. In WBSNs, sensors


continuously monitor human‟s physiological activities and In this paper an FPGA based real time secure body
actions, such as health status and motion patterns. A WBSN temperature implementation is proposed that can be
can be used to eliminate medical errors, reduce workload extended to a secure multi-sensor system using a number of
y

and increase the efficiency of hospital staff while improving medical sensors like blood pressure, ECG, EMG, EEG,
the comfort of patients. heart rate, respiratory rate etc. This single sensor system is
implemented with reliable data transmission using data
A WBSN can be used to develop a patient monitoring integrity verification. For the presented framework FPGA to
system (PMS) that enables monitoring of patients outside of FPGA communication is considered. Although receiving
conventional clinical settings. A PMS allows medical FPGA can be replac by a sink PC that can directly receive
staff/physician to remotely supervise the status of its physiological data from transmitting FPGA using any
patients, while the patients need not to be continuously suitable wireless technology (Bluetooth, Wifi, Zigbee etc.)
wired to the PMS for the vital parameter checkup. The need but in that case, security mechanisms will be implemented
for patient monitoring is apparent in situations where the in software running on PC. As hardware implementation of
patient is (1) in an unstable physiological condition, for cryptographic algorithms is more secure then software
example in the case of a drug overdose or anesthesia and (2) implementation (because of the dedicated type of operation),
in a life threatening condition, for example if there are risks that‟s why in this work, FPGA to FPGA communication is
of a heart attack. An FPGA based WBSN provides flexible considered. A thermistor is used as a temperature sensor and
The authors would like to thank the Erasmus Mundus STRoNGTiES an 8-bit ADC is used for analog to digital conversion. The
program and Irish Research Council (IRC) for providing funding that has FPGA reads 8-bit equivalent data of the temperature from
facilitated the completion of this work. the ADC and applies SHA-3 to find a 256-bit hash of
functionality with high performance features as compared to temperature data. The temperature data is transmitted with
the traditional (classical microcontroller based) WBSNs. the hash using a Bluetooth link. Bluetooth technology is
selected because it is a low-cost, robust and short-range efficiency provided by their architectural flexibility
radio link working at 2.4 GHz. The transmitted data is (parallelism, on-chip memory, etc.), reconfigurability and
received by receiving FPGA via Bluetooth link and the excellent performance in the development of algorithms.
receiving FPGA will calculate the hash of received data FPGAs don‟t have issues of memory as they have dedicated
(temperature data) to compare it with the received hash. Block RAM (BRAM) and also memory can be created by
After comparing the calculated hash with the received hash using HDL. There are other dedicated resources of FPGAs
the receiving FPGA will display the body temperature on like dedicated hard core processors, DSP slices, Multipliers,
PC and also on the LCD that is connected to the FPGA. Multiplexers, flip flops etc. The efficient use of these
Using the same method (including encryption) a number of dedicated resources can result in optimised FPGA
medical sensors can be interface with an FPGA to build any architecture and also make FPGA devices suitable for
comprehensive secure wireless body sensor network. cryptographic algorithm implementation. Normally FPGAs
are considered to be power hungry devices but now FPGA
The remainder of this article is organized as follows. A vendors are trying to get power optimised FPGA
brief overview of the traditional body sensor networks is architectures by introducing integrated optimised hard core
given in section II, while Section III discusses FPGA based blocks. Therefore, by selecting suitable FPGAs and some
body sensor networks. Sections IV and V cover details
power optimisation techniques (like using embedded blocks
about the data integrity verification and methodology. instead of configurable logic blocks, clock gating, increasing
Section VI presented the implementation results while the size of basic logic elements, partial reconfiguration) the
Section VII concludes. power consumption issues of FPGAs can be minimized.
II. TRADITIONAL WBSN The FPGA based wireless body sensor networks may
Pr

The Body sensor network is an important wireless sensor have different configurations depending upon the
network application area and has much demand in the application environment. The proposed experimental
medical care domain [7][8]. In traditional WBSN, sensor framework can be used to interface body sensors with an
FPGA and the FPGA will perform all processing tasks
e

nodes, which are placed on the human body, collect physical


data and perform preliminary processing. The sensor data is including security mechanisms implementations (in this
gathered by a sink node and transmitted to a base station work only data integrity feature), and sends data through
Pu

using wireless technology, generally Bluetooth or Zigbee, Bluetooth to another FPGA that is connected to a sink PC.
to share it on the internet. The basic architecture of The proposed FPGA based body sensor network is shown in
traditional WBSN is given in Fig.1. Fig. 2.
bl
ic
at
io
n
C
op

Fig. 2 Proposed architecture of FPGA based WBSN


Fig. 1 Architecture of traditional WBSN
y

IV. DATA INTEGRITY VERIFICATION IN WBSN USING


Traditional WBSNs are based on classical microcontroller SHA-3
based wireless motes. The problem with these motes is
limited hardware resources in terms of computational Hash functions can be used for the verification of data
capabilities, data processing speeds, memory and battery integrity. This is a one-way deterministic procedure whose
life. Also traditional body sensor networks are not suitable input is an arbitrary block of data and whose output is a
for the implementation of many security features because fixed-size bit string, which is known as the hash value. The
strong security mechanisms generally require more data to be encoded is called the message, and the hash value
hardware resources (because of the complexity of their is called the message digest. In short, a message digest is a
algorithms) than these systems can provide. To overcome fingerprint of the data and if the data changes, it changes the
these limitations, an FPGA based WBSN is proposed. The fingerprint.
FPGA platform helps to get rid of these limitations because The hash of a piece of data is calculated and appended to
of its flexible architecture, high performance features and the data. When the message arrives at its destination (in the
cost. case of data transfer) or is retrieved (in the case of data
III. FPGA BASED WBSN storage), the hash is recalculated from the data and
compared it to the hash, that was appended to the original
The FPGA based WBSN provides a platform that can be message. If the values do not match, then it means the data
used to get rid of traditional WBSN limitations. For high has been corrupted and will not be processed.
demanding tasks FPGAs have been favoured due to the high
Previously used hash functions (SHA-0, SHA-1, SHA-2, 1) Data processing in Tx. FPGA:
RIPEMD and MD5) were found to have Vulnerabilities
[9][10][11]. Although, no attack on SHA-2 has been The Tx FPGA receives each bit of data from the ADC on
reported yet, but the algorithmic similarity of SHA-2 with each rising edge of the system clock signal. So, eight clock
SHA-1, make this algorithm‟s security susceptible. That‟s cycles are required to receive a complete set of temperature
why we implemented newly selected cryptographic hash data and a temporary register is used in the FPGA to store
function SHA-3, to provide data integrity verification. This this data. This cycle of 8 clocks repeats continuously to
new algorithm was announced by National Institute of detect any change in digital output and updates temporary
Standards and Technology (NIST), USA in 2012 [12]. Our registers accordingly. To verify data integrity, the SHA-3 is
earlier presented implementation technique [13] is used for implemented as a function to provide a 256-bit hash of the
SHA-3 implementation, to provide data integrity verification received temperature data. The 256-bit hash data is
of temperature sensor‟s data. concatenated with the 8-bit temperature data and these bits
are transmitted using the Bluetooth module. Also this
V. METHODOLOGY transmitted data is displayed on LCD to have the idea about
A. FPGA based sensor node the current status of temperature. For serial data
transmission/reception a UART function is implemented in
The FPGA based sensor node in WBSNs generally HDL. The sequence of data processing in the Tx. FPGA is
comprises of six parts as shown in Fig. 3. The medical shown in Fig. 5.
sensors (body temperature, blood pressure, ECG etc.) are the
key components of BSNs, as they bridge the physical world
Pr

and electronic systems and are used for collecting the vital
signals related with health of a patient. Sensors are
interfaced with an anti-alias filter that is used before the
signal sampler, to restrict the bandwidth of a signal. This
e

anti-alias filter attenuates the higher frequencies, and


prevents the aliasing components from being sampled. The
Pu

ADC takes the analogue signal from the filter and sends its
Fig. 4 (a) Transmitting System
digital equivalent to the FPGA. The FPGA takes the digital
data and performs any additional processing required to
secure it before sending the data to the sink device/PC via
bl

the wireless module. The power supply block is used to


fulfil power requirement of all components on the sensor
ic

node. The next section describes the implementation of one Fig. 4 (b) Receiving system
of the vital parameters of patient monitoring system in
WBSN i.e. real time body temperature monitoring.
at
io
n

Fig. 3 FPGA based sensor node


C

B. Real time body temperature monitoring


op

There are two main parts of the implemented design as


shown in Fig. 4(a) and (b), the transmitting and receiving
systems. The transmitting system is further divided into
y

body temperature sensor, A/D converter, transmitting FPGA


(Tx FPGA) and Bluetooth module, while the receiving
system consists of Bluetooth module, receiving FPGA (Rx
FPGA) and software running on PC/Laptop.
The transmitting and receiving systems communicate via
Fig. 5 Data processing in Tx. FPGA
a Bluetooth link. The transmitting FPGA takes temperature
data from the analogue to digital converter and calculates 2) Data processing in Rx. FPGA:
the hash of this data by applying the cryptographic hash
function (SHA-3) and then transmits the 256-bit hash with The transmitted data is received by Rx FPGA through the
the temperature data via Bluetooth. The receiving FPGA Bluetooth module using UART function that is implemented
separates the temperature data and received hash and using HDL inside the FPGA. The received temperature data
recalculates the hash of this data by applying SHA-3 is separated from 256-bit hash and again SHA-3 is
function. Then calculated hash is compared with the implemented to re-calculate hash for data integrity
received hash for data integrity verification. After verification. The received hash is compared with the
confirmation about data integrity, the receiving FPGA sends calculated hash and if both hash are equal then temperature
the temperature data to the sink PC for processing, as well data is transmitted to PC/Laptop using UART and also to
as to a LCD display that is connected with FPGA for the LCD connected with FPGA. The software running on
temperature monitoring. the PC detects the temperature and displays the respective
temperature accordingly. Any change in temperature is
detected by software and temperature display is updated. TABLE I IMPLEMENTATION RESULTS ON XILINX FPGAS
Since, Rx FPGA is directly attached with PC through serial
wired connection, it is assumed that this connection is Device Slices Frequency Static Power
secure and there is no need for further data integrity (MHz) Consumption
verification at the sink PC again. The operating sequence of (mW)
Rx FPGA is given in Fig. 6. Artix 7 970 152.67 41
Spartan 3AN 3,235 81.22 41
Spartan 6 1,058 116.80 67
Virtex 6 1,056 158.90 1,977
Kintex 7 1,041 246.66 74

VII. CONCLUSION
This work investigated a framework that is suitable for
secure FPGA based WBSNs implementation. To the best of
authors knowledge, previously published work of FPGA
based WBSNs did not implemented security mechanisms to
secure physiological data. So, this work is the first
contribution regarding it. This work used real time body
temperature measurement with data integrity verification, to
Pr

provide experimental framework for FPGA based WBSN.


Using the same method discussed here for a temperature
sensor, any number of medical sensors can be interfaced
e

with the FPGA to build a complex body sensor network.


Pu

REFERENCES
[1] X. Lai, Q. Liu, X. Wei, W. Wang, G. Zhou, G. Han, “A survey of
body sensor networks”, Sensors 2013, 13, 5406-5447; doi :
10.3390/s130505406.
bl

[2] National Instruments. Introduction to FPGA Technology: Top Five


Benefits. http://zon e.ni.com/devzone/cda/tut/p/id/6984, December
2010.
ic

[3] A.Voykin, F. Bui, R. Bolton, "FPGA based reconfigurable body area


network using Nios II and uClinux", Electrical and Computer
Engineering (CCECE), 2013 26th Annual IEEE Canadian
at

Conference on , vol., no., pp.1,4, 5-8 May 2013.


Fig. 6 Data processing in Rx. FPGA [4] D. David, P. Gopalakrishnan, T. Teo,” Low-Power Low-Voltage
Digital System for Wireless Heart Rate Monitoring Application”,
io

VI. RESULTS International Symposium on Integrated Circuits, 2007. ISIC '07.


[5] F. Philipp, M. Glesner”, A Reconfigurable Wireless Platform for
The place and route results of the temperature sensor Biomedical Signal Processing”, Biomedical Engineering
n

implementation using data integrity verification are shown International Conference (BMEiCON-2013)
in Table I. The presented results of transmitting systems are [6] G. Bertoni, J. Daemen, M. Peeters, G. Assche, “The Keccak SHA-3
taken on Spartan 3AN, Spartan 6, Virtex 6, Artix 7 and Submission version 3”, pp.1-14,(2011),
C

http://keccak.noekeon.org/Keccak-reference-3.0.pdf.
Kintex 7, to give an idea about FPGA resources utilization [7] C. Li-Wan, C. Qiang, L. Hong-Bin,“ Wireless sensor network
of proposed framework on different Xilinx FPGA series. For
op

system for the real-time health monitoring” W. Hu(Ed.): Electronics


practical implementation, Spartan 3AN is used to verify the and Signal Processing, LNEE 97, pp. 9-14, 2011.
functionality of the proposed framework. [8] S. Mukhopadhyay “Wearable sensors for human activity monitoring:
A review” IEEE sensors journal, vol. 15 No. 3, March 2015.
Table I shows that the Artix-7 FPGA consumes
y

[9] X. Wang, X.L. Feng, D. Yu, Collisions for hash functions MD4,
minimum number of slices and also its static power (41mW) MD5, HAVAL-128 and RIPEMD. Cryptology ePrint Archive,
is low as compared to other Xilinx FPGAs. The Kintex 7 is Report 2004/199, pp. 1–4 (2004), http://eprint.iacr.org/2004/199
a new Xilinx series that replaced old Spartan series FPGAs. [10] M. Szydlo, “SHA-1 collisions can be found in 263 operations”
CryptoBytes Technical Newsletter (2005)
The best frequency of the proposed design implementation [11] M. Stevens, Fast collision attack on MD5. ePrint-2006-104, pp. 1–13
is achieved using the Kintex 7 FPGA. The Virtex series of (2006), http://eprint.iacr.org/2006/104.pdf
FPGAs are power hungry and are not considered suitable for [12] National Institute of Standards and Technology (NIST): SHA-3
WBSNs. Winner announcement. http://www.nist.gov/itl/csd/sha-100212.cfm
[13] M. Rao, T. Newe and I. Grout, “Secure Hash Algorithm-3(SHA-3)
The speed is not a critical issue in WBSN as compared to implementation on Xilinx FPGAs, Suitable for IoT Applications”.
the power consumption and area utilization, that‟s why we 8th International Conference on Sensing Technology (ICST 2014),
Liverpool John Moores University, Liverpool, United Kingdom,
propose that Artix 7 FPGA is the best to use in an FPGA 2nd-4th September, 2014.
based WBSNs, this is because of its low power consumption
and the availability of all the latest FPGA features.

View publication stats

You might also like