Submitted:
16 April 2024
Posted:
17 April 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
- 1.)
- To the best of our knowledge, we are the first to analyze the relation between PPG’s processing algorithms and algorithm selection framework regarding signal quality indices.
- 2.)
- We presented a novel quality-aware signal processing mechanism that selectively chooses algorithms regarding incoming signal quality indices. The proposed mechanism enables a favorable trade-off between accuracy and energy consumption, which are the key considerations in long-term heart rate monitoring.
2. Background
2.1. Effect Comparison between Processing Algorithms
2.2. Relation between Processing Algorithms
- 1.
- Signal processing does not work for every signal; 7 out of 215 signals become worse if we apply a signal process (bandpass or SSA).
- 2.
- Computational-intense algorithm, like SSA, has a bigger set than the simpler algorithm. However, there is a significant intersection between these three sets, which have 206 signals. For those signals within the intersection, we could bypass the computational-intense algorithm if we selectively choose the processing algorithm.
- 3.
- The union of these three sets generates a bigger set. By selectively choosing an algorithm, we can improve overall accuracy theoretically.
3. Methodology
3.1. Formation of Processing Algorithm Portfolio
3.1.1. Similarity between Processing Algorithms
3.1.2. Formation of Processing Algorithm Portfolio
- 1.)
- Remove Algorithm exceed Energy Budget: Given the energy constraint of every system, the initial step in forming the algorithm portfolio involves the elimination of algorithm that surpass the predetermined energy budget provided by the developer.
- 2.)
- Select initial algorithm: We will select "Bypass" as the initial algorithm in our framework due to its necessity as an option for preserving high-quality signals without processing. This feature could also contribute to energy conservation.
- 3.)
- Iterate over the pool to select algorithm with highest average hamming distance: The next step is to iterate over the algorithm pool, and for each candidate, we will compare it to the selected algorithm. We will compute the average hamming distance between the candidate and the selected algorithm, and select the candidate with the highest average hamming distance to be added to the portfolio.
- 4.)
- Check if number of selected algorithm is equals to 3: Terminate if the selected algorithm is equals to 3.
3.2. Quality-Aware Selection Mechanism



