Next Article in Journal
A Novel Wind Speed Estimation Based on the Integration of an Artificial Neural Network and a Particle Filter Using BeiDou GEO Reflectometry
Next Article in Special Issue
A Robust and Adaptive Complementary Kalman Filter Based on Mahalanobis Distance for Ultra Wideband/Inertial Measurement Unit Fusion Positioning
Previous Article in Journal
Widely Linear Adaptive Instantaneous Frequency Estimation in Vector Hydrophones
Previous Article in Special Issue
Elephant Herding Optimization for Energy-Based Localization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Smartphone Heading Correction Based on Gravity Assisted and Middle Time Simulated-Zero Velocity Update Method

1
Navigation Research Center (NRC), Nanjing University of Aeronautics and Astronautics (NUAA), Nanjing 210016, China
2
State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing, Wuhan University, Wuhan 430079, China
*
Author to whom correspondence should be addressed.
Submission received: 20 August 2018 / Revised: 2 October 2018 / Accepted: 3 October 2018 / Published: 7 October 2018
(This article belongs to the Collection Positioning and Navigation)

Abstract

:
Electronic appliances and ferromagnetic materials can be easily found in any building in urban environment. A steady magnetic environment and a pure value of geomagnetic field for calculating the heading of the smartphone in case of pedestrian walking indoors is hard to obtain. Therefore, an independent inertial heading correction algorithm without involving magnetic field but only making full use of the embedded Micro-Electro-Mechanical System (MEMS) Inertial measurement unit (IMU) device in the smartphone is presented in this paper. Aiming at the strict navigation requirements of pedestrian smartphone positioning, the algorithm focused in this paper consists of Gravity Assisted (GA) and Middle Time Simulated-Zero Velocity Update (MTS-ZUPT) methods. With the help of GA method, the different using-mode of the smartphone can be judged based on the data from the gravity sensor of smartphone. Since there is no zero-velocity status for handheld smartphone, the MTS-ZUPT algorithm is proposed based on the idea of Zero Velocity Update (ZUPT) algorithm. A Kalman Filtering algorithm is used to restrain the heading divergence at the middle moment of two steps. The walking experimental results indicate that the MTS-ZUPT algorithm can effectively restrain the heading error diffusion without the assistance of geomagnetic heading. When the MTS-ZUPT method was integrated with GA method, the smartphone navigation system can autonomously judge the using-mode and compensate the heading errors. The pedestrian positioning accuracy is significantly improved and the walking error is only 1.4% to 2.0% of the walking distance in using-mode experiments of the smartphone.

Graphical Abstract

1. Introduction

