计算机工程与应用2013,Vol.49Issue(4):82-86,5.DOI:10.3778/j.issn.1002-8331.1207-0056
嵌入式设备的精确时钟同步技术的研究与实现
Research and implementation of precision clock synchronization in embedded devices
摘要
Abstract
In order to solve the issue of the clock synchronization between industrial Ethernet embedded devices, the application scheme of IEEE 1588 protocol in embedded devices is proposed. Based on the software and hardware platform of STM32F207IG processor and ucos-II OS, the transplant and modification of LwIP protocol stack is needed to make it compatible with the IEEE 1588 protocol. The clock calibration method is configured. The application layer calibrates clock using the enhanced descriptors to access the time stamp captured. The correction algorithm is proposed to solve frequency drift. Pulse per second is used to test clock synchronization. Experiments show that the system achieves 200 ns clock synchronization precision, and meets the needs of most industrial Ethernet devices.关键词
IEEE1588/时钟同步/精确时钟协议(PTP)/时间戳/嵌入式设备/频率漂移Key words
IEEE1588/clock synchronization/Precision Time Protocol(PTP)/time stamp/embedded device/frequency drift分类
信息技术与安全科学引用本文复制引用
陈大峰,白瑞林,邹骏宇..嵌入式设备的精确时钟同步技术的研究与实现[J].计算机工程与应用,2013,49(4):82-86,5.基金项目
江苏高校优势学科建设工程资助项目 ()
江苏省科技成果转化项目(No.BA2011032). (No.BA2011032)