Next Article in Journal
Influence of WC-Based Pin Tool Profile on Microstructure and Mechanical Properties of AA1100 FSW Welds
Previous Article in Journal
Electrical Discharge Machining Non-Conductive Ceramics: Combination of Materials
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Investigation of Methods to Extract Fetal Electrocardiogram from the Mother’s Abdominal Signal in Practical Scenarios

1
Department of Electrical Engineering and Computer Science, University of California, Irvine, CA 92697, USA
2
Department of Electronics and Computer Engineering, Hanoi University of Science and Technology, Hanoi 10000, Vietnam
3
Division of Engineering and Mathematics, University of Washington, Bothell Campus, Bothell, WA 98011, USA
4
Sensoriis, Inc., Edmonds, WA 98026, USA
5
Department of Biomedical Engineering, University of California, Irvine, CA 92697, USA
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Technologies 2020, 8(2), 33; https://doi.org/10.3390/technologies8020033
Submission received: 2 May 2020 / Revised: 30 May 2020 / Accepted: 3 June 2020 / Published: 5 June 2020

Abstract

:
Monitoring of fetal electrocardiogram (fECG) would provide useful information about fetal wellbeing as well as any abnormal development during pregnancy. Recent advances in flexible electronics and wearable technologies have enabled compact devices to acquire personal physiological signals in the home setting, including those of expectant mothers. However, the high noise level in the daily life renders long-entrenched challenges to extract fECG from the combined fetal/maternal ECG signal recorded in the abdominal area of the mother. Thus, an efficient fECG extraction scheme is a dire need. In this work, we intensively explored various extraction algorithms, including template subtraction (TS), independent component analysis (ICA), and extended Kalman filter (EKF) using the data from the PhysioNet 2013 Challenge. Furthermore, the modified data with Gaussian and motion noise added, mimicking a practical scenario, were utilized to examine the performance of algorithms. Finally, we combined different algorithms together, yielding promising results, with the best performance in the F1 score of 92.61% achieved by an algorithm combining ICA and TS. With the data modified by adding different types of noise, the combination of ICA–TS–ICA showed the highest F1 score of 85.4%. It should be noted that these combined approaches required higher computational complexity, including execution time and allocated memory compared with other methods. Owing to comprehensive examination through various evaluation metrics in different extraction algorithms, this study provides insights into the implementation and operation of state-of-the-art fetal and maternal monitoring systems in the era of mobile health.

1. Introduction

Telemedicine and mobile health (m-Health) have been mentioned for more than a decade. However, only recently, have the wearable technology, internet of things (IoTs), computation power as well as telecommunication (going to 5G and beyond) reached a point where these have become possible. Further, in special scenarios such as the current covid-19 pandemic, effective distanced care and monitoring are in need more than ever. However, a feasible approach to prenatal care to help limit exposure to the novel coronavirus is pivotal, even after the pandemic ends.
A recent national study reported by the Centers for Disease Control (CDC) showed that the U.S. fetal mortality rate remained unchanged from 2006 through 2012 at 6.05 per 1000 births [1]. A key fetal monitoring parameter, which is fetal heart rate (fHR) via cardiotocography (CTG), despite being used in 85% of all labors in the U.S., and with comparable frequency during the antepartum period for monitoring, has not unequivocally shown that it can reduce perinatal mortality. The traditional CTG based non-stress test (NST) and contract stress test (CST) for fetal health assessment are all done in the clinic or hospital under the supervision of a healthcare professional. The current CTG uses the Doppler ultrasound method to measure fHR. Such measurement could be challenging at times due to the need for precise alignment with the fetal heart to detect the fHR, which could be difficult when there are excessive maternal or fetal movements, or in the case of maternal obesity [2].
To overcome the fHR measurement difficulties for CTG using the Doppler method, especially needed during a situation of possible fetal distress when fHR assessment is absolutely critical, obstetricians have resorted to measuring fHR by the more reliable method of using fECG, which currently can only be obtained through a scalp electrode directly attached to the fetal scalp [3]. However, this is an invasive procedure and can only be done after the rupture of the amniotic membrane, potentially causing some risks such as infection. Non-invasive fetal electrocardiography (NI-fECG) is among the most promising of the alternative methods for continuous fetal monitoring. It can be achieved by measuring fECG along with maternal electrocardiogram (mECG) using skin-contact electrodes placed on the mother’s abdomen. However, non-invasive acquisition of full-feature fECG from maternal abdominal recordings is not an easy task. The low signal-to-noise-ratio (SNR) of fECG and the appearance of other signals, namely mECG, baseline wander, and noise, bring challenges. A number of reports has been presented towards the development of new signal processing techniques to tackle such issues. Filtering techniques, including adaptive filtering [4,5,6,7,8], Kalman filtering [9,10,11] and wavelet transform [12,13] are among the popular ones. Although filtering techniques are very effective for single-channel ECG denoising, there are two major limitations of fECG extraction: (1) it requires an additional reference signal for adaptive filtering while a precise QRS complex (the main spike observed in an ECG graph) of the mECG signal is needed for the Kalman filter method; (2) most adaptive filtering-based methods are not robust and fail to extract fECG, particularly when the fECG and mECG signals are temporally overlapped [14]. Blind source separation (BSS) methods with well-known algorithms, including principle component analysis (PCA) and independent component analysis (ICA), have been used for fECG extraction [15,16,17]. The BSS methods assume that the abdominal electrocardiogram (aECG) is a mixture of independent signals, consisting of fECG, mECG and noise. While it shows promising performance in fECG extraction, the order of the separated independent component could not be determined, thus it is challenging to identify the fECG component for further process [18]. A number of parameters (e.g., t-test, correlation coefficient, heart rate) has been used for the automatic identification of the extracted component [19,20,21]. Template subtraction (TS) is another widely used approach. The method involves subtracting a synthetic mECG, which is generated by estimating the QRS complex waveform (mQRS) of mECG, from the abdomen signal [22,23,24,25,26,27]. The main challenge of this method involves mQRS detection [28], and it becomes more challenging if the fetal R waves overlap maternal R waves.
Those aforementioned approaches have been successfully applied to extract fECGs from aECGs, and the efficacy of these methods have been carried out by synthetic data in some studies. Nevertheless, working on real data is much more challenging, thus fECG monitoring in daily life cannot be done yet. To address this, various methods, such as Extended Kalman Filter (EKF), template subtraction (TS), independent component analysis (ICA) and their combinations, were rigorously investigated using a set of NI-fECG data in Cardiology Challenge 2013 [29]. Furthermore, we tested the efficacy of these methods with the data modified by adding different types of noise, mimicking practical scenarios that could be encountered in the home setting. A comprehensive performance metric, including F1 score, computational complexity (i.e., execution time and allocated memories), and noise robustness, was used to assess the performance.

