ENGR 499: Wireless ECG

Similar documents
Development of Electrocardiograph Monitoring System

The report presents the functionality of our project, the problems we encountered, the incurred costs and timeline for the project development.

BME 405 BIOMEDICAL ENGINEERING SENIOR DESIGN 1 Fall 2005 BME Design Mini-Project Project Title

STM32 microcontroller core ECG acquisition Conditioning System. LIU Jia-ming, LI Zhi

EE 230 Experiment 10 ECG Measurements Spring 2010

ECE 480 Design Team 6 Electrocardiography and Design

Massachusetts Institute of Technology MIT

A Dynamically Reconfigurable ECG Analog Front-End with a 2.5 Data-Dependent Power Reduction

Radio Frequency Power Meter Design Project

Total Hours Registration through Website or for further details please visit (Refer Upcoming Events Section)

Auto Harmonizer. EEL 4924 Electrical Engineering Design (Senior Design) Preliminary Design Report 2 February 2012

Oscillator/Demodulator to Fit on Flexible PCB

EMG click PID: MIKROE-2621

6.101 Introductory Analog Electronics Laboratory

Analog Circuits and Systems

ECE 445 Fall 2017 Project Proposal. Recovery-Monitoring Knee Brace

ECE 342 Fall 2017 Optoelectronic Link Project Lab 2: Active Bandpass Filters

INTELLIGENT HOME AUTOMATION SYSTEM (IHAS) WITH SECURITY PROTECTION NEO CHAN LOONG UNIVERSITI MALAYSIA PAHANG

12/31/11 Analog to Digital Converter Noise Testing Final Report Page 1 of 10

AN4995 Application note

Florida Atlantic University Biomedical Signal Processing Lab Experiment 2 Signal Transduction: Building an analog Electrocardiogram (ECG)

SIMPLE Raspberry Pi VHF TRANSCEIVER & TNC

ECE 6770 FINAL PROJECT

Lecture 14 Interface Electronics (Part 2) ECE 5900/6900 Fundamentals of Sensor Design

The AD620 Instrumentation Amplifier and the Strain Gauge Building the Electronic Scale

Aztec Micro-grid Power System

The Cricket Indoor Location System

An IoT Based Real-Time Environmental Monitoring System Using Arduino and Cloud Service

Analog Circuits and Systems

ECG Project. Raphal Blanchet, Axel Boland, Thomas Donnay, Mario Jose Teles Varandas, University of Liege

Lab 2: Optical Theremin Team 2 Flyback By Brian Pugh, Andrew Baker, and Michael Betts

Tracker by design. December 10, Dr. Andrew Rawicz School of Engineering Science Simon Fraser University Burnaby, British Columbia V5A 1S6

ENGI1020. Lab 0 Introduction to Arduino IDE and Hardware Lori Hogan, Lab Instructor - Winter 2019

BIOMEDICAL INSTRUMENTATION PROBLEM SHEET 1

Design and Implement of a Frequency Response Analysis System

IMPROVEMENTS IN ELECTROCARDIOGRAPHY SMOOTHENING AND AMPLIFICATION

Lecture 4 Biopotential Amplifiers

Spectrum Detector for Cognitive Radios. Andrew Tolboe

Published in: Proceedings of the 8th International Conference on Tangible, Embedded and Embodied Interaction

WRIST BAND PULSE OXIMETER

6.111 Final Project Proposal HeartAware

Functional Specification for Wireless Ultrasonic Waterflow Monitoring System Project Team: Timbo Yuen Eric Lo Ehsan Arman Ye Lin Babak Razzaghi

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

International Journal of Advancements in Research & Technology, Volume 2, Issue 12, December ISSN

Name Kyla Jackson, Todd Germeroth, Jake Spooler Date May 5, 2010 Lab 3E Group 3 Experiment Title Project Deliverable 3

Proposal Smart Vision Sensors for Entomologically Inspired Micro Aerial Vehicles Daniel Black. Advisor: Dr. Reid Harrison

HUMAN BODY MONITORING SYSTEM USING WSN WITH GSM AND GPS

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

