Method and device for determining abnormal line based on harmonic analysis
By segmenting and analyzing the frequency domain characteristics of bus voltage waveforms and feeder current waveforms based on harmonic analysis, the problem of low efficiency of intermittent fault location in the existing technology is solved, and more accurate and reliable abnormal line location is achieved.
Patent Information
- Application Number
- CN202410441540.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-12
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, when troubleshooting intermittent faults, it is difficult to locate the feeder line that causes intermittent distortion of the bus voltage waveform through the bus voltage waveform and feeder current waveform, and the efficiency is low.
Using a method based on harmonic analysis, we obtain bus voltage waveforms and feeder current waveforms, segment waveform segments, extract frequency domain features, construct frequency domain vectors, count feeder state probabilities, analyze credibility, and select the feeder with the highest probability as Abnormal feeders.
The efficiency and reliability of abnormal line positioning are improved, abnormal feeders can be found more intuitively through harmonic characteristic analysis, and the results are more accurate.
Smart Images

Figure CN118534243A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power distribution line abnormality troubleshooting, and in particular to a method and device for determining an abnormal line based on harmonic analysis. Background Art
[0002] Abnormal line troubleshooting is a labor-intensive and material-intensive task. In order to improve the efficiency of abnormal line troubleshooting, people have developed a variety of abnormal line troubleshooting equipment and methods.
[0003] However, existing technical means and equipment still have the problem of low efficiency in intermittent fault troubleshooting. Taking the intermittent fault of bus voltage waveform distortion as an example, in a related technology, technicians synchronously record the bus voltage waveform and feeder current waveform, trying to find the law of waveform distortion fault occurrence from the waveform diagram, and further locate the feeder line that causes bus voltage waveform distortion.
[0004] Because different feeder lines are in different states when an intermittent fault occurs, the feeder waveforms are ever-changing. Therefore, it is not easy to determine the cause of the intermittent fault and locate the feeder line causing the fault through intuitive waveforms.
[0005] Based on this, it is necessary to develop a method for determining abnormal lines based on harmonic analysis. Summary of the invention
[0006] The embodiments of the present invention provide a method and device for determining an abnormal line based on harmonic analysis to solve the problem in the prior art that it is difficult to locate the feeder line that causes intermittent distortion of the bus voltage waveform from the bus voltage waveform and the feeder current wave.
[0007] In a first aspect, an embodiment of the present invention provides a method for determining an abnormal line based on harmonic analysis, comprising:
[0008] Obtain bus voltage waveform and multiple feeder current waveforms;
[0009] The plurality of feeder current waveforms are respectively divided into a plurality of waveform segments according to a first division length, and a plurality of frequency domain features extracted based on each waveform segment are constructed as a frequency domain vector;
[0010] Dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and using the probabilities of the multiple feeder states when the bus voltage waveform is abnormal, which are statistically obtained according to the multiple states, as multiple first conditional probabilities;
[0011] The credibility of the multiple first conditional probabilities is analyzed, and when the credibility meets the condition, a feeder corresponding to the first conditional probability with the largest value is selected as the abnormal feeder.
[0012] In a possible implementation, the dividing the multiple feeder current waveforms into multiple waveform segments according to the first division length, and constructing multiple frequency domain features extracted based on each waveform segment as a frequency domain vector, includes:
[0013] Determining a voltage fluctuation period according to the bus voltage waveform;
[0014] Dividing each of the multiple feeder current waveforms into multiple waveform segments according to the voltage fluctuation period, wherein the duration corresponding to the waveform segment is an integer multiple of the voltage fluctuation period;
[0015] generating a harmonic sequence according to the voltage fluctuation period;
[0016] A plurality of frequency domain features of each waveform segment are extracted according to the harmonic sequence, and a frequency domain vector is constructed according to the plurality of frequency domain features of each waveform segment.
[0017] In a possible implementation, determining the voltage fluctuation period according to the bus voltage waveform includes:
[0018] Cutting the bus voltage waveform to obtain a first voltage waveform segment of a predetermined length;
[0019] Cutting the first voltage waveform segment according to a first cutting length to obtain a second voltage waveform segment;
[0020] The waveform integrity indicator value of the second voltage waveform segment is calculated using a first formula, wherein the first formula is:
[0021] IDX_CPT=∫0 T UWaveSeg(t)dt
[0022] Wherein, IDX_CPT is the waveform integrity indicator value, T is the duration of the second voltage waveform segment, and UWaveSeg(t) is the second voltage waveform segment;
[0023] If the waveform integrity indicator value is a positive value, the second voltage waveform segment is used as the first voltage waveform segment, and the process jumps to the step of cutting the first voltage waveform segment according to the first cutting length to obtain the second voltage waveform segment;
[0024] If the waveform integrity indicator value is a negative value and the absolute value of the waveform integrity indicator value is greater than the cutting threshold, the first cutting length is reduced, and the process jumps to the step of cutting the first voltage waveform segment according to the first cutting length to obtain a second voltage waveform segment;
[0025] Otherwise, the duration of the second voltage waveform segment is used as the voltage fluctuation period.
[0026] In a possible implementation, extracting a plurality of frequency domain features of each waveform segment according to the harmonic sequence includes:
[0027] For each waveform segment, perform the following steps:
[0028] extracting target harmonics sequentially from the harmonic sequence;
[0029] The frequency domain features are extracted according to the second formula, the target harmonic and the waveform segment, wherein the second formula is:
[0030]
[0031] Where, FeatFRQ(k) is the frequency domain feature, N is the multiple of the waveform segment length relative to the voltage fluctuation period, T is the voltage fluctuation period, IWaveSeg(t) is the waveform segment, e is a natural constant, π is pi, ω0 is the frequency of the bus voltage, k is the harmonic order of the target harmonic, and j is an imaginary unit;
[0032] If the traversal of the harmonic sequence is not completed, the process jumps to the step of sequentially extracting target harmonics from the harmonic sequence.
[0033] In a possible implementation, dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector includes:
[0034] For each of the multiple feeders, perform the following steps:
[0035] using a plurality of waveform segments obtained based on the feeder current waveform as a plurality of feeder current segments, and using frequency domain vectors of the plurality of feeder current segments as a plurality of state evaluation vectors;
[0036] Randomly selecting the first number of vectors from the plurality of state evaluation vectors as a plurality of temporary vectors;
[0037] According to the principle of shortest distance, other vectors in the multiple state evaluation vectors are classified into the class where the multiple temporary vectors are located, so as to obtain multiple temporary classes;
[0038] The distance between the class center of each temporary class and the temporary vector is calculated respectively, thereby obtaining a plurality of first distances;
[0039] If there is a first distance greater than the first distance threshold among the multiple first distances, then selecting a state evaluation vector closest to the temporary class center from each temporary class as a temporary vector, and jumping to the step of classifying other vectors in the multiple state evaluation vectors into the class where the multiple temporary vectors are located according to the principle of closest distance, thereby obtaining multiple temporary classes;
[0040] otherwise, setting class states for the multiple temporary class settings respectively;
[0041] The state of each feeder current segment is set to the class state of the target temporary class, wherein the target temporary class is the temporary class where the frequency domain vector of the feeder current segment belongs.
[0042] In a possible implementation, the classifying other vectors in the multiple state evaluation vectors into the class where the multiple temporary vectors are located according to the principle of the shortest distance, thereby obtaining multiple temporary classes, includes:
[0043] For each other vector in the multiple state evaluation vectors, the following steps are performed respectively:
[0044] Calculating the Euclidean distances between the vector and the plurality of temporary vectors respectively, thereby obtaining a plurality of second distances;
[0045] The vector is classified into the class where the target temporary vector belongs, wherein the target temporary vector is the temporary vector corresponding to the second distance with the smallest value.
[0046] In a possible implementation, the probabilities of multiple feeder states when the bus voltage waveform is abnormal according to the statistics of the multiple states include:
[0047] For each of the multiple feeders, perform the following steps:
[0048] using a plurality of waveform segments obtained based on the feeder current waveform as a plurality of feeder current segments;
[0049] Selecting feeder current segments corresponding to a plurality of abnormal time periods from the plurality of feeder current segments as a plurality of abnormal feeder current segments, wherein the abnormal time period is a time period in which the bus voltage waveform is abnormal;
[0050] Acquiring states of the plurality of abnormal feeder current sections as a plurality of target states;
[0051] According to the third formula and the multiple target states, the probability of multiple states of the load feeder when the bus voltage waveform is abnormal is determined, wherein the third formula is:
[0052]
[0053] Where PState(sn) is the probability that the load feeder is in the snth state when the bus voltage fluctuates abnormally, sum(sn) is the number of times the load feeder is in the snth state when the bus voltage fluctuates abnormally, and sn_max is the total number of load feeder state types when the bus voltage fluctuates abnormally;
[0054] The probability with the largest value is selected from the probabilities of the multiple states of the load feeder when the bus voltage waveform is abnormal as the probability of the feeder state when the bus voltage waveform is abnormal.
[0055] In a possible implementation manner, analyzing the credibility of the multiple first conditional probabilities includes:
[0056] If there are more than two first conditional probabilities greater than the first probability threshold among the multiple first conditional probabilities, or if there is no first conditional probability greater than the first probability threshold among the multiple first conditional probabilities, then the multiple first conditional probabilities counted are not credible.
[0057] In a possible implementation, if there are more than two first conditional probabilities greater than the first probability threshold among the multiple first conditional probabilities, the first number is increased, and the process jumps to the step of dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and using the probability of multiple feeder states when the bus voltage waveform is abnormal according to the multiple states as multiple first conditional probabilities;
[0058] If there is no first conditional probability greater than the first probability threshold among the multiple first conditional probabilities, the first number is reduced, and the step jumps to the step of dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and taking the probability of multiple feeder states when the bus voltage waveform is abnormal according to the multiple states as the multiple first conditional probabilities.
[0059] In a second aspect, an embodiment of the present invention provides an abnormal line determination device based on harmonic analysis, comprising:
[0060] A waveform acquisition module, used to acquire bus voltage waveform and multiple feeder current waveforms;
[0061] A waveform segmentation module, used to segment the multiple feeder current waveforms into multiple waveform segments according to a first segmentation length, and construct multiple frequency domain features extracted based on each waveform segment into a frequency domain vector;
[0062] A probability statistics module, used for dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and using the probabilities of the multiple feeder states when the bus voltage waveform is abnormal according to the statistics of the multiple states as multiple first conditional probabilities;
[0063] as well as,
[0064] The abnormal feeder determination module is used to analyze the credibility of the multiple first conditional probabilities and select the feeder corresponding to the first conditional probability with the largest value as the abnormal feeder when the credibility meets the condition.
[0065] The beneficial effects of the embodiments of the present invention compared with the prior art are as follows:
[0066] The embodiment of the present invention provides a method and device for determining an abnormal line based on harmonic analysis, which first obtains a bus voltage waveform and multiple feeder current waveforms; then divides the multiple feeder current waveforms into multiple waveform segments according to a first segmentation length, and constructs multiple frequency domain features extracted based on each waveform segment as a frequency domain vector; then divides the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and uses the probability of multiple feeder states when the bus voltage waveform is abnormal according to the multiple states as multiple first conditional probabilities; finally, analyzes the credibility of the multiple first conditional probabilities, and selects the feeder corresponding to the first conditional probability with the largest value as the abnormal feeder when the credibility meets the condition. The embodiment of the present invention is based on segmenting the feeder current waveform and harmonic analysis, constructs multiple frequency domain vectors, divides the multiple current waveform segments of the feeder into multiple states through the frequency domain vector, and performs feeder state probability statistics based on the state of the current waveform corresponding to the bus abnormality. When the probability statistics credibility is high, the feeder with the highest probability is used as the abnormal feeder, because the waveform segment is divided into states by harmonic feature analysis, so the waveform state division is more reliable. Based on the state probability analysis, the feeder lines that cause intermittent distortion of bus voltage waveform are easier to find abnormal feeder lines than the intuitive waveform analysis method, and the results are more reliable and accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0068] Figure 1 is a flowchart of an implementation method of an abnormal line determination method based on harmonic analysis provided by an embodiment of the present invention;
[0069] Figure 2 is an application scenario diagram of the abnormal line determination method based on harmonic analysis provided by an embodiment of the present invention;
[0070] Figure 3 It is a structural schematic diagram of an abnormal line determination device based on harmonic analysis provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0071] In the following description, specific details such as specific system structures and techniques are provided for the purpose of illustration rather than limitation so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary details.
[0072] In order to make the purpose, technical solutions and advantages of the present invention more clear, a specific implementation method will be described below in conjunction with the accompanying drawings.
[0073] Figure 1 The implementation flow chart of the abnormal line determination method based on harmonic analysis provided in the embodiment of the present invention is described in detail as follows:
[0074] Step 101, obtaining a bus voltage waveform and multiple feeder current waveforms.
[0075] Step 102: Segment the multiple feeder current waveforms into multiple waveform segments according to a first segmentation length, and construct multiple frequency domain features extracted based on each waveform segment into a frequency domain vector.
[0076] In some embodiments, the step of dividing the plurality of feeder current waveforms into a plurality of waveform segments according to the first segmentation length, and constructing a plurality of frequency domain features extracted based on each waveform segment as a frequency domain vector, comprises:
[0077] Determining a voltage fluctuation period according to the bus voltage waveform;
[0078] Dividing each of the multiple feeder current waveforms into multiple waveform segments according to the voltage fluctuation period, wherein the duration corresponding to the waveform segment is an integer multiple of the voltage fluctuation period;
[0079] generating a harmonic sequence according to the voltage fluctuation period;
[0080] A plurality of frequency domain features of each waveform segment are extracted according to the harmonic sequence, and a frequency domain vector is constructed according to the plurality of frequency domain features of each waveform segment.
[0081] In some implementations, determining the voltage fluctuation period according to the bus voltage waveform includes:
[0082] Cutting the bus voltage waveform to obtain a first voltage waveform segment of a predetermined length;
[0083] Cutting the first voltage waveform segment according to a first cutting length to obtain a second voltage waveform segment;
[0084] The waveform integrity indicator value of the second voltage waveform segment is calculated using a first formula, wherein the first formula is:
[0085] IDX_CPT=∫0 T UWaveSeg(t)dt
[0086] Wherein, IDX_CPT is the waveform integrity indicator value, T is the duration of the second voltage waveform segment, and UWaveSeg(t) is the second voltage waveform segment;
[0087] If the waveform integrity indicator value is a positive value, the second voltage waveform segment is used as the first voltage waveform segment, and the process jumps to the step of cutting the first voltage waveform segment according to the first cutting length to obtain the second voltage waveform segment;
[0088] If the waveform integrity indicator value is a negative value and the absolute value of the waveform integrity indicator value is greater than the cutting threshold, the first cutting length is reduced, and the process jumps to the step of cutting the first voltage waveform segment according to the first cutting length to obtain a second voltage waveform segment;
[0089] Otherwise, the duration of the second voltage waveform segment is used as the voltage fluctuation period.
[0090] In some implementations, extracting multiple frequency domain features of each waveform segment according to the harmonic sequence includes:
[0091] For each waveform segment, perform the following steps:
[0092] extracting target harmonics sequentially from the harmonic sequence;
[0093] The frequency domain features are extracted according to the second formula, the target harmonic and the waveform segment, wherein the second formula is:
[0094]
[0095] Where, FeatFRQ(k) is the frequency domain feature, N is the multiple of the waveform segment length relative to the voltage fluctuation period, T is the voltage fluctuation period, IWaveSeg(t) is the waveform segment, e is a natural constant, π is pi, ω0 is the frequency of the bus voltage, k is the harmonic order of the target harmonic, and j is an imaginary unit;
[0096] If the traversal of the harmonic sequence is not completed, the process jumps to the step of sequentially extracting target harmonics from the harmonic sequence.
[0097] For example, Figure 2 This is an application scenario diagram of the abnormal line determination method based on harmonic analysis provided by the embodiment of the present invention. Figure 2As shown, the main power supply supplies power to the load 203 through the bus 201 and the feeder 202. At a certain moment, on the side far away from the main power supply, the bus access point of the remote feeder 208 detects a short-term voltage waveform distortion. Through recording, it is found that the two possibilities for the voltage waveform distortion at this location are that the currents of the first feeder 204 and the second feeder 206 have a higher proportion of third and fifth harmonic currents. Although the amplitude of the harmonic current of the second feeder 206 is lower than that of the first feeder 204, the second feeder 206 is farther away from the main power supply, and the through current travels a longer path. In this way, we are not clear about the source of the voltage waveform distortion. In addition, the intermittent nature of the voltage waveform distortion makes it very difficult to locate the abnormal feeder line. The above scenario is only an example of intermittent voltage waveform distortion. In reality, there may be even more complicated situations.
[0098] In order to clearly identify the source line of voltage waveform distortion, the embodiment of the present invention divides each feeder current waveform into waveform segments of preset length, extracts multiple frequency domain features of the waveform segments to construct frequency domain vectors, classifies multiple waveform segments into multiple states according to the frequency domain vectors, and statistically calculates the probabilities of different feeder states when intermittent faults of bus voltage waveform distortion occur. Obviously, each feeder has a state with the highest probability of bus voltage waveform distortion, that is, the typical state of the feeder during a fault, and the lines corresponding to the maximum probabilities of these typical states are the feeder lines that are most likely to cause intermittent voltage waveform distortion in the bus.
[0099] In order to achieve the above purpose, after obtaining the bus voltage waveform and the feeder current waveform, the present invention first determines the period of the bus voltage according to the bus voltage waveform, and then cuts each feeder current waveform into waveform segments that are several times the period of the voltage waveform, and generates a series of harmonics according to the period of the bus voltage, for example, 1, 2, 3...n harmonics. In one application scenario, the first 20 harmonics are used. Finally, the frequency domain features of each waveform segment are extracted according to these harmonics, and the frequency domain vector of the waveform segment is constructed according to the extracted frequency domain features.
[0100] In terms of determining the bus voltage waveform period, the embodiment of the present invention first cuts the bus voltage waveform into voltage waveform segments of a predetermined length, and then cuts the voltage waveform segments multiple times according to the first cutting length. Each time the voltage waveform segments are cut, the integrity indicator value of the voltage waveform segments after the cutting is calculated using the first formula. The first formula is:
[0101] IDX_CPT=∫0 T UWaveSeg(t)dt
[0102] Among them, IDX_CPT is the waveform integrity indicator value, T is the duration of the second voltage waveform segment, and UWaveSeg(t) is the second voltage waveform segment.
[0103] After each calculation is completed, if the obtained value is positive, continue to cut again according to the first cutting length. If it is a negative value and the absolute value is greater than the cutting threshold, it is necessary to reduce the first cutting length, cut according to the voltage waveform segment before cutting, and obtain the integrity indication value.
[0104] In terms of extracting frequency domain features based on harmonics, the embodiment of the present invention extracts harmonics from the harmonic sequence in sequence, and uses the second formula to extract frequency domain features from the current waveform segment. The second formula is:
[0105]
[0106] Where FeatFRQ(k) is the frequency domain feature, N is the multiple of the waveform segment length relative to the voltage fluctuation period, T is the voltage fluctuation period, IWaveSeg(t) is the waveform segment, e is a natural constant, π is pi, ω0 is the frequency of the bus voltage, k is the harmonic order of the target harmonic, and j is an imaginary unit.
[0107] The extracted features are constructed as frequency domain vectors according to their correspondence with harmonics.
[0108] Step 103, dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and using the probabilities of the multiple feeder states when the bus voltage waveform is abnormal according to the statistics of the multiple states as multiple first conditional probabilities.
[0109] In some embodiments, dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector includes:
[0110] For each of the multiple feeders, perform the following steps:
[0111] using a plurality of waveform segments obtained based on the feeder current waveform as a plurality of feeder current segments, and using frequency domain vectors of the plurality of feeder current segments as a plurality of state evaluation vectors;
[0112] Randomly selecting the first number of vectors from the plurality of state evaluation vectors as a plurality of temporary vectors;
[0113] According to the principle of shortest distance, other vectors in the multiple state evaluation vectors are classified into the class where the multiple temporary vectors are located, so as to obtain multiple temporary classes;
[0114] The distance between the class center of each temporary class and the temporary vector is calculated respectively, thereby obtaining a plurality of first distances;
[0115] If there is a first distance greater than the first distance threshold among the multiple first distances, then selecting a state evaluation vector closest to the temporary class center from each temporary class as a temporary vector, and jumping to the step of classifying other vectors in the multiple state evaluation vectors into the class where the multiple temporary vectors are located according to the principle of closest distance, thereby obtaining multiple temporary classes;
[0116] otherwise, setting class states for the multiple temporary class settings respectively;
[0117] The state of each feeder current segment is set to the class state of the target temporary class, wherein the target temporary class is the temporary class where the frequency domain vector of the feeder current segment belongs.
[0118] In some implementations, the step of classifying other vectors in the plurality of state evaluation vectors into the class where the plurality of temporary vectors are located according to the principle of closest distance, thereby obtaining a plurality of temporary classes, includes:
[0119] For each other vector in the multiple state evaluation vectors, the following steps are performed respectively:
[0120] Calculating the Euclidean distances between the vector and the plurality of temporary vectors respectively, thereby obtaining a plurality of second distances;
[0121] The vector is classified into the class where the target temporary vector belongs, wherein the target temporary vector is the temporary vector corresponding to the second distance with the smallest value.
[0122] In some implementations, the probabilities of multiple feeder states when the bus voltage waveform is abnormal according to the statistics of the multiple states include:
[0123] For each of the multiple feeders, perform the following steps:
[0124] using a plurality of waveform segments obtained based on the feeder current waveform as a plurality of feeder current segments;
[0125] Selecting feeder current segments corresponding to a plurality of abnormal time periods from the plurality of feeder current segments as a plurality of abnormal feeder current segments, wherein the abnormal time period is a time period in which the bus voltage waveform is abnormal;
[0126] Acquiring states of the plurality of abnormal feeder current sections as a plurality of target states;
[0127] According to the third formula and the multiple target states, the probability of multiple states of the load feeder when the bus voltage waveform is abnormal is determined, wherein the third formula is:
[0128]
[0129] Where PState(sn) is the probability that the load feeder is in the snth state when the bus voltage fluctuates abnormally, sum(sn) is the number of times the load feeder is in the snth state when the bus voltage fluctuates abnormally, and sn_max is the total number of load feeder state types when the bus voltage fluctuates abnormally;
[0130] The probability with the largest value is selected from the probabilities of the multiple states of the load feeder when the bus voltage waveform is abnormal as the probability of the feeder state when the bus voltage waveform is abnormal.
[0131] Exemplarily, in determining the state of a feeder according to multiple current waveform segments of the feeder, an embodiment of the present invention clusters the vectors of multiple current waveform segments of the feeder. In one application scenario, a kmeans clustering method is used, and each class obtained after clustering is set with a class label, and vectors in the same class have the same state. Based on the class label, multiple current waveform segments are divided into different states. In other words, each current waveform segment is assigned a state according to the class to which the vector belongs.
[0132] Since there are some waveform segments in the multiple waveform segments of each feeder current that are in the same period as the intermittent fault of bus voltage waveform distortion, these waveform segments are extracted and the state probabilities thereof are statistically calculated using the third formula to obtain the probability of the load feeder state when the bus voltage waveform is abnormal:
[0133]
[0134] Where PState(sn) is the probability that the load feeder is in the snth state when the bus voltage fluctuates abnormally, sum(sn) is the number of times the load feeder is in the snth state when the bus voltage fluctuates abnormally, and sn_max is the total number of load feeder state types when the bus voltage fluctuates abnormally.
[0135] As mentioned above, among the probabilities of the load feeder state when the bus voltage waveform of the feeder is abnormal, the probability with the largest value is typical, and the subsequent probability credibility judgment and determination of the abnormal feeder are based on the probability with the largest value.
[0136] Step 104: Analyze the credibility of the multiple first conditional probabilities, and select the feeder corresponding to the first conditional probability with the largest value as the abnormal feeder when the credibility meets the condition.
[0137] In some embodiments, if there are more than two first conditional probabilities greater than the first probability threshold among the multiple first conditional probabilities, or if there is no first conditional probability greater than the first probability threshold among the multiple first conditional probabilities, the counted multiple first conditional probabilities are unreliable.
[0138] In some embodiments, if there are more than two first conditional probabilities greater than the first probability threshold among the multiple first conditional probabilities, the first number is increased, and the process jumps to the step of dividing the multiple current waveform segments of each feeder into the first number of multiple states according to the frequency domain vector, and using the probabilities of the multiple feeder states when the bus voltage waveform is abnormal according to the multiple states as the multiple first conditional probabilities;
[0139] If there is no first conditional probability greater than the first probability threshold among the multiple first conditional probabilities, the first number is reduced, and the step jumps to the step of dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and taking the probability of multiple feeder states when the bus voltage waveform is abnormal according to the multiple states as the multiple first conditional probabilities.
[0140] Exemplarily, before applying probability analysis to determine abnormal feeders, embodiments of the present invention first check the credibility of these probabilities. One way of checking is to determine the number of probabilities greater than a probability threshold among multiple probabilities. If it reaches two or more, or if there is no probability greater than the probability threshold, then it means that the probability obtained in the previous step is unreliable. There are many ways to obtain the probability threshold. One method that can be used is to take a certain proportion, for example, 3 / 2 of the difference, from the above probabilities based on the difference between the maximum value and the minimum value as the probability threshold.
[0141] In fact, the existence of more than two probabilities greater than the probability threshold and no probability greater than the probability threshold reflects the rationality of the number of states. When there are more than two probabilities greater than the probability threshold, the number of states should be increased. When there is no probability greater than the probability threshold, the number of states should be reduced to fully implement the above steps of obtaining probability.
[0142] When the credibility analysis is performed, that is, when the credibility meets the conditions, the source feeder with the maximum probability condition is taken as the abnormal feeder.
[0143] The embodiment of the present invention first obtains a bus voltage waveform and multiple feeder current waveforms; then, the multiple feeder current waveforms are respectively divided into multiple waveform segments according to a first segmentation length, and multiple frequency domain features extracted based on each waveform segment are constructed as a frequency domain vector; then, the multiple current waveform segments of each feeder are divided into a first number of multiple states according to the frequency domain vector, and the probability of multiple feeder states when the bus voltage waveform is abnormal according to the statistics of the multiple states is used as multiple first conditional probabilities; finally, the credibility of the multiple first conditional probabilities is analyzed, and when the credibility meets the conditions, the feeder corresponding to the first conditional probability with the largest value is selected as the abnormal feeder. The embodiment of the present invention is based on the segmentation and harmonic analysis of the feeder current waveform, constructs multiple frequency domain vectors, divides the multiple current waveform segments of the feeder into multiple states through the frequency domain vector, and performs feeder state probability statistics based on the state of the current waveform corresponding to the bus abnormality. When the probability statistics credibility is high, the feeder with the highest probability is used as the abnormal feeder, because the waveform segment is divided into states by harmonic feature analysis, so the waveform state division is more reliable. Based on the state probability analysis, the feeder lines that cause intermittent distortion of bus voltage waveform are easier to find abnormal feeder lines than the intuitive waveform analysis method, and the results are more reliable and accurate.
[0144] It should be understood that the size of the serial numbers of the steps in the above implementation does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the implementation method of the present invention.
[0145] The following is an implementation of the device of the present invention. For details not described in detail, reference may be made to the corresponding method implementation described above.
[0146] Figure 3 The following is a schematic diagram of the structure of an abnormal line determination device based on harmonic analysis provided by an embodiment of the present invention. For ease of explanation, only the parts related to the embodiment of the present invention are shown, which are described in detail as follows:
[0147] like Figure 3 As shown, the abnormal line determination device 3 based on harmonic analysis includes: a waveform acquisition module 301, a waveform segmentation module 302, a probability statistics module 303 and an abnormal feeder determination module 304, wherein:.
[0148] A waveform acquisition module 301 is used to acquire a bus voltage waveform and multiple feeder current waveforms;
[0149] A waveform segmentation module 302, configured to segment the plurality of feeder current waveforms into a plurality of waveform segments according to a first segmentation length, and construct a plurality of frequency domain features extracted based on each waveform segment into a frequency domain vector;
[0150] A probability statistics module 303 is used to divide the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and use the probabilities of the multiple feeder states when the bus voltage waveform is abnormal according to the statistics of the multiple states as multiple first conditional probabilities;
[0151] The abnormal feeder determination module 304 is used to analyze the credibility of the multiple first conditional probabilities, and select the feeder corresponding to the first conditional probability with the largest value as the abnormal feeder when the credibility meets the condition.
[0152] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0153] Those skilled in the art will appreciate that the templates, units, and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0154] If the module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned implementation method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned implementation method of the abnormal line determination method based on harmonic analysis. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0155] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for determining abnormal lines based on harmonic analysis, characterized in that: include: Obtain bus voltage waveform and multiple feeder current waveforms; The plurality of feeder current waveforms are respectively divided into a plurality of waveform segments according to a first division length, and a plurality of frequency domain features extracted based on each waveform segment are constructed as a frequency domain vector; Dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and using the probabilities of the multiple feeder states when the bus voltage waveform is abnormal, which are statistically obtained according to the multiple states, as multiple first conditional probabilities; The credibility of the multiple first conditional probabilities is analyzed, and when the credibility meets the condition, the feeder corresponding to the first conditional probability with the largest value is selected as the abnormal feeder.
2. The abnormal line determination method based on harmonic analysis according to claim 1 is characterized in that: The method of dividing the plurality of feeder current waveforms into a plurality of waveform segments according to the first segmentation length, and constructing a plurality of frequency domain features extracted based on each waveform segment into a frequency domain vector, comprises: Determining a voltage fluctuation period according to the bus voltage waveform; Dividing each of the multiple feeder current waveforms into multiple waveform segments according to the voltage fluctuation period, wherein the duration corresponding to the waveform segment is an integer multiple of the voltage fluctuation period; generating a harmonic sequence according to the voltage fluctuation period; A plurality of frequency domain features of each waveform segment are extracted according to the harmonic sequence, and a frequency domain vector is constructed according to the plurality of frequency domain features of each waveform segment.
3. The abnormal line determination method based on harmonic analysis according to claim 2 is characterized in that: The determining of the voltage fluctuation period according to the bus voltage waveform comprises: Cutting the bus voltage waveform to obtain a first voltage waveform segment of a predetermined length; Cutting the first voltage waveform segment according to a first cutting length to obtain a second voltage waveform segment; The waveform integrity indicator value of the second voltage waveform segment is calculated using a first formula, wherein the first formula is: Wherein, IDX_CPT is the waveform integrity indicator value, T is the duration of the second voltage waveform segment, and UWaveSeg(t) is the second voltage waveform segment; If the waveform integrity indicator value is a positive value, the second voltage waveform segment is used as the first voltage waveform segment, and the process jumps to the step of cutting the first voltage waveform segment according to the first cutting length to obtain the second voltage waveform segment; If the waveform integrity indicator value is a negative value and the absolute value of the waveform integrity indicator value is greater than the cutting threshold, the first cutting length is reduced, and the process jumps to the step of cutting the first voltage waveform segment according to the first cutting length to obtain a second voltage waveform segment; Otherwise, the duration of the second voltage waveform segment is used as the voltage fluctuation period.
4. The abnormal line determination method based on harmonic analysis according to claim 2 is characterized in that: The extracting multiple frequency domain features of each waveform segment according to the harmonic sequence comprises: For each waveform segment, perform the following steps: extracting target harmonics sequentially from the harmonic sequence; The frequency domain features are extracted according to the second formula, the target harmonic and the waveform segment, wherein the second formula is: Where, FeatFRQ(k) is the frequency domain feature, N is the multiple of the waveform segment length relative to the voltage fluctuation period, T is the voltage fluctuation period, IWaveSeg(t) is the waveform segment, e is a natural constant, π is pi, ω0 is the frequency of the bus voltage, k is the harmonic order of the target harmonic, and j is an imaginary unit; If the traversal of the harmonic sequence is not completed, the process jumps to the step of sequentially extracting target harmonics from the harmonic sequence.
5. The abnormal line determination method based on harmonic analysis according to claim 1 is characterized in that: The method of dividing the multiple current waveform segments of each feeder into a first number of states according to the frequency domain vector comprises: For each of the multiple feeders, perform the following steps: using a plurality of waveform segments obtained based on the feeder current waveform as a plurality of feeder current segments, and using frequency domain vectors of the plurality of feeder current segments as a plurality of state evaluation vectors; Randomly selecting the first number of vectors from the plurality of state evaluation vectors as a plurality of temporary vectors; According to the principle of shortest distance, other vectors in the multiple state evaluation vectors are classified into the class where the multiple temporary vectors are located, so as to obtain multiple temporary classes; The distance between the class center of each temporary class and the temporary vector is calculated respectively, thereby obtaining a plurality of first distances; If there is a first distance greater than the first distance threshold among the multiple first distances, then selecting a state evaluation vector closest to the temporary class center from each temporary class as a temporary vector, and jumping to the step of classifying other vectors in the multiple state evaluation vectors into the class where the multiple temporary vectors are located according to the principle of closest distance, thereby obtaining multiple temporary classes; otherwise, setting class states for the multiple temporary class settings respectively; The state of each feeder current segment is set to the class state of the target temporary class, wherein the target temporary class is the temporary class where the frequency domain vector of the feeder current segment belongs.
6. The abnormal line determination method based on harmonic analysis according to claim 5 is characterized in that: The method of classifying other vectors in the plurality of state evaluation vectors into the class where the plurality of temporary vectors are located according to the principle of the shortest distance, thereby obtaining a plurality of temporary classes, includes: For each other vector in the multiple state evaluation vectors, the following steps are performed respectively: Calculating the Euclidean distances between the vector and the plurality of temporary vectors respectively, thereby obtaining a plurality of second distances; The vector is classified into the class where the target temporary vector belongs, wherein the target temporary vector is the temporary vector corresponding to the second distance with the smallest value.
7. The abnormal line determination method based on harmonic analysis according to claim 5 is characterized in that: The probabilities of multiple feeder states when the bus voltage waveform is abnormal according to the statistics of the multiple states include: For each of the multiple feeders, perform the following steps: using a plurality of waveform segments obtained based on the feeder current waveform as a plurality of feeder current segments; Selecting feeder current segments corresponding to a plurality of abnormal time periods from the plurality of feeder current segments as a plurality of abnormal feeder current segments, wherein the abnormal time period is a time period in which the bus voltage waveform is abnormal; acquiring states of the plurality of abnormal feeder current sections as a plurality of target states; According to the third formula and the multiple target states, the probability of multiple states of the load feeder when the bus voltage waveform is abnormal is determined, wherein the third formula is: Where PState(sn) is the probability that the load feeder is in the snth state when the bus voltage fluctuates abnormally, sum(sn) is the number of times the load feeder is in the snth state when the bus voltage fluctuates abnormally, and sn_max is the total number of load feeder state types when the bus voltage fluctuates abnormally; The probability with the largest value is selected from the probabilities of the multiple states of the load feeder when the bus voltage waveform is abnormal as the probability of the feeder state when the bus voltage waveform is abnormal.
8. The abnormal line determination method based on harmonic analysis according to any one of claims 1 to 7, characterized in that: The analyzing the credibility of the plurality of first conditional probabilities includes: If there are more than two first conditional probabilities greater than the first probability threshold among the multiple first conditional probabilities, or if there is no first conditional probability greater than the first probability threshold among the multiple first conditional probabilities, then the multiple first conditional probabilities counted are not credible.
9. The abnormal line determination method based on harmonic analysis according to claim 8, characterized in that: If there are more than two first conditional probabilities greater than the first probability threshold among the multiple first conditional probabilities, the first number is increased, and the step of dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and taking the probability of multiple feeder states when the bus voltage waveform is abnormal according to the multiple states as multiple first conditional probabilities; If there is no first conditional probability greater than the first probability threshold among the multiple first conditional probabilities, the first number is reduced, and the step jumps to the step of dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and taking the probability of multiple feeder states when the bus voltage waveform is abnormal according to the multiple states as the multiple first conditional probabilities.
10. An abnormal line determination device based on harmonic analysis, characterized in that: Used to implement the abnormal line determination method based on harmonic analysis according to any one of claims 1 to 9, the abnormal line determination device based on harmonic analysis comprises: A waveform acquisition module, used to acquire bus voltage waveform and multiple feeder current waveforms; A waveform segmentation module, used to segment the multiple feeder current waveforms into multiple waveform segments according to a first segmentation length, and construct multiple frequency domain features extracted based on each waveform segment into a frequency domain vector; A probability statistics module, used for dividing the multiple current waveform segments of each feeder into a first number of multiple states according to the frequency domain vector, and using the probabilities of the multiple feeder states when the bus voltage waveform is abnormal according to the statistics of the multiple states as multiple first conditional probabilities; as well as, The abnormal feeder determination module is used to analyze the credibility of the multiple first conditional probabilities and select the feeder corresponding to the first conditional probability with the largest value as the abnormal feeder when the credibility meets the condition.
