Research and Design of CAN Controller

Author
GengFangXin
Advisor
FuJiaLin
School
Beijing Jiaotong University
Major
Computer Science and Technology
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2010
Downloads
588
Citations
5

Request the full text

Abstract

Controller Area Network CAN (Controller Area Network) is a serial communications bus is a field bus category defined by ISO . CAN bus with its high performance, high reliability, and flexible design increasingly attention has been paid , has been widely applied in the field of automotive, aerospace , industrial control , and forward more developments in the field . The key part of the CAN network bus controller , CAN bus controller device CAN bus communication protocol requirements , and is an important part of each control node connected to the bus . CAN bus controller currently exist on the market are customized according to the standard good, the CAN controller electrical parameters are often not the same , is not compatible with , and CAN controller are a wide variety of standardized products , to achieve additional the function , you need to ride outside the circuit, it is more complicated to achieve . This paper presents a CAN bus controller FPGA - based implementations , given its structure diagram , and each module within a more detailed description . In this paper, the correctness of the top-down design of the CAN controller chip design and simulation tools to ensure the functionality of the design . Firstly combination of the CAN bus protocol analysis of existing CAN bus controller (Philips controller SJA1000) divided the entire CAN bus controller chip architecture , the CAN bus controller is decomposed into several functional modules. Which completed the design of the the acceptance filter module and the CRC module . This article introduces the principle of acceptance filtering and CRC check specific implementation process and the use of Verilog HDL functional simulation and FPGA development tools Quartus II , to prove the correctness of the functional modules function , and gives them the RTL level schematic and simulation waveforms . The inadequacies of this article is that there is no other modules , such as the register module and bit timing logic modules, etc. detailed study and design of the future need to do further work .

Table of contents

Acknowledgements 5-6 Chinese Abstract 6-7 ABSTRACT 7-10 1 Introduction 10-15 1.1 CAN fieldbus characteristics and research status 10-12 1.1.1 CAN bus features 10-11 1.1.2 Research 11-12 1.2 FPGA 12-13 1.3 Verilog HDL 13 the significance of the research 1.4 13-14 1.5 topics main contents 14-15 2 CAN bus protocol 15-30 2.1 CAN bus protocol, the basic concepts 15-18 2.2 CAN bus communication model 18-19 2.3 packet transmission 19 2.4 CAN bus frame type 19-27 2.4.1 data frame 20-23 2.4.2 remote frame 23-24 2.4.3 error frame 24-25 2.4.4 too overload frames are found; 25-26 2.4.5 Interframe Space 26-27 2.5 packet checksum 27 2.6 Coding 27-28 2.7 Error Handling 28-29 2.7.1 error detection 28 the issued 2.7.2 error signal 28-29 2.8 Summary 29-30 3 CAN controller 30-38 3.1 CAN controller in the control system and 30-31 3.2 SJA1000 module structure 31-32 3.3 of SJA1000 internal details 32-37 3.3.1 BasicCAN mode register 33-34 3.3.2 PeliCAN mode register 34-37 3.4 Summary 37-38 4 CAN controller design 38-63 4.1 acceptance filter design 40-60 4.1.1 acceptance filter Verilog HDL realize 41-49 4.1.2 RTL circuit diagram 49-51 4.1.3 simulation waveforms 51-60 4.2 CRC checksum design 60-62 4.2.1 CRC code check works 60-61 4.2.2 CRC checksum Verilog HDL realize 61 4.2.3 RTL circuit diagram 61 4.2.4 simulation waveforms 61-62 4.3 Summary 62-63 5 Conclusion 63-64 the References 64-66 of resume The 66-68 the Dissertation datasets 68

Related dissertations

  1. Research and Design of the Des Encryption Chip Based on Resource Optimization
  2. Research and Design of32-bit and Five-stage Pipelined CPU Based on FPGA
    MiHaiXiao ·Hebei University of Technology ·2012 ·Master's thesis
  3. The Research and Design of RISC Microprocessor Soft Core
    ZhuShuangBing ·Hubei University ·2013 ·Master's thesis
  4. JPEG Encoding Algorithm Optimization and Implementation Based on FPGA
    ZhaoWei ·Wuhan University of Technology ·2013 ·Master's thesis
  5. The Design of CAN Controller with Verilog HDL
    LiYaFeng ·Beijing Jiaotong University ·2008 ·Master's thesis
  6. Research on CAN-bus Controller Based on FPGA and Its Testing System
    WangHuan ·Jilin University ·2007 ·Master's thesis
  7. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  8. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  9. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  10. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  11. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  12. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  13. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  15. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  16. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  17. The Design of Digital Ultrasonic Nondestructive Testing System
  18. Design of Embedded Data Acquisition and Processing System of MEMS-INS
  19. Design and Implementation of High Speed Data Recorder Based on FPGA
  20. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis