Design of CAN-Ethernet Gateway Based on ARM

Author
ZhangNanJie
Advisor
WuHuaZhu
School
Dalian Jiaotong University
Major
Control Theory and Control Engineering
Classification
TN915.05 Communication network equipment
Degree
Master's thesis
Year
2013
Downloads
12
Citations
0

Request the full text

Abstract

At present, the local control network constructed by the fieldbus has been formed perfect technical system. With the development of control technology, the direct communication between field apparatus and managers of the enterprise has become a new research direction, and real-time sharing of production data and remote monitoring would be realized by this technology, which has great value and practical significance for the efficient management.There are many types of field bus, and CAN-Bus has advantages of good real-time communication, high reliability, strong network security, simple structure and low use cost, and it was widely used in industrial control field. But CAN-Bus also has some defects, such as CAN-Bus was subjected to the limit of transmission distance and transmission speed in actual use, CAN-Bus’ monitoring must be in the field. The maintenance of CAN-Bus was not convenient, which wasted the enterprise resources. But Ethernet had advantages of long distance, efficient transmission, always online, covering widely, rapid login, free switch etc. The CAN-Ethernet gateway was used to accomplish protocol conversion between CAN-Bus and Ethernet, which could ensure reliable transmission in long range of field data, it also provided a new idea for the management and control integration.32-bit processor LM3S8962was used in this article, which was based on the ARM Cortex-M3architecture, and IAR5.11was selected as developing software and compilers, and uC/OS-II embedded operating system was chosen. On the basis of analysis of CAN-Bus and Ethernet interface technology, this article designed a CAN-Ethernet gateway in order to achieve seamless connection of CAN-Bus and Ethernet.This article focused on the following aspects for discussion:(1) Based on structure characteristics of LM3S8962, many kinds of peripheral chips required by gateway were selected in this paper to complete the design and manufacture of gateway hardware system;(2) On the basis of in depth study CAN-Bus working principle and Ethernet communication protocol. In this paper, uC/OS-Ⅱ system kernel was transplanted, CAN bus controller and Ethernet controller driver were compiled, and LwIP protocol stack was clipped and transplanted, to realize the protocol conversion by writing application-level tasks.(3) Finally, the CAN-Ethernet gateway working performance was tested in this paper to realize the exchange of communication data, and the desired purpose was achieved by experiments.

Table of contents

Abstract 5-6 Abstract 6-9 first chapter significance 9-13 1.1 research project 9 1.2 embedded system Overview 9-12 Features 1.2.1 embedded systems 9-11 1.2.2 embedded real-time operating system 11-12 1.2.3 embedded network communication technology 12 1.3 the main content of the research 12-13 Chapter II CAN bus communication technology and Ethernet communications technology 13-34 2.1 OSI network model 13-15 2.2 CAN bus communication technology 15-20 2.2.1 CAN bus Introduction 15-16 2.2.2 CAN bus communication protocol level 16-17 packet formats 2.2.3 CAN bus 17-20 2.3 Ethernet communications technology 20-33 2.3.1 Ethernet technology Overview 20-22 2.3.2 TCP / IP four-tier structure 22-23 2.3.3 Ethernet protocol and frame format 23-33 Summary hardware 33-34 Chapter gateway design the overall structure of 34-49 3.1 gateway hardware 34 3.2 LM3S8962 Profile 34-41 main characteristics 3.2.1 LM3S8962 of 34- 38 3.2.2 CAN controller and Ethernet controller 38-41 hardware system 3.3 gateway 41-48 3.3.1 power circuit 41-42 3.3.2 crystal oscillator circuit and reset circuit 42-43 3.3.3 CAN bus interface circuit 43-44 3.3.4 ether network interface and power supply circuit 44-45 3.3.5 RS232 interface circuit 45-46 3.3.6 JTAG interface circuit 46 3.3. 7 LED and buzzer circuit 46-47 3.3.8 SD card socket circuit 47-48 Summary 48-49 Article chapters gateway software design overall framework 49-64 4.1 software design 49 4.2 uC / OS-Ⅱ system migration 49-55 4.2.1 uC / OS-Ⅱ file structure 49-50 4.2.2 OS_CPU.H preparation 50-52 4.2.3 OS_CPU_C.C of write 52-53 4.2.4 OS_CPU_A.S preparation 53-55 4.3 CAN bus communication program design 55-58 4.4 Ethernet communication program design 58-63 Summary tests 63-64 Chapter V CAN-Ethernet gateway 64-74 5.1 hardware test platform 64-65 5.2 software test platform 65-69 5.2.1 software development environment 65-66 5.2.2 written application layer testing procedures 66-69 5.3 test results 69-73 Summary 73-74 conclusion 74 -75 references 75-77 the main function of the appendix written published 77-86 master's degree during the academic 86-87 Thanks 87

Related dissertations

  1. Design and Implementation of Multifunction Ethernet Nodes in Coal Mine
  2. The Study of the Theroy of Network Isolation and the Key Thechologies
    LiZhengMao ·Tongji University ·2006 ·Master's thesis
  3. Research and Accomplishment of CAN-BUS Connecting into Industry Ethernet
    LiKePeng ·Wuhan University ·2004 ·Master's thesis
  4. ARM Based on the CAN Bus and Ethernet Interconnect System Design
    HanDaiYun ·West China University ·2009 ·Master's thesis
  5. Design and Implementation of Remote Login Control System Based on Modem Technology
  6. Automation Measuring System for Water Supply Based on GPRS
    YanShiQiang ·Hebei University of Technology ·2013 ·Master's thesis
  7. Research and Design of High-power Temperature Control System Based on PROFIBUS
  8. Research on Online Programming System Based on CAN-bus
  9. The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology
  10. The Embedded Industrial Control Module Based on iCAN Protocol
    GouZuo ·Inner Mongolia University of Technology ·2013 ·Master's thesis
  11. The Design of CNC System for Automatic Gemstone Grinder
  12. The Design of Data Recorder for Special Vehicles Based on Ethernet
    HouZeXiong ·University of North ·2014 ·Master's thesis
  13. E1Ethernet Protocol Slot Auto-Negotiation Conversionthe Design and Implementation
  14. A Remote Network Monitoring System Based on Embedded Linux
    WuDi ·Central China Normal University ·2012 ·Master's thesis
  15. The Design and Realization of Interconversion System between Hdlc Data Link and TCP/IP Data Link
  16. Design and Implementation of Industrial Gateway Device Based on ARM
    ZuoXiaoJing ·Harbin Engineering University ·2013 ·Master's thesis
  17. Design of Equipment Sensors Intelligent Interface Adapter in Farm Machinery
  18. A Scheme Design for the Development of Cable Status Testing Device
    ZhaoQiChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Design and Exploit on Vehicle-mounted Monitoring Terminal of Electric Vehicle
  20. Study on Control System of Automobile Electric Door Lock on the Basis of the CAN Bus Technology