Research of High-level Protocol for Lin Bus on Electric Vehicles Body
- Author
- ChenShu
- Advisor
- SongKaiChen
- School
- Zhejiang University
- Major
- Mechanical and Electronic Control Engineering
- Classification
- U469.72 Electric vehicles
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 416
- Citations
- 10
Abstract
LIN (Local Interconnect Network) is a low-cost serial communication network is used to achieve the control of distributed electronic systems in the car. LIN's goal is to provide accessibility to existing automotive networks (eg CAN bus). Does not require the bandwidth and versatility of CAN bus occasions, using the LIN bus can be significant cost savings. This low-cost serial communication mode and the corresponding development environment has been developed by LIN Association standards. The latest 2.0 version of the LIN bus, design the the bus node hardware structure and communication program planning in the electric vehicle body network bus structure, and the LIN protocol API (Application Program Interface) to conduct a detailed study and writing. This article is divided into eight chapters: The first chapter introduces the main content of automotive bus generation and classification, and according to the actual situation of the domestic auto industry, the development of our own electric car network LIN bus specification of high-level communication protocol and thinking. The second chapter specifically explain the the LIN protocol of several design concepts for the latest LIN bus protocol specification version 2.0, a detailed study of the communication protocol specifications and made periodic summary. Finally, by listing the LIN bus in the application status and development trends of the foreign automotive applications, the current major automotive LIN bus made a concluding and analysis. The Chapter specifically addressed the LIN bus design of the hardware platform. First, according to the characteristics of the LIN bus, the bus master node and slave node hardware structure and chip selection, and then according to the LIN bus physical layer specification and the needs of the communications protocol test, designed a three-tier structure of communications test platform. Chapter IV of the current network topology comparative study based on a balanced consideration of factors such as performance and cost of the various functional units of the class A network of electric vehicle real-time communication functions, the transmission distance requirements, determine LIN The bus in the network structure of the vehicle body of the electric vehicle. Chapter preliminary discussion of network management node state management, and auto body message identifier assigned. Chapter VI in the the LIN bus hardware platform based on the development of the application interface functions, and to build exemplary demonstration system. Chapter VII concise summary of the full text and proposed further research. The innovation of this paper is that for the latest LIN bus protocol established MCU LIN interface chip LIN node hardware structure, host / the LIN network communication tasks from the machine, planning the LIN bus structure of the our electric auto body system for our electric Automotive Class A network electronic control unit to achieve the bus lay the foundation.
Table of contents
Summary 4-5
ABSTRACT 5-12
first chapter 12-21
1.1 Background 12-17 < br /> the purpose and significance of the subject 1.2 the 1.3 the subject main research content of 17
17-19
1.4 topics technical difficulties 19
1.5 subject results 19-21
the second chapter LIN bus communication protocols Profile 21-38 Basic Statistics on the emergence and development of the LIN specification
2.1 21-22
2.2 LIN reference model is strong and 22-23
2.3 LIN main features 23-24
2.4 the LIN protocol communication mechanism 24-26
2.5 LIN communication protocol 26-34
the 2.6 the LIN protocol bus driver 34
2.7 the LIN software programming interface and development environment 34-35
2.8 LIN hardware and software support 35-36
2.9 Summary 36-38
Chapter LIN bus test platform for the hardware and software design 38-52 <br / > 3.1 the LIN node hardware design are found; 38-50
3.1.1 MCU hardware resource requirements and select the 41-42
3.1.2 LIN physical layer interface 42-46
3.1.3 LIN bus test platform 46-50
3.2 of the LIN bus communication software design 50-52
3.2.1 host nbsp 50-52
Chapter electric vehicle body network structure; planning 52-60
4.1 automotive network network architecture research 52-54
4.1.1 parallel structure 53-54
4.1.2 layered structure 54
4.2 China's electric vehicle body network architecture planning 54-60
Chapter Automotive LIN Bus A network to develop high-level communication protocol the 60-69 5.1 network management
60-61
5.1.1 Network Management 60
5.1 .2 wake-up signal 60-61
5.1.3 goes into sleep mode are found; 61
5.1.4 Power Management 61
5.2 state management 61-63
5.2.1 Overview 61-62
5.2.2 event trigger frame 62
5.2.3 Network Report 62
5.2.4 node reports the 62-63 5.3 identifier assignment
63-69
Chapter VI of electric vehicles LIN bus API R \u0026 69-100 the
the 6.1 the LIN BUFFER register 70-76
6.1.1 configuration configuration register 71-72
6.1.2 mode mode 72-73
6.1.3 error counter 73
6.1.4 communicate communication 73-74
6.1.5 to error flag err_flag 74-75
6.1 .6 identifier and the data length id: dl 75-76
6.1.7 data data 76
6.1.8 the checksum parity and 76 <br / > 6.2 LIN communication working state diagram 76-80
6.3 communication processing 80-83
6.3.1 send the news (commimication cmd = Tx request) 81 - 83
6.3.2 receive messages (communication cmd = Rx request) 83
6.4 schedule approach 83-84
6.4.1 progress table definition 83-84
6.4.2 schedule mode the LIN bus API 84
6.5 independent research and development of electric vehicles 84-88
6.5.1 Initialization function l_sys_init () nbsp function 85
6.5.2 schedule mode settings; 85-86
6.5.3 LIN Bus interface processing functions 86-87 <br / > 6.5.4 user provided calling function 87
6.5.5 interrupt handler function 87-88
6.6 the LIN bus node development, demonstration unit developed 88 -97
6.6.1 LIN bus demonstration module 88-89
6.6.2 demo mode 89
6.6.3 the LIN message table 89 - 91
the 6.6.4 host code described 91-92
6.6.5 default mode the 92-94
6.6.6 Broadcast Mode 94-95
6.6.7 Sleep Mode 95
6.6.8 CAN communication 95
6.6.9 host node main program 95-97
6.7 from machine code description 97-100
6.7.1 from machine node main function 97-99
6.7.2 receive LIN messages 99
6.7.3 Sleep Mode from the machine 99-100
Chapter VII Summary and Outlook to study 100-102
7.1 summarizes 100
7.2 under further study and Prospects 100-102
Reference 102-106
Master during the academic papers 106-107
Acknowledgements 107
Related dissertations
- The Study of Funtion Module Design Method Based on Local LabScene
- Smart Home Monitoring System Based on Ni Wireless Sensor Network
- Research and Design of Low-power WSN Node Based on SOC
- Research and Implementation of Multiple Payment Methods on Purchasing Website
- Research of Detection and Tracking on the Chinese Micro-blog Topic and System Design
- Design and Implementation of the Motion Control System Based on USB Interface
- API Design and Implementation of Message Service Component
- Minimum Delay Broadcast Scheduling for Wireless Mesh Networks with Power Control and Directional Antennas
- Research on Key Algorithm for Hierachy Routing Protocal of Wireless Sensor Network
- Design and Implementation of Enterprise Asset Location System Based on Active Tag
- The Implementation of BP Decoding on FPGA
- 220KV Substation Equipment Intelligent Monitoring Technology Applied Research Based on WSN
- Research and Implementation of Wireless Sensor Network Nodes Based on Energy Harvesting
- Study on Bearing Capacity and Dynamic Disaster of Hexagonal Spudcan Foundation
- Study of Self-centering Steel Moment Frame with Bolted Top and Seat Angles
- The Research of Mechanical Properties of Steel Frame Beam-column Semi-rigid Nodes on Top and Seat and Two Web Angle with Rib
- Research on Pseudo-static Test of the Diagrid Tube Structure and the Performance of Node
- Research on the Anchorage Mechanism and Design of Steel Truss Coupling Beam Node
- Finite Element Analysis on the Seismis Resistant Property of the Different Form of Connection Node of the Adding Steel Stories on the Existing Building
- Research on Frame Structures of Confined RC Columns and Composite Beams' Nodes