njit-etd2003-081 - New Jersey Institute of Technology

njit-etd2003-081 - New Jersey Institute of Technology njit-etd2003-081 - New Jersey Institute of Technology

archives.njit.edu
from archives.njit.edu More from this publisher
20.01.2015 Views

131 4.2 Data Analysis All signal processing techniques were performed with the LabVIEW graphical programming language and MATLAB. This section describes the use of both LabVIEW and MATLAB and the algorithms by which the different physiological signals were analyzed. All the programs for spectral analysis, the Wigner timefrequency analysis program (Sympar.vi), coherence, weighted coherence and partial coherence were written in LabVIEW. The time-frequency analysis (Cohen's class and wavelets), system identification techniques, principal component analysis and cluster analysis were performed using the MATLAB System Identification and Statistics toolboxes. 4.2.1 Wigner Time-Frequency Analysis As mentioned previously, the Wigner time-frequency analysis program (Sympar.vi) was written in LabVIEW. The time-frequency analysis was performed using raw ECG data. The ECG signal was read from a spreadsheet file acquired together with other signals such as respiration, blood pressure and Oxygen volume consumption. All of these signals were represented in spreadsheet form as columns of space delimited data. The ECG data was filtered through a high-pass filter (HP_FILT.vi) after which point the R wave locations were detected automatically (Search BP.vi). The array of R wave locations was then used to calculate the heart rate and to generate graphs of both the ECG signal with detected R waves and of the heart rate, respectively. The raw ECG signal was then displayed with markers at each corresponding detected R wave along with the newly calculated corresponding heart rate. These graphs appear on the control

132 panel of the Correct.vi. It was in the Correct.vi block that a cursor was provided allowing the user to manually detect missing peaks or undetect "bad" peaks by turning the "Modify" marker on or off. Missing peaks were results of saturation, motion, or noise artifact during acquisition of the ECG signal. Consequently, peaks must be manually interpolated in place of the missing data. "Bad" peaks consist of peaks that were not characteristically R waves, such as those generated by noise artifact. Manual detection of R waves continued until the user clicks the "Done" button on the control panel of the Correct.vi, indicating to the program that all detection of R waves was complete. The output of the Correct.vi consists of the 1131 as calculated from consecutive R waves detected in the ECG, which was then saved to a spreadsheet file to be utilized for further analysis. The IBI was interpolated and decimated (Interpolation & Decimation.vi) to generate a decimated BIM waveform which was analyzed utilizing the Wigner distribution (Symbar (Wigner).vi). After execution of the final subVl in this program, two-dimensional time-frequency graphs of both parasympathetic (HF) activity and of the combined parasympathetic and sympathetic (LF) activity were generated on the control panel of Symbar (Wigner).vi. The control panel also displayed graphs of the decimated 1113I waveform, as well as the LF/HF ratio with respect to time. 4.2.2 Power Spectrum Analysis of Heart Rate Variability The power spectrum analysis program, also written in LabVIEW, consists of several subVIs that ultimately generate graphs of the LF area and HF area of the corresponding ECG signal. As with the Wigner program, the signal was read from a spreadsheet file as a single column of space delimited data (Read From Spreadsheet File.vi). However, in

131<br />

4.2 Data Analysis<br />

All signal processing techniques were performed with the LabVIEW graphical<br />

programming language and MATLAB. This section describes the use <strong>of</strong> both<br />

LabVIEW and MATLAB and the algorithms by which the different physiological<br />

signals were analyzed. All the programs for spectral analysis, the Wigner timefrequency<br />

analysis program (Sympar.vi), coherence, weighted coherence and partial<br />

coherence were written in LabVIEW. The time-frequency analysis (Cohen's class and<br />

wavelets), system identification techniques, principal component analysis and cluster<br />

analysis were performed using the MATLAB System Identification and Statistics<br />

toolboxes.<br />

4.2.1 Wigner Time-Frequency Analysis<br />

As mentioned previously, the Wigner time-frequency analysis program (Sympar.vi) was<br />

written in LabVIEW. The time-frequency analysis was performed using raw ECG data.<br />

The ECG signal was read from a spreadsheet file acquired together with other signals<br />

such as respiration, blood pressure and Oxygen volume consumption. All <strong>of</strong> these<br />

signals were represented in spreadsheet form as columns <strong>of</strong> space delimited data. The<br />

ECG data was filtered through a high-pass filter (HP_FILT.vi) after which point the R<br />

wave locations were detected automatically (Search BP.vi). The array <strong>of</strong> R wave<br />

locations was then used to calculate the heart rate and to generate graphs <strong>of</strong> both the<br />

ECG signal with detected R waves and <strong>of</strong> the heart rate, respectively. The raw ECG<br />

signal was then displayed with markers at each corresponding detected R wave along<br />

with the newly calculated corresponding heart rate. These graphs appear on the control

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!