The Research and Implementation of Embedded Network Node Based on IEEE1588 Protocol
- Author
- ZhangYaChao
- Advisor
- LiDi
- School
- South China University of Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 278
- Citations
- 4
Abstract
With the development of Ethernet technology, Ethernet has entered into industrial control application. However, as media access control protocol CSMA/CD exists unforeseen delay characteristics, it is difficult to guarantee the real-time characteristics for Ethernet. This has brought difficulties in the application of Ethernet for industrial control especially in field device level. IEEE1588 Precision Time Protocol is proposed to solve this problem effectively. It executes clock correction for the nodes in the network through a periodic synchronization signal and make distributed control system based on Ethernet to achieve accurate clock synchronization to obtain real-time behavior in a certain extend.IEEE1588 synchronizes messages via UDP/IP protocol for transmission. The accuracy of the timestamp when synchronization messages are sent and received will directly affect the synchronization accuracy. Pure software clock synchronization strategy can get accuracy in microseconds, which can meet the requirement of the majority of the industrial control field. However, this synchronization accuracy is not sufficient for some time critical applications such as motion control etc. To further improve the synchronization accuracy to sub-microsecond or even nanosecond, it must be hardware assisted and stamp the time as closely as possible near the location of the physical transmission medium. This paper aims to establish an embedded network node that supports IEEE1588 protocol and timestamps the synchronization messages through hardware.This paper has studied the implementation scheme based on DP83640 PHYTER, and established a node with hardware composed of ARM9, AX88780 and DP83640. ARM9 adopts Samsung’s microcontroller S3C2440, and is responsible for running the operating system and the PTP protocol stack. AX88780 is Asix’s Fast Ethernet controller and is responsible for sending and receiving clock synchronization messages. DP83640 is National Semiconductor’s high precision Ethernet transceiver and is responsible for timestamping synchronization messages in physical layer. This scheme can achieve high precision clock synchronization between embedded network nodes, and avoid the time uncertainty of Ethernet.This paper has realized the software design based on real-time operating system Windows CE, including system kernel customization, NIC driver development and clock synchronization verification between two nodes. The experiment indicated that the clock offset between master and slave nodes is within the range of±10 nanoseconds, which can meet the requirements of distributed control system.
Table of contents
Abstract 6-7
ABSTRACT 7-12
first chapter 12-22
1.1 Background 12-18 < br /> 1.1.1 ethernet in industrial control applications 12-15
1.1.2 clock Synchronization technology Overview 15-18
1.2 IEEE1588 protocol study abroad and development status 18
1.3 research objectives and main content 18-22
1.3.1 thesis research purposes 18-19
1.3.2 papers main contents 19-22
Chapter IEEE1588 Precision Time Protocol Overview 22-34
2.1 IEEE1588 protocol network structure 22-25
2.1.1 PTP system network node 22-24
2.1.2 master-slave structure established 24-25
2.2 ordinary clock model and state management 25 - 29
2.2.1 common Clock model 25-27
2.2.2 engine state machine 27-29
2.3 IEEE1588 clock synchronization principle 29 - 32
2.4 PTP timestamps implementation 32-33
2.5 Chapter Summary 33-34
Chapter network node hardware design and implementation 34-48
3.1 hardware system framework 34-35
3.2 core board selection 35-36
3.3 MAC chip selection 36-40
3.3.1 AX88780 chip Introduction 37-38
3.3.2 system Address mapping 38-40
3.4 PHY chip selection 40-43
3.4.1 DP83640 chip Introduction 40
3.4.2 DP83640 hardware support for IEEE1588 protocol 40-43
3.5 backplane ethernet interface circuit design and production 43-47
3.6 Summary 47-48
Chapter network node software design and implementation 48-70
4.1 software system framework 48
4.2 Windows CE operating system customization and transplantation 48-53
4.2.1 Windows CE operating system migration process 49-50
4.2.2 BIB configuration files 50-52
4.2.3 interrupt processing and analysis 52-53
4.3 AX88780 NIC driver design and implementation 53-68 <br / > 4.3.1 NDIS Profile 53-56
4.3.2 miniport driver framework 56
4.3.3 NIC management module 56-61 <br / > 4.3.4 interrupt processing module 61-63
4.3.5 reception and transmission module 63-68
4.3.6 information Management module 68 <br / > 4.4 Chapter Summary 68-70
Chapter network node synchronization performance test 70-95
5.1 AX88780 NIC driver test 70-75 <br / > 5.1.1 UDP-based test program development 70-74
5.1.2 NIC driver test results 74-75
5.2 DP83640 time stamp test 75-84
5.2.1 PTP packet format is defined 75-80
5.2.2 DP83640 configuration 80-82
5.2.3 time Stamp test results 82-84
5.3 IEEE1588 protocol based on a two-node synchronization accuracy test 84-94
5.3.1 synchronization testing program 84-85 <br / > 5.3.2 synchronization test results 85-94
5.4 Summary 94-95
Summary and Outlook 95-96
References 96-100
master's degree research results achieved during the 100-101
Thanks 101
Related dissertations
- Research and Implementation of LXI Key Technologies-IEEE1588Protocol
- A Hardware Design of IEEE1588 Precision Clock Synchronization Protocol
- Research and Implement of Networked Timing System Based on Ethernet
- Development of LXI Universal Board Based on TMS320DM642
- Implementation of Precise Clock Synchronization Technology Based on Embedded Ethernet
- The Research of Clock Synchronization Technology and Traffic Congestion Model on IEEE1588Network
- Software Design and Implementation of the Precision Time Protocol
- IEEE1588Protocol Time Server Precision Research
- Research of Synchronization Module in Digital Substation
- A Solution on Precision Master Clock Server
- Analysis and Implementation of IEEE1588Protocol Based on Embedded Linux
- Research and Implementation of the Precise Clock Synchronization Protocol in LXI Devices
- Research and Implementation of TTE Synchronization Technology
- Research on Network Clock Synchronization System Based on RT-Thread
- Research on the real time transmission of multi-channel audio based on IP
- FPGA-based Research and Implementation of Precision Clock Synchronization Protocol for LXI Devices
- Hardware Research of Phasor Measurement Unit Based on IEEE1588
- The Study of Distributed PMU System Based on IEEE1588Precision Time Protocol and Its Networking Synchronization Scheme
- Research on Clock Synchronization Network in Power System Based on GPS and IEEE1588
- Research on the Implementation of Clock Synchronization Technology in Micro-grid