The Research and Design of Automobile Multi-function Display Based on Fault-tolerant CAN Bus
- Author
- XuPingXia
- Advisor
- XuDongPing , LuLiPing
- School
- Wuhan University of Technology
- Major
- Computer Science and Technology
- Classification
- TN873 Display device,the display
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 103
- Citations
- 0
Abstract
Vehicle network system has been widely used in the automotive industry, and replace it with a huge traditional wiring system. CAN bus is the most widely used network standard one, it supports distributed real-time control with high performance and high reliability characteristics. However, along with the increase of interior automotive electronic systems, put forward higher requirements on the internal electronic information management system. The same time, taking into account the driver while driving can not use the phone to make and receive calls. Therefore, the need for a multi-function display terminal to provide real-time information of vehicle electronic systems and hands-free phone function. Embedded Linux operating system, according to the needs of the the CAN bus characteristics and vehicle-mounted multi-function display terminals, based on the design of fault-tolerant CAN bus vehicle multifunction display terminal. First, the CAN protocol stack, complete data transceiver, bus run mode management as well as fault-tolerant characteristics. Then, according to the CAN protocol stack developed by vehicle multifunctional display terminal through the CAN bus and the parking assist system for communication, thereby completing the parking state of the graphical display. Finally, add in the car multi-function display terminal Bluetooth phone hands-free application modules, control Bluetooth phones using Bluetooth technology, can eventually direct hands-free calls in the car on the multi-function display terminal. Use ARM9 S3C2440A processor, S3C2440A not integrated CAN bus controller, and therefore, the choice of the MCP2510 as CAN bus controller. Combination of the S3C2440A characteristics CAN protocol stack developed under the Linux operating system, including CAN interface driven development. The protocol stack is the follow OSEK / VDX standard. Based on the CAN protocol stack development, S3C2440A communicate via CAN bus parking assist system. Parking assist system information frame definition detailed analysis, and graphical display of the car parking process and the obstacles in all directions from the relationship. Finally, developed based on Bluez protocol stack Bluetooth hands-free telephone applications, vehicle-mounted multi-function display terminal connected through the USB interface with Bluetooth USB adapter. Bluetooth hands-free application framework HFP handsfree application reference board multifunction display terminal as the hands-free unit, Bluetooth phone as an audio gateway. Analysis the HFP framework layers protocols work, Bluez API defined in the completion of the HFP HCI, SDP and RFCOMM Protocol software design. And send AT commands to control the operation of the Bluetooth phone dialing, call processing, phone book download and volume control, Bluetooth hands-free telephone function, and ultimately through the establish SCO connection channel to transmit voice data. Run the test several times, basically each functional module design goals, consider driving safety with easy to operate with high reliability vehicle multifunction display terminal.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter 1 Introduction 10-14
1.1 Background and significance 10 - 11
1.2 research status 11-12
1.3 Research content and target 12-13
the 1.4 paper chapters arrangements 13-14
Chapter 2 Technical Overview and overall design the 14-25 2.1 CAN bus technology
14-17
2.1.1 CAN Bus Features 14-15
2.1.2 CAN layered 15
2.1.3 CAN bus fault defined 15-16
the 2.1.4 packet transmission frame type 16-17
2.2 OSEK / VDX 17-19
2.2.1 OSEK NM 18
2.2.2 OSEK COM 18-19 < br /> 2.3 Bluetooth technology the 19-23 2.3.1 Bluetooth protocol architecture
19-21
2.3.2 Bluetooth hands-free 21
2.3.3 Bluez protocol stack 21-23
2.4 overall design 23-24
2.5 Chapter Summary 24-25
Chapter 3 the software environment configured the 25-29
3.1 development environment installed 25-26
3.2 kernel configuration 26-27
3.3 kernel cutting a 27-28
3.4 BLUEZ transplant 28
3.5 Chapter Summary 28-29
Chapter 4 CAN protocol stack development 29 - 44
4.1 CAN protocol stack the 4.2 hardware constitute 29-30
30-31
4.3 CAN protocol stack embodiment 31-40
4.3.1 CAN Linux driver 32-37
4.3.2 data segment 37-38
4.3.3 Network management 38-40 < br /> 4.4 CAN frame sending and receiving to 4.4.1 CAN frames 40-43
send the 41-42
4.4.2 CAN frame receiving 42 -43
4.5 Chapter Summary 43-44
Chapter 5 parking aid module 44-51
5.1 functional requirements 44-46
5.2 frames 46-47
5.3 Information Processing and icon display 47-50
5.4 Chapter Summary 50-51
Chapter 6 Bluetooth hands-free phone module 51-64
6.1 HCI software design 52-56
6.1.1 initialize the local Bluetooth device 52
6.1 .2 search for nearby Bluetooth devices 52-53
6.1.3 pairing, and ACL connection to establish 53-55
6.1.4 SCO connection 55-56
6.2 SDP software design 56-57
6.2.1 Service 56-57
6.2.2 Service registration and broadcasting 57
6.3 RFCOMM protocol software design the 57-58 6.3.1 establish RFCOMM
connection 57-58
6.4 send AT commands to control functions to achieve 58-62
6.4.1 phone book download 59-60
6.4.2 dialing 60
6.4.3 Call Handling 60-61
6.4.4 Volume Control 61-62
6.5 audio stream processing the 62-63 6.5.1 initialize audio
62-63
6.5.2 Recording with the audio stream output 63
6.6 Chapter Summary 63-64
Chapter 7 Test Results and Analysis 64-69
7.1 CAN bus data transceiver 64-65
7.2 parking aid system graphical display nbsp.; the 65-66
7.3 Bluetooth hands-free phone module 66-68
7.4 Chapter Summary 68-69
Chapter 8 Summary and Outlook 69-71
Acknowledgements to References 71-72
72-74 < br /> the papers published during the master's degree 74
Related dissertations
- 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
- Based on Smith Fuzzy-PID of Hot Drawing Roller Temperature Control System
- Research on the Scheduling Algorithm of Networked Control System Based on CAN Bus