Computers in Biology and Medicine 59 (2015) 80–86

Contents lists available at ScienceDirect

Computers in Biology and Medicine journal homepage: www.elsevier.com/locate/cbm

Respiratory rate extraction from single-lead ECG using homomorphic filtering Hemant Sharma a,n, K.K. Sharma a, Om Lata Bhagat b a b

Department of Electronics & Communication, Malaviya National Institute. Of Technology, Jaipur 302017, India Department of Physiology, All India Institute of Medical Sciences (AIIMS), Jodhpur 342001, India

art ic l e i nf o

a b s t r a c t

Article history: Received 19 June 2014 Accepted 30 January 2015

In this paper a new technique for the extraction of respiratory signal from the single-lead ECG using generalized homomorphic filtering is presented. It is proposed to perform band pass filtering on the cepstrum of the ECG signal to extract the respiratory signal. For this study, transforms used in generalized homomorphic filtering are the discrete Fourier transform (DFT) and the discrete cosine transform (DCT). The performance of the ECG-derived respiration (EDR) signal obtained using the proposed method is compared with the reference respiratory signal in terms of the correlation, magnitude squared coherence coefficients and breath rate accuracy. It is observed from the comparisons that the EDR technique based on generalized homomorphic filtering using DFT performs better than the homomorphic filtering using DCT. The proposed EDR technique is also compared with the two well-known EDR techniques: principal component analysis and R peak amplitude algorithm. It is seen from the results that the proposed EDR technique (RDFT) performs significantly better than the R peak amplitude algorithm, but significant improvements are not observed when compared with the PCA based EDR technique. & 2015 Elsevier Ltd. All rights reserved.

Keywords: ECG Respiration ECG derived respiration (EDR) Homomorphic filtering DFT

1. Introduction Respiratory signal is measured using inductive plethysmograph, spirometer and impedance pneumograph. During the respiration process, some morphological changes in the ECG signal arise due to some mechanisms such as: i) the volume of lung changes during inspiration and expiration which causes change in electric impedance of thorax [1], and ii) changes in the heart vector with respect to ECG electrodes [2]. These changes in the ECG signal occur due to the respiration process which can be separated using appropriate signal processing techniques. Thus, extraction of the respiratory signal from the ECG is called ECG derived respiration (EDR). Extraction of the respiratory signal from the ECG signal provides facility of simultaneous study of cardiac activity and the respiration, as it reduces the cost of healthcare system. Moreover, looking for the derived respiratory signal from the ECG provides the benefit of not interfering with natural breathing and noise. A wide range of the EDR algorithms have been developed in the last twenty years. The EDR technique based on amplitude demodulation of the ECG signal was proposed in [3]. The single-lead EDR algorithms to identify the beat-to-beat amplitude variation of the QRS complex or T wave to monitor the respiratory signal are discussed in [4–6]. These techniques are associated with the variations in the

n

Corresponding author. E-mail address: [email protected] (H. Sharma).

http://dx.doi.org/10.1016/j.compbiomed.2015.01.024 0010-4825/& 2015 Elsevier Ltd. All rights reserved.

thoracic impedance due to the respiration process. The EDR techniques proposed in [4–6] are suitable to study beat to beat variations but are not robust in case of noisy ECG signals because noise directly affects amplitude of the R peaks of the ECG signal. Filtering of ECG signals in predefine respiratory frequency band is also a well-known technique to extract the respiratory signal from the ECG [7–9]. The filtering techniques for extraction of the respiratory signal from the ECG are not suitable when respiratory frequency lies outside the predefined respiratory frequency band. It is seen from previous studies that the filtering techniques are more efficient in noisy environment as compared to other EDR techniques. [8]. The discrete wavelet transform (DWT) technique to derive the respiratory signal from the ECG is proposed in [10]. The DWT technique is computationally viable but this technique is not good to retain the actual shape of respiratory signal because shape of the extracted respiratory signal strongly depends on used mother wavelet. Also, the performance of the DWT based EDR technique decreases as respiration rate decreases [8]. The empirical mode decomposition (EMD) technique is being used into a number of applications and it has also emerged as a tool for time-frequency analysis. The EMD technique is a data driven technique with high computational cost which determines the oscillatory modes present in the signal and it has been used to monitor the respiratory signal from the ECG in [10,11]. Recently, Langley et al. [12] introduced principal component analysis (PCA) to obtain beat-to-beat variation in the ECG signal and extracted the respiratory signal on the concept of maximum variability with the assumption of linear relation between the respiratory signal and the ECG signal. The improved form of PCA

H. Sharma et al. / Computers in Biology and Medicine 59 (2015) 80–86

is proposed by Widjaja et al. [13] as Kernel principal component analysis (KPCA) to deal with non-linearity between the ECG and respiratory signals in order to overcome the drawback of linear PCA. In the KPCA technique, optimization of the unknown parameter (sigma) of used kernel function and effect of noise (present in the ECG signal) on the derived respiratory signal are still difficult to analyze. Homomorphic filtering is a well-known technique for signal and image processing, involving a nonlinear mapping to a different domain in which the linear filter techniques are applied, followed by mapping back to the original domain [14]. In this paper, a new technique for the extraction of respiratory signal from the single-lead ECG using generalized homomorphic filtering is proposed. The main motivation for using the homomorphic filtering as EDR technique stems from the assumption that the ECG signal is generated from the convolution of electrical signals of heart activities and the transfer function of a LTI system which is influenced by the respiratory process. In this paper, we will address the homomorphic filtering approach that de-convolves the ECG components in order to separate the respiratory signal. The rest of the paper is organized as follow: a brief overview of the homomorphic filtering technique is discussed in Section 2. In Section 3, the methodology and assessment of the performance of the different EDR algorithms are presented. The comparison of results of the proposed technique with the existing EDR methods is provided in Section 4. Finally, Section 5 concludes this paper.

2. Review of homomorphic filtering In many signal processing applications, the homomorphic filtering technique is used to remove multiplicative noise from the signal [14,15]. The concept used in homomorphic filtering is to transform convolved components of a given signal into additive form where linear filtering can be applied to separate the desired signal components. The block diagram representation of homomorphic filtering is shown in Fig. 1 which shows the basic steps involved in the homomorphic filtering technique [14]. The block diagram for de-convolution of the input signal in its components is shown in Fig. 1(a). Let us assume a signal sðnÞ which is generated through the convolution of two components s1 ðnÞand s2 ðnÞ, i.e.,sðnÞ ¼ s1 ðnÞ  s2 ðnÞ, where  denotes convolution operator. The characteristic function Dð:Þ, shown in Fig. 1(b), conveys the property D½as1 ðnÞ  bs2 ðnÞ ¼ aD½s1 ðnÞ þ bD½s2 ðnÞ;

ð1Þ

where a and b are scalars and the system Dð:Þ is invertible. It can be seen from Fig. 1(b) that the signal is first transformed in the Fourier domain using the discrete Fourier transform where convolution becomes multiplication and then logarithmic function is applied followed by the inverse discrete Fourier transform (IDFT). These steps are used to transform multiplicative components of the signal into additive form into log domain so that the linear

81

operations can be applied. The output of the characteristic system Dð:Þ is called complex cepstrum s^ ðnÞ which is input for the linear system. The homomorphic system passes the desired signal unaltered but it removes undesired components of the signal with the help of some linear operations. Therefore, the characteristic function Dð:Þ is applied to the signal sðnÞ to remove the undesired signal components using the linear filtering techniques. Thus, we can writesðnÞas sðnÞ ¼ s1 ðnÞ  s2 ðnÞ:

ð2Þ

  s^ ðnÞ ¼ D sðnÞ ¼ s^ 1 ðnÞ þ s^ 2 ðnÞ:

ð3Þ

If the given input signal sðnÞ to the characteristic system Dð:Þ is real than the complex cepstrum s^ ðnÞ at the output is also real. It can be seen from (3) that the signal components appear in additive form in log domain where the linear system L can be applied to separate undesired signal components from the composite. Hence, output of the linear system can be represented as y^ ðnÞ ¼ Lfs^ 1 ðnÞ þ s^ 2 ðnÞg ¼ y^ 1 ðnÞ þ y^ 2 ðnÞ:

ð4Þ

For a given input sequence sðnÞ, DFT may have large number of zeros at the origin which shift the phase by large amount. To retain the information of interest, linear phase shift needs to remove before getting complex cepstrum s^ ðnÞ. The signal obtained at the output of linear system has to retain in its original form and this is carried out by first applying discrete Fourier transform (DFT) to the signal y^ ðnÞ and then exponential operation followed by the IDFT which provides the required signal at the output. Thus, the output of inverse homomorphic de-convolution can be written as yðnÞ ¼ D  1 fy^ 1 ðnÞ þ y^ 2 ðnÞg ¼ y1 ðnÞ  y2 ðnÞ:

