45
Presentation for ENSC 440/305 Instructors: Patrick Leung, Steve Whitmore Department of Engineering Science Simon Fraser University

Presentation for ENSC 440/305 Instructors: Patrick Leung, Steve Whitmore Department of Engineering Science Simon Fraser University

Embed Size (px)

Citation preview

Presentation for ENSC 440/305

Instructors: Patrick Leung, Steve Whitmore

Department of Engineering Science

Simon Fraser University

112/04/19 2

Outline

112/04/19 2

Introduction System Features System Development Scheduling Cost Potential Market Problems Encountered Future Extensions

Copyright © 2008 Corazon Engineering Inc.

112/04/19 3

Introduction

112/04/19 3Copyright © 2008 Corazon Engineering Inc.

112/04/19 4

Motivation

112/04/19 4

36% of all death in U.S. are caused by cardiovascular diseases in 2007

American Heart Association

Physicians cannot effectively predict heart attacStudy conducted by Dr. Lewis Kuller

“Heart rate itself does not completely reflect the state of the health of the heart, without knowing what the person is doing.”

Dr. William New, Stanford University

Copyright © 2008 Corazon Engineering Inc.

112/04/19 5

Existing Heart Rate Monitoring System

112/04/19 5

Most devices monitors heart rate only Do not know the activity associated with heart

rate Lack of mobility for medical equipments

Copyright © 2008 Corazon Engineering Inc.

112/04/19 6

Our Solution

Heart rate with their associated activity Non-invasive and mobile Monitoring result is transferable to medical professionals Affordable

Copyright © 2008 Corazon Engineering Inc.

112/04/19 7112/04/19 7

Corazon Engineering Inc.

Why we name ourselves Corazon? -Corazon means “Heart” in Spanish.

Our Mission Statement - Applying the cutting-edge technology to develop innovative

products on preventing heart related disease.

Copyright © 2008 Corazon Engineering Inc.

112/04/19 8112/04/19 8

Company Profile

Benny Hung

[CEO]

Mike Mao

[CFO]

Thomas Cho

[CTO]

Philip Lin

[VP

of

Engineering]

Copyright © 2008 Corazon Engineering Inc.

112/04/19 9

System Development

112/04/19 9Copyright © 2008 Corazon Engineering Inc.

112/04/19 10

System Overview

112/04/19 10

Heart Rate Sensor

MotionSensor

MicrocontrollerUnit

Symbian Application

BluetoothModule

Nokia N 73Display

D

D C

D DD

C - Control

D - Data

Copyright © 2008 Corazon Engineering Inc.

112/04/19 11

Heart Rate Sensor Module

112/04/19 11

General ECG Properties Design Consideration Sensor Performance

Copyright © 2008 Corazon Engineering Inc.

112/04/19 12

General ECG Properties

112/04/19 12

ECG Signal Bandwidth: 0.5 Hz ~ 100 Hz

ECG Signal Amplitude : ~ 1mV

Copyright © 2008 Corazon Engineering Inc.

112/04/19 13

Design Consideration

Proper filters to extract the heart beat information

Suitable amplifiers to provide signal for MCU to calculate heart rate

Copyright © 2008 Corazon Engineering Inc.

112/04/19 14

Design Overview

Low Pass Filter

40 KHz

InstrumentationAmplifier

Low Pass Filter

100 Hz

Notch Filter60 Hz

ArtifactRemover

Output Amplifier

ECG SignalInput

PulseOutput

Copyright © 2008 Corazon Engineering Inc.

112/04/19 15

Artifact Remover

With Artifact Remover

Without Artifact Remover

112/04/19 16

Filter Performance

100Hz Low Pass Filter

Copyright © 2008 Corazon Engineering Inc.

60Hz Notch Filter

112/04/19 17

FFT for Pulse Output

Copyright © 2008 Corazon Engineering Inc.

112/04/19 18

How does it look

Before After

Copyright © 2008 Corazon Engineering Inc.

112/04/19 19

Motion Sensor Module

MEMS based accelerometer

3-Axis output

112/04/19 19Copyright © 2008 Corazon Engineering Inc.

112/04/19 20

Functionality

G-forces table

Set threshold at boundary

Copyright © 2008 Corazon Engineering Inc.

G Force Analog Value

- 1 1.00 V

0 1.70 V

1 2.30 V

G Force Analog Value

0.5 2.00 V

-0.5 1.22 V

112/04/19 21

How does it look

Copyright © 2008 Corazon Engineering Inc.

112/04/19 22

Microcontroller

112/04/19 22

I/O Connections Heart rate detection Position/Motion detection

Copyright © 2008 Corazon Engineering Inc.

112/04/19 23

I/0 Connections

112/04/19 23

ADC

Timer input capture

UART

Copyright © 2008 Corazon Engineering Inc.

Motion sensor Heart rate Bluetooth

112/04/19 24

Heart Rate Calculation

PeriodTHeartRate

60

Copyright © 2008 Corazon Engineering Inc.

