基于GPRS的FPGA远程动态重构系统的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着FPGA (Field Programmable Gate Array)的广泛应用,其灵活的配置性能和优异的数字处理性能越来越多地被展现出来。FPGA的动态重构也已成为计算机系统研究的新热点,它可以实现对FPGA的逻辑资源分时复用,缩减大型数字系统的IC规模,有效地降低功耗。但是对于工作在恶劣环境中的数字系统所遭遇的环境变化,预先设计的功能可能无法满足环境的需要,为此本文提出一种远程动态重构的方法,对系统设计进行远程升级。
     本文在分析动态重构的原理和FPGA配置结构的基础上,结合Xilinx公司提供的EAPR (Early Access Partial Reconfiguration)局部动态重构的设计方法,提出了一种基于IP核的动态重构改进设计,简化了设计流程。进一步,本文提出了一种基于GPRS无线数据传输的远程动态重构的方法。
     使用Lab VIEW编程语言在控制中心上位机设计一个TCP服务程序,采用TCP传输方式,将FPGA重构模块的配置数据传输至现场设备的GPRS模块。单片机读取GPRS模块缓存内数据转存至配置数据存储器。FPGA通过SystemACE控制器读取数据进行动态配置。因为GPRS具有永远在线特点,可以实时进行远程动态配置。配置数据采用CF卡进行存储,因为CF卡要接受单片机的写操作和SystemACE的读操作,本文采用多路复用器进行电路设计,对CF卡进行分时复用。随着FPGA集成规模不断扩大,配置文件也越来越大,为了提高系统重新配置的效率和节省数据无线传输的时间,采用改进的游程编码将配置数据进行有效的压缩,同时也可以节约CF卡存储空间。
     使用Xilinx公司的XUPV2P开发板、STC89C54、MC52i和CF卡构建了一个实验系统,创建了一个动态重构工程对本文的理论进行了验证。从数据无线传输到FPGA的重构,都进行了严格监控,系统运行稳定。
With the extensive application of FPGA (Field Programmable Gate Array), FPGA is well-known for its flexible configuration and excellent digital processing performance. The technology of FPGA dynamic reconfiguration has also become a research hot spot in the field of computer system. It can realize the time sharing of FPGA logical resource. It can also curtail the IC scale of large scale digital system and reduce the power dissipation effectively. But when the digital system working in severe environment confronts some environmental change the previous designed function may not satisfy the environment any more. In order to update the system design remotely, one remote dynamic reconfiguration method is proposed in this paper.
     After analyzing the principle of dynamic reconfiguration and FPGA configuration structure, a modified design based on IP cores is proposed in this paper combining with EAPR design method provided by Xilinx Company. Then one remote dynamic reconfiguration method based on GPRS data wireless transmission is proposed.
     One TCP server is built on the upper computer in the control centre by using Lab VIEW to transmit FPGA configuration data in TCP transmission mode to the GPRS module working in the field. Micro Control Unit reads the configuration data from buffer of GPRS module and then saves it to the configuration memory. FPGA reads the data via SystemACE controller to complete the dynamic reconfiguration. CompactFlash card is used as the configuration memory in this paper. Multiplexers are used in the circuit design to allow MCU and SystemACE controller time share the CF card. With the expanding of FPGA integration scale, the configuration files become larger and larger. So the configuration data is compressed using modified run length encoding, thus the time spending in data transmission and saving can be saved and the storage memory can be saved.
     The experiment system is built using XUPV2P development board designed by Xilinx Company, STC89C54 MCU, MC52i and CF card. A dynamic reconfiguration is built based on the system to verify the theory proposed in this paper. The process from data transmission to reconfiguration is closely monitored. The system is stable in operation.
