Pulse Reading Mobile Application: Dr. Chi

Similar documents
Electrocardiogram (ECG) Monitoring System using Bluetooth technology

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

LabVIEW and Web-Server based Human Body Monitoring System

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

A Survey of Cloud Based Health Care System

mdocinabox with Arduino UNO and Parallax BOE, 2013 mdocinabox Rattanaphan Boonbutra of Computer Science, Hood College.

Android based Alcohol detection system using Bluetooth technology

How To Use Wineweb Point Of Sale With An Ipad Or Iphone Or Ipod With A Browser On A Pc Or Ipad On A Cell Phone Or Ipo On A Computer Or Ipd On A Tablet Or Ipot On A

WAITER: A Wearable Personal Healthcare and Emergency Aid System

Apple iphone/ipod Touch - ieffect Mobile Guitar Effect Accessory & Application

Using Smartphones and Tablets in Embedded Applications

Remote Patient Monitoring- An Implementation in ICU Ward

ANDROID APPLICATION DEVELOPMENT FOR ENVIRONMENT MONITORING USING SMART PHONES

Efficient Heart Rate Monitoring

Monitoring solar PV output

Heartbeat Monitoring Alert via SMS

Copyright is owned by the Author of the thesis. Permission is given for a copy to be downloaded by an individual for the purpose of research and

I2C PRESSURE MONITORING THROUGH USB PROTOCOL.

Rapid Audio Prototyping

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

Accurate Measurement of the Mains Electricity Frequency

Connect the EFM32 with a Smart Phone through the Audio Jack

Designing and Embodiment of Software that Creates Middle Ware for Resource Management in Embedded System

RF Measurements Using a Modular Digitizer

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Sensors and Cellphones

Patient Health Monitoring Using Wireless Body Area Network

Design of a Wireless Medical Monitoring System * Chavabathina Lavanya 1 G.Manikumar 2

PCM Encoding and Decoding:

EEL 4924 Electrical Engineering Design (Senior Design) Final Report. 19 April Name: Brandon Kalarovich

ANDROID LEVERED DATA MONITORING ROBOT

WISE-4000 Series. WISE IoT Wireless I/O Modules

Development of Integrated Management System based on Mobile and Cloud Service for Preventing Various Hazards

Development of Integrated Management System based on Mobile and Cloud service for preventing various dangerous situations

Module 13 : Measurements on Fiber Optic Systems

Design of UPS Battery Remote Monitoring System

RF Network Analyzer Basics

ARTICLE. Sound in surveillance Adding audio to your IP video solution

Bandsaw Performance Monitoring

Logging of RF Power Measurements

DEVELOPMENT OF VIBRATION REMOTE MONITORING SYSTEM BASED ON WIRELESS SENSOR NETWORK

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

Clearing the Way for VoIP

Remote Patient Monitoring in Telemedicine using computer communication network through Bluetooth, Wi-Fi, Internet Android Mobile

WATCHWITZ BLAZON WATCHWITZ- BLAZON

Understanding Network Video Security Systems

Hands On ECG. Sean Hubber and Crystal Lu

EMC countermeasures for High-Speed Differential Interfaces

Research on physiological signal processing

ECONseries Low Cost USB DAQ

LABTECH LTD. 4th. Vág street Debrecen 4031 Hungary. Address. . Phone Fax

A MOBILE-PHONE ECG DETECTION KIT AND CLOUD MANAGEMENT SYSTEM

Abstract. Cycle Domain Simulator for Phase-Locked Loops

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

Lab 3: Introduction to Data Acquisition Cards

4.1 Threads in the Server System

The ArubaOS Spectrum Analyzer Module

DT3: RF On/Off Remote Control Technology. Rodney Singleton Joe Larsen Luis Garcia Rafael Ocampo Mike Moulton Eric Hatch

Movement artifacts electrical noise caused by the movement of the sensor surface with respect to the skin surface

Motion Sensing with mcube igyro Delivering New Experiences for Motion Gaming and Augmented Reality for Android Mobile Devices

Lab 5 Getting started with analog-digital conversion

SMARTPHONE AS NOISE LEVEL METER? Jacopo Fogola, Stefano Masera, Vincenzo Bevacqua Environmental Protection Agency - Piedmont Region, Turin, Italy

XBee Wireless Sensor Networks for Temperature Monitoring

Detection of Heart Diseases by Mathematical Artificial Intelligence Algorithm Using Phonocardiogram Signals

[PROJECT PLAN: IPOD BARCODE SCANNER]

Using ISO Compliant RFID Tags in an Inventory Control System

