引用本文: | 董新生,段太钢,周芝萍,等.基于实时Linux的合并单元同步采样测试装置研制[J].电力系统保护与控制,2013,41(17):116-121.[点击复制] |
DONG Xin-sheng,DUAN Tai-gang,ZHOU Zhi-ping,et al.Development of synchronization sampling merging unit test device based on real-time Linux[J].Power System Protection and Control,2013,41(17):116-121[点击复制] |
|
摘要: |
同步采样测试包含了数据同步测试与采样值精确度测试两个方面,是合并单元最重要的指标之一。在分析了合并单元同步采样测试的现状与存在的技术难点的基础上,介绍了一种基于实时Linux系统结合FPGA实时子系统、接口信号可扩展的合并单元同步采样测试装置的具体实现方法。该方法将FPGA的普通I/O管脚构成一个信号接口总线,通过读取信号接口板的I2C总线EEPROM保存的信息,来分配FPGA管脚的功能,从而实现接口信号的可扩展性,满足合并单元输入输出信号灵活多变的需求。同时,FPGA实现了采样值报文的接收,记录报文接收时标,采样值报文的生成与发送以及模拟MII接口直接与PHY通信等功能。结果表明,本测试装置能准确反映合并单元的数据同步精度、采样值精度,具有较强的实用价值。 |
关键词: 合并单元 数据同步 采样精确度 Xenomai 实时Linux FPGA |
DOI:10.7667/j.issn.1674-3415.2013.17.018 |
|
基金项目: |
|
Development of synchronization sampling merging unit test device based on real-time Linux |
DONG Xin-sheng1,DUAN Tai-gang2,ZHOU Zhi-ping2,WU Xu-gang2,WU Shuang-hui2,ZHANG Qiao-bin2 |
() |
Abstract: |
Synchronous sampling test contains data synchronization test and sample value accuracy test, which is one of the most important indicators of the merging unit. The status quo of the merging unit synchronous sampling test and technical difficulties are firstly analyzed, and then a specific implementation method of the merging unit synchronous sampling test device based on real-time Linux system, real-time FPGA subsystem and scalable interface signals is introduced. In order to achieve the scalability of the interface and meet the merging unit’s flexible input and output signals demand, this method uses FPGA I/O pins to construct a signal interface bus and assign FPGA pin functions through reading information saved by I2C bus EEPROM in the signal interface board. Also, this method realizes many functions like sample values receiving, time scale recording, sample values generating and transmitting, and simulating the direct communication between MII interface and the PHY in single chip FPGA. The results show that the test device can accurately reflect the synchronous sampling accuracy and data synchronization of the merging unit, so it has a strong practical value. |
Key words: merging unit data synchronization sampling precision Xenomai real-time Linux FPGA |