Robust Real-Time SpO₂ Signal Enhancement Using Optimized IIR Filtering in a Web-Based Vital Sign Monitoring System
Downloads
SpO₂ is a critical physiological parameter in vital sign monitoring, particularly within Internet of Things (IoT) based healthcare systems that enable continuous and remote patient observation. However, the accuracy of SpO₂ measurements is often compromised by motion artifacts in photoplethysmograph (PPG) signals, which introduce amplitude distortion and frequency spreading that degrade oxygen saturation estimation. Although various signal processing approaches have been proposed, limited studies have evaluated digital filtering performance on real PPG signals using real-time embedded platforms with direct comparison of filter characteristics. This study aims to analyze the effectiveness of two Infinite Impulse Response (IIR) digital filters, Butterworth and Elliptic, in suppressing motion artifacts in SpO₂ signals processed on a microcontroller. Data were collected from ten healthy participants under three conditions: baseline (no movement), induced finger motion, and filtered signals. Signal quality improvement was assessed using Fast Fourier Transform (FFT), Power Spectral Density (PSD), and Signal-to-Noise Ratio (SNR) analyses. Results indicate that motion artifacts increase high-frequency components above 3 Hz and disrupt the morphological integrity of the PPG waveform. Applying a low-pass IIR filter with a 3 Hz cutoff frequency successfully restored the principal periodic components. The Butterworth filter produced a smoother spectral response with minimal phase distortion, while the Elliptic filter achieved a sharper roll-off with slight passband ripple. Quantitative evaluation demonstrated average SNR improvements of +0.905 dB (Butterworth) and +0.899 dB (Elliptic) using FFT , and +0.98 dB and +0.66 dB, respectively, using PSD. These findings demonstrate that computationally efficient IIR filtering can be reliably implemented in resource-constrained embedded platforms without compromising signal integrity. This approach enhances signal stability, reduces false desaturation alarms, supports scalable deployment in wearable and telemedicine applications, improving patient safety and system robustness in continuous remote health monitoring.
[1] A. Nemcova et al., “Monitoring of heart rate, blood oxygen saturation, and blood pressure using a smartphone,” Biomed. Signal Process. Control, vol. 59, p. 101928, 2020, doi: 10.1016/j.bspc.2020.101928.
[2] M. Nitzan, I. Nitzan, and Y. Arieli, “The various oximetric techniques used for the evaluation of blood oxygenation,” Sensors (Switzerland), vol. 20, no. 17, pp. 1–28, 2020, doi: 10.3390/s20174844.
[3] A. Azarbarzin et al., “The Sleep Apnea-Specific Hypoxic Burden Predicts Incident Heart Failure,” Chest, vol. 158, no. 2, pp. 739–750, 2020, doi: 10.1016/j.chest.2020.03.053.
[4] K. Adam et al., “Continuous SpO2 Monitoring Using Reflectance Pulse Oximetry at the Wrist and Upper Arm During Overnight Sleep Apnea Recordings,” 2025.
[5] Y. Yeghiazarians et al., “Obstructive Sleep Apnea and Cardiovascular Disease: A Scientific Statement from the American Heart Association,” Circulation, vol. 144, no. 3, pp. E56–E67, 2021, doi: 10.1161/CIR.0000000000000988.
[6] Q. Zhang, D. Arney, J. M. Goldman, E. M. Isselbacher, and A. A. Armoundas, “Design implementation and evaluation of a mobile continuous blood oxygen saturation monitoring system,” Sensors (Switzerland), vol. 20, no. 22, pp. 1–11, 2020, doi: 10.3390/s20226581.
[7] R. Sameh, M. Genedy, A. Abdeldayem, and M. H. Abdel Azeem, “Design and Implementation of an SPO2 Based Sensor for Heart Monitoring Using an Android Application,” J. Phys. Conf. Ser., vol. 1447, no. 1, 2020, doi: 10.1088/1742-6596/1447/1/012004.
[8] D. M. Shaw, G. Cabre, and N. Gant, “Hypoxic Hypoxia and Brain Function in Military Aviation: Basic Physiology and Applied Perspectives,” Front. Physiol., vol. 12, no. May, 2021, doi: 10.3389/fphys.2021.665821.
[9] A. Rahman, T. Tabassum, Y. Araf, A. Al Nahid, M. A. Ullah, and M. J. Hosen, “Silent hypoxia in COVID-19: pathomechanism and possible management strategy,” Mol. Biol. Rep., vol. 48, no. 4, pp. 3863–3869, 2021, doi: 10.1007/s11033-021-06358-1.
[10] M. Nakane, “Biological effects of the oxygen molecule in critically ill patients,” J. Intensive care, vol. 8, no. 95, pp. 1–12, 2020.
[11] J. Lee, M. Kim, H. K. Park, and I. Y. Kim, “Motion artifact reduction in wearable photoplethysmography based on multi-channel sensors with multiple wavelengths,” Sensors (Switzerland), vol. 20, no. 5, 2020, doi: 10.3390/s20051493.
[12] D. Seok, S. Lee, M. Kim, J. Cho, and C. Kim, “Motion Artifact Removal Techniques for Wearable EEG and PPG Sensor Systems,” Front. Electron., vol. 2, no. May, pp. 1–17, 2021, doi: 10.3389/felec.2021.685513.
[13] A. Vito, N. El-Sayes, and K. Mossman, “Hypoxia-Driven Immune Escape in the Tumor Microenvironment,” Cells, vol. 9, no. 4, pp. 1–20, 2020, doi: 10.3390/cells9040992.
[14] J. Fine et al., Sources of inaccuracy in photoplethysmography for continuous cardiovascular monitoring, vol. 11, no. 4. 2021. doi: 10.3390/bios11040126.
[15] J. Lambert Cause, Á. Solé Morillo, J. C. García-Naranjo, J. Stiens, and B. da Silva, “The Impact of Contact Force on Signal Quality Indices in Photoplethysmography Measurements,” Appl. Sci., vol. 14, no. 13, 2024, doi: 10.3390/app14135704.
[16] J. Park, H. S. Seok, S. S. Kim, and H. Shin, “Photoplethysmogram Analysis and Applications: An Integrative Review,” Front. Physiol., vol. 12, no. March, pp. 1–23, 2022, doi: 10.3389/fphys.2021.808451.
[17] P. Kainan, A. Sinchai, P. Tuwanut, and P. Wardkein, “New pulse oximetry detection based on the light absorbance ratio as determined from amplitude modulation indexes in the time and frequency domains,” Biomed. Signal Process. Control, vol. 75, no. December 2021, p. 103627, 2022, doi: 10.1016/j.bspc.2022.103627.
[18] J.-P. Sirkiä, T. Panula, and M. Kaisti, “Investigating the impact of contact pressure on photoplethysmograms,” Biomed. Eng. Adv., vol. 7, no. November 2023, p. 100123, 2024, doi: 10.1016/j.bea.2024.100123.
[19] K. Azudin, K. B. Gan, R. Jaafar, and M. H. Ja’afar, “The Principles of Hearable Photoplethysmography Analysis and Applications in Physiological Monitoring–A Review,” Sensors, vol. 23, no. 14, 2023, doi: 10.3390/s23146484.
[20] A. M. Cabanas et al., “Evaluating AI Methods for Pulse Oximetry: Performance, Clinical Accuracy, and Comprehensive Bias Analysis,” Bioengineering, vol. 11, no. 11, pp. 1–26, 2024, doi: 10.3390/bioengineering11111061.
[21] J. de Pedro-Carracedo, D. Fuentes-Jimenez, M. F. Cabrera-Umpiérrez, and A. P. González-Marcos, “Structure function in photoplethysmographic signal dynamics for physiological assessment,” Sci. Rep., vol. 15, no. 1, pp. 1–16, 2025, doi: 10.1038/s41598-025-97573-4.
[22] Z. E. Dallalbashi, “MatLab Based Design and Implemetation of Digita Filter,” JCSNS Int. J. Comput. Sci. Netw. Secur., vol. 20, no. October, 2020.
[23] P. Podder, M. Mehedi Hasan, M. Rafiqul Islam, and M. Sayeed, “Design and Implementation of Butterworth, Chebyshev-I and Elliptic Filter for Speech Signal Analysis,” Int. J. Comput. Appl., vol. 98, no. 7, pp. 12–18, 2020, doi: 10.5120/17195-7390.
[24] R. Cassani, A. Tiwari, and T. H. Falk, “Optimal filter characterization for photoplethysmography-based pulse rate and pulse power spectrum estimation,” Proc. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. EMBS, vol. 2020-July, pp. 914–917, 2020, doi: 10.1109/EMBC44109.2020.9175396.
[25] E. Mejia-Mejia, J. M. May, and P. A. Kyriacou, “Effect of Filtering of Photoplethysmography Signals in Pulse Rate Variability Analysis,” Proc. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. EMBS, pp. 5500–5503, 2021, doi: 10.1109/EMBC46164.2021.9629521.
[26] D. Pollreisz and N. TaheriNejad, “Detection and Removal of Motion Artifacts in PPG Signals,” Mob. Networks Appl., vol. 27, no. 2, pp. 728–738, 2022, doi: 10.1007/s11036-019-01323-6.
[27] A. H. Afandizadeh Zargari, S. A. H. Aqajari, H. Khodabandeh, A. Rahmani, and F. Kurdahi, “An Accurate Non-accelerometer-based PPG Motion Artifact Removal Technique using CycleGAN,” ACM Trans. Comput. Healthc., vol. 4, no. 1, 2023, doi: 10.1145/3563949.
[28] Pandi and T. Abuzairi, “Effect of Filters in Photoplethysmography Analog Signals Using Open-Source LTspice Software,” Int. J. Electr. Comput. Biomed. Eng., vol. 2, no. 1, pp. 88–100, 2024, doi: 10.62146/ijecbe.v2i1.32.
[29] B. V. Rao, E. H. Krishna, and K. A. Reddy, “Wavelet Transform Generated Inherent Noise Reference for Adaptive Filtering to De-noise Pulse Oximeter Signals,” Serbian J. Electr. Eng., vol. 21, no. 2, pp. 251–273, 2024, doi: 10.2298/SJEE2402251R.
[30] D. G. Lapitan, D. A. Rogatkin, E. A. Molchanova, and A. P. Tarasov, “Estimation of phase distortions of the photoplethysmographic signal in digital IIR filtering,” Sci. Rep., vol. 14, no. 1, pp. 1–12, 2024, doi: 10.1038/s41598-024-57297-3.
[31] I. D. G. H. Wisana, N. S. Saidah, P. C. Nugraha, M. P. A. Tetra, D. T. Wulandari, and T. Fa’altin, “Wide Communication Coverage SpO2 Monitoring Using Local Host HTML Web Page,” Lect. Notes Electr. Eng., vol. 1182, pp. 235–247, 2024, doi: 10.1007/978-981-97-1463-6_16.
[32] M. T. Islam, I. Zabir, S. T. Ahamed, M. T. Yasar, C. Shahnaz, and S. A. Fattah, “A time-frequency domain approach of heart rate estimation from photoplethysmographic (PPG) signal,” Biomed. Signal Process. Control, vol. 36, pp. 146–154, 2017, doi: 10.1016/j.bspc.2017.03.020.
[33] T. Yang, Y. Liu, F. H. Cai, Y. Li, and M. S. Mudabbar, “Motion resistance in peripheral oxygen saturation monitoring using Biolight Analog SpO2 compared to Masimo SpO2: a non-inferiority study,” BMC Anesthesiol., vol. 24, no. 1, 2024, doi: 10.1186/s12871-024-02823-z.
[34] A. Temko, “Accurate Heart Rate Monitoring during Physical Exercises Using PPG,” IEEE Trans. Biomed. Eng., vol. 64, no. 9, pp. 2016–2024, 2017, doi: 10.1109/TBME.2017.2676243.
[35] S. Ismail, U. Akram, and I. Siddiqi, “Heart rate tracking in photoplethysmography signals affected by motion artifacts: a review,” EURASIP J. Adv. Signal Process., vol. 2021, no. 1, 2021, doi: 10.1186/s13634-020-00714-2.
[36] P. Zhang, J. Zhuang, T. Li, D. Fan, Q. Lei, and D. Lin, “Comparison of consistency between wireless and conventional wired monitoring systems in gastrointestinal endoscopy,” Sci. Rep., vol. 15, no. 1, pp. 1–8, 2025, doi: 10.1038/s41598-025-12927-2.
[37] S. S. Chowdhury, M. S. Hasan, and R. Sharmin, “Robust Heart Rate Estimation from PPG Signals with Intense Motion Artifacts using Cascade of Adaptive Filter and Recurrent Neural Network,” IEEE Reg. 10 Annu. Int. Conf. Proceedings/TENCON, vol. 2019-Octob, no. October, pp. 1952–1957, 2019, doi: 10.1109/TENCON.2019.8929692.
[38] Y. Gautam and H. Jebelli, “Autoencoder-based Photoplethysmography (PPG) signal reliability enhancement in construction health monitoring,” Autom. Constr., vol. 165, no. September 2023, p. 105537, 2024, doi: 10.1016/j.autcon.2024.105537.
[39] E. J. Argüello-Prada and J. F. Castillo García, “Machine Learning Applied to Reference Signal-Less Detection of Motion Artifacts in Photoplethysmographic Signals: A Review,” Sensors, vol. 24, no. 22, 2024, doi: 10.3390/s24227193.
[40] G. Basso, X. Long, R. Haakma, and R. Vullings, “Reduction of motion artifacts from photoplethysmography signals using learned convolutional sparse coding,” pp. 1–23, 2025, [Online]. Available: http://arxiv.org/abs/2508.10805
Copyright (c) 2026 Indah Firdausi Nuzula, Priyambada Cahya Nugraha, Moch Prastawa Assalim Tetra Putra, I Dewa Gede Hari Wisana, Riqqah Dewiningrum, Alfi Nur Zeha, Syaifullah Yusuf (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlikel 4.0 International (CC BY-SA 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).






