Design and Realization of CAN Analyzer Based on USB and Performance-analyzing Software

Author
ZhouYuHui
Advisor
ZhouYueQing
School
Tianjin University
Major
Control Theory and Control Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2008
Downloads
132
Citations
0

Request the full text

Abstract

The CAN bus is one of the field busses widely used in industrial control. In the development of a CAN bus, it is very necessary to verify the effectiveness and real-time performance of the CAN system using an experimental platform and testing tools. In order to perfect the CAN bus experimental platform developed by the study team, they engaged in research on the CAN analyzer and used off-line performance analysis software.The CAN bus analyzer chosen used a 32-bit ARM AT91RM9200 micro-processor with a USB controller as the core, with an extension MCP2515 CAN controller, and FLASH and SDRAM storage. The AT91RM9200 and MCP2515 were connected using the Serial Peripheral Interface (SPI). The content of the SPI interface and the programming of this is introduced. The general circuit diagram is shown in this thesis also.The design of the CAN bus analyzer software based on the USB is detailed in chapter 2. In order to realize real-time transmission of the CAN frame and the capture of the time-stamp, problems such as the choice of PDC channel, TC channel and the receiving of the CAN frame were solved and verified by experimentation. According to the features of the CAN protocol, the thesis that CAN is an asynchronous protocol is put forward in the initial design of the MCP2515, and the synchronization mechanism of CAN is analyzed in detail. The transplantation of firmware, the design and implementation of the data upload package and the establishment of a display interface are described with the AT91RM9200 as a USB device.The design of off-line performance analysis software is based on the data format generated by CanAnalyser/32. The show of curve of load rate, ID density, data trend and correlative performance parameters is realized in the display interface. (See Note) After testing the data collection in the CAN bus experiment platform, the validity of this software was proven.It should be pointed out that this thesis only completes fundamental work. Many other problems, such as CAN frame uploads using the USB interface, graphic interface rolling equably with time etc, need further research.

Table of contents

Abstract 3-4 ABSTRACT 4-8 first chapter 8-14 1.1 CAN bus and the real-time analysis 8-10 1.1.1 CAN Bus Overview 8 1.1.2 CAN bus real-time analysis 8-10 1.2 CAN bus system testing tools introduced 10-11 1.3 CAN bus communication experiment platform and its network model optimization 11-12 1.4 research the meaning and content of 12-14 1.4.1 The main research content 13-14 Chapter II the CAN bus monitor hardware design 14-21 2.1 AT91RM9200 embedded microprocessor 14-17 2.1.1 AT91RM9200 microprocessor 14-16 2.1.2 the AT91RM9200 the SPI interface introduced 16-17 2.2 CAN controller MCP2515 17-20 2.2.1 MCP2515 chip features introduced 17-18 2.2.2 MCP2515 internal structure and working principle 18-19 2.2.3 MCP2515 mode and internal register description 19 2.2.4 MCP2515 SPI commands 19-20 2.3 hardware design 20-21 Chapter III of the CAN bus monitor software design 21-46 3.1 CAN module software design 21-35 3.1.1 software integrated development environment 21-23 3.1.2 software design and realization of 23-35 3.2 Experimental Analysis 35-40 3.2.1 Read Buffer mode 36 3.2.2 read byte 36 3.2.3 Conclusion 36-40 3.3 USB Module Software Design 40-45 3.3.1 firmware 40-43 3.3.2 host computer program designed 43-45 3.4 Summary 45-46 Chapter offline performance analysis software 46-59 4.1 software development environment 46-47 4.2 offline performance analysis of software requirements analysis 47 4.2.1 offline performance analysis software features 47 4.2.2 offline performance analysis software with features 47 4.3 offline performance analysis software, structural analysis 47-50 4.3.1 main module composed of 48-50 4.3.2 data source processing 50 4.4 offline performance analysis software function modules 50-57 4.4.1 load rate module 50-52 4.4.2 message frame density module 52-53 4.4.3 Data Trend module 53-57 4.5 Summary 57-59 Chapter Summary and Outlook 59-60 References 60-63 papers and to participate in the research situation description 63-64 Acknowledgements 64

Related dissertations

  1. Research on Digitized Management and Control Of Electro-hvdraulic Proportional System Based on CAN Bus
    ChenZuo ·Zhejiang University ·2012 ·Master's thesis
  2. Distributed Motor Control System Research Based on CAN Bus
  3. The Follow-up Study and Performance Analysis of Rural Credit Union Funds
  4. The Empirical Analysis of the E-banking Performance of Commercial Banks Based on DEA
    LiLing ·Anhui University ·2014 ·Master's thesis
  5. Research of Training Requirement Analysis at CJ Company
    LiXiangLiang ·Northwestern University ·2013 ·Master's thesis
  6. The Case Study on Hongda High-tech Acquiring Baijin
  7. Research on the Shareholding Cooperative System Reform of Rural Collective Assets of Lin’an City
    FanQingQing ·Zhejiang Forestry University ·2013 ·Master's thesis
  8. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  9. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  10. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  11. Design and Application of the Distributed Monitoring System Based on Embedded Web
  12. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  13. Industrial Field Data Acquisition System Design Based on CAN Bus
  14. Design of the Hazard Source Monitoring System Based on CAN Bus
  15. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  16. The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
  17. Research on Data Acquisition System of Can Bus
  18. Usb Without Invasive Data Collection Technology Research
  19. The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
    QianYiWei ·Hunan University ·2013 ·Master's thesis
  20. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface