The Design of Data Receiving and Dispatching System Based on USB

Author
LiHeLai
Advisor
WangJiaXing
School
China Seismological Bureau, Institute of Engineering Mechanics
Major
Disaster Prevention and Reduction Engineering and Protective Engineering
Classification
P315.69 Computer Applications
Degree
Master's thesis
Year
2009
Downloads
250
Citations
5

Request the full text

Abstract

With the rapid development of modern science and technology and seismic studies, seismic observation and earthquake early warning needs, modern seismic observation equipment has greatly improved, especially the rapid development of computer technology, modern seismic observation device into a computer- Subjects stage. Data acquisition technology based on the sensor signal measurement and processing, microcomputer technology to form an integrated application of technology, research information data collection, storage, treatment, and control, involving analog signal conditioning, analog signal is digitized, digital signal processing, has a strong practical. USB technology with its quick and easy, occupy less system resources quickly to get a wide range of applications. USB (Universal Serial Bus) technology to solve congestion and improve the equipment of the PC peripherals transmission speed. USB only need extremely simple installation and configuration to use peripherals, USB provides plug-and-play and hot-swap capabilities, uninterruptible power peripherals connected to the USB, and the system can be immediately identification used. Application USB interface technology developed (Plug and Play) can be connected to a computer to achieve the seismic data acquisition, processing and analysis of seismic observation equipment, has a very important significance of digital seismic construction. In this paper, on the basis of in-depth studies USB technology, design a high-speed data acquisition, transmission and processing of master data acquisition to the MCU MSP430 USB high-speed data transmission, final data processing is done on the host system. The completion of the system software, hardware debugging. Specific research work are as follows: 1-depth study of the theory of the USB technology, including: the USB system components, the USB system level, as well as four transmission mode USB data in its own data format, data packet size, bus access restrictions characteristics. Finally, the USB transaction processing, USB device detection process theory. Article uses the USB chip FT245BM a simple introduction to the main characteristics of the chip, the chip's pin, the function of the chip, and the chip and peripheral data transfer method. 3 of this article MSP430 microcontroller features, structure and pin description and design the hardware circuit based on MSP430 control circuit design, the USB chip circuit design, the design of the power supply circuit, reset circuit design crystal oscillator circuit design. 4. Article focuses on the design and implementation of a system PC software, to Find USB chip can be completed by the PC software, connect a variety of control and data transmission, the software part of the design first API function FT245BM chip the package, and then do the detailed design of several major features of the software module. 5 Finally, the experimental study of the content of the research. The experimental results show that the system is stable, able to achieve high-speed data acquisition, reliable transmission and processing.

Table of contents

