| Literature DB >> 28335555 |
Sheng Guo1, Hanjiang Xiong2, Xianwei Zheng3, Yan Zhou4.
Abstract
As a result of the rapid development of smartphone-based indoor localization technology, location-based services in indoor spaces have become a topic of interest. However, to date, the rich data resulting from indoor localization and navigation applications have not been fully exploited, which is significant for trajectory correction and advanced indoor map information extraction. In this paper, an integrated location acquisition method utilizing activity recognition and semantic information extraction is proposed for indoor mobile localization. The location acquisition method combines pedestrian dead reckoning (PDR), human activity recognition (HAR) and landmarks to acquire accurate indoor localization information. Considering the problem of initial position determination, a hidden Markov model (HMM) is utilized to infer the user's initial position. To provide an improved service for further applications, the landmarks are further assigned semantic descriptions by detecting the user's activities. The experiments conducted in this study confirm that a high degree of accuracy for a user's indoor location can be obtained. Furthermore, the semantic information of a user's trajectories can be extracted, which is extremely useful for further research into indoor location applications.Entities:
Keywords: activity recognition; indoor localization; semantics
Year: 2017 PMID: 28335555 PMCID: PMC5375935 DOI: 10.3390/s17030649
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1The overall architecture. HAR, human activity recognition.
Figure 2Step detection. (a) Raw synthetic acceleration data; (b) filtered data and the step detection result.
Figure 3Landmark corrections. (a) Go straight through a landmark; (b) Passing a landmark when the user turns.
Figure 4The magnetometer changes when a door is opened. (a) Opening a south-facing door, where the door handle is to the right; (b) opening a south-facing door, where the door handle is to the left.
Semantics acquisition rules for landmarks.
| Id | Conditions (C) | Semantics (S) |
|---|---|---|
| SL-1 | ‘Go left’, ‘Go right’, ‘Turn left’, ‘Turn right’, ‘Turn around’ | |
| SL-2 | ‘Opening a door’ | |
| SL-3 | ‘Go into the door’ | |
| SL-4 | ‘Go out of the door’ |
SL indicates the identity of the rule. = {‘Standing’, ‘Walking’, ‘Going up (or down) stairs’, ‘Opening a door’}, = {‘Go left’, ‘Go right’, ‘Turn left’, ‘Turn right’, ‘Turn around’}. L is the landmark list: , are the turn, the stairs and the door landmarks. , and represent the current landmark, the previous landmark and the next landmark.
Semantics acquisition rules for landmark segments.
| Id | Conditions (C) | Semantics (S) |
|---|---|---|
| SK-1 | ‘Turn left’, ‘Turn right’, ‘Turn around’ | |
| SK-2 | ‘Go left’, ‘Go right’, ‘Turn left’, ‘Turn right’, ‘Turn around’ | |
| SK-3 | ‘Go straight’ | |
| SK-4 | ‘Go up the steps’ | |
| SK-5 | ‘Go down the steps’ | |
| SK-6 | ‘Go upstairs’ | |
| SK-7 | ‘Go downstairs’ |
SK indicates the identity of the rule. = {‘Standing’, ‘Walking’, ‘Going up (or down) stairs’, ‘Opening a door’}, = {‘Go left’, ‘Go right’, ‘Turn left’, ‘Turn right’, ‘Turn around’}. L is the landmark list: , are the turn, the stairs, and the door landmarks. The duration of ‘Standing’, ’Walking’ and ‘Going up (or down) stairs’ activities are represented by , and , respectively. From D, we can obtain the distance and height information indicates the walk distance; represents the z value of the current landmark; and represents the z value of the next landmark.
Figure 7Semantic landmark construction process.
Figure 8The experiment’s overall process.
Figure 9Landmarks. (a) Landmarks of the first floor; (b) landmarks of the second floor.
Barometer readings.
| Floor | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Average (hpa) |
|---|---|---|---|---|---|---|---|---|---|
| f1 | 1020.91 | 1020.92 | 1020.92 | 1020.9 | 1020.88 | 1020.86 | 1020.85 | 1020.87 | B(f1) = 1020.89 |
| f2 | 1020.32 | 1020.34 | 1020.34 | 1020.33 | 1020.29 | 1020.3 | 1020.33 | 1020.32 | B(f2) = 1020.32 |
Figure 10The direction information obtained by the magnetometer. (a) Distribution of the magnetic differences; (b) direction information.
Figure 11The activity sample collection of trajectory Entrance (ET)–R201.
Figure 12The trajectory of ET–R108. The raw trajectory is without landmarks, and the corrected trajectory is with landmarks.
Figure 13The trajectories on multiple floors.
Figure 14Trajectory matching results. (a) Raw PDR trajectory; (b) matching trajectory.
Trajectory matching results. E = east, S = south, W = west, N = north. s = standing, w = walking, u = going up stairs, d = going down stairs, o = opening a door.
| Observation Sequence | Trajectories | Distance and Activities Information | Trajectories after |
|---|---|---|---|
| {‘S’, ‘E’, ‘N’} | { |
| |
| {‘S’, ‘E’, N’,’W’} |
|
| |
| {‘S’, ‘E’, N’,’W’, ‘N’} |
|
| |
| {‘S’, ‘E’, N’,’W’, ‘N’, ‘E’} |
|
| |
| {‘S’, ‘E’, N’,’W’, ‘N’, ‘E’, ‘N’} |
|
| |
| {‘S’, ‘E’, N’,’W’, ‘N’, ‘E’, N’,’W’} | |||
|
|
Landmark semantics.
| Landmark | Name | Expression |
|---|---|---|
| Entrance | Id | ET |
| Attribute | Virtual landmarks | |
| Adjacent segments | {‘ | |
| Direction information | ‘West’ | |
| Semantic description |
| |
| Stairs s0 | Id | s0 |
| Attribute | Stairs | |
| Adjacent segments | {‘ | |
| Direction information | ‘South’ | |
| Semantic description |
| |
| Stairs s1 | Id | s1 |
| Attribute | Stairs | |
| Adjacent segments | { ‘ | |
| Direction information | ‘South’ | |
| Semantic description |
| |
| Turn u0 | Id | u0 |
| Attribute | Turn | |
| Adjacent segments | {‘ | |
| Direction information | ‘South - West’ | |
| Semantic description | ‘Turn right’ | |
| Door r8 | Id | r8 |
| Attribute | Door | |
| Adjacent segments | {‘ | |
| Direction information | ‘North’ | |
| Semantic description | ‘Go into the door’ |
Complete semantics of turn u0.
| Name | Expression |
|---|---|
| Id | u0 |
| Attribute | Turn |
| Adjacent segments | {‘ |
| Direction information | ‘South-West’, ‘North-West’, ‘East-South’, ‘East-North’ |
| Landmark semantic | ‘Turn right’, ‘Turn left’ |
Classification accuracy.
| Classifier | Accuracy | Accuracy |
|---|---|---|
| (Sliding Windows) | (Event-Defined Windows) | |
| DT | 98.62% | 98.69% |
| SVM | 96.55% | 97.73% |
| KNN | 98.83% | 98.95% |
Confusion matrix.
| Actual Class | Predicted Class | Accuracy (%) | |||
|---|---|---|---|---|---|
| Standing | Walking | Going up (or down) Stairs | Opening a Door | ||
| Standing | 284 | 0 | 0 | 10 | 96.60% |
| Walking | 0 | 1981 | 3 | 0 | 99.85% |
| Going up (or down) stairs | 0 | 4 | 787 | 0 | 99.49% |
| Opening a door | 3 | 0 | 0 | 56 | 94.92% |
Figure 15Localization error. (a) Localization error of trajectory ET–R108; (b) the cumulative error distribution of the 25 test trajectories.
Figure 16Landmark matching. The red point is the turn landmark, and the green points are the door landmarks. The yellow points are the PDR position when a turn is detected. The blue points are the PDR position when opening a door is detected. The dashed red line indicates the nearest landmark points.
Landmark matching errors.
| Landmark | Total | Wrong Match | Error Rate |
|---|---|---|---|
| Doors | 24 | 1 | 4.17% |
| Stairs | 96 | 0 | 0 |
| Turns | 63 | 1 | 1.59% |
Comparison with other localization systems.
| Name | Zee | UnLoc | The Proposed Approach |
|---|---|---|---|
| Requirement | Floorplan | A door location | Floorplan, landmarks |
| Sensors | Acc., Gyro., Mag., (Wi-Fi) | Acc., Gyro., Mag., (Wi-Fi) | Acc., Gyro., Mag., Baro. |
| User participation | None | Some | Some |
| Accuracy | 1–2 m | 1–2 m | <1 m |
| Expression | Trajectory | Trajectory | Trajectory, semantic description |
| Extensibility | Wi-Fi RSS distribution | Landmark distribution | Semantic landmark model |
Figure 17Overall score of Zee, UnLoc and the proposed approach.
Figure 18Semantic matching of trajectories. (a) The trajectories after semantic matching; (b) the trajectory error.
Semantic matching results.
| Trajectory | Trajectory Segment | Semantic | Time Complexity | Numbers 1 |
|---|---|---|---|---|
| Trajectory information | Segment 1 (red points) | ‘Turn right’ (‘East-South’) | O(N) | 5 |
| Segment 2 (blue points) | ‘Go straight’ (‘South’) | O(7) | 2 | |
| Segment 3 (purple points) | ‘Turn right’ (‘South-West’) | O(3) | 1 |
1 The number of trajectories after semantic matching.