Abstract
Measuring the blood pressure (BP) and heart rate (HR) is essential in order to monitor the physiological vital parameters of patients admitted in Intensive care unit (ICU). Development of precise noninvasive measurement devices are encouraged for better healthcare facilities. Noninvasive methods are preferred for painless and patient friendly measurements. The existing cuff based measuring devices exerts pressure in arms which irritate the patients when intravenous solutions are administered through hand nerves. To overcome the inconvenience and continuous BP measurements, a novel Photoplethysmography (PPG) based BP, heart rate (HR) monitoring measuring device is proposed. The proposed algorithm uses Principal Component Analysis (PCA) to get the required features from the PPG signal five different machine learning (ML) algorithms have been analyzed for the prediction of blood pressure and heart rate. Support Vector Regression (SVR) algorithm outperforms the other ML algorithms. The proposed algorithm is implemented in hardware using a reflectance Pulse sensor and Raspberry Pi microcontroller. The hardware results are compared with those of commercially available devices, indicating that the device serves as a noninvasive tool for measuring blood pressure and heart rate with an accuracy of approximately 98%.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
Cardiovascular diseases (CVDs) are the leading cause of death globally, claiming 17.9 million lives in 2019. Hypertension, high cholesterol levels, and diabetes are major risk factors for CVDs. Continuous monitoring of blood pressure (BP) is crucial for preventing heart attacks in intensive care unit (ICU) patients. Invasive and non-invasive devices have been developed for BP measurement. The cuff-based sphygmomanometer is the most widely used method for measuring BP. It provides systolic and diastolic blood pressure readings.
Several research articles have explored new methods for using photoplethysmography (PPG) signals to measure BP and heart rate. Elgendi et al. analyzed PPG characteristics [1]. Lee et al. demonstrated webcam footage-based heart rate measurement using joint blind source decomposition (JBSS) and ensemble empirical mode decomposition (EEMD) techniques [2]. S. Lee et al. proposed a method for identifying optimal measurement locations for PPG sensors on the wrist [3]. Sangurmath et al. suggested using a reflectance optical sensor to obtain real-time PPG signals and monitor heart function [4].
Pulse oximeter-based wearable BP measurement has also been proposed [5]. Other studies have explored the use of PPG for various physiological monitoring applications [6]. Pourush Sood et al. developed an algorithm to detect characteristics and rhythms in PPG data, such as dicrotic notches, ectopic beats, and apertures [7]. Piyush Jain proposed a two-stage CNN approach for classifying hypertension risk using multi-lead ECG data [8].
I-Ping Yao proposed a method to measure BP from the combination of PPG and ECG signals using machine learning algorithms [10]. A systematic review by [11] focused on heart rate variability in bipolar disorder based on PPG signals.
Hendrana Tjahjadi et al. proposed a method for classifying BP using the K-nearest neighbors (KNN) algorithm based on PPG signals [12]. PTT-based BP measurement was investigated using a multi-layer neural network [15]. Tine Proesmans et al. used the PPG approach to estimate heart rate from fingertip recordings taken with a camera phone [16].The mathematical analyses like error convergence analysis, attitude, and its order degree were also included [19, 20] for disease prediction.
These studies highlight the potential of PPG as a non-invasive and cost-effective method for monitoring cardiovascular health. Further research is needed to validate and refine these methods for clinical use.
From the literature it is observed that most existing BP measurement algorithms lack real-world validation and focus on invasive methods for ICU patients. Cuff-based measuring devices, though widely used, pose limitations such as discomfort from arm pressure, especially during IV administration, exacerbating for ICU patients, unsuitability for certain conditions, and disruption from cuff inflation, emphasizing the need for non-invasive methods like PPG-based monitoring proposed here. Hence there is a need for accurate, non-invasive alternatives, especially when medical staff is unavailable. To address this gap, this paper proposes a novel, non-invasive method for BP and heart rate measurement from the PPG signal using the machine learning technique.
2 Experimental Framework
The proposed workflow comprises four main stages: data acquisition, smoothing, preprocessing, and machine learning for prediction. The simulation workflow depicting this model is illustrated in Fig. 1 and hardware implementation steps are shown in Fig. 2.Explanation of all the blocks depicted in Fig. 1 is provided in the following section.
2.1 Data Acquisition
Photoplethysmography operates on the principle of light reflection or transmission. An Infrared LED, also known as a pulse sensor, placed on the body detects blood volume changes using a photo detector, typically positioned beside or opposite the LED, functioning in reflectance mode. Light penetrates tissues, skin pigments, and blood, with blood exhibiting higher light absorption. Variations in blood volume during each heartbeat enable the calculation of heart rate [9] and blood pressure. As the heart inflates, blood enters and is purified, while deflation leads to blood pumping throughout the body via arteries, veins, and capillaries. Heart inflation corresponds to Diastolic Blood Pressure, detected as a diastolic peak, while heart deflation relates to Systolic Blood Pressure, indicated by a systolic peak [14]. Figure 3. Shows the acquired real PPG signal. Figure 4 illustrates PPG signal parameters. The MIMIC II online waveform database [18] from Physionet serves as the dataset for training, testing and validation of ML algorithms, featuring fingertip PPG signals collected from 1000 ICU patients, sampled at a frequency of 125 Hz with 8-bit accuracy.
2.2 Signal Smoothing, Data Preprocessing and Heart Rate Calculation
Signal smoothing, data preprocessing, and heart rate calculation were conducted. Noisy values in the PPG dataset were eliminated using a Savitzky–Golay filter with an order of 3 and a window size of 51, which fits adjacent data points to a polynomial function to estimate smoothed values. Outlier data points from the filtered PPG were removed through amplitude comparison. Principal Component Analysis was then employed to extract the dominant 43 PPG features from the signal peaks, reducing the feature set size.
2.2.1 Principal Component Analysis Algorithm
The Principal Component Analysis (PCA) is used to extract optimum feature set from PPG signal. It is mainly a dimensionality reduction technique which transforms a high-dimensional feature set into a lower-dimensional space by preserving the most significant component of the data set. The algorithm steps are given below in Table 1:
2.3 Machine Learning Algorithm for Prediction of Blood Pressure
In this section, the optimization of machine learning algorithms for blood pressure prediction is discussed. Five distinct algorithms were evaluated: Decision Tree Regressor, Adaboost Regressor, Support Vector Regressor (SVR), Hyper Tuned SVR, and Random Forest. Among these, SVR demonstrated the highest accuracy.
2.3.1 Decision Tree Regressor
Decision Tree is a versatile supervised learning method, applicable for both classification and regression tasks. It analyzes dataset features to provide solutions, resembling a tree structure with branches originating from a root node.
2.3.2 Support Vector Regressor
Support Vector Regressor (SVR) is a key component of Support Vector Machine (SVM), operating in multidimensional space. SVR employs a margin of tolerance to minimize coefficients, optimizing accuracy. It forms an optimization problem by constructing a convex insensitive loss function and identifying the flattest tube encompassing training cases, represented by support vectors.
2.3.3 Hyper Parameters of Support Vector Regression
Tuning hyperparameters such as regularization parameter (C) and kernel type enhances SVR model performance and flexibility for regression tasks.
2.3.4 Adaboost
Adaptive Boosting is a boosting algorithm in machine learning and uses an Ensemble Method (Improving week learners) and creating an aggregated model to improve model accuracy.
2.3.5 Random Forest
Random Forest, a popular ML algorithm, combines multiple decision trees to enhance forecasting accuracy by averaging results, thus improving overall model performance.
2.4 Hardware Implementation of Proposed System
The hardware model, depicted in Fig. 5, comprises a pulse sensor, Arduino embedded board, Raspberry Pi board, and LCD display. Utilizing a non-invasive optical technique [13], the pulse sensor detects the PPG signal, illuminating the finger with infrared light and measuring light intensity variations with a photo detector. Arduino UNO, featuring ATmega328P processor, offers 14 digital I/O pins, 6 PWM outputs, 6 analog inputs, USB connectivity, and a reset button. Raspberry Pi 3, a LINUX-based single-board computer, powers the system.
3 Mathematical Background for Heart Rate Calculation, BP Prediction and Performance Analysis
This section provides the overview of Heart rate calculation, BP prediction and performance analyzing parameters of ML algorithm.
3.1 Heart Rate Calculation, BP Prediction
The implemented proposed system shown in Fig. 5 is used for the HR calculation and BP prediction from the acquired PPG signal. Peak values of the PPG signal were determined by identifying local maxima. Heart rate was calculated using the formula given in Eq. 1.
Machine learning Regressor predicts the mean arterial blood pressure(ABP or MBP) values from the PPG signal. The arterial BP is the pressure that exerted on the vessel walls when the blood streams through the blood vessels. Each heart beat causes the arterial BP to vary between systolic BP (SBP), an increase of pressure induced by the systolic contraction of the left ventricle, and diastolic BP (DBP), a drop of arterial pressure occurring during the diastolic arrest of the heart between two contractions. Systolic Blood Pressure and Diastolic Blood Pressure are calculated using the following Eq. (2) and Eq. (3) with respect to the PPG features in Fig. 6.
Systolic Blood Pressure can be calculated from the following formula [17]:
Here PTT is time taken for each pulse to transmit, PTT0 is calibrated value of PTT and PP0 is the difference between systolic peak and diastolic peak. To prevent movement artifacts as much as possible, it’s critical to tune the Photoplethysmographic data to instrumentation circuits. Because the PPG signal has low amplitudes, noise has a significant impact on the signal’s quality and readability, i.e., this signal is influenced by numerous sounds such as the surroundings, the patient’s condition, breathing, or movement.
3.2 Performance Analysis
The proposed method was evaluated using performance metrics. Accuracy of SBP, DBP prediction, Root Mean square error, Mean absolute error, R-Squared Score, Explained variance Score are calculated to determine the selected regression algorithm performance. The metrics are calculated as,
(i) Accuracy:
.
Where, TN- True Negative, TP = True Positive, FN = False Negative, FP = False Positive.
ii) Root Mean square error (RMSE):
-
iii)
Mean absolute error= \( \left|\text{R}\text{M}\text{S}\text{E}\right|\)
-
iv)
R-Squared Score =
$${\rm{R}}2\, = \,1 - {{{\rm{RSS}}} \over {{\rm{TSS}}}}$$(6)
Where, R2 = Co efficient of determination, RSS = Sum of squares of residual, TSS = Total sum of squares.
v)
where y = Actual output, y predicted = value predicted by machine learning algorithm.
4 Results and Discussion
The MIMIC data set was preprocessed using Savgol filter noise removal. The order of the filter is 3 and frame length is 51. The raw PPG and Filtered PPG are shown in Fig. 7(a) and (b).
The dimensionality reduction was achieved through PCA algorithm. Totally 43 features out of 123 statistical features are extracted.
The proposed optimized model predicts Heart Rate and Blood Pressure, compared with real-time data for 10 subjects (Table 2). Figure 8 illustrates real-time heart rate monitoring from fingertip using a pulse sensor, alongside a standard wristwatch comparison, with results in Table 3. The hardware system is remotely accessible via mobile, tablet, or laptop using Virtual Network Computing (VNC) viewer.
Five type’s regression algorithms are tested in order to predict SBP and DBP values. The prediction accuracy of algorithms is listed in the Table 2. In this analysis Support Vector Regression algorithm accuracy is higher compared to other algorithms. Accuracy of various ML algorithms for BP prediction is been provided in Table 4. The Performance metrics of various regression algorithms in prediction of SBP and DBP values is shown in Fig. 9.
The statistical parameter analysis of various machines is given in Fig. 10. Based on the statistical performance SVR is selected for BP prediction because of its light weight and easy to implement in hardware.
5 Conclusion and Future Extensions
In our proposed system, we utilized a pulse sensor for Blood Pressure (BP) and Heart rate monitoring and prediction. Given the significance of heart rate and BP variations in ICU health assessment, we aimed for precise data collection while prioritizing patient comfort. By exclusively utilizing a Photoplethysmography (PPG) dataset and applying a Savgol filter for noise reduction, we prepared the data for ML algorithms. To address BP estimation complexities, we employed Principal Component Analysis (PCA) for feature extraction, yielding 43 features with high variance. The SVR algorithm accurately predicted SBP and DBP values. Future extensions may include refining the wireless API for enhanced accessibility and exploring advanced ML techniques for even greater accuracy.
Data Availability
The dataset used to train the ML algorithms are taken from open source repository.
Code Availability
The codes are available with authors and can be provided on request.
References
Elgendi, M. (2012). On the analysis of Fingertip Photoplethysmogram signals. Current Cardiology Reviews, 8(1), 14–25.
Lee, D., Kim, J., Kwon, S., & Park, K. (2015). Heart rate estimation from facial photoplethysmography during dynamic illuminance changes, 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), pp. 2758–2761.
Lee, S., Shin, H., & Hahm, C. (2016). Effective PPG sensor placement for reflected red and green light, and infrared wristband-type photoplethysmography, 18th International Conference on Advanced Communication Technology (ICACT), pp. 556–558.
Sangurmath, S., & Daimiwal, N. (2015). Application of photoplethysmography in blood flow measurement, International Conference on Industrial Instrumentation and Control (ICIC), pp. 929–933.
Fletcher, R., et al. (2019). The use of photoplethysmography for assessing hypertension. npj Medical Science, 2(1), 1–30.
Kavya, R., Nayana, N. et al. (2020). Photoplethysmography - a Modern Approach and Applications, International Conference for Emerging Technology (INCET), pp. 1–4.
Sood, P., et al. (2018). Feature Extraction for Photoplethysmographic Signals using PWA: PPG Waveform Analyzer, Proceedings of the International Conference on Healthcare Service Management, pp. 250–255.
Piyush Jain, et al. (2020). A two-stage deep CNN architecture for the classification of low-risk and high-risk hypertension classes using multilead ECG signals. Informatics in Medicine Unlocked, 21(1), 1–8.
Lee, H., et al. (2018). Wearable Multichannel Photoplethysmography Framework for Heart Rate Monitoring during Intensive Exercise. IEEE Sensors Journal, 18, 2983–2993.
Yao, L.-P. et al. (2021). Hypertension assessment based on feature extraction using a photoplethysmography signal and its derivatives. Physiological Measurement, 42(6).
Faurholt-Jepsen, M., & Kessing, L. V., (2017). Heart rate variability in bipolar disorder: A systematic review and meta-analysis. Neuroscience & Biobehavioral Reviews, 73(1), 68–80.
Tjahjadi, H., & Ramli, K. (2017). Variance analysis of photoplethysmography for blood pressure measurement, 4th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI), pp. 1–4.
Hina, A., Nadeem, H., & Saadeh, W. (2019). A Single LEDPhotoplethysmography-Based Noninvasive Glucose Monitoring Prototype System, IEEE International Symposium on Circuits and Systems (ISCAS), pp. 1–5.
Sung, S. H., Cheng, H. M., et al. (2012). Measurement of Central Systolic Blood pressure by pulse volume plethysmography with a noninvasive blood pressure monitor. American Journal of Hypertension, 25(5), 542–548.
Aarts, L. A., Jeanne, V., Cleary, J. P., Lieber, C., Nelson, J. S., Bambang Oetomo, S., Verkruysse, W. (2013). Non-contact heart rate monitoring utilizing camera photoplethysmography in the neonatal intensive care unit - a pilot study, Early Human Development, 89(12), pp. 943–948.
Proesmans, T., Mortelmans, C., et al. (2019). Mobile Phone BasedUse of the Photoplethysmography Technique to Detect Atrial Fibrillation in Primary Care: Diagnostic Accuracy Study of the FibriCheck App, JMIR Mhealth Uhealth, 7(3), 12284.
Ding, X., & Zhang, Y. T. (2019). Pulse transit time technique for cuffless unobtrusive blood pressure measurement: From theory to algorithm. Biomedical Engineering Letters, 9(1), 37–52.
Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P., Mark, R., Mietus, J., Moody, G., Peng, C., & Stanley, H. (2000). Physiobank, physiotoolkit, and physionet components of a new research resource for complex physiologic signals. Circulation, 101(23), 215–220.
Maayah, B., Moussaoui, Asma, B., Samia and, & Abu Arqub, O. (2022). The multistep Laplace optimized decomposition method for solving fractional-order coronavirus disease model (COVID-19) via the Caputo fractional approach. Demonstratio Mathematica, 55(1), pp. 963–977. https://doi.org/10.1515/dema-2022-0183.
Maayah, B., Abu Arqub, O., Alnabulsi, S., Alsulami, H. (2022). Numerical solutions and geometric attractors of a fractional model of the cancer-immune based on the Atangana-Baleanu-Caputo derivative and the reproducing kernel scheme. Chinese Journal of Physics Volume, 80, pp. 463–483, ISSN 0577–9073,https://doi.org/10.1016/j.cjph.2022.10.002.
Acknowledgements
The authors would like to thank their supporting educational institution for providing infrastructure facilities and licensed software to carry out the work.
Funding
This work is not funded by any funding organization.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of Interest
The authors declare that there is no conflict of interest.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Chakraborty, P., Tharini, C. Non-invasive cuff free blood pressure and heart rate measurement from photoplethysmography (PPG) signal using machine learning. Wireless Pers Commun 134, 2485–2497 (2024). https://doi.org/10.1007/s11277-024-11070-x
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11277-024-11070-x