Research of Redundant Clock Synchronization Server Based on the ARM
- Author
- LiuGuanYing
- Advisor
- YinZhiXiang
- School
- Anhui University of Science and Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP393.11 Ethernet
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 5
- Citations
- 0
Abstract
In this paper, a design of achieve the clock synchronization by using IEEE1588standard is proposed. The design can communicate with distributed control system via Ethernet. It can solve the problem of real-time not high in Ethernet. This pape make a comparison with conventional method and introduce the advantages of using IEEE1588protocol to achieve high accuracy. Designed a high-precision clock synchronization server system. This system can achieve100ns expectations.Fist,the paper describes the key technologies of the IEEE1588standard. Including data type,clock synchronization model,the PTP message type,clock synchronization mechanism and clock correction calculation method. Then,chosen freescale latest microprocessor K60based on the ARM Cortex-M4core as controller,combined with DP83640PHY chip to build the foundation of IEEE1588hardware. Choicing embedded real-time systems MQX introduced by freescale to manage the various tasks and allocation of resources. RTCS protocol stack provides the foundation for server network communication. The last,described in detail of the design of the system software,including GPS time information packets receive and parse,the synchronization process message send and receive function.Testing and summary the design at the end of the paper,first,using wireshark network packet capture tools crawl communication message,the correctness of the analysis of the synchronization process communication data,then analysis the master and slave clock synchronization accuracy.the results show that the clock synchronization error reached the sub-microsecond level. Pointing out the method of design deficiencies and improved method.
Table of contents
Abstract 5-6
Abstract 6-11
first chapter 11-15
1.1 Introduction 11
1.2 subject background 11-12
1.3 Research Status main content 12-14
1.4 papers 14-15
Introduction Chapter II IEEE1588 standard 15-31
2.1 PTP protocol Profile 15
2.2 PTP system data types 15-18
2.2.1 primitive data types 15-16
2.2.2 derived data type specification 16-18
2.3 clock synchronization model method 18-25
2.3.1 protocol implementation 18-19
2.3.2 PTP packet type 19-20
2.3.3 PTP device type 20-25
2.4 PTP clock synchronization mechanism 25-27
2.4.1 to establish a master-slave architecture of the network 25-27
correction method 2.4.2 clock 27
2.5 BMC algorithm 27-29
2.6 Chapter Summary 29-31
Chapter III of time synchronization server system hardware design 31-39
3.1 hardware solutions Introduction 31-32
3.2 hardware circuit design introduced 32-36
3.2.1 power circuit design 32-34
3.2.2 oscillator circuit design 34
3.2.3 reset circuit design 34-35
3.2.4 serial circuit design 35
3.2.5 network Interface circuit Design 35-36
circuit design 3.3 DP83640 is 36-38
3.3.1 DP83640 Description 36-37
3.3.2 DP83640 1588 supports the IEEE The key technology 37-38
3.4 Summary 38-39
Chapter MQX RTCS operating system and protocol stack transplant 39-47
4.1 MQX operating system profile 39-40
4.2 MQX operating system migration 40-43
4.2.1 MQX operating system installation 40-41
4.2.2 initialization MQX 41
4.2.3 task template list create 41-42
4.2.4 tasks 42-43
4.3 RTCS network protocol stack transplant 43-46
4.3.1 build RTCS 44
4.3.2 initialize device interface 44-45
4.3.3 create and use UDP sockets 45-46
4.4 Summary 46-47
chapter time synchronization server software design 47-61 <br / > Design and Implementation 5.1 system software for each module 47-51
5.1.1 decoding time information 47-49
5.1.2 GPS module introduces 49 -51
5.2 IEEE 1588 time synchronization program design 51-60
5.2.1 PTP standard message format 51-55
5.2.2 clock messages send function design 55-60
5.3 Chapter Summary 60-61
Chapter VI synchronization accuracy test 61-65
6.1 network packets the test 61-62
6.2 master clock and slave clock time value comparison 62-63
6.3 chapter Summary 63-65
summary and Looking 65-67
references 67-71
Appendix 71-81
Thanks 81-83
author Introduction and during graduate school principal research 83
Related dissertations
- Study on Clock Network Structure and Synchronization in Distributed Test System
- Implementation of Precise Clock Synchronization Technology Based on Embedded Ethernet
- The Research of Clock Synchronization Technology and Traffic Congestion Model on IEEE1588Network
- The Design and Implementation of a High Resolution Network Clock Synchronization System Based on PTP Protocol
- Research and Implementation of LXI Key Technologies-IEEE1588Protocol
- Research and Realization of IEEE1588v2Synchronization Technology
- Research and Implementation of Method for Clock Synchronization Control in Wireless Communication Testing Systems
- Based on the Ethernet Switch IEEE1588V2Research and Implementation of Clock Synchronization Protocol
- A Study and Application on High Definition Timing Transmission Protocol of Network
- Research of High-Precision Clock Synchronization in Automotive CAN Network
- Research and Implementation of Demodulation Technology of Telemetry Data
- Study in the Quantum Measurement of Frequency Entangled Photon Source
- Research and Realization of FPGA-Based Real-Time Motion Control Networks
- Tester’s Control Platform Design Based on Network
- Research on the Multi-axis Motion Control Systems Based on CAN Network
- Study on the modification methods of real-time Ethernet network train
- Research on Clock Synchronization Mechanism on Real-time Ethernet
- The Research of Time Measurement and Clock Synchronization Methods Based on Flexray
- The Research of Time Synchronization System Based on IEEE1588
- The Internet Clock Synchronization and Analysis of Stability of NTP Servers