将IEEE61850标准应用在分布式发电系统后,由于空间距离和节点的变化.使保护信息传输的同步精度与实时性变成一个难题。提出采用IEEE1588标准的时间同步协议(PTP)实现方法,通过采用现场可编程门阵列(FPGA)芯片单独设立时标生成器,其时间精度大幅提高。采用IEEE1588协议设计的硬件由接收/发送、CPU接口、存储控制、状态控制、事件触发、时钟校准、最佳主时钟(BMC)等模块组成;软件由PTP协议、UDP/IP通信、实时调度、时间戳接口、硬件驱动接口等模块组成,采用JAVA和C语言混合编程。通过实验得到平均时钟偏差为2.1μs,验证了所提方案的可行性。
When IEEE61850 standard is applied to distributed generation system,it is difficult to ensure the synchronization precision and real-time performance of protection information transmission due to the variation of distance and node. An implementation method based on IEEE1588 PTP(Precision Time synchronization Protocol) is proposed,which uses Field Programmable Gate Array chip to build independent time stamp generator to greatly improve the time accuracy. The hardware designed with IEEE1588 protocol consists of reception/receiving / transmission / emitting, CPU interface,memory control, state control,event - triggered,clock calibration and BMC modules. The software consists of PTP protocol,UDP/IP communication,real- time seheduling,timestamp interface,hardware driver interface modules and is programmed with JAVA and C. Experimental result verifies its feasibility,with an average time deviation of 2.1 μs.