Research and Realization of VDTR Based on Embeded Operating System μC/CS-Ⅱ
- Author
- ZhangChengCai
- Advisor
- ZengChunNian
- School
- Wuhan University of Technology
- Major
- Power Electronics and Power Drives
- Classification
- U463.7 Meter
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 225
- Citations
- 4
Abstract
Vehicle Travelling Data Recorder (VTDR) is a digital electronic device, which can record and store vehicle speed, real time, mileage and vehicle’s other status information. Meanwhile those messages can be outputted to other device through special transfer interface. The application of VTDR is important to hold back traffic peccancies such as tired-driving, overspeed, and it is also important for authenticating and analyzing traffic accidents. Aimming at the actuality of the VTDR research, a VTDR is designed in this paper which bases on the imbedded Real-Time Operating System (RTOS). It also has some characteristics such as real-time, high dependability and strong entended ability.First, through the introduction of VTDR’s background and reseach actuality the functions of VTDR are expatiated in the paper. Attach to the specialties of the embedded system the significance that the imbedded Real-Time Operating System is applied to VTDR system is proved. Then functions of μC/OS- II operating system is analysed such as its core, task switching, memory management and communication mechanism.And then, hardware framework is introduced in this paper. And the methods in which every function units of the recorder is designed are also discussed. Those function units mainly include data management, data store, LCD display, printer, real-time clock and power reset.At last, in the part of software design, the whole process in which the μC/OS- II operating system is migrated to the MC9S12D64 CPU is introduced. Based on the functions of VTDR the flow of every task’s software is described in the paper. Otherwise, several measures of anti-jamming are adopted in the process of hardware and software designing.
Table of contents
Abstract 3-4
Abstract 4-5
directory 5-7
Chapter 1 Introduction 7-16 <br / > 1.1 Vehicle traveling data recorder research background and significance 7-8
1.2 car logger development status 8-10
1.3 vehicle traveling data recorder composition and function of 10-12
1.3.1 logger composition 10
1.3.2 logger function 10-12
1.3.2.1 host function 10-11
1.3.2.2 data Analysis software Features 11-12
1.4 introduces embedded real-time operating system μC/OS- Ⅱ meaning 12-15
1.5 The main contents 15-16
Chapter 2 embedded real-time operating system μC/OS- Ⅱ 16-31
2.1 μC/OS- Ⅱ Introduction 16-17
2.2 kernel analysis 17-23
2.2.1 tasks and task control block 17-19
2.2.2 task Status 19-20
2.2.3 task scheduling 20-21
2.2.4 beat the clock and clock management 21-22
2.2.5 tasks initialization and startup 22-23
2.3 memory management 23-24
2.4 inter-task communication and synchronization 24-31
2.4.1 semaphore 25-27
2.4.2 mailbox 27-28
2.4.3 message queue 28-31
Chapter 3 system Hardware design and Implementation 31-48
3.1 overall composition of the system hardware 31-32
3.2 system circuit design of each functional unit 32-45
3.2 a data processing unit 32-36
3.2.1.1 microprocessor 33-34
3.2.1.2 Flash memory 34-35
3.2.1.1 ferroelectric memory (FRAM) 35-36
3.2.2 data communication unit 36-42
3.2.2.1 I2C bus interface 37-38
3.2.2.2 USB host interface 38-39
3.2.2.3 USB device interface 39-41
3.2.2.4 CAN bus interface 41 - 42
3.2.3 LCD 42-43
3.2.4 real Time Clock 43-44
3.2.5 print module 44 <br / > 3.2.6 power and Reset 44-45
3.3 system hardware anti-jamming design 45-46
3.4 system hardware debugging 46-48 <br / > Chapter 4 system Software based μC/OS- Ⅱ design 48-63
4.1 μC/OS- Ⅱ in MC9S12D64 the transplant 48-54
4.1.1 μC/OS- Ⅱ file structure 48-49
4.1.2 related files and configuration modifications 49
4.1.3 and hardware -related files modified 49-54
4.1.3.1 OS_CPU.H modifications 50-51
4.1.3.2 OS_CPU.C modifications 51-54
4.2 overall system software structure 54-56
4.3 timer interrupt service routine 56-57
4.4 software design of each task 57-61
4.4.1 data Processing and storage tasks 57-58
4.4.2 keyboard and display tasks 58-59
4.4.3 data communication tasks 59-60
4.4 .4 data printing tasks 60-61
4.5 system software, anti-jamming design 61-63
text of Chapter 5 Summary and Outlook 63-65 <br / > 5.1 full summary of the work 63
5.2 Prospects 63-64
5.3 Conclusion 64-65
References 65-67
Thanks 67-68
papers published during postgraduate 68
Related dissertations
- Design and Application of Real-time Dam Deformation Monitoring Instrument
- Research and Implementation of Networked Data Acquisition System Based on Cortex-M3
- Design of CTD Sensor and Research of Data Processing Technology
- Research on the Iris Recogniton System Based on DSP
- μC/OS-Ⅱ-based Recording Player Software Design and Implementation
- Design and Implementation of Industrial Gateway Device Based on ARM
- Microprocessor Protection Algorithm Based on HHT and Its Platform Development
- The Research on Intelligent Monitor Equoment of Reactive Compensation in Changing Ternimal of New Rural Distribution Network
- The Research and Application of Real-time CDT Protocol in DC Screen
- Research and Design of Truck-Mounted Weighing System
- Design and Implementation of Rail Flaw Detection System
- Research and Design of Quadrotor Control System Based on the Embedded
- Development and Experimental Study of Embedded Computer System for Water Quality Monitoring
- Research and Design of a New High-Precision Deep Hole Honing Equipment CNC System
- Study on the Resistance Welding Power Source Based on ARM Control
- Research of Coal Mine Monitoring System Based on Wireless Sensor Network
- Design and Development of Remote ECG Monitoring System
- Study on Embedded Sleep Monitor and Alarm System
- Study on the Embedded Equipment Monitoring Platform Based on μC/OS-Ⅱ and LwIP
- The Research and Design of Monitoring System on Interior Environment and Equipment Condition