CN116559650A - A fault identification method for automatic transfer switches based on multi-dimensional entropy distance - Google Patents

A fault identification method for automatic transfer switches based on multi-dimensional entropy distance Download PDF

Info

Publication number
CN116559650A
CN116559650A CN202310698716.2A CN202310698716A CN116559650A CN 116559650 A CN116559650 A CN 116559650A CN 202310698716 A CN202310698716 A CN 202310698716A CN 116559650 A CN116559650 A CN 116559650A
Authority
CN
China
Prior art keywords
entropy
fault
sample
value
automatic transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310698716.2A
Other languages
Chinese (zh)
Inventor
刘帼巾
刘达明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hebei University of Technology
Original Assignee
Hebei University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hebei University of Technology filed Critical Hebei University of Technology
Priority to CN202310698716.2A priority Critical patent/CN116559650A/en
Publication of CN116559650A publication Critical patent/CN116559650A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • G01R31/3271Testing of circuit interrupters, switches or circuit-breakers of high voltage or medium voltage devices
    • G01R31/3275Fault detection or status indication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
    • Y04S10/52Outage or fault management, e.g. fault detection or location

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

本发明公开一种基于多维样本熵的自动转换开关故障识别方法,属于故障诊断技术领域。该方法首先采集自动转化开关电磁机构的原始故障电流信号,然后将电流信号进行集合经验模态分解,提取各经验模态分量的小波能量熵,频率谱熵及样本熵,对三种信息熵进行标准化处理并计算其多维熵距作为特征向量,其次选择主成分析法对所有特征向量进行降维处理以得到最终的特征矩阵。将故障特征分为多个训练样本和测试样本,然后采用训练样本对基于网格搜索‑交叉验证算法优化的支持向量机的故障识别模型进行训练并进行分类,最后根据分类结果识别样本的故障类型。本发明所提模型在处理多特征融合的故障中具有较高的的创新性,在故障识别过程中具有较高的准确度。

The invention discloses a multi-dimensional sample entropy-based automatic transfer switch fault identification method, which belongs to the technical field of fault diagnosis. This method first collects the original fault current signal of the electromagnetic mechanism of the automatic transfer switch, and then decomposes the current signal on the set empirical mode, extracts the wavelet energy entropy, frequency spectrum entropy and sample entropy of each empirical mode component, and performs three kinds of information entropy. Standardize and calculate its multidimensional entropy distance as the feature vector, and then select the principal component analysis method to reduce the dimensionality of all feature vectors to obtain the final feature matrix. Divide the fault features into multiple training samples and test samples, then use the training samples to train and classify the fault identification model based on the support vector machine optimized by the grid search-cross-validation algorithm, and finally identify the fault type of the samples according to the classification results . The model proposed by the invention has high innovation in dealing with multi-feature fusion faults, and has high accuracy in the fault identification process.

Description

一种基于多维熵距的自动转换开关故障识别方法A fault identification method for automatic transfer switches based on multi-dimensional entropy distance

技术领域technical field

本发明属于故障识别技术领域,尤其涉及一种基于多维熵距的自动转换开关故障识别方法。The invention belongs to the technical field of fault identification, and in particular relates to a multi-dimensional entropy distance-based automatic transfer switch fault identification method.

背景技术Background technique

自动转换开关由一个(或几个)转换开关电器和其他必需的电器组成,用于监视电源电路、可以在电路发生故障时将负载电路从一个电源自动转换至另一个电源的电器,是保证系统供电的连续性必备电器。但随着动作次数的增加以及振动和温度等环境应力的作用下,自动转换开关的健康状况会产生退化,严重时会产生机械结构卡涩等故障,使其无法正常的对电路进行切换。因此,对自动转换开关的健康状况进行检测,是近年研究的重点。The automatic transfer switch is composed of one (or several) transfer switch appliances and other necessary appliances, which are used to monitor the power circuit and automatically switch the load circuit from one power supply to another when the circuit fails. It is a guarantee system Necessary appliances for continuity of power supply. However, with the increase in the number of actions and environmental stresses such as vibration and temperature, the health of the automatic transfer switch will degrade, and in severe cases, failures such as mechanical structure jams will occur, making it impossible to switch the circuit normally. Therefore, detecting the health status of automatic transfer switches is the focus of research in recent years.

在故障诊断中,特征信号的选取是保证诊断准确性的前提,在自动转换开关切换电路时,其线圈电流会随着机构的动作而产生相应的变化,电流信号中包含着丰富的机械结构信息,可作为后续故障识别的依据。针对自动转换开关故障电流时域信号采集简单,但是易受其他信号的干扰且抗干扰能力较差,此外,电流信号非线性、非平稳特征导致的时域特征难以进行后续分析,因此,在频域方面进行特征提取的方法应运而生。为了更好的处理大量的检测信息,引入了信息熵的理论。传统小波分析可以将信号分析更加精细,对高频信号的处理分辨率高,但是所需处理的信息也大幅增加,小波能量熵则可以有效地减少系统的复杂度,而功率谱熵可以更好的描述电流信号发生故障时频谱能量的变化,样本熵则在处理复杂序列样本是的统计特征具有显著优势。但是仅从单信息熵进行特征提取存在偶然性,且适用范围有限无法处理复杂的多故障信号,而多特征信号融合,往往会造成噪声和冗余现象的出现。In fault diagnosis, the selection of characteristic signals is the premise to ensure the accuracy of diagnosis. When the automatic transfer switch switches the circuit, the coil current will change accordingly with the action of the mechanism. The current signal contains rich mechanical structure information. , which can be used as the basis for subsequent fault identification. Acquisition of time-domain signals for automatic transfer switch fault current is simple, but it is susceptible to interference from other signals and has poor anti-interference ability. In addition, the time-domain characteristics caused by the nonlinear and non-stationary characteristics of current signals are difficult to carry out subsequent analysis. Therefore, in frequency The method of feature extraction in domain aspect came into being. In order to better deal with a large amount of detection information, the theory of information entropy is introduced. Traditional wavelet analysis can make signal analysis more refined and high-resolution for high-frequency signal processing, but the information to be processed is also greatly increased. Wavelet energy entropy can effectively reduce the complexity of the system, and power spectrum entropy can be better It describes the change of spectrum energy when the current signal fails, and the sample entropy has a significant advantage in dealing with the statistical characteristics of complex sequence samples. However, feature extraction only from single information entropy is contingency, and the scope of application is limited and cannot deal with complex multi-fault signals, while the fusion of multi-feature signals often causes noise and redundancy.

