Abstract
Electrocardiogram (ECG) signals are one of the most important diagnostic tools for any doctor, especially a cardiologist. It is important that the fetus present inside the abdomen undergoes a fetal ECG recording to assess the health of the fetus. Complications like disturbance because of movement of abdominal muscles are usually present during the recording and leads to the wrong diagnosis of the fetus ECG. In this paper, the signal in dispute had been altered in the proposed method so as to eliminate the wandering of the baseline, respiration noise and also expel the noise from other sources. The acquired abdominal ECG signal in a noninvasive manner had been considered for extracting the fetal ECG after eliminating the noise. The windowed zero mean method is used where the first step is segmentation. In segmentation, the abdominal ECG signal is divided into set of samples based on window size. Zero mean is applied across each of the windowed abdominal ECG signals to address the issue of baseline wandering and respiration noise. This is followed by the application of a bandpass filter to cancel the high-frequency noise component. This process results in an ECG signal that almost has no complications as present before. The fetal ECG signal that is procured using such a method is now easier to diagnose as compared to the acquired signal which contains noise. Thus, for a fetus, this can help in proper diagnosis. It is further noted that this method is very reliant on using and is lucid. It can be used to augment and alter signals where such complications arise in the field of medicine and clinical diagnosis.
Access provided by CONRICYT-eBooks. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
The simplicity of ECG waves is what makes them easy to comprehend and understand when compared to other wave signals. From an ordinary heart check-up to the detection of an arrhythmia we need to use the ECG [1]. The disturbance in an ECG due to various noise can cause the wrong diagnosis due to bereavement of information. Some problems that arise in ECG signal measurement are due to noise such as baseline wandering which is also usually accompanied by high-frequency noise components. Baseline wandering can arise due to respiration and sweat that affects the parameters of the electrode such as impedance. High-frequency noise components are caused by movement of the body during the procedure.
Welfare of the fetus is the prime concern in pregnancy. Though the fetal mortality rate [2] has decreased in developed countries, it is still a grave issue in developing and underdeveloped nations. Genetic diseases always pose a large looming threat on the fetus. Congenital malformations, membrane complications, malaria, and pre-eclampsia are some of the disease responsible for fetal deaths. In a study in England and Wales in the year 2007, it was found that congenital anomalies are the second highest cause of infant deaths [3]. Bradycardia [4] has led to the invention of the micropacemaker [5] which when used in a fetus helps forestall the need for exigent removal from its womb in case of any medical emergency.
There are many ways to monitor the fetus using techniques like ultrasound which is based on the usage of sensors. Non-stress test and contraction stress test are also other ways of externally monitoring the state of the fetus. Presumptuous methods like abdECG also help in relatively accurate measurement. Fetal ECG (fECG) is obtained using electrodes which are planted on the head of the fetus. Such a prying procedure is very cumbersome and invasive, which calls for the requisite for procedures that are non-invasive. Observation of the fECG can help in having an insight of ailments and anomalies that could be present in the fetus. One of the latest developments is the use of Raspberry Pi microcontroller to monitor fECG [6]. There is various noise usually present in the ECG that can arise from various sources such as interference of the power line, noise due to contact established between electrodes, electrosurgical noise, instrumentation noise and electromyography (EMG) noise that occurs due to muscle movement in the vicinity of the heart. Since the fetus is present near the abdomen, there is the possibility of much clamor that can occur due to the position and movement of the fetus. The abdomen is in an anterior part of the body which contains important organs like stomach and liver.
The abdominal muscles present abet in the process of breathing as adjunct support. During this process, there is disturbance because of the process of respiration as there is the movement of abdominal muscles present near the electrode. This neighboring signal gets acquired as a part of the reading and is more prominent when compared to the actual signal obtained from the abdomen. The noise created due to these such as high-frequency noise components due to muscle movement and the wandering of the baseline have to be addressed. Electromyography noise arises due to muscle movement that can affect the changes in fECG especially if it occurs adjacent to the heart of the fetus. These noises are inevitable and induce fallacious results. Wandering of the baseline can occur due to improper placement of electrodes and this results in the ECG wave wandering above and below the reference due to variation in amplitude. Some of these disturbances cause the signal to get lost amidst these undesirable perturbations. These problems need to be adhered to as the welfare of the fetus depends on it amidst pregnancy. This demands for elementary methods to deal with it. The paper has been fabricated in the following order: Sect. 2 provides an accord about the literature survey that gives requisite background information. This is followed by Sect. 3 which presents the method with which the problem had been approached. This is followed by Sect. 4 gives a discourse about the results achieved through the Windowed Zero Mean (WZM) method applied in this paper. The Sect. 5 gives the conclusion inferred from this method.
2 Literature Review
For a fetus, especially, the ECG signal is taken from the abdomen of the mother and as seen previously there is a lot of disturbance because of noise and this can lead to a misdiagnosis. The primary reason for this is that the ECG signal masquerades as noise in certain parts of the signal and only upon close observation it is realized that it is not noise but rather indispensable information that is being lost. The usage of such vital information can aid in augmenting the process of diagnosis. Extraction of respiration signal from ECG signal (EDR) is carried out using methods like single lead ECG [7] where EDR is estimated by cubic-spline interpolation; conductive textile electrodes which use the concept of instantaneous frequency estimation [8].
Removal of noise from Surface respiratory EMG signal is also effectuated using methods such as lean mean square widrow adaptive structure [9], butterworth filtering [10] and adaptive filtering [11]. The Heart Rate Variability method is proposed as a more accurate method when using the single lead ECG [7] whereas the conductive textile electrode [8] method indicates a closer alternation with the actual respiration signal. The lean mean square widrow adaptive structure [9] removes noise without the need for additional electrodes. In butterworth filtering method [10], the noise due to the electrode is nullified using a butterworth filter of corner frequency 20 Hz. Recursive least squares algorithm is used in the adaptive filtering method [11] to eliminate Power Line Interference and ECG noise. An EDR extracted signal accommodates plenty of noise and needs to undergo pre-processing in order to obtain a clean ECG. This incites the requisite for unsophisticated methods that need to be devised in order to deal with it. Some of the acclaimed methods that had been used to address this problem of the ECG until now are Empirical Mode Decomposition (EMD) [12] based on Hilbert-Huang transform [13], linear phase filtering [14], moving average filter [15] and discrete wavelet transform [16]. EMD [12] which is based on Huang transform [13] relies purely on data which might be a disadvantage in certain cases where the data alone will not suffice. Summation of Intrinsic mode functions is generated upon decomposition of the EMD [12] which is the motive of the EMD [12] method.
Linear phase filtering method [14] primarily focuses on reduction in the number of computations needed to achieve de-noising of signal and elimination of baseline wandering. This, however, can cause signal distortion as there will be delay variation created due to the propagation of the signal through devices which may lead to deprivation of crucial information. The moving average filter [15] is applied to the ECG and is smoothened using polynomial curve fitting. However, this requires pre-processing which might not be suitable for all cases. Discrete Wavelet Transform [16] is used to choose wavelets and the depth to attain the level of decomposition is also decided. Following this, the wavelet is shrunk using Empirical Bayes posterior median. The problem with a wavelet-based approach is that the accuracy of this method will not suffice and lead to bereavement of information. While all these methods are used to deal with ECG, none of them indicate a method to expel noise in a fECG. The Windowed Zero Mean (WZM) method proposed has ensured that there is no loss of information and uses a relatively lucid approach. Using MATLAB, this method ensures smooth de-noising and reinstatement of the original fECG signal without any compromise on the original signal.
3 Methodology
The current method is used to address the issues stated above such as Electromyography noise and baseline wandering. The procedure on how the method is ingrained is stated in the block diagram present below (Fig. 1). An abdECG signal which consists of N values from x(1) to x(N) is considered as input to the segmentation stage of the block diagram. In the first stage, the signal is segmented and segregated into different windows. The segmented signal comprises of N windows with each window of length n1. So, taking the first window, elements of the signal from x(1) to x(n1) are denoted as W1; the second window, elements of the signal from x(n1 + 1) to x(2 * n1 + 1) are denoted as W2; and so on until the Nth window where elements from x(k * n1 + 1) to x(N) are present. Then, zero mean of each segmented window on using the formula given below is taken to deprive the signal of the undesired deviation of baseline.
Here, X(k) [where k is an arbitrary number] is the zero mean value obtained for a window Wk and W(k) is an element in the window. The same is to be done for all the windows before concatenation. The signals after application of zero mean are identified and grouped accordingly from X(1) to X(N). Concatenation of all these segmented windows gives the resultant signal. In the post-processing stage, the signal with elements from X(1) to X(N) is passed through a bandpass filter with lower cut-off frequency 0.5 Hz and higher cut-off frequency 20 Hz to remove the high-frequency noise components. The output signal, X2, now obtained, consists of elements that are free from baseline wandering and high-frequency noise components.
3.1 Pseudo Code
The database used for testing abdominal and fetal ECG’s is obtained from Physiobank ATM [17, 18]. In the sample signal used, it is observed that the problem of baseline wandering and high-frequency noise constituents are significant and alter the details of the ECG, so it is proven that it is a favored signal to be tried and tested. The analysis of the first signal from the database is depicted. The first lead of the signal is seen in Fig. 2. It has a sampling frequency of 1000 Hz and the amplitude is measured in microvolts.
It is indicated that there are baseline wandering and high-frequency noise components in the signal. Figure 3 depicts a closer view of the signal at that point.
In the first stage, the window size that is to be used is contemplated. In an adult, it had been observed that the average time taken to inhale and exhale followed by an involuntary pause is from 4 to 6 s and the number of breaths taken had been around 12–20 per minute [19]. The intake of oxygen during pregnancy that usually increases does not affect the respiration rate. Therefore it is seen that taking a sampling frequency of 1000 Hz construes the use of a large window size such as 1000. This, however, leads to erroneous results as shown in Fig. 4. It is observed that though the signal has undergone zero means, the acclimatized amplitude is still elevated and does not exhibit removal of baseline wander. Similarly, when a very small window size like 10 is used, the inherent original signal is lost and time for execution also is higher.
This advocates the use of a smaller window size like 36 which yields finer results as the baseline wandering had been removed as denoted in Fig. 5.
The signal is then segmented into different sets of samples based on the window size chosen. The next stage comprises of application of zero mean in each window of the signal that is segmented. This methodology is used as it ensures localized modification of the signal; most biomedical signals have localized respiration noise as observed above. This leads to the exclusion of baseline wandering. Figure 5 indicates the elimination of baseline wandering obtained using the Windowed Zero Mean (WZM) method discussed in this paper.
A bandpass filter [20] is designed using a FIR filter which secures the input cutoff frequencies. The cutoff frequency used for the bandpass here is in the spectrum of 0.5 Hz to 20 Hz. This ensures eradication of the high-frequency noise components present in the signal. Figure 6 displays the result obtained in the spectrum analyzed.
The final signal after application of WZM method and band pass filter [20] is depicted in Fig. 7. It is noted that there is a drastic change in the signal when compared to the original one in Fig. 2.
Thus, it had been ensured that the elimination of the problems such as baseline wandering and high frequency noise component above was achieved. Now the fECG signal is relatively complemented of such disturbances that can lead to misdiagnosis.
4 Results and Discussion
The Physiobank [17, 18] database used is a renowned database for the disparity in the different types of signals that it possesses. The work on abdomen ECG and validation of result had been done with the help of direct abdECG. The data had been formulated from the signal measured from the abdomen and indicates the problem of baseline wandering and electromyography noise. The data analyzed consists of signals that have a duration of 5 min, a sampling frequency of 1000 Hz and amplitude in microvolts. There are five sets of readings in total with each reading comprising of 5 signal channels out of which the first one in each reading is a directly measured signal from the scalp of the fetus.
On inspection, it had been observed that the range of values for the window size is from 34 to 42. While it could be the sampling frequency of the abdECG signals, the window size for each signal for effective elimination of baseline wander had been individually explored and the same had been tabulated in Table 1.
Table 1 shows the signals tested from the database and their corresponding results which showcase the elimination of the wandering baseline and removal of the high-frequency noise component in a tabulated form.
Some of the cases with anomalies are in case of the fifth signal channel of R08 recording and the first signal channel of R10 recording (which have been marked) where there is irregular variation after application of the windowed zero mean method.
On analysis of the former, it is noted that there is an abrupt peak as denoted in Fig. 8.
While it is seen that the ECG signal had been adjusted in Fig. 9 using the WZM method, it had also been observed that it had not been removed entirely; the amplitude, however, had been adjusted, making sure the original state of the ECG signal is not lost.
The second case is the first signal channel of the R10 recording where there is an uneven distribution of the signals as denoted in Fig. 10.
While it is noted that that recovery of the signal had been done, there had also been a loss of signal in the filtered signal as shown in Fig. 11 upon application of zero mean.
Hence, it had been discerned that there had been the removal of baseline wandering and high-frequency noise component using the WZM method proposed in this paper.
It is also noted that this method using MATLAB is relatively facile as opposed to other methods as it’s time of execution is 3.26 s on an average. The execution time-signal duration ratio is 0.010867. Clinical trials and usage of databases such as MIT-BIH Arrhythmia database can be used for further validation in the future.
5 Conclusion
The high-frequency noise component had been expelled and the problem of baseline wandering had also been addressed. The Windowed Zero Mean method is a much simpler method as opposed to other methods as it does not require a substantial amount of time. Thus, it is a very efficient method as had been proven by assessing the physiobank database. Real-time fECG signals, other signals from the abdomen or parts of the body where such disturbances arise when a recording is taken, as well as other databases can also be used to assess this method. This can help in decipherment and recovery of the ECG signal that is lost as noise. This will aid in the process of fECG measurement for a fetus which can result in proper diagnosis thereby leading to the gratifying welfare of the fetus.
Conflict of interest
The authors disclose that there is no conflict of interest present.
References
Mehta, R.S.: ECG and cardiac arrhythmias (2014). https://www.slideshare.net/rsmehta/ecg-arrhythmias
UN Inter-agency Group for Child Mortality estimation: Mortality rate, neonatal (per 1,000 livebirths) (2015). http://data.worldbank.org/indicator/SH.DYN.NMRT
Kurinczuk, J.J., et al.: The contribution of congenital anomalies to infant mortality. https://www.npeu.ox.ac.uk/downloads/files/infant-mortality/Infant-Mortality-Briefing-Paper-4.pdf
Eliasson, H., Sonesson, S.E., Sharland, G., et al.: For the Fetal Working Group of the European Association of Pediatric Cardiology: isolated atrioventricular block in the fetus: a retrospective, multinational, multicenter study of 175 patients, vol. 124, pp. 1919–1926, October 2011. doi:10.1161/CIRCULATIONAHA.111.041970
Bar-Cohen, Y., Loeb, G.E., Pruetz, J.D., Silka, M.J., Guerra, C., Vest, A.N., Zhou, L., Chmait, R.H.: Preclinical testing and optimization of a novel fetal micropacemaker. Heart Rhythm (2015). doi:10.1016/j.hrthm.2015.03.022
Gini, J.R., Ramachandran, K.I., Nair, R.H., Anand, P.: Portable fetal ECG extractor from abdECG. In: International Conference on Communication and Signal Processing, pp. 0845–0848, April 2016
Sarkar, S., Bhattacherjee, S., Pal, S.: Extraction of respiration signal from ECG for respiratory rate estimation. In: Michael Faraday IET International Summit, pp. 336–340, September 2015
Park, S.B., Noh, Y.S., Park, S.J., et al.: Med. Bio. Eng. Comput. 46, 147 (2008). doi:10.1007/s11517-007-0302-y
Yacoub, S., Raoof, K.: Noise removal from surface respiratory EMG signal. Int. J. Elect. Comp. Energ. Electron. Commun. Eng. 2(2), 266–273 (2008)
De Luca, C.J., Gilmore, L.D., Kuznetsov, M., Roy, S.H.: Filtering the surface EMG signal: movement artefact and baseline noise contamination. J. Biomech. 43(8), 1573–1579 (2010)
Golabbakhsh, M., Masoumzadeh, M., Sabahi, M.F.: ECG and power line noise removal from respiratory EMG signal using adaptive filters. Majlesi J. Elect. Eng. 5(4), 28–33 (2011)
Blanco-Velasco, M., Weng, B., Barner, K.E.: ECG signal denoising and baseline wander correction based on the empirical mode decomposition. Comput. Biol. Med. 38, 1–13 (2008)
Huang, N.E., Shen, S.S.P.: Introduction to the Hilbert-Huang transform and its related mathematical problems. In: Hilbert-Huang Transform and Its Applications, 2nd edn., pp. 1–11. Abbrev. of Publisher, Singapore (2014). Chap. 1, Sect. 1.2
Van Alste, J.A., Schilder, T.S.: Removal of base-line wander and power-line interference from the ECG by an efficient FIR filter with a reduced number of taps. IEEE Trans. Biomed. Eng. 32(12), 1052–1060 (1985)
Pandey, V., Giri, V.K.: High frequency noise removal from ECG using moving average filters. In: International Conference on Emerging Trends in Electrical, Electronics and Sustainable Energy Systems, pp. 191–195, March 2016
Zhang, D.: Wavelet approach for ECG baseline wander correction and noise reduction. In: 27th Annual Conference of IEEE Engineering in Medicine and Biology, Shangai, pp. 1212–1215 (2005)
Goldberger, A.L., Amaral, L.A.N., Glass, L., Hausdorff, J.M., Ivanov, PCh., Mark, R.G., Mietus, J.E., Moody, G.B., Peng, C.-K., Stanley, H.E.: PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation. 101(23), e215–e220 (2000). Circulation Electronic Pages, http://circ.ahajournals.org/content/101/23/e215.full
Kotas, M., Jezewski, J., Horoba, L., Matonia, A.: Application of spatio-temporal filtering to fetal electrocardiogram enhancement. Comput. Methods Progr. Biomed. 104(1), 1–9 (2011)
Rakhimov, A.: Normal respiratory frequency, volume, chart. http://www.normalbreathing.com/index-nb.php
Kathirvel, P., Sabarimalai Manikandan, M., Prasanna, S.R.M., Soman, K.P.: An efficient R-peak detection based on new nonlinear transformation and first-order gaussian differentiator. Cardiovasc. Eng. Technol. 2(4), 408–425 (2011)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG
About this paper
Cite this paper
Joseph, J., Gini, J.R., Ramachandran, K.I. (2018). Removal of BW and Respiration Noise in abdECG for fECG Extraction. In: Thampi, S., Krishnan, S., Corchado Rodriguez, J., Das, S., Wozniak, M., Al-Jumeily, D. (eds) Advances in Signal Processing and Intelligent Recognition Systems. SIRS 2017. Advances in Intelligent Systems and Computing, vol 678. Springer, Cham. https://doi.org/10.1007/978-3-319-67934-1_1
Download citation
DOI: https://doi.org/10.1007/978-3-319-67934-1_1
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-67933-4
Online ISBN: 978-3-319-67934-1
eBook Packages: EngineeringEngineering (R0)