| Literature DB >> 28792481 |
Aras Yurtman1, Billur Barshan2.
Abstract
Most activity recognition studies that employ wearable sensors assume that the sensors are attached at pre-determined positions and orientations that do not change over time. Since this is not the case in practice, it is of interest to develop wearable systems that operate invariantly to sensor position and orientation. We focus on invariance to sensor orientation and develop two alternative transformations to remove the effect of absolute sensor orientation from the raw sensor data. We test the proposed methodology in activity recognition with four state-of-the-art classifiers using five publicly available datasets containing various types of human activities acquired by different sensor configurations. While the ordinary activity recognition system cannot handle incorrectly oriented sensors, the proposed transformations allow the sensors to be worn at any orientation at a given position on the body, and achieve nearly the same activity recognition performance as the ordinary system for which the sensor units are not rotatable. The proposed techniques can be applied to existing wearable systems without much effort, by simply transforming the time-domain sensor data at the pre-processing stage.Entities:
Keywords: Bayesian decision making; accelerometer; artificial neural networks; gyroscope; human activity recognition; inertial sensors; k-nearest-neighbor classifier; machine learning; magnetometer; motion sensors; orientation-invariant sensing; sensor orientation; singular value decomposition; support vector machines; wearable sensing
Mesh:
Year: 2017 PMID: 28792481 PMCID: PMC5579846 DOI: 10.3390/s17081838
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Graphical illustration of the selected axes of the heuristic orientation-invariant transformation (OIT). The geometric features of three sequential measurements in 3-D space are shown. The first- and second-order difference sequences, the angles between successive measurement vectors, and the angles between successive difference vectors are shown in (a); The rotation axes and the angles between them are illustrated in (b).
Figure 2Concatenation of the sequences of different sensor types. (a) Accelerometer, gyroscope, and magnetometer sequences are concatenated along the time-sample dimension to obtain a joint transformation; and (b) the three sequences are normalized to have unit variance (over the whole dataset) before applying SVD-based OIT.
Figure 3The original, randomly rotated and orientation-invariant sensor sequences. (a) Original and (b) randomly rotated accelerometer sequences while performing A in dataset A. Orientation-invariant sequences transformed by the (c) heuristic and (d) SVD-based OIT.
Attributes of the five datasets.
| Dataset | A [ | B [ | C [ | D [ | E [ |
|---|---|---|---|---|---|
| no. of subjects | 8 | 4 | 30 | 14 | 15 |
| no. of activities | 19 | 5 | 6 | 12 | 7 |
| activities | sitting (A | sitting down (B | walking (C | walking (D | working at a computer (E |
| no. of non-stationary | 15 | 3 | 3 | 9 | 4 |
| activities | A | B | C | D | E |
| no. of units | 5 | 4 | 1 | 1 | 1 |
| no. of axes per unit | 9 | 3 | 6 | 6 | 3 |
| unit positions | torso | waist | waist | front right hip | chest |
| right and left arm | left thigh | ||||
| right and left leg | right ankle | ||||
| right upper arm | |||||
| accelerometer | accelerometer | accelerometer | accelerometer | accelerometer | |
| sensor types | gyroscope | gyroscope | gyroscope | ||
| magnetometer | (of smartphone) | ||||
| dataset duration (h) | 13 | 8 | 7 | 7 | 10 |
| sampling rate (Hz) | 25 | 8 | 50 | 100 | 52 |
| no. of segments | 9120 | 4130 | 10,299 | 5353 | 7345 |
| (50% overlap) | |||||
| segment length (s) | 5 | 5 | 2.56 | 5 | 5 |
| no. of features | |||||
| (for the reference case, | 1170 | 276 | 234 | 156 | 78 |
| with no transformation) |
Figure 4(a–e) Sensor configurations in datasets A–E. The body drawing in the figure is from http://www.clker.com/clipart-male-figure-outline.html onto which sensor units were added by the authors.
Figure 5Activity recognition paradigm.
Figure 6The first 50 eigenvalues of the covariance matrix in descending order for the features extracted from the data transformed according to the five cases.
Figure 7Accuracies shown as bars or horizontal lines for all the cases, datasets, classifiers, and cross-validation techniques. The vertical sticks indicate plus/minus two standard deviations around the mean over the cross-validation iterations.
Runtimes of the three OIT techniques (in sec) for datasets A–E.
| Method | Dataset | ||||
|---|---|---|---|---|---|
| A | B | C | D | E | |
| Euclidean norm | 6.597 | 2.338 | 5.515 | 4.123 | 3.513 |
| proposed method 1: heuristic OIT (3 elements) | 28.928 | 2.226 | 6.574 | 5.954 | 2.763 |
| proposed method 1: heuristic OIT (6 elements) | 191.406 | 10.096 | 44.059 | 49.240 | 21.005 |
| proposed method 1: heuristic OIT (9 elements) | 369.243 | 17.503 | 84.239 | 91.445 | 38.670 |
| proposed method 2: SVD-based OIT | 70.034 | 4.122 | 20.434 | 59.737 | 8.325 |
Total runtime (training and classification of all test feature vectors), average training time per single cross-validation iteration, and average classification time per feature vector for dataset A.
| Reference | Euclidean Norm | Random Rotation | Proposed Method 1 | Proposed Method 2 | Reference | Euclidean Norm | Random Rotation | Proposed Method 1 | Proposed Method 2 | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BDM | 1.312 | 1.617 | 1.303 | 1.292 | 1.309 | 1.628 | 1.612 | 1.688 | 2.588 | 2.384 | |
| 0.149 | 0.156 | 0.157 | 0.155 | 0.153 | 0.175 | 0.172 | 0.185 | 0.424 | 0.259 | ||
| SVM | 13.238 | 36.050 | 12.230 | 30.504 | 13.645 | 12.074 | 28.420 | 11.700 | 34.525 | 17.495 | |
| ANN | 8.754 | 12.796 | 13.850 | 14.482 | 10.118 | 7.992 | 9.326 | 9.131 | 11.353 | 9.326 | |
| BDM | 0.009 | 0.010 | 0.008 | 0.009 | 0.009 | 0.009 | 0.009 | 0.009 | 0.014 | 0.013 | |
| 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | ||
| SVM | 12.839 | 30.186 | 11.681 | 29.891 | 13.219 | 11.636 | 27.521 | 11.056 | 33.580 | 16.811 | |
| ANN | 8.561 | 12.773 | 13.826 | 14.448 | 10.095 | 7.966 | 9.299 | 9.104 | 11.313 | 9.299 | |
| BDM | 1.424 | 1.757 | 1.416 | 1.403 | 1.421 | 1.417 | 1.404 | 1.469 | 2.253 | 2.075 | |
| 0.159 | 0.166 | 0.168 | 0.166 | 0.163 | 0.150 | 0.147 | 0.159 | 0.367 | 0.222 | ||
| SVM | 0.307 | 0.722 | 0.478 | 0.522 | 0.342 | 0.285 | 0.690 | 0.463 | 0.659 | 0.451 | |
| ANN | 0.019 | 0.018 | 0.020 | 0.026 | 0.017 | 0.017 | 0.017 | 0.017 | 0.025 | 0.018 | |