CN105467971B - A kind of second power equipment monitoring system and method - Google Patents
A kind of second power equipment monitoring system and method Download PDFInfo
- Publication number
- CN105467971B CN105467971B CN201510745728.1A CN201510745728A CN105467971B CN 105467971 B CN105467971 B CN 105467971B CN 201510745728 A CN201510745728 A CN 201510745728A CN 105467971 B CN105467971 B CN 105467971B
- Authority
- CN
- China
- Prior art keywords
- secondary equipment
- support vector
- vector machine
- mrow
- monitoring
- 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
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0259—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
- G05B23/0283—Predictive maintenance, e.g. involving the monitoring of a system and, based on the monitoring results, taking decisions on the maintenance schedule of the monitored system; Estimating remaining useful life [RUL]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24048—Remote test, monitoring, diagnostic
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
本发明提出了一种电力二次设备监测系统,包括:二次设备状态监测服务器和至少一个二次设备状态监测终端;其中,二次设备状态监测服务器,接收二次设备状态监测终端传输的监测数据;二次设备状态监测终端,用于对二次设备的状态进行监测,并将获得的监测数据发送给二次设备状态监测服务器。本发明还提出了一种电力二次设备监测方法。本发明提出的电力二次设备监测系统和方法,提高了二次设备故障风险诊断的全面性和准确性。
The present invention proposes a secondary equipment monitoring system for electric power, including: a secondary equipment status monitoring server and at least one secondary equipment status monitoring terminal; wherein, the secondary equipment status monitoring server receives the monitoring information transmitted by the secondary equipment status monitoring terminal Data; the secondary equipment status monitoring terminal is used to monitor the status of the secondary equipment and send the obtained monitoring data to the secondary equipment status monitoring server. The invention also proposes a monitoring method for electric secondary equipment. The power secondary equipment monitoring system and method proposed by the invention improve the comprehensiveness and accuracy of secondary equipment fault risk diagnosis.
Description
技术领域technical field
本发明涉及电力设备监测领域,具体涉及一种电力二次设备监测系统及方法。The invention relates to the field of power equipment monitoring, in particular to a power secondary equipment monitoring system and method.
背景技术Background technique
电力设备的安全是电网安全、稳定、可靠运行的基础,对电力设备进行有效、准确的监测和诊断,是提高供电可靠性以及电网运行智能化水平的有效途径。随着电网和电力系统向超(特)高压、大容量、大系统迅猛发展,对安全可靠性要求也越来越高,电力系统迫切需要更为准确、快速的输变电设备状态在线监测与诊断技术,因此数据挖掘和信息融合技术将引领电网状态监测新方向,得到越来越广泛的应用。The safety of power equipment is the basis for the safe, stable and reliable operation of the power grid. Effective and accurate monitoring and diagnosis of power equipment is an effective way to improve the reliability of power supply and the intelligent level of power grid operation. With the rapid development of the power grid and power system to ultra-high voltage, large capacity, and large systems, the requirements for safety and reliability are getting higher and higher. The power system urgently needs more accurate and fast online monitoring and monitoring of power transmission and transformation equipment status Diagnosis technology, so data mining and information fusion technology will lead the new direction of power grid condition monitoring and be more and more widely used.
随着电力市场的逐步开放,电力行业的竞争将加大,状态检修成为目前我国电力企业和各级科研机构研究的热门课题。我国改革开放以来,电力电子技术、计算机技术以及通信技术等的发展日新月异,为实现电力设备的状态检修奠定了坚实的基础。目前,我国学者针对电力一次设备的状态检修研究较多,但对一次设备实施保护、控制、监视、测量作用的二次设备的状态检修研究较少。With the gradual opening of the power market, the competition in the power industry will increase, and condition-based maintenance has become a hot research topic in my country's power companies and scientific research institutions at all levels. Since my country's reform and opening up, the development of power electronics technology, computer technology and communication technology has been changing with each passing day, which has laid a solid foundation for the realization of condition-based maintenance of power equipment. At present, Chinese scholars have done more research on condition-based maintenance of primary equipment, but less research on condition-based maintenance of secondary equipment that implements protection, control, monitoring, and measurement functions for primary equipment.
长期以来,我国二次设备一直沿用以时间为基础的定期检修制,例如传统的继电保护设备,根据相关的条例和规程要求,对继电保护设备、安全自动装置及二次回路进行定期检验。传统的定期检修方式在某种程度上可以确保二次设备的功能完好以及运行正常,但也存在着弊端,如果二次设备在两次检修之间出现缺陷或者故障,要等到下一次的设备检修或者装置功能失效时才能够被发现,而二次设备运行状态发生异常可能会对电力系统造成重大的损失。因此,迫切需要针对二次设备进行状态评价,合理地预估二次设备的运行状态,实行状态检修,有效配合一次设备的状态检修的同步发展,保证电力系统的稳定运行。For a long time, my country's secondary equipment has been using a time-based periodic maintenance system. For example, traditional relay protection equipment, according to relevant regulations and regulations, conduct regular inspections of relay protection equipment, safety automatic devices and secondary circuits. . The traditional regular maintenance method can ensure the function and normal operation of the secondary equipment to a certain extent, but there are also disadvantages. If the secondary equipment has defects or failures between two maintenances, it will have to wait until the next equipment maintenance Or it can only be discovered when the function of the device fails, and the abnormal operation status of the secondary equipment may cause significant losses to the power system. Therefore, there is an urgent need to evaluate the condition of secondary equipment, reasonably estimate the operating status of secondary equipment, implement condition-based maintenance, and effectively cooperate with the simultaneous development of condition-based maintenance of primary equipment to ensure the stable operation of the power system.
根据功能和作用的差异,电力设备可以分为一次设备和二次设备,其中二次设备主要包括继电保护设备、安自设备、自动化设备、直流设备以及通信设备等。二次设备的正常可靠的运行直接关系到电力系统的运行稳定以及一次设备的运行安全。在电网实际运行当中,经常可以发生由于二次设备的故障导致系统事故的情况。以继电保护为例,随着时代的发展和技术的进步,继电保护的正确动作率呈现出上升的趋势,但是不正确动作次数仍然较多,不可忽视。在继电保护运行实际中,保护运行人员、设计质量、制造质量、自然灾害以及操作失误等都有可能导致保护误动或者拒动。随着微电子技术和计算机技术的普及应用,使得新型继电保护设备的运行可靠性大大提高,与此同时,社会经济的发展和人民生活的需求在不断增加,线路不停电检修技术的应用和发展,促使传统的定期检修制度向状态检修方向变革。一次设备状态检修的大力推广,也将带动二次设备状态检修的转变。因此,二次设备急需在检修体制、检修策略以及检修周期等方面的深入研究和拓展,实现二次设备的状态检修势在必行,是电力系统发展的需要。According to the difference in function and role, power equipment can be divided into primary equipment and secondary equipment, of which secondary equipment mainly includes relay protection equipment, safety equipment, automation equipment, DC equipment and communication equipment. The normal and reliable operation of the secondary equipment is directly related to the stable operation of the power system and the operation safety of the primary equipment. In the actual operation of the power grid, system accidents often occur due to the failure of secondary equipment. Taking relay protection as an example, with the development of the times and the advancement of technology, the correct action rate of relay protection shows an upward trend, but the number of incorrect actions is still high, which cannot be ignored. In the actual operation of relay protection, protection operators, design quality, manufacturing quality, natural disasters and operational errors may lead to protection malfunction or refusal to operate. With the popularization and application of microelectronics technology and computer technology, the operation reliability of new relay protection equipment has been greatly improved. The development promotes the transformation of the traditional periodic maintenance system to the direction of condition-based maintenance. The vigorous promotion of primary equipment condition maintenance will also drive the transformation of secondary equipment condition maintenance. Therefore, secondary equipment is in urgent need of in-depth research and expansion in terms of maintenance system, maintenance strategy, and maintenance cycle. It is imperative to realize the condition-based maintenance of secondary equipment, which is the need for the development of power systems.
根据二次设备的状态参数来预估二次设备的故障风险,这是二次设备状态检修技术中的一项基本功能和基础功能,如何提高故障风险诊断的全面性和准确性是现有技术中需要解决的问题。Estimating the failure risk of secondary equipment based on the state parameters of the secondary equipment is a basic function and basic function in the condition-based maintenance technology of secondary equipment. How to improve the comprehensiveness and accuracy of failure risk diagnosis is an existing technology problems that need to be resolved.
发明内容Contents of the invention
至少部分的解决现有技术中所存在的问题,本发明提出一种电力二次设备监测系统,包括:二次设备状态监测服务器和至少一个二次设备状态监测终端;其中,To at least partially solve the problems existing in the prior art, the present invention proposes a power secondary equipment monitoring system, including: a secondary equipment status monitoring server and at least one secondary equipment status monitoring terminal; wherein,
二次设备状态监测服务器,接收二次设备状态监测终端传输的监测数据;The secondary equipment status monitoring server receives the monitoring data transmitted by the secondary equipment status monitoring terminal;
二次设备状态监测终端,用于对二次设备的状态进行监测,并将获得的监测数据发送给二次设备状态监测服务器。The secondary equipment status monitoring terminal is used to monitor the status of the secondary equipment and send the obtained monitoring data to the secondary equipment status monitoring server.
所述的电力二次设备监测系统,其中,The power secondary equipment monitoring system, wherein,
所述二次设备状态监测服务器包括机器学习模型,用于对二次设备进行故障诊断,电力二次设备监测系统根据机器学习模型输出的故障风险值与给定的故障风险阈值之间的关系,判断所述二次设备存在的故障风险等级。The secondary equipment state monitoring server includes a machine learning model for fault diagnosis of secondary equipment, and the relationship between the fault risk value output by the power secondary equipment monitoring system and a given fault risk threshold according to the machine learning model, A fault risk level existing in the secondary equipment is judged.
所述的电力二次设备监测系统,其中,所述给定的故障风险阈值包括阈值B、阈值C、阈值D,The monitoring system for secondary electric equipment, wherein the given fault risk thresholds include threshold B, threshold C, and threshold D,
当故障风险值小于阈值B时,表明所述二次设备运行正常;When the failure risk value is less than the threshold B, it indicates that the secondary equipment is operating normally;
当故障风险值大于等于阈值B小于阈值C时,表明所述二次设备可能有异常;When the failure risk value is greater than or equal to the threshold B and less than the threshold C, it indicates that the secondary equipment may be abnormal;
当故障风险值大于等于阈值C小于阈值D时,表明所述二次设备存在比较严重的缺陷;When the failure risk value is greater than or equal to the threshold C and less than the threshold D, it indicates that the secondary equipment has relatively serious defects;
当故障风险值大于等于阈值D时,表明所述二次设备存在严重缺陷。When the failure risk value is greater than or equal to the threshold D, it indicates that the secondary equipment has serious defects.
所述的电力二次设备监测系统,其中,所述机器学习模型为支持向量机模型。In the monitoring system for secondary electric power equipment, the machine learning model is a support vector machine model.
所述的电力二次设备监测系统,其中,每种二次设备分别采用各自对应的支持向量机模型进行故障诊断,支持向量机模型的输入向量为其对应二次设备的状态参数,即二次设备状态监测终端获得的监测数据。In the power secondary equipment monitoring system, each type of secondary equipment uses its corresponding support vector machine model for fault diagnosis, and the input vector of the support vector machine model is the state parameter of the corresponding secondary equipment, that is, the secondary equipment The monitoring data obtained by the equipment status monitoring terminal.
所述的电力二次设备监测系统,其中,对所有二次设备采用一个支持向量机模型,得到所有二次设备的综合故障风险等级,采用以下状态参数作为支持向量机模型的输入向量:电子式互感器采样数据品质参数、合并单元采样数据品质参数、合并单元电源自检信息、变电站主要通信信道误码率、网络交换机接受和发送数据量之比、网络报文记录分析装置记录信息的完整程度、继电保护设备硬件模块自检信息、继电保护程序CRC校验码、继电保护设备与过程层设备通信传输速率、继电保护设备上送信息的完整程度、二次设备运行环境的温度参数、二次设备运行环境的湿度参数、智能终端发送的反馈报文正确率、断路器位置指示灯异常、不间断电源系统的工作环境参数、不间断电源系统的负载情况、不间断电源系统的工作时间、站用交流电源母线电压状况、变电站重要馈电线路电流状况、直流母线和馈线的绝缘状况、直流母线电压偏移程度、蓄电池荷电状态。The secondary equipment monitoring system for electric power, wherein, a support vector machine model is used for all secondary equipment to obtain the comprehensive failure risk level of all secondary equipment, and the following state parameters are used as input vectors of the support vector machine model: electronic Transformer sampling data quality parameters, merging unit sampling data quality parameters, merging unit power supply self-inspection information, substation main communication channel bit error rate, network switch receiving and sending data volume ratio, network message recording and analysis device record information completeness , self-inspection information of the hardware module of the relay protection device, CRC check code of the relay protection program, the communication transmission rate between the relay protection device and the process layer device, the completeness of the information sent by the relay protection device, and the temperature of the secondary equipment operating environment parameters, the humidity parameters of the secondary equipment operating environment, the correct rate of the feedback message sent by the intelligent terminal, the abnormality of the circuit breaker position indicator light, the working environment parameters of the uninterruptible power supply system, the load status of the uninterruptible power supply system, the Working hours, station AC power bus voltage status, substation important feeder line current status, DC bus and feeder insulation status, DC bus voltage offset degree, battery state of charge.
所述的电力二次设备监测系统,其中,二次设备的状态参数赋予权重后再作为支持向量机模型的输入向量参与故障诊断,其中,二次设备状态参数的权重计算过程:In the monitoring system for secondary electric power equipment, wherein the state parameters of the secondary equipment are weighted and then used as input vectors of the support vector machine model to participate in fault diagnosis, wherein the weight calculation process of the state parameters of the secondary equipment is as follows:
步骤1、组织m位专家对二次设备的n个状态参数进行权重分配,每位专家独立的确定出n个状态参数的权重值为:Step 1. Organize m experts to assign weights to n state parameters of secondary equipment, and each expert independently determines the weight value of n state parameters:
Wi1,Wi2,...,Wij,...,Win(1≤i≤m,1≤j≤n,),其中,i表示第i位专家,j表示第j个状态参数,Wij表示第i位专家给第j个状态参数所分配的权重值;W i1 , W i2 ,...,W ij ,...,W in (1≤i≤m, 1≤j≤n,), where i represents the i-th expert, j represents the j-th state parameter , W ij represents the weight value assigned by the i-th expert to the j-th state parameter;
步骤2、求出m位专家给出的权重值的平均值:Step 2. Calculate the average value of the weight values given by m experts:
步骤3、得出权重值和权重平值之间的偏差:Step 3. Obtain the deviation between the weight value and the weight average:
步骤4、对于偏差Δij大于给定阈值的Wij需要重新处理,反馈到第i位专家重新分配第j个状态参数的权重值,直至所有的Δij满足要求为止。Step 4. W ij whose deviation Δ ij is greater than a given threshold needs to be reprocessed, and fed back to the i-th expert to redistribute the weight value of the j-th state parameter until all Δ ij meet the requirements.
本发明还提出一种电力二次设备监测方法,使用所述的电力二次设备监测系统对二次设备进行故障诊断,包括:The present invention also proposes a monitoring method for electric secondary equipment, using the electric secondary equipment monitoring system to perform fault diagnosis on secondary equipment, including:
步骤100,二次设备状态监测终端对二次设备的状态进行监测,并将获得的监测数据,即二次设备的状态参数,发送给二次设备状态监测服务器;Step 100, the secondary equipment status monitoring terminal monitors the status of the secondary equipment, and sends the obtained monitoring data, that is, the status parameters of the secondary equipment, to the secondary equipment status monitoring server;
步骤200,二次设备状态监测服务器接收二次设备状态监测终端传输的监测数据;Step 200, the secondary equipment status monitoring server receives the monitoring data transmitted by the secondary equipment status monitoring terminal;
步骤300,二次设备状态监测服务器中的支持向量机模型根据接收的二次设备的状态参数,对二次设备进行故障诊断。Step 300, the support vector machine model in the secondary equipment state monitoring server performs fault diagnosis on the secondary equipment according to the received state parameters of the secondary equipment.
所述的电力二次设备监测方法,在步骤300之前还包括训练所述支持向量机模型的过程:The method for monitoring secondary electric power equipment also includes the process of training the support vector machine model before step 300:
首先将训练集和测试集采用相同的方法进行归一化处理,以训练集作为支持向量机的训练样本,通过不断地优化核函数参数来训练支持向量机,如果故障诊断结果的正确率达不到要求,则需要对核函数的参数范围进行重新选择,直到诊断结果的正确率达到要求为止,此时得到满足要求的支持向量机模型,最后用测试集验证所训练的支持向量机对故障的诊断结果是否正确。First, the training set and test set are normalized in the same way, and the training set is used as the training sample of the support vector machine, and the support vector machine is trained by continuously optimizing the kernel function parameters. If the correct rate of the fault diagnosis result cannot reach If the requirements are met, it is necessary to reselect the parameter range of the kernel function until the correct rate of the diagnosis results meets the requirements. At this time, the support vector machine model that meets the requirements is obtained. Finally, the test set is used to verify the trained support vector machine. Whether the diagnosis is correct.
所述的电力二次设备监测方法,其中,采用所述支持向量机模型进行二次设备故障诊断具体包括:The method for monitoring secondary electric power equipment, wherein, using the support vector machine model to diagnose secondary equipment faults specifically includes:
(1)获取具有明确故障结论的电力二次设备样本数据,将二次设备样本数据分为训练集和测试集,并对二次设备样本数据按照故障风险等级进行分类;(1) Obtain sample data of electrical secondary equipment with clear fault conclusions, divide the sample data of secondary equipment into training set and test set, and classify the sample data of secondary equipment according to the level of failure risk;
(2)将二次设备样本数据转化为矩阵,并且采用相同的方法,分别对训练集和测试集进行归一化处理;(2) Transform the secondary equipment sample data into a matrix, and use the same method to normalize the training set and test set respectively;
(3)选择合适的核函数,首先输入较大的数据搜索范采用网格搜索法粗略地选择参数惩罚因子c和核函数δ,然后在粗略搜索的基础上,合理地减小数据搜索范围,利用网格搜索法精确地选择出最佳参数c和δ;(3) To select an appropriate kernel function, first input a large data search range and use the grid search method to roughly select the parameter penalty factor c and kernel function δ, and then reasonably reduce the data search range on the basis of rough search, Precisely select the best parameters c and δ by grid search method;
(4)利用训练集样本训练基于支持向量机的数据模型,并用测试集样本预测诊断结果是否达到要求,如果否,则返同到步骤(3)重新选择核函数的参数范围;(4) Utilize training set sample training to be based on the data model of support vector machine, and use test set sample to predict whether the diagnostic result meets the requirements, if not, then return to step (3) to reselect the parameter range of kernel function;
(5)将需要诊断的二次设备状态参数数据代入模型中获得诊断结果。(5) Substitute the state parameter data of the secondary equipment that needs to be diagnosed into the model to obtain the diagnosis result.
所述的电力二次设备监测方法,其中,利用网格搜索法设置惩罚因子c的取值范围为[2-10,210],步进为0.4;核函数参数δ的取值范围为[2-10,210],步进为0.4,通过对支持向量机训练,惩罚因子c的最佳取值为0.83282,核函数参数δ的最佳取值为0.39227,支持向量机分类器选择参数的准确率为77.5536%。The monitoring method for secondary electric power equipment, wherein the value range of the penalty factor c is set to [2 -10 , 2 10 ] with a step of 0.4 by using the grid search method; the value range of the kernel function parameter δ is [ 2 -10 , 2 10 ], the step is 0.4, through the training of the support vector machine, the optimal value of the penalty factor c is 0.83282, the optimal value of the kernel function parameter δ is 0.39227, and the selection parameter of the support vector machine classifier The accuracy rate is 77.5536%.
所述的电力二次设备监测方法,其中,利用网格搜索法设置惩罚因子c的取值范围为[2-10,20],步进0.2;核函数参数δ的取值范围为[2-10,20],步进0.2,经过对支持向量机训练,惩罚因子c的最佳取值为0.40421,核函数参数δ最佳取值为1.00231,支持向量机分类器选择参数的准确率为93.1196%。The monitoring method for secondary electric power equipment, wherein the value range of the penalty factor c is set to [2 -10 , 2 0 ] with a step of 0.2 by using the grid search method; the value range of the kernel function parameter δ is [2 -10 , 2 0 ], step 0.2, after training the support vector machine, the optimal value of the penalty factor c is 0.40421, the optimal value of the kernel function parameter δ is 1.00231, and the accuracy of the selection parameters of the support vector machine classifier is 93.1196%.
所述的电力二次设备监测方法,其中,利用网格搜索法设置惩罚因子c的取值范围[20,210],步进0.2;核函数参数δ的取值范围为[20,210],步进0.2,经过训练支持向量机,惩罚因子c的最佳取值为1.2986,核函数参数δ最佳取值为1.4093,支持向量机分类器选择参数的准确率为96.088%。The monitoring method for secondary electric power equipment, wherein the value range of the penalty factor c is set to [2 0 , 2 10 ] with a step of 0.2 using the grid search method; the value range of the kernel function parameter δ is [2 0 , 2 10 ], step 0.2, after training the support vector machine, the optimal value of the penalty factor c is 1.2986, the optimal value of the kernel function parameter δ is 1.4093, and the accuracy rate of the parameter selection of the support vector machine classifier is 96.088%.
所述的电力二次设备监测方法,其中,利用网格搜索法设置惩罚因子c的取值范围为[20,210],步进0.2,核函数参数δ的取值范围为[2-10,20],步进0.2,通过训练支持向量机,惩罚因子c的最佳取值为23.2312,核函数参数δ最佳取值为0.025102,支持向量机分类器选择参数的准确率达到96.6598%。The monitoring method for secondary electric power equipment, wherein the value range of the penalty factor c is set to [2 0 , 2 10 ] with a step of 0.2, and the value range of the kernel function parameter δ is [2 - 10 , 2 0 ], step 0.2, through training the support vector machine, the optimal value of the penalty factor c is 23.2312, the optimal value of the kernel function parameter δ is 0.025102, and the accuracy rate of the parameter selection of the support vector machine classifier reaches 96.6598 %.
所述的电力二次设备监测方法,其中,支持向量机采用基于粒子群优化的支持向量机,基于粒子群优化的支持向量机的建模过程为:In the method for monitoring secondary electric power equipment, the support vector machine adopts a support vector machine based on particle swarm optimization, and the modeling process of the support vector machine based on particle swarm optimization is:
(1)初始化粒子群,通过调整粒子群惯性权重ω的方法对粒子群支持向量机的核函数δ和惩罚因子c进行优化,使参数c和δ构成一个微粒,即(c,δ),并设最大速度为Vmax,用pbest表示每个微粒的初始位置,用gbest表示粒子群中所有微粒的最好初始位置;(1) Initialize the particle swarm, optimize the kernel function δ and the penalty factor c of the particle swarm support vector machine by adjusting the inertia weight of the particle swarm, so that the parameters c and δ constitute a particle, namely (c, δ), and Let the maximum velocity be V max , use pbest to represent the initial position of each particle, and use gbest to represent the best initial position of all particles in the particle swarm;
(2)评价每个微粒的适应度,计算每个微粒的最优位置;(2) Evaluate the fitness of each particle and calculate the optimal position of each particle;
(3)将优化后每个微粒的适应值与其历史最优位置pbest进行比较,如果当前适应值优于最优位置,则将适应值作为粒子当前的最好位置pbest;(3) Compare the fitness value of each particle after optimization with its historical best position pbest, if the current fitness value is better than the best position, take the fitness value as the particle’s current best position pbest;
(4)将优化后每个微粒的适应值与群体微粒的历史最优位置gbest进行比较,如果适应值优于群体微粒的历史最优位置gbest,则将适应值作为群体微粒的最优位置gbest;(4) Compare the fitness value of each particle after optimization with the historical best position gbest of the population particle, if the fitness value is better than the historical best position gbest of the population particle, take the fitness value as the optimal position gbest of the population particle ;
(5)根据改进的粒子群算法调整当前微粒的速度和位置;(5) Adjust the velocity and position of the current particle according to the improved particle swarm optimization algorithm;
(6)当适应值满足条件时,迭代结束,否则返回第二步继续优化参数,当第六步完成后,就会优化出最佳的参数c和δ,这样就可以得到最理想的支持向量机模型,用此模型进行故障预测。(6) When the fitness value satisfies the condition, the iteration ends, otherwise return to the second step to continue to optimize the parameters, and when the sixth step is completed, the best parameters c and δ will be optimized, so that the most ideal support vector can be obtained machine model, and use this model for fault prediction.
所述的电力二次设备监测方法,其中,设种群大小N=20,惯性权重ω=0.9,加速常数C1=1.4,C2=1.6,训练支持向量机,得到惩罚因子c的最佳取值为3.8326,核函数δ的最佳取值为0.50433,经粒子群算法优化,支持向量机分类器的分类准确率达到98.9234%。The monitoring method for secondary electric power equipment, wherein, set the population size N=20, the inertia weight ω=0.9, the acceleration constant C 1 =1.4, C 2 =1.6, and train the support vector machine to obtain the optimal selection of the penalty factor c The value is 3.8326, and the best value of kernel function δ is 0.50433. After optimization by particle swarm optimization, the classification accuracy of support vector machine classifier reaches 98.9234%.
所述的电力二次设备监测方法,其中,支持向量机采用基于遗传算法的支持向量机,基于遗传算法的支持向量机的建模过程为:The method for monitoring secondary electric power equipment, wherein the support vector machine adopts a support vector machine based on a genetic algorithm, and the modeling process of the support vector machine based on a genetic algorithm is:
(1)初始化种群,生成一定数量的个体作为初始种群,每条染色体由(c,δ)组成,其中c为惩罚因子,δ为核函数;(1) Initialize the population, generate a certain number of individuals as the initial population, each chromosome is composed of (c, δ), where c is the penalty factor, and δ is the kernel function;
(2)选定目标函数对初始种群进行支持向量机训练,把支持向量机的均方误差作为目标函数,计算每个个体的适应度;(2) Select the objective function to carry out support vector machine training on the initial population, and use the mean square error of the support vector machine as the objective function to calculate the fitness of each individual;
(3)进行选择运算、交叉运算、变异运算得到新一代种群,对新产生的种群进行支持向量机训练;(3) Perform selection operations, crossover operations, and mutation operations to obtain a new generation of populations, and perform support vector machine training on the newly generated populations;
(4)如果新产生的种群满足终止规则,则输出具有最大适应度的个体作为最优参数,用最优参数进行预测,否则增加进化代数,转入步骤(3)继续执行。(4) If the newly generated population satisfies the termination rule, output the individual with the maximum fitness as the optimal parameter, and use the optimal parameter for prediction, otherwise, increase the evolutionary number, and proceed to step (3) to continue.
本发明提出的一种电力二次设备监测系统及方法,能够实时监测电力二次设备的状态参数,采用机器学习模型对二次设备的故障风险进行预估诊断,并且经过试验选择适当的状态参数作为机器学习模型的输入向量,同时考虑到不同状态参数对故障诊断产生的影响不同而为其设置不同的权重,而且采用各种方法提高了机器学习模型诊断的准确性。A monitoring system and method for power secondary equipment proposed by the present invention can monitor the state parameters of power secondary equipment in real time, use machine learning models to predict and diagnose the failure risk of secondary equipment, and select appropriate state parameters through experiments As the input vector of the machine learning model, different weights are set for different state parameters taking into account the different effects on fault diagnosis, and various methods are used to improve the accuracy of machine learning model diagnosis.
附图说明Description of drawings
图1是本发明提出的电力二次设备监测系统的示意框图;Fig. 1 is the schematic block diagram of the power secondary equipment monitoring system that the present invention proposes;
具体实施方式detailed description
下面将结合本发明的附图,对本发明的技术方案进行清楚、完整地描述。这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。The technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention. Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.
参见图1,本发明提出的一种电力二次设备监测系统,包括:二次设备状态监测服务器和至少一个二次设备状态监测终端;其中,Referring to Fig. 1, a monitoring system for power secondary equipment proposed by the present invention includes: a secondary equipment status monitoring server and at least one secondary equipment status monitoring terminal; wherein,
二次设备状态监测服务器,接收二次设备状态监测终端传输的监测数据;The secondary equipment status monitoring server receives the monitoring data transmitted by the secondary equipment status monitoring terminal;
二次设备状态监测终端,用于对二次设备的状态进行监测,并将获得的监测数据发送给二次设备状态监测服务器。The secondary equipment status monitoring terminal is used to monitor the status of the secondary equipment and send the obtained monitoring data to the secondary equipment status monitoring server.
本实施例中,二次设备状态监测终端对不同的二次设备进行实时的状态检测,并将获得状态监测数据发送给二次设备状态监测服务器。一个二次设备状态监测终端可以仅对一个二次设备进行监测,也可以同时对多个二次设备进行监测。In this embodiment, the secondary equipment state monitoring terminal performs real-time state detection on different secondary equipment, and sends the obtained state monitoring data to the secondary equipment state monitoring server. A secondary equipment status monitoring terminal can monitor only one secondary equipment, or monitor multiple secondary equipment at the same time.
设备状态评估主要指设备状态的技术评估,根据设备运行工况、负荷数据、各类状态检测数据、缺陷信息、故障和事故信息、检修数据等综合状态信息,依据规程标准、运行经验、设备厂家技术指标等判据,对设备的状态信息进行量化评分,从而判断评估设备的真实状态。Equipment status assessment mainly refers to the technical assessment of equipment status, based on comprehensive status information such as equipment operating conditions, load data, various status inspection data, defect information, fault and accident information, and maintenance data, according to regulations, operating experience, equipment manufacturers, etc. Criteria such as technical indicators, quantify and score the status information of the equipment, so as to judge and evaluate the real status of the equipment.
本发明将将二次设备状态分为四种:The present invention divides the secondary equipment status into four types:
A一正常状态:指设备资料齐全,运行及各种试验数据正常,容许个别数据稍有偏差,只要变化趋势稳定没有运行安全隐患的设备;A-Normal state: refers to the equipment with complete information, normal operation and various test data, and a slight deviation of individual data is allowed, as long as the trend of change is stable and there is no hidden danger in operation safety;
B一可疑状态:指存在不明原因的缺陷或某些试验数据表明设备可能有异常,但仍有某些不确定因素无法定论的设备;B-Suspicious state: refers to the equipment with unexplained defects or some test data showing that the equipment may be abnormal, but there are still some uncertain factors that cannot be determined;
C一可靠性下降状态:指设备存在比较严重的缺陷,或试验结果分析存在问题,且已基本确定隐患部位及原因,同时该隐患在短期内不会发展成事故的设备;C—reliability decline status: refers to equipment with relatively serious defects, or problems in the analysis of test results, and the location and cause of hidden dangers have been basically determined, and at the same time, the hidden dangers will not develop into accidents in a short period of time;
D一危险状态:是指设备存在严重缺陷,或根据试验数据,运行状况表明随时有发生事故的可能。D-Dangerous state: refers to the serious defects of the equipment, or according to the test data, the operating conditions indicate that accidents may occur at any time.
故障诊断,就是通过设备运行或检修时表现出的异常现象,对设备异常的程度、原因做出判断。Fault diagnosis is to judge the degree and cause of equipment abnormality through the abnormal phenomena displayed during equipment operation or maintenance.
故障和征兆之间不存在简单的一一对应关系造成了故障诊断的困难性,由于设备故障与征兆之间关系的复杂性和设备故障的复杂性,形成了设备故障诊断是一种探索性的反复试验的特点,故障诊断过程是复杂的,各种数学诊断方法又各有优缺点,研究故障诊断的方法成为设备故障诊断技术这一学科的重点和难点,因此不能采用单一的方法进行诊断,而应将多种方法结合起来应用,以期得到最正确最接近事实的诊断结果,这也是今后诊断方法发展的方向。There is no simple one-to-one correspondence between faults and symptoms, which makes fault diagnosis difficult. Due to the complexity of the relationship between equipment faults and symptoms and the complexity of equipment faults, equipment fault diagnosis is an exploratory method. Due to the characteristics of trial and error, the fault diagnosis process is complicated, and various mathematical diagnosis methods have their own advantages and disadvantages. The study of fault diagnosis methods has become the focus and difficulty of the discipline of equipment fault diagnosis technology, so a single method cannot be used for diagnosis. Instead, a variety of methods should be combined and applied in order to obtain the most correct diagnostic results that are closest to the facts, which is also the direction of the development of diagnostic methods in the future.
本发明中的二次设备状态监测服务器可以包括各种机器学习模型,对二次设备进行故障诊断。根据机器学习模型输出的故障风险值与给定的故障风险阈值之间的关系,判断所述二次设备存在的故障风险等级。The secondary equipment status monitoring server in the present invention may include various machine learning models to perform fault diagnosis on the secondary equipment. According to the relationship between the failure risk value output by the machine learning model and a given failure risk threshold, the failure risk level of the secondary equipment is judged.
所述给定的故障风险阈值包括阈值B、阈值C、阈值D,The given fault risk thresholds include threshold B, threshold C, and threshold D,
当故障风险值小于阈值B时,表明所述二次设备运行正常;When the failure risk value is less than the threshold B, it indicates that the secondary equipment is operating normally;
当故障风险值大于等于阈值B小于阈值C时,表明所述二次设备可能有异常;When the failure risk value is greater than or equal to the threshold B and less than the threshold C, it indicates that the secondary equipment may be abnormal;
当故障风险值大于等于阈值C小于阈值D时,表明所述二次设备存在比较严重的缺陷;When the failure risk value is greater than or equal to the threshold C and less than the threshold D, it indicates that the secondary equipment has relatively serious defects;
当故障风险值大于等于阈值D时,表明所述二次设备存在严重缺陷。When the failure risk value is greater than or equal to the threshold D, it indicates that the secondary equipment has serious defects.
本发明的一个实施例采用支持向量机模型对二次设备进行故障诊断,每种二次设备分别采用各自对应的支持向量机模型进行故障诊断,支持向量机模型的输入向量为其对应二次设备的状态参数(即二次设备状态监测终端获得的监测数据),根据支持向量机模型输出的故障风险值与给定的故障风险阈值之间的关系,判断所述二次设备存在的故障风险等级。An embodiment of the present invention adopts the support vector machine model to carry out fault diagnosis on the secondary equipment, and each kind of secondary equipment adopts its corresponding support vector machine model to carry out the fault diagnosis respectively, and the input vector of the support vector machine model is its corresponding secondary equipment The state parameters (that is, the monitoring data obtained by the secondary equipment state monitoring terminal), according to the relationship between the failure risk value output by the support vector machine model and the given failure risk threshold, determine the failure risk level of the secondary equipment .
建立支持向量机模型是关键和难点。由于样本数据差值很大,需要将样本数据进行归一化处理。在处理样本之前,需要将样本数据分成两部分,一部分作为训练集,剩余的作为测试集。其模型训练的过程为:首先将训练集和测试集采用相同的方法进行归一化处理,以训练集作为支持向量机的训练样本,通过不断地优化核函数参数来训练支持向量机,如果故障诊断结果的正确率达不到要求,则需要对核函数的参数范围进行重新选择,直到诊断结果的正确率达到要求为止,此时即为最理想的支持向量机,最后用测试集验证所训练的向量机对故障的诊断结果是否正确。Establishing the support vector machine model is the key and difficult point. Due to the large difference between the sample data, the sample data needs to be normalized. Before processing the sample, the sample data needs to be divided into two parts, one part is used as the training set, and the rest is used as the test set. The process of model training is as follows: firstly, the training set and test set are normalized in the same way, and the training set is used as the training sample of the support vector machine, and the support vector machine is trained by continuously optimizing the kernel function parameters. If the correct rate of the diagnostic result does not meet the requirements, the parameter range of the kernel function needs to be reselected until the correct rate of the diagnostic result meets the requirement. At this time, it is the most ideal support vector machine, and finally the training set is verified by the test set. Whether the fault diagnosis result of the vector machine is correct.
支持向量机在二次设备故障诊断中的具体实现步骤可以表述如下:The specific implementation steps of support vector machine in secondary equipment fault diagnosis can be expressed as follows:
(1)获取具有明确故障结论的电力二次设备样本数据,将二次设备样本数据分为训练集和测试集,并对二次设备样本数据按照故障风险等级进行分类;(1) Obtain sample data of electrical secondary equipment with clear fault conclusions, divide the sample data of secondary equipment into training set and test set, and classify the sample data of secondary equipment according to the level of failure risk;
(2)将二次设备样本数据转化为矩阵,并且采用相同的方法,分别对训练集和测试集进行归一化处理;(2) Transform the secondary equipment sample data into a matrix, and use the same method to normalize the training set and test set respectively;
(3)选择合适的核函数,首先输入较大的数据搜索范采用网格搜索法粗略地选择参数惩罚因子c和核函数δ,然后在粗略搜索的基础上,合理地减小数据搜索范围,利用网格搜索法精确地选择出最佳参数c和δ;(3) To select an appropriate kernel function, first input a large data search range and use the grid search method to roughly select the parameter penalty factor c and kernel function δ, and then reasonably reduce the data search range on the basis of rough search, Precisely select the best parameters c and δ by grid search method;
(4)利用训练集样本训练基于支持向量机的数据模型,并用测试集样本预测诊断结果是否达到要求,如果否,则返同到步骤(3)重新选择核函数的参数范围;(4) Utilize training set sample training to be based on the data model of support vector machine, and use test set sample to predict whether the diagnostic result meets the requirements, if not, then return to step (3) to reselect the parameter range of kernel function;
(5)将需要诊断的二次设备状态参数数据代入模型中获得诊断结果。(5) Substitute the state parameter data of the secondary equipment that needs to be diagnosed into the model to obtain the diagnosis result.
为了使支持向量机分类器达到较高的分类准确率,避免在学习过程中出现“过学习”成者“欠学习”的情况,选择交叉验证优化支持向量机,采用网格搜索法来选择最优的核函数参数。其原理是将二次设备样本分为两部分,取其中的一部分作为训练集,剩余的一部分作为测试集。首先用训练集样本对支持向量机进行训练,利用网格搜索法选择得到最优参数,构造合适的决策函数,再用测试集样本来验证训练得到的支持向量机模型,以支持向發机分类器对故障判断的准确率作为评价支持向机分类器的性能指标。In order to make the support vector machine classifier achieve a higher classification accuracy and avoid the situation of "over-learning" and "under-learning" in the learning process, the cross-validation optimization support vector machine is selected, and the grid search method is used to select the best Optimal kernel function parameters. The principle is to divide the secondary equipment sample into two parts, take one part as the training set, and the remaining part as the test set. First, use the training set samples to train the support vector machine, use the grid search method to select the optimal parameters, construct a suitable decision function, and then use the test set samples to verify the trained support vector machine model to support the machine classification The accuracy rate of the fault judgment of the classifier is used as the performance index for evaluating the supporting machine classifier.
样本数据预处理Sample data preprocessing
本发明对于每种二次设备各收集了400组状态参数数据作为样本数据,每组数据都有明确的故障结论。将二次设备样本数据分成训练集样本和测试集样本,其中训练集有300个样本,剩余的100个样本作为测试集。将整理获得的400样本数据转化为矩阵,作为支持向量机的输入数据,The present invention collects 400 sets of state parameter data for each secondary equipment as sample data, and each set of data has a definite fault conclusion. The secondary equipment sample data is divided into training set samples and test set samples, where the training set has 300 samples, and the remaining 100 samples are used as the test set. Convert the 400 sample data obtained by sorting into a matrix as the input data of the support vector machine,
网格搜索法选取最佳参数c,δGrid search method to select the best parameters c, δ
将归一化处理后的二次设备样本数据导入数据库,采用网格搜索法选择核函数最佳参数δ和惩罚因子c。综合考虑二次设备样本数据类型、数据量等因素,选择10折交叉验证法。将400个二次设备样本数据分成10组,取其中的8组合并作为训练集,剩下的作为测试集,经过训练,将获得10次分类准确率,最后取10次分类准确率的算数平均值作为支持向量机分类器的性能指标。Import the normalized secondary equipment sample data into the database, and use the grid search method to select the optimal parameter δ and penalty factor c of the kernel function. Considering factors such as the data type and data volume of the secondary equipment sample comprehensively, the 10-fold cross-validation method is selected. Divide 400 secondary equipment sample data into 10 groups, take 8 of them and combine them as training sets, and the rest as test sets. After training, 10 times of classification accuracy will be obtained, and finally the arithmetic mean of 10 times of classification accuracy will be taken Values are used as performance metrics for support vector machine classifiers.
网格搜索法设置惩罚因子c的取值范围为[2-10,210],步进为0.4;核函数参数δ的取值范围为[2-10,210],步进为0.4。通过对支持向量机训练,惩罚因子c的最佳取值为0.83282,核函数参数δ的最佳取值为0.39227,支持向量机分类器选择参数的准确率为77.5536%。The grid search method sets the value range of the penalty factor c to [2 -10 , 2 10 ] with a step of 0.4; the value range of the kernel function parameter δ is [2 -10 , 2 10 ] with a step of 0.4. Through the training of the support vector machine, the optimal value of the penalty factor c is 0.83282, the optimal value of the kernel function parameter δ is 0.39227, and the accuracy rate of the parameter selection of the support vector machine classifier is 77.5536%.
缩小网格搜索法的搜索范围,对支持向量机继续进行训练,以找到最优的参数,提高支持向量机分类器选择参数的准确率。网格搜索法设置惩罚因子c的取值范围为[2-10,20],步进0.2;核函数参数δ的取值范围为[2-10,20],步进0.2。经过对支持向量机训练,惩罚因子c的最佳取值为0.40421,核函数参数δ最佳取值为1.00231,支持向量机分类器选择参数的准确率为93.1196%。Narrow the search range of the grid search method, and continue to train the support vector machine to find the optimal parameters and improve the accuracy of the support vector machine classifier selection parameters. The grid search method sets the value range of the penalty factor c as [2 -10 , 2 0 ] with a step of 0.2; the value range of the kernel function parameter δ is [2 -10 , 2 0 ] with a step of 0.2. After training the support vector machine, the optimal value of the penalty factor c is 0.40421, the optimal value of the kernel function parameter δ is 1.00231, and the accuracy rate of the parameter selection of the support vector machine classifier is 93.1196%.
网格搜索法设置惩罚因子c的取值范围[20,210],步进0.2;核函数参数δ的取值范围为[20,210],步进0.2。经过训练支持向量机,惩罚因子c的最佳取值为1.2986,核函数参数δ最佳取值为1.4093,支持向量机分类器选择参数的准确率为96.088%。The grid search method sets the value range of the penalty factor c to [2 0 , 2 10 ] with a step of 0.2; the value range of the kernel function parameter δ is [2 0 , 2 10 ] with a step of 0.2. After training the support vector machine, the optimal value of the penalty factor c is 1.2986, the optimal value of the kernel function parameter δ is 1.4093, and the accuracy rate of the parameter selection of the support vector machine classifier is 96.088%.
为了分析惩罚因子c和核函数参数δ对支持向量机分类器训练的影响,改变搜索范围,继续训练支持向量机。网格搜索法设置惩罚因子c的取值范围为[20,210],步进0.2,核函数参数δ的取值范围为[2-10,20],步进0.2。通过训练支持向量机,惩罚因子c的最佳取值为23.2312,核函数参数δ最佳取值为0.025102,支持向量机分类器选择参数的准确率达到96.6598%。In order to analyze the impact of the penalty factor c and the kernel function parameter δ on the training of the support vector machine classifier, change the search range and continue training the support vector machine. The grid search method sets the value range of the penalty factor c as [2 0 , 2 10 ] with a step of 0.2, and the value range of the kernel function parameter δ as [2 -10 , 2 0 ] with a step of 0.2. Through training the support vector machine, the optimal value of the penalty factor c is 23.2312, the optimal value of the kernel function parameter δ is 0.025102, and the accuracy rate of the parameter selection of the support vector machine classifier reaches 96.6598%.
由以上分析不难得出:核函数参数δ值取得过大或者过小都会造成对二次设备样本的″欠学习”或者“过学习”。惩罚因子c起着调节最大分类间隔和最小化训练错误的作用,支持向量机分类器进行分类时,如果惩罚因子c值取得较大时,支持向量机的泛化能力较差;如果惩罚因子c取值较小时,支持向量机的泛化能力较好。如果惩罚因子c的值超过一定数值时,就会加大支持向量机的复杂程度,并使其达到数据空间所需的最大值。即使惩罚因子c的范围扩大,支持向量机的训练准确率将不断变化,但支持向量机的测试准确率不再发生变化。It is not difficult to conclude from the above analysis that if the kernel function parameter δ value is too large or too small, it will cause "under-learning" or "over-learning" of the secondary equipment samples. The penalty factor c plays the role of adjusting the maximum classification interval and minimizing the training error. When the support vector machine classifier performs classification, if the value of the penalty factor c is large, the generalization ability of the support vector machine is poor; if the penalty factor c When the value is small, the generalization ability of the support vector machine is better. If the value of the penalty factor c exceeds a certain value, it will increase the complexity of the support vector machine and make it reach the maximum value required by the data space. Even if the range of the penalty factor c is enlarged, the training accuracy of the SVM will keep changing, but the testing accuracy of the SVM will no longer change.
采用网格搜索法获得惩罚因子c的最佳取值为23.2312,核函数参数δ最佳取值为0.025102,支持向量机分类器选择参数的准确率达到96.6598%。利用训练得到的符合要求的支持向量机分类器预测测试集,将测试集100个二次设备样本输入到支持向量机分类器,支持向量机对测试集样本的分类准确率达到93.36%。The optimal value of penalty factor c is 23.2312 obtained by grid search method, the optimal value of kernel function parameter δ is 0.025102, and the accuracy rate of parameter selection of support vector machine classifier reaches 96.6598%. Using the qualified support vector machine classifier trained to predict the test set, input 100 secondary equipment samples in the test set to the support vector machine classifier, and the classification accuracy of the test set samples by the support vector machine reaches 93.36%.
本发明的支持向量机模型还可以采用基于粒子群优化的支持向量机,基于粒子群优化的支持向量机的建模过程为:The support vector machine model of the present invention can also adopt the support vector machine based on particle swarm optimization, and the modeling process of the support vector machine based on particle swarm optimization is:
(1)初始化粒子群,通过调整粒子群惯性权重ω的方法对粒子群支持向量机的核函数δ和惩罚因子c进行优化,使参数c和δ构成一个微粒,即(c,δ),并设最大速度为Vmax,用pbest表示每个微粒的初始位置,用gbest表示粒子群中所有微粒的最好初始位置;(1) Initialize the particle swarm, optimize the kernel function δ and the penalty factor c of the particle swarm support vector machine by adjusting the inertia weight of the particle swarm, so that the parameters c and δ constitute a particle, namely (c, δ), and Let the maximum velocity be V max , use pbest to represent the initial position of each particle, and use gbest to represent the best initial position of all particles in the particle swarm;
(2)评价每个微粒的适应度,计算每个微粒的最优位置;(2) Evaluate the fitness of each particle and calculate the optimal position of each particle;
(3)将优化后每个微粒的适应值与其历史最优位置pbest进行比较,如果当前适应值优于最优位置,则将适应值作为粒子当前的最好位置pbest;(3) Compare the fitness value of each particle after optimization with its historical best position pbest, if the current fitness value is better than the best position, take the fitness value as the particle’s current best position pbest;
(4)将优化后每个微粒的适应值与群体微粒的历史最优位置gbest进行比较,如果适应值优于群体微粒的历史最优位置gbest,则将适应值作为群体微粒的最优位置gbest;(4) Compare the fitness value of each particle after optimization with the historical best position gbest of the population particle, if the fitness value is better than the historical best position gbest of the population particle, take the fitness value as the optimal position gbest of the population particle ;
(5)根据改进的粒子群算法调整当前微粒的速度和位置;(5) Adjust the velocity and position of the current particle according to the improved particle swarm optimization algorithm;
(6)当适应值满足条件时,迭代结束,否则返回第二步继续优化参数,当第六步完成后,就会优化出最佳的参数c和δ,这样就可以得到最理想的支持向量机模型,用此模型进行故障预测。(6) When the fitness value satisfies the condition, the iteration ends, otherwise return to the second step to continue to optimize the parameters, and when the sixth step is completed, the best parameters c and δ will be optimized, so that the most ideal support vector can be obtained machine model, and use this model for fault prediction.
设种群大小N=20,惯性权重ω=0.9,加速常数C1=1.4,C2=1.6,训练支持向量机,得到惩罚因子c的最佳取值为3.8326,核函数δ的最佳取值为0.50433。经粒子群算法优化,支持向量机分类器的分类准确率达到98.9234%。Set population size N=20, inertia weight ω=0.9, acceleration constant C 1 =1.4, C 2 =1.6, train support vector machine, get the best value of penalty factor c 3.8326, the best value of kernel function δ is 0.50433. After particle swarm optimization, the classification accuracy of support vector machine classifier reaches 98.9234%.
本发明的支持向量机模型还可以是采用基于遗传算法的支持向量机,基于遗传算法的支持向量机的建模过程为:The support vector machine model of the present invention can also be the support vector machine based on genetic algorithm, and the modeling process of the support vector machine based on genetic algorithm is:
(1)初始化种群,生成一定数量的个体作为初始种群,每条染色体由(c,δ)组成,其中c为惩罚因子,δ为核函数;(1) Initialize the population, generate a certain number of individuals as the initial population, each chromosome is composed of (c, δ), where c is the penalty factor, and δ is the kernel function;
(2)选定目标函数对初始种群进行支持向量机训练,把支持向量机的均方误差作为目标函数,计算每个个体的适应度;(2) Select the objective function to carry out support vector machine training on the initial population, and use the mean square error of the support vector machine as the objective function to calculate the fitness of each individual;
(3)进行选择运算、交叉运算、变异运算得到新一代种群,对新产生的种群进行支持向量机训练;(3) Perform selection operations, crossover operations, and mutation operations to obtain a new generation of populations, and perform support vector machine training on the newly generated populations;
(4)如果新产生的种群满足终止规则,则输出具有最大适应度的个体作为最优参数,用最优参数进行预测,否则增加进化代数,转入步骤(3)继续执行;(4) If the newly generated population satisfies the termination rule, then output the individual with the maximum fitness as the optimal parameter, and use the optimal parameter for prediction, otherwise increase the evolutionary algebra, and proceed to step (3) to continue to execute;
本发明中上述方法得到的c取值为50,δ取值为0.52时,分类准确率为94.5%。When the value of c obtained by the above method in the present invention is 50, and the value of δ is 0.52, the classification accuracy rate is 94.5%.
对于不同种类的二次设备,其对应的支持向量机模型的输入向量不同,即输入的二次设备的状态参数不同,但是对于支持向量机的训练过程和故障诊断过程都是一样的。For different types of secondary equipment, the input vectors of the corresponding support vector machine models are different, that is, the state parameters of the input secondary equipment are different, but the training process and fault diagnosis process of the support vector machine are the same.
上述实施例中对于不同的二次设备采用不同的支持向量机模型,还可以对所有二次设备采用一个支持向量机模型,得到所有二次设备的综合故障风险等级。对于所有二次设备采用一个支持向量机模型的情况,选择哪些状态参数作为支持向量机模型的输入向量需要综合考虑和不断试验,本发明采用以下状态参数作为支持向量机模型的输入向量:电子式互感器采样数据品质参数、合并单元采样数据品质参数、合并单元电源自检信息、变电站主要通信信道误码率、网络交换机接受和发送数据量之比、网络报文记录分析装置记录信息的完整程度、继电保护设备硬件模块自检信息、继电保护程序CRC校验码、继电保护设备与过程层设备通信传输速率、继电保护设备上送信息的完整程度、二次设备运行环境的温度参数、二次设备运行环境的湿度参数、智能终端发送的反馈报文正确率、断路器位置指示灯异常、不间断电源系统的工作环境参数、不间断电源系统的负载情况、不间断电源系统的工作时间、站用交流电源母线电压状况、变电站重要馈电线路电流状况、直流母线和馈线的绝缘状况、直流母线电压偏移程度、蓄电池荷电状态。In the foregoing embodiments, different support vector machine models are used for different secondary devices, and one support vector machine model may be used for all secondary devices to obtain the comprehensive failure risk levels of all secondary devices. For the situation that all secondary devices adopt a support vector machine model, which state parameters are selected as the input vector of the support vector machine model needs comprehensive consideration and continuous testing. The present invention adopts the following state parameters as the input vector of the support vector machine model: electronic Transformer sampling data quality parameters, merging unit sampling data quality parameters, merging unit power supply self-inspection information, substation main communication channel bit error rate, network switch receiving and sending data volume ratio, network message recording and analysis device record information completeness , self-inspection information of the hardware module of the relay protection device, CRC check code of the relay protection program, the communication transmission rate between the relay protection device and the process layer device, the completeness of the information sent by the relay protection device, and the temperature of the secondary equipment operating environment parameters, the humidity parameters of the secondary equipment operating environment, the correct rate of the feedback message sent by the intelligent terminal, the abnormality of the circuit breaker position indicator light, the working environment parameters of the uninterruptible power supply system, the load status of the uninterruptible power supply system, the Working hours, station AC power bus voltage status, substation important feeder line current status, DC bus and feeder insulation status, DC bus voltage offset degree, battery state of charge.
不论是对于不同的二次设备采用不同的支持向量机模型,还是对所有二次设备采用一个支持向量机模型,二次设备的不同状态参数对于二次设备的故障诊断具有不同的重要程度,因此需要对不同的状态参数赋予不同的权重,之后再作为支持向量机模型的输入向量参与故障诊断。Whether using different support vector machine models for different secondary equipment or using one support vector machine model for all secondary equipment, different state parameters of secondary equipment have different importance for the fault diagnosis of secondary equipment, so It is necessary to assign different weights to different state parameters, and then participate in fault diagnosis as the input vector of the support vector machine model.
二次设备状态参数的权重计算过程:The weight calculation process of the secondary equipment state parameters:
步骤1、组织m位专家对二次设备的n个状态参数进行权重分配,每位专家独立的确定出n个状态参数的权重值为:Step 1. Organize m experts to assign weights to n state parameters of secondary equipment, and each expert independently determines the weight value of n state parameters:
Wi1,Wi2,...,Wij,...,Win(1≤i≤m,1≤j≤n,),其中,i表示第i位专家,j表示第j个状态参数,Wij表示第i位专家给第j个状态参数所分配的权重值;W i1 , W i2 ,...,W ij ,...,W in (1≤i≤m, 1≤j≤n,), where i represents the i-th expert, j represents the j-th state parameter , W ij represents the weight value assigned by the i-th expert to the j-th state parameter;
步骤2、求出m位专家给出的权重值的平均值:Step 2. Calculate the average value of the weight values given by m experts:
步骤3、得出权重值和权重平值之间的偏差:Step 3. Obtain the deviation between the weight value and the weight average:
步骤4、对于偏差Δij大于给定阈值的Wij需要重新处理,反馈到第i位专家重新分配第j个状态参数的权重值,直至所有的Δij满足要求为止。Step 4. W ij whose deviation Δ ij is greater than a given threshold needs to be reprocessed, and fed back to the i-th expert to redistribute the weight value of the j-th state parameter until all Δ ij meet the requirements.
本发明提出的一种电力二次设备监测系统及方法,能够实时监测电力二次设备的状态参数,采用机器学习模型对二次设备的故障风险进行预估诊断,并且经过试验选择适当的状态参数作为机器学习模型的输入向量,同时考虑到不同状态参数对故障诊断产生的影响不同而为其设置不同的权重,而且采用各种方法提高了机器学习模型诊断的准确性。A monitoring system and method for power secondary equipment proposed by the present invention can monitor the state parameters of power secondary equipment in real time, use machine learning models to predict and diagnose the failure risk of secondary equipment, and select appropriate state parameters through experiments As the input vector of the machine learning model, different weights are set for different state parameters taking into account the different effects on fault diagnosis, and various methods are used to improve the accuracy of machine learning model diagnosis.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in the present invention .
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510745728.1A CN105467971B (en) | 2015-11-06 | 2015-11-06 | A kind of second power equipment monitoring system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510745728.1A CN105467971B (en) | 2015-11-06 | 2015-11-06 | A kind of second power equipment monitoring system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105467971A CN105467971A (en) | 2016-04-06 |
CN105467971B true CN105467971B (en) | 2018-02-23 |
Family
ID=55605780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510745728.1A Active CN105467971B (en) | 2015-11-06 | 2015-11-06 | A kind of second power equipment monitoring system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105467971B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106093636B (en) * | 2016-06-06 | 2019-07-12 | 国家电网公司 | The analog quantity check method and device of the secondary device of smart grid |
CN109274418B (en) * | 2018-03-20 | 2022-03-08 | 全球能源互联网研究院有限公司 | Optical fiber communication semi-physical simulation method and device |
CN110531646B (en) * | 2018-05-24 | 2021-06-22 | 株洲中车时代半导体有限公司 | FPGA-based power component system fault data acquisition method and system |
CN108696397B (en) * | 2018-08-14 | 2022-02-25 | 国家电网有限公司 | A method and device for power grid information security assessment based on AHP and big data |
CN109061462A (en) * | 2018-09-14 | 2018-12-21 | 广西电网有限责任公司电力科学研究院 | A kind of High Voltage Circuit Breaker Contacts ablation assessment of failure method |
CN109633335A (en) * | 2018-12-30 | 2019-04-16 | 国网北京市电力公司 | Fault recognition method and device |
JP7347969B2 (en) * | 2019-06-18 | 2023-09-20 | ファナック株式会社 | Diagnostic equipment and method |
CN113052320A (en) * | 2019-12-27 | 2021-06-29 | 北京国双科技有限公司 | Equipment safety monitoring method and device |
CN111191967B (en) * | 2020-04-09 | 2020-07-17 | 图灵人工智能研究院(南京)有限公司 | Energy supply data processing method, system, energy supply control device and storage medium |
CN114185300A (en) * | 2021-12-02 | 2022-03-15 | 国网浙江省电力有限公司建德市供电公司 | Operation monitoring system for new water energy collecting equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201742158U (en) * | 2010-03-26 | 2011-02-09 | 西安工程大学 | Online monitoring device for power transformer |
CN102324034A (en) * | 2011-05-25 | 2012-01-18 | 北京理工大学 | Sensor Fault Diagnosis Method Based on Online Prediction of Least Squares Support Vector Machine |
CN103163420A (en) * | 2011-12-08 | 2013-06-19 | 沈阳工业大学 | Intelligent power transformer on-line state judgment method |
CN103312030A (en) * | 2012-03-08 | 2013-09-18 | 国家电网公司 | Electrical device monitoring system and method |
CN104573740A (en) * | 2014-12-22 | 2015-04-29 | 山东鲁能软件技术有限公司 | SVM classification model-based equipment fault diagnosing method |
-
2015
- 2015-11-06 CN CN201510745728.1A patent/CN105467971B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201742158U (en) * | 2010-03-26 | 2011-02-09 | 西安工程大学 | Online monitoring device for power transformer |
CN102324034A (en) * | 2011-05-25 | 2012-01-18 | 北京理工大学 | Sensor Fault Diagnosis Method Based on Online Prediction of Least Squares Support Vector Machine |
CN103163420A (en) * | 2011-12-08 | 2013-06-19 | 沈阳工业大学 | Intelligent power transformer on-line state judgment method |
CN103312030A (en) * | 2012-03-08 | 2013-09-18 | 国家电网公司 | Electrical device monitoring system and method |
CN104573740A (en) * | 2014-12-22 | 2015-04-29 | 山东鲁能软件技术有限公司 | SVM classification model-based equipment fault diagnosing method |
Also Published As
Publication number | Publication date |
---|---|
CN105467971A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105467971B (en) | A kind of second power equipment monitoring system and method | |
CN105425768B (en) | Power secondary equipment monitoring device and method | |
CN108375715B (en) | A method and system for daily prediction of distribution network line fault risk | |
CN103426056B (en) | Power system weak link identification method based on risk assessment | |
CN103700025B (en) | A kind of assessment sort method of power system device importance degree based on risk analysis | |
CN106598791B (en) | A preventive identification method for industrial equipment faults based on machine learning | |
CN107256449B (en) | A state evaluation and evaluation method of relay protection device in intelligent substation | |
CN107346466A (en) | A kind of control method and device of electric power dispatching system | |
CN117408162B (en) | Power grid fault control method based on digital twin | |
CN103617561A (en) | System and method for evaluating state of secondary equipment of power grid intelligent substation | |
CN106384186A (en) | Distributed new energy grid-connected power quality monitoring method and system | |
CN110829417A (en) | Electric power system transient stability prediction method based on LSTM double-structure model | |
CN108876163A (en) | The transient rotor angle stability fast evaluation method of comprehensive causality analysis and machine learning | |
CN101739025A (en) | Immunity genetic algorithm and DSP failure diagnostic system based thereon | |
CN112906764B (en) | Intelligent diagnosis method and system for communication security equipment based on improved BP neural network | |
CN108959498A (en) | A kind of big data processing platform and its design method for health monitoring | |
CN110865924A (en) | Health Diagnosis Method and Health Diagnosis Framework of Internal Servers in Electric Power Information System | |
CN117590145A (en) | Fault positioning method and system for intelligent power distribution network | |
CN117640218B (en) | A power network security simulation method and system | |
CN106646014A (en) | Transformer fault diagnosis method | |
CN115587331A (en) | Power grid equipment operation state diagnosis and prediction method and system | |
CN115146727A (en) | Intelligent power utilization system fault detection method and system | |
CN105741184B (en) | Transformer state evaluation method and device | |
CN118316157A (en) | A method for evaluating and predicting the state of a DC power supply system in a substation | |
CN117036103A (en) | Electric power system operation situation prediction method based on LSTM (least squares) circulating neural network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |