窄带物联网智能燃气表通信中的时钟同步方法设计
Design of clock synchronization method in narrowband Internet of Things smart gas meter communication
在基于窄带物联网(Narrow Band Internet of Things,简称 NB-IoT)的智能燃气表表具和远端数据采集系统进行远程通信时,需要对通信两端进行系统时钟的同步,以达到表具采用采集系统时钟的目的。智能燃气表具中使用的 NB-IoT 模组虽具有厂商扩展的时间同步 AT 指令,但由于表具嵌入式系统、NB-IoT 模组型号以及通信运营商的差异性,往往无法进行时钟服务器的统一接入、配置以及后期的统一运营。本文基于通用服务器的 NTP 时钟同步思想,设计了一种基于时间戳计算网络传输时延的时钟同步方法,使得燃气企业能够以统一的应用层协议方式将来自不同厂商、使用不同物联网模组的表具按统一的方式通过 NB-IoT 网络实现网络时钟同步。通过实验验证,物联网智能燃气表与信息采集系统服务器之间的时钟同步精度可达到 5ms 。
For remote communication between smart gas meters equipped with Narrow Band Internet of Things (NB-IoT) and remote data acquisition systems, synchronization of system clocks between both ends is essential to enable the meters to utilize the acquisition system’s clock. Although NB-IoT modules in smart gas meters feature manufacturer-specific time synchronization AT commands, differences in meter embedded systems, NB-IoT module models, and telecom operators often prevent unified access, configuration, and operational management of clock servers. Building on the NTP clock synchronization concept for universal servers, this paper proposes a timestamp-based method to calculate network transmission delays for clock synchronization. This approach allows gas companies to achieve standardized clock synchronization across meters using different manufacturers’ IoT modules through NB-IoT networks via a unified application-layer protocol. Experimental verification demonstrates that clock synchronization accuracy between smart gas meters and information acquisition system servers can reach 5ms.
| [1] |
瞿浡麟. 试论 NB-IoT 物联网智能燃气表及其应用[C]. 中国燃气运营与安全研讨会(第十一届)暨中国土木工程学会燃气分会2021年学术年会论文集(上册). 2021: 691-696. DOI: 10.26914/c.cnkihy.2021.061668. |
| [2] |
田小梦. ITU正式将NB-IoT技术纳入5G标准体系促进全球5G发展[J]. 通信世界, 2020(20): 29-30. DOI: 10.13571/j.cnki.cww.2020.20.014. |
| [3] |
刘兴伟, 陈婷婷, 法曙光. 城镇燃气计量仪表智能化标准发展探讨[J]. 煤气与热力, 2022, 42(05): 44-46. DOI: 10.13608/j. cnki. 1000-4416.2022.05.018. |
| [4] |
郑红立, 刘航, 胡洋. NB-IoT技术在物联网智能燃气表领域的应用与推广[J]. 城市燃气, 2021(08): 6-11. |
| [5] |
王照伟, 曾鹏, 于海斌. 工业物联网环境下的时间同步技术分析[J]. 中兴通讯技术: 1-8 [2022-09-05]. |
| [6] |
邵泽华. 物联网智能燃气表实施阶梯气价计费的途径[J]. 煤气与热力, 2020, 40(06): 25-26+ 46. DOI: 10.13608/j.cnki.1000-4416.2020.06.017. |
| [7] |
吴天强, 叶敏, 朱剑, 潘超. 单片机系统实时时钟日差补偿的算法设计[J]. 科技风, 2019(34): 10-11.DOI: 10.19392/j.cnki.1671-7341.201934010. |
| [8] |
邹玉龙, 丁晓进, 王全全. NB-IoT关键技术及应用前景[J]. 中兴通讯技术, 2017, 23(01): 43-46. |
/
| 〈 |
|
〉 |