Research and Implementation of CAN Bus and Ethernet Communication Based on ARM7Embedded System

Author
HuangBing
Advisor
SongJie
School
Anhui University
Major
Computer technology
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2012
Downloads
256
Citations
1

Request the full text

Abstract

The fieldbus technology makes industrial equipment instrument no longer an independent information island. Through the bus technology, they can share between each other hardware and software, which is a significant breakthrough of the networking of site equipment, but the field bus failed to achieve border-crossing control network. With the development of computer, control, communication, network and some other information technology, it is necessary to set up a network platform of all levels enterprise control layer to the layer from the industrial field devices and glayer to realize an integrated management of industrial enterprise. Ethernet with its convenient access to remote system, sharing/visit databases and many other advantages is eventually connected by many fieldbus system to share resources and to efficiently perform complex control task. It not only ensures the mutual communication between transverse equipment, but also provides a channel for longitudinal data information transmission. Industrial equipment connected to the Internet makes the distance and extent of remote monitoring, collaborative working further and broader.This paper analyzes the data transmission technology of can bus network and Ethernet communication protocol.using high-performance embedded LPC2400arm processor as the core of the hardware development platform realized the can bus network data transmission and TCP communication design and implementation, and on this basis to further realize the mutual conversion between can bus agreement and Ethernet protocol, making an easy access of can bus network to Ethernet. Specific is described below:1. CAN bus network data transmissionIt introduces in detail the design scheme of the communication system of can controller of ARM Controller LPC2400, which realizes the initialization and sends process of can controller. In order to directly observe data sent from can controller, we use a PCI-9820the non-intelligent2channel can interface card to detect data from can bus. 2. TCP communication design and implementation of EthernetThe microprocessor based on arm kernel realized the Ethernet TCP communication. That is to transplant μC/OS-II embedded operating system and TCP/IP protocol stack of ZLG/IP protocol stack into LPC2400ARM successfully, realizing the server application based on TCP protocol.3. The mutual conversion between CAN bus agreement and Ethernet protocolOn the basis of a thorough investigation on the can bus agreement and the TCP/IP protocol stack, an interconnection gateway based on Ethernet of arm and can bus is designed, namely the can bus and Ethernet mutual conversion gateway. The correctness of design is validated through the commissioning and testing.

Table of contents

Summary 3-4 Abstract 4-6 directory 6-9 Chapter 1 Introduction 9-14 <br / > Features 1.1 fieldbus technology and fieldbus 9-11 1.1.1 fieldbus control system technical features 9-10 1.1.2 fieldbus 10-11 1.2 Ethernet technology and its development task and content of 11-12 1.3 this project to be completed 12-14 Chapter II CAN nbsp bus protocol and its associated technologies ; 14-21 2.1 CAN bus technology Introduction 14-15 hierarchy nbsp 2.2 CAN 's ; 15-16 <br / > 2.3 CAN message frame type 16-19 2.3.1 data Frame 17 2.3.2 remote Frame 17-18 2.3 .3 error frame 18 2.3.4 overload frame 18-19 frame format structure 2.4 CAN messages 19-21 2.4. 1 CAN 2.0B standard frame 19 2.4.2 CAN 2.0B extended frame 19-21 Chapter ARM Embedded System CAN controller and Ethernet controller 21-32 3.1 CAN controller application structure 21-30 3.1.1 CAN controller 21-23 3.1.2 LPC2400 CAN controller programming ideas 23-25 ?? 3.1.3 CAN -driven preparation 25-30 3.1.3.1 CAN initialization 25-27 3.1.3.2 CAN frame transmission 27-29 3.1.3.3 CAN frame reception 29-30 3.2 Ethernet Controller application 30 -32 3.2.1 Ethernet controller Overview 30 3.2.2 Ethernet MAC and PHY 30-32 Chapter IV μC / OS Ⅱ operating system with embedded TCP / IP protocol stack 32-42 4.1 embedded operating system μ C / OS Ⅱ 32-37 4.1.1 uC / OSII tiny kernel Profile 32-33 4.1.2 μC / OS Ⅱ operating system migration conditions 33-34 4.1.3 μC / OS Ⅱ operating system migration steps 34-36 4.1.4 μC / OS Ⅱ test portable code design and analysis 36-37 4.2 embedded TCP / IP protocol stack 37-42 4.2. 1 TCP / IP architecture model 38-39 4.2.2 embedded TCP / IP protocol stack ZLG / IP 39-42 Chapter experimental design software and test results 42-60 5.1 programming software and PCI-9820 interface card Profile 42-49 5.1.1 ADS1.2 integrated development environment consisting of 42-43 5.1.2 PCI9820 non-intelligent 2-channel CAN interface card 43-49 5.1.2.1 PCI9820 by mounting port card 43-45 5.1 .2.2 PCI9820 interface card driver installation writing 45-47 5.1.2.3 PCI-9820 interface card PC- detection software 47-49 5.2 ARM- based CAN communication the design and implementation of the system 49-52 5.2.1 ARM-based CAN bus network connection diagram 49-50 5.2.2 ARM-based software design CAN bus 50-52 5.3 ARM -based embedded Ethernet communication design and implementation 52-57 5.3.1 Socket programming Introduction 52-53 5.3.2 Socket network communication software implementations 53-57 5.4 ARM technology-based Ethernet and CAN bus protocol conversion design and implementation 57-60 5.4.1 principle protocol conversion 57-58 5.4.2 software testing and test results 58-60 chapter 6 summary and Outlook 60-61 <br / > References 61-65 bitmap index 65-67 Figure Index 67-69 Thanks 69

Related dissertations

  1. Design and Implementation of Industrial Gateway Device Based on ARM
    ZuoXiaoJing ·Harbin Engineering University ·2013 ·Master's thesis
  2. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  3. Industrial Field Data Acquisition System Design Based on CAN Bus
  4. Research on Indoor Localization System for Intelligent Wheelchair
  5. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  6. E1Ethernet Protocol Slot Auto-Negotiation Conversionthe Design and Implementation
  7. Design and Implementation of Ethernet Transfer Based on ARM
    LiMingJian ·Dalian University of Technology ·2013 ·Master's thesis
  8. Diagnostic Technology of Metro Traction Converters Based on ARM
    TianZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  9. Design and Realization of Multi-bus Gateway for Integrated Bridge System
    RenKangJian ·Harbin Engineering University ·2013 ·Master's thesis
  10. Design and Research of Cabin Monitoring System Based on CAN Bus
    HuangChengWei ·Wuhan University of Technology ·2013 ·Master's thesis
  11. The Reserach of Obstacle Avoidance System in Intelligent Wheelchair Based on ARM
  12. Design of Mine Underground Personnel Positioning System Based on CAN Bus
  13. Design of Patrol&Alarm System Based on ARM
    WuHouChun ·Nanchang University ·2013 ·Master's thesis
  14. Design and Implementation of Intelligence Residential Intrusion System Based on CAN Bus
    ChenYi ·Shanghai Jiaotong University ·2008 ·Master's thesis
  15. The Development of Embedded Remote Data Acquisition System for Internet of Things
    WangGuangWei ·Zhejiang Normal University ·2012 ·Master's thesis
  16. Research of Fieldbus Multi-Protocol Conversion Gateway Based on PROFIBUS-DP Slave
  17. A Research and Design on Key Technologies of Automatic Chinese Traditional Medicine Distribution System
  18. Design and Implementation of Multimodal Traffic Signal Controller
    XuZuoLong ·South China University of Technology ·2012 ·Master's thesis
  19. The Design of Multi-baghouse Dust-collector Control System
    TangMing ·Guangxi University of Technology ·2012 ·Master's thesis
  20. Research and Development of Stage Axis Motion Controller Based on ARM
    WuShaoFei ·Lanzhou University of Technology ·2012 ·Master's thesis