发明内容Contents of the invention

针对目前单信息熵方法的不足,提供一种基于多维熵距的自动转换开关故障识别方法。Aiming at the deficiency of the current single information entropy method, a fault identification method of automatic transfer switch based on multi-dimensional entropy distance is provided.

该方法首先采集自动转化开关电磁机构的原始故障电流信号,然后将电流信号进行集合经验模态分解,提取各经验模态分量的小波能量熵,频率谱熵及样本熵,从而尽可能全面的解决单信号特征量存在的偶然性问题。为了能够对多维信号进行更好的数据融合,且消除三种信息熵不同量级的影响,对三种信息熵进行标准化处理并计算其多维熵距作为特征向量,其次选择主成分析法对所有特征向量进行降维处理以得到最终的特征矩阵。将故障特征分为多个训练样本和测试样本,然后采用训练样本对基于网格搜索-交叉验证算法优化的支持向量机的故障识别模型进行训练,采用已训练完成的故障时识模型对测试样本进行分类,最后根据分类结果识别样本的故障类型及故障程度。结果表明,本发明所提模型在检测多特征融合故障的准确率更高,在故障识别过程中具有更强的鲁棒性。This method first collects the original fault current signal of the electromagnetic mechanism of the automatic transfer switch, and then decomposes the current signal on the set empirical mode to extract the wavelet energy entropy, frequency spectrum entropy and sample entropy of each empirical mode component, so as to solve the problem as comprehensively as possible. The contingency problem of single-signal feature quantity. In order to perform better data fusion on multi-dimensional signals and eliminate the influence of different magnitudes of the three types of information entropy, the three types of information entropy are standardized and their multi-dimensional entropy distances are calculated as feature vectors. Secondly, the principal component analysis method is selected for all The eigenvectors are dimensionally reduced to obtain the final eigenmatrix. Divide the fault features into multiple training samples and test samples, and then use the training samples to train the fault recognition model based on the grid search-cross-validation algorithm optimized support vector machine, and use the trained fault time-awareness model to test the test samples Carry out classification, and finally identify the fault type and fault degree of the sample according to the classification result. The results show that the model proposed by the present invention has higher accuracy in detecting multi-feature fusion faults, and has stronger robustness in the process of fault identification.

本发明提供的一种基于多维熵距的自动转换开关故障识别方法包括以下步骤:A kind of automatic transfer switch fault identification method based on multidimensional entropy distance provided by the present invention comprises the following steps:

(1)采集待诊断物体的原始故障电流信号;(1) Collect the original fault current signal of the object to be diagnosed;

(2)采用集合经验模态分解对原始故障电流信号进行处理;(2) Using ensemble empirical mode decomposition to process the original fault current signal;

(3)提取分解后的各模态分量的多维熵值并计算其多维熵距;(3) Extract the multidimensional entropy value of each modal component after decomposing and calculate its multidimensional entropy distance;

(4)将故障特征样本分为训练样本和测试样本,利用主元分析对特征矩阵进行降维处理;(4) Divide the fault feature samples into training samples and test samples, and use principal component analysis to reduce the dimensionality of the feature matrix;

(5)采用多个训练样本对网格搜索-交叉验证算法优化的支持向量机故障分类模型进行训练;(5) Using multiple training samples to train the support vector machine fault classification model optimized by the grid search-cross-validation algorithm;

(6)采用训练完成的故障识别模型对测试样本机型分类;(6) Classify the model of the test sample by using the fault identification model that has been trained;

(7)根据分类结果识别被测物体的故障类型以及程度;(7) Identify the fault type and degree of the measured object according to the classification result;

进一步地,步骤(2)中所提取原始故障信息的进行集合经验模态分解的过程包括:Further, the process of performing ensemble empirical mode decomposition of the original fault information extracted in step (2) includes:

(2-1)将符号相反的白噪声信号成对地添加到原始信号,形成两个新的信号;(2-1) Add white noise signals of opposite signs to the original signal in pairs to form two new signals;

(2-2)对目标信号进行经验模态分解;(2-2) Carry out empirical mode decomposition to target signal;

(2-3)循环步骤(2-1)和(2-2);(2-3) cyclic steps (2-1) and (2-2);

(2-4)将上述分解结果进行总体平均运算,得到分解结果:(2-4) Perform the overall average operation on the above decomposition results to obtain the decomposition results:

