Multi-Hop Clock Synchronization Algorithm and System Implementation Based on IEEE 802.1AS
Aiming at the problem that a single master clock in the existing IEEE 802.1AS protocol cannot guarantee the high precision of clock synchronization in multi-hop network,a redundant clock synchronization method based on multi-attribute decision-making is proposed.Firstly,the clock attribute value is modeled based on the link congestion degree,to-pology attribute of node and clock source quality factor.Secondly,the multi-attribute decision-making algorithm is used to select the best master clock and generate a redundant clock sequence table;Finally,the redundant clock synchronization sys-tem is designed and implemented on field programmable gate array(FPGA)platform,and a real network environment is constructed to test the proposed method.The results show that,compared with the existing methods,the clock synchroniza-tion accuracy is improved by 68%,and the convergence time required for resynchronization after master clock failure is re-duced by 60%.