SJA1000-based Design and Realization of CAN Bus Intelligence Node

Author
SongJie
Advisor
DengJing
School
Suzhou University
Major
Electronics and Communication Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2011
Downloads
237
Citations
1

Request the full text

Abstract

The subject completes intelligent node design and implementation, through the deep study about CAN 2.0 communication protocol, combined to CAN BUS Controller SJA1000. The Paper first intrduces the CAN BUS background and features, It focuses on the various functional modules of hardware development, including the minimum working system about 89S52, control module of CAN bus, power module, input and output modules and CAN bus circuit design of intelligent node system. the paper focuses on software design, including:main programe, SJA1000 initialization programe, CAN node sent programe, CAN node receiving programe, button Scanning programe, display programe, node address setting programe, and finish the software debugging. Finally, it debugs and perfects the system, including the PCB board mapping and production, and implementation of hardware and software debugging, debugging problems and solutions, and expansion and improvement of this system.

Table of contents

Chinese Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-11 1.1 CAN bus generation and background 9 1.2 research purposes 9-10 1.3 research 10-11 Chapter 2 CAN bus communication protocol 11-18 <br / > 2.1 Introduction 11 2.2 CAN bus characteristics 11-12 2.3 CAN bus frame format 12-16 2.3.1 data Frame 12-14 2.3.2 remote Frame 14 2.3.3 error frame 14-15 2.3.4 overload Frame 15 2.3.5 interframe Space 15-16 2.4 CAN bus communication mechanisms 16-18 2.4.1 packet transmission 16 < br /> 2.4.2 message acceptance filters 16 2.4.3 NRZ coding and bit stuffing 16-18 Chapter 3 Hardware systems Analysis 18 - 28 3.1 overall system design and operating principle 18-19 3.2 CPU minimum Operating system Design 19-20 3.2.1 crystal oscillator circuit 19-20 3.2.2 system reset Circuit 20 3.3 CAN bus control module design 20-21 3.3.1 SJA1000 control circuit 20 -21 3.3.2 82C250 bus driver circuit 21 3.4 input and output interface module design 21-22 3.4.1 keyboard input control circuit 21-22 3.4.2 intelligent node input setting circuit 22 3.4.3 LED output display circuit 22 3.5 power module design 22 - 23 3.6 SJA1000 based CAN bus intelligent node system circuit design 23-28 Chapter 4 system Software 28-36 4.1 main 28-29 4.2 SJA1000 initialization program design 29-31 4.3 CAN node sends programming 31-33 4.4 CAN node receives programming 33-35 4.5 key scanner design 35 4.6 display Module programming 35 4.7 node address setting program design 35 - 36 Chapter 5 System implementation and improvement 36-46 5.1 PCB design and production 36-37 5.2 test software debugging 37 -40 5.2.1 software development integration environment introduces 37-39 5.2.2 debugging process 39 5.2.2.1 key module display module with debugging 39 5.2.2.2 node address setting module debugging 39 5.2.2.3 CAN node sends receiver module debugging 39 5.2.3 encounter problems and solutions 39-40 5.3 hardware debugging 40-43 5.3.1 debugging process 40-42 5.3.1.1 power module debugging and implementation 40 5.3.1.2 CPU minimum operating system debugging and implementation 40-41 5.3.1.3 input and output interface module debugging and implementation 41 5.3.1.4 CAN bus control module debugging and implementation 41-42 5.3.1.5 SJA1000 based CAN bus intelligent node commissioning and implementation 42 <br / > 5.3.2 debugging problems encountered and solutions 42-43 5.3.2.1 CPU minimum system debugging problems encountered and solutions 42-43 5.3.2.2 input and output interface module debugging problems encountered and solutions 43 5.3.2.3 CAN system control module debugging problems encountered and solutions 43 5.4 development expansion and improvement 43-46 Chapter 6 conclusions 46-52 6.1 Summary 46-51 6.2 Prospects 51-52 References 52-53 I study for a degree of papers published during 53-54 Appendix 54-64 Acknowledgements 64-65

Related dissertations

  1. The Research of Environment Monitoring Platform Based on Zigbee
    ChenYaZuo ·Nanjing Forestry University ·2012 ·Master's thesis
  2. Design and Implementation of A CAN Controller Soft Core Based on FPGA
    PanYuJing ·Hefei University of Technology ·2011 ·Master's thesis