The invention discloses a network time-setting
system and method for secondary equipment of an
electric power system. The network time-setting
system is characterized by comprising a CPU (
central processing unit), an FPGA (
field programmable gate array), a
physical layer network card
chip PHY and an oven controlled
crystal oscillator OCXO, wherein the CPU is connected with the FPGA through a PCIE (
peripheral component interface express)
bus; the FPGA comprises
Ethernet medium access controllers (MAC) which are realized through the FPGA, a hardware time stamp detecting and generating module and a
phase locking loop (PLL). The time-setting method comprises the following steps: inputting
setting time through a network, filtering messages, improving the time -setting
synchronizing precision of the messages, adding hardware time stamps to the messages through the FPGA,
synchronizing network setting-time, and outputting network setting-time. The network time-setting system disclosed by the invention uses the FPGA as a core, and under the condition that a
hardware structure is not changed, multichannel high-precision network time setting can be realized at a relatively low cost; besides, through the
phase locking loop (PLL) and a technique of additionally
stamping the hardware time stamps on an MII (
media independent interface) layer, the network time-setting precision can also be greatly improved, and the expansion performance is good.