A DC blocking detection and control method based on long short-term memory network

Through the detection and control method based on the long short-term memory network, the LSTM neural network model is used to determine the fault type and remove the interruptible load, which solves the problems of slow response speed and insufficient selectivity of the traditional power system after UHV DC blocking, and achieves rapid , precise load control, auxiliary power system frequency stability.

CN115498677BActive Publication Date: 2024-10-29NANJING ELECTRIC POWER DESIGN & RESEARCH INSTITUTE CO LTD

Patent Information

Application Number
CN202211137590.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-19
Publication Date
2024-10-29
Estimated Expiration
2042-09-19

AI Technical Summary

Technical Problem

After the UHV DC is blocked in the traditional power system, frequency emergency control and low-frequency load shedding methods are not selective in load shedding, and the response speed is slow, affecting social production and life, and it is difficult to effectively utilize distributed load resources for rapid response.

Method used

The detection and control method based on long short-term memory network is adopted, and the LSTM neural network model is used to classify fault data, determine the fault type and perform corresponding actions, respond quickly and remove interruptible loads, and use distributed loads to assist power system frequency regulation.

Benefits of technology

It achieves fast response and highly selective load shedding after UHV DC blocking, improves the system frequency control speed, reduces the impact on social production and life, and provides a distributed load control strategy with higher accuracy and flexibility. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115498677B_ABST
    Figure CN115498677B_ABST
Patent Text Reader

Abstract

The present invention discloses a DC interlock detection and control method based on a long short-term memory network. The method comprises the following steps: inputting waveform data within a certain time window after fault detection is started into a first LSTM neural network model; judging the type of fault currently occurring according to the first LSTM neural network model; and executing corresponding actions by an intelligent terminal according to the judged fault type. Based on the long short-term memory neural network, a detection method for ultra-high voltage DC interlock for intelligent terminals is proposed. The DC interlock is locally and rapidly identified and responded to by utilizing the difference in transient responses of electrical quantities such as voltage and frequency under different faults at the end of the distribution network. The method can tap the potential of a large number of distributed active resources at the end of the distribution network, so that it can quickly and actively respond to DC interlock and assist in frequency regulation of the power grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of electrical engineering, and in particular relates to a DC blocking detection and control method based on a long short-term memory network. Background Art

[0002] After the UHV DC blocking, a large amount of power shortage will appear in the receiving end AC system. In traditional control methods, the load participates in the frequency stability control of the power system through frequency emergency control or low-frequency load shedding, which belongs to the second and third lines of defense for the safe and stable operation of the power system. During the operation, a large number of loads will be cut off, and the selectivity of the cutting process is not strong. However, there are actually a large number of distributed load resources in the power system, including electric vehicle charging piles, air conditioners, flexible loads, etc. And with the rapid development of smart homes, it has become possible to grasp the specific status of the power equipment at the end of the distribution network and make them actively and quickly respond to the UHV DC blocking. Taking the low-voltage load smart socket as an example, as a typical load control terminal, it can perform local measurement and local control, respond to the UHV DC blocking and cut off the interruptible loads within the jurisdiction. Compared with frequency emergency control and low-frequency load shedding, the distributed load actively responds to the DC blocking to participate in the auxiliary regulation of the power system frequency by quickly cutting off the interruptible loads in the system. It has a faster response speed, stronger selectivity in the process of cutting off the load, and less impact on the normal production and life of the society. By utilizing the differences in transient characteristics of various electrical quantities under different faults and the differences in changes in various electrical quantities after a fault, local detection of the DC operating status can be performed at the end of the distribution network to achieve rapid local control of distributed loads and assist in frequency regulation. Summary of the invention

[0003] In view of the defects of the prior art, the purpose of the present invention is to provide a DC lockout detection and control method based on a long short-term memory network, aiming to utilize the widely existing distributed loads in the system to quickly respond to the large power shortage caused by ultra-high voltage DC lockout, so as to make the system frequency control response speed faster, the selectivity in the load shedding process is stronger, and the impact on the normal production and life of society is smaller.

[0004] The specific scheme is as follows: A DC blocking detection and control method based on a long short-term memory network, the method comprising the following steps:

[0005] Inputting waveform data within a certain time window after the fault detection is started into the first LSTM neural network model;

[0006] Determine the type of fault currently occurring according to the first LSTM neural network model;

[0007] The intelligent terminal performs corresponding actions according to the determined fault type.

