Font Size: a A A

Design Of Communication Between DSP & PC Based On USB And PC Signal Processing

Posted on:2008-08-01Degree:MasterType:Thesis
Country:ChinaCandidate:G H LiFull Text:PDF
GTID:2178360272469748Subject:Materials Processing Engineering
Abstract/Summary:PDF Full Text Request
The conditions around the machines in the industry field become more and more complicated. The requirement is increasing to make those monitoring and controlling instruments simple and ease of use from the field engineers. To satisfy the demands, with the benefits of USB, such as ease of use, true plug and play, high speed transmission and dependability, this paper provides a new resolution of portable virtual instrument system with USB and DSP(Digital Signal Processor)which has powerful control system and high speed data processing ablity.The main tasks of the paper go as follows: data acquisition and transmission, USB firmware design, USB driver design and application software design on PC.In data acquisition and transmission unit, the paper adopts AD module of DSP, making the system has 10 bit resolution and 2MHz sampling speed. It also realizes 53MByte/s data transmission to PC by expanding USB control chip. Thus the data acquisition system becomes more convenient and easier to be used.In USB firmware design unit, the paper adopts complete interrupt mode to accomplish the enumeration of USB device and A/D conversion. USB transmission is processed in backstage of CPU,while CPU is processing the missions of proscenium. Thus the optimal transmission speed and excellent structure of software are guaranteed.In USB dirver design unit, the paper uitilizes the developing environment of DriverWorks which encapsulates the library of DDK(Device Driver Kit) by the idea of OOP.(Oriented Object Programme) . USB device driver can be easily developed with the classes which are provided by DriverWorks. Compared to DDK, the period of development of driver is greatly shortened.In the application software unit, to realize high speed and mass of data real time display and store, dynamic display module introduces the programming technology of multi-thread and high speed data transforming. The problems of data loss, screen update is resolved preferably. By combining the extern interface of Matlab, static analyzing module accomplishs complicated arithmetic data analysis, such as denoising and characteristic pick-up by wavelet. According to the theory of"software is just virtual instrument", the whole system absolutely has the characters of virtual instrument.This M.S. degree project's main task is to research & develop the use of USB tech in data acquisition and PC communication system, and provide a whole doable solution.
Keywords/Search Tags:USB, DSP, Firmware, USB driver, Multi-thread
PDF Full Text Request
Related items