| Literature DB >> 35591084 |
Francesco Di Nardo1, Antonio Nocera1, Alessandro Cucchiarelli1, Sandro Fioretti1, Christian Morbidoni2.
Abstract
BACKGROUND: Muscular-activity timing is useful information that is extractable from surface EMG signals (sEMG). However, a reference method is not available yet. The aim of this study is to investigate the reliability of a novel machine-learning-based approach (DEMANN) in detecting the onset/offset timing of muscle activation from sEMG signals.Entities:
Keywords: machine learning; muscle activation; neural networks; onset detection; surface EMG
Mesh:
Year: 2022 PMID: 35591084 PMCID: PMC9103856 DOI: 10.3390/s22093393
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Figure 1Realization of sEMG vectors used as input to DEMANN model.
Mean classification accuracy in the simulated test dataset associated with different inputs.
| Input | F1-Score ± SD (%) | |||
|---|---|---|---|---|
| Activity Area | Silent Area | Macro | Weighted | |
| LE | 95.0 ± 0.4 | 87.9 ± 0.8 | 91.4 ± 0.6 | 92.8 ± 0.5 |
| RMS | 96.4 ± 0.3 | 91.5 ± 0.6 | 93.9 ± 0.4 | 94.9 ± 0.4 |
| CWT | 98.0 ± 0.2 | 95.5 ± 0.4 | 96.8 ± 0.3 | 97.3 ± 0.2 |
| LE + RMS + CWT | 98.3 ± 0.1 | 96.0 ± 0.3 | 97.2 ± 0.2 | 97.6 ± 0.2 |
Mean classification accuracy stratified for different SNR.
| SNR (dB) | Accuracy (%) |
|---|---|
| 3 | 95.3 ± 4.8 |
| 6 | 96.2 ± 4.3 |
| 10 | 97.3 ± 3.3 |
| 13 | 98.1 ± 2.1 |
| 16 | 98.4 ± 2.0 |
| 20 | 98.9 ± 1.4 |
| 23 | 99.2 ± 0.9 |
| 26 | 99.1 ± 1.0 |
| 30 | 99.1 ± 0.7 |
| Mean ± SD | 97.8 ± 3.0 |
Mean classification performances computed in the test set separately for the activity area and the silent area, stratified for different SNR.
|
| |||
|
|
|
|
|
| 3 | 95.1 ± 7.6 | 91.6 ± 10.3 | 92.7 ± 6.1 |
| 6 | 96.0 ± 6.1 | 93.4 ± 8.2 | 94.2 ± 4.2 |
| 10 | 97.8 ± 3.7 | 94.2 ± 7.3 | 95.7 ± 3.8 |
| 13 | 98.8 ± 2.3 | 95.2 ± 6.2 | 96.7 ± 3.2 |
| 16 | 98.8 ± 2.0 | 96.5 ± 4.5 | 97.5 ± 2.4 |
| 20 | 98.7 ± 1.5 | 97.9 ± 3.1 | 98.2 ± 1.5 |
| 23 | 98.9 ± 1.6 | 98.3 ± 2.4 | 98.5 ± 1.3 |
| 26 | 98.5 ± 2.2 | 98.5 ± 2.1 | 98.5 ± 1.4 |
| 30 | 98.4 ± 2.0 | 98.3 ± 4.2 | 98.3 ± 2.4 |
| Mean (±SD) | 97.9 ± 4.0 | 96.0 ± 6.4 | 96.7 ± 3.8 |
|
| |||
|
|
|
|
|
| 3 | 94.8 ± 8.0 | 97.8 ± 4.7 | 96.0 ± 5.0 |
| 6 | 94.8 ± 9.5 | 98.8 ± 1.8 | 96.5 ± 5.4 |
| 10 | 96.3 ± 6.5 | 99.3 ± 1.3 | 97.6 ± 3.7 |
| 13 | 97.4 ± 3.8 | 99.4 ± 1.1 | 98.4± 1.9 |
| 16 | 97.7 ± 4.6 | 99.5 ± 0.9 | 98.6 ± 2.6 |
| 20 | 98.4 ± 3.8 | 99.5 ± 0.7 | 98.9 ± 2.0 |
| 23 | 99.1 ± 2.1 | 99.6 ± 0.7 | 99.3 ± 1.1 |
| 26 | 99.0 ± 2.8 | 99.3 ± 1.0 | 99.1 ± 1.5 |
| 30 | 99.3 ± 1.4 | 99.3 ± 0.9 | 99.3 ± 0.7 |
| Mean (±SD) | 97.4 ± 5.6 | 99.2 ± 1.9 | 98.2 ± 3.3 |
Mean (±SD) performances of the onset and offset prediction provided by DEMANN and SVM over all the simulated sEMG signals.
| DEMANN | SVM | |||
|---|---|---|---|---|
| Onset | Offset | Onset | Offset | |
| MAE (ms) | 10.0 ± 17.5 * | 10.1 ± 17.3 § | 20.6 ± 28.2 * | 19.3 ± 23.8 § |
| Precision (%) | 99.0 ± 9.6 | 99.4 ± 7.4 | 97.0 ± 16.9 | 98.5 ± 11.9 |
| Recall (%) | 99.2 ± 9.0 | 99.5 ± 6.8 | 97.1 ± 16.8 | 98.6 ± 11.7 |
| F1-score (%) | 99.0 ± 9.2 | 99.4 ± 9.6 | 97.0 ± 16.8 | 98.5 ± 11.8 |
* means that the difference between the two mean onset values is statistically significant (p < 0.05); § means that the difference between the two mean offset values is statistically significant (p < 0.05).
Figure 2Example of simulated sEMG signal (blue line). The truncated Gaussian function used to model the simulated signal (green dashed line), predictions by DEMANN (red rectangle), and DT (yellow rectangle) of onset and offset events are superimposed.
Mean (±SD) performances of onset and offset prediction provided by DEMANN and DT over all the simulated signals.
| DEMANN | DT | |||
|---|---|---|---|---|
| Onset | Offset | Onset | Offset | |
| MAE (ms) | 10.0 ± 17.5 | 10.1 ± 17.3 * | 11.5 ± 21.9 | 16.1 ± 26.9 * |
| Precision (%) | 99.0 ± 9.6 | 99.4 ± 7.4 | 98.5 ± 12.1 | 96.9 ± 17.4 |
| Recall (%) | 99.2 ± 9.0 | 99.5 ± 6.8 | 98.4 ± 12.3 | 96.8 ± 17.4 |
| F1-score (%) | 99.0 ± 9.2 | 99.4 ± 9.6 | 98.5 ± 12.2 | 96.9 ± 17.4 |
* means that the difference between the two mean values is statistically significant (p < 0.05).
Variability of MAE in the function of simulated-signal parameters α, σ, and SNR (dB) for onset and offset prediction.
|
| ||||||||||||
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 | 7.2 | 6.9 | 8.9 | 21.0 | 11.4 | 15.1 | 18.0 | 60.8 | 21.7 | 10.3 | 37.3 | 72.8 |
| 6 | 8.4 | 11.1 | 13.5 | 18.2 | 6.2 | 9.6 | 12.6 | 52.6 | 5.2 | 5.6 | 33.9 | 87.4 |
| 10 | 5.1 | 6.1 | 7.1 | 10.0 | 5.9 | 12.1 | 9.4 | 42.6 | 4.6 | 1.6 | 32.5 | 62.4 |
| 13 | 3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5.1 | 12.7 | 1.5 | 2.5 | 2.7 | 26.5 |
| 26 | 2.8 | 3.1 | 5.3 | 4.6 | 1.6 | 5.2 | 2.6 | 4.8 | 2.6 | 4.6 | 6.1 | 24.5 |
| 30 | 2.0 | 9.5 | 1.8 | 7.7 | 2.1 | 3.9 | 4.9 | 6.6 | 1.6 | 2.4 | 6.3 | 6.2 |
All the areas with different levels of green indicate MAE values < 10 ms. Progressively darker green indicate progressively lower MAE. All the yellow, orange, and red areas indicate MAE values ≥ 10 ms. Progressively darker colors indicate progressively higher MAE. The value of 10 ms was chosen since it was the mean MAE value over the whole dataset (Table 5).
Figure 3Mean F1-score computed in onset (panel A) and offset (panel B) prediction and mean MAE computed in onset (panel C) and offset (panel D) prediction for each SNR value by DEMANN (blue bars) vs. DT algorithm (red bars). * indicates statistically significant difference.
Absolute error of onset prediction in the function of SNR ranges in terms of mean, standard deviation (SD), median, 25-percentile, and 75-percentile.
| SNR | Number of Signals | Mean | SD | Median (ms) | 25-Perc (ms) | 75-Perc (ms) |
|---|---|---|---|---|---|---|
| ≤2 | 6 | 209.9 | 182.0 | 131.6 | 66.9 | 368.8 |
| 2 ÷ 4 | 10 | 187.5 | 163.7 | 116.0 | 60.4 | 338.0 |
| 4 ÷ 6 | 15 | 76.7 | 53.7 | 77.6 | 32.7 | 107.4 |
| 6 ÷ 8 | 21 | 24.0 | 27.7 | 13.2 | 6.8 | 32.2 |
| 8 ÷ 10 | 20 | 15.8 | 16.9 | 11.5 | 3.9 | 16.4 |
| 10 ÷ 12 | 6 | 12.2 | 2.9 | 12.9 | 11.6 | 14.3 |
| ≤8 | 52 | 92.1 | 120.3 | 54.2 | 13.2 | 93.9 |
| >8 | 26 | 14.9 | 14.6 | 12.0 | 7.1 | 14.6 |
Comparison among the absolute errors of the onset prediction provided in the same population by DEMANN approach and by the four algorithms introduced in Section 3.2. The best values for each parameter and each SNR are highlighted in bold.
| SNR | DEMANN | DT | WLT | CUSUM | PROLIFIC | ||||
|---|---|---|---|---|---|---|---|---|---|
| TKEO | ETKEO | TKEO | ETKEO | TKEO | ETKEO | TKEO | ETKEO | ||
|
| |||||||||
| ≤2 | 209.9 | 733.5 | 243.7 | 504.5 | 139.8 | 827.1 |
| 357.9 | 303.4 |
| 2 ÷ 4 | 187.5 | 225.5 | 154.0 | 191.5 |
| 1143.8 | 222.8 | 460.0 | 185.5 |
| 4 ÷ 6 |
| 201.3 | 101.3 | 248.5 | 165.2 | 708.1 | 93.8 | 371.4 | 123.4 |
| 6 ÷ 8 |
| 182.3 | 116.9 | 158.8 | 92.2 | 618.0 | 65.5 | 229.7 | 39.4 |
| ≤8 |
| 259.7 | 134.2 | 230.9 | 129.1 | 769.2 | 115.1 | 410.4 | 122.2 |
|
| |||||||||
| ≤2 | 182.0 | 456.4 | 381.0 | 578.5 |
| 584.3 | 91.9 | 534.6 | 519.4 |
| 2 ÷ 4 | 163.7 | 115.0 |
| 254.5 | 146.3 | 489.2 | 170.4 | 392.2 | 185.5 |
| 4 ÷ 6 |
| 266.9 | 106.2 | 335.4 | 272.5 | 492.2 | 92.0 | 453.3 | 123.4 |
| 6 ÷ 8 |
| 305.3 | 229.8 | 311.4 | 170.2 | 579.2 | 54.8 | 462.0 | 39.4 |
| ≤8 | 120.3 | 330.1 | 203.6 | 352.9 | 192.3 | 558.7 |
| 443.5 | 122.2 |
|
| |||||||||
| ≤2 | 131.6 | 765.4 |
| 208.3 | 133.3 | 999.0 | 149.7 | 111.1 | 104.0 |
| 2 ÷ 4 | 116.0 | 231.2 | 125.0 | 121.3 |
| 1134.5 | 148.7 | 396.7 | 136.0 |
| 4 ÷ 6 | 77.6 | 104.0 | 58.6 | 122.6 | 104.9 | 793.5 | 55.7 | 93.8 |
|
| 6 ÷ 8 |
| 69.8 | 41.5 | 61.0 | 35.2 | 729.0 | 48.8 | 135.7 | 36.6 |
| ≤8 |
| 109.6 | 69.3 | 116.9 | 78.6 | 958.0 | 78.6 | 137.9 | 54.9 |
|
| |||||||||
| ≤2 | 66.9 | 400.9 | 42.9 | 127.4 | 126.5 | 153.8 | 90.8 |
| 56.6 |
| 2 ÷ 4 | 60.4 | 121.1 | 87.9 |
| 33.7 | 883.3 | 128.9 | 140.1 | 124.5 |
| 4 ÷ 6 | 32.7 | 47.8 | 27.6 | 71.2 | 31.7 | 257.1 |
| 40.4 | 20.7 |
| 6 ÷ 8 |
| 28.3 | 25 | 19.4 | 7.8 | 35.9 | 32.3 | 30.5 | 11.7 |
| ≤8 |
| 45.2 | 31.5 | 33.0 | 25.2 | 100.3 | 40.3 | 46.6 | 24.9 |
|
| |||||||||
| ≤2 | 368.8 | 1042.9 |
| 861.3 | 197.7 | 1182.1 | 239.7 | 409.2 | 157.7 |
| 2 ÷ 4 | 338.0 | 309.1 | 245.6 | 191.9 |
| 1483.9 | 298.3 | 746.1 | 173.3 |
| 4 ÷ 6 | 107.4 | 231.9 | 146.6 | 223.4 | 128.5 | 1124.8 | 131.2 | 680.9 |
|
| 6 ÷ 8 |
| 107.5 | 94.2 | 122.4 | 130.5 | 1115.2 | 80.9 | 884.7 | 54.8 |
| ≤8 |
| 304.7 | 146.5 | 192.9 | 146.5 | 1181.4 | 152.6 | 756.6 | 125.5 |
Figure 4Mean (±SD) precision, recall, and F1-score computed in the onset and offset prediction by the DEMANN approach (blue bars) vs. the DT algorithm (red bars) achieved in real sEMG data during able-bodied walking. * indicates statistically significant difference.