The Research and Application of Field-Bus Based on Embedded System

Author
PengYanBin
Advisor
YangJun
School
Beijing University of Posts and Telecommunications
Major
Detection Technology and Automation
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2007
Downloads
300
Citations
12

Request the full text

Abstract

CAN (Control Area Network) field-bus is a very safety serial bus which can support distributed real time control. CAN has been used in industrial environment and Auto-electricity widely.As developing rapidly recently, a embedded processor can make a more complex operation and data process, and the size of embedded processor is smaller, the cost of hardware is lower and lower.This system includes a node based on a embedded processor, two nodes based on micro-controller and a USB-CAN node, which linked by the CAN bus. The node based on microcontroller AT89C52 is a smart node. It simulated a automatic device, which can be controlled remotely and be programmed to run.The node base on the embedded system can detect and record the communications of CAN bus. The core of this node is ARM9-S3C2410, a 32bit processor, which has a powerful function.The node of USB-CAN is the person computer can access the can bus conveniently. Today, almost any personal computer has a usb port, so we design a usb-can node which can make the access of the CAN bus easier, make debugging and recovering industrial device faster.This project built a network of CAN, which did much work with the low protocol of CAN 2.0.For the network can work correctly, this paper did some research on the application protocol of CAN, and designed a concise and feasible application layer protocol. It succeeded in communication among every node of this system.

Table of contents

Abstract 4-6 ABSTRACT 6-10 first chapter 10-15 1.1 Introduction 1.2 research background 10-14 1.2.1 CAN bus history 10-11 1.2.2 CAN bus development status quo 11-13 1.2.3 CAN bus 13-14 1.3 of this paper mainly work 14-15 CAN bus protocol 15-31 2.1 CAN bus protocol outlined 15-16 2.2 CAN bus physical layer 16-21 2.2.1 CAN bus transmitter and a receiver to define 18 2.2.2 CAN bus physical signals defined 18-19 the 2.2.3 bit timing requirements 19-21 2.3 CAN bus data link layer 21-26 2.3.1 CAN message frame format 21-24 2.3.1.1 standard data frame message format 22-23 2.3.1.2 remote frame 23 2.3.1.3 error frame 23-24 2.3.1.4 too overload frames are found; 24 2.3.1.5 interframe space 24 2.3.2 CAN message transmission and filtering 24-25 2.3.3 error handling mechanism 25-26 2.4 CANopen protocol 26-30 2.4.1 CAL agreement 26-27 2.4.2 CANopen protocol 27-30 2.5 This chapter Summary 30-31 Chapter CAN control network, as well as intelligent nodes 31-43 3.1 CAN control network composition and structure 31 3.2 smart node system framework 31-37 3.2.1 microprocessor 33 3.2.2 intelligent node CAN communication module 33-36 3.2.2.1 CAN controller 33-35 3.2.2.2 CAN bus drive 35-36 3.2.3 LED display and keyboard control driver module 36 3.2.4 intelligent node execution control structure 36-37 3.3 smart node software system 37-42 3.3.1 CAN bus communication function module software design 38-41 3.3.1.1 SJA1000 initialization 38-39 3.3.1.2 CAN message receive 39 3.3.1.3 CAN message sent 39-40 3.3.1.4 CAN packet handler 40-41 3.2.3 LED display and keyboard input software design 41-42 3.2.3.1 LED display program 41-42 3.2.3.2 Keyboard control procedures 42 3.3.3 stepper motor control 42 3.4 This chapter Summary 42-43 Chapter CAN bus the PC control node design and realization 43-49 4.1 Overview 43-44 4.2 node hardware interface structure 44 4.3 PC control node software design 44-48 4.3.1 CAN control node software processes 44-45 4.3.2 CAN communication interface and the main program 45-48 4.4 This chapter Summary 48-49 Chapter embedded monitoring system based on ARM9 CAN bus are found; 49-63 5.1 Overview 49 5.2 the ARM9 embedded hardware platform constitutes 49-53 5.2.1 central processor S3C2410 51 5.2.2 CAN communication module extension 51-52 5.2.3 CAN controller MCP2515 52-53 5.2.3.1 MCP2515 Overview 52 5.2.3.2 SPI interface 52-53 5.3 embedded system software design 53-62 5.3.1 Overview 53 5.3.2 embedded Linux operating system 53-57 5.3.2.1 Linux operating system features 54-55 the advantage of 5.3.2.2 Linux operating system 55-56 5.3.2.3 embedded Linux system constitutes 56-57 5.3.3 device driver 57-60 5.3.3.1 Device Drivers Overview 57 5.3.3.2 device driver and file system relationship 57 5.3.3.3 Equipment driven classification 57-59 5.3.3.4 CAN driver written 59-60 5.3.4 monitoring program 60-61 5.3.5 monitoring and recording format 61 5.3.6 Monitoring Program test results 61-62 5.4 This chapter Summary 62-63 Chapter Summary and Outlook 63-64 the References 64-66 Acknowledgements 66-67 Appendix 67-71 USB-CAN node PC monitoring program interface 67-71 studying for a master's degree during the thesis 71

