Abstract
BACKGROUND:
Fetal heart activity adds significant information about the status of the fetus health. Early diagnosis of issues in the heart before delivery allows early intervention and significantly improves the treatment.
OBJECTIVE:
This paper presents a new adaptive filtering algorithm for fetal electrocardiogram (FECG) extraction from the maternal abdominal signal, known in literature as abdominal electrocardiogram (AECG) signal. Fetal QRS complex waves will be identified and extracted accurately for fetal health care and monitoring purposes.
METHODS:
We use discrete wavelet transform recursive inverse (DWT-RI) adaptive filtering algorithm for this objective. Thoracic maternal electrocardiogram (MECG) is used as a reference in the proposed algorithm and FECG components are extracted from AECG signal after suppressing the MECG projections. The proposed algorithm is compared to other typical adaptive filtering algorithms, least mean squares (LMS), recursive least squares (RLS), and recursive inverse (RI).
RESULTS:
Fetal QRS waveforms successful identification and extraction from AECG signal is evaluated objectively and visually and compared to other algorithms. We validated the proposed algorithm using both synthetic data and real clinical data.
CONCLUSIONS:
The proposed algorithm is capable of extracting fetal QRS waveforms successfully from AECG and outperforms other adaptive filtering algorithms in terms of accuracy and positive predictivity.
Keywords
Introduction
Fetal heart activity, reflected by FECG, is essential to evaluate the status of the fetus heart. It provides information about the health of the fetus, accordingly, early diagnosis of any issues in the heart before delivery allows early intervention and improves the treatment [1]. Doppler ultrasound, direct invasive FECG monitoring, and non-invasive FECG monitoring are some of the most popular techniques to monitor the fetal heart. The former is considered the most common technique for recording fetus heart rate, however, it has some disadvantages. Launching ultrasound waves toward the fetus is classified as an invasive method which is not recommended, especially for extended exposure periods.
In addition, monitoring using the currently available ultrasound sensors, attached to the mother for extended periods, is uncomfortable. Direct invasive FECG monitoring is usually performed during delivery where the electrode is attached to the fetus scalp. Non-invasive FECG techniques depend on collecting signals using surface electrodes from the mother’s body at locations that have information about the FECG signal. Research has been carried out for FECG extraction based on different processing techniques, such as singular value decomposition [2], wavelet analysis [3], independent component analysis or blind source separation [4, 5], adaptive filtering techniques [6, 7], neural networks [8, 9], adaptive neuro-fuzzy inference systems [10], fuzzy logic [11], and time domain analysis [12].
There are various noise sources that affect the noninvasive FECG signal extraction from the AECG signal which makes the process challenging because of the low signal power compared to the other components and noise sources included in the AECG such as MECG component, maternal electromyograms components, respiration, motion artifacts, power line interference and ambient noise. Many of these noise sources can be removed effectively by using classical low pass, high pass and notch filters. FECG signals exhibits a bandwidth of 0.05–120 Hz with fetal heart rate normally between 120 and 160 beats-per-minute (bpm). Using conventional selective filtering techniques to separate FECG from MECG is impossible because of the significant frequency range overlap between FECG and MECG signals.
FECG extraction using adaptive filtering techniques, which is considered as simple and fast approach, usually uses thoracic single channel as a reference signal and one maternal abdominal signal as processed signal. Adaptive filters according to optimization techniques are trained to remove the components related to the thoracic MECG signal in the abdominal signal. Propagation of the signal from the maternal heart to the location of the acquired abdominal signal is nonlinear and the patterns of the abdominal and thoracic ECG waveforms depend on the location of the electrode placement [6].
In spite of the fact that adaptive filter algorithm implemented here is effective in fetal ECG extraction, the major disadvantage is that it requires additional electrodes on the maternal thorax to provide the reference maternal ECG signal. Research has been also done of FECG extraction from the maternal abdominal without a required thoracic signal being used as a reference, e.g. [2, 13]. However, most of the time, both maternal abdominal and thoracic recordings are used for FECG extraction, e.g. [3, 14, 15].
Recursive inverse (RI) algorithm has shown a robust performance compared to other adaptive algorithms that have less order of complexity; i.e. LMS algorithm (
In this paper, we use discrete wavelet transform recursive inverse (DWT-RI) adaptive filter algorithm to eliminate the abdominal MECG projection from the maternal AECG signal and estimate the FECG components. Thoracic MECG is considered as the reference signal in the adaptive noise canceller algorithm. The method requires one abdominal recording and one maternal thoracic recording. We show results and analysis for the performance of the proposed algorithm on both synthetic and clinical real data. Performance of the proposed algorithm is compared to those of three adaptive filtering FECG extraction algorithms: the LMS, RLS and RI.
This paper is organized as follows: Section 2 presents the structure of the used adaptive filter in addition to DWT-RI algorithm. Databases and evaluation techniques used in the current study are described in the same section. Section 3 presents the results and the performance of the proposed and compared algorithms on both clinical real and synthetic ECG signals. Discussion of results is carried out in Section 4 and finally conclusions are presented in Section 5.
Materials and methods
ECG data
The proposed algorithm improves the capability of adaptive filtering in extracting the fetal ECG data form maternal abdominal signal while maternal thoracic ECG signal is available as a reference. In order to verify the reliability and feasibility of the proposed algorithm, synthesized data and real clinical ECG data are used.
Synthetic ECG data
Synthetic ECG data for thoracic ECG and abdomen ECG have been generated in Matlab environment according to [17], taking into consideration the differences between FECG and MECG signals [18]. Fetus heart beats are noticeably faster and has a much weaker amplitude than those of the mother. MECG is usually higher in intensity than the fetal ECG by around five to ten times [19]. Maternal heart rate is chosen to be around 90 bpm, while fetal heart rate is around 140 bpm. Peak voltage for the maternal thoracic ECG signal is taken as 3.5 mV compared to 0.25 mV for the fetus ECG. Both signals were generated with a sampling rate of 4 kHz and 40 s period. Thoracic mom’s signal, MECG, has been generated with additive broadband noise with SNR equals 30 dB. Mother abdomen signal has been emulated by the addition of mother thoracic signal with the effect of propagation from the heart to the abdomen represented by an FIR filter with 10 randomized coefficients. Generated fetal ECG signal and uncorrelated gaussian noise to resemble noise sources in the data is also added to the previous component to consist the overall emulated abdomen signal, AECG. Accordingly, abdominal signal is a mixture of the noisy propagated MECG, FECG signal, and noise. Generated MECG, FECG and synthesized mother’s abdomen ECG (AECG) signal are shown in Fig. 1. As noticed, the abdomen signal is dominated by the propagated mother’s ECG signal. Fetal (FECG) to propagated-maternal ECG (pMECG) signal-to-noise ratio (SNR) equals
Synthesized (a) noisy thoracic MECG signal, (b) noisy AECG signal, and (c) FECG reference signal.
Real ECG data used in our paper was downloaded from a well-known database prepared by De Moor, Database for the Identification of Systems (DaISY Database) [20]. It is used to evaluate the performance of the proposed algorithm and consists of a single dataset of non-invasive potential recording of a pregnant woman. A total of eight channels are included in this dataset, five are abdominal and three are thoracic, with a sample rate of 250 Hz and duration of 10 s each. Thoracic channels measure the same mother’s ECG from the chest but at different locations instantaneously. Abdominal channels measure the same cutaneous abdominal AECG data instantaneously but from different locations on the abdomen. AECG abdominal signal has been tested against all thoracic ECG data, namely, Thoracic1, Thoracic2, and Thoracic3 to test the performance of the proposed algorithm compared to the other algorithms in extracting FECG signal.
Proposed algorithm
An adaptive filtering algorithm is built to adaptively remove or suppress the maternal ECG signal in the abdominal signal according to the estimated thoracic reference signal, MECG here. The block diagram that represents a noise cancelling adaptive filter for this purpose is shown in Fig. 2. Desired signal here is the AECG,
Adaptive noise canceller block diagram used for the proposed algorithm.
Discrete-wavelet transform enhances the performance of the RI algorithm in terms of convergence rate and mse value. The update equation can be written as:
where
and
are the recursive estimates of the autocorrelation matrix and cross-correlation vector of
In Eq. (5),
The posteriori-error
where
where
Summary of DWT-RI algorithm
Although LMS algorithm has an advantage over other algorithms in its computational complexity (
Computational complexity of the LMS, RLS, RI and DWT-RI algorithms
Computational complexity of the LMS, RLS, RI, and DWT-RI adaptive algorithms.
Matlab
The proposed approach capability in extracting fetal ECG from maternal abdomen signal is evaluated and compared to the performance of other adaptive filtering techniques. Beat-to-beat comparison between the fetal reference QRS complex and the detected QRS complex is done using performance metrics parameters, namely, sensitivity (S), positive predictive value (PPV) and accuracy (Acc) [22], given by Eqs (10)–(12), respectively.
Statistical assessment of detected QRS complex waves using adaptive filters of different algorithms compared to the proposed algorithm, RI-DWT using synthetic data
Recovered noisy FECG signal after applying DWT-RI adaptive filter in addition to the reference fetal ECG signal.
Recovered low pass filtered FECG using DWT-RI in addition to reference fetal ECG.
Automatic detection of the fetal QRS complex. QRS complex is automatically registered whenever a peak of the filtered FECG signal is detected above the dynamic threshold.
FECG extraction: Recovered fetal ECG signals using the LMS algorithm (a) and using DWT-RI algorithm (b) compared to the reference FECG signal.
DaISY Database: Abdomen2 (a), and Abdomen5 (b), as examples of the abdomen signals and Thoracic3 (c), and Thotracic1 (d) as examples of maternal ECG signals.
where
Three typical adaptive filtering techniques are implemented and tested on both, simulated and real data, in order to evaluate the performance of the proposed method compared to them. The LMS, RLS, and RI algorithms are used for this comparison with number of taps or coefficients set to 15 for all of them. Using DWT-RI adaptive filter algorithm on FECG extraction from AECG signal of SNR
Statistical assessment of detected QRS complex waves using adaptive filters of different algorithms compared to the proposed algorithm, RI-DWT using real clinical data
Statistical assessment of detected QRS complex waves using adaptive filters of different algorithms compared to the proposed algorithm, RI-DWT using real clinical data
Extracted fetal ECG from DaISY clinical data using adaptive filter based on DWT-RI algorithm.
DWT-RI performance in FECG extraction from AECG by detecting fetal QRS complex even when occurring almost at the same time of the maternal QRS.
Performance of DWT-RI on real clinical data (a), compared to the LMS (b), and RLS (c) algorithms. Estimated FECG signal is multiplied by 4 to show both AECG and FECG signals clearly on the same graph. “R” labeled arrows determine the instants of the fetal QRS complex waves.
Sensitivity and PPV values for the proposed algorithm are calculated and presented in Table 3 in addition to the performance of the other adaptive filtering algorithms. Statistical evaluation is done for the entire period of the data starting after 2 s, i.e. from 2 s to 40 s, which contains 88 fetal QRS complex waves. Clinical data from DaISY database has been used to evaluate the performance of the proposed adaptive filter algorithm compared to other algorithms. Examples of the maternal abdominal and thoracic signals are shown in Fig. 8. As noticed, abdomen signals are significantly smaller than thoracic ones and slightly delayed compared to them by around few milliseconds. This is because the thoracic measurements are the direct measurement of the maternal ECG while abdomen measurement is the propagated version of the maternal ECG and accompanied by the weak noisy FECG from the abdomen. AECG abdominal signal has been tested against all thoracic ECG data, namely, Thoracic1, Thoracic2, and Thoracic3, in order to evaluate the performance of the proposed adaptive filter algorithm on real clinical data compared to other algorithms. Statistical assessment of the performance of the detected QRS complex waves using adaptive filters algorithms under comparison on clinical real data is presented in Table 4. Figure 9 shows the results of applying DWT-RI adaptive algorithm on thoracic and abdomen signals, where the projection of MECG has been significantly suppressed. All QRS components of FECG have been extracted well using this algorithm even when it is occurring almost at the same time of the MECG as shown in Fig. 10. Figure 11 shows a comparison between magnified parts of the resulting extracted fetal ECG signal from the abdominal signal using DWT-RI algorithm compared to the LMS and RLS algorithms. In spite that all of them are able to keep the fetal ECG, DWT-RI is more successful in suppressing the projections of MECG signal and accordingly isolate and extract FECG more successfully as noticed in Fig. 11 which shows one of the examples for these cases. This is very clear especially when the performance is compared among the algorithms if the fetal QRS is very close to the maternal QRS complex. Statistical analysis on real clinical data shows that, while all tested algorithms gave sensitivity of 100% in detecting the fetal QRS waves, positive predictivity values for the LMS, RLS, RI, and DWT-RI algorithms are 61.8%, 87.5%, 87.5%, and 91.3%, respectively.
Non-invasive FECG extraction from AECG signal is a challenging task because of the very low SNR due to the fact that FECG is usually few
Many of the previously proposed methods to extract FECG signal from the AECG signal in literature have been evaluated using synthetic or simulated signals, e.g. [24, 25, 26], or/and used real clinical datasets of very small recordings, e.g. [14, 27, 28]. The effectiveness of the algorithms is tested objectively and visually in the synthetic data. Based on the statistical evaluation on synthetic ECG data, only DWT-RI recorded no false positives nor false negatives among the total of 88 fetal heart beats among the algorithms tested in this paper. Table 3 shows the statistical evaluations for the studied algorithms.
Performance of the proposed algorithm has been also tested visually and objectively and results were presented for real clinical. All tested algorithms: LMS, RLS, RI, and DWT-RI were able to detect most of the fetal QRS complex waves but DWT-RI outperformed the other tested algorithms in both kinds of data visually and objectively. However, based on the resulting FECG signals from the real data, none of the tested methods could remove the MECG QRS component completely from AECG signal but they have been suppressed significantly. DWT-RI was more successful in suppressing the maternal QRSs as was shown in Fig. 10. Statistical evaluation using sensitivity, positive predictivity and accuracy in addition to visual inspection are used to quantitatively prove those results. According to the evaluation done in this paper on the clinical data, DWT-RI was able to extract all fetal QRS complex patterns even when they are very close to the maternal QRS waves and outperforms the other tested methods in suppressing the maternal QRS from AECG recording and extracting fetal QRS waves successfully.
Conclusions
In this paper, DWT-RI algorithm has been presented and evaluated to extract FECG from AECG signal. Objective and visual evaluation of the proposed algorithm shows promising performance in such kinds of applications. DWT-RI is capable of extracting main components of FECG signal, namely, fetal QRS complex waves, from AECG. Datasets consists of thoracic, MECG signal, and abdominal, AECG signal, were used to evaluate the performance of the proposed algorithm where one of the datasets is synthetic data and the other is real clinical data. DWT-RI shows an overall accuracy in identifying fetal QRS waveforms of 100% on synthetic and real data and significant suppression of MECG projections in AECG signal and accordingly successful extraction and identification of all fetal QRS in both kinds of data. The major drawback in the proposed algorithm, which is a common drawback in almost all algorithms using a reference signal, is the difficulty in identifying FECG components from AECG signal in very noisy environments.
Footnotes
Conflict of interest
The authors declare that they have no conflict of interest in relation to this work.