[0008] As an improvement of the present invention, in the above 2), it is determined whether the current fault is an AC fault or a DC fault, and whether the AC fault has caused a DC lockout.

[0009] As an improvement of the present invention, in said 3), if the judgment result is that an AC fault occurs in the system and the DC is not locked, the intelligent terminal does not act and the detection process ends;

[0010] As an improvement of the present invention, in the above 3), if the judgment result is that an AC fault has occurred in the system and caused a DC lockout, the intelligent terminal will be activated to cut off the distributed loads within the control range.

[0011] As an improvement of the present invention, in the above 3), if the judgment result is that a DC fault has occurred in the system, the sampling time window is increased, and the waveform data in the increased time window is input into the second LSTM neural network model to determine whether the DC fault has caused the DC transmission system to be locked; if it has not caused the lock, the intelligent terminal will not operate and the detection process will end; if it has caused the lock, the intelligent terminal will operate to cut off the distributed load within the control range.

[0012] As an improvement of the present invention, the establishment of the neural network model includes the following steps:

[0013] Since the input signals have different dimensions and numerical ranges, in order to avoid unnecessary numerical problems, make the input signal within the reasonable input value range of the activation function to ensure the effectiveness of the neuron, and eliminate the influence of the parameter input range on the initial value of the learning rate, it is necessary to normalize the input waveform data and project the input value into the interval [-1,1]. The formula is as follows: , where xmin is the minimum value of the variable, and xmax is the maximum value of the variable, where the variables include the voltage, current, frequency, and active power data waveforms of the observation point;

[0014] Firstly, the network architecture of the first LSTM neural network model is established to classify AC and DC system faults. A certain time length after the fault is selected from all fault data sets. After data normalization, the data is used to train the first LSTM neural network model to obtain a network model for distinguishing AC and DC faults and whether AC faults cause DC blocking.

[0015] A network architecture of a second LSTM neural network model is established to determine whether a DC system fault causes a DC lockout. The DC fault data in the fault data set are selected for a certain time length after the fault. After data normalization, the data are used for training the second LSTM neural network model to obtain a network model for determining whether a DC fault causes a lockout.

[0016] When using data to train the first LSTM neural network model or the second LSTM neural network model, the data set is first divided into a training set and a test set, wherein the classification result of the training set is known; supervised learning is performed on the training set to obtain a neural network model, and the data of the test set is input into the neural network model to obtain a predicted classification result of the test set.

[0017] As an improvement of the present invention, in 2) or 3), the network includes a sequence input layer, which sets the input dimension of its time series, a bidirectional LSTM layer, which sets the number of hidden units contained in the LSTM network, a fully connected layer and a softmax layer that specify the number of classification categories and output the probability of each category, sets the fault data set of the model, and the last layer is used to output the classification results.

[0018] As an improvement of the present invention, in the first LSTM neural network model, the input dimension of the time series is 4, and the input at each moment is a 4-dimensional column vector, which respectively contains voltage, current, frequency and power information. A bidirectional LSTM layer can learn from the complete sequence at each time step, and the number of hidden units contained in the LSTM network is set to 128; the fully connected layer and the softmax layer specify the number of classification categories and output the probability of each category. The model divides the fault data set into 3 categories, including 3 categories: AC fault does not cause DC lockout, AC fault causes DC lockout, and DC fault; the last layer is used to output the classification results.

[0019] As an improvement of the present invention, in the second LSTM neural network model, the network includes a sequence input layer, the input dimension of the time series is still 4, including voltage, current, frequency and power information, a bidirectional LSTM layer, the number of hidden units contained in the LSTM network is set to 256, the fully connected layer and the softmax layer specify the number of classification categories and output the probability of each category. The model divides the fault data set into 2 categories, including DC faults causing DC lockout and DC faults not causing DC lockout. The last layer is used to output the classification results.

[0020] As an improvement of the present invention, in 4), the predicted classification result is compared with the actual classification result of the test set, and the classification effect is evaluated by the accuracy rate, and the formula is: , where nT is the number of data sets classified correctly, and nF is the number of data sets classified incorrectly.

[0021] The input of the LSTM neural network is four groups of time series information, namely, voltage, current, power and frequency at the end of the distribution network. In addition, since the two types of faults, AC system faults at the receiving end and DC transmission system faults, have different action mechanisms and setting values ​​of the control and protection systems in the process of causing DC blocking, the fluctuation period of the electrical quantity at the end of the distribution network is also different. In order to ensure that the judgment can be completed as soon as possible after the DC blocking occurs, hierarchical identification is considered to adapt to the different setting conditions of the UHV DC transmission control and protection system.