ð5Þ

Hence, we can separate required components from the input signal sðnÞ using the homomorphic de-convolution. In case of the ECG signal as input to the homomorphic filtering, it is possible to separate the respiratory component from the ECG by using the homomorphic filtering technique because it is assumed that the ECG signal is convolved output of electric signals of heart activities and the transfer function of a LTI system which is influenced by respiratory process then.

3. Methods 3.1. Data The data from the Fantasia database are used in this work which is available at physioNet [17]. This database includes simultaneously recorded ECG as well as respiration signal with the sampling rate of 250 Hz. The database contains the recording of twenty young subjects (21–34 years old) and twenty elderly subjects (68–85 years old). All subjects were in resting state and watched the movie Fantasia (Disney, 1940) to help maintain wakefulness. For experimental purpose, a 5 min segment of recording from each subject is selected manually in such a way that selected segment is not affected by movement artifacts and abrupt changes. 3.2. Data preprocessing

Fig. 1. Homomorphic system for deconvolution. (a) Canonical form representation. (b) Dð:Þ system representation. (c) D  1 ð:Þ System representation.

For the application of respiratory signal extraction, the ECG signal is first preprocessed to remove the supply interference and baseline wander. Therefore, the ECG signal is passed through a notch filter (60 Hz) to remove supply interference and then the baseline wander is removed using the FIR high pass filter (20th order) using Kaiser window with cut-off frequency of 0.05 Hz. The shape of the Kaiser window is determined by a control parameter beta (β). In this work,

82

H. Sharma et al. / Computers in Biology and Medicine 59 (2015) 80–86

the value of control parameter is taken four (β ¼4). Now, the preprocessed ECG signal is used for the extraction of respiratory signal.

3.3. ECG-derived respiration using homomorphic filtering Analysis and modeling of the ECG signal using homomorphic filtering was first proposed in [16] where four types of ECG signals were selected and de-convolved through cepstrum filtering to extract more features and components for diagnostic purpose. The linear filtering techniques can be applied on the cepstrum of ECG to extract the signal of interest. Generally, the respiratory signal is a low frequency signal and its frequency varies in the band of 0.2–0.8 Hz [8,9]. In the proposed technique, it is assumed that the ECG signal is convolved output of electrical signals generated from heart activities and the transfer function of a LTI system which is influenced from the respiratory process. A block diagram is shown in Fig. 2 which describes steps involved in extraction of the respiratory signal from the ECG using the homomorphic filtering technique. Based on the homomorphic de-convolution concept, let us assume that the ECG signal sðnÞ has k components ðs1 ðnÞ; s2 ðnÞ; :::::sk ðnÞÞ. By applying deconvolution property of characteristic system H, components of sðnÞ can be written as H ½a1 s1 ðnÞ  a2 s2 ðnÞ  :::::  ak sk ðnÞ ¼ a1 H½s1 ðnÞ þ a2 H½s2 ðnÞ þ ::::: þ ak H½sk ðnÞ:

ð6Þ

Here n varies from 1 to N, and N denotes the total number of samples in the ECG signal. It can be observed from (6) that some signal components are separable in complex cepstrum s^ ðnÞ under some conditions whereas the signal components were not separable in the original signal sðnÞ. Thus, by applying band pass filtering on the cepstrum of ECG signal, the respiratory signal can be extracted in log domain. To retain the signal y^ ðnÞ in its original domain, inverse characteristic function H  1 is performed. In the homomorphic filtering approach, many possible equivalent representations of the characteristic function H exist but use of the DFT provides the most applicable and straightforward way to define the characteristic function H in the homomorphic filtering (see Fig. 1(b)). Instead of DFT, other transforms can also be used in the characteristic function H and that represents generalized form of homomorphic filtering. In this paper, the discrete cosine transform (DCT) and the DFT are used separately in homomorphic filtering technique for the respiratory signal extraction. Fig. 3 represents the two characteristic functions based on the DFT and DCT which are used in this paper. In the proposed homomorphic filtering approach, the respiratory signals derived from the ECG using DFT and DCT in the characteristic function H are represented as RDFT and RDCT, respectively.

