FPGA-based CAN Bus Communication Simulation and Test Platform

Author
ZhaoJing
Advisor
PanJianGuo
School
Shanghai Normal University
Major
Applied Computer Technology
Classification
TP336 Bus channel
Degree
Master's thesis
Year
2013
Downloads
29
Citations
0

Request the full text

Abstract

With the rapid increase of information exchange requirements between theelectronic control units in the Internet of Things, the field-bus technology receivesgreat attention of the researchers. CAN (Controller Area Network) bus has theadvantages of real-time, high reliability and reasonable cost, so has been widely usedin various fields such as the automotive electronics, the aerospace, the industrialmeasurement and control. The CAN bus communication simulation and test platformis an indispensable tool in the process of the CAN bus products research, and is usedto construct the v-shaped development process based on development-validation. Itis used to realize the design and simulation, product testing and fault detection ofCAN bus products. So, developing the CAN bus communication simulation and testplatform with independent intellectual property rights and the reasonable price hasgood practical value and application prospect.The main results of this paper:(1)Carefully analyses the development trend of CAN bus communicationsimulation and test platform in the today’s international electronics industry, anddetermines the theme of thesis writing;(2)Carefully analyses the implementtation methods and techniques of thetraditional CAN analyzers. In this paper, a single-chip system architecture based onFPGA(Field ProgrammableGate Array) SOPC(system on a programmable-chip)technology is used, customs the user IP (Intellectual Property core) core, gives fullplay to the parallel processing capabilities of the FPGA, simplifies the peripheralshardware circuit, improves the execution efficiency of application programusingthe hardware acceleration mechanisms, and simplifies the procedure code;(3)Based on the international standard CAN2.0, carefully analyses theprinciple and protocol specification of CAN bus communication, and completes thedesign of CAN controller IP core using VHDL (Very-High-Speed Integrated CircuitHardware Description Language) language in the FPGA design; (4)Carefully analyses the data transmission mode of the traditional CANbus communication simulation and test platform, gives the full consideration to theplatform’s support for remote environment, and the mode of using the Ethernet fordata transmission is proposed.The paper does a detailed analysis about the research status of the CAN buscommunication simulation and test platform, the communication mechanism of CAN2.0protocol, the implementation model of the traditional CAN emulator hardwareimplementation. This thesis gives the detailed design plan about hardware, firmware,software of bus communication simulation the test platform. This platform ensuresthe requirements of the data transmission rate when uses the TCP/IP network fordata transmission, at the same time, broadens the applications of the product. Thisplatform completes the design of communication interface using the FPGA, has goodscalability, flexibility is strong, and has high stability. Add Nios II processor in theFPGA design,greatly reduces the size and power consumption of the platform.

Table of contents

Chinese abstract 6-8 Abstract 8-10 directory 10-12 first chapter 12-18 <br / > 1.1 CAN bus technology is widely used in 12 1.2 CAN bus communication simulation and test platform meaning research status 12-13 1.3 CAN bus communication simulation and testing platform 13-16 1.3.1 Global Research Survey 13-14 1.3.2 domestic Research Survey 14 1.3.3 comparison of current research 14-15 1.3.4 purpose 15-16 1.4 and content specific work arrangements 16-18 Chapter II platform design 18-27 2.1 platform overall design 18-20 2.2 system hardware components 20-22 2.2.1 central processor 20-21 2.2.2 CAN controller 21-22 2.3 CAN bus features and message format 22-24 2.3.1 CAN bus Features 22-23 2.3.2 difference between the standard frame and extended frame 23-24 2.4 development environment 24-26 2.4.1 Quartus II development platform 24 2.4.2 SOPC Builder 24-25 2.4.3 Nios II IDE development platform 25-26 2.5 chapter Summary 26-27 Chapter III platform hardware design 27-40 3.1 SOPC technical Overview 27-28 3.2 Nios II processor 28-29 3.3 Nios II processor peripheral interface 29-31 3.4 SOPC design and implementation of systems 31-33 3.5 peripheral circuit module 33-39 3.5.1 CAN node module 34 3.5.2 serial circuit module 34-35 3.5.3 Ethernet module 35-37 3.5.4 power Module design 37-39 3.5.5 configuration interface circuit 39 3.6 of this chapter subsections 39 - Chapter 40 CAN control IP core design 40-50 4.1 SJA1000 timing analysis 40-41 4.2 FPGA modules with SJA1000 write 41-43 4.3 FPGA modules with SJA1000 read 43-44 communications 4.4 IP core and Nios II core between 44 4.5 communication module 44-47 4.5.1 initialization module 44-46 4.5.2 data transmission module 46-47 4.5.3 data receiver module 47 4.6 IP core internal timing 47-48 4.7 CAN control IP core simulation 48-49 4.8 Summary 49-50 Chapter platform software design 50-57 5.1 μC / OS-II operating system profile 50-51 5.2 NicheStack TCP / IP protocol stack 51 5.3 FPGA integrated μC / OS-II operating system 51-52 5.4 application layer code 52-56 5.4.1 CAN interface program 52-54 5.4.2 Ethernet interface program 54-56 5.5 Summary 56-57 Chapter VI of the experimental results and analysis 57-61 6.1 laboratory equipment 57 6.2 platform testing process 57-60 6.3 Summary 60-61 <br / > Chapter VII summary and Outlook 61-63 7.1 summarizes 61 7.2 Prospects 61-63 Thanks 63 - 64 References 64-66 studying for master's studies during 66

Related dissertations

  1. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  2. Design and Experiment of a Motion Control System Based on FPGA
    ZhouZan ·South China University of Technology ·2013 ·Master's thesis
  3. Electronics Design and Algorithm Implementation of Polarization Grating Sensor for Navigation
    MaQiang ·Tsinghua University ·2013 ·Master's thesis
  4. FPGA-based Fast Image Processing System
    YangLiJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Design and Implementation of the FPGA Image Reconstruction System Based on Compressed Sensing
    WangXing ·Northeastern University ·2013 ·Master's thesis
  6. Design of Multimedia Platform Based on FPGA
  7. Design and Implementation of NCC Accelerator Based Real-time Target Tracking System
    ZhangHaoPeng ·Zhejiang University ·2014 ·Master's thesis
  8. The Design of Disk Array Storage System Based on FPGA
    HuZuo ·Harbin Engineering University ·2013 ·Master's thesis
  9. Research on the System for File Storage Media Conversion Processing
    LiuDe ·Qilu Industrial University ·2013 ·Master's thesis
  10. Research and Implementation of FPGA-based Cloud Storage Security Systems
    WangChongSen ·Beijing Jiaotong University ·2014 ·Master's thesis
  11. The Design of High-speed Data Transmission System Based on RapidIO
    LiuLin ·Harbin Engineering University ·2013 ·Master's thesis
  12. Designof High-Frequency Spread Spectrum Communication System Based on SOPC
  13. Design and Implementation of Speaker Recognition System Based on SOPC
    ZhangXue ·Northeastern University ·2010 ·Master's thesis
  14. Design and Implementation of Wide-band Beamforming System Based on SOPC
    ChenQiuShi ·Harbin Engineering University ·2013 ·Master's thesis
  15. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  16. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  17. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  18. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  19. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  20. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis