The Study of Interconnection between CAN Bus and Ethernet on Embedded Linux Platform
- Author
- HongXiWen
- Advisor
- WangQinRuo
- School
- Guangdong University of Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 70
- Citations
- 0
Abstract
The industrial development of the network with top urgent needs information network integration so as to realize the communication and information sharing, meet the management and control of integration. Therefore, to control the network and information network integration has become one of the hot issue. The CAN bus as "most promising field bus", have a high reliability, high performance and low price advantage, and, therefore, is widely used in all kinds of situations. But it is not so good for the limitation of the long distance of information. And although the performance CAN’t Ethernet like CAN bus that adapt to bad production field, but it has a high rate, communication software and hardware product rich characteristics, and CAN make use of the network for long communication.This paper discusses connection method between the CAN bus and Ethernet, using ARM9 S3C2410 as primarily controller, design the embedded gateway converter, realized in Linux environment CAN bus and Ethernet connection and communications.This paper firstly introduces the Ethernet technology and CAN and the research results at home and abroad, simple Ethernet and compared the CAN bus network connections between the characteristics of several kinds of methods. And then put forward the overall scheme of the system, with embedded Linux for software platform, ARM9 for the hardware platform. Embedded Linux because short development cycle, open source code, and CAN be based on the need for configuration, strong network function, CAN be applied to DuoZhong hardware platform characteristics CAN develop the high ratio of performance of Ethernet and fieldbus network CAN between the embedded gateway. And then the CAN bus agreement and Ethernet protocol analysis and introduce, including CAL, Canopen, TCP, UDP, the introduction of the agreement.Since then, on the system hardware design, adopting micro controller+Ethernet interface chip+CAN bus interface chip implemented Internet shut. The Lord controller chooses the S3C2410A semiconductor company Samsung ARM9, choose CS8900 as Ethernet controller, choose MCP2510 as CAN controller.Finally on the system software design, complete the Linux operating system in your target machine installation, download and transplantation, write down the drive of Linux CAN and applications, complete in the Linux operating system CAN-TCP/IP protocol conversion program design, realization CAN bus and Ethernet the two different network interconnection and communication.The interconnection system not only can be widely used in the industrial control area, realize the small industrial monitoring system network, also can realize intelligent instrument, intelligent park, environmental engineering, plant factory, industry refrigeration, and other aspects of the application.
Table of contents
Summary 4-5
ABSTRACT 5-7
directory 7-10
CONTENTS 10-13
first Chapter 1 Introduction 13-19
1.1 Introduction 13-15
1.1.1 Introduction to CAN bus technology 14-15
1.1.2 Ethernet Technical Overview 15
1.2 at home and abroad Overview 15-18
1.2.1 CAN bus overview 15-16
1.2.2 Ethernet Overview the 16-17
1.2.3 Ethernet and CAN interconnect technology overview the
the 1.3 research background and significance 17-18 18
1.4 This main topic and article structure 18-19
second system overall program 19-24
2.1 Embedded Systems 19-22
2.1 .1 embedded systems 20-22
2.2 system hardware architecture 22-23
2.3 system software architecture 23-24
Chapter CAN bus protocol 24-33
3.1 CAN bus introduced 24-25
3.2 CAL agreement 25-26
3.3 Canopen 26 -31
3.3.1 object dictionary OD 27-28
3.3.2 CANopen communication 28-30
3.3.3 CANopen identifier assigned 30
3.3.4 CANopen boot-up process 30-31
3.4 CAN main features 31-33
Chapter Ethernet protocol 33-41
4.1 Ethernet Features 33
4.2 TCP / IP protocol model nbsp 33-36
4.2.1 the OSI reference model; 34-35
4.2.2 TCP / IP protocol stack model the main agreement 35-36
4.3 TCP / IP protocol stack 36-41
4.3.1 ARP agreement 36-37
4.3.2 IP protocol 37-38
4.3.3 ICMP protocol 38
4.3.4 TCP protocol 38-39
4.3.5 UDP protocol 39-40
4.3.6 UDP protocol and TCP protocol contrast 40-41
Chapter system hardware to achieve 41-63
5.1 ARM9-based system master controller 41-54
5.1.1 ARM processor 42-44
5.1.2 NAND flash 44-49
5.1.3 SDRAM 49-51
5.1.4 This module circuit 51-54
5.2 serial debug circuitry 54-55
5.3 Ethernet control circuit the 55-58 5.4 CAN bus control circuit
58-61
5.5 power supply circuit 61-63
Chapter VI system software to achieve the 63-82
6.1 ARM under Linux systems transplantation 63-65
6.2 the CAN software module design 65-69
6.3 Ethernet software module design 69-78
6.4 protocol conversion 78-82
conclusion 82 - 83
1. text summarizes 82
2. outlook to References 82-83
83-86
degree published during papers 86-88
Acknowledgements 88
Related dissertations
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Design of Industrial Ethernet Motion Controller Based on ARM
- Movement Gait Control Research of Six Feet Bionic Robot
- The design and application of the system master control EtherCAT based on Industrial Ethernet
- Design and Realization of Multi-bus Gateway for Integrated Bridge System
- Design and Research of Cabin Monitoring System Based on CAN Bus
- Design of Mine Underground Personnel Positioning System Based on CAN Bus
- Design and Implementation of Multimodal Traffic Signal Controller
- Research and Implementation of CAN Bus and Ethernet Communication Based on ARM7Embedded System
- Design of Vehicle Data Recorder Based on the Dual Bus
- Countermeasure study fusion Oriental Cable Network
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- Design of Remote Control System Based on Ethernet