技术领域technical field
本发明涉及电网调度自动化安全领域,具体涉及一个基于加权马氏距离判别的电网监控信号分析方法。The invention relates to the field of power grid scheduling automation security, in particular to a power grid monitoring signal analysis method based on weighted Mahalanobis distance discrimination.
背景技术Background technique
随着电网规模的不断扩大,电网结构日趋复杂,系统运行方式快速多变,运行管理面临着更大的挑战。而电网监控信息种类繁多、数据量庞大,通过科学的方法监测电网监控信息,归类分析发现电网运行规律以快速做出决策则显得十分必要。With the continuous expansion of the scale of the power grid, the structure of the power grid is becoming more and more complex, the operation mode of the system is changing rapidly, and the operation management is facing greater challenges. However, there are many types of power grid monitoring information and a huge amount of data. It is very necessary to monitor power grid monitoring information through scientific methods, classify and analyze to find out the operation rules of the power grid to make decisions quickly.
监控业务是在“三集五大”调整之后并入调控中心业务中的,之前各地区关于监控信号数据的处理与分析还处于探索阶段。对监控数据的处理分析也主要基于对收集上来的信息进行汇总统计,缺乏全面、系统的分析手段对信息进行归类整理。目前电网调度自动化系统的监控信号数据种类繁多、数据量庞大,数据层次低,缺乏有效的分析手段,使得管理电网的工作消耗很大的人力物力,效率却很低。The monitoring business was merged into the control center business after the adjustment of the "Three Sets and Five Majors". Previously, the processing and analysis of monitoring signal data in various regions was still in the exploratory stage. The processing and analysis of monitoring data is also mainly based on the summary statistics of the collected information, and there is a lack of comprehensive and systematic analysis methods to classify the information. At present, the monitoring signal data of the power grid dispatching automation system is various, the data volume is huge, the data level is low, and there is no effective analysis method, which makes the work of managing the power grid consume a lot of manpower and material resources, but the efficiency is very low.
电网监控信号分析方法是从繁杂的监控跳闸、告警以及不平衡性等数据中归纳、抽取关键监测指标数据,并进行分析、归类、总结,以帮助监控人员总结发现历史规律,辅助决策,从而减轻其繁重的统计分析工作,有效提高电网监控部门的监测分析能力。The power grid monitoring signal analysis method is to summarize and extract key monitoring index data from the complicated data such as monitoring trips, alarms, and imbalances, and analyze, classify, and summarize to help monitoring personnel summarize and discover historical laws and assist decision-making. Reduce its heavy statistical analysis work and effectively improve the monitoring and analysis capabilities of the power grid monitoring department.
发明内容Contents of the invention
本发明的目的在于提供一种方便、有效的基于加权马氏距离判别的电网监控信号分析方法。The purpose of the present invention is to provide a convenient and effective grid monitoring signal analysis method based on weighted Mahalanobis distance discrimination.
本发明的技术解决方案是:Technical solution of the present invention is:
一种基于加权马氏距离判别的电网监控信号分析方法,其特征是:包括下列步骤:A power grid monitoring signal analysis method based on weighted Mahalanobis distance discrimination is characterized in that it includes the following steps:
(1)数据结构设计(1) Data structure design
将每个地区的监控信息抽象成一个m维的元组,表示为X={x1,x2,...,xm}T,m为监控信息的维数,本例中m=5,分别代表类别为事故、异常、越限、变位和告知;Abstract the monitoring information of each region into an m-dimensional tuple, expressed as X={x1 , x2 ,...,xm }T , m is the dimension of the monitoring information, in this example m=5 , which represent the categories of accident, abnormality, limit violation, displacement and notification respectively;
(2)加权马氏距离(2) Weighted Mahalanobis distance
设G={X1,X2,...,Xm}T为m元总体(考察m个监控信号指标),样本X={x1,x2,...,xm}T;令μi=E(Xi)(i=1,2,...,m),则总体均值向量μ={μ1,μ2,...,μm}T;总体G的协方差矩阵为Let G={X1 , X2 ,...,Xm }T be an m-element population (inspecting m monitoring signal indicators), sample X={x1 , x2 ,..., xm }T ; Let μi =E(Xi )(i=1, 2, ..., m), then the population mean vector μ = {μ1 , μ2 , ..., μm }T ; the covariance of the population G The matrix is
Σ=cov(G)=E[(G-μ)(G-μ)T]Σ=cov(G)=E[(G-μ)(G-μ)T ]
样本X与总体G的马氏距离平方为The square of the Mahalanobis distance between the sample X and the population G is
α2(X,G)=(X-μ)TΣ-1(X-μ)α2 (X, G)=(X-μ)T Σ-1 (X-μ)
然而各指标在判定样本X属于总体G所起的作用是不尽相同的,即其重要程度存在差异;因此在马氏距离的基础上加入指标的权重,以区分各指标的重要性,即权值越大,指标越重要;得到加权马氏距离平方为:However, each indicator plays a different role in judging that the sample X belongs to the overall G, that is, its importance is different; therefore, the weight of the indicator is added on the basis of the Mahalanobis distance to distinguish the importance of each indicator, that is, the weight The larger the value, the more important the indicator; the square of the weighted Mahalanobis distance is obtained as:
α2(X,G)=(X-μ)TWΣ-1W(X-μ)α2 (X, G)=(X-μ)T WΣ-1 W(X-μ)
其中W=diag(w1,w2,...,wm),式中:W为对角矩阵;wi∈[0,1](i=1,2,...,m),对应于各指标在距离函数中的权重,Σwi=1;Wherein W=diag(w1 ,w2 ,...,wm ), where: W is a diagonal matrix; wi ∈[0,1](i=1,2,...,m), Corresponding to the weight of each index in the distance function, Σwi =1;
(3)利用加权马氏距离判别法对各地区的监控信息进行分类,具体步骤如下:(3) Use the weighted Mahalanobis distance discriminant method to classify the monitoring information in each region. The specific steps are as follows:
步骤1:将所有地区信息分为k个m元总体,即G1,G2,...,Gk(k>2);Step 1: Divide all regional information into k m-element populations, namely G1 , G2 , ..., Gk (k>2);
步骤2:计算每个总体的均值向量和协方差矩阵分别μi,Σi(i=1,2,...,k);Step 2: Calculate the mean vector and covariance matrix of each population respectively μi , Σi (i=1, 2, ..., k);
步骤3:给m个指标赋以权值,得到W=diag(w1,w2,...,wm);Step 3: assign weights to m indicators, and get W=diag(w1 , w2 ,..., wm );
步骤4:分别计算样本X到k个总体的加权马氏距离平方为α2(X,Gi)(i=1,2,...,k);Step 4: Calculate the squared weighted Mahalanobis distance from sample X to k populations as α2 (X, Gi ) (i=1, 2, ..., k);
步骤5:利用判别准则:若i=l,Step 5: Utilize the discriminant criterion: if i=l,
α2(X,G1)=min{α2(X,Gi)}(i=1,2,...,k),则样本X∈G1,将样本X归入相应的总体;α2 (X, G1 )=min{α2 (X, Gi )}(i=1, 2, ..., k), then sample X∈G1 , classify sample X into the corresponding population;
(4)通过上述方法将各地区监控信号分别归入相应的总体,然后结合历史情况和专业经验对每个总体的监控信号给出不同的处理方案;k=4时,将监控信息分为4类,针对不同的类别给出如下解决方案:(4) Classify the monitoring signals of each region into corresponding populations by the above method, and then provide different processing schemes for the monitoring signals of each population in combination with historical conditions and professional experience; when k=4, divide the monitoring information into 4 Classes, the following solutions are given for different categories:
a)G4总体:延时处理,对相应地区的监控信号观察一段时间,若恢复正常,则返回继续监测;否则调出声像信息,做进一步的分析;a)G4 overall: Delay processing, observe the monitoring signal in the corresponding area for a period of time, if it returns to normal, then return to continue monitoring; otherwise call out the audio and video information for further analysis;
b)G3总体:调出声像信息,分析监控信号是否会对电网的正常运行造成影响;若会造成影响,则派出人员对相应地区的线路及设备进行检修;否则返回继续监测;b) G3 Overall: call out the audio-visual information, and analyze whether the monitoring signal will affect the normal operation of the power grid; if it will affect, send personnel to overhaul the lines and equipment in the corresponding area; otherwise, return to continue monitoring;
c)G2总体:立即派出人员对相应地区的线路及设备进行检修,及时排除隐患c) G2 Overall: Immediately send personnel to overhaul the lines and equipment in the corresponding area, and eliminate hidden dangers in time
d)G1总体:立即派出人员进行检修的同时,必须向上级汇报,调集更多的技术骨干,群策群力,尽快解决问题。d) G1 Overall: Immediately send personnel to carry out maintenance, and must report to the superior, mobilize more technical backbones, and work together to solve the problem as soon as possible.
本发明方便、有效、准确。通过对电网监控信号如事故跳闸、告警信号以及量测不平衡等数据进行归类和统计,得到的监控信号主要可以分为事故、异常、越限、变位和告知。然后给各监控指标赋以不同的权值,通过加权马氏距离判别各地区监控信号属于的紧急类别,针对不同地区的紧急类别,采取分类处理。The invention is convenient, effective and accurate. By classifying and counting the data of power grid monitoring signals such as accident trips, alarm signals, and measurement imbalances, the obtained monitoring signals can be mainly divided into accidents, abnormalities, limit violations, displacements, and notifications. Then assign different weights to each monitoring index, and use the weighted Mahalanobis distance to determine the emergency category of the monitoring signal in each region, and adopt classification processing for the emergency category in different regions.
附图说明Description of drawings
下面结合附图和实施例对本发明作进一步说明。The present invention will be further described below in conjunction with drawings and embodiments.
图1是监控信号分析流程图。Figure 1 is a flow chart of monitoring signal analysis.
具体实施方式Detailed ways
如图1所示,通过对事故、异常、越限、变位和告知5类监控信息的收集,然后将每个地区的监控信息传至输入层,继而通过输入层将信息交给判别层进行处理,最后判别层运用加权马氏距离判别法对样本进行判定,并通过输出层将分类结果输出。As shown in Figure 1, through the collection of five types of monitoring information: accident, abnormality, limit violation, displacement and notification, the monitoring information of each region is transmitted to the input layer, and then the information is passed to the discrimination layer through the input layer for further processing. Finally, the discriminant layer uses the weighted Mahalanobis distance discriminant method to judge the samples, and outputs the classification results through the output layer.
对电网调度自动化系统的事故跳闸、告警信号以及量测不平衡数据进行归类和统计,为该方法提供有效的数据支持。具体内容为:Classify and count the accident trips, alarm signals and measurement unbalance data of the power grid dispatching automation system to provide effective data support for this method. The specific content is:
(1)事故跳闸统计,例如按地区、电压等级统计线路跳闸次数。(1) Statistics on accident trips, such as counting the number of line trips by region and voltage level.
(2)告警分析,例如按维护责任区统计告警信息情况。(2) Alarm analysis, such as statistics of alarm information by maintenance responsibility area.
(3)量测不平衡性统计,例如按厂站统计,点击可查看某厂站每天的不平衡情况。(3) Measurement imbalance statistics, such as statistics by plant, click to view the daily imbalance of a certain plant.
3.加权马氏距离判别方法3. Weighted Mahalanobis distance discriminant method
(1)数据结构设计(1) Data structure design
将每个地区的监控信息抽象成一个m维的元组,表示为X={x1,x2,...,xm}T,m为监控信息的维数,本例中m=5,分别代表监控信号类别为事故、异常、越限、变位和告知。Abstract the monitoring information of each region into an m-dimensional tuple, expressed as X={x1 , x2 ,...,xm }T , m is the dimension of the monitoring information, in this example m=5 , which respectively represent the monitoring signal categories as accident, abnormality, limit violation, displacement and notification.
(2)加权马氏距离(2) Weighted Mahalanobis distance
设G={X1,X2,...,Xm}T为m元总体(考察m个监控指标),样本X={x1,x2,...,xm}T。令μi=E(Xi)(i=1,2,...,m),则总体均值向量μ={μ1,μ2,...,μm}T。总体G的协方差矩阵为Let G={X1 , X2 ,...,Xm }T be an m-element population (investigate m monitoring indicators), sample X={x1 , x2 ,..., xm }T . Let μi =E(Xi )(i=1, 2, . . . , m), then the population mean vector μ={μ1 , μ2 , . . . , μm }T . The covariance matrix of the population G is
Σ=cov(G)=E[(G-μ)(G-μ)T]Σ=cov(G)=E[(G-μ)(G-μ)T ]
样本X与总体G的马氏距离平方为The square of the Mahalanobis distance between the sample X and the population G is
α2(X,G)=(X-μ)TΣ-1(X-μ)α2 (X, G) = (X-μ)T Σ-1 (X-μ)
然而各指标在判定样本X属于总体G所起的作用是不尽相同的,即其重要程度存在差异。因此在马氏距离的基础上加入指标的权重,以区分各指标的重要性,即权值越大,指标越重要。得到加权马氏距离平方为:However, each indicator plays a different role in judging that the sample X belongs to the population G, that is, there are differences in their importance. Therefore, the weight of the index is added on the basis of the Mahalanobis distance to distinguish the importance of each index, that is, the larger the weight, the more important the index. The squared weighted Mahalanobis distance is obtained as:
α2(X,G)=(X-μ)TWΣ-1W(X-μ)α2 (X, G)=(X-μ)T WΣ-1 W(X-μ)
其中W=diag(w1,w2,...,wm),式中:W为对角矩阵;wi∈[0,1](i=1,2,...,m),对应于各指标在距离函数中的权重,Σwi=1。Wherein W=diag(w1 ,w2 ,...,wm ), where: W is a diagonal matrix; wi ∈[0,1](i=1,2,...,m), Corresponding to the weight of each indicator in the distance function, Σwi =1.
例如根据各属性指标对判别结果影响程度,给事故、异常、越限、变位、告知5个属性指标赋以权值wi(i=1,2,3,4,5),其中w1=0.35,w2=0.25,w3=0.2,w4=0.15,w5=0.05,则有For example, according to the degree of influence of each attribute index on the judgment result, assign weights wi (i=1, 2, 3, 4, 5) to the five attribute indexes of accident, abnormality, overrun, displacement, and notification, where w1 =0.35, w2 =0.25, w3 =0.2, w4 =0.15, w5 =0.05, then we have
(3)利用加权马氏距离判别法对各地区的监控信息进行分类,具体步骤如下:(3) Use the weighted Mahalanobis distance discriminant method to classify the monitoring information in each region. The specific steps are as follows:
步骤1:将所有地区信息分为k个m元总体,即G1,G2,...,Gk(k>2)。Step 1: Divide all regional information into k m-ary populations, namely G1 , G2 , . . . , Gk (k>2).
步骤2:计算每个总体的均值向量和协方差矩阵分别μi,Σi(i=1,2,...,k)。Step 2: Calculate the mean vector and covariance matrix of each population respectively μi , Σi (i=1, 2, . . . , k).
步骤3:给m个指标赋以权值,得到W=diag(w1,w2,...,wm)。Step 3: Assign weights to the m indicators to obtain W=diag(w1 , w2 , . . . , wm ).
步骤4:分别计算样本X到k个总体的加权马氏距离的平方为α2(X,Gi)(i=1,2,...,k)Step 4: Calculate the square of the weighted Mahalanobis distance from sample X to k populations as α2 (X, Gi ) (i=1, 2, ..., k)
步骤5:利用判别准则:若i=l,Step 5: Use the discriminant criterion: if i=l,
α2(X,Gi)=min{α2(X,Gi)}(i=1,2,...,k),则样本X∈Gi,将样本X归入相应的总体。α2 (X, Gi )=min{α2 (X, Gi )}(i=1, 2, ..., k), then sample X∈Gi , classify sample X into the corresponding population.
(4)通过上述方法将各地区监控信号分别归入相应的总体,然后结合历史情况和专业经验对每个总体的监控信号给出不同的处理方案。例如k=4时,即可将监控信息分为4类,针对不同的类别给出如下解决方案:(4) Classify the monitoring signals of each region into corresponding populations through the above method, and then provide different processing schemes for the monitoring signals of each population in combination with historical conditions and professional experience. For example, when k=4, the monitoring information can be divided into 4 categories, and the following solutions are given for different categories:
a)G4总体:延时处理,对相应地区的监控信号观察一段时间,若恢复正常,则返回继续监测;否则调出声像信息,做进一步的分析。a) G4 Overall: Delay processing, observe the monitoring signal in the corresponding area for a period of time, if it returns to normal, return to continue monitoring; otherwise, call out the audio and video information for further analysis.
b)G3总体:调出声像信息,分析该监控信号是否会对电网的正常运行造成影响。若会造成影响,则派出人员对相应地区的线路及设备进行检修;否则返回继续监测。b) G3 Overall: call out the audio and video information, and analyze whether the monitoring signal will affect the normal operation of the power grid. If it will cause an impact, send personnel to overhaul the lines and equipment in the corresponding area; otherwise, return to continue monitoring.
c)G2总体:立即派出人员对相应地区的线路及设备进行检修,及时排除隐患。c) G2 Overall: Immediately send personnel to overhaul the lines and equipment in the corresponding area, and eliminate hidden dangers in time.
d)G1总体:立即派出人员进行检修的同时,必须向上级汇报,调集更多的技术骨干,群策群力,尽快解决问题。d) G1 Overall: Immediately send personnel to carry out maintenance, and must report to the superior, mobilize more technical backbones, and work together to solve the problem as soon as possible.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510412516.1ACN105184661A (en) | 2015-07-14 | 2015-07-14 | Grid monitoring signal analysis method based on weighted Mahalanobis distance discrimination |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510412516.1ACN105184661A (en) | 2015-07-14 | 2015-07-14 | Grid monitoring signal analysis method based on weighted Mahalanobis distance discrimination |
| Publication Number | Publication Date |
|---|---|
| CN105184661Atrue CN105184661A (en) | 2015-12-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510412516.1APendingCN105184661A (en) | 2015-07-14 | 2015-07-14 | Grid monitoring signal analysis method based on weighted Mahalanobis distance discrimination |
| Country | Link |
|---|---|
| CN (1) | CN105184661A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110321520A (en)* | 2019-03-22 | 2019-10-11 | 广东电网有限责任公司 | A kind of transformer state evaluation method based on Weighted distance diagnostic method |
| CN110346666A (en)* | 2019-07-15 | 2019-10-18 | 南京邮电大学盐城大数据研究院有限公司 | A kind of network transformer state analysis method differentiated based on weighted Mahalanobis distance method |
| CN110363142A (en)* | 2019-07-15 | 2019-10-22 | 南京邮电大学盐城大数据研究院有限公司 | A kind of power system monitor signal analysis method differentiated based on COS distance |
| CN112163245A (en)* | 2020-09-25 | 2021-01-01 | 北京航空航天大学 | Hardware Trojan horse detection method based on weighting parameter Mahalanobis distance |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103279834A (en)* | 2013-06-03 | 2013-09-04 | 国家电网公司 | Transformer substation monitoring information classification automated processing method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103279834A (en)* | 2013-06-03 | 2013-09-04 | 国家电网公司 | Transformer substation monitoring information classification automated processing method |
| Title |
|---|
| 杨运宝: "《距离判别法在海堤安全检测状态识别中的应用》", 《中国优秀硕士学位论文全文数据库 工程科技II辑》* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110321520A (en)* | 2019-03-22 | 2019-10-11 | 广东电网有限责任公司 | A kind of transformer state evaluation method based on Weighted distance diagnostic method |
| CN110346666A (en)* | 2019-07-15 | 2019-10-18 | 南京邮电大学盐城大数据研究院有限公司 | A kind of network transformer state analysis method differentiated based on weighted Mahalanobis distance method |
| CN110363142A (en)* | 2019-07-15 | 2019-10-22 | 南京邮电大学盐城大数据研究院有限公司 | A kind of power system monitor signal analysis method differentiated based on COS distance |
| CN112163245A (en)* | 2020-09-25 | 2021-01-01 | 北京航空航天大学 | Hardware Trojan horse detection method based on weighting parameter Mahalanobis distance |
| Publication | Publication Date | Title |
|---|---|---|
| CN114757590B (en) | Enterprise operation risk early warning and management and control system based on big data analysis | |
| CN105741498A (en) | Method and device for monitoring and performing early warning on geological hazards | |
| CN115186883A (en) | Industrial equipment health status monitoring system and method based on edge-cloud collaborative computing | |
| CN101726568A (en) | Early-warning prediction method for water environment safety | |
| CN111322082B (en) | A TBM hob condition monitoring and fault diagnosis method and system | |
| CN104751285B (en) | Power network schedule automation front-collection data accuracy differentiates and warning system | |
| CN110912737A (en) | A Dynamic Perception Performance Early Warning Method Based on Mixed Model | |
| CN105184661A (en) | Grid monitoring signal analysis method based on weighted Mahalanobis distance discrimination | |
| CN104574219A (en) | System and method for monitoring and early warning of operation conditions of power grid service information system | |
| CN109491339B (en) | An early warning system for substation equipment operation status based on big data | |
| CN112134871A (en) | An abnormal flow detection device and method for an energy internet information support network | |
| CN117560300B (en) | Intelligent internet of things flow prediction and optimization system | |
| CN115733762A (en) | Monitoring system with big data analysis capabilities | |
| CN105427043A (en) | Improved nearest neighbor algorithm-based power grid alarm analysis method | |
| CN112734977A (en) | Equipment risk early warning system and algorithm based on Internet of things | |
| CN119671160A (en) | Inspection service management system based on artificial intelligence and Internet of Things | |
| CN112256763B (en) | Online monitoring system and equipment | |
| CN119990705A (en) | A smart city monitoring system and method based on AI | |
| CN116232695A (en) | Network security operation and maintenance association analysis system | |
| AU2021106280A4 (en) | A Method of Water Environment Risk Assessment Based on Fuzzy Integral Model | |
| CN105930255A (en) | Method and apparatus for predicting health degree of system | |
| CN116226705A (en) | Situation awareness method based on power resource monitoring | |
| CN112723075B (en) | Method for analyzing elevator vibration influence factors with unbalanced data | |
| CN118311915B (en) | Sewage treatment equipment operation monitoring method and system based on big data | |
| CN117978628B (en) | Communication control method and system based on intelligent park |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20151223 |