Abstract
At present, mobile devices generally use GPS, Beidou and other satellite time service methods to obtain time, but the clock synchronization based on IEEE 1588 protocol still has deviation. To solve this problem, a clock synchronization method is proposed to improve IEEE 1588 protocol. Based on the analysis of IEEE 1588 protocol, the clock deviation and frequency deviation which affect the synchronization accuracy are modeled. The second-order Kalman filtering algorithm is used to recursively deduce the clock deviation and frequency deviation, and the Allan variance is used to verify the noise characteristics and constantly correct the clock deviation. Finally, the improved effect is verified by relevant experiments. The results show that the improved system can improve the synchronization accuracy.