| The power system is a complex distributed system with a wide coverage and dynamic balance.In the context of the national "dual carbon" development,the new power system with new energy as the main body reflects the characteristics of "high proportion of renewable energy access" and "high proportion of power electronic equipment application".The power system needs a more precise time synchronization system to capture and manage the operational events of the power network.Based on this situation,thesis has developed a time synchronization device for new power systems,which has improved time synchronization accuracy compared to traditional time synchronization devices.Thesis first compares and analyzes several time synchronization methods currently applied in power systems,and finds that higher precision time synchronization can be achieved through the White Rabbit Precise Time Protocol.By combining this highprecision time synchronization protocol with the mature SDH communication network in power systems,a scheme is proposed to achieve high-precision time synchronization in power systems through WR PTP Over SDH.According to the requirements of the time synchronization scheme,thesis designs a time synchronization device based on "FPGA+ARM",and modularizes the design and implementation of various functions based on the Vivado development platform.Each functional module is mainly divided into E1 hardware interface module,crystal oscillator module,power module,local clock signal module,hardware auxiliary module,protocol stack module,timestamp marking module,and port state machine module.The E1 hardware interface module is responsible for connecting the clock synchronization device to the SDH network and converting the differential signal of the SDH network into a digital signal;The clock signal module is the local working clock of the master slave device;The hardware auxiliary module is the receiving and sending module of synchronous data,responsible for converting,receiving,and sending synchronous data packets;The protocol stack module splits and parses synchronous messages,and verifies the messages;The port state machine module determines the state of the port.Thesis also analyzes the existence of asymmetric errors during the synchronization process and provides an asymmetric compensation scheme.For the asymmetry of the fiber optic link,a mathematical proof is provided to calibrate its asymmetry coefficient;The crystal oscillator module of the time synchronization device designed in this article is tamed through satellite signals.Considering that when the satellite signal is lost,the crystal oscillator clock can easily accumulate time deviation due to aging drift,which affects synchronization accuracy,thesis uses an echo state network to fit and predict the crystal oscillator count values,ensuring the time accuracy of the clock source and completing the punctuality of the time synchronization device.Finally,practical functional testing was conducted on the hardware platform,including SDH communication function testing and synchronization performance testing.The experimental results showed that the system’s time synchronization accuracy met the requirements,and the clock source maintained high punctuality accuracy in the event of satellite signal loss. |