CN112395959B - Power transformer fault prediction and diagnosis method and system based on audio frequency characteristics - Google Patents
Power transformer fault prediction and diagnosis method and system based on audio frequency characteristics Download PDFInfo
- Publication number
- CN112395959B CN112395959B CN202011187629.3A CN202011187629A CN112395959B CN 112395959 B CN112395959 B CN 112395959B CN 202011187629 A CN202011187629 A CN 202011187629A CN 112395959 B CN112395959 B CN 112395959B
- Authority
- CN
- China
- Prior art keywords
- power transformer
- fault
- audio
- mel
- frequency
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/08—Feature extraction
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01H—MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
- G01H17/00—Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves, not provided for in the preceding groups
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/62—Testing of transformers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/213—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
- G06F18/2135—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods based on approximation criteria, e.g. principal component analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2411—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
- G06N20/10—Machine learning using kernel methods, e.g. support vector machines [SVM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/12—Classification; Matching
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Software Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Medical Informatics (AREA)
- Power Engineering (AREA)
- General Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Complex Calculations (AREA)
Abstract
本发明提供了一种基于音频特征的电力变压器故障预测与诊断方法,具体包括:S1.基于混沌振子检测噪声背景下电力变压器音频数据的有效信号;S2.计算在非线性梅尔刻度上的对数能量谱,作为电力变压器音频信号的特征量;S3.采用主成分分析方法计算电力变压器音频信号特征量的主元成分;S4.采用量子粒子群算法优化向量机算法的最优超参数训练电力变压器故障预测模型;S5.若电力变压器处于故障状态,则采用1/3倍频程算法提取故障特征频程幅值,与专家经验规则库进行对比,预测/得出电力变压器发生的故障类型。本发明可以提高对电力变压器运行状态故障预测的识别精度,减少计算量;还可以基于其他量测数据或红外图像进行故障判断。
The invention provides a power transformer fault prediction and diagnosis method based on audio characteristics, which specifically includes: S1. Detecting the effective signal of the audio data of the power transformer in the noise background based on the chaotic oscillator; S2. Calculating the pair on the nonlinear Mel scale Digital energy spectrum, as the characteristic quantity of the power transformer audio signal; S3. Use the principal component analysis method to calculate the principal component component of the power transformer audio signal characteristic quantity; S4. Use the quantum particle swarm algorithm to optimize the optimal hyperparameters of the vector machine algorithm to train electric power Transformer fault prediction model; S5. If the power transformer is in a fault state, the 1/3 octave algorithm is used to extract the fault characteristic frequency range amplitude, and compared with the expert experience rule base, the fault type that occurs in the power transformer is predicted/obtained. The present invention can improve the identification accuracy of fault prediction of power transformer operating status and reduce the amount of calculation; it can also perform fault judgment based on other measurement data or infrared images.
Description
技术领域Technical field
本发明属于电力变压器故障诊断技术领域,具体涉及一种基于音频特征的电力变压器故障预测与诊断方法及系统。The invention belongs to the technical field of power transformer fault diagnosis, and specifically relates to a power transformer fault prediction and diagnosis method and system based on audio characteristics.
背景技术Background technique
在电力系统中,电力变压器起着电压变换、电能分配、调压、隔离等重要作用,事关电力系统的安全、稳定、可靠和经济运行。电力变压器结构复杂,主要由铁芯、绕组、油箱、油枕、绝缘套管、分接头等部分组成,且其一般安装在户外,工作环境恶劣,随着运行时间增加,难免发生故障,故障涉及绕组、主绝缘、引线、分接开关、套管等。电力部门根据DL/T573-95《电力变压器检修导则》及电力变压器的运行环境,按照“1)新投入运行的电力变压器在5年内进行一次大修,以后每10年进行一次大修;2)每年至少进行一次小修;”的标准安排电力变压器的年度检修计划及电力系统的运行方式。对电力变压器进行定期检修,容易降低电力变压器的有效利用率,并且浪费大量人力、物力,甚至还会引发维修故障,产生“过修或欠修”。In the power system, power transformers play important roles in voltage conversion, power distribution, voltage regulation, isolation, etc., which are related to the safety, stability, reliability and economic operation of the power system. The power transformer has a complex structure and is mainly composed of core, winding, oil tank, oil pillow, insulating bushing, tap and other parts. It is generally installed outdoors and has a harsh working environment. As the operating time increases, faults will inevitably occur, and the faults involve Windings, main insulation, leads, tap changers, bushings, etc. According to DL/T573-95 "Guidelines for Maintenance of Power Transformers" and the operating environment of power transformers, the electric power department follows the principles of "1) Power transformers newly put into operation shall be overhauled within 5 years, and thereafter every 10 years; 2) Every year Carry out at least one minor repair;" standard arranges the annual maintenance plan of the power transformer and the operation mode of the power system. Regular maintenance of power transformers can easily reduce the effective utilization rate of power transformers, waste a lot of manpower and material resources, and even cause maintenance failures, resulting in "over-repair or under-repair".
电力变压器在运行的过程中,在内部电流、磁场的作用下产生机械形变,经过自身传导表现为振动信号,振动信号经过空气介质传播,变成了电力变压器在运行状态下的声音信号。人耳可以听到20~20kHz的声音,有经验的运维人员可以凭借耳朵听正在运行的电力变压器的声音,判断设备是否处于故障状态。但这种依靠运维人员的经验和主观判断的故障诊断方法具有很强的不确定性,基于声音传感器装置实时获取处于运行状态的电力变压器的声音信号,通过提取电力变压器运行状态下的音频特征,可以及时发现电力变压器的各类故障,做到防范于未然,此外还可以为电力变压器的运行管理提供方便,为检修提供依据,减少人力、物力的浪费。因此,开发一套基于音频特征的电力变压器故障预测与诊断系统具有非常重大的社会意义和经济效益。During the operation of the power transformer, mechanical deformation occurs under the action of internal current and magnetic field, which is manifested as a vibration signal through its own conduction. The vibration signal propagates through the air medium and becomes a sound signal when the power transformer is in operation. The human ear can hear sounds of 20 to 20 kHz. Experienced operation and maintenance personnel can use their ears to listen to the sound of a running power transformer to determine whether the equipment is in a fault state. However, this fault diagnosis method, which relies on the experience and subjective judgment of operation and maintenance personnel, has strong uncertainties. Based on the sound sensor device, the sound signal of the power transformer in the operating state is acquired in real time, and the audio characteristics of the power transformer in the operating state are extracted. , can detect various faults of power transformers in time and prevent them before they happen. In addition, it can also provide convenience for the operation and management of power transformers, provide a basis for maintenance, and reduce the waste of manpower and material resources. Therefore, developing a power transformer fault prediction and diagnosis system based on audio characteristics has great social significance and economic benefits.
电力变压器故障方面的研究一般包括两个方向:故障预测与故障诊断。故障诊断是在设备发生故障之后准确诊断出设备的故障原因并给出具体处理方法,但是仅适用于设备发生故障之后。而对于高强度、长时间运行的重要设备而言,故障预测能够减少维护成本,而且能够提前预知设备运行状况减少经济损失,有计划的进行维护,保障正常生产。故而对电力变压器进行故障诊断和预测必不可少,可以做到及时止损,防患未然。Research on power transformer faults generally includes two directions: fault prediction and fault diagnosis. Fault diagnosis is to accurately diagnose the cause of equipment failure and provide specific treatment methods after equipment failure, but it is only applicable after equipment failure. For important equipment with high intensity and long-term operation, fault prediction can reduce maintenance costs, predict the operating status of the equipment in advance, reduce economic losses, and carry out planned maintenance to ensure normal production. Therefore, fault diagnosis and prediction of power transformers are essential, so that losses can be stopped in time and troubles can be nipped in the bud.
电力变压器的运行声音能够反映出当前设备的健康状态。文献1(杜一明.基于声信号的变压器故障诊断系统研究[D].华中科技大学,2013.)研究了电力变压器运行状态下的声音的产生机理,指出电力变压器无论是处于正常运行状态还是故障状态,其声音频率基本处于1000Hz以内,选择传感器时应着重考虑传感器在低频区间内的灵敏度和频率响应曲线的平直;文献2(吴松.基于声学特征的变压器故障诊断研究[D].华中科技大学,2012.)论证了变压器放电声音信号的特征频率为250Hz,并对比分析了频谱分析法、小波算法、Hilbert-Huang变换等算法在信号提取的效果;文献3(张瑞琪.基于声学信号的变压器放电故障诊断方法研究[D].华中科技大学,2018.)采用小波包分别分析了电力变压器正常运行状态和火花放电状态下的声音信号的能量分布,分析表明正常运行状态下声音能量90%分布在0~1280Hz频段内,针针火花放电的音频特征频段为5000~6000Hz,针板火花放电的音频特征频段为6000~8000Hz,悬浮放电的音频特征频段为1000~3000Hz。文献4(侯增起.基于声音特征的变电设备故障分类与定位方法研究[D].华北电力大学,2018.)采用二维主成分分析方法提取电力变压器运行状态下的主要频谱分量,通过MUSIC算法定位故障区间;文献5(邓凯.变压器油放电声信号特征参数提取与识别研究[D].华中科技大学,2016.)采用小波阈值降噪法对变压器油放电声音信号进行去噪,并采用多尺度特征熵法提取放电故障声音的特征量;文献6(金潇.基于声信号的配电变压器故障诊断方法研究[D].武汉大学,2017.)采用基于负熵的快速独立分析算法分离目标声源,对目标声源进行完备集合经验模态分解算法,提取反映信号复杂性和无规则程度的奇异谱熵、反映信号能量特征的完备集合经验模态频带能量熵及反映信号时频特征的边际谱熵、重心频率作为特征量。The operating sound of a power transformer can reflect the current health status of the equipment. Literature 1 (Du Yiming. Research on Transformer Fault Diagnosis System Based on Acoustic Signals [D]. Huazhong University of Science and Technology, 2013.) studied the sound generation mechanism of power transformers under operating conditions, and pointed out that whether the power transformer is in normal operation or fault state , its sound frequency is basically within 1000Hz. When selecting a sensor, you should focus on the sensitivity of the sensor in the low frequency range and the flatness of the frequency response curve; Document 2 (Wu Song. Research on transformer fault diagnosis based on acoustic characteristics [D]. Huazhong Technology University, 2012.) demonstrated that the characteristic frequency of the transformer discharge sound signal is 250Hz, and comparatively analyzed the effects of spectrum analysis, wavelet algorithm, Hilbert-Huang transform and other algorithms in signal extraction; Document 3 (Zhang Ruiqi. Transformer based on acoustic signals Research on discharge fault diagnosis methods [D]. Huazhong University of Science and Technology, 2018.) Wavelet packets were used to analyze the energy distribution of the sound signal in the normal operating state and spark discharge state of the power transformer. The analysis showed that 90% of the sound energy was distributed in the normal operating state. In the 0-1280Hz frequency band, the audio characteristic frequency band of pin-pin spark discharge is 5000-6000Hz, the audio characteristic frequency band of pin-plate spark discharge is 6000-8000Hz, and the audio characteristic frequency band of suspension discharge is 1000-3000Hz. Document 4 (Hou Zenqi. Research on classification and location methods of substation equipment faults based on sound characteristics [D]. North China Electric Power University, 2018.) The two-dimensional principal component analysis method is used to extract the main spectral components in the operating state of the power transformer, and the MUSIC algorithm is used Locate the fault interval; Document 5 (Deng Kai. Research on extraction and identification of characteristic parameters of transformer oil discharge acoustic signal [D]. Huazhong University of Science and Technology, 2016.) uses the wavelet threshold noise reduction method to denoise the transformer oil discharge acoustic signal, and uses The multi-scale feature entropy method extracts the characteristic quantities of discharge fault sounds; Document 6 (Jin Xiao. Research on distribution transformer fault diagnosis method based on acoustic signals [D]. Wuhan University, 2017.) uses a fast independent analysis algorithm based on negative entropy to separate For the target sound source, perform a complete set empirical mode decomposition algorithm on the target sound source to extract the singular spectral entropy that reflects the complexity and irregularity of the signal, the complete set empirical modal band energy entropy that reflects the signal energy characteristics, and the time-frequency characteristics of the signal. The marginal spectral entropy and center of gravity frequency are used as characteristic quantities.
通过总结分析可以得出,目前基于声音信号的电力变压器故障预测与诊断方法研究面临以下缺点:Through summary analysis, it can be concluded that the current research on power transformer fault prediction and diagnosis methods based on sound signals faces the following shortcomings:
(1)对于电力变压器运行声音特征量的提取大多采用频域分析方法,或者采用小波变换、Hi lbert-Huang变换等提取反应故障的某些分量,而没有借鉴人耳对声音的识别原理从倒频谱、Mel倒频谱角度做进一步分析;(1) Most of the extraction of operating sound features of power transformers uses frequency domain analysis methods, or uses wavelet transform, Hilbert-Huang transform, etc. to extract certain components that reflect faults, without drawing on the sound recognition principle of the human ear. Spectrum, Mel cepstral angle for further analysis;
(2)电力变压器结构复杂,运行环境恶劣,背景噪声不可忽视,特别是当背景噪声能量较大时,反应电力变压器故障特征的声音分量可能会被淹没,而现有基于声音信号的变压器故障预测与诊断方法中大多只采用了简单滤波算法对噪声进行了滤除;(2) The structure of the power transformer is complex and the operating environment is harsh. The background noise cannot be ignored. Especially when the background noise energy is large, the sound component reflecting the fault characteristics of the power transformer may be drowned. However, the existing transformer fault prediction based on sound signals Most diagnostic methods only use simple filtering algorithms to filter out noise;
(3)由于现有声音信号特征量提取方法的局限,导致神经网络、Support VectorMachine(SVM)等人工智能方法在基于声音信号的电力变压器故障预测方面还不普遍。(3) Due to the limitations of existing sound signal feature extraction methods, artificial intelligence methods such as neural networks and Support Vector Machine (SVM) are not yet common in power transformer fault prediction based on sound signals.
发明内容Contents of the invention
本发明的目的是针对上述问题,提供一种基于音频特征的电力变压器故障预测与诊断方法及系统,可以解决现有技术中的问题,根据音频特征实时在线监测、预测与诊断设备故障,在故障特征被淹没在噪声之中不明显时有较高预测精度;减少人力、物力的浪费,提高供电可靠性;还可以支持电力变压器的其他量测数据。The purpose of the present invention is to address the above problems and provide a power transformer fault prediction and diagnosis method and system based on audio characteristics, which can solve the problems in the existing technology and monitor, predict and diagnose equipment faults online in real time based on the audio characteristics. It has higher prediction accuracy when the features are submerged in the noise and are not obvious; it reduces the waste of manpower and material resources and improves the reliability of power supply; it can also support other measurement data of power transformers.
为达到上述目的,本发明采用了下列技术方案:In order to achieve the above objects, the present invention adopts the following technical solutions:
一种基于音频特征的电力变压器故障预测与诊断方法,具体步骤包括:A power transformer fault prediction and diagnosis method based on audio characteristics. The specific steps include:
S1.基于混沌振子检测强噪声背景下电力变压器音频数据的有效信号;S1. Based on chaotic oscillator detection of effective signals of power transformer audio data under strong noise background;
S2.针对所述步骤S1中提取的音频有效信号,采用Mel梅尔频率倒谱技术,计算在非线性梅尔刻度上的对数能量谱,作为电力变压器音频信号的特征量;在提取过程中进行Mel尺度变换,这种非线性变换使声音信号具有更高的抗噪性能;S2. For the effective audio signal extracted in step S1, use Mel frequency cepstrum technology to calculate the logarithmic energy spectrum on the nonlinear Mel scale as the characteristic quantity of the power transformer audio signal; during the extraction process Perform Mel scale transformation. This nonlinear transformation makes the sound signal have higher anti-noise performance;
S3.采用PCA主成分分析方法计算所述电力变压器音频信号特征量的主元成分;S3. Use the PCA principal component analysis method to calculate the principal component components of the audio signal features of the power transformer;
S4.采用QPSO量子粒子群算法优化SVM向量机算法的最优超参数训练电力变压器故障预测模型;S4. Use the QPSO quantum particle swarm algorithm to optimize the optimal hyperparameters of the SVM vector machine algorithm to train the power transformer fault prediction model;
S5.若所述电力变压器处于故障状态,则采用1/3倍频程算法提取故障特征频程幅值,并基于1/3倍频程幅值计算电力变压器音频信号的T2和SEP统计量,找出T2或SEP统计量超过阈值时对T2或SEP统计量贡献量最大的倍频程对应的频率范围,作为电力变压器故障音频特征,与专家经验规则库进行对比,预测/得出电力变压器发生的故障类型。S5. If the power transformer is in a fault state, use the 1/3 octave band algorithm to extract the fault characteristic frequency band amplitude, and calculate the T2 and SEP statistics of the power transformer audio signal based on the 1/3 octave band amplitude. Find out the frequency range corresponding to the octave that contributes the most to the T2 or SEP statistics when the T2 or SEP statistics exceeds the threshold, as the audio characteristics of the power transformer fault, compare it with the expert experience rule base, and predict/find the occurrence of the power transformer type of fault.
进一步的,步骤S1将电力变压器音频信号作为混沌系统的一种微弱周期或准周期扰动信号,利用混沌系统对参数的摄动和敏感性使混沌系统相态发生本质变化的特点,通过计算辨识,将电力变压器音频信号检测出来。根据非线性动力学系统在混沌状态和大尺度周期状态时,相应的系统相态和系统状态截然不同,把系统从混沌相态到大尺度周期相态的转变作为微弱周期或准周期信号的检测依据。所述混沌系统基于Duffing-Holmes,具体方法为:Further, step S1 uses the power transformer audio signal as a weak periodic or quasi-periodic disturbance signal of the chaotic system, using the perturbation and sensitivity of the chaotic system to parameters to cause essential changes in the phase state of the chaotic system, and through calculation and identification, Detect the audio signal from the power transformer. According to the fact that when a nonlinear dynamic system is in a chaotic state and a large-scale periodic state, the corresponding system phase is completely different from the system state, the transition of the system from the chaotic phase to the large-scale periodic phase is used to detect weak periodic or quasi-periodic signals. in accordance with. The chaotic system is based on Duffing-Holmes, and the specific method is:
S101.所述Duffing-Holmes振子方程为S101. The Duffing-Holmes oscillator equation is
其中,k为阻尼比,-x+x3为非线性回复力项,rcos(ωt)为周期策动力或激励信号,r为周期策动力幅值,Poincare映射Among them, k is the damping ratio, -x+x 3 is the nonlinear restoring force term, rcos(ωt) is the periodic driving force or excitation signal, r is the periodic driving force amplitude, Poincare map
存在Smale马蹄意义下的混沌;There is chaos in the sense of Smale;
S102.通过Melnikov方法计算产生混沌的阈值,r/k满足不等式r/k>Rm S102. Calculate the threshold of chaos through the Melnikov method, r/k satisfies the inequality r/k>R m
其中,Rm为参数r/k的m次谐轨分岔值,当r/k跨越分岔值Rm时,混沌系统在相空间中矢量场的拓扑性质会发生跃变;当r/k小于Rm时,系统处于混沌状态,不存在周期闭轨;当r/k大于Rm时,系统处于大周期状态,存在一簇周期闭轨。Among them, R m is the bifurcation value of the m-th harmonic orbit of parameter r/k. When r/k crosses the bifurcation value R m , the topological properties of the vector field of the chaotic system in the phase space will undergo a jump; when r/k When r/k is less than R m , the system is in a chaotic state and there is no periodic closed orbit; when r/k is greater than R m , the system is in a large periodic state and there is a cluster of periodic closed orbits.
进一步的,步骤S2梅尔频率倒谱技术具体计算方法包括以下步骤:Further, the specific calculation method of the Mel frequency cepstral technology in step S2 includes the following steps:
S201.采用高通滤波器对音频片段进行预加重,解决高频分量信号在传输过程中比低频信号损失大的问题:S201. Use a high-pass filter to pre-emphasize audio clips to solve the problem of high-frequency component signals losing more than low-frequency signals during transmission:
H(z)=1-bz-1 H(z)=1-bz -1
其中,b取0.98;Among them, b is 0.98;
S202.为避免离散FFT变换时两端点处发生突变,采用海明窗对音频片段进行加窗处理:S202. In order to avoid mutations at the two endpoints during discrete FFT transformation, Hamming windows are used to window the audio clips:
w[n]=0.54-0.46cos(2nπ/L)w[n]=0.54-0.46cos(2nπ/L)
其中,n表示采样点号,L表示窗长;Among them, n represents the sampling point number, and L represents the window length;
S203.对每一帧时域信号做N点离散傅里叶变换DFT,N≥L:S203. Perform N-point discrete Fourier transform DFT on each frame of time domain signal, N≥L:
S204.在声音频谱范围内设置若干带通滤波器Hm(k),0≤m<M,其中,M为滤波器的个数;S204. Set several bandpass filters H m (k) within the sound spectrum range, 0≤m<M, where M is the number of filters;
所述滤波器具有三角形滤波特性,中心频率为f(m),在Mel频率范围内滤波器是等带宽的;将实际频域采用下式变换到Mel频域The filter has triangular filtering characteristics, the center frequency is f(m), and the filter has equal bandwidth in the Mel frequency range; the actual frequency domain is converted to the Mel frequency domain using the following formula
m(f)=1125ln(1+f/700)m(f)=1125ln(1+f/700)
将限定的实际频率范围[fl,fh]映射到Mel频率范围[Fmell,Fmelh]并等分成M+1份,得到M个Mel中心频率,再将得到的M个Mel中心频率映射到实际频域,得到M个三角形滤波器在实际频域的中心频率;Map the limited actual frequency range [fl, fh] to the Mel frequency range [Fmell, Fmelh] and divide it equally into M+1 parts to obtain M Mel center frequencies, and then map the obtained M Mel center frequencies to the actual frequency domain , get the center frequencies of M triangular filters in the actual frequency domain;
根据实际频域的中心频率,确定Mel滤波器组的传递函数,其中,m为滤波器序号:According to the center frequency of the actual frequency domain, determine the transfer function of the Mel filter bank, where m is the filter number:
计算频域信号X(k)经过第m个梅尔滤波器输出的对数能量,表达式为:Calculate the logarithmic energy of the frequency domain signal X(k) output by the m-th Mel filter. The expression is:
其中,E(m)为对数能量,Hm(k)为梅尔滤波器组,X(k)为频域信号;Among them, E(m) is the logarithmic energy, H m (k) is the Mel filter bank, and X(k) is the frequency domain signal;
S205.经过离散余弦变换DCT得到Mel倒谱系数,表达式为S205. Obtain the Mel cepstral coefficient through discrete cosine transform DCT, the expression is:
其中:C(n)为第n个频率倒谱系数,E(m)为对数能量,M为梅尔滤波器的个数,即输出维数。Among them: C(n) is the nth frequency cepstral coefficient, E(m) is the logarithmic energy, and M is the number of Mel filters, that is, the output dimension.
进一步的,步骤S3采用主成分分析方法提取音频Mel倒频谱特征的主元成分,用X表示音频信号的Mel倒频谱特征矩阵,R表示X的相关系数矩阵,根据特征方程|R-λE|=0计算其特征值,即解特征方程Further, step S3 uses the principal component analysis method to extract the principal component of the audio Mel cepstrum feature, using X to represent the Mel cepstrum feature matrix of the audio signal, and R to represent the correlation coefficient matrix of X. According to the characteristic equation |R-λE|= 0 calculate its eigenvalue, that is, solve the characteristic equation
rnλm+rn-1λm-1+…+r1λ+r0=0r n λ m +r n-1 λ m-1 +…+r 1 λ+r 0 =0
求得特征值λ1,λ2,…,λm,并使特征值按从大到小的顺序排列,即λ1≥λ2≥…≥λm≥0,根据设定的累积贡献率阈值确定主元;其中,单个特征的贡献率为前k个特征值累计贡献为/>取累计贡献达85~95%的特征值所对应的第一、第二、…、第p(p≤m)个主成分。Obtain the eigenvalues λ 1 , λ 2 ,…, λ m , and arrange the eigenvalues in order from large to small, that is, λ 1 ≥λ 2 ≥…≥λ m ≥0, according to the set cumulative contribution rate threshold Determine the main component; among them, the contribution rate of a single feature is The cumulative contribution of the first k eigenvalues is/> Take the first, second, ..., and p (p≤m) principal components corresponding to the eigenvalues whose cumulative contribution reaches 85 to 95%.
进一步的,步骤S4中采用向量机算法训练预测模型的方法为:Further, the method of using the vector machine algorithm to train the prediction model in step S4 is:
给定训练样本集为{(xi,yi)|i=1,2,…,l},其中,xi∈Rn表示输入向量,yi∈R表示输出结果,采用非线性映射将输入向量xi映射到更高维特征空间Rk(k>n),在该空间中构造一个最优超平面/>使所有样本点离超平面的“总偏差”最小,The given training sample set is {( xi ,y i )|i=1,2,...,l}, where x i ∈R n represents the input vector, y i ∈R represents the output result, and nonlinear mapping is used. Map the input vector x i to a higher-dimensional feature space R k (k>n), and construct an optimal hyperplane in this space/> Minimize the "total deviation" of all sample points from the hyperplane,
其中,ω表示权系数向量;b为偏置常数;Among them, ω represents the weight coefficient vector; b is the bias constant;
采用ε-不敏感损失函数,样本点与最优超平面的偏差可以表示为Using the ε-insensitive loss function, the deviation of the sample point from the optimal hyperplane can be expressed as
c(x,y,f(x))=max(0,|y-f(x)|-ε)c(x,y,f(x))=max(0,|y-f(x)|-ε)
其中,ε表示允许的误差;Among them, ε represents the allowable error;
加入松弛因子ξi、当划分有误差时,ξi、/>均大于0;当划分无误差时,ξi、/>均取0,转换为求优化目标函数最小化问题:Add relaxation factor ξ i , When there is an error in the division, ξ i ,/> are all greater than 0; when there is no error in the division, ξ i ,/> Take all 0 and convert it into a problem of minimizing the optimization objective function:
其中,C表示惩罚因子,转换为凸二次优化问题;采用Lagrange系数方法并根据最优化条件KKT解决约束最优问题Among them, C represents the penalty factor, which is converted into a convex quadratic optimization problem; the Lagrange coefficient method is used to solve the constrained optimal problem according to the optimization condition KKT
其中,αi、表示Lagrange系数,SV表示支持向量。Among them, α i , represents the Lagrange coefficient, and SV represents the support vector.
进一步的,步骤S4中采用量子粒子群算法优化SVM的最优超参数,设粒子种群规模为m,粒子维度为D,每个粒子的位置代表了该粒子当前的解,第i个粒子有以下属性:Further, in step S4, the quantum particle swarm algorithm is used to optimize the optimal hyperparameters of SVM. Let the particle population size be m and the particle dimension be D. The position of each particle represents the current solution of the particle. The i-th particle has the following Attributes:
当前位置:xi=(xi1,xi2,…,xiD);Current position: x i =(x i1 ,x i2 ,…,x iD );
历史最优位置:pi=(pi1,pi2,…piD);Historical optimal position: p i = (p i1 , p i2 ,...p iD );
所有粒子历史最优位置的平均值为The average of the historical optimal positions of all particles is
粒子的下一次位置按照下式更新The next position of the particle is updated according to the following formula
其中,gbest为全局最优位置;α为压缩-扩张因子;和u为(0,1)上的均匀分布数值;取+和-的概率为0.5。Among them, g best is the global optimal position; α is the compression-expansion factor; and u are uniformly distributed values on (0,1); the probability of taking + and - is 0.5.
进一步的,步骤S5中1/3倍频程基于功率谱的方法计算电力变压器音频信号,电力变压器音频信号按步骤S202所述方法加窗分帧,每一帧的1/3倍频程幅值计算结果记为x=(x1,x2,…,x29),并基于1/3倍频程幅值计算电力变压器音频信号的T2和SEP统计量,Further, in step S5, the 1/3 octave band calculates the power transformer audio signal based on the power spectrum method. The power transformer audio signal is windowed and framed according to the method described in step S202. The 1/3 octave band amplitude of each frame The calculation results are recorded as
T2统计量衡量样本x在主元空间的变化:The T 2 statistic measures the change of sample x in the pivot space:
其中,Λ=(λ1,λ2,...,λp),为置信度为α的控制限;Among them, Λ=(λ 1 , λ 2 ,..., λ p ), is the control limit with a confidence level of α;
控制限的常用计算方法为:The common calculation method for control limits is:
其中,Fα(p,n-p)是带有p和n-p个自由度、置信度为α的F分布值;Among them, F α (p, np) is the F distribution value with p and np degrees of freedom and confidence level α;
SEP指标衡量样本向量x在残差空间的投影的变化:The SEP metric measures the change in the projection of the sample vector x in the residual space:
其中,表示置信度为α的控制限;in, Represents the control limit with a confidence level of α;
的计算公式为: The calculation formula is:
其中,i=1,2,3,/> 为X的协方差矩阵的特征值,Cα为标准正态分布在置信度为α的阈值;in, i=1,2,3,/> is the eigenvalue of the covariance matrix of X, C α is the threshold of the standard normal distribution at the confidence level α;
基于T2的贡献图的定义如下:The contribution graph based on T2 is defined as follows:
基于SPE的贡献图定义如下:The SPE-based contribution graph is defined as follows:
其中, in,
当检测到所述T2或SEP统计量超过阈值后,贡献图最大的倍频程所对应的频率范围被认为是故障特征频率,通过与专家经验规则进行对比,得出电力变压器可能发生的故障类型。When it is detected that the T 2 or SEP statistic exceeds the threshold, the frequency range corresponding to the largest octave of the contribution map is considered to be the fault characteristic frequency. By comparing it with expert experience rules, the possible faults of the power transformer are obtained. type.
一种基于音频特征的电力变压器故障预测与诊断系统,包括现场设备层、传感设备层、边缘网关层、AI大数据平台、外部服务层;所述传感设备层将实时采集的电力变压器音频数据上传至边缘网关层;所述边缘网关层根据已经发布的预测模型和接收到的实时音频数据预测电力变压器的运行状态,若电力变压器处于故障状态,则边缘网关将电力变压器音频数据上传给AI大数据平台进行故障诊断;所述AI大数据平台接收到故障信息后会生成告警事件,同时,会根据接收到的实时数据对电力变压器进行故障诊断;所述外部服务层提供电力变压器故障预测与诊断系统的展示页面。A power transformer fault prediction and diagnosis system based on audio characteristics, including a field device layer, a sensing device layer, an edge gateway layer, an AI big data platform, and an external service layer; the sensing device layer collects the power transformer audio in real time The data is uploaded to the edge gateway layer; the edge gateway layer predicts the operating status of the power transformer based on the published prediction model and the received real-time audio data. If the power transformer is in a fault state, the edge gateway uploads the power transformer audio data to the AI The big data platform performs fault diagnosis; the AI big data platform will generate an alarm event after receiving the fault information, and at the same time, perform fault diagnosis on the power transformer based on the real-time data received; the external service layer provides power transformer fault prediction and Diagnostic system display page.
进一步的,AI大数据平台可以进行定时训练和发布预测模型、定时对电力变压器健康状态进行评估、设备管理、数据处理、数据服务、设备紧急控制。Furthermore, the AI big data platform can perform regular training and release of prediction models, regular assessment of the health status of power transformers, equipment management, data processing, data services, and equipment emergency control.
进一步的,设备传感层还将实时采集的电力变压器温度数据,和/或,红外图像上传至边缘网关层;还可以通过基于电力变压器的其他量测数据或红外图像进行故障检测和判断。Furthermore, the equipment sensing layer will also upload real-time collected power transformer temperature data and/or infrared images to the edge gateway layer; fault detection and judgment can also be performed through other measurement data or infrared images based on the power transformer.
与现有的技术相比,本发明的优点在于:Compared with existing technology, the advantages of the present invention are:
1.本发明根据混沌系统对参数的摄动和敏感性是使混沌系统相态发生本质变化的特性,采用计算辨识的方法,检测出电力变压器运行状态下的有效的音频信号,用于后续的故障预测;1. According to the fact that the perturbation and sensitivity of the chaotic system to parameters are the characteristics that cause essential changes in the phase state of the chaotic system, the present invention adopts the method of calculation and identification to detect the effective audio signal in the operating state of the power transformer for subsequent processing. Failure prediction;
2.本发明采用梅尔频率倒谱技术,使用提取到的有效音频信号计算其在非线性梅尔刻度上的对数能量谱作为音频信号的特征量,提高故障预测的识别精度;2. The present invention adopts Mel frequency cepstral technology and uses the extracted effective audio signal to calculate its logarithmic energy spectrum on the nonlinear Mel scale as the characteristic quantity of the audio signal to improve the identification accuracy of fault prediction;
3.本发明采用PCA方法分析音频信号Mel倒频谱系数的主元成分,约减非主要成分,进一步提高模型的预测精度,减少计算量;3. The present invention uses the PCA method to analyze the principal components of the Mel cepstrum coefficients of the audio signal, reducing the non-main components, further improving the prediction accuracy of the model and reducing the amount of calculation;
4.本发明采用量子粒子群算法优化SVM的超参数,有效提高搜索效率;当检测到电力变压器发生故障时,通过计算电力变压器音频信号的1/3倍频程,根据专家经验规则推测出电力变压器可能发生的故障类型,并给出处理意见;4. The present invention uses the quantum particle swarm algorithm to optimize the hyperparameters of the SVM, effectively improving the search efficiency; when a power transformer failure is detected, the power transformer is calculated based on the 1/3 octave frequency range of the audio signal of the power transformer and based on expert experience rules. Types of faults that may occur in the transformer and provide treatment suggestions;
5.本发明电力变压器故障预测与诊断系统,除支持基于声音信号对电力变压器运行状态进行故障预测与诊断之外,还支持基于电力变压器的其他量测数据或红外图像进行判断。5. The power transformer fault prediction and diagnosis system of the present invention not only supports fault prediction and diagnosis of the operating status of the power transformer based on sound signals, but also supports judgment based on other measurement data or infrared images of the power transformer.
本发明的其它优点、目标和特征将部分通过下面的说明体现,部分还将通过对本发明的研究和实践而为本领域的技术人员所理解。Other advantages, objects, and features of the present invention will be apparent in part from the description below, and in part will be understood by those skilled in the art through study and practice of the present invention.
附图说明Description of drawings
图1是本发明电力变压器故障预测与诊断系统的结构图;Figure 1 is a structural diagram of the power transformer fault prediction and diagnosis system of the present invention;
图2是本发明电力变压器故障预测与诊断方法的流程图;Figure 2 is a flow chart of the power transformer fault prediction and diagnosis method of the present invention;
图3是本发明Mel倒频谱计算步骤图;Figure 3 is a diagram of the Mel cepstrum calculation steps of the present invention;
图4是本发明量子粒子群算法流程图;Figure 4 is a flow chart of the quantum particle swarm algorithm of the present invention;
图5是本发明1/3倍频程算法流程图。Figure 5 is a flow chart of the 1/3 octave algorithm of the present invention.
其中,现场设备层1、传感设备层2、边缘网关层3、AI大数据平台4、外部服务层5。Among them, there are field device layer 1, sensing device layer 2, edge gateway layer 3, AI big data platform 4, and external service layer 5.
具体实施方式Detailed ways
下面结合附图和具体实施方式对本实用新型做进一步详细的说明。The utility model will be described in further detail below in conjunction with the accompanying drawings and specific implementation modes.
实施例1:Example 1:
如图2所示,一种基于音频特征的电力变压器故障预测与诊断方法,具体步骤包括:As shown in Figure 2, a power transformer fault prediction and diagnosis method based on audio features, the specific steps include:
S1.基于混沌振子检测强噪声背景下电力变压器音频数据的有效信号;S1. Based on chaotic oscillator detection of effective signals of power transformer audio data under strong noise background;
S2.针对所述步骤S1中提取的音频有效信号,采用Mel梅尔频率倒谱技术,计算在非线性梅尔刻度上的对数能量谱,作为电力变压器音频信号的特征量;在提取过程中进行Mel尺度变换,这种非线性变换使声音信号具有更高的抗噪性能;S2. For the effective audio signal extracted in step S1, use Mel frequency cepstrum technology to calculate the logarithmic energy spectrum on the nonlinear Mel scale as the characteristic quantity of the power transformer audio signal; during the extraction process Perform Mel scale transformation. This nonlinear transformation makes the sound signal have higher anti-noise performance;
S3.采用PCA主成分分析方法计算所述电力变压器音频信号特征量的主元成分;S3. Use the PCA principal component analysis method to calculate the principal component components of the audio signal features of the power transformer;
S4.采用QPSO量子粒子群算法优化SVM向量机算法的最优超参数训练电力变压器故障预测模型;S4. Use the QPSO quantum particle swarm algorithm to optimize the optimal hyperparameters of the SVM vector machine algorithm to train the power transformer fault prediction model;
S5.若所述电力变压器处于故障状态,则采用1/3倍频程算法提取故障特征频程幅值,并基于1/3倍频程幅值计算电力变压器音频信号的T2和SEP统计量,找出T2或SEP统计量超过阈值时对T2或SEP统计量贡献量最大的倍频程对应的频率范围,作为电力变压器故障音频特征,与专家经验规则库进行对比,预测或得出电力变压器发生的故障类型。S5. If the power transformer is in a fault state, use the 1/3 octave band algorithm to extract the fault characteristic frequency band amplitude, and calculate the T2 and SEP statistics of the power transformer audio signal based on the 1/3 octave band amplitude. Find out the frequency range corresponding to the octave that contributes the most to T 2 or SEP statistics when T 2 or SEP statistics exceeds the threshold, as the power transformer fault audio characteristics, compare it with the expert experience rule base, and predict or derive power Type of fault that occurs in the transformer.
本实施例步骤S1将电力变压器音频信号作为混沌系统的一种微弱周期或准周期扰动信号,利用混沌系统对参数的摄动和敏感性使混沌系统相态发生本质变化的特点,通过计算辨识,将电力变压器音频信号检测出来。根据非线性动力学系统在混沌状态和大尺度周期状态时,相应的系统相态和系统状态截然不同,把系统从混沌相态到大尺度周期相态的转变作为微弱周期或准周期信号的检测依据。所述混沌系统基于Duffing-Holmes,具体方法为:Step S1 of this embodiment uses the power transformer audio signal as a weak periodic or quasi-periodic disturbance signal of the chaotic system. The perturbation and sensitivity of the chaotic system to parameters are used to cause the phase state of the chaotic system to undergo essential changes. Through calculation and identification, Detect the audio signal from the power transformer. According to the fact that when a nonlinear dynamic system is in a chaotic state and a large-scale periodic state, the corresponding system phase is completely different from the system state, the transition of the system from the chaotic phase to the large-scale periodic phase is used to detect weak periodic or quasi-periodic signals. in accordance with. The chaotic system is based on Duffing-Holmes, and the specific method is:
S101.所述Duffing-Holmes振子方程为S101. The Duffing-Holmes oscillator equation is
其中,k为阻尼比,-x+x3为非线性回复力项,rcos(ωt)为周期策动力或激励信号,r为周期策动力幅值,Poincare映射Among them, k is the damping ratio, -x+x 3 is the nonlinear restoring force term, rcos(ωt) is the periodic driving force or excitation signal, r is the periodic driving force amplitude, Poincare map
存在Smale马蹄意义下的混沌;There is chaos in the sense of Smale;
S102.通过Melnikov方法计算产生混沌的阈值,r/k满足不等式r/k>Rm S102. Calculate the threshold of chaos through the Melnikov method, r/k satisfies the inequality r/k>R m
其中,Rm为参数r/k的m次谐轨分岔值,当r/k跨越分岔值Rm时,混沌系统在相空间中矢量场的拓扑性质会发生跃变;当r/k小于Rm时,系统处于混沌状态,不存在周期闭轨;当r/k大于Rm时,系统处于大周期状态,存在一簇周期闭轨。Among them, R m is the bifurcation value of the m-th harmonic orbit of parameter r/k. When r/k crosses the bifurcation value R m , the topological properties of the vector field of the chaotic system in the phase space will undergo a jump; when r/k When r/k is less than R m , the system is in a chaotic state and there is no periodic closed orbit; when r/k is greater than R m , the system is in a large periodic state and there is a cluster of periodic closed orbits.
如图3所示,步骤S2梅尔频率倒谱技术具体计算方法包括以下步骤:As shown in Figure 3, the specific calculation method of step S2 Mel frequency cepstrum technology includes the following steps:
S201.采用高通滤波器对音频片段进行预加重,解决高频分量信号在传输过程中比低频信号损失大的问题:S201. Use a high-pass filter to pre-emphasize audio clips to solve the problem of high-frequency component signals losing more than low-frequency signals during transmission:
H(z)=1-bz-1 H(z)=1-bz -1
其中,b取0.98;Among them, b is 0.98;
S202.为避免离散FFT变换时两端点处发生突变,采用海明窗对音频片段进行加窗处理:S202. In order to avoid mutations at the two endpoints during discrete FFT transformation, Hamming windows are used to window the audio clips:
w[n]=0.54-0.46cos(2nπ/L)w[n]=0.54-0.46cos(2nπ/L)
其中,n表示采样点号,L表示窗长;Among them, n represents the sampling point number, and L represents the window length;
S203.对每一帧时域信号做N点离散傅里叶变换DFT,N≥L:S203. Perform N-point discrete Fourier transform DFT on each frame of time domain signal, N≥L:
S204.在声音频谱范围内设置若干带通滤波器Hm(k),0≤m<M,其中,M为滤波器的个数;S204. Set several bandpass filters H m (k) within the sound spectrum range, 0≤m<M, where M is the number of filters;
所述滤波器具有三角形滤波特性,中心频率为f(m),在Mel频率范围内滤波器是等带宽的;将实际频域采用下式变换到Mel频域The filter has triangular filtering characteristics, the center frequency is f(m), and the filter has equal bandwidth in the Mel frequency range; the actual frequency domain is converted to the Mel frequency domain using the following formula
m(f)=1125ln(1+f/700)m(f)=1125ln(1+f/700)
将限定的实际频率范围[fl,fh]映射到Mel频率范围[Fmell,Fmelh]并等分成M+1份,得到M个Mel中心频率,再将得到的M个Mel中心频率映射到实际频域,得到M个三角形滤波器在实际频域的中心频率;Map the limited actual frequency range [fl, fh] to the Mel frequency range [Fmell, Fmelh] and divide it equally into M+1 parts to obtain M Mel center frequencies, and then map the obtained M Mel center frequencies to the actual frequency domain , get the center frequencies of M triangular filters in the actual frequency domain;
根据实际频域的中心频率,确定Mel滤波器组的传递函数,其中,m为滤波器序号:According to the center frequency of the actual frequency domain, determine the transfer function of the Mel filter bank, where m is the filter number:
计算频域信号X(k)经过第m个梅尔滤波器输出的对数能量,表达式为:Calculate the logarithmic energy of the frequency domain signal X(k) output by the m-th Mel filter. The expression is:
其中,E(m)为对数能量,Hm(k)为梅尔滤波器组,X(k)为频域信号;Among them, E(m) is the logarithmic energy, H m (k) is the Mel filter bank, and X(k) is the frequency domain signal;
S205.经过离散余弦变换DCT得到Mel倒谱系数,表达式为S205. Obtain the Mel cepstral coefficient through discrete cosine transform DCT, the expression is:
其中:C(n)为第n个频率倒谱系数,E(m)为对数能量,M为梅尔滤波器的个数,即输出维数。Among them: C(n) is the nth frequency cepstral coefficient, E(m) is the logarithmic energy, and M is the number of Mel filters, that is, the output dimension.
本实施例步骤S3采用主成分分析方法提取音频Mel倒频谱特征的主元成分,用X表示音频信号的Mel倒频谱特征矩阵,R表示X的相关系数矩阵,根据特征方程|R-λE|=0计算其特征值,即解特征方程In step S3 of this embodiment, the principal component analysis method is used to extract the principal component of the audio Mel cepstrum feature. X represents the Mel cepstral feature matrix of the audio signal, and R represents the correlation coefficient matrix of X. According to the characteristic equation |R-λE|= 0 calculate its eigenvalue, that is, solve the characteristic equation
rnλm+rn-1λm-1+…+r1λ+r0=0r n λ m +r n-1 λ m-1 +…+r 1 λ+r 0 =0
求得特征值λ1,λ2,…,λm,并使特征值按从大到小的顺序排列,即λ1≥λ2≥…≥λm≥0,根据设定的累积贡献率阈值确定主元;其中,单个特征的贡献率为前k个特征值累计贡献为/>取累计贡献达85~95%的特征值所对应的第一、第二、…、第p(p≤m)个主成分。Obtain the eigenvalues λ 1 , λ 2 ,…, λ m , and arrange the eigenvalues in order from large to small, that is, λ 1 ≥λ 2 ≥…≥λ m ≥0, according to the set cumulative contribution rate threshold Determine the main component; among them, the contribution rate of a single feature is The cumulative contribution of the first k eigenvalues is/> Take the first, second, ..., and p (p≤m) principal components corresponding to the eigenvalues whose cumulative contribution reaches 85 to 95%.
进一步的,步骤S4中采用向量机算法训练预测模型的方法为:Further, the method of using the vector machine algorithm to train the prediction model in step S4 is:
给定训练样本集为{(xi,yi)|i=1,2,…,l},其中,xi∈Rn表示输入向量,yi∈R表示输出结果,采用非线性映射将输入向量xi映射到更高维特征空间Rk(k>n),在该空间中构造一个最优超平面/>使所有样本点离超平面的“总偏差”最小,The given training sample set is {( xi ,y i )|i=1,2,...,l}, where x i ∈R n represents the input vector, y i ∈R represents the output result, and nonlinear mapping is used. Map the input vector x i to a higher-dimensional feature space R k (k>n), and construct an optimal hyperplane in this space/> Minimize the "total deviation" of all sample points from the hyperplane,
其中,ω表示权系数向量;b为偏置常数;Among them, ω represents the weight coefficient vector; b is the bias constant;
采用ε-不敏感损失函数,样本点与最优超平面的偏差可以表示为Using the ε-insensitive loss function, the deviation of the sample point from the optimal hyperplane can be expressed as
c(x,y,f(x))=max(0,|y-f(x)|-ε)c(x,y,f(x))=max(0,|y-f(x)|-ε)
其中,ε表示允许的误差;Among them, ε represents the allowable error;
加入松弛因子ξi、当划分有误差时,ξi、/>均大于0;当划分无误差时,ξi、/>均取0,转换为求优化目标函数最小化问题:Add relaxation factor ξ i , When there is an error in the division, ξ i ,/> are all greater than 0; when there is no error in the division, ξ i ,/> Take all 0 and convert it into a problem of minimizing the optimization objective function:
其中,C表示惩罚因子,转换为凸二次优化问题;采用Lagrange系数方法并根据最优化条件KKT解决约束最优问题Among them, C represents the penalty factor, which is converted into a convex quadratic optimization problem; the Lagrange coefficient method is used to solve the constrained optimal problem according to the optimization condition KKT.
其中,αi、表示Lagrange系数,SV表示支持向量。Among them, α i , represents the Lagrange coefficient, and SV represents the support vector.
本实施例步骤S4中采用量子粒子群算法优化SVM的最优超参数,模拟生物群体行为或生物进化规律的启发式智能优化算法,以随机或近似随机的方式搜索或逼近非线性复杂空间的全局最优解,能够有效提高搜索效率。以量子粒子群算法(Quantum ParticleSwarm Optimization,QSPO)为例,其取消了粒子移动方向这个属性,增加了粒子位置的随机性,不仅所需设置的参数比粒子群算法更少,而且降低了粒子初始随机位置对搜索结果的影响。设粒子种群规模为m,粒子维度为D,每个粒子的位置代表了该粒子当前的解,第i个粒子有以下属性:In step S4 of this embodiment, the quantum particle swarm algorithm is used to optimize the optimal hyperparameters of SVM, a heuristic intelligent optimization algorithm that simulates the behavior of biological groups or biological evolution rules, and searches or approximates the global situation of nonlinear complex space in a random or approximately random manner. The optimal solution can effectively improve search efficiency. Take the Quantum Particle Swarm Optimization (QSPO) as an example. It cancels the attribute of particle movement direction and increases the randomness of particle position. Not only does it require fewer parameters to be set than the particle swarm algorithm, but it also reduces the particle initialization time. The impact of random location on search results. Assume the size of the particle population is m and the particle dimension is D. The position of each particle represents the current solution of the particle. The i-th particle has the following attributes:
当前位置:xi=(xi1,xi2,…,xiD);Current position: x i =(x i1 ,x i2 ,…,x iD );
历史最优位置:pi=(pi1,pi2,…piD);Historical optimal position: p i = (p i1 , p i2 ,...p iD );
所有粒子历史最优位置的平均值为The average of the historical optimal positions of all particles is
粒子的下一次位置按照下式更新The next position of the particle is updated according to the following formula
其中,gbest为全局最优位置;α为压缩-扩张因子;和u为(0,1)上的均匀分布数值;取+和-的概率为0.5。Among them, g best is the global optimal position; α is the compression-expansion factor; and u are uniformly distributed values on (0,1); the probability of taking + and - is 0.5.
本实施例中QSPO算法流程如附图4所示,其具体步骤如下:The QSPO algorithm flow in this embodiment is shown in Figure 4, and its specific steps are as follows:
(1)设置种群规模m、粒子维数D、压缩-扩张因子α、最大迭代次数iter、粒子解空间范围等参数;(1) Set parameters such as population size m, particle dimension D, compression-expansion factor α, maximum iteration number iter, particle solution space range, etc.;
(2)初始化粒子当前位置xi、粒子历史最优位置pi、粒子历史适应度函数值fitpi、全局最优位置gbest;(2) Initialize the current position of the particle x i , the historical optimal position of the particle p i , the historical fitness function value of the particle fit pi , and the global optimal position g best ;
(3)计算当前所有粒子适应度函数值fiti,搜索当前所有粒子最优适应度函数值fitbest及其对应的最优位置;(3) Calculate the current fitness function value fit i of all particles, and search for the current optimal fitness function value fit best of all particles and their corresponding optimal positions;
(4)更新全局历史最优位置gbest及其对应的历史最优种群适应度函数值fitgbest,更新所有粒子历史最优位置pi及其历史最优种群适应度fitpi;(4) Update the global historical optimal position gb est and its corresponding historical optimal population fitness function value fit gbest , update the historical optimal position p i of all particles and its historical optimal population fitness fit pi ;
(5)重复步骤(3-4)直至达到最大迭代次数iter,输出当前全局最优位置gbest。(5) Repeat steps (3-4) until the maximum number of iterations iter is reached, and output the current global optimal position g best .
如图5所示,步骤S5中1/3倍频程基于功率谱的方法计算电力变压器音频信号,电力变压器音频信号按步骤S202所述方法加窗分帧,每一帧的1/3倍频程幅值计算结果记为x=(x1,x2,…,x29),并基于1/3倍频程幅值计算电力变压器音频信号的T2和SEP统计量(也称Q统计量),As shown in Figure 5, in step S5, the 1/3 octave frequency band is used to calculate the power transformer audio signal based on the power spectrum. The power transformer audio signal is windowed and framed according to the method described in step S202. The 1/3 octave frequency of each frame is The calculation results of the range amplitude are recorded as ),
T2统计量衡量样本x在主元空间的变化:The T 2 statistic measures the change of sample x in the pivot space:
其中,Λ=(λ1,λ2,...,λp),为置信度为α的控制限;Among them, Λ=(λ 1 , λ 2 ,..., λ p ), is the control limit with a confidence level of α;
控制限的常用计算方法为:The common calculation method for control limits is:
其中,Fα(p,n-p)是带有p和n-p个自由度、置信度为α的F分布值;Among them, F α (p, np) is the F distribution value with p and np degrees of freedom and confidence level α;
SEP指标衡量样本向量x在残差空间的投影的变化:The SEP metric measures the change in the projection of the sample vector x in the residual space:
其中,表示置信度为α的控制限;in, Represents the control limit with a confidence level of α;
的计算公式为: The calculation formula is:
其中,i=1,2,3,/> 为X的协方差矩阵的特征值,Cα为标准正态分布在置信度为α的阈值;in, i=1,2,3,/> is the eigenvalue of the covariance matrix of X, C α is the threshold of the standard normal distribution at the confidence level α;
基于T2的贡献图的定义如下:The T2-based contribution graph is defined as follows:
基于SPE的贡献图定义如下:The SPE-based contribution graph is defined as follows:
其中, in,
当检测到所述T2或SEP统计量超过阈值后,贡献图最大的倍频程所对应的频率范围被认为是故障特征频率,通过与专家经验规则进行对比,得出电力变压器可能发生的故障类型。When it is detected that the T2 or SEP statistic exceeds the threshold, the frequency range corresponding to the largest octave of the contribution map is considered to be the fault characteristic frequency. By comparing it with expert experience rules, the possible fault types of the power transformer can be obtained. .
实施例2:Example 2:
如图1所示,本发明还提供一种基于音频特征的电力变压器故障预测与诊断系统,包括现场设备层1、传感设备层2、边缘网关层3、AI大数据平台4、外部服务层5;所述传感设备层2将实时采集的电力变压器音频数据上传至边缘网关层3;所述边缘网关层3根据已经发布的预测模型和接收到的实时音频数据预测电力变压器的运行状态,若电力变压器处于故障状态,则边缘网关层3将电力变压器音频数据上传给AI大数据平台4进行故障诊断;所述AI大数据平台4接收到故障信息后会生成告警事件,同时,会根据接收到的实时数据对电力变压器进行故障诊断;所述外部服务层5提供电力变压器故障预测与诊断系统的展示页面。As shown in Figure 1, the present invention also provides a power transformer fault prediction and diagnosis system based on audio characteristics, including a field device layer 1, a sensing device layer 2, an edge gateway layer 3, an AI big data platform 4, and an external service layer. 5; The sensing device layer 2 uploads the real-time collected audio data of the power transformer to the edge gateway layer 3; the edge gateway layer 3 predicts the operating status of the power transformer based on the published prediction model and the received real-time audio data, If the power transformer is in a fault state, the edge gateway layer 3 uploads the power transformer audio data to the AI big data platform 4 for fault diagnosis; the AI big data platform 4 will generate an alarm event after receiving the fault information, and at the same time, it will generate an alarm event based on the received fault information. The obtained real-time data is used to perform fault diagnosis on the power transformer; the external service layer 5 provides a display page of the power transformer fault prediction and diagnosis system.
本实施例AI大数据平台4可以进行定时训练和发布预测模型、定时对电力变压器健康状态进行评估、设备管理、数据处理、数据服务、设备紧急控制。The AI big data platform 4 in this embodiment can perform regular training and release of prediction models, regular assessment of the health status of power transformers, equipment management, data processing, data services, and equipment emergency control.
本实施例传感设备层2还将实时采集的电力变压器温度数据,和/或,红外图像上传至边缘网关层3;还可以通过基于电力变压器的其他量测数据或红外图像进行故障检测和判断。In this embodiment, the sensing equipment layer 2 will also upload real-time collected power transformer temperature data and/or infrared images to the edge gateway layer 3; it can also perform fault detection and judgment based on other measurement data or infrared images of the power transformer. .
本文中所描述的具体实施例仅仅是对本发明精神作举例说明。本发明所属技术领域的技术人员可以对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,但并不会偏离本发明的精神或者超越所附权利要求书所定义的范围。The specific embodiments described herein are merely illustrative of the spirit of the invention. Those skilled in the art to which the present invention belongs can make various modifications or additions to the described specific embodiments or substitute them in similar ways, but this will not deviate from the spirit of the present invention or exceed the definition of the appended claims. range.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011187629.3A CN112395959B (en) | 2020-10-30 | 2020-10-30 | Power transformer fault prediction and diagnosis method and system based on audio frequency characteristics |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011187629.3A CN112395959B (en) | 2020-10-30 | 2020-10-30 | Power transformer fault prediction and diagnosis method and system based on audio frequency characteristics |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112395959A CN112395959A (en) | 2021-02-23 |
CN112395959B true CN112395959B (en) | 2024-01-02 |
Family
ID=74598465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011187629.3A Active CN112395959B (en) | 2020-10-30 | 2020-10-30 | Power transformer fault prediction and diagnosis method and system based on audio frequency characteristics |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112395959B (en) |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112880750A (en) * | 2021-03-26 | 2021-06-01 | 山东和兑智能科技有限公司 | Transformer multidimensional comprehensive online monitoring intelligent diagnosis system |
CN113076860B (en) * | 2021-03-30 | 2022-02-25 | 南京大学环境规划设计研究院集团股份公司 | Bird detection system under field scene |
CN113075512B (en) * | 2021-04-01 | 2024-10-22 | 国网陕西省电力有限公司电力科学研究院 | Transformer discharge fault diagnosis method and system based on acoustic detection |
CN113253156B (en) * | 2021-05-17 | 2023-01-06 | 国网江苏省电力有限公司检修分公司 | A Diagnosis Method for Transformer Latent Defects Based on Sound Monitoring |
CN113608958B (en) * | 2021-07-06 | 2023-05-23 | 国网宁夏电力有限公司电力科学研究院 | Power equipment online monitoring error data diagnosis method based on time sequence chaos characteristic |
CN113985156A (en) * | 2021-09-07 | 2022-01-28 | 绍兴电力局柯桥供电分局 | Intelligent fault identification method based on transformer voiceprint big data |
CN113740779B (en) * | 2021-09-10 | 2023-09-19 | 杭州电力设备制造有限公司 | Distribution transformer status identification method, system, device and storage medium |
CN114019310B (en) * | 2021-11-08 | 2024-02-20 | 国网湖南省电力有限公司 | Open-circuit fault pre-judging method, equipment and medium for energy storage converter |
CN114137444B (en) * | 2021-11-29 | 2024-04-02 | 国网山东省电力公司日照供电公司 | A method and system for monitoring transformer operating status based on acoustic signals |
CN114279727B (en) * | 2021-12-03 | 2024-02-09 | 国网江苏省电力有限公司宿迁供电分公司 | Method for judging aging of transformer cooling device |
CN114238368A (en) * | 2021-12-07 | 2022-03-25 | 广东电网有限责任公司广州供电局 | Transformer fault diagnosis method and device, computer equipment and readable storage medium |
CN114581398A (en) * | 2022-03-01 | 2022-06-03 | 江苏苏云信息科技有限公司 | Tobacco groove fault detection system that shakes based on multimode signal |
CN115860714B (en) * | 2022-11-28 | 2023-08-08 | 珠海德瑞斯科技有限公司 | Power equipment safe operation management system and method based on industrial Internet |
CN116007742A (en) * | 2022-11-30 | 2023-04-25 | 中国南方电网有限责任公司超高压输电公司广州局 | Transformer abnormal sound detection method, device, equipment and storage medium |
CN117150791B (en) * | 2023-09-05 | 2024-03-26 | 正泰电气股份有限公司 | Method and device for optimally designing main insulation structure of transformer |
CN117109730B (en) * | 2023-10-23 | 2024-01-12 | 山东和兑智能科技有限公司 | Transformer fault diagnosis system and method based on artificial intelligence |
CN117131366B (en) * | 2023-10-26 | 2024-02-06 | 北京国电通网络技术有限公司 | Transformer maintenance equipment control method and device, electronic equipment and readable medium |
CN117713385B (en) * | 2024-02-05 | 2024-05-03 | 威海双城电气有限公司 | Electric power detection system and method based on combination of quantum computation and artificial intelligence |
CN119314494B (en) * | 2024-12-16 | 2025-03-04 | 国网山东省电力公司济南供电公司 | Cable defect identification method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103884421A (en) * | 2014-03-24 | 2014-06-25 | 重庆邮电大学 | Duffing oscillator weak-signal detection method based on united denoising and pseudo Hamiltonian |
CN108535648A (en) * | 2018-03-29 | 2018-09-14 | 上海交通大学 | Method of Motor Fault Diagnosis and system |
CN108562853A (en) * | 2018-03-29 | 2018-09-21 | 上海交通大学 | Method of Motor Fault Diagnosis based on error correcting output codes support vector machines and system |
CN109357749A (en) * | 2018-09-04 | 2019-02-19 | 南京理工大学 | A DNN algorithm-based audio signal analysis method for power equipment |
CN110208022A (en) * | 2019-06-12 | 2019-09-06 | 济南雷森科技有限公司 | Power equipment multiple features audio-frequency fingerprint fault diagnosis method and system based on machine learning |
CN110335617A (en) * | 2019-05-24 | 2019-10-15 | 国网新疆电力有限公司乌鲁木齐供电公司 | A Noise Analysis Method in Substation |
CN110490071A (en) * | 2019-07-12 | 2019-11-22 | 国网上海市电力公司 | A kind of substation's Abstraction of Sound Signal Characteristics based on MFCC |
CN110969096A (en) * | 2019-11-07 | 2020-04-07 | 国电南京自动化股份有限公司 | Motor fault mode diagnosis method based on particle swarm optimization support vector machine |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8055401B2 (en) * | 2009-01-27 | 2011-11-08 | GM Global Technology Operations LLC | Transmission auxiliary pump diagnosis method and apparatus |
-
2020
- 2020-10-30 CN CN202011187629.3A patent/CN112395959B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103884421A (en) * | 2014-03-24 | 2014-06-25 | 重庆邮电大学 | Duffing oscillator weak-signal detection method based on united denoising and pseudo Hamiltonian |
CN108535648A (en) * | 2018-03-29 | 2018-09-14 | 上海交通大学 | Method of Motor Fault Diagnosis and system |
CN108562853A (en) * | 2018-03-29 | 2018-09-21 | 上海交通大学 | Method of Motor Fault Diagnosis based on error correcting output codes support vector machines and system |
CN109357749A (en) * | 2018-09-04 | 2019-02-19 | 南京理工大学 | A DNN algorithm-based audio signal analysis method for power equipment |
CN110335617A (en) * | 2019-05-24 | 2019-10-15 | 国网新疆电力有限公司乌鲁木齐供电公司 | A Noise Analysis Method in Substation |
CN110208022A (en) * | 2019-06-12 | 2019-09-06 | 济南雷森科技有限公司 | Power equipment multiple features audio-frequency fingerprint fault diagnosis method and system based on machine learning |
CN110490071A (en) * | 2019-07-12 | 2019-11-22 | 国网上海市电力公司 | A kind of substation's Abstraction of Sound Signal Characteristics based on MFCC |
CN110969096A (en) * | 2019-11-07 | 2020-04-07 | 国电南京自动化股份有限公司 | Motor fault mode diagnosis method based on particle swarm optimization support vector machine |
Non-Patent Citations (4)
Title |
---|
基于DUFFING阵子的接地网故障诊断弱信号幅值检测新方法;倪云峰;康海雷;刘健;王森;;电测与仪表(10);全文 * |
基于梅尔频率倒谱系数与翻转梅尔频率倒谱系数的说话人识别方法;胡峰松;张璇;;计算机应用(09);全文 * |
小型电机生产过程在线品质检测方法研究;罗炳聪;樊可清;陈英武;;测控技术(12);全文 * |
电力变压器故障自动化实时检测技术;张瑞芯;;机电信息(20);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112395959A (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112395959B (en) | Power transformer fault prediction and diagnosis method and system based on audio frequency characteristics | |
WO2022241802A1 (en) | Short-term traffic flow prediction method under complex road network, storage medium, and system | |
CN103810374B (en) | A kind of mechanical disorder Forecasting Methodology based on MFCC feature extractions | |
CN111325095A (en) | Method and system for intelligent detection of equipment health status based on acoustic signal | |
CN114298443B (en) | Industrial equipment predictive maintenance method and device based on health state index and electronic equipment | |
CN105117602A (en) | Metering apparatus operation state early warning method | |
CN111695452B (en) | RBF neural network-based parallel reactor internal aging degree assessment method | |
CN111239672A (en) | Gradual fault prediction method of optical fiber current transformer based on machine learning algorithm | |
CN119049509B (en) | Automatic dehumidification method in power equipment box | |
CN112069727A (en) | Intelligent transient stability evaluation system and method with high reliability for power system | |
CN118365140B (en) | Urban security risk assessment method and system based on data fusion | |
WO2022141623A1 (en) | Train compartment vibration monitoring method, vibration signal feature library establishment method and vibration signal feature library application method | |
CN117371207A (en) | Extra-high voltage converter valve state evaluation method, medium and system | |
CN102034111A (en) | Method for identifying and detecting aircraft structural damage conditions in diversified way | |
CN115406522A (en) | Power plant equipment running state research and application based on voiceprint recognition | |
CN118916644A (en) | Power transformer fault early warning method and system based on meteorological information | |
CN119577556B (en) | Power grid fault online identification system and method based on big data | |
Yuhang et al. | Prediction of bearing degradation trend based on LSTM | |
CN117292713A (en) | Transformer voiceprint monitoring method and system based on end Bian Yun cooperation | |
CN114091533B (en) | Transformer noise identification and reverse reduction method and medium based on laser vibration measurement | |
CN118885944A (en) | Multimodal fault diagnosis and early warning method | |
CN113051809A (en) | A Construction Method of Virtual Health Factor Based on Improved Restricted Boltzmann Machine | |
CN118887972A (en) | Transformer operation abnormality monitoring method based on sound feature recognition | |
CN118607713A (en) | Method, device and storage medium for predicting power grid equipment failure rate under typhoon weather | |
Lu et al. | Transformer fault acoustic identification model based on acoustic denoising and DBO-SVM |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20230614 Address after: 213031 Tianhe PV Industrial Park No. 2, Xinbei District, Changzhou, Jiangsu Applicant after: TRINASOLAR Co.,Ltd. Address before: Room 2206, building 1, 650 Bin'an Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province 310051 Applicant before: Tianheyun Energy Internet Technology (Hangzhou) Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |