吉林大学学报(理学版) ›› 2026, Vol. 64 ›› Issue (2): 351-0358.

• • 上一篇    下一篇

基于DBSCAN聚类的电子式电流互感器谐波计量算法

刘宇刚, 王诚舒   

  1. 贵州师范大学 机械与电气工程学院, 贵阳 550025
  • 收稿日期:2024-09-18 出版日期:2026-03-26 发布日期:2026-03-26
  • 通讯作者: 刘宇刚 E-mail:lyg0851@163.com

Harmonic Measurement Algorithm for Electronic Current Transformers Based on DBSCAN Clustering

LIU Yugang, WANG Chengshu   

  1. School of Mechanical & Electrical Engineering, Guizhou Normal University, Guiyang 550025, China
  • Received:2024-09-18 Online:2026-03-26 Published:2026-03-26

摘要: 针对目前电子式电流互感器谐波计量中谐波成分复杂, 使实际测量中受噪声和异常值干扰, 导致谐波计量结果准确性下降的问题, 通过引入DBSCAN(density-based spatial clustering of applications with noise)聚类, 提出一种基于DBSCAN聚类的电子式电流互感器谐波计量算法, 以有效识别并排除数据集中的噪声点和异常值, 从而提高谐波成分检测的准确性. 首先, 采集电子式电流互感器电流信号, 根据时频能量峰值获取互感器中各电流信号峰值频率; 其次, 通过DBSCAN聚类算法计算各电流信号峰值频率之间的距离, 根据距离确定噪声信号、 非谐波信号以及不同类型的谐波信号, 排除数据集中的噪声点和异常值; 最后, 利用最小二乘法对各类谐波信号的
幅值和相位进行计量, 得到电流互感器谐波计量结果. 实验结果表明, 当时间为2 s时, 谐波相位的实际值为18°, 该算法的谐波相位为18°, 始终与实际结果一致, 对谐波幅值和相位的计量准确性均较高, 表明该算法能有效提升谐波计量精度, 避免受噪声和异常值干扰.

关键词: DBSCAN聚类, 电子式电流互感器, 二次差分, 谐波计量, 最小二乘法

Abstract: Aiming at the problem of the complex  harmonic components in the current harmonic measurement of electronic current transformers, which  led to interference from noise and outliers in actual measurement, resulting in a decrease in the accuracy of harmonic measurement results. By introducing DBSCAN (density-based spatial clustering of applications with noise) clustering, we proposed a harmonic measurement algorithm for electronic current transformers based on DBSCAN clustering to effectively identify and eliminate noise points and outliers in the dataset, thereby improving the accuracy of harmonic component detection. Firstly, we collected the current signals of the electronic current transformer and obtained the peak frequency of each current signal in 
the transformer based on the time-frequency energy peak value. Secondly, by using the DBSCAN clustering algorithm, we calculated the distance between the peak frequencies of each current signal, and determined noise signals, non harmonic signals, and different types of harmonic signals based on the distance to eliminate noise points and outliers in the dataset. Finally, we  used the least squares method to measure the amplitude and phase of various harmonic signals, and obtained the harmonic measurement results of the current transformer. The experimental results show that when the time is 2 s, the actual value of harmonic phase is 18°, and the harmonic phase of the proposed algorithm is 18°, which is consistent with the actual results. The measurement  accuracy of harmonic  amplitude and phase is high,  indicating that the proposed algorithm  can effectively improve the accuracy of harmonic measurement and avoid interference from noise and outliers.

Key words: DBSCAN clustering, electronic current transformer, quadratic difference, harmonic measurement, least squares method

中图分类号: 

  • TP301