Data Auquisition and Storage System of High-speed and Large Capacity Based on STM32
- Author
- DingZhenHong
- Advisor
- JiXiaoJun
- School
- Shanghai Jiaotong University
- Major
- Measuring Technology and Instruments
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 685
- Citations
- 3
Abstract
Nowadays, the rapid development of electronics and computertechnology provides a good foundation for developing and designing dataacquisition and storage sytem to meet many special requirements. Meanwhile,the increasing application demands bring more challenges and chances for thedevelopment of data acquisition and storage system.Combining actual need and features of the existing data acquisition andstorage systems, this paper designed and implemented kind of data acquisitionand storage system of high-speed, high-precision, multi sync channels andlarge capacity, which can work offline and for a long time. The system appliesAD7656 to realize six channels synchronous acquisition. STM32 as the MCU,is used for acquisition and storage control together with USB transmission.The storage function works in“double-buffer”mode to ensure the real-time,integrity and continuity of data. The USB function applies USB slavecontroller and Mass storage firmware library to transmit data. Specifically, themain work is listed as follows:1、This paper introduced the whole design of this data acquisition and storage system based on STM32 after analyzing function requirementsand described the design principle and hardware circuit of all modules.2、It implemented A/D acquisition and Flash file system storagefunction which also includes invalid block management. At last, it appliedMass storage firmware library of STM32 to realize data transmission basedon USB interface.3、It applied this system to test the kinematic parameters ofhigh-speed locomotive, such as speed and acceleration. This system is provedgood reliability and stability by experiment calibration. Finally, analized andcaculated the uncertainty of speed and acceleration.
Table of contents
Summary 3-4
ABSTRACT 4-8
first chapter 8-11
1.1 subject background and significance < br /> 1.2 development at home and abroad 8-9
1.3 the paper contents arrangements 9-11
Chapter II high-speed large-capacity data acquisition and storage system overall program design nbsp needs analysis and functional design; 11-27
2.1 11-12
2.2 system overall program design 12-13
2.3 system hardware design 13 the periphery of the the microprocessor selection of -24
2.3.1 Analysis 13-15
2.3.2 A / D converter circuit design 15-17
2.3.3 memory and circuit design 17-20
2.3.4 USB control circuit the 20-22 2.3.5 System peripheral circuit
22-24
2.4 the overall structure of the system software design 24-26
2.4.1 system software flow chart 24-26
2.5 Chapter Summary 26-27
third Chapter FAT file system design 27-42
3.1 FAT file system structure and features 27-28
3.2 FLASH FAT file system to achieve 28-37
3.2.1 FatFS About the 28-29
3.2.2 FatFS, transplantation and configuration 29-33
3.2.3 Flash read and write operations 33-36
3.3.4 FAT file system implementations 36-37
3.3 FLASH bad block the dynamic management design 37-41
3.3.1 bad block Classification 37
3.3.2 bad block the dynamic management design 37-41
3.4 Chapter Summary 41-42
Chapter based USB interface data transmission design 42-60
4.1 USB operating mode select 42
4.2 USB data transfer 42-43
4.3 the BULK-ONLY transfer protocol the 43-47
4.3.1 Bulk-only transport endpoint 4.3.2 Bulk-only transfer 44
44-47
4.4 SCSI command set 47-48
4.5 data transfer procedures designed the 48-59 4.5.1 initialization procedure
48-50
4.5.2 USB to interrupt transaction 50-51
4.5.3 USB device enumeration 51-53
4.5.4 non-control endpoint interrupt handling the 53-57 <br / the> 4.5.5 USB Flash operating 57-59
4.6 Chapter Summary 59-60
Chapter of high-speed large-capacity data acquisition and storage system in the high-speed wheel-rail mobile the motion characteristics test 60-73
5.1 test contents and index requirements the 60-61
5.2 test method and sensor selection 61-64
5.2.1 speed test methods and sensor selection the 61-62
5.2.2 acceleration test method and sensor selection 62-64
5.3 signal conditioning circuit design 64-67
5.3.1 acceleration signal conditioning circuit design 64-66
5.3.2 speed signal conditioning circuit design 66-67
5.4 experiment Calibration and Uncertainty Analysis 67-72
5.4.1 Acceleration calibration 67-69
the 5.4.2 the pulse width Chronograph experimental 69
5.4 .3 speed experimental the 69-70
5.4.5 Uncertainty Analysis 70-72
5.5 Chapter Summary 72-73
Chapter Summary and Outlook the 73-75
6.1 summarizes the 73-74
6.2 Looking 74-75
Reference 75-77 < br /> Acknowledgements 77-78
master's degree has been published during the accepted papers 78-80
Related dissertations
- The Design of Wireless Controller among Mini Inverter Based on STM32
- Design and Research on Fire Detection and Alarm System Based on Multi-sensor Information Fusion Technology
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32
- Terminal design of fault diagnosis system of intelligent equipment under a cloud service environment
- The Design of Data Monitoring and Control System Based on USB and Lab VIEW
- Research on Techniques of Network Topologyandad Hoc Network in Cold Chain Transportation Monitoring System
- The Research and Design of Infrared Sensor Monitoring System Based on STM32
- High-precision In-pipeline Temperature Measurement System Based on STM32
- Design and Implementation of a Cooler of Data Acquisition and Control System Based on STM32
- Design of Steam System Data Acquisition Sub-station
- The Design and Implementation on Data Collection and Control System of the Hydraulic Universal Material Testing Machine
- The Collection and Storage of Physiological Signals System Based on STM32
- Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ
- Design of Industrial Controller Based on EPA
- The Design of CNC System for Automatic Gemstone Grinder
- Design and Research on the Control System of Patient’s Self-guided Rehabilitation Robotic Arm
- Design of the Embedded Internet Controller Based on STM32
- Research and Design of Information Processing System in Interferometric Fiber-optic Sensor
- Design and Implementation of Ground Test Equipment Based on STM32
- Implementation of Windows File System Virtualization Based on Sandbox Technology