In order to improve clock synchronization and data synchronization among distributed measuring devices, a distributed synchronous acquisition system based on IEEE 1588 is designed in this paper. Firstly, the precision time protocol stack (PTPD) was transplanted to STM32 platform, and the clock synchronization of master and slave devices was realized by combining real-time operating system and LwIP stack. Then, the acquisition trigger based on time synchronization is realized. Finally, the data is uploaded for analysis through Ethernet. Experimental results show that the system can realize clock synchronization among distributed acquisition devices and improve data synchronization.
|