Embedded Microcomputer Systems - Final Exam Review Sheet | ECE 4437, Exams of Electrical and Electronics Engineering

Material Type: Exam; Class: Embedded Microcomputer Systems; Subject: (Electrical and Comp Engr); University: University of Houston; Term: Spring 2003;

Typology: Exams

Pre 2010

Uploaded on 08/19/2009

koofers-user-xcm-2
koofers-user-xcm-2 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Embedded Microcomputer Systems
Final Exam – Spring 2003
Open book, closed notes. You may have a single page that you have made up summarizing information
contained in your textbook. Answer on these pages only, using the back of the page if necessary. Show
all of your calculations (timing derivations, circuit values, etc.); don’t make me guess how you arrived at
your answer. Read the entire exam before proceeding.
You are to design an “ECG arrhythmia detector” as illustrated below:
ECG
arrhythmia
detector
Silence button
Alarm output
ECG analog input
ECG input: This is a very low-level analog signal in the range +/-1.5 mV. In general, it consists of a
series of “QRS complex” patterns that repeat at the heart rate, as illustrated below (this is not real data):
Filtered ECG Data
-1
-0.5
0
0.5
1
1.5
1000 2000 3000 4000 5000 6000 7000 8000 9000
time (ms)
R-waves
p
remature bea
t
R-R interval
QRS
The R-wave is the prominent sharp positive spike in the middle of the QRS. Detect the R-wave by:
a. using threshold detection at 0.5 mV, and
b. confirming that the width of the wave at the 0.5 mV level is between 10 and 40 ms (either
narrower or wider would mean it is some other kind of wave).
An R-wave that occurs at least 150 ms sooner than expected would indicate a “premature beat”. More
specifically, if an interval between two consecutive R-waves (R-R interval) is found to be at least 150 ms
less than the average of the three previous R-R intervals, the early R-wave is considered premature.
You are to design the hardware and software of an arrhythmia detector that detects premature beats. The
detector should be built around the 6812 microcontroller, plus additional electronics as necessary. The
algorithm you should use for the detection is:
1. Detect the next R-wave using criteria a. and b. above.
2. Compare the R-R interval with the average of the previous three.
Page 1 of 2
pf2

Partial preview of the text

Download Embedded Microcomputer Systems - Final Exam Review Sheet | ECE 4437 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

Embedded Microcomputer Systems Final Exam – Spring 2003

Open book, closed notes. You may have a single page that you have made up summarizing information contained in your textbook. Answer on these pages only, using the back of the page if necessary. Show all of your calculations (timing derivations, circuit values, etc.); don’t make me guess how you arrived at your answer. Read the entire exam before proceeding.

You are to design an “ECG arrhythmia detector” as illustrated below:

ECG

arrhythmia

detector

Silence button

Alarm output

ECG analog input

ECG input: This is a very low-level analog signal in the range +/-1.5 mV. In general, it consists of a series of “QRS complex” patterns that repeat at the heart rate, as illustrated below (this is not real data):

Filtered ECG Data

-0.

0

1

1000 2000 3000 4000 5000 6000 7000 8000 9000

time (ms)

R-waves (^) premature beat

R-R interval

QRS

The R-wave is the prominent sharp positive spike in the middle of the QRS. Detect the R-wave by: a. using threshold detection at 0.5 mV, and b. confirming that the width of the wave at the 0.5 mV level is between 10 and 40 ms (either narrower or wider would mean it is some other kind of wave).

An R-wave that occurs at least 150 ms sooner than expected would indicate a “premature beat”. More specifically, if an interval between two consecutive R-waves (R-R interval) is found to be at least 150 ms less than the average of the three previous R-R intervals, the early R-wave is considered premature.

You are to design the hardware and software of an arrhythmia detector that detects premature beats. The detector should be built around the 6812 microcontroller, plus additional electronics as necessary. The algorithm you should use for the detection is:

  1. Detect the next R-wave using criteria a. and b. above.
  2. Compare the R-R interval with the average of the previous three.

Page 1 of 2

Embedded Microcomputer Systems Final Exam – Spring 2003

  1. If the R-R interval is at least 150 ms shorter, do the following: a. Sound an alarm: call a global function startAlarm() (The alarm will be turned off by the Silence button). It will return immediately. b. Resume detection, but without updating the interval average with this short interval.

Software : Write the software to implement the detector. Organize your software in the way you have learned in your labs.

Hardware : Design the appropriate signal conditioning interface between the ECG and the 6812. Do not use the ADC input; instead, use the 6812’s input capture facility.

Questions : (1) What is the resolution in your measurement of the R-wave width? (2) What is the resolution in your measurement of the R-R interval?

You do not have to provide HW or SW for either the alarm or the Silence button.

Useful textbook references: Chapters 4, 6, and 11.

Page 2 of 2