基于NTP的停车场时间同步系统研究与设计

    Research and Design of NTP-Based Time Synchronization System for Parking Lot

    • 摘要: 针对停车场计时收费系统的时间同步和监测问题,设计了一种基于NTP的停车场时间同步系统,将停车场计时收费系统的时间同步并溯源至UTC(NIM),并对网络时间协议的滤波算法进行优化,降低网络链路不对称所造成的影响,同步后的平均时间偏差减少了2.62 ms。该系统运行在μC/OS实时操作系统上,采用网络时间协议并通过4G无线传输的方式与标准时间实时同步,再将同步后的时间通过总线或以太网传递给停车场计时收费系统,同时将时间偏差上传至监测平台,有效解决了停车场计时收费系统的时间同步问题。

       

      Abstract: To solve problems of time synchronization and monitoring of parking lot, an NTP-based time synchronization system for the parking lot was designed to synchronize and trace the time of the parking lot to UTC (NIM), and the filtering algorithm of NTP was optimized to reduce the impact caused by network link asymmetry, and the average time deviation after synchronization is reduced by 2.62 ms. The system runs on μC/OS real-time operating system, adopts NTP to synchronize time to time standard in near real-time through 4G wireless transmission, then transmits the synchronized time to the parking lot timing and charging system through bus or Ethernet, and uploads the time deviation to the monitoring platform at the same time, which effectively solves the time synchronization problem of parking lot timing and charging system.

       

    /

    返回文章
    返回