| Literature DB >> 35957328 |
Diego Cajal1,2, David Hernando1,2, Jesús Lázaro1,2, Pablo Laguna1,2, Eduardo Gil1,2, Raquel Bailón1,2.
Abstract
Heart rate variability (HRV) has been studied for decades in clinical environments. Currently, the exponential growth of wearable devices in health monitoring is leading to new challenges that need to be solved. These devices have relatively poor signal quality and are affected by numerous motion artifacts, with data loss being the main stumbling block for their use in HRV analysis. In the present paper, it is shown how data loss affects HRV metrics in the time domain and frequency domain and Poincaré plots. A gap-filling method is proposed and compared to other existing approaches to alleviate these effects, both with simulated (16 subjects) and real (20 subjects) missing data. Two different data loss scenarios have been simulated: (i) scattered missing beats, related to a low signal to noise ratio; and (ii) bursts of missing beats, with the most common due to motion artifacts. In addition, a real database of photoplethysmography-derived pulse detection series provided by Apple Watch during a protocol including relax and stress stages is analyzed. The best correction method and maximum acceptable missing beats are given. Results suggest that correction without gap filling is the best option for the standard deviation of the normal-to-normal intervals (SDNN), root mean square of successive differences (RMSSD) and Poincaré plot metrics in datasets with bursts of missing beats predominance (p<0.05), whereas they benefit from gap-filling approaches in the case of scattered missing beats (p<0.05). Gap-filling approaches are also the best for frequency-domain metrics (p<0.05). The findings of this work are useful for the design of robust HRV applications depending on missing data tolerance and the desired HRV metrics.Entities:
Keywords: ANS; Apple Watch; HRV; Poincaré plots
Mesh:
Year: 2022 PMID: 35957328 PMCID: PMC9371086 DOI: 10.3390/s22155774
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Figure 1Example of simulation with a segment of 40 beats. Deleted beats are displayed in red. (a) Random distributed missing beats, . (b) Bursts of missing beats. The elements at the ends (green) cannot be deleted.
Figure 2Process flow. = Outlier Detection; = Outlier Rejection; = Linear; = Non-Linear; = Model-based.
Figure 3Gap-filling algorithm flowchart.
Relative error (%) of time-domain metrics. (a) Scattered missing beats. (b) Bursts. †: Significant differences () between and . △: Significant differences () between and . §: Significant differences () between and .
| (a) | |||||
|---|---|---|---|---|---|
|
|
|
| |||
|
|
|
|
| ||
|
| MHR | 0.13 (0.05–0.24) | 0.25 (0.12–0.48) | 0.39 (0.20–0.74) | 0.54 (0.28–1.02) |
| SDNN | 1.80 (0.85–3.07) | 3.61 (1.76–6.03) | 5.10 (2.34–9.18) | 7.32 (3.11–14.93) | |
| RMSSD | 2.09 (0.95–4.03) | 5.40 (2.12–9.23) | 8.90 (3.96–14.55) | 10.84 (5.21–23.97) | |
|
| MHR | 0.00 (0.00–0.01) | 0.01 (0.01–0.03) | 0.03 (0.01–0.49) | 0.08 (0.03–0.75) |
| SDNN | 0.43 (0.19–0.81) | 1.85 (0.81–3.37) | 4.71 (2.59–8.25) | 8.09 (4.18–14.48) | |
| RMSSD | 1.07 (0.41–2.05) | 2.68 (1.14–6.09) | 7.90 (2.72–19.56) | 13.98 (5.21–37.84) | |
|
| MHR | 0.00 (0.00–0.00) | 0.00 (0.00–0.02) | 0.02 (0.01–0.09) | 0.05 (0.01–0.70) |
| SDNN | 0.16 (0.05–0.44) | 0.77 (0.24–2.34) | 2.63 (0.85–6.00) | 5.42 (2.10–10.18) | |
| RMSSD | 1.13 (0.44–2.28) | 4.14 (2.13–7.43) | 9.42 (4.95–16.70) | 14.50 (7.54–29.35) | |
|
| |||||
|
|
|
| |||
|
|
|
|
| ||
|
| MHR | 0.16 (0.07–0.28) | 0.22 (0.11–0.44) | 0.31 (0.14–0.56) | 0.40 (0.17–0.71) |
| SDNN | 1.69 (0.84–2.43) | 2.12 (1.10–3.65) | 3.06 (1.40–4.87) | 3.55 (1.72–5.96) | |
| RMSSD | 1.66 (0.83–2.44) | 2.43 (1.14–3.74) | 3.15 (1.58–5.38) | 4.08 (2.07–7.08) | |
|
| MHR | 0.01 (0.00–0.03) | 0.03 (0.01–0.53) | 0.47 (0.02–0.76) | 0.73 (0.09–0.98) |
| SDNN | 1.39 (0.57–2.66) | 3.41 (1.51–5.32) | 4.83 (2.63–7.82) | 6.38 (3.14–9.87) | |
| RMSSD | 1.66 (0.75–3.38) | 3.60 (1.83–6.23) | 4.87 (2.84–8.41) | 6.97 (3.95–10.86) | |
|
| MHR | 0.01 (0.00–0.09) | 0.02 (0.01–0.57) | 0.09 (0.01–0.72) | 0.55 (0.03–0.83) |
| SDNN | 1.24 (0.44–3.02) | 2.84 (1.04–4.82) | 4.46 (2.15–7.02) | 5.80 (2.86–8.85) | |
| RMSSD | 1.77 (0.90–3.87) | 3.77 (2.13–6.51) | 5.80 (3.40–9.01) | 7.78 (4.36–12.17) | |
-values of ranked signed test for supine/tilt discrimination of time-domain metrics. N.S.: Not significant ().
| Method | Metric | Reference | Deletion Probability (%) | Burst Duration (s) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5 | 15 | 25 | 35 | 5 | 10 | 15 | 20 | |||||
|
| MHR | < | < | < | < | < | < | < | < | < | ||
| SDNN | 0.020 | 0.011 | 0.016 | N.S. | N.S. | 0.011 | 0.011 | 0.011 | 0.011 | |||
| RMSSD | < | < | < | < | < | < | < | < | < | |||
|
| MHR | < | < | < | < | < | < | < | < | < | ||
| SDNN | 0.020 | 0.014 | 0.008 | N.S. | N.S. | 0.011 | 0.011 | 0.011 | 0.004 | |||
| RMSSD | < | < | < | < | < | < | < | < | < | |||
|
| MHR | < | < | < | < | < | < | < | < | < | ||
| SDNN | 0.020 | 0.012 | 0.011 | 0.021 | 0.014 | 0.014 | 0.007 | 0.012 | 0.026 | |||
| RMSSD | < | < | < | < | < | < | < | < | < | |||
Relative error (%) of time-domain metrics from Apple Watch dataset. †: Significant differences () between and . △: Significant differences () between and . §: Significant differences () between and .
| Metric | Method | ||
|---|---|---|---|
|
|
|
| |
| MHR | 0.12 (0.04–0.47) | 0.03 (0.01–0.52) | 0.03 (0.01–0.66) |
| SDNN | 3.36 (1.97–7.47) | 2.92 (1.51–9.55) | 2.96 (1.31–8.62) |
| RMSSD | 7.84 (4.29–15.90) | 8.56 (3.99–20.22) | 8.61 (3.74–17.69) |
Figure 4Coverage of time-domain metrics from Apple Watch dataset. (a) MHR. (b) SDNN. (c) RMSSD.
Figure 5Relax (green)/stress (blue) discrimination of time-domain metrics from Apple Watch dataset. (a) MHR. (b) SDNN. (c) RMSSD. *: Significant differences () between relax and stress groups. **: Significant differences () between relax and stress groups.
Relative error (%) of frequency-domain metrics computed via FFT. (a) Scattered missing beats. (b) Bursts. †: Significant differences () between and . △: Significant differences () between and . §: Significant differences () between and .
| (a) | |||||
|---|---|---|---|---|---|
|
|
|
| |||
|
|
|
|
| ||
|
|
| 8.08 (3.46–19.10) | 20.29 (11.37–32.72) | 36.36 (22.36–53.64) | 55.16 (29.10–161.86) |
|
| 15.37 (7.00–30.10) | 32.89 (20.17–45.24) | 50.12 (36.46–63.16) | 59.41 (42.65–73.21) | |
|
|
| 0.99 (0.39–2.34) | 4.28 (2.04–9.24) | 10.94 (5.66–18.71) | 15.98 (8.81–28.74) |
|
| 2.81 (1.19–5.47) | 10.83 (5.54–17.64) | 22.69 (11.98–41.40) | 34.04 (19.54–61.20) | |
|
|
| 0.41 (0.15–1.11) | 1.44 (0.48–4.71) | 4.24 (1.41–12.57) | 8.96 (2.20–21.22) |
|
| 1.63 (0.71–4.16) | 6.88 (2.45–14.99) | 18.97 (9.80–37.55) | 29.20 (17.06–54.77) | |
|
| |||||
|
|
|
| |||
|
|
|
|
| ||
|
|
| 10.20 (3.53–20.75) | 14.62 (6.52–26.29) | 21.90 (9.95–32.57) | 26.50 (14.26–39.04) |
|
| 12.62 (6.38–28.40) | 17.99 (9.32–32.90) | 22.82 (14.13–36.28) | 28.65 (18.53–43.37) | |
|
|
| 4.94 (1.70–12.34) | 10.89 (4.67–19.12) | 15.45 (7.13–26.16) | 19.25 (8.88–31.24) |
|
| 6.81 (2.92–11.42) | 9.95 (4.98–17.20) | 14.02 (7.06–22.67) | 18.26 (9.41–28.11) | |
|
|
| 4.72 (1.56–12.18) | 10.01 (4.34–17.88) | 13.31 (6.35–25.36) | 19.34 (9.28–30.70) |
|
| 6.82 (3.36–11.76) | 11.02 (5.73–17.59) | 15.19 (7.85–23.70) | 19.10 (10.94–29.80) | |
-values of ranked signed test for supine/tilt discrimination of frequency-domain metrics computed via FFT. N.S.: Not significant ().
| Method | Metric | Reference | Deletion Probability (%) | Burst Duration (s) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5 | 15 | 25 | 35 | 5 | 10 | 15 | 20 | |||||
|
|
| < | < | < | < | N.S. | < | < | < | < | ||
|
| < | < | < | < | < | < | < | < | < | |||
| < | < | < | < | 0.005 | < | < | < | < | ||||
|
|
| < | < | < | < | < | < | < | < | < | ||
|
| < | < | < | < | < | < | < | < | < | |||
| < | < | < | < | < | < | < | < | < | ||||
|
|
| < | < | < | < | < | < | < | < | < | ||
|
| < | < | < | < | < | < | < | < | < | |||
| < | < | < | < | < | < | < | < | < | ||||
Relative error (%) of frequency-domain metrics computed via FFT from Apple Watch dataset. †: Significant differences () between and . △: Significant differences () between and . §: Significant differences () between and .
| Metric | Method | ||
|---|---|---|---|
|
|
|
| |
|
| 0.09 (0.04–0.30) | 0.08 (0.03–0.22) | 0.08 (0.03–0.17) |
|
| 0.14 (0.07–0.31) | 0.16 (0.07–0.30) | 0.17 (0.07–0.31) |
Figure 6Coverage of frequency-domain metrics computed via FFT from Apple Watch dataset. (a) . (b) .
Figure 7Relax (green)/Stress (blue) discrimination of frequency-domain metrics computed via FFT from Apple Watch dataset. (a) . (b) . *: Significant differences () between relax and stress groups. **: Significant differences () between relax and stress groups.
Relative error (%) of frequency-domain metrics computed via Lomb’s method. (a) Scattered missing beats. (b) Bursts. †: Significant differences () between and . △: Significant differences () between and . §: Significant differences () between and .
| (a) | |||||
|---|---|---|---|---|---|
|
|
|
| |||
|
|
|
|
| ||
|
|
| 10.75 (4.77–18.84) | 23.45 (9.90–40.99) | 34.71 (17.49–66.27) | 58.11 (24.93–123.23) |
|
| 23.01 (11.38–45.74) | 79.42 (46.93–155.29) | 160.28 (87.39–296.90) | 304.57 (142.89–665.16) | |
|
|
| 0.89 (0.35–1.90) | 3.75 (1.60–7.49) | 9.90 (4.56–18.19) | 15.77 (7.56–28.59) |
|
| 2.62 (1.10–4.81) | 8.94 (4.93–16.22) | 21.27 (11.03–37.15) | 30.78 (17.23–61.62) | |
|
|
| 0.37 (0.13–1.06) | 1.36 (0.44–3.95) | 3.43 (1.17–11.70) | 7.58 (2.28–22.67) |
|
| 1.45 (0.51–3.31) | 5.46 (1.92–12.01) | 16.22 (8.12–31.57) | 28.33 (14.72–52.65) | |
|
| |||||
|
|
|
| |||
|
|
|
|
| ||
|
|
| 11.19 (6.69–17.18) | 18.66 (10.87–28.82) | 25.33 (12.89–38.36) | 29.23 (14.57–48.91) |
|
| 14.06 (7.55–19.79) | 22.86 (12.70–34.06) | 30.88 (18.39–45.27) | 39.17 (24.01–60.79) | |
|
|
| 4.48 (1.65–11.24) | 9.99 (3.64–19.00) | 13.85 (6.53–23.87) | 17.38 (7.14–28.54) |
|
| 5.51 (2.26–11.05) | 8.74 (3.94–18.11) | 13.18 (5.10–21.58) | 16.22 (7.42–26.31) | |
|
|
| 4.58 (1.68–11.53) | 8.43 (3.55–17.21) | 13.49 (5.93–23.56) | 18.41 (9.23–28.86) |
|
| 6.00 (2.79–11.69) | 10.92 (5.24–19.42) | 14.60 (7.65–23.30) | 18.46 (9.45–29.31) | |
-values of ranked signed test for supine/tilt discrimination of frequency-domain metrics computed via Lomb’s method. N.S.: Not significant ().
| Method | Metric | Reference | Deletion Probability (%) | Burst Duration (s) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5 | 15 | 25 | 35 | 5 | 10 | 15 | 20 | |||||
|
|
| < | < | < | < | < | < | < | < | < | ||
|
| < | < | < | < | < | < | < | < | < | |||
| < | < | < | < | < | < | < | < | < | ||||
|
|
| < | < | < | < | < | < | < | < | < | ||
|
| < | < | < | < | < | < | < | < | < | |||
| < | < | < | < | < | < | < | < | < | ||||
|
|
| < | < | < | < | < | < | < | < | < | ||
|
| < | < | < | < | < | < | < | < | < | |||
| < | < | < | < | < | < | < | < | < | ||||
Relative error (%) of frequency-domain computed via Lomb’s method metrics from Apple Watch dataset. †: Significant differences () between and . △: Significant differences () between and . §: Significant differences () between and .
| Metric | Method | ||
|---|---|---|---|
|
|
|
| |
|
| 0.10 (0.05–0.24) | 0.08 (0.03–0.23) | 0.08 (0.03–0.18) |
|
| 0.20 (0.08–0.56) | 0.15 (0.06–0.32) | 0.13 (0.06–0.25) |
Figure 8Coverage of frequency-domain metrics computed via Lomb’s method from Apple Watch dataset. (a) . (b) .
Figure 9Relax (green)/Stress (blue) discrimination of frequency-domain metrics computed via Lomb’s method from Apple Watch dataset. (a) . (b) . **: Significant differences () between relax and stress groups.
Relative error (%) of Poincaré metrics. (a) Scattered missing beats. (b) Bursts. †: Significant differences () between and . △: Significant differences () between and . §: Significant differences () between and .
| (a) | |||||
|---|---|---|---|---|---|
|
|
|
| |||
|
|
|
|
| ||
|
| SD1 | 2.13 (0.94–3.96) | 5.33 (2.24–9.25) | 9.06 (4.10–14.36) | 10.66 (5.29–23.67) |
| SD2 | 2.58 (1.31–4.28) | 4.93 (2.04–8.53) | 7.20 (3.22–13.05) | 10.75 (4.93–20.32) | |
| Md | 2.40 (1.16–4.15) | 4.49 (2.18–7.44) | 6.35 (2.87–10.78) | 8.70 (4.10–17.82) | |
| Sd | 2.80 (1.31–4.95) | 6.19 (2.87–11.14) | 10.05 (4.47–18.67) | 14.46 (7.16–31.01) | |
|
| SD1 | 1.07 (0.41–2.05) | 2.68 (1.14–6.09) | 7.90 (2.72–19.56) | 14.00 (5.21–37.87) |
| SD2 | 0.40 (0.19–0.93) | 1.85 (0.97–3.30) | 4.28 (2.24–7.08) | 6.99 (3.95–13.22) | |
| Md | 0.52 (0.22–1.08) | 2.05 (0.85–4.18) | 4.46 (2.07–7.23) | 7.11 (3.54–11.93) | |
| Sd | 0.47 (0.17–0.98) | 1.34 (0.52–3.23) | 3.59 (1.27–12.57) | 7.09 (1.78–33.63) | |
|
| SD1 | 1.13 (0.44–2.28) | 4.14 (2.13–7.43) | 9.42 (4.95–16.70) | 14.51 (7.54–29.39) |
| SD2 | 0.12 (0.04–0.30) | 0.56 (0.15–1.50) | 1.67 (0.54–3.98) | 3.39 (1.19–8.51) | |
| Md | 0.23 (0.09–0.56) | 1.06 (0.27–3.00) | 2.43 (1.04–5.73) | 4.83 (1.88–9.33) | |
| Sd | 0.30 (0.10–0.76) | 0.90 (0.26–2.46) | 2.39 (0.77–7.89) | 4.92 (1.60–17.24) | |
|
|
|
| |||
|
|
|
|
| ||
|
| SD1 | 1.69 (0.84–2.50) | 2.45 (1.16–3.76) | 3.19 (1.63–5.39) | 4.03 (2.00–7.04) |
| SD2 | 1.85 (0.89–2.74) | 2.44 (1.29–3.92) | 3.24 (1.57–5.11) | 3.94 (1.89–6.39) | |
| Md | 1.91 (0.94–3.05) | 2.54 (1.04–4.59) | 3.49 (1.26–5.86) | 4.14 (2.01–7.40) | |
| Sd | 1.50 (0.90–2.49) | 2.32 (1.21–3.65) | 2.98 (1.65–4.54) | 3.57 (2.02–5.67) | |
|
| SD1 | 1.67 (0.75–3.38) | 3.60 (1.83–6.23) | 4.88 (2.84–8.41) | 6.97 (3.95–10.86) |
| SD2 | 1.31 (0.56–2.70) | 3.40 (1.36–5.37) | 4.90 (2.49–7.88) | 6.26 (3.10–10.14) | |
| Md | 2.33 (0.97–4.11) | 5.65 (2.90–8.72) | 8.44 (4.31–11.97) | 10.53 (4.53–14.29) | |
| Sd | 1.97 (0.75–4.06) | 3.24 (1.57–6.84) | 4.08 (1.92–7.50) | 4.68 (2.37–8.05) | |
|
| SD1 | 1.77 (0.90–3.87) | 3.78 (2.13–6.52) | 5.80 (3.41–9.02) | 7.78 (4.36–12.17) |
| SD2 | 1.16 (0.32–2.87) | 2.53 (0.89–4.96) | 4.42 (2.18–6.88) | 5.60 (2.61–8.70) | |
| Md | 1.16 (0.32–2.87) | 2.53 (0.89–4.96) | 4.42 (2.18–6.88) | 5.60 (2.61–8.70) | |
| Sd | 1.81 (0.61–4.33) | 2.97 (1.21–5.62) | 3.53 (1.67–7.63) | 4.17 (1.99–7.03) | |
-values of ranked signed test for supine/tilt discrimination of Poincaré metrics. N.S.: Not Significative ().
| Method | Metric | Reference | Deletion Probability (%) | Burst Duration (s) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5 | 15 | 25 | 35 | 5 | 10 | 15 | 20 | |||||
|
| SD1 | < | < | < | < | < | < | < | < | < | ||
| SD2 | 0.031 | N.S. | N.S. | N.S. | N.S. | N.S. | N.S. | N.S. | N.S. | |||
| SD12 | < | < | < | < | < | < | < | < | < | |||
| S | < | < | < | 0.012 | 0.002 | < | < | < | < | |||
| Md | < | 0.001 | 0.002 | 0.155 | 0.016 | 0.001 | 0.002 | 0.002 | 0.002 | |||
| Sd | 0.039 | 0.009 | N.S. | N.S. | N.S. | 0.024 | 0.026 | 0.022 | 0.015 | |||
|
| SD1 | < | < | < | < | < | < | < | < | < | ||
| SD2 | 0.031 | N.S. | N.S. | N.S. | N.S. | N.S. | N.S. | N.S. | N.S. | |||
| SD12 | < | < | < | < | < | < | < | < | < | |||
| S | < | < | < | < | 0.007 | < | < | < | < | |||
| Md | < | < | 0.001 | 0.010 | 0.012 | < | < | 0.002 | 0.002 | |||
| Sd | 0.039 | 0.034 | N.S. | N.S. | N.S. | N.S. | N.S. | N.S. | N.S. | |||
|
| SD1 | < | < | < | < | < | < | < | < | < | ||
| SD2 | 0.031 | 0.043 | N.S. | N.S. | N.S. | N.S. | N.S. | N.S. | N.S. | |||
| SD12 | < | < | < | < | < | < | < | < | < | |||
| S | < | < | < | < | 0.004 | < | < | < | < | |||
| Md | < | < | < | 0.002 | 0.002 | 0.002 | 0.001 | 0.002 | 0.013 | |||
| Sd | 0.039 | 0.033 | N.S. | N.S. | N.S. | 0.041 | 0.041 | 0.027 | 0.049 | |||
Relative error (%) of Poincaré metrics from Apple Watch dataset. †: Significant differences () between and . △: Significant differences () between and . §: Significant differences () between and .
| Metric | Method | ||
|---|---|---|---|
|
|
|
| |
| SD1 | 7.83 (4.15–15.91) | 8.56 (3.99–20.22) | 8.61 (3.73–17.70) |
| SD2 | 3.22 (1.59–6.38) | 2.61 (1.06–7.98) | 2.35 (1.06–6.08) |
| Md | 3.97 (2.21–8.28) | 3.55 (2.03–9.24) | 3.40 (1.67–8.42) |
| Sd | 4.20 (1.66–9.42) | 3.96 (1.87–10.00) | 3.44 (1.49–10.06) |
Figure 10Coverage of Poincaré metrics from Apple Watch dataset. (a) SD1. (b) SD2. (c) Md. (d) Sd.
Figure 11Relax (green)/stress (blue) discrimination of Poincaré metrics from Apple Watch dataset. (a) SD1. (b) SD2. (c) S. (d) Md. (e) Sd. *: Significant differences () between relax and stress groups. **: Significant differences () between relax and stress groups.
Summary of findings. (a) Best correction method. (b) Maximum acceptable missing beats for a relative error less than 20% in the third quartile.
| (a) | ||
|---|---|---|
|
|
|
|
| MHR |
|
|
| SDNN |
|
|
| RMSSD |
|
|
|
|
| |
|
|
| |
|
|
| |
|
|
| |
| SD1 |
|
|
| SD2 |
|
|
| Md |
|
|
| Sd |
| |
|
| ||
|
|
|
|
| MHR | 35% | 20 s |
| SDNN | 35% | 20 s |
| RMSSD | 25% | 20 s |
| 25% | 10 s | |
| 15% | 10 s | |
| 25% | 10 s | |
| 15% | 10 s | |
| SD1 | 25% | 20 s |
| SD2 | 35% | 20 s |
| Md | 35% | 20 s |
| Sd | 35% | 20 s |