Study of Communication and Real-time in CAN Net

Author
YuanYuan
Advisor
LiHongXin
School
Lanzhou University
Major
Communication and Information System
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2010
Downloads
166
Citations
1

Request the full text

Abstract

CAN bus has now become a widely used fieldbus , has better real-time and reliability , convenient and flexible networking , be applied to many areas . Is one of the most influential fieldbus . This article describes the CAN bus protocol specification , based on its MAC the the ECAN module with the DMA controller in the microchip developed dsPIC33FJ256GP710 devices used in combination to achieve the CAN communication . The reasons for the establishment of a mathematical model of the packet delay time delay generated by analysis of the CAN bus messages . Introduces the research background of the real-time performance of CAN bus and several common solutions . Improve the real-time nature of the principle and in accordance with the priority of dynamic change , designed a \For the CAN bus simulation studies mainly rely on hardware simulation and professional bus protocol analysis instrument , the limitations of the study , the use of network simulation software OPNET the three modeling mechanism , take the CSMA / CD bus arbitration method , the CAN network software analog simulation and performance analysis , and provides a new option for the CAN network .

Table of contents

Abstract 4-5 ABSTRACT 5-8 1 Introduction 8-13 1.1 Fieldbus Overview 8-9 1.1.1 Basic concept 8 1.1.2 Fieldbus development 8-9 1.2 CAN Bus Overview 9-11 1.2.1 CAN bus development and characteristics 9-10 1.2.2 CAN bus technology limitations 10-11 1.2.3 CAN Bus Research 1.3 thesis research content 11-13 2 CAN network protocol analysis 13-22 2.1 basic concepts 13-16 2.2 packet transmission and error handling 16-19 2.2.1 frame format and frame type 16 2.2.2 frame structure 16-18 2.2.3 Error Handling 18-19 2.3 timing requirements 19-22 3 CAN network communications to achieve 22-32 3.1 DSPIC33FJ256GP710 devices About 22-26 3.1.1 cpu and memory constitute 22-24 a 3.1.2 direct memory access (DMA) 24-25 3.1.3 Enhanced CAN module 25-26 3.2 The use of DMA to achieve CAN communications 26-32 3.2.1 ECAN and DMA module configuration 26-29 3.2.2 interrupt settings and data exchange 29-31 3.2.3 main program 31-32 4 CAN network real-time analysis of research 32-44 4.1 control network real-time 32-33 4.1.1 control network concept of real-time 32 4.1.2 control network real-time indicators 32-33 4.2 CAN network real-time analysis of 33-44 4.2.1 GAN network delay analysis 33-36 4.2.2 improved the CAN network real-time algorithm 36-39 4.2.3 design priority scheduling algorithm 39-44 5 OPNET simulation CAN network 44-59 5.1 OPNET network simulation software Introduction 44-49 5.1.1 Network Simulation 44-45 5.1.2 OPNET Profile-and development environment 45-48 5.1.3 OPNET communications simulation mechanism 48-49 5.2 CAN network simulation to achieve 49-59 5.2.1 CSMA / CD principle 49-50 5.2.2 CAN network model design 50-54 5.2.3 CAN network simulation to achieve 54-59 6 Conclusion 59-60 Appendix 60-70 the References 70-73 to pursuing degree during the academic 73-74 Acknowledgements 74

Related dissertations

  1. Design and Implementation of Motion Control System of Hexapod Robot
    LiuDeGao ·Harbin Institute of Technology ·2013 ·Master's thesis
  2. Improvement of a Scheduling Algorithm for Embedded System μCOS-Ⅱ Kernel
    ChenDaoMing ·Jilin University ·2012 ·Master's thesis
  3. Based on the DER and distribution network information model and real time communication research
    XuXingGui ·Yunnan University ·2013 ·Master's thesis
  4. Research on Key Technologies of Car Information Centralized Control System
    JinHaiSong ·Wuhan University of Technology ·2005 ·Doctoral dissertation
  5. Study on Resource Scheduling of Networked Motion Control Systems
    ZhaoWei ·South China University of Technology ·2010 ·Doctoral dissertation
  6. Study of Distributed Real-time Communication System of Photoelectric Theodolite Based on Gigabit Ethernet
    ZhangWeiHua ·Graduate Schoo,Chinese Academy of Sciences ·2011 ·Doctoral dissertation
  7. The Application Research of Real-time Communication Protocol
    JiangZhongJie ·Dalian University of Technology ·2008 ·Master's thesis
  8. Design of Embedded Gateway and the System’s Simulation in City Bus Information Integrated Controlling System
    ZhouJianHua ·Wuhan University of Technology ·2006 ·Master's thesis
  9. Research radio resource management \
  10. Research on Road and Bus of Urban-Rural in the Yangtze River Delta Region
  11. Analysis of the Priority of Rural Residential Land Consolidation in Houma City
    WangLiQin ·Chinese Geology University (Beijing) ·2013 ·Master's thesis
  12. Study of Real-time Grid Monitoring System Based-on Complex Event Processing
  13. Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
    ZhouBin ·Central South University ·2013 ·Master's thesis
  14. Design of Embedded Data Acquisition and Processing System of MEMS-INS
  15. Design and Realization of CS-50Catalyst Production Control System Based on CAN Bus
    AiTianLun ·Dalian Jiaotong University ·2012 ·Master's thesis
  16. Design of DeviceNet-CANopen Integrated Slave Node
    LiuXueWei ·Tianjin University of Technology ·2013 ·Master's thesis
  17. Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
    HaoYongLiang ·Tianjin University of Technology ·2013 ·Master's thesis
  18. Knitting Machine Hardware Control Platform Design and Implementation Based on NCUC-bus Fieldbus
  19. Research on Control System of a6-DOF Motion Platform
    YaoShiLei ·Harbin Engineering University ·2013 ·Master's thesis
  20. Design and Application Research on Multi-Master Node TTCAN Network