| The distributed network solves the problem of the test system due to geographical limitations.Synchronization of clocks plays a crucial role in the centralized management of tests and data in distributed networks.This paper analyzes several typical wireless network clock synchronization protocols,and gives performance indicators for evaluating clock synchronization in distributed wireless network systems.The IEEE 1588 precision clock synchronization protocol is developed for distributed wireless network clock synchronization.The theoretical analysis of the IEEE 1588 protocol in distributed wireless networks is carried out.The OPNET simulation platform is used to build a distributed wireless network based on WLAN.The master-slave node timing is completed by IEEE 1588 protocol.The Kalman filter-based filtering method is used to design the clock offset estimation and correction model for distributed wireless network systems,and the effectiveness of the algorithm is verified.After optimization,the synchronization timing accuracy of the IEEE1588 protocol in distributed wireless networks has been improved.Finally,STM32F407 is selected as the core platform of the embedded platform and the ATK-RM04 WIFI module is used to build a small distributed wireless network system.The IEEE 1588 protocol and the Kalman filter-based clock offset and correction algorithm are tested.The results show that the synchronization accuracy achieved by the IEEE 1588 protocol in the distributed wireless network is fully satisfied by the Kalman filtering algorithm,which fully meets the requirements of most distributed wireless network systems. |