Adaptive Layer-Dependent Threshold Function for Wavelet Denoising of ECG and Multimode Fiber Cardiorespiratory Signals
Abstract
1. Introduction
2. Method of Layered Threshold Functions
| Algorithm 1 Binary Search for Optimal Tuning Factors |
| Require: Maximize NZOPP |
| Ensure: Optimal tuning factor with precision |
| 1: Initialize |
| 2: while do |
| 3: |
| 4: |
| 5: |
| 6: Compute NZOPP values: |
| 7: |
| 8: |
| 9: |
| 10: |
| 11: |
| 12: Find =, , , , |
| 13: if is in then |
| 14: let |
| 15: else if is in then |
| 16: let |
| 17: else if is in then |
| 18: let and |
| 19: end if |
| 20: end while |
| 21: return |
3. Materials, Experimentations and Analysis
3.1. Validation of Layer-Dependent Wavelet Threshold Function
3.2. Validation for Noisy ECG Signal
3.3. Validation for Measured ECG Signal
3.4. Validation for Multi-Mode Fiber Heartbeat and Respiration Signal
4. Results
- SNR improvement: 1.68–10.00 dB;
- SINAD gain: 1.68–9.98 dB;
- RMSE reduction: 0.02–0.56;
- PRD reduction: 2.88–183.29%.
5. Discussion
6. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Moreno-Sánchez, P.A.; García-Isla, G.; Corino, V.D.; Vehkaoja, A.; Brukamp, K.; Van Gils, M.; Mainardi, L. ECG-based data-driven solutions for diagnosis and prognosis of cardiovascular diseases: A systematic review. Comput. Biol. Med. 2024, 172, 108235. [Google Scholar] [CrossRef]
- Tang, B.; He, K.; Liu, S.; Wu, Z.; Yang, C. Preoperative ECG-assisted feature engineering enhances prediction of new-onset atrial fibrillation after cardiac surgery. Comput. Methods Programs Biomed. 2025, 264, 108696. [Google Scholar] [CrossRef]
- Ruiz-Barroso, P.; Castro, F.M.; Miranda, J.; Constantinescu, D.A.; Atienza, D.; Guil, N. FADE: Forecasting for anomaly detection on ECG. Comput. Methods Programs Biomed. 2025, 267, 108780. [Google Scholar] [CrossRef]
- Zhao, H.Y.; Li, T.L.; Yang, J.; Pang, C.Y. An error-bounded median filter for correcting ECG baseline wander. Health Inf. Sci. Syst. 2023, 11, 45. [Google Scholar] [CrossRef]
- Sirtoli, V.G.; Liamini, M.; Lins, L.T.; Lessard-Tremblay, M.; Cowan, G.E.R.; Zednik, R.J.; Gagnon, G. Removal of motion artifacts in capacitive electrocardiogram acquisition: A review. IEEE Trans. Biomed. Circuits Syst. 2023, 17, 394–412. [Google Scholar] [CrossRef]
- Shen, J.J.; Li, X.; Wang, Y.H.; Li, Y.; Bian, J.; Zhu, X.J.; He, X.Y.; Li, J.M. Anti-motion interference electrocardiograph monitoring system: A review. IEEE Sens. J. 2024, 24, 15727–15747. [Google Scholar] [CrossRef]
- Lee, S.Y.; Su, P.H.; Hung, Y.W.; Lee, I.P.; Li, S.J.; Chen, J.Y. Motion artifact reduction algorithm for wearable electrocardiogram monitoring systems. IEEE Trans. Consum. Electron. 2023, 69, 533–547. [Google Scholar] [CrossRef]
- Yadav, N.K.; Dhawan, A.; Tiwari, M.; Jha, S.K. Multistage cascaded LMS adaptive FIR filter and its application to multiple artifacts removal from ECG. IETE J. Res. 2025. [Google Scholar] [CrossRef]
- Huang, N.E.; Shen, Z.; Long, S.R.; Wu, M.C.; Shih, H.H.; Zheng, Q.; Yen, N.-C.; Tung, C.C.; Liu, H.H. The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis. Proc. R. Soc. Lond. A 1998, 454, 903–995. [Google Scholar] [CrossRef]
- Yao, L.P.; Pan, Z.L. A new method based CEEMDAN for removal of baseline wander and powerline interference in ECG signals. Optik 2020, 223, 165566. [Google Scholar] [CrossRef]
- Abdou, A.; Krishnan, S. Enhancement of single-lead dry-electrode ECG through wavelet denoising. Front. Signal Process. 2024, 4, 1396077. [Google Scholar] [CrossRef]
- Malik, S.A.; Parah, S.A.; Aljuaid, H.; Malik, B.A. An iterative filtering based ECG denoising using lifting wavelet transform technique. Electronics 2023, 12, 387. [Google Scholar] [CrossRef]
- Khalil, J.; Kayla, S.; Phong, N.; Wael, A.; Evan, H.; Adnan, A.; Haitham, H. Enhancing ECG readability in LVAD patients: A comparative analysis of denoising techniques with an emphasis on discrete wavelet transform. J. Electrocardiol. 2024, 85, 96–108. [Google Scholar] [CrossRef]
- Kumar, A.; Tomar, H.; Mehla, V.K.; Komaragiri, R.; Kumar, M. Stationary wavelet transform based ECG signal denoising method. ISA Trans. 2021, 114, 251–262. [Google Scholar] [CrossRef]
- Prashar, N.; Sood, M.; Jain, S. Design and implementation of a robust noise removal system in ECG signals using dual-tree complex wavelet transform. Biomed. Signal Process. Control 2021, 63, 102212. [Google Scholar] [CrossRef]
- Ahmed, A.F. An efficient wavelet thresholding strategy and robust shrinkage approach for de-noising ECG signal. Int. J. Imaging Syst. Technol. 2024, 34, e23009. [Google Scholar] [CrossRef]
- Xiao, Q.; Wang, C.F. Adaptive wavelet base selection for deep learning-based ECG diagnosis: A reinforcement learning approach. PLoS ONE 2025, 20, e0318070. [Google Scholar] [CrossRef]
- Tropp, J.A.; Gilbert, A.C.; Strauss, M.J. Algorithms for simultaneous sparse approximation. Part I: Greedy pursuit. Signal Process. 2006, 86, 572–588. [Google Scholar] [CrossRef]
- Revach, G.; Locher, T.; Shlezinger, N.; van Sloun, R.J.G.; Vullings, R. HKF: Hierarchical kalman filtering with online learned evolution priors for adaptive ECG denoising. IEEE Trans. Signal Process. 2024, 72, 3990–4006. [Google Scholar] [CrossRef]
- Das, M.; Sahana, B.C. A deep-learning-based auto encoder-decoder model for denoising electrocardiogram signals. IETE J. Res. 2025, 71, 326–340. [Google Scholar] [CrossRef]
- Mvuh, F.L.; Ko’a, C.; Bodo, B. Multichannel high noise level ECG denoising based on adversarial deep learning. Sci. Rep. 2024, 14, 801. [Google Scholar] [CrossRef]
- Li, S.; Li, J.; Mao, J.; Hong, W.; Sun, A. A denoising method for ECG signals based on CEEMDAN-TSO and stacked sparse autoencoders. Comput. Biol. Med. 2025, 188, 109818. [Google Scholar] [CrossRef] [PubMed]
- Hou, Y.R.; Liu, R.X.; Shu, M.L.; Chen, C.F. An ECG denoising method based on adversarial denoising convolutional neural network. Biomed. Signal Process. Control 2023, 84, 104964. [Google Scholar]
- Baalman, S.W.E.; Schroevers, F.E.; Oakley, A.J.; Brouwer, T.F.; van der Stuijt, W.; Bleijendaal, H.; Ramos, L.A.; Lopes, R.R.; Marquering, H.A.; Knops, R.E.; et al. A morphology based deep learning model for atrial fibrillation detection using single cycle electrocardiographic samples. Int. J. Cardiol. 2020, 316, 130–136. [Google Scholar] [CrossRef]
- Mir, H.Y.; Singh, O. Power-line interference and baseline wander elimination in ECG using VMD and EWT. Comput. Methods Biomech. Biomed. Eng. 2024, 27, 2111–2130. [Google Scholar] [CrossRef]
- Jenkal, W.; Latif, R.; Laaboubi, M. ECG signal denoising using an improved hybrid DWT-ADTF approach. Cardiovasc. Eng. Technol. 2024, 15, 77–94. [Google Scholar] [CrossRef] [PubMed]
- Yu, K.M.; Feng, L.; Chen, Y.F.; Wu, M.F.; Zhang, Y.F.; Zhu, P.B.; Chen, W.; Wu, Q.H.; Hao, J.Z. Accurate wavelet thresholding method for ECG signals. Comput. Biol. Med. 2024, 169, 107835. [Google Scholar] [CrossRef] [PubMed]
- Zhu, P.B.; Feng, L.; Yu, K.M.; Zhang, Y.F.; Chen, W.; Hao, J.Z. Enhanced DWT for denoising heartbeat signal in non-invasive detection. Sensors 2025, 25, 1743. [Google Scholar] [CrossRef]
- Kaur, C.; Bisht, A.; Singh, P.; Joshi, G. Eeg signal denoising using hybrid approach of variational mode decomposition and wavelets for depression. Biomed. Signal Process. Control 2021, 65, 102337. [Google Scholar] [CrossRef]
- Qi, T.Y.; Wei, X.Y.; Feng, G.R.; Zhang, F.; Zhao, D.K.; Guo, J. A method for reducing transient electromagnetic Noise: Combination of variational mode decomposition and wavelet denoising algorithm. Measurement 2022, 198, 111420. [Google Scholar] [CrossRef]
- Zhou, Y.; Ling, B.W.K.; Mo, X.Z.; Guo, Y.T.; Tian, Z.K. Empirical mode decomposition-based hierarchical multiresolution analysis for suppressing noise. IEEE Trans. Instrum. Meas. 2020, 69, 1833–1845. [Google Scholar] [CrossRef]
- Bousseljot, R.; Kreiseler, D.; Schnabel, A. Nutzung der EKG-signaldatenbank CARDIODAT der PTB über das Internet. Biomed. Tech. 1995, 40, 317–318. [Google Scholar] [CrossRef]
- Sivannarayana, N.; Reddy, D.C. Biorthogonal wavelet transforms for ECG parameters estimation. Med. Eng. Phys. 1999, 21, 167–174. [Google Scholar] [CrossRef] [PubMed]
- Ozmen, B.; Ozkaramanli, H. Complex linear-phase biorthogonal filterbanks with approximately analytic wavelets. Signal Process. 2009, 89, 599–604. [Google Scholar] [CrossRef]
- Abhishek, S.; Veni, S.; Narayanankutty, K.A. Biorthogonal wavelet filters for compressed sensing ECG reconstruction. Biomed. Signal Process. Control 2019, 47, 183–195. [Google Scholar] [CrossRef]
- Cohen, A.; Daubechies, I.; Feauveau, J.C. Biorthogonal bases of compactly supported wavelets. Commun. Pure Appl. Math. 1992, 45, 485–560. [Google Scholar] [CrossRef]
- Nolle, F.M.; Badura, F.K.; Catlett, J.M.; Bowser, R.W.; Sketch, M.H. CREI-gard, A new concept in computerized arrhythmia monitoring systems. Comput. Cardiol. 1986, 13, 515–518. [Google Scholar]
- Moody, G.B.; Muldrow, W.; Mark, R.G. A noise stress test for arrhythmia detectors. Comput. Cardiol. 1984, 11, 381–384. [Google Scholar]