Fig. 2. Homomorphic filtering based EDR scheme.

Fig. 3. Characteristic function ℋ. (a) Based on discrete Fourier transform (DFT). (b) Based on discrete cosine transform (DCT).

3.4. Comparison of EDR signals with reference respiratory signal For each subject's recording, four respiratory signals are extracted as: using R peak algorithm (RRamp), using linear principal component analysis (RPCA) and using proposed generalized homomorphic filtering (one of them using DFT (RDFT) and another using DCT (RDCT)). Therefore, total 160 EDR signals are extracted from ECG recordings of 40 subjects. In order to compare the derived respiratory signal with the reference respiratory signals, the correlation coefficient and the magnitude squared coherence coefficient are calculated. For determining the correlation coefficient, both the reference respiratory signal (Rref) and the EDR signal are decimated to get sampling rate of 15 Hz. The correlation coefficient is calculated as the maximum cross correlation between the derived respiratory signal and the reference respiratory signal (Rref) by considering possible phase delays into account. In general, the correlation coefficient c is defined between signals x½k and y½k as follows[9]: NP n 1=ðN  1Þ ðx½k x½kÞðy½k þ n  y½k þ nÞ k¼1 c ¼ sffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi N N P P 1=ðN 1Þ2 ðx½k  x½kÞ2 ðy½k  y½kÞ2 : k¼1

ð7Þ

k¼1

where N is the total number of samples in the signal, n is the shifting parameter, x½k and y½k are means of signals x½k and y½k, respectively. The magnitude squared coherence coefficient [13] between signals x½k and y½k denoted by C xy ðf Þ is defined as follows:   P xy ðf Þ2 ; ð8Þ C xy ðf Þ ¼ P xx ðf ÞP yy ðf Þ where P xx ðf Þ and P yy ðf Þ are the power spectral densities of the signals x½k and y½k, respectively, and P xy ðf Þ is the cross spectral density between the signals x½k and y½k. For calculating the magnitude squared coherence, the range of frequencies around the fundamental respiratory frequency which have at least half of maximum power are considered. Thus the magnitude squared coherence is determined as the mean coherence in a range of frequencies around the fundamental respiratory frequency [13]. The spectra are obtained by Welch's method using 210 point fast Fourier transform (FFT) with a periodic Hamming window of length of eight equal sections in both the reference respiratory signal and the EDR signal. 3.4.1. Breath rate comparison The performance of the proposed technique is also evaluated based on mean and standard deviation of the difference in breath rate of the derived respiratory signal and the reference respiratory signal. To avoid the influence of single deep breaths (i.e. cycles with very high amplitudes) the time series was first standardized. The standardization is performed by dividing the time series by the value of local maximum that was exceeded by 25% of all other local maxima [7]. Furthermore, a threshold value for valid respiratory cycle was fixed. For each 5-min segment, all valid respiratory cycles are determined using the threshold value and then the difference between the reference respiratory rate and the derived respiratory rate are determined by breath-by-breath comparison. For each segment, the mean and the standard deviation of differences in respiratory rates are calculated between the EDR signals (RDFT, RDCT, RPCA, and RRamp) and the reference respiratory signal (Rref). 3.4.2. Statistical analysis To assess whether the results of proposed technique are significant with respect to the other EDR techniques (PCA technique and the R peak amplitude technique), the Friedman's test is performed which is a nonparametric statistical test similar to the parametric two-way ANOVA. For multiple comparisons, Tukey's

H. Sharma et al. / Computers in Biology and Medicine 59 (2015) 80–86

honesty significant difference criterion is used where p o 0:05 is considered as statistically significant.

4. Results 4.1. EDR signal using homomorphic filtering It is discussed in Section 3.3 that the ECG-derived respiratory signal can be obtained via filtering of the cepstrum of ECG using suitable band pass filter. In the selected data segment, all subject's recordings are collected in the rest state and thus, the maximum variations in the respiratory frequency lie in frequency band of 0.2–0.4 Hz. Therefore, a Butterworth band pass filter (order 50 and pass band frequency range of 0.2–0.4 Hz) is used to extract the respiratory signal from the cepstrum of ECG in log domain. When compared the performance of RDFT and RDCT over 40 subjects, Friedman's test shows that no significant difference is observed in the values of correlation and

83

