Research and Application of CAN bus based on the ARM2100 development board

Author
ZhangLiBing
Advisor
XuZhiLiang , PengFuMing
School
Nanjing University of Technology and Engineering
Major
Detection technology and automation devices
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2006
Downloads
349
Citations
1

Request the full text

Abstract

The technologies of CAN-bus derive from the industry of automobile. And work up gradually to become a much popular standard for high-speed network protocol in the automobile network. The application of CAN-bus not only decreases the quantities of link-lines and pins for controller interface, but also promotes the trend for the network of auto electronic apparatus.The application of CAN-bus has been extended to many other fields .And its protocol also has been a standard bus-protocol for embedded industry-control network of area. The purpose of studying CAN-bus is to understand how to realize its underground protocol concretely and on the base of it we can use CAN-bus to the actual development .At the same time we can get ready to understand and master the high-level application protocol based on the CAN-bus protocol.This paper introduces the CAN-bus protocol and some high-level application protocols. And also designes the application for the control of automobile air condition, which consists of four functional node and a communication-test node.Due to the importance of CAN-bus in the embedded industry-control network of area and purpose that we can realize the nodes function which has many tasks, It is designed to use the real-time OS μC/OS-II to realize the exploring of two nodes based on ARM2100 board. Two other nodes are designed independently. The communication-test node is realized by programming in the computer. The application protocol is established and realized by the way of software and hardware. During this process, the independent CAN controller and the chip integrated CAN are used to make the exploration. The resolution for the flow of exploration is made .And at the same time the details that how to use μC/OS-II to make the exploration for the nodes which had many tasks are also made.The system debugging after achieving the software and hardware for system is done. And the result basically reaches the point that the application design requested.

Table of contents

Summary 3-4 Abstract 4-7 1 Introduction 7-11 1.1 research background 1.2 research status and development dynamic 7-9 1.2.1 CAN development abroad the 7-8 1.2.2 CAN in the development of the domestic 8-9 1.3 major research 9-11 1.3.1 research 9-10 1.3.2 of this thesis the main work 10-11 2 CAN bus mechanism introduced 11-20 2.1 CAN performance characteristics 11 2.2 CAN technical specifications 11-20 2.2.1 CAN protocol network hierarchical model and structural 11-12 2.2.2 CAN network topology 12-13 2.2.3 CAN protocol packet frame structure 13-16 2.2.3.1 specification 2.1A message frame structure are found; 13-16 2.2.3.2 specification 2.0B message frame structure are found; 16 2.2.4 CAN protocol error detection the 16-17 2.2.5 buses, visit the arbitration techniques 17-18 2.2.6 timing 18-19 2.2.7 sync 19-20 based on the ARM2100 development boards μC / OS-II transplantation 20-28 3.1 development board Introduction 20-21 3.2 μC / OS-II, 3.3 development board transplantation μC / OS-II 21 21-28 <br / the> 3.3.1 transplantation Planning 21-22 3.3.2 write LPC2119 startup code 22-24 3.3.2.1 exception vector 22 <br / > 3.3.2.2 system initialization the 22-24 3.3.3 μC / OS-II source code transplants 24-28 3.3.3.1 Data Type Definition nbsp you; 24 3.3.3.2 to use soft interrupt SWI for underlying interface 24-25 3.3.3.3 interrupt service routine preparation 25-26 3.3.3.4 task the stack initialization 26-27 3.3.3.5 ... Hook () function and other specific functions 27-28 application functionality and protocol design 28 - 34 4.1 application functionality described 28-29 4.2 the node functional design and logical relations 29-30 the 4.2.1 signal acquisition node 29 < br /> 4.2.2 keyboard control node 29-30 4.2.3 development board based on the two nodes 30 the 4.2.4 host computer communication test nodes 30 4.3 application protocol design the 30-32 4.3.1 identifier nbsp setting; the 30-32 4.3.2 special case handling 32 4.4 CAN underlying protocol senior application protocol the 32-34 4.4.1 CAL and OSEK About 33 4.4.2 CANopen, DeviceNet and SDS About 33-34 5 CAN bus applications hardware system design 34-40 5.1 CAN controller and transceiver 34-37 5.1.1 CAN controller the 34-36 5.1.1.1 of SJA1000 controller several control modules 35 the 5.1.1.2 PeliCAN mode register introduced 35 -36 5.1.2 CAN drive 36-37 5.2 function node. circuit design 37-40 software system design 40-55 < br /> 6.1 overall framework to build 40-41 6.1.1 node bus topology diagram the 6.1.2 node 40 logical frameworks Figure 40-41 6.2 node software design flow chart the 41-44 6.2.1 based on μC / OS-II two nodes flowchart 41-42 6.2.2 Signal acquisition node software flow chart the 42-43 6.2.3 keyboard control node software flowchart 43-44 6.2.4 the host machine communication test interface 44 6.3 system software detailed 44-55 μC / OS-II-based task management 44-52 6.3.1 6.3.1.1 create task the 45-46 6.3.1.2 design task communication mechanism 46-47 6.3.1.3 two CAN data reception and transmission 47 -49 6.3.1.4-tasking capabilities to achieve the 49-52 6.3.2 the independent node data transceiver and deal 52-53 6.3.2.1 signal acquisition node 52-53 6.3.2.2 keypad, the control node 53 the 6.3.3 host computer communications test node interface programming to achieve 53-55 system debugging the 55-58 node module 7.1 unit debugging 55 7.2 system network and functional debugging 55-58 7.2.1 CAN network debugging the 7.2.2 system function debugging 55-57 the 57-58 summary and the outlook 58-59 thank the 59-60 < br /> Reference the 60-63 Appendix 1: the signal acquisition node Schematic 63-64 Appendix 2: the keyboard control node Schematic 64-

