Professional Documents
Culture Documents
Introduction
Why did we choose this topic? Create an equipment to be used in everydays life for a medical purpose Obtain the basic idea from Wireless Heart Attack Detector with GPS of Fall 2004 Most heart attack results from coronary artery disease (the restriction of blood flow to the heart) and it causes instant death of person
----The Center for Disease Control
Help senior citizens who have health hazardous moment most often Use a walking stick as the medium asking for medical help as well as the main unit of detection
Objective
Goals of Design: -The wireless heart attack detector captures abnormal heart beat signals. -The alert system on the walking stick warns the user to realize his health condition. -Bluetooth wireless emergency calling system calls for help at the moment of heart attack via mobile phone.
Objective (continued)
Benefits: Electrocardiogram (ECG) signal transmitted wirelessly from the wrist to the main unit on the stick. This avoids the inconvenience of the attachment of the stick to the wrists. Automatic wireless emergency calling system via Bluetooth module Warning mode giving the users a chance to avoid the fatal moment actively
Obtain ECG waveform from both wrists. Transmit ECG waveform wirelessly from wrist to a receiver on the stick. Microcontroller on the stick will run a heart attack algorithm to detect possible heart attack. Microcontroller will make the users cell phone to call 911 if heart attack detected.
6
Block Diagram
Electrodes
ECG Unit
A/D Converter
Transmitter
Receiver
ECG Analog Circuitry to obtain analog ECG waveform from wrists Unity-Gain Buffer. As Impedance Transformer. Skin impedance is high and Op-Amps input impedance is infinity. Differential Amplifier. Taking the difference between two bio signals from both wrists and output the ECG waveform with desired gain.
8
1.
2.
PIC16F877 as A/D Converter and RS232 A/D Conversion Analog ECG signal will be digitized into 8 bits (0 127). RS232 -Parallel bits of ECG digital data will be translated into serial bits for transmission. -It is a standard for serial binary data interchange between a DTE (Data terminal equipment) and DCE (Data communication equipment)
10
1.
2.
***All the above components, ECG analog circuitry, PIC16F877 and HP-3 Transmitter will be worn on a wrist.
11
Schematics
C2 U1 0.01u V1 (EC in G put ) 3 2 + 6 R1 10k LM741C R4 1k R5 R2 10k R9 R11
4 5
7 1
1k
R10 3k
150k
33k
1k
U2
R8 33k
7 1
7 1
an tenn a 0 0 1
VC 5V DC C Fr om D SP
1u U3
R6 100k
7 1
V2 (EC in G put )
0
C3 R12 PI C16F 877 0.01u 1k 1 2 3 01 GN D 02 RF /ANT Out 03 CS 0 04 CS 1 05 CS 2 06 CT S 07 PD N 08 VC C 09 GN D/MO DE 10 An alog In 0V VDC 5V VDC 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 Size A Date: Title 1 14
12Vdc - 12Vdc
8 F1 100E 7
ECG Ampl ifi er , Dig ital Sig nal Pr ocessor and Transmi tter ( Helen Kim, Choon Lee) Document Number < Doc> Thur sday, Apr il 28, 2005 Sheet 1 of 1 Rev < Rev Code>
R7
C1 6
V1
4 5
LM741C
R3 10k
4 5
LM741C 2
4 5
LM741C
V2
0 0
V3 5Vdc
12
13
HP-3 Receiver
1. The receiver will receive digital ECG waveform from wrist. 2. The receiver will then feed the digital signal to Javelin microcontroller.
14
1. Microcontroller will run an algorithm through the ECG data to detect heart attack symptoms.
15
2. Heart Attack Algorithm - Symptoms of Heart Attack Weak Amplitude, Irregular Heart Pulse and Widened QRS Pulse. - Checking Amplitude -A baseline is set up by averaging all the data points.
16
18
Alert Level - The failure of each of the three symptoms will raise the alert level. -The threshold of the alert level is set to 10. -If threshold is surpassed, emergency call will be activated.
19
LEDs -Two LEDs will indicate the alert level. -First LED means low risk, which will be turned on for alert level between 4 and 6. -Second LED means high risk, for alert level between 7 and 9.
20
EB500 Bluetooth Module -Javelin Stamp will send some commands to EB500 to set up a connection between the bluetooth module and the cell phone. -Bluetooth communication is nothing than just a wireless serial cable after the connection is set up.
21
AT commands -AT commands direct a phone to dial (D), answer (A) and hang up (H). -Every AT command starts with AT (Attention). This is the command line prefix.
22
23
Schematics
PC Serial Port Microcontroller Javelin Stamp DSR 6 2 7 RTS 8 4 9 5 05 P0 06 P1 07 P2 08 P3 09 P4 10 LINX HP-3 Receiver 11 12 01 antenna 02 03 GND 04 GND 05 GND 06 GND 07 GND 08 GND 09 N/C 0 0 0 Channel Select 10 CS0 11 CS1 12 CS2 13 PDN 14 RSSI 15 GND/MODE 16 VCC 5V DC 17 Analog Out Digital output to Javelin 18 Digital Out LED Size A Date: VCC 33k Title < Title> Document Number < Doc> Thur sday, Apri l 28, 2005 Sheet 1 of 1 Rev < Rev Code> LED D3 Emergency Call Activated R3 33k D2 High Risk R2 LED 33k D1 Low-Risk R1 5V VDC RF Input/Anttena Input GND P6 P7 P9 13 P8 'Alert Level' to Microcontroller BasicX P5 P10 14 P11 15 20 Vin 19 P12 16 18 17 P13 17 16 15 P14 18 14 13 P15 19 12 GND 04 VSS VDD 20 3 DTR 03 ATN RES' 21 08 TX 02 Sin Vss 22 06 CTS RTS 07 Status 10 Mode Ctrl 11 09 1 RX 01 Sout Vin 23 04 TX RX 05 24 02 VSS VSS 03 9 V VCC Bluetooth Module EB500 01
24
Functional Testing
A/D Testing by inputting a known voltage level and checking the corresponding digital value. 0.1V - 5 1.0V 50 2.0V 100 2.5V 125 8 bits can only go up to 127 The highest peak of ECG waveform from analog circuitry will be amplified to only 2.0V
25
Functional Testing
Collecting ECG waveforms -ECG Samples of team members -Notice that the amplitude is between 127 and -127 for 8 bits A/D.
150
100
50
0 1 18 35 52 69 86 103 120 137 154 171 188 205 222 239 256 273 290 -50
Series1
-100
-150
26
50
0 1 -50 18 35 52 69 86 103 120 137 154 171 188 205 222 239 256 273 290
Series1
-100
-150
27
50
Series1
-100
-150
28
Functional Testing
-
Heart Attack Algorithm Testing One of the ECG samples shown was stored and was changed in terms of amplitude, rate and width. Javelin Stamp was modified to run with this modified data. Each of the three thresholds responded correspondingly.
29
Functional Testing
Bluetooth Communication & Lab Call -The communication worked properly and the lab phone rang properly.
30
31
- ECG waveforms were captured by Javelin Stamp to test the wireless communication between wrist and the stick. -Suitable bluetooth module was selected carefully by reading data sheets to check certain commands to make sure that it is connectable to a cell phone.
32
The notion of AT commands was obtained by surfing online technical forums. AT commands were given by somebody met at a technical forum.
33
Test
Operation Temperature We chose the reasonable range of outer weather. Test Range: -25C to 50C inside freezer and by hair dryer Result: We could observe that the whole system behaved properly.
34
Test (continued)
Transmitter / Receiver
For our design, we assume the user stays the range of area near to the stick.
Test range between wrist circuitry and the stick : ~40 ft The javelin still could capture the digital signal.
35
Recommendations
Better biosensors that reduce noise when hands are moving. Better circuit design to reduce power consumption. Lighter material for the wrist circuitry and the main unit on the stick.
36