Welcome Customer !

Membership

Help

Shanghai Ruicheng Electric Co., Ltd
Custom manufacturer

Main Products:

intelligent-mfg>Article

Shanghai Ruicheng Electric Co., Ltd

  • E-mail

    1339639788@qq.com

  • Phone

    13918107979

  • Address

    Building 1, National Science and Technology Park, Shanghai University of Technology, 128 Xiangyin Road, Shanghai

Contact Now
How to calibrate Ethernet clock
Date: 2025-10-14Read: 0
Ethernet clock calibration passedHigh precision time source synchronizationProtocol transmission time informationEquipment side time deviation correctionThe implementation of three core links, specific processes and technical points are as follows:

1、 Time reference acquisition: high-precision time source synchronization

  1. Satellite timing (mainstream solution)
    • GPS/Beidou dual-mode receiverThe device receives GPS (L1 frequency 1575.42MHz) or Beidou (B1 frequency 1561.098MHz) satellite signals through an antenna, with a cold start capture time of ≤ 2 minutes, a hot start time of ≤ 20 seconds, a tracking sensitivity of ≤ -163dBW, and the ability to track 8-16 satellites simultaneously.
    • time precisionOutput second pulse (1PPS) with UTC time synchronization accuracy ≤ 20ns, the timing unit (OCXO crystal oscillator) maintains accuracy better than 7 × 10 ⁻⁹ (0.42 μ s/min) in offline state, and the rubidium atomic clock option can be increased to 1 μ s/24 hours.
  2. Redundant time source
    • Supports single GPS, single Beidou, dual GPS, dual Beidou, and GPS/Beidou/CDMA hybrid configurations, automatically determines signal stability, seamlessly switches between primary and backup sources, and ensures reliable time reference.

2、 Time Information Transmission: Protocol and Interface Standardization

  1. Network protocol transmission
    • NTP/SNTP protocolTime messages are transmitted via UDP/IP through RJ45 Ethernet interface, supporting Stratum 1-15 hierarchical structure. The client adjusts the local clock by calculating round-trip delay and time deviation, and the network timing accuracy can reach sub millisecond level.
    • PTP(IEEE 1588-2019)Adopting a master-slave clock architecture, measuring bidirectional delay through Peer Delay mechanism, compensating for asymmetric path errors, supporting nanosecond level synchronization, suitable for high-precision scenarios such as industrial automation and financial transactions.
  2. Physical interface extension
    • pulse signal1PPS (TTL/air contact/differential), 1PPM (divided pulse), 1PPH (hourly pulse) output, pulse width 20ms-200ms, air contact carrying voltage ≤ 250V, current ≤ 100mA.
    • Serial messageRS232/RS422/RS485 interface outputs IRIG-B code (DC bias/sine modulation) and ASCII time message, with an adjustable baud rate of 1200-9600.
    • Dedicated time codeDCF77 signal and 10MHz frequency signal output meet the needs of broadcasting, communication and other fields.

3、 Equipment calibration: time deviation correction

  1. Hardware timestamp
    • Support hardware level timestamp marking to avoid software processing introducing microsecond level errors, ensuring that the time message sending time is within+0.3ms of the second edge error.
  2. Closed loop control for timekeeping
    • Adopting the "time taming algorithm" to integrate the long-term stability characteristics of satellites and the short-term stability characteristics of crystal oscillators, the time accuracy is maintained offline through OCXO/rubidium atomic clocks to reduce frequency drift.
  3. Automated configuration and monitoring
    • human-machine interfaceConfigure working parameters (such as time zone, baud rate, communication protocol) for the front panel buttons or web browser, and save the parameters in case of power failure.
    • Fault AlarmStatus such as power failure, satellite lock failure, and self-test abnormality are output through relay contacts and support SNMP protocol remote monitoring.
    • topology optimizationDeploy time sensitive networks (TSN) or deterministic networks (DetNet) to reduce path delay fluctuations and optimize synchronization quality.

4、 Typical application scenarios and parameters

scene Technical Requirements Calibration Plan
Power system automation Relay protection, fault recorder synchronization GPS/Beidou dual-mode timing, 1PPS+IRIG-B code output, synchronization accuracy ≤ 20ns
industrial control system Robot collaboration and motion control PTP protocol+hardware timestamp, nanosecond level synchronization, anti electromagnetic interference design
Financial trading system Order timestamp accuracy NTPv4 protocol+rubidium atomic clock timing, millisecond level synchronization, supports multi time source redundancy
communication network 5G base station time synchronization GPS/Beidou+1588v2 protocol, air interface synchronization accuracy ≤ 1.5 μ s

5、 Common Problems and Solutions

  1. Clock source malfunction
    • problemA single master clock failure caused a complete network interruption.
    • solveDeploy dual GPS/dual Beidou redundancy, enable PTP Security Extension authentication mechanism, and prevent counterfeit clock source attacks.
  2. Network latency fluctuation
    • problemPath delay changes affect timestamp calculation.
    • solveAdopting PTP Peer Delay mechanism to compensate for asymmetric delay and optimize network topology to reduce hop count.
  3. Device compatibility
    • problemDifferences in PTP/NTP implementation among different manufacturers result in synchronization failure.
    • solveUnified protocol version (such as IEEE 1588-2019), conduct interoperability testing, and select devices that support hardware timestamps.

Last Article:

Next Article: How to maintain GPS timing devices