CN112163613A - Rapid identification method for power quality disturbance - Google Patents

Rapid identification method for power quality disturbance Download PDF

Info

Publication number
CN112163613A
CN112163613A CN202011018702.4A CN202011018702A CN112163613A CN 112163613 A CN112163613 A CN 112163613A CN 202011018702 A CN202011018702 A CN 202011018702A CN 112163613 A CN112163613 A CN 112163613A
Authority
CN
China
Prior art keywords
sequence
disturbance
power quality
feature
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011018702.4A
Other languages
Chinese (zh)
Inventor
王顺江
胡博
苏安龙
葛延峰
周桂平
宁珂甲
周小明
赵军
句荣滨
寿增
金宜放
王铎
凌兆伟
许睿超
刘嘉明
狄跃斌
眭冰
刘先晶
刘广利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Liaoyang Power Supply Co Of State Grid Liaoning Electric Power Supply Co ltd
State Grid Liaoning Electric Power Co Ltd
Shenyang Institute of Engineering
Original Assignee
Liaoyang Power Supply Co Of State Grid Liaoning Electric Power Supply Co ltd
State Grid Corp of China SGCC
State Grid Liaoning Electric Power Co Ltd
Shenyang Institute of Engineering
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Liaoyang Power Supply Co Of State Grid Liaoning Electric Power Supply Co ltd, State Grid Corp of China SGCC, State Grid Liaoning Electric Power Co Ltd, Shenyang Institute of Engineering filed Critical Liaoyang Power Supply Co Of State Grid Liaoning Electric Power Supply Co ltd
Priority to CN202011018702.4A priority Critical patent/CN112163613A/en
Publication of CN112163613A publication Critical patent/CN112163613A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/24323Tree-organised classifiers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

A quick identification method for power quality disturbance belongs to the field of power system control and identification systems, and comprises the following steps: (1) sampling the disturbance signal as input; (2) extracting characteristic data through a Convolutional Neural Network (CNN); (3) the convolutional neural network CNN adopts a random gradient descent method SGD; (4) calculating the importance of each characteristic through GBDT; (5) and constructing a disturbance classifier by using a GBDT algorithm. The invention is a system for identifying the type of the power quality problem with the highest speed and accuracy when the power quality is disturbed, thereby expanding the thinking for identifying the power quality disturbance and further improving the accuracy.

Description

Rapid identification method for power quality disturbance
Technical Field
The invention belongs to the field of control and identification systems of power systems, and particularly relates to a method for quickly identifying power quality disturbance.
Background
With the wide use of new energy power generation and various nonlinear loads, the number of power quality disturbance events in a power system is increasing. Power quality disturbances are typically manifested as sudden changes or deformations in the amplitude, phase and frequency of the voltage or current. These disturbances can cause a number of problems, such as damage to electrical equipment, increased energy consumption, increased electromagnetic interference, and even damage to the safe and stable operation of the power system. The recorder records a large amount of PQDs data, and it is not practical to judge the type of power quality disturbance by manual observation. Therefore, it is necessary to research a classification technique that can automatically determine the type of the power quality disturbance and is efficient and accurate. The automatic identification of power quality disturbances is generally divided into the following 3 steps: signal analysis and feature extraction, feature selection and disturbance classification.
Disclosure of Invention
The invention provides a method for quickly identifying power quality disturbance, which is a system for identifying the types of power quality problems at the highest speed and accuracy when the power quality is disturbed, expands the thought for identifying the power quality disturbance and further improves the accuracy.
The invention adopts the following technical scheme:
a method for rapidly identifying power quality disturbance comprises the following steps:
(1) sampling the disturbance signal as input;
(2) extracting characteristic data through a convolutional neural network CNN, convolving an input data sequence f with a kernel function sequence g, and obtaining an extracted characteristic sequence T;
performing convolution on the one-dimensional time sequence signal, wherein the operation formula is as follows:
Figure BDA0002699965200000011
in the formula: tn is the data sequence after convolution, namely the characteristic sequence; n is the length of the input data f (N); g (n) represents a convolved kernel function sequence, randomly generated, of length equal to the length L of the convolution kernel; the length of the convolved sequence is NL 1;
transmitting the power quality disturbance signal sample f to an input layer, performing convolution operation through a kernel function sequence g in a convolution layer to form a characteristic sequence T, normalizing the characteristic sequence through a normalization layer, activating the characteristic sequence through an excitation layer, deleting redundant parts of the characteristic sequence through a pooling layer, outputting the finally processed characteristic sequence T through a connecting layer, and training and classifying output characteristics; the calculation process of the classification layer is as follows:
Figure BDA0002699965200000021
wherein k is the number of categories, and the output result of Softmax represents the probability that the input data is classified into each label;
(3) the convolutional neural network CNN adopts a random gradient descent method SGD, the SGD method is specifically as follows, and the target function of a sample is as follows:
Figure BDA0002699965200000022
in the formula: theta is an initial parameter; m represents the number of records in the training set; i represents the ith sample; (x)(i),y(i)) Representing a training sample set; h isθ(x(i)) Representing a fitting function;
(4) calculating the importance of each feature through GBDT, wherein the importance measurement of the features by using GBDT is based on the number of times that each feature is used for deciding the node splitting of the tree and the structure gain of the model after each splitting, averaging all the trees after cumulative summation, and the importance of the feature j is measured by the average value of the importance of the feature in all the trees:
Figure BDA0002699965200000023
wherein M is the number of decision trees, and the calculation formula of the importance of the characteristic j in a single tree is
Figure BDA0002699965200000024
In the formula: the number of non-leaf nodes of the tree is L-1; is and node vt(ii) a relevant segmentation feature; t is tiIs the structural gain of the model after node t splitting;
(5) constructing a disturbance classifier by using a GBDT algorithm, wherein the feature vector of each sample forms an input space, and the corresponding disturbance class label forms a mark space; after a feature vector of a new sample is obtained, the learned classifier can predict the disturbance category of the sample, and then the identification of the power quality disturbance is realized.
In order to improve the classification accuracy of the power quality disturbance, a power quality disturbance identification method based on a convolution-gradient lifting tree is adopted for the characteristic of time sequence of disturbance signals. First, the disturbance signal is sampled as an input. Then, feature data are extracted through a Convolutional Neural Network (CNN), the extracted feature data are measured based on the importance of each feature of the gradient lifting tree, and important features are selected. And finally, training and constructing a gradient lifting tree according to the selected feature set to obtain a disturbance classifier, and then screening and updating feature data. And finally, learning and classifying the output characteristic data.
The invention has the advantages and effects that: after a large amount of disturbance data are recorded by the wave recorder, the problem of electric energy quality disturbance is identified more quickly and accurately through a composite algorithm of a convolutional neural network and a gradient lifting tree, the problem is solved more quickly, the loss caused by disturbance is reduced for a power grid, and the income is improved.
Drawings
FIG. 1 is a diagram of a convolutional neural network architecture;
FIG. 2 is a flow chart of the convolution-gradient lifting tree algorithm.
Detailed Description
The invention is explained in more detail below with reference to the drawings and exemplary embodiments.
A method for rapidly identifying power quality disturbance comprises the following steps:
(1) convolutional Neural Networks (CNN) can handle signals of different dimensions. The disturbing signal of the present invention belongs to a one-dimensional signal, so a one-dimensional CNN is used. Because the power quality disturbance signal of the invention has time sequence and the characteristic extracted by CNN lacks time dependency, the classification accuracy rate may be lower. The CNN classification network structure is shown in fig. 1. The structure of the device is respectively an input layer, a convolution layer, a normalization layer, an excitation layer, a pooling layer, an exit layer, a full-connection layer and a classification layer.
(2) The purpose of convolutional layers is to extract features, which are a key ring of the entire CNN. The invention carries out convolution on one-dimensional time sequence signals, and the operation formula is
Figure BDA0002699965200000031
In the formula: tn is the data sequence after convolution, namely the characteristic sequence; n is the length of the input data f (N); g (n) represents a convolved kernel function sequence, randomly generated, of length equal to the length L of the convolution kernel. The length of the convolved sequence is NL 1. The flow of the above convolution can be summarized as follows: and (4) convolving the input data sequence f with the kernel function sequence g, wherein the result is the extracted characteristic sequence T.
The calculation process of the classification layer is as follows:
Figure BDA0002699965200000041
in the formula, k is the number of categories. The output of Softmax represents the probability that the input data is classified to each tag.
The classification scheme is roughly as follows: firstly, a power quality disturbance signal sample f is transmitted to an input layer, then convolution operation is carried out through a kernel function sequence g in a convolution layer to form a characteristic sequence T, then the characteristic sequence is normalized through a normalization layer, activated through an excitation layer and deleted through a pooling layer, finally the processed characteristic sequence T is output through a connecting layer, and output characteristics are trained and classified.
(4) The CNN method of the invention adopts a random gradient descent method (SGD). The SGD method is specifically as follows. The objective function of the sample is:
Figure BDA0002699965200000042
in the formula: theta is an initial parameter; m represents the number of records in the training set; i represents the ith sample; (x)(i),y(i)) Representing a training sample set; h isθ(x(i)) The fitting function is represented. Its advantages are high updating speed and convergence speed of parameters in iterative process.
(5) Gradient boosting is a boosting algorithm using a Regression tree in cart (classification and Regression tree) as a basis learner, and an ensemble learner is obtained through weighted combination of the basis learners. GBDT uses an additive model and a forward stepwise algorithm to implement an iterative process of learning, and in each step, the next decision tree is determined by minimizing a loss function. Aiming at the difficult problem that the optimization problem of each step is difficult to solve, the gradient lifting method is to fit the next decision tree by using the value of the negative gradient of the loss function in the current model as the residual error approximate value of the lifting tree. GBDTs typically have three regularization modes to prevent overfitting to the training data. The first is a strategy to reduce the contribution of each regression tree to the prediction by setting the learning rate. The second is sub-sampling, where a subset of the sample set is obtained by non-back sub-sampling when fitting a new regression tree. And the third method is to carry out pruning treatment on a base learner, namely a CART regression tree. In addition, the complexity of the tree model can be used as a regular term to be added into an optimization target, and the generalization capability is further improved. Therefore, compared with other classification algorithms, the generalization capability of the GBDT is generally stronger, and higher classification accuracy can be obtained.
GBDT can calculate the importance of each feature and realize the ranking of feature importance. Therefore, after obtaining the original feature set F1-F53, GBDT can be used for feature selection to reduce the computational complexity and realize the classification of the disturbance more effectively. The importance measure of the features using GBDT is based on the number of times each feature is used to make a decision on the node split of the tree and the structure gain of the model after each split, and all trees are averaged after cumulative summing. The importance of feature j is measured by the average of the importance of the feature across all trees:
Figure BDA0002699965200000051
in the formula, M is the number of decision trees. The importance degree calculation formula of the characteristic j in a single tree is as follows
Figure BDA0002699965200000052
In the formula: the number of non-leaf nodes of the tree is L-1; is and node vt(ii) a relevant segmentation feature; t is tiIs the structural gain of the model after splitting of the node t
(5) The GBDT algorithm is used for constructing the disturbance classifier, and the process of learning the mapping from the input space to the mark space is provided. The feature vectors of the samples form an input space, and the corresponding disturbance category labels form a labeling space. FIG. 2 shows a construction process of a disturbance classifier based on a gradient lifting tree. After a feature vector of a new sample is obtained, the learned classifier can predict the disturbance category of the sample, and then the identification of the power quality disturbance is realized.
Example 1
By way of simulation data, in contrast to convolutional networks and long-short term memory networks, the table is as follows:
Figure BDA0002699965200000053