3.2.1. Feature Extraction
3.2.2. Classifier Design
- 1.
-
Cascade Classifier:To address the multi-class, multi-label problem, we simplify the task by breaking it down into a cascade of binary classification problems. As depicted in Figure 12, the cascade binary classification approach begins by determining if the signal is eligible for Bypass, followed by checks for BPF and CUB, respectively. If none of these algorithms are deemed suitable for effective processing, the signal will be discarded.Therefore, a cascade of three XGBoost (eXtreme Gradient Boosting) [22,23] binary classifiers is employed to assist in determining the appropriate algorithm for processing the incoming signal. The cascade classifier is depicted in Figure 13. The extracted SQIs are first fed into the initial classifier, which determines whether Algorithm 1 is suitable for the signal. If the classifier output is true, we immediately perform processing using Bypass. Conversely, if Bypass is not recommended by the classifier, we proceed to the second classifier to check whether BPF is a better fit for the signal. If none of the three classifiers recommend any algorithm for the incoming signal, it is discarded to avoid potentially high error estimation.
- 2.
-
Training Flow: Initially, we divide the input signals into non-overlapping 10-second segments. Subsequently, we extract 14 signal quality features from the raw PPG signals, along with the labels annotated by ECG signals, to train the classifier. As illustrated in Figure 14, we take BPF as an example and assign the label 1 if a signal is eligible for BPF, otherwise, it is assigned 0.After collecting the labels for Bypass, BPF, and CUB, we proceed to train the XGBoost classifier. Figure 15 depicts the training stage of the XGBoost classifier, where we set it as a binary classifier and use the logistic loss function for model learning. We utilize grid search to find the optimal parameters for XGBoost to achieve the best performance in distinguishing data usability under Bypass, BPF, and CUB processing. Finally, we obtain three binary classifiers, which we cascade to perform algorithm selection from a portfolio that contains three algorithms.
- 3.
-
Classifier order rearrangement:The arrangement of these binary classifiers is deemed to be a significant factor influencing the overall performance. The inquiry regarding the optimal arrangement of these classifiers, depicted in Figure 16, dictates the order in which the classifiers are to be placed in the first, second, and third stages. This subsection aims to demonstrate the impact of reordering the binary classifiers and present the proposed reordering strategy.As the classifiers operate sequentially, it is possible for the signal to exit early from the first and second classifiers. A desirable outcome would involve the signal being processed by algorithm with reduced energy consumption. In the event that the signal is deemed suitable for algorithm 1, early exit from the first or second classifier would aid in conserving energy consumption for the entire system.In light of this perspective, algorithm 1 should represent a processing method with comparably lower energy consumption, while algorithm 2 should have the second-lowest energy consumption, and algorithm 3 should exhibit the highest energy consumption. For instance, the CUB, BPF, and Bypass portfolio can be rearranged in the order of Bypass, BPF, and CUB. Through this rearrangement of algorithms, it is feasible to achieve reduced energy consumption.Subsequently, a straightforward experiment was conducted to demonstrate the impact of reordering the binary classifiers. Two scenarios were compared based on energy consumption, namely, 1) the classifiers without being reordered by algorithm energy consumption, and 2) the classifiers reordered based on energy consumption. The experimental outcomes are displayed in Figure 17, which suggests that the reordering of the binary classifiers based on the algorithm’s energy consumption can lead to a general reduction in energy consumption.
4. Experiment Results
4.1. Experiment Setup
4.1.1. Dataset
4.1.2. Energy Consumption Estimation
4.2. Selected Portfolio Analysis
4.3. Comparison between Frameworks
4.4. Analysis on Signals Passing Each Stage
- 1.
- Group I: signals that suggested bypass
- 2.
- Group II: signals that suggested BPF
- 3.
- Group III: signals that suggested CUB
- 4.
- Group IV: Poor quality signal that require to discard
5. Conclusion
Acknowledgments
References
- Zhang, Z.; Pi, Z.; Liu, B. TROIKA: A general framework for heart rate monitoring using wrist-type photoplethysmographic signals during intensive physical exercise. IEEE Transactions on biomedical engineering 2014, 62, 522–531.
- Zhang, Z. Photoplethysmography-based heart rate monitoring in physical activities via joint sparse spectrum reconstruction. IEEE transactions on biomedical engineering 2015, 62, 1902–1910.
- Zargari, A.H.A.; Aqajari, S.A.H.; Khodabandeh, H.; Rahmani, A.M.; Kurdahi, F. An accurate non-accelerometer-based ppg motion artifact removal technique using cyclegan. arXiv preprint arXiv:2106.11512 2021.
- Risso, M.; Burrello, A.; Pagliari, D.J.; Benatti, S.; Macii, E.; Benini, L.; Pontino, M. Robust and energy-efficient PPG-based heart-rate monitoring. 2021 IEEE International Symposium on Circuits and Systems (ISCAS). IEEE, 2021, pp. 1–5.
- García-López, I.; Rodriguez-Villegas, E. Characterization of artifact signals in neck photoplethysmography. IEEE Transactions on Biomedical Engineering 2020, 67, 2849–2861.
- Talukdar, M.T.F.; Pathan, N.S.; Fattah, S.A.; Quamruzzaman, M.; Saquib, M. Multistage Adaptive Noise Cancellation Scheme for Heart Rate Estimation from PPG Signal Utilizing Mode Based Decomposition of Acceleration Data. IEEE Access 2022.
- Bertolotti, G.M.; Cristiani, A.M.; Colagiorgio, P.; Romano, F.; Bassani, E.; Caramia, N.; Ramat, S. A Wearable and Modular Inertial Unit for Measuring Limb Movements and Balance Control Abilities. IEEE Sensors Journal 2016, 16, 790–797. [CrossRef]
- Elgendi, M. Optimal signal quality index for photoplethysmogram signals. Bioengineering 2016, 3, 21.
- Song, J.; Li, D.; Ma, X.; Teng, G.; Wei, J. PQR signal quality indexes: A method for real-time photoplethysmogram signal quality estimation based on noise interferences. Biomedical Signal Processing and Control 2019, 47, 88–95.
- Li, Q.; Clifford, G.D. Dynamic time warping and machine learning for signal quality assessment of pulsatile signals. Physiological measurement 2012, 33, 1491.
- Yang, Y.C.; Beh, W.K.; Lo, Y.C.; Wu, A.Y.A.; Lu, S.J. ECG-aided PPG signal quality assessment (SQA) system for heart rate estimation. 2020 IEEE workshop on signal processing systems (SiPS). IEEE, 2020, pp. 1–6.
- Vadrevu, S.; Manikandan, M.S. Real-time PPG signal quality assessment system for improving battery life and false alarms. IEEE transactions on circuits and systems II: express briefs 2019, 66, 1910–1914.
- Gao, H.; Wu, X.; Shi, C.; Gao, Q.; Geng, J. A LSTM-based realtime signal quality assessment for photoplethysmogram and remote photoplethysmogram. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2021, pp. 3831–3840.
- Mohagheghian, F.; Han, D.; Peitzsch, A.; Nishita, N.; Ding, E.; Dickson, E.; Dimezza, D.; Otabil, E.; Noorishirazi, K.; Scott, J.; others. Optimized signal quality assessment for photoplethysmogram signals using feature selection. IEEE Transactions on Biomedical Engineering 2022.
- Yang, L.; Zhang, S.; Li, X.; Yang, Y. Removal of pulse waveform baseline drift using cubic spline interpolation. 2010 4th International Conference on Bioinformatics and Biomedical Engineering. IEEE, 2010, pp. 1–3.
- Kasambe, P.; Rathod, S. VLSI wavelet based denoising of PPG signal. Procedia Computer Science 2015, 49, 282–288.
- Rojano, J.F.; Isaza, C.V. Singular value decomposition of the time-frequency distribution of PPG signals for motion artifact reduction. Int. J. Signal Process. Syst 2016, 4, 475–482.
- Zhang, Y.; Liu, B.; Zhang, Z. Combining ensemble empirical mode decomposition with spectrum subtraction technique for heart rate monitoring using wrist-type photoplethysmography. Biomedical Signal Processing and Control 2015, 21, 119–125.
- Jarchi, D.; Salvi, D.; Tarassenko, L.; Clifton, D.A. Validation of instantaneous respiratory rate using reflectance PPG from different body positions. Sensors 2018, 18, 3705.
- Norouzi, M.; Fleet, D.J.; Salakhutdinov, R.R. Hamming distance metric learning. Advances in neural information processing systems 2012, 25.
- Akoglu, H. User’s guide to correlation coefficientsTurkish Journal of Emergency Medicine. Emergency Medicine Association of Turkey 2018, 1.
- Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; Association for Computing Machinery: New York, NY, USA, 2016; KDD ’16, p. 785–794. [CrossRef]
- Friedman, J.H. Greedy function approximation: a gradient boosting machine. Annals of statistics 2001, pp. 1189–1232.
- David, H.; Gorbatov, E.; Hanebutte, U.R.; Khanna, R.; Le, C. RAPL: Memory power estimation and capping. Proceedings of the 16th ACM/IEEE international symposium on Low power electronics and design, 2010, pp. 189–194.
- Rotem, E.; Naveh, A.; Ananthakrishnan, A.; Weissmann, E.; Rajwan, D. Power-Management Architecture of the Intel Microarchitecture Code-Named Sandy Bridge. IEEE Micro 2012, 32, 20–27. [CrossRef]
- Khan, K.N.; Hirki, M.; Niemi, T.; Nurminen, J.K.; Ou, Z. RAPL in Action: Experiences in Using RAPL for Power measurements. ACM Transactions on Modeling and Performance Evaluation of Computing Systems (TOMPECS) 2018, 3, 1–26.


















