<< Chapter < Page | Chapter >> Page > |
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.
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 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.
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.
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.
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.
The resulting signal is displayed in real time in the graphical user interface, also designed in LabVIEW.
Notification Switch
Would you like to follow the 'Elec 301 projects fall 2008' conversation and receive update notifications?