A Study on the Data-communication Between the CAN Bus and Ethernet Based on ARM
- Author
- LiHaoYang
- Advisor
- ZhuQiDan
- School
- Harbin Engineering University
- Major
- Control Theory and Control Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 169
- Citations
- 2
Abstract
With the development of the information and network technology,Embedded systems are increasingly and widely used.CAN bus has many superiority in it and has been developed to process control,robotics and other areas of intelligent control and sensor.more and more industrial equipment using CAN bus network to be a composed of distributed control system.at the same time with TCP/IP protocol based on Ethernet has a long-distance transmission,communications and other convenient features,is not only widely used in business but also entered the field of industrial control area. Based on CAN Bus and Ethernet, the extensive application of Ethernet fieldbus devices on the real-time control and information transfer has become a hotspot of current research.The study based on the theory of Ethernet network model and the CAN bus, the hardware platform with ARM7, software platform isμC/OS-II for the embedded operating system. after the hardware connection and software design, it makes effective real-time information conversion on the CAN bus protocol and the TCP/IP protocol, realize the interconnection of Ethernet and CAN bus,so that users of the site host computer Ethernet took a CAN-bus access and control nodes,realize the remote monitoring of the production site.In this paper, CAN bus and Ethernet protocol to do a more in-depth research, in-depth analysis of the TCP/IP protocol stack, according to the need for the hardware design, and the system board. With an embedded operating system,μC/OS-II as a platform, designed the TCP/IP-CAN protocol conversion service program, and ultimately of the CAN bus node information to the Ethernet host computer to send real-time information.During the TCP/IP-CAN protocol conversion system design process, on-site CAN bus and Ethernet protocol to do a more in-depth research, in-depth analysis of the TCP/IP protocol stack and on-site CAN bus protocol frame of the composition and transport mechanisms to high-speed ARM7 processor LPC2294 as the core, designed a set of ARM-based TCP/IP-CAN protocol conversion system in accordance with the need for the hardware design system board. In-depth analysis of theμC/OS-II operating system kernel operating system and its internal functional components, completed theμC/OS-II operating system on the target board of the transplant, and the preparation based onμC/OS-II operating system’s TCP/IP-CAN protocol conversion service program, and ultimately the scene CAN bus signal to the Ethernet data integration and transmission of intelligence.
Table of contents
Abstract 5-6
ABSTRACT 6-10
Chapter 1 Introduction 10-16
1.1 research background and significance 10
1.2 key technologies used by topic About 10-13
1.2.1 CAN field bus technology 10-11
1.2.2 industrial Ethernet technology 11-12
1.2.3 embedded operating system 12-13
1.3 CAN bus node information network and ethernet connectivity status 13-14
1.4 the main work 14-16
1.4.1 the main research content 14
1.4.2 this chapter arrangements 14-16
Chapter 2 overall system design 16-26
2.1 system hardware design 16-17
2.2 system software design 17-18 <br / > 2.3 system hardware chip select 18-20
2.4 system communication reference model 20-23
2.4.1 OSI reference model 20-22
2.4.2 TCP / IP reference model 22
2.4.3 field CAN bus communication model 22-23
2.5 embedded operating system of choice 23 - 25
2.5.1 several commonly used embedded operating systems 23-24
2.5.2 embedded μC / OS-II operating system features 24-25 <br / > 2.6 Chapter Summary 25-26
Chapter 3 system hardware design and implementation 26-39
3.1 CAN field bus network interface circuit 26-28
3.2 Ethernet interface circuit 28-30
3.3 TCP / IP-CAN protocol controller chip conversion circuit 30-33
3.4 system other auxiliary circuits 33-38
3.4.1 power circuit 33-36
3.4.2 clock circuit 36
3.4.3 power-on reset circuit 36 - 37
3.4.4 JTAG interface circuit 37-38
3.4.5 redundant network Port feature 38
3.5 Summary 38-39 < br /> Chapter 4 system Software design and Implementation 39-61
4.1 embedded TCP / IP protocol architecture 39-47
4.1.1 TCP / IP protocol stack structure 39-40
4.1.2 ARP protocol program 40-41
4.1.3 ICMP protocol program 41-43 < br /> 4.1.4 IP protocol program 43
4.1.5 TCP protocol program 43-45
4.1.6 data encapsulation 45 -47
4.2 CAN field bus messaging and data frames 47-48
4.3 TCP / IP-CAN protocol conversion software design 48-60
4.3 .1 ethernet Controller DM9000E driver function 49-52
4.3.2 CAN module TJA1050 driver function 52-54
4.3.3 TCP / IP-CAN protocol conversion realization 54-60
4.4 Summary 60-61
Chapter 5 System commissioning 61-70
5.1 μC / OS-II operating system migration 61-64
5.2 test environment described 64-65
5.3 TCP / IP-CAN protocol conversion communications test 65-69
5.4 Summary 69-70
Conclusion 70-71
References 71-74
master's degree papers and obtained during the research results 74-75
Thanks 75
Related dissertations
- Research and Realization of Coal Mine Embedded Data Collection Substation
- Study and Application of Serial Communication and Ethernet Protocol Based on ARM Processor
- Design of Wireless Sensor Network System Based on Multi-sensor
- Design of Smart Terminal for New Energy Micro Grid of Island
- A Large Parking Area Guidance System Based on STM32
- The Study on Remote Temperature Monitoring System Based on Internet
- Automatic Testing System on the Calorific Value of Fuel Gas Based on ARM
- The Design of Energy Collector System Based on AT91RM9200
- RTU Design of Irrigation Information Collection System
- Design and Realization of the Cortex-M3Based Peirpherals Control System in On-board Video Server
- Research of Fieldbus Multi-Protocol Conversion Gateway Based on PROFIBUS-DP Slave
- Design of Portable Flue Gas Analyzer Controller Based on ARM
- The Design of Chip Inductor Winding Machine Embedded Control System Based on ARM
- The Research on Protocol Converter between CAN-bus and Modbus
- Research and Implementation of Smart Valve Controller with High Cost Performance and Remote Network Control
- Analysis and Design of FlexRay-CAN Gateway Protocol in Automotive
- The Research and Design of Embedded Multi-network Protocol Converter
- The Design of Vehicle Digital Recorder Based onμC/OS-Ⅱ
- Design of communication gateway in embedded Linux Ethernet and CAN and MBUS two based on field bus
- Wireless Grain Situation Monitoring System Node Designing Based on ZigBee