摘要
时间同步功能广泛存在于各个场合中,为了实现采用IRIGB码标准的时间同步功能,提出了基于FPGA提取IRIG-B码时间信息的方法。采用ADS8681对IRIG-B模拟信号的数字量化,FPGA接收ADC输出的16位数字信号,16位数字信号经过滤波器和数字比较模块后转换为1位数字信号,使用FPGA中的解码硬核实现1位数字信号中时间信息提取,同时采用MATLAB设计滤波器系数。将该模块在示波记录仪中进行验证,测试结果表明,ADS8681量化正确,滤波器系数和比较器阈值设计合理,解码硬核能够正确提取直流B码和交流B码中的时间信息,并同步示波记录仪中的系统时间。
Time synchronization function is widely used in many applications. In order to implement the IRIG-B code standard time synchronization function. A method of extracting IRIG-B code time information based on FPG-A is proposed. Digital quantization of IRIG-B analog signals is implemented using ADS8681. The FPGA receives the 16-bit digital signals of the ADC output. The 16-bit digital signals is converted to a 1-bit digital signal through a filter and a digital comparison module. Using the decoding hard-core in FPGA, time information is extracted from 1-bit digital signal. And filter coefficients are designed by MATLAB. This module is verified in oscilloscope recorder. Test results show that ADS8681 is quantized correctly. Filter coefficients and comparator thresholds are designed reasonably. Decoding hard-core can extract the time information of DC IRIG-B code and AC IRIG-B code correctly. And the system time is synchronized in the oscilloscope recorder.
作者
许波
刘威
Xu Bo;Liu Wei .(College of Automation Engineering, University of Electronic Science and Technology of China, Chengdu 611731, China)
出处
《电子测量技术》
2018年第3期124-128,共5页
Electronic Measurement Technology