Claims (1)

1. a method for rapidly identifying power quality disturbance is characterized by comprising the following steps: the method comprises the following steps:
(1) sampling the disturbance signal as input;
(2) extracting characteristic data through a convolutional neural network CNN, convolving an input data sequence f with a kernel function sequence g, and obtaining an extracted characteristic sequence T;
performing convolution on the one-dimensional time sequence signal, wherein the operation formula is as follows:
Figure FDA0002699965190000011
in the formula: tn is the data sequence after convolution, namely the characteristic sequence; n is the length of the input data f (N); g (n) represents a convolved kernel function sequence, randomly generated, of length equal to the length L of the convolution kernel; the length of the convolved sequence is NL 1;
transmitting the power quality disturbance signal sample f to an input layer, performing convolution operation through a kernel function sequence g in a convolution layer to form a characteristic sequence T, normalizing the characteristic sequence through a normalization layer, activating the characteristic sequence through an excitation layer, deleting redundant parts of the characteristic sequence through a pooling layer, outputting the finally processed characteristic sequence T through a connecting layer, and training and classifying output characteristics; the calculation process of the classification layer is as follows:
Figure FDA0002699965190000012
wherein k is the number of categories, and the output result of Softmax represents the probability that the input data is classified into each label;
(3) the convolutional neural network CNN adopts a random gradient descent method SGD, the SGD method is specifically as follows, and the target function of a sample is as follows:
Figure FDA0002699965190000013
in the formula: theta is an initial parameter; m represents the number of records in the training set; i represents the ith sample; (x)(i),y(i)) Representing a training sample set; h isθ(x(i)) Representing a fitting function;
(4) calculating the importance of each feature through GBDT, wherein the importance measurement of the features by using GBDT is based on the number of times that each feature is used for deciding the node splitting of the tree and the structure gain of the model after each splitting, averaging all the trees after cumulative summation, and the importance of the feature j is measured by the average value of the importance of the feature in all the trees:
Figure FDA0002699965190000021
wherein M is the number of decision trees, and the calculation formula of the importance of the characteristic j in a single tree is
Figure FDA0002699965190000022
In the formula: the number of non-leaf nodes of the tree is L-1; is and node vt(ii) a relevant segmentation feature; t is tiIs the structural gain of the model after node t splitting;
(5) constructing a disturbance classifier by using a GBDT algorithm, wherein the feature vector of each sample forms an input space, and the corresponding disturbance class label forms a mark space; after a feature vector of a new sample is obtained, the learned classifier can predict the disturbance category of the sample, and then the identification of the power quality disturbance is realized.
CN202011018702.4A 2020-09-24 2020-09-24 Rapid identification method for power quality disturbance Pending CN112163613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011018702.4A CN112163613A (en) 2020-09-24 2020-09-24 Rapid identification method for power quality disturbance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011018702.4A CN112163613A (en) 2020-09-24 2020-09-24 Rapid identification method for power quality disturbance

