| Literature DB >> 35632145 |
Zihan Song1, Hye-Jin Park2, Ngeemasara Thapa2, Ja-Gyeong Yang2, Kenji Harada3, Sangyoon Lee3, Hiroyuki Shimada3, Hyuntae Park2,3, Byung-Kwon Park1.
Abstract
Current step-count estimation techniques use either an accelerometer or gyroscope sensors to calculate the number of steps. However, because of smartphones unfixed placement and direction, their accuracy is insufficient. It is necessary to consider the impact of the carrying position on the accuracy of the pedometer algorithm, because of people carry their smartphones in various positions. Therefore, this study proposes a carrying-position independent ensemble step-counting algorithm suitable for unconstrained smartphones in different carrying positions. The proposed ensemble algorithm comprises a classification algorithm that identifies the carrying position of the smartphone, and a regression algorithm that considers the identified carrying position and calculates the number of steps. Furthermore, a data acquisition system that collects (i) label data in the form of the number of steps estimated from the Force Sensitive Resistor (FSR) sensors, and (ii) input data in the form of the three-axis acceleration data obtained from the smartphones is also proposed. The obtained data were used to allow the machine learning algorithms to fit the signal features of the different carrying positions. The reliability of the proposed ensemble algorithms, comprising a random forest classifier and a regression model, was comparatively evaluated with a commercial pedometer application. The results indicated that the proposed ensemble algorithm provides higher accuracy, ranging from 98.1% to 98.8%, at self-paced walking speed than the commercial pedometer application, and the machine learning-based ensemble algorithms can effectively and accurately predict step counts under different smart phone carrying positions.Entities:
Keywords: acceleration signal processing; machine learning; pedometer; smartphone; step-count algorithm; wearable position
Mesh:
Year: 2022 PMID: 35632145 PMCID: PMC9144748 DOI: 10.3390/s22103736
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Figure 1(A) The FSR-based pressure data-collection module measures the number of steps by collecting plantar pressure data. The IMU data acquisition module uses an Android API to collect the three-axis acceleration data. After the data are collected, a real-time timestamp is added to align the acceleration data and the pressure data’s time. (B) The FSR-based pressure collection module. (C) The wearing position of the FSR-based pressure collection module.
Figure 2Pressure changes during two gait events at average gait speed (0.8–1.4 m/s).
Figure 3The flow diagram of the threshold-based peak detection algorithm.
Figure 4Effect graph of the threshold-based peak detection algorithm.
Figure 5The sliding window algorithm extracts acceleration data in a specific period (window) for input data and the number of pressure data peaks as the label.
Figure 6Flow diagram of the walking detection and step-counting algorithm in different carrying positions.
Parameters of proposed algorithms.
| Classifiers | Parameters | Regressors | Parameters |
|---|---|---|---|
| Multilayer Perceptron | Hidden layers = 4 | Multilayer Perceptron | Hidden layers = 4 |
| Convolutional Neural Networks | 1D convolutional | Convolutional Neural Networks | 1D convolutional layers = 4 |
| Random Forest | N_estimators = 200 | Random Forest | N_estimators = 500 |
| Histogram-based | Default | Histogram-based | Default |
| Support Vector | Kernal = linear | Support Vector | Kernal = linear |
| K-nearest Neighbors | Default | K-nearest Neighbors | Default |
| Ensemble Model | - | Ensemble Model | - |
Demographic characteristics of the participants.
| No. | Gender | Age (Years) | Weight (kg) | Height (cm) | Steps | Time (Minutes) |
|---|---|---|---|---|---|---|
| 1 | Male | 27 | 49.5 | 170.0 | 2451 | 30 |
| 2 | Male | 26 | 68.3 | 180.0 | 3100 | 30 |
| 3 | Male | 27 | 74.5 | 170.0 | 3122 | 30 |
| 4 | Male | 29 | 84.2 | 177.5 | 2850 | 30 |
| 5 | Female | 26 | 41.3 | 160.0 | 2431 | 30 |
| 6 | Female | 27 | 69.1 | 170.5 | 3025 | 30 |
Figure 7(A) Modelling accuracy of each classifier. (B) Step-count accuracy before and after position identification (Ensemble Model).
Accuracies of step-count algorithms.
| Mean Accuracies (%) | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Carrying Position | Regression Algorithms | Pedometer Application | Average | ||||||
| Random Forest | Convolutional | Histogram-Based | Multilayer Perceptron | Support Vector Machine | K-Nearest Neighbors | Ensemble Model | Rakuraku Smartphone Pedometer | ||
| Handheld | 94.1 | 90.4 | 87.7 | 90.8 | 79.4 | 82.1 | 98.1 | 75.3 | 87.2 |
| 85.0 | 91.3 | 95.8 | 99.3 | 89.8 | 95.7 | 98.6 | 80.8 | 92.0 | |
| Handbag | 89.2 | 89.0 | 86.9 | 91.6 | 77.4 | 83.6 | 98.8 | 81.9 | 87.3 |
| Average | 89.4 | 90.2 | 90.2 | 93.9 | 82.2 | 87.1 | 98.5 | 79.3 | |