Precision RFID Railway Positioning System
Description
A mission-critical system designed for the identification and positioning of trains across major railway lines. The core challenge was that GPS alone lacked the precision required to determine exact track numbers in complex yard environments. The solution deployed industrial-grade RFID tags on railway sleepers and readers on locomotives, creating a highly accurate, real-time positioning network. Development started back in 2016 for SOFSE (Ferrocarriles Argentinos) across the Mitre, San MartÃn, and Belgrano Sur lines.
Technologies used
- C#
- Kotlin
- MySQL
- .NET
- Python
- RFID (Intermec/Honeywell)
- GPS Integration
- SCADA Integration
- Wireless Mesh Networks
- Custom Embedded Hardware (Honeywell IF2 I/O)
Responsibilities
- Product owner
- Backend developer
- PDA App Main developer
- System Architect
Business Impact
- Precision Tracking: Achieved exact track-level positioning, completely eliminating GPS drift and positioning errors in high-density rail yards.
- Operational Safety: Enabled real-time train detection and route verification, enhancing traffic management and regulatory compliance.
- Automated Lifecycle Management: Streamlined the deployment, georeferencing, and audit of over 1,000 tags per line, reducing manual verification time by over 90%.
- High Availability: Designed for continuous operation in harsh outdoor environments with IP67-rated hardware and robust offline/online synchronization.
Regulatory Compliance & Hardware Engineering
Railway Regulatory Framework
The system was engineered to strictly comply with Argentine National Railway Safety & Signaling Regulations, governed by the Superintendencia de Transporte Ferroviario (STF) and the Reglamento General de Circulación Ferroviario. This mandated rigorous fail-safe protocols, electromagnetic compatibility (EMC) standards, and strict logging for all signaling-related data to ensure zero interference with existing train control systems.
Custom Power Supply & SCADA Integration
- 100 V DC Locomotive Power: Standard industrial hardware lacked native support for the 100 V DC electrical architecture used across the fleet. We designed a custom, isolated power supply module with robust transient protection to safely step down and condition the voltage for onboard computing and RFID equipment.
- SCADA Network Interfacing: To integrate with legacy SCADA networks, we engineered custom hardware interfaces utilizing pull-up resistor configurations on the Honeywell IF2 I/O lines. This allowed deterministic communication with existing signaling and telemetry systems without compromising signal integrity or violating safety isolation requirements.
- Wireless Mesh Networking: Deployed a self-healing wireless mesh network to maintain reliable data backhaul across long, obstructed rail corridors where cellular coverage was unstable. The mesh topology ensured continuous telemetry streaming and remote configuration capabilities even in deep rail yards.
Key Features
- Multi-Modal Tag Verification: Supports identification via RFID, printed 2D codes, and manual parameter entry (Branch, Track, KM, Tag ID) for maximum flexibility.
- Configurable Threshold Logic: Reader software prioritizes tags with the highest read count and uses configurable thresholds to accurately report track changes without false positives.
- Offline-Capable Field Deployment: Handheld PDAs allow technicians to install, georeference, and audit tags without network connectivity, syncing automatically when back online.
- Centralized Web Dashboard: Real-time monitoring of tag status, reader health, database versions, and automated fault reporting.
- Robust Synchronization: Supports multiple update methods (WiFi, FTP, Bluetooth, GPRS) for reader databases and tag information, ensuring data consistency across distributed nodes.
Learned
- Hardware-Software Integration: Bridging industrial RFID readers, GPS modules, and handheld PDAs required rigorous protocol handling, signal filtering, and error recovery mechanisms.
- Real-Time Data Synchronization: Designed efficient push/pull architectures to keep distributed reader databases in sync with the central server while minimizing bandwidth usage.
- Industrial-Grade Deployment: Learned the importance of environmental hardening (IP67 tags, quick-dry adhesives, vibration-resistant mounting) for long-term field reliability.
- Threshold-Based Event Processing: Implemented smart filtering logic to prevent false track-change alerts caused by tag multipath reflections or overlapping signals.
Architecture
graph TB
MAIN([<b>Central DB</b> </br> MySQL])
API[<b>Web Service / API</b></br>.NET]
READERS[<b>RFID Readers</b> </br>Intermec/Honeywell]
PDAS[<b>Handheld PDAS</b> </br>Android / Windows CE]
DASHBOARD[<b>Admin Dashboard</b></br>Web Interface]
SCADA[<b>Legacy SCADA</b></br>Signaling & Telemetry]
MESH[<b>Wireless Mesh</b></br>Data Backhaul]
MAIN <--> API
API <--> READERS
API <--> PDAS
API <--> DASHBOARD
READERS --> PDAS
PDAS --> DASHBOARD
READERS <--> SCADA
API <--> MESH
Components
-
RFID Reader Logic
- Tag Identification: Reads tags, validates against internal DB, and applies prioritization logic.
- Configurable Thresholds: Determines track-change reporting based on read frequency and signal strength.
- Multi-Protocol Updates: Supports WiFi, FTP, Bluetooth, and GPRS for database synchronization.
- Fault Reporting: Automatically detects hardware anomalies and reports them to the central server.
-
PDA Application
- Tag Deployment: Guides technicians through placement, georeferencing, and initial activation.
- Offline-First Architecture: Full functionality without network connectivity; queues actions for later sync.
- Verification & Audit: Scans tags to verify location, read status, and label integrity.
- Label Printing: Direct integration with portable thermal printers for on-site tag labeling.
-
Central Web Service
- Inventory Management: Tracks all installed tags, their status, and placement history.
- Health Monitoring: Real-time dashboard for reader status, DB versions, and connection health.
- Automated Sync: Manages push/pull operations between field devices and the central database.
- Role-Based Access: Secures administrative functions with multi-level user permissions.
Main advantages
Deterministic Positioning
Replaces unreliable GPS with fixed physical markers (tags) on the railway sleepers. This guarantees exact track identification regardless of environmental conditions, signal obstruction, or yard complexity.
Scalable Deployment Architecture
The modular design allows for rapid replication across multiple railway lines. Standardized hardware, automated tag provisioning, and remote configuration minimize deployment costs and field time.
Resilient Data Synchronization
Built for unreliable network environments typical of rail yards. The system handles intermittent connectivity gracefully, using local buffering, conflict resolution, and priority-based sync queues to ensure data integrity.
Comprehensive Lifecycle Management
From initial tag installation and georeferencing to ongoing audits and replacements, the system provides a complete digital thread for every physical asset, drastically reducing administrative overhead.