Design of PCI-CAN Communication System Based on FPGA

Author
LiShunJie
Advisor
ZhangYanRong
School
Southwest Jiaotong University
Major
Measuring Technology and Instrument
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2013
Downloads
14
Citations
0

Request the full text

Abstract

The technology of field bus is one of the hotspots in the automatic control field. CAN bus has been acknowledged as one of the most promising field bus which is a fully digital, multi master and asynchronous serials communication network. CAN bus has higher performance in reliability, flexibility and real-time characters etc. It’s widely used in many fields, such as industry automation, medical treatment, aeronautic, marine and vehicle industry. On the other hand, with the fleeting progress of computer technology, computer plays an increasingly important role in those above fields, In order to realize the communication between the computer and the CAN bus device, the computer is necessary to have a CAN bus interface. However, a computer does not afford this kind of interface in general, Therefore, a PCI-CAN bus convert system which realizes convert between PCI bus, which is one of the most widely used bus interface in a computer nowadays, and CAN bus is developed in this thesis. In this thesis, three large sections are given respectively:introduction, the system hardware design and function test of the system.In the introduction section, the research background is given, then the development history and trends CAN bus and PCI bus are briefly described.In the system hardware design section, the total framework of the system, FPGA design method and flow are briefly given first, then the develop procedures of the three sub-modules inside of the FPGA are given in details respectively:PCI bus interface sub-module, CAN bus interface sub-modules and the control sub-module.Function test of the system is used to verify whether the develop method of the card is correct or not. In the test scheme, a CAN bus development board named MSG-TOP808is selected to be a slave node. The development board interlinks with the computer through CAN bus. The test software includes PCI-CAN convert system’s initialized subroutine, receive subroutine and transfer subroutine, as well as the main procedure. The test results show that the PCI-CAN bus convert system can realize correct communication with the slave node and reaches the prospective targets.

Table of contents

Summary 6-7 Abstract 7-10 first chapter 10-16 1.1 Background 10 <br / > 1.2 domestic and foreign research status 10-15 1.2.1 fieldbus technology Introduction 10-11 1.2.2 CAN bus Introduction 11-13 1.2.3 PCI bus Introduction 13 1.2.4 fieldbus and computer communication status and development 13-15 main content 1.3 of this study, the objectives and methods 15-16 Chapter II system design basis 16-21 2.1 overall structure of the system 16-17 2.2 FPGA Profile 17 2.3 FPGA design flow 17-19 2.4 IP core technology 19-20 2.5 hardware Design Language Introduction 20-21 Chapter III CAN bus interface design 21-48 3.1 CAN bus communication circuit design 21 3.2 CAN bus protocol description 21-27 3.2 .1 CAN bus protocol model 3.2.2 message frame types and structures 21-22 CAN 22-25 3.2.3 CAN type of error and failure to define 25-26 3.2.4 CAN bus bit timing and synchronization mechanisms 26-27 3.3 CAN bus controller FPGA implementation 27-48 3.3.1 Interface management Logic 28-30 3.3.2 acceptance filter 30-36 3.3.3 bit Timing Logic 36-40 3.3. 4 stream processors 40-48 Chapter IV and PCI bus interface 48-56 4.1 PCI bus protocol Profile 48-53 4.1.1 PCI bus signals defined 48-51 4.1.2 PCI bus data transfer 51-53 4.2 PCI bus interface 53-56 4.2.1 PCI bus interface implementations 53-54 4.2.2 PCI bus interface and control instructions 54-56 Chapter master Control module Design 56-67 5.1 master control module features 56 5.2 main control module implements ideas 56-57 5.3 reset module design 57-58 5.4 transfer control module design 58-63 5.5 data receiver module design 63-66 5.6 storage unit module 66 -67 Chapter VI system testing software design and system testing 67-77 6.1 WinIo About 67-68 6.2 CAN bus controller registers read 68-70 6.3 test software design 70-73 6.3.1 system initialization program design 71-72 6.3.2 to receive programming 72 6.3.3 transmit programming 72-73 6.4 system test 73-77 Conclusion and Outlook 77-78 Thanks 78-79 References published during 79-82 pursue a degree thesis 82

Related dissertations

  1. The Design and Research of PCI Data Acquisition Card Based on FPGA
  2. The Rearch of MIC Bus Controller Based on FPGA
  3. The research and design of CAN bus controller based on FPGA
    ZhaoCheng ·Yangzhou University ·2013 ·Master's thesis
  4. Design of Distributed Concurrent State-aware System for the Quadruped Bionic Robot
    LiuMingLiang ·Central South University ·2013 ·Master's thesis
  5. Research and Realization of FPGA-Based Serial Bus
  6. Research of3D Laser Radar for Vehicle Initiative Safety
  7. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  8. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  9. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  10. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  11. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  12. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  13. Design and Application of the Distributed Monitoring System Based on Embedded Web
  14. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  15. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  16. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  17. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  19. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  20. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis