Literature DB >> 25494711

Invariant heart beat span versus variant heart beat intervals and its application to fetal ECG extraction.

Huawen Yan, Hongxing Liu1, Xiaolin Huang, Ying Zhao, Junfeng Si, Tiebing Liu.   

Abstract

BACKGROUND: The fundamental assumptions for various kinds of fetal electrocardiogram (fECG) extraction methods are not consistent with each other, which is a very important problem needed to be ascertained.
METHODS: Based on two public databases, the regularity on ECG wave durations for normal sinus rhythm is investigated statistically. Taking the ascertained regularity as an assumption, a new fECG extraction algorithm is proposed, called Partial R-R interval Resampling (PRR).
RESULTS: Both synthetic and real abdominal ECG signals are used to test the algorithm. The results indicate that the PRR algorithm has better performance over the whole R-R interval resampling based comb filtering method (RR) and linear template method (LP), which takes advantages of both LP and RR.
CONCLUSIONS: The final drawn conclusion is: (1) the proposition should be true that the individual's heart beat span is invariable for normal sinus rhythm; (2) the proposed PRR fetal ECG extraction algorithm can estimate the maternal ECG (mECG) more accurately and stably even in the condition of large HRV, finally resulting in better fetal ECG extraction.

Entities:  

Mesh:

Year:  2014        PMID: 25494711      PMCID: PMC4320593          DOI: 10.1186/1475-925X-13-163

Source DB:  PubMed          Journal:  Biomed Eng Online        ISSN: 1475-925X            Impact factor:   2.819


Background

Non-invasive fetal electrocardiogram (fECG) extraction is a classic dilemma in biomedical signal processing. Researchers put forward various kinds of methods to solve this problem. These methods can be classified into: (1) multi-channel methods, like principal component analysis and its variants [1-3], independent component analysis [4, 5], periodic component analysis (piCA) [6-9], some wavelet based methods [10, 11], adaptive method [12-14] and so on; (2) single-channel methods, such as singular value decomposition (SVD) [15], R-R interval resampling based comb filter (RR) [16], linear template methods (LP) [17-21] and so on; (3) and fusion methods [22-25]. A detailed description about these methods can be found in literature [26]. Among the above three kinds of methods, the single-channel methods are always used to subtract the maternal electrocardiogram (mECG) component from the mixed abdominal ECG (aECG) recording. Since mECG component usually takes up the highest proportion in aECG, the accurate estimation of mECG component is a key procedure to obtain final high-quality fECG. When using SVD [15] and RR [16] methods to estimate mECG component, R-R interval resampling is required because of the periodicity and the heart rate variability (HRV) of mECG signal. In essence, an underlying hypothesis is taken that the lengths of various waves in each cardiac cycle are proportional to the length of the R-R interval (heart beat interval). Linear template (LP) [17-21] methods are simple, effective and widely used mECG estimation methods. In LP methods, the wave complexes in current cardiac cycle are estimated by summing the weighted wave complexes from neighbour cardiac cycles, depending on at least the peak detection of each QRS complex for different heart cycles. In essence, it is assumed that when heart beat interval is time-variant, the heart beat span (i.e. the length from the beginning of P wave to the end of T wave) is stable. So no resampling step is taken in current LP methods. For the above two assumptions, there is no clear conclusion on which one is correct. In [27, 28], it is said that the length from the beginning of P wave to the peak of R wave (Ps-R) is weakly dependent on heart rate, while in literatures [21, 29] the authors think it depends on the instantaneous heart rate. As for the length from the peak of R wave to the end of the T wave (R-Te), literatures [27, 28] have the opinion that the T wave is strongly dependent on heart rate, becoming narrower and closer to the QRS complex at rapid heart rates, while the opposite view is given in [21]. In [28], it is considered that the length from the end of T wave to the beginning of next P wave (Te-Ps) is strongly dependent on the heartbeat duration. So far, we have not seen literatures to ascertain such disagreement problem for normal sinus rhythm. Obviously, the above disagreement problem is related to whether SVD, RR and LP methods are used correctly. It is a very crucial thing for designing a high-quality fECG extraction method, especially when the mECG has large HRV. Based on MIT Normal Sinus Rhythm Database (NSRDB as Set A) [30] and the MIT-BIH Arrhythmia Database (ADB as Set B) [30, 31], the problem is investigated in this paper and a regularity comes out that heart beat span is invariant for variable heart beat intervals. Then we propose a new corresponding single channel fECG extraction algorithm based on the regularity. Both HRV and periodicity are considered in the method. And its effectiveness is verified by synthetic and real recordings.

Methods

Investigation on regularity of ECG waves duration

A typical complete cardiac cycle is showed in Figure 1. Ps is the beginning point of P wave, and Te is the end point of T wave. Each cardiac cycle begins with a Ps point, including P wave, QRS complexes, T wave and then ends at the next Ps point. Let’s define the period from Ps to Te as heart beat span, and the period from Te to the next Ps as diastolic period.
Figure 1

A complete cardiac cycle and some feature points.

A complete cardiac cycle and some feature points. The databases selected as research resources are Set A [30] and Set B [30, 31]. Set A is a normal sinus rhythm database, including 18 long-time records, with two channels for each record, and the sampling frequency is 128 Hz. And Set B is a database containing 48 two-channel recordings with different degree of arrhythmia; the sampling frequency is 360 Hz. Take the record “19093” from Set A as an example. A period from its first channel is given in Figure 2(a) and the first 5 cardiac cycles are depicted in Figure 2(b). It is quite obvious that the heart beat spans of the five cardiac cycles are almost the same, while the diastolic periods are quite different in length. The length of Ps-Ps (t), the length of Ps-R (t), the length of R-Te (t) and the length of Te-Ps (t) for the first 500 seconds-length data of record “19093” are illustrated in Figure 3. Details about how these characteristic waves are detected can be seen in Figure 4; an eye inspection is a must to ensure the validation of the detected results. And the final results are exported after manually correcting the inappropriate detections. Gradients (ks) for regression lines of t vs. t, t vs. t and t vs. t are also calculated and listed in Figure 3. Since k for t vs. t is nearly one and ks for the other two are almost zero, we can say that the length differences of Ps-Ps intervals are reflected totally by the change of t.
Figure 2

Duration regularity for different cardiac cycles. (a) data from the first channel of “19093”, (b) durations of five cardiac cycles.

Figure 3

, , , and the gradients (k) (data: 19093). (a) t vs. t , (b) t vs. t , (c) t vs. t .

Figure 4

The block diagram for characteristic wave detection of ECG signal [32] .

Duration regularity for different cardiac cycles. (a) data from the first channel of “19093”, (b) durations of five cardiac cycles. , , , and the gradients (k) (data: 19093). (a) t vs. t , (b) t vs. t , (c) t vs. t . The block diagram for characteristic wave detection of ECG signal [32] . The above result on record “19093” presents that the t and t are quite stable compared with t. That is, there exists so called invariant heart beat span with the variant heart beat intervals. A further validation with the databases is given below. First, because of the difficulty in detecting Ps and Te points accurately, for convenience we replace Ps-R by P-R interval, R-Te by R-T interval, Te-Ps by T-P interval and Ps-Ps by R-R interval for statistics’ validation. If the above conclusion from data “19093” is correct, the both substitute intervals P-R and R-T also should be stable, and T-P interval and R-R interval should always vary accordingly. Then, twelve records from Set A and seven from Set B with obvious P and T waves are selected. The first 500 seconds (s) data for each selected record are cut out for statistical analysis. Note that pieces that P or T wave is not clear are thrown away. As in Table 1 shown, for the nineteen records the lengths of T-P (t) and R-R interval (t) change all the time, their standard deviation (std) are about 10-2; the lengths of P-R (t) and R-T interval (t) are comparatively stable, their std are 10-3. For t vs. t and t vs. t their gradients are in the order of 10-2; for t vs. t the gradients are bigger than 0.85. Considering the std and gradients, we think the results are consistent with that on record “19093”. The conclusion agrees with the underlying hypothesis taken by LP. It also illustrates the irrationality lying in SVD [15] and RR [16] methods.
Table 1

, , and for the nineteen records in Set A and Set B

