Font Size: a A A

Implementation Of PTP Application Interface Of Portable Measurement And Control Equipment

Posted on:2021-04-11Degree:MasterType:Thesis
Country:ChinaCandidate:J HuangFull Text:PDF
GTID:2392330611498095Subject:Instrumentation engineering
Abstract/Summary:PDF Full Text Request
Modern measurement and control technology is an important component of modern information technology.With the continuous development and promotion of science and technology,the update rate of network and information technology is accelerating.Modern measurement and control technology is also moving towards networked,integrated and intelligent In the direction of development,the measurement and control system has become increasingly complex and huge.If you want to complete multi-device cooperative work in a large-scale system with complex structure and many units,you must strictly control the timing of the actions of each device unit.The IEEE 1588 protocol is proposed to solve the clock synchronization problem of the distributed measurement and control system.Because its synchronization method is based on Ethernet,it has strong universality and versatility.However,when the IEEE 1588 protocol was proposed,the protocol only stipulated the basic algorithm of clock synchronization and the definition of message types.It did not provide a specific method for achieving precise time synchronization,nor did it mention its application method and interface.Based on this background,this subject aims to propose an IEEE 1588 solution with high versatility and strong portability.At the same time,a standard and easy-to-use PTP interface is designed for users to use directly,and in the self-developed portable measurement and control console in the institute.Perform verification and testing.This topic firstly analyzes the IEEE 1588 protocol,divides its functions and analyzes the sources of error impact under the protocol,and proposes a method for implementing the IEEE 1588 protocol that combines software and hardware.Through the external PHY network card and the time-stamping scheme at the data link layer,the time-stamp accuracy is greatly improved.At the same time,the real-time clock function and the time-stamp function are implemented by designing the IEEE 1588 IP core on the FPGA to obtain a high-precision tunable clock and implement the hardware time-stamp marking function.At the same time,a functional IP core with a frequency-adjustable pulse interface and a time-base trigger interface is designed at the FPGA layer.It works in tandem with the IEEE1588 IP core to achieve its corresponding functions by obtaining synchronized real-time clock information directly at the hardware level.On top of this,by designing the driving interface function,the host computer can realize the expected function by driving the underlying register.At the software level,the self-developed time synchronization software PTPS is designed to realize the IEEE 1588 precisiontime synchronization function.Finally,this subject tests the synchronization performance and the designed interface through design experiments,and uses the oscilloscope to collect the corresponding pulses of the master and slave clock devices to test and verify various indicators.After experimental testing and verification,the universal IEEE 1588 solution proposed in this topic can make the self-developed portable measurement and control console achieve sub-microsecond synchronization accuracy,and the designed PTP interface can work normally as expected by the experiment.
Keywords/Search Tags:IEEE 1588, PTP application interface, network test
PDF Full Text Request
Related items