Research and Realization of Time Synchronization Protocol in Distributed Control Systems

Author
SunXiangXiang
Advisor
GeMing , KongYaGuang
School
Hangzhou University of Electronic Science and Technology
Major
Control Theory and Control Engineering
Classification
TN919.34 Synchronous
Degree
Master's thesis
Year
2014
Downloads
2
Citations
0

Request the full text

Abstract

With the development of the Ethernet, the technology used in the industrial field will beunstoppable, but the instantaneity among the every control station of DCS can’t be ensuredbecause the influence of medium’s delay and the protocol stack’s running, which greatlyblock it’s development in fields such as industrial automations and control、communication、measuring field and so on. These are the inherent problems of DCS itself, itis difficult to solve by their existing technology. If every node of DCS can realize the timesynchronization, the DCS will work more efficient, the IEEE1588protocol’s (precision timesynchronization protocol for network measurement and control system) emergence solve theproblem well. The IEEE1588standard defines a Precision Time Protocol (PTP) for real-timesynchronization, can achieve time synchronization as submicrosecond level for many nodes.This paper gave a deep introduction about the reason which lead the nodes such as everycontrol station and I/O template of DCS are out of synchronization, introduced thedevelopment and application situation of time synchronization technology, especially thetime synchronization technology which applied in network synchronization and comparethem,demonstrated the IEEE1588protocol has the highest accuracy now,is the best timesynchronization standard which suit the DCS. Then did detailed research and descriptionabout some key technology about IEEE1588protocol, including the PTP protocolspecification、formate of the PTP message、mechanism of time synchronization、modules oftime synchronization the best master clock algorithm and so on.This paper studied the method of using IEEE1588protocol to solve the timesynchronization among master device and slave devices in network, the accuracy ofgenerating the timestamps when send or receive the PTP messages directly influenced thesynchronization accuracy while using the protocol, which need hardware to assist to get thetimepackets in physical layer, we used the STM32F107VCT6produced bySTMicroelectronics as the assistant hardware, designed and build a hardware test platform forDCS’s time synchronization based on STM32F107VCT6,including the power module、serialport module、control module and Ethernet module,the all hardware boards were connected tocompose a synchronization network by Ethernet switch, analog a micro DCS, use theIEEE1588protocol to realize the accuracy time synchronization among all nodes.At last, this paper tested the time synchronization based on the hardware platform, the test was under different network situations(node to node and many nodes).The resultindicated that the time synchronization among the nodes can be accuracy about400nanoseconds, can meet the requirement of DCS’s time synchronization.

Table of contents

Abstract 5-6 ABSTRACT 6-11 Chapter 1 Introduction 11-18 1.1 Introduction 11 1.2 research background and significance of the topic 11-12 1.3 distributed Control System (DCS) Overview 12-14 1.3.1 distributed Control System 12-13 1.3.2 DCS site controller related technologies and research status papers 13-14 1.4 Introduction 14-16 1.4.1 industrial Control network and Ethernet 14-15 1.4.2 clock synchronization technology 15-16 1.4.3 best master clock algorithm (BMC) 16 Situation 1.4.4 research work and organizational forms 16 1.5 article 16-18 1.5.1 research contents and the main work 16- 17 organizational structure 1.5.2 herein 17-18 Chapter 2 clock synchronization scheme selection and research 18-27 2.1 distributed System clock synchronization basic requirements 18 compare nbsp 2.2 various synchronization methods ; 18-21 2.2.1 traditional network time synchronization technology 18 2.2.2 GPS clock synchronization 18-19 2.2.3 NTP clock synchronization 19-20 2.2.4 PTP clock synchronization 20-21 2.3 IEEE 1588 clock synchronization technology 21-26 2.3.1 PTP clock synchronization model 21-22 2.3.2 PTP packet type 22 2.3 .3 PTP clock synchronization process 22-24 2.3.4 precision clock synchronization mechanism 24-26 2.4 chapter Summary 26-27 Chapter 3 distributed System clock synchronization hardware platform to build 27-37 3.1 hardware platform overall design 27-28 3.2 processor selection 28-29 3.3 synchronous hardware board module introduces 29-35 3.3.1 control Module 29-30 3.3.2 LAN module 30-32 3.3.3 serial interface Module 32 3.3.4 power Module 32-33 3.3.5 JTAG module 33 3.3.6 master clock module 33-34 3.3.7 reset circuit 34-35 3.4 PCB circuit board design and interference analysis 35 3.4.1 power supply line design 35 3.4.2 ground design 35 3.4.3 decoupling capacitor configuration 35 3.5 PCB board design and physical map 35-36 3.6 Chapter Summary 36-37 Chapter 4 clock synchronization of distributed systems software design 37 -60 4.1 software development environment to select and establish 37-38 4.2 local clock architecture 38-41 4.2.1 PTP engine state machine 38-39 4.2.2 RTC real time clock module 39-40 4.2.3 IEEE1588 function module division 40-41 4.3 STM32F107VCT6 Ethernet configuration 41-47 4.3.1 Ethernet configuration 41-45 4.3.2 IEEE1588 module configuration 45-46 4.3.3 NIC driver design and Implementation 46-47 4.4 PTP information packets 47-49 4.4.1 Ethernet frame format works with 47-48 <br / > 4.4.2 PTP packets 48-49 4.5 clock synchronization packets receiving treatment achieve 49-54 4.5.1 PTP transmission control module 49 -50 4.5.2 PTP module receives control to achieve 50-51 4.5.3 master clock synchronization packet transmission process 51-52 4.5. 4 receiving messages from the clock synchronization process 52-54 4.6 best master clock algorithm 54-59 4.7 chapter Summary 59-60 <br / > Chapter 5 System testing and results analysis 60-65 5.1 clock synchronization network platform to build 60 5.2 -point clock synchronization test results and error analysis 60-61 5.3 multi-node clock synchronization test results and error analysis 61-63 5.4 summary 63-65 Chapter 6 summary and Outlook 65-67 6.1 summary 65 6.2 job prospects 65-67 Thanks 67-68 References 68-72 Appendix 72