Location Based Service (LBS), also known as mobile location information service, is a widely used service which can determine the actual geographical location of users and provide users with the location-related information at any time in order to meet the requirements of different users [1,2]. With the continuous development of smartphone technology, smartphone-based pedestrian navigation has become an important emerging branch in the field of pedestrian navigation, and it has broad prospects for kinds of applications [3]. For instance, smartphone can be utilized to determine and monitor the location and movement of pedestrian. In the event of an unexpected disaster, the positioning information provided by the smartphone can greatly improve the rescue efficiency of government. Smartphone navigation can also be applied to ensure the safety of pedestrian activities. Aim at this research trend in the field of navigation, universities and research institutes around the world have conducted multitudinous researches in LBS. In 2017, the National Institute of Standards and Technology (NIST) of the U.S. Department of Commerce, held a Grand Prix called “PerfLoc”, to encourage participants to develop better algorithms for indoor location and tracking.
At present, the pedestrian positioning and navigation methods in urban environment mainly focus on satellite navigation and its integrated navigations, such as GNSS (Global Navigation Satellite System) and INS (Inertial Navigation System) integrated system. When pedestrian is in an outdoor environment, satellite navigation is the most important tool, and the research on satellite navigation in recent years has also achieved an appreciable performance [4]. However, modern lifestyle makes it possible for pedestrians to study, work, play in an indoor environment for almost the entire day. As for indoor environments, navigation research mainly focuses on two kinds of methods. The first one is the radio frequency devices, such as UWB (Ultra-Wideband), ZigBee, wireless networks, Wi-Fi, Bluetooth. Another one is the inertial sensors or IMU, which are mounted on human leg, waist, shoulder or other parts [5]. Inertial navigation results can be achieved with the help of ZUPT and Pedestrian Dead Reckoning (PDR) algorithms [6]. The two kinds of navigation methods mentioned above have both merits and demerits. The first navigation method needs to deploy radio frequency devices as beacons before commencing navigation, which increases the costs of the system. While inertial navigation algorithm, such as PDR algorithm, is an autonomous navigation without contacting the external environment, has become the primary part of pedestrian navigation system. However, inertial navigation algorithm still has some disadvantages, the most important research content for INS is to slow down its divergence speed. If we use the PDR algorithm only, it is very difficult to obtain the absolute position, due to the limitations of the PDR algorithm. Additional navigation equipment or information are needed to amend INS results. And recently, the integrated navigation methods, such as INS/UWB, INS/WIFI and INS/Bluetooth [7,8,9], have been widely used. For instance, Diaz proposed a method based on the angle measurement to discriminate the step, attitude, and step-length to optimize pedestrian inertial navigation results [10]. Zam used magnetometers, gyroscopes and accelerometers in conjunction with Extended Kalman Filtering (EKF) to obtain more accurate heading information for the PDR algorithm [11]. These integrated navigation algorithms show good navigation results, but still require extra navigation information. Once users are in an unfamiliar building without any radio frequency equipment installed, the effect of these integrated algorithms will be greatly reduced.
As a portable communication device, smartphone has been studied and improved in recent years. Lots of sensors have been integrated inside the smartphone, including accelerometer, gravimeter, gyroscope, magnetometer, and so on. The smartphone has become a great platform to study pedestrian navigation. Zeng and his team designed and implemented a seamless indoor and outdoor navigation system based on a smartphone [12]. Broyles presented a real-time, self-contained outdoor navigation application, only used the existing sensors on a smartphone in conjunction with a preloaded digital elevation map [13]. Li proposed an algorithm for navigation with smartphone sensors and magnetic matching in Non-WiFi indoor environment [14]. In the inertial navigation research based on the smartphone, Valerie designed a hybridization filter to calibrate the PDR step-length [15]. Kang put forward and realized a smartphone-based algorithm SmartPDR navigation system, which can be used in the smartphone with its PDR navigation solution [16].
When the PDR algorithm is used for smartphone navigation by a pedestrian indoors, it is very hard to keep smartphone stable. At this time, the using-mode of smartphone, or the smartphone’s handheld posture must be paid a particular attention. Generally, pedestrian has to keep the smartphone fixed relative to his body in order to reduce different using-mode errors on pedestrian navigation while walking indoors. But in the daily life, it is hard for user to hold the smartphone with one fixed posture, and the indoor complex magnetic environment makes it impossible to correct the heading angle directly with magnetic field. Therefore, in this paper, an algorithm which does not depend on the environment of a magnetic field has been proposed. This algorithm based on the smartphone’s self-contained MEMS inertial sensors, can discriminate the smartphone’s using-mode and handheld posture by analyzing the output of MEMS sensors, and it can compensate the heading error caused by three different using-modes.

2. Principle of Pedestrian Dead Reckoning

The PDR algorithm is a continuous and real-time positioning method based on step characteristics of pedestrian, which can achieve better navigation accuracy with low cost devices. The features of PDR algorithm, such as complete autonomy and flexibility, make it popular in the pedestrian navigation field. PDR algorithm is comprised of three important parts [17,18]:
  • (1) Step Detection;
  • (2) Step Length Estimation;
  • (3) Heading Estimation.
Figure 1 is a simple schematic diagram of the PDR algorithm.
In this Figure, N and E represent the North and East directions respectively. ( E i , N i ) is the pedestrian positioning coordinate. θ i represents the angle between pedestrian forward direction and North direction.
  E k = E 0 + i = 0 k 1 S i sin θ i   N k = N 0 + i = 0 k 1 S i cos θ i  
In this formula, E 0 and N 0 are the initial east and north coordinates in the northeast coordinate system. E k and N k are the east and north coordinates of step k. θ i is the angle between pedestrian forward direction and the North direction of step i.

3. Heading Correction Algorithm Based on Middle Time Simulated-Zero Velocity Update

The accuracy of the PDR algorithm is greatly influenced by the sensor. The low-cost gyroscope and accelerometer make it impossible to get high precision positioning results. ZUPT, a simple but reliable method of inertial navigation error compensation, can purposefully reduce the error accumulation in inertial navigation system and significantly boost the positioning accuracy of inertial navigation [19], so it has been widely used in pedestrian navigation to lessen the heading divergence caused by low-precision sensor’s drift. The most important part of the ZUPT algorithm is the detection of stationary state, then the outputs of the sensors at this stationary state are put into Kalman Filter (KF) as the system errors. After the filtering process, the optimal estimation result is used to correct the system errors [20].
Because the zero-velocity status can be distinguished by the output of accelerometer and gyroscope when foot is touching ground, the inertial sensors are normally fixed to the foot of the experimenter while using ZUPT as heading compensation in an integrated navigation algorithm. However, in this paper, we use the smartphone to collect the experiment data. Considering the shape, size as well as the using methods of smartphone, the smartphone is held in hands during the experiments, instead of foot mounted. At this time, the smartphone cannot detect the real zero-velocity status, which makes it impossible to use the traditional ZUPT algorithm. In this paper, we propose a Simulated-Zero Velocity Update(S-ZUPT) algorithm to improve the navigation process.
First, a step-detecting algorithm is designed. The signal output from the three-axis accelerometer is pre-processed as follows:
  a = a x 2 + a y 2 + a z 2 2  
