The Development of IEEE1588IP Core Based on FPGA

Author
QiMingZhu
Advisor
YangZhiQiang
School
Shandong University
Major
Circuits and Systems
Classification
TN47 LSI,ultra LSI
Degree
Master's thesis
Year
2012
Downloads
165
Citations
0

Request the full text

Abstract

With the development of smart grid, an increasing number of intelligent electronic devices put into use in the measurement, protection and control system. Especially the development and application of electronic transformers and intelligent switches make traditional substation toward digital substation rapidly. More and more intelligent pre-cision equipment promote higher requirement within the system time synchronization. IEEE1588defines a Precise Time Protocol (PTP), which is of potentially wide appli-cation in control and measurement networks.This thesis analyses the content of IEEE1588standard in detail, and researches on the scope of application, type of messages, type of clocks and principle of the syn-chronization. Stamping PTP messages accurately in physical layer taking advantage of hardware circuits to achieve the object of high precision is focused. What’s more, the protocol compares the time synchronization technologies of GPS, IRIG-B code and network method, which are widely used in substation nowadays. It also analyses the possible existence of errors.On the basis of the research of IEEE1588, a solution of time synchronization based on IEEE1588is designed, and hardware platform based the structure of "ARM+FPGA+MAC+PHY" is involved. The chip selection and design of circuit of CPU, network module and FPGA has been done, and "DM9000+LXT971A" has also been designed for Ethernet communication. Meanwhile this solution also designed an IP core of hardware timestamp unit, while finished the function of stamping the time of PTP messages’ arrival and departure, high-precision clock based the algorithm for compensation of crystal frequency, and the communication with CPU. This work has been simulated in ModelSim.This thesis has customized the circuit board for debugging, and it works well. The IP core with the protocol engine was tested, the precision of this system could achieve microseconds. This job laid a good foundation for the deep research, and provide a reference solution for the time synchronization of IEEE1588.

Table of contents

Chinese abstract 8-9 ABSTRACT 9-10 first chapter 10-14 1.1 digital substation development and time synchronization requirements 10 uncertainty nbsp 1.2 Ethernet ; 10-11 1.3 current research Status 1.3.1 foreign studies 11-12 11-12 1.3.2 domestic research status research content and structure of the paper 12 1.4 12-14 chapter IEEE1588 standard for synchronization algorithm 14-22 2.1 IEEE1588 standard basic structure 14-16 2.1.1 scope 14-15 2.1.2 PTP packet type 15-16 2.1.3 PTP clock type 16 2.2 IEEE1588 basic principle 16-18 2.3 timestamp marker location 18-19 2.4 time synchronization method is relatively 19-20 2.4.1 GPS 19-20 2.4.2 IRIG-B code 20 2.4.3 SNTP 20 2.5 IEEE1588 time synchronization error analysis 20-22 2.5.1 protocol stack and network asymmetry 21 2.5.2 crystal stability 21-22 Chapter III hardware platform to build and design 22-34 3.1 overall design of the system hardware 22 3.2 CPU processor design 22-25 3.2.1 chip options 23-24 3.2.2 CPU circuit design 24-25 3.3 network module design 25-29 3.3.1 MAC chip circuit design 26-27 3.3.2 PHY circuit design 27-29 3.4 FPGA design 29-32 3.4.1 chip selection 29-30 3.4.2 FPGA circuit design 30 -32 3.5 power supply circuit design 32-34 Chapter IV FPGA IP core design implementation and simulation 34-50 4.1 IP core overall design 34-35 4.2 MII monitoring module design 35-43 4.2.1 frame format 36-37 4.2.2 MII interface signals defined 37-39 4.2.3 MII transmit data mode 39 4.2.4 monitoring algorithm 39-42 4.2.5 simulation 42-43 4.3 clock module design 43-47 4.3.1 frequency compensation algorithm 43-44 4.3.2 clock to achieve 44 - 46 4.3.3 simulation 46-47 4.4 internal data concentrator 47-48 4.5 CPU bus controller 48-50 The fifth chapter test 50-54 5.1 networking solutions 50-51 5.2 synchronization packets test 51-52 5.3 systems running the test 52-54 Chapter VI Conclusion 54-55 Appendix 55-57 References 57-61 Thanks during 61-62 published academic papers and participate in the research study for a degree case 62-63 dissertation defense review and table 63

Related dissertations

  1. The Design of Digital Substation Synchronization System Based On FPGA
    ChenCheng ·Southwest Jiaotong University ·2013 ·Master's thesis
  2. Precision Time Synchronous System Based on IEC61850 in Digital Substation
  3. Analysis and Solution Scheme for Synchronization in Digital Substation
    ShiXianHao ·Shandong University ·2011 ·Master's thesis
  4. Design and implementation of FPGA clock board high end router equipment
  5. Research of Implimentation of Time Synchronization in10G EPON
    ZhangWenXing ·WRI ·2012 ·Master's thesis
  6. IEEE1588Protocol Time Server Precision Research
    TanMinDie ·Nanjing University ·2012 ·Master's thesis
  7. Research and Realization of Time Synchronization Protocol in Distributed Control Systems
  8. Research of Synchronization Module in Digital Substation
    LiuYang ·Tianjin University ·2012 ·Master's thesis
  9. Research on Network Clock Synchronization System Based on RT-Thread
  10. Research of Intelligent Merging Unit Based on IEEE1588Standard
  11. 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
  12. Practical Analysis of the Digital Substation Technology Based on IEC61850
  13. Studies and Design on Digit Al Substation and Its Process Bus
    ZhengZuoBai ·Hunan University ·2011 ·Master's thesis
  14. The Research and Hardware Development of Merging Unit in35KV Smart Substation
    ZhangZhenYang ·Tohoku Electric Power University ·2012 ·Master's thesis
  15. The Design and Implementation of IEEE1588Time Synchronization Protocol on Fault Location
    ZhangZuo ·East China Jiaotong University ·2012 ·Master's thesis
  16. Performance Study for Digital Protection Systems Based on IEC 61850 Process Bus Architecture
    YangLi ·Shandong University ·2010 ·Doctoral dissertation
  17. Application Research on the Technology of Clock Synchronization in Digital Substation Based on IEEE1588
    ZhangHongYuan ·Southwest Jiaotong University ·2010 ·Master's thesis
  18. The embedded networked distributed measurement and control instrument clock synchronization technology research and application
    ZhuZuo ·Jiangxi University of Technology ·2010 ·Master's thesis
  19. Research of Time Synchronization in ECT/EVT Based on IEEE1588
  20. Analysis and Implementation of Time Synchronization Based on IEEE1588 Protocol
    ChangXiaQin ·Nanjing University ·2011 ·Master's thesis