节点文献
基于stm32f407的精确时钟同步协议的实现
Realization of Accurate Clock Synchronization Protocol Based on Stm32f407
【摘要】 在工业数据采集的现场,各节点的智能化和网络化程度越来越高,由此产生的多节点间的高精度的时间同步变得更加的迫切。将采集的数据使用时钟同步方法加上时间戳信息,这给后期数据的处理带来了很大的方便,特别是在多传感器数据融合上。"网络测量和控制系统的时钟同步协议"简称为IEEE1588协议应运而生。论文在以stm32f407微控制器为核心的开发板上实现了IEEE1588协议的从时钟,并将局域网内的电脑主机配置为主时钟,完成从时钟与主时钟间精确的时钟同步。论文实现了主时钟与从时钟间时钟同步,主时钟与多个从时钟间时钟同步,并且两者间的时钟精度都达到2us。
【Abstract】 In the field of industrial data acquisition,each node is more and more intelligent and networked,so the high-precision time synchronization between multiple nodes becomes more and more urgent. The method of clock synchronization and time stamp are used to collect the data,which brings great convenience to the processing of the later data,especially in the multi-sensor data fusion."Precision Clock Synchronization Protocol for Networked Measurement and Control Systems"referred to as the IEEE1588 protocol come into being.In this paper,the stm32 f407 microcontroller as the core of the development board is used to achieve the IEEE1588 protocol as the slave clock,and the LAN host computer is configured as the master clock to complete the precise clock synchronization between the slave clock and the master clock.In this paper,the master clock is synchronized with the slave clock,and the master clock is synchronized with multiple slave clocks,and the clock accuracy between them is 2 us.
【Key words】 clock synchronization; timestamp; Ethernet; IEEE1588 protocol; embedded;
- 【文献出处】 计算机与数字工程 ,Computer & Digital Engineering , 编辑部邮箱 ,2018年03期
- 【分类号】TP274.2;TP393.11
- 【被引频次】14
- 【下载频次】285