The development of I/O module based on EPA communication protocol
- Author
- ShenChao
- Advisor
- LiZhiJun
- School
- North China University of Technology
- Major
- Detection Technology and Automation
- Classification
- TP334.7 Interface devices,plug-in
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 25
- Citations
- 1
Abstract
With the development of computer network and communication technology, the advancement of industry field bus also needs a control system based on computer network. EPA is a communication standard which is drawn up on our country own, and it is based on Ethernet protocols. EPA has been applied in industry field. Data from industry field device should meet the EPA communication standard, that develops an I/O module that accords with EPA communication standard has a certain use value.This paper designs a I/O communication module based on EPA standard, its function is to convert data collected from field devices by serial port to network port data accords with EPA protocols, so that the EPA software of host can monitor and manage field devices real time. The systemThis paper designs and realizes an I/O communication card bases on EPA standard, and its function is to convert data from serial port to net export data which conforms to EPA standard, and realizing this can make upper monitor software monitor and control field devices easily. The system uses the Samsung’s S3C2440as hardware platform, designs relative hardware circuits and implements drivers. Because the μC/OS-II operating system takes up only a little RAM resources, has a good real-time, so it meets the needs of the embedded system, this paper use μC/OS-II as rock-bottom system. LwIP is a kind of implementation of the TCP/IP protocols and the amount of its code is not so much, it takes up only a little RAM, so the system takes LwIP to realize the system’s network function.On base of realizing transplanting operating system and network protocols, this paper discusses the implementations of EPA communication scheduling, EPA sockets mapping entities, EPA system management entity and network time synchronism. At last, this paper implements the I/O module based on EPA standard, and describes the converting processes and detailed designs.By testing the converting function of the I/O card, this paper realizes desired functions, achieves the presumptive results.
Table of contents
Summary 4-5
Abstract 5-8
1 Introduction 8-11
1.1 subject background 8
1.2 Situation on Industrial fieldbus contents 8-9
1.3 research , the purpose and significance of 9-10
1.4 in this paper the structure and content of the arrangements 10-11
2 overall system design overall 11-13
2.1 system Overview 11
2.2 S3C2440 processor 11
2.3 embedded operating system and network protocol stack 11-12
2.4 EPA protocol stack module 12
2.5 serial to Ethernet port module 12
2.6 Summary 12-13
3 system hardware design and the main drive to achieve 13-19
3.1 system hardware configuration 13
3.2 S3C2440 processor introduced 13
3.3 network adapter hardware and driver circuit design 13-17
3.3.1 NIC hardware circuit design 13-15
3.3.2 NIC driver design 15-17
3.4 serial communication circuit and drive design 17-18
3.5 Summary 18-19
4 embedded operating system and network protocol stack transplant 19-31
4.1 embedded operating system 19-23
4.1.1 μ C/OS- Ⅱ Introduction 19
4.1. 2 task Manager μ C/OS- Ⅱ of 19-22
4.1.3 μC/OS- Ⅱ memory management 22-23
4.2 MC/OS- Ⅱ of transplant 23-25 ??
4.3 embedded network protocol stack LwIP 25-29
4.3.1 LwIP packet processing 26
4.3.2 IP packet processing 26-27
4.3.3 UDP packet processing 27-28
4.3.4 TCP packet processing 28-29 <br / > 4.4 LwIP transplant 29-30
4.5 Summary 30-31
5 EPA protocol stack and network time synchronization 31-42
5.1 EPA protocol stack Overview 31-32
5.2 EPA communication scheduling 32-34
5.3 EPA socket mapping entity 34-35
5.4 EPA system management entity 35-36
5.5 EPA network time synchronization 36-41
5.5.1 network time synchronization technology background 36
5.5. 2 PTP time synchronization principle achieve 36-38
5.5.3 PTP protocol 38-41
5.6 Summary 41-42
6 serial data transfer network interface data module design 42-48
6.1 serial communication protocol 42-43
6.2 port serial data transfer network data to achieve 43-47
6.3 Summary 47-48
7 Conclusion 48-49
References 49-51
degree during the application of research results and published academic papers 51-52
Thanks 52
Related dissertations
- Effects of the Multi-National Corporation to China embedded industrial agglomeration
- The Remote Wireless Control System Based on ARM Processor
- The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
- Engine Room Monitoring System Based on the Embedded Web Server
- Rearch on Intelligent Monitoring Technology That Access to Internet
- Design of Indoor Environmental Quality Monitoring System Based on ARM
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32
- Design and Implementation of Intelligent Network Dome Based on DaVinci Technology
- 3G Agricultural Experiment Station of intelligent design and development of remote monitoring system based on
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Design and Realization of Farm Machinery Working State Real Time Wireless Monitoring System
- Design of Farmland Environment Remote Monitoring System Based on ZigBee Network
- Design and Implementation of Video Capture System Based on Embedded Technology
- Research of Surface Roughness Network Data Collector System Based on ARM
- The Design and Implementation of Gateway and Client of Embedded Smart Home System
- The Embedded Industrial Control Module Based on iCAN Protocol
- Design of Industrial Controller Based on EPA
- Reaearch on Modeling and Optimization Strategy in Industry Multi-service Real-time Networks
- A Design of Embedded Motion Controller for4-axis Industrial Robot