68
1 BME 251 Lab sections Monday and Wednesday, 9-12 or 1-4 Lecture 12:10-12:50 Wed – Starting and finishing with 10 minutes to spare…people have lab just before and after

Lab Pacemaker Circuit

Embed Size (px)

DESCRIPTION

Lab Pacemaker Circuit

Citation preview

Page 1: Lab Pacemaker Circuit

1

BME 251

• Lab sections Monday and Wednesday, 9-12 or 1-4

• Lecture 12:10-12:50 Wed– Starting and finishing with 10 minutes to

spare…people have lab just before and after

Page 2: Lab Pacemaker Circuit

2

Changes from BME 221• Technical memo (Circuit Troubleshooting) 15%, • Progress Reports: Iontophoresis, EMG and Ultrasound @ 10%,• Primary Author report: 30% (same format, English included)• Teamwork Report: 5% (on primary author report only)• Secondary author reports: 20% (10% each)

• In lab performance- negative• Safety demerits- negative• Housekeeping demerits- negative

Page 3: Lab Pacemaker Circuit

3

Teamwork Report• Additional work for lab manager• Include assignments in prelab writeup and make

sure that they are followed• 1-2 pages (separate from report, LBP will grade

all) describing how the groups worked as a team– Details on who did what– Efforts to balance work– Truth not fiction– Grade based on efforts of Lab Manager to keep all group

members engaged and actively participating

Page 4: Lab Pacemaker Circuit

4

Date Week # Lecture Topic

1/18/05 1 Course Introduction, Circuit Troubleshooting

1/25/05 2 Introduction to EMG, Ultrasound, and Iontophoresis Labs

2/1/05 3 Ultrasound Theory and Details (Prof. Stas Emianov)

2/8/05 4 Iontophoresis Lab Theory and Details

2/15/05 5 EMG Lab Theory and Details

2/22/05 6 Progress and outcomes for all 3 labs-discussion

3/1/05 7 Review of each lab (class divided) for next rotation

3/8/05 8 Guest Lecture: Prof. Raul Longoria

3/22/05 9 Guest Lecture: Prof. Neil Iscoe

3/29/05 10 Guest Lecture: Prof. Andy Dunn

4/5/05 11 Review of each lab (class divided) for next rotation

4/12/05 12 Guest Lecture: Prof. Ravi Chandar

4/19/05 13 Guest Lecture: Prof. Jonathan Dingwell

4/26/05 14 Guest Lecture; Prof. James Tunnell

5/3/05 15 Course summary and evaluations

Page 5: Lab Pacemaker Circuit

5

BME 251 Plan

• First 2 weeks: Circuit Troubleshooting• Next 12 weeks: 4 weeks each

– Reverse Iontophoresis– EMG– Ultrasound

Page 6: Lab Pacemaker Circuit

6

After class

• Break into groups for each section if want to set lab groups today (email me names before Friday 12 noon)

• Labs start next week

Page 7: Lab Pacemaker Circuit

7

Circuit Troubleshooting• 3 Hard-wired Circuits

– 1 w/ 1 error, 1 w/ 2 errors, 1 w/ 3 errors• 3 Labview Circuits

– 1 w/ 1 error, 1 w/ 2 errors, 1 w/ 3 errors• If only get through 2 of each circuit, best

grade is a B• Review circuits and Labview before next

week!

Page 8: Lab Pacemaker Circuit

8

During Lab

• ALL members must work on circuits• TA’s will be watching carefully• Individuals not participating will get

negative participation grades• Participation grades are ONLY

negative this semester

Page 9: Lab Pacemaker Circuit

9

Pacemaker Circuit

• Very basic pacemaker circuit– No feedback control– Sends pacing signal no matter what heart

might be doing on its own– Make sure understand how circuit works

Page 10: Lab Pacemaker Circuit

10

PacemakersPacemakers work as follows:Insulated wires are threaded through a

patient's veins to the heart.

Page 11: Lab Pacemaker Circuit

11

Short History of Pacemakers• The basic approach to cardiac pacing is to supply

an electrical shock to the heart, resulting in a ventricular contraction.

• Early pacemakers utilized skin electrodes with large surface areas or subcutaneous needle electrodes (1950’s).

• Electrodes placed on the surface of the heart were then introduced via an opening in the chest wall (thoracotomy).