2. Materials and Methods

The data were taken from the PhysioNet 2013 Challenge databank which consists of a collection of one-minute aECG recordings [30]. Each recording includes four noninvasive abdominal signals collected by electrodes placed on the mother’s abdomen, containing a mixture of both the fetal and maternal ECG signals. The data were obtained from multiple sources using a variety of instrumentation with differing frequency responses, resolution, and configuration. However, in all cases, the sampling rate was presented as 1000 samples/s. In each recording, in addition to four noninvasive abdominal signals, reference QRS complex annotations were manually marked by a team of experts. In this work, we used set A of the dataset, which contains 75 records, excluding a number of recordings (a33, a38, a47, a52, a54, a71, and a74) that had inaccurate reference annotations [31].

2.1. Extended Kalman Filter

Bayesian filtering is a probabilistic technique that uses incoming measurements y and a mathematical process model to recurrently estimate the posterior distribution of a hidden state random variable X at each time k [32]. The conventional Kalman Filter (KF) assumes a linear model for the system dynamics and observation equations. In practice, however, most systems are nonlinear in nature. The EKF is an extension of the standard KF to nonlinear systems. A dynamic model of the system may be represented as follows
{ x _ k = F k 1 x _ k 1 + w _ k 1 y _ k = H k x _ k + v _ k
where F k 1 is the state transition model applied to the previous state, x _ k 1 , w _ k , and v _ k correspond to the process and observation noise, which are assumed to be white, zero-mean, uncorrelated ( E [ v _ k w _ k T ] = 0 ) with associated covariance matric Q X = E { v _ k w _ k T } and R X = E { v k w k T } ,respectively [22]. It is further assumed that the components of the noise processes are uncorrelated, i.e., Q X and R X are diagonal. H X is the observation model that maps state space into the observed space. The KF estimates the state x _ k based on the knowledge of the system dynamics and the noisy measurements y _ k . When a rather precise measurement of the states of a system is valid, the diagonal entries of R X are small, and the KF gain is adapted so as to rely on that specific measurement. However, for the epochs where data are too noisy or there are no measurements available, the R X entries are large and the KF tends to follow its internal dynamics rather than tracking the observations.
McSharry et al. developed a dynamic model with a set of three differential equations to generate synthetic ECG signals in Cartesian coordinate system [33]. Further, Sameni et al. transformed the model to a polar coordinate system and provided a convenient discrete-time mathematical model [34]. The model represents an ECG signal by a sum of five Gaussian functions, each function corresponding to the five waves of an ECG signal, P, Q, R, S, T waves. The state vector of the dynamic model is defined by x k = [ θ k , z k ] T , and the state equation is given by
{ θ k + 1 = ( θ k + ω δ ) mod 2 π z k + 1 = i { P , Q , R , S , T } α i Δ θ i ω δ b i 2 exp ( Δ θ i , k 2 2 b i 2 ) + z k + η k
where Δ θ i , k = ( θ k Ψ i ) mod ( 2 π ) is the phase increment, δ is the sampling period, η k is the state noise, and α i , b i and ψ i represent the amplitude, width, and center of the Gaussian functions of the five PQRST waves. The measurement vector is defined by y k + 1 = [ ϕ k + 1 , s k + 1 ] T , where ϕ k + 1 is the observed phase representing the linear time wrapping of the R-R time interval into [ 0 , 2 π ] , and s k + 1 is the observed amplitude. The measurement equation is given by ( u k + 1 and v k + 1 denote the measurement noises).
{ ϕ k + 1 = θ k + 1 + u k + 1 s k + 1 = z k + 1 + v k + 1

2.2. Template Subtraction (TS)

The main idea of TS is to regenerate mECG and then subtracting it from the aECG. Based on maternal QRS detection, we identify each mECG cycle m belonging to 0.25 s before and 0.45 s after maternal R peak positions with respect to the duration of the whole cardiac cycle. The template maternal ECG t then was formed by taking the average of all mECG cycles, and the new mECG was obtained by replicating the t as shown in Figure 1. Another improved method based on the TS was utilized in this work, namely TSc. In this method, the template maternal ECG cycle t was scaled with a constant α. The scaling of t reduces the mismatch between the average and the actual mECG cycle m, which is caused by the time-vary morphology of the mECG [35,36]. The scaling constant a was based on the search for the least-mean square (LMS) e 2 error between m and t, as shown in the following formula:
e 2 = min t _ a m _

2.3. Independent Component Analysis (ICA)

ICA is a mathematical technique for recovering unobserved source signals (components) from observed signal mixtures. Let us denote a matrix X = [ x 1 , x 2 , x 3 , , x n ] considered as observed signals which are assumed to be linear. Instantaneous mixtures of the source signals are denoted by a matrix S = [ s 1 , s 2 , s 3 , , s n ] . We can present the relationship between X and S by the following equation:
X = A S
where matrix A represents a n × n mixing matrix and contains the mixture coefficient. The goal of ICA is to find the unmixing matrix W (i.e., the inverse of A) that will give the matrix Y-the best possible approximation of S by:
Y = W X S
For this purpose, a number of criteria can be considered on the basis of the maximization of non-gaussianity, maximum likelihood and minimization of mutual information, to name a few [18]. Typically, ICA algorithms can be broken into several steps, including centering, whitening and iterative algorithm. While the centering step is utilized to make the signal a zero-mean variable, whitening step is applied for transforming the observed signals so that the new processed observed signals are white (i.e., its components are uncorrelated and their variances equal to unity) [18]. The whitening step is necessary as it can significantly simplify the ICA problem. For iterative algorithm steps, there are number of formulations for this procedure. For instance, JADE algorithm was first developed as an application of blind identification in beamforming [37,38] which is iterative with a defined number of iterations. The FastICA algorithm [18] is considered to be the most popular method among ICAs due to its simplicity, convergence speed and satisfactory results in numerous applications. This algorithm is often used in ‘real time’ applications because of the possible parallel implementation. It converges quickly as it seeks for the components one by one. FastICA uses simplified kurtosis for the independent component estimation, and the detail of this algorithm has been summarized in the Algorithm 1 chart. Another optimization algorithm is RobustICA. Compared with FastICA, RobustICA uses a general kurtosis contrast function to maximize the non-gaussianity, as shown in the following Algorithm 2 chart. The process of this method is described in [39]. Overall, using RobustICA has some advantages over FastICA, such as (1) pre-processing is not required which allows one to deal with all signal types; and (2) RobustICA uses an adaptive step size, ensuring that the weights converge to the actual convergence point, thus avoiding getting trapped as the former algorithm does.
Algorithm 1: FastICA
1.Pre-processing
  • Centering              x = x m e a n ( x )
  • Whitening             x = E D 1 / 2 E T x
2.Weight update
  • Choose random initial starting weight vector w
  • Let w + = E { x g ( w T x ) } E { g ( w T x ) } w       (*)
with x is the centered and whitened data and g is the function that selects one of the following two functions.
g 1 = tanh ( a 1 u )
g 2 = u * exp ( u 2 / 2 )
  • Let                            w = w + / | | w + | |
  • If not converged, go back to (*).
  • Decorrelate if working with several units
    w p + 1 = w p + 1 j = 1 p w p + 1 T w j w j
    w p + 1 = w p + 1 / w p + 1 T w p + 1
3. Source extraction
y = w T x
Algorithm 2: RobustICA
1. No Pre-processing Required
2. Weight update
  • Choose random initial starting weight vector w
  • Let                  w + = w + μ o p t g                   (*)
    g = w K ( w ) = 4 E 2 { | y | 2 } { E { y | 2 y * x | } E { y x } E { y * 2 } ( E { | y | 4 } | E { y 2 } | 2 ) E { y * x } E { | y | 2 } }
    μ o p t = a r g m a x k ( | K ( w + μ k g ) | )
  • Let                w = w + / | | w + | |  
  • If not converged, go back to (*).
  • Decorrelate if working with several units
    w p + 1 = w p + 1 j = 1 p w p + 1 T w j w j
    w p + 1 = w p + 1 / w p + 1 T w p + 1
3. Source extraction
y = w T x
In this work, we explored three algorithms (i.e., JADE, FastICA and RobustICA) for fECG extraction to evaluate their efficacy in terms of accuracy, computational complexity and noise robustness. Furthermore, combining the TS method and ICA method can yield superior performance, as shown in a previous study [32]. Therefore, we attempted to use the combinations as: (1) TS-ICA in which the aECGs were first applied TS method to remove the mECG component, ICA method was then used to extract fECG. This method is useful as mECG’s amplitude is dominant in the aECG, the use of TS may help to retain the fECG component; (2) ICA-TS in which the aECGs were first applied by ICA method, and four new separated signals produced were then put through the TS method. Utilizing ICA at the beginning is for extracting fECG, mECG and other components; however, it does not completely remove mECG in the extracted fECG. Thus, applying the TS method could eliminate the remaining mECG component; and (3) ICA–TS–ICA in which the aECGs went through three steps; specifically, after removing mECG from the residual of (ICA-TS), ICA could be used again. It may have better results because four sources in residual signals have not showed mECG, so with using ICA in the last step, there will be three noise channels and one fECG channel.

2.4. Fetal QRS Detection

2.4.1. Fetal QRS Detection with EKF

Based on this dynamic model, several algorithms employing EKF for the extraction of fECG from abdominal signals have been proposed. One such algorithm used sequential EKF algorithms. First, the baseline wander was removed by using a low pass filter, assuming the processed signal is a mixture of the mECG, fECG and noise. Next, EKF was employed to extract mECG. The fallowing step is removing the mECG signal by subtracting it out from the processed signal. The output of this step is fECG along with noise, which another EKF was used to extract the fECG from. Finally, fetal QRS complex (fQRS) was detected using the Pan-Tompkin algorithm, as shown in Figure 2 [34].

2.4.2. Fetal QRS Detection with TS, ICA and Their Combination

Figure 3 illustrates the fQRS detection process with TS, ICA and their combinations. First, the aECG signals were preprocessed to remove the baseline wander, power line noise and high-frequency noise. Specifically, a notch filter with the cutoff frequency of 50 Hz was utilized to remove the power line noise while a high pass filter and a low pass filter were deployed to eliminate the baseline wander and high-frequency noise with the cutoff frequency of 10 and 99 Hz, respectively. Second, it should be noted that the mECG’s amplitude is usually larger than other components in aECG. Thus, the Pan-Tompkin algorithm [40] was implemented on four aECG signals, resulting in R peaks of mECG (mQRS detection), as shown in Figure 4a. Third, the algorithms in the source separation block, which could be the TS method, ICA method or combined methods, have been used. In the case of TS, as described in Section 2.2, after mQRS detection, a template mECG was produced (Figure 4b). Subsequently, we subtract the aECG with the template mECG, resulting in four residuals. Finally, the Pan-Tompkin algorithm was used to detect fQRS (Figure 4c). With the available fQRS reference annotations, the channel having the highest F1 score would be chosen. In the case of ICA, three different ICA methods (i.e., JADE, FastICA and RobustICA) were utilized in source separation. After applying ICA, the output would be fECG, mECG and two other noise signals. The reference mQRS would be used to select the mECG channel in the output. The Pan-Tompkin algorithm was then utilized for other channels (i.e., fECG and two other noise signals). Finally, the fECG channel was chosen based on a smoothing indicator (SMI). Specifically, the SMI was defined as the number of occurrences, over each-minute segments, where the absolute value of the change in instantaneous heartrate is more than 29 beats per minute [16]. This threshold was empirically determined on the data and which channels had the lowest SMI, it was referred to fECG channel.

2.5. Experiments

2.5.1. Modified Signals with Gaussian Noise Added

The aECG acquired in the daily life would include various kinds of noise. According to the Central Limit Theorem, these tend toward a normal distribution. Therefore, Gaussian noise with different amplifications has been added to the data to mimic the real scenarios. Specifically, the normally distributed random noise was generated by the random function in MATLAB with the lowest amplitude ranging from −4 to 4 µV, which is denoted as noise level 0. Then, different noise levels were achieved by multiplying with constants divisible by 3 (i.e., 3, 6, 9, 12, 15, 18 and 21).

2.5.2. Modified Signals with Motional Artifacts Added

The dataset was obtained in the clinical setting, where motion noise was mostly avoided because the subjects were in resting position, so the movement artifacts should be added to the data for practical applications. We attempted to generate a realistic motion noise. First, the ECG data were recorded from a healthy subject during different types of activities such as walking. For the ECG recording, the OpenBCI Cyton board (OpenBCI, Brooklyn, NY, USA) was used with two of its default electrodes. The board communicates wirelessly with a computer. Since the amplitude of the noise is an important factor, normalization had been used for all of signals to reinsure aECG and the motion noise have realistic amplitudes. For extracting motion noise, the acquired data first should be normalized between −1 and 1 and then by using EKF, motion noise and filtered ECG data are achieved. In the second step, for adding the motion noise to aECG, the aECG data should be normalized with the same threshold. In the last step, the motion noise is added to the normalized aECG (Figure 5).

2.6. Comparison Schemes

2.6.1. F1 Score

A statistical analysis to assess the accuracy of detected positions of the fQRS extracted by the aforementioned algorithms was performed by comparing with the positions of the annotated fQRS. We computed F1 scores of the proposed algorithms as follows
F 1 = 2 × T P 2 × T P + F N + F P
where TP, FP and FN are true positive (correctly identified fQRS), false positive (wrongly detected fQRS) and false negative (missed fQRS) detections, respectively. Note that the error of for fQRS detection (FP) is evaluated using a window-based metric (i.e., the positions of detected fQRS were wrong if it did not belong to 50 ms before and 50 ms after the positions of the annotated fQRS).

2.6.2. Time Execution

This assessment aims to compare the complexity among methods, hereby providing suggestions to implement the algorithms to other platforms with different computational capacities. Here, a computer with the following configuration was used: Intel Core i5-8400 CPU @ 2.80 GHz 6 Cores; Window 10 Education x64bit; RAM 16GB DDR4 and the software Matlab R2016. The execution time of each algorithm is calculated from the end of pre-processing to the end of R peak detection.

2.6.3. Allocated Memory

Memory requirement is not very important when algorithms are implemented on modern computers; however, it will be important when mobile platforms with limited computational power are used, especially in real time. For this calculation, the memory function in MATLAB is used. Results are dependent on the computer hardware and the load on the computer.

3. Results

Table 1 presents results of the average F1 score in the 68 aECG records using different approaches. The combination of TS-FastICA yielded the highest F1 score with 92.61%, followed by JADE-TS-JADE and TS-JADE methods with 91.56% and 91.16%, respectively. The lowest F1 scores were found in EKF, JADE, FastICA and RobustICA, with 54.34%, 61.27%, 60.08%, and 59.60%, respectively. It should be noted that using these algorithms alone was not as effective as when they were combined with other algorithms. Once motion noise was added, the F1 score was reduced significantly. More specifically, the highest F1 score was below 90%, including TS-RobustICA, JADE-TS and JADE-TS-JADE. The lowest F1 was from EKF with 51.45%.
In Table 2 the number of records that had a F1 score lower than 50% is illustrated, providing a comprehensive assessment about the reliability of each approach. Specifically, the use of a combination of different approaches resulted in the lowest number of records with an F1 score below 50%, while using individual approach increased the number of records with an F1 score below 50%, especially in EKF, with 38 out of 68 records. This is important, since many of the previous works that used EKF for fECG extraction illustrated their work’s result using a limited number of records. However, we applied EKF on all 75 recordings and although some extremely high F1 scores have been achieved, for 38 records an F1 score lower than 50% was achieved. Similarly, the data with added motion noise showed a higher number of recordings with an F1 score below 50% which is reasonable as motion noise may dominate fECG, which has lower amplitudes.
The performance of studied approaches with noise-added data is described in Figure 6. It is obvious that, with higher noise levels, lower F1 was achieved. All approaches showed a linear curve for F1 score when increasing the noise level, except for EKF. The F1 score in EKF slightly increased in noise level 3, compared with that in noise level 0. It could be suggested that the noise added may superimpose the fECG signal, inadvertently easing the ability of this method to find peaks in fECG signal.
Table 3 shows the amount of memory used for each algorithm. The EKF method occupied the highest memory capacity with 2940 MB, while other algorithms showed memory below 1300 MB. Although a combination of different methods could provide higher performance, i.e., higher F1 score, it took higher amount of memory than running them individually. For both high-performance and low memory occupied case, JADE-TS-JADE would satisfy that criteria. Figure 7 depicts the time execution ran multiple times for each algorithm. In general, the time execution did not change significantly during each running. The approaches with FastICA method including, e.g., FastICA-TS-FastICA, TS-FastICA, FastICA-TS, FastICA, showed the highest time execution with nearly 1 s. Other approaches fluctuated within 0.75 s in first few running and stayed at 0.3 s after that. TS and TSc methods took the lowest time to finishing the program.
In EKF, we used a beat-fitter module that calculates α i and b i ( α i and b i represent the amplitude and width of the Gaussian functions of the five PQRST waves). In this module, a number of kernels should be placed in critical points of the ECG. Both automatic and manual beat fitter modules were tested, but the manual module is more robust. However, for the manual one, calculating the computational time is impossible, since it ends when the user is done with choosing the kernels. On the other hand, in the automatic module based on the desired minimum error of the dynamic model, the computational time varies. The average computational time in automatic EKF is 21.7 s.

4. Discussion

We compare different fECG extraction algorithms via assessing five well-defined criteria: the raw data, the motion noise, the white noise, the execution time and the required memory. Using the original data, the F1 score widely varies, from 92.61% (TS-FastICA) to 54.34% (EKF). Algorithms with the same topology have relatively close F1 scores. The results of TS algorithms are fairly consistent, and the same thing happened to ICAs. TS algorithms give better results than pure ICA algorithms and when we combine them, we get a higher F1 score. With motion noise added, algorithms such as EKF and ICA have an accuracy reduced by only 1% to 3%. However, for TS algorithms, F1-score was reduced by more than 11%. Overall, JADE-TS-JADE has the best performance and has the highest accuracy. However, RobustICA-TS shows the lowest accuracy reduction after adding motion noise. In other words, RobustICA-TS is more robust. According to the results presented in Table 2, JADE-TS-JADE has the least number of records with F1 scores lower than 50% and EKF has the most F1 scores lower than 50% indicating the reliability and consistency of methods. Although the result of JADE-TS-JADE is the most reliable, the EKF algorithm only requires one channel for data acquisition and fECG extraction, while other methods need four channels of aECG. This indicates that, with EKF, the physical device would be smaller and more unobtrusive.
Figure 6 illustrates the performance of algorithms in the presence of white noise with different amplitudes. In high SNR (low white noise), TS-FastICA has the best performance while in low SNR (high white noise), TS-JADE works better. Note that in very low SNR, data were completely corrupted, and the performance of different methods was found similar. The next criterion is allocated memory for fECG extraction. Table 3 presents the required memory for these methods. The required memory for all methods was less than 1300 MB, except EKF. EKF needs much more memory for fECG extraction. Since for home-based monitoring, algorithms run on microprocessors, the required memory could be important.
Figure 7 shows the computational time for these methods (excluding EKF). Execution time, which is the time it takes for the mentioned computer to process one of the 75 recordings (60 s) from the dataset is vastly different. TS algorithms need the least time, 0.128 s, while that of FastICA-TS-FastICA is 1.5 s, which is the slowest running algorithm. We could see that four algorithms containing FastICA are very slow. The reason is that, in some cases, the FastICA algorithm did not converge, depending on several initial values, while other algorithms are quite stable. If we remove those cases, the execution time of these algorithms will be approximately that of the same topology algorithms.
We noticed that the execution time of TS and TSc is shortest. The execution time of algorithms containing FastICA and RobustICA (such as FastICA-TS and RobustICA-TS; TS-FastICA and TS-RobustICA etc.) is nearly equal. Meanwhile, if we replace FastICA or RobustICA in those algorithms with JADE, it would take less time. In addition, we observed that JADE-TS runs slower than JADE-TS-JADE. The reason for this is that JADE-TS takes more time in the block fQRS detection and selection. The same thing happens with FastICA-TS and FastICA-TS-FastICA pairs. However, the advent of high-speed processors has made this factor less important.

5. Conclusions

We have carried out a comprehensive study of different methods for fECG extraction. Accuracy, noise robustness and simplicity were utilized as criteria to compare, which holds promise to enable a home-based monitoring system for the unborn children as well as the expectant moms. In such scenarios, the signal most likely interfered with motion artifacts; therefore, the performance of an algorithm in data with motion is preferred. In this case, JADE-TS-JADE showed the best performance in terms of the aforementioned criteria. The EKF has the weakest performance, especially with noise added; however, it requires only one channel for fECG extraction, thus bringing compactness in manufacturing, and thus possibly being widely accepted by users. In future work, our team will focus on cloud-based analytics of fHR/fECG and mECG for promoting maternity care, as well as novel algorithms to reliably extract fECG with full features of P waves, QRS complexes and T waves for the early detection of congenital heart disease and critical events during pregnancy.

Author Contributions

Conceptualization, T.G., H.C.; Formal analysis, S.S., T.L., A.M.N., Q.-D.N. and H.C.; Funding acquisition, M.P.H.L. and H.C.; Investigation, S.S., T.L., A.M.N., T.G., M.P.H.L. and H.C.; Methodology, T.G., and H.C.; Project administration, H.C.; Software, S.S., T.L., A.M.N., Q.-D.N., B.T.-Y.K. and H.-D.H.; Supervision, H.C., H.-D.H.; Visualization, S.S., T.L., A.M.N. and Q.-D.N.; Writing—original draft, S.S., T.L., A.M.N., Q.-D.N., T.G., M.P.H.L. and H.C.; Writing—review and editing, S.S., T.L., A.M.N., Q.-D.N., M.P.H.L. and H.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work is financially supported by the NSF CAREER Award #1917105 (H.C.), the NIH R41 #OD024874 (M.P.H.L. and H.C.) and the startup fund from the Henry Samueli School of Engineering, UC Irvine (H.C.).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gregory, E.C.W.; MacDorman, M.F.; Martin, J.A. Trends in Fetal and Perinatal Mortality in the United States, 2006–2012. Available online: https://www.cdc.gov/nchs/data/databriefs/db169.pdf (accessed on 4 June 2020).
  2. Hamelmann, P.; Vullings, R.; Kolen, A.F.; Bergmans, J.W.M.; van Laar, J.; Tortoli, P.; Mischi, M. Doppler Ultrasound Technology for Fetal Heart Rate Monitoring: A Review. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2020, 67, 226–238. [Google Scholar] [CrossRef] [PubMed]
  3. Hunter, J.C.A.; Braunlin, R.J.; Lansford, K.G.; Knoebel, S.B. Method for Obtaining a Fetal Electrocardiogram. U.S. Patent No 3,120,227, 4 Feburary 1964. [Google Scholar]
  4. Martinek, R.; Kahankova, R.; Nazeran, H.; Konecny, J.; Jezewski, J.; Janku, P.; Bilik, P.; Zidek, J.; Nedoma, J.; Fajkus, J. Non-Invasive Fetal Monitoring: A Maternal Surface ECG Electrode Placement-Based Novel Approach for Optimization of Adaptive Filter Control Parameters Using the LMS and RLS Algorithms. Sensors 2017, 17, 1154. [Google Scholar] [CrossRef] [PubMed]
  5. Fotiadou, E.; van Laar, J.O.E.H.; Oei, S.G.; Vullings, R. Enhancement of low-quality fetal electrocardiogram based on time-sequenced adaptive filtering. Med. Biol. Eng. Comput. 2018, 56, 2313–2323. [Google Scholar]
  6. Kaleem, A.M.; Kokate, R.D. An Efficient Adaptive Filter for Fetal ECG Extraction Using Neural Network. J. Intell. Syst. 2019, 28, 589. [Google Scholar] [CrossRef]
  7. Wu, S.; Shen, Y.; Zhou, Z.; Lin, L.; Zeng, Y.; Gao, X. Research of fetal ECG extraction using wavelet analysis and adaptive filtering. Comput. Biol. Med. 2013, 43, 1622–1627. [Google Scholar] [CrossRef]
  8. Sharma, M.; Ritchie, P.; Ghirmai, T.; Cao, H.; Lau, M.P. Unobtrusive acquisition and extraction of fetal and maternal ECG in the home setting. In Proceedings of the 2017 IEEE SENSORS, Glasgow, UK, 29 October–1 November 2017; pp. 1–3. [Google Scholar]
  9. Vullings, R.; Vries, B.d.; Bergmans, J.W.M. An Adaptive Kalman Filter for ECG Signal Enhancement. IEEE Trans. Biomed. Eng. 2011, 58, 1094–1103. [Google Scholar] [CrossRef] [Green Version]
  10. Suganthy, M.; Manjula, S. Enhancement of SNR in fetal ECG signal extraction using combined SWT and WLSR in parallel EKF. Clust. Comput. 2019, 22, 3875–3881. [Google Scholar] [CrossRef]
  11. Andreotti, F.; Riedl, M.; Himmelsbach, T.; Wedekind, D.; Zaunseder, S.; Wessel, N.; Malberg, H. Maternal signal estimation by Kalman filtering and Template Adaptation for fetal heart rate extraction. In Proceedings of the Computing in Cardiology 2013, Zaragoza, Spain, 22–25 September 2013; pp. 193–196. [Google Scholar]
  12. Jothi, S.; Prabha, K. Fetal Electrocardiogram Extraction Using Adaptive Neuro-fuzzy Inference Systems and Undecimated Wavelet Transform. IETE J. Res. 2012, 58, 469. [Google Scholar] [CrossRef]
  13. Martinek, R.; Kahankova, R.; Nedoma, J.; Fajkus, M.; Cholevova, K. Fetal ECG Preprocessing Using Wavelet Transform. In Proceedings of the 10th International Conference on Computer Modeling and Simulation, Sydney, Australia, 8–10 January 2018. [Google Scholar]
  14. Sameni, R. Extraction of Fetal Cardiac Signals from an Array of Maternal Abdominal Recordings. Ph.D. Thesis, Sharif University of Technology (SUT), Teheran, Iran, 2008. [Google Scholar]
  15. Gurve, D.; Pant, J.K.; Krishnan, S. Real-time fetal ECG extraction from multichannel abdominal ECG using compressive sensing and ICA. In Proceedings of the 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Seogwipo, Korea, 11–15 July 2017; pp. 2794–2797. [Google Scholar]
  16. Rahmati, A.K.; Setarehdan, S.K.; Araabi, B.N. A PCA/ICA based Fetal ECG Extraction from Mother Abdominal Recordings by Means of a Novel Data-driven Approach to Fetal ECG Quality Assessment. J. Biomed. Phys. Eng. 2017, 7, 37–50. [Google Scholar]
  17. Martinek, R.; Kahankova, R.; Jezewski, J.; Jaros, R.; Mohylova, J.; Fajkus, M.; Nedoma, J.; Janku, P.; Nazeran, H. Comparative Effectiveness of ICA and PCA in Extraction of Fetal ECG From Abdominal Signals: Toward Non-invasive Fetal Monitoring. Front. Physiol. 2018, 9, 648. [Google Scholar] [CrossRef] [Green Version]
  18. Hyvärinen, A.; Oja, E. Independent component analysis: Algorithms and applications. Neural Netw. 2000, 13, 411–430. [Google Scholar] [CrossRef] [Green Version]
  19. Yamamoto, U.; Nakamura, Y.; Yokouchi, H.; Hiroyasu, T. Improving the accuracy of the method for removing motion artifacts from fNIRS data using ICA and an accelerometer. In Proceedings of the 2014 World Automation Congress (WAC), Waikoloa, HI, USA, 3–7 August 2014; pp. 131–136. [Google Scholar]
  20. Yu, Q.; Yan, H.; Song, L.; Guo, W.; Liu, H.; Si, J.; Zhao, Y. Automatic identifying of maternal ECG source when applying ICA in fetal ECG extraction. Biocybern. Biomed. Eng. 2018, 38, 448–455. [Google Scholar] [CrossRef]
  21. Le, T.; Fortunato, J.; Maritato, N.; Cho, Y.; Nguyen, Q.; Ghirmai, T.; Cao, H.; Lau, M.P.H.; Han, H.D.; Nguyen, C.K.; et al. Home-based mobile fetal/maternal electrocardiogram acquisition and extraction with cloud assistance. In Proceedings of the 2019 IEEE MTT-S International Microwave Biomedical Conference (IMBioC), Nanjing, China, 6–8 May 2019; pp. 1–4. [Google Scholar]
  22. Ungureanu, M.; Johannes, W.M.B.; Swan, G.O.; Strungaru, R. Fetal ECG extraction during labor using an adaptive maternal beat subtraction technique. Biomed. Tech. 2007, 52, 56. [Google Scholar] [CrossRef] [PubMed]
  23. Varanini, M.; Tartarisco, G.; Billeci, L.; Macerata, A.; Pioggia, G.; Balocchi, R. An efficient unsupervised fetal QRS complex detection from abdominal maternal ECG. Physiol. Meas. 2014, 35, 1607–1619. [Google Scholar] [CrossRef] [PubMed]
  24. Zaunseder, S.; Andreotti, F.; Cruz, M.; Stepan, H.; Schmieder, C.; Malberg, H.; Wessel, N.; Jank, A. Fetal QRS detection by means of Kalman filtering and using the Event Synchronous Canceller. In Proceedings of the 7th International Workshop on Biosignal Interpretation, Como, Italy, 2–4 July 2012. [Google Scholar]
  25. Behar, J.; Oster, J.; Clifford, G.D. Combining and benchmarking methods of foetal ECG extraction without maternal or scalp electrode data. Physiol. Meas. 2014, 35, 1569–1589. [Google Scholar] [CrossRef] [Green Version]
  26. Lee, K.J.; Lee, B. Sequential Total Variation Denoising for the Extraction of Fetal ECG from Single-Channel Maternal Abdominal ECG. Sensors 2016, 16, 1020. [Google Scholar] [CrossRef] [Green Version]
  27. Liu, H.; Chen, D.; Sun, G. Detection of Fetal ECG R Wave From Single-Lead Abdominal ECG Using a Combination of RR Time-Series Smoothing and Template-Matching Approach. IEEE Access 2019, 7, 66633–66643. [Google Scholar] [CrossRef]
  28. Matonia, A.; Jezewski, J.; Horoba, K.; Gacek, A.; Labaj, P. The maternal ECG suppression algorithm for efficient extraction of the fetal ECG from abdominal signal. In Proceedings of the 2006 International Conference of the IEEE Engineering in Medicine and Biology Society, New York, NY, USA, 30 August–3 September 2006; pp. 3106–3109. [Google Scholar]
  29. Clifford, G.D.; Silva, I.; Behar, J.; Moody, G.B. Non-invasive fetal ECG analysis. Physiol. Meas. 2014, 35, 1521–1536. [Google Scholar] [CrossRef]
  30. Silva, I.; Behar, J.; Sameni, R.; Zhu, T.; Oster, J.; Clifford, G.D.; Moody, G.B. Noninvasive fetal ECG: The PhysioNet/computing in cardiology challenge 2013. In Proceedings of the Computing in Cardiology 2013, Zaragoza, Spain, 22–25 September 2013; pp. 149–152. [Google Scholar]
  31. Behar, J.; Oster, J.; Clifford, G.D. Non-invasive FECG extraction from a set of abdominal sensors. In Proceedings of the Computing in Cardiology 2013, Zaragoza, Spain, 22–25 September 2013; pp. 297–300. [Google Scholar]
  32. Behar, J. Extraction of Clinical Information From the Non-Invasive Fetal Electrocardiogram. Ph.D. Thesis, University of Oxford, Oxford, UK, 2014. [Google Scholar]
  33. McSharry, P.E.; Clifford, G.D.; Tarassenko, L.; Smith, L.A. A dynamical model for generating synthetic electrocardiogram signals. IEEE Trans. Biomed. Eng. 2003, 50, 289–294. [Google Scholar] [CrossRef] [Green Version]
  34. Sameni, R.; Shamsollahi, M.B.; Jutten, C.; Clifford, G.D. A nonlinear Bayesian filtering framework for ECG denoising. IEEE Trans. Biomed. Eng. 2007, 54, 2172–2185. [Google Scholar] [CrossRef] [Green Version]
  35. Cerutti, S.; Baselli, G.; Civardi, S.; Ferrazzi, E.; Anna, M.M.; Pagani, M.; Pardi, G. Variability analysis of fetal heart rate signals as obtained from abdominal electrocardiographic recordings. J. Perinat. Med.—Off. J. WAPM 1986, 14, 445. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Martens, S.M.M.; Rabotti, C.; Mischi, M.; Sluijter, R.J. A robust fetal ECG detection method for abdominal recordings. Physiol. Meas. 2007, 28, 373–388. [Google Scholar] [CrossRef] [PubMed]
  37. Cardoso, J.F.; Souloumiac, A. Blind beamforming for non-Gaussian signals. IEE Proc. F—Radar Signal Process. 1993, 140, 362–370. [Google Scholar] [CrossRef] [Green Version]
  38. Cardoso, J. High-Order Contrasts for Independent Component Analysis. Neural Comput. 1999, 11, 157–192. [Google Scholar] [CrossRef] [PubMed]
  39. Zarzoso, V.; Comon, P. Robust Independent Component Analysis by Iterative Maximization of the Kurtosis Contrast With Algebraic Optimal Step Size. IEEE Trans. Neural Netw. 2010, 21, 248–261. [Google Scholar] [CrossRef] [PubMed]
  40. Pan, J.; Tompkins, W.J. A real-time QRS detection algorithm. IEEE Trans. Biomed. Eng. 1985, 32, 230–236. [Google Scholar] [CrossRef]
Figure 1. Template subtraction (TS)’s illustration for abdominal electrocardiogram (aECG).
Figure 1. Template subtraction (TS)’s illustration for abdominal electrocardiogram (aECG).
Technologies 08 00033 g001
Figure 2. Fetal QRS (fQRS) detection process: (1) Preprocessing step with low pass filter utilized; (2) extended Kalman filter (EKF) applied for maternal ECG (mECG) extraction; (3) mECG subtracted from filtered aECG signal and EKF used for fetal ECG (fECG) extraction; (4) The Pan-Tompkins algorithm applied for fQRS detection.
Figure 2. Fetal QRS (fQRS) detection process: (1) Preprocessing step with low pass filter utilized; (2) extended Kalman filter (EKF) applied for maternal ECG (mECG) extraction; (3) mECG subtracted from filtered aECG signal and EKF used for fetal ECG (fECG) extraction; (4) The Pan-Tompkins algorithm applied for fQRS detection.
Technologies 08 00033 g002
Figure 3. fQRS detection process: (1) Preprocessing step with notch filter, high pass filter and low pass filter utilized; (2) The Pan-Tompkins algorithms applied for mQRS detection used to create a template mECG and for channel selection in independent component analysis (ICA) method; (3) Source separation includes different approaches (TS, ICA and its hybrid). For ICA and the hybrid method, the extracted signals contain 4 signals (i.e., fECG, mECG and two noise signals; (4) Using mQRS detection from (2) as a criterion for fECG selection; (5) The Pan-Tompkins algorithm applied for fQRS detection.
Figure 3. fQRS detection process: (1) Preprocessing step with notch filter, high pass filter and low pass filter utilized; (2) The Pan-Tompkins algorithms applied for mQRS detection used to create a template mECG and for channel selection in independent component analysis (ICA) method; (3) Source separation includes different approaches (TS, ICA and its hybrid). For ICA and the hybrid method, the extracted signals contain 4 signals (i.e., fECG, mECG and two noise signals; (4) Using mQRS detection from (2) as a criterion for fECG selection; (5) The Pan-Tompkins algorithm applied for fQRS detection.
Technologies 08 00033 g003
Figure 4. fQRS detection illustrated by TS method: (a) the aECG signal is filtered baseline wander and power line and applied Pan-Tompkins for mQRS detection; (b) a template of mECG is constructed from filtered aECG and the R peaks of mECG; (c): the residual signal is derived by the subtraction between filtered aECG and template mECG and Pan-Tompkins is applied for fQRS detection. The fQRS annotation is also included (plus sign in green).
Figure 4. fQRS detection illustrated by TS method: (a) the aECG signal is filtered baseline wander and power line and applied Pan-Tompkins for mQRS detection; (b) a template of mECG is constructed from filtered aECG and the R peaks of mECG; (c): the residual signal is derived by the subtraction between filtered aECG and template mECG and Pan-Tompkins is applied for fQRS detection. The fQRS annotation is also included (plus sign in green).
Technologies 08 00033 g004
Figure 5. Illustration of applying noise to record a01 with motion added: (a) Normalized a01 record; (b) Generated motion noise; (c) a01 with added motion noise artifact.
Figure 5. Illustration of applying noise to record a01 with motion added: (a) Normalized a01 record; (b) Generated motion noise; (c) a01 with added motion noise artifact.
Technologies 08 00033 g005
Figure 6. F1 comparison with different Gaussian noise levels.
Figure 6. F1 comparison with different Gaussian noise levels.
Technologies 08 00033 g006
Figure 7. Time execution comparisons.
Figure 7. Time execution comparisons.
Technologies 08 00033 g007
Table 1. Average F1 score (%) with different methods for all records.
Table 1. Average F1 score (%) with different methods for all records.
MethodWithout Motion NoiseWith Motion Noise
TS-FastICA92.6185.02
JADE-TS-JADE91.5685.43
TS-JADE91.1682.35
TS-RobustICA90.7180.63
JADE-TS90.5785.10
RobustICA-TS-RobustICA89.2982.67
RobustICA-TS87.4383.21
FastICA-TS-FastICA87.0782.47
TSc83.1270.64
FastICA-TS82.9677.94
TS82.6571.02
JADE61.2759.81
FastICA60.0859.38
RobustICA59.6058.74
EKF54.3451.45
Table 2. Number of records out of 68 datasets with F1 scores less than 50%.
Table 2. Number of records out of 68 datasets with F1 scores less than 50%.
MethodWithout Motion NoiseWith Motion Noise
EKF3840
RobustICA2828
FastICA2227
JADE1819
TSc1017
TS1017
FastICA-TS69
FastICA-TS-FastICA 55
RobustICA-TS55
RobustICA-TS-RobustICA25
TS-RobustICA28
TS-JADE17
TS-FastICA14
JADE-TS-JADE11
JADE-TS03
Table 3. Required memory for different methods.
Table 3. Required memory for different methods.
MethodRequired Memory (MB)
EKF2940
JADE-TS1222
TS1220
TS-FastICA1211
TS-RobustICA1210
FastICA-TS1206
TSc1205
TS-JADE1204
RobustICA-TS-RobustICA1202
RobustICA-TS1199
FastICA-TS-FastICA 1199
RobustICA1199
JADE-TS-JADE1192
FastICA1183
JADE1175

Share and Cite

MDPI and ACS Style

Sarafan, S.; Le, T.; Naderi, A.M.; Nguyen, Q.-D.; Kuo, B.T.-Y.; Ghirmai, T.; Han, H.-D.; Lau, M.P.H.; Cao, H. Investigation of Methods to Extract Fetal Electrocardiogram from the Mother’s Abdominal Signal in Practical Scenarios. Technologies 2020, 8, 33. https://doi.org/10.3390/technologies8020033

AMA Style

Sarafan S, Le T, Naderi AM, Nguyen Q-D, Kuo BT-Y, Ghirmai T, Han H-D, Lau MPH, Cao H. Investigation of Methods to Extract Fetal Electrocardiogram from the Mother’s Abdominal Signal in Practical Scenarios. Technologies. 2020; 8(2):33. https://doi.org/10.3390/technologies8020033

Chicago/Turabian Style

Sarafan, Sadaf, Tai Le, Amir Mohammad Naderi, Quoc-Dinh Nguyen, Brandon Tiang-Yu Kuo, Tadesse Ghirmai, Huy-Dung Han, Michael P. H. Lau, and Hung Cao. 2020. "Investigation of Methods to Extract Fetal Electrocardiogram from the Mother’s Abdominal Signal in Practical Scenarios" Technologies 8, no. 2: 33. https://doi.org/10.3390/technologies8020033

APA Style

Sarafan, S., Le, T., Naderi, A. M., Nguyen, Q. -D., Kuo, B. T. -Y., Ghirmai, T., Han, H. -D., Lau, M. P. H., & Cao, H. (2020). Investigation of Methods to Extract Fetal Electrocardiogram from the Mother’s Abdominal Signal in Practical Scenarios. Technologies, 8(2), 33. https://doi.org/10.3390/technologies8020033

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop