Next Article in Journal
Distributed Particle Filter for Target Tracking: With Reduced Sensor Communications
Next Article in Special Issue
Navigation Aiding by a Hybrid Laser-Camera Motion Estimator for Micro Aerial Vehicles
Previous Article in Journal
RSS-Based Method for Sensor Localization with Unknown Transmit Power and Uncertainty in Path Loss Exponent
Previous Article in Special Issue
Weak and Dynamic GNSS Signal Tracking Strategies for Flight Missions in the Space Service Volume
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Drift Reduction in Pedestrian Navigation System by Exploiting Motion Constraints and Magnetic Field

1
Department of Robotics and Virtual Engineering, University of Science and Technology (UST), Daejon 305-333, Korea
2
Robotics R & BD Group, Korea Institute of Industrial Technology (KITECH), Ansan 426-791, Korea
*
Author to whom correspondence should be addressed.
Sensors 2016, 16(9), 1455; https://doi.org/10.3390/s16091455
Submission received: 4 June 2016 / Revised: 29 August 2016 / Accepted: 5 September 2016 / Published: 9 September 2016
(This article belongs to the Special Issue Inertial Sensors and Systems 2016)

Abstract

:
Pedestrian navigation systems (PNS) using foot-mounted MEMS inertial sensors use zero-velocity updates (ZUPTs) to reduce drift in navigation solutions and estimate inertial sensor errors. However, it is well known that ZUPTs cannot reduce all errors, especially as heading error is not observable. Hence, the position estimates tend to drift and even cyclic ZUPTs are applied in updated steps of the Extended Kalman Filter (EKF). This urges the use of other motion constraints for pedestrian gait and any other valuable heading reduction information that is available. In this paper, we exploit two more motion constraints scenarios of pedestrian gait: (1) walking along straight paths; (2) standing still for a long time. It is observed that these motion constraints (called “virtual sensor”), though considerably reducing drift in PNS, still need an absolute heading reference. One common absolute heading estimation sensor is the magnetometer, which senses the Earth’s magnetic field and, hence, the true heading angle can be calculated. However, magnetometers are susceptible to magnetic distortions, especially in indoor environments. In this work, an algorithm, called magnetic anomaly detection (MAD) and compensation is designed by incorporating only healthy magnetometer data in the EKF updating step, to reduce drift in zero-velocity updated INS. Experiments are conducted in GPS-denied and magnetically distorted environments to validate the proposed algorithms.

1. Introduction

Micro-electromechanical systems (MEMS) technology that combines micro-processors with tiny mechanical sensors embedded in semiconductor chips has rationalized the concept of the “Ubiquitous Localization”. The core topic in ubiquitous localization is to track the position of an agent anywhere/any time i.e., indoors or outdoors. The location based services (LBS) use a variety of sensors and systems e.g., using GPS signals, RFID, WLAN/Wi-Fi, ultrasound, radio or vision technology [1,2] to track the location of a mobile agent. However, these services usually require pre-installation of localization beacons in a given environment to be used for localization. It becomes hard to install navigation sensors/system in many kinds of applications, e.g., in hostile or hazardous environments, dangerous or collapsed buildings, emergency situations, etc. Therefore, infrastructure-free (i.e., with no navigational beacons) navigation solutions are preferred over infrastructure-based navigation since they do not depend on any pre-condition [3].
Infrastructure-free localization has been widely researched during the last decades. Algorithms and systems have been proposed for personal localization based on inertial sensors only [4,5,6,7,8]. The MEMS type inertial sensors are used in two ways within PNS [9]. In the first approach, called Pedestrian Dead-Reckoning (PDR) solution, the inertial sensor (s) is mounted on any body part, other than the foot. In PDR, a constant step length is assumed on a relatively smooth surface, often usable in office-like environments. In PDR, the average step length is integrated along with orientation estimates obtained from IMU at each detected step to track the position of a mobile agent. This technique is simple and does not depend on the double integration of accelerometer signals to get position estimates. The downside of PDR is that it is applicable on relatively smooth surfaces and assumes a constant step length, however, it needs tuning for a specific user. The second approach, called the inertial navigation system (INS), is adapted from the aerospace community, in which IMU is used at a high rate for tracking position, velocity and attitude (PVA) of the platform on which it is fixed/strapped-down [10,11]. It is well known that using only IMU is subject to drift in navigation solutions, depending on the precision of the sensor used. High-end inertial sensors, e.g., using ring-laser or fiber-optic gyro, are very costly and bulky for use in PNS applications, as the main limitation in PNS is size, weight and power consumption of the sensors. To alleviate drift issues in INS, GPS is often used in outdoor navigation applications. However, from a pedestrian navigation perspective, users are not always under the open sky; hence, GPS is not a reliable aid to INS. Using other sensors makes the system more dependent, complex and costly/bulky; hence, we investigate the use of only a single IMU fitted on the foot of the agent and assume no pre-conditions for the user and the operating environment.
In this paper, we exploit the waking constraints of a user with IMU fitted on one of their feet, and apply an appropriate algorithm to reduce the drift in the INS-only solution [12]. The following motion constraints are considered in this paper:
  • Stance phase i.e., conventionally used Zero-velocity update (ZUPT)
  • Walking along straight paths i.e., Straight Trajectory Heading update (STH)
  • Standing still for a long time i.e., Position and Attitude Lock (PA-Lock).
In addition to exploiting these motion constraints, we also made use of magnetometer data to reduce drift in a navigation solution. A triad of gyroscopes can be used for tracking all three angles once initialized properly, for a considerable length of time, depending on the accuracy of the sensor. However, attitude angles estimated using IMU-only tend to drift with the passage of time, if not corrected by some absolute reference. Though roll and pitch (tilt) angles are easy to correct due to gravity vector sensing by the accelerometer; correction of the absolute heading angle is more challenging for MEMS IMU. Different techniques are employed for absolute heading angle estimation, depending on the type of sensors and the accuracy requirements; among them are: Gyro compassing, Magnetometer, Sun sensor, Star trackers, Multi-antenna GPS receiver, Map matching, etc. Each technique has its own limitations and merits. 3D magnetometers can be used for absolute heading angle tracking in a magnetically clean environment [13]. However, a magnetometer does not work reliably in magnetically distorted environments. In this work, we have developed an algorithm to overcome this limitation of traditional navigation systems by employing magnetometers. However, before using magnetic field readings, we continuously checked the “health” of the magnetometer data using the proposed Magnetic Anomaly Detection (MAD) technique, determining whether the sensor output is suitable for heading calculations. A diagram illustrating the design of the PNS in this paper is shown in Figure 1 below.
One big advantage of using magnetometer data in this way in an EKF framework is that distorted magnetometer data does not disturb estimation of roll and pitch angles, in contrast to conventional approaches in AHRS design [13,14].
The layout of this paper is as follows: In Section 2, we describe the INS mechanization for foot-mounted PNS in details; Section 3 explains the INS aiding with virtual sensors (motion constraints); and, in Section 4, we present the use of magnetometer based heading calculations and developed a MAD algorithm; In Section 5, the design of EKF for PNS application is presented; Section 6 provides experimental work and results from the application of virtual sensors to reduce PNS position drift, and Section 7 presents MAD algorithm testing and application to the PNS system; Finally, Section 8 concludes this work and offers some future research suggestions.

2. Foot-Mounted Inertial Navigation System: Designing PNS

2.1. Foot-Mounted INS Mechanization

Inertial navigation system mechanization equations are a set of equations which form the basis of inertial navigation in a specified reference frame. Depending on the application, these equations take slightly different forms in different navigation frames. It is well known that IMU output is related to the navigation information (i.e., PVA) through kinematic equations, known as “INS Mechanization” [10,15]. The acceleration of a mobile agent in a navigation frame is expressed as follows:
V ˙ n = C b n f b ( 2 ω i e n + ω e n n ) × V n + g n
The first term on the R.H.S is the specific force (SF) experienced by accelerometer transformed in the navigation frame by the transformation matrix ( C b n ), which in turn is formed by angular rates sensed by gyroscopes. The second term is the Coriolis acceleration due to the rotation of the Earth itself and the last term is the effective gravity vector expressed in the local navigation frame. The terms ω i e n and ω e n n are the Earth rotation vector and navigation frame transport rate vector, respectively, which are ignored for PNS applications. Hence, the effective acceleration for PNS application in Earth-based locally tangent frame is expressed as [8]:
V ˙ n = C b n f b + g n
Equation (2) gives gravity compensated acceleration in the n-frame. It is integrated numerically to get velocity and further integration will give the position in the n-frame (Equations (3) and (4)).
V k n = V k - 1 n + k 1 k V ˙ n ( τ ) d τ
P k n = P k - 1 n + k 1 k V n ( τ ) d τ
The attitude update equation for foot-mounted PNS is driven by gyro inputs and is expressed in quaternion form in this work. Quaternion is a four-element vector representing rotation vector and magnitude of the rotation around that vector. The quaternion differential equation provides a relationship between the input angular rates and the quaternion rate, as shown in the flowing equation:
q ˙ = 1 2 q ω ˜ n b b      ω ˜ n b b ω i b b
where ω ˜ n b b is the quaternion matrix of the angular rates, which is function of gyro inputs, and the product symbol ( ) represents the quaternion multiplication. If the rotation vector is written in skew-symmetric form, Equation (5) can be written in vector-matrix form as:
q ˙ = 1 2 [ ω ˜ n b b × ] q      [ ω ˜ n b b × ] = [ 0 ω x ω y ω z ω x 0 ω z ω y ω y ω z 0 ω x ω z ω y ω x 0 ]
where the components of rotation vectors come from gyro measurements. In discrete form, the Equation (6) is written as:
q k = [ Δ × ] q k - 1    ϕ = ω x 2 + ω y 2 + ω z 2 [ Δ ] = [ cos ( ϕ / 2 ) 1 ϕ sin ( ϕ / 2 ) ϕ x 1 ϕ sin ( ϕ / 2 ) ϕ y 1 ϕ sin ( ϕ / 2 ) ϕ z ] T
where [ Δ × ] is the skew-symmetric form of the vector [ Δ ] . The updated quaternion components are used to form the transformation matrix from body (b-frame) frame to n-frame, i.e.,
C b n ( k ) = [ q 0 2 + q 1 2 q 2 2 q 3 2 2 ( q 0 q 3 q 1 q 2 ) 2 ( q 0 q 2 + q 1 q 3 ) 2 ( q 0 q 3 + q 1 q 2 ) q 0 2 q 1 2 + q 2 2 q 3 2 2 ( q 0 q 1 q 2 q 3 ) 2 ( q 0 q 2 q 1 q 3 ) 2 ( q 0 q 1 + q 2 q 3 ) q 0 2 q 1 2 q 2 2 + q 3 2 ]
This transformation matrix ( C b n ) is used to transform the accelerometer sensed acceleration in b-frame to corresponding acceleration in n-frame, as given in Equation (2). Equations (3), (4) and (7) are used to propagate the PVA of the walker with only inputs from the foot-mounted IMU. In compact form, the INS mechanization equation is given in Equation (9) below:
[ P k n v k n C b , k n ] = [ P k 1 n + v k 1 n Δ T v k 1 n + { C b n f b + g n } Δ T C b , k 1 n + l ( q , ω i b b , Δ T ) ] + [ w p w v w ψ ]   X k = f ( X k - 1 , f b , ω i b b , Δ T ) + w k
where l ( . ) is a function of gyro measurements, updated during the sampling time interval Δ T . It is mentioned in [6,16] that for best results in foot-mounted PNS applications, an IMU with high ranges of accelerometer (>10 g) and gyros (>900° per second) should be used, otherwise insufficient bandwidth will add systematic measurement/modeling errors in PNS.

2.2. Foot-Mounted INS Error Model

In order to estimate PVA errors, computed in INS stage, an error model must be used in Kalman filter estimator. Details of INS error model derivation are given in [11,15]. In a nutshell, the standard strapdown INS error-model is given below:
δ v ˙ n = [ δ ψ n × ] f n + C b n δ f b 2 ( δ ω i n n × v n + ω i n n × δ v n ) + δ g n
Since the navigation frame is fixed on the Earth, the error in the angular rate ( δ ω i n n ) of the navigation frame is zero. For simplification, the gravity error ( δ g n ) is also assumed to be zero. For PNS application, the Coriolis acceleration caused by velocity error is also neglected here. Finally, after rearranging, INS error model for PNS application can be simplified as;
δ v ˙ n = C b n [ f b × ] δ ψ n + C b n δ f b
where [ f b × ] is skew-symmetric form of acceleration vector, δ ψ n is the misalignment error vector and δ f b is the accelerometer measurement error vector. Similarly, the position errors are modeled as:
Applying a similar assumption, the position error model for foot-mounted IMU is:
δ P ˙ n = δ v n
Finally, the attitude error model is expressed as a function of gyro measurement errors ( δ ω i b b ) only;
δ ψ ˙ n = C b n δ ω i b b
Equations (11)–(13) form the INS error model to be used in Kalman filter in Section 5 to predict errors in PVA for foot-mounted IMU. In state space form, the INS error model is represented as:
[ δ P ˙ n δ v ˙ n δ ψ ˙ n ] = [ 0 3 × 3 I 3 × 3 0 3 × 3 0 3 × 3 0 3 × 3 C b n [ f b × ] 0 3 × 3 0 3 × 3 0 3 × 3 ] [ δ P n δ v n δ ψ n ] + [ 0 3 × 3 0 3 × 3 C b n 0 3 × 3 0 3 × 3 C b n ] [ δ f b δ ω i b b ] δ X ˙ = A δ X + B W δ X n 9 × 1 ; δ P n 3 × 1 ; δ v n 3 × 1 ; δ ψ n 3 × 1 ; W 6 × 1 ; δ f b 3 × 1 ; δ ω i b b 3 × 1
The process noise, which consists of IMU zero-mean white noise sequences, has the covariance matrix Q defined by:
Q = Ε { W n W n T } = [ σ f b 2 0 3 × 3 0 3 × 3 σ ω b 2 ] 6 × 6
where σ f b 2 , σ ω b 2 are variances of IMU. The discrete-time counterparts of matrices ( A , B , Q ) are obtained as follows:
F = I + A Δ T + 1 2 ( A Δ T ) G = B Δ T ;   Q d = B Q B T
If accelerometer and gyro bias vectors are also included in the state vector, then these terms are also augmented in the state space model. However, as mentioned in [8,9], these are no major error sources distorting the IMU output during high dynamic motions that the foot-mounted IMU is exposed to. Hence, IMU bias error states are not included in the EKF framework in this study. However, initial gyro bias should be estimated by averaging stationary data for a few seconds (>10 s) before staring the experiment. This initial gyro bias must be subtracted from gyroscope readings for each axis before utilizing them in the PNS algorithm.

3. INS Aided with Motion Constraints (“Virtual Sensors”)

