Research of Key Techniques for Industrial Protocol Conversion Gateway
- Author
- LiuTao
- Advisor
- WangXiaoLiang
- School
- Dalian University of Technology
- Major
- Detection Technology and Automation
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 257
- Citations
- 2
Abstract
The development of computer and network technology brings the profound technique evolution in the field of control. Networking and opening will become the main trend of construction of control system. Ethernet for industry as a new, uniform and fast developing standard, has been used widely in resource manage layer, executing layer and manufacture layer of industry corporation integrative automatization. And it also trends to extend to the area of industry fieldwork control. The field-bus’ actuality of multi-standard coexisting causes problems of the compatibility of product devices. It is also one of the problems that people must deal with immediately. So, Ethernet for industry fieldwork control will become a hotspot of the industry control.The standard of Ethernet for industry has not been established .The existing fieldbus standards will still lead the market. Embedded gateway is the key point in the integration of fieldbus and Ethernet.This paper discusses designing and realization of an embedded industry protocol convert gateway based on Linux. It can carry out the conversion among Modbus/TCP protocol, Modbus protocol and CAN protocol.Firstly, the paper introduces actuality of field-bus’s and Ethernet’s. It also tells something about founding criterion of Ethernet for industry in the world.Secondly, the paper introduces a protocol conversion gateway model and the overall design of system architecture. In the next three chapters, the hardware and software implementation of the gateway is introduced, including some circuit design, detail hardware drivers design, related protocol used in the paper, protocol models design, embedded WEB server design , system configuration and process upgrades online. In chapter seven, dual fault-tolerance technology is discussed, for the reliability.In the end, the paper summarizes the subject, pointing out that the follow-up work need to be enhanced and improved.
Table of contents
Abstract 4-5
Abstract 5-9
1 Introduction 9-13
1.1 topics background 9-10 <br / > 1.1.1 fieldbus standard status 9-10
1.1.2 industrial Ethernet technology development 10
1.2 research status at home and abroad 10-11
1.3 issues of meaning and purpose 11-12
1.4 thesis structure and content of the work arrangements 12-13
2 protocol conversion gateway overall design 13-16
2.1 protocol conversion gateway model 13-14
2.2 overall system architecture 14-15
2.3 design ideas 15-16 < br /> 3 protocol conversion gateway hardware design 16-26
3.1 CPU selection 17-19
3.1.1 AT91SAM9260 features 18-19
3.1.2 ARM926EJ-S processor 19
3.2 parts of a system features 19-26
3.2.1 power circuit 19-21 <br / > 3.2.2 crystal oscillator circuit 21-22
3.2.3 BOOTROM circuit 22
3.2.4 FLASH memory interface circuitry 22-23
3.2.5 SDRAM interface circuit 23-24
3.2.6 RS232 interface circuit 24
3.2.7 CAN interface circuit 24-25
3.2 .8 ethernet interface circuit 25-26
4 protocol gateway embedded Linux platform to achieve 26-34
4.1 embedded cross -compiler environment to build 27
4.2 embedded Linux kernel configuration and compilation 27-28
4.3 embedded Linux application development 28-30
4.3.1 development approach introduced 28-29
4.3.2 NFS and TFTP configuration 29-30
4.4 bootloader 30-31
4.5 file system and production 31-32
4.6 kernel and file system programmer 32-34
4.6.1 production and programming kernel zlmage 32
4.6.2 Create and burn write file system ramdisk.image.gz 32-33
4.6.3 JFFS2 file system of production and programming 33-34
5 protocol conversion gateway software design 34-67
5.1 overall framework for software design 34-36
5.2 Linux device Drivers About 36-38
5.2.1 classification of device drivers 37
5.2.2 driver implements the method and the main module 37-38
5.3 CAN bus driver design 38-41
5.3. a driver initialization function module 38-39
5.3.2 CAN bus reader realize 39-41
5.3.3 uninstall driver function module 41 <br / > 5.4 ethernet and field bus protocol module implementation 41-56
5.4.1 Modbus protocol Introduction 41-44
5.4.2 main Flow 44-45
5.4.3 Modbus master program flow 45-48
5.4.4 Modbus slave module 48-50
5.4.5 Modbus / TCP server module 50-51
5.4.6 CAN-bus overview 51-55
5.4.7 CAN custom communication protocol 55-56 <br / > 5.5 embedded WEB server implementation 56-67
5.5.1 embedded Web Server transplantation 57-59
5.5.2 CGIC library transplant 59 -60
5.5.3 HTML template production 60
5.5.4 CGI program development 60-61
5.5.5 the system design and implementation of WEB server 61-67
6 system debugging and running 67-68
7 double-base based on non- fault-tolerant disk array technology research protocol gateway 68-75 <br / > 7.1 fault-tolerant technology 68-71
7.1.1 shared disk array fault tolerance system 68-69
7.1.2 shared- disk fault-tolerant systems 69
7.1.3 shared- disk fault tolerance techniques on the network processing analysis and improvement 69-71
7.2 system implementation 71-75
7.2.1 hardware Design 71-72
7.2.2 software design 72
7.2.3 heartbeat protocol and data redundancy 72-73
7.2.4 standby machine acknowledgment mechanism 73
7.2.5 modify the network protocol stack 73-74
7.2.6 fault indication and transmission 74 <br / > 7.2.7 Summary 74-75
Conclusion 75-76
References 76-78
case papers published during the master's degree 78-79
Thanks 79-81
Related dissertations
- Research of Fieldbus Multi-Protocol Conversion Gateway Based on PROFIBUS-DP Slave
- Research and Design of High-power Temperature Control System Based on PROFIBUS
- Design of Industrial Ethernet Motion Controller Based on ARM
- E1Ethernet Protocol Slot Auto-Negotiation Conversionthe Design and Implementation
- The design and application of the system master control EtherCAT based on Industrial Ethernet
- Research of Protocol Conversion Module Based on DeviceNet-Modbus
- The Study on Communication of Distributed PLC Network Gateway
- Design of CAN Intelligent Controller Based on Linux
- Research and Implementation of CAN Bus and Ethernet Communication Based on ARM7Embedded System
- Foundational Research on Open Architecture CNC Systems Based on Real-Time Ehternet
- Study on CNC Fieldbus Technology Based on Ethernet
- The Design and Implement of the Process Control System Intergration Scheme Based on PLC and DCS
- Research and Development of Manufacturing Execution System for Manufacture Process of Bearing
- Research and Application of Integration of Fieldbus and DCS Network
- Study and Realization of CAN-Ethernet Gateway Based on ARM7
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- 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
- Research and Design of Intelligent Video Surveillance System Based on ARM