Related dissertations

  1. The Research on Automobile Electronic Products Malfunction Auto-Detect System Based on CAN-bus
    DuZheng ·Hefei University of Technology ·2008 ·Master's thesis
  2. The Design of Vehicle Body Information Monitoring System Based on CAN Bus
    ChenZuo ·Wuhan University of Technology ·2009 ·Master's thesis
  3. Study on Application Layer Protocol of Pavers Based on CAN-Bus Communication System
    JiangYongFei ·Chang'an University ·2008 ·Master's thesis
  4. Design of Embedded Data Acquisition and Processing System of MEMS-INS
  5. Design and Realization of CS-50Catalyst Production Control System Based on CAN Bus
    AiTianLun ·Dalian Jiaotong University ·2012 ·Master's thesis
  6. CAN Network Development of Commercial Vehicle
    MaJiZhou ·Xi'an University of Petroleum ·2012 ·Master's thesis
  7. Design of DeviceNet-CANopen Integrated Slave Node
    LiuXueWei ·Tianjin University of Technology ·2013 ·Master's thesis
  8. Research on Online Programming System Based on CAN-bus
  9. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  10. The Embedded Industrial Control Module Based on iCAN Protocol
    GouZuo ·Inner Mongolia University of Technology ·2013 ·Master's thesis
  11. Design of Industrial Controller Based on EPA
    ZuoShengChao ·Dalian Jiaotong University ·2013 ·Master's thesis
  12. The Design of the Rectification Recovery System Based on the CAN Bus
    LiuTianQi ·Dalian Jiaotong University ·2013 ·Master's thesis
  13. The Design of CNC System for Automatic Gemstone Grinder
  14. The Design of Data Recorder for Special Vehicles Based on Ethernet
    HouZeXiong ·University of North ·2014 ·Master's thesis
  15. Design of CAN-Ethernet Gateway Based on ARM
    ZhangNanJie ·Dalian Jiaotong University ·2013 ·Master's thesis
  16. The Effects and Mechanism of Ca2+/CaN/Cbl-b/Akt in the Oxygen-glucose Deprivation and Pharmacological Preconditioning
    ZhangWei ·Dalian Medical University ·2013 ·Doctoral dissertation
  17. The Design of Digitalized High-frequency Switching Power Supply Based on DSP
    LiZhiYong ·Tianjin University of Technology ·2013 ·Master's thesis
  18. Design and Implementation of High Frequency PFC On-board Charger
    ChenKai ·Wuhan University of Technology ·2013 ·Master's thesis
  19. Research on Fault Recorder System Based on STM32F4
    ZhangZuo ·Hebei University of Technology ·2012 ·Master's thesis
  20. Design of Smart Terminal for New Energy Micro Grid of Island
    MaLi ·Zhejiang University ·2014 ·Master's thesis