Submitted:
15 April 2026
Posted:
16 April 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Experimental Setup and Hardware
2.2. Dataset
2.3. Algorithm Pipeline
Stage 1: CUSUM Change-Point Detection
Stage 2: Window Merging
Stage 3: Beacon-Pair Validation and Partial-Pass Rejection
Stage 4: Normalised temporal centroid classification
Stage 5: Cascade Fallback — Normalised peak-time difference and Max-Split
2.4. Algorithm Parameter Summary
2.5. Parameter Selection Protocol
2.6. Evaluation Protocol
3. Results
3.1. Overall Pipeline Accuracy
3.2. Confusion Matrix
3.3. Ablation Study — Feature and Classifier Analysis
3.4. Feature Distributions and Statistical Separation
3.5. Per-Class Precision, Recall, and F1-Score
3.6. Sensitivity Analysis
| Accuracy | Change | |
| 0.04 | 94.7% | −2.0 pp |
| 0.06 | 96.0% | −0.7 pp |
| 0.08 (baseline) | 96.7% | — |
| 0.10 | 96.7% | 0.0 pp |
| 0.12 | 96.0% | −0.7 pp |
| 0.15 | 95.4% | −1.3 pp |
3.7. Paired Statistical Tests
3.8. Robustness Analysis
3.8.1. RSSI Noise Injection
3.8.2. Packet Loss Simulation
4. Discussion
4.1. Why Normalised Temporal Centroid Works: Physical Interpretation
4.2. Pipeline Design Choices and Trade-Offs
4.3. Before-Edge: Fundamental Sensing Geometry Limit
4.4. Applicability and Operational Context
4.5. Limitations and Future Work
5. Conclusions
Author Contributions
Funding
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| AoA | Angle of Arrival |
| AoD | Angle of Departure |
| BLE | Bluetooth Low Energy |
| CI | Confidence Interval |
| CUSUM | Cumulative Sum |
| EDGE | Edge gateway (inter-track side) |
| GNSS | Global Navigation Satellite System |
| INNER | Inner gateway (outer side) |
| IoT | Internet of Things |
| LOO-CV | Leave-One-Out Cross-Validation |
| MAC | Media Access Control address |
| MS | Max-Split (classifier) |
| RF | Random Forest |
| RFID | Radio Frequency Identification |
| RSSI | Received Signal Strength Indicator |
| SG | Savitzky-Golay filter |
| SIL | Safety Integrity Level |
| StMS | Station Management System |
| TC | Temporal Centroid |
| TLM | Telemetry (Eddystone-TLM format) |
| TSTU | Tashkent State Transport University |
| UNDEFINED | Undetermined direction output (no record emitted) |
| Wilson CI | Wilson Score Confidence Interval |
References
- Moya, I.; Perez, A.; Zabalegui, P.; De Miguel, G.; Losada, M.; Amengual, J.; Adin, I.; Mendizabal, J. Freight Wagon Digitalization for Condition Monitoring and Advanced Operation. Sensors 2023, 23, 7448. [Google Scholar] [CrossRef]
- Zanelli, F.; Mauri, M.; Castelli-Dezza, F.; Sabbioni, E.; Tarsitano, D.; Debattisti, N. Energy Autonomous Wireless Sensor Nodes for Freight Train Braking Systems Monitoring. Sensors 2022, 22, 1876. [Google Scholar] [CrossRef]
- Nexxiot - Asset Intelligence for Rail and Intermodal. Available online: https://nexxiot.com/ (accessed on 3 April 2026).
- Groshev, V. On Location of Axle Counters at Station Necks. Transport automation research 2022, 8, 162–177. [Google Scholar] [CrossRef]
- Olaby, O.; Hamadache, M.; Soper, D.; Winship, P.; Dixon, R. Development of a Novel Railway Positioning System Using RFID Technology. Sensors 2022, 22, 2401. [Google Scholar] [CrossRef] [PubMed]
- Xu, J.; Li, Z.; Zhang, K.; Yang, J.; Gao, N.; Zhang, Z.; Meng, Z. The Principle, Methods and Recent Progress in RFID Positioning Techniques: A Review. IEEE Journal of Radio Frequency Identification 2023, 7, 50–63. [Google Scholar] [CrossRef]
- Chang, M.-C.; Zhao, G.; Pandey, A.K.; Pulver, A.; Tu, P. Railcar Detection, Identification and Tracking for Rail Yard Management. In Proceedings of the 2020 IEEE International Conference on Image Processing (ICIP), October 2020; pp. 2271–2275. [Google Scholar]
- Laroca, R.; Boslooper, A.C.; Menotti, D. Automatic Counting and Identification of Train Wagons Based on Computer Vision and Deep Learning 2020.
- Hernandez, R.; Mujica, G.; Portilla, J.; Parrilla, F. Internet of Things Technology for Train Positioning and Integrity in the Railway Industry Domain. In Proceedings of the NOMS 2023-2023 IEEE/IFIP Network Operations and Management Symposium, May 2023; pp. 1–6. [Google Scholar]
- Capitão, P.; Pinho, P.; Carvalho, N.B. Reconfigurable IoT Solution for Train Integrity and Monitoring. IEEE Internet of Things Journal 2024, 11, 22257–22268. [Google Scholar] [CrossRef]
- Wilson, J.; Patwari, N. Radio Tomographic Imaging with Wireless Networks. IEEE Trans. on Mobile Comput. 2010, 9, 621–632. [Google Scholar] [CrossRef]
- Faragher, R.; Harle, R. Location Fingerprinting With Bluetooth Low Energy Beacons. IEEE J. Select. Areas Commun. 2015, 33, 2418–2428. [Google Scholar] [CrossRef]
- Ramirez, R.; Huang, C.-Y.; Liao, C.-A.; Lin, P.-T.; Lin, H.-W.; Liang, S.-H. A Practice of BLE RSSI Measurement for Indoor Positioning. Sensors 2021, 21, 5181. [Google Scholar] [CrossRef]
- Flueratoru, L.; Shubina, V.; Niculescu, D.; Lohan, E.S. On the High Fluctuations of Received Signal Strength Measurements With BLE Signals for Contact Tracing and Proximity Detection. IEEE Sensors Journal 2022, 22, 5086–5100. [Google Scholar] [CrossRef]
- Achalla, M.; Mack, K.; Banavar, M.K.; Vanitha, M.; Krishnamoorthi, H. Statistical Methods for Fast LOS Detection for Ranging and Localization. In Proceedings of the 2020 International Conference on Emerging Trends in Information Technology and Engineering (ic-ETITE), February 2020; pp. 1–5. [Google Scholar]
- Taşkan, A.K.; Alemdar, H. Obstruction-Aware Signal-Loss-Tolerant Indoor Positioning Using Bluetooth Low Energy. Sensors 2021, 21. [Google Scholar] [CrossRef] [PubMed]
- Parmar, M.; Kelly, P.; Berry, D. Effects of Body Occlusion on Bluetooth Low Energy RSSI in Identifying Close Proximity of Pedestrians in Outdoor Environments. In Proceedings of the 2022 IEEE International Smart Cities Conference (ISC2), September 2022; pp. 1–7. [Google Scholar]
- Tian, X.; Wu, S.; Zhang, X.; Du, L.; Fan, S. RSSI-WSDE: Wireless Sensing of Dynamic Events Based on RSSI. Sensors 2024, 24, 4952. [Google Scholar] [CrossRef]
- Asim, M.; Aatif, M.; Mufti, N. Investigating the Effects of Metal Obstructions on Radio Propagation in 2.4 GHz ISM Band. In Proceedings of the 2021 8th International Conference on Computer and Communication Engineering (ICCCE), June 2021; pp. 162–167. [Google Scholar]
- Elizalde, J.; Arriola, A.; Roset, M.; López, I.; Straub, M. Design and Validation of a Wireless Network for Intra-Train Communications. In Proceedings of the 2024 18th European Conference on Antennas and Propagation (EuCAP), March 2024; pp. 1–5. [Google Scholar]
- De Raeve, N.; Verhaevert, J.; Van Torre, P.; Ronse, F.; Rogier, H. BLE-Based Power Efficient WSN for Industrial IoT Train Integrity Monitoring. In Proceedings of the 2022 7th International Conference on Smart and Sustainable Technologies (SpliTech), July 2022; pp. 1–6. [Google Scholar]
- Lazarescu, M.T.; Poolad, P. Asynchronous Resilient Wireless Sensor Network for Train Integrity Monitoring. IEEE Internet of Things Journal 2021, 8, 3939–3954. [Google Scholar] [CrossRef]
- Cantón Paterna, V.; Calveras Augé, A.; Paradells Aspas, J.; Pérez Bullones, M. A Bluetooth Low Energy Indoor Positioning System with Channel Diversity, Weighted Trilateration and Kalman Filtering. Sensors 2017, 17, 2927. [Google Scholar] [CrossRef]
- Dujić Rodić, L.; Perković, T.; Županović, T.; Šolić, P. Sensing Occupancy through Software: Smart Parking Proof of Concept. Electronics 2020, 9, 2207. [Google Scholar] [CrossRef]
- Nikodem, M.; Bawiec, M. Experimental Evaluation of Advertisement-Based Bluetooth Low Energy Communication. Sensors 2019, 20, 107. [Google Scholar] [CrossRef]
- Park, P.; Marco, P.D.; Jung, M.; Santucci, F.; Sung, T.K. Multidirectional Differential RSS Technique for Indoor Vehicle Navigation. IEEE Internet of Things Journal 2023, 10, 241–253. [Google Scholar] [CrossRef]
- Goto, I.; Ueda, K.; Matsuda, Y.; Suwa, H.; Yasumoto, K. BLESS: BLE Based Street Sensing for People Counting and Flow Direction Estimation. In Proceedings of the 2024 IEEE International Conference on Pervasive Computing and Communications Workshops and other Affiliated Events (PerCom Workshops), March 2024; pp. 76–81. [Google Scholar]
- Lee, H.-C.; Lin, T.-T. Low-Cost Indoor Human Tracking by Utilizing Fluctuation of Received Radio Signal Strength. IEEE Sensors Journal 2020, 20, 13029–13036. [Google Scholar] [CrossRef]
- Maus, G.; Brückmann, D. A Non-Intrusive, Single-Sided Car Traffic Monitoring System Based on Low-Cost BLE Devices. In Proceedings of the 2020 IEEE International Symposium on Circuits and Systems (ISCAS), October 2020; pp. 1–5. [Google Scholar]
- Yoo, J. Change Detection of RSSI Fingerprint Pattern for Indoor Positioning System. IEEE Sensors Journal 2020, 20, 2608–2615. [Google Scholar] [CrossRef]
- Kaltiokallio, O.; Yiğitler, H. Movement Detection Using A Reciprocal Received Signal Strength Model. In Proceedings of the ICASSP 2021 - 2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), June 2021; pp. 8318–8322. [Google Scholar]
- KV, K.C.; Chattopadhyay, A.; Kumar, A.; Sundaresan, R. Quickest Change Point Detection with Measurements over a Lossy Link. In Proceedings of the 2023 62nd IEEE Conference on Decision and Control (CDC), December 2023; pp. 4843–4848. [Google Scholar]
- Gerhátová, Z.; Zitrický, V.; Klapita, V. Industry 4.0 Implementation Options in Railway Transport. Transportation Research Procedia 2021, 53, 23–30. [Google Scholar] [CrossRef]
- Page, E.S. Continuous Inspection Schemes. Biometrika 1954, 41, 100. [Google Scholar] [CrossRef]
- Basseville, M.; Nikiforov, I.V. Detection of Abrupt Changes: Theory and Application.
- Lopes, J.F.; Barbon Junior, S.; De Melo, L.F. Online Meta-Recommendation of CUSUM Hyperparameters for Enhanced Drift Detection. Sensors 2025, 25, 2787. [Google Scholar] [CrossRef] [PubMed]
- Savitzky, Abraham.; Golay, M.J.E. Smoothing and Differentiation of Data by Simplified Least Squares Procedures. Anal. Chem. 1964, 36, 1627–1639. [Google Scholar] [CrossRef]
- Wilson, E.B. Probable Inference, the Law of Succession, and Statistical Inference. Journal of the American Statistical Association 1927, 22, 209–212. [Google Scholar] [CrossRef]
- Cohen, J. Statistical Power Analysis for the Behavioral Sciences, 2nd ed.; L. Erlbaum Associates: Hillsdale, N.J, 1988; ISBN 978-0-8058-0283-2. [Google Scholar]










| Category | Label | n | Speed | Description |
| Forward | FORWARD | 30 | ≤10 km/h | Full forward pass, slow speed |
| Backward | BACKWARD | 28 | ≤10 km/h | Full backward pass, slow speed |
| 40 km/h forward | FORWARD | 12 | ~40 km/h | Full forward pass at medium speed |
| 50 km/h forward | FORWARD | 14 | ~50 km/h | Full forward pass at high speed |
| Before-EDGE | UNDEFINED | 20 | varies | Wagon approaches EDGE, does not enter zone |
| After-EDGE-before-INNER | UNDEFINED | 20 | varies | Wagon enters zone partially, reverses |
| Left path | UNDEFINED | 10 | varies | Wagon travels left of gateways (no shielding) |
| Right path | UNDEFINED | 17 | varies | Wagon travels right of gateways (no shielding) |
| Total | — | 151 | — |
| Parameter | Symbol | Value | Physical Justification |
| CUSUM upward threshold | h | 8 | Requires ~8 successive above-baseline packets |
| CUSUM slack | k | 2 dBm | Absorbs BLE ±3–5 dBm fluctuation |
| Baseline packets | 50 | ~12.5 s of pre-event ambient signal | |
| Min. window duration | 10 s | Shortest observed full pass at low speed | |
| Max. window duration | 120 s | Handles stopped wagons without overflow | |
| Packet timeout | 3 s | 24 × 100 ms BLE interval without packet | |
| Merge gap | 5 s | Empirical max fragment gap (4.2 s observed) | |
| Peak-diff threshold | −12 dBm | Separates After-edge (−22..−12) from full pass (−14..+13) | |
| Symmetry threshold | 0.95 | Before-edge events: sym ≈ 0.87–0.98 | |
| ΔTC bypass threshold | 3.0 s | Full-pass | | ≥ 3.48 s; Before-edge < 1.69 s |
|
| TC normalised threshold | 0.08 | Speed-invariant; valid 5–50 km/h | |
| Normalised peak-time difference threshold | 0.05 | Normalised peak shift for short windows | |
| Max-Split threshold | 1.0 dBm | Amplitude difference after/before EDGE peak | |
| Window duration gate in normalised peak-time difference threshold | 15 s | Excludes Before-edge (18–35 s) from normalised peak-time difference threshold | |
| SG filter window | 21 pts | ~21 s smoothing at 100 ms packet rate | |
| SG polynomial order | 2 | Preserves peak shape |
| Category | n | Correct | Errors | Accuracy | 95% Wilson CI |
| ahead / oldiga (FORWARD) | 30 | 30 | 0 | 100.0% | [88.6%, 100%] |
| back / orqaga (BACKWARD) | 28 | 28 | 0 | 100.0% | [87.9%, 100%] |
| 40 km/h — TSTU (FORWARD) | 12 | 12 | 0 | 100.0% | [75.7%, 100%] |
| 50 km/h — TSTU (FORWARD) | 14 | 14 | 0 | 100.0% | [78.5%, 100%] |
| Before-edge (UNDEFINED) | 20 | 15 | 5 | 75.0% | [53.1%, 88.8%] |
| After-edge (UNDEFINED) | 20 | 20 | 0 | 100.0% | [83.9%, 100%] |
| Left path (UNDEFINED) | 10 | 10 | 0 | 100.0% | [72.2%, 100%] |
| Right path (UNDEFINED) | 17 | 17 | 0 | 100.0% | [81.6%, 100%] |
| Total | 151 | 146 | 5 | 96.7% | [92.5%, 98.6%] |
| True \ Predicted | FORWARD | BACKWARD | UNDEFINED |
| FORWARD (n=56) | 56 | 0 | 0 |
| BACKWARD (n=28) | 0 | 28 | 0 |
| UNDEFINED (n=67) | 3 | 2 | 62 |
| Classifier | Correct | Err | Undef | Accuracy | 95% Wilson CI |
| Threshold | 133 | 12 | 62 | 88.1% | [81.9%, 92.3%] |
| Normalized peak-time difference | 139 | 9 | 61 | 92.1% | [86.6%, 95.4%] |
| Normalized temporal centroid | 141 | 1 | 75 | 93.4% | [88.2%, 96.4%] |
| Max-Split | 141 | 5 | 67 | 93.4% | [88.2%, 96.4%] |
| Hybrid (proposed) | 146 | 5 | 62 | 96.7% | [92.5%, 98.6%] |
| Feature | FORWARD mean ± SD | BACKWARD mean ± SD | Cohen's d | t-stat | p-value |
| +0.12 ± 0.09 | −0.15 ± 0.07 | 3.40 | t = 14.8 | < 0.001 | |
| +15.5 ± 8.1 | −20.8 ± 5.0 | 5.30 | t = 21.5 | < 0.001 | |
| +0.13 ± 0.10 | −0.18 ± 0.06 | 3.55 | t = 16.2 | < 0.001 |
| Class | n | Precision | Recall | F1-score | Interpretation |
| FORWARD | 56 | 0.949 | 1.000 | 0.974 | No wrong-direction errors; 3 FP from Before-edge events |
| BACKWARD | 28 | 0.933 | 1.000 | 0.966 | No wrong-direction errors; 2 FP from Before-edge events |
| UNDEFINED | 67 | 1.000 | 0.925 | 0.961 | All direction events correctly classified; 5 FN (Before-edge) |
| Macro avg | 151 | 0.961 | 0.975 | 0.967 | Balanced across all three classes |
| Comparison |
A corr/ B wrong |
A wrong/ B corr |
mid-p | Result |
| Hybrid vs | 8 | 1 | 0.022 | Significant (p < 0.05) |
| Hybrid vs | 5 | 0 | 0.031 | Significant (p < 0.05) |
| Hybrid vs | 9 | 4 | 0.180 | Not significant |
| vs | 10 | 8 | 0.648 | Not significant |
| Noise σ (dBm) | Accuracy | Change from baseline | Operational status |
| 0 (baseline) | 96.7% | — | ✓ Normal |
| 1 | 95.4% | −1.3 pp | ✓ Normal |
| 2 | 94.7% | −2.0 pp | ✓ Normal |
| 3 | 94.0% | −2.7 pp | ✓ Normal |
| 4 | 92.7% | −4.0 pp | ✓ Acceptable |
| 5 | 90.7% | −6.0 pp | ✓ Acceptable (worst-case metallic env.) |
| 6 | 90.7% | −6.0 pp | ~ Marginal |
| Packet loss | Accuracy (mean ± SD) | Change from baseline | Operational status |
| 0% (baseline) | 96.7% ± 0.0% | — | ✓ Normal |
| 10% | 95.4% ± 0.5% | −1.3 pp | ✓ Normal (typical BLE range) |
| 20% | 91.6% ± 1.4% | −5.1 pp | ✓ Acceptable |
| 30% | 89.4% ± 0.9% | −7.3 pp | ~ Marginal (severe conditions) |
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. |
© 2026 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 (http://creativecommons.org/licenses/by/4.0/).