Record no. t P-R t R-T t T-P t R-R
mean (s)stdmean (s)stdmean (s)stdmean (s)std
10.1080.0060.2780.0090.5650.0310.9510.032
20.1590.0110.2220.0080.3160.0300.6970.028
30.1670.0090.2840.0160.3100.0740.7600.069
40.1420.0100.2170.0120.4550.0730.8130.071
50.1620.0050.2520.0060.4010.0540.8140.054
60.1190.0090.2680.0090.5640.0820.9510.080
70.1060.0100.2420.0100.3990.0450.7470.043
80.1230.0080.2230.0110.2170.0630.5630.065
90.1310.0050.2140.0100.3460.0460.6910.052
100.1350.0060.2120.0120.2930.0820.6410.088
110.1470.0050.2320.0040.5130.0590.8920.060
120.1640.0060.2200.0090.2410.0430.6240.047
130.1500.0070.3140.0140.4990.0490.9620.059
140.1360.0070.2320.0080.3880.0140.7560.016
150.1560.0070.3080.0090.7280.0291.1920.028
160.1630.0080.3050.0100.4380.0220.9060.023
170.2030.0060.3200.0100.6710.1191.1940.122
180.1650.0100.2310.0170.4170.0450.8130.048
190.1560.0060.3540.0170.4440.0420.9540.043
, , and for the nineteen records in Set A and Set B

Partial R-R interval resampling based fECG extraction Algorithm (PRR)

According to the conclusion earlier mentioned, combining the advantages of LP and RR method, a modified fECG extraction algorithm is proposed. The core algorithm is shown in Figure 5. Unlike RR method, the proposed algorithm only resamples part of each R-R interval, so it is called Partially R-R Resampling based comb filter i.e. PRR.
Figure 5

Core algorithm block diagram for RR and PRR.

Core algorithm block diagram for RR and PRR. The proposed core steps of PRR are further described as follows: Step 1 in Figure 5: segmentation. Detect the maternal R peaks in aECG. Take the Ps point as the point T s before each R peak and Te point as the point T s after each R peak. Then a complete cardiac cycle can be divided as Ps-Te-Ps. Ps-Te period is the previously mentioned heart beat span and Te-Ps period is the diastolic period. Step 2 in Figure 5: Te-Ps interval up-resample. Denote the lengths of diastolic period as l, l,…, l, l (points). Each diastolic period is resampled to have the same number of samples l. l can be the maximum one of l, l,…, l, l. Thus every diastolic period is up resampled. And every heart beat span keeps unchanged. The total length of a cardiac cycle after resampling is L = (T + T)*fs + l, here fs is the sampling rate . Step 3 in Figure 5: comb filtering. The up-resampled periodic signal convolutes with a comb filter. The designing detail for a comb filter can be found in literature [16]. The result is an estimation of up-resampled mECG.Step 4 in Figure 5: Te-Ps interval down-resample. Resample diastolic periods of the estimated up-resampled mECG to recover their original lengths. It turns out to be the estimation to mECG. The residual ECG (rECG) is obtained after subtracting it from the original aECG. The rECG can be seen as the estimation to fECG; of course, the noise can be weakened in a further step to get a clearer fECG which is not discussed in the paper. In above Step 1, the T and T values have slight difference for different individuals. T lies between 0.15 and 0.20 s, while T lies 0.20 to 0.35 s [29]. In reality, it is difficult to detect the points Ps and Te steadily online, since P wave and T wave may be invisible in aECG. Therefore, we set T =0.2 s and T = 0.4 s fixedly in the proposed PRR. A further illustration about this can be found in the Discussion Section.

Results

The performance of the PRR algorithm is tested on synthetic mECG and aECG data and real antenatal abdominal recordings. The RR and LP are also implemented for comparison. In LP, the template window is chosen as the window between R peak -5/12 T and R peak + 7/12 T, here T is the average length of several R-R intervals [17, 18].

Tests on synthetic data

The simulated synthetic data is created as follows: (1) generate the ECG without HRV as in literature [33]; (2) change the length of each Te-Ps interval, to make it has HRV and constant heart beat span. The new length of a changed Te-Ps interval N = (1 + r × rand) × n, here n is the original length of a Te-Ps interval, rand is a random number between -1 and 1, and r is a set number between 0 and 1, called HRV variation coefficient. The bigger r, the larger signal’s HRV. Figure 6(a) gives an example of the synthetic ECG with r = 0.4.
Figure 6

