| Literature DB >> 35214504 |
Enrico Bassetti1, Alessio Luciani1, Emanuele Panizzi1.
Abstract
Smartphone sensors can collect data in many different contexts. They make it feasible to obtain large amounts of data at little or no cost because most people own mobile phones. In this work, we focus on collecting motion data in the car using a smartphone. Motion sensors, such as accelerometers and gyroscopes, can help obtain information about the vehicle's dynamics. However, the different positioning of the smartphone in the car leads to difficulty interpreting the sensed data due to an unknown orientation, making the collection useless. Thus, we propose an approach to automatically re-orient smartphone data collected in the car to a standardized orientation (i.e., with zero yaw, roll, and pitch angles with respect to the vehicle). We use a combination of a least-square plane approximation and a Machine Learning model to infer the relative orientation angles. Then we populate rotation matrices and perform the data rotation. We trained the model by collecting data using a vehicle physics simulator.Entities:
Keywords: angle parking; context aware; curb; implicit interaction; machine learning; parallel; parking; sensing; smart city; smartphone
Mesh:
Year: 2022 PMID: 35214504 PMCID: PMC8875019 DOI: 10.3390/s22041606
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Smartphone and car axes resulting orientation.
Figure 23D distribution of acceleration points. The least squares plane is drawn in blue (side view)—values are in .
Figure 3Outliers removal from 3D distribution of acceleration points—values are in .
Figure 4Vehicle Physics simulator. In the red box, the data that we collected during the simulation.
Figure 5Random forest structure.
Figure 6Orientation ML model structure.
Table of the feature importances.
| Feature | Importance (0–1) |
|---|---|
| accMeanX | 0.10108176 |
| accMeanY | 0.17573071 |
| accStdX | 0.00604311 |
| accStdY | 0.0041152 |
| accErrX | 0.0 |
| accErrY | 0.0 |
| rotMeanX | 0.11514755 |
| rotMeanY | 0.58944343 |
| rotStdX | 0.00560081 |
| rotStdY | 0.00283743 |
| rotErrX | 0.0 |
| rotErrY | 0.0 |
Table of the ML model results.
| Metric | Value |
|---|---|
| RMSE | 0.34 rad |
| R2 | 0.87 |
| Angle Error | 19° |