Publications (1)

Publication Number Publication Date
CN112163613A true CN112163613A (en) 2021-01-01

Family

ID=73863566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011018702.4A Pending CN112163613A (en) 2020-09-24 2020-09-24 Rapid identification method for power quality disturbance

Country Status (1)

Country Link
CN (1) CN112163613A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114139436A (en) * 2021-09-14 2022-03-04 国网天津市电力公司 Low-voltage distribution network user power quality disturbance tracing method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664950A (en) * 2018-05-22 2018-10-16 天津大学 A kind of electrical energy power quality disturbance identification and sorting technique based on deep learning

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664950A (en) * 2018-05-22 2018-10-16 天津大学 A kind of electrical energy power quality disturbance identification and sorting technique based on deep learning

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曹梦舟 等: "基于卷积-长短期记忆网络的电能质量扰动分类" *
许立武 等: "基于不完全s变换与梯度提升树的电能质量复合扰动识别" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114139436A (en) * 2021-09-14 2022-03-04 国网天津市电力公司 Low-voltage distribution network user power quality disturbance tracing method

Similar Documents

Publication Publication Date Title
CN109635928B (en) Voltage sag reason identification method based on deep learning model fusion
CN112731309B (en) Active interference identification method based on bilinear efficient neural network
CN114564982B (en) Automatic identification method for radar signal modulation type
CN115270965A (en) Power distribution network line fault prediction method and device
CN111027629A (en) Power distribution network fault outage rate prediction method and system based on improved random forest
CN114118150A (en) Power distribution network single-phase earth fault line selection method and system
CN114358389A (en) Short-term power load prediction method combining VMD decomposition and time convolution network
CN112504682A (en) Chassis engine fault diagnosis method and system based on particle swarm optimization algorithm
CN113869145A (en) Circuit fault diagnosis method and system for light-weight gradient elevator and sparrow search
CN116244647A (en) Unmanned aerial vehicle cluster running state estimation method
Zhang et al. A meta-learning framework for few-shot classification of remote sensing scene
CN112163613A (en) Rapid identification method for power quality disturbance
Jakaria et al. Comparison of classification of birds using lightweight deep convolutional neural networks
CN113987910A (en) Method and device for identifying load of residents by coupling neural network and dynamic time planning
CN115705393A (en) Radar radiation source grading identification method based on continuous learning
CN114708307B (en) Target tracking method, system, storage medium and device based on correlation filter
CN116400168A (en) Power grid fault diagnosis method and system based on depth feature clustering
CN113496255B (en) Power distribution network mixed observation point distribution method based on deep learning and decision tree driving
CN113011597B (en) Deep learning method and device for regression task
CN115100543A (en) Self-supervision self-distillation element learning method for small sample remote sensing image scene classification
CN114330450A (en) Method and system for detecting and identifying underwater vehicle by fusing multiple physical fields
Grace et al. Wind Speed Prediction using Extra Tree Classifier
CN112949720A (en) Unknown radiation source identification method based on triple loss
CN115601634A (en) Image blade identification method and device based on hierarchical attention mechanism
Binu et al. Support vector neural network and principal component analysis for fault diagnosis of analog circuits

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: 20210923

Address after: 111000 81 Bayi Street, Baita District, Liaoyang City, Liaoning Province

Applicant after: LIAOYANG POWER SUPPLY COMPANY OF STATE GRID LIAONING ELECTRIC POWER SUPPLY Co.,Ltd.

Applicant after: STATE GRID LIAONING ELECTRIC POWER SUPPLY Co.,Ltd.

Applicant after: SHENYANG INSTITUTE OF ENGINEERING

Address before: 111099 81 Bayi street, Baita District, Liaoyang City, Liaoning Province

Applicant before: LIAOYANG POWER SUPPLY COMPANY OF STATE GRID LIAONING ELECTRIC POWER SUPPLY Co.,Ltd.

Applicant before: STATE GRID LIAONING ELECTRIC POWER SUPPLY Co.,Ltd.

Applicant before: STATE GRID CORPORATION OF CHINA

Applicant before: SHENYANG INSTITUTE OF ENGINEERING