节点文献

便携式数据采集仪的USB通讯、噪声模块设计

Design of a Portable Data Acquisition Instrument’s USB Transmission and Noise Analysis Modules

【作者】 孙亚萍

【导师】 马孝江;

【作者基本信息】 大连理工大学 , 机械电子工程, 2006, 硕士

【摘要】 本论文主要是对原先的便携式数据采集仪进行改进,先进行程序移植,然后完成了USB通讯和噪声分析这两个模块的设计。 在USB通讯部分,首先简要介绍了USB1.1协议,重点探讨了USB总线的电气和机械特性、数据流模型以及通信协议,然后详细阐述了USB接口硬件电路的设计、固件程序开发、驱动程序的设计以及应用软件的编写。在硬件设计部分,介绍了芯片PDIUSBD12的性能,说明选择此芯片作为本采集仪的接口芯片的原因,并且给出了此芯片与单片机的具体接口方案。固件程序是根据程序的流程介绍的,程序的开始,要完成对USB接口初始化,使得采集仪任何时候接入主机,主机都可以检测到它。然后判断主机下传的请求类型,完成相应的工作。此模块中的驱动程序是采用2000 DDK编译的。驱动程序设计部分先介绍了WDM驱动程序的模型和工作流程,然后从驱动程序的开发工具选择,主要例程的功能,编译和调试过程,以及驱动程序的安装等方面详细说明了此采集仪的驱动程序的开发过程。USB模块的应用程序部分主要介绍了如何找到USB设备,以及如何通过API函数完成与设备的数据通讯,最后还介绍了通讯的界面。 噪声分析模块能完成对环境等噪声的测量和分析。首先介绍了噪声的物理量和评价的方法,然后介绍了TMS320C31的性能,最后介绍了此模块的具体设计。采集仪采用了双CPU结构,单片机和DSP完成不同的功能。单片机完成两个功能:采样长度和显示的图形类型等参数的设定,以及将总声压级以及图形显示在液晶显示器上。DSP主要用于数据采集,采用巴特沃兹滤波器对信号进行滤波,并能完成噪声的加权和倍频程等算法。 本论文已经完成了移植工作,以及USB通讯、噪声分析模块的设计和调试。

【Abstract】 The paper is concerned with the improvement of old portable data acquisition instrument, which contains the program migration, the design of USB transmission and noise analysis modules.The paper introduces the USB 1.1 specification at first, especially focusing on the electrical and mechanical characteristics, the data flow model, and the communication protocol of USB at first, then discusses the design of the USB module.The design of USB module includes four segments: hardware design, firm design, driver design and application design. In the hardware design segment, the performance of PDIUSBD12 and the reasons of selecting it are firstly introduced, then the hardware scheme is given in detail. At the beginning of firmware, it is need to initialize the USB interface, so the controller can detect it, whenever the data acquisition instrument is connected with the controller, then the firmware finish the task that the controller tells. In the driver program segment, the paper presents WDM model, how it works, the selection of development tools, the functions of several importment routines, and the process of compiling and debugging. In the application segment, how to find the USB device, and how tocomplete the communication by using the API functions are firstly introduced, the interface of the USB module on computer is given at last.The noise analysis module can complete the measurement and analysis of environmental noise, etc. Physical quantities and evaluation methods of noise are firstly introduced, the performances of TMS320C31 are secondly introduced, and the design of module is given in detail at last. The data acquisition instrument has two CPUs, each of them can finish the different task. The singlechip allow us which parameters we select and display the overall sound pressure lever and the graphs on LCD; DSP can sample data, design the Butterworth Filter, finish the data filtering, weighting and so on.The paper has finished the program migration, the design and debuging of USB transmission and the noise analysis modules.

  • 【分类号】TP274.2
  • 【被引频次】1
  • 【下载频次】411
节点文献中: 

本文链接的文献网络图示:

本文的引文网络