The aim of this study is to use only a single IMU as a motion sensor for pedestrian navigation in an unstructured environment and exploit the motion constraints of the walker to reduce drift in the INS solution. Therefore, we will develop algorithmic “virtual sensors” which will constrain the INS errors as the agent walks or stops for long time during walking.

3.1. Zero-Velocity Update (ZUPT)

It is a natural process for human and legged animals as well that when they walk in a normal way, each time they push the ground backwards with their feet, and at least one of their feet remains stationary for a moment during ground contact. In other words, the velocity of that foot momentarily becomes close to zero. If an IMU is mounted on that foot, it also experiences brief cyclic stance phases during walking. If this zero-velocity moment is detected (algorithmically or by using contact sensors), this information may be fed to the Kalman filter estimator to estimate the accumulated errors in PVA since the last update of such knowledge. Since a walking pattern repeats itself rapidly depending on the walking speed, the zero-velocity updates are applied as “pseudo-measurements” to the Extended Kalman filter [2], which utilizes these measurements as correct knowledge and estimates the errors in PVA as its output.

3.2. Zero Velocity Detection Algorithm

To detect the stance phases during walk, one can use actual contact sensors which sense the pressure exerted by the foot on the ground when it pushes the ground backwards during stance phase [17,18]. However, as the main idea of this paper is to use only a single 9DoF IMU, IMU signals are used to detect the stationary periods during walking. There are four commonly used methods or their combinations [3,19] in the literature for zero velocity detection. These are: Acceleration Moving Variance Detector, Acceleration Magnitude Detector, Stance Hypothesis Optimal Detector (SHOE) and Angular Rate Energy Detector (ARE). However, [20] ARE and SHOE have been shown to perform the best in experiments involving different gait patterns [19,21,22]. Here, we use ARE for stance detection in this paper. A brief description of ARE is given as follows:
T ( z n ω i b b ) = 1 W σ ω i b b 2 k = n n + W 1 y k ω i b b 2 ; y k ω i b b 2 = ( ω i b , x b ) 2 + ( ω i b , y b ) 2 + ( ω i b , z b ) 2
where W is window size for weighted average of gyro signals ( y k ω i b b ). T(.) is the test statics of the detector. Walking patterns are detected as:
W a l k   p a t t e r n ( P i ) = { S t a n c e   p h a s e : i f ( T ( z n ω i b b ) < γ ) S t r i d e p h a s e :   otherwise
The zero-velocity detection periods and foot stance count are shown in Figure 2, overlaid on the accelerometer and gyro signals during normal walking. A few steps are displayed in the lower part of this figure to show the stance time period in seconds. The average stance period during normal walking is about 0.4 s, as reported in [15,16].
The threshold ( γ ) is optimized based on experiments. However, this issue is not discussed in this paper.

3.3. Why Is a Zero Velocity Update Important?

The error growth in position is cubic with time while using only IMU, but this rapid accumulation of error can be mitigated by frequently aiding the IMU with ZUPT in the EKF framework [10] in PNS application. The ZUPT breaks this cubic error growth by aiding after about every 0.1~0.3 s and compensates for most of the errors of PVA and IMU [5,6,12]. However, the heading error and the heading gyro bias are the only important states which are not observable by applying ZUPTs [16]. The relationship between acceleration errors and attitude errors in the n-frame is shown in Equation (11), which can further be represented in component form for clarity [23,24]:
δ v ˙ n = C b n [ f b × ] δ ψ n + C b n δ f b δ v ˙ n = [ f n × ] δ ψ n + δ f n [ δ v ˙ x n δ v ˙ y n δ v ˙ z n ] = [ 0 f D f E f D 0 f N f E f N 0 ] [ δ ϕ δ θ δ ψ ] + [ δ f x n δ f y n δ f z n ] δ v ˙ x n = f D δ θ + f E δ ψ + δ f x n f D δ θ + δ f x n δ v ˙ y n = f D δ ϕ f N δ ψ + δ f y n f D δ ϕ + δ f y n δ v ˙ z n = f E δ ϕ + f N δ θ + δ f z n δ f z n
Here, f N , E , D is the acceleration in North, East, Down axis of the n-frame. Equation (19) shows that velocity error is a function of acceleration measurement and error in attitude angles. In ZUPT-aided INS, we use the velocity error as measurement in the stationary phase of the foot to correct PVA errors in EKF. During ZUPT, the horizontal forces in the local level frame are essentially zero ( i . e . , f N = f E 0 )   and specific force f D in downward direction is approximately equal to gravity constant. Therefore, from Equation (19), it is seen that the velocity errors in North (x-axis) and East (y-axis) directions are only related to errors in roll and pitch angles through a specific force f D in the downwards direction. Conceptually, this means that during ZUPT period, the dynamic change in horizontal velocity is proportional to the change in roll and pitch errors. Improving the velocity estimation through ZUPT means that roll and pitch errors are improved as well but heading errors are not improved at all by ZUPT [12,16,24]. Hence, we have to use other methods to reduce drift in heading errors, and hence the trajectory cross-track errors are reduced. For drift reduction in heading, we have used some additional motion constraints of the pedestrian gait patterns such as moving along straight paths, standing still for a long time, etc.

3.4. Walking along Straight Paths: Straight Trajectory Heading (STH) Update

People walk along straight paths, most of the time, in order to save time and energy. Also, most corridors and hall ways are constructed straight in conventional buildings. When the user walks along these straight paths, this situation can be detected and exploited to reduce errors in gyro heading angle [3,25]. In [25], the authors proposed a complicated process, utilizing feedback control theory, to reduce z-gyro drift. A simple mechanism is used in this work, in the n-frame domain, to distinguish the near straight path from the curved path using the change in average heading angle during consecutive last n-footsteps in stance phase, i.e.,
Δ ψ k = ψ k 1 n s = 1 n ψ k s
If Δ ψ k > t h . , then we assume that the user is walking along a straight path and hence apply straight trajectory heading (STH) update. Empirically, we have chosen number of steps in STH algorithm as n = 3, and Δ ψ k < 5 °.
In a normal walk, three steps seem to be minimum number of steps to execute direction change and check the heading angle change in each detected step, as illustrated in Figure 3 below. We can include one previous and one further step too, but it will be redundant and merely increase the computational cost in the algorithm. For instance, in scenario-I, the pedestrian is walking along a typical indoor corridor with a nearly straight walk. The heading angle change in each consecutive step is less than about five degrees in the straight corridor walk, as confirmed by experimental data in Figure 4. However, when the user takes a right/left turn in a corridor, as most typical building have corridors at 90°, three steps in a window show an obvious change in heading angle (as illustrated in scenario-II and scenario-III in Figure 3), which in shown by experimental data in Figure 4.
Figure 4 shows experimental data for walking along a typical building corridor with one right turn. The black dotted circle shows a right turn during walking and the green dotted circle represents little change in walking direction, even in the same corridor. In both cases, the STH algorithm detects the change in walking direction (with a threshold of five degrees) and rejects the heading angle update in the EKF algorithm if the heading angle change exceeds the threshold. This way, drift from the estimated trajectory is reduced by applying STH continuously in the PNS algorithm. Further results are shown in Section 6.3 for Indoor Environment tests.

3.5. Standing Still for a Long Time: PA Locking Mechanism

People are not always walking consistently, and they have to stop at times during normal walking. It has been observed that ZUPT does not guarantee complete stand-still conditions [26]. Hence, we must devise another method to guarantee non-drift of PVA during complete stand still. We adopted a rather simple method that is tested experimentally and effectively reduces error in position and attitude. When zero-velocity is detected, we check the forward velocity during this period; if it remains at zero for an extended period of time e.g., more than 5 s, it means that the walker has stopped moving forward and is in a complete stand-still condition. If this condition is met, we apply a simple rule to ‘lock’ the position and attitude (quaternion) at their current state, i.e.,
i f   v x = 0   f o r   T i m e > t h r s ,    t h r s = 5 sec .        P k = P k 1    P k 3 × 1       q k = q k 1 10 6    q k 4 × 1 e n d
i.e., position remains the same and change in quaternion is negligible, as illustrated in Figure 5.
Stance phase periods during normal walking vary depending on walking style/speed, age, terrain and other factors. We have observed that stance period is about ~0.4 s, as observed in Figure 2 above. Many other authors report different values [5,6,8]. However, to ensure a complete stand-still condition, some longer and safer stance time periods (higher than about 1 s) are needed. We have chosen 5 s to insure that the user is no longer walking and has completely stopped. This value can be 3 s, or 4 s. It will not affect the accuracy of the STH mechanism, so 5 s is a reasonable value to choose.
Until now, only motion constraints are discussed to reduce error of INS. In the next sections, we will present the technique to use 3D magnetometer’s “healthy” data, suitable to aid INS with absolute heading angle.

4. Absolute Heading Estimation Using Magnetometer

4.1. Magnetometer Used as Digital Compass

The Earth’s magnetic field vector has three components ( H x , H y , H z ), which can be measured by 3D magnetometers. The H x component is in the direction of motion of the sensor and H y is perpendicular to it in the right-hand direction. Using these two horizontal components, a combined horizontal component ( H x y = H x 2 + H y 2 ) of the Earth’s magnetic field is obtained. This horizontal component is always parallel to the Earth’s surface and aligns itself to the magnetic North–South direction. The magnetic heading angle is obtained from horizontal components, as follows:
ψ m a g = tan 1 ( H y H x )
The 3D Earth’s magnetic field vector and its relationship with the magnetic heading angle is shown in Figure 6.
The true heading angle and magnetic heading have some offsets, depending on the location on the Earth’s surface. This offset is called Magnetic declination ( δ ), which is taken as positive in an eastward direction and negative in a westward direction. Then, the true heading of the vehicle is obtained by subtracting the declination angle from magnetic heading, i.e.,
ψ t r u e = ψ m a g δ
It is crucial to obtain the horizontal magnetic field components as accurately as possible, otherwise the calculated heading angle will be contaminated with tilt errors. In most applications, it is impractical to assume roll and pitch angles of the magnetometer sensor as zero. Hence, we have to compensate the magnetometer readings with the title angles (roll, pitch) to obtain horizontal components from it (Figure 7).
The measurements of the 3D magnetometer should be transferred to the Earth’s fixed plane frame, so that the horizontal components of magnetic field are obtained to calculate magnetic heading. The roll angle and pitch angle are obtained, in our application, from the output of the designed attitude module (as tilt angles are not affected by magnetometer data). Then, the title compensated horizontal components of Earth’s magnetic field are obtained as;
H x = m x cos ( θ ) + m y sin ( ϕ ) sin ( θ ) + m z cos ( ϕ ) sin ( θ ) H y = m y cos ( ϕ ) m z sin ( ϕ )
where ( m x , m y , m z ) is magnetometer output in the sensor frame. Earth’s magnetic field is measured in units of Tesla (T) or Gauss (G). Note that 1 T = 10,000 G.

4.2. Transient Magnetic Anomaly Detection (MAD) and Compensation Algorithm

Magnetic interference can be categorized into two types: local magnetic interference and transient magnetic distortion. Local magnetic interference is caused by the installation of a magnetometer sensor on a platform having ferromagnetic material and current carrying wires, etc. This magnetic interference/distortion falls in one of the two categories; hard or soft iron distortion. Hard iron distortions are created by ferromagnetic materials with permanent magnetic fields e.g., magnets, speakers. They are time invariant. If the piece of magnetic material is physically attached to the same reference frame as the sensor, then this type of hard iron distortion will cause a permanent bias in the sensor output. Soft iron distortions are considered deflections or alterations in the existing magnetic field. It is caused by materials which can become magnetized and produce time varying magnetic fields, e.g., current carrying traces on the PCB, steel shields, batteries or other magnetically soft materials [27]. This type of distortion is commonly caused by metals such as nickel and iron. In most cases, hard iron distortions will have a much larger contribution to the total uncorrected error than soft iron. However, local magnetic interference can easily be compensated by employing well-known calibration procedures [27,28]. Results of local magnetic interference calibration are shown in Figure 8 below.
The other type of magnetic interference is called transient distortions which are produced when the sensor comes into the vicinity of some ferromagnetic material during operation. For instance, in the indoor environment, considered as a harsh environment in PNS application, is usually full of ferromagnetic materials, e.g., iron, steel, power lines, electrical machines, etc. Hence, the magnetometer output is badly affected when it comes into the vicinity of such ferromagnetic materials or permanent magnets [28]. Therefore, it is common practice not to use magnetometers for heading calculation in such transient magnetic interference environments. However, the validity of data which the magnetometer provides is far higher for navigation purposes as absolute heading can be very easily calculated using this sensor, if magnetometer data is free from distortions. Hence, there are efforts being made to use magnetometer data in such unfriendly environments too by designing such algorithms which can provide some detection and compensation in heading estimation. One such algorithm is proposed in this study, called Magnetic Anomaly Detection (MAD) and compensation algorithm. The main crux of the idea is that the magnetic field strength and its direction from the ground, called dip angle, remain almost constant in a local area within a few kilometers in a magnetically clean environment. If we take these factors into consideration and compare our measured magnetic field strength and calculated dip angle with these reference values, we can easily detect any anomaly in the magnetometer readings. If we take the mean of dip-angle and magnitude of magnetic field at starting time, assuming no motion and distortion during the starting stationary period, then any further anomalies can be detected easily. The magnetic field strength is simply the magnitude of the three components of magnetometers and dip angle is calculated using magnetometer data alone, as shown in Equations (25) and (26).
H = h x 2 + h y 2 + h z 2
The dip-angle calculated using magnetometer data (in n-frame) is given as [29]:
α = tan 1 ( h z h x 2 + h y 2 )

5. EKF Algorithm for Foot-Mounted PNS

The final step is to fuse all valid motion information of the walker in an estimator in order to reduce error drifts in the INS only solution. We have developed necessary models for the EKF framework in previous sections, and now formally present the prediction and update part of the EKF estimator for PNS application in this paper. In a discrete time domain, the EKF prediction and update cycles are summarized here:
(i)
Initialize the filter as follows:
δ x ^ 0 + = E ( δ x 0 ) P 0 + = E [ ( δ x 0 δ x ^ 0 + ) ( δ x 0 δ x ^ 0 + ) T ]
For k = 1, 2, …., N, perform the following:
(ii)
Obtain discrete state transition matrices:
F = I + A Δ T + 1 2 ( A Δ T ) 2 G = B Δ T ;   Q = B Q c B T
(iii)
Perform the propagation step:
δ x ^ k = 0 P k = F k 1 P k 1 + F k 1 T + G k 1 Q k 1 G k 1 T
(iv)
Perform the measurement update step if:
-
ZUPT, PA-Lock, STH condition are true.
-
MAD condition is true.
k k = P k - H k T ( H k P k - H k T + R k ) - 1
δ x ^ k + = δ x ^ k - + k k [ z k n h ( δ x ^ k - , 0 ) ] k k [ δ z k n ]
P k + = ( I k k H k ) P k -
(v)
Feedback error correction of PVA:
c P k n = P k n δ x ^ k , P + c v k n = v k n δ x ^ k , V + c C b , k n = ( I [ δ x ^ k , ψ + × ] ) - 1 C b , k n
The flowchart of proposed fusion algorithm if INS is aided with motion constraints (i.e., ZUPTs, PA-Lock, STH) and 3D magnetometer data is shown in Figure 9 below.

6. Experimental Results and Discussion

In this section, we provide experimental results for PNS design and applications in harsh environments, like the indoors, urban canyons, and forest environments. First, we define our experimental set-up and result verification method, and then present the results obtained in graphical and numerical form.

6.1. Test Environments

The environments chosen to validate the proposed algorithms are such that they fit in the category of “Navigationally Harsh Environment” [30]. For example, we choose a nearby street as an urban canyon, Figure 10. In such kinds of environments, GPS signals may not be completely blocked, but they may have large reflections, thereby reducing the availability of GPS for reliable navigation. Similarly, a walking test was conducted in a forest, which is covered by tall and dense trees. The GPS signals are vulnerable in such environments. The third candidate of harsh environments is the indoors, Figure 11, with no pre-installed navigation infrastructures, i.e., R.F, Ultrasonic signals, visual land marks, etc. Both absolute navigation systems/sensors, e.g., GPS and magnetometer, are prone to large errors in such environments, and hence normally cannot be used.

6.2. Experimental Setup and Evaluation Method

Experiments were conducted in both indoor and outdoor environments, with no prior information about the test environment and the user itself. The IMU sensor (3DM-GX3-45) from Microstrain Inc. [31] was used for data collection in all experiments. Although this IMU provides many kinds of navigation data, we picked up only raw accelerometer, gyro and magnetometer 3D data and the rest of the navigation solution and data processing was done using our own designed fusion algorithm. The IMU was fitted on the left foot and the user walked at a normal walking speed. In some experiments, the user also stood still for more than 5 s to check the effect of the PA-locking technique. For estimation evaluation, we have chosen root-mean-square error (RMSE) as an accuracy measure in this work. It is used to measure the difference between actual values and the output of an estimator. For quantitative comparison, we checked only the starting and final positions, both in 2D and 3D, in all walking tests. We assume starting position as (0, 0, 0), hence, only the final estimates are inserted into the RMSE formula. The other quantitative quality indicator is the error per 100 m (i.e., percentage error of the total distance travelled). Both of these quality indicators are given in comparison tables.

6.3. Static Test to Check PA-Lock Effectiveness

The practical benefits of simple PA-locking mechanism to reduce drift in position and attitude is demonstrated in Figure 12 and Figure 13. The numerical results are given in Table 1 and Table 2. Note that drift reduction in heading angle is approximately 15-fold. This huge drift reduction is due to the fact that, in simple INS or ZUPT aided INS (Z-INS), the heading angle is not observable and its error increases unbounded. ZUPT only constrains roll and pitch error growth, but not the heading error [23]. However, by constraining the change in attitude quaternion when the standing-still condition is met, this drift in heading angle can be drastically reduced.

6.4. Indoor Environment Tests

The indoor test was conducted in a three-floor building in KITECH, with double flight stairs. As most of the building has straight corridors and hallways, aiding Z-INS with STH should be more effective in such a building environment. In Figure 14, the approximate reference path is drawn manually in 2D and 3D for visual inspection; In Figure 15, the red trajectory (STH aided estimates) keeps the parallelism and perpendicularity with the building layout, but the blue trajectory (only ZUPT aided INS) is not aligned with the building layout. The STH un-aided trajectory has drift, especially in heading. The simple technique, i.e., STH, greatly reduces the heading drift in this indoor environment test. It shows the effectiveness of the STH method applied, without using any other sensor to reduce errors in the overall localization in unstructured environments.
The numerical results are given in Table 3 below. Simple STH application not only reduces 2D errors in trajectory, but reduces drift in height as well. The overall position error is less than 1% of the total distance traveled.

6.5. Outdoor Tests: Urban Canyon Environment Test

To test the proposed techniques, using virtual sensors, for reducing drift in ZUPT aided INS, we conducted one long-time test in the urban environment, as shown in Figure 16. In such an environment, GPS signals are vulnerable to blockage and/or large reflections due to tall buildings and narrow passages. The start and end point was the same while performing this test and the final position errors are calculated to verify the improvement made by the proposed technique. During this long test, at some points, the user rested for more than a minute and, hence, the PA-locking mechanism is applied as well. It is shown in Section 3.5 that in the standing-still condition, ZUPT alone cannot constrain the drift in position and attitude. Hence, when the user stood still for more than 5 s, the PA-locking technique was applied in this work.
The numerical results are compared in Table 4 below. Simple STH and PA-locking techniques reduce the drift in ZUPT aided PNS. The overall position error is less than 2% of the total distance traveled in this long (1 km) urban test which took about 45 min. The position estimates using single IMU aided with motion constraints only are impressive.

6.6. Forest Canopy Environment Test

To validate the proposed scheme, i.e., reducing drift in ZUPT aided INS using virtual sensors, we conducted one long-time test in a dense forest environment, categorized as one of the harsh environments in this work. In such an environment, GPS signals are vulnerable to blockage and/or reflections due to forest canopy; hence, GPS cannot be used for reliable positioning in such harsh environments. For visual verification, the reference trajectory drawn manually, taken during the test in the forest, is shown in the left half of Figure 17. The estimated trajectory with (red) and without (blue) using STH and PA-locking technique is shown in the right half of Figure 17. It is observed that STH and PA-Lock have a positive impact on position estimation accuracy as compared to only ZUPTs to EKF, as the trajectory shape is more similar to the actual path taken during this experiment. A quantitative comparison in terms of RMS error is given in Table 5 below.
Again, the numerical results reveal that by simply applying these two extra motion constraints (i.e., STH and PA-Locking) reduces the drift in ZUPT aided PNS. The overall position error is about 1% of the total distance traveled in this long (>1 km) forest test which took about 40 min. This test too confirms the viability of our proposed algorithm to reduce drift in INS in this PNS application.

7. Experimental Set-up and Evaluation Method for MAD Algorithm

7.1. Static Test

This test was conducted to check the performance of our proposed algorithm in a highly magnetic distortion environment. In this test, we kept the IMU stationary and passed a permanent magnet across the sensor back and forth, by approaching it from different directions, as shown in Figure 18. The permanent magnet bar was passed by four times close (<5 cm) to the IMU. The purpose of this test is to examine the effects of permanent magnet on the Earth’s magnetic field strength, dip-angle angle and, hence, on the resulting heading angle accuracy. The roll and pitch angle estimates are given in Figure 19 and the heading angle calculated from raw magnetometer data (tilt compensated), and the fused heading by EKF (called K-AHRS) is compared with reference AHRS (Microstrain’s) and initial heading angles, in Figure 20.
This experiment reveals the ability of our designed technique to reduce drift in attitude, even in the presence of a strong magnetic field. The MAD algorithm decides when to use the Earth’s magnetic field for heading angle calculation by checking the magnetometer data’s health. The maximum error in heading is <0.5 degree in this static.

7.2. Moving in a Straight Line Test

In this test, we moved the IMU sensor along a straight wood support, making sure that the heading angle did not change during this motion. The sensor is moved close to a car (large metallic body) in intervals of 20 cm and then backwards, Figure 21. The aim of this test is to check the effect of magnetic interference on heading angle deterioration. The minimum distance to which the sensor moved towards the car is about 5 cm and then it was moved backwards on the same straight wooden support to its initial position (>150 cm). We examined the changes in the raw magnetic data, magnetic field strength, dip angle and heading angle corresponding to the distance from the car. The effectiveness of the proposed algorithm is compared with reference attitude (Microstrain AHRS) and constant initial heading angle.
In this in-motion test, we moved IMU towards a car (a large metallic object) from a distance of 150 cm to 5 cm on a straight wooden support. The roll and pitch angles are not effected by magnetic disturbances and follow the reference angles, as seen in Figure 22.
It is seen from Figure 23 below that as the sensor approached (<100 cm) the car, a large metallic body, the heading angle output of Microstrain AHRS and raw magnetic heading start deteriorating, whereas the heading angle estimated by applying our MAD algorithm is not effected much, even in the close vicinity (<5 cm) of the car. The corresponding magnetic field strength and dip angle applying the MAD algorithm are shown in Figure 24.

7.3. MAD Applied in a Dynamic Test in PNS Application

We applied MAD algorithm to our PNS application. In this test, the effect of magnetometer heading angle on the pedestrian navigation drift reduction is analyzed in a mixed indoor/outdoor environment test. This test is similar to the indoor test conducted previously in Section 6.3, except that this time the magnetometer data is also recorded and incorporated in the EKF framework for heading correction using the MAD algorithm. The user started his walk outdoors in a magnetically clean environment and then after some time entered the same building as in the previous indoor test. The user walked on the first and second floors of the building and then came out and stopped at the same initial starting position. The MAD algorithm is applied throughout this test to correct the cross-track position error. The MAD algorithm is applied only when the foot is in stance phase. Even indoors, there are occasions when the magnetometer can find a clean environment, hence, its data is used for heading correction at those instances when walking indoors.
The ZUPT-only aided INS (No MAD condition) maintains an accurate trajectory estimation for some time, but as time goes on, the drift due to non-observability of heading angle increases. When aided with magnetic heading, after passing through the MAD algorithm, the drift in heading and hence the estimated trajectory cross-track error reduces drastically. It is seen in Figure 25 above that the MAD-applied trajectory (red) is more similar to the actual building layout on the left, because it stays parallel or perpendicular to the building layout, whereas the ZUPT-only aided INS trajectory (blue) diverges over time. The final position error is less than 4 m in 2D and percentage error is <1 m of the total distance travelled, as given in Table 6 above. These test results conform to our supposition that adding magnetometer data for heading drift reduction and, hence, getting more accurate position track estimates is a viable solution for PNS applications, even in indoor environments.

8. Conclusions

In this paper, we presented a pedestrian navigation system using a single foot-mounted IMU and exploiting motion constraints of the walker as virtual sensors, with no prior information about the test environment and the user itself. Simple, yet very effective algorithmic techniques were presented to reduce errors in the conventional ZUPT aided INS for navigation in infrastructure-free environments in PNS applications. After conducting experiments in indoor/outdoor navigationally harsh environments, we conclude that errors in the IMU only navigation solution are reduced drastically by exploiting only the motion constraints of the wearer and without using any other external navigation sensors or having any prior knowledge about the user or test environment. Based on experiments conducted in different environments—indoors/outdoors, an urban canyon and under a forest canopy—we conclude that the overall position errors, when compared with initial and final position at the same starting point, are <2% of the total distance (for >1 km) travelled by using a single foot-mounted IMU as the navigation sensor and exploiting motion constraints only. The use of a magnetometer to reduce heading drift is also analyzed and it is found that having the aid of a magnetometer heading is a very powerful tool to reduce overall position drift, especially cross-track position errors, if the health of the magnetometer data is analyzed first before utilizing it for heading calculations, as done using the MAD algorithm in this paper. The tests are conducted for normal gait only. Other types of pedestrian gait are not considered in this work, e.g., brisk walk or very slow walk, crawling, running at different speeds, etc., and may constitute a future research topic.

Author Contributions

Muhammad Ilyas conceived the main idea and prepared this article as first author. Manuscript revision and help in data analysis and visualization was done by Kuk Cho. The hardware and data acquisition module for experimentation was designed by Seung-Ho Baeg. All of the work in this paper is done under the supervision of Sangdeok Park and Seung-Ho Baeg.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Feliz, R.; Zalama, E.; G’Omez, J. Pedestrian tracking using inertial sensors. J. Phys. Agents 2009, 3, 35–42. [Google Scholar]
  2. Harle, R. A Survey of Indoor Inertial Positioning Systems for Pedestrians. IEEE Commun. Surv. Tutor. 2013, 15, 1281–1293. [Google Scholar] [CrossRef]
  3. Jimenez, A.R.; Seco, F.; Prieto, J.C.; Guevar, J. Indoor pedestrian naigation using an INS/EKF framework for yaw drift reduction and a foot-mounted IMU. In Proceedings of the 7th Workshop on Positioning, Navigation and Communication (WPNC), Dresden, Germany, 11–12 March 2010.
  4. ENSCO. Available online: http://www.ensco.com/products-services/security/gps-denied-geolocation-navigation/personnel-navigation.htm (accessed on 2 April 2016).
  5. Foxlin, E. Pedestrian Tracking with Shoe-Mounted Inertial Sensors. IEEE Comput. Graph. Appl. 2005, 25, 38–46. [Google Scholar] [CrossRef] [PubMed]
  6. Fischer, C.; Sukumar, P.T.; Hazas, M. Tutorial: Implementation of a pedestrian tracker using foot-mounted inertial sensors. IEEE Pervasive Comput. 2013, 12, 17–27. [Google Scholar] [CrossRef]
  7. Godha, S.; Lachapelle, G. Foot mounted inertial system for pedestrian navigation. Meas. Sci. Technol. 2008, 19. [Google Scholar] [CrossRef]
  8. John-Olof, N.; Issac, S.; Peter, H. OpenShoe: Foot-Mounted INS for Every Foot. Available online: http://www.openshoe.org (accessed on 2 June 2015).
  9. Kun-Chan, L.; Wen-Yuah, S. On calibrating the sensor errors of a PDR-Based indoor localization system. Sensors 2013, 13, 4781–4810. [Google Scholar]
  10. Groves, P.D. Principles of GNSS, Inertial, and Multisensor Integrated Navigation Sysems; Artech House: Norwood, MA, USA, 2008. [Google Scholar]
  11. Kim, J. Autonomous Navigation for Airborne Application. Ph.D. Thesis, University of Sydney, Sydney, Australia, 2004. [Google Scholar]
  12. Ilyas, M.; Kuk, C.; Seung-Ho, B.; Sangdeok, P. Drift reduction in IMU-only pedestrian navigation system in unstructured environment. In Proceedings of the 10th Asian Control Conference (ASCC), Kota Kinabalu, Malyasia, 31 May–3 June 2015; pp. 1–7.
  13. Young, S. Orientation estimation using a quaternion-based indirect Kalman filter with adaptive estimation of external acceleration. IEEE Trans. Instrum. Meas. 2010, 59, 3296–3305. [Google Scholar]
  14. Matthew, W. The Design and Implementation of a Robust AHRS for Integration into a Quadrotor Platform; The University of Sheffield: Sheffield, UK, 2013. [Google Scholar]
  15. Titterton, D.; Weston, J. Strapdown Inertial Navigation Technolog; The American Institute of Aeronautics and Astronautics: Reston, VA, USA, 2004. [Google Scholar]
  16. Nilsson, J.-O.; Skog, I.; Handel, P. A note on the limitations of ZUPTs and the implications on sensor error modeling. In Proceedings of the 2012 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sydney, Australia, 13–15 November 2012.
  17. Bebek, O. Personal navigation via high-resolution gait-corrected inertial measurement units. IEEE Trans. Instrum. Meas. 2010, 59, 3018–3027. [Google Scholar] [CrossRef]
  18. Guo, Q.; Bebek, O.; Cavusoglu, M.C.; Mastrangelo, C.H.; Young, D.J. A personal navigation system using MEMS-based high-density ground reaction sensor array and inertial measurement unit. In Proceedings of the 18th International Conference on Solid-State Sensors, Actuators and Microsystems (TRANSDUCERS), Anchorage, AK, USA, 21–25 June 2015; pp. 1077–1080.
  19. Skog, I.; Nilsson, J.-O.; Rantakokko, J. Zero-Velocity Detection—An Algorithm Evaluation. IEEE Trans. Biomed. Eng. 2010, 57, 2657–2666. [Google Scholar] [CrossRef] [PubMed]
  20. Skog, I.; Nilsson, J.-O.; Handel, P. Evaluation of zero-velocity detector for foot-mounted inertial navigation systems. In Proceedings of the 2010 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Zurich, Switzerland, 15–17 September 2010; pp. 1–6.
  21. Ramanandan, A.; Chen, A.; Farrel, J.A. Obserbability analysis of an inertial navigation system with stationary updates. In Proceedings of the 2011 American Control Conference, San Francisco, CA, USA, 29 June–1 July 2011.
  22. Sang, K.P.; Young, S.S. A zero velocity detection algorithm using inertial sensors for pedestrian navigation systems. Sensors 2010, 10, 9163–8178. [Google Scholar]
  23. Abdulrahim, K.; Chris, H.; Moore, T.; Hill, C. Using constraints for shoe mounted indoor pedestrian navigation. J. Navig. 2012, 15, 15–28. [Google Scholar] [CrossRef]
  24. Abdulrahim, K.; Hide, C.; Moore, T.; Hill, C. Aiding low cost inertial navigation with building heading for Pedestrian navigation. J. Navig. 2011, 64, 219–233. [Google Scholar] [CrossRef]
  25. Borenstein, J.; Ojeda, L.; Kwanmuang, S. Heuristic reduction of gyro drift for personnel tracking systems. J. Navig. 2009, 62, 41–58. [Google Scholar] [CrossRef]
  26. Nilsson, J.-O.; Handel, P. Standing still with inertial navigation. In Proceedings of the 2013 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Montbéliard-Belfort, France, 28–31 October 2013.
  27. Renaudin, V.; Haris Afzal, M.; Lachapelle, G. Complete Triaxis Magnetometer Calibration in the Magnetic Domain. J. Sens. 2010. [Google Scholar] [CrossRef]
  28. Caruso, M.; Withanawasam, L. Vehicle Detection and Compass Applications Using AMR Magnetic Sensors. Available online: https://aerospace.honeywell.com/en/~/media/aerospace/files/technical-articles/vehicledetectionandcompassapplicationsusingamrmagneticsensors_ta.pdf (accessed on 8 September 2016).
  29. Yadav, N.; Bleakley, C. Accurate orientation estimation using AHRS under conditions of magnetic distortion. Sensors 2014, 14, 20008–20024. [Google Scholar] [CrossRef] [PubMed]
  30. Prieto, J.; Mazuelas, S.; Bahillo, A.; Fernand, P.; Lorenzo, R.M.; Abril, E.J. Pedestrian navigation in harsh environments using wireless and inertial measurements. In Proceedings of the 10th Workshop on Positioning, Navigation and Comunication (WPNC), Dresden, Germany, 20–21 March 2013.
  31. LORD MicroStrain. Available online: http://www.microstrain.com/inertial/3dm-gx3-45 (accessed on 6 September 2016).
Figure 1. Pedestrian Navigation System (PNS) aided with motion constraints and healthy magnetic field data.
Figure 1. Pedestrian Navigation System (PNS) aided with motion constraints and healthy magnetic field data.
Sensors 16 01455 g001
Figure 2. (Left) ZUPT detection and step occurrence during normal walking. The zero-velocity periods, as foot falls on the ground, are shown as a pink square wave and foot count is shown by a small circle (black), overlaid on the accelerometer and gyro signals; (Right) Zoom-in of some steps to show the stance period (~0.4 s) in a typical walk.
Figure 2. (Left) ZUPT detection and step occurrence during normal walking. The zero-velocity periods, as foot falls on the ground, are shown as a pink square wave and foot count is shown by a small circle (black), overlaid on the accelerometer and gyro signals; (Right) Zoom-in of some steps to show the stance period (~0.4 s) in a typical walk.
Sensors 16 01455 g002
Figure 3. Illustration of walking along a straight path in a typical indoor corridor.
Figure 3. Illustration of walking along a straight path in a typical indoor corridor.
Sensors 16 01455 g003
Figure 4. Experimental data for walking along a typical corridor. (Left) 2D trajectory in corridor; (Right) Corresponding change in heading angle at each foot step.
Figure 4. Experimental data for walking along a typical corridor. (Left) 2D trajectory in corridor; (Right) Corresponding change in heading angle at each foot step.
Sensors 16 01455 g004
Figure 5. Standing-still condition, whereby both position and heading should not be changing.
Figure 5. Standing-still condition, whereby both position and heading should not be changing.
Sensors 16 01455 g005
Figure 6. Earth’s magnetic field and calculation. ϑ is the dip-angle, δ is declination angle, ψ m a g magnetic heading and ψ t r u e is true heading with respect to true North.
Figure 6. Earth’s magnetic field and calculation. ϑ is the dip-angle, δ is declination angle, ψ m a g magnetic heading and ψ t r u e is true heading with respect to true North.
Sensors 16 01455 g006
Figure 7. Compass frame (red) orientation with respect to the Earth’s surface. Local flat frame (blue) is paralell to the Earth’s surface and ϕ   , θ are roll and pitch angles, respectively.
Figure 7. Compass frame (red) orientation with respect to the Earth’s surface. Local flat frame (blue) is paralell to the Earth’s surface and ϕ   , θ are roll and pitch angles, respectively.
Sensors 16 01455 g007
Figure 8. Local magnetic interference calibration: Magnetometer data before and after calibration in mild magnetic distortion environment (Top) and strong local distortion (Lower) present in the calibration environment. The 3D sphere and 2D circle are centered at (0, 0) after hard and soft iron calibration.
Figure 8. Local magnetic interference calibration: Magnetometer data before and after calibration in mild magnetic distortion environment (Top) and strong local distortion (Lower) present in the calibration environment. The 3D sphere and 2D circle are centered at (0, 0) after hard and soft iron calibration.
Sensors 16 01455 g008
Figure 9. EKF algorithm flowchart of PNS: Data fusion of INS, ZUPT, STH, PA-lock and MAD.
Figure 9. EKF algorithm flowchart of PNS: Data fusion of INS, ZUPT, STH, PA-lock and MAD.
Sensors 16 01455 g009
Figure 10. Urban canyon test environment; Daengi-gil, a food-street near Kitech. The IMU sensor is fitted on top of the left foot. In the upper right corner, a large metallic manhole cover, found in many urban streets, along with other large metallic objects are shown.
Figure 10. Urban canyon test environment; Daengi-gil, a food-street near Kitech. The IMU sensor is fitted on top of the left foot. In the upper right corner, a large metallic manhole cover, found in many urban streets, along with other large metallic objects are shown.
Sensors 16 01455 g010
Figure 11. Forest environment (Left) and typical indoor environment (Right). Both environments fall into the GPS-denied and magnetically distorted environment category.
Figure 11. Forest environment (Left) and typical indoor environment (Right). Both environments fall into the GPS-denied and magnetically distorted environment category.
Sensors 16 01455 g011
Figure 12. 2D Position error reduction by using PA-locking technique.
Figure 12. 2D Position error reduction by using PA-locking technique.
Sensors 16 01455 g012
Figure 13. Roll, pitch and heading error reduction with PA-locking technique.
Figure 13. Roll, pitch and heading error reduction with PA-locking technique.
Sensors 16 01455 g013
Figure 14. Multi-floor indoor test environment. For ease of visualization, an approximate reference path manually drawn on the building image (front and top view) was taken from Google Earth.
Figure 14. Multi-floor indoor test environment. For ease of visualization, an approximate reference path manually drawn on the building image (front and top view) was taken from Google Earth.
Sensors 16 01455 g014
Figure 15. 2D and 3D trajectory plot comparison in indoor test. Effect of STH applied is clearly seen in red trajectory, which has less cross-track divergence.
Figure 15. 2D and 3D trajectory plot comparison in indoor test. Effect of STH applied is clearly seen in red trajectory, which has less cross-track divergence.
Sensors 16 01455 g015
Figure 16. Urban environment test: Left: The reference path is manually drawn on the image taken from Google Earth. Right: The estimated trajectories obtained from the proposed algorithm.
Figure 16. Urban environment test: Left: The reference path is manually drawn on the image taken from Google Earth. Right: The estimated trajectories obtained from the proposed algorithm.
Sensors 16 01455 g016
Figure 17. Forest environment test: (Left) The reference path is manually drawn on the image taken from Google Earth; (Right) The estimated trajectory output by the proposed algorithm.
Figure 17. Forest environment test: (Left) The reference path is manually drawn on the image taken from Google Earth; (Right) The estimated trajectory output by the proposed algorithm.
Sensors 16 01455 g017
Figure 18. Experimental set-up for MAD algorithm verification in static test.
Figure 18. Experimental set-up for MAD algorithm verification in static test.
Sensors 16 01455 g018
Figure 19. Roll angle (a) and pitch angle (b) estimate in static test with permanent magnet pass.
Figure 19. Roll angle (a) and pitch angle (b) estimate in static test with permanent magnet pass.
Sensors 16 01455 g019
Figure 20. (Left) Heading angle estimate in the static test with permanent magnet pass; (Right) Zoomed-in view for visual inspection.
Figure 20. (Left) Heading angle estimate in the static test with permanent magnet pass; (Right) Zoomed-in view for visual inspection.
Sensors 16 01455 g020
Figure 21. Moving IMU in an exact straight line, by sliding the sensor on a straight wooden support. In close-up is shown a very precise magnetic compass for reference heading.
Figure 21. Moving IMU in an exact straight line, by sliding the sensor on a straight wooden support. In close-up is shown a very precise magnetic compass for reference heading.
Sensors 16 01455 g021
Figure 22. Roll angle (a) and pitch angle (b) estimation during dynamic test: moving the sensor towards a car as per experimental set-up in Figure 21.
Figure 22. Roll angle (a) and pitch angle (b) estimation during dynamic test: moving the sensor towards a car as per experimental set-up in Figure 21.
Sensors 16 01455 g022
Figure 23. Heading angle estimate when moving a sensor towards a car. The maximum heading angle change is <3 degrees in highly magnetic distortion environment by applying the MAD algorithm.
Figure 23. Heading angle estimate when moving a sensor towards a car. The maximum heading angle change is <3 degrees in highly magnetic distortion environment by applying the MAD algorithm.
Sensors 16 01455 g023
Figure 24. Magnetic field strength and dip-angle with thresholds applied for moving in a straight line test.
Figure 24. Magnetic field strength and dip-angle with thresholds applied for moving in a straight line test.
Sensors 16 01455 g024
Figure 25. Effect of MAD algorithm on 2D trajectory estimation in PNS application, in a 30 min walk in a mixed outdoor/indoor environment. (Left) An approximate walking trajectory is drawn on Google Earth map; (Right) Estimated trajectory in PNS.
Figure 25. Effect of MAD algorithm on 2D trajectory estimation in PNS application, in a 30 min walk in a mixed outdoor/indoor environment. (Left) An approximate walking trajectory is drawn on Google Earth map; (Right) Estimated trajectory in PNS.
Sensors 16 01455 g025
Table 1. RMS error in position, if PA-locking technique is applied in a static test.
Table 1. RMS error in position, if PA-locking technique is applied in a static test.
Method2D RMS Error (m)3D RMS Error (m)Remarks
PA-Lock Not applied0.0436781.817Time: 15 min
PA-Lock applied0.000797670.20591
Improvement40 times10 times
Table 2. RMS error in attitude, if PA-locking technique is applied in a static test.
Table 2. RMS error in attitude, if PA-locking technique is applied in a static test.
MethodRoll RMS Error (°)Pitch RMS Error (°)Yaw RMS Error (°)
PA-Lock Not applied0.34500.091924.482
PA-Lock applied0.2340.0561.3125
Improvement47%62%15 times
Table 3. RMS error reduction by applying STH technique for indoor environment test.
Table 3. RMS error reduction by applying STH technique for indoor environment test.
Method2D RMS Error (m)3D RMS Error (m)Remarks
STH Not applied4.015.13Time: 15 min
Distance: 380 m
Error/100 m: ≈0.8 m
STH applied2.122.50
Improvement89%100%
Table 4. RMS error if STH and PA techniques are applied in an urban canyon environment.
Table 4. RMS error if STH and PA techniques are applied in an urban canyon environment.
Method2D RMS Error (m)3D RMS Error (m)Remarks
STH + PA Not applied26.58429.543Time: 45 min
Distance: 1000 m
Error/100 m: ≈1.5 m
STH + PA applied14.42719.797
Improvement84.27%49.23%
Table 5. RMS error comparison if STH and PA techniques are applied.
Table 5. RMS error comparison if STH and PA techniques are applied.
Method2D RMS Error (m)3D RMS Error (m)Remarks
STH+PA Not applied24.42230.192Time: 40 min
Distance: 11,000 m
Error/100 m: ≈1 m
STH+PA applied8.062720.606
Improvement202.9%46.52%
Table 6. RMS error comparison when MAD algorithm is applied in a mixed indoor/outdoor environment test.
Table 6. RMS error comparison when MAD algorithm is applied in a mixed indoor/outdoor environment test.
Method2D RMS Error (m)3D RMS Error (m)Remarks
No MAD applied9.812.84Time: 30 min
Distance: 500 m
Error/100 m: ≈0.7 m
With MAD3.249.21
Improvement2 times39%

Share and Cite

MDPI and ACS Style

Ilyas, M.; Cho, K.; Baeg, S.-H.; Park, S. Drift Reduction in Pedestrian Navigation System by Exploiting Motion Constraints and Magnetic Field. Sensors 2016, 16, 1455. https://doi.org/10.3390/s16091455

AMA Style

Ilyas M, Cho K, Baeg S-H, Park S. Drift Reduction in Pedestrian Navigation System by Exploiting Motion Constraints and Magnetic Field. Sensors. 2016; 16(9):1455. https://doi.org/10.3390/s16091455

Chicago/Turabian Style

Ilyas, Muhammad, Kuk Cho, Seung-Ho Baeg, and Sangdeok Park. 2016. "Drift Reduction in Pedestrian Navigation System by Exploiting Motion Constraints and Magnetic Field" Sensors 16, no. 9: 1455. https://doi.org/10.3390/s16091455

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