Design on the Universal Data Recorder Based on USB
- Author
- SunBin
- Advisor
- FanWenXia
- School
- Xi'an Technological University
- Major
- Detection Technology and Automation
- Classification
- TP216.2 Automatic recording and indicating instruments
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 82
- Citations
- 0
Abstract
Data recorder records real-timing operation parameters which is widely used in highly transportation area, such as aircrafts, motorcycles, and ships. The accuracy of these data will directly affect the determination of researchers to judge the performance of these machines. So it is particularly important to design a real-time and reliable data recorder.Traditional data recorder will cost a lot of time in transmitting data to PC which has input interface of RS-422 and output interface of RS-232. And now many PC boards had upgraded and begun to gradually eliminate the RS-232 interface. Therefore we need to find out a new way of data transmission to replace the traditional. The paper is in this context for research.Based on the design of traditional data recorder, through the argument of various scheme systems, this article proposed a new design concept that using RS-422 and RS-232 as the intput interface and the USB host as the output interface. This data recorder can store the data directly in the Nand Flash by RS-232 or RS-422 interface, and then store the data in U disk by USB interface. Contrasted with the traditional data recorder this new data recorder which based on USB interface has enormous advantages, such as high transmission speed、stability and convenience, even can get the ride of the PC’s support.By choosing the right MCU chip、high volume memory chip to completely design the whole hardware circuit, such as the minimum system circuit, JTAG circuit, key circuit, RS-232 interface circuit, RS-422 interface circuit, USB interface circuit, USB driving circuit, Nand Flash circuit. Software is the point of the article which made up of three functional modules, such as input and storage data task module; usb output data task module and erase Nand Flash task module. USB output data task is made up of USB Host Controller Driver, Universal Serial Bus Driver, USB Device program and FAT file system transplant. The functions of data recorder are so complex to realize, for implement real-time request of the data recorder, the paper used theμC/OS-Ⅱoperating system to manage the three task module.The results of experiment showed that, the file which was uploaded by data recorder was fully consistent with the source file, and error rate is zero. The universal data recorder was completely met the design requirement.
Table of contents
Abstract 3-5
Abstract 5-9
1 Introduction 9-11
1.1 research background 9
1.2 data logger research status 9-10
1.3 The paper is organized 10
1.4 Summary 10-11
2 data logger system design 11-15
2.1 data logger main technical parameters 11
2.2 data logger system principle 11
2.3 system solutions proposed and compare 11-14
2.4 The main contents 14
2.5 Summary 14-15
3 data logger hardware design 15-28
3.1 USB mechanical properties 15-17
3.2 chip selection 17-20
3.2.1 Selection of the master controller 17-19
3.2.2 Selection of high-capacity memory chips 19-20
3.3 data logger hardware interface circuit design 20-27
3.3.1 Data Logger minimum system circuit design 21-23
3.3.2 keyboard circuit design 23-24
3.3.3 RS-232 interface circuit design 24-25
3.3.4 RS-422 interface circuit design 25
3.3.5 NAND FLASH memory circuit design 25-26
3.3.6 USB interface circuit design 26-27
3.4 Summary 27-28
4 data logger software design 28-63
4.1 real-time operating system selection and transplantation 28-31
4.1.1 real-time operating system, select 28-29
4.1.2 RTOS μC/OS- Ⅱ transplant 29-31
4.2 Data logger main task function design 31-33
4.3 UART data input , storage, mission design 33-35
4.4 USB communication protocol describes 35-41
4.5 USB data output mission design 41-61
4.5.1 USB host controller programming 41-50
4.5.2 USB core programming 50-54
4.5.3 USB device programming 54-57
4.5.4 FAT file system migration 57-61
4.6 NAND FLASH erase mission design 61-62
4.7 Summary 62-63
5 data logger system debugging 63-70
5.1 RS-232 send and receive messages debugging 63-64
5.2 USB host system debugging 64-68
5.2.1 USB enumeration task debugging 64-66
5.2.2 Data Logger U-disk storage function debug 66-67
5.2.3 Data Logger data transmission reliability debug 67-68
5.3 NAND FLASH erase debugging 68-69
5.4 Summary 69-70
6 Conclusion 70-73
6.1 Work Summary 70
6.2 insufficient work and Prospects 70-73
References 73-76
papers published during the master's degree 76-77
Thanks 77-80
Appendix 80
Related dissertations
- Research and implementation of data recorder SD card and embedded USB host based
- The Research of Key Technology in the Dual-channel High Speed Data Recorder
- USB host application in embedded systems
- Application Research of Data Acquisition Platform Based on ARM and μC/OS-Ⅱ
- The Research and Design of Infrared Sensor Monitoring System Based on STM32
- Design and Realization of Eco-hydrological Data Acquisition System Based on SDI-12Interface
- Wireless environmental monitoring system based on multi sensor data fusion
- Design of fuze data acquisition system based on ARM microprocessor
- The Design and Implementation of SIP Based Managing and Control System for Smart Electricity
- Design and Implementation of Ethernet Transfer Based on ARM
- The Research and Implementation of Embedded TCP/IP Stack Based on F28M35HX
- The Artillery Battlefield Environment Information Management System Research and design
- Design and Implementation of High-speed Mass Data Storage Systems
- Research and Implementation of Parallel Storage System Based on NAND Flash
- Memory Data Management Algorithm Research of Embedded System Based on NAND Flash
- Implementation and Optimization of Solid State Storage System via PCIe Interface
- Research and Design of NAND Flash Controller Based on BCH Codec
- Research on Key Technology for Solid State Drive Design
- The Design and Realization of a Small Solid-state Memory Device and Ground Test Equipment
- Design of Wireless Sensor Network System Based on Multi-sensor