Data Acquisition and Processing System Based on DSP Technology and USB2.0

Author
YuPing
Advisor
QinShuRen
School
Chongqing University
Major
Mechanical and Electronic Engineering
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2005
Downloads
849
Citations
5

Request the full text

Abstract

Data acquisition card is the AD interface card, which converts the output analog signals of the sensors to the digital signals, and transmits the digital signal to the computer. The traditional acquisition card is limited in data acquisition, and the task of signal processing and analyzing is finished by the computer, which leads to the reducing of the real time quality and even user’s long time waiting in some high real time quality required fields. The users consume lots of time to configure the plugged data acquisition card, which doesn’t have the capabilities of hot plugged and portable. The paper designs a portable data acquisition and processing system based on DSP and USB2.0 which breaks through the only function of sampling data of the traditional acquisition card, and realizes processing data on card, and have the advantages of hot-plugged and portable, and be adapt to the field test and measurement environment. The digital signal processor becomes the preferred utility for realizing digital arithmetic rapidly and precisely relying on its particular hardware and instruction architecture. The paper introduces the CPU structure、Memory composition、Peripheral resources and the addressing modes etc. The high-speed data acquisition and processing system requires not only fast and precise digital signal processing ability but also high data transmission bandwidth, which can transmit the mass of data to the PC. The interface used by the system is the crucial factor of the transmission bandwidth. Universal Serial Bus supports transfer rates up to 480 Mb/s、hot plugged、easy of expansion and full backward compatibility. Using the USB interface between the data acquisition system and the computer can satisfy this system’s transmission bandwidth entirely. The paper introduces the feature and protocol of USB, and expatiates the design method of the data acquisition and processing system in detail. Based on the DSP and USB2.0 technologies, the paper designs a portable and high-speed data acquisition and processing system, which consists of input/output passage module, acquisition and processing module and computer interface module. Each module is composed of some electronic components, and the paper has made detailed hardware designing for each module. The software of the system is composed of DSP program 、the firmware、the device driver and the host application program. The paper introduces the main DSP program and the DMA and the INT2 interrupt service program for system’s one-channel and multi-channel working mode. The system’s firmware is designed by the KeilC51 tool. The device driver is designed by the Microsoft’s device drive kits, and the application program is developed with the Visual C++ 6.0 tools. Finally, some conclusions and further research prospect are provided.

Table of contents

Chinese Abstract 4-6 Abstract 6-12 1 Introduction 12-22 1.1 portable data acquisition card principle and development status 12-13 1.1.1 the basic principles of data acquisition card 12 1.1.2 portable data acquisition card development status 12-13 1.2 subjects using the key technology features and its development 13-19 1.2.1 DSP technology features and applications 14-16 1.2.2 USB bus characteristics and application 16-19 1.3 issue is the major work and innovation 19-22 1.3.1 issue is the major work 19-20 1.3.2 subject innovation 20-22 2 digital signal processor (DSP) principle 22-40 2.1 DSP CPU architectures 22-23 2.2 CPU 's basic register set 23-25 ?? 2.3 memory and high-speed instruction cache 25-27 2.3.1 TMS20VC33 memory mapping space 26 2.3.2 TMS320VC33 high-speed instruction cache 26-27 2.4 data format and floating point operations 27-33 2.5 DSP addressing modes 33-37 2.5.1 General addressing 33-36 2.5.2 DSP addressing two specific ways 36-37 2.6 DSP 's interrupt 37-40 3 USB2.0 bus interface technology 40-58 3.1 USB system structure and hierarchical 40-44 3.1. 1 USB system architecture 40-41 3.1.2 USB system hierarchy 41-44 3.2 USB transaction processing 44-47 3.2. a field format 45 3.2.2 packet 45-46 3.2.3 transaction Processing 46-47 3.3 USB data transfer 47-50 3.3.1 state mechanism 47-49 3.3.2 transfer Type 49-50 3.3.3 error Control 50 3.4 USB host 50-52 3.4.1 USB bus interface 51-52 3.4.2 client software 52 3.4.3 system Software 52 3.5 USB device 52-58 3.5.1 device Architecture 52-55 3.5.2 device Status 55 3.5.3 bus enumeration 55-56 3.5.4 descriptor 56-57 3.5.5 device requests 57-58 4 portable data acquisition and processing system hardware design 58-84 4.1 hardware system design 58-62 4.1.1 design Requirements 58 4.1.2 system diagram Design 58-60 4.1.3 Selection of the main device 60-62 4.2 input channel design 62-68 4.2.1 front-end signal conditioning module design 63-65 4.2.2 A / D data conversion module design 65-68 4.3 Output channel design 68-69 4.3.1 signal generator (DAC) module design 68-69 4.3.2 digital IO module design 69 4.4 DSP control and data processing module design 69-74 4.4.1 TMS320VC33 pin descriptions and connection design 70-71 4.4.2 TMS320VC33 external memory Design 71-74 4.5 USB2.0 interface module design 74-79 4.5.1 USB2.0 interface chip CY7C68013 74-77 <br / > 4.5.2 acquisition and processing systems and computer interface design 77-79 4.6 complex large-scale programmable integrated circuit (CPLD) module design 79-83 4.6.1 CPLD principle 79-81 4.6.2 the system CPLD design 81-83 4.7 PCB design and production 83-84 5 portable data acquisition and processing system software design 84-98 5.1 DSP data acquisition and processing program design 84-91 5.1.1 DSP program development tools and development processes 84-85 5.1.2 system DSP programming 85-91 5.2 Firmware firmware design 91-94 5.3 driver , and host -side applications design 94-98 5.3.1 Windows driver Model 94-95 5.3.2 acquisition Card driver Design 95-96 <br / > 5.3.3 application design 96-98 6 conclusions and further research ideas 98-102 6.1 topics summarize 98-99 6.2 further research ideas 99-102 Thanks 102-104 References 104-108 Appendix 108-110 < br /> originality statement 110 dissertation copyright attorney 110

Related dissertations

  1. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  2. Embedded Vibration Signal Analyzer Developed
    LiZhaoChang ·Harbin Engineering University ·2013 ·Master's thesis
  3. The improved design of FPGA experimental system
    RenJiaWei ·Northwestern University ·2013 ·Master's thesis
  4. The Development of Data Acquisition Module Based on USB
    PanJianBing ·Chongqing University ·2006 ·Master's thesis
  5. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  6. Intelligent Video Surveillance System Based on DSP
  7. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  8. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  9. Design and Implementation of Multi-point Tension Data Acquisition System Based on USB
    CuiShuZuo ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  10. Design and Implementation of Multi-channel Data Acquisition System
  11. Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
  12. Wire Rope On-line Detection System Design Based on DSP
  13. IMU Data Acquisition and Processing System Design and Realization Based on DSP
  14. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  15. The Study Oh Fuzzy Controlin TIG Welding Prossess
    ZhangJun ·Shanghai Jiaotong University ·2008 ·Master's thesis
  16. Control Method Research and Controller Development of AGV Based on DSP
    SunXiaoMeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Research on Tension Control System of Fiber Placement Machine
    LiuJiCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
  19. Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
  20. Modeling and Implementation of Motor Function Module Based on PLCopen