摘要
针对工程监测对工控总线进行外出现场测试时存在的问题,为精简设备的携带量和提高监测对复杂应用场景的适应性,提出一种基于FPGA、通过PCIe连接上位机并支持IIC、SPI总线的数据综合监测系统。设计首先给出综合监测系统的整体设计,然后依据硬件可重构和软件现场定义原则对硬件及逻辑分别给出详细的设计方案。设计给出8路的IIC和SPI以适应工业监测设备过多的问题,减少硬件接口并增加软件协议选择。依据需求分析自顶向下设计模块并进行划分以完成代码设计。针对容错能力设计出监控及故障注入功能,进行板级调试,最终完成上位机测试。结果表明,所设计的通信板卡合格通过整体验证。
Aiming at the problems existing in the field test of industrial control buses in engineering monitoring,in order to simplify the carrying capacity of equipment and improve the adaptability of monitoring to complex application scenarios,a data integrated monitoring system based on FPGA,connected to the upper computer through PCIe and supporting IIC and SPI buses is proposed.Firstly,the overall design of the integrated monitoring system is given,and then the detailed design schemes of hardware and logic are given according to the principles of hardware reconfigurablity and software field definition.Eight paths of IIC and SPI are designed to meet the problem of excessive industrial monitoring equipment.Hardware interfaces are reduced and software protocol options are increased.According to the requirements,the top-down design module is analyzed and divided to complete the code design.According to the fault-tolerant ability,the monitoring and fault injection functions are designed,the board-level debugging is carried out,and the upper computer test is finally completed.The results show that the designed communication board is qualified and passed the overall verification.
作者
王子君
张贺
陈秉军
杨水华
刘明鑫
WANG Zijun;ZHANG He;CHEN Bingjun;YANG Shuihua;LIU Mingxin(School of Information Science and Engineering,Shenyang University of Technology,Shenyang 110870,China;Beijing AVIC General Technology Co.,Ltd.,Beijing 100000,China)
出处
《微处理机》
2024年第4期25-29,共5页
Microprocessors
基金
辽宁省教育厅基本科研项目(面上项目)(LJGD2020014)。