引用本文: | 李德新,钟 俊.基于遗传算法与PID原理的IEEE1588从时钟同步研究[J].电力系统保护与控制,2016,44(18):96-101.[点击复制] |
LI Dexin,ZHONG Jun.Research on IEEE 1588 slave time synchronization based on genetic algorithm and PID control theory[J].Power System Protection and Control,2016,44(18):96-101[点击复制] |
|
摘要: |
高精度的时钟同步技术是电力系统稳定运行的前提。环境温度对时钟同步设备精度会造成严重影响。在IEEE1588协议原理的基础上,提出一种基于遗传算法和PID控制原理的从时钟自适应误差修正方法。建立PID控制模型,将从时钟函数模型作为被控对象,以从时钟与理想时钟源之间的差值为系统误差,采用时间乘平方误差积分准则(ITSE)作为目标函数。通过遗传算法对PID的三个参数进行遗传操作,进而达到PID优化,实现自适应修正从时钟时间误差的目的。Matlab仿真结果表明,该方法在不同的温度环境下均具备很好的自适应能力,同步精度达到1 ns。 |
关键词: IEEE1588 时钟同步 遗传算法 PID控制 ITSE |
DOI:10.7667/PSPC151673 |
投稿时间:2015-09-18修订日期:2015-12-29 |
基金项目:四川省科技支撑计划(2014GZ0010,2014GZ0083) |
|
Research on IEEE 1588 slave time synchronization based on genetic algorithm and PID control theory |
LI Dexin,ZHONG Jun |
(School of Electrical Engineering and Information, Sichuan University, Chengdu 610065, China) |
Abstract: |
The clock synchronization technology with high precision plays an important part on the power system stability. The environment temperature will cause serious influence on the precision of clock synchronization equipment. On the basis of the principle of IEEE1588 protocol, this paper puts forward a kind of method called slave clock adaptive error correction, which is based on genetic algorithm and PID control principle. When the PID control model is built, the slave clock function model is used as the controlled object, and the difference between slave clock and ideal clock source is regarded as the system error, then the ITSE is taken as an objective function. A genetic operation is laid on the three parameters of PID by the way of genetic algorithm. Furthermore, the PID is optimized. Finally, the goal of adaptive correction for slave clock time error is achieved. The results from Matlab simulation show that this method has good adaptive ability under different temperature conditions and the precision of the synchronization can reach up to 1ns. |
Key words: IEEE1588 time synchronization genetic algorithm PID control ITSE |