用户名: 密码: 验证码:
基于DSP的凝析天然气流量计二次仪表的研制
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
为提高气田的生产管理水平,现基于数字信号处理技术开发凝析天然气流量计来替代油气生产中昂贵笨重的计量分离器。本文首先对流量计量系统的计量过程和整体方案进行研究,对硬件电路各主要功能模块的的原理图进行分析,然后对软件部分各子功能模块的软件实现进行描述,并给出相应的程序流程图,重点实现了USB1.1协议,海量存储类协议,FAT16文件系统,数据压缩和解压缩算法,LCD驱动程序的设计,并对DSP外挂FLASH的在系统编程及并行引导装载方法进行研究。系统采用模块化设计,结构灵活,易于维护和扩展。本文所研制的流量计二次仪表实现了数据采集、数据压缩和解压缩、人机接口、串口通信、U盘数据的读写功能,并实现了基于闪存的TMS320VC5402DSP独立系统,为凝析天然气流量计的实用化奠定了坚实的基础。
In order to improve the management of a gas field, on the basis of digital signal processing technology a new wet gas flow meter is developed and it will substitute the expensive and ponderous metering separator in the production of oil gas. First, the thesis presents a research on the measurement process and the whole structure of the flow metering system, and analyzes the schematic circuit of the main hardware modules. Second, in the part of software, the thesis describes the function of every software modules and draws the flow chart of the program. The emphasis of software is to realize USB1.1 protocol, the mass storage class protocol, the FAT file system, the LZW data compression algorithm, the LCD screen driver program, as well as the research of online programming on DSP and of parallel bootloader on FLASH. The architecture of system is flexible. It can be expanded and maintained easily. The system with which the thesis developed has realized data aquisition, data compression and decompression, a friendly human-machine interface, RS232 serial communication, reading or writing USB disk, and independent implementation of a FLASH based TMS320VC5402 DSP system. The research underlined in this thesis sets up a solid foundation for prototyping the wet gas flowmeter.
引文
[1] 吴月先,吴静,张佩波等.凝析气井增产措施效果评价方法.新疆石油地质,1999;20(6):526-526
    [2] 王栋.分流分相式气液两相流体流量计:[博士学位论文],西安交通大学,西安:2000
    [3] 林宗虎.气液固多相流测量.北京:中国计量出版社,1988
    [4] 林宗虎.计量测试技术手册.第 6 卷.力学(三).北京:中国计量出版社,1996
    [5] 王晓东,董守平.石油多相流计量研究的现状和发展趋势.油气田工程.1999;18(2):4-7
    [6] 李爱华.两相流相份额及流量的在线不分离测量研究:[硕士学位论文],西安交通大学,西安:2003
    [7] Motorola. DSP56F807 16Bit Digital Signal Processor Technical Data,2002
    [8] Sitronix.ST7920 中文字型点矩阵 LCD 控制/驱动器芯片资料,2000
    [9] Cypress Semiconductor Corporation. SL811HS Embedded USB Host/Slave Controller Datasheet,2002
    [10] Texas Instruments(TI).TMS320VC5402 Fixed-point Digital Signal Processor.Literature Number:SPRS079E,2000
    [11] SST.2Mbit/4Mbit/8Mbit(×16) Multi-Purpose FLASH SST39VF400A Data Sheet,2001
    [12] 张宏.USB 接口设计.北京:西安电子科技大学出版社,2001
    [13] 王蓉晖,刘钢.USB 接口电路设计.吉林建筑工程学院学报,2006;23(2):69-71
    [14] 刘兵,徐家恺,刘阳.DSP 的嵌入式 USB 主机接口设计.微型机与应用,2004;23(8):21-22,38
    [15] 深圳秋田视佳公司.HY-12864T User's Manual,2004
    [16] 邵贝贝等.Motorola DSP 型 16 位单片机原理与实践.北京:北京航空航天大学出版社,2003
    [17] Motorola. Motorola Embedded SDK V2.4,2003
    [18] 尚喆,许镇琳,张??基于 MOTOROLA DSP56800的嵌入式 SDK开发平台.制造业自动化,2003;25(12)357-363
    [19] 尹勇等.DSP 集成开发环境 CCS 开发指南.北京:北京航空航天大学出版社,2004
    [20] Compaq,Intel,Microsoft, et al. Universal Serial Bus Specification Rev1.1,September 23,1998
    [21] Don Anderson 著,精英科技译.USB 系统体系.北京:中国电力出版社,2001
    [22] [美]Jan Axelson.USB 大全.北京:中国电力出版社,2001
    [23] 辛华峰等.嵌入式 USB 主/从机应用模块.吉林大学学报(工学版),2005;35(2):166-169
    [24] 陈青松,王健.通用串行总线数据传输.计算机工程与设计,2006;27(11):2077-2079
    [25] 马伟.计算机 USB 系统原理及其主/从机设计.北京:北京航空航天大学出版社,2004
    [26] 程惠玲.USB 通信接口在汽车行驶记录仪中的应用:[硕士学位论文],南京理工大学,南京:2004
    [27] Motorola. DSP56F801/803/805/807 16Bit Digital Signal Processor User's Manual,2003
    [28] 张雄伟,陈亮,徐光晖.DSP 芯片的原理与开发应用.第三版.北京:电子工业出版社,2003
    [29] 谭浩强.C 语言程序设计.第 2 版.北京:清华大学出版社,2002
    [30] Sartaj Sahni.数据结构、算法与应用 C++语言描述.北京:机械工业出版社,1999
    [31] 向前.在嵌入式系统中实现对 U 盘的操作.单片机与嵌入式系统的应用,2005;2:36-39
    [32] USB Implementers Forum. Universal Serial Bus Device Class Definition for Mass Storage Devices. February,1996
    [33] USB Implementers Forum. Universal Serial Bus Mass Storage ClassBulk-Only Transport. Revision 1.0. September,1999
    [34] USB Implementers Forum. Universal Serial Bus Mass Storage Class UFI Command Specification. Revision 1.0. December,1998
    [35] NCITS-330 T10/1240-D. Information technology-Reduced Block Commands. Rev 10a August,1999
    [36] 网络文章.FAT 文件系统原理.摘自:http://www.sjhf.net
    [37] 靳鸿,裴东兴,祖静.无损数据压缩在数据采集系统中的应用探讨.华北工学院学报,2003;24(1):69-72
    [38] 李锦明,张文栋,毛海央等.实时无损数据压缩算法硬件实现的研究.哈尔滨工业大学学报,2006;38(2):315-317
    [39] 袁玫,袁文.数据压缩技术及其应用.北京:电子工业出版社,1995
    [40] Texas Instruments(TI). TMS320VC5402 and TMS320UC5402 Bootloader. February,2000
    [41] 吴增荣,夏志忠.基于闪存的 TMS320VC5402 DSP 独立系统的实现.电子产品世界,2003;05B:62-64
    [42] 清源科技编.TMS320C54x DSP 应用程序设计教程.北京:机械工业出版社,2004
    [43] 丁洁,魏丰,李广宇.DSP 外挂 FLASH 的在系统编程及并行引导装载方法的研究.电子技术应用,2003;8:78-80
    [44] 赵锋荣,卢继平.一种新的 TMS320VC5402 DSP 上电引导程序的设计方法.IC与元器件,2002;12:56-58

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

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

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