Based on the J1939Protocol Implement Information Collection System of Vehicle Terminal
- Author
- HuYaLi
- Advisor
- HuangQiuYuan , ZhangDongHua
- School
- Wuhan University of Technology
- Major
- Electronics and Communication Engineering
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 118
- Citations
- 0
Abstract
Vehicle terminal is intelligent node of internet of things in Intelligent Transportation Systems. By collecting, processing and displaying vehicle running status information in real-time, telematics can ease the current condition that the majority of motor vehicle lead to road congestion, environmental pollution and other issues. Meanwhile, people’s demand for safety, economy and comfort in traffic is increasing. At present, the vehicle meter has sole function and takes up too much space; it has so many connecting lines among electronic control unit; its panel can not be operated so that it can not be nodes in the internet of things. Therefore, it is necessary to introduce CAN bus in advanced vehicle network as well as the application protocol J1939, to extend the function of information collecting system in vehicle.With the development of ITS, this topic researchs vehicle terminal information collection system based on the J1939protocol, combined with embedded system, computer, wireless communication, automotive electronic control. The core of topic is FreeScale I.MX53processor and embedded systems. Engine running data, real-time vehicle information, the condition of driver manipulation that is captured and uploaded by CAN bus network and various types of sensors or other devices. These information are processed and parsed by J1939protocol. They finally are displayed on the man-machine interface based on Qt/Embedded. The main work is as follows:In view of the condition of vehicle meter at present, compared with the development of vehicle terminal at abroad, we summarize the deficiency of our country’s vehicle meter and propose superiority of vehicle information acquisition system that is based on J1939protocol. We study the communication protocol of information acquisition system, which is CAN bus topology and J1939protocol, providing the transmission mechanism for the realization of information system.According to the system function, we study the hardware design. Embedded processor I.MX536is the core components. It controls the CAN communication module, which acquires the state parameters of electronic control unit. These parameters will be parsed by the J1939application layer protocol and be displayed on TTF-LCD. At the same time, to run application software smoothly and efficiently in hardware platform, we select embedded system to build cross compiler environment, and transplant the bottom and custom software for the development board. So this way shield complexity of hardware, and simplify the development process.Design and implement the application software of information acquisition system. System backend program takes advantage of multithreading message queue mechanism to control CAN communication module, to extract and store real-time information from CAN bus, which be transmitted to J1939protocol stack for processing through the interrupt mode. Then system will analyse motor parameters and fault diagnosis information, and display these information on QT interface. Finally, application software debug and generate bin file in eclipse IDE, then download to the hardware development board. Display real-time operating parameters as well as information of fault diagnosis of engine on LCD, achieve the function of information collecting system.
Table of contents
Summary 4-5
Abstract 5-9
Chapter 1 Introduction 9-13
1.1 topics sources 9 <br / > 1.2 research purpose and significance of 1.3 domestic and foreign research status quo 9-10
10-11
1.4 the main contents of this paper 11
1.5 This paper studies the organizational structure 11-13
Chapter 2 system communication protocol and functional analysis 13-23
2.1 CAN protocol outlined 13-14
2.2 J1939 protocol outlined 14-20
2.2.1 J1939 data link layer 15-18
2.2.2 J1939 application layer 18-19 <br / > 2.2.3 J1939 network management 19-20
2.3 system functional analysis 20-21
implementation process 2.4 system 21-22
2.5 Summary 22-23
Chapter 3 Information collection system hardware design 23-37
3.1 system hardware solutions 23-28
3.1. a microprocessor I.MX536 24-25
3.1.2 CAN communication circuit 25
3.1.3 LCD display circuit 25-26
3.1.4 hardware peripheral 26-28
3.2 underlying operating system customization and porting 28-34
3.2.1 operating system used 28-29
3.2.2 build cross-compiler environment 29-30
3.2.3 transplantation BootLoader 30-32
3.2.4 kernel cutting and transplanting 32 - 33
3.2.5 make root file system 33-34
3.3 build GUI development environment 34-36
3.4 Summary 36-37
Chapter 4 of the information collection system application software design 37-63
4.1 software development environment 37-38
4.2 background control program design 38-42
4.2.1 main function programming 38-39
4.2.2 data reception program design 39-41
4.2.3 data processing program designed 41-42
4.3 CAN communication program design 42-46
4.3.1 CAN controller initialization 42-44
4.3.2 CAN sending program 44-45
4.3.3 CAN receiving program 45-46
4.4 J1939 protocol stack design 46-56
4.4.1 J1939 data link layer design 48-52
4.4.2 J1939 application layer design 52-54
4.4.3 J1939 network management design 54-56
4.5 interactive interface design 56-59
4.5.1 features interactive interface 56-57
4.5.2 interactive interface to achieve 57 - 59
4.6 system test 59-62
4.7 summary 62-63
Chapter 5 summary and Outlook 63-65
5.1 summarizes 63-64
5.2 Prospects 64-65
Thanks 65-66
References 66-68
Related dissertations
- Design and Application of CAN Bus Based Vehicle Terminal System
- Research on Vehicle Networking and Intelligent Terminal Based on Information Fusion
- Transient Fault Analysis and Control for Engineering Vehicles Bus System Based on J1939Protocol
- CANBUS Communications Interface Design in Efl Engine Application
- 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