Research and Design of GPS Clock Synchronize Server Based on the Microcontroller S3C2440A
- Author
- MaShiQuan
- Advisor
- ChenJieChun
- School
- Tohoku Electric Power University
- Major
- Control Science and Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2014
- Downloads
- 11
- Citations
- 0
- time synchronization server
- Global Positioning System
- punctual-keeping
- Network Time Protocol
- precise time protocol
Abstract
As distributed measurement and control system were widely used inaerospace,scientific research and industry, the whole control network consiste ofdifferent measuring and controlling nodes distributed in different locations. Theconsistent time reference is needed if the action of every node is executed orderly inthe network. Only the well-proportioned and reproducible time reference can hopeto perform well in the application of precise time measurment. At present, theoptimal clock reference of human being is from electromagnetic wave whichradiated from atom when it flips between two energy states, which is named atomicclock. Due to the cost of construction and maintenance, atomic clock is only appliedin specific category. Recently, network time protocol and precise time protocol areput forward, which makes it posssible for the atomic clock time referenc to be usedwidely. As the core device, the GPS synchronization server is indispensable tobroadcast the atom clock time in network.Base on the theory of time synchronization and in accordance with theprinciple of low-cost and high-reliability, this thesis puts fowards a design for GPStime server. The design includes hardware and software. The hardware consists ofsatelite signal receiver, human machine interface, network communication interfaceand power system. With the human machine interface, the server can show itsworking state, and users can option and set function of the server. Through networkcommunication interface, clients could exchange datagrams with the server tosynchronize their inner clocks. In order to meet the needs of work, the server isequipped with special power system. The software comprises system software andinterface of user’s software. To improve the ability of real-time respose to theclient’s requset and the synchornization accuration, the thesis design the systemsoftware. On the hardware platform with system software, user can develop various function by implemnting the user’s process.In the design, the thesis uses timer of the microcontroller to generate local time.The data show that the demarcate method in the design is as accurate as one clockperiod of the timer.
Table of contents
Abstract 6-7
Abstract 7-12
Chapter 1 Introduction 12-20
research background and significance of 1.1 topics dynamic Research and development trends 12-13
1.2 synchronous clock source 13-14
1.3 clock synchronization when 14-15
1.4 GPS grant principle difficulty 15-18
1.5 GPS clock synchronization server implementation 18-19
1.6 the main contents of this article at 19-20
Chapter 2 Network grant principle 20-42
2.1 network timing principles outlined 20-21
2.2 NTP clock synchronization principle 21-32
2.2.1 NTP clock synchronization process 22-23
2.2.2 NTP packet frame format 23-30
2.2.3 NTP operation mode and network structure 30-32
2.3 PTP clock synchronization principle 32-41
2.3.1 PTP clock synchronization process 32-34
2.3.2 PTP clock model 34-37
2.3.3 PTP packet frame format 37-41
2.4 Summary 41-42
Chapter 3 GPS clock synchronization server hardware circuit design 42-61
3.1 overall hardware circuit design on 42-43
3.2 S3C2440A chip resource utilization 43-45
3.3 minimum system circuit design 45-47
3.4 GPS module interface circuit design 47-50
3.4.1 HOLUX M8729 GPS module 47-49
3.4.2 interface Circuit Design 49-50
3.5 Ethernet interface circuit design 50-55
3.5.1 CS8900A interface chip 50-52
3.5.2 interface Circuit Design 52- 55
3.6 man-machine interface circuit design 55-57
3.6.1 array keyboard design 55-56
3.6.2 LED display circuit design 56-57
3.7 system power supply design 57-60
3.7.1 Top-221 switch chip 57-58
3.7.2 switching power supply circuit design 58-60
3.8 Summary 60-61
Chapter 4 GPS clock synchronization server software design 61-83
4.1 software design 61-62
4.2 kernel programming 62-75
represents queue nbsp 4.2.1 incidents ; 62-64
4.2.2 system memory allocation and management 64-69
protection nbsp 4.2.3 critical resources ; 69-70
4.2.4 system call routine 70-71
4.2. 5 kernel scheduling and process 71-73
4.2.6 system boot program design 73-75
4.3 driver and application process design 75-81
4.3.1 UTC time decoding program design 75-76
4.3.2 keyboard driver design 76-77
4.3.3 display drivers and display refresh process design 77-78
4.3.4 Ethernet driver and communication process design 78-81
4.3.5 user process design 81
4.4 Summary 81-83
Chapter 5 punctuality design 83-88
5.1 overall framework 83-84
5.2 timer calibration method 84-85
5.3 time difference between measurement and calculation dynamic correction 85
5.4 local time 85
5.5 data and analysis 85- 87
5.6 Summary 87-88
Conclusion and Outlook 88-90
references 90-93
Appendix A 93-114
Appendix B 114-117
during the study published dissertations 117-118
Thanks 118
Related dissertations
- Design and Study of Time Synchronization in Substation Automation System According to IEC 61850 Standard
- Research and Design of Embedded Intelligent Bus Station Guideboard Control System
- Research on GPS/BD Positioning Solution Algorithms
- The Study of MSINS/GPS/Automobile Vehicle Sensors Integrated Vehicular Positioning System
- Research of Intelligent Vehicle Navigation System Integrated GPS/GIS/GPRS
- Research on Micro GPS/SINS Integrated Attitude Determination System Based on MEMS
- The Research on GPS/INS Integrated Navigating Position and Orientation System
- Research and Implementation of Key Technologies in Anti-Jamming GPS Receiver
- Visible Star Simulation in Complex Terrain Environment
- High-rate GPS Real-time Kinematic Positioning Research
- Research on High-precision Baseline Resolution Algorithm of GPS/COMPASS Combination
- Research and Implementation of Vehicle Operation Monitoring System
- Study of Cultural Relics Information Collection System Based on Mobile GIS
- Research and Development of Multi-Function Terminal Controller in Supervision System for Urban Public Traffic
- The Research and Implementation of NTP Time Server Based on W5100
- Logistics Vehicle Dispatching and Management System Design Based on ARM and GPS/GPRS/GIS
- The Design and Realization of the Operation Management System Based on GPS and GPRS
- The Design and Development of Time Service in Air Defence System Based on GPS
- Study on the diffusion of the navigation filtering and detection
- Design and implementation of the Chongqing Galaxy in vehicle navigation system based on GPS/DR