Introducing BEEKS Proximity Solutions. Developer Kit Gets You Started

Fig. 1 BAN Architecture III. ATMEL BOARD

Signal K - The Internet of Things Afloat & Next Generation Interfacing

Increase System Efficiency with Condition Monitoring. Embedded Control and Monitoring Summit National Instruments

Implementation of Knock Based Security System

Special Topics in Security and Privacy of Medical Information. Reminders. Medical device security. Sujata Garera

Wi-Fi, Bluetooth, and the Internet of Things

Wireless Remote Monitoring System for ASTHMA Attack Detection and Classification

ShareLink 200 Setup Guide

TRANSMISSION OF ARM BASED REAL TIME ECG FOR MONITORING REMOTELY LOCATED PATIENT

Unmatched RF Spectrum Analysis

1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.

Activity 4.2.3: EKG. Introduction. Equipment. Procedure

Advanced Electronic System for Human Safety (Smart Watch)

Waveforms and the Speed of Sound

CinePlay User Manual

# 2. Selecting and Using Thermistors for Temperature Control

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

ANDROID-BASED TOCODYNAMOMETER AND FETAL HEART RATE MONITOR. Whitney Aaronson Dale Best Sara Saheb Kashaf Arnob Mallick Matthew Sarett Eric Wise

Remote IOS Monitoring System

Objectives. Lecture 4. How do computers communicate? How do computers communicate? Local asynchronous communication. How do computers communicate?

Software Defined Radio

Department of Electrical and Computer Engineering, Marquette University, Milwaukee, WI, USA 2

Higher National Unit Specification. General information for centres. Transmission of Measurement Signals. Unit code: DX4T 35

A Design of Mobile Convergence Architecture for U-healthcare

Result and Analysis of Implemented Real Time Wireless Health Monitoring System Using Sensors

Internet Access to a Radio Astronomy Observatory Whitham D. Reeve ( 2012 W. Reeve)

22 (21.5 viewable) Smart Display, Full HD, Rockchip Quad-Core, Optical touch, Android KitKat. VSD224

Transcription:

Pulse Reading Mobile Application: Dr. Chi Tianyu Fu Electrical Engineering and Computer Sciences University of California at Berkeley Technical Report No. UCB/EECS-2012-150 http://www.eecs.berkeley.edu/pubs/techrpts/2012/eecs-2012-150.html June 1, 2012

Copyright 2012, by the author(s). All rights reserved. Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission.

Pulse Reading Mobile Application: Dr. Chi By Tianyu Fu Capstone Project Report in partial satisfaction of the Requirements for the degree of Master of Engineering in Engineering- Electrical Engineering & Computer Science in the Graduate Division of the University of California, Berkeley Committee in Charge: Professor Lee Fleming Professor Kristofer S.J. Pister Spring 2012

Abstract Pulse Reading Mobile Application: Dr. Chi by Tianyu Fu Master of Engineering in EECS University of California, Berkeley Professor Lee Fleming Developing applications on smartphone platform to perform medical and diagnostic functions has challenges of measurement precision, user interface design and the validity of diagnostic basis. The Dr. Chi capstone project team created the mobile application Dr. Chi. This application contains a program on the ios platform and a sensor gadget which implements pulse reading as in Chinese medicine. Through measuring, storing and analyzing the heart pulse data, this application can give users instructive suggestions on stress management. We selected and optimized the sensor component for the sensor gadget by studying numbers of different kinds of sensors to improve the sensor precision. We designed the monitoring and diagnostic application by interviewing Chinese medicine experts and potential users to deliver an easy-to-use and instructive interface. The cost of this Dr. Chi application is under 30 dollars, which is much cheaper than the medical devices with similar functions on the market which cost thousands of dollars. The measurement accuracy is 50% better than the embedded sensors on the iphone. Through measuring, storing and analyzing the heart pulse data, this application can give users information based suggestions on stress management. 1

Table of Contents Abstract... 1 Introduction... ii Literature Review... 1 Methodology... 4 Chinese Pulse Reading Methodology... 4 Hardware Design... 6 Interface... 7 Signal Processing... 7 Discussion... 9 Implications of Sensor Selection... 9 Implications of Interface Selection... 9 Results... 10 Conclusion... 12 References... 13 i