magnitude squared coherence coefficients of the RDFT and RDCT for the value of p o 0:05. The correlation coefficients for the RDFT and RDCT are obtained as 0.73 and 0.69, respectively and the magnitude squared coherence coefficients for the RDFT and RDCT are obtained as 0.89 and 0.85, respectively. The values for correlation and magnitude squared coherence shown in this paper are the median values calculated over forty subjects. It can be seen from the above results and Fig. 5 that the EDR technique based on homomorphic filtering using DFT (RDFT) performs better than the EDR approach based on homomorphic filtering using DCT (RDCT). Also, the EDR technique based on homomorphic filtering using DFT (RDFT) performs better in case of detection of cycles in the respiratory signal when compared with the DCT (RDCT). 4.2. Proposed EDR technique vs. existing EDR techniques The performance of the proposed EDR technique based on homomorphic filtering (RDFT and RDCT) is compared with the two well-known EDR algorithms: linear principal component analysis (RPCA) and R peak

Fig. 4. Comparison of EDR signals using different algorithms by box plot representation. (a) Correlation coefficients. (b) Magnitude square coherence coefficients. [Boxes are represented for different algorithms as: (A) RDFT, (B) RDCT, (C) RPCA, (D) RRamp; (box plot showing median, interquartile range, significant differences (p o 0.05) are indicated by the asterisk (*), n.s.: not significant)].

84

H. Sharma et al. / Computers in Biology and Medicine 59 (2015) 80–86

amplitude algorithm (RRamp). Fig. 4 compares the performance of the proposed EDR technique with the existing EDR methods is term of correlation and coherence. Friedman's test shows the significant differences in both the correlation and magnitude squared coherence coefficients of the four EDR techniques for the value of p o0:05. The correlation and coherence values for RDFT are statistically significantly better than the RRamp and RPCA. Although, the correlation and coherence values for RDCT are observed to be statistically significantly better than RRamp, but no significant statistical difference is observed to the values of RPCA. The correlation and magnitude squared coherence for the PCA based EDR technique are obtained as 0.67 and 0.85, respectively, and the correlation and magnitude squared coherence for the R peak amplitude algorithm are observed as 0.61 and 0.80, respectively. It is seen from the above results (discussed in Sections 4.1 and 4.2) that the proposed EDR technique based on homomorphic filtering using DFT (RDFT) performs better than the PCA based technique and the R peak amplitude based algorithm in terms of correlation and magnitude squared coherence. It can be observed from Fig. 4 that the correlation coefficients are more bounded in homomorphic filtering based approach (RDFT) as compared to the PCA based technique and the R peak amplitude based algorithm. The results are calculated with the part of recordings which do not contain movement artifacts and abrupt changes in the ECG signal to get optimum performance. For the extraction of respiratory signal using PCA technique, QRS complex of the ECG is used as feature to form the covariance matrix [11], and if the ECG signal is affected from abrupt changes than it is difficult to detect the R peaks of the ECG with less probability of error. Hence, the PCA based EDR technique may perform poorly when the noise and abrupt changes are present in the ECG recording. Fig. 5 represents an example of the derived respiratory signals using the proposed EDR technique, the PCA based EDR technique and the R peak amplitude based EDR algorithm along with the reference respiratory signal. It can be seen from Fig. 5 that all respiratory cycles can be observed using our proposed EDR technique (RDFT) based on homomorphic filtering, whereas the EDR signals using PCA

technique and R peak amplitude algorithm are resembled poorly with the reference respiratory signal. For the performance evaluation, the derived respiratory signal is compared with the reference respiratory signal by considering possible phase delays into account. A comparison for the breath rate accuracy among the four EDR techniques discussed in this paper is shown in Table 1. The estimated ranges of breath rates of different respiratory signals are observed as: reference respiratory signal: 7.4–23.6 cpm (cycles per minute), RDFT: 10.2–23.0 cpm, RDCT: 11.3–22.6 cpm, RPCA: 7.0–24.2 cpm and RRamp: 8.0–23.0 cpm. The mean difference between two respiratory rates Rref  RDFT is observed to be statistically significantly better than Rref  RRamp and Rref  RDCT, but any significant difference is not observed between RDFT  RPCA and RDCT RPCA. It can be seen from Table 1 that the mean difference between two respiratory rates is determined as 0.331670.19 cpm (cycles per minute) for the reference respiratory and RDFT which is approximately equal to the mean difference in respiratory rates between the reference respiratory signal and RPCA (0.336870.23 cpm) but significantly differ than RDCT (0.45070.29 cpm) and RRamp (0.510570.27 cpm). Similarly, the standard deviation difference between the reference respiratory signal (Rref) and RDFT is observed better than the other EDR techniques (RDCT, RPCA and RRamp) by small amounts, but no significant differences are observed for the values of standard deviation of the differences (bpm) of the four EDR techniques. Table 1 A comparison of breath rate accuracy of different EDR techniques. Algorithms Mean difference (mean7 SD) (cpm)

