Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention
One purpose is to propose intellectual monitoring and the recognition methods of a kind of substation equipment state, to solve the shape of large-scale equipment
State monitoring problem, and handmarking's amount is reduced, improve recognition accuracy.
In order to achieve the above objectives, the invention proposes a kind of intellectual monitoring of substation equipment state and recognition methods, packets
Include following steps: the video or image information of acquisition power transformation station equipment, to establish the original data collection of equipment, wherein
The equipment includes disconnecting switch, route, insulator;According to the classification of equipment by the original data collection be divided into every
It leaves and closes image set, line map image set and insulator image set;Respectively to the disconnecting switch image set, the circuit image
Sample image in collection and the insulator image set is pre-processed, to obtain disconnecting switch subgraph image set, route subgraph
Collection and insulator subgraph image set;According to the disconnecting switch subgraph image set, the route subgraph image set and the insulator subgraph
Image set, which respectively corresponds, establishes disconnecting switch confrontation network model, route confrontation network model and insulator confrontation network model;Benefit
With disconnecting switch confrontation network model, route confrontation network model and insulator confrontation network model difference
Disconnecting switch, route and insulator in test image is monitored and is identified.
The intellectual monitoring of the substation equipment state of the embodiment of the present invention and recognition methods are made by fighting study mechanism
The sample that generator generates has more diversity, plays the role of data enhancing, model is made to be not easy to fall into part in the training process
Minimum point is able to solve the status monitoring problem of large-scale equipment, and it is quasi- to improve identification while reducing handmarking's amount
True rate, and can be realized the normal and abnormality of substation isolating-switch division state and malfunction, route and insulator
On-line intelligence monitoring, help to improve system run all right.
Wherein, the video of the power transformation station equipment or image information be one of in the following manner or a variety of acquisitions:
Video detecting device, unmanned plane technology, the route inspecting robot being mounted in substation acquire.
Wherein, using Scale invariant features transform method according to the classification of equipment by the original data collection be divided into every
It leaves and closes image set, line map image set and insulator image set.
Specifically, described respectively to the disconnecting switch image set, the line map image set and the insulator image set
In sample image pre-processed, comprising: by gray scale operation by the sample image in each image set by triple channel image turn
Become single channel image;Each single channel image is stored in the form of two dimensional data structure;Pass through one-dimensional wavelet function point
It is other that every a line of each single channel image and each column are converted, obtain the approximation component and details point of two-dimensional wavelet transformation
Amount, wherein the approximation component includes Two-order approximation component, and the details coefficients include that second order level detail component, second order hang down
Straight details coefficients, second order diagonal detail component, single order level detail component, single order vertical detail component and single order diagonal detail
Component;Using the Two-order approximation component of each single channel image as the corresponding subgraph of each sample image.
Wherein, gray scale operation is carried out by following formula:
F=0.30R+0.59G+0.11B,
Wherein, F is the gray value of single channel image, and R, G, B are respectively pixel value of the triple channel image on each channel.
Specifically, described according to the disconnecting switch subgraph image set, the route subgraph image set and the insulator subgraph
Image set, which respectively corresponds, establishes disconnecting switch confrontation network model, route confrontation network model and insulator confrontation network model, packet
It includes: concentrating the size of image to establish the corresponding initial confrontation network model of each equipment respectively according to each subgraph;Utilize each subgraph
Image set, and the corresponding training sample image of each equipment and its status indication value in material database are called, to each initial confrontation network
Model is trained to obtain each confrontation network model, wherein the training sample image includes the equipment under a variety of weather environments
Image.
Wherein, the corresponding initial confrontation network model of the disconnecting switch is 5 layer networks, and the route and insulator are corresponding
Initial confrontation network model be 3 layer networks, and 5 layer network and 3 layer network include generator and differentiation
Device, and network final layer uses sigmoid activation primitive, remainder layer is all made of leaky_relu activation primitive.
Specifically, the objective function L of the generatorGIt is indicated by following formula:
Wherein, f (x) indicates the middle layer output of arbiter;
The objective function L of the arbiterDIt is indicated by following formula:
LD=Lsupevised+Lunsupevised,
Wherein,Indicate supervised learning loss,Indicate without
Supervised learning loss, Plabeled(x,y)Middle x indicates the training sample image in material database, and y indicates the corresponding status indication value of x,
Punlabeled(x)Middle x indicates the sample image that each subgraph is concentrated, and z indicates the input noise of the generator, k presentation class number,
The "false" image of generator output is classified as+1 class of kth.
Wherein, the status indication value of the disconnecting switch include be closed completely, be fully disconnected, transition state and failure shape
The status indication value of state, the route and the insulator includes normal condition and malfunction.
Wherein, a variety of weather environments include sunlight, sleet, haze and night.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to
The embodiment of attached drawing description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings intellectual monitoring and the recognition methods of the substation equipment state of the embodiment of the present invention are described.
Fig. 1 is the flow chart of the intellectual monitoring and recognition methods of the substation equipment state of the embodiment of the present invention.
As shown in Figure 1, the intellectual monitoring of substation equipment state and recognition methods the following steps are included:
S1 acquires the video or image information of power transformation station equipment, to establish the original data collection of equipment, wherein
Equipment includes disconnecting switch, route, insulator.
In this embodiment, the video of power transformation station equipment or image information can be one of in the following manner or a variety of
Acquisition: video detecting device, unmanned plane technology, the route inspecting robot being mounted in substation acquire.
It specifically, can be by the video detecting device, unmanned plane or the route inspecting robot that are mounted in substation
Deng the video or image information of acquisition equipment, and collected video or image information can be stored in monitoring center database
In.When needing to be monitored equipment and identify, image pattern and corresponding can be extracted by information database first out of slave station
Device status information is respectively formed original data collection and state array, and state array includes that can recognize to set in correspondence image
Standby all fault messages or location information.Wherein, original data collection and state array can be carried out according to number in station
Arrangement, convenient for the realization of the method for the present invention.
S2, according to the classification of equipment by original data collection be divided into disconnecting switch image set, line map image set and absolutely
Edge subgraph image set.
In this embodiment, Scale invariant features transform method can be used to be drawn original data collection according to the classification of equipment
It is divided into disconnecting switch image set, line map image set and insulator image set.
Specifically, as shown in Figure 1, there are plurality of devices since original data is concentrated, it is therefore desirable to be set to different
It is standby, mainly image-region positioning, identification and the extraction of disconnecting switch, route and insulator equipment.Scale can be used in the present invention
Invariant features convert (Scale-invariant feature transform, SIFT) algorithm to the equipment in initial pictures into
Row Region Matching.SIFT algorithm is a kind of operator of description image local feature based on scale space, the algorithm distinction
Good, informative, local feature also keeps certain stability to visual angle change, affine transformation, noise.The algorithm flow
It is as follows,
1) scale space is constructed, extreme point is detected, obtains scale invariability;
2) it is accurately positioned key point Location Scale, removes unstable edge respective point;
3) each key point is described, generate characteristic matching vector, wherein SIFT feature vector to illumination, noise,
Rotation and scale have good invariance;
4) Image Feature Matching and extracted region of target device.
Disconnecting switch, route and the insulation subgraph of characteristic feature be will be provided with as matching stencil, incited somebody to action by SIFT method
The equipment that original data is concentrated carries out images match with template respectively, marks and extracts the rectangle region where each equipment
Domain divides one group into a kind of equipment image is belonged to, and forms the initial subgraph image set of multiple groups, the sample of every group of subgraph image set according to
Initial pictures sequential organization in step S1, and guarantee that the size of image pattern in same subgraph image set is identical.
S3 respectively locates the sample image in disconnecting switch image set, line map image set and insulator image set in advance
Reason, to obtain disconnecting switch subgraph image set, route subgraph image set and insulator subgraph image set.
In this embodiment, respectively to the sample graph in disconnecting switch image set, line map image set and insulator image set
As being pre-processed, comprising: operated by gray scale the sample image in each image set being changed into single channel by triple channel image
Image;Each single channel image is stored in the form of two dimensional data structure;By one-dimensional wavelet function respectively to each single-pass
Every a line of road image and each column are converted, and the approximation component and details coefficients of two-dimensional wavelet transformation are obtained, wherein close
It include Two-order approximation component like component, details coefficients include second order level detail component, second order vertical detail component, second order pair
Angle details coefficients, single order level detail component, single order vertical detail component and single order diagonal detail component;By each single channel figure
The Two-order approximation component of picture is as the corresponding subgraph of each sample image.Wherein, gray scale operation can be carried out by following formula:
F=0.30R+0.59G+0.11B (1)
Wherein, F is the gray value of single channel image, and R, G, B are respectively pixel value of the triple channel image on each channel.
Specifically, the sample in each image set still includes a large amount of environmental information and disturbing factor.Preprocessing process can
The irrelevant information amount and data dimension of a picture is effectively reduced, the processing time is reduced, recognition efficiency is improved and identification is accurate
Rate.Initial color image includes R, G, B Three-channel data value in computer systems, is operated first by gray scale by triple channel
Image is changed into single channel image, determines gray value F using weighted mean method, as shown in above formula (1).
Image after gray processing is stored in a computer in the form of two dimensional data structure, is distinguished by one-dimensional wavelet function
Its every a line and each column are converted, the approximation component and details coefficients of two-dimensional wavelet transformation are obtained, approximation component indicates
The low frequency value of signal, details coefficients indicate the high frequency value of signal.As shown in figure 3, cA2, cH2, cV2, cD2 respectively indicate image
Two-order approximation component, level detail component, vertical detail component and diagonal detail component, cH1, cV1, cD1 respectively indicate one
Rank level, vertical and diagonal detail component.Second order low-frequency approximation component in subband contains the overwhelming majority in initial pictures
Information, and only have 1/16 size of original image in size, the feature letter of equipment is also remained while reducing image data amount
Breath.The subgraph image set of each group of equipment obtained in step S2 is pre-processed by the above method, extracts Two-order approximation point
Amount forms input data matrix of the new subgraph image set as following model.
S4 respectively corresponds foundation isolation according to disconnecting switch subgraph image set, route subgraph image set and insulator subgraph image set
Switch confrontation network model, route confrontation network model and insulator fight network model.
In this embodiment, right respectively according to disconnecting switch subgraph image set, route subgraph image set and insulator subgraph image set
Disconnecting switch confrontation network model, route confrontation network model and insulator confrontation network model should be established, comprising: according to each
Subgraph concentrates the size of image to establish the corresponding initial confrontation network model of each equipment respectively;Using each subgraph image set, and adjust
With the corresponding training sample image of each equipment and its status indication value in material database, each initial confrontation network model is carried out
Training obtains each confrontation network model, wherein training sample image includes the equipment image under a variety of weather environments.Wherein, every
The status indication value for leaving pass include be closed completely, be fully disconnected, transition state and malfunction, the shape of route and insulator
State mark value includes normal condition and malfunction.
Optionally, a variety of weather environments include sunlight, sleet, haze and night.
Wherein, the corresponding initial confrontation network model of disconnecting switch is 5 layer networks, and route and insulator are corresponding initial right
Anti- network model is 3 layer networks, and 5 layer networks and 3 layer networks include generator and arbiter, and network final layer is adopted
With sigmoid activation primitive, remainder layer is all made of leaky_relu activation primitive.Wherein, the objective function L of generatorGPass through
Following formula (2) indicates:
Wherein, f (x) indicates the middle layer output of arbiter, connects the output of generator gradually by characteristic matching mechanism
Nearly true picture.
The objective function L of arbiterDIt is indicated by following formula (2):
LD=Lsupevised+Lunsupevised (3)
Wherein,Indicate supervised learning loss,Indicate without
Supervised learning loss, Plabeled(x,y)Middle x indicates the training sample image in material database, and y indicates the corresponding status indication value of x,
Punlabeled(x)Middle x indicates that the sample image that each subgraph is concentrated, z indicate the input noise of generator, and k presentation class number is raw
The "false" image of output of growing up to be a useful person is classified as+1 class of kth.
Specifically, as shown in Fig. 2, pretreated subgraph image set is respectively disconnecting switch subgraph image set, insulator subgraph
Image set and route subgraph image set, image pattern therein are the Two-order approximation component extracted after wavelet transformation.According to every
The sample-size of a sub- image set determines optimal network hyper parameter respectively, establishes three groups of confrontation network models later and recognizes respectively
The state of disconnecting switch, insulator and route.
1) disconnecting switch recognizes
Before and after grid switching operation, usually there are three kinds of states in disconnecting switch: close a floodgate completely, complete separating brake, transition state.This hair
The network model of bright middle foundation can realize the state recognition to disconnecting switch state according to image pattern, and can identify
It has the disconnecting switch there are failure.To i-th of disconnecting switch QiHave:
Wherein, tiThe status indication value for indicating i-th of disconnecting switch, using one group of four-dimensional one-hot coding vector pair
Answer tiFour kinds of state classifications, and according to the chronological order of disconnecting switch image data set formed status indication encoder matrix.It is right
In a certain group of disconnecting switch (A/B/C three-phase), when only exporting 01 and 10, control system can just assert that switch is in and arrive completely
Position state, otherwise output is waited instruction or fault message to be uploaded to mster-control centre by system.
For the sample-size of disconnecting switch image data set, the generator and arbiter of 5 layer networks are established.Generator
Structure is as shown in figure 4, the effect of generator is that random noise input is reduced to true picture size step by step.Arbiter knot
Structure and generator structure are on the contrary, as shown in Figure 5.By calling disconnecting switch training image sample and its state in material database
Mark value completes model training, i.e., the sample matrix of disconnecting switch subgraph image set obtained above and calls from material database
Disconnecting switch training image sample and its status indication value are passed through as authentic specimen with the "false" sample matrix that generator generates
Fourth dimension forms joint input matrix after being coupled and inputs as arbiter, by two layers of convolutional network and one layer of fully-connected network
Exporting one group of five dimension one-hot vector afterwards indicates the classification results of state.The joint input square of this group of output vector and arbiter
Sample in battle array corresponds, four kinds of state+generator "false" image classifications of five kinds of classification corresponding (4).
The arbiter objective function L of the semi-supervised trained mechanism as a result,DAs shown in above formula (3), generator objective function LG
As shown in above formula (2).
2) route and insulator state recognize
The state of route and insulator is divided into normal condition and malfunction.Route and insulator image pattern are built respectively
Found 3 layers of confrontation network model, same route and insulator training image sample and its status indication value instruction using in material database
Practice model, arbiter classification results are in addition to the two states in following formula (5), including the third "false" image classification.
S5 is distinguished using disconnecting switch confrontation network model, route confrontation network model and insulator confrontation network model
Disconnecting switch, route and insulator in test image is monitored and is identified.
Wherein, test image is preferably the image that above-mentioned each subgraph is concentrated.
Specifically, realization can be programmed in MATLAB according to process shown in Fig. 2, and right respectively using Neural Network Toolbox
Disconnecting switch, route and insulator sample set are tested, and recognition accuracy is recorded.Test parameter is provided that for isolation
Switch samples collection establishes 5 layers of confrontation network, establishes 3 layers of confrontation network respectively for route and insulation submodel.Network final layer
Using sigmoid activation primitive, remainder layer is all made of leaky_relu activation primitive.To prevent over-fitting, arbiter
Coefficient 0.5 is arranged in dropout, and tape label sample (sample called from material database) measures accounting 0.2.Used test sample
Information is as shown in table 1,
Table 1
It is right using the present invention based on GAN (Generative Adversarial Networks, production fight network)
Every group of sample is tested in table 1, and be based on CNN (Convolutional Neural Networks, convolutional Neural net
Network) image recognition algorithm comparison, I Classification and Identification accuracy rate of gained test group is listed in table 2, test result, and test is whole accurate
Rate is listed in table 3.
Table 2
Recognition methods |
Disconnecting switch |
Route |
Insulator |
Whole accuracy rate |
GAN |
95.83% |
100% |
100% |
96.67% |
CNN+SVM |
93.75% |
100% |
83.33% |
93.33% |
Table 3
Test group |
Ⅰ |
Ⅱ |
Ⅲ |
Ⅳ |
GAN |
96.67% |
96.21% |
91.99% |
93.04% |
CNN+SVM |
93.33% |
89.01% |
76.17% |
71.57% |
From Table 2, it can be seen that discrimination of the method for the present invention on sorting device is superior to CNN algorithm, from Fig. 6
Out, with the growth of sample size, advantage of this paper model in large-scale image identification problem is more obvious.
The intellectual monitoring of the substation equipment state of the embodiment of the present invention and recognition methods are made by fighting study mechanism
The sample that generator generates has more diversity, plays the role of data enhancing, model is made to be not easy to fall into part in the training process
Minimum point;The status monitoring that large-scale equipment is solved the problems, such as using semi-supervised learning mechanism is reducing the same of handmarking's amount
When improve recognition accuracy;By region recognition and extract to device class, according to classification results adjust automatically network inputs
Hyper parameter is exported to adapt to the size of distinct device sample, improves operation efficiency, shortens the model running time, data is reduced and passes
Defeated delay can be realized the normal and abnormal shape of substation isolating-switch division state and malfunction, route and insulator
The on-line intelligence of state monitors, and helps to improve system run all right.
Further, the invention also provides a kind of computer readable storage mediums.
In an embodiment of the present invention, computer program, computer program quilt are stored on computer readable storage medium
Processor realizes intellectual monitoring and the recognition methods of above-mentioned substation equipment state when executing.
The computer readable storage medium of the embodiment of the present invention, the intelligence with above-mentioned substation equipment state stored on it
When energy monitoring computer program corresponding with recognition methods is executed by processor, substation isolating-switch division shape can be realized
The on-line intelligence of the normal and abnormality of state and malfunction, route and insulator monitors, and it is steady to help to improve system operation
It is qualitative, and recognition accuracy is improved while reducing handmarking's amount.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.