| Category | Algorithm | Description |
|---|---|---|
| Filtering | Band-pass Filter | 5th order Butterworth (0.5-15Hz) |
| Low-pass Filter | 5th order Butterworth (2.5 Hz) | |
| High-pass Filter | 5th order Butterworth (0.5Hz) | |
| Decompose | Cubic Spline Interpolate [15] | - |
| Wavelet Filtering [16] | Daubechies 8 (db8) | |
| SVD of T-F Distribution (SVDTFD) [17] | First and second components | |
| Empirical Mode Decomposition (EMD) [18] | Remove EMD components 0.25 Hz | |
| Singular Spectrum Analysis (SSA) [1,19] | Remove SSA components 1 Hz |

| Feature Type | Features |
|---|---|
| Statistics Features |
Median |
| Range | |
| Standard Deviation | |
| Kurtosis | |
| Skewness | |
| Entropy | |
| Frequency Domain Features |
PSD in {1Hz, 3Hz, 5Hz, 7Hz, 0.01-1Hz, 1-3Hz} |
| PSD Ratio of {1-3Hz/0.01-1Hz} | |
| STD of Frequency Spectrum |
| Algo. | Energy Consumption (mJ) |
|---|---|
| Bypass | 0 |
| Bandpass Filter (BPF) | 10.05 |
| Empirical Mode Decomposition (EMD) | 2268.50 |
| Cubic Spline Interpolation (CUB) | 10.85 |
| Singular Spectrum Analysis (SSA) | 28767.42 |
| Wavelet Decomposition (WVL) | 9.73 |
| Singular Value Decomposition (SVD) | 333.03 |
| High-pass Filter (HPF) | 14.57 |
| Low-pass Filter (LPF) | 10.28 |
| Energy Budget (mJ) | Selected Portfolio | ||
|---|---|---|---|
| E < 35.54 | One-For-All processing | ||
| 35.54 ≤ E < 368.57 | Bypass | CUB | BPF |
| 368.57 ≤ E < 28802.96 | Bypass | CUB | SVD |
| E ≥ 28802.96 | Bypass | CUB | SSA |
| One-for-all (WVL) |
One-for-all (SSA) |
SQA | QAP (Bypass, BPF, CUB) |
|
| H.R. Accuracy (%) |
74.5 | 80.2 | 77.8 ± 13.8 | 83.2 ± 11.0 |
| Mean Absolute Error (BPM) |
6.02 ± 10.3 | 4.1 ± 7.6 | 6.1 ± 10.7 | 4.7 ± 9.2 |
| Per sample Energy Consumption (mJ) |
9.73 | 28767.4 | 35.5 | 37.8 |
| Accuracy w/o process |
MAE w/o process |
|
| Group I | 0.84 | 4.42 ± 8.82 |
| Group II | 0.63 | 9.96 ± 13.86 |
| Group III | 0.62 | 8.37 ± 10.85 |
| Group IV | 0.37 | 14.70 ± 12.79 |
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 (http://creativecommons.org/licenses/by/4.0/).