where a x , a y and a z are the 3D acceleration information of the smartphone, a represents the sum of the three-axis acceleration information. Commonly, there are three methods to detect steps, Peak Detection, Average Interval Detection and Zero-Crossing Detection [21]. In order to reduce the computational complexity, we choose Peak Detection as step-detecting method.
Due to the low-cost sensor and walking swing, the peak points of the true pace are affected by noise. To detect the real steps, two constraints are added to develop the accuracy of step detection:
  • (1) The acceleration peak must be greater than a certain threshold to avoid false peak caused by other vibrations;
  • (2) The time interval T between two consecutive peaks must be limited in the thresholds, which is helpful to remove the multi-peak effect.
Considering the above two constraints in mathematical form, we have
  { a > A t m i n < T < t m a x  
where A is the acceleration peak threshold, t m i n and t m a x represent the minimum and maximum value of the time intervals. Considering the walking frequency of pedestrians is generally between 2 Hz and 4 Hz, we set t m a x = 0.5   s and   t m i n = 0.25   s .
Several experiments have been conducted to validate the algorithm, and the results are shown in Table 1. From the Table 1, we can see that in all of the four experimental results, the step number is only one or two steps less than the actual number. The accuracy of single experiment can reach more than 98.3% and the average accuracy is 99.2%.
In the Figure 2, the red triangle shows the detected peak point. From it we can judge that the value of each step peak point is different, but the sampling interval between steps is similar. The low accuracy of the smartphone sensor makes the different peak values, while the stable pedestrian walking law makes the sampling interval of steps to remain consistent.
Since there is no traditional zero-velocity status for handheld smartphone navigation, choosing a right method for KF is very important. A typical step cycle is shown in Figure 3. S1 between the right foot heel landing at T1 and the left foot heel landing at T2 is a complete step cycle. T1 and T2 are defined as step time. The process s2 between t1 and t2 represents the period when pedestrian lifts one foot in the air. In the study of pedestrian’s walking status, we found that the turning and heading changes of the pedestrian happen in s2 part. According to Newtonian Mechanics, another force is required to change the motion of an object while moving. In s2 process, the right foot supports the human body to change his heading. During this time, the heading change of smartphone is consistent with that of the human body. At same time, a Simulated-Zero Velocity Update (S-ZUPT) status, similar as the traditional ZUPT status, was found within s2.
According to the Step Cycle, two kinds of S-ZUPT algorithms are proposed to realize in this paper. If the KF algorithm is applied at the middle of the two detected steps, we call it Middle Time Simulated-Zero Velocity Update (MTS-ZUPT). Corresponding to the MTS-ZUPT, using KF algorithm at step time is called Step Time Simulated-Zero Velocity Update (STS-ZUPT). We define T 1 + T 2 2 as Middle-time, and start filtering at the Middle-time instead of step time. The characteristics of human motion were used to construct observation model. The system and measurement formulas of the filtering system are set as following:
  { X ˙ ( t ) = F ( t ) X ( t ) + G ( t ) w ( t ) Z ( t ) = H ( t ) X ( t ) + v ( t )  
In Formula (4), F(t) is the system state matrix, H(t) is the system observation matrix, G(t) is the system noise matrix, w(t) is the system noise, and v(t) is the observed noise. After discretization solution, we can get the system discrete state estimation equation and system observation equation at time k + 1.
  X ^ k + 1 =   F k X ^ k +   G k W k  
where F k = [ I 0 3 × 3 0 3 × 3 t × I ] is the transfer matrix, I is a third-order unit matrix, and t is sampling time. G k is system noise matrix, and W k is the system noise.
The state quantity of the Kalman filter X ^ k consists of six parameters in the ENU (East, North and Up, ENU) coordinate system:
  X ^ k =   [ y k   θ k   φ k   ω x k   ω y k   ω z k   ] T  
where k is one of the Middle-time. And   y k , θ k , φ k , ω x k , ω y k , ω z k are the roll, pitch and heading angle and the angular velocity values of the three axes of gyroscope at that moment.
The horizontal attitude angle and heading angle, which are obtained by the pedestrian dead reckoning system, and the real-time gyro output angular velocity value are taken as the observation of the system. The observation equation at k + 1 moment can be obtained as follows:
  Z k + 1 =   H X ^ k + B u k + 1  
where H =   [ I 0 3 × 3 0 3 × 3 0 3 × 3 ] and B = [ t × I I ] , u k + 1 is the real time angular velocity of gyroscopes, the γ , θ and φ are pitch, roll and heading angles separately, which can be derived from the pedestrian dead reckoning system.
Limited by the characteristics of pedestrian walking, the heading angle output period is non-uniform. Based on the analysis of the periodic characteristics of the pedestrian’s steps, the time-varying discrete heading angle output period is selected:
  { T D = t o l d t o l d t = t  
In the iterative relationship of the above formula, T D is the heading angle output period, o l d t is the previous heading angle output time point, which is the last Middle-time; t is the current Middle-time.
The information of attitude angle and angular velocity information calculated by the MTS-ZUPT algorithm are the optimal estimation values for each Middle-time.

4. Gravity Assisted Method

In the normal routine, we have various using-modes to carry the smartphone, such as answering the phone call, surfing the web, or even rotating the phone to landscape mode, as shown in the Figure 4. Each mode has its special posture. For the convenience of description, we use Mode 1, Mode 2 and Mode 3 to denote the normal mode, landscape mode, and call mode, respectively.
When one using-mode switches to another using-mode in Figure 4, there will be large attitude changes. The value of acceleration and angular rate during the process of attitude changing will be detected and recorded by the smartphone sensors, which will mislead the traditional PDR navigation system, and the heading of pedestrian will be changed to a wrong value. In this paper, after analyzing the using-modes of smartphone and the corresponding sensors output, a Gravity Assisted (GA) algorithm is proposed to compensate the heading of pedestrian navigation.
The GA algorithm is divided into two parts, the attitude discrimination method and the heading compensation process. The gravity data detected by gravimeter of smartphone has the following features:
  g = g x   +   g y +   g z  
where g means earth gravity vector, g x   ,   g y ,   g z are the gravitational acceleration vector components of x, y, and z axes of the smartphone. If the three-axis gravimeter data are projected into a three-dimensional coordinate system, a sphere can be realized, and a spherical point cloud can be seen in Figure 5. In this Figure, each point represents the data of a sampling point. And the radius of the sphere is the local gravitational acceleration value. In addition, area I, II, III represent the gravity data projection of Mode 1, Mode 2 and Mode 3 respectively. From Figure 5, we can find that the gravitational output data in different mode is projected in different areas, which means that the using-mode of the smartphone can be distinguished, by calculating the azimuth and elevation angle with the gravimeter data.
Formula (10) shows how to calculate the azimuth and elevation angles by gravity data. g x ,   g y ,   g z are three output of axis gravimeters, and α ,   β are azimuth and elevation angles.
  { α = arctan ( g y g x ) β = arccos ( g z g x 2 + g y 2 + g z 2 )  
To make the calculation more convenient, all of the experiments in this paper are using smartphone by right hand. If the experimenter uses his left hand, due to the symmetry of the coordinate axes, the region can be calculated and defined easily. Considering the different using-modes of smartphone, each of the three modes has its own threshold, as shown in Formula (11). J is flag number. 1 for Mode 1, 2 for Mode 2 and 3 for Mode 3. The thresholds in Formula (11) are statistical values, which are obtained by averaging the data of multiple experiments.
  { J = 1 70 ° < α < 108 ° ,   14 ° < β < 59 ° J = 2 12 ° < α < 24 ° ,   14 ° < β < 59 ° J = 3 108 ° < α < 132 ° ,   78 ° < β < 100 °
Based on the study of the relationship between three using-modes and the data of the smartphone, a new method to compensate the heading is proposed in this paper. The general process of this method is shown in Figure 6. A specific process has been divided into the four steps as mentioned below.
  • (1) Collecting the sensors’ data, and judging step moment to find out the Middle-time;
  • (2) Monitoring the change-value of the heading between two adjacent Middle-time;
  • (3) According to the change-value, to check the smartphone using-mode change;
  • (4) If there is using-mode change, compensate the heading value.

5. Experiment and Analysis

In order to validate the mode discrimination method and heading compensation algorithm proposed in this paper, the researchers conducted the indoor walking experiments in the buildings of College of Automation Engineering (CAE) of NUAA, shown as in Figure 7. The data sampling frequency of the sensors is 50 Hz.

5.1. Accuracy Analysis of Smartphone Sensors

Allan variance method is often used to analyze the error components of accelerometers and gyroscopes. Before the experiments, the consumer-grade MEMS sensors in a smartphone (ONEPLUS A3000) are analyzed with Allan variance method. The variance can be expressed as the sum of the squares of the variances of the five noise sources:
  σ 2 ( τ ) = 3 Q 2 τ 2 + N 2 τ + ( 0.664 B ) 2 + K 2 τ 3 + R 2 τ 2 2  
In Formula (12), N, K, R, B and Q are Angle Random Walk (ARW), Rate Random Walk (RRW), Rate Ramp (RR), Bias Instability (BI), and Quantization Noise (QN), respectively. We calculate the ARW and BI to demonstrate the accuracy of smartphone sensors. The results of ARW and BI analysis are shown in Table 2 and Table 3. From the Table 2 and Table 3 we can see that the accuracy of the gyroscopes and accelerometers in the smartphone is very poor, and the body shaking will have a considerable impact on the heading of the smartphone navigation system.

5.2. Experiment Comparison of Step-Time and Middle-Time

In order to verify the algorithms mentioned in Section 3, two different experiments have been performed. The first one is walking straight for 52 m, and the second one is walking around the corridor of the CAE, a closed rectangle, about 41 m × 52 m. Since we did not use magnetic heading in this paper, we set the initial heading as 0 degree. In the straight walking experiment, the result is also the error angle relative to the actual heading. For the rectangular walking experiment, each turn angle is 90 degrees.
In this section, three algorithms have been applied to examine the results by using the same experiment data. They are traditional PDR algorithm, STS-ZUPT algorithm, and MTS-ZUPT algorithm.
In the Figure 8 and Figure 9, the green line is the actual walking reference, the yellow line is the STS-ZUPT result, the red dotted line is the MTS-ZUPT result, while the blue lower triangle is the traditional PDR result.
From above four Figures, we can see that the S-ZUPT algorithm has the ability to restrain the heading error divergence for STS-ZUPT and MTS-ZUPT, and MTS-ZUPT has better performance.
In Figure 8b, the final positioning point of MTS-ZUPT is (1.369, 51.73), the final positioning point of STS-ZUPT is (2.512, 51.72), while the final positioning point of traditional PDR is (4.816, 51.51). positioning accuracy of MTS-ZUPT is 44.8% better than that of STS-ZUPT, and 71.2% better than that of traditional PDR algorithm.
And in the Figure 9b, the final positioning point of MTS-ZUPT, STS-ZUPT and traditional PDR are (0.030, 1.341), (2.347, −4.224), (−4.97, 11), respectively. The positioning accuracy of MTS-ZUPT is 72.2% better than that of STS-ZUPT, and 88.8% better than that of traditional PDR. We can see that the result of MTS-ZUPT is much closer to the actual walking route. At the turning points, MTS-ZUPT still gives a result close to 90 degrees. MTS-ZUPT algorithm can reduce the walking error, which is only about 0.72% of whole walking distance.
The above results show that the MTS-ZUPT algorithm proposed in this paper can improve the heading accuracy and restrain the error divergence with only MEMS IMU information.

5.3. Experiment of GA and MTS-ZUPT

In this section, the experiment has been carried out in the corridor of CAE. The walking route is similar as former experiment route, a closed rectangular. The three using-modes mentioned in Figure 4 are demonstrated when walking, and the using-mode changing order is: from mode 1 to mode 3, then to mode 2, and back to mode 1. The traditional PDR algorithm, PDR/GA algorithm, MTS-ZUPT algorithm and the MTS-ZUPT/ GA algorithm are applied to deal with the collected data. Figure 10 shows the using-mode judgement result of smartphone by GA algorithm. The red point-dotted lines represent the moment when the using-mode changes. From Figure 10, we can see that three using-modes are distinguished successfully with 100% accuracy.
The walking track results are shown in Figure 11. The green solid line represents the actual walking trajectory; the blue lower triangle and the red upper triangle represent the PDR algorithm and the MTS-ZUPT algorithm results. The blue dotted line represents PDR/GA algorithm result, the red dotted line represents MTS-ZUPT/GA algorithm result.
Figure 12 shows the heading value curves of the four algorithms. Among them, the gray solid lines represent the turning moment of the experimenter during walking, and the red point-dotted lines are the using-mode changing moments. It can be clearly seen from Figure 12 that the GA algorithm does not affect the change of heading when the pedestrian normal walks and turns. However, once the using-mode has been changed, the algorithms without GA will output the wrong heading angles. With the help of GA algorithm, the navigation system can compensate the heading angle by judging the using-mode. Moreover, the heading result obtained by the MTS-ZUPT/GA algorithm is better than the heading result of the traditional PDR/GA algorithm.
It can be seen from Figure 11 and Figure 12 that the solution result without GA has a large deviation in the walking trajectory after the first using-mode change. After three times of the using-mode changes, the walking trajectory has completely deviated from the actual walking route. For two algorithms aided by GA algorithm, the walking trajectory is very close to the actual route. We can see that the GA algorithm proposed in this paper can effectively judge the using-mode change of the smartphone, and can compensate the corresponding heading values. The final positioning point of the MTS-ZUPT/GA algorithm is (−2.747, 0.1757), and its distance error is 2.75 m, which is 1.39% for the walking distance of 198 m. Compared with the PDR/GA algorithm result (−13.03, 13.16), the accuracy of the final positioning result has been increased by 80%. From Figure 11 and Figure 12, we can see that the MTS-ZUPT/GA designed in this paper can considerably improve the navigation accuracy and restrain the error divergence of inertial navigation.
To verify the MTS-ZUPT/GA algorithm, we completed another experiment with another smartphone (MI MIX2) on one of the playgrounds in NUAA. In this outdoor environment, the positioning information from a DGPS (Differential Global Positioning System) device with centimeter-level positioning accuracy has been used as a reference. The preparatory work of the playground experiment can be found in Figure 13. The DGPS device has been connected to the Surface tablet PC as shown in Figure 13a. The experiment performer is holding the smartphone in his right hand, and carrying the DGPS and Surface tablet PC in his backpack, as shown in Figure 13b.
The experiment result is shown in Figure 14. The green line is the positioning trajectory of DGPS. During the whole experiment, there are three using-mode changes, the first moment using-mode change point is marked in the Figure 14. We can find that this experiment result is very similar to the result in the corridor of CAE. Overall, the differences between the result of MTS-ZUPT/GA algorithm and the positioning trajectory of DGPS is minimal. In this situation, both the start and end points are (0, 0). The final end point of MTS-ZUPT/GA algorithm is (4.70, 6.92), the error is 2.0% for the walking distance of 400 m. The final end point of PDR/GA algorithm is (26.44, −12.2). The experimental results show the superiority of the MTS-ZUPT/GA algorithm compared to the other algorithms.

6. Conclusions

To avoid the heading interference caused by the magnetic disturbance, an autonomous inertial heading correction algorithm without magnetic field was put forward. From the results of MTS-ZUPT and STS-ZUPT, we can see that the MTS-ZUPT algorithm is most effective for improving the PDR performance, and it is more effective than STS-ZUPT algorithm in restraining error divergence. From the results of MTS-ZUPT/GA and STS-ZUPT/GA algorithm, it can be seen that the GA algorithm can realize the using-mode judgment of the smartphone and compensate the heading error.
The experimental results indicate that the MTS-ZUPT/GA algorithm proposed in this paper has a positioning error of 1.4% to 2.0% of the walking distance in different using-mode experiments. It can effectively reduce the using-mode error, restrain the heading divergence, enhance the navigation performance of smartphone.

Author Contributions

Q.Z. and S.Z. proposed the original idea and wrote this paper; Q.M. and H.H. performed the experiments, analyzed the data; J.L. and R.C. participated in design of the experimental demonstration, revised the paper and gave some valuable suggestions.

Funding

This research was funded by the National Natural Science Foundation of China (Grant No. 61533008, 61374115, 61603181), Open Research Fund of State Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing, Wuhan University (Grant No. 17P02), the Fundamental Research Funds for the Central Universities (No. NS2018021, No. NJ20170005 & No. NJ20170010) & the Priority Academic Program Development of Jiangsu Higher Education Institutions.

Acknowledgments

ADEEL MUHAMMAD has contributed regarding the English format.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Liu, C. Research and Development Status of LBS Positioning Technology. J. Navig. Position. 2013, 1, 78–83. [Google Scholar]
  2. Mokbel, M.F.; Levandoski, J.J. Toward context and preference-aware location-based services. In Proceedings of the Eighth ACM International Workshop on Data Engineering for Wireless and Mobile access, Providence, RI, USA, 29 June 2009; pp. 25–32. [Google Scholar]
  3. Chen, R.; Guinness, R. Geospatial Computing in Mobile Devices; Artech House: Norwood, MA, USA, 2014. [Google Scholar]
  4. Meng, Q.; Liu, J.; Zeng, Q.; Feng, S.; Chen, R. Neumann-Hoffman Code Evasion and Stripping Method for BeiDou Software-defined Receiver. J. Navig. 2017, 70, 101–119. [Google Scholar] [CrossRef]
  5. Qian, W.; Zeng, Q.; Wan, J.; Xiong, Z. Pedestrian navigation method based on kinematic mechanism of human lower limb. J. Chin. Inert. Technol. 2015, 23, 24–28. [Google Scholar]
  6. Kuang, J.; Niu, X.; Chen, X. Robust Pedestrian Dead Reckoning Based on MEMS-IMU for Smartphones. Sensors 2018, 18, 1391. [Google Scholar] [CrossRef] [PubMed]
  7. Fan, Q.; Sun, B.; Sun, Y. Performance Enhancement of MEMS-Based INS/UWB Integration for Indoor Navigation Applications. IEEE Sens. J. 2017, 17, 3116–3130. [Google Scholar] [CrossRef]
  8. Chen, J.; Ou, G.; Peng, A.; Zheng, L.; Shi, J. An INS/WiFi Indoor Localization System Based on the Weighted Least Squares. Sensors 2018, 18, 1458. [Google Scholar] [CrossRef] [PubMed]
  9. Wu, X.; Shen, R.; Fu, L.; Tian, X.; Liu, P.; Wang, X. Ibill: Using ibeacon and inertial sensors for accurate indoor localization in large open areas. IEEE Access 2017, 5, 14589–14599. [Google Scholar] [CrossRef]
  10. Diaz, E.M. Inertial Pocket Navigation System: Unaided 3D Positioning. Sensors 2015, 15, 9156–9178. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  11. Zampella, F.; Khider, M.; Robertson, P.; Jiménez, A. Unscented Kalman filter and Magnetic Angular Rate Update (MARU) for an improved Pedestrian Dead-Reckoning. In Proceedings of the IEEE Position Location and Navigation Symposium, Myrtle Beach, SC, USA, 23–26 April 2012; pp. 129–139. [Google Scholar]
  12. Zeng, Q.; Wang, J.; Meng, Q.; Zhang, X.; Zeng, S. Seamless Pedestrian Navigation Methodology Optimized for Indoor/Outdoor Detection. IEEE Sens. J. 2017, 18, 363–374. [Google Scholar] [CrossRef]
  13. Broyles, D.; Kauffman, K.; Raquet, J.; Smagowski, P. Non-GNSS Smartphone Pedestrian Navigation Using Barometric Elevation and Digital Map-Matching. Sensors 2018, 18, 2232. [Google Scholar] [CrossRef] [PubMed]
  14. Li, Y.; Zhuang, Y.; Lan, H.; Zhang, P.; Niu, X.; I-Sheimy, N.E. Self-Contained Indoor Pedestrian Navigation Using Smartphone Sensors and Magnetic Features. IEEE Sens. J. 2016, 16, 7173–7182. [Google Scholar] [CrossRef]
  15. Valerie, R.; Vincent, D.; Miguel, O. Adaptative pedestrian displacement estimation with a smartphone. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation, Montbeliard-Belfort, France, 28–31 October 2013; pp. 1–9. [Google Scholar]
  16. Wonho, K.; Han, Y. SmartPDR: Smartphone-Based Pedestrian Dead Reckoning for Indoor Localization. IEEE Sens. J. 2015, 15, 2906–2916. [Google Scholar]
  17. Lan, H.; Yu, C.; El-Sheimy, N. An Integrated PDR/GNSS Pedestrian Navigation System. In Lecture Notes in Electrical Engineering, China Satellite Navigation Conference (CSNC) 2015 Proceedings: Volume III; Springer: Berlin/Heidelberg, Germany, 2015; Volume 342, pp. 677–690. [Google Scholar]
  18. Randell, C.; Djiallis, C.; Muller, H. Personal Position Measurement Using Dead Reckoning. In Proceedings of the IEEE International Symposium on Wearable Computers, White Plains, NY, USA, 21–23 October 2003; pp. 166–173. [Google Scholar]
  19. Fischer, C.; Sukumar, P.T.; Hazas, M. Tutorial: Implementing a Pedestrian Tracker Using Inertial Sensors. IEEE Pervasive Comput. 2013, 12, 17–27. [Google Scholar] [CrossRef]
  20. Tang, W.; Li, Z.; Zhang, L.; Cong, D. Research of Pedestrian Navigation Algorithm Based on Zero Velocity Update Aided MIMU. J. Geod. Geodyn. 2016, 36, 548–551. [Google Scholar]
  21. Park, J.; Kim, Y.; Lee, J. Waist mounted pedestrian dead-reckoning system. In Proceedings of the 2012 IEEE 9th International Conference on Ubiquitous Robots and Ambient Intelligence (URAI), Daejeon, South Korea, 26–28 November 2012; pp. 335–336. [Google Scholar]
Figure 1. Simple Schematic Diagram of PDR Algorithm.
Figure 1. Simple Schematic Diagram of PDR Algorithm.
Sensors 18 03349 g001
Figure 2. Experiment Results of Peak Detection Algorithm. (a) Overall Step Detection Results; (b) Step detection result of partial enlargement.
Figure 2. Experiment Results of Peak Detection Algorithm. (a) Overall Step Detection Results; (b) Step detection result of partial enlargement.
Sensors 18 03349 g002
Figure 3. A Typical Step Cycle.
Figure 3. A Typical Step Cycle.
Sensors 18 03349 g003
Figure 4. Three Using-modes of Smartphone. (a) Normal mode as Mode 1; (b) Landscape mode as Mode 2; (c) Call mode as Mode 3.
Figure 4. Three Using-modes of Smartphone. (a) Normal mode as Mode 1; (b) Landscape mode as Mode 2; (c) Call mode as Mode 3.
Sensors 18 03349 g004
Figure 5. Spherical Point Cloud.
Figure 5. Spherical Point Cloud.
Sensors 18 03349 g005
Figure 6. The General Process of GA Algorithm.
Figure 6. The General Process of GA Algorithm.
Sensors 18 03349 g006
Figure 7. The Environment of Walking Experiments. (a) One of the corridors of experiment area; (b) one of the corners of the Experiment area.
Figure 7. The Environment of Walking Experiments. (a) One of the corridors of experiment area; (b) one of the corners of the Experiment area.
Sensors 18 03349 g007
Figure 8. Straight Walking Result Comparison of MTS-ZUPT and STS-ZUPT. (a) Heading result; (b) Route result.
Figure 8. Straight Walking Result Comparison of MTS-ZUPT and STS-ZUPT. (a) Heading result; (b) Route result.
Sensors 18 03349 g008
Figure 9. Rectangular Walking Result Comparison of STS-ZUPT and MTS-ZUPT. (a) Heading result; (b) Route result.
Figure 9. Rectangular Walking Result Comparison of STS-ZUPT and MTS-ZUPT. (a) Heading result; (b) Route result.
Sensors 18 03349 g009
Figure 10. Judgment of Smartphone Using-mode.
Figure 10. Judgment of Smartphone Using-mode.
Sensors 18 03349 g010
Figure 11. Walking Experiments Comparison.
Figure 11. Walking Experiments Comparison.
Sensors 18 03349 g011
Figure 12. Heading Comparison.
Figure 12. Heading Comparison.
Sensors 18 03349 g012
Figure 13. DGPS Device and the Wear Mode of Playground Experiment. (a) The DGPS device and the data storage device (Surface tablet PC); (b) The specific equipment for playground experiment.
Figure 13. DGPS Device and the Wear Mode of Playground Experiment. (a) The DGPS device and the data storage device (Surface tablet PC); (b) The specific equipment for playground experiment.
Sensors 18 03349 g013
Figure 14. Result of Playground Experiment.
Figure 14. Result of Playground Experiment.
Sensors 18 03349 g014
Table 1. Experiment Results of Step Detection.
Table 1. Experiment Results of Step Detection.
No.RealAlgorithmAccuracy
1605998.3%
21009999%
315014898.6%
4200200100%
Table 2. Results of Gyroscope Allan Variance.
Table 2. Results of Gyroscope Allan Variance.
Gyroscope   N ( ° / h 1 / 2 )     B ( ° / h )  
X-axis0.448223.6184
Y-axis0.56559.6157
Z-axis0.423810.2627
Table 3. Results of Accelerometer Allan Variance.
Table 3. Results of Accelerometer Allan Variance.
Accelerometer   N ( m / s 3 / 2 )     B ( m / s 2 )  
X-axis   2.0883 × 10 5   2.53 × 10 4
Y-axis   2.0171 × 10 5   4.33 × 10 4
Z-axis   2.2924 × 10 5   5.68 × 10 4

Share and Cite

MDPI and ACS Style

Zeng, Q.; Zeng, S.; Liu, J.; Meng, Q.; Chen, R.; Huang, H. Smartphone Heading Correction Based on Gravity Assisted and Middle Time Simulated-Zero Velocity Update Method. Sensors 2018, 18, 3349. https://0-doi-org.brum.beds.ac.uk/10.3390/s18103349

AMA Style

Zeng Q, Zeng S, Liu J, Meng Q, Chen R, Huang H. Smartphone Heading Correction Based on Gravity Assisted and Middle Time Simulated-Zero Velocity Update Method. Sensors. 2018; 18(10):3349. https://0-doi-org.brum.beds.ac.uk/10.3390/s18103349

Chicago/Turabian Style

Zeng, Qinghua, Shijie Zeng, Jianye Liu, Qian Meng, Ruizhi Chen, and Heze Huang. 2018. "Smartphone Heading Correction Based on Gravity Assisted and Middle Time Simulated-Zero Velocity Update Method" Sensors 18, no. 10: 3349. https://0-doi-org.brum.beds.ac.uk/10.3390/s18103349

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop