Font Size: a A A

Design And Implementation Of IEEE 1588 Clock Synchronization System Based On ZYNQ-7000 SoC

Posted on:2021-07-21Degree:MasterType:Thesis
Country:ChinaCandidate:K WangFull Text:PDF
GTID:2518306569994909Subject:Microelectronics and Solid State Electronics
Abstract/Summary:PDF Full Text Request
Ethernet technology based on TCP/IP has inherent characteristics such as low maintenance cost,long distance transmission,high transmission rate and protocol universality.Ethernet technology is widely used in various fields,such as home intelligent terminal field,industrial Ethernet field,power system field and so on.More and more distributed systems are being adopted in various fields.The terminals of a distributed system need to work together on a unified time basis.The accuracy requirements of clock synchronization between devices are also constantly improved.Therefore,we need to find a low-cost and high-precision network clock synchronization technology.The Precise Time Protocol is known as PTP.The synchronization technology has high synchronization precision and is easy to implement,which can meet the needs of many scenarios.This dissertation analyzes the hardware and software schemes of clock synchronization system based on IEEE 1588.This dissertation mainly considers the three factors of high precision,portability and easy maintenance.Using ZYNQ-7000 series FPGA as the hardware design platform,this dissertation presents a clock synchronization scheme in which software and hardware work together.This dissertation designs a self-developed IP core.The IP core realizes the function of generation timestamp,so that special physical layer chips are no longer needed.The design of this dissertation has high portability.And added AXI-Lite bus interface,the hardware circuit can exchange data with the upper software.This dissertation needs to obtain Ethernet frames at PL for subsequent operation.It is not permitted to directly use RJ45 port provided by ZYNQ-7000,which is connected with PS(processing system).To build network communications links,a Gigabit Ethernet hardware circuit based on the Raspberry Pi interface is designed.In order to test the communication function between physical layer chip and PS,a test project is developed in this dissertation.After the hardware circuit is built,the Linux operating system is customized based on the hardware circuit.This dissertation is based on the Linux operating system to design the software and IP core device drivers.The application software implements several functions,such as the IEEE 1588 state machine,automatically negotiates the best master clock,calculates the clock deviation and more.This dissertation has high portability.This scheme can be run on any hardware device with programmable logic and CPU.In this dissertation,each circuit is simulated to verify whether the circuit meets the requirements.In this dissertation,the synchronization accuracy is tested from two aspects of function and application.The clock offset can be recorded by the upper computer.The clock offset reflects the synchronization accuracy well.The synchronization accuracy of this scheme reaches 800 ns.This dissertation analyzes the influence of various factors on the synchronization accuracy,such as the number of network nodes,the number of switch layers and so on.Finally,this dissertation evaluates the resource occupancy and power consumption of development board as well as the network transmission rate.
Keywords/Search Tags:IEEE 1588, PTP, Ethernet, high precision
PDF Full Text Request
Related items