A Data-Driven Factor Graph Model for Anchor-Based Positioning
Abstract
:1. Introduction
- (1)
- State of the art and motivation:
- (2)
- Why data-driven factor graph models?
1.1. Main Objectives
- The design, development, and testing of a hybrid structure (which involves data and modeling approaches) to address models for positioning from a Bayesian point of view, customizing them for each technology and scenario;
- The study and development of techniques based on machine deep learning and specifically factor graph modeling to improve positioning in good, intermediate, and challenging scenarios. In the presented case, anchor-based positioning techniques with lateration using radio devices (UWB, IEEE 802.15.4) were considered;
- To use both simulated data and collected real data to test the data-driven factor graph model and its convergence. The algorithm was tested with simulated data in [22]; however, the present work evaluated and studied the algorithm more completely with simulations. Additionally, real-life data from a collected and published dataset [23] were used to obtain more complete results. The dataset was based on data collected from commercial UWB-based devices, in benign, intermediate and, challenging positioning scenarios.
1.2. Main Contributions and Outline
- Section 2 describes the proposed system model for anchor-based positioning and for the FG: nodes, scenarios, WGDOP metric, ranging model, and positioning with least squares methods. The considered FG is a linear system; thus, the ranging model is linearized with the Taylor series and an iterative method is introduced in the FG;
- Section 3 presents the proposed FG algorithm, which avoids loops. This work is a more complete extension of the paper in [22]. Therefore, there are parts of this work similar to the prior paper. However, there are many new contributions. Thus, for convenience the algorithm is presented as in [22]. However, in this current work, the FG is explained in more detail with the messages of BP (Section 3.3), the pseudocode, and details of the iterative algorithm. Moreover, in that section, the grouping of distances is explained and also how the position solution of each group is weighted based on its covariance related to the WGDOP metric. The iterative method is explained in the pseudocode of the algorithm (Section 3.4). The FG-based algorithm is a data-model hybrid structure, whose model learns from the data. It is an iterative algorithm, until converging on the solution;
- Section 4 details the results with real and simulated data and the convergence of the algorithm to an optimal solution for both cases. Although the algorithm was presented in [22], it was only tested with simulated input data. The present work evaluated and studied the algorithm more completely with simulations. Additionally, real-life data from a collected and published dataset [23] are used to obtain results. The dataset is based on data collected from commercial UWB-based devices, in benign, intermediate, and challenging positioning scenarios. The positioning results of the algorithm show that the presented FG algorithm achieved better results than an UWB commercial solution and classical approaches (iterative LS and WLS algorithms) in various scenarios with different conditions in terms of geometry and propagation conditions for anchor-based positioning.
- Section 6 draws some conclusions.
2. System Model for Anchor-Based Positioning
2.1. Scenarios
2.2. Linearized Ranging Model
2.3. Positioning with Least Squares Methods in a Linear Setting
3. Factor Graph Model for Anchor-Based Positioning
3.1. Factor Graph with Loops
3.2. Factor Graph Avoiding Loops (or Intermediate Solution)
3.3. Messages between the Components of the Factor Graph
3.4. Pseudocode of a Factor Graph-Based Algorithm That Avoids Loops
- are the distances from the tag to the anchor nodes, and are the anchor node coordinates;
- Variables are initialized with statistics from the distances of the dataset.
Algorithm 1 Factor graph avoiding loops (Figure 3) |
|
4. Results and Discussion
4.1. Simulation Results
4.2. Results with Real Collected Data
4.2.1. Datasets of Collected Data
- Distances to anchor nodes: the update rate of the DWM1001 systems was set to 10 Hz;
- Position of the tag node: this was collected from the USB of the tag node. The location update rate was set to 10 Hz. Position was estimated by the tag node when three conditions were met: (i) tag node had three or more tag-anchor distances estimated; (ii) internal location engine (LE) of the tag node was enabled. LE reported the position and quality factor; and (iii) positions of anchor nodes had to be stored in the memory of the anchor node;
- Position quality factor: this is a parameter whose value ranges from 0 to 100, with a value close to 100 indicative of good positional quality. More details can be found in the datasheet of the DWM1001 device and in the published dataset description [23].
4.2.2. Scenario Settings
4.2.3. Results: Challenging Scenarios
4.2.4. Results: Good Scenarios
4.2.5. Results: Intermediate Scenarios
4.3. End Remarks
5. Methods
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Sample Availability
Abbreviations
FG | Factor Graph |
WGDOP | Weighted Geometric Dilution Of Precision |
UWB | Ultra-Wide Band |
GNSS | Global Navigation Satellite System |
LOS | Line of Sight |
NLOS | Non-Line Of Sight |
ML | Machine Learning |
LS | Least Square |
WLS | Weighted Least Square |
DW | DWM1001 modules (MDEK1001 system from Decawave, Qorvo) |
BP | Belief Propagation |
PHY | Physical layer |
TOA | Time-Of-Arrival |
TW-TOA | Two-Way Time-Of-Arrival ranging protocol |
SDS TW-TOA | Symmetric Double Sided TW-TOA protocol |
MAC | Medium Access Control layer |
BN | Bayesian Network |
RMSE | Root Mean Square Error |
Appendix A
- The message from variable to factor is the product of all the messages coming from the other neighboring nodes to the variable node:
- The message from factor to variable (A2) is the product of the local function associated with the factor and all the messages coming from the other neighboring variable nodes to the agent node, summarized over all the related variables, except for the variable associated with the variable node receiving the message. In (A2), the message from a factor to a variable represents the marginal of the joint distribution, and the factors f represent the conditional probabilities.
References
- Groves, P. Principles of GNSS, Inertial, and Multisensor Integrated Navigation Systems, 2nd ed.; Artech House: Boston, MA, USA, 2013. [Google Scholar]
- Bourdoux, A.; Barreto, A.N.; van Liempd, B.; de Lima, C.; Dardari, D.; Belot, D.; Lohan, E.S.; Seco-Granados, G.; Sarieddeen, H.; Wymeersch, H.; et al. 6G White Paper on Localization and Sensing. arXiv 2020, arXiv:2006.01779. [Google Scholar]
- Grejner-Brzezinska, D.A.; Toth, C.K.; Moore, T.; Raquet, J.F.; Miller, M.M.; Kealy, A. Multisensor Navigation Systems: A Remedy for GNSS Vulnerabilities? Proc. IEEE 2016, 104, 1339–1353. [Google Scholar] [CrossRef]
- Arribas, J.; Navarro, M.; Moragrega, A.; Calero, D.; Fernández, E.; Vilà-Valls, J.; Fernández-Prades, C. A technology agnostic GNSS/INS real time sensor fusion platform with UWB cooperative distance measurements for terrestrial vehicle navigation. In Proceedings of the 31st International Technical Meeting of the Satellite Division of The Institute of Navigation (ION GNSS+ 2018), Miami, FL, USA, 24–28 September 2018. [Google Scholar] [CrossRef]
- Dardari, D.; Closas, P.; Djurić, P.M. Indoor Tracking: Theory, Methods, and Technologies. IEEE Trans. Veh. Technol. 2015, 64, 1263–1278. [Google Scholar] [CrossRef] [Green Version]
- Wymeersch, H.; Marano, S.; Gifford, W.M.; Win, M.Z. A Machine Learning Approach to Ranging Error Mitigation for UWB Localization. IEEE Trans. Commun. 2012, 60, 1719–1728. [Google Scholar] [CrossRef] [Green Version]
- Nessa, A.; Adhikari, B.; Hussain, F.; Fernando, X.N. A Survey of Machine Learning for Indoor Positioning. IEEE Access 2020, 8, 214945–214965. [Google Scholar] [CrossRef]
- Wu, X.; Xiao, B.; Wu, C.; Guo, Y.; Li, L. Factor graph based navigation and positioning for control system design: A review. Chin. J. Aeronaut. 2021, 35, 25–39. [Google Scholar] [CrossRef]
- Gulati, D.; Zhang, F.; Clarke, D.; Knoll, A. Vehicle infrastructure cooperative localization using Factor Graphs. In Proceedings of the IEEE Intelligent Vehicles Symposium (IV), Gothenburg, Sweden, 19–22 June 2016; pp. 1085–1090. [Google Scholar] [CrossRef] [Green Version]
- Dellaert, F.; Kaess, M. Factor graphs for robot perception. Found. Trends Robot. 2017, 6, 1–139. [Google Scholar] [CrossRef]
- Wen, W.; Tim, T.; Bai, X.; Hsu, L. Factor graph optimization for GNSS/INS integration: A comparison with the extended Kalman filter. NAVIGATION 2021, 68, 315–331. [Google Scholar] [CrossRef]
- Loeliger, H.A. An introduction to factor graphs. IEEE Signal Process. Mag. 2004, 21, 28–41. [Google Scholar] [CrossRef] [Green Version]
- Bishop, C.M. Model-based machine learning. Philos. Trans. Ser. Math. Phys. Eng. Sci. 2013, 371, 20120222. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Yu, K.; Wen, K.; Li, Y.; Zhang, S.; Zhang, K. A Novel NLOS Mitigation Algorithm for UWB Localization in Harsh Indoor Environments. IEEE Trans. Veh. Technol. 2019, 68, 686–699. [Google Scholar] [CrossRef]
- Decawave Ltd. (Qorvo). MDEK1001 Product Brief. Product Documentation, v1.2. 2017, pp. 1–2. Available online: https://www.qorvo.com/products/d/da007958 (accessed on 1 January 2021).
- Bishop, C.M. Pattern Recognition and Machine Learning; Springer: New York, NY, USA, 2006; ISBN 8132209060. [Google Scholar]
- Koller, D.; Friedman, N. Probabilistic Graphical Models: Principles and Techniques—Adaptive Computation and Machine Learning; The MIT Press: Boston, MA, USA, 2009; ISBN 9780262013192. [Google Scholar]
- Kschischang, F.R.; Frey, B.J.; Loeliger, H.A. Factor graphs and the sum-product algorithm. IEEE Trans. Inform. Theory 2001, 47, 498–519. [Google Scholar] [CrossRef] [Green Version]
- Li, B.; Wu, Y.-C. Convergence Analysis of Gaussian Belief Propagation Under High-Order Factorization and Asynchronous Scheduling. IEEE Trans. Signal Process. 2019, 67, 2884–2897. [Google Scholar] [CrossRef]
- Moragrega, A. Optimization of Positioning Capabilities in Wireless Sensor Networks: From Power Efficiency to Medium Access. Ph.D. Thesis, Department de Teoria del Senyal i Comunicacions, University UPC, Barcelona, Spain, 2016. Available online: http://hdl.handle.net/2117/96266 (accessed on 1 April 2016).
- IEEE Std 802.15.4-2011 (Revision of IEEE Std 802.15.4-2006); IEEE Standard for Local and Metropolitan Area Networks–Part 15.4: Low-Rate Wireless Personal Area Networks (LR-WPANs). IEEE: New York, NY, USA, 5 September 2011; pp. 1–314. Available online: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=6012487&isnumber=6012486 (accessed on 1 March 2020). [CrossRef]
- Moragrega, A.; Fernández-Prades, C. Data Fusion with Model-Based Machine Learning for Weighted Least Squares Based Positioning. In Proceedings of the 14th International Conference on Signal Processing and Comm. Systems (ICSPCS), Adelaide, Australia, 14–16 December 2020; pp. 1–6. [Google Scholar] [CrossRef]
- Moragrega, A. Datasets of Indoor UWB Measurements for Ranging and Positioning in Good and Challenging Scenarios. Zenodo, 2022. Available online: https://zenodo.org/record/5095373 (accessed on 7 February 2022).
- Moragrega, A.; Closas, P.; Ibars, C. Supermodular Game for Power Control in TOA-Based Positioning. IEEE Trans. Signal Process. 2013, 61, 3246–3259. [Google Scholar] [CrossRef]
- Indoor Navigation Lab of the Centre Tecnològic de Telecomunicacions de Catalunya (CTTC/CERCA). Available online: http://www.cttc.es/indoor-navigation-lab/ (accessed on 1 May 2022).
Messages | (Random Variable; Mean, Covariance) |
---|---|
, | |
LS: | |
WLS: | |
Scenario | N (Number of Anchor Nodes) | Nodes | Conditions | Geometry |
---|---|---|---|---|
A1 (Challen.) | 3 | WALL1c;3;6 | hard NLOS | Easy |
A2 (Challen.) | 4 | WALL1d;7 | hard NLOS | Medium |
1c;1b | LOS | |||
A3 (Challen.) | 3 | WALL1c;7;1b | hard NLOS | Medium |
A4 (Challen.) | 4 | WALL1d;1b;1a | hard NLOS | Challen. |
1c | LOS | |||
B (Good) | 4 | WALL1c;3;5;6 | LOS | Easy |
C1 (Interm.) | 4 | 1c;1d;1b;7 | soft NLOS | Medium |
C2 (Interm.) | 4 | 1c;1d;1b;1a | soft NLOS | Challen. |
Scenario | N | Nodes | (m) |
---|---|---|---|
A1 | 3 | WALL1c;3;6 | (4.6369; 2.8964; 2.9455)/100 |
A2 | 4 | WALL1c;1d;1b;7 | (2.4827;4.7230;2.2134; 4.1242)/100 |
A3 | 3 | WALL1c;1b;7 | (2.5513;2.2483; 6.2294)/100 |
A4 | 4 | WALL1c;1d;1b;1a | (1.8314;2.0573;2.1580; 2.7375)/100 |
B | 4 | WALL1c;3;5;6 | (2.1805;2.0980;3.0475; 2.8364)/100 |
C1 | 4 | WALL1c;1d;1b;7 | (2.3584;2.8442;2.3765; 3.2908)/100 |
C2 | 4 | WALL1c;1d;1b;1a | (1.9697;2.9474;2.4565; 2.0166)/100 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Moragrega, A.; Fernández-Prades, C. A Data-Driven Factor Graph Model for Anchor-Based Positioning. Sensors 2023, 23, 5660. https://doi.org/10.3390/s23125660
Moragrega A, Fernández-Prades C. A Data-Driven Factor Graph Model for Anchor-Based Positioning. Sensors. 2023; 23(12):5660. https://doi.org/10.3390/s23125660
Chicago/Turabian StyleMoragrega, Ana, and Carles Fernández-Prades. 2023. "A Data-Driven Factor Graph Model for Anchor-Based Positioning" Sensors 23, no. 12: 5660. https://doi.org/10.3390/s23125660
APA StyleMoragrega, A., & Fernández-Prades, C. (2023). A Data-Driven Factor Graph Model for Anchor-Based Positioning. Sensors, 23(12), 5660. https://doi.org/10.3390/s23125660