针对电力用电信息采集系统内主站、采集终端、电能表时钟的准确性问题,在电力系统传输规约的基础上自定义 DLPTP 协议,采用 GPS 首先对主站时间进行校准,然后以主站为基准,采用 DLPTP 协议对采集终端进行对时,最后调整电能表设备的时钟,逐步实现系统时钟的同步,从而保证了系统内所有设备时钟的一致性,有效提升了系统内采集数据的准确性。
Aiming at the problem of the clock accuracy in the electric information acquisition system master station, data acquisition terminal and the electric energy meter clock,the DLPTP protocol has been defined based on the traditional transmission protocol of power system. GPS is adopted firstly to calibrate the master time,and then DLPTP protocol is taken to perform time tick for the acquisition terminal with the main station as reference. Finally the electric energy meter clock will be adjusted to realize time synchronization step by step,so as to guarantee the time consistency of all equipments in system clock,which will effectively improve the accuracy of data acquisition system.