Electronic Science and Technology ›› 2023, Vol. 36 ›› Issue (1): 67-74.doi: 10.16180/j.cnki.issn1007-7820.2023.01.010

Previous Articles     Next Articles

Research on Improved FTA Clock Synchronization Algorithm in RTEthernet

ZHANG Yuhui,ZHANG Fengdeng,ZHANG Haitao   

  1. School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology, Shanghai 200093,China
  • Received:2021-06-26 Online:2023-01-15 Published:2023-01-17
  • Supported by:
    National Natural Science Foundation of China(71840003);Shanghai Municipal Natural Science Fund(15ZR1429300)

Abstract:

In view of the problems that node clock drift, network link delay and poor synchronization ability in Ethernet, this study constructs a clock synchronization system model based on the communication principle of RTEthernet protocol. By studying the composition and working principle of RTEthernet, three factors affecting the time synchronization precision of real-time Ethernet-drift rate, network transmission delay and clock Byzantine fault are considered. Based on this, the original FTA clock synchronization algorithm is analyzed, and it is found that its fault tolerance performance is obviously reduced when Byzantine faults increase. The idea of " fault-tolerant midpoint " is introduced to improve it and RTE-FTM algorithm is proposed. Through the CANoe simulation platform, two Byzantine faults and no Byzantine faults in the system (seven nodes) are compared and analyzed, and the precision loss rate of the system is reduced by 3.1%, which verifies the convergence and effectiveness of the algorithm.

Key words: Ethernet, RTEthernet, drift rate, network transmission delay, clock for Byzantine failure, fault-tolerant midpoint, RTE-FTM, convergence

CLC Number: 

  • TP393