Research and Implementation of Vehicle Detection System Based on RTLinux
- Author
- LiHuaJun
- Advisor
- WangZhongRen
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP274 Data processing, data processing system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 90
- Citations
- 1
Abstract
In the vehicle detection system, in order to make the various components of the state information in a timely feedback to the display terminal and the operator, so that the operator to make appropriate adjustments, the detection system requires a high real-time. Usually the Linux operating system in real time is not strong, it is not suitable for higher real-time application environment, so the detection system using the real-time performance is better RTLinux operating system. This detection system in achieving divided into real-time partial and non-real-time part: real-time part of the main hardware data acquisition and data transfer; rather than real-time part more easily display terminal and control computer communication using existing network protocol stack in Linux . The vehicle detection system is a complex system, the paper detailed analysis and design to detect computer subsystem, and it realized. Detection computer via Industrial Ethernet display terminal with the front car and the rear car, respectively, the control computer is connected; same time, it is connected through CAN bus with the vehicle within the respective devices member, thus forming the vehicle detection subsystem. Parts of the equipment by its internal signal acquisition acquisition control status signals and information through the CAN bus vehicle detection computer. Vehicle detection computer will receive the status signal is compared with the set value to determine whether the vehicle component failure, the status information is then sent to the display terminal and the control computer. The display terminal display device member working state, while the control computer to issue control instructions to the device member. The paper also describes the characteristics of a real-time operating system requirements and used several real-time operating system, the standard Linux real lack of reason, a detailed study of RTLinux realization of the principle and method of programming; thesis RTLinux device driver realization method laid a theoretical foundation for the realization of the CAN device driver detection system. Implementation of the system, RTLinux real-time requirements, operating environment and standard Linux different performance in terms of the use of resources, and interrupt handling CAN card driver initialization module, where the main interrupt processing module, as well as equipment operator interface module design and realization. Finally, the papers focus given the detailed design of the test computer the CAN card device driver under RTLinux and prototype implementation of the system. The practical result shows that the system is capable of working condition of the parts in a timely manner to meet the requirements of the detection system.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter Introduction 10-14
1.1 Background topics 10-11
1.2 RTLinux introduced 11-12
1.3 This article mainly work 12-13
1.4 thesis structure 13-14
Chapter II real-time operating systems and their applications are found; 14-25
the
characteristics of 2.1 real-time systems 14-16
2.2 real-time system requirements 16-20
2.3 real-time system of classification 20-21
a 2.4 common real-time system 21-23
2.4.1 VxWorks 21-22
2.4.2 Windows CE 22
2.4.3 uC / OS-II 22-23
2.4.4 Delta 23
2.4.5 RTLinux 23
2.5 real-time system applications 23-24
2.6 This chapter Summary 24-25
Chapter RTLinux. principles and programming method 25-39
3.1 Linux real-time less than 25-27
3.2 RTLinux principle 27-33
3.2.1 RTLinux's design ideas 29-30
3.2.2 RTLinux design principles 30
3.2.3 RTLinux task scheduling 30-31
3.2.4 RTLinux interrupt handling 31-32
3.2.5 RTLinux real-time tasks 32
the clock 3.2.6 RTLinux 32
3.2.7 RTLinux interprocess communication 32-33
3.3 RTLinux programming methods 33-38
3.3.1 Real-time part of the realization of 33-35
the 3.3.2 User Part achieve method 35
3.3.3 Real-time and user part communication 35-37
3.3.4 RTLinux in semaphore implementation 37-38
3.3.5 RTLinux message queue 38
3.3.6 RTLinux blocking and non-blocking mechanism 38
3.4 This chapter Summary 38-39
Chapter vehicle detection system design 39-52
4.1 Detection System Overview 39-40
the
of 4.2 vehicle detection computer subsystem design 40-47
4.2.1 detect the computer's main function 40-41
4.2.2 detects your computer's function module 41-42
4.2.3 detecting computer subsystems CAN drive 42-45
4.2.4 SDR subsystem data acquisition module 45-47
4.3 Ethernet server 47-48
4.4 node detection 48-50
4.5 of node equipment control 50-51
4.6 This chapter Summary 51-52
system CAN card driver implementation 52-75
5.1 RTLinux driver implementation framework 52-57
5.1.1 Equipment Classification 52-53
5.1.2 device registered 53-54
5.1.3 interrupt handling 54-55
5.1.4 device to open and release 55-56
5.1.5 devices to read and write, and control operations 56-57
5.1.6 device module uninstall 57
5.2 PCI device and its programming interface 57-61
5.2.1 PCI computer system 57-59
5.2.2 PCI device programming interface 59-61
5.3 CAN Agreement and SJA1000 controller 61-66
5.3.1 CAN frame agreement 61-63
5.3.2 CAN frame type 63
5.3.3 CAN frame format 63-64
5.3.4 of SJA1000 controller 64-66
5.4 CAN device initialization 66-70
5.5 CAN device interrupt processing module 70-72
5.6 device operation interface design and implementation 72-74
5.7 device release and uninstall 74
5.8 This chapter Summary 74-75
Chapter Summary and Outlook 75-77
6.1 summarizes 75
6.2 Future research directions 75-77
Acknowledgements 77-78
the
References 78-80
the
attack Shuo achieved during the research 80
Related dissertations
- ARM-Based Embedded Control Platform Design
- Research and design of embedded vehicle terminal
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- Industrial Field Data Acquisition System Design Based on CAN Bus
- Design of the Hazard Source Monitoring System Based on CAN Bus
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Research on Data Acquisition System of Can Bus
- The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
- Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
- Design and Implementation of Intelligent Wiring Hardness Detection System
- Research on Indoor Localization System for Intelligent Wheelchair
- Research on CAN Bus Communication and Application Experiments
- Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
- Research of Fieldbus Relay Basing on CAN Bus
- Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
- CAN Network Development of Commercial Vehicle