• Modern pacemakers use catheter electrodes introduced into the right ventricle via the cephalic or sub-clavian vein.

Page 12: Lab Pacemaker Circuit

12

Pacemakers generate electrical pulses that reach the heart through the leads.

Page 13: Lab Pacemaker Circuit

13

Minus signs indicate flow of electrons.

Page 14: Lab Pacemaker Circuit

14

Key Terms• THRESHOLD is the point at which the stimulus of

sufficient to produce a heart beat

• Sending more energy than necessary to the heart has no benefit in terms of the resulting heart beat --since the heart either contracts or it doesn't.

• Why is that a bad idea?

Page 15: Lab Pacemaker Circuit

15

Key Concept• Sending a pulse stronger than "threshold" uses

more battery energy than needed.• A series of pulses may be characterized or

described by three criteria:• RATE: the number of pulses or beats per minute

Page 16: Lab Pacemaker Circuit

16

AMPLITUDE: DURATION: The voltage of the pulse. Time in milliseconds.

Page 17: Lab Pacemaker Circuit

17

Key Concept• STRENGTH-DURATION. Heart Muscle responds to the

AMPLITUDE and DURATION of each pulse.• A STRONG pulse of SHORT DURATION may cause the

heart to beat, but so may a WEAK pulse of GREATER DURATION.

• KEY TERM: Pacing• Stimulation of the heart using electrical pulses is called

pacing• Knowing how much electricity to release and at what time

intervals is of paramount importance to patient safety.

Page 18: Lab Pacemaker Circuit

18

Pacemakers charge a capacitor from a battery.

Page 19: Lab Pacemaker Circuit

19

Then, periodically discharge the capacitor into the heart

Page 20: Lab Pacemaker Circuit

20

And, recharge the capacitor• Current is conventionally shown to flow from positive to

negative.• Actual flow is movement of electrons (negative charge).• For safety and to conserve energy, pacemakers stimulate

with negative pulses.

Page 21: Lab Pacemaker Circuit

21

Cardiac Pacemakers• Asynchronous device is free-running

– Produces uniform stimulation regardless of cardiac activity (i.e. fixed heart-rate)

– Block diagram (right) shows components of asynchronous pacemaker

• Power supply – provides energy• Oscillator – controls pulse rate• Pulse output – produces stimuli• Lead wires – conduct stimuli• Electrodes – transmit stimuli to the tissue

– The simplest form of the pacemaker; not common any longer (what you will build)

PowerSupply

Oscillator

PulseOutputCircuit

LeadWires

Electrodes

Page 22: Lab Pacemaker Circuit

22

Building a CircuitSet the rate for the signal here

The green light will then flash

And so will the red

Page 23: Lab Pacemaker Circuit

23

Components of Circuit

Page 24: Lab Pacemaker Circuit

24

Notch at Top

http://www.engj.ulst.ac.uk/sidk/resources/Data_sheets/ICL7555_6.pdf

Page 25: Lab Pacemaker Circuit

25

The Pacing Circuit-ModelThe 510 ohm resistor on

the right hand side of the circuit mimics the electrical load the heart places on the pacemaker.

The rest of the circuit--battery, resistor and switch--complete this simple pacemaker circuit.

As the switch alternately opens and closes, the capacitor is charged and then discharged into the wires connected to the heart.

Page 26: Lab Pacemaker Circuit

26

• Let us assume that the circuit has been assembled.• At the time of assembly, the capacitor is presumed to be

completely discharged.• There is zero voltage on the capacitor.• Let us further assume that the switch has not yet been closed.

Page 27: Lab Pacemaker Circuit

27

• Current flows from the battery to charge the capacitor.• When the circuit has reached steady state, the capacitor and battery

will have equal voltage.

Page 28: Lab Pacemaker Circuit

28

• To generate a pulse from the circuit, the switch closes.• When the switch closes, current flows in two loops as indicated by the blue

arrows.• In the left hand side of the circuit, current flows from the battery through the

20K ohm resistor, through the switch, and back to the battery.• This is wasted current since it has no effect on charging or discharging the

capacitor. Nor does it contribute to the current delivered to stimulate the heart.

Page 29: Lab Pacemaker Circuit

29

• In the right hand side of the circuit, current flow is caused by the discharge of the 10 µF capacitor through wires in the patient's veins to the heart.

