ECG Design Project - Nick Most
by nmost in Circuits > Electronics
202 Views, 0 Favorites, 0 Comments
ECG Design Project - Nick Most
![207.ECG_Sample.PNG](/proxy/?url=https://content.instructables.com/F9B/ZVIC/L2KG66ZU/F9BZVICL2KG66ZU.png&filename=207.ECG_Sample.PNG)
An electrocardiogram, known as an ECG, is used to detect heart problems and monitor the health of the heart through bioelectric signals. As electric signals flow through the heart beginning in the sinoatrial node and ending in the ventricles, the electrocardiogram displays an output with five different phases. As seen in the diagram, these phases are the P, Q, R, S, and T waves. This Design Project utilizes three filters to simulate a simplified ECG that when hooked up to a patient, will display their ECG reading. The three filters used are an INA filter, a notch filter, and a low pass filter. These filters will then be connected in series, the patient will be set up using ECG leads as the input, and the output will be displayed on an oscilloscope.
Supplies
The supplies needed for this design project include a variety of resistors and capacitors, 5 op-amps, jumper wires, an oscilloscope, and a function generator to supply power to both the circuit and each individual op-amp.
Constructing the INA Filter
![207.INACircuit.PNG](/proxy/?url=https://content.instructables.com/FVG/D2DK/L2KG66PK/FVGD2DKL2KG66PK.png&filename=207.INACircuit.PNG)
![207.LTINA.PNG](/proxy/?url=https://content.instructables.com/F4D/F96M/L2KG66ZE/F4DF96ML2KG66ZE.png&filename=207.LTINA.PNG)
![207.INACalc.PNG](/proxy/?url=https://content.instructables.com/FW0/OEXP/L2KG6C8J/FW0OEXPL2KG6C8J.png&filename=207.INACalc.PNG)
The first step is constructing the INA filter. This filter is set up to have 3 op-amps connected through a series of resistors. These resistor values were chosen in order to receive an output gain of 2 using an output voltage equation. Once the resistor values had been chosen, the circuit was built as seen in the LTSpice schematic. The picture displayed on the left is the real circuit. Each op-amp was supplied with 15 V on the positive terminal and -15 V on the negative terminal. The positive and negative voltages are supplied through the rows at the top and bottom of the bread board. The positive and negative terminals were then connected to each op-amp through jumper wires.
Constructing the Notch Filter
![207.Notch.PNG](/proxy/?url=https://content.instructables.com/FTS/XJQS/L2KG66PM/FTSXJQSL2KG66PM.png&filename=207.Notch.PNG)
![207.LTNotch.PNG](/proxy/?url=https://content.instructables.com/FBA/W9NC/L2KG66ZF/FBAW9NCL2KG66ZF.png&filename=207.LTNotch.PNG)
![207.LowPassCalc.PNG](/proxy/?url=https://content.instructables.com/FCJ/73IE/L2KG6C8K/FCJ73IEL2KG6C8K.png&filename=207.LowPassCalc.PNG)
The second step is creating a notch filter. This filter is set up by a resistors in series as well as capacitors in series set up in parallel flowing through an op-amp. The capacitor and resistor values were chosen by trying to find a quality factor of 8 as well as achieving a resonance frequency of 60 Hz. Once the resistor and capacitor values have been chosen, the circuit was built as seen above. The theoretical notch filter will have a high magnitude at an frequency less than or greater than 60 Hz. At 60 Hz, it will drop to almost 0. The positive and negative terminals were connected through jumper wires to the op-amp.
Constructing the Lowpass Filter
![207.LowPass.PNG](/proxy/?url=https://content.instructables.com/F47/X73B/L2KG66PN/F47X73BL2KG66PN.png&filename=207.LowPass.PNG)
![207.LTLowpass.PNG](/proxy/?url=https://content.instructables.com/FO4/BAEY/L2KG66ZG/FO4BAEYL2KG66ZG.png&filename=207.LTLowpass.PNG)
![207.NotchCalc.PNG](/proxy/?url=https://content.instructables.com/FHD/4F1M/L2KG6C8L/FHD4F1ML2KG6C8L.png&filename=207.NotchCalc.PNG)
The third step is constructing the Lowpass filter. This filter restricts frequencies from being allowed through that are above a certain threshold. The resistor and capacitor values were calculated by determining a certain cutoff frequency. Once this cutoff frequency is determined, the other values can be calculated as seen above. The lowpass filter uses a series of resistors as well as capacitors connected to ground and the output of the op-amp to restrict the frequencies above the desired cutoff frequency. As done with the other filters, the positive and negative terminals were connected through jumper wires into the op-amp.
Finalizing the Overall Circuit
![207.TotalCircuit.jpg](/proxy/?url=https://content.instructables.com/FET/MYFR/L2KG66NH/FETMYFRL2KG66NH.jpg&filename=207.TotalCircuit.jpg)
The final step in building the circuit is to connect the outputs of each op-amp into the inputs of the next filter. For example, the output of the INA will be connected with a jumper wire to the input of the notch filter. The output of the notch filter will then be connected with a jumper wire to the input of the lowpass filter. The oscilloscope will then be attached to the output of lowpass filter and the function generator will be connected to the input of the INA filter. The last step is to ensure that each op-amp is connected to the positive and negative terminals because each op-amp needs a power supply to function properly. When everything is put together, the oscilloscope will display a simulated ECG.
Connecting to a Patient
![207.ECGFinal.PNG](/proxy/?url=https://content.instructables.com/F9K/EFBI/L2KG6AOZ/F9KEFBIL2KG6AOZ.png&filename=207.ECGFinal.PNG)
![207.HumanECG.PNG](/proxy/?url=https://content.instructables.com/F29/ZHAJ/L2KG6AP0/F29ZHAJL2KG6AP0.png&filename=207.HumanECG.PNG)
To ensure the project works, a patient was hooked up as the input into the circuit. If the project was built correctly, the oscilloscope should display the patient's ECG signal. As seen above, when the patient was connected, a proper ECG signal was displayed on the oscilloscope proving our project was built correctly. Once finished, a simplified ECG signal amplifier has been built!