[0022] Taking the DC transmission system blocking DC after two full-voltage restarts and one reduced-voltage restart after a DC fault occurs, and allowing up to two consecutive commutation failures after a receiving-end AC system fault, otherwise blocking DC as an example, two LSTM neural network models are established. The first LSTM neural network model identifies all types of fault data, selects a time window length of 0.8s, learns the sequence data from the occurrence of the fault to 0.8s after the occurrence, and determines whether the system has a DC fault or an AC fault; at the same time, since 0.8s is enough to complete the judgment of whether the AC system fault has caused the DC lockout, the output of the first LSTM neural network model can divide the fault into three categories, namely, AC system fault does not cause DC lockout, AC system fault causes DC lockout, and DC system fault. The second LSTM neural network model identifies DC system faults, selects a time window of 1.15s, and learns the sequence data of DC faults. For a DC transmission system with three restarts, 1.15s is enough to judge whether the DC fault has caused the DC lockout. The output of the second LSTM neural network model is to classify the faults into two categories: DC faults that do not cause DC blocking and DC faults that cause DC blocking.

[0023] Compared with the prior art, the beneficial effects of the present invention are:

[0024] In the first aspect, the present invention provides a frequency emergency control strategy for distributed loads to respond quickly to DC interlocking. The specific control strategy is to utilize the changes in electrical quantities at the end of the distribution network under various fault conditions including DC interlocking, record and learn its characteristics through LSTM neural network, form a neural network model, and store it in the intelligent terminal device; the intelligent terminal device monitors the changes in local electrical quantities such as voltage and frequency, records the recorded data within a certain time interval, and uses the LSTM neural network model to judge the state of the power system. When a DC interlocking fault is detected in the power system, the interruptible load within the jurisdiction is locally controlled, and these distributed active resources in the power system are used to assist the three lines of defense of the power system in controlling the frequency of the receiving end AC power grid, so as to achieve a rapid response of the distributed load to DC interlocking, which is a supplement to the traditional extensive load control method and has higher accuracy and flexibility. At the same time, the intelligent terminal is used to complete the cloud upload of fault recording data and judgment results, update the system fault information library, and evaluate the judgment effect of the existing LSTM neural network model; combined with the continuously updated fault information library, the LSTM neural network model is improved, and when necessary, the improved new neural network model is sent to the intelligent terminal to achieve algorithm update and improvement of judgment effect;

[0025] In the second aspect, the present invention provides a method for detecting UHV DC lockout at the end of a distribution network based on a long short-term memory network. Training an LSTM neural network model to detect UHV DC lockout at the end of a distribution network can be regarded as classifying the fault data set collected by the intelligent terminal, with the input being the sequence data of the fault data set and the output being the judgment result. The main task is to distinguish between UHV DC lockout faults and other types of faults as soon as possible after the fault. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 The figure is a flow chart of the detection and control method of the present invention.

[0027] Figure 2 This is the first classification result.

[0028] Figure 3 This is the result of the second classification.

[0029] Figure 4 This is a schematic diagram of DC blocking caused by continuous commutation failure under AC system N-1 fault.

[0030] Figure 5 This is a schematic diagram of lockout caused by restart failure due to DC system fault.

[0031] Figure 6 This is a schematic diagram of DC bipolar locking when two poles of the DC system fail successively. DETAILED DESCRIPTION

[0032] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the following specific embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention.

[0033] Example: Figure 1 It is a schematic diagram of the UHV DC interlock detection method at the end of the distribution network based on the long short-term memory network; the intelligent terminal first uses the LSTM neural network model 1 to judge the data 0.8s after the fault. If the AC system fault does not cause DC interlock, the intelligent terminal does not act; if the AC system fault causes DC interlock, the intelligent terminal acts to cut off the interruptible load within the jurisdiction, so as to achieve a rapid response of the distributed load to the DC interlock fault, reduce the power shortage of the receiving end AC system, and gather the tiny but huge distributed load resources into a tower to assist in the stable control of the power system frequency; if it is a DC system fault, wait for 0.35s, and use the LSTM neural network model 2 to judge the data 1.15s after the fault. If the DC fault does not cause DC interlock, the intelligent terminal does not act. If the DC fault causes DC interlock, the interruptible load within the jurisdiction is also cut off. Through the above process, DC interlock detection and load control are performed at the end of the distribution network, and the response of distributed loads can be completed as soon as 0.4s after the DC interlock is caused by an AC fault and as fast as 0.26s after the DC interlock is caused by a DC fault. When a large amount of active power is missing from the receiving-end AC system after DC interlock, it helps maintain the safety and stability of the system.