• This is the current that stimulates the heart to contract or beat.• Note the polarity of the pacing pulse as shown in the diagram.

Page 30: Lab Pacemaker Circuit

30

• Given sufficient time, the capacitor will receive and store a charge equal to the battery voltage.

• Periodically, the switch closes and the charged capacitor delivers an electrical pulse to the heart.

• When the switch opens, the battery recharges the capacitor.

Page 31: Lab Pacemaker Circuit

31

If we were to build this…

Page 32: Lab Pacemaker Circuit

32

Page 33: Lab Pacemaker Circuit

33

Recall The ECG Circuit• PreAmp• Low Pass Filter• High Pass Filter

Page 34: Lab Pacemaker Circuit

34

(frequency passes if higher than

given frequency)

(frequency passes if lower than

given frequency)

Page 35: Lab Pacemaker Circuit

35

Page 36: Lab Pacemaker Circuit

36

Page 37: Lab Pacemaker Circuit

37

Finding Errors in LabVIEW VI’s• Objectives:

– Learn to Debug a VI• Procedure:

– Three VI files namely E*(Easy Level with one mistake),M*(Medium level with two mistakes) and D*(Difficult level with three mistakes) are provided in a folderon the computer.

– The VI’s have few errors in them that need to be corrected, so that they function appropriately. (the errors in the block diagram are basic in nature – eg variable type, disabling indexing in for loops etc)

– In case of difficulty in understanding the program and its functionality, ask the TA for demonstration of a master VI.

– After debugging the errors, report to the TA what the VI does and make notes of the errors noticed.

Page 38: Lab Pacemaker Circuit

38

Pacemaker: Output Signal

Page 39: Lab Pacemaker Circuit

39

Pacemaker: Leads• Important characteristics of the leads

– Good conductor– Mechanically strong and reliable

• Must withstand effects of motion due to beating of heart and movement of body

– Good electrical insulation• Current designs

– Interwound helical coil of spring-wire alloy molded in a silicone-rubber or polyurethane cylinder

– Coil minimizes mechanical stresses– Multiple strands prevent loss of stimulation in event of failure of one wire– Soft coating provides flexibility, electrical insulation and biological

compatibility

Page 40: Lab Pacemaker Circuit

40

Pacemaker: Leads

Page 41: Lab Pacemaker Circuit

41

Pacemaker: Electrodes• Unipolar vs. Bipolar Pacemakers

– Unipolar:• Single electrode in contact with the heart• Negative-going pulses are conducted• A large indifferent electrode is located elsewhere in the body to

complete the circuit– Bipolar:

• Two electrodes in contact with the heart• Stimuli are applied across these electrodes

• Stimulus parameters (i.e. voltage/current, duration) are consistent for both

Page 42: Lab Pacemaker Circuit

42

Pacemaker: Electrodes• Important characteristics of electrodes

– Mechanically durable– Material cannot:

• Dissolve in tissue• Irritate the tissue• Undergo electrolytic reaction due to stimulation• React biologically

– Good Interface with leads• Current designs

– Platinum, platinum alloys, and other specialized alloys are used

Page 43: Lab Pacemaker Circuit

43

Pacemaker: Electrodes

Page 44: Lab Pacemaker Circuit

44

Pacemaker: Electrodes

Page 45: Lab Pacemaker Circuit

45

Pacemaker: Electrodes

Page 46: Lab Pacemaker Circuit

46

Pacemaker: Sensing Electrodes

• Unipolar and bipolar electrodes are also used as sensing electrodes

• Used in conjunction with advanced pacemaker technologies

Page 47: Lab Pacemaker Circuit

47

Pacemaker: Packaging• Housing for the components must be

compatible and well tolerated by the body• Needs to provide protection to circuit

components to ensure reliable operation• Size and weight must be considered• Common designs consist of hermetically

sealed titanium or stainless steel

Page 48: Lab Pacemaker Circuit

48

Advanced Pacemakers• Synchronous Pacemakers

– Used for intermittent stimulation as opposed to continuous stimulation as in asynchronous pacemakers

• Rate-Responsive Pacemakers– Used for variable rates of pacing as

needed based on changes in physiological demand

Page 49: Lab Pacemaker Circuit

49

Synchronous Pacemakers• Prevents possible deleterious outcomes of

