550 likes | 765 Views
ECG Project. By Lambda Team Anthony Shelton Jonathan Killen Quintelle Griggs Chan Hauw Ki. ECG Heart Monitor. Use for high-risk heart attack patients Have electrodes on patients Have patients wear device. Differential Amplifiers. A/D Converter. Microprocessor.
E N D
ECG Project By Lambda Team Anthony Shelton Jonathan Killen Quintelle Griggs Chan Hauw Ki
ECG Heart Monitor • Use for high-risk heart attack patients • Have electrodes on patients • Have patients wear device Differential Amplifiers A/D Converter Microprocessor
Problems Dealt With in the Project • Determine patient’s heart rate when it is below 60 or above 150 beats per minute • Send signal to nearest aid
Probable solutions to problems • Use blue-tooth technology for alerting the caregiver • Display signal of QRS waveform
Inclusions of project • Analysis and Detection of Signal • Use of Differential Amplifiers • Use of Microprocessor • Use of Analog/Digital Converter • Use of Printed Circuit Board
MAX 1240 A/D CONVERTER • Low Power (+2.7V to 3.6V) • Internal 2.5V Reference • Shutdown mode (2microAmps)
FEATURES of the 68HC811E2 • MC68HC11 CPU • 512 Bytes of On – Chip RAM • 2048 Bytes of EEPROM • Power Saving Stop Mode • 5V Operating Voltage
ELECTRICAL ACTIVITY OF THE HEART PROVIDES: • Heart Rate • Previous heartattacks • Increased thickness of the heart muscle • Signs of decreased oxygen delivery to heart
HEART RATE RATE = 60/(R-R interval)
Determine when new data is available Recognize R-wave of the QRS complex Count the time between the occurrence of 2 R-waves Compute heart rate Determine if heart rate is > or < a specified value Sound an alert depending on heart rate SUMMARY OF CODE TO ANALYZE DATA
Instrumentation Amplifier Stage Instrumentation Amplifier A/D Converter Microprocessor
What we have: EKG signal (5 mV range) What we need for the A/D converter: Signal range of 2.5V Frequency range from 0.18 Hz - 160 Hz Common-mode signals rejected Where to start?
Complete Design • Instrumentation Amplifier
Common-mode rejection of 115dB Isolates EKG differential signal that we want Prevents interference from radiated AC (such as the lighting in a room) Gain of 10 MAX 4194 Instrumentation Amplifier
Inside the Instrumentation Amplifier • Two stages of Op-Amps • All the same Resistor values Gain = 1 Gain = 10
Complete Design • Patient Reference
Patient Reference • It is helpful to reference the signal with respect to the patient’s potential (less variation) • Used values recommended for feedback Creates stability Forces the signal to centered around patient’s potential Reference point between voltage sources
Complete Design • Filters
High-Pass Filter Cutoff frequency of 0.18 Hz Low-Pass Filter Cutoff frequency of 160 Hz Filters
Complete Design • 5V Voltage Regulator
Regulate the voltage needed for the A/D Converter and the Microprocessor to operate Also, includes a Low Battery Indicator MAX 666 5V Voltage Regulator
Complete Design • Second Amplification Stage
A/D Converter needs the signal to have a voltage range of 2.5V Need another Op-Amp with a gain of 50 Total gain of 10 X 50 = 500 Amplify more for the A/D
Complete Design • Stop Interrupt
Finally, Stop Interrupt • Used to turn on and off A/D and microP • Creates a digital signal • Resistors set SPS to 500 REF from the A/D = 2.5 V “Sleep” or Stop signal helps conserve power
5 V 3.75 V 2.5 V … … 1.25 V 0 V Voltage over the Capacitor • Voltage across the capacitor tries to push all the way to 5V and down to GND, but gets flipped. Discharging Charging • This creates the digital signal at the output to turn the A/D and the microP on and off
Power Budget microP : 15mA 100uA A/D: 4mA 10uA 4 Op-Amps: 40uA Inst. Amp: 93uA Voltage Reg.: 12uA Average Load = about 2.2mA @ 10% duty cycle Speaking of power Min Load = about 250uA Max Load = about 20mA
Small & little weight (9grams) Best battery found would last 300 hr (12 ½ days) Is that long enough? What is the best battery to use? Wafer Lithium • Very small & light weight (5grams) • Can not handle our load for more than 5 hr • Not enough time. ½ AA Lithium/Thionyl • Is this the best battery for us?
Printed Circuit Board • Need a drilling machine drill the PCBoard. • Holes will be drill according the size of individual component. • Pin size of: • Op-Amp chips • 8-pin SO
Printed Circuit Board Cont. • Pins size continue: • A/D Converter • 8-pin DIP and SO • Microprocessor • 38 General-Purpose I/O pins • 16 Bi-directional I/O Pins • 11 Input-Only Pins • 11 Output-Only Pins
Printed Circuit Board Cont. • Pin size continue: • Microprocessor • 48-Pin Plastic Dual In-Line Package (DIP) • 52-Pin Plastic Leaded Chip Carrier (PLCC)
PSPICE Program • MICROSIM PCBoard program • ISO PRO program • QUICKCAM program
MicroSim PCB Program • First load the drawn schematic file • Three files will be generated: • COMPONENT (Red) • TOP Layer • SOLDER (Red) • BOTTOM Layer • DRILL (Gray) • Drill size
MicroSim PCB Program • Why need three file for drilling: • Double-sided PCB • Next step ISO PRO!
ISO PRO program • Create two layers: • Blue layer (pads, traces) • Green layer (drill holes) • Why need this: • Used to ISOLATE the COMPONENT layer • Outline the pads and traces of design • ISOLATE the copper on the board
QUICKCAM Program • We need: • MIRROR the layer • REGISTER the layer • ISOLATE the layer • EXPORT the layer to the QUICKCAM • Final files the machines reads to mil a circuit board
Summary • Issues on product: • Power • Battery found so far: • Wafer Lithium 5hrs • Lithium/Thionyl 300hrs • Trade off: • Wafer Lithium is smaller but (<1 day) • Lithium/Thionyl bigger but (12 ½ day)
Summary Continue • Serial port interface, from the Bot-Board to the PC Board • Since we haven’t receive the A/D converter • A/D converter to the Microprocessor • Spice model that we haven’t found. (Microprocessor model, A/D Converter Model)
Summary continue • Issues concerns: • Realistic Constraints • Milling machine; OS for the processor assembler is only in Win 95/NT; Limited battery life • Economics • Inexpensive for hospitals to buy
Summary Continue • Environmental Implications • Save energy in order to use less battery • Sustainability • There will always be a need to monitor the heart of people with heart conditions
Summary Continue • Ethical Concerns • IEEE Ethical Standards • Health and Safety • Product does not shock patient; product is comfortable to wear
Summary Continue • Social Concerns • Allows patient more freedom; product is small enough to be discretely worn • Political • There are no political concerns for our device.
Summary Continue • Manufacturity • Estimated cost ($150 Dollars)
Summary Continue • Finished product would include: • All the devices on the PC Board should operate correct. • Microprocessor, A/D converter, Analog, Programming.