Estimation errors for PRR, RR and LP when  = 0.4. (a) the original synthetic ECG, (b) the error by PRR, (c) the error by RR, (d) the error by LP.

Estimation errors for PRR, RR and LP when  = 0.4. (a) the original synthetic ECG, (b) the error by PRR, (c) the error by RR, (d) the error by LP. For the simulated synthetic data showed in Figure 6(a), its ECG component is estimated by PRR, RR and LP respectively. The estimation errors are calculated and showed in Figure 6(b-d) respectively, in which error = eECG-ECG, with eECG representing the estimation of ECG. The root mean squares (RMS) of the estimation errors are also calculated, which are 0.0159, 0.0234 and 0.0419 respectively. Further take r as 0, 0.1, …, 0.8, 0.9 respectively to generate synthetic data to test. Create 20 synthetic ECG data for each r. The tested results are depicted with an errorbar plot as Figure 7, in which the Y-axis represents RMS value of the estimation errors.
Figure 7

RMSs of estimation errors for different HRV variation coefficient

RMSs of estimation errors for different HRV variation coefficient We also generate 20 synthetic aECGs to test. For each synthetic aECG, we fixedly set r = 0.4 to create its mECG component and r = 0 to create its fECG component. In the test, the mECG components are estimated and subtracted from aECGs, resulting in rECGs. Then the added fECG components are excluded from rECGs, obtaining the resultant errors, whose wave power ratios (WPR s) are listed in Table 2. The WPR is defined as
Table 2

using PRR, RR and LP for 20 synthetic aECGs

No.12345678910
PRR × 10-2 0.4030.8570.5041.3760.5142.3240.5811.7681.8730.442
RR × 10-2 2.5072.2742.0752.2721.5233.9781.9393.1993.4282.521
LP × 10-2 0.4470.9200.5701.6160.5572.5560.6671.9102.2490.494
No.11121314151617181920
PRR × 10-2 0.6870.4800.5410.7840.5000.5200.5310.6040.4551.072
RR × 10-2 2.0291.8672.2521.7702.4051.9891.8012.9352.1141.445
LP × 10-2 0.7620.5400.5910.9090.5170.6190.6500.6740.5051.135
using PRR, RR and LP for 20 synthetic aECGs here s and e are respectively the point 0.2 s before and 0.4 s after i-th R peak. N is the number of R peaks. The numerator measures the residual mECG component power in rECG, while the denominator mainly measures the original mECG power in aECG. The WPR indicates how much mECG component is kept in rECG. Figure 8 has illustrated estimation errors for a specific aECG when using three methods, and their WPR calculated are 0.0034, 0.0166 and 0.0048 respectively.
Figure 8

Estimation errors for an aECG (mECG HRV  = 0.4). (a) synthetic aECG, (b) estimation error by PRR, (c) estimation error by RR, and (d) estimation error by LP. Zoom of the grey segments are showed on the right.

Estimation errors for an aECG (mECG HRV  = 0.4). (a) synthetic aECG, (b) estimation error by PRR, (c) estimation error by RR, and (d) estimation error by LP. Zoom of the grey segments are showed on the right. From Figure 6(b-d) and Figure 8(b-d), it’s quite clear that: (1) RR method always has quite serious erroneous estimations on P and T waves; (2) LP method may have some transient errors at the edges of a diastolic period; (3) for PRR and LP, their estimations to the QRS complexes are almost the same. From Figure 7 it’s showed that: when r = 0, i.e. ECG has no HRV, the RMSs of errors for synthetic ECGs are the same for the three method; for others, RMSs for RR and LP increase with r but RMSs for PRR stay the same. Generally speaking, the tests on synthetic ECG show that PRR can estimate the ECG signal more accurately especially when it has large HRV.

Experiments on real data

Tests are taken on data from MIT ADFED [30, 31] which contains five real-life records. Each record has five channels - one direct fECG and four abdominal ECG. The sampling rate is 1 KHz and their sampling durations are five minutes. First, take record “r01” to test. 12 pieces of 5 second-length signals from 2.5 s to 62.5 s of the whole record are chosen. According to the steps described in Figure 5, mECGs are estimated and rECGs are obtained for these signals. rECGs and their spectrums by PRR, RR and LP respectively are depicted in Figure 9(b-e, g-j). From Figure 9, the three methods have almost same residual maternal QRS complexes; however, RR method has larger residual maternal T wave than the other two methods. The WPRs for rECGs of the 12 pieces are listed in Table 3. We can see that the WPRs for PRR are always the smallest among the three methods.
Figure 9