GENESIS TECH PROJECT

EMG Sensor Shirt. Senior Project Written Hardware Description April 28, 2015 ETEC 474. By: Dylan Kleist Joshua Goertz

Chapter 4 4. Optoelectronic Acquisition System Design

Embedded Test System. Design and Implementation of Digital to Analog Converter. TEAM BIG HERO 3 John Sopczynski Karim Shik-Khahil Yanzhe Zhao

APPENDIX E: IWX214 HARDWARE MANUAL

Pulse Sensor Individual Progress Report

Designing with a Microcontroller (v6)

Lone Star Neuromodulation

DESIGN AND IMPLEMENTATION OF MOBILE WIRELESS OSCILLOSCOPE AND FUNCTION GENERATOR

Auto Harmonizer. EEL 4924 Electrical Engineering Design (Senior Design) Final Design Report 26 April 2012

common type of cardiac diseases and may indicate an increased risk of stroke or sudden cardiac death. ECG is the most

GSM based Patient monitoring system

White Paper Kilopass X2Bit bitcell: OTP Dynamic Power Cut by Factor of 10

GSM BASED PATIENT MONITORING SYSTEM

A Body Area Network through Wireless Technology

Deepali Shukla 1 (Asst.Professor), Vandana Pandya 2 (Asst.Professor) Medicaps Institute of Technology & Management, Indore (M.P.

Initial Project and Group Identification Document September 15, Sense Glove. Now you really do have the power in your hands!

Sandia National Laboratories Clinic Team

Wireless In Vivo Communications and Networking

Cloud Based LightSwitch Edgar Lopez Garcia Professor Kastner CSE 145 Spring 2016

Notes on Experiment #1

Training Schedule. Robotic System Design using Arduino Platform

Smart Garden Inc. Auto Watering System

CPR For Dummies Bathtub Drowning Prevention

Week 7: Design a Logarithmic Voltmeter. A variation on Experiment 19 Validation by 8pm on October 14

Implementation of Mind Control Robot

Radar Shield System Design

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

A Digital Signal Processor for Musicians and Audiophiles Published on Monday, 09 February :54

A Closed-Loop System to Monitor and Reduce Parkinson s Tremors

Simple Heartbeat Monitor for Analog Enthusiasts

MAKING TRANSIENT ANTENNA MEASUREMENTS

REAL-TIME WIRELESS ECG AND ITS SIGNAL DISPLAY ON LABVIEW

Design of Virtual Sphygmomanometer Based on LABVIEWComparison, Reflection, Biological assets, Accounting standard.

Lab 7: Team Project BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

P08050 Remote EEG Sensing

Sensor, Signal and Information Processing (SenSIP) Center and NSF Industry Consortium (I/UCRC)

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory

Experiment 5.B. Multifunction Wireless Control. ECEN 2270 Electronics Design Laboratory 1

Testing Sensors & Actors Using Digital Oscilloscopes

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page!

Post Mortem for the HeartMon TM

1 Overview. 2 Design. Simultaneous 12-Lead EKG Recording and Display. 2.1 Analog Processing / Frontend. 2.2 System Controller

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

WIRELESS ELECTRONIC STETHOSCOPE USING ZIGBEE

Lab E5: Filters and Complex Impedance

FACULTY MENTOR Khoshabeh, Ramsin. PROJECT TITLE PiB: Learning Python

Project in Wireless Communication Lecture 7: Software Defined Radio

Keysight Technologies Pulsed Antenna Measurements Using PNA Network Analyzers

Transcription:

ENGR 499: Wireless ECG Introduction and Project History Michael Atkinson Patrick Cousineau James Hollinger Chris Rennie Brian Richter Our 499 project is to design and build the hardware and software for a wireless Electrocardiogram device, and to create a corresponding Android application. The envisioned end product is one that a person with known heart problems can use for twenty four hour ECG monitoring and feedback. This project is based on several 399 projects from fall 2012 one detailed the hardware, and another the software specifics for this device. We think that the hardware portion is going to be straightforward, and not large enough on its own to be a 499 project, while the software portion is complex enough that pieces can be worked on independently and in parallel. Electrocardiograms Electrocardiograms (ECGs) are used by medical professionals to monitor the heart of a patient. These devices usually operate with 12 leads connected to the patients skin in a prescribed pattern. An ECG can be used to detect abnormal cardiovascular symptoms, measure heart rates, and monitor heart diseases. The most common non medical application of an ECG is to measure a heart rate during a workout, however, the aim of this project is to prototype a device that could aid remote monitoring and feedback. The most important components of the ECG that the device needs to report include P wave, QRS interval, and the T wave. These waveforms have the inherent issue that the measurable signals have amplitudes in the range of 0.1mV to 10mV. Another issue with these signals is that the smallest time components last as little as 50ms(The PR segment), or 80ms (The entire QRS complex). This short time means that the sample speed for the signal needs to be significantly less than 25ms to ensure adequate sampling.

The device will not offer any medical opinions, but could valuable in monitoring for non continuous heart conditions and heart condition triggers that are not replicated in a hospital or clinical setting. As a result, the user would not need to continuously monitor the device, but could save and send abnormal conditions as they are encountered. This functionality has not yet been implemented, but is part of future plans. Hardware - building an ECG The original hardware proposal was to build the circuit using a series of amplifiers and filters. The figure below shows the proposed block diagram for the hardware components. Leads The current prototype has a three lead system. The prototype leads were made by soldering pennies onto a long wire to create a receiver for the small signal produced by the heart. Pennies were used due to their availability, low cost and high conductivity. Unfortunately, the magnitude of the signal produced by the heart is in the 0.1 10mV range, and is very susceptible to noise from motion, other body functions, and background noise. Two of the leads are connected across the heart to detect a signal, while the third is placed on the body to create a ground reference.

Amplifier The current design uses a single instrumentation amplifier with a high gain. An instrumentation amplifier was chosen because the heart signal has a floating reference. The model number of the chip used is the Texas Instruments INA126P. Using a total gain of around 1000, the signal will be in the range of 100mV to 1V. However, this signal will contain a large amount of noise that needs to be filtered out. The primary sources of noise will be high frequency noise and 60Hz power line interference due to our long leads. The diagram below shows the internal configuration of the instrumentation amplifier. High-Pass Filter The first stage in the filter network is a passive high pass filter with a 0.1Hz corner frequency. This filter removes the DC offset in our signal, and the corner frequency is set very low due to our signal components residing near 1Hz. The diagram below shows the designed high pass filter. Notch Filter The second stage is a 60Hz passive notch filter. This filter is crucial due to the leads used by the ECG. These function as antennas and pick up the 60Hz noise from power lines.

The diagram below shows the designed notch filter. This passive filter network may be replaced in the future with an active filter to increase the Q factor of the filter. Low-Pass Filter The low pass filter is designed with a corner frequency of 400Hz. This removes the unwanted high frequency noise from the waveform. As well, removing unnecessary high frequency portions of the signal will decrease signal bandwidth. A passive filter network was chosen as it is significantly easier to implement than an active filter. In the future, a second gain stage will directly precede this low pass filter. This is because we do not want to amplify the 60Hz noise as well. The diagram below shows the designed dual low pass filter. ADC The ADC is a critical component of the ECG module. It takes the received ECG signal from the electrode circuitry and digitizes it for transmission to the mobile phone application. At this stage of the project, we have chosen to use a Raspberry Pi microcomputer in order to fill the roles of ADC and bluetooth modules. Running a distribution of Debian Linux, the Raspberry Pi is capable of both the analog input and digital bluetooth transmission components of the ECG system. In the future, we would like to utilize an application specific microcontroller for this

portion of the project. For our prototyping stage, however, the Raspberry Pi is easy to use and implement. Bluetooth/Firmware Raspberry Pi At this stage of the project, we chose to utilize a Raspberry Pi linux based computer in order to handle the firmware side of the ECG. Utilizing a Python program, the Raspberry Pi will pair with and connect to the phone based android application using a USB bluetooth radio. RTOS vs non RTOS Standard operating systems focus on doing as much computation in the shortest time where real time operating systems put an emphasis on having a predictable response times. To ensure a predictable response time in the ECG it would be ideal to be using a real time operating system. For the prototype we are building we will be using a standard linux distribution. In light of this, the prototype ECG, running off of a Raspberry Pi, should meet any real time constraints that we have since the processor is overpowered for our application. We believe that the overhead from running a linux distribution should not significantly affect the sampling rate. Why not Arduino? We decided against using a widely available programmable microcontroller (such as Arduino) because of budgeting and complexity concerns. It creates a level of complexity when trying to send data over bluetooth. Using the Raspberry Pi with an attached usb module is trivial. The bluetooth library can be installed onto the Pi with a simple package installation. Software Progress The Android application portion of the project is progressing steadily, although we have had to deviate from the timeline. The timeline put major emphasis on the Bluetooth reading software component, as it blocked other tasks and components. However, we were not able to develop a hardware prototype as quickly as we planned, and thus had no device to transmit Bluetooth to test the Bluetooth server. Another false assumption we had made was that Android

would have a very simple Bluetooth wrapper library which would be as simple as Android s BluetoothAdapter object with which we had previous experience. Unfortunately, the Bluetooth connection involves setting up a listening Bluetooth server, and then servicing the connection and while this is not terribly difficult, it was more than we were expecting for this segment, and the increased complexity means more testing is required once we have a Bluetooth device to test. Bluetooth being blocked did not stop work on the whole application though: with some sample ECG data we created manually from a signal generator we were able to work on the signal charting component, making substantial progress. Deviation from original design As we put work into the software, it became apparent that the three application goals from the project s outset were large in and of themselves, let alone reading the Bluetooth data. We decided to focus on displaying the chart to the user and saving the data, and to not focus on the user notification/signal analysis portion. No group member is particularly well versed in signal analysis, or of ECG analysis, and testing of the feature would be involve simulating a heart attack from the Bluetooth data. This feature may be added in the future, but for now we will focus on just those two goals. We feel both goals are manageable: saving the data should be simple if Bluetooth data can be read properly, then it can be stored in a temporary data structure and saved in parallel. Displaying the chart gives the most feedback to a user, but is more difficult than saving: how real time should the display chart be? What amount of lag is acceptable? Should sensor data more than X seconds old be thrown out? What sampling rate should the hardware use to ensure the phone can process it in time? These questions will have to be addressed as the Bluetooth reading module is completed and we can test the app with an actual adjoining ECG sensor. Also, since this chart is the most user facing section of the application the UI will have to be carefully crafted to give the best look and feel possible. The toned down project design is reflected in the adjoining figure.

Figure 1.1 Android Application design without Notification Module Timeline Date March 1, Friday To be completed Last month: time to re evaluate goals/progress and set a new meeting

schedule to meet our needs. March 6, Wednesday Progress Meeting, ECS 124, 18:00 18:50 Progress Report #2 submitted to Supervisor, copied to Coordinator and TA March 11, Monday March 13, Wednesday March 15, Friday March 20, Wednesday March 25, Monday Software Finish data saving module Add a link from MainActivity to view data history. Some work done with Raspberry Pi and Bluetooth reading module Hardware Replace broken instrumentation amplifier and debug circuit Software Have Bluetooth reading module finished Hardware insert amplifier stage between notch and low pass filter stage Software Chart module should be displaying streaming Bluetooth data Hardware Duplicate amplification and filtering stages to ensure 5 leads Final Presentation Preliminary presentation design Software UI and overall look and feel should be acceptable quality. Layout/transitions should be finalized. Equipment Loan List for Project Demo to technical support staff Final Presentation Poster design completed March 27, Wednesday Final Presentation Poster printing (at ZAP?)

March 29, Friday April 5, Friday April 11, Thursday Poster Presentations starts at 16:00; Engineering Lab Wing Lobby; Setup starts at 13:00 Last day of classes, Final Report submitted to Supervisor (grade penalty may be applied to late submissions), project URL submitted to the Coordinator and TA Coordinator receives grades from Supervisors for Progress Reports and Final Report and Website evaluations from panel of judges