其中,为被分解故障电流信号;fi(t(i=1,2,…,n)为第i个模态分量;rn(t)为残余分量;in, is the decomposed fault current signal; f i (t(i=1, 2, ..., n) is the i-th modal component; r n (t) is the residual component;

分解得到的模态分量fi(t)需要满足以下条件:The decomposed modal component f i (t) needs to meet the following conditions:

整个时间序列中的极值点与过零点的数量最多相差一个;The number of extreme points and zero crossings in the entire time series differs by at most one;

任何时刻通过局部极大值和局部极小值而得出的包络线的均值为零;The mean value of the envelope obtained by the local maximum and local minimum at any time is zero;

进一步地,步骤(3)中在各模态分量中提取多维熵值作为特征值的过程包括:Further, the process of extracting multidimensional entropy value as feature value in each modal component in step (3) includes:

(3-1)应用能量权重及能量熵的概念,计算各模态分量f(t)与原始电流信号I(t)能量的比值将其作(3-1) Using the concepts of energy weight and energy entropy, calculate the ratio of each modal component f(t) to the energy of the original current signal I(t) and use it as

为对应模态分量的能量权重λk,具体如下:is the energy weight λ k of the corresponding modal component, as follows:

根据各分量的能量权重,定义能量权重熵J如下:According to the energy weight of each component, the energy weight entropy J is defined as follows:

其中,h为每周期数据点数,k为第几个模态;Among them, h is the number of data points per cycle, and k is the number of modes;

(3-2)根据样本熵的原理,计算各模态信号中产生新模式的概率;(3-2) According to the principle of sample entropy, calculate the probability of producing a new mode in each modal signal;

将故障电流信号一个周期内N个采样点分为一组位数为m的向量序列Im(1),Im(2),…,Im(N-M+1)并定义向量序列的距离为:Divide the N sampling points in one period of the fault current signal into a group of vector sequences I m (1), Im (2), ..., I m (N-M+1) with a number of digits m, and define the vector sequence The distance is:

d=maxk=0,1,...,m-1(|i(n+k)-i(t+k)|)d=max k=0, 1, ..., m-1 (|i(n+k)-i(t+k)|)

其中d为向量序列Im(n)与Im(t)之间的距离;Where d is the distance between the vector sequence I m (n) and I m (t);

对于给定的Im(n),统计Im(n)与Im(t)之间距离小于等于r的t的个数,记作Bm(r),令k=m+1,此时的个数记作Bm+1(r);For a given Im (n), count the number of t whose distance between I m (n) and Im (t) is less than or equal to r, denoted as B m (r), let k=m+1, this The number at time is recorded as B m+1 (r);

其中Bm(r)为两个序列在相似容限r下匹配m个点的概率,而Bm+1(r)为两个序列匹配m+1个点的概率。样本熵定义为:Among them, B m (r) is the probability that two sequences match m points under the similarity tolerance r, and B m+1 (r) is the probability that two sequences match m+1 points. Sample entropy is defined as:

(3-3)根据能量守恒原则,首先对原时域电流信号进行傅里叶变换,并计算频率谱序列yl在对应频率处的功率谱值Si,并根据对应的对数功率来表示其对应的功率谱熵值,具体如下:(3-3) According to the principle of energy conservation, first perform Fourier transform on the original time-domain current signal, and calculate the power spectrum value S i of the frequency spectrum sequence y l at the corresponding frequency, and express it according to the corresponding logarithmic power The corresponding power spectrum entropy value is as follows:

其中,qi为第i个功率谱在整个功率谱中所占的百分比:Among them, q i is the percentage of the i-th power spectrum in the entire power spectrum:

进一步地,步骤(3)中对故障电流信号提取多维熵值后构建特征矩阵的过程包括:Further, the process of constructing feature matrix after extracting multidimensional entropy value to fault current signal in step (3) includes:

将上述每一种信息熵分别看作一个维度,则这三种信息熵就被看作三个维度,由此组成了一个三维空间;Considering each of the above information entropy as a dimension, these three types of information entropy are regarded as three dimensions, thus forming a three-dimensional space;

分别以小波能量熵、功率谱熵、样本熵作为三维空间的x,y,z轴;The wavelet energy entropy, power spectrum entropy, and sample entropy are respectively used as the x, y, and z axes of the three-dimensional space;

为了消除三种信息熵不同量级的影响,对三种信息熵进行Z-score标准化处理;In order to eliminate the influence of different magnitudes of the three kinds of information entropy, the Z-score standardization process is performed on the three kinds of information entropy;

预先求出信号样本的三种信息熵的均值和标准差,再取前十个正常周期为一组样本,经Z-score标准化处理,得到这组样本的三种熵值(Hn,Hp,Hs);Calculate the mean and standard deviation of the three kinds of information entropy of signal samples in advance, and then take the first ten normal cycles as a group of samples, and get the three kinds of entropy values (H n , H p , H s );

再将每个周期视为一个样本,同样经Z-score标准化处理,则可以求出对应于每个周期的熵点(Hnx,Hpx,Hsx);定义三维空间距离SH为“信息熵距”有:Then treat each cycle as a sample, and after the Z-score standardization process, the entropy point (H nx , H px , H sx ) corresponding to each cycle can be obtained; define the three-dimensional space distance SH as "information Entropy distance" has:

选择不同状态下各变量的样本,组成特征矩阵X;Select samples of each variable in different states to form a feature matrix X;

进一步地,步骤(4)中将故障特征样本分为训练样本和测试样本的过程包括:Further, the process of dividing fault feature samples into training samples and test samples in step (4) includes:

选择非故障状态下的不同熵值的样本数据,组成训练样本矩阵XtrainSelect the sample data of different entropy values in the non-fault state to form the training sample matrix X train :

其中,Xtrain为十个周期样本中的4种样本熵值所组成的矩阵;Among them, X train is a matrix composed of 4 sample entropy values in ten periodic samples;

增加故障样本的周期数并将其作为检测样本矩阵ZtestIncrease the cycle number of fault samples and use it as the detection sample matrix Z test ;

进一步地,步骤(4)中对训练样本和测试样本进行主元分析的过程包括:Further, the process of carrying out principal component analysis to the training sample and the test sample in step (4) includes:

(1)对Xtrain,Xtest进行标准化处理得到Xstrain和Xstest(1) carry out standardized processing to X train , X test obtains X train and X stest ;

(2)求Xstrain的协方差矩阵,得到u个特征值及对应特征向量p1,p2,…pu(2) Calculate the covariance matrix of the X strain , and obtain u eigenvalues and corresponding eigenvectors p 1 , p 2 ,...p u ;

(3)建立主元分析的模型为:(3) Establish the model of principal component analysis for:

其中,ti表示第i个主元;Among them, t i represents the i-th pivot;

(4)利用Xstest矩阵求解得到的特征值及其对应的特征向量来计算T2统计量的控制上限Tucl及SPE统计量的上限Qucl(4) Utilize the eigenvalues and corresponding eigenvectors obtained by solving the Xstest matrix to calculate the upper control limit T ucl of the T 2 statistic and the upper limit Q ucl of the SPE statistic;

(5)采集不同的周期的变脸矩阵,重复步骤(1)~步骤(4),得到各个样本的T2统计量和SPE统计量及对应上限Tucl和Qucl,作为降维后的故障特征值,总流程如图2所示;(5) Collect face-changing matrices of different periods, repeat steps (1) to (4), and obtain the T 2 statistic and SPE statistic of each sample and the corresponding upper limit T ucl and Q ucl , as the fault characteristics after dimensionality reduction value, the overall process is shown in Figure 2;

进一步地,步骤(5)中采用多个训练样本对网格搜索-交叉验证算法优化的支持向量机故障分类模型进行训练过程包括:Further, in the step (5), a plurality of training samples are used to train the support vector machine fault classification model optimized by the grid search-cross-validation algorithm, and the training process includes:

(1)确定网格搜索-交叉验证算法的参数,设置C和g的搜索范围、网格搜索法的搜索步长及交叉验证的折数;(1) Determine the parameters of the grid search-cross-validation algorithm, set the search range of C and g, the search step size of the grid search method and the fold number of cross-validation;

(2)根据搜索步长,在搜索范围内对参数C和g的值进行搜索,利用穷举法,列出所有可能的参数组合。(2) According to the search step size, search for the values of parameters C and g within the search range, and use the exhaustive method to list all possible parameter combinations.

(3)根据交叉验证原理,将加速退化试验得到的性能退化数据平均分成N组,取出其中一组作为测试集,其余N-1组作为训练集,使每一组数据都充当一次测试集,共得到N个组合。在进行SVM模型的训练和预测时,取N次预测结果的平均值作为最终结果。(3) According to the cross-validation principle, the performance degradation data obtained by the accelerated degradation test are divided into N groups on average, and one group is taken out as a test set, and the remaining N-1 groups are used as a training set, so that each group of data serves as a test set. A total of N combinations are obtained. When training and predicting the SVM model, the average value of N prediction results is taken as the final result.

(4)将测试样本输入到网格搜索-交叉验证算法优化的支持向量机的模型,输出物体故障类型和程度。(4) Input the test sample into the support vector machine model optimized by the grid search-cross-validation algorithm, and output the fault type and degree of the object.

本发明从故障物品电流信号中提取多维信号熵,并利用多维熵距的方法实现了三种信息熵的融合。多维熵距在衡量非线性和随机突变性的时间序列上十分有效,可以准确地提取信号中的深层特征值,在信号处理及提取故障特征方面有着较好的创新型。此外,基于多维熵距提取特征与网格搜索-交叉验证算法优化的支持向量机相结合,可以使该故障识别模型能够保持较高的准确率。本发明有以下显著特点:The invention extracts multi-dimensional signal entropy from the current signal of faulty items, and realizes the fusion of three kinds of information entropy by using the method of multi-dimensional entropy distance. Multi-dimensional entropy distance is very effective in measuring nonlinear and random mutation time series, and can accurately extract deep eigenvalues in signals, and is innovative in signal processing and fault feature extraction. In addition, the combination of feature extraction based on multidimensional entropy distance and support vector machine optimized by grid search-cross-validation algorithm can make the fault identification model maintain a high accuracy rate. The present invention has following salient features:

(1)本发明所提的多维熵距提取特征向量,消除了单特征量偶然性的影响,可以有效避免传统特征提取时易产生的误判现象,同时所采用的主元分析技术对多维样本熵进行降维处理,可以减少多维特征融合带来的噪声与冗余。(1) The multidimensional entropy distance extraction feature vector proposed by the present invention eliminates the influence of the contingency of a single feature quantity, and can effectively avoid the misjudgment phenomenon that is easy to occur during traditional feature extraction. Dimensionality reduction processing can reduce noise and redundancy caused by multi-dimensional feature fusion.

(2)本发明所提的网格搜索-交叉验证算法优化的支持向量机是一种智能算法,能够有效地解决对支持向量机参数设置时人工操作的耗时多和精度差的问题,并有效地提高故障识别率。(2) the support vector machine optimized by the grid search-cross-validation algorithm proposed by the present invention is a kind of intelligent algorithm, which can effectively solve the problems of time-consuming manual operation and poor precision when support vector machine parameters are set, and Effectively improve the fault identification rate.

(3)本发明将基于多维熵距提取特征向量算法与网格搜索-交叉验证算法优化的支持向量机相结合,系统性地提出了一种新的故障诊断方法。(3) The present invention combines the feature vector extraction algorithm based on the multidimensional entropy distance with the support vector machine optimized by the grid search-cross-validation algorithm, and systematically proposes a new fault diagnosis method.

附图说明Description of drawings

图1为本发明基于多维熵距的自动转换开关故障识别方法的流程图;Fig. 1 is the flow chart of the automatic transfer switch fault identification method based on multidimensional entropy distance of the present invention;

图2为本发明提取故障电流信号多维样本熵的流程图;Fig. 2 is the flow chart that the present invention extracts fault current signal multidimensional sample entropy;

图3(a)为某公司自动转换开关线圈短路故障下所提取的小波能量熵值;Figure 3(a) is the extracted wavelet energy entropy value under the short-circuit fault of the automatic transfer switch coil of a company;

图3(b)为某公司自动转换开关铁心卡涩故障下所提取的小波能量熵值;Figure 3(b) is the extracted wavelet energy entropy value under the jamming fault of the automatic transfer switch of a company;

图3(c)为某公司自动转换开关机械结构卡涩故障下所提取的小波能量熵值;Figure 3(c) shows the wavelet energy entropy value extracted under the jamming fault of the mechanical structure of an automatic transfer switch of a certain company;

图3(d)为某公司自动转换开关衔铁行程不足故障下所提取的小波能量熵值;Figure 3(d) shows the wavelet energy entropy value extracted under the fault of insufficient armature stroke of an automatic transfer switch of a company;

图4(a)为某公司自动转换开关线圈短路故障下所提取的功率谱熵熵值;Figure 4(a) is the power spectrum entropy value extracted under the short-circuit fault of the automatic transfer switch coil of a company;

图4(b)为某公司自动转换开关铁心卡涩故障下所提取的功率谱熵值;Figure 4(b) shows the power spectrum entropy value extracted from a company's automatic transfer switch core jamming fault;

图4(c)为某公司自动转换开关机械结构卡涩故障下所提取的功率谱熵值;Figure 4(c) shows the power spectrum entropy value extracted under the mechanical structure jamming fault of an automatic transfer switch of a certain company;

图4(d)为某公司自动转换开关衔铁行程不足故障下所提取的功率谱熵值;Figure 4(d) is the power spectrum entropy value extracted under the fault of insufficient armature stroke of an automatic transfer switch of a company;

图5(a)为某公司自动转换开关线圈短路故障下所提取的样本熵值;Figure 5(a) is the sample entropy value extracted under the short-circuit fault of the automatic transfer switch coil of a certain company;

图5(b)为某公司自动转换开关铁心卡涩故障下所提取的样本熵值;Figure 5(b) is the sample entropy value extracted from a company's automatic transfer switch core jamming fault;

图5(c)为某公司自动转换开关机械结构卡涩故障下所提取的样本熵值;Figure 5(c) is the sample entropy value extracted under the jamming fault of the automatic transfer switch mechanical structure of a certain company;

图5(d)为某公司自动转换开关衔铁行程不足故障下所提取的样本熵值;Figure 5(d) is the sample entropy value extracted under the fault of insufficient armature stroke of an automatic transfer switch of a certain company;

图6为基于多维样本熵的支持向量机的故障信号训练集的故障识别率;Fig. 6 is the fault recognition rate of the fault signal training set based on the support vector machine of multidimensional sample entropy;

图7为基于多维样本熵的优化后支持向量机的故障信号测试集的故障识别率;Fig. 7 is the fault recognition rate of the fault signal test set of the support vector machine after optimization based on multidimensional sample entropy;

具体实施方式Detailed ways

本发明方法包括如下步骤:The inventive method comprises the steps:

(1)采集待诊断物体的原始故障电流信号;(1) Collect the original fault current signal of the object to be diagnosed;

(2)采用集合经验模态分解对原始故障电流信号进行处理;(2) Using ensemble empirical mode decomposition to process the original fault current signal;

(3)提取分解后的各模态分量的多维熵值并计算其三维熵距(3) Extract the multi-dimensional entropy value of each modal component after decomposition and calculate its three-dimensional entropy distance

(4)将故障特征样本分为训练样本和测试样本,利用主元分析对特征矩阵进行降维处理;(4) Divide the fault feature samples into training samples and test samples, and use principal component analysis to reduce the dimensionality of the feature matrix;

(5)采用多个训练样本对网格搜索-交叉验证算法优化的支持向量机故障分类模型进行训练;(5) Using multiple training samples to train the support vector machine fault classification model optimized by the grid search-cross-validation algorithm;

(6)采用训练完成的故障识别模型对测试样本进行分类;(6) Classify the test samples by using the trained fault recognition model;

(7)根据分类结果识别被测物体的故障类型以及程度;(7) Identify the fault type and degree of the measured object according to the classification result;

工程时处理非平稳信号时,一般选择小波包分析对所采集信号进行处理,但小波包变换在故障信号分解时存在着能量泄露的问题,其分解不具有自适应性,对分解后各模态分量直接提取特征向量会使所需处理的信息大幅增加,增加了系统的复杂度。对此引入了小波能量熵的理论,但单特征量易受偶然性的影响,使得传统特征提取过程易产生误判现象。When dealing with non-stationary signals in engineering, wavelet packet analysis is generally selected to process the collected signals, but there is a problem of energy leakage when the fault signal is decomposed by wavelet packet transform, and its decomposition is not adaptive. Directly extracting feature vectors from components will greatly increase the information to be processed and increase the complexity of the system. In this regard, the theory of wavelet energy entropy is introduced, but the single feature quantity is easily affected by chance, which makes the traditional feature extraction process prone to misjudgment.

鉴于以上问题,为了克服单特征量故障识别准确率低的问题,本实例创新性地提出应用多维熵值作为原始故障电流信号的特征向量,可以全面的结合不同样本熵的优势,避免特征提取中的误判现象。为了说明多维熵值的优越性,本实例以自动转换开关为故障物体来说明方法的有效性,并对不同故障情况下自动转换开关的故障电流信号进行分析。实验采用某公司产品质量检测部门的试验测试数据,试验所用全寿命试验台包括供电装置、支撑装置、控制装置、数据采集装置及监控台,测试电器型号为ATSE-100/63A/4P,人为模拟线圈短路、铁心卡涩、机械结构卡涩及衔铁行程不足四种故障,采样频率为20KHZ,每种状态取40组数据,每组数据长度为1200个数据点。采集数据后对其进行集合经验模态分解,对分解后各模态分量进行小波能量熵、功率谱熵和样本熵分析,如图3、图4和图5所示。In view of the above problems, in order to overcome the problem of low accuracy of single feature quantity fault identification, this example innovatively proposes to use multi-dimensional entropy value as the feature vector of the original fault current signal, which can comprehensively combine the advantages of different sample entropy and avoid the process of feature extraction. of misjudgment. In order to illustrate the superiority of multi-dimensional entropy, this example uses the automatic transfer switch as the fault object to illustrate the effectiveness of the method, and analyzes the fault current signals of the automatic transfer switch under different fault conditions. The experiment uses the test data of a company’s product quality inspection department. The full-life test bench used in the test includes power supply device, support device, control device, data acquisition device and monitoring platform. The model of the test appliance is ATSE-100/63A/4P, artificially simulated There are four kinds of faults: coil short circuit, iron core jam, mechanical structure jam and lack of armature stroke. The sampling frequency is 20KHZ. Each state takes 40 sets of data, and the length of each set of data is 1200 data points. After the data is collected, the aggregate empirical mode decomposition is performed, and the wavelet energy entropy, power spectrum entropy and sample entropy analysis are performed on each modal component after decomposition, as shown in Figure 3, Figure 4 and Figure 5.

分析图3可知,不同故障类型的小波能量熵值有着明显差异,正常周期时的小波能量熵基本呈现一条水平线,整体波动很小,而故障周期的熵值波动较大且有增加的趋势。且在发生铁心故障时,增长速度明显大于其他故障,因此小波能量熵对于区分铁心故障有着显著优势。Analysis of Figure 3 shows that there are significant differences in the wavelet energy entropy values of different fault types. The wavelet energy entropy in the normal cycle basically presents a horizontal line, and the overall fluctuation is small, while the entropy value of the fault cycle fluctuates greatly and tends to increase. And when a core fault occurs, the growth rate is significantly greater than other faults, so the wavelet energy entropy has a significant advantage in distinguishing core faults.

分析图4可知,对于功率谱熵而言,其正常周期下波形仍然近似为线性,但是在故障周期时不同类型故障波形均产生波动,其中发生线圈短路故障时,其功率谱熵值在信号末端处于稳定上升阶段,而其他类型故障则存在下降的波动,因此功率谱熵对于区分线圈短路故障有着明显优势。Analysis of Figure 4 shows that, for the power spectrum entropy, the waveform is still approximately linear in the normal cycle, but in the fault cycle, different types of fault waveforms all fluctuate, and when a coil short circuit fault occurs, the power spectrum entropy value is at the end It is in a stable rising stage, while other types of faults have downward fluctuations, so the power spectrum entropy has obvious advantages in distinguishing coil short-circuit faults.

分析图5可知,对于样本熵而言,不同故障类型的样本熵有着明显差距,当发生机械结构卡涩时,其样本熵值在正常周期下明显高于其他故障类型,且当发生衔铁行程不足的故障时,其样本熵变化较其他故障波动不明显,仅在周期末样本熵值发生快速增长,因此样本熵对于区分机械结构卡涩和衔铁行程不足有着明显优势。Analyzing Figure 5, it can be seen that for the sample entropy, there is a significant gap between the sample entropy of different fault types. When the fault occurs, the change of sample entropy is not obvious compared with other faults, and the sample entropy value only increases rapidly at the end of the cycle. Therefore, the sample entropy has obvious advantages in distinguishing mechanical structure jamming and armature stroke deficiency.

综上,基于不同样本熵对各故障类型的识别能力,采取多维熵可以有效地提取各故障样本的特征量。为了融合各信息熵的优势同时减少计算量,将多维熵值通过主元分析进行降维,从而得到各样本的T2和SPE统计量及其控制上限Tucl和Qucl,如表1和表2所示。To sum up, based on the identification ability of different sample entropy for each fault type, multi-dimensional entropy can effectively extract the feature quantity of each fault sample. In order to integrate the advantages of each information entropy and reduce the amount of calculation, the multi-dimensional entropy value is reduced through principal component analysis, so as to obtain the T 2 and SPE statistics of each sample and their upper control limits T ucl and Q ucl , as shown in Table 1 and Table 1. 2.

表1某公司产品质量检测部门的试验测试数据T2统计量及控制上限Tucl Table 1 The test data T 2 statistic and the control upper limit T ucl of the product quality inspection department of a certain company

表2某公司产品质量检测部门的试验测试数据SPE统计量及控制上限Qucl Table 2 SPE statistics and control upper limit Q ucl of experimental test data of a company's product quality inspection department

在上述实验数据中,共有4种故障类型,每种故障类型数据有60组,共计240组数据,现在随机从每种故障的60组样本中选取30组样本作为训练样本,剩下的30组样本作为测试样本,共计120组训练样本和120组测试样本;首先将测试集输入进待优化后的支持向量机模型,得到通过学习得到其最优的网络结构参数,接着对其参数进行重新赋值,将测试集数据输入到优化后支持向量机模型,训练集和测试集得到的故障识别率如图6和图7所示。In the above experimental data, there are 4 types of faults, each type of fault data has 60 sets, a total of 240 sets of data, now randomly select 30 sets of samples from 60 sets of samples of each type of fault as training samples, and the remaining 30 sets Samples are used as test samples, with a total of 120 sets of training samples and 120 sets of test samples; first, the test set is input into the support vector machine model to be optimized, and the optimal network structure parameters are obtained through learning, and then the parameters are reassigned , input the test set data into the optimized support vector machine model, and the fault recognition rates obtained from the training set and the test set are shown in Figure 6 and Figure 7.

从图6中可以看到未经优化的支持向量机模型对前两种故障的分类情况,并不准确,存在错分的情况。而经过优化后的支持向量机模型分类情况如图7所示,优化后的模型对前两种故障的分类准确率达到了100%,且该模型对后两种故障仍能保持较高的准确率,仅存在一列机械结构卡涩的故障被错分至衔铁行程不足的故障,这充分说明了提取故障信号的多维信息熵能够有效地反映不同故障的特征,且经过优化后的支持向量机模型其故障识别准确率有着明显的提升,能够准确地的对不同故障的进行识别。It can be seen from Figure 6 that the classification of the first two types of faults by the unoptimized support vector machine model is not accurate, and there is a case of misclassification. The classification of the optimized support vector machine model is shown in Figure 7. The optimized model has a classification accuracy of 100% for the first two faults, and the model can still maintain a high accuracy for the latter two faults. rate, there is only one series of mechanical structure jammed faults that are misclassified as faults with insufficient armature travel, which fully demonstrates that the multidimensional information entropy of fault signals can effectively reflect the characteristics of different faults, and the optimized support vector machine model The accuracy of fault identification has been significantly improved, and it can accurately identify different faults.

Claims (4)

1. An automatic transfer switch fault identification method based on multidimensional entropy distance is characterized by comprising the following steps:
(1) Collecting an original fault current signal of an object to be diagnosed;
(2) Processing the original fault current signal by adopting ensemble empirical mode decomposition;
(3) Extracting the multi-dimensional entropy value of each decomposed modal component and calculating the multi-dimensional entropy distance;
(4) Dividing the fault characteristic sample into a training sample and a test sample, and performing dimension reduction treatment on the characteristic matrix by principal component analysis;
(5) Training a support vector machine fault classification model optimized by a grid search-cross verification algorithm by adopting a plurality of training samples;
(6) Classifying the model of the test sample by using the trained fault recognition model;
(7) Identifying the fault type and degree of the detected object according to the classification result;
the process of performing the aggregate empirical mode decomposition of the original fault information extracted in the step (2) includes:
(2-1) adding white noise signals of opposite signs to the original signal in pairs to form two new signals;
(2-2) performing empirical mode decomposition on the target signal;
(2-3) cycling steps (2-1) and (2-2);
(2-4) carrying out ensemble average operation on the decomposition result to obtain a decomposition result:
wherein ,a decomposed fault current signal; f (f) i (t) (i=1, 2, …, n) is the i-th modal component; r is (r) n (t) is a residual component;
the decomposed modal component f i (t) the following conditions are required to be satisfied:
the number of extreme points and zero crossing points in the whole time sequence is different by one at most;
the average value of the envelope curve obtained by the local maximum value and the local minimum value at any moment is zero;
further, the process of extracting the multi-dimensional entropy value as the characteristic value in each modal component in the step (3) includes:
the process of extracting the multi-dimensional entropy value as the characteristic value in each modal component in the step (3) comprises the following steps:
(3-1) applying the concepts of energy weight and energy entropy, and calculating the energy weight entropy value under each modal component;
(3-2) calculating the probability of generating a new mode of each mode signal according to the principle of sample entropy, thereby obtaining the sample entropy value of each mode component;
(3-3) according to the principle of conservation of energy, carrying out Fourier transform on the time domain signals, and drawing a logarithmic power spectrum to reflect the power spectrum entropy value of each component;
the process of separating the fault signature sample into the training sample and the test sample in step (4) comprises:
selecting sample data with different entropy values under non-fault state to form training sample matrix X train
wherein ,Xtrain A matrix of 4 sample entropy values in ten periodic samples;
increase the cycle number of the fault sample and take it as a detection sample matrix X test
In the step (5), the training process of the support vector machine fault classification model optimized by the grid search-cross verification algorithm by adopting a plurality of training samples comprises the following steps:
(5-1) inputting the multidimensional entropy into a support vector machine model after parameter optimization, and searching possible values of parameters to be optimized of the support vector machine through an exhaustion method;
(5-2) outputting the different fault states as support vector machines, and selecting optimal parameters by using cross validation.
2. The method for identifying faults of automatic transfer switches based on multidimensional entropy distance according to claim 2, wherein the characteristic quantity extraction is characterized by the steps (3-1) and (3-3), and the specific steps are as follows:
(1) The concept of energy weight and energy entropy is applied, and the ratio of each modal component f (t) to the energy of the original current signal I (t) is calculated and used as the energy weight lambda of the corresponding modal component k The method is characterized by comprising the following steps:
according to the energy weight of each component, an energy weight entropy J is defined as follows:
wherein h is the number of data points per period, and k is the number of modes;
(2) According to the principle of sample entropy, calculating the probability of generating a new mode in each mode signal, B m (r) probability of two sequences matching m points with similar margin r, and B m+1 (r) probability of matching m+1 points for two sequences, sample entropy is defined as:
(3) Firstly, carrying out Fourier transform on an original time domain current signal, and calculating a frequency spectrum sequence y i Power spectrum value S at corresponding frequency i Solving the percentage q of the ith power spectrum in the whole power spectrum i And the corresponding power spectrum entropy value is represented according to the corresponding logarithmic power, and the specific steps are as follows:
3. the method for identifying the fault of the automatic transfer switch based on the multidimensional entropy distance according to claim 2, wherein the step (4) optimizes parameters of a support vector machine by using a main analysis algorithm, and comprises the following specific steps:
(1) For X train ,X test Standardized treatment is carried out to obtain X strain and Xstest
(2) Find X strain Obtaining u eigenvalues and corresponding eigenvectors p by covariance matrix of (2) 1 ,p 2 ,…p u
(3) Modeling principal component analysisThe method comprises the following steps:
wherein ,ti Representing the ith principal element;
(4) Calculating T by using characteristic values obtained by Xstest matrix solution and corresponding characteristic vectors thereof 2 Upper control limit of statistics Xstest and upper limit of SPE statistics Q ucl
(5) Collecting face matrixes of different periods, and repeating the steps (1) to (4) to obtain T of each sample 2 Statistics and SPE statistics and corresponding upper limit T ucl and Qucl As a fault characteristic value after dimension reduction.
4. The method for identifying the fault of the automatic transfer switch based on the multidimensional entropy distance according to claim 2, wherein the step (5) optimizes parameters of the support vector machine by using a grid search-cross validation algorithm, and comprises the following specific steps:
1) Determining parameters of a grid search-cross verification algorithm, and setting search ranges of C and g, search step length of a grid search method and the number of folds of cross verification;
2) Searching the values of the parameters C and g in a searching range according to the searching step length, and listing all possible parameter combinations by using an exhaustion method;
3) According to the cross verification principle, performance degradation data obtained by an accelerated degradation test are equally divided into N groups, one group is taken out to serve as a test set, the other N-1 groups are taken as training sets, and each group of data serves as a test set to obtain N combinations; and when training and predicting the SVM model, taking the average value of N times of prediction results as a final result.
CN202310698716.2A 2023-06-13 2023-06-13 A fault identification method for automatic transfer switches based on multi-dimensional entropy distance Pending CN116559650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310698716.2A CN116559650A (en) 2023-06-13 2023-06-13 A fault identification method for automatic transfer switches based on multi-dimensional entropy distance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310698716.2A CN116559650A (en) 2023-06-13 2023-06-13 A fault identification method for automatic transfer switches based on multi-dimensional entropy distance

