Electrocardiograph: Instructor's Portion
Electrocardiograph: Instructor's Portion
WeiLin
DepartmentofBiomedicalEngineering
StonyBrookUniversity
Instructors Portion
Summary
Thisexperimentrequiresthestudentstobuildaelectrocardiographbased
onthepreviousprojectsofinstrumentationamplifierandhighpass/low
passfilters.ThestudentsarerequiredtobuildasubVIthatcanmeasure
theheartratefromthecollectedECGsignal.
Uses
Thislectureappliestoallcoursesofvirtualinstrumentation.
Equipment List
Computers
LabVIEW7Express
NIELVISbenchtopworkstation
VIsfromtheprojectDataAcquisitionUsingNIDAQmx
References
Students Portion
Introduction
Thestudentswillbuildtheelectrocardiogram(ECG)amplifierbasedonthe
providedschematicsdiagram.TheywilldevelopaVIthatcandetecttheR
waveintheECGsignalandconverttheRRintervalintoheartrate.TheECG
amplifierwillbebasedonthecircuitsdevelopedinthepreviousprojectsof
instrumentation amplifier and filters. The students will modify the data
acquisition VIs developed in the previous project titled Data Acquisition
UsingNIDAQmxVIstocollectECGandmeasureheartrate.
Objectives
ECGamplifier
DataacquisitionusingLabVIEW
DataanalysisusingLabVIEW
Theory
The basic ECG amplifier consists of two components. The first component
is the instrumentation amplifier with typical gain of 1000 (60dB). The
second component is the band-pass filter. The low cutoff frequency is
around 0.5Hz to minimize the baseline shift. The high cutoff frequency is
around 100Hz for antialiasing purpose.
Lab Procedure
1. KeepELVISworkstationpoweroff.
2. Locatetheinstrumentationamplifierontheprototypingboardand
identifytheresistorR4andR5.Replacetheresistorswithresistorsof
10k
3. Connecttheoutputoftheinstrumentationamplifiertotheinputofthe
highpassfilter.
4. ConnectBANANAAontheprototypingboardtothepositiveinputof
instrumentationamplifier(Pin3ofLF353)
5. ConnectBANANABontheprototypingboardtothenegativeinputof
instrumentationamplifier(Pin5ofLF353)
6. TurnontheELVISworkstation.
7. PlaceECGelectrodesonthewristsofbotharmsandconnectthe
electrodestotheconnectors(BANANAA&B)oftheELEVIS
station.
8. LaunchLabVIEWandELVIS.
9. Measurethefrequencyspectrumoftheamplifierbymeasuringthe
gainatmultiplefrequencypoints.
10. UseELVISscopetochecktheECGsignal.
11. UsingfinitedataacquisitionVItorecordECGsignals
12. ModifythecontinuousdataacquisitionVImeasuretheheartrate.The
subVIforthemeasurementofheartrateshouldbefinishedbeforethe
lab.Studentsareencouragedtodeveloptheirownalgorithms.
Lab Report
Thelabreportshouldcontainthefollowing:
1. Theexperimenttitle
2. Theexperimentobjective
3. Theexperimentprocedureandtheory.Experimentresults,which
includetheplotforfrequencyspectrum(gainvs.frequency).
4. Discussion
5. Youmayaddyourlabdesignintothisproject.
6. YoumustsubmitthesubVIfortheheartratemeasurementwiththe
descriptionofuse.
Pleasesubmitthereportthroughemail.
Appendix
Filterschematics