Subject-Independent Model for Reconstructing Electrocardiography Signals from Photoplethysmography Signals
Abstract
:1. Introduction
2. Materials and Methods
2.1. Dataset
2.2. Preprocessing
- Filtering. A fourth-order Chebyshev bandpass filter is applied to the PPG and ECG signals in the range of 0.5–10 Hz and 0.5–20 Hz, respectively.
- Normalization. The PPG signal is normalized. After data filtering, the PPG signal was scaled to the range of [0, 1]. Note that since the amplitude of the ECG signal is meaningful, the amplitude of the PPG signal is meaningless. Therefore, only the PPG signal is normalized here, and the ECG signal is not normalized.
- Segmentation. The ECG and PPG signals were segmented. The obtained ECG and PPG signals were divided into 8 s segments. In [26], the length of signal segmentation is 1000 samples. Therefore, in this study, the signal is segmented into 8 s (1000 samples) signal segments.
- Data splitting. The ECG and PPG signals were divided into completely subject-independence models. Specifically, 60% of the total records were used as a training set, 20% as a validation set, and 20% as a test set.
2.3. Model Architecture
2.4. Training Options
2.5. Stitching the Reconstructed ECG Segments and Cross-Correlation Alignment
- Stitching the reconstructed ECG segments. The output of the model is composed of 1000 samples of reconstructed ECG segments. Each sample is 8 s long. Therefore, they must be spliced together to form a continuous reconstructed ECG signal. When combining two ECG segments, the second ECG segment is placed after the first ECG segment. The spliced signal is used as the first segment, and the subsequent signal segments are further merged as the second segment. This step is repeated until all test segments in the recording are connected together. Finally, a completely reconstructed ECG signal is formed. In this study, we selected 600 records. When segmenting the data, 360 records were used as training sets, 120 records were used as validation sets, and 120 records were used as test sets. The length of each record is 8 min. When segmenting into 8 s, each record is divided into 60 signal segments, and each signal segment is 8 s long. When splicing the reconstructed ECG signal, sixty segmented signals of 8 s need to be spliced into 8 min signals, and finally, there are 120 reconstructed ECG signals spliced into 8 min.
- Cross-correlation alignment. Cross-correlation alignment is used on the spliced reference ECG signal and the reconstructed ECG signal to better assess the similarity between them and the referenced ECG signal reduces the error between them. In this study, cross-correlation alignment was used for the spliced reconstructed ECG signals and the reference ECG signals.
2.6. Performance Evaluation
3. Results
4. Discussion
- The model proposed in this study was only verified on the MIMIC II dataset, and was not verified on multiple different datasets. Validation against multiple datasets is necessary in subsequent studies.
- An ECG signal has 12 leads, but we only used the signal from lead II and did not analyze the ECG signals of multiple leads. The model proposed in this study may not reconstruct the ECG signals of other leads from the PPG signal. In subsequent research, we will study multi-lead signals and reconstruct ECG signals of more leads from PPG.
- This study focused only on the properties of the complete ECG waveform and did not examine other characteristics, such as R waves and ST segments. A more comprehensive evaluation of the differences between reconstructed and reference ECG features is warranted in follow-up studies.
- The PPG signal needed to reconstruct the ECG signal in this study is the preprocessed signal. The preprocessed PPG signal is a relatively clean signal. In future studies, ECG signals will be reconstructed from noisy PPG signals.
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
ABP | arterial blood pressure |
BiLSTM | bidirectional long short-term memory |
CNN | convolutional neural network |
CVD | cardiovascular disease |
DCT | discrete cosine transform |
ECG | electrocardiogram |
GAN | generative adversarial network |
MIMIC | Multiparameter Intelligent Monitoring in Intensive Care |
r | Pearson’s correlation coefficient |
PPG | photoplethysmography |
PRD | percentage root mean square difference |
RMSE | root mean square error |
SWT | scattering wavelet transform |
WHO | World Health Organization |
XDJDL | cross-domain joint dictionary learning |
References
- Heron, M. Heart disease facts. Nat. Vital Statist. Rep. 2019, 68, 1–77. [Google Scholar]
- Rosiek, A.; Leksowski, K. The risk factors and prevention of cardiovascular disease: The importance of electrocardiogram in the diagnosis and treatment of acute coronary syndrome. Ther. Clin. Risk Manag. 2016, 12, 1223. [Google Scholar] [CrossRef] [PubMed]
- Kligfield, P.; Gettes, L.S.; Bailey, J.J.; Childers, R.; Deal, B.J.; Hancock, E.W.; van Herpen, G.; Kors, J.A.; Macfarlane, P.; Mirvis, D.M.; et al. Recommendations for the standardization and interpretation of the electrocardiogram: Part I: The electrocardiogram and its technology a scientific statement from the American Heart Association Electrocardiography and Arrhythmias Committee, Council on Clinical Cardiology; the American College of Cardiology Foundation; and the Heart Rhythm Society endorsed by the International Society for Computerized Electrocardiology. J. Am. Coll. Cardiol. 2007, 49, 1109–1127. [Google Scholar] [PubMed]
- Le, T.; Clark, I.; Fortunato, J.; Sharma, M.; Xu, X.; Hsiai, T.K.; Cao, H. Electrocardiogram: Acquisition and Analysis for Biological Investigations and Health Monitoring. In Interfacing Bioelectronics and Biomedical Sensing; Springer: Cham, Switzerland, 2020; pp. 117–142. [Google Scholar]
- Mayo Clinic. Sudden Death in Young People: Heart Problems Often Blamed. Available online: https://www.mayoclinic.org/diseases-conditions/sudden-cardiac-arrest/indepth/sudden-death/art-20047571 (accessed on 10 January 2024).
- Wang, D.; Yang, X.; Liu, X.; Jing, J.; Fang, S. Detail-preserving pulse wave extraction from facial videos using consume-level camera. Biomed. Opt. Express 2020, 11, 1876–1891. [Google Scholar] [CrossRef] [PubMed]
- Reisner, A.; Shaltis, P.A.; McCombie, D.; Asada, H.H. Utility of the photoplethysmogram in circulatory monitoring. Anesth. Amer. Soc. Anesthesiol. 2008, 108, 950–958. [Google Scholar] [CrossRef] [PubMed]
- Allen, J. Photoplethysmography and Its Application in Clinical Physiological Measurement. Physiol. Meas. 2007, 28, R1–R39. [Google Scholar] [CrossRef] [PubMed]
- Gil, E.; Orini, M.; Bailon, R.; Vergara, J.M.; Mainardi, L.; Laguna, P. Photoplethysmography Pulse Rate Variability as a Surrogate Measurement of Heart Rate Variability During Non-stationary Conditions. Physiol. Meas. 2010, 31, 1271–1290. [Google Scholar] [CrossRef] [PubMed]
- Johansson, A. Neural Network for Photoplethysmographic Respiratory Rate Monitoring. Med. Biol. Eng. Comput. 2003, 41, 242–248. [Google Scholar] [CrossRef] [PubMed]
- Chua, E.C.-P.; Redmond, S.J.; McDarby, G.; Heneghan, C. Towards Using Photo-plethysmogram Amplitude to Measure Blood Pressure during Sleep. Ann. Biomed. Eng. 2010, 38, 945–954. [Google Scholar] [CrossRef] [PubMed]
- Castaneda, D.; Esparza, A.; Ghamari, M.; Soltanpur, C.; Nazeran, H. A review on wearable photoplethysmography sensors and their potential future applications in health care. Int. J. Biosens. Bioelectron. 2018, 4, 195–202. [Google Scholar] [PubMed]
- Zhu, Q.; Tian, X.; Wong, C.W.; Wu, M. Learning your heart actions from pulse: ECG waveform reconstruction from PPG. IEEE Internet Things J. 2021, 8, 16734–16748. [Google Scholar] [CrossRef]
- Tian, X.; Zhu, Q.; Li, Y.; Wu, M. Cross-domain joint dictionary learning for ECG reconstruction from PPG. In Proceedings of the 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Barcelona, Spain, 4–8 May 2020. [Google Scholar]
- Omer, O.A.; Salah, M.; Hassan, A.M.; Mubarak, A.S. Beat-by-Beat ECG Monitoring from Photoplythmography Based on Scattering Wavelet Transform. Trait. Signal 2022, 39, 1483–1488. [Google Scholar] [CrossRef]
- Li, Y.; Tian, X.; Zhu, Q.; Wu, M. Inferring ECG from PPG for Continuous Cardiac Monitoring Using Lightweight Neural Network. arXiv 2023, arXiv:201204949. [Google Scholar]
- Abdelgaber, K.M.; Salah, M.; Omer, O.A.; Farghal, A.E.A.; Mubarak, A.S. Subject-Independent per Beat PPG to Single-Lead ECG Mapping. Information 2023, 14, 377. [Google Scholar] [CrossRef]
- Pimentel, M.A.; Johnson, A.E.; Charlton, P.; Birrenkott, D.; Watkinson, P.J.; Tarassenko, L.; Clifton, D.A. Toward a robust estimation of respiratory rate from pulse oximeters. IEEE Trans. Biomed. Eng. 2016, 64, 1914–1923. [Google Scholar] [CrossRef] [PubMed]
- Vo, K.; Naeini, E.K.; Naderi, A.; Jilani, D.; Rahmani, A.M.; Dutt, N.; Cao, H. P2E-WGAN: ECG waveform synthesis from PPG with conditional wasserstein generative adversarial networks. In Proceedings of the 36th Annual ACM Symposium on Applied Computing, Virtual Event, 22–26 March 2021; pp. 1030–1036. [Google Scholar]
- Sarkar, P.; Etemad, A. CardioGAN: Attentive Generative Adversarial Network with Dual Discriminators for Synthesis of ECG from PPG. In Proceedings of the AAAI Conference on Artificial Intelligence, Delhi, India, 2–9 February 2021; Volume 35, pp. 488–496. [Google Scholar]
- Guo, Y.; Tang, Q.; Chen, Z.; Li, S. UNet-BiLSTM: A Deep Learning Method for Reconstructing Electrocardiography from Photoplethysmography. Electronics 2024, 13, 1869. [Google Scholar] [CrossRef]
- Tang, Q.; Chen, Z.; Guo, Y.; Liang, Y.; Ward, R.; Menon, C.; Elgendi, M. Robust reconstruction of electrocardiogram using photoplethysmography: A subject-based Model. Front. Physiol. 2022, 13, 859763. [Google Scholar] [CrossRef] [PubMed]
- Tang, Q.; Chen, Z.; Ward, R.; Menon, C.; Elfendi, M. PPG2ECGps: An End-to-End Subject-Specific Deep Neural Network Model for Electrocardiogram Reconstruction from Photoplethysmography Signals without Pulse Arrival Time Adjustments. Bioengineering 2023, 10, 630. [Google Scholar] [CrossRef] [PubMed]
- Saeed, M.; Lieu, C.; Raber, G.; Mark, R.G. (Eds.) MIMIC II: A massive temporal ICU patient database to support research in intelligent patient monitoring. In Proceedings of the Computers in Cardiology, Memphis, TN, USA, 22–25 September 2002. [Google Scholar]
- Zhu, J.-Y.; Park, T.; Isola, P.; Efros, A.A. (Eds.) Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 27–29 October 2017. [Google Scholar]
- Mai, Y.; Chen, Z.; Yu, B.; Li, Y.; Pang, Z.; Zhang, H. Non-Contact Heartbeat Detection Based on Ballistocardiogram Using UNet and Bidirectional Long Short-Term Memory. IEEE J. Biomed. Health Informatics 2022, 26, 3720–3730. [Google Scholar] [CrossRef] [PubMed]
- Tsinalis, O.; Matthews, P.M.; Guo, Y.; Zafeiriou, S. Automatic Sleep Stage Scoring with Single-Channel EEG Using Convolutional Neural Networks; Cornell University: Ithaca, NY, USA, 2016. [Google Scholar]
- Sakib, M.A.M.; Sharif, O.; Hoque, M.M. Offline Bengali Handwritten Sentence Recognition Using BiLSTM and CTC Networks. In Internet of Things and Connected Technologies, Proceedings of the 5th International Conference on Internet of Things and Connected Technologies (ICIoTCT), Patna, India, 3–5 July 2020; Springer: Cham, Switzerland, 2020. [Google Scholar]
- Wang, Q.; Feng, C.; Xu, Y.; Zhong, H.; Sheng, V.S. A Novel PrivacyPreserving Speech Recognition Framework Using Bidirectional LSTM. J. Cloud Comput. 2020, 9, 36. [Google Scholar] [CrossRef]
- Siami-Namini, S.; Tavakoli, N.; Namin, A.S. The Performance of LSTM and BiLSTM in Forecasting Time Series. In Proceedings of the 2019 IEEE International Conference on Big Data (Big Data), Los Angeles, CA, USA, 9–12 December 2019. [Google Scholar] [CrossRef]
Align E with | r | RMSE | PRD | |
---|---|---|---|---|
CNN | No | 0.953 ± 0.046 | 0.237 ± 0.077 | 12.884 ± 3.974 |
Yes | 0.954 ± 0.044 | 0.237 ± 0.077 | 12.884 ± 3.974 | |
CNN-BiLSTM | No | 0.963 ± 0.067 | 0.119 ± 0.085 | 7.885 ± 5.637 |
Yes | 0.965 ± 0.063 | 0.119 ± 0.085 | 7.867 ± 5.638 |
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. |
© 2024 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
Guo, Y.; Li, S.; Chen, Z.; Tang, Q. Subject-Independent Model for Reconstructing Electrocardiography Signals from Photoplethysmography Signals. Appl. Sci. 2024, 14, 5773. https://doi.org/10.3390/app14135773
Guo Y, Li S, Chen Z, Tang Q. Subject-Independent Model for Reconstructing Electrocardiography Signals from Photoplethysmography Signals. Applied Sciences. 2024; 14(13):5773. https://doi.org/10.3390/app14135773
Chicago/Turabian StyleGuo, Yanke, Shiyong Li, Zhencheng Chen, and Qunfeng Tang. 2024. "Subject-Independent Model for Reconstructing Electrocardiography Signals from Photoplethysmography Signals" Applied Sciences 14, no. 13: 5773. https://doi.org/10.3390/app14135773
APA StyleGuo, Y., Li, S., Chen, Z., & Tang, Q. (2024). Subject-Independent Model for Reconstructing Electrocardiography Signals from Photoplethysmography Signals. Applied Sciences, 14(13), 5773. https://doi.org/10.3390/app14135773