Research of Communication Technology on Vehicle Traveling Data Recorder
- Author
- ZhuJun
- Advisor
- ZengChunNian
- School
- Wuhan University of Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP216.2 Automatic recording and indicating instruments
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 98
- Citations
- 0
Abstract
Embedded system is a fast developing new field.RS232,CAN and USB have been developing rapidly in the field of electronic equipment, having the attributes of low-cost,rapid-speed,ease-of-extend,so they are applied widely.Therefore,the realization of RS232,CAN and USB communication functions in embedded system has the practical significance and the application prospect.As a real-time monitoring electronic product,Vehicle Traveling Data Recorder saves the important information of the running state of a car.It will provide reliable and correct information,which is helpful for the analysis of accidents.Based on the requirements of "National Standard of Vehicle Travelling Data Recorder"(GB/T 19056-2003) and special communication demand of FCEV,an Vehicle Traveling Data Recorder consists of RS232,CAN and USB communication modules were researched.The USB module has two functions—USB Host/USB Slave, and the two functions can be switched between each other.Using RS232 interface is for the communication between VTDR and PC or other serial devices(such as a printer).Adding CAN interface is used for getting data from CAN bus.In order to get rid of PC for storing collected data and to improve the speed of data transporting,a USB Host/Slave interface is designed.The host function could identify a U disk and store the collected data from CAN interface into the U disk.The slave function allows a PC to identify and support the USB interface module and to communicate with the VTDR by much more higher transporting speed as a USB device.This paper focus on the researching of basal configuration,working principle,hardware and software for the three interfaces and deeply analyses some special aspects of the USB interface module,such as the theory of USB interface,the enumeration of a USB equipment to the USB Host for identification,USB Mass Storage class specification of a mass storage removable device,construction of FAT file system,how a USB Host can use Bulk-Only transfer protocol to read/write the data on the USB flash disk by sending USB Floppy Interface(UFI) commands,and introducing three programs for realizing USB Slave function which are USB controller driver program,core driver program and user software.In the end,an experiment is carried out and reveals that the operation of this system is steady and the functions such as high rate data collecting,reliable transmission and processing are well fulfilled.
Table of contents
Abstract 4-5
Abstract 5-8
Chapter 1 Introduction 8-12
1.1 topics Overview 8-9
1.1.1 Background of the research 8-9
1.1.2 research purpose and meaning
1.2 research status quo 9-11
1.3 The research 11-12
Chapter 2 RS232 serial communication design 12-15
2.1 RS232 interface hardware design 12-13
2.2 serial communication software to achieve 13-15
Chapter 3 CAN interface communication design 15-19
3.1 CAN interface hardware design 15-16
3.2 CAN communication software to achieve 16-19
3.2.1 CAN interface initialization procedures 16-18
3.2.2 CAN interface data reception interrupt handling 18-19
Chapter 4 USB interface circuit hardware design 19-26
4.1 USB interface module of the overall structure 19-20
4.2 USB interface control chip select 20-23
4.2.1 SL811 and CH375 performance comparison 20-22
4.2.2 select CH375 reason 22-23
4.3 USB interface module circuit design 23-26
Chapter 5 USB host function software design 26-45
5.1 USB host function of the program flow chart 26-28
the 5.2 the MCU and CH375 between the communication 28-30
5.3 USB host device enumeration process 30-33
5.4 Mass Storage Class protocol analysis 33-40
5.4.1 Bulk-Only Transport Protocol 34-37
5.4.2 UFI command specification 37-40
5.5 FAT file system structure 40-45
5.5.1 boot sector DBR 40-41
5.5.2 File Allocation Table FAT 41-42
5.5.3 root zone RDR 42
5.5.4 Data Area DR 42-45
the
chapter 6 USB slave function software design 45-53
6.1 USB software from machine functions outlined 46-49
6.1.1 USB device-side firmware 47-48
6.1.2 PC-side USB device driver 48-49
6.1.3 PC-side user application 49
6.2 USB software from machine functions 49-53
Chapter 7 System commissioning and testing analysis 53-56
7.1 debugging problems encountered and the solution 53-54
7.2 functionality and performance test results 54-56
Chapter 8 Summary and Outlook 56-58
8.1 summarizes 56-57
8.2 Looking 57-58
the
References 58-62
Acknowledgements 62-63
the
author of academic papers published during the master's degree 63
Related dissertations
- The Design and Application Research of Surge Suppression Circuit for the CAN Interface
- System Design about Wireless Data Communication Vehicle Traveling Data Recorder
- Design and Study of Vehicle Traveling Data Recorder Based on ARM System
- Observing and Control of Several Arameters in Gushing Out Oil Pump Test Platform and Research of Fussy Control of Asynchronism Electromotor
- Development on ABS Communication Controller
- Gated ticket system several key technology research and implementation
- The Communication Research of Embed ARM9200 and MCP2510
- Design of SCPI Parser Module on Instrument Interface Platform
- Research on the Vehicle Traveling Data Recorder of the HEV