Standard deviation of differences (mean 7 SD) (cpm)

RDFT RDCT RPCA RRamp

0.24287 0.23 0.3026 7 0.09 0.25517 0.24 0.28177 0.16

0.33167 0.19 0.450 7 0.29 0.3368 7 0.23 0.51057 0.27

SD ¼standard deviation.

Fig. 5. EDR signals of the subject f1y06m for the duration of 116–296 s. (a) ECG signal. (b) Reference respiratory signal (Rref). (c) EDR using R peak amplitude algorithm (C¼0.48, C xy ðf Þ¼0.84). (d) EDR using linear principal component analysis (C¼0.66, C xy ðf Þ¼ 0.89). (e) EDR using homomorphic filtering with DCT (C¼ 0.69, C xy ðf Þ¼ 0.89). (f) EDR using homomorphic filtering with DFT (C ¼0.72, C xy ðf Þ¼ 0.91).

H. Sharma et al. / Computers in Biology and Medicine 59 (2015) 80–86

4.3. Results comparison with different filters Selection of the band pass filter in generalized homomorphic filtering is an important issue to discuss. In this paper, for performance evaluation, three band pass filters (Butterworth, Chebyshev-I and FIR filter with Kaiser window (β ¼0.5)) are used to extract the respiratory signal from the ECG using the proposed homomorphic filtering technique (using DFT in the characteristic function H). Results are determined with different orders of the filter but in most of the cases, filter with the order 50 gives better results. The performance of filters is evaluated on the basis of correlation coefficients between the reference respiratory signal and the EDR signal. The performance of these three filters varies with different ECG signals. A box plot representation of the correlation coefficients obtained for the three filters using the homomorphic filtering approach is shown in Fig. 6 where it can be seen that Butterworth filter outperforms as compared to the window based FIR filter and Chebyshev-I filter. The correlation values for RDFT using the Butterworth filter are statistically significantly better than the correlation values obtained using the FIR filter with Kaiser window and Chebyshev-I filter in the homomorphic filtering technique for the value of po0.01 but, no significant statistical difference is observed to the values of the FIR filter with Kaiser window and the Chebyshev-I filter. The Correlation coefficient for the Butterworth filter is obtained as 0.73 whereas correlation coefficients for the FIR filter with Kaiser window and the Chebyshev-I filter are determined as 0.64 and 0.61, respectively. Moreover, the Butterworth filter gives maximally-flat response and it exhibits nearly flat pass band with no ripple. Also, the waveform distortion in the Butterworth filter is less as compared to other two filters. Therefore, results obtained using the Butterworth filter are more bounded across the median value as compared to other two filters. From the results, it is observed that the Chebyshev-I and the FIR filter based on Kaiser window are not suitable for the extraction of respiratory signal from the ECG whereas the Butterworth filter is more reliable as well as more bounded across median value of correlation coefficients. 4.4. Performance of homomorphic filtering as EDR algorithm Some EDR algorithms like linear PCA and Kernel PCA (KPCA) are likely to have their drawbacks. Linear PCA performs better as EDR algorithm when analyzing beat to beat variations, but in PCA, the relation between the ECG and respiration is assumed to be linear [13]. Similarly, KPCA is less suitable for real time of short segments of data [13]. The filtering techniques for the respiratory

85

signal extraction are expected more reliable as compared to the other algorithms because of sensitivity to the noise of R peak amplitude which is a major drawback of the non-filtering EDR algorithms. Thus, the respiratory signal extracted from the ECG using the homomorphic filtering technique is expected to perform more efficiently than the other two algorithms (used in this paper for comparison) when noise affects amplitude of R peaks. The limitation of homomorphic filtering (also with existing filtering techniques) as EDR technique is that when the respiratory frequency lies outside the predefined band (0.2–0.4 Hz) then it is not possible to extract the respiratory signal using the filtering approach. To overcome this problem, valid adjustment of lower and upper cut off frequencies of band-pass filter is needed. If we select wider range of frequency, e.g., 0.1–0.8 Hz, then other components of the ECG signal and lower frequency noisy signal may fall in selected frequency range which may distort the derived respiratory signal. The lower estimated range of the reference respiratory rate in the selected data segments is observed as 7.4 cpm and the respiratory signal with this rate cannot be extracted properly using the filtering techniques when the pass band frequency range lies in the range of 0.2–04 Hz. To overcome this problem, the range of pass band needs to be tuned to get the better output. A suitable selection of band-pass filter and filter order also improve the quality of the EDR signal. The order of the filter also affects to the EDR signal in terms of shape of the respiratory cycles. In this work we have examined the results with varying filter order and in most of the cases of Fantasia data, Butterworth band pass filter of order 50 provide better results. In this paper, we also analyzed the improvement or degradation in the respiratory signal extracted from the pre-processed ECG signal. It is observed in the proposed homomorphic filtering approach that the respiratory signal extracted from the pre-processed ECG does not degrade or improve significantly as compared to the respiratory signal extracted from the original ECG. It can be seen in Fig. 7 that the respiratory signals extracted using proposed technique (RDFT) from original ECG and pre-processed ECG are approximately similar. The proposed EDR technique is computationally less expensive than the PCA based EDR technique. To assess the computational effort of homomorphic filtering with respect to the PCA technique and the R peak amplitude algorithm, we determined the computational time for all the four techniques discussed in this paper. To evaluate the computational load, computations were executed on an Intel(R) Core (TM) i3 CPU M350 processor with 2.27 GHz using MATLAB R2009a (Math-Works, NA). The four EDR signals were obtained from every subject's ECG recording, starting from the selection of the segment.

Fig. 6. Box plot representation of correlation coefficients obtained using different band pass filters (A) Butterworth Filter, (B) FIR with Kaiser window, (C) Chebyshev–I. (box plot showing median, interquartile range, significant differences (p o 0.01) are indicated by the asterisk (*), n.s.: not significant).

86

H. Sharma et al. / Computers in Biology and Medicine 59 (2015) 80–86

Fig. 7. EDR signals using homomorphic filtering of the subject f2y04m for the duration of 214–254 s. (a) Reference respiratory signal. (b) RDFT extracted from original ECG recording. (c) RDFT extracted from pre-processed ECG.

For one minute of data segment, the average computational time of RDFT and RDCT are observed as 0.594 and 0.6204 s, respectively whereas the average computational cost of RPCA and RRamp are observed as 0.825 and 0.534 s. These Results shows that proposed EDR technique is computationally efficient. In this work our aim was to assess the ability of the new algorithm to derive the respiratory signal in controlled condition and to test it against some well-known techniques. In this study, we restricted our analysis to healthy individuals and future work should assess the reliability of proposed algorithm in clinical practice. There is more real time validation required with different patient conditions (stress, exercise and any cardiac abnormalities) to extract the respiratory signal using homomorphic filtering and review the performance with other existing algorithms. 5. Conclusion In this paper, a new technique for the respiratory signal extraction from the single-lead ECG using generalized homomorphic filtering is performed. In homomorphic filtering approach, two transforms DFT and DCT are used in characteristic function H to get two different EDR signals as RDFT and RDCT, respectively. The performance of proposed EDR technique is compared with the PCA based EDR technique and the R peak amplitude based EDR algorithm in terms of correlation, magnitude squared coherence and breath rate accuracy. It is observed from the results that the EDR technique based on homomorphic filtering using DFT performs better than DCT (RDCT), and it is seen that the proposed technique (RDFT) performs significantly better than the R peak amplitude algorithm, but no significant improvement in the performance is observed when compared with the PCA based EDR technique. The proposed technique allows us a reliable technique for the respiratory signal extraction from the single lead ECG in controlled conditions. To get proper shape of respiratory signal in the EDR signal, selection of filter and order of the filter still need to analyze. Results show that the proposed EDR technique may have applications in detection of sleep activities and simultaneous study of heart and respiration process. References [1] G. Hahn, I. Ŝipinková, F. Baisch, G. Hellige, Changes in the thoracic impedance distribution under different ventilatory conditions, Physiol. Meas. 16 (3A) (1995) A161–A173.

