节点文献

基于USB总线接口的控制系统设计

Design of a Control System Based on USB Interface

【作者】 朱静

【导师】 钱敏;

【作者基本信息】 苏州大学 , 集成电路工程, 2012, 硕士

【摘要】 通用串行总线(Universal Serial Bus)是一种在微机领域应用前景非常广阔的新型接口技术。自从Windows98操作系统开始对USB接口的全面支持后,USB总线技术逐渐进入实用性阶段,并成为PC机最重要的外设连接方式之一,以其使用方便、易于扩展、价格低廉、速度快等优点而越来越多地应用于数据传输。本文以基于USB总线接口的控制系统的设计过程为主要内容,阐述了利用Philips公司的USB接口芯片PDIUSBD12与MCU芯片STC89C52RC进行USB通信及控制,给出了具体的实现方案。论文首先介绍了USB1.1协议中的相关内容,然后介绍了整个系统的硬件设计和软件编程。在硬件设计部分,首先介绍了USB控制接口芯片PD12的性能特点和应用,然后给出了PD12与单片机之间的接口电路的设计方案。软件编程主要包括固件设计、设备驱动程序开发和用户应用程序开发三大部分。固件部分主要采用模块化的方式进行设计;先介绍总体的设计思想及其层次结构,随后详细介绍了各层次程序的设计内容,给出了部分源代码。设备驱动程序开发部分首先简单介绍了开发该驱动程序所用的集成开发环境,接着介绍了WDM驱动程序模型和USB驱动程序开发的过程。最后是主机端应用程序的设计,介绍了访问驱动程序的方法;它主要提供一个友好的人机界面,实现PC机与外围设备之间的通信。最后,对该系统的设计进行了总结,突出了USB接口的优势,并对其功能扩展进行了展望。

【Abstract】 The Universal Serial Bus (USB) is a new kind of interface technology which is widelyapplied in the field of microcomputer. Since the windows98operation system supportedthe USB interface in computer, USB has gradually entered the practical stage and becomesone of the most important developments in PC peripheral interconnecting technology. Andit is more and more used in data transmission because of its convenience, expansibilitiesand fast speed.In this dissertation, a control system for communication is designed based on USB bus.We choose Philips’ chip-PDIUSBD12to control the interface and correspond withsinglechip STC89C52RC. In addition, the thesis also gives the specific realization scheme.Firstly, the protocol of USB bus is introduced briefly, and then the hardware design andsoftware programming of the whole system are discussed. In hardware section, theperformance of PDIUSBD12is described, and the interface circuit of PD12and singlechipMCU is given out. The software programming includes three sections,firmware, devicedriver and application program. The firmware (including several modules) programming isintroduced and some codes are given out. In device driver section, the IDE (integrateddevelopment environment) for programming and the developing steps of WDM drivermodel are introduced. The application program is designed to access the driver. It mainlyprovides a friendly user interface to communicate between PC and peripherals.In the end,a conclusion is drawn to highlight the advantages of USB, and a prospect ismade on the extension of USB functions.

【关键词】 USB总线PDIUSBD12固件驱动程序应用程序
【Key words】 USB InterfacePDIUSBD12FirmwareDriverApplication Program
  • 【网络出版投稿人】 苏州大学
  • 【网络出版年期】2012年 10期
节点文献中: 

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

本文的引文网络