Introduction Dr. Chi is a mobile application which implements heart pulse reading as in Chinese Medicine. This application runs on ios platform and is working with a sensor gadget. The goal of this project is making the application fully functional in providing people with precise and useful wellness information based on their heart pulse. The design of the sensor gadget, the processing of the pulse signal and the user interface design are the main topics of this thesis. Based on a survey of the existing devices that perform heart pulse analysis, we discovered that these devices falls into two categories. The first category is professional medical devices. These devices often come with a price of thousands of dollars, which is not suitable for personal use. The second category is applications on smart phones that take people s pulse through the embedded sensors on the smart phone itself, such as the built-in camera. However, these embedded sensors largely limit the accuracy of the measurement because they were not designed for pulse reading originally. Therefore, the wellness information provided by these applications has no significant value. The capstone project designed a sensor gadget specifically for the purpose of pulse reading as in Chinese Medicine. The sensor gadget uses three piezoelectric membrane sensors to perform the measuring. A hijack module which utilizes the microphone jack of the iphone will send the heart pulse data sampled by the piezoelectric sensors to the iphone. For the analysis of the pulse signal retrieved by the phone, it can be done both on the smart phone or the cloud. The process on the iphone mainly calculates some instant indices of the heart pulse, which indicates the current heart pulse quality of the user. The history ii

pulse data of the user can be stored on the cloud server, and long-term analysis of the data can be achieved by machine-learning techniques. This paper will explore the design process of the sensor gadget, the connection issues between the sensor gadget and the iphone, the local signal processing process, user interface design and the application of cloud computing in this project. iii

Literature Review The capstone project team did a survey on pulse reading mobile applications and professional medical devices with heart pulse measuring. The team explored the existing products and interviewed experts in pulse reading as in Chinese Medicine. 1. Existing Pulse Reading Mobile Application By searching in the Apple App Store, we found a group of pulse reading mobile applications. The common element of these applications is that they utilize the embedded sensors of the iphone. These sensors include the built-in camera, the accelerator and gyroscope and the microphone. In this section, I will take a review of a typical example of them the Instant Heart Rate application developed by Azumio [1]. This application utilizes the built in camera of the iphone. The function of this application is that the user places his/her finger over the camera, and the measured heart rate will appear on display after about 10 seconds. The features of the application include the heart rate measurement, the real-time EKG like graph [1], interacting with social networks and a timeline. According to [1], the application detects the pulse on the fingertip by measuring color variation caused by the light passing through the fingertip and the capillaries inside the finger. The light changes as they expand and contract with each heartbeat [1]. Figure 1 shows the screen shot of this application. This Instant Heart Rate application has a free version and a pro version in the Apple App Store. The price of the pro version is 99 cents in the Apple App Store. [2] The difference between these two versions is that the pro version will allow the user to store more than 5 measurements in their timeline [1], contain no advertisements and shows a progress chart in the user interface. 1

Figure 1: Screenshot of Instant Heart Rate Application 2. Professional Pulse Reading Medical Apparatus Survey Common pulse reading apparatus can only measure the heart rate without plotting the exact waveform of the heart pulse signal while Electrocardiograph (ECG) devices detect and amplify the tiny electrical changes on the skin that are caused when the heart muscle depolarizes during each heart pulse [3]. Besides these two kinds of medical devices, another apparatus called Electro-Pulse-Graphics is newly developed as shown in Figure 2. This device can display the rates of the heart pulse as well as plot the waveform and do analysis. In most cases, a personal computer connects to this device to provide the required computing power for the pulse analysis. The waveform plot of the pulse on each acupuncture point, the classification result of the pulse type and the diagnosis of the body condition appears on the display of the computer. A fraction of the Electro-Pulse-Graphics devices with cutting-edge sensor technology have significant precision and extensive diagnostic values. As shown in Figure 3, High Energy Physics Center of the Chinese Academy of Sciences designed this device. This Electro- 2

Pulse-Graphics device can detect pulse on every single acupuncture point on the wrist to provide a rather comprehensive and accurate analysis of pulse. It is worth mentioning here that the average retail price of an Electro-Pulse-Graphics device is over 2000 U.S. dollars. Figure 2: Typical Electro-Pulse-Graphics device Figure 3: High-end Electro-Pulse-Graphics device 3

Methodology 1. Chinese Pulse Reading Methodology TCPD (Traditional Chinese Pulse Diagnose) has been proven to be clinically convincing and valid over 5000 years of the history of Chinese medicine. However, many people still consider it to be mysterious because of the difficulty in mastering it and analyzing it in a scientific method. Therefore, it is necessary to articulate TCPD in a mathematical way. Heart pulse can be recognized quantitatively by four metrics, the wavelength, the relative phase difference, the rate, and the peak ratio. This metric can reduce physician's personal bias when doing pulse diagnose. Based on these four metrics, Chinese pulse waveform patterns can be interpreted objectively. Figure 4: The scheme of areas computing, (a) S rect, (b) S pulse As Figure 4 shows, the pulse area of every period (S pulse ) and its rectangle area (S rect ) can be calculated. The Ratio of Pulse Area (RPA) [4] is defined by RPA = S pulse /S rect. In general, the Chinese medicine theory outlined and interpreted 26 basic pulse types [5]. Table 1 presents these pulse categories (6 out of 26) and corresponding waveform. In the signal processing part of the 4