Related dissertations

  1. Research of Implimentation of Time Synchronization in10G EPON
    ZhangWenXing ·WRI ·2012 ·Master's thesis
  2. IEEE1588Protocol Time Server Precision Research
    TanMinDie ·Nanjing University ·2012 ·Master's thesis
  3. Research on Multicpu Control Synchronization in Distributed Control System
    LiuZuo ·Changchun University of ·2012 ·Master's thesis
  4. Research on Network Clock Synchronization System Based on RT-Thread
  5. The Development of IEEE1588IP Core Based on FPGA
    QiMingZhu ·Shandong University ·2012 ·Master's thesis
  6. Research of Intelligent Merging Unit Based on IEEE1588Standard
  7. The Study of Distributed PMU System Based on IEEE1588Precision Time Protocol and Its Networking Synchronization Scheme
    GuoQing ·North China Electric Power University ·2012 ·Master's thesis
  8. The Design of Digital Substation Synchronization System Based On FPGA
    ChenCheng ·Southwest Jiaotong University ·2013 ·Master's thesis
  9. The Design and Implementation of IEEE1588Time Synchronization Protocol on Fault Location
    ZhangZuo ·East China Jiaotong University ·2012 ·Master's thesis
  10. The embedded networked distributed measurement and control instrument clock synchronization technology research and application
    ZhuZuo ·Jiangxi University of Technology ·2010 ·Master's thesis
  11. Precision Time Synchronous System Based on IEC61850 in Digital Substation
  12. Analysis and Implementation of Time Synchronization Based on IEEE1588 Protocol
    ChangXiaQin ·Nanjing University ·2011 ·Master's thesis
  13. Implementation of Time Synchronization Based on IEEE1588
    WuMinLiang ·Zhejiang University of Technology ·2010 ·Master's thesis
  14. The Research on Applications of IEEE1588 in Distributed Network Measurement and Control System
  15. Analysis and Solution Scheme for Synchronization in Digital Substation
    ShiXianHao ·Shandong University ·2011 ·Master's thesis
  16. Research and Implement of Networked Timing System Based on Ethernet
  17. Research on Development Strategy for Distributed Control System of Hollysys Company
  18. Application of Distributed Control System to the Power Plant
    WangLiMing ·Harbin Engineering University ·2009 ·Master's thesis
  19. Research on Optimization and Implementation of POWERLINK Time Synchronization Technology
    HeYuXiang ·Wuhan University of Technology ·2013 ·Master's thesis
  20. The Programing and Development of Automatic Control System for Alpha Gypsum Powder Production Line
    ZuoXingFei ·University of Jinan ·2013 ·Master's thesis