continuous pacing (i.e. tachycardia, fibrillation)– Minimizes competition between normal pacing

• Two general types of synchronous pacemakers– Demand pacemakers– Atrial-synchronous pacemakers

Page 50: Lab Pacemaker Circuit

50

Demand Pacemakers• Consists of asynchronous components and

feedback loop• Timing circuit runs at a fixed rate (60 to 80 bpm)• After each stimulus, timing circuit is reset• If natural beats occur between stimuli, timing

circuit is resetTimingCircuit

OutputCircuit Electrodes

ResetCircuit Amp

• Normal cardiac rhythms prevent pacemaker stimulation

Page 51: Lab Pacemaker Circuit

51

Atrial-Synchronous Pacemaker• SA node firing triggers

the pacemaker• Delays are used to

simulate natural delay from SA to AV node (120ms) and to create a refractory period (500ms)

• Output circuit controls ventricular contraction

• Combining the demand pacemaker with this design allows the device to let natural SA node firing to control the cardiac activity

AtrialElectrode GateAmp

MonostableMultivibrator120ms Delay

MonostableMultivibrator500ms Delay

MonostableMultivibrator2ms Delay

OutputCircuit

VentricularElectrode

Page 52: Lab Pacemaker Circuit

52

Rate-Responsive Pacing• Replicates cardiac function in a

physiologically intact individual• Sensor is used to convert

physiological variable to an electrical signal that serves as an input

• Controller circuit changes heart rate based on sensor signal (demand-type pacing can be implemented here)

Sensor

ControllerCircuit

PulseGenerator

Lead Wires/Electrodes

ControlAlgorithm

Page 53: Lab Pacemaker Circuit

53

Rate-Responsive Pacing: Physiological VariablesPhysiological Variable Sensor

Right-ventricle blood temp Thermistor

ECG stimulus-to-T-wave interval

ECG electrodes

ECG R-wave area ECG electrodes

*Blood pH Electrochemical pH electrodes

*Rate of change of right ventricular pressure

Semiconductor strain-gage pressure sensor

*Venous blood SO2Optical oximeter

Intracardiac volume changes Electric-impedance plethysmography

Respiratory rate and/or volume Thoracic electric-impedance plethysmography

Body vibration Accelerometer

*Not commercially available

Page 54: Lab Pacemaker Circuit

54

Rate-Responsive Pacing: Sensors• Impedance Measurements

– Three electrode system (pacemaker case used as ground)• Unipolar with extra lead and Bipolar lead

– Two electrode system• Single unipolar or bipolar lead

– Voltage is applied across two electrodes and current is measured• Low-amplitude high-freq signal or low-amplitude pulse train is used• Pacing pulse can be used, but may not provide adequate sampling rate for some signals (e.g. if

an inhibited pacemaker mode is used)

Page 55: Lab Pacemaker Circuit

55

Rate-Responsive Pacing: Sensors• Atrial Sensing (Atrial-Synchronous Pacing)

– Signal commonly sensed via insertion of an extra lead in contact with atrial wall

– Alternatively, a special lead used to stimulate the ventricle can be used

• Direct Metabolic Sensors– Used to measure metabolic activity of the body to

correlate with cardiac output– Examples

• Central Venous pH– Reference Ag-AgCl electrode placed in the pacemaker

case and pH-sensitive Ir-IrO2 electrode placed in right atrium

– Can detect change in blood pH due to exercise or disease– Sensor problems and complexity of relationship between

CO and pH are limitations

Page 56: Lab Pacemaker Circuit

56

Rate-Responsive Pacing: Sensors• Direct Metabolic Sensors

– Examples (cont’d)• Mixed Venous O2 saturation

– Two LEDs and a photodiode are used to detect reflectivity of the blood

– LEDs produce two distinct wavelengths detectable by photodiode

» Red wavelenght (660nm) used to detect O2 saturation» Infrared (805nm) wavelength used as reference

– Measurements taken in venous side of the cardiovascular system

– Low O2 saturation will result in low reflectivity and low sensor output, which triggers the pacemaker to increase the heart rate for increased cardiac output

– Power requirements, lead placement and information lag due to time required to cycle through the body are limitations

Page 57: Lab Pacemaker Circuit

57

Rate-Responsive Pacing: Sensors

Page 58: Lab Pacemaker Circuit

58

Rate-Responsive Pacing: Sensors• Indirect Metabolic Sensors

– Allow for estimation of metabolic activity for control of cardiac output

– Examples• Ventilation rate (estimation of oxygen intake)

– Measured by analyzing the impedance between pacemaker electrode and pacemaker case

– Three electrode system typically used– Changes in chest impedance occur with breathing– Signal requires filtering to obtain ventilation rate– Motion artifacts of the chest and inability to detect differences

in shallow and deep breathing are limitations of this system

Page 59: Lab Pacemaker Circuit

59

Rate-Responsive Pacing: Sensors• Indirect Metabolic Sensors

– Examples (cont’d)• Mixed Venous Temperature

– A small ceramic thermistor in a lead is placed in the right ventricle

– Blood temperature is a good indicator of metabolic need and the sensor is durable

– A special pacing lead is required and the small and slow signal may result in a slower than desirable response (e.g. a short sprint will not increase body temperature much when heart rate would naturally increase)

Page 60: Lab Pacemaker Circuit

60

Rate-Responsive Pacing: Sensors

Page 61: Lab Pacemaker Circuit

61

Rate-Responsive Pacing: Sensors• Non-metabolic Physiological Sensors

– Used to detect changes that would naturally cause an increased heart rate

– Examples• Q-T Interval

– Measures the time between the QRS wave and the T wave– During exercise or stress, the Q-T interval decreases due to natural

catecholamine production– Pacing leads are used to detect intracardiac ventricular electrogram– This is the most successful physiological sensor

» Standard leads are used» Little to no additional power is required» Rapid response time

– Some problems occur with detection of repolarization signals

Page 62: Lab Pacemaker Circuit

62

Rate-Responsive Pacing: Sensors• Non-metabolic Physiological Sensors

– Examples (cont’d)• Ventricular Depolarization Gradient (VDG) or Evoked Ventricular

Potential– Similar to Q-T Interval sensors, but measure area under the paced QRS

wave– The area is affected by heart rate

» VDG is directly proportional to heart rate– Standard pacing electrodes are used– No additional power is required– Rapid response time– Can also detect emotion and stress– Are affected by some drugs and electrode polarization

Page 63: Lab Pacemaker Circuit

63

Rate-Responsive Pacing: Sensors• Non-metabolic Physiological Sensors

– Examples (cont’d)• Systolic Indices

– Stroke Volume» Measured via impedance measurements» Increases with exercise

– Pre-ejection Phase» The time between the onset of ventricular depolarization

and the opening of the aortic valve» Measured via impedance measurements» Decreases with exercise

– Motion artifacts and power requirements are limitations

Page 64: Lab Pacemaker Circuit

64

Rate-Responsive Pacing: Sensors• Non-metabolic Physiological Sensors

– Examples (cont’d)• Pressure

– Mean arterial blood pressure is naturally maintained to be constant

– Magnitude and rate of change of pressure increases with exercise

– Piezoelectric sensor is placed in the right ventricle» Measures rate of change of pressure, from

which mean pressure can be inferred– Silicon strain gage pressure sensor can be used to

directly measure mean pressure– Specialized leads are required

Page 65: Lab Pacemaker Circuit

65

Rate-Responsive Pacing: Sensors

Page 66: Lab Pacemaker Circuit

66

Rate-Responsive Pacing: Sensors• Direct Activity Sensors

– Most common is the Motion-Detecting Pacemaker• Uses an accelerometer or a vibration sensor placed in the

case to estimate activity• Long-term reliability, minimal power requirements and

rapid response are advantages• Current specificity level of the sensor is a problem

– e.g. Going up stairs is harder work than going down; however, the latter causes heavier footsteps and thus stronger pressure waves in the chest, which could cause a higher heart rate when going down than when going up the stairs

• Multiple Sensors– A combination of sensors is often used

Page 67: Lab Pacemaker Circuit

67

Commercial Examples• Major Cardiac Rhythm

Management Companies

– Guidant– Medtronic

• Standard pacemaker packaging and design

• Various lead designs serve several different purposes

Taken from www.guidant.com

Page 68: Lab Pacemaker Circuit

68

Commercial Examples• Typical size and

shape of the implantable pacemaker

• Upper portion is used for interfacing with the leads

Taken from www.medtronic.com