[0034] The method for detecting and controlling the UHV DC blocking at the end of a distribution network based on a long short-term memory network provided by the present invention specifically comprises the following steps:

[0035] S101, input the waveform data within the 0.8s time window after the fault detection is started into the LSTM neural network model 1, determine whether the current fault is an AC fault or a DC fault, and determine whether the AC fault has caused a DC lockout.

[0036] S102, if the result of the judgment is that an AC fault occurs in the system and the DC is not blocked, the intelligent terminal does not operate and the detection process ends;

[0037] S103, if the result of the judgment is that an AC fault has occurred in the system and caused a DC lockout, the intelligent terminal is activated to cut off the distributed load within the control range;

[0038] S104, if the judgment result is that a DC fault has occurred in the system, the sampling time window is increased to 1.15s, and the waveform data in the 1.15s time window is input into the LSTM neural network model 2 to determine whether the DC fault has caused the DC transmission system to be locked; if it has not caused the lock, the intelligent terminal will not operate and the detection process ends; if it has caused the lock, the intelligent terminal will operate to cut off the distributed load within the control range.

[0039] The control method provided by the present invention can be simulated by using PSASP software, which intuitively shows the reliability of the method in responding quickly to DC blocking of distributed load resources and maintaining system frequency stability.

[0040] In the first embodiment of the present invention, a DC transmission system is taken as an example to lock out DC after two full-voltage restarts and one reduced-voltage restart after a DC fault occurs, and to allow up to two consecutive commutation failures after a receiving-end AC system fault occurs, otherwise the DC is locked out. Based on the simulation data of several typical faults at the end of the distribution network in PSASP, a fault data set is established to train and test the neural network model. The data set includes a total of 780 sets of fault data, including observation point data distributed in different geographical locations of the regional power grid and fault data under different types of faults. 520 sets of them are selected as training sets to train the neural network model, and LSTM neural network model 1 and LSTM neural network model 2 are obtained; the remaining 260 sets of data are used to test the training effect of the neural network. The test results are as follows. Figure 2 , as shown in 3.

[0041] Figure 2 All 260 sets of test data are processed and input into LSTM neural network model 1, and then the test results are obtained (for easy observation, the data order is reordered according to the output type when drawing). It can be seen that LSTM neural network model 1 can successfully complete its classification task and effectively classify DC system faults, AC faults causing DC blocking, and AC faults not causing DC blocking.

[0042] Figure 3 The second classification result is shown in Figure 2. The test data judged as DC fault type is processed again after the data length is extended and input into LSTM neural network model 2 to determine whether DC blocking is caused. LSTM neural network model 2 can effectively determine whether DC fault causes DC blocking.

[0043] The second embodiment of the present invention studies the effect of the intelligent terminal controlling the removal of the interruptible load in the system after determining that a DC blocking occurs in the system, thereby providing support for the system frequency control.

[0044] Figure 4 The DC lockout was caused by a fault in the receiving-end AC system. The fault occurred at 1s and was cleared after 0.43s. The DC was locked at 1.4s. The intelligent terminal detected the DC lockout and controlled the removal of distributed loads at 1.8s. The total capacity of the removed distributed loads reached 1482MW. After the distributed loads were removed, the system frequency level increased, the lowest frequency value during the oscillation increased, and the steady-state system frequency value increased.

[0045] Figure 5 ,6 They are respectively the cases where DC fault causes DC unipolar lockout and bipolar lockout. The fault occurs at 1s. A single DC line fault locks out the unipolar 0.89s after the fault. If two DC lines fail successively, the bipolar will be locked at the moment of the second line fault. The intelligent terminal detects the DC lockout at 2.15s and cuts off the distributed load. The load removal effectively suppresses the subsequent frequency drop of the system and improves the steady-state frequency of the system.

[0046] It should be noted that the above content only illustrates the technical idea of ​​the present invention and cannot be used to limit the protection scope of the present invention. For ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications all fall within the protection scope of the claims of the present invention.