Summary 5-7 ABSTRACT 7-12 first chapter the subject sources nbsp 12-18 1.1; 12-13 < br /> 1.2 the research purpose and significance 13-14 1.2.1 research purposes 13-14 1.2.2 research significance 14 1.3 research status 14-15 1.4 research 15-16 1.5 organizational structure of the paper 16-18 USB theoretical analysis 18-30 2.1 the USB system components 18-20 2.1.1 USB host 18-19 2.1.2 USB Internet 19 2.1.3 USB devices 19-20 2.2 USB system layered 20-23 <br / > 2.2.1 USB function layer a 20-22 USB device layer 2.2.2 22 2.2.3 USB bus interface layer 22-23 <br / > 2.3 USB data transfer the 23-25 ??2.3.1 USB data transfer elements 24-25 2.3.2 state mechanism 25 2.3. 3 error control 2.4 USB transaction processing 25 25-28 2.5 USB device detection 28-29 nbsp 2.5.1 USB descriptor ; 28-29 2.5.2 device requests 29 2.6 Chapter Summary 29-30 Chapter FT245BM chip 30 - 38 3.1 FT245BM chip Introduction 30-31 3.2 FT245BM chip characteristics 31-32 3.3 chip pin functions 32-34 3.4 chip functionality 3.5 FT245BM 34-36 with peripheral data transfer method 36-37 3.6 Chapter Summary 37-38 Chapter system hardware design 38-44 4.1 MSP430F149 MCU Overview the 38-39 4.1.1 MSP430F149 introduced, 38 4.1.2 MSP430F149 Features the 38-39 4.1.3 MSP430F149 pin description 39 4.2 MSP430F149 control circuit design 39-40 4.3 USB chip circuit design 40-41 4.4 power circuit design 41-42 4.5 RESET circuit design the 4.6 crystal oscillator circuit design 42 42-43 4.7 Chapter Summary 43-44 Chapter PC software to achieve 44-76 5.1 FT245 API function package 44-49 5.1.1 API control instructions description 44-45 5.1.2 the API control commands packaging 45-46 5.1.3 API control instructions call 46-49 5.2 USB device descriptor module the descriptive manner 49-51 5.2.1 serial number 50 5.2.2 Device Information Description 50-51 5.2.3 Position Description the Find module of 51 5.3 USB Device 51-56 5.3.1 USB device discovery module processes 51-52 5.3.2 program to achieve 52-56 5.4 USB Device the open module 56-61 open module 5.4.1 USB Device process design 56-57 5.4.2 program 57-61 5.5 datacom test modules 61-63 5.5.1 Data communication test module process design 61-62 5.5.2 program implementation 62-63 5.6 data storage module nbsp the; 63-65 5.6.1 data storage module design 63-64 5.6.2 Data stored module 64-65 5.7 instrument channel selection module 65-66 5.7.1 the number of instrument channels module design 65 number of 5.7.2 instrument channel selection module 65-66 5.8 waveform display module 66-67 5.8.1 waveform display module design 66 5.8.2 waveform display module 66-67 5.9 stop send control module the 67-68 5.10 trigger test module to 68-69 5.11 data display module 69-70 5.11.1 data display module design 69 5.11.2 data display module to achieve to 69-70 5.12 multi-threaded module 70-75 5.12.1 multithreading module design 70-71 5.12.2 multi thread module to 71-75 5.13 Chapter Summary 75-76 Chapter the system demonstrates the the 76-84 6.1 system main interface 76 6.2 system implementation process 76-84 Chapter VII Conclusion 84 -86 Reference 86-88 Acknowledgements 88-89 Author 89

Related dissertations

  1. Design and Implementation of Data Collecting System of Teachers Guangdong Food and Drug Vocational College
  2. Research on Networking Measurement System of Electromagnetic Disturbance in Earthquake Forecast
    CuiYanYun ·Chinese Geology University (Beijing) ·2010 ·Doctoral dissertation
  3. The Video Frequency Data Gathering System Design of Air Route for the Aircraft Precipitation Enhancement
    LiMaoLun ·Jilin University ·2007 ·Master's thesis
  4. A Design of EEG Collecting System Based on FPGA
    HouJunQin ·Anhui University ·2007 ·Master's thesis
  5. The Canadian Tax Collection the Reference to China
  6. HK Pharmaceutical Companies E-business Patterns for Marketing of Service
    WangXue ·Jilin University ·2013 ·Master's thesis
  7. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  8. Usb Without Invasive Data Collection Technology Research
  9. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  10. Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
  11. Grating Data Acquisition and Error Correction Technology
    DongShanShan ·Hefei University of Technology ·2014 ·Master's thesis
  12. CCD Data Acquisition System Implementation Based on FPGA
    LiuYu ·Anhui University ·2014 ·Master's thesis
  13. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis
  14. Research and design of intelligent 3D pulse peak field strength tester
  15. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  16. Applied to the Construction of Campus Network Research
    WuChunHong ·Hebei University of Technology ·2013 ·Master's thesis
  17. Design and Implementation on Microblog Data Collection System
  18. The Design of Video Image Processing System Based on FPGA
    LiangJie ·Chengdu University of Technology ·2013 ·Master's thesis
  19. Embedded Fingerprint Identification System and Storage Technology
  20. Research on the Digital Broadband Electromagnetic Tomography System
    ChenGuang ·Tianjin University ·2010 ·Doctoral dissertation