摘要
针对以太网存在节点时钟漂移、网络链路延迟、同步能力差等问题,文中基于RTEthernet协议的通信原理,构建了时钟同步系统的模型。文中研究了RTEthernet的组成、工作原理,考虑了影响实时以太网时钟同步精密度的三大因素:漂移率、网络传输延迟和时钟拜占庭故障,并基于此分析了原始的FTA时钟同步算法,发现它在拜占庭故障增多的情况下容错性能明显降低,进而引入“容错中值”的思想进行改进并提出了RTE-FTM算法。通过CANoe仿真平台,对系统(7个节点)中存在2个拜占庭故障与不存在拜占庭故障进行对比分析。结果表明系统的精密度损失率降低了3.1%,并由此验证了该算法的收敛性和有效性。
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.
作者
张宇辉
张凤登
张海涛
ZHANG Yuhui;ZHANG Fengdeng;ZHANG Haitao(School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《电子科技》
2023年第1期67-74,共8页
Electronic Science and Technology
基金
国家自然科学基金(71840003)
上海市自然科学基金(15ZR1429300)。