The Analysis, Improvement and Test of Real-Time Performance for CAN Bus

Author
GuanXueFeng
Advisor
LiuJianXin
School
West China University
Major
Mechanical Manufacturing and Automation
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2008
Downloads
437
Citations
2

Request the full text

Abstract

The CAN Bus is now increasingly and extensively used in industry control,automobile electronics, mechanical manufacturing and other area where require high real-time ability. For some application of short frame, CAN bus is very flexible and has perfect ability of real-time performance. However, one of the perceived drawbacks of CAN is the inability to bound accurately the worst-case response time of a given message.This paper presents the reaserch background of CAN bus real-time ability firstly. And then explains CAN protocol precisely. According to the media access controlling method of CAN protocol, the reason of delay time was discussed. A kind of message delay mathematical model was set up and extended under nomal and error condition. To improve the real-time performance of CAN bus, the paper apply a higher protocol STT-CAN which employ the method of TDMA on traditional CAN bus.We also design a real-time testing system to evaluate the delay time in CAN mode and STT-CAN mode. Both hardware and software components were illustrated detailedly. At last the result of test was calculated and given out. The result indicate that the real-time ability of STT-CAN protocol performed better than CAN protocol under some conditions. But its flexibility is reduced a little.

Table of contents

Abstract 2-3 Abstract 3-8 1 Introduction 8-13 1.1 Overview 8-9 1.2 Research 9-12 1.3 This paper studies the background and main content 12-13 the CAN protocol specification and its real-time performance analysis 13-27 2.1 CAN bus protocol Introduction 13-17 2.2 CAN bus access access control method 17-19 2.3 CAN bus delay reason 19-20 2.4 CAN packet delay analysis 20-24 2.5 extension analysis 24-27 3 CAN bus real-time performance improvement program 27-36 3.1 controlled access control method 27-28 3.2 event trigger system with time-triggered systems 28-29 3.3 Based on TTCAN and Agreement About 29-30 3.4 TTCAN protocol parsing 30-33 3.5 STT-CAN protocol implementations 33-36 4 test system program design and implementation of 36-53 4.1 CAN bus system hardware architecture 36-37 4.2 node hardware design 37-43 4.3 from node software design 43-44 4.4 master node selection 44-47 the a 4.5 primary node software design 47-50 4.6 user interface design 50-53 5 test results verify 53-64 5.1 test principle 53-55 5.2 CAN mode test results 55-59 5.3 the STT -CAN mode test results 59-61 5.4 Analysis of 61-64 6 Summary and Outlook 64-66 6.1 summarizes 64 6.2 Looking 64-66 the References 66-70 the author is in graduate school during scientific research achievements 70-72 Acknowledgements 72

Related dissertations

  1. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  2. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  3. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  4. Design and Application of the Distributed Monitoring System Based on Embedded Web
  5. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  6. Industrial Field Data Acquisition System Design Based on CAN Bus
  7. Design of the Hazard Source Monitoring System Based on CAN Bus
  8. The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
  9. Research on Data Acquisition System of Can Bus
  10. The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
    QianYiWei ·Hunan University ·2013 ·Master's thesis
  11. Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
    FeiYongYun ·Nanjing Agricultural College ·2013 ·Master's thesis
  12. Research of Emulsion Pump Performance Test System
  13. Design and Implementation of Intelligent Wiring Hardness Detection System
  14. Research on Indoor Localization System for Intelligent Wheelchair
  15. Research on CAN Bus Communication and Application Experiments
    WangHuaWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
  17. Research of Fieldbus Relay Basing on CAN Bus
  18. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis
  19. CAN Network Development of Commercial Vehicle
    MaJiZhou ·Xi'an University of Petroleum ·2012 ·Master's thesis
  20. Based on Smith Fuzzy-PID of Hot Drawing Roller Temperature Control System
    FangHaiPing ·Tianjin University of Technology ·2013 ·Master's thesis