摘要
通过引入PTP精密时间协议并分析其工作原理,基于ARM(STM32F407)芯片及其相关的外围电路设计了时钟同步与触发单元(MAC层获取硬件时间戳),进而通过相关软件(包括时钟同步软件,TCP/IP协议栈移植等)设计从而实现分布式测试系统的时钟同步。大量相关实验(两时钟节点网线直连,两节点交换机相连,定时触发输出等)结果表明:组网的各时钟同步与触发单元实现了亚微秒级时钟同步精度和精确同步触发功能。该研究方法具有通用性,能够满足一般分布式测试系统同步需求。
A distributed clock synchronization and trigger unit(MAC layer acquires hardware timestamp)based on ARM(STM32F407)and its related peripheral circuit was designed by introducing PTP protocol and analyzing its principle.And then the clock synchronization of distributed test system was realized by designing related software(including clock synchronization software,TCP/IP protocol stack transplantation,etc.).Through a large number of related experiments(two clock nodes were connected directly,two switch nodes were connected,timing trigger output,etc.),the results show that the clock synchronization and trigger units of the network achieve sub-microsecond clock synchronization accuracy and precise synchronization trigger function.The research method is universal and can meet the synchronization requirements of general distributed test systems.
作者
王旭
陈晔
郑宾
WANG Xu;CHEN Ye;ZHENG Bin(School of Electrical and Control Engineering,North University of China,Taiyuan 030051,China;National Key Laboratory for Electronic Measurement Technology,North University of China,Taiyuan 030051,China)
出处
《兵器装备工程学报》
CAS
北大核心
2019年第11期97-102,共6页
Journal of Ordnance Equipment Engineering
关键词
PTP协议
分布式测试
时钟同步
时钟偏差
同步触发
PTP protocol
distributed testing
clock synchronization
clock offset
synchronization trigger