SAE J1939 protocol analysis and SmartJ1939 of system design to achieve
- Author
- MengXiaoZuo
- Advisor
- WuChaoZuo , ZhaoMinDe
- School
- Zhejiang University
- Major
- Computer software technology and theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 450
- Citations
- 6
Abstract
For applying a great deal electronic equipments, running dependably, maintaining, sharing information and cortrolling real time, BOSCH Co. explored CAN (Controller Area Network) bus, which has the widest field of usage among the Fieldbus. CAN Specification has been set down the international standard by ISO, get hold of many Co.’ s sustain, such as Motorola, Intel, Philips, Siemence, NEC, and applyed to the scatter field abroad.CAN protocol is based on ISO’s OSI,but its models tructure only has three layers,which are OSI’physical layer,data link layer and application layer. The known famous higher layer protocol, such as DeviceNet. CANopen, J1939/ISO 11783 and so on,has different functions for differently emphasizing particularly on.Thereinto, SAE J1939 is a high speed communication network, supports ECUs(Electronic Control Unit,computer based on electronic series, J1939 info achieves real time conclude control function between acceptation and tranmission through it) which may be physically distributed in vehicles.Nowadays the analyse of SAE J1939 protocol has just begun, and the material of SAE J1939 is very limited in domestically, so the analyse and study of SAE J1939 is quite necessary.Firstly, Based on the reason described above, this paper analyse the SAE J1939 protocol, include SAE J1939-21 data link layer protocol, SAE J1939-81 network management layer protocol, SAE J1939-71 application layer protocol.Subsequently, this paper describes a vehicle network system that implementsJ1939 protocol-SmartJ1939 which is composed of Data Link layer module,Network Management layer module and Timer module.After the description of design, implementation, and test results of these modules,this paper will present a demonstration of SmartJ1939------the control of RetarderRequesting Brake Light.Finally, this paper summarizes the SmartJ1939 system.
Table of contents
Summary 2-3
ABSTRACT 3-4
Acknowledgements 4-6
directory 6-9
Figure Catalog 9-11
Chapter 1 Introduction 11-35
1.1 application background 12-13
1.1.1 automobile industry trend of electronic 12-13
1.2 technical background 13-23
1.2.1 Automotive Network Technical Overview 13-16
1.2.2 two analogies about SmartJ1939 five keywords the 16-19 1.2.3 OSEK / VDX standard
19-21
1.2.4 SmartOSEK operating system 21-23
1.3 CAN and CAN application layer protocol 23-32
1.3.1 CAN protocol to 1.3.2 CAN protocol technology features 23
23-27 < br /> 1.3.2.1 CAN Reference Model 23-24
1.3.2.2 CAN main features 24
1.3.2.3 CAN communication mechanism and frame structure 24-27
1.3.3 CAN advantage 27-28
1.3.4 CAN application layer protocol Introduction of 28-30
1.3.5 J1939 protocol studying the situation at home and abroad 30-32
1.4 graduate level individual research and development experience 32-33
1.5 article structure 33-35
Chapter 2 SAE the J1939 protocol analysis 35-43
2.1 the SAE J1939 Summary 35-36
2.2 of network layered and function 36-43
2.2.1 physical layer 36
2.2.2 Data link layer 36-37
the 2.2.3 network management 37-41
2.2.4 Application Layer the 41-43
Chapter 3 SmartJ1939 - J1939 protocol concrete realization 43-71
3.1 SmartJ1939 system, the overall design 43-44
3.1. 1 SmartJ1939 system design 43
3.1.2 SmartJ1939 system module 43-44
3.2 data link layer (Data Link Layer) designed and implemented 44-63 < br /> 3.2.1 message format design (Message Format) 45-48
3.2.1.1 parameter group number (Parameter Group Number PGN) 47-48
3.2. 2 protocol data unit design (Protocal Data Unit, PDU) 48-50
3.2.2.1 priority (Protiry P) 48
3.2.2.2 reserved bits (Reserved Bit, R) 48-49
3.2.2.3 Data page (Data Page, DP) 49
3.2.2.4 PDU format (PDU Format, PF) 49
3.2.2.5 PDU details (the PDU Specific and PS) 49-50
3.2.2.6 Data Domain 50
3.2.3 protocol data unit format (PDU Format) design 50-52
3.2.3.1 PDU1, format design - 51-52
3.2.3.2 PDU2, format design 52
3.2.4 messages type design 52-53
3.2.4.1 command nbsp the; 53
3.2.4.2 request 53
3.2.5 Address and the parameter group number allocation scheme of design 53-54
the 3.2.5.1 address allocation standards the 53-54
3.2.5.2 The data field definitions 54
3.2.6 Transfer Protocol function the of design 54-62 the
the 3.2.6.1 unpacking and assembling 54-55
3.2.6.2 connection management (Connection Management) design 55-57 <br / > 3.2.6.3 Transfer Protocol - connection management news Design 57-60
3.2.6.4 Transfer Protocol - Data Transfer news design 60
3.2.6.5 Transfer Protocol - transmission sequence 60-61
3.2.6.6 receive interrupt design 61-62
3.2.7 program interface 62-63
3.3 network management (Network Management Layer) design 63-69
3.3.1 demand provisions 63
the 3.3.2 interface design 63-67
3.3.3 Data Structure Design to 67-69
3.3.3.1 connection control data structure design 67
3.3.3.2 Control Application structural design 67-68
3.3.3.3 message structure design 68-69
3.4 timer module (Timer Module) design 69-71
3.4.1 demand provisions 69
3.4. interface design 69-71
Chapter 4 SmartJ1939 testing and analysis 71-78
4.1 SmartJ1939's, test program 71
4.2 SmartJ1939 the test 71-74
4.3 data link layer (Data Link Layer) test 74-76
4.4 Network management (Network Management Layer) test 76
4.5 Timer Module (Timer Module) design 76-78
5 Chapter SmartJ1939, application examples 5.1 application examples 78-85
design 78-81
5.1.1 Application Examples network nodes 78
5.1.2 Application Examples messages the 78-80 5.1.3 Application examples control process
80-81
5.2 application instance algorithm the 81-82
5.2.1 Node 1 interrupt processing algorithms 81
5.2.2 node 2CAN receiving terminal algorithm are found; 81-82
5.3 to application instances demo 82-85
Chapter 6 about SmartJ1939 Conclusions and Prospects the 85-87
6.1 summarizes 85
6.2 Looking 85-87
Abbreviations to References 87-90
90-92
Related dissertations
- Design of Embedded Data Acquisition and Processing System of MEMS-INS
- Design and Realization of CS-50Catalyst Production Control System Based on CAN Bus
- Design of DeviceNet-CANopen Integrated Slave Node
- The Research of Embeded Intelligent Household Based on ARM
- Design of Industrial Controller Based on EPA
- The Design of the Rectification Recovery System Based on the CAN Bus
- The Effects and Mechanism of Ca2+/CaN/Cbl-b/Akt in the Oxygen-glucose Deprivation and Pharmacological Preconditioning
- The Design of Digitalized High-frequency Switching Power Supply Based on DSP
- Design and Implementation of High Frequency PFC On-board Charger
- Research on Fault Recorder System Based on STM32F4
- Design of Smart Terminal for New Energy Micro Grid of Island
- The Study on the Control System of the Distributed Electric Boiler
- The Design of Electric Vehicle Charging System and the Research of Its Intelligent Control Strategy
- Research and implementation of CAN and GPS/GPRS of the vehicle traveling data recorder based on
- Design of Vehicle Electrical and Electronic Systems Test Platform Based on Labview
- Research and Implementation of OSEK Network Management Mechanism in Automotive CAN Network
- Key Technology Design of Automotive Body Network
- Design and Implementation for Real-time Monitoring of Vehicle Terminal
- Design of Steer by Wire Control System Based on Flexray Bus
- Research on Virtual Roadway Test System and Evaluation Method for Vehicle Ride Comfort Based on New Test Regulation