引文
[1]尚明.FPGA技术的应用与发展趋势[J].科技资讯,2007,(14):10-12.
    [2]Michaelk B A. Reconfigurable computing primer [J]. MultimediaSystem Design,1998,26(9):44-47.
    [3]谷銮,徐贵力,王友仁FPGA动态可重构理论及其研究进展[J].计算机测量与控制,2007,(11):1415-1418.
    [4]J. Wang, R. Katz, J. Sun, B. Cronquist, J. McCollum, T. Speers, W. Plants. SRAM based reprogrammable FPGA for space applications[J]. IEEE Transactions on Nuclear Science,46 (6):1728-1735,1999.
    [5]漆锋滨,王珊珊,姜小成,何王全.可重构计算及可重构编译技术研究[J].微电子学与计算机,2007,(10):36-38+42.
    [6]周纯杰,向纯洁,陈辉,方华京.可重构技术及其在网络控制系统中的应用综述[J].控制与决策,2007,(11):158-160.
    [7]周盛雨.基于FPGA的动态部分重构系统实现[D].北京:中国科学院研究生院(空间科学与应用研究中心),2007.
    [8]杨海钢,孙嘉斌,王慰FPGA器件设计技术发展综述[J].电子与信息学报,2010,(3):714-727.
    [9]李涛.动态重构系统若干关键问题的研究[D].天津:南开大学,2007.
    [10]张军营,黄均鼐,来金梅,童家榕.基于SRAM的FPGA连线资源的一种可测性设计[J].电路与系统学报,2008,(1):1-6.
    [11]徐伟业,江冰,虞湘宾CPLD/FPGA的发展与应用之比较[J].现代电子技术,2007,(2):4-7.
    [12]邹德财,吴海涛,李云XILINX的FPGA芯片架构剖析[J].航空计算技术,2007,(2):80-83.
    [13]韩珺方.动态可重构FPGA布局算法的研究与改进[D].沈阳:东北大学,2008.
    [14]崔阿军FPGA布局布线算法的改进与实现[D].西安:西安电子科技大学,2010.
    [15]李鹏飞FPGA动态自重构系统的设计方法学研究[D].大连:大连理工大学,2009.
    [16]Xilinx Inc. Early Access Partial Reconfiguration User Guide for ISE 8.1. Oli v1.1 UG208. March,2006. http://www.xilinx.com/support/documentation.
    [17]古海云.可重构SoC设计技术研究[D].东南大学:东南大学,2006.
    [18]Xilinx Inc. Virtex-Ⅱ Pro and Virtex-Ⅱ Pro X FPGA User Guide[EB/OL]. May,2007. http://www.xilinx.com/support/documentation.
    [19]赵佳,黄新栋,张涌.基于System ACE的FPGA全局动态可重配置的研究[J].电子设计工程,2010,(3):119-120+123.
    [20]张治斌,乔应旭SST89C54与CF卡的接口设计与实现[J].国外电子元器件,2006,(9):30-32.
    [21]王典洪,梁娟,熊月华.基于MC55和LPC2136的GPRS用电监测终端的实现[J].数据采集与处理,2006,(S1):258-261.
    [22]Siemens Co. MC55/MC56 Hardware Interface Descrisption [M]. [S.1.]:Siemens Co.2006
    [23]孙忠富,曹洪太,李洪亮,杜克明,王迎春,苏晓峰,蔡田芳,刘爽,褚金翔.基于GPRS和WEB的温室环境信息采集系统的实现[J].农业工程学报,2006,(6):131-134.
    [24]游春GPRS通信技术在配电网中的应用[D].重庆:重庆大学,2007.
    [25]Yi Zhang, Zhili Pei, Jinhui Yang, Yanchun Liang. Canonical Huffman code based full-text index[J]. Progress in Natural Science,2008, (3):325-330.
    [26]逢玉叶,孙军,王嘉A New Arithmetic Coding System Combining Source Channel Coding and MAP Decoding[J]. Journal of Shanghai Jiaotong University,2007, (4):442-447.
    [27]倪桂强,李彬,罗健欣,张雪.BWT与经典压缩算法研究[J].计算机与数字工程,2010,(11):26-29+41.
    [28]杨鹏飞,张鹏,赵洁,张凌.LZW数据压缩技术在野战炮兵指挥系统中的应用[J].弹箭与制导学报,2011,(1):237-240.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700