基于USB接口的多参数传输存储系统研制-交通信息工程及控制专业论文.docx
文本预览下载声明
西北1’业夫学硕士学位论文
西北1’业夫学硕士学位论文 摘要
摘要
通用串行总线(USB)是目前PC外设接口的主流总线标准,并迅速在工业 自动化仪器仪表中得到应用。USB具有即插即用、热插拔、高带宽、安装简单 等优点。本文将USB接口用于存储式测井仪器,取代了传统的RS.232串口。存 储式测井仪器通过单芯总线与测量仪器连接,实现了数据的采集与存储。通过 USB接口,可以设定仪器的工作参数,并可以将采集存储的数据快速回传到PC 机。本文围绕设计目标,在简要叙述USB系统体系的基础上,从硬件、软件以 及USB设备驱动程序三个方面对系统做了详细介绍。存储电路采用多片24LC512 构成存储模块。USB接13部分采用PDIUSBDl2作为USB收发器,利用批量传 输方式实现数据传输。驱动程序使用DriverWorks软件进行开发,符合WDM驱
动程序模型。
关键词:USB 12C数据存储单芯总线WDM
堕i!!:、业查兰堡:!堂篁堡兰
堕i!!:、业查兰堡:!堂篁堡兰 一 一.—————————垒!苎!翌
Abstract
USB(Universal Serial Bus)is a mainstream bus standard of PC peripheral interface,which extends its applications to industrial automatic instruments,USB has many advantages such as fast speed,plug and play,hot plug-unplug and ease of use. In this paper,a new type of downhole memory gauge using USB interface is discussed.It can replace the traditional RS一232 serial port.The memory gauge connects with measure instruments through a monobus and accomplishes data acquisition and data storage.Using USB interface,PC can initialize memory gauge to
set work parameter and the data stored in memory gauge can be transmitted quickly to
PC.In this paper,according to the design targets and based Oil the USB system architecture,the system is detailed introduced from three points of view:hardware, software and USB device driver.In memory circuit the memory module consists of many 24LC5 12.USB device is based on PDIUSBD 1 2 and transmitted data through
bulk transfers type USB device driver is developed using DriverWorks and complies
withWDM
Key Words:USB 12C Data Storage Monobus WDM
西北:r业大学坝士。学位论文
西北:r业大学坝士。学位论文 第一章绪论
第一章 绪论
1.1课题背景
随着石油资源的紧张,油井的高产稳产成为油田开发的重点科研内容之一。 为挖掘生产潜力,人们在根据具体情况采用的压裂、震动、助剂和生物等种种增 产措施中,需要对油井的温度、压力、成分和放射性等物化量进行探测分析,以 便找到相应的对策。目前常用的探测方法是将传感器及采集电路放在探头内下 井,通过铠装电缆,利用数控系统在地面进行供电和控制,工程施工十分不变。 另外一种方式就是采用存储式井下仪器,存储式仪器是将传感器与采集电路制成 高压密闭探头,可随着管道或利用细钢丝绳收放进行井下探测。测井时把采集的 数据存到RAM里,测井完毕之后,通过RS-232串口与PC机通信,将记录的数 据回传到计算机中,形成数据文件,然后利用数控系统对数据进行处理、分析,
显示全部