Design of communication gateway in embedded Linux Ethernet and CAN and MBUS two based on field bus
- Author
- FangShaoQiang
- Advisor
- HeLeSheng , WangWeiLian
- School
- Yunnan University
- Major
- Signal and Information Processing
- Classification
- TP336 Bus channel
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 31
- Citations
- 0
Abstract
In the traditional data transmission and industrial automation control field, there are tens of thousands of data collection, communication and automatic control equipment are data communication, data exchange and data management which communicate through the Meter Bus or CAN. Although the Meter Bus and CAN has some inherent advantages, such as low power consumption, low cost, simple design, wide application. However, with the development of social needs, system stability, large flow, long distance, high speed, high integration, strong interaction and resource sharing have become inevitable, which result in that made the Meter Bus or CAN communication can not meet the demand of the society.At the same time, with the rapid development of TCP/IP network, Ethernet function which supports TCP/IP protocol has been greatly improved, and has extended to every corner of the society. Compared with the Meter bus communication and CAN communication, TCP/IP network is based on the complex environment design, with automatic correction function, stable communication quality.100M is currently the standard configuration of TCP/IP network and1000M is also in the rapid popularization. The rapid transmission speed can not be achieved by Meter Bus communication and CAN communication. Moreover, open TCP/IP network is very strong, as long as access to the Internet, communication distance can be extended indefinitely, so as to achieve the greatest degree of information and resource sharing.Based on this, this is the current domestic and international research main point on measurement and control technology which makes full use of the Meter Bus communication and CAN communication advantages and joins with open TCP/IP network. We call it the control technology for the network. The thesis based on the embedded Linux system, designs and implements the communication conversion between Meter Bus and TCP/IP and between CAN and TCP/IP network, which accomplishes the data communication of Meter Bus and CAN bus with the TCP/IP network.The system designed in this paper has strong practicability, good scalability, low price, which not only keeps the original Meter Bus, CAN communication and TCP/IP network advantages, but also achieves the union goals--maximum advantage, and provides methods and means for data transmission and good industrialization automation control related applications, and has a good application prospect and market value.
Table of contents
Summary 3-4
Abstract 4-8
first chapter 8-12
background and significance of 1.1 thesis the main thesis of 8-9
1.2 main contents and chapters 9-10
1.3 papers arrangement 10-12
Chapter II embedded LINUX kernel analysis and transplantation 12-23
2.1 LINUX kernel Profile 12-13
2.1.1 Linux kernel version 12
2.1.2 Linux 2.6 kernel characteristics 12-13
2.2 embedded LINUX system development environment to build 13-16
consisting of embedded Linux system 2.2.1 14
2.2 .2 embedded Linux development tool chain 14-16
2.3 embedded LINUX kernel configuration 16-18
configuration 2.3.1 Linux kernel supports 16-17
2.3.2 make menuconfig configuration 17-18
2.4 embedded LINUX kernel porting 18-23
2.4.1 embedded Linux kernel compilation 18-19
2.4.2 embedded Linux kernel porting 19-23
Chapter III hardware system design and implementation 23-29 <br / > 3.1 overall system hardware architecture 23
3.2 CAN module hardware design 23-24
3.3 MBUS module hardware design 24-26
3.4 S3C2440A minimum system related hardware circuit design 26-29
3.4.1 S3C2440A chip introduced 26
3.4.2 power circuit 26-27
3.4.3 reset circuit 27
3.4.4 clock circuit 27-29
embedded LINUX under Chapter IV SPI driver design 29-38 <br / > 4.1 introduces embedded LINUX device driver 29-34
4.1.1 embedded Linux driver classification 29-30
4.1.2 embedded Linux driver Development process structure 30-31
4.1.3 embedded Linux driver 31
loading 4.1.4 embedded Linux driver 31-34 <br / > 4.2 embedded LINUX next SPI driver design to achieve 34-38
4.2.1 file_operations structure 34-35
4.2.2 driver registration 35-36
4.2.3 work process embedded Linux driver under the SPI analysis 36-38
Chapter V software system design and implementation 38-49 <br / > 5.1 software requires a systematic analysis main function 38
5.2 software system 38-39
5.3 communication packet data conversion 39-40
5.3.1 TCP / IP packets and CAN bus converter 39-40
5.3.2 TCP / IP packets and MBUS bus conversion 40
5.4 software design program main modules 40-44
5.5 software design 44-49
5.5.1 CAN bus module 45
5.5.2 MBUS bus module 45
5.5.3 TCP / IP network module synchronization and mutual exclusion 45-47
5.5.4 interprocess 47-49 <br / > Testing and Implementation Chapter VI system preparation before the test 49-54
6.1 system 49-51
6.2 CAN bus with TCP / IP network communications test 51
6.3 MBUS bus communication test TCP / IP networks 51-52
6.4 overall system work test 52-54
Chapter VII summary and Outlook 54-56
7.1 summarizes 54
7.2 Prospects 54-56
Appendix 56-59
References 59-61
during school research 61-62
Thanks 62
Related dissertations
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research of Surface Roughness Network Data Collector System Based on ARM
- Research on Embedded Control System for Palletizing Robot
- Research and Design on Embedded Face Recognition Entrance Guard System
- The Design and Implementation of Embedded High Definition Video Monitoring System
- Embedded TCP streaming media playing system based on
- Research on Embedded Network Video Monitoring System Based on the ARM
- The Study of Intelligent Traffic Signal Based on Fuzzy Neural Network
- System of Video Surveillance on Slip-form Paver
- Design of the ECG Telemobitoring Terminal Based on Embedded Linux and GPRS
- Design and Research on Chinese Medicine Coating’s Monitoring System Based on ARM-LINUX
- The Research and Design of Embedded Video Surveillance for Baby Based on OpenCV
- ARM embedded video monitoring system based on compressed sensing
- Research of Protocol Conversion Module Based on CANopen-EtherNet/IP
- Research and Design of the Embedded Network Control System Based on ARM&Linux
- Research and Design of PAC Control System Based on Virtual Machine
- Research and Implementation of Controller for Data Acquisition Based on ARM&Linux
- Design of Embedded Remote Monitoring System for Intelligent Home
- Smart Home Control System Based on Embedded Technology
- Intelligent Household System Research Based on Embedded Technology