基于usb的数据采集系统 毕设论文_精品.doc
文本预览下载声明
本科毕业设计
摘 要
本USB数据采集系统实现了对于电机扭矩的测量、以及数据的处理、传输、显示和储存。USB数据采集系统主要包括扭矩传感器、A/D转换器、USB2.0控制器关键词:
ABSTRACT
This is a USB data acquisition system for the realization of the motor torque measurement and data processing, transmission, storage and display. This USB data acquisition system mainly includes four parts: the torque sensor, A / D converter, USB2.0 controller and PC terminal. Computer software design includes USB drivers and the Application procedures for the Application interface. Software is finished in the development environment of Visual C + + 6.0. Using Driver Works, cooperating with DDK and Visual C + + 6.0, USB driver is completed,which solves the interface issue between the USB device CY7C68013A and PC terminal. With the using of MFC in Visual C++6.0,the Application procedures for the Application interface is written ,which realizes opening, closing and testing of the USB device, sets up a transmission pipeline, sets up data collection port, collects data from the interface, displays and processes it, draws corresponding curve and real-time changes the scale of the curve.
The designing plan for the realization of USB data acquisition for the motor torque, storing, processing, display of the data and drawing the corresponding curve: USB high-speed, stable, reliable and accurate interface; completion on PC of reception, processing, storing and displaying of data from the USB data acquisition (collects 1 K Byte data each time); drawing corresponding curve for the data from the USB data acquisition, which reflects the data changes intuitively; real-time changing of the scale of the curve for better observation and analysis; the interface of USB data acquisition to be friendly, practical and humane.
Key words:Data Acquisition,Visual C++,MFC ,
目 录
1 引言 1
2 概述 2
2.1 USB数据采集系统概述 2
2.2 本设计方案思路 3
2.3 研发方向和技术关键 3
2.4 主要技术指标 4
3 总体设计 5
3.1 扭矩传感器 5
3.2 A/D转换器 5
3.3 USB2.0控制器 6
3.4 PC机终端 8
3.5 其他说明 8
4 软件设计 9
4.1 USB 驱动程序设计 9
4.1.1 驱动程序模型 9
4.1.2 EZ
显示全部