Design of Multi-Channel Data Acquisition System Based on FPGA and USB2.0Bus
- Author
- YangKun
- Advisor
- GuLiChen
- School
- Chang'an University
- Major
- Mechanical and Electronic Engineering
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 63
- Citations
- 0
Abstract
This paper for the requirements of Tower Crane safety early-warning system, primarilystudies and designs a kind of Multi-channel data acquisition system based on the technologyof FPGA and USB2.0Bus, which is used to acquire,transmit and analyse the ultrasonicechoes of obstacles detecting.The system composed of HOST and Acquisition Board,the separation,storage andanalysis of multi-channel data is realized by the HOST.FPGA is used as control core of theAcquisition Board, in charger of the whole data acquisition hardwares control, realizes theacquisition and transmission of multi-channel real-time signal parallel processing. USB2.0Bus realizes the data communication between the data Acquisition Board and HOST.In the aspect of hardware,this paper design the acquisition control circuit based onFPGA,front-end data acquisition circuit of ADC LTC1609,SDRAM ping-pong buffer circuitand USB FX2LP interface circuit etc.In the aspect of USB2.0Bus,this paper analyse the working principle and framework ofFX2LP’s firmware, designs a USB communication interface which satisfied the USB2.0high-speed protocol.In the aspect of FPGA controlling modules,The FPGA is housed on each of themodules,which consists of Multi-channel data acquisition module,data Ping-pong buffermodule, USB data transmission module,HOST command decoding module. Data acquisitionmodule regulates the sample rate to sample the analog data after the signal is filtered andmagnified. Ping-pong buffer module takes charge of caching the sample data and then USBdata transmission module will transport them to the data bus of FX2LP according to thetiming of FX2LP. HOST command decoding module decodes the control command fromHOST,and then control the data acquisition hardwares.This Paper uses the ModelSim simulation tool to simulate the timing of sub-modules andtest the result of the Data acquisition and control on the real hardwares.The test results provethat this design satisfies the system requirements.
Table of contents
Summary 4-5
Abstract 5-9
first chapter background and significance of 9-15
1.1 research topic 9-12
1.1.1 research background 9-10
1.1.2 source and significance of the subject 10-12
1.2 data acquisition technology Research Status and development Direction main contents and structure nbsp 12
1.3 herein ; 12-15
1.3.1 the main contents 12-13 <br / > 1.3.2 herein organizational structure hardware 13-15
Chapter II acquisition System 15-34
2.1 overall acquisition system hardware design 15-17
2.2 acquisition system chip selection 17-21
selection nbsp 2.2.1 USB interface chip ; 17-18
2.2.2 FPGA chip selection type 18-19
selection nbsp 2.2.3 SDRAM chips ; 19-20
selection nbsp 2.2.4 ADC chip ; 20-21
2.3 acquisition system hardware circuit design 21-33
2.3.1 system power and reset circuit design 21-24
2.3.2 FPGA control circuit design 24 - 28
2.3.3 ADC analog to digital converter circuit design 28-29
2.3.4 USB interface circuit design 29-31
2.3.5 SDRAM buffer circuit design 31-33
2.4 Summary 33-34
Chapter III USB FX2LP write firmware and driver configuration 34-49
3.1 FX2LP firmware firmware framework 34-37
3.2 Slave FIFO firmware programming 37-39
3.2.1 Slave FIFO register configuration 37-38 <br / > 3.2.2 FX2LP Slave FIFO firmware design writing 38-39
3.3 FX2LP custom commands firmware 39-46
determine nbsp 3.3.1 FX2LP control scheme ; 39-42
3.3.2 FX2LP custom firmware write commands 42-46
3.4 generic Windows USB device driver configuration 46-48
3.5 of this chapter Summary writing 48-49
Chapter IV FPGA control module 49-75
4.1 FPGA general process developed 49-51
4.2 acquisition the overall design of the system FPGA control module 51-52
4.3 ADC LTC1609 control module design and implementation 52-58
4.3.1 LTC1609 operating mode selection and sampling timing analysis writing 52-53
4.3.2 LTC1609 control module 53-55
4.3.3 LTC1609 control module timing simulation 55-58
4.4 multi-channel parallel ADC acquisition and control module design and implementation 58-63
4.4.1 multiple ADC acquisition and control modules in parallel functional analysis 58
4.4.2 FPGA multi-channel parallel acquisition ADC write control module 58-61
4.4.3 multi-channel parallel acquisition ADC module to control the timing simulation 61-63
4.5 FX2LP SlaveFIFO write control module design and implementation 63-68
4.5.1 FX2LP Slave FIFO mode Detailed timing analysis 63-65
4.5.2 FPGA FX2LP SlaveFIFO write control module controls the writing module 65 - 66
4.5.3 FX2LP SlaveFIFO write control module timing simulation 66-68
4.6 DCFIFO reader module is designed to achieve 68-72
4.6.1 dual clock FIFO buffer DCFIFO reader module timing analysis 68-70
4.6.2 DCFIFO write reader module 70-72
4.7 host command decoding module design and implementation 72
4.8 acquisition system clock PLL configuration 72-74
4.9 Summary 74-75
Chapter SDRAM read and write operations control and ping-pong control module designed to achieve 75-97
5.1 SDRAM read and write control module overall design writing 75-76
5.2 SDRAM timing control module 76-82
5.2.1 SDRAM auto- refresh 76-77
5.2.2 SDRAM initialization module 77-78
5.2.3 SDRAM burst write / read operations 78-82
5.3 SDRAM command control module written writing 82-83
5.4 SDRAM data control module 83-84
5.5 SDRAM read write data control module written 84-85
5.6 SDRAM data read and write control module written 85-87
5.7 SDRAM read and write control module simulation 87 write -90
5.8 SDRAM ping-pong operation control module 90-95
5.8.1 pong operation principle 90-91
5.8.2 SDRAM pong operation control module preparation simulation 91-93
5.8.3 SDRAM ping-pong operation control module 93-95
5.9 Summary 95-97
sixth host software development chapter acquisition system 97-109
write data acquisition system 6.1 host software application Programming 97-106
6.1.1 Cypress USB method outlined 97-99
6.1.2 USB device identification , enumeration 99-101
6.1.3 acquisition and control commands sent 101
6.1.4 multi-channel data acquisition separation , storage 101-102
6.1.5 collect data waveform playback 102-103
6.1.6 data acquisition software instructions test 103-106
6.2 acquisition system 106-108
6.3 summary 108-109
summary 109-110
reference literature 110-113
Appendix 113-114
pursuing a degree obtained during research 114-115
Thanks 115
Related dissertations
- Design and Implementation of the Design Calculation System for Tower Crane Based on Ansys and SQL
- Analysis on the Tower Crane Oil Painting Series' Language Expression
- The Design and Analysis of Electrical Control System for the Big and Mobile Tower Crane Based on Can Bus
- Research and Application of Tower Crane Parametrized Structural Analytical Technology Based on CAD and FEM
- Analysis Dynamic Characteristics of Tower Crane Based on Substructure Synthesis Method
- Research of Embedded Intelligent Monitoring System of Tower Crane Based on Fieldbus
- Research on Mechanical Condition of Inverted Triangle Cargo Boom of Tower Crane
- The Design and Implementation of Tower Crane Safety Monitoring and Management System
- Research on Fatigue Residual Life Prediction System of Tower Crane
- Research on Tower Crane's Spacial Runnig States Stability Control Algorithm and Monitoring System
- The Research for Tower Crane's Anti-collision System Based on ZigBee
- Study on Ultrasonic Monitoring Information Transmission of Tower Crane Based on Zigbee and Web
- The Theory and Application of Rapid Design for Tower Crane
- Research on Tower Crane Operation Parameter's Real-Time Record and Analysis System
- Fatigue Property Analysis of Tower Crane Based on Fracture Mechanics
- Tower crane spatial structure dynamic analysis and monitoring technology research
- Research on tower crane data acquisition system based on M_BUS
- Study on Coal Mine Mechanical Weld Flaw Recognition Technology of Ultrasonic Signal
- Research on the Fatigue Analysis Methods of Welding Structure and Applied to the Tower Crane Boom
- Test Analysis of the Acoustic Emission Signal Characteristics of Tower Crane Material Conventional Defects