- 1
- 0
- 约3.7万字
- 约 46页
- 2017-11-14 发布于江苏
- 举报
单片机和USB接口技术高速数据采集系统设计方案
基于单片机和USB接口技术的高速数据采集系统的设计
摘要
数据采集系统是结合基于计算机的测量软硬件产品实现灵活的、用户自定义的测量系统。PC上。通用串行总线(USB)作为一种新的微机总线接口规范.具有便捷、易扩展、低成本、低干扰等特点,非常适合作为主机和外设之间的通信接口。USB为数据采集设备/仪器与PC机之间的连接提供了一个费用低廉且简单易用的方案。USBUSB技术虽然出现的时间并不长,但是由于它的种种优点,被越来越多的厂商和用户所接受.本次毕业设计(论文)设计了一种基于单片机和USB的高速数据采集系统的硬件及固件PDIUSBD12程序设计方案。
关键词 数据采集系统;usb接口;单片机
.6.27.31
Abstract
Data acquisition uses a combination of PC-based measurement hardware and software to provide a flexible, user-defined measurement system. Data acquisition involves gathering signals from measurement sources and digitizing the signal for storage, analysis, and presentation on a personal computer (PC).As a new interface Specification.the Universal Serial Bus (USB) has the advantages of convenient、expansibility、low cost and anti—disturbance. So it is fit for the communication interface between the host and available peripherals USB delivers an inexpensive, easy-to-use connection between data acquisition devices/instruments and PCs. USB communication technology can enable high-speed, strong error-correcting capabilities, easy extensibility, plug-and-play convenience, combined with organic. USB technology is not even in the face of a long time, but because of its many advantages, more and more accepted by manufacturers and users. This thesis introduce to the hardware and software design for the high speed data acquisition system based on Single chip micro computer and USB.
Key words data acquisition;universal serial bus interface;ngle chip micro computer
目录
摘要 I
Abstract II
第1章 绪论 1
1.1 研究的背景及目的 1
1.2 国内外研究现状及已有成果 1
1.3 课题的研究方法和内容 2
第2章 总体方案设计 3
2.1 芯片比较 3
2.1.1 单片机选型 3
2.1.2 USB接口芯片的选择 3
2.2 系统的原理及其组成 5
第3章 系统的程序设计 7
3.1 系统的硬件设计 7
3.1.1 PDIUSBD12的性能特点和内部结构 7
3.1.2 PDIUSBD12的端点描述 9
3.1.3 PDIUSBD12的指令集 10
3.1.4 PDIUSBD12的管脚配置 11
3.1.5 A/D与单片机接口电路 13
3.1.6 PDIUSBD12与单片机接口电路 14
3.2 系统的软件设计 14
3.2.1 PDIUSBD12的固件编程思想 14
3.2.2 PDIUSBD12固件编程的结构 15
3.2.3 PDIUSBD12固件编程的实现 17
3.2.4 端点处理程序 18
3.2.5 主循环MAINLOOP.C 21
3.2.6 驱动程序开发工具的介绍 22
3.2.7 USB设备驱动程序设计 23
3.2.8 USB设备驱动程
原创力文档

文档评论(0)