the electrocardiogram
DESCRIPTION
The electrocardiogram. Op-amps, instrumentation amps, filters. This is your data. V ( arb ). Time (sec). EKG. The EKG is a powerful diagnostic tool. Regularly used by cardiologists. . Disclaimers. We are not real doctors. Neither are you. Do not try to interpret your EKG. . Safety. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/1.jpg)
The electrocardiogram
Op-amps, instrumentation amps, filters
![Page 2: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/2.jpg)
This is your data
Time (sec)
V (a
rb)
![Page 3: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/3.jpg)
EKG
The EKG is a powerful diagnostic tool. Regularly used by cardiologists.
![Page 4: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/4.jpg)
Disclaimers
• We are not real doctors. Neither are you. Do not try to interpret your EKG.
![Page 5: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/5.jpg)
Safety
![Page 6: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/6.jpg)
Safety
• We will review this in lab, but basically– 100 K resistors between you and breadboard.– Unplug your laptop while collecting data.
![Page 7: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/7.jpg)
Privacy
• Your EKG could be considered private medical information under Federal HIPAA laws.
• If using this data makes you at all uncomfortable – then use one of the instructors as your subject.
![Page 8: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/8.jpg)
The circuit
C 3
1uF
+ 5 V
R 5
1M
+ 2.5 V
DAQ(A0+)
R 6
1k
R 8
2K
R 7
10K
R 1
100K
Arm
ArmC 1
1 uF
+ 2.5 V
U 3 A
L M C 6 48 4
1
3
2
411
O U T
+
-
V+
V-
Foot
+ 2.5 V
U 1 A
A D 6 2 3 A N
4
3
6
2
5
81
7-V
S
+I N
O U TP U T
-I N
R E F
+R G-R G
+VS
R 2
100K C 2
0.1 uF
R 3
10K
+ 5 V
R 4
100K
AD623 – Instrumentation amplifier
![Page 9: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/9.jpg)
The Op-Amp
![Page 10: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/10.jpg)
Dynamic model of an op-amp
out
Subtract Saturation
1s
Integrator
1e6
Gainin -
in +
out
in +
in -
![Page 11: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/11.jpg)
The op-amp follower
3
21
411
-
+
U1A
TL084
+15V
-15V
OutIn
![Page 12: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/12.jpg)
Dynamic model of the follower
out
Subtract Saturation
1s
Integrator
1e6
Gainin -
in +
out
in +
in -
![Page 13: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/13.jpg)
Simplification for op-amp circuit analysis
• If the op-amp is wired with negative feedback, and - • Changes are “slow” (less than ~100 kHz), then –
– Assume no current flow through into the inputs. – The two input voltages are equal.
![Page 14: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/14.jpg)
What does this circuit do?
![Page 15: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/15.jpg)
What does this circuit do?
![Page 16: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/16.jpg)
What does this circuit do?
![Page 18: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/18.jpg)
AD623
Data sheet
![Page 19: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/19.jpg)
Let’s look at the filters now…
C
R21
V in p u t
Vout
![Page 20: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/20.jpg)
Impedance (Z)General form of Ohm’s Law V = I Z
CjjCZ
ejCeti
etv
dttdv
Cti
tjtj
tj
1
)(
)( :response AC
)()(
VV
IV
VI
V
Example: capacitor
![Page 21: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/21.jpg)
RC circuit (via impedances)
C
R21
V in p u t
RZ 1
CjZ
1
2
21
2ZZ
ZVV inout
Voltage divider
Vout
![Page 22: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/22.jpg)
Do you remember how to plot Vout/Vin ?
w = logspace(0,4,100);j = sqrt(-1);R = 10e3;C = 1e-6;
Z1 = R;Z2 = 1./(j*w*C);
loglog(w,abs(Z2./(Z1+Z2)));
![Page 23: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/23.jpg)
Resistors in series and parallel
Impedances in series:
Impedances in parallel:
21 ZZZ
21
111
ZZ
Z
Can you derive these relationships?
![Page 24: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/24.jpg)
What about two filters in series?
C 3
1uF
+ 5 V
R 5
1M
+ 2.5 V
DAQ(A0+)
R 6
1k
R 8
2K
R 7
10K
R 1
100K
Arm
ArmC 1
1 uF
+ 2.5 V
U 3 A
L M C 6 4 8 4
1
3
2
411
O U T
+
-
V+
V-
Foot
+ 2.5 V
U 1 A
A D 6 2 3 A N
4
3
6
2
5
81
7-V
S
+I N
O U TP U T
-I N
R E F
+R G-R G
+VS
R 2
100K C 2
0.1 uF
R 3
10K
+ 5 V
R 4
100KVin Vout
![Page 25: The electrocardiogram](https://reader036.vdocuments.us/reader036/viewer/2022062315/56816578550346895dd80e1a/html5/thumbnails/25.jpg)
The circuit
C 3
1uF
+ 5 V
R 5
1M
+ 2.5 V
DAQ(A0+)
R 6
1k
R 8
2K
R 7
10K
R 1
100K
Arm
ArmC 1
1 uF
+ 2.5 V
U 3 A
L M C 6 48 4
1
3
2
411
O U T
+
-
V+
V-
Foot
+ 2.5 V
U 1 A
A D 6 2 3 A N
4
3
6
2
5
81
7-V
S
+I N
O U TP U T
-I N
R E F
+R G-R G
+VS
R 2
100K C 2
0.1 uF
R 3
10K
+ 5 V
R 4
100K