A distribution network fault detection method based on mathematical morphology
Preprocessing and feature extraction of distribution network zero-sequence current data using mathematical morphology methods solves the problem of difficulty in detecting high-resistance ground faults with existing technology, achieves rapid and accurate detection of distribution network faults, and improves detection accuracy and speed, meeting the reliability and security requirements of the distribution network.
Patent Information
- Application Number
- CN202211031504.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-08-26
AI Technical Summary
Existing distribution network fault detection technology is difficult to accurately detect high-resistance ground faults, making it difficult to ensure the reliability and safety of fault detection. Especially when high-resistance media is grounded, traditional protection schemes are difficult to detect weak fault currents, which may cause Fire and other accidents.
Using a method based on mathematical morphology, data preprocessing is performed through zero-sequence current data, morphological gradients and closed-open differences are calculated, thresholds are set to determine fault status, and low-resistance ground faults and high-resistance ground faults are distinguished through continuous time windows. Enable fast and accurate fault detection.
It achieves fast and accurate detection of distribution network faults, can identify low-resistance ground faults and high-resistance ground faults, improves detection accuracy and speed, and meets the reliability and safety requirements of the distribution network.
Smart Images

Figure CN115453260B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power systems, and in particular to a distribution network fault detection method based on mathematical morphology. Background Art
[0002] With the rapid development of the power system, the load of the distribution network is increasing day by day, and users have put forward higher requirements for the power supply reliability of the distribution network. The distribution network has the characteristics of complex structure, long lines, and high failure rate. It is easy to be affected by factors such as wind, fallen trees, animals, and adverse humid weather conditions. Among them, single-phase grounding (Single Line-to-Ground, SLG) faults account for the largest proportion, accounting for about 80%. When a fault occurs, fast and accurate fault detection is the basis for further fault classification, location, and recovery.
[0003] For metallic or single-phase grounding faults with lower transition resistance, called low impedance grounding faults (LIF), traditional relay protection devices can quickly detect and trip to isolate, and the positive rate can reach more than 90%. When the conductor is grounded through high resistivity media such as cement, grass, branches, sand, etc., the transition resistance presents an obvious high resistance state, which is called high impedance grounding fault (HIF). The current of HIF events is very weak, and depending on the medium of the fault point, it is even less than 10% of the normal current. Therefore, traditional protection schemes based on overcurrent relays, reclosers and fuses are difficult to detect HIF events. Among the single-phase faults in the distribution network, about 5% to 10% of the distribution network faults are HIF events. Since it is difficult to detect HIF events, exposed live conductors may cause accidents such as fires and even cause harm to the public. Therefore, when a distribution network fails, it is crucial to quickly and accurately detect the fault for the safe operation of the power system.
[0004] The detection technologies for LIF events and HIF events are mainly divided into three categories, namely time domain algorithms, frequency domain algorithms and time-frequency domain algorithms, including methods based on multivariate statistics, harmonic methods, wavelet transform methods, S transform methods, etc. In actual distribution networks, affected by nonlinear loads and power electronic components, there are certain harmonics in normal operating conditions. At the same time, the types of faults are very wide, and the fault characteristics are very random and different under different operating conditions and fault environments. For example, some fault waveforms have high harmonic content, while some have low harmonic content; some faults are accompanied by a large amount of load energy loss, while some faults with intermittent contact with tree branches have very little energy loss. Therefore, the fault feature quantity extracted in the above-mentioned existing detection methods has a large range of variation, and it is difficult to ensure the reliability and safety of fault detection under actual operating conditions. Summary of the invention
[0005] The purpose of the present invention is to provide a distribution network fault detection method based on mathematical morphology, which has strong versatility and can accurately detect distribution network faults through a shorter time window with only the distribution network zero-sequence current data, and has higher detection accuracy and detection speed.
[0006] The objective of the present invention is achieved through the following technical solutions:
[0007] A distribution network fault detection method based on mathematical morphology, the method comprising:
[0008] Step 1: Acquire waveform data of the distribution network to be detected, wherein the waveform data is zero-sequence current data, and perform data preprocessing on the zero-sequence current data;
[0009] Step 2: For the pre-processed waveform data, the morphological gradient MG and the closing-opening difference CODO value of the waveform data are calculated by mathematical morphology MM to extract the transient current signal;
[0010] Step 3: Set a threshold value according to the waveform characteristics of the distribution network under normal operation. If the morphological gradient MG and the closing / opening difference CODO values calculated in step 2 exceed the set threshold value, it is judged as a fault state, otherwise it is judged as a normal operation state;
[0011] Step 4: Then, according to the different characteristics of the transient fault current signals of the low-resistance grounding fault LIF and the high-resistance grounding fault HIF, if the fault current exceeds N continuously, set If all time windows are detected as fault states, it is judged as a HIF event, otherwise it is judged as a LIF event, thus achieving rapid and accurate detection of distribution network faults.
[0012] It can be seen from the technical solution provided by the present invention that the above method has strong versatility, and only requires the zero-sequence current data of the distribution network to accurately detect distribution network faults through a short time window. It has high detection accuracy and detection speed, and can meet the reliability and safety requirements of the distribution network. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0014] Figure 1 A schematic diagram of a flow chart of a distribution network fault detection method based on mathematical morphology provided in an embodiment of the present invention;
[0015] Figure 2A schematic diagram of the process of wavelet threshold denoising according to an embodiment of the present invention;
[0016] Figure 3 is a waveform diagram of a certain high-resistance grounding fault sample of an actual distribution network according to an embodiment of the present invention;
[0017] Figure 4 for Figure 3 The CODO diagram and morphological gradient diagram obtained by the mathematical morphology MM calculation of the waveform;
[0018] Figure 5 is a waveform diagram of a low-resistance grounding fault sample of an actual distribution network according to an embodiment of the present invention;
[0019] Figure 6 for Figure 5 The waveform diagram is the CODO schematic diagram and morphological gradient schematic diagram obtained by MM calculation. DETAILED DESCRIPTION
[0020] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, which does not constitute a limitation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] like Figure 1 The figure is a schematic flow chart of a distribution network fault detection method based on mathematical morphology provided by an embodiment of the present invention, the method comprising:
[0022] Step 1: Acquire waveform data of the distribution network to be detected, wherein the waveform data is zero-sequence current data, and perform data preprocessing on the zero-sequence current data;
[0023] In this step, the waveform measurement device in the distribution network to be tested can be used to record waveform data, with a sampling frequency of 12800 Hz. The waveform data is zero-sequence current waveform data. Due to the complex operating state of the actual distribution network, it is necessary to pre-process the zero-sequence current waveform. Specifically, a threshold denoising method is first used to eliminate the noise signal caused by random factors, and then the denoised waveform is normalized to make the method universal and applicable to all voltage levels. The specific process is as follows:
[0024] Since there are many random factors in the actual distribution network, there is a lot of random noise in the waveform data. In order to avoid the interference of noise on the fault detection process, the waveform data is first denoised by the wavelet threshold denoising method;
[0025] The principle of wavelet threshold denoising is described as follows: the zero-sequence current waveform data x(n) is decomposed by wavelet to generate wavelet coefficients containing current waveform information and noise information, where the wavelet coefficients of noise are smaller than the wavelet coefficients of current. By setting a suitable threshold, wavelet coefficients greater than the threshold are considered to be generated by current signals and are retained; those less than the threshold are considered to be generated by noise and are set to zero, thereby achieving the purpose of denoising. Figure 2 FIG. 1 is a flow chart of the wavelet threshold denoising process according to an embodiment of the present invention, which specifically includes the following steps:
[0026] (1) Decomposition: Select a wavelet with 3 layers to perform wavelet decomposition on the zero-sequence current waveform data x(n);
[0027] (2) Threshold processing: Set a suitable threshold and use the threshold function to quantize the coefficients of each layer;
[0028] (3) Reconstruction: Reconstruct the denoised zero-sequence current data using the processed coefficients;
[0029] The threshold function selects a hard threshold function, and the expression is as follows:
[0030]
[0031] Among them, w thr represents the wavelet coefficient after threshold denoising; w is the wavelet coefficient obtained by wavelet decomposition; thr is the set threshold, and a fixed threshold (sqtwolog threshold) is used, that is, N is the signal length;
[0032] After wavelet threshold denoising, the denoised zero-sequence current waveform data is obtained, denoted as x'(n);
[0033] Then the denoised zero-sequence current waveform data x'(n) is normalized to process the waveform data between [-1,1] to make the data universal and applicable to all voltage levels. The normalization formula is:
[0034] f=(x'-x' mean ) / x 'max -x' min
[0035] Where, f represents the waveform data after normalization; x' represents the denoised waveform data before normalization; x' mean 、x' max 、x' min Respectively represent the mean, maximum and minimum values of the waveform data after denoising;
[0036] Finally, the waveform data after wavelet threshold denoising and normalization is obtained, which is denoted as f(n).
[0037] Step 2: For the pre-processed waveform data, the morphological gradient MG and the closing-opening difference CODO value of the waveform data are calculated by mathematical morphology MM to extract the transient current signal;
[0038] In this step, mathematical morphology MM transform is performed on the preprocessed waveform data to extract the distortion features in the waveform; mathematical morphology is a nonlinear time domain signal processing method, and its basic idea is to use the structural element (SE) as a "probe" to continuously move in the time domain waveform, extract the local features of the signal, and highlight the mutation features in the waveform through waveform transformation.
[0039] Mathematical morphology MM consists of two basic operations: dilation and erosion. The input signal and structure element are defined as f(n) and g(n) respectively, and its domain is D f = {1,2,…,N} and D g ={1,2,…,M} and M>N; here, the input signal f(n) is the waveform data after wavelet threshold denoising and normalization, then the expansion and erosion of the input signal f(n) by the structural element g(n) is defined as:
[0040]
[0041]
[0042] in, and Represent expansion and corrosion operations respectively; m and n are sampling points, and they are both integers and m>n;
[0043] Based on the two basic operations of dilation and corrosion, the opening operation, closing operation and morphological gradient MG are derived and defined as follows:
[0044]
[0045]
[0046]
[0047] Wherein, · and ο represent opening and closing operations respectively; G grad represents the morphological gradient MG;
[0048] In order to amplify the subtle distortion features in the waveform, the closed-open difference CODO value is defined as follows:
[0049] CODO(n)=(f·g)(n)-(fοg)(n)
[0050] According to the above formula, the morphological gradient MG and the closing-opening difference CODO value that characterize the transient current signal waveform can be obtained.
[0051] Step 3: Set a threshold value according to the waveform characteristics of the distribution network under normal operation. If the morphological gradient MG and the closing / opening difference CODO values calculated in step 2 exceed the set threshold value, it is judged as a fault state, otherwise it is judged as a normal operation state;
[0052] In this step, the corresponding threshold MG is set according to the waveform characteristics of the distribution network under normal operation, that is, the morphological gradient MG and the closing / opening difference CODO value. set and CODO set ;
[0053] If the morphological gradient MG and the closing / opening difference CODO value calculated in step 2 exceed the set threshold MG set and CODO set , it is judged as a fault state, otherwise it is judged as a normal operating state.
[0054] In the specific implementation, Figure 3 FIG. 4 is a waveform diagram of a high-resistance grounding fault sample of an actual distribution network according to an embodiment of the present invention. Figure 4 Shown Figure 3 The CODO diagram and morphological gradient diagram obtained by mathematical morphology MM calculation of the waveform are Figure 3 and 4 It can be seen that when a fault occurs, the CODO value and the morphological gradient value MG increase suddenly and significantly exceed the set detection threshold, that is, the method described in this embodiment can quickly and accurately detect the occurrence of a high-resistance fault.
[0055] Step 4: Then, according to the different characteristics of the transient fault current signals of the low-resistance grounding fault LIF and the high-resistance grounding fault HIF, if the fault current exceeds N continuously, set If all time windows are detected as fault states, it is judged as a HIF event, otherwise it is judged as a LIF event, thus achieving rapid and accurate detection of distribution network faults.
[0056] In this step, for low-resistance grounding fault LIF, due to the low fault resistance, when the fault occurs, the current amplitude increases greatly, and an obvious "singular point" appears in the waveform, the corresponding moment is the moment when LIF occurs, and the fault is mostly instantaneous, and the fault duration is less than one cycle; for high-resistance grounding fault HIF, due to grounding through a high-resistivity medium, the HIF current is very weak, and depending on the medium of the fault point, it is even less than 10% of the normal current. HIF is often accompanied by intermittent arc conduction and reignition. In each cycle, the HIF event will cause two arc reignitions and two arc extinguishings, so the waveform has strong randomness and nonlinear characteristics, and the duration is usually more than three cycles;
[0057] According to the different characteristics of the fault current transient signals of the low-resistance grounding fault LIF and the high-resistance grounding fault HIF, a criterion threshold for distinguishing the LIF event and the HIF event is set;
[0058] During the fault detection process, the detection sliding window is set to 1 / 2 cycle (10ms), that is, the operation in step 3 is repeated every 1 / 2 cycle;
[0059] If the number of times the waveform detection is judged as a fault state is N, since the duration of a high-resistance grounding fault usually exceeds three cycles, the detection sliding window is 1 / 2 cycle, so the number threshold N is set set =6, if N≥N set , it is judged as a HIF event; if N <N set , it is determined to be a LIF event.
[0060] In the specific implementation, Figure 5 FIG. 4 is a waveform diagram of a low-resistance ground fault sample of an actual distribution network according to an embodiment of the present invention. Figure 6 Shown Figure 5 The waveform diagram of CODO and morphological gradient calculated by MM. Similarly, when a fault occurs, the CODO value and morphological gradient value MG increase suddenly and significantly exceed the set detection threshold, which means that the low-resistance fault can be detected. Figure 3 , 4 , 5, and 6, it can be seen that the number of times the CODO value and the morphological gradient value MG of the high-resistance fault triggers the fault state exceeds the threshold N set , while the CODO value and morphological gradient value MG of the low resistance fault trigger the fault state only twice, which is less than the threshold N set , that is, the method of the present invention can better identify LIF events and HIF events.
[0061] It is worth noting that the contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in the field.
[0062] In summary, the method described in the embodiment of the present invention can realize rapid and accurate detection of distribution network faults, and can identify LIF events and HIF events, providing a reliable basis for the next steps of classification, positioning and fault recovery of the power system.
[0063] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims. The information disclosed in the background technology section of this article is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as an admission or in any form that the information constitutes prior art known to those skilled in the art.
Claims
1. A distribution network fault detection method based on mathematical morphology, characterized in that: The method comprises: Step 1: Acquire waveform data of the distribution network to be detected, wherein the waveform data is zero-sequence current data, and perform data preprocessing on the zero-sequence current data; Step 2: For the pre-processed waveform data, the morphological gradient MG and the closing-opening difference CODO value of the waveform data are calculated by mathematical morphology MM to extract the transient current signal; Step 3: Set a threshold value according to the waveform characteristics of the distribution network under normal operation. If the morphological gradient MG and the closing / opening difference CODO values calculated in step 2 exceed the set threshold value, it is judged as a fault state, otherwise it is judged as a normal operation state; Step 4: Then, according to the different characteristics of the transient fault current signals of the low-resistance grounding fault LIF and the high-resistance grounding fault HIF, if the fault current exceeds N continuously, set If all time windows are detected as fault states, it is judged as a HIF event, otherwise it is judged as a LIF event, thus achieving rapid and accurate detection of distribution network faults.
2. The distribution network fault detection method based on mathematical morphology according to claim 1 is characterized in that: In step 1, the process of data preprocessing for zero-sequence current data is to first use a threshold denoising method to eliminate noise signals caused by random factors, and then normalize the denoised waveform. The specific process is: Firstly, the waveform data is denoised by the wavelet threshold denoising method. Specifically, the zero-sequence current waveform data x(n) is decomposed by wavelet to generate wavelet coefficients containing current waveform information and noise information; wherein the wavelet coefficient of noise is smaller than the wavelet coefficient of current. By setting a suitable threshold, the wavelet coefficient greater than the threshold is considered to be generated by the current signal and is retained; the wavelet coefficient less than the threshold is considered to be generated by noise and is set to zero, thereby achieving the purpose of denoising. Specifically, the following steps are included: (1) Decomposition: Select a wavelet with 3 layers to perform wavelet decomposition on the zero-sequence current waveform data x(n); (2) Threshold processing: Set a suitable threshold and use the threshold function to quantize the coefficients of each layer; (3) Reconstruction: Reconstruct the denoised zero-sequence current data using the processed coefficients; The threshold function selects a hard threshold function, and the expression is as follows: Among them, w thr represents the wavelet coefficient after threshold denoising; w is the wavelet coefficient obtained by wavelet decomposition; thr is the set threshold, and a fixed threshold is used, that is, N is the signal length; After wavelet threshold denoising, the denoised zero-sequence current waveform data is obtained, denoted as x'(n); Then the denoised zero-sequence current waveform data x'(n) is normalized to process the waveform data between [-1,1] to make the data universal and applicable to all voltage levels. The normalization formula is: f=(x'-x' mean ) / x' max -x' min Where, f represents the waveform data after normalization; x' represents the denoised waveform data before normalization; x' mean 、x' max 、x' min Respectively represent the mean, maximum and minimum values of the waveform data after denoising; Finally, the waveform data after wavelet threshold denoising and normalization is obtained, which is denoted as f(n).
3. The distribution network fault detection method based on mathematical morphology according to claim 1 is characterized in that: The process of step 2 is specifically as follows: For the preprocessed waveform data, mathematical morphology MM transformation is performed to extract the distortion features in the waveform; The mathematical morphology MM consists of two basic operations: dilation and erosion. The input signal and the structural element are defined as f(n) and g(n) respectively, and its domain is D f = {1,2,…,N} and D g ={1,2,…,M} and M>N; Here, the input signal f(n) is the waveform data after wavelet threshold denoising and normalization, then the expansion and erosion of the input signal f(n) by the structural element g(n) is defined as: in, and Represent expansion and corrosion operations respectively; m and n are sampling points, and they are both integers and m>n; Based on the two basic operations of dilation and corrosion, the opening operation, closing operation and morphological gradient MG are derived and defined as follows: Among them, and Respectively represent the opening and closing operations; G grad represents the morphological gradient MG; In order to amplify the subtle distortion features in the waveform, the closed-open difference CODO value is defined as follows: According to the above formula, the morphological gradient MG and the closing-opening difference CODO value that characterize the transient current signal waveform can be obtained.
4. The distribution network fault detection method based on mathematical morphology according to claim 1 is characterized in that: The process of step 3 is specifically as follows: According to the waveform characteristics of the distribution network under normal operation, that is, the morphological gradient MG and the closing / opening difference CODO value, the corresponding threshold MG is set. set and CODO set ; If the morphological gradient MG and the closing / opening difference CODO value calculated in step 2 exceed the set threshold MG set and CODO set , it is judged as a fault state, otherwise it is judged as a normal operating state.
5. The distribution network fault detection method based on mathematical morphology according to claim 1 is characterized in that: In step 4: According to the different characteristics of the fault current transient signals of the low-resistance grounding fault LIF and the high-resistance grounding fault HIF, a criterion threshold for distinguishing the LIF event and the HIF event is set; During the fault detection process, the detection sliding window is set to 1 / 2 cycle, that is, the operation in step 3 is repeated every 1 / 2 cycle; If the number of times the waveform detection is judged as a fault state is N, since the duration of a high-resistance grounding fault usually exceeds three cycles, the detection sliding window is 1 / 2 cycle, so the number threshold N is set set =6, if N≥N times threshold set , it is judged as a HIF event; if N <N set , it is judged as a LIF event, achieving rapid and accurate detection of distribution network faults.
Citation Information
Patent Citations
Small current line selection method using morphology
CN110146788A
Series fault arc detection method based on morphological filtering and MMG
CN111738128A
Intelligent judging and processing method for multiple grounding faults of power distribution network
CN112332380A
Zero-sequence characteristic quantity-based power distribution network grounding fault section positioning method
CN112731052A
Power distribution network high-resistance grounding fault detection method and related device thereof
CN113702772A