Claims

1. A DC blocking detection and control method based on long short-term memory network, characterized in that: The method comprises the following steps: 1) Input the waveform data within a certain time window after the fault detection is started into the first LSTM neural network model; 2) Determine the type of fault currently occurring based on the first LSTM neural network model; 3) The intelligent terminal performs corresponding actions according to the judged fault type. In 3), if the judgment result is that a DC fault occurs in the system, the sampling time window is increased, and the waveform data in the increased time window is input into the second LSTM neural network model to determine whether the DC fault causes the DC transmission system to be locked. If it does not cause locking, the intelligent terminal does not act and the detection process ends. If it causes locking, the intelligent terminal acts to cut off the distributed load within the control range. The establishment of the neural network model includes the following steps: 3.1) Normalize the input data and project the input value into the interval [-1,1]. The formula is as follows: , in the formula, xmin is the minimum value of the variable, and xmax is the maximum value of the variable; 3.2) Establish the network architecture of the first LSTM neural network model, select a certain length of time after the fault from all fault data sets, and use the data for training the first LSTM neural network model after data normalization, so as to obtain a network model for distinguishing AC and DC faults and whether AC faults cause DC blocking; 3.3) Establish the network architecture of the second LSTM neural network model, select the DC fault data in the fault data set for a certain time after the fault, and use it for training the second LSTM neural network model after data normalization to obtain a network model for determining whether the DC fault causes lockout; 3.4) When using the data to train the first LSTM neural network model or the second LSTM neural network model, the data set is divided into a training set and a test set, wherein the classification result of the training set is known, and supervised learning is performed on the training set to obtain the neural network model, and the data of the test set is input into the neural network model to obtain the predicted classification result of the test set.

2. A DC blocking detection and control method based on long short-term memory network according to claim 1, characterized in that: In the above 2), it is determined whether the current fault is an AC fault or a DC fault, and whether the AC fault has caused a DC lockout.

3. The method for detecting and controlling a DC blocking based on a long short-term memory network according to claim 1, characterized in that: In the above 3), if the judgment result is that an AC fault occurs in the system and the DC is not blocked, the intelligent terminal does not operate and the detection process ends.

4. A DC blocking detection and control method based on long short-term memory network according to claim 3, characterized in that: In the above 3), if the judgment result is that an AC fault has occurred in the system and caused a DC lockout, the intelligent terminal will be activated to cut off the distributed loads within the control range.

5. The method for detecting and controlling DC blocking based on long short-term memory network according to claim 1, characterized in that: In 3.2) or 3.3), the network includes a sequence input layer, which sets the input dimension of its time series, a bidirectional LSTM layer, which sets the number of hidden units contained in the LSTM network, a fully connected layer and a softmax layer that specify the number of classification categories and output the probability of each category, sets the fault data set of the model, and the last layer is used to output the classification result.

6. A DC blocking detection and control method based on long short-term memory network according to claim 5, characterized in that: In the first LSTM neural network model, the input dimension of the time series is 4. The input at each moment is a 4-dimensional column vector, which contains voltage, current, frequency and power information respectively. The number of hidden units contained in the LSTM network is set to 128. The fully connected layer and the softmax layer specify the number of classification categories and output the probability of each category. The model divides the fault data set into 3 categories; the last layer is used to output the classification results.

7. A DC blocking detection and control method based on long short-term memory network according to claim 6, characterized in that: In the second LSTM neural network model, the input dimension of the time series is 4, including voltage, current, frequency and power information. The number of hidden units contained in the LSTM network is set to 256. The fully connected layer and the softmax layer specify the number of classification categories and output the probability of each category. The model divides the fault data set into 2 categories, and the last layer is used to output the classification results.

8. A DC blocking detection and control method based on long short-term memory network according to claim 7, characterized in that: In 3.4), the predicted classification results are compared with the actual classification results of the test set, and the classification effect is evaluated by accuracy, and the formula is: , where n T is the number of correctly classified data sets, n F is the number of data sets that are misclassified.

Citation Information

Patent Citations

  • On-line-fault diagnostic analysis method for extra-high-voltage-converter-station alternating current filter

    CN107992665A

  • LSTM-based AC / DC hybrid power grid fault area diagnosis method and system

    CN112051481A

Cited By

  • Machine learning-based ultra-high voltage direct current transmission locking fault diagnosis method and system

    CN120354121A