摘要
基于工业以太网的分布式系统为实现高精度的同步数据采集和控制,对时钟同步提出了较高的要求。对基于嵌入式软件的时钟同步方案中同步精度较低的原因进行分析,提出了一种基于现场可编程门阵列(FPGA)的硬件时钟同步方法。使用FPGA对IEEE1588协议进行解析,采用FPGA和硬件描述语言设计时间戳获取、晶振频率补偿和时钟同步算法等模块。对基于工业以太网的分布式系统进行了测试,结果表明系统达到了亚微秒级的精度。
The distributed control system based on industrial Ethernet was presented to realize synchronous measurement and real-time control.The requirements for precise clock synchronization were proposed.Analysis was made on the reason of less precise synchronization in clock synchronization plan based on embedded software.A field-programmable gate array(FPGA),hardware-based strategy was proposed for implementing the clock synchronization protocol defined in IEEE1588.FPGA with hardware description language was adopted to design timestamp capture,oscillator frequency compensation and clock synchronization algorithm etc modules.Test of the distributed control system shows it reaches the sub-microsecond range.
出处
《电工电气》
2010年第8期23-25,共3页
Electrotechnics Electric
关键词
精确时钟同步
工业以太网
现场可编程逻辑门阵列
hardware clock synchronization
industrial Ethernet
field-programmable gate array