Publications (1)

Publication Number Publication Date
CN116559650A true CN116559650A (en) 2023-08-08

Family

ID=87488076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310698716.2A Pending CN116559650A (en) 2023-06-13 2023-06-13 A fault identification method for automatic transfer switches based on multi-dimensional entropy distance

Country Status (1)

Country Link
CN (1) CN116559650A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117388681A (en) * 2023-12-07 2024-01-12 国网辽宁省电力有限公司 A method for fault diagnosis of high-voltage isolation switch
CN117472630A (en) * 2023-11-02 2024-01-30 国网湖北省电力有限公司黄石供电公司 Intelligent matching method for switch cabinet fault modes based on information entropy and deep learning
CN118444140A (en) * 2024-04-30 2024-08-06 中国矿业大学 Vacuum alternating current contactor fault monitoring method and system
CN118777770A (en) * 2024-06-19 2024-10-15 肇庆学院 Transmission line transient signal fault diagnosis method and system based on power spectrum entropy
CN119644188A (en) * 2024-12-11 2025-03-18 兰州交通大学 Four-quadrant rectifier fault diagnosis method, device, medium and equipment based on energy entropy optimization multi-feature fusion
CN119986332A (en) * 2025-03-10 2025-05-13 知码芯(长春)科技有限公司 A chip test signal analysis and processing system and method based on big data
CN120705672A (en) * 2025-08-26 2025-09-26 西安图为电气技术有限公司 A bidirectional power supply intelligent fault diagnosis method, electronic device and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117472630A (en) * 2023-11-02 2024-01-30 国网湖北省电力有限公司黄石供电公司 Intelligent matching method for switch cabinet fault modes based on information entropy and deep learning
CN117388681A (en) * 2023-12-07 2024-01-12 国网辽宁省电力有限公司 A method for fault diagnosis of high-voltage isolation switch
CN118444140A (en) * 2024-04-30 2024-08-06 中国矿业大学 Vacuum alternating current contactor fault monitoring method and system
CN118777770A (en) * 2024-06-19 2024-10-15 肇庆学院 Transmission line transient signal fault diagnosis method and system based on power spectrum entropy
CN119644188A (en) * 2024-12-11 2025-03-18 兰州交通大学 Four-quadrant rectifier fault diagnosis method, device, medium and equipment based on energy entropy optimization multi-feature fusion
CN119986332A (en) * 2025-03-10 2025-05-13 知码芯(长春)科技有限公司 A chip test signal analysis and processing system and method based on big data
CN119986332B (en) * 2025-03-10 2025-11-21 知码芯(长春)科技有限公司 A chip test signal analysis and processing system and method based on big data
CN120705672A (en) * 2025-08-26 2025-09-26 西安图为电气技术有限公司 A bidirectional power supply intelligent fault diagnosis method, electronic device and storage medium
CN120705672B (en) * 2025-08-26 2025-11-14 西安图为电气技术有限公司 Intelligent fault diagnosis method for bidirectional power supply, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN116559650A (en) A fault identification method for automatic transfer switches based on multi-dimensional entropy distance
CN112881942B (en) Abnormal current diagnosis method and system based on wavelet decomposition and empirical mode decomposition
CN107219457B (en) Frame-type circuit breaker fault diagnosis and degree assessment method based on operation attachment electric current
CN112085111B (en) A load identification method and device
CN109740859A (en) Transformer condition evaluation and system based on Principal Component Analysis and support vector machines
CN114091549B (en) A device fault diagnosis method based on deep residual network
CN119740011B (en) A rolling bearing fault diagnosis method based on SE-ResNeXt and Informer hybrid network model
CN106199267B (en) A method for analyzing fault characteristics of power equipment
CN117691756B (en) Safety early warning management method and system for power distribution cabinet
CN112183590A (en) Transformer fault diagnosis method based on Oneclass SVM algorithm
CN119375811A (en) An intelligent fault judgment system for electric energy meter verification
CN115048985A (en) Electrical equipment fault discrimination method
CN118035923A (en) A method for identifying abnormal signals in power grid recording
CN116561569A (en) An industrial power load identification method based on EO feature selection combined with AdaBoost algorithm
Tehrani et al. Frequency-based multi task learning with attention mechanism for fault detection in power systems
CN118395155A (en) Deep learning-based hidden danger discharge characteristic extraction method and system for power transmission line
CN115840116A (en) A GAN-CNN based partial discharge fault pattern recognition method for switchgear
Huang et al. Distribution transformer mechanical faults diagnosis method incorporating cross-domain feature extraction and recognition of unknown-type faults
CN119309699A (en) Circuit breaker fault diagnosis method, device, computer equipment and storage medium
CN118052253A (en) A method and system for identifying wrong wiring of low-voltage user electric meter based on BiGRU neural network
CN116578919A (en) Multi-industrial non-intrusive equipment load monitoring method
Singh et al. Predicting the remaining useful life of ball bearing under dynamic loading using supervised learning
CN115184783A (en) Fault Diagnosis Method of Analog Circuit Based on Genetic Algorithm Optimizing Correlation Vector Machine
CN113884822A (en) Classification and identification method for partial discharge ultrahigh frequency signals
Ke et al. A distributed ensemble bpnn used for status assessment of circuit breakers based on coil current characteristics

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination