The Design of CAN/Ethernet Gateway Based on Embedded Linux

Author
HanLiNa
Advisor
ChenZaiPing
School
Tianjin University of Technology
Major
Control Theory and Control Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2008
Downloads
213
Citations
0

Request the full text

Abstract

Internet is linking the world of office systems and communications systems, which provides remote access to the site information may; fieldbus field devices connected to the Internet. Ethernet (Ethernet) is the most widely used LAN technology, and very easy to integrate the information network to the Internet as the representative. Fieldbus and Ethernet combined to constitute the two layers of the industrial network control system, has become popular at home and abroad of industrial control mode. Embedded technology is a computer architecture, computer software and other electronic technology. With the development of information and network technology, embedded system penetrated into various fields, and a wide range of applications. Embedded Linux because the free, open-source as well as a powerful network functions has been more and more attention. Bus as an excellent fieldbus CAN (Control Area Net), the promotion and use of a large area in our country. Therefore, this article explores the interconnection CAN bus protocol and Ethernet protocols. Based on research needs, 32-bit ARM7 series LPC2292 microprocessor as the core, the design of the overall structure of the CAN / Ethernet gateway system, set up a development environment for embedded Linux technology. The main content of the work are as follows: select the appropriate hardware and software development environment, complete embedded uClinux operating system, hardware platform portability; design based on the ARM7 the CAN bus node, write embedded uClinux operating system the underlying CAN bus controller hardware driver program; Ethernet communication between the PC and ARM7 processor; carried out two bus protocol analysis of data exchange; Finally, the experimental test design with the gateway embedded webserver. In this paper, the design and development of CAN / Ethernet gateway after the experimental test results show that with good ease of use, stability, the full realization of the CAN bus network messaging via Ethernet; and embedded uClinux operating the transplant system, the completion of a complex protocol conversion gateway provides a real-time kernel to achieve real-time access to host CAN node LAN. Gateway application for fieldbus and Ethernet combined with a good idea to find the best combination for the continued development of the fieldbus and Ethernet to an extension of the underlying industrial equipment.

Table of contents

Abstract 5-6 Abstract 6-10 The first chapter 10-16 1.1 The purpose of this research and the significance 10-11 1.2 Embedded LINUX technology features 11-13 1.3 research situation analysis 13-14 1.4 The main research contents 14 1.5 Chapter Summary 14-16 Chapter gateway protocol description and analysis 16-19 2.1 CAN bus protocol Introduction 16-17 2.2 ETHERNET protocols Profile 17-18 2.3 Chapter Summary 18-19 Chapter embedded LINUX operating system - UCLINUX 19-24 3.1 UCLINUX LINUX kernel kernel and traditional comparative 19-20 3.2 UCLINUX become embedded operating system superiority 20 3.3 UCLINUX operating system analysis 20-23 3.3.1 uClinux kernel source file structure and function 20-21 3.3.2 uClinux miniaturization methods used 21-22 3.3.3 uClinux development environment 22-23 3.4 Chapter Summary 23-24 UCLINUX Chapter embedded operating system platform on ARM7-LPC2292 transplant 24-32 4.1 cross-compiler development environment for the establishment 24-25 4.2 对 UCLINUX source modification 25-27 4.3 UCLINUX kernel and user processes to configure and compile 27-28 4.4 UCLINUX transplant in the target board 28-31 4.4.1 Boot Loader startup programs established 28-29 4.4.2 make uClinux root file system 29 4.4.3 transplant uClinux kernel related documents 29-31 4.5 Chapter Summary 31-32 Chapter UCLINUX environment CAN bus controller driver design 32-46 5.1 device driver modular programming fundamentals 32-33 5.2 driver free 33 5.3 CAN controller driver needed development environment 33-35 5.4 UCLINUX CAN bus device driver overall framework 35-36 5.5 CAN controller driver modular programming design 36-44 5.5.1 driver registration and cancellation 36-37 5.5.2 CAN controller driver with the file system relationships 37-39 5.5.3 device to open and release 39-42 5.5.4 devices read and write operations specific implementation 42-44 5.6 driver is loaded and used 44 5.7 Chapter Summary 44-46 Chapter embedded gateway system design 46-55 6.1 hardware system design 46-50 6.1.1 Gateway core processor LPC2292 46-47 6.1.2 Gateway core processor peripherals 47-48 6.1.3 gateway system architecture design 48-50 6.2 software design 50-53 6.2.1 Gateway works 50-52 6.2.2 Gateway modular design concept and the main flow 52-53 6.3 Set up the NFS server application development and debugging 53 6.4 Chapter Summary 53-55 Chapter gateway system application testing 55-62 7.1 CAN interface ZLGCANTEST test 55-56 7.2 Ethernet interface for embedded WEBSERVER test 56-61 7.2.1 server-side embedded webserver design 56-57 7.2.2 client and the webserver dynamic interaction ---- CGI interface design 57-58 7.2.3 Analysis of test results 58-61 7.3 Chapter Summary 61-62 Chapter Summary and Outlook 62-63 8.1 paper summarizes 62 8.2 Job Outlook 62-63 References 63-65 published papers and scientific information note 65-66 Thanks 66-67

Related dissertations

  1. Design and Application of the Distributed Monitoring System Based on Embedded Web
  2. Communication of DC Micro_Grid and It's Energy Management System
    ShenChuZuo ·Yangzhou University ·2013 ·Master's thesis
  3. Design and Realization of Multi-bus Gateway for Integrated Bridge System
    RenKangJian ·Harbin Engineering University ·2013 ·Master's thesis
  4. Design and Research of Cabin Monitoring System Based on CAN Bus
    HuangChengWei ·Wuhan University of Technology ·2013 ·Master's thesis
  5. The Study of WTB and Ethernet Gateway and Its Inauguration Module's Implementations
    ShiYongShuai ·East China Jiaotong University ·2013 ·Master's thesis
  6. Design of Mine Underground Personnel Positioning System Based on CAN Bus
  7. Design and Implementation of Multimodal Traffic Signal Controller
    XuZuoLong ·South China University of Technology ·2012 ·Master's thesis
  8. Intelligent Home Control System Based on the CAN Bus
    ZhuXiaoLi ·Hefei University of Technology ·2012 ·Master's thesis
  9. Research and Implementation of CAN Bus and Ethernet Communication Based on ARM7Embedded System
    HuangBing ·Anhui University ·2012 ·Master's thesis
  10. Design of Vehicle Data Recorder Based on the Dual Bus
    LinGuoZheng ·University of North ·2012 ·Master's thesis
  11. The Design and Realization of CAN Buses and Ethernet’s Gateway Based on FPGA
    YinJie ·Wuhan University of Technology ·2012 ·Master's thesis
  12. The Design of Wireless Sensor Network Gateway for Agricultural Monitoring
    LiuWanLu ·Dalian University of Technology ·2012 ·Master's thesis
  13. Design of Embedded Gateway Base on Heterogeneous Multi-protocol
    ZhengDongYue ·Beijing University of Technology ·2013 ·Master's thesis
  14. Design and implementation of Ethernet /MVB gateway based on Embedded System
  15. The Embedded Serial-Ethernet Server Design
    FanZuo ·Beijing Jiaotong University ·2008 ·Master's thesis
  16. Based on Embedded Ethernet and CAN bus Gateway Design
    SunBai ·Dalian Maritime University ·2008 ·Master's thesis
  17. Research and Development of Embedded Serial Device Server in the DNC System
  18. Study and Realization of CAN-Ethernet Gateway Based on ARM7
  19. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  20. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller