Development of a low-cost NTP stratum 2 time synchronization system with hybrid RTC/NTP failover for remote Indonesian mosques

Main Article Content

Nourman Satya Irjanto
Rully Hermawan
Ajenkris Y Kungkung

Abstract

Conventional time synchronization solutions are often cost-prohibitive and infrastructure-dependent, making them unsuitable for remote regions. This study develops a low-cost, Raspberry Pi 3-based NTP Stratum 2 system for areas with unstable cellular networks. It integrates NTP.bmkg.go.id as its primary source and a DS3231 RTC module for backup during outages. Testing covered: (1) Time Accuracy (0.12s average offset in stable 4G; 0.85s/hour drift in RTC mode), (2) Failover & Recovery (3.1s transition to RTC), (3) Load & Stability (15 NTP clients with 12.1ms latency), and (4) Power Efficiency (2.8W online; 1.2W offline). Results confirm the system’s reliability in maintaining sub-second accuracy amid network instability while being highly energy-efficient. The study offers recommendations for active cooling, GPS-assisted RTC calibration, and solar-powered integration to improve scalability in rural applications. The novelty of this work lies in its pragmatic hybrid architecture, combining affordable software-defined NTP with hardware-based RTC failover, tailored for infrastructural constraints. Its contribution is a validated, replicable model that delivers reliable time synchronization at a fraction of commercial costs, addressing critical gaps in affordable timekeeping for infrastructure-limited regions.

Downloads

Download data is not yet available.

Article Details

How to Cite
[1]
N. S. . Irjanto, R. Hermawan, and A. Y. Kungkung, “Development of a low-cost NTP stratum 2 time synchronization system with hybrid RTC/NTP failover for remote Indonesian mosques”, J. Soft Comput. Explor., vol. 6, no. 3, pp. 199-205, Nov. 2025.
Section
Articles

References

N. Pambudiyatno, M. R. K. Putra, and A. Pragolo, “NTP Server Design as a Mitigation of Time Difference at Perum LPPNPI Kendari Branch,” SAINSTECH Nusant., vol. 1, no. 3, pp. 38–48, 2024.

P. Wu, “Time Synchronization Protocols for Industrial Use Cases: A Performance Review of NTP and PTP and a Wireless-aware Enhancement.” 2024.

S. S. Nande and others, “Satellite-based positioning enhanced by quantum synchronization,” Comput. Networks, vol. 254, 2024.

A. Schmetz, T. H. Lee, D. Zontar, and C. Brecher, “The Time Synchronization Problem in data-intense Manufacturing,” in Procedia CIRP, 2022, pp. 827–832.

H. Jin, G. H. Jeon, H. W. A. Choi, S. Jeon, and J. T. Seo, “A threat modeling framework for IoT-Based botnet attacks,” Heliyon, vol. 10, no. 20, 2024.

K. B, D. R, B. B. Sinha, and G. R, “Clock synchronization in industrial Internet of Things and potential works in precision time protocol: Review, challenges and future directions,” 2023.

A. Schmetz, T. Ackermann, A. Fitzner, V. Steinhoff, and A. Kampker, “BioSync: Offline-Synchronization of time-series data using bio-inspired semantic synchronization strategies,” in Procedia CIRP, 2023, pp. 655–660.

Z. Du, S. Zhang, Z. Yao, Z. Zhou, and M. Tariq, “Attack-detection and multi-clock source cooperation-based accurate time synchronization for PLC-AIoT in smart parks,” Digit. Commun. Networks, 2023.

Y. Dang, M. Bodenbenner, D. Wolfschläger, and R. Schmitt, “Enhancing industrial IoT with time synchronisation: Integrating PTP and gPTP for metrology networks in the factory of the future,” in Measurement: Sensors, 2025.

H. Andrianto, Y. Susanthi, and D. Suryadi, “Performance evaluation of low-cost GPS time server based on NTP,” Telkomnika, vol. 16, no. 6, pp. 2528–2535, 2018.

L. Tello-Cifuentes, S. Acero, J. Marulanda, P. Thomson, and J. J. Barona, “Implementation of a low-cost comprehensive pavement inspection system,” Transp. Eng., vol. 18, 2024.

S. Kotsilitis, E. C. Marcoulaki, and E. Kalligeros, “A versatile, low-cost monitoring device suitable for non-intrusive load monitoring research purposes,” Meas. Sensors, vol. 32, p. 101081, 2024.

P. Stadler, A. H. Farnleitner, and M. Zessner, “Development and evaluation of a self-cleaning custom-built auto sampler controlled by a low-cost RaspberryPi microcomputer for online enzymatic activity measurements,” Talanta, vol. 162, pp. 390–397, 2017.

D. P. A. Marins, W. S. Costa, B. P. S. Rocha, J. R. Celestrini, C. E. Alvarez, and M. E. V Segatto, “Low-cost chronobiological monitoring: A tested IoT-enabled diagnostic tool in tropical and Antarctic environments,” Internet of Things, vol. 29, 2025.

S. Lazzaro, V. De Angelis, A. M. Mandalari, and F. Buccafurri, “A black-box assessment of authentication and reliability in consumer IoT devices,” Pervasive Mob. Comput., vol. 110, 2025.

Abstract viewed = 0 times