CAN Universal Driver Software Design and Implementation

Author
YuWenZuo
Advisor
FengRui , YeYi
School
Fudan University
Major
Computer technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
121
Citations
0

Request the full text

Abstract

With the development of embedded system,CAN bus system has a perfect mechanism of error detecting and error handling.CAN network is widely used in various social activities such as Automotive,Intelligence Building,Automation of industry and etc In actual use,though different hardware and different application have quite a lot difference,they have a common point——an application based on CAN 2.0B protocol.So develop a common CAN driver software can greatly improve effective of development,decrease cost of development/test,decrease risk of project.By the experiences of developing several common CAN driver based on different projects,The author design and implement the Common CAN driver which is a configurable,multi-hardware,multi-platform supported driver of CAN controller.Considering the requirement of most CAN devices,the common CAN driver provide a reliable solution to meet the different requirement which is easy to implement.User only need configure macros of hardware,add the transport protocol in the protocol layer and create a thread to process the standard procedure.The practice of the common CAN driver used in Automotive Body Control project and Automation of Ship system approves that the driver is a highly reusable, maintainable.Since user don’t need change the implementation of CAN driver.The development will be more efficient and reliable in actual use by applying the driver.

Table of contents

Abstract 3-4 Abstract 4-5 first chapter 5-15 the 1.1.CAN bus 5-7 1.2. research and development status at home and abroad 7-10 the 1.3.CAN2.0B transport protocol specification 10-13 1.4. This work 13-14 1.5. organization of this article 14-15 the requirements analysis and system design 15-28 2.1. needs instructions and Analysis 15-20 2.2. workflow design 20-23 2.3. receive / send state design and sequence design 23-28 Chapter key technology research 28-49 3.1. functional modules 28 3.2. data structures 28-33 3.3. performance function 33-41 3.4.ID mapping relationship 41-42 3.5. the unification process flow 42-44 3.6. the flexible application configured 44-45 3.7. the macro defined interface 45-46 3.8. standard user interface 46 3.9. interrupt response and error handling 46-49 Chapter based on the practical application of the NEC V850 49-63 4.1. outlined 49-54 4.2. hardware layer configuration 54-57 4.3. protocol layer configuration 57-59 4.4. Application Layer configuration 59 4.5. actual performance 59-63 Chapter V Conclusion 63-65 the 5.1.CAN the practical value of the generic driver 63 the subsequent function Prospects 5.2.CAN generic driver 63-65 the References 65-66 Acknowledgements 66-67

Related dissertations

  1. Navigation System CAN Network Design and Implementation Based on Time-triggered
    YuYing ·Harbin Engineering University ·2013 ·Master's thesis
  2. Design and Implementation of CAN Network Management Module in NS2
    YeChenSi ·Jilin University ·2013 ·Master's thesis
  3. Research and Design of Mini-Electric Vehicle Control System
    GaoYan ·Southwestern University ·2012 ·Master's thesis
  4. Intelligent Scheduling of CAN Networked Control System
    ZhouShiYing ·Jilin University ·2009 ·Doctoral dissertation
  5. Research of ABS Control Strategy Based on ESC Control System and Experiment
    LiJianHua ·Jilin University ·2010 ·Doctoral dissertation
  6. Research on GPRS Transmission for Vehicle CAN Network
    WeiZuo ·Wuhan University of Technology ·2008 ·Master's thesis
  7. Study on the Industrial Control System Based on Can Field-Bus and Its Application
    YangZhenYu ·Xiamen University ·2007 ·Master's thesis
  8. Design and implementation of integrated information system of residential central air conditioning
    JinZuo ·East China Normal University ·2007 ·Master's thesis
  9. Plastic Optic Fiber Application in CAN
    YangGuoWei ·Lanzhou University ·2007 ·Master's thesis
  10. Design of Intelligent Controller Current
  11. Development and Application Based on Mixed-Signal SOC Platform
    LiuDai ·Jilin University ·2007 ·Master's thesis
  12. The Design and Implementation of Battery Management System
    WuDongXing ·Hunan University ·2006 ·Master's thesis
  13. The Research on Hybrid Electric Vehicle’s Controller and Promotion Motor’s Vector Control
    CaoSongBo ·Hunan University ·2006 ·Master's thesis
  14. The Design of CAN Network with Time Triggered Communication and the Application of Roller
    ZhouXianZhou ·Tongji University ·2006 ·Master's thesis
  15. Design and Realization of an Embedded Web-Based Remote Supervisory System for CAN Bus
    LiangTaiWen ·Tsinghua University ·2004 ·Master's thesis
  16. Research Substation distributed fault recorder
  17. Design of Electronic Control System of Automobile Automatic Transmission Based on Vehicle Network
    DengYanShan ·Wuhan University of Technology ·2008 ·Master's thesis
  18. Design and Implementation of In-Vehicle MOST/CAN Gateway
    DingNing ·Jilin University ·2010 ·Master's thesis
  19. Design and Realization of Information Interchanging and Monitoring System of CAN Bus Network in Warship
    WangFuYou ·Harbin Engineering University ·2008 ·Master's thesis
  20. Car bus gateway and fault diagnosis design and implementation
    YangYanZhao ·Jilin University ·2011 ·Master's thesis