| Methods | Proposed | DWT | SWT | DTCWT | EWT | TQWT | VMD + DFA + DWT | VMD + DWT | EMD + DWT |
|---|---|---|---|---|---|---|---|---|---|
| Cost (s) | 17.6268 | 0.0657 | 1.0352 | 0.1499 | 0.5598 | 0.3440 | 32.3740 | 4.6079 | 0.3689 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhang, Y.; Yu, K.; Huang, C.; Qu, R.; Fan, Z.; Zhu, P.; Chen, W.; Hao, J. Adaptive Layer-Dependent Threshold Function for Wavelet Denoising of ECG and Multimode Fiber Cardiorespiratory Signals. Sensors 2025, 25, 7644. https://doi.org/10.3390/s25247644
Zhang Y, Yu K, Huang C, Qu R, Fan Z, Zhu P, Chen W, Hao J. Adaptive Layer-Dependent Threshold Function for Wavelet Denoising of ECG and Multimode Fiber Cardiorespiratory Signals. Sensors. 2025; 25(24):7644. https://doi.org/10.3390/s25247644
Chicago/Turabian StyleZhang, Yuanfang, Kaimin Yu, Chufeng Huang, Ruiting Qu, Zhichun Fan, Peibin Zhu, Wen Chen, and Jianzhong Hao. 2025. "Adaptive Layer-Dependent Threshold Function for Wavelet Denoising of ECG and Multimode Fiber Cardiorespiratory Signals" Sensors 25, no. 24: 7644. https://doi.org/10.3390/s25247644
APA StyleZhang, Y., Yu, K., Huang, C., Qu, R., Fan, Z., Zhu, P., Chen, W., & Hao, J. (2025). Adaptive Layer-Dependent Threshold Function for Wavelet Denoising of ECG and Multimode Fiber Cardiorespiratory Signals. Sensors, 25(24), 7644. https://doi.org/10.3390/s25247644