application, we aim to classify the pulse by these patterns to give an informal diagnose of the user s health condition. Table 1: Examples of the basic pulse types Pulse Type Waveform Interpretation Normal pulse [sanmai] Knotted pulse [jiemai] Intermittent pulse [daimai] Hurried pulse [cumai] Fine pulse [ximai] Slippery pulse [huamai] A normal pulse with smooth, even and forceful condition.(60-90 beats per min) A slow pulse pausing at irregular intervals, often occurring in stagnation of qi or blood [5]. A slow pulse pausing at regular intervals, often occurring in exhaustion of viscera organs, severe trauma, or being seized by terror [5]. A rapid pulse with irregular intermittence, often due to excessive heat with stagnation of qi and blood, or retention of phlegm or undigested food [5]. A pulse felt like a fine thread, but always distinctly perceptible, indicating deficiency of qi and blood or other deficiency states [5]. A pulse like beads rolling on a plate, found in patients with phlegm-damp or food stagnation, and also in normal persons. A slippery and rapid pulse may indicate pregnancy [5]. 5

2. Hardware Design (Sensor Survey) The capstone project team studied optical sensors, piezoelectric sensors and MEMS sensors as candidates for the sensor of the application. Yuan Yang did a survey and research on Optical Sensors. Xi Peng did a survey and research on MEMS sensors. This thesis will introduce my survey and research on piezoelectric sensors and its advantages over optical sensor in this application. A piezoelectric sensor uses the piezoelectric effect to convert measured pressure to an electrical signal [6]. Figure 5 shows the photo of piezoelectric sensor and its schematic diagram. The voltage V at the source is directly proportional to the pressure [6]. Figure 5: Piezoelectric Sensor and its Schematic Diagram After searching different kinds of piezoelectric sensors and contacting suppliers, we decide to use a DT series and LDT series membrane piezoelectric sensor. Besides piezoelectric sensors, we also did a survey on the optical sensors. Optical pulse sensors typically measure the optical power variation that is due to absorption or scattering when the amount of blood in the measurement volume varies [7]. There are two classes of optical sensors. One class is based on transmission, and the other one is based on reflection. The transmission optical sensor is not applicable to thick fingers or wrists. In such cases, reflection optical sensors are more effective. In order to do experiments, we bought a set of optical sensors from [8]. Then we plotted the heart pulse on the oscilloscope using optical sensor and piezoelectric sensor respectively. 6

After doing experiments on the different sensors and comparing the output, we chose to use the piezoelectric sensor in the sensor gadget. The result of the comparison will be found in the Discussion section. After the survey, Yuan Yang did most of the hardware design of the sensor gadget. 3. Interface After some initial attempts, we settled on using the hijack module [9] to implement the data connection between the sensor gadget and the smart phone. Hijack is a hardware/software platform for creating sensor peripherals for the iphone. Hijack module harvests power and use bandwidth from the mobile phone headset interface [9]. The Hijack Development Kit provides a bi-directional interface between the mobile phone and the external peripherals [9], in this case, the sensor gadget. Given the bandwidth and frequency range of the interfacing channel, there are three ways to do the data transfer: (1) direct encoding in analog voltages, (2) encoding using modulated waveforms, (3) digitally transmitting serial data as a (Manchesterencoded) UART stream. 4. Signal Processing The signal processing is an essential component in this application. Since the application consists of hardware and software parts, the signal processing is both done in the hardware part and the software. Yuan Yang did the major part of the hardware design. She designed a filter to damper the noise of the raw signal from the piezoelectric sensor. Before the connection between the sensor gadget and the smart phone worked properly and stably, we used an Arduino module [10] to connect the sensor gadget to a personal computer or a Mac. We then experimented with the signal processing program. The Arduino module receives input from the senor gadget and transmits the signal 7

to the computer via USB port. The connection issues between the sensor gadget and the smart phone will be discussed in the discussion section. We used MATLAB to do the prototyping of the signal processing part. The capstone project team routinely interviewed with a Chinese Medicine expert and managed to translate her methodology of pulse reading and diagnosing to a signal processing program. Based on information from the interview, the team summarized the different aspects of signal processing in Table 2. Table 2: Methodology of the different aspects of signal processing Metrics of a heart pulse Intensity of the pressure placed on the wrist Variation of frequency Variation of amplitude Signal Processing Methodology Detect the sudden jump in the waveform Calculate the standard deviation of the time interval between peaks of the pulse waveform Calculate the standard deviation of the peak values of the pulse waveform after normalization The implication of stress level in TCPD The result produced by 3 different pressures indicates the wellness of different organs The property of user s mental stress(longterm/short-term) The level of mental stress 8

1. Implications of Sensor Selection Discussion We found the advantage of piezoelectric pulse sensor is its similarity to the real pulse reading technique as in Chinese medicine. Optical sensors cannot detect the subtle details in the pulse waveform. However, these subtle details of the heart pulse are crucial for classifying the pulse using the method discussed in the previous section. 2. Implications of Interface Selection There are two main interfaces that will be interacting with the end users. The first one is the connection between the sensor gadget and the smart phone, and the second one is the user interface on the smart phone. For the connection interface, the team has tried the Bluetooth, wireless sensor network and the wired hijack module. The project team has come up with three different solutions for the connection issue in the designing stage of the project. The connection solutions have to consider the connection stability, the performance of the connection, the licensing issues and the cost. This section will then introduce three connection solutions we have tried on this project. Bluetooth was the first option we have tried to utilize in the application because of its merit of mobility and a sufficient data transfer rate for this application. However, we are taking Apple s ios platform as the starting point of the prototyping and Apple has not opened up the Bluetooth API for universal devices via the ios development kit. Then we also tried to make the smart phone receiving data from the sensor gadget using wireless sensor network. However, the sensor gadget will need a gateway to send the data, and this will largely affect the mobility of the sensor gadget. 9

After the previous two attempts, we have come up with the wired communication implementation and found the hijack module [10] a potentially viable choice for the sensor gadget. 3. Results Figure 6 shows the final prototype of the sensor gadget. Figure 6: The hardware prototype of the sensor gadget Figure 7 shows the connection between the sensor gadget and the smart phone. Figure 7: The connection between the sensor gadget and the smart phone using the hijack module 10

The capstone project team has collected each member s pulse data at different time points on a daily basis. What we are able to diagnose is the class of the pulse we have. However, we did not find a strong difference or relationship between the measurements on different days. Figure 8 shows a typical waveform we plot from the sensor data. The upper part is the original pulse signal waveform, and the lower part is the resulting plot after extraction of the peak. We have observed that the real world situation is identical to the hypothesis and methodology we applied in the signal processing part. 1000 original pulse signal 800 600 400 200 0 0 1000 2000 3000 4000 5000 6000 1000 pulse signal after denoising 800 600 400 200 0-200 0 1000 2000 3000 4000 5000 6000 Figure 8: Typical waveform plotting 11

Conclusion This paper elaborated and discussed the design and analysis of the prototype of the pulse reading mobile application. Sensor selection, sensor gadget design, interfacing, and signal processing are mainly discussed in this paper. Although the data connection solution between the sensor gadget and the iphone is still under development, this paper has articulated the simulation of the pulse signal processing procedure in MATLAB. The pulse data collected from the sensor gadget provides sufficient data to the signal processing part. The signal processing mechanism can classify the heart pulse into different classes reflecting the mental stress level of the user. The future work of this project can be designing the backend server of the application. The server will store the user s long-term pulse data and run a machine-learning mechanism which provides the users a long-term diagnosis. 12

References Reference: [1] http://www.azumio.com/apps/heart-rate/ [2] http://itunes.apple.com/us/app/instant-heart-rate-heartrate/id395042892?mt=8 [3] http://en.wikipedia.org/wiki/electrocardiography [4] Xu L et al.: Objectifying Researches on Traditional Chinese Pulse Diagnosis. Informatica Medica Slovenica 2003; 8(1) [5] The Significance of Traditional Pulse Diagnosis in the Modern Practice of Chinese medicine, Retrieved from http://www.itmonline.org/arts/pulse.htm [6] http://en.wikipedia.org/wiki/piezoelectric_sensor [7] Sensor Report ITP 2008. Retrieved from http://hrsensor.wordpress.com/ [8] http://pulsesensor.com/ [9] Ye-Sheng Kuo et al.: Hijacking power and Bandwidth from the mobile phone s Audio Interface. ACM DEV 10, December 17-18, 2010, London, United Kindom. [10] http://www.arduino.cc/ 13