4_71070000667951108

Upload: swati-muttu

Post on 02-Jun-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 4_71070000667951108

    1/4

    AbstractThe following paper presents a design and im-

    plementation of heart rate monitor system based on the Blue-

    tooth Low Energy technology of Bluetooth 4.0. The whole sys-

    tem is consisting of a heart rate sensor, a Bluetooth module and

    an iOS platform device that is embedded with Bluetooth 4.0.

    The heart rate sensor is able to acquire the heart rate signal of

    human body, and the Bluetooth module get the data of sensor,

    transmit the data through Bluetooth wireless link, the iOS de-

    vice receive and process the heart rate data modulated in

    Bluetooth module, display the heart rate of human body on the

    screen. The results show that the implementation of heart ratemonitor system based on Bluetooth Low Energy is more acces-

    sible for ordinary people than the dedicated medical device for

    the popularity of iOS device, the convenience of wireless link

    and the low power consumption of the Bluetooth Low Energy

    Technology.

    I. INTRODUCTION

    luetooth, as a short-range communication technology,

    was first introduced by Ericsson in 1994. In 1998,

    Sony-Ericsson, IBM, Intel, Nokia and Toshiba founded SIG

    (Special Interest Group) to push the development of Blue-

    tooth technology. In the same year, SIG make Bluetooth a

    standard. The first documented version of Bluetooth is 0.7;Bluetooth 1.1 became an IEEE standard; Bluetooth 2.0 in-

    troduced EDR (Enhanced Data Rate) to transmit files, and

    A2DP (Advanced Audio Distribution Profile) to play audio

    wirelessly. It is common to see Bluetooth compatible device,

    such as smart phone, wireless headphone and wireless key-

    board. However, Bluetooth is not the only choice in

    short-range wireless communication. NFC, ZigBee and other

    technologies are also making a great challenge to Bluetooth

    in some application.

    More attention is paid to personal health care nowadays,

    some health care devices, such as blood pressure monitor,

    heart rate monitor, blood glucose monitor are becoming moreand more common in family, the health care device of family

    has a strong need to be connected to store, transmit, and

    analyze the monitor result, classic Bluetooth, however, can-

    not afford. Therefore, SIG introduce a brand new version of

    Bluetooth, Bluetooth version 4.0, in 2010. Bluetooth 4.0 is

    comprised of 3 parts: Classic Bluetooth, Bluetooth High

    Speed and Bluetooth Low Energy. The introduction of

    Bluetooth Low Energy makes it possible for the application

    of Bluetooth in some power sensitive area.

    Besides the sensor and transmit module, we also need a

    device to receive, process, and display the monitor data.

    Unlike hospital, it is difficult and unpractical for a family to

    possess a dedicated receiver and analyzer, therefore, a smart

    device, such as smart phone and tablet, which owns a strong

    connectivity and processing ability, is more suitable for

    personal healthcare. Among numerous smart mobile device, 3

    most common operating systems is being used: iOS of Apple,

    Android of Google and Windows Phone of Microsoft. Apple

    introduced Bluetooth to iOS5 in 2011 and iPhone 4s is the

    worlds first Bluetooth 4.0 compatible mobile device. In this

    paper, we build a practical and efficient heart rate monitor

    system on iPhone 4s which make it convenient for iOS device

    user to access the heart rate of monitor sensor in real time.

    II. METHODS

    A. Architecture of the Designed System

    The whole heart rate monitor system includes 3 parts:

    Sensor Module, Bluetooth Low Energy Module and iOS re-

    ceiver application. Sensor Module is capable of capturing

    users heart rate signal and transmits the signal to Bluetooth

    module in a data form, which Bluetooth module can read.

    Bluetooth module gets the data and modulates the data in

    order to make iOS application can receive and process. iOS

    application, which runs in a Bluetooth compatible device,

    receive the data and display it on the screen instantly or store

    the data for further use.

    Sensor Module

    Bluetooth Module

    iOS Application

    Fig. 1. The architecture of heart rate monitor system

    Design and Implementation of a Bluetooth 4.0-based Heart Rate

    Monitor System on iOS Platform

    Liu Guo-cheng, Yu Hong-yangResearch Institute of Electronic Science and Technology of UESTC, Chengdu, China

    [email protected]

    B

    112978-1-4799-3051-7/13/$31.00 2013 IEEE

  • 8/10/2019 4_71070000667951108

    2/4

    B. Heart Rate Signal Acquisition and Bluetooth Trans

    mission Module

    In this paper, we will use Mios Alpha watch, which inte-

    grates the sensor and module, as the sensor and Bluetooth

    module of the whole system. Alpha has two green LEDs,which pulse light into the skin at users wrist, to scan the

    blood flow in real time. An optical sensor analyzes the scan

    result and gets the heart rate data. The data will be sent to the

    Bluetooth Low Energy module to be modulated into Blue-

    tooth Low Energy form. Besides receiving and transmitting

    the sensor data, the Bluetooth Module is also responsible for

    wireless communication between the watch and iOS appli-

    cation.

    Fig. 2. The sensor and Bluetooth module

    C. iOS Application

    As the system requires making use of Bluetooth Low En-

    ergy technology, we have to choose a Bluetooth 4.0 capable

    device. For iOS platform, iPhone 4s and above, iPad 3th

    generation above and Macbook Air/Pro/Mac Mini mid 2011

    and above meet the needs. In this paper, we will use iPhone 4s

    as the main device in which the application will be built.

    Fig. 3. The Bluetooth Low Energy protocol stack

    The Bluetooth Low Energy protocol stack is built from

    physical layer in the bottom to application layer in the top. In

    iOS5, Apple provides Core Bluetooth Framework for Blue-

    tooth Low Energy application development. Benefits from

    the framework, developer no longer needs to implement the

    design from bottom level of the Bluetooth protocol. Instead,we now focus on the top two profiles: Generic Access Profile

    (GAP) and Generic Attribute Profile (GATT). GAP define

    how to discover and build a connection with other device and

    other general access function, it is a mandatory profile, which

    build the foundation of other profile. GATT describes a use

    case, roles and general behaviors based on the GATT func-

    tionality [1].

    Application

    Core Bluetooth

    GATT

    ATT

    L2CAP

    RF

    Link Layer

    Fig. 4. Core Bluetooth framework in Bluetooth Low Energy

    The Core Bluetooth framework defines two devices type:

    central and peripheral. Central is responsible for establishing

    the communication and fetching the data from peripheral,

    while peripheral is responsible for make advertisement signal

    to be discovered by central and supplying data for the central.

    In this case, Mio Alpha acts as peripheral and iPhone 4s acts

    as central.

    Peripheral

    Service

    Characteristic

    Characteristic

    Characteristic

    Fig. 5. The relationship between peripheral, service and characteristic

    113

  • 8/10/2019 4_71070000667951108

    3/4

    In order to get the heart rate data from peripheral, we need

    to discover and connect to it first. In this case, Mio Alpha

    advertises its signal, which include RSSI (demonstrates the

    signal intensity), device name (ALPHA), connection state

    and service it provide. The service demonstrates what kind of

    device it is and what data it can supply. For Mio Alpha, it is aheart rate monitor and the corresponding service UUID is

    0x180D.

    Start

    Scan for heart ratemonitor peripheral

    Found aperipheral?

    Connect to theperipheral

    Connected?

    Seach for service0x180D

    Seach for characteristic0x2A37

    Found 0x180DService?

    Get the

    characteristic?

    Process and display theheart rate data

    No

    Yes

    No

    Yes

    No

    Yes

    Yes

    No

    Fig. 6. Program diagram of the application

    After we discover the heart rate monitor device, we can

    make a connection between central device and peripheral

    device.

    Once the connection was built, we will scan for the service

    it can provide in order to get the heart rate service data. The

    service doesnt contain the heart rate data in it, after we get

    the heart rate service, we should discover the characteristic of

    the service. In this case, Mio Alpha will provide two char-

    acteristic of heart rate service: Heart Rate Measurement(UUID: 0x2A37) and Body Sensor Location (UUID:

    0x2A38). The heart rate data we need to get is in Heart Rate

    Measurement characteristic, we can get it and display it on the

    screen of the application.

    The whole program diagram shows in figure 6.

    III. RESULT

    The heart rate monitor application on iPhone is developed

    in Xcode by Objective-C language. The user interface shows

    in Figure 7.

    Before searching, you should switch the monitor device

    Alpha to heart rate monitor state. Then launch the application

    on iPhone 4s, press the Search button on the startup screen, it

    will show current available device, in this case, just one de-

    vice, on the screen. Select the device, and then it will start to

    connect to the selected device. After the connection is built,

    the heart rate data will show on the screen.

    Fig. 7. The user interface of the application

    114

  • 8/10/2019 4_71070000667951108

    4/4

    Besides the implementation of function, the time it spends

    to build the connection between iPhone and monitor device

    also counts. The result is showed in table 1.

    TABLE I TIME SPENT RESULTS TABLE

    Item Conditions Result

    Connection Time 0.794s

    Search Time

    (1) Distance between iPhone 4s and

    Alpha sensor: 1 m

    (2) Average time of 10 tests 1.214s

    IV. CONCLUSION

    We proposed a heart rate monitor system, include sensor,

    Bluetooth module and iOS application, and implement it in

    this paper. The result shows it is able to acquire, transmit and

    receive the heart rate data of human body in real-time accu-

    rately. Otherwise, the Bluetooth Low Energy based system

    takes a shot time to establish a connection between sensor and

    smart phone device. The low power consumption also makesit more practical than the previous Bluetooth version for

    mobile use case in health care. Beside heart rate monitor,

    Bluetooth Low Energy can be used for many applications.

    ACKNOWLEDGMENT

    The authors thank Broadband Media Institute of UESTC

    for the support of the establishment of whole system.

    REFERENCES

    [1] Official Bluetooth Website. (2012, March). [Online]. Available:

    http://www.bluetooth.com

    [2] Bin Yu; Lisheng Xu; Yongxu Li, "Bluetooth Low Energy (BLE) based

    mobile electrocardiogram monitoring system," Information and

    Automation (ICIA), 2012 International Conference on , vol., no.,pp.763,767, 6-8 June 2012

    [3] Ali, M.; Albasha, L.; Al-Nashash, H., "A Bluetooth low energy

    implantable glucose monitoring system," Microwave Conference

    (EuMC), 2011 41st European , vol., no., pp.1265,1268, 10-13 Oct.

    2011

    [4] Mackensen, E.; Lai, M.; Wendt, T.M., "Bluetooth Low Energy (BLE)

    based wireless sensors," Sensors, 2012 IEEE , vol., no., pp.1,4, 28-31

    Oct. 2012

    [5] Jara, A.J.; Fern'ndez, D.; Lopez, P.; Zamora, M.A.; Ubeda, B.;

    Skarmeta, A.G., "Evaluation of Bluetooth Low Energy Capabilities for

    Continuous Data Transmission from a Wearable Electrocardiogram,"

    Innovative Mobile and Internet Services in Ubiquitous Computing

    (IMIS), 2012 Sixth International Conference on , vol., no., pp.912,917,

    4-6 July 2012

    [6] Mackensen, E.; Lai, M.; Wendt, T.M., "Performance analysis of an

    Bluetooth Low Energy sensor system," Wireless Systems

    (IDAACS-SWS), 2012 IEEE 1st International Symposium on , vol., no.,

    pp.62,66, 20-21 Sept. 2012

    [7] Siekkinen, M.; Hiienkari, M.; Nurminen, J.K.; Nieminen, J., "How low

    energy is bluetooth low energy? Comparative measurements with

    ZigBee/802.15.4," Wireless Communications and Networking

    Conference Workshops (WCNCW), 2012 IEEE , vol., no., pp.232,237,

    1-1 April 2012

    [8] Jia Liu; Canfeng Chen; Yan Ma, "Modeling Neighbor Discovery in

    Bluetooth Low Energy Networks," Communications Letters, IEEE ,

    vol.16, no.9, pp.1439,1441, September 2012

    [9] Apple Inc(Pub.): Core Bluetooth Programming Guide. Available:

    https://developer.apple.com/library/ios/documentation/CoreBluetooth

    115