<< Chapter < Page Chapter >> Page >
How to build a circuit that allows for the live collection of ECG signals using the three lead set-up. Also, this module describes the filters used to remove noise from the signal. Since the ECG is a relatively low frequency signal, most of the high frequency noise can be filtered out. However, due to arm muscle movements, there will also be low frequency noise that will always remain with the signal.

Collecting ecg signal: hardware

Using the NI Elvis breadboard and data acquisition system, the ECG signal is collected from the three leads. Lead 1 is connected to the right arm, Lead 2 is connected to the left wrist and Lead 3 is connected to the right ankle (see Introduction: Building an ECG Based Diagnostic System for more information about lead placement). The diodes placed between the input leads and the rest of the circuit are to protect the patient from any backflowing current.

Ecg signal collection circuit

ECG signal collection circuit adapted from that of Radio Locman (www.rlocman.ru). The AD620 is used as a differential amplifier with a gain of ~7 in order to combine the electrical signals from each of the leads into one easily readable signal.

In NI LabVIEW, the Data Acquisition Assistant (DAQ Assistant) is used to collect the signal after preliminary band pass filtering. The data is sampled at a rate of 1 kHz. Our LabVIEW VI is available here .

Signal conditioning

Signal filtering is necessary to help isolate the frequencies found in the ECG signal from the noise. With a three lead system, the majority of the noise comes from the electrical activity in the muscles on the arm, or electromyography (EMG) noise. EMG signals are present in a wide frequency band which overlaps with the ECG signal in the lower frequencies. Therefore, with this set-up, it is impossible to completely remove EMG noise from the ECG signal. Therefore, it is helpful for the patient to relax and remain still while the data is being collected. In addition, 60 Hz noise is present from power line interference which also must be removed.

Analog band pass filter design

The first stage of filtering is an analog filter built onto the NI Elvis breadboard. It is a bandpass filter with cut-off frequencies of 0.5 and 150 Hz. This will help eliminate the high frequency noise from the muscles before the signal is greatly amplified.

Analog bandpass filter circuit diagram

Bode plot–Analog band pass filter

Digital filters using labview

Once the signal has been acquired by the DAQ Assistant into LabVIEW, it is processed by two additional filters and amplification of 100 times. The first filter is a band stop filter between 55 and 65 Hz to eliminate power line interference. A third order Butterworth (IIR) was used to implement this filter because it is low order and has a good frequency response for this signal.

Magnitude of the frequency response–Digital band stop filter

The second is a tenth order Butterworth low pass filter. The cutoff frequency of this filter is 80 Hz to further eliminate EMG noise. The ECG signal is located between 0.5 Hz and about 70-80 Hz depending on the individual.

Magnitude of the frequency response–Digital low pass filter

The resulting signal is displayed in real time in the graphical user interface, also designed in LabVIEW.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Building an electrocardiogram (ecg) diagnostic system. OpenStax CNX. Dec 19, 2008 Download for free at http://cnx.org/content/col10620/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Building an electrocardiogram (ecg) diagnostic system' conversation and receive update notifications?

Ask