112/04/19 25

Position/Motion Detection

1

1.2

1.4

1.6

1.8

2

2.2

2.4

0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000

Stationary

Average

1

1.2

1.4

1.6

1.8

2

2.2

2.4

0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000

Moving

Average

Average 1.78Variance 0.025

Average 1.76Variance 0.19

Copyright © 2008 Corazon Engineering Inc.

Stationary

Moving

112/04/19 26

Implementation in MCU

Human motion limitation at 4 Hz Sampling at 10 Hz Average of data for static position Variance of data for motion level

Copyright © 2008 Corazon Engineering Inc.

112/04/19 27

Firmware Flow Chart

112/04/19 27Copyright © 2008 Corazon Engineering Inc.

Start

Initialization

Pulse Captured?

Timer Time Out?

Enable Interrupt

Error HandlingCalculate

Heart RateUpdate

Heart Rate

Add New SamplesTo Motion Buffer

Position/Motion

Detection

Buffer OV

TransmitData to BlueTooth

No

Yes

Yes Yes

No

No

112/04/19 28

Symbian Application

Bluetooth client User interface for our system Logs data into text file

112/04/19 28Copyright © 2008 Corazon Engineering Inc.

112/04/19 29

Application State Diagram

Copyright © 2008 Corazon Engineering Inc.

Getting Service

Getting Connection

Getting Device

DisplayError

Connected Receive

Disconnect

Idle

Bluetooth Connect Initiated

HRMMS DeviceSelected

No Bluetooth Device Found

No Service Found/Firmware Error

Phone Found HRMMS Service

Cannot Establish Connection

Connection Establish

Check For Incoming Data

No Incoming Data

Disconnect Initiated Disconnect Initiated

Received Incoming DataNo Command

Return to Idle

Return to Idle

User Chose to Research Device

112/04/19 30

Scheduling

112/04/19 30Copyright © 2008 Corazon Engineering Inc.

112/04/19 31112/04/19 31

Initialize Schedule VS. Actual Progress

Copyright © 2008 Corazon Engineering Inc.

Initialize Schedule

Actual Progress

112/04/19 32

Cost

112/04/19 32Copyright © 2008 Corazon Engineering Inc.

112/04/19 33112/04/19 33

Cost Comparison

Miscellaneous Include: connector head, power switch, LED and Labeling

Components Budget Cost Implementation Cost

Accelerometer 10.00 20.00

ADC 20.00 -

Battery Power System 20.00 10.00

Bluetooth Module 50.00 97.00

Cables 20.00 5.00

Case 20.00 10.00

Electrode 20.00 8.85

Heart Rate Monitor Module 80.00 38.00

Microcontroller 100.00 60.00

PCB 10.00   -

Miscellaneous 50.00 50.00

PCB Fabrication from Hong Kong - 400.00

Total Cost 400.00 698.85

Copyright © 2008 Corazon Engineering Inc.

112/04/19 34

Potential Market

112/04/19 34Copyright © 2008 Corazon Engineering Inc.

112/04/19 35

Personal Health Monitoring Elderly Home Monitoring Heart Rehabilitation Program Military and Rescue Personnel Use Athletic Performance Training

Potential Market

Copyright © 2008 Corazon Engineering Inc.

112/04/19 36

Problems Encountered

36Copyright © 2008 Corazon Engineering Inc.

112/04/19 37

Problems Encountered

112/04/19 37

Signal artifacts caused by electrode contact Initial motion sensors broke during testing Homemade PCBs did not turn out well Microcontroller register not set properly Symbian application installation problems due to

IDE versioning

Copyright © 2008 Corazon Engineering Inc.

112/04/19 38

Future Extensions

38Copyright © 2008 Corazon Engineering Inc.

112/04/19 39

Future Extensions

39

Wireless Sensor Additional static positions detection Specific motion detection Port our phone application to other platform Variety of Bio-Sensors for other health monitoring

Copyright © 2008 Corazon Engineering Inc.

112/04/19 40

Acknowledgements

112/04/19 40Copyright © 2008 Corazon Engineering Inc.

112/04/19 41

ProductDemonstration

112/04/19 41Copyright © 2008 Corazon Engineering Inc.

112/04/19 42

Question Period

112/04/19 42Copyright © 2008 Corazon Engineering Inc.

112/04/19 43

Our Feelings

Copyright © 2008 Corazon Engineering Inc.

Benny Hung – “A milestone for all knowledge I have learned in the past five years as a undergraduate student”

Mike Mao – “A great overall engineering experience, from initial design to the completion of prototype device”

Thomas Cho –“A great opportunity for me to learn more about Symbian programming”

Philip Lin – “Amazing team work experience and a good opportunity to apply all the hardware knowledge learned throughout my undergraduate studies”

112/04/19 44

We are done !

Copyright © 2008 Corazon Engineering Inc.

112/04/19 45

End

112/04/19 45Copyright © 2008 Corazon Engineering Inc.