Related dissertations

  1. The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
  2. The Application of CAN-BUS and J1939 in FuelCell-Electric Bus
    ShenChao ·Shenyang University of Technology ·2007 ·Master's thesis
  3. ARM Based on the CAN Bus and Ethernet Interconnect System Design
    HanDaiYun ·West China University ·2009 ·Master's thesis
  4. Smart Home Monitoring System Based on Ni Wireless Sensor Network
    LuZuoChao ·Zhejiang Normal University ·2013 ·Master's thesis
  5. Design and Application of Real-time Dam Deformation Monitoring Instrument
    ZuoShiBo ·Hunan University ·2013 ·Master's thesis
  6. Research and Implementation of Networked Data Acquisition System Based on Cortex-M3
    ShengQingPeng ·Qilu Industrial University ·2014 ·Master's thesis
  7. Research on Online Programming System Based on CAN-bus
  8. The Embedded Industrial Control Module Based on iCAN Protocol
    GouZuo ·Inner Mongolia University of Technology ·2013 ·Master's thesis
  9. The Design of CNC System for Automatic Gemstone Grinder
  10. The Design of Data Recorder for Special Vehicles Based on Ethernet
    HouZeXiong ·University of North ·2014 ·Master's thesis
  11. Research and Design of Low-power WSN Node Based on SOC
    DongJiFeng ·Hebei University of Technology ·2012 ·Master's thesis
  12. Design of CTD Sensor and Research of Data Processing Technology
    LvZhi ·Harbin Engineering University ·2013 ·Master's thesis
  13. Research of Network Covert Channel Based on Multi-protocol
  14. Design and Implementation of an IP-based Ethernet Virtualized Interconnection Protocol
  15. Research of Virtualized Desktop Transmission Protocol
  16. Research on the Iris Recogniton System Based on DSP
  17. Research on Group Ownership Transfer Protocol for RFID Tag
    LiangYing ·Hainan University ·2014 ·Master's thesis
  18. μC/OS-Ⅱ-based Recording Player Software Design and Implementation
  19. Design and Implementation of Voice Communication Software
  20. Design and implementation of Android system based on mobile phone video calling software
    LiuJia ·Northwestern University ·2013 ·Master's thesis