Research on CAN Bus Communication and Application Experiments

Author
WangHuaWei
Advisor
ZuoWeiMing
School
Harbin Institute of Technology
Major
Electrical Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2012
Downloads
82
Citations
0

Request the full text

Abstract

Network distributed control is a developing trend in modern industrial automationfields. The real-time requirement of control network on some important occasions isgetting more and more important. CAN bus is a unique advantage fieldbus withextensive application prospects, and the real-time analysis and design of it isparticularly important. This paper studies the schedulability analysis and the priorityassignment algorithm of CAN bus, develops a CAN bus communication and applicationexperimental system, designs some specific experimental projects for the demo ofabove methods or algorithms.On the basis of analysis of CAN bus protocol, the schedulability analysis of CANbus is studied, the CAN bus scheduling model is built, the classical schedulabilityanalysis methods and the scope of its application are analyzed. Schedulability based onbusy period to compensate for the lack of classical schedulability analysis method isanalyzed. Two types of priority assignment algorithm are studied. The first category isthe optimal priority assignment algorithm, including the DM priority assignmentalgorithms and the priority assignment algorithm arbitrary cut-off. The second categoryis the robustness priority assignment algorithm, including the priority assignmentalgorithm allowing the maximum number of errors, allowing the longest delay andminimizing the deadline failure probability.The general scheme of CAN bus communication and application experiments isdesigned. The experimental target and the specific experimental project are planned todemonstrate the classical schedulability analysis, DM priority assignment algorithm andthe the robustness priority assignment algorithm. A CAN bus communication andapplication experimental system is developed. The system hardware and the coresoftware design process are given.The experimental system of CAN bus communication and application can helpusers understand the real-time analysis and design of CAN bus. The research work ofthis paper is helpful to expand the range of theoretical studies of CAN bus and promotethe application of CAN bus in China.

Table of contents

Abstract 4-5 Abstract 5-9 Chapter 1 Introduction purpose and meaning 9-13 1.1 Background and research topics 9-10 1.2 domestic and foreign research status 10-12 1.2.1 CAN bus foreign research status 10-11 1.2.2 CAN bus domestic Research Status 11-12 1.2.3 CAN bus status quo experimental study main contents of 12 1.3 topics 12-13 Chapter 2 cAN bus protocol and its schedulability analysis 13-25 2.1 Introduction 13 2.2 CAN bus protocol analysis 13-16 2.2 .1 CAN bus protocol layer 13 2.2.2 CAN bus physical layer 13-14 2.2.3 CAN bus data link layer 14 -16 2.2.4 CAN bus optional application-layer 16 2.3 CAN bus schedulability analysis 16-24 2.3.1 CAN bus schedule model 16-17 2.3.2 classic CAN bus WCRT analysis 17-21 2.3.3 arbitrary deadline WCRT analysis 21-23 fault model 2.3.4 CAN bus 23-24 2.4 Chapter Summary 24-25 Chapter 3, CAN bus priority assignment algorithm 25- 35 3.1 Introduction 25 3.2 D-JMPO algorithm 25-27 3.2.1 algorithm optimality 25-27 <br / > 3.2.2 D-JMPO algorithm is suitable for CAN bus conditions optimal algorithm under 27 3.3 arbitrary deadline 27-28 3.4 priority assignment robustness algorithm 28-34 3.4.1 the number of errors can be tolerated to maximize 30-32 3.4.2 tolerable delay to maximize 32 3.4.3 deadline probability of failure is minimized 32-34 3.5 Summary 34-35 Chapter 4 CAN bus communication and application of experimental planning 35-46 4.1 Introduction 35 4.2 CAN bus experiment planning 35-36 4.2.1 CAN -bus test target 35-36 4.2.2 CAN bus experimental project planning 36 4.3 CAN bus key experimental project design 36-43 4.3.1 CAN bus bit error generation and detection experiments comparative experiments nbsp 36-37 4.3.2 actual response times and the worst response time ; 37-38 4.3.3 the worst response time detection experiments 38 4.3.4 verify classic schedulability analysis method is suitable experimental conditions 38-39 4.3.5 DM priority assignment algorithm for cAN bus applicable conditions of validation experiments 39 -40 4.3.6 can allow a maximum error robustness priority assignment algorithm experiment 40-41 4.3.7 can allow a maximum delay of priority assignment algorithm robustness experiment 41 4.3.8 deadline minimize the probability of failure is robust priority assignment algorithm experiment 41-42 4.3.9 comprehensive design experiments 42 -43 4.4 CAN bus communication system design and application of experimental 43-45 4.4.1 overall system hardware structure 43-44 4.4.2 overall system software architecture 44-45 4.5 Chapter Summary 45-46 Chapter 5 CAN bus communication and application of experimental implementation and verification 46-64 <br / > 5.1 Introduction 46 5.2 CAN bus test system hardware design 46-51 5.2.1 communications interface circuits 46 5.2.2 Human Machine interactive circuit 46-47 5.2.3 application experiments analog circuit 47-51 5.3 CAN bus experimental system software design 51-57 5.3 .1 CAN bus basic communication program 51-52 5.3.2 packet parameter configuration program 52-53 5.3.3 packets actual response time testing procedures 53-55 5.3.4 bit error generator 55-57 5.4 experimental verification 57-63 5.4.1 DM priority algorithm suitable for CAN experimental validation bus conditions 57-60 5.4.2 Robust priority assignment algorithm may allow experimental verification largest number of errors 60-62 5.4.3 integrated Design experimental verification 62-63 5.5 chapter Summary 63-64 conclusion 64-65 references 65-69 Thanks 69

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. Design and Implementation of Intelligent Wiring Hardness Detection System
  13. Research on Indoor Localization System for Intelligent Wheelchair
  14. Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
  15. Research of Fieldbus Relay Basing on CAN Bus
  16. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis
  17. CAN Network Development of Commercial Vehicle
    MaJiZhou ·Xi'an University of Petroleum ·2012 ·Master's thesis
  18. Based on Smith Fuzzy-PID of Hot Drawing Roller Temperature Control System
    FangHaiPing ·Tianjin University of Technology ·2013 ·Master's thesis
  19. Research on the Scheduling Algorithm of Networked Control System Based on CAN Bus
    YangFangFang ·Tianjin University of Technology ·2013 ·Master's thesis
  20. Research and Development of Multi-funcitional Care Bed Controller Based on CAN Bus
    LiLu ·Hebei University of Technology ·2013 ·Master's thesis