The rECG for “r01” by the proposed method PRR, RR and LP. (a) abdominal ECG, (f) spectrum of abdominal ECG, (b) residual ECG obtained by PRR, (g) spectrum of the residual ECG obtained by PRR, (c) residual ECG obtained by RR, (h) spectrum of the residual ECG obtained by RR, (d) residual ECG obtained by LP, (i) spectrum of the residual ECG obtained by LP, (e) the corresponding direct fECG and (j) spectrum of the direct fECG. (The grey segments indicate the residue of mECG complexes).

Table 3

s for rECGs of record “r01” (*indicate the signal piece showed in Figure 9 )

No.12*3456789101112
PRR 0.0723 0.0718 0.0739 0.0714 0.0702 0.0644 0.074 0.0631 0.0863 0.0750 0.0702 0.1056
RR0.07820.0950.10980.08810.07770.07240.07560.07260.08840.07900.07470.1084
LP0.0880.07750.07470.07610.08340.06530.08560.06930.09450.08100.07280.1091
The rECG for “r01” by the proposed method PRR, RR and LP. (a) abdominal ECG, (f) spectrum of abdominal ECG, (b) residual ECG obtained by PRR, (g) spectrum of the residual ECG obtained by PRR, (c) residual ECG obtained by RR, (h) spectrum of the residual ECG obtained by RR, (d) residual ECG obtained by LP, (i) spectrum of the residual ECG obtained by LP, (e) the corresponding direct fECG and (j) spectrum of the direct fECG. (The grey segments indicate the residue of mECG complexes). s for rECGs of record “r01” (*indicate the signal piece showed in Figure 9 ) The errorbar of WPRs for all the five records are depicted in Figure 10. Generally speaking, the WPRs for PRR are the smallest.
Figure 10

The errorbar of for five real records.

The errorbar of for five real records.

Discussion

On invariant heart beat span

Based on the lengths of ECG waves for recordings in Set A and Set B, we get a conclusion that for normal sinus rhythm when the instant heart beat interval changes the heart beat span keeps almost unchanged, while the length of diastolic period fluctuates with heart beat interval. HRV is always explained by the autonomic nerve’s regulation of heart and circulation system [34]. The activity of parasympathetic or sympathetic nervous system affects the sinus node’s beating rhythm [26, 27], and further affect the heart beat to have HRV. However, autonomic nerve may affect HRV just by determining the beat beginning point, i.e., Ps point on ECG, don't control the duration of heart being excited, i.e., heart beat span. The heart beat span for a person should only be determined by his or her own heart's physiology and healthy condition itself. Therefore, if there is no conduction block disease, the HRV for normal sinus rhythm just affects the variation of the length of Te-Ps interval. The lengths of P wave, P-R interval, QRS wave and S-T interval are independent of the heart beat rate [26], which constituting the stable heart beat span.

Individual difference’s effect on PRR performance

In Method Section we set T and T to be fixed. But actually different individuals may have slight difference on them. Now we discuss the effect below. Generating 11 synthetic ECG signals as Result Section described. Their r is 0.4. The real lengths of Ps-R t and R-Te t intervals for these signals and their offsets to T and T are listed in Table 4. The RMS for estimation errors by using PRR and RR are given in Figure 11. For PRR when T and T get closer to their real values, the RMS becomes smaller; when they are equal the RMS-curve gets its minimum. The offset between them indeed affects PRR’s performance. In addition, no matter how large the offset is, the proposed method outperforms RR method. Considering the difficulty in P wave detection and its lower amplitude compared with T wave, in PRR T can be set as a fixed value while T can be decided online according to the T peak detection.
Table 4

The real lengths of Ps-R and R-Te intervals and their offsets to the fixed values for the 11 synthetic signals

t Ps-R (s)0.150.160.170.180.190.20.210.220.230.240.25
t R-Te (s)0.300.320.340.360.380.40.420.440.460.480.50
(t Ps-R-T Ps-R) + (t R-Te-T R-Te)-0.15-0.12-0.09-0.06-0.0300.030.060.090.120.15
Figure 11

The RMS for synthetic signals with different and .

The real lengths of Ps-R and R-Te intervals and their offsets to the fixed values for the 11 synthetic signals The RMS for synthetic signals with different and .

Conclusions

With statistical analysis to the lengths of ECG waves from two databases, the conclusion comes out: heart beat span is invariant while the heart beat interval changes all the time. According to this prior information, a new modified fECG extraction algorithm is proposed called PRR. It copes with the mECG estimation inaccuracy caused by HRV and enhances the signal to noise ratio of the remaining fECG signal. Experiments show that the larger the HRV, the more obvious the advantage of PRR over other methods. So the proposed PRR method is outstanding on robustness, and it is believed it can be used into the practical fECG extraction. The computation complexity of this method can be studied in further work.
  26 in total

1.  PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals.

Authors:  A L Goldberger; L A Amaral; L Glass; J M Hausdorff; P C Ivanov; R G Mark; J E Mietus; G B Moody; C K Peng; H E Stanley
Journal:  Circulation       Date:  2000-06-13       Impact factor: 29.690

2.  Fast technique for noninvasive fetal ECG extraction.

Authors:  Ruben Martín-Clemente; Jose Luis Camargo-Olivares; Susana Hornillo-Mellado; Mar Elena; Isabel Roman
Journal:  IEEE Trans Biomed Eng       Date:  2010-07-19       Impact factor: 4.538

3.  Fetal ECG extraction during labor using an adaptive maternal beat subtraction technique.

Authors:  Mihaela Ungureanu; Johannes W M Bergmans; Swan Guid Oei; Rodica Strungaru
Journal:  Biomed Tech (Berl)       Date:  2007-02       Impact factor: 1.411

4.  A robust fetal ECG detection method for abdominal recordings.

Authors:  Suzanna M M Martens; Chiara Rabotti; Massimo Mischi; Rob J Sluijter
Journal:  Physiol Meas       Date:  2007-03-07       Impact factor: 2.833

5.  Dynamic segmentation and linear prediction for maternal ECG removal in antenatal abdominal recordings.

Authors:  R Vullings; C H L Peters; R J Sluijter; M Mischi; S G Oei; J W M Bergmans
Journal:  Physiol Meas       Date:  2009-02-17       Impact factor: 2.833

6.  Principal component analysis as a tool for analyzing beat-to-beat changes in ECG features: application to ECG-derived respiration.

Authors:  Philip Langley; Emma J Bowers; Alan Murray
Journal:  IEEE Trans Biomed Eng       Date:  2009-04-07       Impact factor: 4.538

7.  Multichannel electrocardiogram decomposition using periodic component analysis.

Authors:  Reza Sameni; Christian Jutten; Mohammad B Shamsollahi
Journal:  IEEE Trans Biomed Eng       Date:  2008-08       Impact factor: 4.538

8.  Determination of fetal heart rate from abdominal signals: evaluation of beat-to-beat accuracy in relation to the direct fetal electrocardiogram.

Authors:  Janusz Jezewski; Adam Matonia; Tomasz Kupka; Dawid Roj; Robert Czabanski
Journal:  Biomed Tech (Berl)       Date:  2012-10       Impact factor: 1.411

9.  An efficient unsupervised fetal QRS complex detection from abdominal maternal ECG.

Authors:  M Varanini; G Tartarisco; L Billeci; A Macerata; G Pioggia; R Balocchi
Journal:  Physiol Meas       Date:  2014-07-29       Impact factor: 2.833

10.  Non-invasive fetal ECG analysis.

Authors:  Gari D Clifford; Ikaro Silva; Joachim Behar; George B Moody
Journal:  Physiol Meas       Date:  2014-07-29       Impact factor: 2.833

View more
  1 in total

1.  Fetal electrocardiograms, direct and abdominal with reference heartbeat annotations.

Authors:  Adam Matonia; Janusz Jezewski; Tomasz Kupka; Michał Jezewski; Krzysztof Horoba; Janusz Wrobel; Robert Czabanski; Radana Kahankowa
Journal:  Sci Data       Date:  2020-06-25       Impact factor: 6.444

  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.