[2] R. Pallas-Areny, J. Colominas-Balague, F.J. Rosell, The effect of respirationinduced heart movements on the ECG, IEEE Trans. Biomed. Eng. 36 (6) (1989) 585–590. [3] Ziad Bou Khaled, Gilbert Farges, First approach for respiratory monitoring by amplitude demodulation of electrocardiogram, in: Proceedings of 14th Annual International Conference on IEEE Engineering in Medicine and Biological Society, 1992, vol. 6, pp. 2535–2536. [4] D. Dobrev, I. Daskalov, Two electrode telemetric instrument for infant heart rate and apnea monitoring, Med.Eng.Phys. 20 (10) (1998) 729–734. [5] C.L. Mason and L. Tarassenko, Quantitative assessment of respiratory derivation algorithms, in: Proceedings of the 23rd Annual IEEE EMBS International Conference, 2001, pp. 1998–2001. [6] B. Raymond, R.M. Cayton, R.A. Bates, M. Chappell, Screening for obstructive sleep apnea based on the electrocardiogram—The computers in cardiology challenge, Comput. Cardiol. 27 (2000) 267–270. [7] D. Cysarz, R. Zerm, H. Bettermann, M. Fruhwirth, M. Moser, M. Kroz, Comparison of respiratory rates derived from heart rate variability, ECG amplitude, and nasal/oral airflow, Ann. Biomed. Eng. 36 (12) (2008) 2085–2094. [8] J. Boyle, N. Bidargaddi, A. Sarela, M. Karunanithi, Automatic detection of respiration rate from ambulatory single-lead ECG, IEEE Trans. Inf. Technol. Biomed. 13 (6) (2009) 890–896. [9] C. O'Brien, C. Heneghan, A comparison of algorithms for estimation of a respiratory signal from the surface electrocardiogram, Comput. Biol. Med. 37 (3) (2007) 305–314. [10] D. Labate, F.l. Foresta, G. Occhiuto, F.C. Morabito, A.L. Ekuakille, P. Vergallo, Emirical mode decomposition vs. wavelet decomposition for the extraction of respiratory signal from single-channel ECG: a comparison, IEEE Sens. J. 13 (7) (2013) 2666–2674. [11] M. Campolo, D. Labate, F. La Foresta, F.C. Morabito, A. Lay-Ekuakille, and P. Vergallo, ECG derived respiratory signal using empirical mode decomposition, in: Proceedings of the IEEE International Symposium on Medical Measurements and Applications, May 2011, pp. 399–403. [12] P. Langley, E.J. Bowers, A. Murray, Principal component analysis as a tool for analyzing beat-to-beat changes in electrocardiogram features: application to ECG-derived respiration, IEEE Trans. Biomed. Eng. 57 (4) (2010) 821–829. [13] Devi Widjaja, C. Varon, A.C. Dorado, Johan A.K. Suykens, S.V. Huffel, Application of kernel principal component analysis for single-lead-ECG derived respiration, IEEE Trans. Biomed. Eng. 59 (4) (2012) 1169–1176. [14] Alan V. Oppenheim, Ronald W. Schafer, Homomorphic analysis of speech, IEEE Translocat. Audio Electroacoust. AU-16 (2) (1968) 221–226. [15] Alan V. Oppenheim, Ronald W. Schafer, Thomas G. Stockham, Nonlinear filtering of multiplied and convolved signals, IEEE Translocat. Audio Electroacoust. AU-16 (3) (1968) 437–466. [16] I.S.N. Murthy, M.R. Rangaraj, K.J. Udupa, A.K. Goyal, Homomorphic analysis and modeling of ECG signals, IEEE Trans. Biomed. Eng. BME-26 (6) (1979) 830–844. [17] A.L. Goldberger, L.A.N. Amaral, L. Glass, J.M. Hausdorff, P.C. Ivanov, R.G. Mark, J.E. Mietus, G.B. Moody, C.K. Peng, H.E. Stanley, Physiobank, physiotoolkit, and physionet: components of new research resource for complex physiologic signals, Circulation 101 (23) (2000) e215–e220.

Respiratory rate extraction from single-lead ECG using homomorphic filtering.

In this paper a new technique for the extraction of respiratory signal from the single-lead ECG using generalized homomorphic filtering is presented. ...
961KB Sizes 0 Downloads 14 Views