Related Experiment Video
Updated: Jan 23, 2026

Smartphone Fundus Photography
Published on: July 6, 2017
Floor Identification Using Magnetic Field Data With Smartphone Sensors
Imran Ashraf1, Soojung Hur2, Muhammad Shafiq3
1Department of Information and Communication Engineering, Yeungnam University, Gyeongsan, Gyeongbuk 38541, South Korea. ashrafimran@live.com.
Abstract:
Floor identification plays a key role in multi-story indoor positioning and localization systems. Current floor identification systems rely primarily on Wi-Fi signals and barometric pressure data. Barometric systems require installation of additional standalone sensors to perform floor identification. Wi-Fi systems, on the other hand, are vulnerable to the dynamic environment and adverse effects of path loss, shadowing, and multipath fading. In this paper, we take advantage of a pervasive magnetic field to compensate for the limitations of these systems. We employ smartphone sensors to make the proposed scheme infrastructure free and cost-effective. We use smartphone magnetic sensors to identify the floors in a multi-story building with improved accuracy. Floor identification is performed with user activities of normal walking, call listening, and phone swinging. Various machine learning techniques are leveraged to identify user activities. Extensive experiments are performed to evaluate the proposed magnetic-data-based floor identification scheme. Additionally, the impact of device heterogeneity on floor identification is investigated using Samsung Galaxy S8, LG G6, and LG G7 smartphones. Research results demonstrate that the magnetic floor identification outperforms barometric and Wi-Fi-enabled floor detection techniques. A floor change module is incorporated to further enhance the accuracy of floor identification.
Related Concept Videos
Magnetic Fields
A magnetic field is defined by the force that a charged particle experiences...
Magnetic Field of a Solenoid
Consider a solenoid with 100 turns wrapped around a cylinder of...
Magnetic Field Lines
Magnetic field lines follow several hard-and-fast rules:
Energy In A Magnetic Field
Take an ideal inductor with zero resistance. Although it's practically impossible, assume that the coil's resistance is so small that it is practically negligible. The loss of the field's energy to dissipate thermal energy (or heat) is thus...
Magnetic Field Of A Current Loop
Magnetic Field due to Moving Charges
Consider a point charge moving with a constant velocity. Like the electric field, the magnetic field at any point is directly proportional to the magnitude of the charge and inversely proportional to the square of the distance between the source point and the field point. However, unlike the electric field, the magnetic field is always perpendicular to the plane containing the line...

