Use of smartphones for determining orientation angles in the field

The purpose of the study is to investigate the feasibility of using smartphones to determine orientation angles in the field, in particular, magnetic azimuths and horizontal angles.  The paper also aims to assess the accuracy of measurements performed using built-in magnetometers and to determine the suitability of such devices for orientation tasks when the use of traditional geodetic instruments is impossible or impractical. Methodology. To achieve this goal, an experiment was conducted involving 12 observers using 11 smartphone models from different manufacturers. Measurements were performed by sighting the smartphone’s digital compass in three consecutive directions, followed by determining horizontal angles as the differences between magnetic azimuths. Reference values of azimuths and angles were obtained using technical theodolites. Results. It was established that the first magnetic-azimuth measurement after compass calibration has the smallest error, typically 1–3°. In subsequent measurements without repeated calibration, the error increased on average by a factor of 2–3. The mean deviations of azimuths for consecutive directions were approximately 1.9°, 5.5°, and 6.9°, and the root-mean-square error (RMSE) of azimuth determination in most cases did not exceed 2°. When measuring horizontal angles, the majority of errors did not exceed 6°, and the RMSE for most smartphones ranged within 3–4°. At the same time, in isolated measurements, significant deviations of up to 13–25° were recorded, caused by  accumulated errors, magnetic interference, and human factors. A significant dependence of measurement accuracy on the smartphone model, sensor quality, data-processing algorithms, and adherence to the calibration procedure was revealed. Scientific novelty lies in a comprehensive analysis of the accuracy of measuring magnetic azimuths and horizontal angles using smartphones under field conditions, accounting for cross-model variability and statistical properties of measurement errors. Practical significance lies in defining the limits of smartphone applicability for orientation tasks, reconnaissance, and navigation, as well as in formulating recommendations to improve measurement accuracy. The obtained results may be used in education, tourism, search-and-rescue, and military field activities, and may also serve as a basis for developing methodological guidelines and mobile applications.

  1. Allmendinger, R. W., Siron, C. R., & Scott, C. P. (2017). Structural data collection with mobile devices: Accuracy, redundancy, and best practices. Journal of Structural Geology, 102, 98–112. https://doi.org/10.1016/j.jsg.2017.07.011
  2. Andreoli, F., Bollanti, S., Di Lazzaro, P., Flora, F., Mezi, L., Murra, D., & Murra, L. (2022). Converting a smartphone into an accurate solar compass. Applied Optics, 61(6), 1398–1402. https://doi.org/10.1364/AO.450501
  3. Blum, J. R., Greencorn, D. G., & Cooperstock, J. R. (2013). Smartphone sensor reliability for augmented reality applications. In Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering (Vol. 120, pp. 127–138). https://doi.org/10.1007/978-3-642-40238-8_11
  4. Dong, Y., Zhao, C., Neasham, J., Yang, J., & Zhou, L. (2022). Magnetic disturbance detection for smartphone-based PDR. IEEE Transactions on Instrumentation and Measurement, 71, Article 9504813. https://doi.org/10.1109/TIM.2022.3144592
  5. Hölzl, M., Neumeier, R., & Ostermayer, G. (2013). Analysis of compass sensor accuracy on several mobile devices in an industrial environment. In Lecture Notes in Computer Science, 8112, 381–389). https://doi.org/10.1007/978-3-642-53862-9_49
  6. Kuhlmann, T., Garaizar, P., & Reips, U.-D. (2021). Smartphone sensor accuracy varies from device to device in mobile research: The case of spatial orientation. Behavior Research Methods, 53(1), 22–33. https://doi.org/10.3758/s13428-020-01404-5
  7. Leiseder, K., Shoushtari, H., Willemsen, T. A., Bagherbandi, M., & Sternberg, H. (2021). UBI-T: Smart surveying instrument using ubiquitous computing concept. In Proceedings of FIG e-Working Week 2021. https://forschungsportal.hcu-hamburg.de/en/publications/ubi-t-smart-surveying-instrument-using-ubiquitous-computing-conce
  8. Nazarahari, M., Noorizadeh Dezfouli, M., & Abu Osman, N. A. (2021). Sensor fusion algorithms for orientation tracking via wearable IMU: A comprehensive review. Information Fusion, 68, 67–91. https://doi.org/10.1016/j.inffus.2020.11.001
  9. Nováková, L., & Pavlis, T. L. (2017). Assessment of the precision of smartphones and tablets for measurement of planar orientations: A case study. Journal of Structural Geology, 97, 93–103. https://doi.org/10.1016/j.jsg.2017.02.015
  10. Ozyagcilar, T. (2013). Calibrating an eCompass in the presence of hard and soft iron effects (AN4246). NXP Semiconductors.
  11. Renaudin, V., Afzal, M. H., & Lachapelle, G. (2010). Complete triaxis magnetometer calibration in the magnetic domain. International Journal of Navigation and Observation, 2010, Article ID 967245. https://doi.org/10.1155/2010/967245
  12. Sampaio, L., Bandeira, A. L., Veiga, L. A. K., Alves, S. S. O., Rodriguez, F. C., & Medeiros, L. (2022). Feasibility of using data from sensors embedded in smartphones to measure angles and distances. Revista Brasileira de Cartografia, 74(4), 695–714. https://doi.org/10.14393/rbcv74n4-65814
  13. Shoushtari, H., & Sadeghi-Niaraki, A. (2014). Ubiquitous total station development using smartphone, RSSI and laser sensor providing service to Ubi-GIS. International Archives of Photogrammetry, Remote Sensing and Spatial Information Sciences, XL-2/W3, 237–242. https://doi.org/10.5194/isprsarchives-XL-2-W3-237-2014