A method and system for semantic analysis and situation awareness of power grid monitoring signals
Through the signal text error correction and situation awareness model based on deep learning, the problem of semantic analysis of power grid monitoring signals is solved, and detailed power grid situation awareness is achieved, helping power grid monitors to quickly handle faults and reduce power outage losses.
Patent Information
- Application Number
- CN202210489954.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-05-07
AI Technical Summary
Existing technology makes it difficult to conduct in-depth semantic analysis of power grid monitoring signals and achieve delicate power grid situation awareness, especially when faced with non-standardized abnormal signals, resulting in power grid monitors being unable to effectively monitor the power grid operating situation.
Using a method based on deep learning, by constructing a signal text error correction model and a power grid situation awareness model, using a two-way gated cyclic unit and BERT for signal error correction, and combining the RNN network and Adam algorithm, a power grid situation awareness system is established to realize power grid faults. Semantic parsing and situational awareness of signals.
It achieves detailed semantic analysis and situational awareness of power grid fault signals, helping power grid monitors to quickly identify faulty equipment and types, reduce power outage losses, and reduce the impact of noise words.
Smart Images

Figure CN114912484B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of machine learning, and in particular to a method and system for semantic parsing and situation awareness of power grid monitoring signals based on deep learning. Background Art
[0002] Building a new power system with new energy as the main body is an inevitable trend in the development of contemporary power systems.
[0003] Efficient and accurate identification of power grid monitoring signals is an important foundation for the safe and stable operation of new power systems. Due to historical reasons, before 2012, the signal interval division of the substation transmission and transformation equipment of domestic power grid companies was wrong, the signal name contained typos, and the signal semantics was unclear. With the continuous advancement of smart grid construction, the National Electric Power Dispatching and Control Center began to standardize and regulate the power grid monitoring information in 2012, and formulated a typical information table for 500kV substations and a typical information table for 220kV substations. In recent years, due to the continuous increase in online monitoring equipment for power grids, the continuous commissioning of substations with multiple voltage levels, the continuous implementation of secondary lean transformation projects for substations, and the gradual standardization of point table audits, the improvement and standardization of power grid monitoring signals have been achieved from the source, so that a large number of standardized signals are stored in the SCADA / EMS system, providing a sufficient and effective corpus for data-driven semantic analysis of power grid monitoring signals.
[0004] The load of 220kV / 110kV power grids in large and medium-sized cities has shown a multi-polar growth with the rapid economic development. During the peak summer period, the power grid has been operating at a high load for a long time. In order to ensure the reliable power supply of important users in the supply area, the dynamic adjustment of the power grid operation mode makes the power grid insufficient in its ability to resist risks. Once a 500kV or 220kV power transmission and transformation equipment failure occurs, the average daily number of alarm signals of the power grid equipment will be 4 to 5 times that of the fault-free state. The frequency of the total number of power grid alarm signals is too large, exceeding its carrying capacity, which may cause the power grid monitor to be unable to take care of both, and thus cannot guarantee the comprehensive monitoring of the power grid equipment, which will lose the all-round perception of the power grid operation status.
[0005] In recent years, the rapid development of natural language processing (NLP) technology has enabled machines to understand human language and execute corresponding applications or services. Its application scenarios include speech recognition, speech translation, text translation, paragraph matching, and typo correction. Classic language models include Word2Vec, Convolutional Neural Network (CNN), Recurrent Neural Network (RNN), Transformer, and BERT (Bidirectional encoder representations from transformers) models. Through the learning of a massive fault signal corpus, the NLP neural network model can automatically mine semantic features from signal data to achieve text error correction of power grid monitoring signals and situational awareness of the power grid.
[0006] Most of the existing research is to perceive the type, location and duration of the fault in the power grid from the physical characteristics of the fault, such as short-circuit current, voltage mutation, fault recording, PMU, etc. However, the internal logic data mining of the monitoring signal on the power grid side after the fault occurs is not deep enough, and for the possible non-standard abnormal signals, the existing methods cannot realize the semantic analysis of the signal, and cannot achieve more delicate power grid situation awareness. Summary of the invention
[0007] The purpose of the present invention is to provide a deep learning-based semantic analysis and situational awareness method for power grid monitoring signals to address the above-mentioned problems, so as to achieve semantic analysis of signals and delicate power grid situational awareness.
[0008] The technical solution adopted by the present invention is as follows:
[0009] A method for semantic parsing and situation awareness of power grid monitoring signals based on deep learning, comprising:
[0010] The original signal set after the power grid fault event occurs is read, and the original signal set is cross-identified using a signal text error correction model to obtain a feature set; the signal text error correction model is constructed using a detection network of a bidirectional gated recurrent unit and a correction network based on BERT;
[0011] The feature set is sent to a pre-trained power grid situation awareness model for identification, wherein the training sample set of the power grid situation awareness model is constructed based on a standard monitoring signal library.
[0012] Furthermore, the correction network uses the error probability predicted by the detection network as a weighted value to predict the error correction probability of the original signal set.
[0013] Furthermore, the training sample set is formed by scanning various anticipated fault events one by one based on a standard monitoring signal library for various power grid components and in combination with several protection setting lists of the components.
[0014] Furthermore, the training sample set includes a sample set corresponding to power grid fault events and a sample set corresponding to power grid normal events.
[0015] Furthermore, the power grid situation awareness model is obtained by training the RNN network, and the network parameters of the RNN network are updated using the Adam algorithm and the exponential decay algorithm of the learning rate.
[0016] To solve the above problems, the present invention also provides a power grid monitoring signal semantic parsing and situation awareness system based on deep learning, which includes an input module, a text error correction module, a power grid situation awareness module and an output module, wherein:
[0017] The input module is configured to read a set of original signals after a power grid fault event occurs;
[0018] The text error correction module is configured with a signal text error correction model, which is constructed by using a detection network of a bidirectional gated recurrent unit and a correction network based on BERT. The signal text error correction model cross-identifies the original signal set to obtain a feature set;
[0019] The power grid situation awareness module is configured with a pre-trained power grid situation awareness model. The training sample set of the power grid situation awareness model is constructed based on a standard monitoring signal library. The power grid situation awareness model identifies the feature set and outputs the identification result through the output module.
[0020] Furthermore, the correction network uses the error probability predicted by the detection network as a weighted value to predict the error correction probability of the original signal set.
[0021] Furthermore, the training sample set is formed by scanning various anticipated fault events one by one based on a standard monitoring signal library for various power grid components and in combination with several protection setting lists of the components.
[0022] Furthermore, the training sample set includes a sample set corresponding to power grid fault events and a sample set corresponding to power grid normal events.
[0023] Furthermore, the power grid situation awareness model is obtained by training the RNN network, and the network parameters of the RNN network are updated using the Adam algorithm and the exponential decay algorithm of the learning rate.
[0024] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0025] 1. Compared with the method of perceiving the type of power grid fault from the physical characteristics of the power grid fault, the present invention can realize the semantic analysis of the signal and more delicate power grid situation awareness by constructing a signal text error correction model and a power grid situation awareness model, which helps the power grid monitor to quickly perceive the power grid fault equipment and type, assists them in quickly handling the fault, and greatly reduces the power outage losses caused by power grid faults.
[0026] 2. The power grid monitoring signals in the original signal set are often short phrases consisting of multiple phrases. The use of the signal text error correction module can make the text features more distinctive and reduce the impact of noise words. It can correct the sound-similar and shape-similar typos and the logical semantics before and after, and output the corresponding standard signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The present invention will now be described by way of example with reference to the accompanying drawings, in which:
[0028] Figure 1 It is a structural diagram of the text error correction model.
[0029] Figure 2 It is the architecture diagram of the power grid situation awareness model.
[0030] Figure 3 It is the structural diagram of the RNN network model.
[0031] Figure 4 It is a flowchart of power grid situation identification during specific implementation. DETAILED DESCRIPTION
[0032] All features disclosed in this specification, or steps in all methods or processes disclosed, except mutually exclusive features and / or steps, can be combined in any manner.
[0033] Any feature disclosed in this specification (including any additional claims and abstract), unless otherwise stated, may be replaced by other equivalent or alternative features having similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
[0034] Embodiment 1
[0035] This embodiment discloses a method for semantic parsing and situation awareness of power grid monitoring signals based on deep learning, comprising the following steps:
[0036] A. Read the original signal set after the power grid fault event occurs, and use the signal text error correction model based on Soft-Masked BERT to cross-identify the original signal set to obtain an approximate standard signal set Ψ.
[0037] The above signal text error correction model, such as Figure 1 As shown in the figure, it is constructed using a detection network (Detection Network) of a bidirectional gated recurrent unit (Bi-GRU) and a correction network (Correction Network) based on BERT (Bidirectional Encoder Representation from Transformers). Specifically, the detection network predicts the error probability, the correction network predicts the error correction probability, the detection network uses the Soft-Masking module to pass the prediction results to the correction network, and finally the correction network outputs the correct character through the Softmax classifier.
[0038] The initial power grid monitoring signal name tag sequence consists of n characters, and the initial power grid monitoring signal name tag sequence is:
[0039] X i =[x1, x2, …, x n ]
[0040] The goal is to convert it into a correct power grid monitoring signal name containing m (m≤n) characters:
[0041] Y i =[y1,y2,...,y m ]
[0042] Where X i Incorrect characters in Y i The correct characters are replaced in .
[0043] The error probability of the detection network prediction is p i .e i Indicates monitoring signal X i The output is a label sequence G = (g1, g2, ..., g m ), where g i The mark of the i-th character, which takes the value of 1 or 0, 1 means the character is incorrect, and 0 means the character is correct. For each character, the error probability p i represents the probability that the character is labeled 1. p i The higher the value, the more likely the character is wrong (assuming p iIf the error probability is greater than 90%, the corresponding character will be deleted. According to the Bi-GRU principle, for each character in the sequence, the error probability p i Defined as:
[0044]
[0045] Where P d (g i =1|X) represents the conditional probability calculated by the detection network, σ represents the Sigmoid function, is the hidden state of Bi-GRU, W d and b d is its characteristic parameter. The hidden state of Bi-GRU is defined as:
[0046]
[0047] In the formula, GRU represents the GRU (Gated Recurrent Unit, GRU) function, Represents the bidirectional hidden state connection of the GRU function.
[0048] The soft-masking module uses the error probability as a weight and calculates the soft-masked embedding value to achieve accurate detection and correction of characters. The i-th soft-masked embedding value e′ i The calculation formula is:
[0049] e′ i =p i ·e mask +(1-p i )·e i
[0050] In the formula, e mask is the mask embedding. If the error probability is high, the i-th Soft-masked embedding value is close to the mask embedding e mask , otherwise, it is close to the input embedding e i .
[0051] Each power grid monitoring signal in the original signal set is often a short phrase consisting of multiple phrases. After word segmentation by the above-mentioned signal text error correction model, the text features can be made more distinctive, the influence of noise words can be reduced, and the sound-similar and shape-similar typos and the logical semantics of the previous and next words can be corrected.
[0052] B. The approximate standard signal set Ψ is expressed as the feature set at the time of the fault, and the feature set is sent to the power grid situation awareness model for identification to obtain the identification result of the signal when the power grid fault event occurs, such as Figure 2The power grid situation awareness model is trained based on the "signal semantics-power grid event" dictionary, that is, the "signal semantics-power grid event" dictionary is used as the training sample set of the model.
[0053] The above-mentioned "signal semantics-grid event" dictionary is constructed based on the standard monitoring signal library of various types of equipment. For example, the "500kV substation typical information table (trial)" and "220kV substation typical information table (trial)" compiled by the National Electric Power Dispatching and Control Center are all compiled for events that conform to the laws of nature. Further, according to the different grid events corresponding to the signals, the inherent logical relationship between the grid events and the associated signals is refined. In an embodiment of the present invention, the grid events are divided into regular grid events and grid fault events, wherein the signals corresponding to the regular grid events can be divided into five groups: daily grid equipment operation associated signals, equipment regular maintenance signals, on-site fault elimination and debugging signals, equipment defect signals, and mis-sent signals. The grid fault events can basically sort out various types of faults according to the protection action type, roughly including circuit breaker protection actions of various voltage levels, line protection actions, transformer protection actions, busbar protection actions, capacitor protection actions, station transformer protection actions, reactor protection actions, etc. According to the conventional events of the power grid and the fault events of the power grid, the signals are sorted out respectively, and a dictionary reflecting the association rules between "signal semantics-conventional events of the power grid" and "signal semantics-fault events of the power grid" is obtained. It should be noted that since the standard monitoring signal library is unified, the dictionary compiled based on it has universality and is a comparison relationship that conforms to the laws of nature and objective facts. The following Tables 1 and 2 are some examples of the dictionary.
[0054] Table 1 Dictionary of “Signal semantics - grid routine events”
[0055]
[0056]
[0057] Table 2 “Signal semantics - power grid fault event” dictionary
[0058]
[0059]
[0060] In Table 2, when a certain group of protection is activated, not all protection-related signals of the group will be triggered. This is because when the faults or voltage levels of the grid components are different, although the corresponding protection actions will trip, the triggered characterization signals are different. For example, when the 220kV cable line is equipped with two sets of optical fiber differential protection and the reclosing switch is not thrown, if a single-phase grounding occurs on the 220kV line, the alarm window will only trigger the alarm of the 220kV line protection device and the signals of the 1st and 2nd sets of longitudinal differential protection outlets of the 220kV line; however, when a single-phase grounding occurs on the 110kV overhead line and the reclosing fails, the alarm window will trigger the alarm of the 110kV line protection device, the longitudinal differential protection outlet of the 110kV line, the reclosing switch action, the longitudinal differential protection outlet of the 110kV line, and the reclosing switch lockout. Therefore, for the same type of grid components, it is also necessary to formulate corresponding signal triggering logic according to the specific expected grid events.
[0061] A power grid situation awareness model based on RNN network is established. For various power grid components, combined with the relay protection setting list of the components, the "signal semantics-power grid event" rule dictionary formed by various expected fault events is scanned one by one. The "signal semantics-power grid fault event" dictionary and the "signal semantics-power grid routine event" dictionary are deeply learned using the RNN network model. Through deep learning, an intelligent inference machine for power grid situation awareness is formed, that is, the power grid situation awareness model mentioned above. The RNN network structure is as follows: Figure 3 As shown in the figure, it is a nonlinear neural network, in which various input power grid monitoring signals and various types of power grid faults are encoded in a numbered manner, and then the Min-Max method is selected for data normalization. In order to prevent overfitting, the Dropout algorithm is added to the model to change the structure of the neural network by randomly discarding some neurons and reducing the dependence between neurons.
[0062] In addition, in order to improve the disadvantage of the constant learning rate in the iterative process of the traditional gradient descent method, in some embodiments, the Adam algorithm and the exponential decay algorithm of the learning rate are introduced to update the network parameters of the RNN network to accelerate the convergence speed of the model. A nonlinear mapping relationship between the monitoring signal and the fault characteristics and fault types is established, such as:
[0063]
[0064] Where α is the monitoring signal vector; m is the number of monitoring signals; β is the power grid event vector; n is the number of power grid events, and f(α) represents the mapping relationship between the power grid event vector and the monitoring signal vector.
[0065] In this way, through the cooperation of the signal text error correction model and the power grid situation awareness model, a more accurate semantic analysis of the power grid fault signal set and delicate power grid situation awareness can be performed, which can assist power grid monitors in making decisions on the faulty components and fault types of the power grid.
[0066] Embodiment 2
[0067] This embodiment discloses a process for specifically implementing the deep learning-based power grid monitoring signal semantic parsing and situation awareness method of the present invention.
[0068] The process includes the following steps:
[0069] Step 1: Use the detection network of bidirectional gated recurrent units and the correction network based on BERT to form a signal text error correction model. The detection network predicts the probability of error, and the correction network predicts the probability of error correction. The detection network uses the Soft-Masking module to pass the prediction results to the correction network, and finally outputs the correct characters through the Softmax classifier.
[0070] The initial power grid monitoring signal name tag sequence consists of n characters, and the initial power grid monitoring signal name tag sequence is:
[0071] X i =[x1, x2, ..., x n ]
[0072] The goal is to convert it into a correct power grid monitoring signal name containing m (m≤n) characters:
[0073] Y i =[y1,y2,...,y m ]
[0074] Where X i Incorrect characters in Y i The correct characters are replaced in .
[0075] e i Indicates monitoring signal X i The output is a label sequence G = (g1, g2, ..., g m ), where g i represents the mark of the i-th character, 1 means the character is incorrect, and 0 means the character is correct. For each character, the error probability p i represents the probability that the character is labeled 1. p i The higher the value, the more likely the character is wrong (assuming p i If the error probability is greater than 90%, the corresponding character will be deleted. According to the Bi-GRU principle, for each character in the sequence, the error probability p i Defined as:
[0076]
[0077] Where P d (g i =1|X) represents the conditional probability calculated by the detection network, σ represents the Sigmoid function, is the hidden state of Bi-GRU, W d and b d is its characteristic parameter. The hidden state of Bi-GRU is defined as:
[0078]
[0079] In the formula, GRU represents the GRU (Gated Recurrent Unit, GRU) function, Represents the bidirectional hidden state connection of the GRU function.
[0080] The soft-masking module uses the error probability as a weight and calculates the soft-masked embedding value to achieve accurate detection and correction of characters. The i-th soft-masked embedding value e i The calculation formula is:
[0081] e' i =p i ·e mask +(1-p i )·e i
[0082] In the formula, e mask is the mask embedding. If the error probability is high, the i-th Soft-masked embedding value is close to the mask embedding e mask , otherwise, it is close to the input embedding e i .
[0083] Step 2: Starting from the standard monitoring signal library of various types of equipment, such as the "500kV substation typical information table (trial)" and "220kV substation typical information table (trial)" sorted out by the National Electric Power Dispatching and Control Center, the internal logical relationship between the power grid fault event and the associated signal is refined according to the different power grid events corresponding to the signal. The present invention provides a power grid event classification method: the power grid events are divided into conventional power grid events and power grid fault events, wherein the signals corresponding to the conventional power grid events can be divided into five groups: daily power grid equipment operation associated signals, equipment regular maintenance signals, on-site fault elimination and debugging signals, equipment defect signals, and mis-transmitted signals. The power grid fault event can basically sort out various types of faults according to the protection action type, roughly including circuit breaker protection actions of various voltage levels, line protection actions, transformer protection actions, busbar protection actions, capacitor protection actions, station transformer protection actions, reactor protection actions, etc. According to the conventional power grid events and power grid fault events, the signals are sorted out respectively, and the association rule dictionary between "signal semantics-conventional power grid events" and "signal semantics-power grid fault events" is obtained. For details, please refer to Table 1 and Table 2 in Example 1.
[0084] Step 3: Establish a power grid situation awareness model based on RNN. For each power grid component, combined with the relay protection setting list of the component, scan the "signal semantics-power grid event" rule dictionary formed by various expected fault events one by one, and form an intelligent reasoning machine for power grid situation awareness through deep learning. The RNN network model is used to conduct deep learning on the "signal semantics-power grid fault event" dictionary and the "signal semantics-power grid regular event" dictionary. The RNN network structure is as follows: Figure 3 As shown in the figure, it is a nonlinear neural network, in which various input power grid monitoring signals and various types of power grid faults are encoded in a numbered manner, and then the Min-Max method is selected for data normalization. In order to prevent overfitting, the Dropout algorithm is added to the model to change the structure of the neural network by randomly discarding some neurons and reducing the dependence between neurons.
[0085] In addition, in order to improve the disadvantage of the constant learning rate in the iterative process of the traditional gradient descent method, this patent introduces the Adam algorithm and the exponential decay algorithm of the learning rate to update the parameters to accelerate the convergence of the model. A nonlinear mapping relationship between the monitoring signal and the fault characteristics and fault type is established, as shown in the formula:
[0086]
[0087] Where α is the monitoring signal vector; m is the number of monitoring signals; β is the power grid event vector; n is the number of power grid events, and f(α) represents the mapping relationship between the power grid event vector and the monitoring signal vector.
[0088] Step 4: All signals triggered in the alarm window are cross-identified through the signal error correction model based on Soft-Masked BERT, and the identified signals are input into the intelligent inference engine of power grid situation awareness to assist power grid monitors in making decisions on faulty components and fault types of the power grid.
[0089] Embodiment 3
[0090] This embodiment discloses another method for semantic parsing and situation awareness of power grid monitoring signals based on deep learning. The models, parameters, etc. in this embodiment are all referred to in the first embodiment. The method of this embodiment includes the following steps:
[0091] Step 1: Read the original signal set after the power grid fault event occurs, use the signal error correction model of Soft-MaskedBERT for cross-identification, and obtain a set Ψ that is close to the standard signal.
[0092] Step 2: Express the identification signal set Ψ as the feature set at the fault moment.
[0093] Step 3: Read the power grid situation awareness model based on the RNN network trained according to the "signal semantics-power grid routine events" and "signal semantics-power grid fault events" dictionaries.
[0094] Step 4: Send the feature set into the RNN power grid situation awareness model for identification.
[0095] Step 5: According to the dictionary training of "signal semantics-grid routine events" of the RNN model, specific grid routine events in the feature set are obtained after identification; according to the dictionary training of "signal semantics-grid fault events" of the RNN model, specific grid fault events in the feature set are obtained after identification.
[0096] Step 6: Integrate the signal identification results in the alarm window to display specific grid routine events and fault event classification results.
[0097] Embodiment 4
[0098] This embodiment discloses a power grid monitoring signal semantic parsing and situation awareness system based on deep learning, the system includes an input module, a text error correction module, a power grid situation awareness module and an output module, wherein:
[0099] The input module is configured to read a raw signal set after a power grid fault event occurs.
[0100] The text error correction module is configured with a signal text error correction model, such as Figure 1As shown in the figure, the signal text error correction model is constructed using a detection network of bidirectional gated recurrent units and a correction network based on BERT. Specifically, the detection network predicts the error probability, the correction network predicts the error correction probability, the detection network uses the Soft-Masking module to pass the prediction results to the correction network, and finally the correction network outputs the correct characters through the Softmax classifier. The signal text error correction model cross-identifies the original signal set and obtains a set that is similar to the standard signal.
[0101] The initial power grid monitoring signal name tag sequence consists of n characters, and the initial power grid monitoring signal name tag sequence is:
[0102] X i =[x1, x2, …, x n ]
[0103] The goal is to convert it into a correct power grid monitoring signal name containing m (m≤n) characters:
[0104] Y i =[y1,y2,...,y m ]
[0105] Where X i Incorrect characters in Y i The correct characters are replaced in .
[0106] The error probability of the detection network prediction is p i .e i Indicates monitoring signal X i The output is a label sequence G = (g1, g2, ..., g m ), where g i The mark of the i-th character, which takes the value of 1 or 0, 1 means the character is incorrect, and 0 means the character is correct. For each character, the error probability p i represents the probability that the character is labeled 1. p i The higher the value, the more likely the character is wrong (assuming p i If the error probability is greater than 90%, the corresponding character will be deleted. According to the Bi-GRU principle, for each character in the sequence, the error probability p i Defined as:
[0107]
[0108] Where P d (g i =1|X) represents the conditional probability calculated by the detection network, σ represents the Sigmoid function, is the hidden state of Bi-GRU, W d and b dis its characteristic parameter. The hidden state of Bi-GRU is defined as:
[0109]
[0110] In the formula, GRU represents the GRU (Gated Recurrent Unit, GRU) function, Represents the bidirectional hidden state connection of the GRU function.
[0111] The soft-masking module uses the error probability as a weight and calculates the soft-masked embedding value to achieve accurate detection and correction of characters. The i-th soft-masked embedding value e′ i The calculation formula is:
[0112] e' i =p i ·e mask +(1-p i )·e i
[0113] In the formula, e mask is the mask embedding. If the error probability is high, the i-th Soft-masked embedding value is close to the mask embedding e mask , otherwise, it is close to the input embedding e i .
[0114] The power grid situation awareness module is configured with a pre-trained power grid situation awareness model, such as Figure 2 As shown in Figure 2, the training sample set of the power grid situation awareness model is constructed based on the standard monitoring signal library. Specifically,
[0115] Taking the above-mentioned set similar to the standard signal as the feature set, the power grid situation awareness model identifies the feature set and outputs the identification result through the output module.
[0116] The power grid situation awareness model is trained based on the "signal semantics-power grid event" dictionary, that is, the "signal semantics-power grid event" dictionary is used as the training sample set of the model.
[0117] The above-mentioned "signal semantics-grid event" dictionary is constructed based on the standard monitoring signal library of various types of equipment. For example, the "500kV substation typical information table (trial)" and "220kV substation typical information table (trial)" compiled by the National Electric Power Dispatching and Control Center are all compiled based on events that conform to natural laws. Further, according to the different grid events corresponding to the signals, the inherent logical relationship between the grid events and the associated signals is refined, and the signals are sorted out according to the grid routine events and grid fault events respectively, and the dictionary reflecting the association rules between "signal semantics-grid routine events" and "signal semantics-grid fault events" is obtained. The two dictionaries can be seen in the examples of Table 1 and Table 2 in Example 1.
[0118] A power grid situation awareness model based on RNN network is established. For various power grid components, combined with the relay protection setting list of the components, the "signal semantics-power grid event" rule dictionary formed by various expected fault events is scanned one by one. The "signal semantics-power grid fault event" dictionary and the "signal semantics-power grid routine event" dictionary are deeply learned using the RNN network model. Through deep learning, an intelligent inference machine for power grid situation awareness is formed, that is, the power grid situation awareness model mentioned above. The RNN network structure is as follows: Figure 3 As shown in the figure, it is a nonlinear neural network, in which various input power grid monitoring signals and various types of power grid faults are encoded in a numbered manner, and then the Min-Max method is selected for data normalization. In order to prevent overfitting, the Dropout algorithm is added to the model to change the structure of the neural network by randomly discarding some neurons and reducing the dependence between neurons.
[0119] In addition, in order to improve the disadvantage of the constant learning rate in the iterative process of the traditional gradient descent method, in some embodiments, the Adam algorithm and the exponential decay algorithm of the learning rate are introduced to update the network parameters of the RNN network to accelerate the convergence speed of the model. A nonlinear mapping relationship between the monitoring signal and the fault characteristics and fault types is established, such as:
[0120]
[0121] Where α is the monitoring signal vector; m is the number of monitoring signals; β is the power grid event vector; n is the number of power grid events, and f(α) represents the mapping relationship between the power grid event vector and the monitoring signal vector.
[0122] In this way, through the cooperation of the signal text error correction model and the power grid situation awareness model, a more accurate semantic analysis of the power grid fault signal set and delicate power grid situation awareness can be performed, which can assist power grid monitors in making decisions on the faulty components and fault types of the power grid.
[0123] The present invention is not limited to the above-mentioned specific embodiments, but extends to any new features or any new combination disclosed in this specification, as well as any new method or process steps or any new combination disclosed.
Claims
1. A method for semantic parsing and situation awareness of power grid monitoring signals based on deep learning, characterized in that: include: Read the original signal set after the power grid fault event occurs, use the signal text error correction model to cross-identify the original signal set, and obtain the feature set; The signal text error correction model is constructed using a detection network of a bidirectional gated recurrent unit and a correction network based on BERT; The feature set is sent to a pre-trained power grid situation awareness model for identification. The training sample set of the power grid situation awareness model is formed by scanning various expected fault events one by one based on a standard monitoring signal library for various power grid components and in combination with the relay protection setting list of the components; the training sample set includes a sample set corresponding to power grid fault events and a sample set corresponding to conventional power grid events; the power grid situation awareness model is obtained by training a RNN network; the power grid monitoring signals and power grid fault types input by the RNN network are encoded in a numbered manner, the Min-Max method is selected for data normalization, and a Dropout algorithm is added to the model; the network parameters of the RNN network are updated using the Adam algorithm and the exponential decay algorithm of the learning rate.
2. The method for semantic parsing and situation awareness of power grid monitoring signals based on deep learning according to claim 1, characterized in that: The correction network uses the error probability predicted by the detection network as a weighted value to predict the error correction probability of the original signal set.
3. A power grid monitoring signal semantic parsing and situation awareness system based on deep learning, characterized in that: It includes input module, text error correction module, power grid situation awareness module and output module, among which: The input module is configured to read a set of original signals after a power grid fault event occurs; The text error correction module is configured with a signal text error correction model, which is constructed by using a detection network of a bidirectional gated recurrent unit and a correction network based on BERT. The signal text error correction model cross-identifies the original signal set to obtain a feature set; The power grid situation awareness module is configured with a pre-trained power grid situation awareness model. The training sample set of the power grid situation awareness model is formed by scanning various expected fault events one by one based on a standard monitoring signal library for various power grid components and in combination with several protection setting lists of the components; the training sample set includes a sample set corresponding to power grid fault events and a sample set corresponding to conventional power grid events; the power grid situation awareness model is obtained by training an RNN network; the power grid monitoring signals and power grid fault types input by the RNN network are encoded in a numbered manner, the Min-Max method is selected for data normalization, and the Dropout algorithm is added to the model; the network parameters of the RNN network are updated using the Adam algorithm and the exponential decay algorithm of the learning rate; the power grid situation awareness model identifies the feature set and outputs the identification result through the output module.
4. The power grid monitoring signal semantic parsing and situation awareness system based on deep learning as claimed in claim 3, characterized in that: The correction network uses the error probability predicted by the detection network as a weighted value to predict the error correction probability of the original signal set.
