Intro to ECG Physiology and Circuit Design
ENGR 029
Spring 2024
Prof. Maggie Delano
Agenda
Lab 2
Electrocardiogram (ECG)
Uses of the ECG:
Heart Anatomy
Measuring ECG
Measuring ECG
Einthoven’s Triangle
Electrodes
ECG is measured as a potential difference between two points using electrodes placed on the skin
A third electrode is used as a reference
Measuring Heart Rate in Beats Per Minute
Instantaneous
Heart Rate
(IHR)
R
R
Measuring the ECG
There are a number of important aspects when measuring the ECG. Here’s what we care about for the lab:
Acquiring the ECG Signal (Instrumentation Amplifier)
Differential Amplifier
Input Buffers
Reference
(connected to half power
supply voltage in
single supply systems,
AND an electrode)
Electrode
inputs
Limitations of (most) analog circuitry
Instrumentation amplifiers and op amps can only output voltages that are within the range of their power supplies!
For us, this means no negative voltages…
The role of the reference voltage
Consider the instrumentation amplifier with the following transfer function. Assume we are powering the instrumentation amplifier with a 5V power supply and ground.
Another role for the reference voltage/electrode
Reference voltage example
100V �(to earth)
100.01V �(to earth)
95V �(to earth)
Our amplifier can handle �-40V to 40V with respect to its ground at its inputs. Assume the reference voltage is 2.5V with respect to the amplifier ground.
2.5V
Noise and Interference in ECG Measurements
Noise: a random, probabilistic process
Interferer: Periodic, predictable, deterministic
Examples of noise/interference sources:
What to do about noise/interference?
Low and High Pass Filters
Vin
Vout
R
C
Low Pass Filter
Vin
Vout
R
C
High Pass Filter
Selecting R’s and C’s for Filters
Standard Resistor values
Standard Capacitor Values
General advice: pick the capacitor, then find the resistor that gives the closest result;
Iterate as needed until within 1-10%!
Design a 1 kHz Low Pass Filter
Consult the tables in order to design a 1 kHz low pass filter, assuming 5% resistors and 10% capacitors.
Design a 1 kHz High Pass Filter
How would we change our previous filter to become a high pass filter?
Low Pass Filter Frequency Response
When we say “bandwidth”,
we usually mean the cutoff
frequency / - 3 dB point
Incorporating Component Tolerance
We are using 5% resistors and 10% capacitors, which means that our actual cut-off frequencies will not be their nominal value. When designing our circuit, we need some tolerance that we will accept, and perform calculations to verify that we will be within spec even with worst case components.
Incorporating Component Tolerance
Putting it all together
Vecg
INA114
5V
GND
Vref = 2.5V
10kΩ
Vref
Gtot = G1G2≈ -1000
C1
Ri
Rf
GND
Rlpf
C2
5V
10kΩ
Vref = 2.5V
RG
GND
INA114
LM324
There are four op amps: you need to power Vcc+ and Vcc- always, then choose two op amps for the rest (3 pits each).
Out = output
Minus = negative input
Plus = positive input
Breadboarding
Breadboarding Tips
Review lab setup and equipment